2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 7.15.
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.15'
615 PACKAGE_STRING
='Wine 7.15'
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.15 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.15:";;
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.15, 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 x86_64) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
11456 printf %s "checking whether the cross-compiler supports -Wno-format... " >&6; }
11457 if test ${ac_cv_crosscflags__Wno_format+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 -Wno-format"
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__Wno_format=yes
11475 ac_cv_crosscflags__Wno_format=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__Wno_format" >&5
11484 printf "%s\n" "$ac_cv_crosscflags__Wno_format" >&6; }
11485 if test "x$ac_cv_crosscflags__Wno_format" = xyes
11487 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
11489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
11490 printf %s "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
11491 if test ${ac_cv_crosscflags__Wformat_overflow+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 -Wformat-overflow"
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__Wformat_overflow=yes
11509 ac_cv_crosscflags__Wformat_overflow=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__Wformat_overflow" >&5
11518 printf "%s\n" "$ac_cv_crosscflags__Wformat_overflow" >&6; }
11519 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes
11521 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
11523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
11524 printf %s "checking whether the cross-compiler supports -Wnonnull... " >&6; }
11525 if test ${ac_cv_crosscflags__Wnonnull+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 -Wnonnull"
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__Wnonnull=yes
11543 ac_cv_crosscflags__Wnonnull=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__Wnonnull" >&5
11552 printf "%s\n" "$ac_cv_crosscflags__Wnonnull" >&6; }
11553 if test "x$ac_cv_crosscflags__Wnonnull" = xyes
11555 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
11557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
11558 printf %s "checking whether the cross-compiler supports -mcx16... " >&6; }
11559 if test ${ac_cv_crosscflags__mcx16+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 -mcx16"
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__mcx16=yes
11577 ac_cv_crosscflags__mcx16=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__mcx16" >&5
11586 printf "%s\n" "$ac_cv_crosscflags__mcx16" >&6; }
11587 if test "x$ac_cv_crosscflags__mcx16" = xyes
11589 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
11591 aarch64) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
11592 printf %s "checking whether the cross-compiler supports -Wno-format... " >&6; }
11593 if test ${ac_cv_crosscflags__Wno_format+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 -Wno-format"
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__Wno_format=yes
11611 ac_cv_crosscflags__Wno_format=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__Wno_format" >&5
11620 printf "%s\n" "$ac_cv_crosscflags__Wno_format" >&6; }
11621 if test "x$ac_cv_crosscflags__Wno_format" = xyes
11623 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
11628 if test -z "$CROSSDEBUG"
11630 for ac_flag in $CROSSCFLAGS; do
11632 -gdwarf*) CROSSDEBUG=dwarf ;;
11633 -gcodeview) CROSSDEBUG=pdb ;;
11634 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
11639 ac_debug_format_seen=""
11640 for ac_flag in $CROSSCFLAGS; do
11642 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11645 if test "x$ac_debug_format_seen" = x
11647 case $CROSSDEBUG in
11648 *dwarf) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-4" >&5
11649 printf %s "checking whether the cross-compiler supports -gdwarf-4... " >&6; }
11650 if test ${ac_cv_crosscflags__gdwarf_4+y}
11652 printf %s "(cached) " >&6
11654 ac_wine_try_cflags_saved=$CFLAGS
11655 ac_wine_try_cflags_saved_cc=$CC
11656 ac_wine_try_cflags_saved_exeext=$ac_exeext
11657 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-4"
11660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11661 /* end confdefs.h. */
11662 int __cdecl mainCRTStartup(void) { return 0; }
11664 if ac_fn_c_try_link "$LINENO"
11666 ac_cv_crosscflags__gdwarf_4=yes
11668 ac_cv_crosscflags__gdwarf_4=no
11670 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11671 conftest$ac_exeext conftest.$ac_ext
11672 CFLAGS=$ac_wine_try_cflags_saved
11673 CC=$ac_wine_try_cflags_saved_cc
11674 ac_exeext=$ac_wine_try_cflags_saved_exeext
11676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_4" >&5
11677 printf "%s\n" "$ac_cv_crosscflags__gdwarf_4" >&6; }
11678 if test "x$ac_cv_crosscflags__gdwarf_4" = xyes
11680 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-4"
11682 pdb) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
11683 printf %s "checking whether the cross-compiler supports -gcodeview... " >&6; }
11684 if test ${ac_cv_crosscflags__gcodeview+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 -gcodeview"
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__gcodeview=yes
11702 ac_cv_crosscflags__gcodeview=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__gcodeview" >&5
11711 printf "%s\n" "$ac_cv_crosscflags__gcodeview" >&6; }
11712 if test "x$ac_cv_crosscflags__gcodeview" = xyes
11714 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
11719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
11720 printf %s "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
11721 if test ${ac_cv_crosscflags__fexcess_precision_standard+y}
11723 printf %s "(cached) " >&6
11725 ac_wine_try_cflags_saved=$CFLAGS
11726 ac_wine_try_cflags_saved_cc=$CC
11727 ac_wine_try_cflags_saved_exeext=$ac_exeext
11728 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
11731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11732 /* end confdefs.h. */
11733 int __cdecl mainCRTStartup(void) { return 0; }
11735 if ac_fn_c_try_link "$LINENO"
11737 ac_cv_crosscflags__fexcess_precision_standard=yes
11739 ac_cv_crosscflags__fexcess_precision_standard=no
11741 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11742 conftest$ac_exeext conftest.$ac_ext
11743 CFLAGS=$ac_wine_try_cflags_saved
11744 CC=$ac_wine_try_cflags_saved_cc
11745 ac_exeext=$ac_wine_try_cflags_saved_exeext
11747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
11748 printf "%s\n" "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
11749 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes
11751 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
11755 if test "x$enable_werror" = "xyes"
11757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
11758 printf %s "checking whether the cross-compiler supports -Werror... " >&6; }
11759 if test ${ac_cv_crosscflags__Werror+y}
11761 printf %s "(cached) " >&6
11763 ac_wine_try_cflags_saved=$CFLAGS
11764 ac_wine_try_cflags_saved_cc=$CC
11765 ac_wine_try_cflags_saved_exeext=$ac_exeext
11766 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
11769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11770 /* end confdefs.h. */
11771 int __cdecl mainCRTStartup(void) { return 0; }
11773 if ac_fn_c_try_link "$LINENO"
11775 ac_cv_crosscflags__Werror=yes
11777 ac_cv_crosscflags__Werror=no
11779 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11780 conftest$ac_exeext conftest.$ac_ext
11781 CFLAGS=$ac_wine_try_cflags_saved
11782 CC=$ac_wine_try_cflags_saved_cc
11783 ac_exeext=$ac_wine_try_cflags_saved_exeext
11785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
11786 printf "%s\n" "$ac_cv_crosscflags__Werror" >&6; }
11787 if test "x$ac_cv_crosscflags__Werror" = xyes
11789 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
11792 if test "x$enable_build_id" = "xyes"
11794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,--build-id" >&5
11795 printf %s "checking whether the cross-compiler supports -Wl,--build-id... " >&6; }
11796 if test ${ac_cv_crosscflags__Wl___build_id+y}
11798 printf %s "(cached) " >&6
11800 ac_wine_try_cflags_saved=$CFLAGS
11801 ac_wine_try_cflags_saved_cc=$CC
11802 ac_wine_try_cflags_saved_exeext=$ac_exeext
11803 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
11806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11807 /* end confdefs.h. */
11808 int __cdecl mainCRTStartup(void) { return 0; }
11810 if ac_fn_c_try_link "$LINENO"
11812 ac_cv_crosscflags__Wl___build_id=yes
11814 ac_cv_crosscflags__Wl___build_id=no
11816 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11817 conftest$ac_exeext conftest.$ac_ext
11818 CFLAGS=$ac_wine_try_cflags_saved
11819 CC=$ac_wine_try_cflags_saved_cc
11820 ac_exeext=$ac_wine_try_cflags_saved_exeext
11822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl___build_id" >&5
11823 printf "%s\n" "$ac_cv_crosscflags__Wl___build_id" >&6; }
11824 if test "x$ac_cv_crosscflags__Wl___build_id" = xyes
11826 CROSSCFLAGS="$CROSSCFLAGS -Wl,--build-id"
11827 CROSSLDFLAGS="$CROSSLDFLAGS -Wl,--build-id"
11831 CFLAGS=$saved_CFLAGS
11832 LDFLAGS=$saved_LDFLAGS
11836 if test "x$CROSSTARGET" = "x"
11838 case "x$with_mingw" in
11839 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
11841 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
11842 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
11848 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 ;;
11852 if test "x$with_system_dllpath" != "x" -a "$CROSSCC" != "false"
11854 case "$host_cpu" in
11856 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11858 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11860 for ac_prog in $ac_prefix_list
11862 # Extract the first word of "$ac_prog", so it can be a program name with args.
11863 set dummy $ac_prog; ac_word=$2
11864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11865 printf %s "checking for $ac_word... " >&6; }
11866 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11868 printf %s "(cached) " >&6
11870 if test -n "$MINGW_PKG_CONFIG"; then
11871 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11874 for as_dir in $PATH
11877 case $as_dir in #(((
11880 *) as_dir=$as_dir/ ;;
11882 for ac_exec_ext in '' $ac_executable_extensions; do
11883 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11884 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11885 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11894 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11895 if test -n "$MINGW_PKG_CONFIG"; then
11896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11897 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
11899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11900 printf "%s\n" "no" >&6; }
11904 test -n "$MINGW_PKG_CONFIG" && break
11906 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
11908 if ${FAUDIO_PE_CFLAGS:+false} :
11910 if test ${MINGW_PKG_CONFIG+y}
11912 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio
2>/dev
/null
`
11915 if ${FAUDIO_PE_LIBS:+false} :
11917 if test ${MINGW_PKG_CONFIG+y}
11919 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio
2>/dev
/null
`
11922 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
11923 ac_save_CPPFLAGS=$CPPFLAGS
11924 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
11925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
11926 printf %s "checking for MinGW FAudio.h... " >&6; }
11927 if test ${ac_cv_mingw_header_FAudio_h+y}
11929 printf %s "(cached) " >&6
11931 ac_wine_check_headers_saved_cc=$CC
11932 ac_wine_check_headers_saved_exeext=$ac_exeext
11935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11936 /* end confdefs.h. */
11938 #include <FAudio.h>
11947 if ac_fn_c_try_compile "$LINENO"
11949 ac_cv_mingw_header_FAudio_h=yes
11951 ac_cv_mingw_header_FAudio_h=no
11953 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11954 CC=$ac_wine_check_headers_saved_cc
11955 ac_exeext=$ac_wine_check_headers_saved_exeext
11957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
11958 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
11959 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
11961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
11962 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
11963 if test ${ac_cv_mingw_lib_FAudio+y}
11965 printf %s "(cached) " >&6
11967 ac_wine_check_headers_saved_cc=$CC
11968 ac_wine_check_headers_saved_exeext=$ac_exeext
11969 ac_wine_check_headers_saved_libs=$LIBS
11972 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
11973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11974 /* end confdefs.h. */
11976 /* Override any GCC internal prototype to avoid an error.
11977 Use char because int might match the return type of a GCC
11978 builtin and then its argument prototype would still apply. */
11979 char FAudio_CommitOperationSet ();
11983 return FAudio_CommitOperationSet ();
11988 if ac_fn_c_try_link "$LINENO"
11990 ac_cv_mingw_lib_FAudio=yes
11992 ac_cv_mingw_lib_FAudio=no
11994 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11995 conftest$ac_exeext conftest.$ac_ext
11996 CC=$ac_wine_check_headers_saved_cc
11997 ac_exeext=$ac_wine_check_headers_saved_exeext
11998 LIBS=$ac_wine_check_headers_saved_libs
12000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
12001 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
12002 if test "x$ac_cv_mingw_lib_FAudio" = xyes
12006 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12009 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12011 CPPFLAGS=$ac_save_CPPFLAGS
12013 if test "x$FAUDIO_PE_LIBS" = "x"
12015 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
12018 if ${JPEG_PE_CFLAGS:+false} :
12020 if test ${MINGW_PKG_CONFIG+y}
12022 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg
2>/dev
/null
`
12025 if ${JPEG_PE_LIBS:+false} :
12027 if test ${MINGW_PKG_CONFIG+y}
12029 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg
2>/dev
/null
`
12033 ac_save_CPPFLAGS=$CPPFLAGS
12034 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
12035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
12036 printf %s "checking for MinGW jpeglib.h... " >&6; }
12037 if test ${ac_cv_mingw_header_jpeglib_h+y}
12039 printf %s "(cached) " >&6
12041 ac_wine_check_headers_saved_cc=$CC
12042 ac_wine_check_headers_saved_exeext=$ac_exeext
12045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12046 /* end confdefs.h. */
12047 #include <stddef.h>
12049 #include <jpeglib.h>
12058 if ac_fn_c_try_compile "$LINENO"
12060 ac_cv_mingw_header_jpeglib_h=yes
12062 ac_cv_mingw_header_jpeglib_h=no
12064 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12065 CC=$ac_wine_check_headers_saved_cc
12066 ac_exeext=$ac_wine_check_headers_saved_exeext
12068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
12069 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
12070 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
12072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
12073 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
12074 if test ${ac_cv_mingw_lib_jpeg+y}
12076 printf %s "(cached) " >&6
12078 ac_wine_check_headers_saved_cc=$CC
12079 ac_wine_check_headers_saved_exeext=$ac_exeext
12080 ac_wine_check_headers_saved_libs=$LIBS
12083 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
12084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12085 /* end confdefs.h. */
12087 /* Override any GCC internal prototype to avoid an error.
12088 Use char because int might match the return type of a GCC
12089 builtin and then its argument prototype would still apply. */
12090 char jpeg_start_decompress ();
12094 return jpeg_start_decompress ();
12099 if ac_fn_c_try_link "$LINENO"
12101 ac_cv_mingw_lib_jpeg=yes
12103 ac_cv_mingw_lib_jpeg=no
12105 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12106 conftest$ac_exeext conftest.$ac_ext
12107 CC=$ac_wine_check_headers_saved_cc
12108 ac_exeext=$ac_wine_check_headers_saved_exeext
12109 LIBS=$ac_wine_check_headers_saved_libs
12111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
12112 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
12113 if test "x$ac_cv_mingw_lib_jpeg" = xyes
12117 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12120 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12122 CPPFLAGS=$ac_save_CPPFLAGS
12124 if test "x$JPEG_PE_LIBS" = "x"
12126 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
12129 if ${LCMS2_PE_CFLAGS:+false} :
12131 if test ${MINGW_PKG_CONFIG+y}
12133 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2
2>/dev
/null
`
12136 if ${LCMS2_PE_LIBS:+false} :
12138 if test ${MINGW_PKG_CONFIG+y}
12140 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2
2>/dev
/null
`
12143 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12144 ac_save_CPPFLAGS=$CPPFLAGS
12145 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12147 printf %s "checking for MinGW lcms2.h... " >&6; }
12148 if test ${ac_cv_mingw_header_lcms2_h+y}
12150 printf %s "(cached) " >&6
12152 ac_wine_check_headers_saved_cc=$CC
12153 ac_wine_check_headers_saved_exeext=$ac_exeext
12156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12157 /* end confdefs.h. */
12168 if ac_fn_c_try_compile "$LINENO"
12170 ac_cv_mingw_header_lcms2_h=yes
12172 ac_cv_mingw_header_lcms2_h=no
12174 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12175 CC=$ac_wine_check_headers_saved_cc
12176 ac_exeext=$ac_wine_check_headers_saved_exeext
12178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12179 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12180 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12183 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12184 if test ${ac_cv_mingw_lib_lcms2+y}
12186 printf %s "(cached) " >&6
12188 ac_wine_check_headers_saved_cc=$CC
12189 ac_wine_check_headers_saved_exeext=$ac_exeext
12190 ac_wine_check_headers_saved_libs=$LIBS
12193 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12195 /* end confdefs.h. */
12197 /* Override any GCC internal prototype to avoid an error.
12198 Use char because int might match the return type of a GCC
12199 builtin and then its argument prototype would still apply. */
12200 char cmsOpenProfileFromFile ();
12204 return cmsOpenProfileFromFile ();
12209 if ac_fn_c_try_link "$LINENO"
12211 ac_cv_mingw_lib_lcms2=yes
12213 ac_cv_mingw_lib_lcms2=no
12215 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12216 conftest$ac_exeext conftest.$ac_ext
12217 CC=$ac_wine_check_headers_saved_cc
12218 ac_exeext=$ac_wine_check_headers_saved_exeext
12219 LIBS=$ac_wine_check_headers_saved_libs
12221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12222 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12223 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12227 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12230 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12232 CPPFLAGS=$ac_save_CPPFLAGS
12234 if test "x$LCMS2_PE_LIBS" = "x"
12236 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12239 if ${MPG123_PE_CFLAGS:+false} :
12241 if test ${MINGW_PKG_CONFIG+y}
12243 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123
2>/dev
/null
`
12246 if ${MPG123_PE_LIBS:+false} :
12248 if test ${MINGW_PKG_CONFIG+y}
12250 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123
2>/dev
/null
`
12253 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12254 ac_save_CPPFLAGS=$CPPFLAGS
12255 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12257 printf %s "checking for MinGW mpg123.h... " >&6; }
12258 if test ${ac_cv_mingw_header_mpg123_h+y}
12260 printf %s "(cached) " >&6
12262 ac_wine_check_headers_saved_cc=$CC
12263 ac_wine_check_headers_saved_exeext=$ac_exeext
12266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12267 /* end confdefs.h. */
12269 #include <mpg123.h>
12278 if ac_fn_c_try_compile "$LINENO"
12280 ac_cv_mingw_header_mpg123_h=yes
12282 ac_cv_mingw_header_mpg123_h=no
12284 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12285 CC=$ac_wine_check_headers_saved_cc
12286 ac_exeext=$ac_wine_check_headers_saved_exeext
12288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12289 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12290 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12293 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12294 if test ${ac_cv_mingw_lib_mpg123+y}
12296 printf %s "(cached) " >&6
12298 ac_wine_check_headers_saved_cc=$CC
12299 ac_wine_check_headers_saved_exeext=$ac_exeext
12300 ac_wine_check_headers_saved_libs=$LIBS
12303 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12305 /* end confdefs.h. */
12307 /* Override any GCC internal prototype to avoid an error.
12308 Use char because int might match the return type of a GCC
12309 builtin and then its argument prototype would still apply. */
12310 char mpg123_feed ();
12314 return mpg123_feed ();
12319 if ac_fn_c_try_link "$LINENO"
12321 ac_cv_mingw_lib_mpg123=yes
12323 ac_cv_mingw_lib_mpg123=no
12325 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12326 conftest$ac_exeext conftest.$ac_ext
12327 CC=$ac_wine_check_headers_saved_cc
12328 ac_exeext=$ac_wine_check_headers_saved_exeext
12329 LIBS=$ac_wine_check_headers_saved_libs
12331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12332 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12333 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12337 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12340 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12342 CPPFLAGS=$ac_save_CPPFLAGS
12344 if test "x$MPG123_PE_LIBS" = "x"
12346 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12349 if ${PNG_PE_CFLAGS:+false} :
12351 if test ${MINGW_PKG_CONFIG+y}
12353 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng
2>/dev
/null
`
12356 if ${PNG_PE_LIBS:+false} :
12358 if test ${MINGW_PKG_CONFIG+y}
12360 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng
2>/dev
/null
`
12364 ac_save_CPPFLAGS=$CPPFLAGS
12365 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12367 printf %s "checking for MinGW png.h... " >&6; }
12368 if test ${ac_cv_mingw_header_png_h+y}
12370 printf %s "(cached) " >&6
12372 ac_wine_check_headers_saved_cc=$CC
12373 ac_wine_check_headers_saved_exeext=$ac_exeext
12376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12377 /* end confdefs.h. */
12388 if ac_fn_c_try_compile "$LINENO"
12390 ac_cv_mingw_header_png_h=yes
12392 ac_cv_mingw_header_png_h=no
12394 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12395 CC=$ac_wine_check_headers_saved_cc
12396 ac_exeext=$ac_wine_check_headers_saved_exeext
12398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12399 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12400 if test "x$ac_cv_mingw_header_png_h" = xyes
12402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12403 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12404 if test ${ac_cv_mingw_lib_png+y}
12406 printf %s "(cached) " >&6
12408 ac_wine_check_headers_saved_cc=$CC
12409 ac_wine_check_headers_saved_exeext=$ac_exeext
12410 ac_wine_check_headers_saved_libs=$LIBS
12413 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12415 /* end confdefs.h. */
12417 /* Override any GCC internal prototype to avoid an error.
12418 Use char because int might match the return type of a GCC
12419 builtin and then its argument prototype would still apply. */
12420 char png_create_read_struct ();
12424 return png_create_read_struct ();
12429 if ac_fn_c_try_link "$LINENO"
12431 ac_cv_mingw_lib_png=yes
12433 ac_cv_mingw_lib_png=no
12435 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12436 conftest$ac_exeext conftest.$ac_ext
12437 CC=$ac_wine_check_headers_saved_cc
12438 ac_exeext=$ac_wine_check_headers_saved_exeext
12439 LIBS=$ac_wine_check_headers_saved_libs
12441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12442 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12443 if test "x$ac_cv_mingw_lib_png" = xyes
12447 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12450 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12452 CPPFLAGS=$ac_save_CPPFLAGS
12454 if test "x$PNG_PE_LIBS" = "x"
12456 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12459 if ${TIFF_PE_CFLAGS:+false} :
12461 if test ${MINGW_PKG_CONFIG+y}
12463 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4
2>/dev
/null
`
12466 if ${TIFF_PE_LIBS:+false} :
12468 if test ${MINGW_PKG_CONFIG+y}
12470 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4
2>/dev
/null
`
12474 ac_save_CPPFLAGS=$CPPFLAGS
12475 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12477 printf %s "checking for MinGW tiffio.h... " >&6; }
12478 if test ${ac_cv_mingw_header_tiffio_h+y}
12480 printf %s "(cached) " >&6
12482 ac_wine_check_headers_saved_cc=$CC
12483 ac_wine_check_headers_saved_exeext=$ac_exeext
12486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12487 /* end confdefs.h. */
12489 #include <tiffio.h>
12498 if ac_fn_c_try_compile "$LINENO"
12500 ac_cv_mingw_header_tiffio_h=yes
12502 ac_cv_mingw_header_tiffio_h=no
12504 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12505 CC=$ac_wine_check_headers_saved_cc
12506 ac_exeext=$ac_wine_check_headers_saved_exeext
12508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12509 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12510 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12513 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12514 if test ${ac_cv_mingw_lib_tiff+y}
12516 printf %s "(cached) " >&6
12518 ac_wine_check_headers_saved_cc=$CC
12519 ac_wine_check_headers_saved_exeext=$ac_exeext
12520 ac_wine_check_headers_saved_libs=$LIBS
12523 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12525 /* end confdefs.h. */
12527 /* Override any GCC internal prototype to avoid an error.
12528 Use char because int might match the return type of a GCC
12529 builtin and then its argument prototype would still apply. */
12530 char TIFFClientOpen ();
12534 return TIFFClientOpen ();
12539 if ac_fn_c_try_link "$LINENO"
12541 ac_cv_mingw_lib_tiff=yes
12543 ac_cv_mingw_lib_tiff=no
12545 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12546 conftest$ac_exeext conftest.$ac_ext
12547 CC=$ac_wine_check_headers_saved_cc
12548 ac_exeext=$ac_wine_check_headers_saved_exeext
12549 LIBS=$ac_wine_check_headers_saved_libs
12551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12552 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12553 if test "x$ac_cv_mingw_lib_tiff" = xyes
12557 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12560 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12562 CPPFLAGS=$ac_save_CPPFLAGS
12564 if test "x$TIFF_PE_LIBS" = "x"
12566 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12569 if ${XML2_PE_CFLAGS:+false} :
12571 if test ${MINGW_PKG_CONFIG+y}
12573 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0
2>/dev
/null
`
12576 if ${XML2_PE_LIBS:+false} :
12578 if test ${MINGW_PKG_CONFIG+y}
12580 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0
2>/dev
/null
`
12583 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12584 ac_save_CPPFLAGS=$CPPFLAGS
12585 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12587 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12588 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12590 printf %s "(cached) " >&6
12592 ac_wine_check_headers_saved_cc=$CC
12593 ac_wine_check_headers_saved_exeext=$ac_exeext
12596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12597 /* end confdefs.h. */
12599 #include <libxml/parser.h>
12608 if ac_fn_c_try_compile "$LINENO"
12610 ac_cv_mingw_header_libxml_parser_h=yes
12612 ac_cv_mingw_header_libxml_parser_h=no
12614 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12615 CC=$ac_wine_check_headers_saved_cc
12616 ac_exeext=$ac_wine_check_headers_saved_exeext
12618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12619 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12620 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12625 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12626 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12628 printf %s "(cached) " >&6
12630 ac_wine_check_headers_saved_cc=$CC
12631 ac_wine_check_headers_saved_exeext=$ac_exeext
12634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12635 /* end confdefs.h. */
12637 #include <libxml/xmlsave.h>
12646 if ac_fn_c_try_compile "$LINENO"
12648 ac_cv_mingw_header_libxml_xmlsave_h=yes
12650 ac_cv_mingw_header_libxml_xmlsave_h=no
12652 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12653 CC=$ac_wine_check_headers_saved_cc
12654 ac_exeext=$ac_wine_check_headers_saved_exeext
12656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12657 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12658 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12663 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12664 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12666 printf %s "(cached) " >&6
12668 ac_wine_check_headers_saved_cc=$CC
12669 ac_wine_check_headers_saved_exeext=$ac_exeext
12672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12673 /* end confdefs.h. */
12675 #include <libxml/SAX2.h>
12684 if ac_fn_c_try_compile "$LINENO"
12686 ac_cv_mingw_header_libxml_SAX2_h=yes
12688 ac_cv_mingw_header_libxml_SAX2_h=no
12690 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12691 CC=$ac_wine_check_headers_saved_cc
12692 ac_exeext=$ac_wine_check_headers_saved_exeext
12694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12695 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12696 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12700 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"
12702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12703 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12704 if test ${ac_cv_mingw_lib_xml2+y}
12706 printf %s "(cached) " >&6
12708 ac_wine_check_headers_saved_cc=$CC
12709 ac_wine_check_headers_saved_exeext=$ac_exeext
12710 ac_wine_check_headers_saved_libs=$LIBS
12713 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12715 /* end confdefs.h. */
12717 /* Override any GCC internal prototype to avoid an error.
12718 Use char because int might match the return type of a GCC
12719 builtin and then its argument prototype would still apply. */
12720 char xmlFirstElementChild ();
12724 return xmlFirstElementChild ();
12729 if ac_fn_c_try_link "$LINENO"
12731 ac_cv_mingw_lib_xml2=yes
12733 ac_cv_mingw_lib_xml2=no
12735 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12736 conftest$ac_exeext conftest.$ac_ext
12737 CC=$ac_wine_check_headers_saved_cc
12738 ac_exeext=$ac_wine_check_headers_saved_exeext
12739 LIBS=$ac_wine_check_headers_saved_libs
12741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12742 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12743 if test "x$ac_cv_mingw_lib_xml2" = xyes
12747 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12753 CPPFLAGS=$ac_save_CPPFLAGS
12755 if test "x$XML2_PE_LIBS" = "x"
12757 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12760 if ${XSLT_PE_CFLAGS:+false} :
12762 if test ${MINGW_PKG_CONFIG+y}
12764 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt
2>/dev
/null
`
12767 if ${XSLT_PE_LIBS:+false} :
12769 if test ${MINGW_PKG_CONFIG+y}
12771 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt
2>/dev
/null
`
12774 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12775 ac_save_CPPFLAGS=$CPPFLAGS
12776 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12778 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12779 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12781 printf %s "(cached) " >&6
12783 ac_wine_check_headers_saved_cc=$CC
12784 ac_wine_check_headers_saved_exeext=$ac_exeext
12787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12788 /* end confdefs.h. */
12790 #include <libxslt/pattern.h>
12799 if ac_fn_c_try_compile "$LINENO"
12801 ac_cv_mingw_header_libxslt_pattern_h=yes
12803 ac_cv_mingw_header_libxslt_pattern_h=no
12805 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12806 CC=$ac_wine_check_headers_saved_cc
12807 ac_exeext=$ac_wine_check_headers_saved_exeext
12809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12810 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12811 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12816 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12817 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12819 printf %s "(cached) " >&6
12821 ac_wine_check_headers_saved_cc=$CC
12822 ac_wine_check_headers_saved_exeext=$ac_exeext
12825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12826 /* end confdefs.h. */
12828 #include <libxslt/transform.h>
12837 if ac_fn_c_try_compile "$LINENO"
12839 ac_cv_mingw_header_libxslt_transform_h=yes
12841 ac_cv_mingw_header_libxslt_transform_h=no
12843 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12844 CC=$ac_wine_check_headers_saved_cc
12845 ac_exeext=$ac_wine_check_headers_saved_exeext
12847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12848 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12849 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12853 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12856 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12857 if test ${ac_cv_mingw_lib_xslt+y}
12859 printf %s "(cached) " >&6
12861 ac_wine_check_headers_saved_cc=$CC
12862 ac_wine_check_headers_saved_exeext=$ac_exeext
12863 ac_wine_check_headers_saved_libs=$LIBS
12866 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12868 /* end confdefs.h. */
12870 /* Override any GCC internal prototype to avoid an error.
12871 Use char because int might match the return type of a GCC
12872 builtin and then its argument prototype would still apply. */
12873 char xsltCompilePattern ();
12877 return xsltCompilePattern ();
12882 if ac_fn_c_try_link "$LINENO"
12884 ac_cv_mingw_lib_xslt=yes
12886 ac_cv_mingw_lib_xslt=no
12888 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12889 conftest$ac_exeext conftest.$ac_ext
12890 CC=$ac_wine_check_headers_saved_cc
12891 ac_exeext=$ac_wine_check_headers_saved_exeext
12892 LIBS=$ac_wine_check_headers_saved_libs
12894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12895 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12896 if test "x$ac_cv_mingw_lib_xslt" = xyes
12900 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
12906 CPPFLAGS=$ac_save_CPPFLAGS
12908 if test "x$XSLT_PE_LIBS" = "x"
12910 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
12913 if ${VKD3D_PE_CFLAGS:+false} :
12915 if test ${MINGW_PKG_CONFIG+y}
12917 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader
2>/dev
/null
`
12920 if ${VKD3D_PE_LIBS:+false} :
12922 if test ${MINGW_PKG_CONFIG+y}
12924 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader
2>/dev
/null
`
12927 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
12928 ac_save_CPPFLAGS=$CPPFLAGS
12929 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
12930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
12931 printf %s "checking for MinGW vkd3d.h... " >&6; }
12932 if test ${ac_cv_mingw_header_vkd3d_h+y}
12934 printf %s "(cached) " >&6
12936 ac_wine_check_headers_saved_cc=$CC
12937 ac_wine_check_headers_saved_exeext=$ac_exeext
12940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12941 /* end confdefs.h. */
12952 if ac_fn_c_try_compile "$LINENO"
12954 ac_cv_mingw_header_vkd3d_h=yes
12956 ac_cv_mingw_header_vkd3d_h=no
12958 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12959 CC=$ac_wine_check_headers_saved_cc
12960 ac_exeext=$ac_wine_check_headers_saved_exeext
12962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
12963 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
12964 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
12968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
12969 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
12970 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
12972 printf %s "(cached) " >&6
12974 ac_wine_check_headers_saved_cc=$CC
12975 ac_wine_check_headers_saved_exeext=$ac_exeext
12978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12979 /* end confdefs.h. */
12981 #include <vkd3d_shader.h>
12990 if ac_fn_c_try_compile "$LINENO"
12992 ac_cv_mingw_header_vkd3d_shader_h=yes
12994 ac_cv_mingw_header_vkd3d_shader_h=no
12996 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12997 CC=$ac_wine_check_headers_saved_cc
12998 ac_exeext=$ac_wine_check_headers_saved_exeext
13000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
13001 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
13002 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
13006 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
13008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
13009 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
13010 if test ${ac_cv_mingw_lib_vkd3d+y}
13012 printf %s "(cached) " >&6
13014 ac_wine_check_headers_saved_cc=$CC
13015 ac_wine_check_headers_saved_exeext=$ac_exeext
13016 ac_wine_check_headers_saved_libs=$LIBS
13019 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
13020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13021 /* end confdefs.h. */
13023 /* Override any GCC internal prototype to avoid an error.
13024 Use char because int might match the return type of a GCC
13025 builtin and then its argument prototype would still apply. */
13026 char vkd3d_set_log_callback ();
13030 return vkd3d_set_log_callback ();
13035 if ac_fn_c_try_link "$LINENO"
13037 ac_cv_mingw_lib_vkd3d=yes
13039 ac_cv_mingw_lib_vkd3d=no
13041 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13042 conftest$ac_exeext conftest.$ac_ext
13043 CC=$ac_wine_check_headers_saved_cc
13044 ac_exeext=$ac_wine_check_headers_saved_exeext
13045 LIBS=$ac_wine_check_headers_saved_libs
13047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
13048 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
13049 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
13055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_compile in MinGW -lvkd3d-shader" >&5
13056 printf %s "checking for vkd3d_shader_compile in MinGW -lvkd3d-shader... " >&6; }
13057 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
13059 printf %s "(cached) " >&6
13061 ac_wine_check_headers_saved_cc=$CC
13062 ac_wine_check_headers_saved_exeext=$ac_exeext
13063 ac_wine_check_headers_saved_libs=$LIBS
13066 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
13067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13068 /* end confdefs.h. */
13070 /* Override any GCC internal prototype to avoid an error.
13071 Use char because int might match the return type of a GCC
13072 builtin and then its argument prototype would still apply. */
13073 char vkd3d_shader_compile ();
13077 return vkd3d_shader_compile ();
13082 if ac_fn_c_try_link "$LINENO"
13084 ac_cv_mingw_lib_vkd3d_shader=yes
13086 ac_cv_mingw_lib_vkd3d_shader=no
13088 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13089 conftest$ac_exeext conftest.$ac_ext
13090 CC=$ac_wine_check_headers_saved_cc
13091 ac_exeext=$ac_wine_check_headers_saved_exeext
13092 LIBS=$ac_wine_check_headers_saved_libs
13094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
13095 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
13096 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
13102 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
13111 CPPFLAGS=$ac_save_CPPFLAGS
13113 if test "x$VKD3D_PE_LIBS" = "x"
13115 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
13118 if ${ZLIB_PE_CFLAGS:+false} :
13120 if test ${MINGW_PKG_CONFIG+y}
13122 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib
2>/dev
/null
`
13125 if ${ZLIB_PE_LIBS:+false} :
13127 if test ${MINGW_PKG_CONFIG+y}
13129 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib
2>/dev
/null
`
13132 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13133 ac_save_CPPFLAGS=$CPPFLAGS
13134 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13136 printf %s "checking for MinGW zlib.h... " >&6; }
13137 if test ${ac_cv_mingw_header_zlib_h+y}
13139 printf %s "(cached) " >&6
13141 ac_wine_check_headers_saved_cc=$CC
13142 ac_wine_check_headers_saved_exeext=$ac_exeext
13145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13146 /* end confdefs.h. */
13157 if ac_fn_c_try_compile "$LINENO"
13159 ac_cv_mingw_header_zlib_h=yes
13161 ac_cv_mingw_header_zlib_h=no
13163 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13164 CC=$ac_wine_check_headers_saved_cc
13165 ac_exeext=$ac_wine_check_headers_saved_exeext
13167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13168 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13169 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13172 printf %s "checking for inflate in MinGW -lz... " >&6; }
13173 if test ${ac_cv_mingw_lib_z+y}
13175 printf %s "(cached) " >&6
13177 ac_wine_check_headers_saved_cc=$CC
13178 ac_wine_check_headers_saved_exeext=$ac_exeext
13179 ac_wine_check_headers_saved_libs=$LIBS
13182 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13184 /* end confdefs.h. */
13186 /* Override any GCC internal prototype to avoid an error.
13187 Use char because int might match the return type of a GCC
13188 builtin and then its argument prototype would still apply. */
13198 if ac_fn_c_try_link "$LINENO"
13200 ac_cv_mingw_lib_z=yes
13202 ac_cv_mingw_lib_z=no
13204 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13205 conftest$ac_exeext conftest.$ac_ext
13206 CC=$ac_wine_check_headers_saved_cc
13207 ac_exeext=$ac_wine_check_headers_saved_exeext
13208 LIBS=$ac_wine_check_headers_saved_libs
13210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13211 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13212 if test "x$ac_cv_mingw_lib_z" = xyes
13216 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13219 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13221 CPPFLAGS=$ac_save_CPPFLAGS
13223 if test "x$ZLIB_PE_LIBS" = "x"
13225 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13229 if ${FAUDIO_PE_LIBS:+false} :
13231 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13232 if ${FAUDIO_PE_CFLAGS:+false} :
13234 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13241 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13242 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13244 if ${GSM_PE_LIBS:+false} :
13247 if ${GSM_PE_CFLAGS:+false} :
13249 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13256 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13257 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13259 if ${JPEG_PE_LIBS:+false} :
13262 if ${JPEG_PE_CFLAGS:+false} :
13264 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13271 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13272 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13274 if ${JXR_PE_LIBS:+false} :
13277 if ${JXR_PE_CFLAGS:+false} :
13279 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13286 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13287 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13289 if ${LCMS2_PE_LIBS:+false} :
13291 LCMS2_PE_LIBS=lcms2
13292 if ${LCMS2_PE_CFLAGS:+false} :
13294 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13301 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13302 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13304 if ${MPG123_PE_LIBS:+false} :
13306 MPG123_PE_LIBS=mpg123
13307 if ${MPG123_PE_CFLAGS:+false} :
13309 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13316 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13317 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13319 if ${PNG_PE_LIBS:+false} :
13321 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13322 if ${PNG_PE_CFLAGS:+false} :
13324 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13331 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13332 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13334 if ${TIFF_PE_LIBS:+false} :
13336 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13337 if ${TIFF_PE_CFLAGS:+false} :
13339 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13346 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13347 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13349 if ${VKD3D_PE_LIBS:+false} :
13351 VKD3D_PE_LIBS=vkd3d
13352 if ${VKD3D_PE_CFLAGS:+false} :
13354 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13361 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13362 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13364 if ${XML2_PE_LIBS:+false} :
13367 if ${XML2_PE_CFLAGS:+false} :
13369 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13376 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13377 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13379 if ${XSLT_PE_LIBS:+false} :
13382 if ${XSLT_PE_CFLAGS:+false} :
13384 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13391 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13392 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13394 if ${ZLIB_PE_LIBS:+false} :
13397 if ${ZLIB_PE_CFLAGS:+false} :
13399 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13406 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13407 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13411 if test "$ac_cv_header_pthread_h" = "yes"
13413 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13414 if test "x$ac_cv_func_pthread_create" = xyes
13418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13419 printf %s "checking for pthread_create in -lpthread... " >&6; }
13420 if test ${ac_cv_lib_pthread_pthread_create+y}
13422 printf %s "(cached) " >&6
13424 ac_check_lib_save_LIBS=$LIBS
13425 LIBS="-lpthread $LIBS"
13426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13427 /* end confdefs.h. */
13429 /* Override any GCC internal prototype to avoid an error.
13430 Use char because int might match the return type of a GCC
13431 builtin and then its argument prototype would still apply. */
13432 char pthread_create ();
13436 return pthread_create ();
13441 if ac_fn_c_try_link "$LINENO"
13443 ac_cv_lib_pthread_pthread_create=yes
13445 ac_cv_lib_pthread_pthread_create=no
13447 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13448 conftest$ac_exeext conftest.$ac_ext
13449 LIBS=$ac_check_lib_save_LIBS
13451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13452 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13453 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13455 PTHREAD_LIBS="-lpthread"
13462 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13464 case "x$with_pthread" in
13466 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13467 Wine cannot support threads without libpthread.
13468 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13475 ac_cpp='$CPP $CPPFLAGS'
13476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13480 printf %s "checking how to run the C preprocessor... " >&6; }
13481 # On Suns, sometimes $CPP names a directory.
13482 if test -n "$CPP" && test -d "$CPP"; then
13485 if test -z "$CPP"; then
13486 if test ${ac_cv_prog_CPP+y}
13488 printf %s "(cached) " >&6
13490 # Double quotes because $CC needs to be expanded
13491 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13493 ac_preproc_ok=false
13494 for ac_c_preproc_warn_flag in '' yes
13496 # Use a header file that comes with gcc, so configuring glibc
13497 # with a fresh cross-compiler works.
13498 # On the NeXT, cc -E runs the code through the compiler's parser,
13499 # not just through cpp. "Syntax error" is here to catch this case.
13500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13501 /* end confdefs.h. */
13502 #include <limits.h>
13505 if ac_fn_c_try_cpp "$LINENO"
13509 # Broken: fails on valid input.
13512 rm -f conftest.err conftest.i conftest.$ac_ext
13514 # OK, works on sane cases. Now check whether nonexistent headers
13515 # can be detected and how.
13516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13517 /* end confdefs.h. */
13518 #include <ac_nonexistent.h>
13520 if ac_fn_c_try_cpp "$LINENO"
13522 # Broken: success on invalid input.
13525 # Passes both tests.
13529 rm -f conftest.err conftest.i conftest.$ac_ext
13532 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13533 rm -f conftest.i conftest.err conftest.
$ac_ext
13540 ac_cv_prog_CPP
=$CPP
13543 CPP
=$ac_cv_prog_CPP
13545 ac_cv_prog_CPP
=$CPP
13547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13548 printf "%s\n" "$CPP" >&6; }
13549 ac_preproc_ok
=false
13550 for ac_c_preproc_warn_flag
in '' yes
13552 # Use a header file that comes with gcc, so configuring glibc
13553 # with a fresh cross-compiler works.
13554 # On the NeXT, cc -E runs the code through the compiler's parser,
13555 # not just through cpp. "Syntax error" is here to catch this case.
13556 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13557 /* end confdefs.h. */
13558 #include <limits.h>
13561 if ac_fn_c_try_cpp
"$LINENO"
13565 # Broken: fails on valid input.
13568 rm -f conftest.err conftest.i conftest.
$ac_ext
13570 # OK, works on sane cases. Now check whether nonexistent headers
13571 # can be detected and how.
13572 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13573 /* end confdefs.h. */
13574 #include <ac_nonexistent.h>
13576 if ac_fn_c_try_cpp
"$LINENO"
13578 # Broken: success on invalid input.
13581 # Passes both tests.
13585 rm -f conftest.err conftest.i conftest.
$ac_ext
13588 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13589 rm -f conftest.i conftest.err conftest.
$ac_ext
13594 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13595 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13596 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
13597 See \`config.log' for more details" "$LINENO" 5; }
13601 ac_cpp
='$CPP $CPPFLAGS'
13602 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13603 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13604 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13608 printf %s
"checking for X... " >&6; }
13611 # Check whether --with-x was given.
13612 if test ${with_x+y}
13617 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13618 if test "x$with_x" = xno
; then
13619 # The user explicitly disabled X.
13622 case $x_includes,$x_libraries in #(
13623 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
13624 *,NONE | NONE
,*) if test ${ac_cv_have_x+y}
13626 printf %s
"(cached) " >&6
13628 # One or both of the vars are not set, and there is no cached value.
13631 # Do we need to do anything special at all?
13634 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13635 /* end confdefs.h. */
13636 #include <X11/Xlib.h>
13645 if ac_fn_c_try_link
"$LINENO"
13647 # We can compile and link X programs with no special options.
13651 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13652 conftest
$ac_exeext conftest.
$ac_ext
13653 LIBS
="$ac_save_LIBS"
13654 # If that didn't work, only try xmkmf and file system searches
13655 # for native compilation.
13656 if test x
"$ac_x_includes" = xno
&& test "$cross_compiling" = no
13658 rm -f -r conftest.dir
13659 if mkdir conftest.dir
; then
13661 cat >Imakefile
<<'_ACEOF'
13663 @echo incroot='${INCROOT}'
13665 @echo usrlibdir='${USRLIBDIR}'
13667 @echo libdir='${LIBDIR}'
13669 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
13670 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13671 for ac_var
in incroot usrlibdir libdir
; do
13672 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13674 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13675 for ac_extension
in a so sl dylib la dll
; do
13676 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13677 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13678 ac_im_usrlibdir
=$ac_im_libdir; break
13681 # Screen out bogus values from the imake configuration. They are
13682 # bogus both because they are the default anyway, and because
13683 # using them would break gcc on systems where it needs fixed includes.
13684 case $ac_im_incroot in
13685 /usr
/include
) ac_x_includes
= ;;
13686 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
13688 case $ac_im_usrlibdir in
13689 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
13690 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
13694 rm -f -r conftest.dir
13697 # Standard set of common directories for X headers.
13698 # Check X11 before X11Rn because it is often a symlink to the current release.
13712 /usr/local/X11/include
13713 /usr/local/X11R7/include
13714 /usr/local/X11R6/include
13715 /usr/local/X11R5/include
13716 /usr/local/X11R4/include
13718 /usr/local/include/X11
13719 /usr/local/include/X11R7
13720 /usr/local/include/X11R6
13721 /usr/local/include/X11R5
13722 /usr/local/include/X11R4
13728 /usr/XFree86/include/X11
13732 /usr/unsupported/include
13733 /usr/athena/include
13734 /usr/local/x11r5/include
13735 /usr/lpp/Xamples/include
13737 /usr/openwin/include
13738 /usr/openwin/share/include'
13740 if test "$ac_x_includes" = no
; then
13741 # Guess where to find include files, by looking for Xlib.h.
13742 # First, try using that file with no special directory specified.
13743 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13744 /* end confdefs.h. */
13745 #include <X11/Xlib.h>
13747 if ac_fn_c_try_cpp
"$LINENO"
13749 # We can compile using X headers with no special include directory.
13752 for ac_dir
in $ac_x_header_dirs; do
13753 if test -r "$ac_dir/X11/Xlib.h"; then
13754 ac_x_includes
=$ac_dir
13759 rm -f conftest.err conftest.i conftest.
$ac_ext
13760 fi # $ac_x_includes = no
13762 if test "$ac_x_libraries" = no
; then
13763 # Check for the libraries.
13764 # See if we find them without any special options.
13765 # Don't add to $LIBS permanently.
13768 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13769 /* end confdefs.h. */
13770 #include <X11/Xlib.h>
13779 if ac_fn_c_try_link
"$LINENO"
13782 # We can link X programs with no special library path.
13786 for ac_dir
in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13788 # Don't even attempt the hair of trying to link an X program!
13789 for ac_extension
in a so sl dylib la dll
; do
13790 if test -r "$ac_dir/libX11.$ac_extension"; then
13791 ac_x_libraries
=$ac_dir
13797 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13798 conftest
$ac_exeext conftest.
$ac_ext
13799 fi # $ac_x_libraries = no
13802 # Record the results.
13803 case $ac_x_includes,$ac_x_libraries in #(
13804 no
,* |
*,no |
*\'*) :
13805 # Didn't find X, or a directory has "'" in its name.
13806 ac_cv_have_x
="have_x=no" ;; #(
13808 # Record where we found X for the cache.
13809 ac_cv_have_x
="have_x=yes\
13810 ac_x_includes='$ac_x_includes'\
13811 ac_x_libraries='$ac_x_libraries'" ;;
13817 eval "$ac_cv_have_x"
13820 if test "$have_x" != yes; then
13821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13822 printf "%s\n" "$have_x" >&6; }
13825 # If each of the values was on the command line, it overrides each guess.
13826 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
13827 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
13828 # Update the cache value to reflect the command line values.
13829 ac_cv_have_x
="have_x=yes\
13830 ac_x_includes='$x_includes'\
13831 ac_x_libraries='$x_libraries'"
13832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13833 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13836 if test "$no_x" = yes; then
13837 # Not all programs may use this symbol, but it does not hurt to define it.
13839 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13841 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
13843 if test -n "$x_includes"; then
13844 X_CFLAGS
="$X_CFLAGS -I$x_includes"
13847 # It would also be nice to do this for all -L options, not just this one.
13848 if test -n "$x_libraries"; then
13849 X_LIBS
="$X_LIBS -L$x_libraries"
13850 # For Solaris; some versions of Sun CC require a space after -R and
13851 # others require no space. Words are not sufficient . . . .
13852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13853 printf %s
"checking whether -R must be followed by a space... " >&6; }
13854 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
13855 ac_xsave_c_werror_flag
=$ac_c_werror_flag
13856 ac_c_werror_flag
=yes
13857 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13858 /* end confdefs.h. */
13868 if ac_fn_c_try_link
"$LINENO"
13870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13871 printf "%s\n" "no" >&6; }
13872 X_LIBS
="$X_LIBS -R$x_libraries"
13874 LIBS
="$ac_xsave_LIBS -R $x_libraries"
13875 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13876 /* end confdefs.h. */
13886 if ac_fn_c_try_link
"$LINENO"
13888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13889 printf "%s\n" "yes" >&6; }
13890 X_LIBS
="$X_LIBS -R $x_libraries"
13892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13893 printf "%s\n" "neither works" >&6; }
13895 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13896 conftest
$ac_exeext conftest.
$ac_ext
13898 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13899 conftest
$ac_exeext conftest.
$ac_ext
13900 ac_c_werror_flag
=$ac_xsave_c_werror_flag
13901 LIBS
=$ac_xsave_LIBS
13904 # Check for system-dependent libraries X programs must link with.
13905 # Do this before checking for the system-independent R6 libraries
13906 # (-lICE), since we may need -lsocket or whatever for X linking.
13908 if test "$ISC" = yes; then
13909 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
13911 # Martyn Johnson says this is needed for Ultrix, if the X
13912 # libraries were built with DECnet support. And Karl Berry says
13913 # the Alpha needs dnet_stub (dnet does not exist).
13914 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
13915 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13916 /* end confdefs.h. */
13918 /* Override any GCC internal prototype to avoid an error.
13919 Use char because int might match the return type of a GCC
13920 builtin and then its argument prototype would still apply. */
13921 char XOpenDisplay ();
13925 return XOpenDisplay ();
13930 if ac_fn_c_try_link
"$LINENO"
13934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13935 printf %s
"checking for dnet_ntoa in -ldnet... " >&6; }
13936 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13938 printf %s
"(cached) " >&6
13940 ac_check_lib_save_LIBS
=$LIBS
13941 LIBS
="-ldnet $LIBS"
13942 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13943 /* end confdefs.h. */
13945 /* Override any GCC internal prototype to avoid an error.
13946 Use char because int might match the return type of a GCC
13947 builtin and then its argument prototype would still apply. */
13952 return dnet_ntoa ();
13957 if ac_fn_c_try_link
"$LINENO"
13959 ac_cv_lib_dnet_dnet_ntoa
=yes
13961 ac_cv_lib_dnet_dnet_ntoa
=no
13963 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13964 conftest
$ac_exeext conftest.
$ac_ext
13965 LIBS
=$ac_check_lib_save_LIBS
13967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13968 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13969 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13971 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
13974 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
13975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13976 printf %s
"checking for dnet_ntoa in -ldnet_stub... " >&6; }
13977 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
13979 printf %s
"(cached) " >&6
13981 ac_check_lib_save_LIBS
=$LIBS
13982 LIBS
="-ldnet_stub $LIBS"
13983 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13984 /* end confdefs.h. */
13986 /* Override any GCC internal prototype to avoid an error.
13987 Use char because int might match the return type of a GCC
13988 builtin and then its argument prototype would still apply. */
13993 return dnet_ntoa ();
13998 if ac_fn_c_try_link
"$LINENO"
14000 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
14002 ac_cv_lib_dnet_stub_dnet_ntoa
=no
14004 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14005 conftest
$ac_exeext conftest.
$ac_ext
14006 LIBS
=$ac_check_lib_save_LIBS
14008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
14009 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
14010 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
14012 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
14017 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14018 conftest
$ac_exeext conftest.
$ac_ext
14019 LIBS
="$ac_xsave_LIBS"
14021 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14022 # to get the SysV transport functions.
14023 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
14025 # The nsl library prevents programs from opening the X display
14026 # on Irix 5.2, according to T.E. Dickey.
14027 # The functions gethostbyname, getservbyname, and inet_addr are
14028 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
14029 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
14030 if test "x$ac_cv_func_gethostbyname" = xyes
14035 if test $ac_cv_func_gethostbyname = no
; then
14036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
14037 printf %s
"checking for gethostbyname in -lnsl... " >&6; }
14038 if test ${ac_cv_lib_nsl_gethostbyname+y}
14040 printf %s
"(cached) " >&6
14042 ac_check_lib_save_LIBS
=$LIBS
14044 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14045 /* end confdefs.h. */
14047 /* Override any GCC internal prototype to avoid an error.
14048 Use char because int might match the return type of a GCC
14049 builtin and then its argument prototype would still apply. */
14050 char gethostbyname ();
14054 return gethostbyname ();
14059 if ac_fn_c_try_link
"$LINENO"
14061 ac_cv_lib_nsl_gethostbyname
=yes
14063 ac_cv_lib_nsl_gethostbyname
=no
14065 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14066 conftest
$ac_exeext conftest.
$ac_ext
14067 LIBS
=$ac_check_lib_save_LIBS
14069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
14070 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
14071 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
14073 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
14076 if test $ac_cv_lib_nsl_gethostbyname = no
; then
14077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
14078 printf %s
"checking for gethostbyname in -lbsd... " >&6; }
14079 if test ${ac_cv_lib_bsd_gethostbyname+y}
14081 printf %s
"(cached) " >&6
14083 ac_check_lib_save_LIBS
=$LIBS
14085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14086 /* end confdefs.h. */
14088 /* Override any GCC internal prototype to avoid an error.
14089 Use char because int might match the return type of a GCC
14090 builtin and then its argument prototype would still apply. */
14091 char gethostbyname ();
14095 return gethostbyname ();
14100 if ac_fn_c_try_link
"$LINENO"
14102 ac_cv_lib_bsd_gethostbyname
=yes
14104 ac_cv_lib_bsd_gethostbyname
=no
14106 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14107 conftest
$ac_exeext conftest.
$ac_ext
14108 LIBS
=$ac_check_lib_save_LIBS
14110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14111 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14112 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14114 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
14120 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14121 # socket/setsockopt and other routines are undefined under SCO ODT
14122 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14123 # on later versions), says Simon Leinen: it contains gethostby*
14124 # variants that don't use the name server (or something). -lsocket
14125 # must be given before -lnsl if both are needed. We assume that
14126 # if connect needs -lnsl, so does gethostbyname.
14127 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
14128 if test "x$ac_cv_func_connect" = xyes
14133 if test $ac_cv_func_connect = no
; then
14134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14135 printf %s
"checking for connect in -lsocket... " >&6; }
14136 if test ${ac_cv_lib_socket_connect+y}
14138 printf %s
"(cached) " >&6
14140 ac_check_lib_save_LIBS
=$LIBS
14141 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
14142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14143 /* end confdefs.h. */
14145 /* Override any GCC internal prototype to avoid an error.
14146 Use char because int might match the return type of a GCC
14147 builtin and then its argument prototype would still apply. */
14157 if ac_fn_c_try_link
"$LINENO"
14159 ac_cv_lib_socket_connect
=yes
14161 ac_cv_lib_socket_connect
=no
14163 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14164 conftest
$ac_exeext conftest.
$ac_ext
14165 LIBS
=$ac_check_lib_save_LIBS
14167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14168 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14169 if test "x$ac_cv_lib_socket_connect" = xyes
14171 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
14176 # Guillermo Gomez says -lposix is necessary on A/UX.
14177 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
14178 if test "x$ac_cv_func_remove" = xyes
14183 if test $ac_cv_func_remove = no
; then
14184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14185 printf %s
"checking for remove in -lposix... " >&6; }
14186 if test ${ac_cv_lib_posix_remove+y}
14188 printf %s
"(cached) " >&6
14190 ac_check_lib_save_LIBS
=$LIBS
14191 LIBS
="-lposix $LIBS"
14192 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14193 /* end confdefs.h. */
14195 /* Override any GCC internal prototype to avoid an error.
14196 Use char because int might match the return type of a GCC
14197 builtin and then its argument prototype would still apply. */
14207 if ac_fn_c_try_link
"$LINENO"
14209 ac_cv_lib_posix_remove
=yes
14211 ac_cv_lib_posix_remove
=no
14213 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14214 conftest
$ac_exeext conftest.
$ac_ext
14215 LIBS
=$ac_check_lib_save_LIBS
14217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14218 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14219 if test "x$ac_cv_lib_posix_remove" = xyes
14221 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
14226 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14227 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
14228 if test "x$ac_cv_func_shmat" = xyes
14233 if test $ac_cv_func_shmat = no
; then
14234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14235 printf %s
"checking for shmat in -lipc... " >&6; }
14236 if test ${ac_cv_lib_ipc_shmat+y}
14238 printf %s
"(cached) " >&6
14240 ac_check_lib_save_LIBS
=$LIBS
14242 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14243 /* end confdefs.h. */
14245 /* Override any GCC internal prototype to avoid an error.
14246 Use char because int might match the return type of a GCC
14247 builtin and then its argument prototype would still apply. */
14257 if ac_fn_c_try_link
"$LINENO"
14259 ac_cv_lib_ipc_shmat
=yes
14261 ac_cv_lib_ipc_shmat
=no
14263 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14264 conftest
$ac_exeext conftest.
$ac_ext
14265 LIBS
=$ac_check_lib_save_LIBS
14267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14268 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14269 if test "x$ac_cv_lib_ipc_shmat" = xyes
14271 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
14277 # Check for libraries that X11R6 Xt/Xaw programs need.
14278 ac_save_LDFLAGS
=$LDFLAGS
14279 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
14280 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14281 # check for ICE first), but we must link in the order -lSM -lICE or
14282 # we get undefined symbols. So assume we have SM if we have ICE.
14283 # These have to be linked with before -lX11, unlike the other
14284 # libraries we check for below, so use a different variable.
14285 # John Interrante, Karl Berry
14286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14287 printf %s
"checking for IceConnectionNumber in -lICE... " >&6; }
14288 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14290 printf %s
"(cached) " >&6
14292 ac_check_lib_save_LIBS
=$LIBS
14293 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
14294 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14295 /* end confdefs.h. */
14297 /* Override any GCC internal prototype to avoid an error.
14298 Use char because int might match the return type of a GCC
14299 builtin and then its argument prototype would still apply. */
14300 char IceConnectionNumber ();
14304 return IceConnectionNumber ();
14309 if ac_fn_c_try_link
"$LINENO"
14311 ac_cv_lib_ICE_IceConnectionNumber
=yes
14313 ac_cv_lib_ICE_IceConnectionNumber
=no
14315 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14316 conftest
$ac_exeext conftest.
$ac_ext
14317 LIBS
=$ac_check_lib_save_LIBS
14319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14320 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14321 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14323 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
14326 LDFLAGS
=$ac_save_LDFLAGS
14331 if test "$have_x" = "yes"
14333 ac_save_CPPFLAGS
="$CPPFLAGS"
14334 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
14336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14337 printf %s
"checking for -lX11... " >&6; }
14338 if test ${ac_cv_lib_soname_X11+y}
14340 printf %s
"(cached) " >&6
14342 ac_check_soname_save_LIBS
=$LIBS
14343 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14344 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14345 /* end confdefs.h. */
14347 /* Override any GCC internal prototype to avoid an error.
14348 Use char because int might match the return type of a GCC
14349 builtin and then its argument prototype would still apply. */
14350 char XCreateWindow ();
14354 return XCreateWindow ();
14359 if ac_fn_c_try_link
"$LINENO"
14362 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14363 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'` ;;
14364 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14365 if ${ac_cv_lib_soname_X11:+false} :
14367 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14371 ac_cv_lib_soname_X11
=
14373 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14374 conftest
$ac_exeext conftest.
$ac_ext
14375 LIBS
=$ac_check_soname_save_LIBS
14377 if ${ac_cv_lib_soname_X11:+false} :
14379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14380 printf "%s\n" "not found" >&6; }
14383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14384 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14386 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14391 printf %s
"checking for -lXext... " >&6; }
14392 if test ${ac_cv_lib_soname_Xext+y}
14394 printf %s
"(cached) " >&6
14396 ac_check_soname_save_LIBS
=$LIBS
14397 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14398 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14399 /* end confdefs.h. */
14401 /* Override any GCC internal prototype to avoid an error.
14402 Use char because int might match the return type of a GCC
14403 builtin and then its argument prototype would still apply. */
14404 char XextCreateExtension ();
14408 return XextCreateExtension ();
14413 if ac_fn_c_try_link
"$LINENO"
14416 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14417 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'` ;;
14418 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14419 if ${ac_cv_lib_soname_Xext:+false} :
14421 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14425 ac_cv_lib_soname_Xext
=
14427 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14428 conftest
$ac_exeext conftest.
$ac_ext
14429 LIBS
=$ac_check_soname_save_LIBS
14431 if ${ac_cv_lib_soname_Xext:+false} :
14433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14434 printf "%s\n" "not found" >&6; }
14437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14438 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14440 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14442 X_LIBS
="$X_LIBS -lXext"
14444 X_LIBS
="$X_LIBS -lX11"
14446 ac_fn_c_check_header_compile
"$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
14447 # include <X11/Xlib.h>
14449 #ifdef HAVE_X11_XUTIL_H
14450 # include <X11/Xutil.h>
14453 if test "x$ac_cv_header_X11_Xlib_h" = xyes
14455 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14458 ac_fn_c_check_header_compile
"$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
14459 # include <X11/Xlib.h>
14461 #ifdef HAVE_X11_XUTIL_H
14462 # include <X11/Xutil.h>
14465 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
14467 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14470 ac_fn_c_check_header_compile
"$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
14471 # include <X11/Xlib.h>
14473 #ifdef HAVE_X11_XUTIL_H
14474 # include <X11/Xutil.h>
14477 if test "x$ac_cv_header_X11_Xutil_h" = xyes
14479 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14482 ac_fn_c_check_header_compile
"$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
14483 # include <X11/Xlib.h>
14485 #ifdef HAVE_X11_XUTIL_H
14486 # include <X11/Xutil.h>
14489 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14491 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14494 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
14495 # include <X11/Xlib.h>
14497 #ifdef HAVE_X11_XUTIL_H
14498 # include <X11/Xutil.h>
14501 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14503 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14506 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
14507 # include <X11/Xlib.h>
14509 #ifdef HAVE_X11_XUTIL_H
14510 # include <X11/Xutil.h>
14513 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14515 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14518 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
14519 # include <X11/Xlib.h>
14521 #ifdef HAVE_X11_XUTIL_H
14522 # include <X11/Xutil.h>
14525 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14527 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14530 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
14531 # include <X11/Xlib.h>
14533 #ifdef HAVE_X11_XUTIL_H
14534 # include <X11/Xutil.h>
14537 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14539 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14542 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
14543 # include <X11/Xlib.h>
14545 #ifdef HAVE_X11_XUTIL_H
14546 # include <X11/Xutil.h>
14549 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
14551 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14554 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
14555 # include <X11/Xlib.h>
14557 #ifdef HAVE_X11_XUTIL_H
14558 # include <X11/Xutil.h>
14561 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14563 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14566 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
14567 # include <X11/Xlib.h>
14569 #ifdef HAVE_X11_XUTIL_H
14570 # include <X11/Xutil.h>
14573 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14575 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14578 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
14579 # include <X11/Xlib.h>
14581 #ifdef HAVE_X11_XUTIL_H
14582 # include <X11/Xutil.h>
14585 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14587 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14590 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
14591 # include <X11/Xlib.h>
14593 #ifdef HAVE_X11_XUTIL_H
14594 # include <X11/Xutil.h>
14597 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14599 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14602 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
14603 # include <X11/Xlib.h>
14605 #ifdef HAVE_X11_XUTIL_H
14606 # include <X11/Xutil.h>
14609 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14611 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14614 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
14615 # include <X11/Xlib.h>
14617 #ifdef HAVE_X11_XUTIL_H
14618 # include <X11/Xutil.h>
14621 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14623 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14628 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
14630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
14631 printf %s
"checking for XkbQueryExtension in -lX11... " >&6; }
14632 if test ${ac_cv_lib_X11_XkbQueryExtension+y}
14634 printf %s
"(cached) " >&6
14636 ac_check_lib_save_LIBS
=$LIBS
14637 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14638 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14639 /* end confdefs.h. */
14641 /* Override any GCC internal prototype to avoid an error.
14642 Use char because int might match the return type of a GCC
14643 builtin and then its argument prototype would still apply. */
14644 char XkbQueryExtension ();
14648 return XkbQueryExtension ();
14653 if ac_fn_c_try_link
"$LINENO"
14655 ac_cv_lib_X11_XkbQueryExtension
=yes
14657 ac_cv_lib_X11_XkbQueryExtension
=no
14659 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14660 conftest
$ac_exeext conftest.
$ac_ext
14661 LIBS
=$ac_check_lib_save_LIBS
14663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
14664 printf "%s\n" "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
14665 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
14668 printf "%s\n" "#define HAVE_XKB 1" >>confdefs.h
14674 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14677 printf %s
"checking for -lXcursor... " >&6; }
14678 if test ${ac_cv_lib_soname_Xcursor+y}
14680 printf %s
"(cached) " >&6
14682 ac_check_soname_save_LIBS
=$LIBS
14683 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14684 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14685 /* end confdefs.h. */
14687 /* Override any GCC internal prototype to avoid an error.
14688 Use char because int might match the return type of a GCC
14689 builtin and then its argument prototype would still apply. */
14690 char XcursorImageLoadCursor ();
14694 return XcursorImageLoadCursor ();
14699 if ac_fn_c_try_link
"$LINENO"
14702 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14703 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'` ;;
14704 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14705 if ${ac_cv_lib_soname_Xcursor:+false} :
14707 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14711 ac_cv_lib_soname_Xcursor
=
14713 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14714 conftest
$ac_exeext conftest.
$ac_ext
14715 LIBS
=$ac_check_soname_save_LIBS
14717 if ${ac_cv_lib_soname_Xcursor:+false} :
14719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14720 printf "%s\n" "not found" >&6; }
14723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14724 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14726 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14731 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14733 case "x$with_xcursor" in
14734 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14736 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14737 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14742 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14745 printf %s
"checking for -lXi... " >&6; }
14746 if test ${ac_cv_lib_soname_Xi+y}
14748 printf %s
"(cached) " >&6
14750 ac_check_soname_save_LIBS
=$LIBS
14751 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14752 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14753 /* end confdefs.h. */
14755 /* Override any GCC internal prototype to avoid an error.
14756 Use char because int might match the return type of a GCC
14757 builtin and then its argument prototype would still apply. */
14758 char XOpenDevice ();
14762 return XOpenDevice ();
14767 if ac_fn_c_try_link
"$LINENO"
14770 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14771 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'` ;;
14772 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14773 if ${ac_cv_lib_soname_Xi:+false} :
14775 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14779 ac_cv_lib_soname_Xi
=
14781 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14782 conftest
$ac_exeext conftest.
$ac_ext
14783 LIBS
=$ac_check_soname_save_LIBS
14785 if ${ac_cv_lib_soname_Xi:+false} :
14787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14788 printf "%s\n" "not found" >&6; }
14791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14792 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14794 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14799 if test "x$ac_cv_lib_soname_Xi" = "x"
14801 case "x$with_xinput" in
14802 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14804 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14805 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14810 if test "x$ac_cv_lib_soname_Xi" != x
14812 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14814 case "x$with_xinput2" in
14815 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14817 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
14818 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14824 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14827 printf %s
"checking for XShmQueryExtension in -lXext... " >&6; }
14828 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14830 printf %s
"(cached) " >&6
14832 ac_check_lib_save_LIBS
=$LIBS
14833 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14834 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14835 /* end confdefs.h. */
14837 /* Override any GCC internal prototype to avoid an error.
14838 Use char because int might match the return type of a GCC
14839 builtin and then its argument prototype would still apply. */
14840 char XShmQueryExtension ();
14844 return XShmQueryExtension ();
14849 if ac_fn_c_try_link
"$LINENO"
14851 ac_cv_lib_Xext_XShmQueryExtension
=yes
14853 ac_cv_lib_Xext_XShmQueryExtension
=no
14855 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14856 conftest
$ac_exeext conftest.
$ac_ext
14857 LIBS
=$ac_check_lib_save_LIBS
14859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14860 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14861 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14864 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14869 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14871 case "x$with_xshm" in
14872 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14874 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14875 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14880 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14883 printf %s
"checking for XShapeQueryExtension in -lXext... " >&6; }
14884 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14886 printf %s
"(cached) " >&6
14888 ac_check_lib_save_LIBS
=$LIBS
14889 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14890 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14891 /* end confdefs.h. */
14893 /* Override any GCC internal prototype to avoid an error.
14894 Use char because int might match the return type of a GCC
14895 builtin and then its argument prototype would still apply. */
14896 char XShapeQueryExtension ();
14900 return XShapeQueryExtension ();
14905 if ac_fn_c_try_link
"$LINENO"
14907 ac_cv_lib_Xext_XShapeQueryExtension
=yes
14909 ac_cv_lib_Xext_XShapeQueryExtension
=no
14911 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14912 conftest
$ac_exeext conftest.
$ac_ext
14913 LIBS
=$ac_check_lib_save_LIBS
14915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14916 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14917 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14920 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14925 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14927 case "x$with_xshape" in
14928 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14930 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
14931 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14936 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14939 printf %s
"checking for -lXxf86vm... " >&6; }
14940 if test ${ac_cv_lib_soname_Xxf86vm+y}
14942 printf %s
"(cached) " >&6
14944 ac_check_soname_save_LIBS
=$LIBS
14945 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14946 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14947 /* end confdefs.h. */
14949 /* Override any GCC internal prototype to avoid an error.
14950 Use char because int might match the return type of a GCC
14951 builtin and then its argument prototype would still apply. */
14952 char XF86VidModeQueryExtension ();
14956 return XF86VidModeQueryExtension ();
14961 if ac_fn_c_try_link
"$LINENO"
14964 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14965 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'` ;;
14966 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14967 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14969 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14973 ac_cv_lib_soname_Xxf86vm
=
14975 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14976 conftest
$ac_exeext conftest.
$ac_ext
14977 LIBS
=$ac_check_soname_save_LIBS
14979 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14982 printf "%s\n" "not found" >&6; }
14985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
14986 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
14988 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
14993 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
14995 case "x$with_xxf86vm" in
14996 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
14998 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
14999 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
15004 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
15006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
15007 printf %s
"checking for -lXrender... " >&6; }
15008 if test ${ac_cv_lib_soname_Xrender+y}
15010 printf %s
"(cached) " >&6
15012 ac_check_soname_save_LIBS
=$LIBS
15013 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15014 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15015 /* end confdefs.h. */
15017 /* Override any GCC internal prototype to avoid an error.
15018 Use char because int might match the return type of a GCC
15019 builtin and then its argument prototype would still apply. */
15020 char XRenderQueryExtension ();
15024 return XRenderQueryExtension ();
15029 if ac_fn_c_try_link
"$LINENO"
15032 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15033 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'` ;;
15034 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15035 if ${ac_cv_lib_soname_Xrender:+false} :
15037 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15041 ac_cv_lib_soname_Xrender
=
15043 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15044 conftest
$ac_exeext conftest.
$ac_ext
15045 LIBS
=$ac_check_soname_save_LIBS
15047 if ${ac_cv_lib_soname_Xrender:+false} :
15049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15050 printf "%s\n" "not found" >&6; }
15053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
15054 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
15056 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
15058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
15059 printf %s
"checking for XRenderSetPictureTransform in -lXrender... " >&6; }
15060 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
15062 printf %s
"(cached) " >&6
15064 ac_check_lib_save_LIBS
=$LIBS
15065 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15066 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15067 /* end confdefs.h. */
15069 /* Override any GCC internal prototype to avoid an error.
15070 Use char because int might match the return type of a GCC
15071 builtin and then its argument prototype would still apply. */
15072 char XRenderSetPictureTransform ();
15076 return XRenderSetPictureTransform ();
15081 if ac_fn_c_try_link
"$LINENO"
15083 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
15085 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
15087 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15088 conftest
$ac_exeext conftest.
$ac_ext
15089 LIBS
=$ac_check_lib_save_LIBS
15091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
15092 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
15093 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
15096 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
15100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
15101 printf %s
"checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
15102 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
15104 printf %s
"(cached) " >&6
15106 ac_check_lib_save_LIBS
=$LIBS
15107 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15108 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15109 /* end confdefs.h. */
15111 /* Override any GCC internal prototype to avoid an error.
15112 Use char because int might match the return type of a GCC
15113 builtin and then its argument prototype would still apply. */
15114 char XRenderCreateLinearGradient ();
15118 return XRenderCreateLinearGradient ();
15123 if ac_fn_c_try_link
"$LINENO"
15125 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
15127 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
15129 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15130 conftest
$ac_exeext conftest.
$ac_ext
15131 LIBS
=$ac_check_lib_save_LIBS
15133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15134 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15135 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15138 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15145 if test "x$ac_cv_lib_soname_Xrender" = "x"
15147 case "x$with_xrender" in
15148 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15150 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
15151 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15156 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15158 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15159 /* end confdefs.h. */
15160 #include <X11/Xlib.h>
15161 #include <X11/extensions/Xrandr.h>
15165 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15170 if ac_fn_c_try_compile
"$LINENO"
15172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15173 printf %s
"checking for -lXrandr... " >&6; }
15174 if test ${ac_cv_lib_soname_Xrandr+y}
15176 printf %s
"(cached) " >&6
15178 ac_check_soname_save_LIBS
=$LIBS
15179 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15180 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15181 /* end confdefs.h. */
15183 /* Override any GCC internal prototype to avoid an error.
15184 Use char because int might match the return type of a GCC
15185 builtin and then its argument prototype would still apply. */
15186 char XRRQueryExtension ();
15190 return XRRQueryExtension ();
15195 if ac_fn_c_try_link
"$LINENO"
15198 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15199 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'` ;;
15200 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15201 if ${ac_cv_lib_soname_Xrandr:+false} :
15203 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15207 ac_cv_lib_soname_Xrandr
=
15209 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15210 conftest
$ac_exeext conftest.
$ac_ext
15211 LIBS
=$ac_check_soname_save_LIBS
15213 if ${ac_cv_lib_soname_Xrandr:+false} :
15215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15216 printf "%s\n" "not found" >&6; }
15219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15220 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15222 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15224 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15225 /* end confdefs.h. */
15226 #include <X11/Xlib.h>
15227 #include <X11/extensions/Xrandr.h>
15231 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15236 if ac_fn_c_try_compile
"$LINENO"
15239 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15242 as_fn_append wine_notices
"|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15244 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15247 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15249 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15251 case "x$with_xrandr" in
15252 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15254 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15255 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15260 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15262 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15263 /* end confdefs.h. */
15264 #include <X11/Xlib.h>
15265 #include <X11/extensions/Xfixes.h>
15269 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15274 if ac_fn_c_try_compile
"$LINENO"
15276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15277 printf %s
"checking for -lXfixes... " >&6; }
15278 if test ${ac_cv_lib_soname_Xfixes+y}
15280 printf %s
"(cached) " >&6
15282 ac_check_soname_save_LIBS
=$LIBS
15283 LIBS
="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15284 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15285 /* end confdefs.h. */
15287 /* Override any GCC internal prototype to avoid an error.
15288 Use char because int might match the return type of a GCC
15289 builtin and then its argument prototype would still apply. */
15290 char XFixesQueryVersion ();
15294 return XFixesQueryVersion ();
15299 if ac_fn_c_try_link
"$LINENO"
15302 dll
) ac_cv_lib_soname_Xfixes
=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15303 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'` ;;
15304 *) ac_cv_lib_soname_Xfixes
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15305 if ${ac_cv_lib_soname_Xfixes:+false} :
15307 ac_cv_lib_soname_Xfixes
=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15311 ac_cv_lib_soname_Xfixes
=
15313 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15314 conftest
$ac_exeext conftest.
$ac_ext
15315 LIBS
=$ac_check_soname_save_LIBS
15317 if ${ac_cv_lib_soname_Xfixes:+false} :
15319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15320 printf "%s\n" "not found" >&6; }
15323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15324 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15326 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15331 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15333 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15335 case "x$with_xfixes" in
15336 x
) as_fn_append wine_notices
"|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15338 *) as_fn_error $?
"libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15339 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15344 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15346 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15347 /* end confdefs.h. */
15348 #include <X11/Xlib.h>
15349 #include <X11/extensions/Xinerama.h>
15353 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15358 if ac_fn_c_try_compile
"$LINENO"
15360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15361 printf %s
"checking for -lXinerama... " >&6; }
15362 if test ${ac_cv_lib_soname_Xinerama+y}
15364 printf %s
"(cached) " >&6
15366 ac_check_soname_save_LIBS
=$LIBS
15367 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15368 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15369 /* end confdefs.h. */
15371 /* Override any GCC internal prototype to avoid an error.
15372 Use char because int might match the return type of a GCC
15373 builtin and then its argument prototype would still apply. */
15374 char XineramaQueryScreens ();
15378 return XineramaQueryScreens ();
15383 if ac_fn_c_try_link
"$LINENO"
15386 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15387 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'` ;;
15388 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15389 if ${ac_cv_lib_soname_Xinerama:+false} :
15391 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15395 ac_cv_lib_soname_Xinerama
=
15397 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15398 conftest
$ac_exeext conftest.
$ac_ext
15399 LIBS
=$ac_check_soname_save_LIBS
15401 if ${ac_cv_lib_soname_Xinerama:+false} :
15403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15404 printf "%s\n" "not found" >&6; }
15407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15408 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15410 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15415 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15417 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15419 case "x$with_xinerama" in
15420 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15422 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15423 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15428 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15431 printf %s
"checking for -lXcomposite... " >&6; }
15432 if test ${ac_cv_lib_soname_Xcomposite+y}
15434 printf %s
"(cached) " >&6
15436 ac_check_soname_save_LIBS
=$LIBS
15437 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15438 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15439 /* end confdefs.h. */
15441 /* Override any GCC internal prototype to avoid an error.
15442 Use char because int might match the return type of a GCC
15443 builtin and then its argument prototype would still apply. */
15444 char XCompositeRedirectWindow ();
15448 return XCompositeRedirectWindow ();
15453 if ac_fn_c_try_link
"$LINENO"
15456 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15457 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'` ;;
15458 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15459 if ${ac_cv_lib_soname_Xcomposite:+false} :
15461 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15465 ac_cv_lib_soname_Xcomposite
=
15467 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15468 conftest
$ac_exeext conftest.
$ac_ext
15469 LIBS
=$ac_check_soname_save_LIBS
15471 if ${ac_cv_lib_soname_Xcomposite:+false} :
15473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15474 printf "%s\n" "not found" >&6; }
15477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15478 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15480 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15485 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15487 case "x$with_xcomposite" in
15488 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15490 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15491 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15496 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
15497 #include <X11/Xlib.h>
15500 if test "x$ac_cv_member_XICCallback_callback" = xyes
15503 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15507 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15508 #include <X11/Xlib.h>
15511 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15514 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15522 if test "x$with_opengl" != "xno"
15524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15525 printf %s
"checking for -lGL... " >&6; }
15526 if test ${ac_cv_lib_soname_GL+y}
15528 printf %s
"(cached) " >&6
15530 ac_check_soname_save_LIBS
=$LIBS
15531 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15532 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15533 /* end confdefs.h. */
15535 /* Override any GCC internal prototype to avoid an error.
15536 Use char because int might match the return type of a GCC
15537 builtin and then its argument prototype would still apply. */
15538 char glXCreateContext ();
15542 return glXCreateContext ();
15547 if ac_fn_c_try_link
"$LINENO"
15550 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15551 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'` ;;
15552 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15553 if ${ac_cv_lib_soname_GL:+false} :
15555 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15559 ac_cv_lib_soname_GL
=
15561 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15562 conftest
$ac_exeext conftest.
$ac_ext
15563 LIBS
=$ac_check_soname_save_LIBS
15565 if ${ac_cv_lib_soname_GL:+false} :
15567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15568 printf "%s\n" "not found" >&6; }
15569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15570 printf %s
"checking for -lGL... " >&6; }
15571 if test ${ac_cv_lib_soname_GL+y}
15573 printf %s
"(cached) " >&6
15575 ac_check_soname_save_LIBS
=$LIBS
15576 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"
15577 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15578 /* end confdefs.h. */
15580 /* Override any GCC internal prototype to avoid an error.
15581 Use char because int might match the return type of a GCC
15582 builtin and then its argument prototype would still apply. */
15583 char glXCreateContext ();
15587 return glXCreateContext ();
15592 if ac_fn_c_try_link
"$LINENO"
15595 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15596 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'` ;;
15597 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15598 if ${ac_cv_lib_soname_GL:+false} :
15600 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15604 ac_cv_lib_soname_GL
=
15606 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15607 conftest
$ac_exeext conftest.
$ac_ext
15608 LIBS
=$ac_check_soname_save_LIBS
15610 if ${ac_cv_lib_soname_GL:+false} :
15612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15613 printf "%s\n" "not found" >&6; }
15614 if test -f /usr
/X11R
6/lib
/libGL.a
15616 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
15617 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15619 opengl_msg
="No OpenGL library found on this system."
15622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15623 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15625 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15627 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"
15630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15631 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15633 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15637 if test "x$with_osmesa" != "xno"
15639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15640 printf %s
"checking for -lOSMesa... " >&6; }
15641 if test ${ac_cv_lib_soname_OSMesa+y}
15643 printf %s
"(cached) " >&6
15645 ac_check_soname_save_LIBS
=$LIBS
15646 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15647 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15648 /* end confdefs.h. */
15650 /* Override any GCC internal prototype to avoid an error.
15651 Use char because int might match the return type of a GCC
15652 builtin and then its argument prototype would still apply. */
15653 char OSMesaGetProcAddress ();
15657 return OSMesaGetProcAddress ();
15662 if ac_fn_c_try_link
"$LINENO"
15665 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15666 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'` ;;
15667 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15668 if ${ac_cv_lib_soname_OSMesa:+false} :
15670 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15674 ac_cv_lib_soname_OSMesa
=
15676 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15677 conftest
$ac_exeext conftest.
$ac_ext
15678 LIBS
=$ac_check_soname_save_LIBS
15680 if ${ac_cv_lib_soname_OSMesa:+false} :
15682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15683 printf "%s\n" "not found" >&6; }
15686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15687 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15689 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15693 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15695 case "x$with_osmesa" in
15696 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15698 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15699 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15705 if test -n "$opengl_msg"
15707 case "x$with_opengl" in
15708 x
) as_fn_append wine_warnings
"|$opengl_msg
15709 OpenGL and Direct3D won't be supported." ;;
15711 *) as_fn_error $?
"$opengl_msg
15712 OpenGL and Direct3D won't be supported.
15713 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15718 CPPFLAGS
="$ac_save_CPPFLAGS"
15724 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15726 if test "x$X_LIBS" = "x"
15730 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
15731 without X support, which probably isn't what you want. You will need
15732 to install ${notice_platform}development packages of Xlib at the very least.
15733 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15735 enable_winex11_drv
=${enable_winex11_drv:-no}
15738 if test "x$X_LIBS" = "x"
15741 x
) as_fn_append wine_notices
"|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15743 *) as_fn_error $?
"X ${notice_platform}development files not found, the X11 driver won't be supported.
15744 This is an error since --with-x was requested." "$LINENO" 5 ;;
15746 enable_winex11_drv
=${enable_winex11_drv:-no}
15750 if test "$ac_cv_header_CL_cl_h" = "yes"
15752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15753 printf %s
"checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15754 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15756 printf %s
"(cached) " >&6
15758 ac_check_lib_save_LIBS
=$LIBS
15759 LIBS
="-lOpenCL $LIBS"
15760 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15761 /* end confdefs.h. */
15763 /* Override any GCC internal prototype to avoid an error.
15764 Use char because int might match the return type of a GCC
15765 builtin and then its argument prototype would still apply. */
15766 char clGetPlatformInfo ();
15770 return clGetPlatformInfo ();
15775 if ac_fn_c_try_link
"$LINENO"
15777 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
15779 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
15781 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15782 conftest
$ac_exeext conftest.
$ac_ext
15783 LIBS
=$ac_check_lib_save_LIBS
15785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15786 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15787 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15789 OPENCL_LIBS
="-lOpenCL"
15794 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15796 case "x$with_opencl" in
15797 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15799 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15800 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15802 enable_opencl
=${enable_opencl:-no}
15805 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
15808 printf %s
"checking for pcap_create in -lpcap... " >&6; }
15809 if test ${ac_cv_lib_pcap_pcap_create+y}
15811 printf %s
"(cached) " >&6
15813 ac_check_lib_save_LIBS
=$LIBS
15814 LIBS
="-lpcap $LIBS"
15815 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15816 /* end confdefs.h. */
15818 /* Override any GCC internal prototype to avoid an error.
15819 Use char because int might match the return type of a GCC
15820 builtin and then its argument prototype would still apply. */
15821 char pcap_create ();
15825 return pcap_create ();
15830 if ac_fn_c_try_link
"$LINENO"
15832 ac_cv_lib_pcap_pcap_create
=yes
15834 ac_cv_lib_pcap_pcap_create
=no
15836 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15837 conftest
$ac_exeext conftest.
$ac_ext
15838 LIBS
=$ac_check_lib_save_LIBS
15840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
15841 printf "%s\n" "$ac_cv_lib_pcap_pcap_create" >&6; }
15842 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
15849 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
15851 case "x$with_pcap" in
15852 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15854 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
15855 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15857 enable_wpcap
=${enable_wpcap:-no}
15860 if test "x$with_inotify" != "xno"
15862 if ${INOTIFY_CFLAGS:+false} :
15864 if test ${PKG_CONFIG+y}
15866 INOTIFY_CFLAGS
=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
15870 if ${INOTIFY_LIBS:+false} :
15872 if test ${PKG_CONFIG+y}
15874 INOTIFY_LIBS
=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15879 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15880 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15881 ac_save_CPPFLAGS
=$CPPFLAGS
15882 CPPFLAGS
="$CPPFLAGS $INOTIFY_CFLAGS"
15883 ac_fn_c_check_header_compile
"$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15884 if test "x$ac_cv_header_sys_inotify_h" = xyes
15886 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15891 printf %s
"checking for inotify_add_watch in -linotify... " >&6; }
15892 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15894 printf %s
"(cached) " >&6
15896 ac_check_lib_save_LIBS
=$LIBS
15897 LIBS
="-linotify $INOTIFY_LIBS $LIBS"
15898 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15899 /* end confdefs.h. */
15901 /* Override any GCC internal prototype to avoid an error.
15902 Use char because int might match the return type of a GCC
15903 builtin and then its argument prototype would still apply. */
15904 char inotify_add_watch ();
15908 return inotify_add_watch ();
15913 if ac_fn_c_try_link
"$LINENO"
15915 ac_cv_lib_inotify_inotify_add_watch
=yes
15917 ac_cv_lib_inotify_inotify_add_watch
=no
15919 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15920 conftest
$ac_exeext conftest.
$ac_ext
15921 LIBS
=$ac_check_lib_save_LIBS
15923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15924 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
15925 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
15932 CPPFLAGS
=$ac_save_CPPFLAGS
15935 if test "$ac_cv_header_sys_inotify_h" != "yes"
15937 case "x$with_inotify" in
15938 x
) as_fn_append wine_notices
"|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
15940 *) as_fn_error $?
"libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
15941 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
15946 if test "x$with_dbus" != "xno"
15948 if ${DBUS_CFLAGS:+false} :
15950 if test ${PKG_CONFIG+y}
15952 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
15956 if ${DBUS_LIBS:+false} :
15958 if test ${PKG_CONFIG+y}
15960 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
15965 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
15966 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
15967 ac_save_CPPFLAGS
=$CPPFLAGS
15968 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
15969 ac_fn_c_check_header_compile
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
15970 if test "x$ac_cv_header_dbus_dbus_h" = xyes
15972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
15973 printf %s
"checking for -ldbus-1... " >&6; }
15974 if test ${ac_cv_lib_soname_dbus_1+y}
15976 printf %s
"(cached) " >&6
15978 ac_check_soname_save_LIBS
=$LIBS
15979 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
15980 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15981 /* end confdefs.h. */
15983 /* Override any GCC internal prototype to avoid an error.
15984 Use char because int might match the return type of a GCC
15985 builtin and then its argument prototype would still apply. */
15986 char dbus_connection_close ();
15990 return dbus_connection_close ();
15995 if ac_fn_c_try_link
"$LINENO"
15998 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15999 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'` ;;
16000 *) 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'`
16001 if ${ac_cv_lib_soname_dbus_1:+false} :
16003 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16007 ac_cv_lib_soname_dbus_1
=
16009 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16010 conftest
$ac_exeext conftest.
$ac_ext
16011 LIBS
=$ac_check_soname_save_LIBS
16013 if ${ac_cv_lib_soname_dbus_1:+false} :
16015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16016 printf "%s\n" "not found" >&6; }
16019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16020 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16022 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16030 CPPFLAGS
=$ac_save_CPPFLAGS
16033 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
16034 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"
16036 case "x$with_dbus" in
16037 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16039 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
16040 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16045 if test "x$with_gnutls" != "xno"
16047 if ${GNUTLS_CFLAGS:+false} :
16049 if test ${PKG_CONFIG+y}
16051 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
16055 if ${GNUTLS_LIBS:+false} :
16057 if test ${PKG_CONFIG+y}
16059 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16063 GNUTLS_LIBS
=${GNUTLS_LIBS:-"-lgnutls"}
16064 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16065 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16066 ac_save_CPPFLAGS
=$CPPFLAGS
16067 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
16068 ac_fn_c_check_header_compile
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16069 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16071 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16072 /* end confdefs.h. */
16073 #include <gnutls/gnutls.h>
16074 #include <gnutls/crypto.h>
16078 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16083 if ac_fn_c_try_compile
"$LINENO"
16085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16086 printf %s
"checking for -lgnutls... " >&6; }
16087 if test ${ac_cv_lib_soname_gnutls+y}
16089 printf %s
"(cached) " >&6
16091 ac_check_soname_save_LIBS
=$LIBS
16092 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
16093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16094 /* end confdefs.h. */
16096 /* Override any GCC internal prototype to avoid an error.
16097 Use char because int might match the return type of a GCC
16098 builtin and then its argument prototype would still apply. */
16099 char gnutls_global_init ();
16103 return gnutls_global_init ();
16108 if ac_fn_c_try_link
"$LINENO"
16111 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16112 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'` ;;
16113 *) 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'`
16114 if ${ac_cv_lib_soname_gnutls:+false} :
16116 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'`
16120 ac_cv_lib_soname_gnutls
=
16122 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16123 conftest
$ac_exeext conftest.
$ac_ext
16124 LIBS
=$ac_check_soname_save_LIBS
16126 if ${ac_cv_lib_soname_gnutls:+false} :
16128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16129 printf "%s\n" "not found" >&6; }
16132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16133 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16135 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16139 ac_wine_check_funcs_save_LIBS
="$LIBS"
16140 LIBS
="$LIBS $GNUTLS_LIBS"
16142 for ac_func
in gnutls_cipher_init
16144 ac_fn_c_check_func
"$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16145 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16147 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16150 as_fn_append wine_notices
"|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16154 LIBS
="$ac_wine_check_funcs_save_LIBS"
16156 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16161 CPPFLAGS
=$ac_save_CPPFLAGS
16164 if test "x$ac_cv_lib_soname_gnutls" = "x"
16166 case "x$with_gnutls" in
16167 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16169 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
16170 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16175 if test "x$with_sane" != "xno"
16177 if ${SANE_CFLAGS:+false} :
16179 if test ${PKG_CONFIG+y}
16181 SANE_CFLAGS
=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
16184 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16185 if ${SANE_LIBS:+false} :
16187 if test ${PKG_CONFIG+y}
16189 SANE_LIBS
=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16192 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16194 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16195 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16196 ac_save_CPPFLAGS
=$CPPFLAGS
16197 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
16198 ac_fn_c_check_header_compile
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16199 if test "x$ac_cv_header_sane_sane_h" = xyes
16201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16202 printf %s
"checking for sane_init in -lsane... " >&6; }
16203 if test ${ac_cv_lib_sane_sane_init+y}
16205 printf %s
"(cached) " >&6
16207 ac_check_lib_save_LIBS
=$LIBS
16208 LIBS
="-lsane $SANE_LIBS $LIBS"
16209 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16210 /* end confdefs.h. */
16212 /* Override any GCC internal prototype to avoid an error.
16213 Use char because int might match the return type of a GCC
16214 builtin and then its argument prototype would still apply. */
16219 return sane_init ();
16224 if ac_fn_c_try_link
"$LINENO"
16226 ac_cv_lib_sane_sane_init
=yes
16228 ac_cv_lib_sane_sane_init
=no
16230 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16231 conftest
$ac_exeext conftest.
$ac_ext
16232 LIBS
=$ac_check_lib_save_LIBS
16234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16235 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16236 if test "x$ac_cv_lib_sane_sane_init" = xyes
16243 CPPFLAGS
=$ac_save_CPPFLAGS
16246 if test "$ac_cv_lib_sane_sane_init" != "yes"
16248 case "x$with_sane" in
16249 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16251 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
16252 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16254 enable_sane_ds
=${enable_sane_ds:-no}
16257 if test "x$with_usb" != "xno"
16259 if ${USB_CFLAGS:+false} :
16261 if test ${PKG_CONFIG+y}
16263 USB_CFLAGS
=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
16267 if ${USB_LIBS:+false} :
16269 if test ${PKG_CONFIG+y}
16271 USB_LIBS
=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16275 USB_LIBS
=${USB_LIBS:-"-lusb-1.0"}
16276 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16277 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16278 ac_save_CPPFLAGS
=$CPPFLAGS
16279 CPPFLAGS
="$CPPFLAGS $USB_CFLAGS"
16280 ac_fn_c_check_header_compile
"$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16281 if test "x$ac_cv_header_libusb_h" = xyes
16283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16284 printf %s
"checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16285 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16287 printf %s
"(cached) " >&6
16289 ac_check_lib_save_LIBS
=$LIBS
16290 LIBS
="-lusb-1.0 $USB_LIBS $LIBS"
16291 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16292 /* end confdefs.h. */
16294 /* Override any GCC internal prototype to avoid an error.
16295 Use char because int might match the return type of a GCC
16296 builtin and then its argument prototype would still apply. */
16297 char libusb_interrupt_event_handler ();
16301 return libusb_interrupt_event_handler ();
16306 if ac_fn_c_try_link
"$LINENO"
16308 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler
=yes
16310 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler
=no
16312 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16313 conftest
$ac_exeext conftest.
$ac_ext
16314 LIBS
=$ac_check_lib_save_LIBS
16316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16317 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16318 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16329 CPPFLAGS
=$ac_save_CPPFLAGS
16332 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16334 case "x$with_usb" in
16335 x
) as_fn_append wine_notices
"|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16337 *) as_fn_error $?
"libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16338 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16340 enable_wineusb_sys
=${enable_wineusb_sys:-no}
16343 if test "x$with_v4l2" != "xno"
16345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16346 printf %s
"checking for -lv4l2... " >&6; }
16347 if test ${ac_cv_lib_soname_v4l2+y}
16349 printf %s
"(cached) " >&6
16351 ac_check_soname_save_LIBS
=$LIBS
16352 LIBS
="-lv4l2 $LIBS"
16353 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16354 /* end confdefs.h. */
16356 /* Override any GCC internal prototype to avoid an error.
16357 Use char because int might match the return type of a GCC
16358 builtin and then its argument prototype would still apply. */
16363 return v4l2_open ();
16368 if ac_fn_c_try_link
"$LINENO"
16371 dll
) ac_cv_lib_soname_v4l2
=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16372 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'` ;;
16373 *) ac_cv_lib_soname_v4l2
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16374 if ${ac_cv_lib_soname_v4l2:+false} :
16376 ac_cv_lib_soname_v4l2
=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16380 ac_cv_lib_soname_v4l2
=
16382 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16383 conftest
$ac_exeext conftest.
$ac_ext
16384 LIBS
=$ac_check_soname_save_LIBS
16386 if ${ac_cv_lib_soname_v4l2:+false} :
16388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16389 printf "%s\n" "not found" >&6; }
16392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16393 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16395 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16400 if test "x$ac_cv_lib_soname_v4l2" = "x"
16402 case "x$with_v4l2" in
16403 x
) as_fn_append wine_notices
"|libv4l2 ${notice_platform}development files not found." ;;
16405 *) as_fn_error $?
"libv4l2 ${notice_platform}development files not found.
16406 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16411 if test "x$with_gphoto" != "xno"
16413 if ${GPHOTO2_CFLAGS:+false} :
16415 if test ${PKG_CONFIG+y}
16417 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
16420 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16421 if ${GPHOTO2_LIBS:+false} :
16423 if test ${PKG_CONFIG+y}
16425 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16428 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16429 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
16430 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16431 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16432 ac_save_CPPFLAGS
=$CPPFLAGS
16433 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
16434 ac_fn_c_check_header_compile
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16435 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16438 printf %s
"checking for gp_camera_new in -lgphoto2... " >&6; }
16439 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16441 printf %s
"(cached) " >&6
16443 ac_check_lib_save_LIBS
=$LIBS
16444 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16445 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16446 /* end confdefs.h. */
16448 /* Override any GCC internal prototype to avoid an error.
16449 Use char because int might match the return type of a GCC
16450 builtin and then its argument prototype would still apply. */
16451 char gp_camera_new ();
16455 return gp_camera_new ();
16460 if ac_fn_c_try_link
"$LINENO"
16462 ac_cv_lib_gphoto2_gp_camera_new
=yes
16464 ac_cv_lib_gphoto2_gp_camera_new
=no
16466 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16467 conftest
$ac_exeext conftest.
$ac_ext
16468 LIBS
=$ac_check_lib_save_LIBS
16470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16471 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16472 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16479 CPPFLAGS
=$ac_save_CPPFLAGS
16481 if ${GPHOTO2_PORT_CFLAGS:+false} :
16483 if test ${PKG_CONFIG+y}
16485 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
16488 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16489 if ${GPHOTO2_PORT_LIBS:+false} :
16491 if test ${PKG_CONFIG+y}
16493 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16496 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16497 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16498 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16499 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16500 ac_save_CPPFLAGS
=$CPPFLAGS
16501 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16502 ac_fn_c_check_header_compile
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16503 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16506 printf %s
"checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16507 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16509 printf %s
"(cached) " >&6
16511 ac_check_lib_save_LIBS
=$LIBS
16512 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16513 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16514 /* end confdefs.h. */
16516 /* Override any GCC internal prototype to avoid an error.
16517 Use char because int might match the return type of a GCC
16518 builtin and then its argument prototype would still apply. */
16519 char gp_port_info_list_new ();
16523 return gp_port_info_list_new ();
16528 if ac_fn_c_try_link
"$LINENO"
16530 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
16532 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
16534 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16535 conftest
$ac_exeext conftest.
$ac_ext
16536 LIBS
=$ac_check_lib_save_LIBS
16538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16539 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16540 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16543 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16546 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
16550 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
16553 CPPFLAGS
=$ac_save_CPPFLAGS
16556 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16558 case "x$with_gphoto" in
16559 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16561 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16562 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16564 enable_gphoto2_ds
=${enable_gphoto2_ds:-no}
16566 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16568 case "x$with_gphoto" in
16569 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16571 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16572 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16578 if test "$ac_cv_header_resolv_h" = "yes"
16580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16581 printf %s
"checking for resolver library... " >&6; }
16582 if test ${ac_cv_have_resolv+y}
16584 printf %s
"(cached) " >&6
16586 ac_save_LIBS
="$LIBS"
16587 for lib
in '' -lresolv
16589 LIBS
="$lib $ac_save_LIBS"
16590 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16591 /* end confdefs.h. */
16592 #ifdef HAVE_NETINET_IN_H
16593 #include <netinet/in.h>
16595 #include <resolv.h>
16599 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16604 if ac_fn_c_try_link
"$LINENO"
16606 ac_cv_have_resolv
=${lib:-"none required"}
16608 ac_cv_have_resolv
="not found"
16610 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16611 conftest
$ac_exeext conftest.
$ac_ext
16612 test "x$ac_cv_have_resolv" = "xnot found" ||
break
16614 LIBS
="$ac_save_LIBS"
16616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16617 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16619 case "$ac_cv_have_resolv" in
16623 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16626 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16628 RESOLV_LIBS
=$ac_cv_have_resolv
16632 if test "x$ac_cv_have_resolv" != "xnot found"
16634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16635 printf %s
"checking for res_getservers... " >&6; }
16636 if test ${ac_cv_have_res_getservers+y}
16638 printf %s
"(cached) " >&6
16640 ac_save_LIBS
="$LIBS"
16641 LIBS
="$RESOLV_LIBS $LIBS"
16642 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16643 /* end confdefs.h. */
16644 #include <resolv.h>
16648 res_getservers(NULL, NULL, 0);
16653 if ac_fn_c_try_link
"$LINENO"
16655 ac_cv_have_res_getservers
=yes
16657 ac_cv_have_res_getservers
=no
16659 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16660 conftest
$ac_exeext conftest.
$ac_ext
16661 LIBS
="$ac_save_LIBS"
16663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16664 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16665 if test "$ac_cv_have_res_getservers" = "yes"
16668 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16674 if test "x$with_freetype" != "xno"
16676 if ${FREETYPE_CFLAGS:+false} :
16678 if test ${PKG_CONFIG+y}
16680 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
16683 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16684 if ${FREETYPE_LIBS:+false} :
16686 if test ${PKG_CONFIG+y}
16688 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16691 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16692 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
16693 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16694 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16695 ac_save_CPPFLAGS
=$CPPFLAGS
16696 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
16697 ac_fn_c_check_header_compile
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16698 if test "x$ac_cv_header_ft2build_h" = xyes
16700 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16704 if test "$ac_cv_header_ft2build_h" = "yes"
16706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16707 printf %s
"checking for -lfreetype... " >&6; }
16708 if test ${ac_cv_lib_soname_freetype+y}
16710 printf %s
"(cached) " >&6
16712 ac_check_soname_save_LIBS
=$LIBS
16713 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
16714 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16715 /* end confdefs.h. */
16717 /* Override any GCC internal prototype to avoid an error.
16718 Use char because int might match the return type of a GCC
16719 builtin and then its argument prototype would still apply. */
16720 char FT_Init_FreeType ();
16724 return FT_Init_FreeType ();
16729 if ac_fn_c_try_link
"$LINENO"
16732 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16733 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'` ;;
16734 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16735 if ${ac_cv_lib_soname_freetype:+false} :
16737 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16741 ac_cv_lib_soname_freetype
=
16743 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16744 conftest
$ac_exeext conftest.
$ac_ext
16745 LIBS
=$ac_check_soname_save_LIBS
16747 if ${ac_cv_lib_soname_freetype:+false} :
16749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16750 printf "%s\n" "not found" >&6; }
16753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16754 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16756 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16759 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16761 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16762 #include FT_MODULE_H
16764 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16767 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16777 CPPFLAGS
=$ac_save_CPPFLAGS
16780 if test "x$ac_cv_lib_soname_freetype" = x
16782 case "x$with_freetype" in
16784 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
16785 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16787 enable_fonts
=${enable_fonts:-no}
16790 ac_wine_check_funcs_save_LIBS
="$LIBS"
16791 LIBS
="$LIBS $PTHREAD_LIBS"
16792 ac_fn_c_check_func
"$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16793 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16795 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16799 LIBS
="$ac_wine_check_funcs_save_LIBS"
16801 if test "x$enable_tools" != xno
-a "x$with_gettextpo" = xyes
16803 if test "$ac_cv_header_gettext_po_h" = "yes"
16805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16806 printf %s
"checking for po_message_msgctxt in -lgettextpo... " >&6; }
16807 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16809 printf %s
"(cached) " >&6
16811 ac_check_lib_save_LIBS
=$LIBS
16812 LIBS
="-lgettextpo $LIBS"
16813 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16814 /* end confdefs.h. */
16816 /* Override any GCC internal prototype to avoid an error.
16817 Use char because int might match the return type of a GCC
16818 builtin and then its argument prototype would still apply. */
16819 char po_message_msgctxt ();
16823 return po_message_msgctxt ();
16828 if ac_fn_c_try_link
"$LINENO"
16830 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
16832 ac_cv_lib_gettextpo_po_message_msgctxt
=no
16834 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16835 conftest
$ac_exeext conftest.
$ac_ext
16836 LIBS
=$ac_check_lib_save_LIBS
16838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16839 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16840 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16843 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16845 GETTEXTPO_LIBS
="-lgettextpo"
16850 if test "x$GETTEXTPO_LIBS" = "x"
16852 case "x$with_gettextpo" in
16853 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16855 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16856 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16860 if test "$srcdir" != .
16862 case "x$with_gettextpo" in
16863 x
) as_fn_append wine_notices
"|Rebuilding po files is not supported for out of tree builds." ;;
16865 *) as_fn_error $?
"Rebuilding po files is not supported for out of tree builds.
16866 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16872 if test "x$with_pulse" != "xno";
16874 if ${PULSE_CFLAGS:+false} :
16876 if test ${PKG_CONFIG+y}
16878 PULSE_CFLAGS
=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
16882 if ${PULSE_LIBS:+false} :
16884 if test ${PKG_CONFIG+y}
16886 PULSE_LIBS
=`$PKG_CONFIG --libs libpulse 2>/dev/null`
16891 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
16892 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
16893 ac_save_CPPFLAGS
=$CPPFLAGS
16894 CPPFLAGS
="$CPPFLAGS $PULSE_CFLAGS"
16895 for ac_header
in pulse
/pulseaudio.h
16897 ac_fn_c_check_header_compile
"$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
16898 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
16900 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
16901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
16902 printf %s
"checking for pa_stream_is_corked in -lpulse... " >&6; }
16903 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
16905 printf %s
"(cached) " >&6
16907 ac_check_lib_save_LIBS
=$LIBS
16908 LIBS
="-lpulse $PULSE_LIBS $LIBS"
16909 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16910 /* end confdefs.h. */
16912 /* Override any GCC internal prototype to avoid an error.
16913 Use char because int might match the return type of a GCC
16914 builtin and then its argument prototype would still apply. */
16915 char pa_stream_is_corked ();
16919 return pa_stream_is_corked ();
16924 if ac_fn_c_try_link
"$LINENO"
16926 ac_cv_lib_pulse_pa_stream_is_corked
=yes
16928 ac_cv_lib_pulse_pa_stream_is_corked
=no
16930 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16931 conftest
$ac_exeext conftest.
$ac_ext
16932 LIBS
=$ac_check_lib_save_LIBS
16934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
16935 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
16936 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
16948 CPPFLAGS
=$ac_save_CPPFLAGS
16951 if test -z "$PULSE_LIBS"
16953 case "x$with_pulse" in
16954 x
) as_fn_append wine_notices
"|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
16956 *) as_fn_error $?
"libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
16957 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
16959 enable_winepulse_drv
=${enable_winepulse_drv:-no}
16962 if test "x$with_gstreamer" != "xno"
16964 if ${GSTREAMER_CFLAGS:+false} :
16966 if test ${PKG_CONFIG+y}
16968 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
16972 if ${GSTREAMER_LIBS:+false} :
16974 if test ${PKG_CONFIG+y}
16976 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
16981 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
16982 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
16983 ac_save_CPPFLAGS
=$CPPFLAGS
16984 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
16985 ac_fn_c_check_header_compile
"$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
16986 if test "x$ac_cv_header_gst_gst_h" = xyes
16988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
16989 printf %s
"checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
16990 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16991 /* end confdefs.h. */
16992 #include <gst/gst.h>
16996 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17001 if ac_fn_c_try_compile
"$LINENO"
17003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17004 printf "%s\n" "yes" >&6; }
17005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17006 printf %s
"checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17007 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17009 printf %s
"(cached) " >&6
17011 ac_check_lib_save_LIBS
=$LIBS
17012 LIBS
="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17013 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17014 /* end confdefs.h. */
17016 /* Override any GCC internal prototype to avoid an error.
17017 Use char because int might match the return type of a GCC
17018 builtin and then its argument prototype would still apply. */
17019 char gst_pad_new ();
17023 return gst_pad_new ();
17028 if ac_fn_c_try_link
"$LINENO"
17030 ac_cv_lib_gstreamer_1_0_gst_pad_new
=yes
17032 ac_cv_lib_gstreamer_1_0_gst_pad_new
=no
17034 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17035 conftest
$ac_exeext conftest.
$ac_ext
17036 LIBS
=$ac_check_lib_save_LIBS
17038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17039 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17040 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17047 printf "%s\n" "no" >&6; }
17048 ac_glib2_broken
=yes
17049 as_fn_append wine_notices
"|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17051 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17054 CPPFLAGS
=$ac_save_CPPFLAGS
17057 if test "x$ac_glib2_broken" != xyes
-a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17059 case "x$with_gstreamer" in
17060 x
) as_fn_append wine_notices
"|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17062 *) as_fn_error $?
"gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17063 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17065 enable_winegstreamer
=${enable_winegstreamer:-no}
17070 if test "x$with_alsa" != "xno"
17072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17073 printf %s
"checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17074 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17076 printf %s
"(cached) " >&6
17078 ac_check_lib_save_LIBS
=$LIBS
17079 LIBS
="-lasound $LIBS"
17080 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17081 /* end confdefs.h. */
17083 /* Override any GCC internal prototype to avoid an error.
17084 Use char because int might match the return type of a GCC
17085 builtin and then its argument prototype would still apply. */
17086 char snd_pcm_hw_params_get_access_mask ();
17090 return snd_pcm_hw_params_get_access_mask ();
17095 if ac_fn_c_try_link
"$LINENO"
17097 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
17099 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
17101 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17102 conftest
$ac_exeext conftest.
$ac_ext
17103 LIBS
=$ac_check_lib_save_LIBS
17105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17106 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17107 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17110 /* end confdefs.h. */
17111 #include <alsa/asoundlib.h>
17115 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17120 if ac_fn_c_try_compile
"$LINENO"
17122 ALSA_LIBS
="-lasound"
17124 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17128 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
17130 if test "x$with_oss" != xno
17132 ac_save_CPPFLAGS
="$CPPFLAGS"
17133 if test -f /etc
/oss.conf
17137 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17138 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
17139 ac_fn_c_check_header_compile
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17140 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17142 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17144 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17147 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17149 OSS4_CFLAGS
="$ac_oss_incl"
17151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17152 printf %s
"checking for _oss_ioctl in -lossaudio... " >&6; }
17153 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17155 printf %s
"(cached) " >&6
17157 ac_check_lib_save_LIBS
=$LIBS
17158 LIBS
="-lossaudio $LIBS"
17159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17160 /* end confdefs.h. */
17162 /* Override any GCC internal prototype to avoid an error.
17163 Use char because int might match the return type of a GCC
17164 builtin and then its argument prototype would still apply. */
17165 char _oss_ioctl ();
17169 return _oss_ioctl ();
17174 if ac_fn_c_try_link
"$LINENO"
17176 ac_cv_lib_ossaudio__oss_ioctl
=yes
17178 ac_cv_lib_ossaudio__oss_ioctl
=no
17180 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17181 conftest
$ac_exeext conftest.
$ac_ext
17182 LIBS
=$ac_check_lib_save_LIBS
17184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17185 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17186 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17188 OSS4_LIBS
="-lossaudio"
17196 CPPFLAGS
="$ac_save_CPPFLAGS"
17198 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17200 case "x$with_oss" in
17201 x
) as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17203 *) as_fn_error $?
"OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17204 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17206 enable_wineoss_drv
=${enable_wineoss_drv:-no}
17209 if test "x$with_udev" != "xno"
17211 if ${UDEV_CFLAGS:+false} :
17213 if test ${PKG_CONFIG+y}
17215 UDEV_CFLAGS
=`$PKG_CONFIG --cflags libudev 2>/dev/null`
17219 if ${UDEV_LIBS:+false} :
17221 if test ${PKG_CONFIG+y}
17223 UDEV_LIBS
=`$PKG_CONFIG --libs libudev 2>/dev/null`
17227 UDEV_LIBS
=${UDEV_LIBS:-"-ludev"}
17228 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17229 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17230 ac_save_CPPFLAGS
=$CPPFLAGS
17231 CPPFLAGS
="$CPPFLAGS $UDEV_CFLAGS"
17232 for ac_header
in libudev.h
17234 ac_fn_c_check_header_compile
"$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17235 if test "x$ac_cv_header_libudev_h" = xyes
17237 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17239 printf %s
"checking for udev_new in -ludev... " >&6; }
17240 if test ${ac_cv_lib_udev_udev_new+y}
17242 printf %s
"(cached) " >&6
17244 ac_check_lib_save_LIBS
=$LIBS
17245 LIBS
="-ludev $UDEV_LIBS $LIBS"
17246 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17247 /* end confdefs.h. */
17249 /* Override any GCC internal prototype to avoid an error.
17250 Use char because int might match the return type of a GCC
17251 builtin and then its argument prototype would still apply. */
17256 return udev_new ();
17261 if ac_fn_c_try_link
"$LINENO"
17263 ac_cv_lib_udev_udev_new
=yes
17265 ac_cv_lib_udev_udev_new
=no
17267 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17268 conftest
$ac_exeext conftest.
$ac_ext
17269 LIBS
=$ac_check_lib_save_LIBS
17271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17272 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17273 if test "x$ac_cv_lib_udev_udev_new" = xyes
17276 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17287 CPPFLAGS
=$ac_save_CPPFLAGS
17290 if test "x$UDEV_LIBS" = "x"
17292 case "x$with_udev" in
17293 x
) as_fn_append wine_notices
"|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17295 *) as_fn_error $?
"libudev ${notice_platform}development files not found, plug and play won't be supported.
17296 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17301 if test "x$with_unwind" != xno
17303 if ${UNWIND_CFLAGS:+false} :
17305 if test ${PKG_CONFIG+y}
17307 UNWIND_CFLAGS
=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
17311 if ${UNWIND_LIBS:+false} :
17313 if test ${PKG_CONFIG+y}
17315 UNWIND_LIBS
=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17319 UNWIND_LIBS
=${UNWIND_LIBS:-"-lunwind"}
17320 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17321 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17322 ac_save_CPPFLAGS
=$CPPFLAGS
17323 CPPFLAGS
="$CPPFLAGS $UNWIND_CFLAGS"
17324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17325 printf %s
"checking for unw_step... " >&6; }
17326 if test ${wine_cv_have_unw_step+y}
17328 printf %s
"(cached) " >&6
17330 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17331 /* end confdefs.h. */
17332 #define UNW_LOCAL_ONLY
17333 #include <libunwind.h>
17337 unw_cursor_t cursor; unw_step( &cursor );
17342 if ac_fn_c_try_link
"$LINENO"
17344 wine_cv_have_unw_step
="yes"
17346 wine_cv_have_unw_step
="no"
17348 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17349 conftest
$ac_exeext conftest.
$ac_ext
17351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17352 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17353 if test "$wine_cv_have_unw_step" = no
-a -n "$UNWIND_LIBS"
17356 UNWIND_LIBS
="-static-libgcc $UNWIND_LIBS"
17357 LIBS
="$UNWIND_LIBS $LIBS"
17358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17359 printf %s
"checking for unw_step in libunwind... " >&6; }
17360 if test ${wine_cv_have_libunwind_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_libunwind_unw_step
="yes"
17380 wine_cv_have_libunwind_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_libunwind_unw_step" >&5
17386 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17389 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS
=""
17390 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17393 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17396 CPPFLAGS
=$ac_save_CPPFLAGS
17400 aarch64
*|
*-darwin*)
17401 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17403 case "x$with_unwind" in
17404 x
) as_fn_append wine_notices
"|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17406 *) as_fn_error $?
"libunwind ${notice_platform}development files not found, stack unwinding won't work.
17407 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17413 if test "x$with_sdl" != "xno"
17415 if ${SDL2_CFLAGS:+false} :
17417 if test ${PKG_CONFIG+y}
17419 SDL2_CFLAGS
=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
17423 if ${SDL2_LIBS:+false} :
17425 if test ${PKG_CONFIG+y}
17427 SDL2_LIBS
=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17431 SDL2_LIBS
=${SDL2_LIBS:-"-lSDL2"}
17432 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17433 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17434 ac_save_CPPFLAGS
=$CPPFLAGS
17435 CPPFLAGS
="$CPPFLAGS $SDL2_CFLAGS"
17436 for ac_header
in SDL.h
17438 ac_fn_c_check_header_compile
"$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17439 if test "x$ac_cv_header_SDL_h" = xyes
17441 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17443 printf %s
"checking for -lSDL2... " >&6; }
17444 if test ${ac_cv_lib_soname_SDL2+y}
17446 printf %s
"(cached) " >&6
17448 ac_check_soname_save_LIBS
=$LIBS
17449 LIBS
="-lSDL2 $SDL2_LIBS $LIBS"
17450 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17451 /* end confdefs.h. */
17453 /* Override any GCC internal prototype to avoid an error.
17454 Use char because int might match the return type of a GCC
17455 builtin and then its argument prototype would still apply. */
17460 return SDL_Init ();
17465 if ac_fn_c_try_link
"$LINENO"
17468 dll
) ac_cv_lib_soname_SDL2
=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17469 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'` ;;
17470 *) 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'`
17471 if ${ac_cv_lib_soname_SDL2:+false} :
17473 ac_cv_lib_soname_SDL2
=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17477 ac_cv_lib_soname_SDL2
=
17479 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17480 conftest
$ac_exeext conftest.
$ac_ext
17481 LIBS
=$ac_check_soname_save_LIBS
17483 if ${ac_cv_lib_soname_SDL2:+false} :
17485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17486 printf "%s\n" "not found" >&6; }
17489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17490 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17492 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17499 CPPFLAGS
=$ac_save_CPPFLAGS
17502 if test "x$ac_cv_lib_soname_SDL2" = "x"
17504 case "x$with_sdl" in
17505 x
) as_fn_append wine_notices
"|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17507 *) as_fn_error $?
"libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17508 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17513 if test "x$with_capi" != "xno"
17515 if ${CAPI20_CFLAGS:+false} :
17517 if test ${PKG_CONFIG+y}
17519 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
17523 if ${CAPI20_LIBS:+false} :
17525 if test ${PKG_CONFIG+y}
17527 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
17532 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17533 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17534 ac_save_CPPFLAGS
=$CPPFLAGS
17535 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
17536 ac_fn_c_check_header_compile
"$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17538 if test "x$ac_cv_header_capi20_h" = xyes
17540 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17543 ac_fn_c_check_header_compile
"$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17545 if test "x$ac_cv_header_linux_capi_h" = xyes
17547 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17551 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17554 printf %s
"checking for capi20_register in -lcapi20... " >&6; }
17555 if test ${ac_cv_lib_capi20_capi20_register+y}
17557 printf %s
"(cached) " >&6
17559 ac_check_lib_save_LIBS
=$LIBS
17560 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
17561 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17562 /* end confdefs.h. */
17564 /* Override any GCC internal prototype to avoid an error.
17565 Use char because int might match the return type of a GCC
17566 builtin and then its argument prototype would still apply. */
17567 char capi20_register ();
17571 return capi20_register ();
17576 if ac_fn_c_try_link
"$LINENO"
17578 ac_cv_lib_capi20_capi20_register
=yes
17580 ac_cv_lib_capi20_capi20_register
=no
17582 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17583 conftest
$ac_exeext conftest.
$ac_ext
17584 LIBS
=$ac_check_lib_save_LIBS
17586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17587 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17588 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17596 CPPFLAGS
=$ac_save_CPPFLAGS
17599 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17601 case "x$with_capi" in
17602 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17604 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17605 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17607 enable_capi2032
=${enable_capi2032:-no}
17610 if test "x$with_cups" != "xno"
17612 if ${CUPS_CFLAGS:+false} :
17614 if test ${PKG_CONFIG+y}
17616 CUPS_CFLAGS
=`$PKG_CONFIG --cflags cups 2>/dev/null`
17619 test "$cross_compiling" = yes || CUPS_CFLAGS
=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17620 if ${CUPS_LIBS:+false} :
17622 if test ${PKG_CONFIG+y}
17624 CUPS_LIBS
=`$PKG_CONFIG --libs cups 2>/dev/null`
17627 test "$cross_compiling" = yes || CUPS_LIBS
=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17628 CUPS_LIBS
=${CUPS_LIBS:-"-lcups"}
17629 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17630 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17631 ac_save_CPPFLAGS
=$CPPFLAGS
17632 CPPFLAGS
="$CPPFLAGS $CUPS_CFLAGS"
17633 ac_fn_c_check_header_compile
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17634 if test "x$ac_cv_header_cups_cups_h" = xyes
17636 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17639 ac_fn_c_check_header_compile
"$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17640 if test "x$ac_cv_header_cups_ppd_h" = xyes
17642 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17646 if test "$ac_cv_header_cups_cups_h" = "yes"
17648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17649 printf %s
"checking for -lcups... " >&6; }
17650 if test ${ac_cv_lib_soname_cups+y}
17652 printf %s
"(cached) " >&6
17654 ac_check_soname_save_LIBS
=$LIBS
17655 LIBS
="-lcups $CUPS_LIBS $LIBS"
17656 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17657 /* end confdefs.h. */
17659 /* Override any GCC internal prototype to avoid an error.
17660 Use char because int might match the return type of a GCC
17661 builtin and then its argument prototype would still apply. */
17662 char cupsGetDefault ();
17666 return cupsGetDefault ();
17671 if ac_fn_c_try_link
"$LINENO"
17674 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17675 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'` ;;
17676 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17677 if ${ac_cv_lib_soname_cups:+false} :
17679 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17683 ac_cv_lib_soname_cups
=
17685 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17686 conftest
$ac_exeext conftest.
$ac_ext
17687 LIBS
=$ac_check_soname_save_LIBS
17689 if ${ac_cv_lib_soname_cups:+false} :
17691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17692 printf "%s\n" "not found" >&6; }
17695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17696 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17698 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17706 CPPFLAGS
=$ac_save_CPPFLAGS
17709 if test "x$ac_cv_lib_soname_cups" = "x"
17711 case "x$with_cups" in
17712 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17714 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
17715 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17720 if test "x$with_fontconfig" != "xno"
17722 if ${FONTCONFIG_CFLAGS:+false} :
17724 if test ${PKG_CONFIG+y}
17726 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
17729 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17730 if ${FONTCONFIG_LIBS:+false} :
17732 if test ${PKG_CONFIG+y}
17734 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17737 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
17739 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17740 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17741 ac_save_CPPFLAGS
=$CPPFLAGS
17742 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
17743 ac_fn_c_check_header_compile
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17744 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17746 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17750 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17753 printf %s
"checking for -lfontconfig... " >&6; }
17754 if test ${ac_cv_lib_soname_fontconfig+y}
17756 printf %s
"(cached) " >&6
17758 ac_check_soname_save_LIBS
=$LIBS
17759 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17760 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17761 /* end confdefs.h. */
17763 /* Override any GCC internal prototype to avoid an error.
17764 Use char because int might match the return type of a GCC
17765 builtin and then its argument prototype would still apply. */
17775 if ac_fn_c_try_link
"$LINENO"
17778 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17779 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'` ;;
17780 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17781 if ${ac_cv_lib_soname_fontconfig:+false} :
17783 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17787 ac_cv_lib_soname_fontconfig
=
17789 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17790 conftest
$ac_exeext conftest.
$ac_ext
17791 LIBS
=$ac_check_soname_save_LIBS
17793 if ${ac_cv_lib_soname_fontconfig:+false} :
17795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17796 printf "%s\n" "not found" >&6; }
17797 FONTCONFIG_CFLAGS
=""
17799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17800 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17802 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17807 FONTCONFIG_CFLAGS
=""
17809 CPPFLAGS
=$ac_save_CPPFLAGS
17812 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17814 case "x$with_fontconfig" in
17815 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17817 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17818 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17823 if test "x$with_krb5" != "xno"
17825 if ${KRB5_CFLAGS:+false} :
17827 if test ${PKG_CONFIG+y}
17829 KRB5_CFLAGS
=`$PKG_CONFIG --cflags krb5 2>/dev/null`
17832 test "$cross_compiling" = yes || KRB5_CFLAGS
=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17833 if ${KRB5_LIBS:+false} :
17835 if test ${PKG_CONFIG+y}
17837 KRB5_LIBS
=`$PKG_CONFIG --libs krb5 2>/dev/null`
17840 test "$cross_compiling" = yes || KRB5_LIBS
=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17842 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17843 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17844 ac_save_CPPFLAGS
=$CPPFLAGS
17845 CPPFLAGS
="$CPPFLAGS $KRB5_CFLAGS"
17846 ac_fn_c_check_header_compile
"$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17847 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17849 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17853 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17856 printf %s
"checking for -lkrb5... " >&6; }
17857 if test ${ac_cv_lib_soname_krb5+y}
17859 printf %s
"(cached) " >&6
17861 ac_check_soname_save_LIBS
=$LIBS
17862 LIBS
="-lkrb5 $KRB5_LIBS $LIBS"
17863 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17864 /* end confdefs.h. */
17866 /* Override any GCC internal prototype to avoid an error.
17867 Use char because int might match the return type of a GCC
17868 builtin and then its argument prototype would still apply. */
17869 char krb5_is_config_principal ();
17873 return krb5_is_config_principal ();
17878 if ac_fn_c_try_link
"$LINENO"
17881 dll
) ac_cv_lib_soname_krb5
=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17882 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'` ;;
17883 *) ac_cv_lib_soname_krb5
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17884 if ${ac_cv_lib_soname_krb5:+false} :
17886 ac_cv_lib_soname_krb5
=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17890 ac_cv_lib_soname_krb5
=
17892 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17893 conftest
$ac_exeext conftest.
$ac_ext
17894 LIBS
=$ac_check_soname_save_LIBS
17896 if ${ac_cv_lib_soname_krb5:+false} :
17898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17899 printf "%s\n" "not found" >&6; }
17902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
17903 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
17905 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
17912 CPPFLAGS
=$ac_save_CPPFLAGS
17915 if test "x$ac_cv_lib_soname_krb5" = "x"
17917 case "x$with_krb5" in
17918 x
) as_fn_append wine_notices
"|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
17920 *) as_fn_error $?
"libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
17921 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
17925 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi
=${with_gssapi:-no}
17927 if test "x$with_gssapi" != "xno"
17929 if ${GSSAPI_CFLAGS:+false} :
17931 if test ${PKG_CONFIG+y}
17933 GSSAPI_CFLAGS
=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
17936 test "$cross_compiling" = yes || GSSAPI_CFLAGS
=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
17937 if ${GSSAPI_LIBS:+false} :
17939 if test ${PKG_CONFIG+y}
17941 GSSAPI_LIBS
=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
17944 test "$cross_compiling" = yes || GSSAPI_LIBS
=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
17946 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
17947 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
17948 ac_save_CPPFLAGS
=$CPPFLAGS
17949 CPPFLAGS
="$CPPFLAGS $GSSAPI_CFLAGS"
17950 ac_fn_c_check_header_compile
"$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
17951 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
17953 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
17956 ac_fn_c_check_header_compile
"$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
17957 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
17959 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
17963 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
17965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
17966 printf %s
"checking for -lgssapi_krb5... " >&6; }
17967 if test ${ac_cv_lib_soname_gssapi_krb5+y}
17969 printf %s
"(cached) " >&6
17971 ac_check_soname_save_LIBS
=$LIBS
17972 LIBS
="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
17973 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17974 /* end confdefs.h. */
17976 /* Override any GCC internal prototype to avoid an error.
17977 Use char because int might match the return type of a GCC
17978 builtin and then its argument prototype would still apply. */
17979 char gss_init_sec_context ();
17983 return gss_init_sec_context ();
17988 if ac_fn_c_try_link
"$LINENO"
17991 dll
) ac_cv_lib_soname_gssapi_krb5
=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17992 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'` ;;
17993 *) 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'`
17994 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
17996 ac_cv_lib_soname_gssapi_krb5
=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18000 ac_cv_lib_soname_gssapi_krb5
=
18002 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18003 conftest
$ac_exeext conftest.
$ac_ext
18004 LIBS
=$ac_check_soname_save_LIBS
18006 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18009 printf "%s\n" "not found" >&6; }
18012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18013 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18015 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18022 CPPFLAGS
=$ac_save_CPPFLAGS
18025 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18027 case "x$with_gssapi" in
18028 x
) as_fn_append wine_notices
"|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18030 *) as_fn_error $?
"libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18031 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18036 if test "$ac_cv_header_AL_al_h" = "yes"
18038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
18039 printf %s
"checking for -lopenal... " >&6; }
18040 if test ${ac_cv_lib_soname_openal+y}
18042 printf %s
"(cached) " >&6
18044 ac_check_soname_save_LIBS
=$LIBS
18045 LIBS
="-lopenal $LIBS"
18046 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18047 /* end confdefs.h. */
18049 /* Override any GCC internal prototype to avoid an error.
18050 Use char because int might match the return type of a GCC
18051 builtin and then its argument prototype would still apply. */
18052 char alGetSource3i ();
18056 return alGetSource3i ();
18061 if ac_fn_c_try_link
"$LINENO"
18064 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18065 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'` ;;
18066 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18067 if ${ac_cv_lib_soname_openal:+false} :
18069 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18073 ac_cv_lib_soname_openal
=
18075 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18076 conftest
$ac_exeext conftest.
$ac_ext
18077 LIBS
=$ac_check_soname_save_LIBS
18079 if ${ac_cv_lib_soname_openal:+false} :
18081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18082 printf "%s\n" "not found" >&6; }
18085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
18086 printf "%s\n" "$ac_cv_lib_soname_openal" >&6; }
18088 printf "%s\n" "#define SONAME_LIBOPENAL \"$ac_cv_lib_soname_openal\"" >>confdefs.h
18090 OPENAL_LIBS
="-lopenal"
18092 ac_cv_lib_openal
=yes
18094 printf "%s\n" "#define HAVE_OPENAL 1" >>confdefs.h
18098 if test "x$ac_cv_lib_openal" != xyes
18100 case "x$with_openal" in
18101 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
18103 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
18104 This is an error since --with-openal was requested." "$LINENO" 5 ;;
18106 enable_openal32
=${enable_openal32:-no}
18109 if test "$ac_cv_header_libprocstat_h" = "yes"
18111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18112 printf %s
"checking for procstat_open_sysctl in -lprocstat... " >&6; }
18113 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18115 printf %s
"(cached) " >&6
18117 ac_check_lib_save_LIBS
=$LIBS
18118 LIBS
="-lprocstat $LIBS"
18119 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18120 /* end confdefs.h. */
18122 /* Override any GCC internal prototype to avoid an error.
18123 Use char because int might match the return type of a GCC
18124 builtin and then its argument prototype would still apply. */
18125 char procstat_open_sysctl ();
18129 return procstat_open_sysctl ();
18134 if ac_fn_c_try_link
"$LINENO"
18136 ac_cv_lib_procstat_procstat_open_sysctl
=yes
18138 ac_cv_lib_procstat_procstat_open_sysctl
=no
18140 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18141 conftest
$ac_exeext conftest.
$ac_ext
18142 LIBS
=$ac_check_lib_save_LIBS
18144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18145 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18146 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18149 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18151 PROCSTAT_LIBS
="-lprocstat"
18157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18158 printf %s
"checking for -lodbc... " >&6; }
18159 if test ${ac_cv_lib_soname_odbc+y}
18161 printf %s
"(cached) " >&6
18163 ac_check_soname_save_LIBS
=$LIBS
18164 LIBS
="-lodbc $LIBS"
18165 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18166 /* end confdefs.h. */
18168 /* Override any GCC internal prototype to avoid an error.
18169 Use char because int might match the return type of a GCC
18170 builtin and then its argument prototype would still apply. */
18171 char SQLConnect ();
18175 return SQLConnect ();
18180 if ac_fn_c_try_link
"$LINENO"
18183 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18184 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'` ;;
18185 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18186 if ${ac_cv_lib_soname_odbc:+false} :
18188 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18192 ac_cv_lib_soname_odbc
=
18194 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18195 conftest
$ac_exeext conftest.
$ac_ext
18196 LIBS
=$ac_check_soname_save_LIBS
18198 if ${ac_cv_lib_soname_odbc:+false} :
18200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18201 printf "%s\n" "not found" >&6; }
18202 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18206 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18208 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18213 if test "x$with_netapi" != "xno"
18215 if ${NETAPI_CFLAGS:+false} :
18217 if test ${PKG_CONFIG+y}
18219 NETAPI_CFLAGS
=`$PKG_CONFIG --cflags netapi 2>/dev/null`
18223 if ${NETAPI_LIBS:+false} :
18225 if test ${PKG_CONFIG+y}
18227 NETAPI_LIBS
=`$PKG_CONFIG --libs netapi 2>/dev/null`
18232 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18233 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18234 ac_save_CPPFLAGS
=$CPPFLAGS
18235 CPPFLAGS
="$CPPFLAGS $NETAPI_CFLAGS"
18236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18237 printf %s
"checking for -lnetapi... " >&6; }
18238 if test ${ac_cv_lib_soname_netapi+y}
18240 printf %s
"(cached) " >&6
18242 ac_check_soname_save_LIBS
=$LIBS
18243 LIBS
="-lnetapi $NETAPI_LIBS $LIBS"
18244 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18245 /* end confdefs.h. */
18247 /* Override any GCC internal prototype to avoid an error.
18248 Use char because int might match the return type of a GCC
18249 builtin and then its argument prototype would still apply. */
18250 char libnetapi_init ();
18254 return libnetapi_init ();
18259 if ac_fn_c_try_link
"$LINENO"
18262 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18263 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'` ;;
18264 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18265 if ${ac_cv_lib_soname_netapi:+false} :
18267 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18271 ac_cv_lib_soname_netapi
=
18273 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18274 conftest
$ac_exeext conftest.
$ac_ext
18275 LIBS
=$ac_check_soname_save_LIBS
18277 if ${ac_cv_lib_soname_netapi:+false} :
18279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18280 printf "%s\n" "not found" >&6; }
18281 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18285 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18287 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18291 CPPFLAGS
=$ac_save_CPPFLAGS
18294 if test "x$ac_cv_lib_soname_netapi" = "x"
18296 case "x$with_netapi" in
18297 x
) as_fn_append wine_notices
"|libnetapi not found, Samba NetAPI won't be supported." ;;
18299 *) as_fn_error $?
"libnetapi not found, Samba NetAPI won't be supported.
18300 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18302 enable_netapi
=${enable_netapi:-no}
18306 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono
-a \
18307 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18309 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
18312 if test "x$with_vulkan" != "xno"
18314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18315 printf %s
"checking for -lvulkan... " >&6; }
18316 if test ${ac_cv_lib_soname_vulkan+y}
18318 printf %s
"(cached) " >&6
18320 ac_check_soname_save_LIBS
=$LIBS
18321 LIBS
="-lvulkan $LIBS"
18322 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18323 /* end confdefs.h. */
18325 /* Override any GCC internal prototype to avoid an error.
18326 Use char because int might match the return type of a GCC
18327 builtin and then its argument prototype would still apply. */
18328 char vkGetInstanceProcAddr ();
18332 return vkGetInstanceProcAddr ();
18337 if ac_fn_c_try_link
"$LINENO"
18340 dll
) ac_cv_lib_soname_vulkan
=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18341 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'` ;;
18342 *) ac_cv_lib_soname_vulkan
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18343 if ${ac_cv_lib_soname_vulkan:+false} :
18345 ac_cv_lib_soname_vulkan
=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18349 ac_cv_lib_soname_vulkan
=
18351 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18352 conftest
$ac_exeext conftest.
$ac_ext
18353 LIBS
=$ac_check_soname_save_LIBS
18355 if ${ac_cv_lib_soname_vulkan:+false} :
18357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18358 printf "%s\n" "not found" >&6; }
18361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18362 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18364 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18368 if test "x$ac_cv_lib_soname_vulkan" = "x"
18370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18371 printf %s
"checking for -lMoltenVK... " >&6; }
18372 if test ${ac_cv_lib_soname_MoltenVK+y}
18374 printf %s
"(cached) " >&6
18376 ac_check_soname_save_LIBS
=$LIBS
18377 LIBS
="-lMoltenVK $LIBS"
18378 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18379 /* end confdefs.h. */
18381 /* Override any GCC internal prototype to avoid an error.
18382 Use char because int might match the return type of a GCC
18383 builtin and then its argument prototype would still apply. */
18384 char vkGetInstanceProcAddr ();
18388 return vkGetInstanceProcAddr ();
18393 if ac_fn_c_try_link
"$LINENO"
18396 dll
) ac_cv_lib_soname_MoltenVK
=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18397 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'` ;;
18398 *) ac_cv_lib_soname_MoltenVK
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18399 if ${ac_cv_lib_soname_MoltenVK:+false} :
18401 ac_cv_lib_soname_MoltenVK
=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18405 ac_cv_lib_soname_MoltenVK
=
18407 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18408 conftest
$ac_exeext conftest.
$ac_ext
18409 LIBS
=$ac_check_soname_save_LIBS
18411 if ${ac_cv_lib_soname_MoltenVK:+false} :
18413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18414 printf "%s\n" "not found" >&6; }
18417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18418 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18420 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18426 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18428 case "x$with_vulkan" in
18429 x
) as_fn_append wine_notices
"|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18431 *) as_fn_error $?
"libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18432 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18438 if test "x${GCC}" = "xyes"
18440 EXTRACFLAGS
="$EXTRACFLAGS -Wall -pipe"
18442 saved_CFLAGS
=$CFLAGS
18443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18444 printf %s
"checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18445 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18447 printf %s
"(cached) " >&6
18449 ac_wine_try_cflags_saved
=$CFLAGS
18450 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
18451 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18452 /* end confdefs.h. */
18453 int main(int argc, char **argv) { return 0; }
18455 if ac_fn_c_try_link
"$LINENO"
18457 ac_cv_cflags__Werror_unknown_warning_option
=yes
18459 ac_cv_cflags__Werror_unknown_warning_option
=no
18461 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18462 conftest
$ac_exeext conftest.
$ac_ext
18463 CFLAGS
=$ac_wine_try_cflags_saved
18465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18466 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18467 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18469 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
18471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18472 printf %s
"checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18473 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18475 printf %s
"(cached) " >&6
18477 ac_wine_try_cflags_saved
=$CFLAGS
18478 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
18479 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18480 /* end confdefs.h. */
18481 int main(int argc, char **argv) { return 0; }
18483 if ac_fn_c_try_link
"$LINENO"
18485 ac_cv_cflags__Werror_unused_command_line_argument
=yes
18487 ac_cv_cflags__Werror_unused_command_line_argument
=no
18489 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18490 conftest
$ac_exeext conftest.
$ac_ext
18491 CFLAGS
=$ac_wine_try_cflags_saved
18493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18494 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18495 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18497 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
18499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18500 printf %s
"checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18501 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18503 printf %s
"(cached) " >&6
18505 ac_wine_try_cflags_saved
=$CFLAGS
18506 CFLAGS
="$CFLAGS -Werror=ignored-optimization-argument"
18507 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18508 /* end confdefs.h. */
18509 int main(int argc, char **argv) { return 0; }
18511 if ac_fn_c_try_link
"$LINENO"
18513 ac_cv_cflags__Werror_ignored_optimization_argument
=yes
18515 ac_cv_cflags__Werror_ignored_optimization_argument
=no
18517 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18518 conftest
$ac_exeext conftest.
$ac_ext
18519 CFLAGS
=$ac_wine_try_cflags_saved
18521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18522 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18523 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18525 CFLAGS
="$CFLAGS -Werror=ignored-optimization-argument"
18527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18528 printf %s
"checking whether the compiler supports -fcf-protection=none... " >&6; }
18529 if test ${ac_cv_cflags__fcf_protection_none+y}
18531 printf %s
"(cached) " >&6
18533 ac_wine_try_cflags_saved
=$CFLAGS
18534 CFLAGS
="$CFLAGS -fcf-protection=none"
18535 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18536 /* end confdefs.h. */
18537 int main(int argc, char **argv) { return 0; }
18539 if ac_fn_c_try_link
"$LINENO"
18541 ac_cv_cflags__fcf_protection_none
=yes
18543 ac_cv_cflags__fcf_protection_none
=no
18545 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18546 conftest
$ac_exeext conftest.
$ac_ext
18547 CFLAGS
=$ac_wine_try_cflags_saved
18549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18550 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18551 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18553 EXTRACFLAGS
="$EXTRACFLAGS -fcf-protection=none"
18555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18556 printf %s
"checking whether the compiler supports -fno-stack-protector... " >&6; }
18557 if test ${ac_cv_cflags__fno_stack_protector+y}
18559 printf %s
"(cached) " >&6
18561 ac_wine_try_cflags_saved
=$CFLAGS
18562 CFLAGS
="$CFLAGS -fno-stack-protector"
18563 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18564 /* end confdefs.h. */
18565 int main(int argc, char **argv) { return 0; }
18567 if ac_fn_c_try_link
"$LINENO"
18569 ac_cv_cflags__fno_stack_protector
=yes
18571 ac_cv_cflags__fno_stack_protector
=no
18573 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18574 conftest
$ac_exeext conftest.
$ac_ext
18575 CFLAGS
=$ac_wine_try_cflags_saved
18577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18578 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18579 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18581 EXTRACFLAGS
="$EXTRACFLAGS -fno-stack-protector"
18583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18584 printf %s
"checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18585 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18587 printf %s
"(cached) " >&6
18589 ac_wine_try_cflags_saved
=$CFLAGS
18590 CFLAGS
="$CFLAGS -fno-strict-aliasing"
18591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18592 /* end confdefs.h. */
18593 int main(int argc, char **argv) { return 0; }
18595 if ac_fn_c_try_link
"$LINENO"
18597 ac_cv_cflags__fno_strict_aliasing
=yes
18599 ac_cv_cflags__fno_strict_aliasing
=no
18601 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18602 conftest
$ac_exeext conftest.
$ac_ext
18603 CFLAGS
=$ac_wine_try_cflags_saved
18605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18606 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18607 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18609 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
18611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18612 printf %s
"checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18613 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18615 printf %s
"(cached) " >&6
18617 ac_wine_try_cflags_saved
=$CFLAGS
18618 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
18619 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18620 /* end confdefs.h. */
18621 int main(int argc, char **argv) { return 0; }
18623 if ac_fn_c_try_link
"$LINENO"
18625 ac_cv_cflags__Wdeclaration_after_statement
=yes
18627 ac_cv_cflags__Wdeclaration_after_statement
=no
18629 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18630 conftest
$ac_exeext conftest.
$ac_ext
18631 CFLAGS
=$ac_wine_try_cflags_saved
18633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18634 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18635 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18637 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
18639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18640 printf %s
"checking whether the compiler supports -Wempty-body... " >&6; }
18641 if test ${ac_cv_cflags__Wempty_body+y}
18643 printf %s
"(cached) " >&6
18645 ac_wine_try_cflags_saved
=$CFLAGS
18646 CFLAGS
="$CFLAGS -Wempty-body"
18647 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18648 /* end confdefs.h. */
18649 int main(int argc, char **argv) { return 0; }
18651 if ac_fn_c_try_link
"$LINENO"
18653 ac_cv_cflags__Wempty_body
=yes
18655 ac_cv_cflags__Wempty_body
=no
18657 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18658 conftest
$ac_exeext conftest.
$ac_ext
18659 CFLAGS
=$ac_wine_try_cflags_saved
18661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18662 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18663 if test "x$ac_cv_cflags__Wempty_body" = xyes
18665 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
18667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18668 printf %s
"checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18669 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18671 printf %s
"(cached) " >&6
18673 ac_wine_try_cflags_saved
=$CFLAGS
18674 CFLAGS
="$CFLAGS -Wignored-qualifiers"
18675 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18676 /* end confdefs.h. */
18677 int main(int argc, char **argv) { return 0; }
18679 if ac_fn_c_try_link
"$LINENO"
18681 ac_cv_cflags__Wignored_qualifiers
=yes
18683 ac_cv_cflags__Wignored_qualifiers
=no
18685 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18686 conftest
$ac_exeext conftest.
$ac_ext
18687 CFLAGS
=$ac_wine_try_cflags_saved
18689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18690 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18691 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18693 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
18695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18696 printf %s
"checking whether the compiler supports -Winit-self... " >&6; }
18697 if test ${ac_cv_cflags__Winit_self+y}
18699 printf %s
"(cached) " >&6
18701 ac_wine_try_cflags_saved
=$CFLAGS
18702 CFLAGS
="$CFLAGS -Winit-self"
18703 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18704 /* end confdefs.h. */
18705 int main(int argc, char **argv) { return 0; }
18707 if ac_fn_c_try_link
"$LINENO"
18709 ac_cv_cflags__Winit_self
=yes
18711 ac_cv_cflags__Winit_self
=no
18713 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18714 conftest
$ac_exeext conftest.
$ac_ext
18715 CFLAGS
=$ac_wine_try_cflags_saved
18717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18718 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18719 if test "x$ac_cv_cflags__Winit_self" = xyes
18721 EXTRACFLAGS
="$EXTRACFLAGS -Winit-self"
18723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18724 printf %s
"checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18725 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18727 printf %s
"(cached) " >&6
18729 ac_wine_try_cflags_saved
=$CFLAGS
18730 CFLAGS
="$CFLAGS -Wpacked-not-aligned"
18731 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18732 /* end confdefs.h. */
18733 int main(int argc, char **argv) { return 0; }
18735 if ac_fn_c_try_link
"$LINENO"
18737 ac_cv_cflags__Wpacked_not_aligned
=yes
18739 ac_cv_cflags__Wpacked_not_aligned
=no
18741 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18742 conftest
$ac_exeext conftest.
$ac_ext
18743 CFLAGS
=$ac_wine_try_cflags_saved
18745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18746 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18747 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18749 EXTRACFLAGS
="$EXTRACFLAGS -Wno-packed-not-aligned"
18751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18752 printf %s
"checking whether the compiler supports -Wpragma-pack... " >&6; }
18753 if test ${ac_cv_cflags__Wpragma_pack+y}
18755 printf %s
"(cached) " >&6
18757 ac_wine_try_cflags_saved
=$CFLAGS
18758 CFLAGS
="$CFLAGS -Wpragma-pack"
18759 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18760 /* end confdefs.h. */
18761 int main(int argc, char **argv) { return 0; }
18763 if ac_fn_c_try_link
"$LINENO"
18765 ac_cv_cflags__Wpragma_pack
=yes
18767 ac_cv_cflags__Wpragma_pack
=no
18769 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18770 conftest
$ac_exeext conftest.
$ac_ext
18771 CFLAGS
=$ac_wine_try_cflags_saved
18773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18774 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18775 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18777 EXTRACFLAGS
="$EXTRACFLAGS -Wno-pragma-pack"
18779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18780 printf %s
"checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18781 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18783 printf %s
"(cached) " >&6
18785 ac_wine_try_cflags_saved
=$CFLAGS
18786 CFLAGS
="$CFLAGS -Wshift-overflow=2"
18787 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18788 /* end confdefs.h. */
18789 int main(int argc, char **argv) { return 0; }
18791 if ac_fn_c_try_link
"$LINENO"
18793 ac_cv_cflags__Wshift_overflow_2
=yes
18795 ac_cv_cflags__Wshift_overflow_2
=no
18797 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18798 conftest
$ac_exeext conftest.
$ac_ext
18799 CFLAGS
=$ac_wine_try_cflags_saved
18801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18802 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18803 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18805 EXTRACFLAGS
="$EXTRACFLAGS -Wshift-overflow=2"
18807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18808 printf %s
"checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18809 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18811 printf %s
"(cached) " >&6
18813 ac_wine_try_cflags_saved
=$CFLAGS
18814 CFLAGS
="$CFLAGS -Wstrict-prototypes"
18815 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18816 /* end confdefs.h. */
18817 int main(int argc, char **argv) { return 0; }
18819 if ac_fn_c_try_link
"$LINENO"
18821 ac_cv_cflags__Wstrict_prototypes
=yes
18823 ac_cv_cflags__Wstrict_prototypes
=no
18825 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18826 conftest
$ac_exeext conftest.
$ac_ext
18827 CFLAGS
=$ac_wine_try_cflags_saved
18829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18830 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18831 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18833 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
18835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18836 printf %s
"checking whether the compiler supports -Wtype-limits... " >&6; }
18837 if test ${ac_cv_cflags__Wtype_limits+y}
18839 printf %s
"(cached) " >&6
18841 ac_wine_try_cflags_saved
=$CFLAGS
18842 CFLAGS
="$CFLAGS -Wtype-limits"
18843 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18844 /* end confdefs.h. */
18845 int main(int argc, char **argv) { return 0; }
18847 if ac_fn_c_try_link
"$LINENO"
18849 ac_cv_cflags__Wtype_limits
=yes
18851 ac_cv_cflags__Wtype_limits
=no
18853 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18854 conftest
$ac_exeext conftest.
$ac_ext
18855 CFLAGS
=$ac_wine_try_cflags_saved
18857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18858 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18859 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18861 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
18863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18864 printf %s
"checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18865 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18867 printf %s
"(cached) " >&6
18869 ac_wine_try_cflags_saved
=$CFLAGS
18870 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
18871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18872 /* end confdefs.h. */
18873 int main(int argc, char **argv) { return 0; }
18875 if ac_fn_c_try_link
"$LINENO"
18877 ac_cv_cflags__Wunused_but_set_parameter
=yes
18879 ac_cv_cflags__Wunused_but_set_parameter
=no
18881 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18882 conftest
$ac_exeext conftest.
$ac_ext
18883 CFLAGS
=$ac_wine_try_cflags_saved
18885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
18886 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
18887 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
18889 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
18891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
18892 printf %s
"checking whether the compiler supports -Wvla... " >&6; }
18893 if test ${ac_cv_cflags__Wvla+y}
18895 printf %s
"(cached) " >&6
18897 ac_wine_try_cflags_saved
=$CFLAGS
18898 CFLAGS
="$CFLAGS -Wvla"
18899 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18900 /* end confdefs.h. */
18901 int main(int argc, char **argv) { return 0; }
18903 if ac_fn_c_try_link
"$LINENO"
18905 ac_cv_cflags__Wvla
=yes
18907 ac_cv_cflags__Wvla
=no
18909 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18910 conftest
$ac_exeext conftest.
$ac_ext
18911 CFLAGS
=$ac_wine_try_cflags_saved
18913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
18914 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
18915 if test "x$ac_cv_cflags__Wvla" = xyes
18917 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
18919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
18920 printf %s
"checking whether the compiler supports -Wwrite-strings... " >&6; }
18921 if test ${ac_cv_cflags__Wwrite_strings+y}
18923 printf %s
"(cached) " >&6
18925 ac_wine_try_cflags_saved
=$CFLAGS
18926 CFLAGS
="$CFLAGS -Wwrite-strings"
18927 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18928 /* end confdefs.h. */
18929 int main(int argc, char **argv) { return 0; }
18931 if ac_fn_c_try_link
"$LINENO"
18933 ac_cv_cflags__Wwrite_strings
=yes
18935 ac_cv_cflags__Wwrite_strings
=no
18937 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18938 conftest
$ac_exeext conftest.
$ac_ext
18939 CFLAGS
=$ac_wine_try_cflags_saved
18941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
18942 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
18943 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
18945 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
18948 if test -z "$CROSSTARGET"
18950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
18951 printf %s
"checking whether the compiler supports -fexcess-precision=standard... " >&6; }
18952 if test ${ac_cv_cflags__fexcess_precision_standard+y}
18954 printf %s
"(cached) " >&6
18956 ac_wine_try_cflags_saved
=$CFLAGS
18957 CFLAGS
="$CFLAGS -fexcess-precision=standard"
18958 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18959 /* end confdefs.h. */
18960 int main(int argc, char **argv) { return 0; }
18962 if ac_fn_c_try_link
"$LINENO"
18964 ac_cv_cflags__fexcess_precision_standard
=yes
18966 ac_cv_cflags__fexcess_precision_standard
=no
18968 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18969 conftest
$ac_exeext conftest.
$ac_ext
18970 CFLAGS
=$ac_wine_try_cflags_saved
18972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
18973 printf "%s\n" "$ac_cv_cflags__fexcess_precision_standard" >&6; }
18974 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes
18976 EXCESS_PRECISION_CFLAGS
="-fexcess-precision=standard"
18981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
18982 printf %s
"checking whether the compiler supports -Wpointer-arith... " >&6; }
18983 if test ${ac_cv_cflags__Wpointer_arith+y}
18985 printf %s
"(cached) " >&6
18987 ac_wine_try_cflags_saved
=$CFLAGS
18988 CFLAGS
="$CFLAGS -Wpointer-arith"
18989 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18990 /* end confdefs.h. */
18991 int main(int argc, char **argv) { return 0; }
18993 if ac_fn_c_try_link
"$LINENO"
18995 ac_cv_cflags__Wpointer_arith
=yes
18997 ac_cv_cflags__Wpointer_arith
=no
18999 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19000 conftest
$ac_exeext conftest.
$ac_ext
19001 CFLAGS
=$ac_wine_try_cflags_saved
19003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
19004 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19005 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19007 saved_string_h_CFLAGS
=$CFLAGS
19008 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
19009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19010 printf %s
"checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19011 if test ${ac_cv_c_string_h_warnings+y}
19013 printf %s
"(cached) " >&6
19015 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19016 /* end confdefs.h. */
19017 #include <string.h>
19026 if ac_fn_c_try_compile
"$LINENO"
19028 ac_cv_c_string_h_warnings
=no
19030 ac_cv_c_string_h_warnings
=yes
19032 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19035 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19036 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
19037 CFLAGS
=$saved_string_h_CFLAGS
19040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19041 printf %s
"checking whether the compiler supports -Wlogical-op... " >&6; }
19042 if test ${ac_cv_cflags__Wlogical_op+y}
19044 printf %s
"(cached) " >&6
19046 ac_wine_try_cflags_saved
=$CFLAGS
19047 CFLAGS
="$CFLAGS -Wlogical-op"
19048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19049 /* end confdefs.h. */
19050 int main(int argc, char **argv) { return 0; }
19052 if ac_fn_c_try_link
"$LINENO"
19054 ac_cv_cflags__Wlogical_op
=yes
19056 ac_cv_cflags__Wlogical_op
=no
19058 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19059 conftest
$ac_exeext conftest.
$ac_ext
19060 CFLAGS
=$ac_wine_try_cflags_saved
19062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19063 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19064 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19066 saved_string_h_CFLAGS
=$CFLAGS
19067 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
19068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19069 printf %s
"checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19070 if test ${ac_cv_c_logicalop_noisy+y}
19072 printf %s
"(cached) " >&6
19074 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19075 /* end confdefs.h. */
19076 #include <string.h>
19077 char*f(const char *h,char n) {return strchr(h,n);}
19086 if ac_fn_c_try_compile
"$LINENO"
19088 ac_cv_c_logicalop_noisy
=no
19090 ac_cv_c_logicalop_noisy
=yes
19092 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19095 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19096 CFLAGS
=$saved_string_h_CFLAGS
19097 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
19100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19101 printf %s
"checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19102 if test ${wine_cv_64bit_compare_swap+y}
19104 printf %s
"(cached) " >&6
19106 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19107 /* end confdefs.h. */
19108 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19119 if ac_fn_c_try_compile
"$LINENO"
19121 wine_cv_64bit_compare_swap
="none needed"
19124 *i
[3456]86*) wine_cv_64bit_compare_swap
="-march=i586" ;;
19125 *arm
*) wine_cv_64bit_compare_swap
="-march=armv7-a" ;;
19126 *) wine_cv_64bit_compare_swap
="unknown" ;;
19128 if test "x$wine_cv_64bit_compare_swap" != xunknown
19130 CFLAGS
="$CFLAGS $wine_cv_64bit_compare_swap"
19131 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19132 /* end confdefs.h. */
19133 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19144 if ac_fn_c_try_compile
"$LINENO"
19148 wine_cv_64bit_compare_swap
="unknown"
19150 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19151 CFLAGS
=$saved_CFLAGS
19154 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19157 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19158 case "$wine_cv_64bit_compare_swap" in
19159 unknown
) as_fn_error $?
"gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19161 *) EXTRACFLAGS
="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19164 ac_debug_format_seen
=""
19165 for ac_flag
in $CFLAGS; do
19167 -gdwarf*) ac_debug_format_seen
=yes ;;
19168 -g) ac_debug_format_seen
=${ac_debug_format_seen:-default} ;;
19171 if test "x$ac_debug_format_seen" = xdefault
19173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19174 printf %s
"checking whether the compiler supports -gdwarf-4... " >&6; }
19175 if test ${ac_cv_cflags__gdwarf_4+y}
19177 printf %s
"(cached) " >&6
19179 ac_wine_try_cflags_saved
=$CFLAGS
19180 CFLAGS
="$CFLAGS -gdwarf-4"
19181 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19182 /* end confdefs.h. */
19183 int main(int argc, char **argv) { return 0; }
19185 if ac_fn_c_try_link
"$LINENO"
19187 ac_cv_cflags__gdwarf_4
=yes
19189 ac_cv_cflags__gdwarf_4
=no
19191 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19192 conftest
$ac_exeext conftest.
$ac_ext
19193 CFLAGS
=$ac_wine_try_cflags_saved
19195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19196 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19197 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19199 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-4"
19206 mingw32
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19207 printf %s
"checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19208 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19210 printf %s
"(cached) " >&6
19212 ac_wine_try_cflags_saved
=$CFLAGS
19213 CFLAGS
="$CFLAGS -Wl,-delayload,autoconftest.dll"
19214 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19215 /* end confdefs.h. */
19216 int main(int argc, char **argv) { return 0; }
19218 if ac_fn_c_try_link
"$LINENO"
19220 ac_cv_cflags__Wl__delayload_autoconftest_dll
=yes
19222 ac_cv_cflags__Wl__delayload_autoconftest_dll
=no
19224 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19225 conftest
$ac_exeext conftest.
$ac_ext
19226 CFLAGS
=$ac_wine_try_cflags_saved
19228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19229 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19230 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19232 DELAYLOADFLAG
="-Wl,-delayload,"
19235 *) MSVCRTFLAGS
="-D_WIN32"
19236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19237 printf %s
"checking whether the compiler supports -fno-builtin... " >&6; }
19238 if test ${ac_cv_cflags__fno_builtin+y}
19240 printf %s
"(cached) " >&6
19242 ac_wine_try_cflags_saved
=$CFLAGS
19243 CFLAGS
="$CFLAGS -fno-builtin"
19244 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19245 /* end confdefs.h. */
19246 int main(int argc, char **argv) { return 0; }
19248 if ac_fn_c_try_link
"$LINENO"
19250 ac_cv_cflags__fno_builtin
=yes
19252 ac_cv_cflags__fno_builtin
=no
19254 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19255 conftest
$ac_exeext conftest.
$ac_ext
19256 CFLAGS
=$ac_wine_try_cflags_saved
19258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19259 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19260 if test "x$ac_cv_cflags__fno_builtin" = xyes
19262 MSVCRTFLAGS
="$MSVCRTFLAGS -fno-builtin"
19264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19265 printf %s
"checking whether the compiler supports -fshort-wchar... " >&6; }
19266 if test ${ac_cv_cflags__fshort_wchar+y}
19268 printf %s
"(cached) " >&6
19270 ac_wine_try_cflags_saved
=$CFLAGS
19271 CFLAGS
="$CFLAGS -fshort-wchar"
19272 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19273 /* end confdefs.h. */
19274 int main(int argc, char **argv) { return 0; }
19276 if ac_fn_c_try_link
"$LINENO"
19278 ac_cv_cflags__fshort_wchar
=yes
19280 ac_cv_cflags__fshort_wchar
=no
19282 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19283 conftest
$ac_exeext conftest.
$ac_ext
19284 CFLAGS
=$ac_wine_try_cflags_saved
19286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19287 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19288 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19290 MSVCRTFLAGS
="$MSVCRTFLAGS -fshort-wchar"
19292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19293 printf %s
"checking whether the compiler supports -Wno-format... " >&6; }
19294 if test ${ac_cv_cflags__Wno_format+y}
19296 printf %s
"(cached) " >&6
19298 ac_wine_try_cflags_saved
=$CFLAGS
19299 CFLAGS
="$CFLAGS -Wno-format"
19300 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19301 /* end confdefs.h. */
19302 int main(int argc, char **argv) { return 0; }
19304 if ac_fn_c_try_link
"$LINENO"
19306 ac_cv_cflags__Wno_format
=yes
19308 ac_cv_cflags__Wno_format
=no
19310 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19311 conftest
$ac_exeext conftest.
$ac_ext
19312 CFLAGS
=$ac_wine_try_cflags_saved
19314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19315 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19316 if test "x$ac_cv_cflags__Wno_format" = xyes
19318 MSVCRTFLAGS
="$MSVCRTFLAGS -Wno-format"
19323 *i
[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19324 printf %s
"checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19325 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19327 printf %s
"(cached) " >&6
19329 ac_wine_try_cflags_saved
=$CFLAGS
19330 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
19331 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19332 /* end confdefs.h. */
19333 int main(int argc, char **argv) { return 0; }
19335 if ac_fn_c_try_link
"$LINENO"
19337 ac_cv_cflags__fno_omit_frame_pointer
=yes
19339 ac_cv_cflags__fno_omit_frame_pointer
=no
19341 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19342 conftest
$ac_exeext conftest.
$ac_ext
19343 CFLAGS
=$ac_wine_try_cflags_saved
19345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19346 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19347 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19349 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
19353 cygwin
*|mingw32
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19354 printf %s
"checking whether the compiler supports -Wno-format... " >&6; }
19355 if test ${ac_cv_cflags__Wno_format+y}
19357 printf %s
"(cached) " >&6
19359 ac_wine_try_cflags_saved
=$CFLAGS
19360 CFLAGS
="$CFLAGS -Wno-format"
19361 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19362 /* end confdefs.h. */
19363 int main(int argc, char **argv) { return 0; }
19365 if ac_fn_c_try_link
"$LINENO"
19367 ac_cv_cflags__Wno_format
=yes
19369 ac_cv_cflags__Wno_format
=no
19371 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19372 conftest
$ac_exeext conftest.
$ac_ext
19373 CFLAGS
=$ac_wine_try_cflags_saved
19375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19376 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19377 if test "x$ac_cv_cflags__Wno_format" = xyes
19379 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
19381 *) if test -z "$CROSSTARGET"
19383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19384 printf %s
"checking for working -mabi=ms... " >&6; }
19385 if test ${ac_cv_mabi_ms+y}
19387 printf %s
"(cached) " >&6
19389 CFLAGS
="$CFLAGS -mabi=ms"
19390 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19391 /* end confdefs.h. */
19392 #include <stdarg.h>
19393 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19402 if ac_fn_c_try_compile
"$LINENO"
19408 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19409 CFLAGS
=$saved_CFLAGS
19411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19412 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19413 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
19415 MSVCRTFLAGS
="$MSVCRTFLAGS -mabi=ms" ;;
19418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19419 printf %s
"checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19420 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19422 printf %s
"(cached) " >&6
19424 ac_wine_try_cflags_saved
=$CFLAGS
19425 CFLAGS
="$CFLAGS -Wincompatible-function-pointer-types"
19426 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19427 /* end confdefs.h. */
19428 int main(int argc, char **argv) { return 0; }
19430 if ac_fn_c_try_link
"$LINENO"
19432 ac_cv_cflags__Wincompatible_function_pointer_types
=yes
19434 ac_cv_cflags__Wincompatible_function_pointer_types
=no
19436 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19437 conftest
$ac_exeext conftest.
$ac_ext
19438 CFLAGS
=$ac_wine_try_cflags_saved
19440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
19441 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19442 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19444 EXTRACFLAGS
="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19448 CFLAGS
=$saved_CFLAGS
19450 if test "x$enable_werror" = "xyes"
19452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19453 printf %s
"checking whether the compiler supports -Werror... " >&6; }
19454 if test ${ac_cv_cflags__Werror+y}
19456 printf %s
"(cached) " >&6
19458 ac_wine_try_cflags_saved
=$CFLAGS
19459 CFLAGS
="$CFLAGS -Werror"
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__Werror
=yes
19468 ac_cv_cflags__Werror
=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__Werror" >&5
19475 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19476 if test "x$ac_cv_cflags__Werror" = xyes
19478 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
19481 if test "x$enable_build_id" = "xyes"
19483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19484 printf %s
"checking whether the compiler supports -Wl,--build-id... " >&6; }
19485 if test ${ac_cv_cflags__Wl___build_id+y}
19487 printf %s
"(cached) " >&6
19489 ac_wine_try_cflags_saved
=$CFLAGS
19490 CFLAGS
="$CFLAGS -Wl,--build-id"
19491 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19492 /* end confdefs.h. */
19493 int main(int argc, char **argv) { return 0; }
19495 if ac_fn_c_try_link
"$LINENO"
19497 ac_cv_cflags__Wl___build_id
=yes
19499 ac_cv_cflags__Wl___build_id
=no
19501 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19502 conftest
$ac_exeext conftest.
$ac_ext
19503 CFLAGS
=$ac_wine_try_cflags_saved
19505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19506 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19507 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19509 CFLAGS
="$CFLAGS -Wl,--build-id"
19510 LDFLAGS
="$LDFLAGS -Wl,--build-id"
19516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19517 printf %s
"checking for the need to disable Fortify... " >&6; }
19518 if test ${ac_cv_c_fortify_enabled+y}
19520 printf %s
"(cached) " >&6
19522 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19523 /* end confdefs.h. */
19524 #include <string.h>
19528 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19529 #error Fortify enabled
19535 if ac_fn_c_try_compile
"$LINENO"
19537 ac_cv_c_fortify_enabled
=no
19539 ac_cv_c_fortify_enabled
=yes
19541 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19544 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19545 if test "$ac_cv_c_fortify_enabled" = yes
19547 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19552 printf %s
"checking whether CFI directives are supported in assembly code... " >&6; }
19553 if test ${ac_cv_c_cfi_support+y}
19555 printf %s
"(cached) " >&6
19557 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19558 /* end confdefs.h. */
19559 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19568 if ac_fn_c_try_compile
"$LINENO"
19570 ac_cv_c_cfi_support
="yes"
19572 ac_cv_c_cfi_support
="no"
19574 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19577 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19578 if test "$ac_cv_c_cfi_support" = "yes"
19580 DLLFLAGS
="$DLLFLAGS -fasynchronous-unwind-tables"
19581 LDDLLFLAGS
="$LDDLLFLAGS -fasynchronous-unwind-tables"
19582 UNIXDLLFLAGS
="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19584 if test "x$enable_win64" = "xyes"
19586 as_fn_append wine_warnings
"|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19594 *i
[3456789]86*|x86_64
*|
*aarch64
*|arm
*)
19595 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS
"loader/wine-preloader"
19596 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
19603 ac_save_CFLAGS
="$CFLAGS"
19604 CFLAGS
="$CFLAGS $BUILTINFLAG"
19605 ac_fn_c_check_func
"$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19606 if test "x$ac_cv_func_epoll_create" = xyes
19608 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19611 ac_fn_c_check_func
"$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19612 if test "x$ac_cv_func_fstatfs" = xyes
19614 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19617 ac_fn_c_check_func
"$LINENO" "futimens" "ac_cv_func_futimens"
19618 if test "x$ac_cv_func_futimens" = xyes
19620 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19623 ac_fn_c_check_func
"$LINENO" "futimes" "ac_cv_func_futimes"
19624 if test "x$ac_cv_func_futimes" = xyes
19626 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19629 ac_fn_c_check_func
"$LINENO" "futimesat" "ac_cv_func_futimesat"
19630 if test "x$ac_cv_func_futimesat" = xyes
19632 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19635 ac_fn_c_check_func
"$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19636 if test "x$ac_cv_func_getattrlist" = xyes
19638 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19641 ac_fn_c_check_func
"$LINENO" "getauxval" "ac_cv_func_getauxval"
19642 if test "x$ac_cv_func_getauxval" = xyes
19644 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19647 ac_fn_c_check_func
"$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19648 if test "x$ac_cv_func_getifaddrs" = xyes
19650 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19653 ac_fn_c_check_func
"$LINENO" "getrandom" "ac_cv_func_getrandom"
19654 if test "x$ac_cv_func_getrandom" = xyes
19656 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19659 ac_fn_c_check_func
"$LINENO" "kqueue" "ac_cv_func_kqueue"
19660 if test "x$ac_cv_func_kqueue" = xyes
19662 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19665 ac_fn_c_check_func
"$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19666 if test "x$ac_cv_func_mach_continuous_time" = xyes
19668 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19671 ac_fn_c_check_func
"$LINENO" "pipe2" "ac_cv_func_pipe2"
19672 if test "x$ac_cv_func_pipe2" = xyes
19674 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19677 ac_fn_c_check_func
"$LINENO" "port_create" "ac_cv_func_port_create"
19678 if test "x$ac_cv_func_port_create" = xyes
19680 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
19683 ac_fn_c_check_func
"$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
19684 if test "x$ac_cv_func_posix_fadvise" = xyes
19686 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
19689 ac_fn_c_check_func
"$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
19690 if test "x$ac_cv_func_posix_fallocate" = xyes
19692 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
19695 ac_fn_c_check_func
"$LINENO" "prctl" "ac_cv_func_prctl"
19696 if test "x$ac_cv_func_prctl" = xyes
19698 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
19701 ac_fn_c_check_func
"$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
19702 if test "x$ac_cv_func_proc_pidinfo" = xyes
19704 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
19707 ac_fn_c_check_func
"$LINENO" "sched_yield" "ac_cv_func_sched_yield"
19708 if test "x$ac_cv_func_sched_yield" = xyes
19710 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
19713 ac_fn_c_check_func
"$LINENO" "setproctitle" "ac_cv_func_setproctitle"
19714 if test "x$ac_cv_func_setproctitle" = xyes
19716 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
19719 ac_fn_c_check_func
"$LINENO" "setprogname" "ac_cv_func_setprogname"
19720 if test "x$ac_cv_func_setprogname" = xyes
19722 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
19725 ac_fn_c_check_func
"$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
19726 if test "x$ac_cv_func_sigprocmask" = xyes
19728 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
19731 ac_fn_c_check_func
"$LINENO" "sysinfo" "ac_cv_func_sysinfo"
19732 if test "x$ac_cv_func_sysinfo" = xyes
19734 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
19737 ac_fn_c_check_func
"$LINENO" "tcdrain" "ac_cv_func_tcdrain"
19738 if test "x$ac_cv_func_tcdrain" = xyes
19740 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
19743 ac_fn_c_check_func
"$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
19744 if test "x$ac_cv_func_thr_kill2" = xyes
19746 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
19750 CFLAGS
="$ac_save_CFLAGS"
19752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19753 printf %s
"checking for library containing dlopen... " >&6; }
19754 if test ${ac_cv_search_dlopen+y}
19756 printf %s
"(cached) " >&6
19758 ac_func_search_save_LIBS
=$LIBS
19759 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19760 /* end confdefs.h. */
19762 /* Override any GCC internal prototype to avoid an error.
19763 Use char because int might match the return type of a GCC
19764 builtin and then its argument prototype would still apply. */
19774 for ac_lib
in '' dl
19776 if test -z "$ac_lib"; then
19777 ac_res
="none required"
19780 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19782 if ac_fn_c_try_link
"$LINENO"
19784 ac_cv_search_dlopen
=$ac_res
19786 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19788 if test ${ac_cv_search_dlopen+y}
19793 if test ${ac_cv_search_dlopen+y}
19797 ac_cv_search_dlopen
=no
19799 rm conftest.
$ac_ext
19800 LIBS
=$ac_func_search_save_LIBS
19802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19803 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19804 ac_res
=$ac_cv_search_dlopen
19805 if test "$ac_res" != no
19807 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19811 ac_wine_check_funcs_save_LIBS
="$LIBS"
19812 LIBS
="$LIBS $DL_LIBS"
19813 ac_fn_c_check_func
"$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19814 if test "x$ac_cv_func_dlinfo" = xyes
19816 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19820 LIBS
="$ac_wine_check_funcs_save_LIBS"
19822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19823 printf %s
"checking for library containing gethostbyname... " >&6; }
19824 if test ${ac_cv_search_gethostbyname+y}
19826 printf %s
"(cached) " >&6
19828 ac_func_search_save_LIBS
=$LIBS
19829 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19830 /* end confdefs.h. */
19832 /* Override any GCC internal prototype to avoid an error.
19833 Use char because int might match the return type of a GCC
19834 builtin and then its argument prototype would still apply. */
19835 char gethostbyname ();
19839 return gethostbyname ();
19844 for ac_lib
in '' nsl
19846 if test -z "$ac_lib"; then
19847 ac_res
="none required"
19850 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19852 if ac_fn_c_try_link
"$LINENO"
19854 ac_cv_search_gethostbyname
=$ac_res
19856 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19858 if test ${ac_cv_search_gethostbyname+y}
19863 if test ${ac_cv_search_gethostbyname+y}
19867 ac_cv_search_gethostbyname
=no
19869 rm conftest.
$ac_ext
19870 LIBS
=$ac_func_search_save_LIBS
19872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19873 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19874 ac_res
=$ac_cv_search_gethostbyname
19875 if test "$ac_res" != no
19877 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19883 printf %s
"checking for library containing connect... " >&6; }
19884 if test ${ac_cv_search_connect+y}
19886 printf %s
"(cached) " >&6
19888 ac_func_search_save_LIBS
=$LIBS
19889 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19890 /* end confdefs.h. */
19892 /* Override any GCC internal prototype to avoid an error.
19893 Use char because int might match the return type of a GCC
19894 builtin and then its argument prototype would still apply. */
19904 for ac_lib
in '' socket
19906 if test -z "$ac_lib"; then
19907 ac_res
="none required"
19910 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19912 if ac_fn_c_try_link
"$LINENO"
19914 ac_cv_search_connect
=$ac_res
19916 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19918 if test ${ac_cv_search_connect+y}
19923 if test ${ac_cv_search_connect+y}
19927 ac_cv_search_connect
=no
19929 rm conftest.
$ac_ext
19930 LIBS
=$ac_func_search_save_LIBS
19932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19933 printf "%s\n" "$ac_cv_search_connect" >&6; }
19934 ac_res
=$ac_cv_search_connect
19935 if test "$ac_res" != no
19937 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19943 printf %s
"checking for library containing inet_aton... " >&6; }
19944 if test ${ac_cv_search_inet_aton+y}
19946 printf %s
"(cached) " >&6
19948 ac_func_search_save_LIBS
=$LIBS
19949 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19950 /* end confdefs.h. */
19952 /* Override any GCC internal prototype to avoid an error.
19953 Use char because int might match the return type of a GCC
19954 builtin and then its argument prototype would still apply. */
19959 return inet_aton ();
19964 for ac_lib
in '' resolv
19966 if test -z "$ac_lib"; then
19967 ac_res
="none required"
19970 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19972 if ac_fn_c_try_link
"$LINENO"
19974 ac_cv_search_inet_aton
=$ac_res
19976 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19978 if test ${ac_cv_search_inet_aton+y}
19983 if test ${ac_cv_search_inet_aton+y}
19987 ac_cv_search_inet_aton
=no
19989 rm conftest.
$ac_ext
19990 LIBS
=$ac_func_search_save_LIBS
19992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
19993 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
19994 ac_res
=$ac_cv_search_inet_aton
19995 if test "$ac_res" != no
19997 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20002 ac_fn_c_check_func
"$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
20003 if test "x$ac_cv_func_getaddrinfo" = xyes
20005 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
20011 darwin
*|macosx
*) ;;
20012 *) ac_save_LIBS
=$LIBS
20013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20014 printf %s
"checking for library containing clock_gettime... " >&6; }
20015 if test ${ac_cv_search_clock_gettime+y}
20017 printf %s
"(cached) " >&6
20019 ac_func_search_save_LIBS
=$LIBS
20020 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20021 /* end confdefs.h. */
20023 /* Override any GCC internal prototype to avoid an error.
20024 Use char because int might match the return type of a GCC
20025 builtin and then its argument prototype would still apply. */
20026 char clock_gettime ();
20030 return clock_gettime ();
20035 for ac_lib
in '' rt
20037 if test -z "$ac_lib"; then
20038 ac_res
="none required"
20041 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20043 if ac_fn_c_try_link
"$LINENO"
20045 ac_cv_search_clock_gettime
=$ac_res
20047 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20049 if test ${ac_cv_search_clock_gettime+y}
20054 if test ${ac_cv_search_clock_gettime+y}
20058 ac_cv_search_clock_gettime
=no
20060 rm conftest.
$ac_ext
20061 LIBS
=$ac_func_search_save_LIBS
20063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20064 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20065 ac_res
=$ac_cv_search_clock_gettime
20066 if test "$ac_res" != no
20068 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20070 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20072 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
20080 if test "x$with_ldap" != "xno"
20082 if ${LDAP_CFLAGS:+false} :
20084 if test ${PKG_CONFIG+y}
20086 LDAP_CFLAGS
=`$PKG_CONFIG --cflags openldap 2>/dev/null`
20090 if ${LDAP_LIBS:+false} :
20092 if test ${PKG_CONFIG+y}
20094 LDAP_LIBS
=`$PKG_CONFIG --libs openldap 2>/dev/null`
20098 LDAP_LIBS
=${LDAP_LIBS:-"-lldap -llber"}
20099 printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
20100 printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
20101 ac_save_CPPFLAGS
=$CPPFLAGS
20102 CPPFLAGS
="$CPPFLAGS $LDAP_CFLAGS"
20103 ac_fn_c_check_header_compile
"$LINENO" "ldap.h" "ac_cv_header_ldap_h" "$ac_includes_default"
20104 if test "x$ac_cv_header_ldap_h" = xyes
20106 printf "%s\n" "#define HAVE_LDAP_H 1" >>confdefs.h
20109 ac_fn_c_check_header_compile
"$LINENO" "lber.h" "ac_cv_header_lber_h" "$ac_includes_default"
20110 if test "x$ac_cv_header_lber_h" = xyes
20112 printf "%s\n" "#define HAVE_LBER_H 1" >>confdefs.h
20116 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
20118 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
20120 if test "x$ac_cv_type_LDAPSortKey" = xyes
20122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap" >&5
20123 printf %s
"checking for ldap_initialize in -lldap... " >&6; }
20124 if test ${ac_cv_lib_ldap_ldap_initialize+y}
20126 printf %s
"(cached) " >&6
20128 ac_check_lib_save_LIBS
=$LIBS
20129 LIBS
="-lldap $PTHREAD_LIBS $LDAP_LIBS $LIBS"
20130 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20131 /* end confdefs.h. */
20133 /* Override any GCC internal prototype to avoid an error.
20134 Use char because int might match the return type of a GCC
20135 builtin and then its argument prototype would still apply. */
20136 char ldap_initialize ();
20140 return ldap_initialize ();
20145 if ac_fn_c_try_link
"$LINENO"
20147 ac_cv_lib_ldap_ldap_initialize
=yes
20149 ac_cv_lib_ldap_ldap_initialize
=no
20151 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20152 conftest
$ac_exeext conftest.
$ac_ext
20153 LIBS
=$ac_check_lib_save_LIBS
20155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_ldap_initialize" >&5
20156 printf "%s\n" "$ac_cv_lib_ldap_ldap_initialize" >&6; }
20157 if test "x$ac_cv_lib_ldap_ldap_initialize" = xyes
20159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
20160 printf %s
"checking for ber_init in -llber... " >&6; }
20161 if test ${ac_cv_lib_lber_ber_init+y}
20163 printf %s
"(cached) " >&6
20165 ac_check_lib_save_LIBS
=$LIBS
20166 LIBS
="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
20167 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20168 /* end confdefs.h. */
20170 /* Override any GCC internal prototype to avoid an error.
20171 Use char because int might match the return type of a GCC
20172 builtin and then its argument prototype would still apply. */
20177 return ber_init ();
20182 if ac_fn_c_try_link
"$LINENO"
20184 ac_cv_lib_lber_ber_init
=yes
20186 ac_cv_lib_lber_ber_init
=no
20188 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20189 conftest
$ac_exeext conftest.
$ac_ext
20190 LIBS
=$ac_check_lib_save_LIBS
20192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
20193 printf "%s\n" "$ac_cv_lib_lber_ber_init" >&6; }
20194 if test "x$ac_cv_lib_lber_ber_init" = xyes
20197 printf "%s\n" "#define HAVE_LDAP 1" >>confdefs.h
20214 CPPFLAGS
=$ac_save_CPPFLAGS
20217 if test "x$LDAP_LIBS" = "x"
20219 case "x$with_ldap" in
20220 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
20222 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
20223 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
20228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20229 printf %s
"checking for sched_setaffinity... " >&6; }
20230 if test ${wine_cv_have_sched_setaffinity+y}
20232 printf %s
"(cached) " >&6
20234 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20235 /* end confdefs.h. */
20240 sched_setaffinity(0, 0, 0);
20245 if ac_fn_c_try_link
"$LINENO"
20247 wine_cv_have_sched_setaffinity
=yes
20249 wine_cv_have_sched_setaffinity
=no
20251 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20252 conftest
$ac_exeext conftest.
$ac_ext
20254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20255 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20256 if test "$wine_cv_have_sched_setaffinity" = "yes"
20259 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20265 printf %s
"checking for inline... " >&6; }
20266 if test ${ac_cv_c_inline+y}
20268 printf %s
"(cached) " >&6
20271 for ac_kw
in inline __inline__ __inline
; do
20272 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20273 /* end confdefs.h. */
20274 #ifndef __cplusplus
20276 static $ac_kw foo_t static_foo (void) {return 0; }
20277 $ac_kw foo_t foo (void) {return 0; }
20281 if ac_fn_c_try_compile
"$LINENO"
20283 ac_cv_c_inline
=$ac_kw
20285 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20286 test "$ac_cv_c_inline" != no
&& break
20290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20291 printf "%s\n" "$ac_cv_c_inline" >&6; }
20293 case $ac_cv_c_inline in
20296 case $ac_cv_c_inline in
20298 *) ac_val
=$ac_cv_c_inline;;
20300 cat >>confdefs.h
<<_ACEOF
20301 #ifndef __cplusplus
20302 #define inline $ac_val
20308 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
20309 #include <signal.h>
20311 if test "x$ac_cv_type_sigset_t" = xyes
20314 printf "%s\n" "#define HAVE_SIGSET_T 1" >>confdefs.h
20319 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20321 if test "x$ac_cv_type_request_sense" = xyes
20324 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20330 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20331 #include <sys/socket.h>
20332 #ifdef HAVE_SYS_SOCKETVAR_H
20333 #include <sys/socketvar.h>
20335 #ifdef HAVE_NET_ROUTE_H
20336 #include <net/route.h>
20338 #ifdef HAVE_NETINET_IN_H
20339 #include <netinet/in.h>
20341 #ifdef HAVE_NETINET_IN_SYSTM_H
20342 #include <netinet/in_systm.h>
20344 #ifdef HAVE_NETINET_IP_H
20345 #include <netinet/ip.h>
20347 #ifdef HAVE_NETINET_IN_PCB_H
20348 #include <netinet/in_pcb.h>
20351 if test "x$ac_cv_type_struct_xinpgen" = xyes
20354 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
20361 printf %s
"checking for sigaddset... " >&6; }
20362 if test ${wine_cv_have_sigaddset+y}
20364 printf %s
"(cached) " >&6
20366 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20367 /* end confdefs.h. */
20368 #include <signal.h>
20372 sigset_t set; sigaddset(&set,SIGTERM);
20377 if ac_fn_c_try_link
"$LINENO"
20379 wine_cv_have_sigaddset
=yes
20381 wine_cv_have_sigaddset
=no
20383 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20384 conftest
$ac_exeext conftest.
$ac_ext
20386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
20387 printf "%s\n" "$wine_cv_have_sigaddset" >&6; }
20388 if test "$wine_cv_have_sigaddset" = "yes"
20391 printf "%s\n" "#define HAVE_SIGADDSET 1" >>confdefs.h
20396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20397 printf %s
"checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20398 if test ${wine_cv_linux_gethostbyname_r_6+y}
20400 printf %s
"(cached) " >&6
20402 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20403 /* end confdefs.h. */
20411 struct hostent *result;
20418 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20419 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20425 if ac_fn_c_try_link
"$LINENO"
20427 wine_cv_linux_gethostbyname_r_6
=yes
20429 wine_cv_linux_gethostbyname_r_6
=no
20432 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20433 conftest
$ac_exeext conftest.
$ac_ext
20436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20437 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20438 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20441 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20445 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20446 #include <sys/socket.h>
20447 #ifdef HAVE_SYS_UN_H
20448 # include <sys/un.h>
20451 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20454 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20458 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20459 #include <sys/socket.h>
20460 #ifdef HAVE_SYS_UN_H
20461 # include <sys/un.h>
20464 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20467 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20473 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20474 #ifdef HAVE_SCSI_SG_H
20475 #include <scsi/sg.h>
20478 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20481 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20485 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>
20486 #ifdef HAVE_SCSI_SG_H
20487 #include <scsi/sg.h>
20490 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20493 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20499 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20501 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20504 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20510 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20511 #ifdef HAVE_SYS_MTIO_H
20512 #include <sys/mtio.h>
20515 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20518 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20522 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20523 #ifdef HAVE_SYS_MTIO_H
20524 #include <sys/mtio.h>
20527 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20530 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20534 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20535 #ifdef HAVE_SYS_MTIO_H
20536 #include <sys/mtio.h>
20539 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20542 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20548 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20549 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20552 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20556 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20557 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20560 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20564 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20565 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20568 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20572 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20573 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20576 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20580 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20581 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20584 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20588 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20589 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20592 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20596 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20597 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20600 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20604 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20605 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20608 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20612 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20613 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20616 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20620 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20621 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20624 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20628 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20629 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20632 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20638 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>
20639 #ifdef HAVE_NETINET_IN_H
20640 #include <netinet/in.h>
20643 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20646 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20652 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
20653 #include <resolv.h>
20656 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20659 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20665 ac_fn_c_check_member
"$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20666 #include <netinet/in.h>
20669 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20672 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20678 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20679 #ifdef HAVE_SYS_SOCKETVAR_H
20680 #include <sys/socketvar.h>
20682 #ifdef HAVE_NETINET_IN_H
20683 #include <netinet/in.h>
20685 #ifdef HAVE_NETINET_IP_VAR_H
20686 #include <netinet/ip_var.h>
20689 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20692 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20698 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
20699 #include <netinet/ip_var.h>
20702 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20705 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20711 ac_fn_c_check_member
"$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20712 #ifdef HAVE_SYS_SOCKETVAR_H
20713 #include <sys/socketvar.h>
20715 #ifdef HAVE_NETINET_IN_H
20716 #include <netinet/in.h>
20718 #ifdef HAVE_NETINET6_IP6_VAR_H
20719 #include <netinet6/ip6_var.h>
20722 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20725 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20731 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20732 #ifdef HAVE_SYS_SOCKETVAR_H
20733 #include <sys/socketvar.h>
20735 #ifdef HAVE_NETINET_IN_H
20736 #include <netinet/in.h>
20738 #ifdef HAVE_NETINET_IP_H
20739 #include <netinet/ip.h>
20741 #ifdef HAVE_NETINET_IP_ICMP_H
20742 #include <netinet/ip_icmp.h>
20744 #ifdef HAVE_NETINET_ICMP_VAR_H
20745 #include <netinet/icmp_var.h>
20748 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20751 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20757 ac_fn_c_check_member
"$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20758 #ifdef HAVE_SYS_SOCKETVAR_H
20759 #include <sys/socketvar.h>
20761 #ifdef HAVE_NETINET_IN_H
20762 #include <netinet/in.h>
20764 #ifdef HAVE_NETINET_ICMP6_H
20765 #include <netinet/icmp6.h>
20768 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20771 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20777 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20778 #ifdef HAVE_SYS_SOCKETVAR_H
20779 #include <sys/socketvar.h>
20781 #ifdef HAVE_NETINET_IN_H
20782 #include <netinet/in.h>
20784 #ifdef HAVE_NETINET_TCP_H
20785 #include <netinet/tcp.h>
20787 #ifdef HAVE_NETINET_TCP_VAR_H
20788 #include <netinet/tcp_var.h>
20791 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20794 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20800 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
20801 #include <netinet/tcp_var.h>
20804 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20807 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20813 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20814 #ifdef HAVE_NETINET_IN_H
20815 #include <netinet/in.h>
20817 #ifdef HAVE_NETINET_IP_VAR_H
20818 #include <netinet/ip_var.h>
20820 #ifdef HAVE_NETINET_UDP_H
20821 #include <netinet/udp.h>
20823 #ifdef HAVE_NETINET_UDP_VAR_H
20824 #include <netinet/udp_var.h>
20827 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20830 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20836 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20837 #ifdef HAVE_NET_IF_H
20838 # include <net/if.h>
20841 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20844 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20850 ac_fn_c_check_member
"$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20851 # include <sys/sysinfo.h>
20854 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20857 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20861 ac_fn_c_check_member
"$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20862 # include <sys/sysinfo.h>
20865 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20868 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20874 LIBS
="$ac_save_LIBS"
20876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20877 printf %s
"checking for __builtin_popcount... " >&6; }
20878 if test ${ac_cv_have___builtin_popcount+y}
20880 printf %s
"(cached) " >&6
20882 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20883 /* end confdefs.h. */
20888 return __builtin_popcount(1)
20893 if ac_fn_c_try_link
"$LINENO"
20895 ac_cv_have___builtin_popcount
="yes"
20897 ac_cv_have___builtin_popcount
="no"
20899 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20900 conftest
$ac_exeext conftest.
$ac_ext
20902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20903 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20904 if test "$ac_cv_have___builtin_popcount" = "yes"
20907 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20912 printf %s
"checking for __clear_cache... " >&6; }
20913 if test ${ac_cv_have___clear_cache+y}
20915 printf %s
"(cached) " >&6
20917 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20918 /* end confdefs.h. */
20923 __clear_cache((void*)0, (void*)0); return 0;
20928 if ac_fn_c_try_link
"$LINENO"
20930 ac_cv_have___clear_cache
="yes"
20932 ac_cv_have___clear_cache
="no"
20934 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20935 conftest
$ac_exeext conftest.
$ac_ext
20937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20938 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20939 if test "$ac_cv_have___clear_cache" = "yes"
20942 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20948 *i
[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20949 printf %s
"checking whether we need to define __i386__... " >&6; }
20950 if test ${ac_cv_cpp_def___i386__+y}
20952 printf %s
"(cached) " >&6
20954 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20955 /* end confdefs.h. */
20960 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20961 $EGREP "yes" >/dev
/null
2>&1
20963 ac_cv_cpp_def___i386__
=yes
20965 ac_cv_cpp_def___i386__
=no
20970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20971 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20972 if test "x$ac_cv_cpp_def___i386__" = xyes
20974 CFLAGS
="$CFLAGS -D__i386__"
20975 LINTFLAGS
="$LINTFLAGS -D__i386__"
20977 *x86_64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20978 printf %s
"checking whether we need to define __x86_64__... " >&6; }
20979 if test ${ac_cv_cpp_def___x86_64__+y}
20981 printf %s
"(cached) " >&6
20983 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20984 /* end confdefs.h. */
20989 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20990 $EGREP "yes" >/dev
/null
2>&1
20992 ac_cv_cpp_def___x86_64__
=yes
20994 ac_cv_cpp_def___x86_64__
=no
20999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
21000 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
21001 if test "x$ac_cv_cpp_def___x86_64__" = xyes
21003 CFLAGS
="$CFLAGS -D__x86_64__"
21004 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
21006 *sparc64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
21007 printf %s
"checking whether we need to define __sparc64__... " >&6; }
21008 if test ${ac_cv_cpp_def___sparc64__+y}
21010 printf %s
"(cached) " >&6
21012 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21013 /* end confdefs.h. */
21014 #ifndef __sparc64__
21018 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21019 $EGREP "yes" >/dev
/null
2>&1
21021 ac_cv_cpp_def___sparc64__
=yes
21023 ac_cv_cpp_def___sparc64__
=no
21028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
21029 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
21030 if test "x$ac_cv_cpp_def___sparc64__" = xyes
21032 CFLAGS
="$CFLAGS -D__sparc64__"
21033 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
21035 *sparc
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
21036 printf %s
"checking whether we need to define __sparc__... " >&6; }
21037 if test ${ac_cv_cpp_def___sparc__+y}
21039 printf %s
"(cached) " >&6
21041 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21042 /* end confdefs.h. */
21047 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21048 $EGREP "yes" >/dev
/null
2>&1
21050 ac_cv_cpp_def___sparc__
=yes
21052 ac_cv_cpp_def___sparc__
=no
21057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
21058 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
21059 if test "x$ac_cv_cpp_def___sparc__" = xyes
21061 CFLAGS
="$CFLAGS -D__sparc__"
21062 LINTFLAGS
="$LINTFLAGS -D__sparc__"
21064 *powerpc64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
21065 printf %s
"checking whether we need to define __powerpc64__... " >&6; }
21066 if test ${ac_cv_cpp_def___powerpc64__+y}
21068 printf %s
"(cached) " >&6
21070 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21071 /* end confdefs.h. */
21072 #ifndef __powerpc64__
21076 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21077 $EGREP "yes" >/dev
/null
2>&1
21079 ac_cv_cpp_def___powerpc64__
=yes
21081 ac_cv_cpp_def___powerpc64__
=no
21086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
21087 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
21088 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
21090 CFLAGS
="$CFLAGS -D__powerpc64__"
21091 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
21093 *powerpc
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
21094 printf %s
"checking whether we need to define __powerpc__... " >&6; }
21095 if test ${ac_cv_cpp_def___powerpc__+y}
21097 printf %s
"(cached) " >&6
21099 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21100 /* end confdefs.h. */
21101 #ifndef __powerpc__
21105 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21106 $EGREP "yes" >/dev
/null
2>&1
21108 ac_cv_cpp_def___powerpc__
=yes
21110 ac_cv_cpp_def___powerpc__
=no
21115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
21116 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
21117 if test "x$ac_cv_cpp_def___powerpc__" = xyes
21119 CFLAGS
="$CFLAGS -D__powerpc__"
21120 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
21122 *aarch64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
21123 printf %s
"checking whether we need to define __aarch64__... " >&6; }
21124 if test ${ac_cv_cpp_def___aarch64__+y}
21126 printf %s
"(cached) " >&6
21128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21129 /* end confdefs.h. */
21130 #ifndef __aarch64__
21134 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21135 $EGREP "yes" >/dev
/null
2>&1
21137 ac_cv_cpp_def___aarch64__
=yes
21139 ac_cv_cpp_def___aarch64__
=no
21144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
21145 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
21146 if test "x$ac_cv_cpp_def___aarch64__" = xyes
21148 CFLAGS
="$CFLAGS -D__aarch64__"
21149 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
21151 *arm
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
21152 printf %s
"checking whether we need to define __arm__... " >&6; }
21153 if test ${ac_cv_cpp_def___arm__+y}
21155 printf %s
"(cached) " >&6
21157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21158 /* end confdefs.h. */
21163 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21164 $EGREP "yes" >/dev
/null
2>&1
21166 ac_cv_cpp_def___arm__
=yes
21168 ac_cv_cpp_def___arm__
=no
21173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21174 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21175 if test "x$ac_cv_cpp_def___arm__" = xyes
21177 CFLAGS
="$CFLAGS -D__arm__"
21178 LINTFLAGS
="$LINTFLAGS -D__arm__"
21182 case $host_vendor in
21183 *sun
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21184 printf %s
"checking whether we need to define __sun__... " >&6; }
21185 if test ${ac_cv_cpp_def___sun__+y}
21187 printf %s
"(cached) " >&6
21189 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21190 /* end confdefs.h. */
21195 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21196 $EGREP "yes" >/dev
/null
2>&1
21198 ac_cv_cpp_def___sun__
=yes
21200 ac_cv_cpp_def___sun__
=no
21205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21206 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21207 if test "x$ac_cv_cpp_def___sun__" = xyes
21209 CFLAGS
="$CFLAGS -D__sun__"
21210 LINTFLAGS
="$LINTFLAGS -D__sun__"
21218 ac_config_commands
="$ac_config_commands include/stamp-h"
21220 printf %s
"creating Makefile rules..." >&6
21223 test "x$enable_silent_rules" = xyes
&& makedep_flags
="$makedep_flags -S"
21226 test "$srcdir" = . || wine_srcdir
="$srcdir/"
21228 ac_config_links
="$ac_config_links wine:tools/winewrapper"
21229 wine_fn_config_symlink wine
21230 if test "x$enable_win64" != xno
-o -n "$with_wine64"; then
21231 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
21232 wine_fn_config_symlink wine64
21235 wine_fn_config_makefile dlls
/acledit enable_acledit
21236 wine_fn_config_makefile dlls
/aclui enable_aclui
21237 wine_fn_config_makefile dlls
/activeds.tlb enable_activeds_tlb
21238 wine_fn_config_makefile dlls
/activeds enable_activeds
21239 wine_fn_config_makefile dlls
/activeds
/tests enable_tests
21240 wine_fn_config_makefile dlls
/actxprxy enable_actxprxy
21241 wine_fn_config_makefile dlls
/adsldp enable_adsldp
21242 wine_fn_config_makefile dlls
/adsldp
/tests enable_tests
21243 wine_fn_config_makefile dlls
/adsldpc enable_adsldpc
21244 wine_fn_config_makefile dlls
/advapi32 enable_advapi32
21245 wine_fn_config_makefile dlls
/advapi32
/tests enable_tests
21246 wine_fn_config_makefile dlls
/advpack enable_advpack
21247 wine_fn_config_makefile dlls
/advpack
/tests enable_tests
21248 wine_fn_config_makefile dlls
/amsi enable_amsi
21249 wine_fn_config_makefile dlls
/amstream enable_amstream
21250 wine_fn_config_makefile dlls
/amstream
/tests enable_tests
21251 wine_fn_config_makefile dlls
/apisetschema enable_apisetschema
21252 wine_fn_config_makefile dlls
/apphelp enable_apphelp
21253 wine_fn_config_makefile dlls
/apphelp
/tests enable_tests
21254 wine_fn_config_makefile dlls
/appwiz.cpl enable_appwiz_cpl
21255 wine_fn_config_makefile dlls
/atl enable_atl
21256 wine_fn_config_makefile dlls
/atl
/tests enable_tests
21257 wine_fn_config_makefile dlls
/atl100 enable_atl100
21258 wine_fn_config_makefile dlls
/atl100
/tests enable_tests
21259 wine_fn_config_makefile dlls
/atl110 enable_atl110
21260 wine_fn_config_makefile dlls
/atl110
/tests enable_tests
21261 wine_fn_config_makefile dlls
/atl80 enable_atl80
21262 wine_fn_config_makefile dlls
/atl80
/tests enable_tests
21263 wine_fn_config_makefile dlls
/atl90 enable_atl90
21264 wine_fn_config_makefile dlls
/atlthunk enable_atlthunk
21265 wine_fn_config_makefile dlls
/atlthunk
/tests enable_tests
21266 wine_fn_config_makefile dlls
/atmlib enable_atmlib
21267 wine_fn_config_makefile dlls
/authz enable_authz
21268 wine_fn_config_makefile dlls
/avicap32 enable_avicap32
21269 wine_fn_config_makefile dlls
/avifil32 enable_avifil32
21270 wine_fn_config_makefile dlls
/avifil32
/tests enable_tests
21271 wine_fn_config_makefile dlls
/avifile.dll16 enable_win16
21272 wine_fn_config_makefile dlls
/avrt enable_avrt
21273 wine_fn_config_makefile dlls
/bcrypt enable_bcrypt
21274 wine_fn_config_makefile dlls
/bcrypt
/tests enable_tests
21275 wine_fn_config_makefile dlls
/bluetoothapis enable_bluetoothapis
21276 wine_fn_config_makefile dlls
/browseui enable_browseui
21277 wine_fn_config_makefile dlls
/browseui
/tests enable_tests
21278 wine_fn_config_makefile dlls
/bthprops.cpl enable_bthprops_cpl
21279 wine_fn_config_makefile dlls
/cabinet enable_cabinet
21280 wine_fn_config_makefile dlls
/cabinet
/tests enable_tests
21281 wine_fn_config_makefile dlls
/capi2032 enable_capi2032
21282 wine_fn_config_makefile dlls
/cards enable_cards
21283 wine_fn_config_makefile dlls
/cdosys enable_cdosys
21284 wine_fn_config_makefile dlls
/cfgmgr32 enable_cfgmgr32
21285 wine_fn_config_makefile dlls
/clusapi enable_clusapi
21286 wine_fn_config_makefile dlls
/cng.sys enable_cng_sys
21287 wine_fn_config_makefile dlls
/combase enable_combase
21288 wine_fn_config_makefile dlls
/combase
/tests enable_tests
21289 wine_fn_config_makefile dlls
/comcat enable_comcat
21290 wine_fn_config_makefile dlls
/comcat
/tests enable_tests
21291 wine_fn_config_makefile dlls
/comctl32 enable_comctl32
21292 wine_fn_config_makefile dlls
/comctl32
/tests enable_tests
21293 wine_fn_config_makefile dlls
/comdlg32 enable_comdlg32
21294 wine_fn_config_makefile dlls
/comdlg32
/tests enable_tests
21295 wine_fn_config_makefile dlls
/comm.drv16 enable_win16
21296 wine_fn_config_makefile dlls
/commdlg.dll16 enable_win16
21297 wine_fn_config_makefile dlls
/compobj.dll16 enable_win16
21298 wine_fn_config_makefile dlls
/compstui enable_compstui
21299 wine_fn_config_makefile dlls
/comsvcs enable_comsvcs
21300 wine_fn_config_makefile dlls
/comsvcs
/tests enable_tests
21301 wine_fn_config_makefile dlls
/concrt140 enable_concrt140
21302 wine_fn_config_makefile dlls
/concrt140
/tests enable_tests
21303 wine_fn_config_makefile dlls
/connect enable_connect
21304 wine_fn_config_makefile dlls
/credui enable_credui
21305 wine_fn_config_makefile dlls
/credui
/tests enable_tests
21306 wine_fn_config_makefile dlls
/crtdll enable_crtdll
21307 wine_fn_config_makefile dlls
/crypt32 enable_crypt32
21308 wine_fn_config_makefile dlls
/crypt32
/tests enable_tests
21309 wine_fn_config_makefile dlls
/cryptdlg enable_cryptdlg
21310 wine_fn_config_makefile dlls
/cryptdll enable_cryptdll
21311 wine_fn_config_makefile dlls
/cryptext enable_cryptext
21312 wine_fn_config_makefile dlls
/cryptnet enable_cryptnet
21313 wine_fn_config_makefile dlls
/cryptnet
/tests enable_tests
21314 wine_fn_config_makefile dlls
/cryptsp enable_cryptsp
21315 wine_fn_config_makefile dlls
/cryptui enable_cryptui
21316 wine_fn_config_makefile dlls
/cryptui
/tests enable_tests
21317 wine_fn_config_makefile dlls
/ctapi32 enable_ctapi32
21318 wine_fn_config_makefile dlls
/ctl3d.dll16 enable_win16
21319 wine_fn_config_makefile dlls
/ctl3d32 enable_ctl3d32
21320 wine_fn_config_makefile dlls
/ctl3dv2.dll16 enable_win16
21321 wine_fn_config_makefile dlls
/d2d1 enable_d2d1
21322 wine_fn_config_makefile dlls
/d2d
1/tests enable_tests
21323 wine_fn_config_makefile dlls
/d3d10 enable_d3d10
21324 wine_fn_config_makefile dlls
/d3d10
/tests enable_tests
21325 wine_fn_config_makefile dlls
/d3d10_1 enable_d3d10_1
21326 wine_fn_config_makefile dlls
/d3d10_
1/tests enable_tests
21327 wine_fn_config_makefile dlls
/d3d10core enable_d3d10core
21328 wine_fn_config_makefile dlls
/d3d10core
/tests enable_tests
21329 wine_fn_config_makefile dlls
/d3d11 enable_d3d11
21330 wine_fn_config_makefile dlls
/d3d11
/tests enable_tests
21331 wine_fn_config_makefile dlls
/d3d12 enable_d3d12
21332 wine_fn_config_makefile dlls
/d3d12
/tests enable_tests
21333 wine_fn_config_makefile dlls
/d3d8 enable_d3d8
21334 wine_fn_config_makefile dlls
/d3d
8/tests enable_tests
21335 wine_fn_config_makefile dlls
/d3d8thk enable_d3d8thk
21336 wine_fn_config_makefile dlls
/d3d9 enable_d3d9
21337 wine_fn_config_makefile dlls
/d3d
9/tests enable_tests
21338 wine_fn_config_makefile dlls
/d3dcompiler_33 enable_d3dcompiler_33
21339 wine_fn_config_makefile dlls
/d3dcompiler_34 enable_d3dcompiler_34
21340 wine_fn_config_makefile dlls
/d3dcompiler_35 enable_d3dcompiler_35
21341 wine_fn_config_makefile dlls
/d3dcompiler_36 enable_d3dcompiler_36
21342 wine_fn_config_makefile dlls
/d3dcompiler_37 enable_d3dcompiler_37
21343 wine_fn_config_makefile dlls
/d3dcompiler_38 enable_d3dcompiler_38
21344 wine_fn_config_makefile dlls
/d3dcompiler_39 enable_d3dcompiler_39
21345 wine_fn_config_makefile dlls
/d3dcompiler_40 enable_d3dcompiler_40
21346 wine_fn_config_makefile dlls
/d3dcompiler_41 enable_d3dcompiler_41
21347 wine_fn_config_makefile dlls
/d3dcompiler_42 enable_d3dcompiler_42
21348 wine_fn_config_makefile dlls
/d3dcompiler_43 enable_d3dcompiler_43
21349 wine_fn_config_makefile dlls
/d3dcompiler_43
/tests enable_tests
21350 wine_fn_config_makefile dlls
/d3dcompiler_46 enable_d3dcompiler_46
21351 wine_fn_config_makefile dlls
/d3dcompiler_46
/tests enable_tests
21352 wine_fn_config_makefile dlls
/d3dcompiler_47 enable_d3dcompiler_47
21353 wine_fn_config_makefile dlls
/d3dcompiler_47
/tests enable_tests
21354 wine_fn_config_makefile dlls
/d3dim enable_d3dim
21355 wine_fn_config_makefile dlls
/d3dim700 enable_d3dim700
21356 wine_fn_config_makefile dlls
/d3drm enable_d3drm
21357 wine_fn_config_makefile dlls
/d3drm
/tests enable_tests
21358 wine_fn_config_makefile dlls
/d3dx10_33 enable_d3dx10_33
21359 wine_fn_config_makefile dlls
/d3dx10_34 enable_d3dx10_34
21360 wine_fn_config_makefile dlls
/d3dx10_34
/tests enable_tests
21361 wine_fn_config_makefile dlls
/d3dx10_35 enable_d3dx10_35
21362 wine_fn_config_makefile dlls
/d3dx10_35
/tests enable_tests
21363 wine_fn_config_makefile dlls
/d3dx10_36 enable_d3dx10_36
21364 wine_fn_config_makefile dlls
/d3dx10_36
/tests enable_tests
21365 wine_fn_config_makefile dlls
/d3dx10_37 enable_d3dx10_37
21366 wine_fn_config_makefile dlls
/d3dx10_37
/tests enable_tests
21367 wine_fn_config_makefile dlls
/d3dx10_38 enable_d3dx10_38
21368 wine_fn_config_makefile dlls
/d3dx10_38
/tests enable_tests
21369 wine_fn_config_makefile dlls
/d3dx10_39 enable_d3dx10_39
21370 wine_fn_config_makefile dlls
/d3dx10_39
/tests enable_tests
21371 wine_fn_config_makefile dlls
/d3dx10_40 enable_d3dx10_40
21372 wine_fn_config_makefile dlls
/d3dx10_40
/tests enable_tests
21373 wine_fn_config_makefile dlls
/d3dx10_41 enable_d3dx10_41
21374 wine_fn_config_makefile dlls
/d3dx10_41
/tests enable_tests
21375 wine_fn_config_makefile dlls
/d3dx10_42 enable_d3dx10_42
21376 wine_fn_config_makefile dlls
/d3dx10_42
/tests enable_tests
21377 wine_fn_config_makefile dlls
/d3dx10_43 enable_d3dx10_43
21378 wine_fn_config_makefile dlls
/d3dx10_43
/tests enable_tests
21379 wine_fn_config_makefile dlls
/d3dx11_42 enable_d3dx11_42
21380 wine_fn_config_makefile dlls
/d3dx11_42
/tests enable_tests
21381 wine_fn_config_makefile dlls
/d3dx11_43 enable_d3dx11_43
21382 wine_fn_config_makefile dlls
/d3dx11_43
/tests enable_tests
21383 wine_fn_config_makefile dlls
/d3dx9_24 enable_d3dx9_24
21384 wine_fn_config_makefile dlls
/d3dx9_25 enable_d3dx9_25
21385 wine_fn_config_makefile dlls
/d3dx9_26 enable_d3dx9_26
21386 wine_fn_config_makefile dlls
/d3dx9_27 enable_d3dx9_27
21387 wine_fn_config_makefile dlls
/d3dx9_28 enable_d3dx9_28
21388 wine_fn_config_makefile dlls
/d3dx9_29 enable_d3dx9_29
21389 wine_fn_config_makefile dlls
/d3dx9_30 enable_d3dx9_30
21390 wine_fn_config_makefile dlls
/d3dx9_31 enable_d3dx9_31
21391 wine_fn_config_makefile dlls
/d3dx9_32 enable_d3dx9_32
21392 wine_fn_config_makefile dlls
/d3dx9_33 enable_d3dx9_33
21393 wine_fn_config_makefile dlls
/d3dx9_34 enable_d3dx9_34
21394 wine_fn_config_makefile dlls
/d3dx9_35 enable_d3dx9_35
21395 wine_fn_config_makefile dlls
/d3dx9_36 enable_d3dx9_36
21396 wine_fn_config_makefile dlls
/d3dx9_36
/tests enable_tests
21397 wine_fn_config_makefile dlls
/d3dx9_37 enable_d3dx9_37
21398 wine_fn_config_makefile dlls
/d3dx9_38 enable_d3dx9_38
21399 wine_fn_config_makefile dlls
/d3dx9_39 enable_d3dx9_39
21400 wine_fn_config_makefile dlls
/d3dx9_40 enable_d3dx9_40
21401 wine_fn_config_makefile dlls
/d3dx9_41 enable_d3dx9_41
21402 wine_fn_config_makefile dlls
/d3dx9_42 enable_d3dx9_42
21403 wine_fn_config_makefile dlls
/d3dx9_43 enable_d3dx9_43
21404 wine_fn_config_makefile dlls
/d3dxof enable_d3dxof
21405 wine_fn_config_makefile dlls
/d3dxof
/tests enable_tests
21406 wine_fn_config_makefile dlls
/davclnt enable_davclnt
21407 wine_fn_config_makefile dlls
/dbgeng enable_dbgeng
21408 wine_fn_config_makefile dlls
/dbgeng
/tests enable_tests
21409 wine_fn_config_makefile dlls
/dbghelp enable_dbghelp
21410 wine_fn_config_makefile dlls
/dbghelp
/tests enable_tests
21411 wine_fn_config_makefile dlls
/dciman32 enable_dciman32
21412 wine_fn_config_makefile dlls
/dcomp enable_dcomp
21413 wine_fn_config_makefile dlls
/ddeml.dll16 enable_win16
21414 wine_fn_config_makefile dlls
/ddraw enable_ddraw
21415 wine_fn_config_makefile dlls
/ddraw
/tests enable_tests
21416 wine_fn_config_makefile dlls
/ddrawex enable_ddrawex
21417 wine_fn_config_makefile dlls
/ddrawex
/tests enable_tests
21418 wine_fn_config_makefile dlls
/devenum enable_devenum
21419 wine_fn_config_makefile dlls
/devenum
/tests enable_tests
21420 wine_fn_config_makefile dlls
/dhcpcsvc enable_dhcpcsvc
21421 wine_fn_config_makefile dlls
/dhcpcsvc
/tests enable_tests
21422 wine_fn_config_makefile dlls
/dhcpcsvc6 enable_dhcpcsvc6
21423 wine_fn_config_makefile dlls
/dhtmled.ocx enable_dhtmled_ocx
21424 wine_fn_config_makefile dlls
/diasymreader enable_diasymreader
21425 wine_fn_config_makefile dlls
/difxapi enable_difxapi
21426 wine_fn_config_makefile dlls
/dinput enable_dinput
21427 wine_fn_config_makefile dlls
/dinput
/tests enable_tests
21428 wine_fn_config_makefile dlls
/dinput8 enable_dinput8
21429 wine_fn_config_makefile dlls
/directmanipulation enable_directmanipulation
21430 wine_fn_config_makefile dlls
/directmanipulation
/tests enable_tests
21431 wine_fn_config_makefile dlls
/dispdib.dll16 enable_win16
21432 wine_fn_config_makefile dlls
/dispex enable_dispex
21433 wine_fn_config_makefile dlls
/dispex
/tests enable_tests
21434 wine_fn_config_makefile dlls
/display.drv16 enable_win16
21435 wine_fn_config_makefile dlls
/dmband enable_dmband
21436 wine_fn_config_makefile dlls
/dmband
/tests enable_tests
21437 wine_fn_config_makefile dlls
/dmcompos enable_dmcompos
21438 wine_fn_config_makefile dlls
/dmcompos
/tests enable_tests
21439 wine_fn_config_makefile dlls
/dmime enable_dmime
21440 wine_fn_config_makefile dlls
/dmime
/tests enable_tests
21441 wine_fn_config_makefile dlls
/dmloader enable_dmloader
21442 wine_fn_config_makefile dlls
/dmloader
/tests enable_tests
21443 wine_fn_config_makefile dlls
/dmscript enable_dmscript
21444 wine_fn_config_makefile dlls
/dmscript
/tests enable_tests
21445 wine_fn_config_makefile dlls
/dmstyle enable_dmstyle
21446 wine_fn_config_makefile dlls
/dmstyle
/tests enable_tests
21447 wine_fn_config_makefile dlls
/dmsynth enable_dmsynth
21448 wine_fn_config_makefile dlls
/dmsynth
/tests enable_tests
21449 wine_fn_config_makefile dlls
/dmusic enable_dmusic
21450 wine_fn_config_makefile dlls
/dmusic
/tests enable_tests
21451 wine_fn_config_makefile dlls
/dmusic32 enable_dmusic32
21452 wine_fn_config_makefile dlls
/dnsapi enable_dnsapi
21453 wine_fn_config_makefile dlls
/dnsapi
/tests enable_tests
21454 wine_fn_config_makefile dlls
/dplay enable_dplay
21455 wine_fn_config_makefile dlls
/dplayx enable_dplayx
21456 wine_fn_config_makefile dlls
/dplayx
/tests enable_tests
21457 wine_fn_config_makefile dlls
/dpnaddr enable_dpnaddr
21458 wine_fn_config_makefile dlls
/dpnet enable_dpnet
21459 wine_fn_config_makefile dlls
/dpnet
/tests enable_tests
21460 wine_fn_config_makefile dlls
/dpnhpast enable_dpnhpast
21461 wine_fn_config_makefile dlls
/dpnhupnp enable_dpnhupnp
21462 wine_fn_config_makefile dlls
/dpnlobby enable_dpnlobby
21463 wine_fn_config_makefile dlls
/dpvoice enable_dpvoice
21464 wine_fn_config_makefile dlls
/dpvoice
/tests enable_tests
21465 wine_fn_config_makefile dlls
/dpwsockx enable_dpwsockx
21466 wine_fn_config_makefile dlls
/drmclien enable_drmclien
21467 wine_fn_config_makefile dlls
/dsdmo enable_dsdmo
21468 wine_fn_config_makefile dlls
/dsdmo
/tests enable_tests
21469 wine_fn_config_makefile dlls
/dsound enable_dsound
21470 wine_fn_config_makefile dlls
/dsound
/tests enable_tests
21471 wine_fn_config_makefile dlls
/dsquery enable_dsquery
21472 wine_fn_config_makefile dlls
/dssenh enable_dssenh
21473 wine_fn_config_makefile dlls
/dssenh
/tests enable_tests
21474 wine_fn_config_makefile dlls
/dsuiext enable_dsuiext
21475 wine_fn_config_makefile dlls
/dswave enable_dswave
21476 wine_fn_config_makefile dlls
/dswave
/tests enable_tests
21477 wine_fn_config_makefile dlls
/dwmapi enable_dwmapi
21478 wine_fn_config_makefile dlls
/dwmapi
/tests enable_tests
21479 wine_fn_config_makefile dlls
/dwrite enable_dwrite
21480 wine_fn_config_makefile dlls
/dwrite
/tests enable_tests
21481 wine_fn_config_makefile dlls
/dx8vb enable_dx8vb
21482 wine_fn_config_makefile dlls
/dxdiagn enable_dxdiagn
21483 wine_fn_config_makefile dlls
/dxdiagn
/tests enable_tests
21484 wine_fn_config_makefile dlls
/dxgi enable_dxgi
21485 wine_fn_config_makefile dlls
/dxgi
/tests enable_tests
21486 wine_fn_config_makefile dlls
/dxtrans enable_dxtrans
21487 wine_fn_config_makefile dlls
/dxva2 enable_dxva2
21488 wine_fn_config_makefile dlls
/dxva
2/tests enable_tests
21489 wine_fn_config_makefile dlls
/esent enable_esent
21490 wine_fn_config_makefile dlls
/evr enable_evr
21491 wine_fn_config_makefile dlls
/evr
/tests enable_tests
21492 wine_fn_config_makefile dlls
/explorerframe enable_explorerframe
21493 wine_fn_config_makefile dlls
/explorerframe
/tests enable_tests
21494 wine_fn_config_makefile dlls
/faultrep enable_faultrep
21495 wine_fn_config_makefile dlls
/faultrep
/tests enable_tests
21496 wine_fn_config_makefile dlls
/feclient enable_feclient
21497 wine_fn_config_makefile dlls
/fltlib enable_fltlib
21498 wine_fn_config_makefile dlls
/fltmgr.sys enable_fltmgr_sys
21499 wine_fn_config_makefile dlls
/fntcache enable_fntcache
21500 wine_fn_config_makefile dlls
/fontsub enable_fontsub
21501 wine_fn_config_makefile dlls
/fusion enable_fusion
21502 wine_fn_config_makefile dlls
/fusion
/tests enable_tests
21503 wine_fn_config_makefile dlls
/fwpuclnt enable_fwpuclnt
21504 wine_fn_config_makefile dlls
/gameux enable_gameux
21505 wine_fn_config_makefile dlls
/gameux
/tests enable_tests
21506 wine_fn_config_makefile dlls
/gamingtcui enable_gamingtcui
21507 wine_fn_config_makefile dlls
/gdi.exe16 enable_win16
21508 wine_fn_config_makefile dlls
/gdi32 enable_gdi32
21509 wine_fn_config_makefile dlls
/gdi32
/tests enable_tests
21510 wine_fn_config_makefile dlls
/gdiplus enable_gdiplus
21511 wine_fn_config_makefile dlls
/gdiplus
/tests enable_tests
21512 wine_fn_config_makefile dlls
/glu32 enable_glu32
21513 wine_fn_config_makefile dlls
/gphoto2.ds enable_gphoto2_ds
21514 wine_fn_config_makefile dlls
/gpkcsp enable_gpkcsp
21515 wine_fn_config_makefile dlls
/hal enable_hal
21516 wine_fn_config_makefile dlls
/hhctrl.ocx enable_hhctrl_ocx
21517 wine_fn_config_makefile dlls
/hid enable_hid
21518 wine_fn_config_makefile dlls
/hid
/tests enable_tests
21519 wine_fn_config_makefile dlls
/hidclass.sys enable_hidclass_sys
21520 wine_fn_config_makefile dlls
/hidparse.sys enable_hidparse_sys
21521 wine_fn_config_makefile dlls
/hlink enable_hlink
21522 wine_fn_config_makefile dlls
/hlink
/tests enable_tests
21523 wine_fn_config_makefile dlls
/hnetcfg enable_hnetcfg
21524 wine_fn_config_makefile dlls
/hnetcfg
/tests enable_tests
21525 wine_fn_config_makefile dlls
/http.sys enable_http_sys
21526 wine_fn_config_makefile dlls
/httpapi enable_httpapi
21527 wine_fn_config_makefile dlls
/httpapi
/tests enable_tests
21528 wine_fn_config_makefile dlls
/ia2comproxy enable_ia2comproxy
21529 wine_fn_config_makefile dlls
/iccvid enable_iccvid
21530 wine_fn_config_makefile dlls
/icmp enable_icmp
21531 wine_fn_config_makefile dlls
/ieframe enable_ieframe
21532 wine_fn_config_makefile dlls
/ieframe
/tests enable_tests
21533 wine_fn_config_makefile dlls
/ieproxy enable_ieproxy
21534 wine_fn_config_makefile dlls
/ifsmgr.vxd enable_win16
21535 wine_fn_config_makefile dlls
/imaadp32.acm enable_imaadp32_acm
21536 wine_fn_config_makefile dlls
/imagehlp enable_imagehlp
21537 wine_fn_config_makefile dlls
/imagehlp
/tests enable_tests
21538 wine_fn_config_makefile dlls
/imm.dll16 enable_win16
21539 wine_fn_config_makefile dlls
/imm32 enable_imm32
21540 wine_fn_config_makefile dlls
/imm32
/tests enable_tests
21541 wine_fn_config_makefile dlls
/inetcomm enable_inetcomm
21542 wine_fn_config_makefile dlls
/inetcomm
/tests enable_tests
21543 wine_fn_config_makefile dlls
/inetcpl.cpl enable_inetcpl_cpl
21544 wine_fn_config_makefile dlls
/inetmib1 enable_inetmib1
21545 wine_fn_config_makefile dlls
/inetmib
1/tests enable_tests
21546 wine_fn_config_makefile dlls
/infosoft enable_infosoft
21547 wine_fn_config_makefile dlls
/infosoft
/tests enable_tests
21548 wine_fn_config_makefile dlls
/initpki enable_initpki
21549 wine_fn_config_makefile dlls
/inkobj enable_inkobj
21550 wine_fn_config_makefile dlls
/inseng enable_inseng
21551 wine_fn_config_makefile dlls
/iphlpapi enable_iphlpapi
21552 wine_fn_config_makefile dlls
/iphlpapi
/tests enable_tests
21553 wine_fn_config_makefile dlls
/iprop enable_iprop
21554 wine_fn_config_makefile dlls
/irprops.cpl enable_irprops_cpl
21555 wine_fn_config_makefile dlls
/itircl enable_itircl
21556 wine_fn_config_makefile dlls
/itss enable_itss
21557 wine_fn_config_makefile dlls
/itss
/tests enable_tests
21558 wine_fn_config_makefile dlls
/joy.cpl enable_joy_cpl
21559 wine_fn_config_makefile dlls
/jscript enable_jscript
21560 wine_fn_config_makefile dlls
/jscript
/tests enable_tests
21561 wine_fn_config_makefile dlls
/jsproxy enable_jsproxy
21562 wine_fn_config_makefile dlls
/jsproxy
/tests enable_tests
21563 wine_fn_config_makefile dlls
/kerberos enable_kerberos
21564 wine_fn_config_makefile dlls
/kernel32 enable_kernel32
21565 wine_fn_config_makefile dlls
/kernel32
/tests enable_tests
21566 wine_fn_config_makefile dlls
/kernelbase enable_kernelbase
21567 wine_fn_config_makefile dlls
/kernelbase
/tests enable_tests
21568 wine_fn_config_makefile dlls
/keyboard.drv16 enable_win16
21569 wine_fn_config_makefile dlls
/krnl386.exe16 enable_win16
21570 wine_fn_config_makefile dlls
/ksecdd.sys enable_ksecdd_sys
21571 wine_fn_config_makefile dlls
/ksproxy.ax enable_ksproxy_ax
21572 wine_fn_config_makefile dlls
/ksuser enable_ksuser
21573 wine_fn_config_makefile dlls
/ktmw32 enable_ktmw32
21574 wine_fn_config_makefile dlls
/l3codeca.acm enable_l3codeca_acm
21575 wine_fn_config_makefile dlls
/light.msstyles enable_light_msstyles
21576 wine_fn_config_makefile dlls
/loadperf enable_loadperf
21577 wine_fn_config_makefile dlls
/localspl enable_localspl
21578 wine_fn_config_makefile dlls
/localspl
/tests enable_tests
21579 wine_fn_config_makefile dlls
/localui enable_localui
21580 wine_fn_config_makefile dlls
/localui
/tests enable_tests
21581 wine_fn_config_makefile dlls
/lz32 enable_lz32
21582 wine_fn_config_makefile dlls
/lz32
/tests enable_tests
21583 wine_fn_config_makefile dlls
/lzexpand.dll16 enable_win16
21584 wine_fn_config_makefile dlls
/mapi32 enable_mapi32
21585 wine_fn_config_makefile dlls
/mapi32
/tests enable_tests
21586 wine_fn_config_makefile dlls
/mapistub enable_mapistub
21587 wine_fn_config_makefile dlls
/mciavi32 enable_mciavi32
21588 wine_fn_config_makefile dlls
/mcicda enable_mcicda
21589 wine_fn_config_makefile dlls
/mciqtz32 enable_mciqtz32
21590 wine_fn_config_makefile dlls
/mciseq enable_mciseq
21591 wine_fn_config_makefile dlls
/mciwave enable_mciwave
21592 wine_fn_config_makefile dlls
/mf enable_mf
21593 wine_fn_config_makefile dlls
/mf
/tests enable_tests
21594 wine_fn_config_makefile dlls
/mf3216 enable_mf3216
21595 wine_fn_config_makefile dlls
/mferror enable_mferror
21596 wine_fn_config_makefile dlls
/mfmediaengine enable_mfmediaengine
21597 wine_fn_config_makefile dlls
/mfmediaengine
/tests enable_tests
21598 wine_fn_config_makefile dlls
/mfplat enable_mfplat
21599 wine_fn_config_makefile dlls
/mfplat
/tests enable_tests
21600 wine_fn_config_makefile dlls
/mfplay enable_mfplay
21601 wine_fn_config_makefile dlls
/mfplay
/tests enable_tests
21602 wine_fn_config_makefile dlls
/mfreadwrite enable_mfreadwrite
21603 wine_fn_config_makefile dlls
/mfreadwrite
/tests enable_tests
21604 wine_fn_config_makefile dlls
/mfsrcsnk enable_mfsrcsnk
21605 wine_fn_config_makefile dlls
/mfsrcsnk
/tests enable_tests
21606 wine_fn_config_makefile dlls
/mgmtapi enable_mgmtapi
21607 wine_fn_config_makefile dlls
/midimap enable_midimap
21608 wine_fn_config_makefile dlls
/mlang enable_mlang
21609 wine_fn_config_makefile dlls
/mlang
/tests enable_tests
21610 wine_fn_config_makefile dlls
/mmcndmgr enable_mmcndmgr
21611 wine_fn_config_makefile dlls
/mmcndmgr
/tests enable_tests
21612 wine_fn_config_makefile dlls
/mmdevapi enable_mmdevapi
21613 wine_fn_config_makefile dlls
/mmdevapi
/tests enable_tests
21614 wine_fn_config_makefile dlls
/mmdevldr.vxd enable_win16
21615 wine_fn_config_makefile dlls
/mmsystem.dll16 enable_win16
21616 wine_fn_config_makefile dlls
/monodebg.vxd enable_win16
21617 wine_fn_config_makefile dlls
/mountmgr.sys enable_mountmgr_sys
21618 wine_fn_config_makefile dlls
/mouse.drv16 enable_win16
21619 wine_fn_config_makefile dlls
/mp3dmod enable_mp3dmod
21620 wine_fn_config_makefile dlls
/mp3dmod
/tests enable_tests
21621 wine_fn_config_makefile dlls
/mpr enable_mpr
21622 wine_fn_config_makefile dlls
/mpr
/tests enable_tests
21623 wine_fn_config_makefile dlls
/mprapi enable_mprapi
21624 wine_fn_config_makefile dlls
/msacm.dll16 enable_win16
21625 wine_fn_config_makefile dlls
/msacm32.drv enable_msacm32_drv
21626 wine_fn_config_makefile dlls
/msacm32 enable_msacm32
21627 wine_fn_config_makefile dlls
/msacm32
/tests enable_tests
21628 wine_fn_config_makefile dlls
/msado15 enable_msado15
21629 wine_fn_config_makefile dlls
/msado15
/tests enable_tests
21630 wine_fn_config_makefile dlls
/msadp32.acm enable_msadp32_acm
21631 wine_fn_config_makefile dlls
/msasn1 enable_msasn1
21632 wine_fn_config_makefile dlls
/msasn
1/tests enable_tests
21633 wine_fn_config_makefile dlls
/mscat32 enable_mscat32
21634 wine_fn_config_makefile dlls
/mscms enable_mscms
21635 wine_fn_config_makefile dlls
/mscms
/tests enable_tests
21636 wine_fn_config_makefile dlls
/mscoree enable_mscoree
21637 wine_fn_config_makefile dlls
/mscoree
/tests enable_tests
21638 wine_fn_config_makefile dlls
/mscorwks enable_mscorwks
21639 wine_fn_config_makefile dlls
/msctf enable_msctf
21640 wine_fn_config_makefile dlls
/msctf
/tests enable_tests
21641 wine_fn_config_makefile dlls
/msctfmonitor enable_msctfmonitor
21642 wine_fn_config_makefile dlls
/msctfp enable_msctfp
21643 wine_fn_config_makefile dlls
/msdaps enable_msdaps
21644 wine_fn_config_makefile dlls
/msdasql enable_msdasql
21645 wine_fn_config_makefile dlls
/msdasql
/tests enable_tests
21646 wine_fn_config_makefile dlls
/msdelta enable_msdelta
21647 wine_fn_config_makefile dlls
/msdmo enable_msdmo
21648 wine_fn_config_makefile dlls
/msdmo
/tests enable_tests
21649 wine_fn_config_makefile dlls
/msdrm enable_msdrm
21650 wine_fn_config_makefile dlls
/msftedit enable_msftedit
21651 wine_fn_config_makefile dlls
/msftedit
/tests enable_tests
21652 wine_fn_config_makefile dlls
/msg711.acm enable_msg711_acm
21653 wine_fn_config_makefile dlls
/msgsm32.acm enable_msgsm32_acm
21654 wine_fn_config_makefile dlls
/mshtml.tlb enable_mshtml_tlb
21655 wine_fn_config_makefile dlls
/mshtml enable_mshtml
21656 wine_fn_config_makefile dlls
/mshtml
/tests enable_tests
21657 wine_fn_config_makefile dlls
/msi enable_msi
21658 wine_fn_config_makefile dlls
/msi
/tests enable_tests
21659 wine_fn_config_makefile dlls
/msident enable_msident
21660 wine_fn_config_makefile dlls
/msimg32 enable_msimg32
21661 wine_fn_config_makefile dlls
/msimsg enable_msimsg
21662 wine_fn_config_makefile dlls
/msimtf enable_msimtf
21663 wine_fn_config_makefile dlls
/msisip enable_msisip
21664 wine_fn_config_makefile dlls
/msisys.ocx enable_msisys_ocx
21665 wine_fn_config_makefile dlls
/msls31 enable_msls31
21666 wine_fn_config_makefile dlls
/msnet32 enable_msnet32
21667 wine_fn_config_makefile dlls
/mspatcha enable_mspatcha
21668 wine_fn_config_makefile dlls
/mspatcha
/tests enable_tests
21669 wine_fn_config_makefile dlls
/msports enable_msports
21670 wine_fn_config_makefile dlls
/msrle32 enable_msrle32
21671 wine_fn_config_makefile dlls
/msrle32
/tests enable_tests
21672 wine_fn_config_makefile dlls
/msscript.ocx enable_msscript_ocx
21673 wine_fn_config_makefile dlls
/msscript.ocx
/tests enable_tests
21674 wine_fn_config_makefile dlls
/mssign32 enable_mssign32
21675 wine_fn_config_makefile dlls
/mssip32 enable_mssip32
21676 wine_fn_config_makefile dlls
/mstask enable_mstask
21677 wine_fn_config_makefile dlls
/mstask
/tests enable_tests
21678 wine_fn_config_makefile dlls
/msv1_0 enable_msv1_0
21679 wine_fn_config_makefile dlls
/msvcirt enable_msvcirt
21680 wine_fn_config_makefile dlls
/msvcirt
/tests enable_tests
21681 wine_fn_config_makefile dlls
/msvcm80 enable_msvcm80
21682 wine_fn_config_makefile dlls
/msvcm90 enable_msvcm90
21683 wine_fn_config_makefile dlls
/msvcp100 enable_msvcp100
21684 wine_fn_config_makefile dlls
/msvcp100
/tests enable_tests
21685 wine_fn_config_makefile dlls
/msvcp110 enable_msvcp110
21686 wine_fn_config_makefile dlls
/msvcp110
/tests enable_tests
21687 wine_fn_config_makefile dlls
/msvcp120 enable_msvcp120
21688 wine_fn_config_makefile dlls
/msvcp120
/tests enable_tests
21689 wine_fn_config_makefile dlls
/msvcp120_app enable_msvcp120_app
21690 wine_fn_config_makefile dlls
/msvcp140 enable_msvcp140
21691 wine_fn_config_makefile dlls
/msvcp140
/tests enable_tests
21692 wine_fn_config_makefile dlls
/msvcp140_1 enable_msvcp140_1
21693 wine_fn_config_makefile dlls
/msvcp140_
1/tests enable_tests
21694 wine_fn_config_makefile dlls
/msvcp140_2 enable_msvcp140_2
21695 wine_fn_config_makefile dlls
/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21696 wine_fn_config_makefile dlls
/msvcp140_atomic_wait
/tests enable_tests
21697 wine_fn_config_makefile dlls
/msvcp60 enable_msvcp60
21698 wine_fn_config_makefile dlls
/msvcp60
/tests enable_tests
21699 wine_fn_config_makefile dlls
/msvcp70 enable_msvcp70
21700 wine_fn_config_makefile dlls
/msvcp71 enable_msvcp71
21701 wine_fn_config_makefile dlls
/msvcp80 enable_msvcp80
21702 wine_fn_config_makefile dlls
/msvcp90 enable_msvcp90
21703 wine_fn_config_makefile dlls
/msvcp90
/tests enable_tests
21704 wine_fn_config_makefile dlls
/msvcp_win enable_msvcp_win
21705 wine_fn_config_makefile dlls
/msvcr100 enable_msvcr100
21706 wine_fn_config_makefile dlls
/msvcr100
/tests enable_tests
21707 wine_fn_config_makefile dlls
/msvcr110 enable_msvcr110
21708 wine_fn_config_makefile dlls
/msvcr110
/tests enable_tests
21709 wine_fn_config_makefile dlls
/msvcr120 enable_msvcr120
21710 wine_fn_config_makefile dlls
/msvcr120
/tests enable_tests
21711 wine_fn_config_makefile dlls
/msvcr120_app enable_msvcr120_app
21712 wine_fn_config_makefile dlls
/msvcr70 enable_msvcr70
21713 wine_fn_config_makefile dlls
/msvcr71 enable_msvcr71
21714 wine_fn_config_makefile dlls
/msvcr80 enable_msvcr80
21715 wine_fn_config_makefile dlls
/msvcr80
/tests enable_tests
21716 wine_fn_config_makefile dlls
/msvcr90 enable_msvcr90
21717 wine_fn_config_makefile dlls
/msvcr90
/tests enable_tests
21718 wine_fn_config_makefile dlls
/msvcrt enable_msvcrt
21719 wine_fn_config_makefile dlls
/msvcrt
/tests enable_tests
21720 wine_fn_config_makefile dlls
/msvcrt20 enable_msvcrt20
21721 wine_fn_config_makefile dlls
/msvcrt40 enable_msvcrt40
21722 wine_fn_config_makefile dlls
/msvcrtd enable_msvcrtd
21723 wine_fn_config_makefile dlls
/msvcrtd
/tests enable_tests
21724 wine_fn_config_makefile dlls
/msvfw32 enable_msvfw32
21725 wine_fn_config_makefile dlls
/msvfw32
/tests enable_tests
21726 wine_fn_config_makefile dlls
/msvidc32 enable_msvidc32
21727 wine_fn_config_makefile dlls
/msvideo.dll16 enable_win16
21728 wine_fn_config_makefile dlls
/mswsock enable_mswsock
21729 wine_fn_config_makefile dlls
/msxml enable_msxml
21730 wine_fn_config_makefile dlls
/msxml2 enable_msxml2
21731 wine_fn_config_makefile dlls
/msxml3 enable_msxml3
21732 wine_fn_config_makefile dlls
/msxml
3/tests enable_tests
21733 wine_fn_config_makefile dlls
/msxml4 enable_msxml4
21734 wine_fn_config_makefile dlls
/msxml6 enable_msxml6
21735 wine_fn_config_makefile dlls
/mtxdm enable_mtxdm
21736 wine_fn_config_makefile dlls
/ncrypt enable_ncrypt
21737 wine_fn_config_makefile dlls
/ncrypt
/tests enable_tests
21738 wine_fn_config_makefile dlls
/nddeapi enable_nddeapi
21739 wine_fn_config_makefile dlls
/ndis.sys enable_ndis_sys
21740 wine_fn_config_makefile dlls
/ndis.sys
/tests enable_tests
21741 wine_fn_config_makefile dlls
/netapi32 enable_netapi32
21742 wine_fn_config_makefile dlls
/netapi32
/tests enable_tests
21743 wine_fn_config_makefile dlls
/netcfgx enable_netcfgx
21744 wine_fn_config_makefile dlls
/netcfgx
/tests enable_tests
21745 wine_fn_config_makefile dlls
/netio.sys enable_netio_sys
21746 wine_fn_config_makefile dlls
/netprofm enable_netprofm
21747 wine_fn_config_makefile dlls
/netprofm
/tests enable_tests
21748 wine_fn_config_makefile dlls
/netutils enable_netutils
21749 wine_fn_config_makefile dlls
/newdev enable_newdev
21750 wine_fn_config_makefile dlls
/ninput enable_ninput
21751 wine_fn_config_makefile dlls
/ninput
/tests enable_tests
21752 wine_fn_config_makefile dlls
/normaliz enable_normaliz
21753 wine_fn_config_makefile dlls
/npmshtml enable_npmshtml
21754 wine_fn_config_makefile dlls
/npptools enable_npptools
21755 wine_fn_config_makefile dlls
/nsi enable_nsi
21756 wine_fn_config_makefile dlls
/nsi
/tests enable_tests
21757 wine_fn_config_makefile dlls
/nsiproxy.sys enable_nsiproxy_sys
21758 wine_fn_config_makefile dlls
/ntdll enable_ntdll
21759 wine_fn_config_makefile dlls
/ntdll
/tests enable_tests
21760 wine_fn_config_makefile dlls
/ntdsapi enable_ntdsapi
21761 wine_fn_config_makefile dlls
/ntdsapi
/tests enable_tests
21762 wine_fn_config_makefile dlls
/ntoskrnl.exe enable_ntoskrnl_exe
21763 wine_fn_config_makefile dlls
/ntoskrnl.exe
/tests enable_tests
21764 wine_fn_config_makefile dlls
/ntprint enable_ntprint
21765 wine_fn_config_makefile dlls
/ntprint
/tests enable_tests
21766 wine_fn_config_makefile dlls
/objsel enable_objsel
21767 wine_fn_config_makefile dlls
/odbc32 enable_odbc32
21768 wine_fn_config_makefile dlls
/odbcbcp enable_odbcbcp
21769 wine_fn_config_makefile dlls
/odbccp32 enable_odbccp32
21770 wine_fn_config_makefile dlls
/odbccp32
/tests enable_tests
21771 wine_fn_config_makefile dlls
/odbccu32 enable_odbccu32
21772 wine_fn_config_makefile dlls
/ole2.dll16 enable_win16
21773 wine_fn_config_makefile dlls
/ole2conv.dll16 enable_win16
21774 wine_fn_config_makefile dlls
/ole2disp.dll16 enable_win16
21775 wine_fn_config_makefile dlls
/ole2nls.dll16 enable_win16
21776 wine_fn_config_makefile dlls
/ole2prox.dll16 enable_win16
21777 wine_fn_config_makefile dlls
/ole2thk.dll16 enable_win16
21778 wine_fn_config_makefile dlls
/ole32 enable_ole32
21779 wine_fn_config_makefile dlls
/ole32
/tests enable_tests
21780 wine_fn_config_makefile dlls
/oleacc enable_oleacc
21781 wine_fn_config_makefile dlls
/oleacc
/tests enable_tests
21782 wine_fn_config_makefile dlls
/oleaut32 enable_oleaut32
21783 wine_fn_config_makefile dlls
/oleaut32
/tests enable_tests
21784 wine_fn_config_makefile dlls
/olecli.dll16 enable_win16
21785 wine_fn_config_makefile dlls
/olecli32 enable_olecli32
21786 wine_fn_config_makefile dlls
/oledb32 enable_oledb32
21787 wine_fn_config_makefile dlls
/oledb32
/tests enable_tests
21788 wine_fn_config_makefile dlls
/oledlg enable_oledlg
21789 wine_fn_config_makefile dlls
/oledlg
/tests enable_tests
21790 wine_fn_config_makefile dlls
/olepro32 enable_olepro32
21791 wine_fn_config_makefile dlls
/olesvr.dll16 enable_win16
21792 wine_fn_config_makefile dlls
/olesvr32 enable_olesvr32
21793 wine_fn_config_makefile dlls
/olethk32 enable_olethk32
21794 wine_fn_config_makefile dlls
/opcservices enable_opcservices
21795 wine_fn_config_makefile dlls
/opcservices
/tests enable_tests
21796 wine_fn_config_makefile dlls
/openal32 enable_openal32
21797 wine_fn_config_makefile dlls
/opencl enable_opencl
21798 wine_fn_config_makefile dlls
/opengl32 enable_opengl32
21799 wine_fn_config_makefile dlls
/opengl32
/tests enable_tests
21800 wine_fn_config_makefile dlls
/packager enable_packager
21801 wine_fn_config_makefile dlls
/packager
/tests enable_tests
21802 wine_fn_config_makefile dlls
/pdh enable_pdh
21803 wine_fn_config_makefile dlls
/pdh
/tests enable_tests
21804 wine_fn_config_makefile dlls
/photometadatahandler enable_photometadatahandler
21805 wine_fn_config_makefile dlls
/pidgen enable_pidgen
21806 wine_fn_config_makefile dlls
/powrprof enable_powrprof
21807 wine_fn_config_makefile dlls
/printui enable_printui
21808 wine_fn_config_makefile dlls
/prntvpt enable_prntvpt
21809 wine_fn_config_makefile dlls
/prntvpt
/tests enable_tests
21810 wine_fn_config_makefile dlls
/propsys enable_propsys
21811 wine_fn_config_makefile dlls
/propsys
/tests enable_tests
21812 wine_fn_config_makefile dlls
/psapi enable_psapi
21813 wine_fn_config_makefile dlls
/psapi
/tests enable_tests
21814 wine_fn_config_makefile dlls
/pstorec enable_pstorec
21815 wine_fn_config_makefile dlls
/pstorec
/tests enable_tests
21816 wine_fn_config_makefile dlls
/pwrshplugin enable_pwrshplugin
21817 wine_fn_config_makefile dlls
/qasf enable_qasf
21818 wine_fn_config_makefile dlls
/qasf
/tests enable_tests
21819 wine_fn_config_makefile dlls
/qcap enable_qcap
21820 wine_fn_config_makefile dlls
/qcap
/tests enable_tests
21821 wine_fn_config_makefile dlls
/qdvd enable_qdvd
21822 wine_fn_config_makefile dlls
/qdvd
/tests enable_tests
21823 wine_fn_config_makefile dlls
/qedit enable_qedit
21824 wine_fn_config_makefile dlls
/qedit
/tests enable_tests
21825 wine_fn_config_makefile dlls
/qmgr enable_qmgr
21826 wine_fn_config_makefile dlls
/qmgr
/tests enable_tests
21827 wine_fn_config_makefile dlls
/qmgrprxy enable_qmgrprxy
21828 wine_fn_config_makefile dlls
/quartz enable_quartz
21829 wine_fn_config_makefile dlls
/quartz
/tests enable_tests
21830 wine_fn_config_makefile dlls
/query enable_query
21831 wine_fn_config_makefile dlls
/qwave enable_qwave
21832 wine_fn_config_makefile dlls
/qwave
/tests enable_tests
21833 wine_fn_config_makefile dlls
/rasapi16.dll16 enable_win16
21834 wine_fn_config_makefile dlls
/rasapi32 enable_rasapi32
21835 wine_fn_config_makefile dlls
/rasapi32
/tests enable_tests
21836 wine_fn_config_makefile dlls
/rasdlg enable_rasdlg
21837 wine_fn_config_makefile dlls
/regapi enable_regapi
21838 wine_fn_config_makefile dlls
/resutils enable_resutils
21839 wine_fn_config_makefile dlls
/riched20 enable_riched20
21840 wine_fn_config_makefile dlls
/riched20
/tests enable_tests
21841 wine_fn_config_makefile dlls
/riched32 enable_riched32
21842 wine_fn_config_makefile dlls
/riched32
/tests enable_tests
21843 wine_fn_config_makefile dlls
/rpcrt4 enable_rpcrt4
21844 wine_fn_config_makefile dlls
/rpcrt
4/tests enable_tests
21845 wine_fn_config_makefile dlls
/rsabase enable_rsabase
21846 wine_fn_config_makefile dlls
/rsaenh enable_rsaenh
21847 wine_fn_config_makefile dlls
/rsaenh
/tests enable_tests
21848 wine_fn_config_makefile dlls
/rstrtmgr enable_rstrtmgr
21849 wine_fn_config_makefile dlls
/rtutils enable_rtutils
21850 wine_fn_config_makefile dlls
/rtworkq enable_rtworkq
21851 wine_fn_config_makefile dlls
/rtworkq
/tests enable_tests
21852 wine_fn_config_makefile dlls
/samlib enable_samlib
21853 wine_fn_config_makefile dlls
/sane.ds enable_sane_ds
21854 wine_fn_config_makefile dlls
/sapi enable_sapi
21855 wine_fn_config_makefile dlls
/sapi
/tests enable_tests
21856 wine_fn_config_makefile dlls
/sas enable_sas
21857 wine_fn_config_makefile dlls
/scarddlg enable_scarddlg
21858 wine_fn_config_makefile dlls
/sccbase enable_sccbase
21859 wine_fn_config_makefile dlls
/schannel enable_schannel
21860 wine_fn_config_makefile dlls
/schannel
/tests enable_tests
21861 wine_fn_config_makefile dlls
/schedsvc enable_schedsvc
21862 wine_fn_config_makefile dlls
/schedsvc
/tests enable_tests
21863 wine_fn_config_makefile dlls
/scrobj enable_scrobj
21864 wine_fn_config_makefile dlls
/scrobj
/tests enable_tests
21865 wine_fn_config_makefile dlls
/scrrun enable_scrrun
21866 wine_fn_config_makefile dlls
/scrrun
/tests enable_tests
21867 wine_fn_config_makefile dlls
/scsiport.sys enable_scsiport_sys
21868 wine_fn_config_makefile dlls
/sechost enable_sechost
21869 wine_fn_config_makefile dlls
/secur32 enable_secur32
21870 wine_fn_config_makefile dlls
/secur32
/tests enable_tests
21871 wine_fn_config_makefile dlls
/security enable_security
21872 wine_fn_config_makefile dlls
/sensapi enable_sensapi
21873 wine_fn_config_makefile dlls
/serialui enable_serialui
21874 wine_fn_config_makefile dlls
/serialui
/tests enable_tests
21875 wine_fn_config_makefile dlls
/setupapi enable_setupapi
21876 wine_fn_config_makefile dlls
/setupapi
/tests enable_tests
21877 wine_fn_config_makefile dlls
/setupx.dll16 enable_win16
21878 wine_fn_config_makefile dlls
/sfc enable_sfc
21879 wine_fn_config_makefile dlls
/sfc_os enable_sfc_os
21880 wine_fn_config_makefile dlls
/shcore enable_shcore
21881 wine_fn_config_makefile dlls
/shcore
/tests enable_tests
21882 wine_fn_config_makefile dlls
/shdoclc enable_shdoclc
21883 wine_fn_config_makefile dlls
/shdocvw enable_shdocvw
21884 wine_fn_config_makefile dlls
/shdocvw
/tests enable_tests
21885 wine_fn_config_makefile dlls
/shell.dll16 enable_win16
21886 wine_fn_config_makefile dlls
/shell32 enable_shell32
21887 wine_fn_config_makefile dlls
/shell32
/tests enable_tests
21888 wine_fn_config_makefile dlls
/shfolder enable_shfolder
21889 wine_fn_config_makefile dlls
/shlwapi enable_shlwapi
21890 wine_fn_config_makefile dlls
/shlwapi
/tests enable_tests
21891 wine_fn_config_makefile dlls
/slbcsp enable_slbcsp
21892 wine_fn_config_makefile dlls
/slc enable_slc
21893 wine_fn_config_makefile dlls
/slc
/tests enable_tests
21894 wine_fn_config_makefile dlls
/snmpapi enable_snmpapi
21895 wine_fn_config_makefile dlls
/snmpapi
/tests enable_tests
21896 wine_fn_config_makefile dlls
/softpub enable_softpub
21897 wine_fn_config_makefile dlls
/sound.drv16 enable_win16
21898 wine_fn_config_makefile dlls
/spoolss enable_spoolss
21899 wine_fn_config_makefile dlls
/spoolss
/tests enable_tests
21900 wine_fn_config_makefile dlls
/sppc enable_sppc
21901 wine_fn_config_makefile dlls
/srclient enable_srclient
21902 wine_fn_config_makefile dlls
/srvcli enable_srvcli
21903 wine_fn_config_makefile dlls
/sspicli enable_sspicli
21904 wine_fn_config_makefile dlls
/stdole2.tlb enable_stdole2_tlb
21905 wine_fn_config_makefile dlls
/stdole32.tlb enable_stdole32_tlb
21906 wine_fn_config_makefile dlls
/sti enable_sti
21907 wine_fn_config_makefile dlls
/sti
/tests enable_tests
21908 wine_fn_config_makefile dlls
/storage.dll16 enable_win16
21909 wine_fn_config_makefile dlls
/stress.dll16 enable_win16
21910 wine_fn_config_makefile dlls
/strmdll enable_strmdll
21911 wine_fn_config_makefile dlls
/svrapi enable_svrapi
21912 wine_fn_config_makefile dlls
/sxs enable_sxs
21913 wine_fn_config_makefile dlls
/sxs
/tests enable_tests
21914 wine_fn_config_makefile dlls
/system.drv16 enable_win16
21915 wine_fn_config_makefile dlls
/t2embed enable_t2embed
21916 wine_fn_config_makefile dlls
/t2embed
/tests enable_tests
21917 wine_fn_config_makefile dlls
/tapi32 enable_tapi32
21918 wine_fn_config_makefile dlls
/tapi32
/tests enable_tests
21919 wine_fn_config_makefile dlls
/taskschd enable_taskschd
21920 wine_fn_config_makefile dlls
/taskschd
/tests enable_tests
21921 wine_fn_config_makefile dlls
/tbs enable_tbs
21922 wine_fn_config_makefile dlls
/tdh enable_tdh
21923 wine_fn_config_makefile dlls
/tdi.sys enable_tdi_sys
21924 wine_fn_config_makefile dlls
/toolhelp.dll16 enable_win16
21925 wine_fn_config_makefile dlls
/traffic enable_traffic
21926 wine_fn_config_makefile dlls
/twain.dll16 enable_win16
21927 wine_fn_config_makefile dlls
/twain_32 enable_twain_32
21928 wine_fn_config_makefile dlls
/twain_32
/tests enable_tests
21929 wine_fn_config_makefile dlls
/typelib.dll16 enable_win16
21930 wine_fn_config_makefile dlls
/tzres enable_tzres
21931 wine_fn_config_makefile dlls
/ucrtbase enable_ucrtbase
21932 wine_fn_config_makefile dlls
/ucrtbase
/tests enable_tests
21933 wine_fn_config_makefile dlls
/uianimation enable_uianimation
21934 wine_fn_config_makefile dlls
/uianimation
/tests enable_tests
21935 wine_fn_config_makefile dlls
/uiautomationcore enable_uiautomationcore
21936 wine_fn_config_makefile dlls
/uiautomationcore
/tests enable_tests
21937 wine_fn_config_makefile dlls
/uiribbon enable_uiribbon
21938 wine_fn_config_makefile dlls
/unicows enable_unicows
21939 wine_fn_config_makefile dlls
/updspapi enable_updspapi
21940 wine_fn_config_makefile dlls
/url enable_url
21941 wine_fn_config_makefile dlls
/urlmon enable_urlmon
21942 wine_fn_config_makefile dlls
/urlmon
/tests enable_tests
21943 wine_fn_config_makefile dlls
/usbd.sys enable_usbd_sys
21944 wine_fn_config_makefile dlls
/user.exe16 enable_win16
21945 wine_fn_config_makefile dlls
/user32 enable_user32
21946 wine_fn_config_makefile dlls
/user32
/tests enable_tests
21947 wine_fn_config_makefile dlls
/userenv enable_userenv
21948 wine_fn_config_makefile dlls
/userenv
/tests enable_tests
21949 wine_fn_config_makefile dlls
/usp10 enable_usp10
21950 wine_fn_config_makefile dlls
/usp10
/tests enable_tests
21951 wine_fn_config_makefile dlls
/utildll enable_utildll
21952 wine_fn_config_makefile dlls
/uxtheme enable_uxtheme
21953 wine_fn_config_makefile dlls
/uxtheme
/tests enable_tests
21954 wine_fn_config_makefile dlls
/vbscript enable_vbscript
21955 wine_fn_config_makefile dlls
/vbscript
/tests enable_tests
21956 wine_fn_config_makefile dlls
/vcomp enable_vcomp
21957 wine_fn_config_makefile dlls
/vcomp
/tests enable_tests
21958 wine_fn_config_makefile dlls
/vcomp100 enable_vcomp100
21959 wine_fn_config_makefile dlls
/vcomp110 enable_vcomp110
21960 wine_fn_config_makefile dlls
/vcomp110
/tests enable_tests
21961 wine_fn_config_makefile dlls
/vcomp120 enable_vcomp120
21962 wine_fn_config_makefile dlls
/vcomp140 enable_vcomp140
21963 wine_fn_config_makefile dlls
/vcomp90 enable_vcomp90
21964 wine_fn_config_makefile dlls
/vcruntime140 enable_vcruntime140
21965 wine_fn_config_makefile dlls
/vcruntime140_1 enable_vcruntime140_1
21966 wine_fn_config_makefile dlls
/vdhcp.vxd enable_win16
21967 wine_fn_config_makefile dlls
/vdmdbg enable_vdmdbg
21968 wine_fn_config_makefile dlls
/ver.dll16 enable_win16
21969 wine_fn_config_makefile dlls
/version enable_version
21970 wine_fn_config_makefile dlls
/version
/tests enable_tests
21971 wine_fn_config_makefile dlls
/vga enable_vga
21972 wine_fn_config_makefile dlls
/virtdisk enable_virtdisk
21973 wine_fn_config_makefile dlls
/virtdisk
/tests enable_tests
21974 wine_fn_config_makefile dlls
/vmm.vxd enable_win16
21975 wine_fn_config_makefile dlls
/vnbt.vxd enable_win16
21976 wine_fn_config_makefile dlls
/vnetbios.vxd enable_win16
21977 wine_fn_config_makefile dlls
/vssapi enable_vssapi
21978 wine_fn_config_makefile dlls
/vtdapi.vxd enable_win16
21979 wine_fn_config_makefile dlls
/vulkan-1 enable_vulkan_1
21980 wine_fn_config_makefile dlls
/vulkan-
1/tests enable_tests
21981 wine_fn_config_makefile dlls
/vwin32.vxd enable_win16
21982 wine_fn_config_makefile dlls
/w32skrnl enable_win16
21983 wine_fn_config_makefile dlls
/w32sys.dll16 enable_win16
21984 wine_fn_config_makefile dlls
/wbemdisp enable_wbemdisp
21985 wine_fn_config_makefile dlls
/wbemdisp
/tests enable_tests
21986 wine_fn_config_makefile dlls
/wbemprox enable_wbemprox
21987 wine_fn_config_makefile dlls
/wbemprox
/tests enable_tests
21988 wine_fn_config_makefile dlls
/wdscore enable_wdscore
21989 wine_fn_config_makefile dlls
/webservices enable_webservices
21990 wine_fn_config_makefile dlls
/webservices
/tests enable_tests
21991 wine_fn_config_makefile dlls
/websocket enable_websocket
21992 wine_fn_config_makefile dlls
/wer enable_wer
21993 wine_fn_config_makefile dlls
/wer
/tests enable_tests
21994 wine_fn_config_makefile dlls
/wevtapi enable_wevtapi
21995 wine_fn_config_makefile dlls
/wevtapi
/tests enable_tests
21996 wine_fn_config_makefile dlls
/wevtsvc enable_wevtsvc
21997 wine_fn_config_makefile dlls
/wiaservc enable_wiaservc
21998 wine_fn_config_makefile dlls
/wiaservc
/tests enable_tests
21999 wine_fn_config_makefile dlls
/wimgapi enable_wimgapi
22000 wine_fn_config_makefile dlls
/win32s16.dll16 enable_win16
22001 wine_fn_config_makefile dlls
/win32u enable_win32u
22002 wine_fn_config_makefile dlls
/win32u
/tests enable_tests
22003 wine_fn_config_makefile dlls
/win87em.dll16 enable_win16
22004 wine_fn_config_makefile dlls
/winaspi.dll16 enable_win16
22005 wine_fn_config_makefile dlls
/windebug.dll16 enable_win16
22006 wine_fn_config_makefile dlls
/windows.devices.enumeration enable_windows_devices_enumeration
22007 wine_fn_config_makefile dlls
/windows.gaming.input enable_windows_gaming_input
22008 wine_fn_config_makefile dlls
/windows.gaming.input
/tests enable_tests
22009 wine_fn_config_makefile dlls
/windows.globalization enable_windows_globalization
22010 wine_fn_config_makefile dlls
/windows.globalization
/tests enable_tests
22011 wine_fn_config_makefile dlls
/windows.media.devices enable_windows_media_devices
22012 wine_fn_config_makefile dlls
/windows.media.devices
/tests enable_tests
22013 wine_fn_config_makefile dlls
/windows.media.speech enable_windows_media_speech
22014 wine_fn_config_makefile dlls
/windows.media.speech
/tests enable_tests
22015 wine_fn_config_makefile dlls
/windows.networking enable_windows_networking
22016 wine_fn_config_makefile dlls
/windowscodecs enable_windowscodecs
22017 wine_fn_config_makefile dlls
/windowscodecs
/tests enable_tests
22018 wine_fn_config_makefile dlls
/windowscodecsext enable_windowscodecsext
22019 wine_fn_config_makefile dlls
/windowscodecsext
/tests enable_tests
22020 wine_fn_config_makefile dlls
/winealsa.drv enable_winealsa_drv
22021 wine_fn_config_makefile dlls
/wineandroid.drv enable_wineandroid_drv
22022 wine_fn_config_makefile dlls
/winebus.sys enable_winebus_sys
22023 wine_fn_config_makefile dlls
/winecoreaudio.drv enable_winecoreaudio_drv
22024 wine_fn_config_makefile dlls
/winecrt0 enable_winecrt0
22025 wine_fn_config_makefile dlls
/wined3d enable_wined3d
22026 wine_fn_config_makefile dlls
/winegstreamer enable_winegstreamer
22027 wine_fn_config_makefile dlls
/winehid.sys enable_winehid_sys
22028 wine_fn_config_makefile dlls
/winemac.drv enable_winemac_drv
22029 wine_fn_config_makefile dlls
/winemapi enable_winemapi
22030 wine_fn_config_makefile dlls
/wineoss.drv enable_wineoss_drv
22031 wine_fn_config_makefile dlls
/wineps.drv enable_wineps_drv
22032 wine_fn_config_makefile dlls
/wineps16.drv16 enable_win16
22033 wine_fn_config_makefile dlls
/winepulse.drv enable_winepulse_drv
22034 wine_fn_config_makefile dlls
/wineusb.sys enable_wineusb_sys
22035 wine_fn_config_makefile dlls
/winevulkan enable_winevulkan
22036 wine_fn_config_makefile dlls
/winex11.drv enable_winex11_drv
22037 wine_fn_config_makefile dlls
/winexinput.sys enable_winexinput_sys
22038 wine_fn_config_makefile dlls
/wing.dll16 enable_win16
22039 wine_fn_config_makefile dlls
/wing32 enable_wing32
22040 wine_fn_config_makefile dlls
/winhttp enable_winhttp
22041 wine_fn_config_makefile dlls
/winhttp
/tests enable_tests
22042 wine_fn_config_makefile dlls
/wininet enable_wininet
22043 wine_fn_config_makefile dlls
/wininet
/tests enable_tests
22044 wine_fn_config_makefile dlls
/winmm enable_winmm
22045 wine_fn_config_makefile dlls
/winmm
/tests enable_tests
22046 wine_fn_config_makefile dlls
/winnls.dll16 enable_win16
22047 wine_fn_config_makefile dlls
/winnls32 enable_winnls32
22048 wine_fn_config_makefile dlls
/winscard enable_winscard
22049 wine_fn_config_makefile dlls
/winsock.dll16 enable_win16
22050 wine_fn_config_makefile dlls
/winspool.drv enable_winspool_drv
22051 wine_fn_config_makefile dlls
/winspool.drv
/tests enable_tests
22052 wine_fn_config_makefile dlls
/winsta enable_winsta
22053 wine_fn_config_makefile dlls
/wintab.dll16 enable_win16
22054 wine_fn_config_makefile dlls
/wintab32 enable_wintab32
22055 wine_fn_config_makefile dlls
/wintab32
/tests enable_tests
22056 wine_fn_config_makefile dlls
/wintrust enable_wintrust
22057 wine_fn_config_makefile dlls
/wintrust
/tests enable_tests
22058 wine_fn_config_makefile dlls
/wintypes enable_wintypes
22059 wine_fn_config_makefile dlls
/wintypes
/tests enable_tests
22060 wine_fn_config_makefile dlls
/winusb enable_winusb
22061 wine_fn_config_makefile dlls
/wlanapi enable_wlanapi
22062 wine_fn_config_makefile dlls
/wlanapi
/tests enable_tests
22063 wine_fn_config_makefile dlls
/wlanui enable_wlanui
22064 wine_fn_config_makefile dlls
/wldap32 enable_wldap32
22065 wine_fn_config_makefile dlls
/wldap32
/tests enable_tests
22066 wine_fn_config_makefile dlls
/wmasf enable_wmasf
22067 wine_fn_config_makefile dlls
/wmi enable_wmi
22068 wine_fn_config_makefile dlls
/wmiutils enable_wmiutils
22069 wine_fn_config_makefile dlls
/wmiutils
/tests enable_tests
22070 wine_fn_config_makefile dlls
/wmp enable_wmp
22071 wine_fn_config_makefile dlls
/wmp
/tests enable_tests
22072 wine_fn_config_makefile dlls
/wmphoto enable_wmphoto
22073 wine_fn_config_makefile dlls
/wmvcore enable_wmvcore
22074 wine_fn_config_makefile dlls
/wmvcore
/tests enable_tests
22075 wine_fn_config_makefile dlls
/wnaspi32 enable_wnaspi32
22076 wine_fn_config_makefile dlls
/wow32 enable_win16
22077 wine_fn_config_makefile dlls
/wow64 enable_wow64
22078 wine_fn_config_makefile dlls
/wow64cpu enable_wow64cpu
22079 wine_fn_config_makefile dlls
/wow64win enable_wow64win
22080 wine_fn_config_makefile dlls
/wpc enable_wpc
22081 wine_fn_config_makefile dlls
/wpc
/tests enable_tests
22082 wine_fn_config_makefile dlls
/wpcap enable_wpcap
22083 wine_fn_config_makefile dlls
/ws2_32 enable_ws2_32
22084 wine_fn_config_makefile dlls
/ws2_32
/tests enable_tests
22085 wine_fn_config_makefile dlls
/wsdapi enable_wsdapi
22086 wine_fn_config_makefile dlls
/wsdapi
/tests enable_tests
22087 wine_fn_config_makefile dlls
/wshom.ocx enable_wshom_ocx
22088 wine_fn_config_makefile dlls
/wshom.ocx
/tests enable_tests
22089 wine_fn_config_makefile dlls
/wsnmp32 enable_wsnmp32
22090 wine_fn_config_makefile dlls
/wsnmp32
/tests enable_tests
22091 wine_fn_config_makefile dlls
/wsock32 enable_wsock32
22092 wine_fn_config_makefile dlls
/wtsapi32 enable_wtsapi32
22093 wine_fn_config_makefile dlls
/wtsapi32
/tests enable_tests
22094 wine_fn_config_makefile dlls
/wuapi enable_wuapi
22095 wine_fn_config_makefile dlls
/wuaueng enable_wuaueng
22096 wine_fn_config_makefile dlls
/x3daudio1_0 enable_x3daudio1_0
22097 wine_fn_config_makefile dlls
/x3daudio1_1 enable_x3daudio1_1
22098 wine_fn_config_makefile dlls
/x3daudio1_2 enable_x3daudio1_2
22099 wine_fn_config_makefile dlls
/x3daudio1_3 enable_x3daudio1_3
22100 wine_fn_config_makefile dlls
/x3daudio1_4 enable_x3daudio1_4
22101 wine_fn_config_makefile dlls
/x3daudio1_5 enable_x3daudio1_5
22102 wine_fn_config_makefile dlls
/x3daudio1_6 enable_x3daudio1_6
22103 wine_fn_config_makefile dlls
/x3daudio1_7 enable_x3daudio1_7
22104 wine_fn_config_makefile dlls
/xactengine2_0 enable_xactengine2_0
22105 wine_fn_config_makefile dlls
/xactengine2_4 enable_xactengine2_4
22106 wine_fn_config_makefile dlls
/xactengine2_7 enable_xactengine2_7
22107 wine_fn_config_makefile dlls
/xactengine2_9 enable_xactengine2_9
22108 wine_fn_config_makefile dlls
/xactengine3_0 enable_xactengine3_0
22109 wine_fn_config_makefile dlls
/xactengine3_1 enable_xactengine3_1
22110 wine_fn_config_makefile dlls
/xactengine3_2 enable_xactengine3_2
22111 wine_fn_config_makefile dlls
/xactengine3_3 enable_xactengine3_3
22112 wine_fn_config_makefile dlls
/xactengine3_4 enable_xactengine3_4
22113 wine_fn_config_makefile dlls
/xactengine3_5 enable_xactengine3_5
22114 wine_fn_config_makefile dlls
/xactengine3_6 enable_xactengine3_6
22115 wine_fn_config_makefile dlls
/xactengine3_7 enable_xactengine3_7
22116 wine_fn_config_makefile dlls
/xactengine3_
7/tests enable_tests
22117 wine_fn_config_makefile dlls
/xapofx1_1 enable_xapofx1_1
22118 wine_fn_config_makefile dlls
/xapofx1_2 enable_xapofx1_2
22119 wine_fn_config_makefile dlls
/xapofx1_3 enable_xapofx1_3
22120 wine_fn_config_makefile dlls
/xapofx1_4 enable_xapofx1_4
22121 wine_fn_config_makefile dlls
/xapofx1_5 enable_xapofx1_5
22122 wine_fn_config_makefile dlls
/xaudio2_0 enable_xaudio2_0
22123 wine_fn_config_makefile dlls
/xaudio2_1 enable_xaudio2_1
22124 wine_fn_config_makefile dlls
/xaudio2_2 enable_xaudio2_2
22125 wine_fn_config_makefile dlls
/xaudio2_3 enable_xaudio2_3
22126 wine_fn_config_makefile dlls
/xaudio2_4 enable_xaudio2_4
22127 wine_fn_config_makefile dlls
/xaudio2_5 enable_xaudio2_5
22128 wine_fn_config_makefile dlls
/xaudio2_6 enable_xaudio2_6
22129 wine_fn_config_makefile dlls
/xaudio2_7 enable_xaudio2_7
22130 wine_fn_config_makefile dlls
/xaudio2_
7/tests enable_tests
22131 wine_fn_config_makefile dlls
/xaudio2_8 enable_xaudio2_8
22132 wine_fn_config_makefile dlls
/xaudio2_9 enable_xaudio2_9
22133 wine_fn_config_makefile dlls
/xinput1_1 enable_xinput1_1
22134 wine_fn_config_makefile dlls
/xinput1_2 enable_xinput1_2
22135 wine_fn_config_makefile dlls
/xinput1_3 enable_xinput1_3
22136 wine_fn_config_makefile dlls
/xinput1_
3/tests enable_tests
22137 wine_fn_config_makefile dlls
/xinput1_4 enable_xinput1_4
22138 wine_fn_config_makefile dlls
/xinput9_1_0 enable_xinput9_1_0
22139 wine_fn_config_makefile dlls
/xmllite enable_xmllite
22140 wine_fn_config_makefile dlls
/xmllite
/tests enable_tests
22141 wine_fn_config_makefile dlls
/xolehlp enable_xolehlp
22142 wine_fn_config_makefile dlls
/xpsprint enable_xpsprint
22143 wine_fn_config_makefile dlls
/xpssvcs enable_xpssvcs
22144 wine_fn_config_makefile fonts enable_fonts
22145 wine_fn_config_makefile include enable_include
22146 wine_fn_config_makefile libs
/adsiid enable_adsiid
22147 wine_fn_config_makefile libs
/dmoguids enable_dmoguids
22148 wine_fn_config_makefile libs
/dxerr8 enable_dxerr8
22149 wine_fn_config_makefile libs
/dxerr9 enable_dxerr9
22150 wine_fn_config_makefile libs
/dxguid enable_dxguid
22151 wine_fn_config_makefile libs
/faudio enable_faudio
22152 wine_fn_config_makefile libs
/gsm enable_gsm
22153 wine_fn_config_makefile libs
/jpeg enable_jpeg
22154 wine_fn_config_makefile libs
/jxr enable_jxr
22155 wine_fn_config_makefile libs
/lcms2 enable_lcms2
22156 wine_fn_config_makefile libs
/mfuuid enable_mfuuid
22157 wine_fn_config_makefile libs
/mpg123 enable_mpg123
22158 wine_fn_config_makefile libs
/png enable_png
22159 wine_fn_config_makefile libs
/strmbase enable_strmbase
22160 wine_fn_config_makefile libs
/strmiids enable_strmiids
22161 wine_fn_config_makefile libs
/tiff enable_tiff
22162 wine_fn_config_makefile libs
/uuid enable_uuid
22163 wine_fn_config_makefile libs
/vkd3d enable_vkd3d
22164 wine_fn_config_makefile libs
/wbemuuid enable_wbemuuid
22165 wine_fn_config_makefile libs
/wine enable_wine
22166 wine_fn_config_makefile libs
/wmcodecdspuuid enable_wmcodecdspuuid
22167 wine_fn_config_makefile libs
/xml2 enable_xml2
22168 wine_fn_config_makefile libs
/xslt enable_xslt
22169 wine_fn_config_makefile libs
/zlib enable_zlib
22170 wine_fn_config_makefile loader enable_loader
22171 wine_fn_config_makefile nls enable_nls
22172 wine_fn_config_makefile po enable_po
22173 wine_fn_config_makefile programs
/arp enable_arp
22174 wine_fn_config_makefile programs
/aspnet_regiis enable_aspnet_regiis
22175 wine_fn_config_makefile programs
/attrib enable_attrib
22176 wine_fn_config_makefile programs
/cabarc enable_cabarc
22177 wine_fn_config_makefile programs
/cacls enable_cacls
22178 wine_fn_config_makefile programs
/chcp.com enable_chcp_com
22179 wine_fn_config_makefile programs
/clock enable_clock
22180 wine_fn_config_makefile programs
/cmd enable_cmd
22181 wine_fn_config_makefile programs
/cmd
/tests enable_tests
22182 wine_fn_config_makefile programs
/conhost enable_conhost
22183 wine_fn_config_makefile programs
/conhost
/tests enable_tests
22184 wine_fn_config_makefile programs
/control enable_control
22185 wine_fn_config_makefile programs
/cscript enable_cscript
22186 wine_fn_config_makefile programs
/dism enable_dism
22187 wine_fn_config_makefile programs
/dllhost enable_dllhost
22188 wine_fn_config_makefile programs
/dplaysvr enable_dplaysvr
22189 wine_fn_config_makefile programs
/dpnsvr enable_dpnsvr
22190 wine_fn_config_makefile programs
/dpvsetup enable_dpvsetup
22191 wine_fn_config_makefile programs
/dxdiag enable_dxdiag
22192 wine_fn_config_makefile programs
/eject enable_eject
22193 wine_fn_config_makefile programs
/expand enable_expand
22194 wine_fn_config_makefile programs
/explorer enable_explorer
22195 wine_fn_config_makefile programs
/extrac32 enable_extrac32
22196 wine_fn_config_makefile programs
/fc enable_fc
22197 wine_fn_config_makefile programs
/find enable_find
22198 wine_fn_config_makefile programs
/find
/tests enable_tests
22199 wine_fn_config_makefile programs
/findstr enable_findstr
22200 wine_fn_config_makefile programs
/fsutil enable_fsutil
22201 wine_fn_config_makefile programs
/fsutil
/tests enable_tests
22202 wine_fn_config_makefile programs
/hh enable_hh
22203 wine_fn_config_makefile programs
/hostname enable_hostname
22204 wine_fn_config_makefile programs
/icacls enable_icacls
22205 wine_fn_config_makefile programs
/icinfo enable_icinfo
22206 wine_fn_config_makefile programs
/iexplore enable_iexplore
22207 wine_fn_config_makefile programs
/ipconfig enable_ipconfig
22208 wine_fn_config_makefile programs
/lodctr enable_lodctr
22209 wine_fn_config_makefile programs
/mofcomp enable_mofcomp
22210 wine_fn_config_makefile programs
/mshta enable_mshta
22211 wine_fn_config_makefile programs
/msidb enable_msidb
22212 wine_fn_config_makefile programs
/msiexec enable_msiexec
22213 wine_fn_config_makefile programs
/msinfo32 enable_msinfo32
22214 wine_fn_config_makefile programs
/net enable_net
22215 wine_fn_config_makefile programs
/netsh enable_netsh
22216 wine_fn_config_makefile programs
/netstat enable_netstat
22217 wine_fn_config_makefile programs
/ngen enable_ngen
22218 wine_fn_config_makefile programs
/notepad enable_notepad
22219 wine_fn_config_makefile programs
/oleview enable_oleview
22220 wine_fn_config_makefile programs
/ping enable_ping
22221 wine_fn_config_makefile programs
/plugplay enable_plugplay
22222 wine_fn_config_makefile programs
/powershell enable_powershell
22223 wine_fn_config_makefile programs
/presentationfontcache enable_presentationfontcache
22224 wine_fn_config_makefile programs
/progman enable_progman
22225 wine_fn_config_makefile programs
/reg enable_reg
22226 wine_fn_config_makefile programs
/reg
/tests enable_tests
22227 wine_fn_config_makefile programs
/regasm enable_regasm
22228 wine_fn_config_makefile programs
/regedit enable_regedit
22229 wine_fn_config_makefile programs
/regedit
/tests enable_tests
22230 wine_fn_config_makefile programs
/regini enable_regini
22231 wine_fn_config_makefile programs
/regsvcs enable_regsvcs
22232 wine_fn_config_makefile programs
/regsvr32 enable_regsvr32
22233 wine_fn_config_makefile programs
/robocopy enable_robocopy
22234 wine_fn_config_makefile programs
/rpcss enable_rpcss
22235 wine_fn_config_makefile programs
/rundll.exe16 enable_win16
22236 wine_fn_config_makefile programs
/rundll32 enable_rundll32
22237 wine_fn_config_makefile programs
/sc enable_sc
22238 wine_fn_config_makefile programs
/sc
/tests enable_tests
22239 wine_fn_config_makefile programs
/schtasks enable_schtasks
22240 wine_fn_config_makefile programs
/schtasks
/tests enable_tests
22241 wine_fn_config_makefile programs
/sdbinst enable_sdbinst
22242 wine_fn_config_makefile programs
/secedit enable_secedit
22243 wine_fn_config_makefile programs
/servicemodelreg enable_servicemodelreg
22244 wine_fn_config_makefile programs
/services enable_services
22245 wine_fn_config_makefile programs
/services
/tests enable_tests
22246 wine_fn_config_makefile programs
/shutdown enable_shutdown
22247 wine_fn_config_makefile programs
/spoolsv enable_spoolsv
22248 wine_fn_config_makefile programs
/start enable_start
22249 wine_fn_config_makefile programs
/subst enable_subst
22250 wine_fn_config_makefile programs
/svchost enable_svchost
22251 wine_fn_config_makefile programs
/systeminfo enable_systeminfo
22252 wine_fn_config_makefile programs
/taskkill enable_taskkill
22253 wine_fn_config_makefile programs
/tasklist enable_tasklist
22254 wine_fn_config_makefile programs
/taskmgr enable_taskmgr
22255 wine_fn_config_makefile programs
/termsv enable_termsv
22256 wine_fn_config_makefile programs
/uninstaller enable_uninstaller
22257 wine_fn_config_makefile programs
/unlodctr enable_unlodctr
22258 wine_fn_config_makefile programs
/view enable_view
22259 wine_fn_config_makefile programs
/wevtutil enable_wevtutil
22260 wine_fn_config_makefile programs
/where enable_where
22261 wine_fn_config_makefile programs
/whoami enable_whoami
22262 wine_fn_config_makefile programs
/wineboot enable_wineboot
22263 wine_fn_config_makefile programs
/winebrowser enable_winebrowser
22264 wine_fn_config_makefile programs
/winecfg enable_winecfg
22265 wine_fn_config_makefile programs
/wineconsole enable_wineconsole
22266 wine_fn_config_makefile programs
/winedbg enable_winedbg
22267 wine_fn_config_makefile programs
/winedevice enable_winedevice
22268 wine_fn_config_makefile programs
/winefile enable_winefile
22269 wine_fn_config_makefile programs
/winemenubuilder enable_winemenubuilder
22270 wine_fn_config_makefile programs
/winemine enable_winemine
22271 wine_fn_config_makefile programs
/winemsibuilder enable_winemsibuilder
22272 wine_fn_config_makefile programs
/winepath enable_winepath
22273 wine_fn_config_makefile programs
/winetest enable_winetest
22274 wine_fn_config_makefile programs
/winevdm enable_win16
22275 wine_fn_config_makefile programs
/winhelp.exe16 enable_win16
22276 wine_fn_config_makefile programs
/winhlp32 enable_winhlp32
22277 wine_fn_config_makefile programs
/winmgmt enable_winmgmt
22278 wine_fn_config_makefile programs
/winoldap.mod16 enable_win16
22279 wine_fn_config_makefile programs
/winver enable_winver
22280 wine_fn_config_makefile programs
/wmic enable_wmic
22281 wine_fn_config_makefile programs
/wmplayer enable_wmplayer
22282 wine_fn_config_makefile programs
/wordpad enable_wordpad
22283 wine_fn_config_makefile programs
/write enable_write
22284 wine_fn_config_makefile programs
/wscript enable_wscript
22285 wine_fn_config_makefile programs
/wscript
/tests enable_tests
22286 wine_fn_config_makefile programs
/wuauserv enable_wuauserv
22287 wine_fn_config_makefile programs
/wusa enable_wusa
22288 wine_fn_config_makefile programs
/xcopy enable_xcopy
22289 wine_fn_config_makefile programs
/xcopy
/tests enable_tests
22290 wine_fn_config_makefile server enable_server
22291 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22292 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/sfnt2fon enable_sfnt2fon
22293 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/widl enable_widl
22294 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winebuild enable_winebuild
22295 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winedump enable_winedump
22296 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winegcc enable_winegcc
22297 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winemaker enable_winemaker
22298 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/wmc enable_wmc
22299 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/wrc enable_wrc
22302 wine_fn_append_file CONFIGURE_TARGETS
"TAGS"
22303 wine_fn_append_file CONFIGURE_TARGETS
"tags"
22304 wine_fn_append_file CONFIGURE_TARGETS
"autom4te.cache"
22305 wine_fn_append_file CONFIGURE_TARGETS
"config.log"
22306 wine_fn_append_file CONFIGURE_TARGETS
"config.status"
22307 wine_fn_append_file CONFIGURE_TARGETS
"include/config.h"
22308 wine_fn_append_file CONFIGURE_TARGETS
"include/stamp-h"
22309 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS
"loader/wine"
22311 if test "x$enable_tools" != xno
22313 wine_fn_append_file CONFIGURE_TARGETS
"tools/makedep$ac_exeext"
22314 ac_config_commands
="$ac_config_commands tools/makedep"
22318 ac_config_commands
="$ac_config_commands Makefile"
22325 wine_fn_append_rule
"all: wine
22326 @echo \"Wine build complete.\"
22330 Makefile: config.status \$(MAKEDEP)
22331 @./config.status Makefile
22332 depend: \$(MAKEDEP)
22333 \$(MAKEDEP)$makedep_flags"
22336 wine_fn_append_rule
"config.status: ${wine_srcdir}configure
22337 @./config.status --recheck
22338 include/config.h: include/stamp-h
22339 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22340 @./config.status include/config.h include/stamp-h"
22342 if test "x$enable_maintainer_mode" = xyes
22344 wine_fn_append_rule
"configure: configure.ac aclocal.m4
22345 autoconf --warnings=all
22346 include/config.h.in: include/stamp-h.in
22347 include/stamp-h.in: configure.ac aclocal.m4
22348 autoheader --warnings=all
22349 @echo timestamp > \$@"
22352 if test "x$enable_tools" != xno
22354 wine_fn_append_rule
"tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22355 @./config.status tools/makedep
22356 Makefile: tools/makedep$ac_exeext"
22358 wine_fn_append_rule
"\$(MAKEDEP):
22359 @echo \"You need to run make in $toolsdir first\" && false"
22363 if test -n "$with_wine64"
22365 case "$with_wine64" in
22369 rm -f fonts server
2>/dev
/null
22370 wine_fn_append_rule
"all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22371 loader/wine64 loader/wine64-preloader:
22372 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22373 $with_wine64/loader/wine:
22374 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22375 $with_wine64/loader/wine-preloader:
22376 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22378 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22380 TOP_INSTALL_DEV
="$TOP_INSTALL_DEV include"
22381 TOP_INSTALL_LIB
="$TOP_INSTALL_LIB \
22385 programs/msidb/msidb \
22386 programs/msiexec/msiexec \
22387 programs/notepad/notepad \
22388 programs/regedit/regedit \
22389 programs/regsvr32/regsvr32 \
22390 programs/wineboot/wineboot \
22391 programs/winecfg/winecfg \
22392 programs/wineconsole/wineconsole \
22393 programs/winedbg/winedbg \
22394 programs/winefile/winefile \
22395 programs/winemine/winemine \
22396 programs/winepath/winepath \
22400 cygwin
*|mingw32
*|darwin
*|macosx
*|linux-android
*) ;;
22401 *) TOP_INSTALL_LIB
="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22406 wine_fn_append_rule
"distclean:: clean
22407 rm -rf autom4te.cache
22409 rm -f configure include/config.h.in"
22412 wine_fn_append_rule
"dlls/ntdll/unix/version.c: dummy
22413 @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)
22414 programs/winetest/build.rc: dummy
22415 @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)
22416 programs/winetest/build.nfo:
22418 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
22419 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22420 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22423 TAGSFLAGS
="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22425 wine_fn_append_rule
"TAGS etags:
22427 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22430 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22432 .PHONY: depend dummy install-manpages"
22434 printf "%s\n" " done" >&6
22435 cat >confcache
<<\_ACEOF
22436 # This file is a shell script that caches the results of configure
22437 # tests run on this system so they can be shared between configure
22438 # scripts and configure runs, see configure's option --config-cache.
22439 # It is not useful on other systems. If it contains results you don't
22440 # want to keep, you may remove or edit it.
22442 # config.status only pays attention to the cache file if you give it
22443 # the --recheck option to rerun configure.
22445 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22446 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22447 # following values.
22451 # The following way of writing the cache mishandles newlines in values,
22452 # but we know of no workaround that is simple, portable, and efficient.
22453 # So, we kill variables containing newlines.
22454 # Ultrix sh set writes to stderr and can't be redirected directly,
22455 # and sets the high bit in the cache file unless we assign to the vars.
22457 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22458 eval ac_val
=\$
$ac_var
22462 *_cv_
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22463 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22466 _ | IFS | as_nl
) ;; #(
22467 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
22468 *) { eval $ac_var=; unset $ac_var;} ;;
22474 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22475 *${as_nl}ac_space
=\
*)
22476 # `set' does not quote correctly, so add quotes: double-quote
22477 # substitution turns \\\\ into \\, and sed turns \\ into \.
22480 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22483 # `set' quotes correctly as required by POSIX, so do not add quotes.
22484 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22493 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22495 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22497 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22498 if test -w "$cache_file"; then
22499 if test "x$cache_file" != "x/dev/null"; then
22500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22501 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22502 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
22503 cat confcache
>"$cache_file"
22505 case $cache_file in #(
22507 mv -f confcache
"$cache_file"$$
&&
22508 mv -f "$cache_file"$$
"$cache_file" ;; #(
22510 mv -f confcache
"$cache_file" ;;
22515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22516 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22521 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22522 # Let make expand exec_prefix.
22523 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22525 DEFS
=-DHAVE_CONFIG_H
22530 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22531 # 1. Remove the extension, and $U if already installed.
22532 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
22533 ac_i
=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22534 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22535 # will be set to the directory where LIBOBJS objects are built.
22536 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22537 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
22539 LIBOBJS
=$ac_libobjs
22541 LTLIBOBJS
=$ac_ltlibobjs
22545 : "${CONFIG_STATUS=./config.status}"
22547 ac_clean_files_save
=$ac_clean_files
22548 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22550 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22552 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22554 # Generated by $as_me.
22555 # Run this file to recreate the current configuration.
22556 # Compiler output produced by configure, useful for debugging
22557 # configure, is in config.log if it exists.
22560 ac_cs_recheck=false
22563 SHELL=\${CONFIG_SHELL-$SHELL}
22566 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
22567 ## -------------------- ##
22568 ## M4sh Initialization. ##
22569 ## -------------------- ##
22571 # Be more Bourne compatible
22572 DUALCASE
=1; export DUALCASE
# for MKS sh
22574 if test ${ZSH_VERSION+y} && (emulate sh
) >/dev
/null
2>&1
22578 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22579 # is contrary to our usage. Disable this feature.
22580 alias -g '${1+"$@"}'='"$@"'
22581 setopt NO_GLOB_SUBST
22583 case `(set -o) 2>/dev/null` in #(
22593 # Reset variables that may have inherited troublesome values from
22596 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22597 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22598 # side effect of setting IFS to empty, thus disabling word splitting.)
22599 # Quoting is to prevent editors from complaining about space-tab.
22609 # Ensure predictable behavior from utilities with locale-dependent output.
22615 # We cannot yet rely on "unset" to work, but we need these variables
22616 # to be unset--not just set to an empty or harmless value--now, to
22617 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22618 # also avoids known problems related to "unset" and subshell syntax
22619 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22620 for as_var
in BASH_ENV ENV MAIL MAILPATH CDPATH
22621 do eval test \
${$as_var+y} \
22622 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
22625 # Ensure that fds 0, 1, and 2 are open.
22626 if (exec 3>&0) 2>/dev
/null
; then :; else exec 0</dev
/null
; fi
22627 if (exec 3>&1) 2>/dev
/null
; then :; else exec 1>/dev
/null
; fi
22628 if (exec 3>&2) ; then :; else exec 2>/dev
/null
; fi
22630 # The user is always right.
22631 if ${PATH_SEPARATOR+false} :; then
22633 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
22634 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
22640 # Find who we are. Look in the path if we contain no directory separator.
22643 *[\\/]* ) as_myself
=$0 ;;
22644 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22645 for as_dir
in $PATH
22648 case $as_dir in #(((
22651 *) as_dir
=$as_dir/ ;;
22653 test -r "$as_dir$0" && as_myself
=$as_dir$0 && break
22659 # We did not find ourselves, most probably we were run as `sh COMMAND'
22660 # in which case we are not to be found in the path.
22661 if test "x$as_myself" = x
; then
22664 if test ! -f "$as_myself"; then
22665 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22671 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22672 # ----------------------------------------
22673 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22674 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22675 # script with STATUS, using 1 if that was 0.
22678 as_status
=$1; test $as_status -eq 0 && as_status
=1
22680 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
22681 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22683 printf "%s\n" "$as_me: error: $2" >&2
22684 as_fn_exit
$as_status
22689 # as_fn_set_status STATUS
22690 # -----------------------
22691 # Set $? to STATUS, without forking.
22692 as_fn_set_status
()
22695 } # as_fn_set_status
22697 # as_fn_exit STATUS
22698 # -----------------
22699 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22703 as_fn_set_status
$1
22709 # Portably unset VAR.
22712 { eval $1=; unset $1;}
22714 as_unset
=as_fn_unset
22716 # as_fn_append VAR VALUE
22717 # ----------------------
22718 # Append the text in VALUE to the end of the definition contained in VAR. Take
22719 # advantage of any shell optimizations that allow amortized linear growth over
22720 # repeated appends, instead of the typical quadratic growth present in naive
22722 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
22724 eval 'as_fn_append ()
22735 # as_fn_arith ARG...
22736 # ------------------
22737 # Perform arithmetic evaluation on the ARGs, and store the result in the
22738 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22739 # must be portable across $(()) and expr.
22740 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
22742 eval 'as_fn_arith ()
22749 as_val
=`expr "$@" || test $? -eq 1`
22754 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22755 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22761 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22762 as_basename
=basename
22767 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
22773 as_me
=`$as_basename -- "$0" ||
22774 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22775 X"$0" : 'X\(//\)$' \| \
22776 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22777 printf "%s\n" X/"$0" |
22778 sed '/^.*\/\([^/][^/]*\)\/*$/{
22792 # Avoid depending upon Character Ranges.
22793 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22794 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22795 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22796 as_cr_digits
='0123456789'
22797 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22800 # Determine whether it's possible to make 'echo' print without a newline.
22801 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22802 # for compatibility with existing Makefiles.
22803 ECHO_C
= ECHO_N
= ECHO_T
=
22804 case `echo -n x` in #(((((
22806 case `echo 'xy\c'` in
22807 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
22809 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
22816 # For backward compatibility with old third-party macros, we provide
22817 # the shell variables $as_echo and $as_echo_n. New code should use
22818 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22819 as_echo
='printf %s\n'
22820 as_echo_n
='printf %s'
22822 rm -f conf$$ conf$$.exe conf$$.
file
22823 if test -d conf$$.dir
; then
22824 rm -f conf$$.dir
/conf$$.
file
22827 mkdir conf$$.dir
2>/dev
/null
22829 if (echo >conf$$.
file) 2>/dev
/null
; then
22830 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22832 # ... but there are two gotchas:
22833 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22834 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22835 # In both cases, we have to default to `cp -pR'.
22836 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
22838 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22846 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
22847 rmdir conf$$.dir
2>/dev
/null
22852 # Create "$as_dir" as a directory, including parents if necessary.
22857 -*) as_dir
=.
/$as_dir;;
22859 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
22863 *\'*) as_qdir
=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22864 *) as_qdir
=$as_dir;;
22866 as_dirs
="'$as_qdir' $as_dirs"
22867 as_dir
=`$as_dirname -- "$as_dir" ||
22868 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22869 X"$as_dir" : 'X\(//\)[^/]' \| \
22870 X"$as_dir" : 'X\(//\)$' \| \
22871 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22872 printf "%s\n" X"$as_dir" |
22873 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22877 /^X\(\/\/\)[^/].*/{
22890 test -d "$as_dir" && break
22892 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22893 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
22897 if mkdir
-p .
2>/dev
/null
; then
22898 as_mkdir_p
='mkdir -p "$as_dir"'
22900 test -d .
/-p && rmdir .
/-p
22905 # as_fn_executable_p FILE
22906 # -----------------------
22907 # Test if FILE is an executable regular file.
22908 as_fn_executable_p
()
22910 test -f "$1" && test -x "$1"
22911 } # as_fn_executable_p
22912 as_test_x
='test -x'
22913 as_executable_p
=as_fn_executable_p
22915 # Sed expression to map a string onto a valid CPP name.
22916 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22918 # Sed expression to map a string onto a valid variable name.
22919 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22923 ## ----------------------------------- ##
22924 ## Main body of $CONFIG_STATUS script. ##
22925 ## ----------------------------------- ##
22927 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
22929 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22930 # Save the log message, to keep $0 and so on meaningful, and to
22931 # report actual input values of CONFIG_FILES etc. instead of their
22932 # values after options handling.
22934 This file was extended by Wine $as_me 7.15, which was
22935 generated by GNU Autoconf 2.71. Invocation command line was
22937 CONFIG_FILES = $CONFIG_FILES
22938 CONFIG_HEADERS = $CONFIG_HEADERS
22939 CONFIG_LINKS = $CONFIG_LINKS
22940 CONFIG_COMMANDS = $CONFIG_COMMANDS
22943 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22949 case $ac_config_headers in *"
22950 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
22954 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22955 # Files that config.status was made for.
22956 config_headers="$ac_config_headers"
22957 config_links="$ac_config_links"
22958 config_commands="$ac_config_commands"
22962 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22964 \`$as_me' instantiates files and other configuration actions
22965 from templates according to the current configuration. Unless the files
22966 and actions are specified as TAGs, all are instantiated by default.
22968 Usage: $0 [OPTION]... [TAG]...
22970 -h, --help print this help, then exit
22971 -V, --version print version number and configuration settings, then exit
22972 --config print configuration, then exit
22973 -q, --quiet, --silent
22974 do not print progress messages
22975 -d, --debug don't remove temporary files
22976 --recheck update $as_me by reconfiguring in the same conditions
22977 --header=FILE[:TEMPLATE]
22978 instantiate the configuration header FILE
22980 Configuration headers:
22983 Configuration links:
22986 Configuration commands:
22989 Report bugs to <wine-devel@winehq.org>.
22990 Wine home page: <https://www.winehq.org>."
22993 ac_cs_config
=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
22994 ac_cs_config_escaped
=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
22995 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22996 ac_cs_config='$ac_cs_config_escaped'
22998 Wine config.status 7.15
22999 configured by $0, generated by GNU Autoconf 2.71,
23000 with options \\"\$ac_cs_config\\"
23002 Copyright (C) 2021 Free Software Foundation, Inc.
23003 This config.status script is free software; the Free Software Foundation
23004 gives unlimited permission to copy, distribute and modify it."
23008 test -n "\$AWK" || AWK=awk
23011 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23012 # The default lists apply if the user does not specify any file.
23018 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
23019 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
23023 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
23035 # Handling of the options.
23036 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
23038 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
23039 printf "%s\n" "$ac_cs_version"; exit ;;
23040 --config |
--confi |
--conf |
--con |
--co |
--c )
23041 printf "%s\n" "$ac_cs_config"; exit ;;
23042 --debug |
--debu |
--deb |
--de |
--d |
-d )
23044 --header |
--heade |
--head |
--hea )
23047 *\'*) ac_optarg
=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23049 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
23050 ac_need_defaults
=false
;;
23052 # Conflict between --help and --header
23053 as_fn_error $?
"ambiguous option: \`$1'
23054 Try \`$0 --help' for more information.";;
23055 --help |
--hel |
-h )
23056 printf "%s\n" "$ac_cs_usage"; exit ;;
23057 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
23058 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
23061 # This is an error.
23062 -*) as_fn_error $?
"unrecognized option: \`$1'
23063 Try \`$0 --help' for more information." ;;
23065 *) as_fn_append ac_config_targets
" $1"
23066 ac_need_defaults
=false
;;
23072 ac_configure_extra_args
=
23074 if $ac_cs_silent; then
23076 ac_configure_extra_args
="$ac_configure_extra_args --silent"
23080 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23081 if \$ac_cs_recheck; then
23082 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23084 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
23085 CONFIG_SHELL='$SHELL'
23086 export CONFIG_SHELL
23091 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23095 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23096 ## Running $as_me. ##
23098 printf "%s\n" "$ac_log"
23102 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23106 wine_fn_output_makedep ()
23108 as_dir=tools; as_fn_mkdir_p
23109 $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
23111 wine_fn_output_makefile ()
23113 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
23114 # This Makefile understands the following targets:
23116 # all (default): build wine
23117 # clean: remove all intermediate files
23118 # distclean: also remove all files created by configure
23120 # testclean: clean test results to force running all tests again
23121 # install-lib: install libraries needed to run applications
23122 # install-dev: install development environment
23123 # install: install everything
23124 # uninstall: uninstall everything
23125 # ctags: create a tags file for vim and others.
23126 # etags: create a TAGS file for Emacs.
23129 PATH_SEPARATOR = $PATH_SEPARATOR
23130 PACKAGE_NAME = $PACKAGE_NAME
23131 PACKAGE_TARNAME = $PACKAGE_TARNAME
23132 PACKAGE_VERSION = $PACKAGE_VERSION
23133 PACKAGE_STRING = $PACKAGE_STRING
23134 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23135 PACKAGE_URL = $PACKAGE_URL
23136 exec_prefix = $exec_prefix
23138 program_transform_name = $program_transform_name
23141 libexecdir = $libexecdir
23142 datarootdir = $datarootdir
23144 sysconfdir = $sysconfdir
23145 sharedstatedir = $sharedstatedir
23146 localstatedir = $localstatedir
23147 runstatedir = $runstatedir
23148 includedir = $includedir
23149 oldincludedir = $oldincludedir
23157 localedir = $localedir
23164 build_alias = $build_alias
23165 host_alias = $host_alias
23166 target_alias = $target_alias
23167 system_dllpath = $system_dllpath
23169 build_cpu = $build_cpu
23170 build_vendor = $build_vendor
23171 build_os = $build_os
23173 host_cpu = $host_cpu
23174 host_vendor = $host_vendor
23180 SET_MAKE = $SET_MAKE
23184 CPPFLAGS = $CPPFLAGS
23185 ac_ct_CC = $ac_ct_CC
23189 CXXFLAGS = $CXXFLAGS
23190 ac_ct_CXX = $ac_ct_CXX
23193 TARGETFLAGS = $TARGETFLAGS
23194 toolsext = $toolsext
23195 toolsdir = $toolsdir
23197 RUNTESTFLAGS = $RUNTESTFLAGS
23202 ac_ct_AR = $ac_ct_AR
23208 LDCONFIG = $LDCONFIG
23210 PKG_CONFIG = $PKG_CONFIG
23211 FONTFORGE = $FONTFORGE
23215 I386_LIBS = $I386_LIBS
23216 OPENGL_LIBS = $OPENGL_LIBS
23217 DLLFLAGS = $DLLFLAGS
23218 LDDLLFLAGS = $LDDLLFLAGS
23219 LDEXECFLAGS = $LDEXECFLAGS
23220 EXTRACFLAGS = $EXTRACFLAGS
23221 UNIXDLLFLAGS = $UNIXDLLFLAGS
23222 UNIXLDFLAGS = $UNIXLDFLAGS
23223 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23224 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23225 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23226 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23231 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23232 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23233 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23236 OBJCFLAGS = $OBJCFLAGS
23237 ac_ct_OBJC = $ac_ct_OBJC
23238 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23239 IOKIT_LIBS = $IOKIT_LIBS
23240 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23241 CORESERVICES_LIBS = $CORESERVICES_LIBS
23242 APPKIT_LIBS = $APPKIT_LIBS
23243 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23244 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23245 SECURITY_LIBS = $SECURITY_LIBS
23246 COREAUDIO_LIBS = $COREAUDIO_LIBS
23247 OPENAL_LIBS = $OPENAL_LIBS
23248 OPENCL_LIBS = $OPENCL_LIBS
23249 CARBON_LIBS = $CARBON_LIBS
23250 METAL_LIBS = $METAL_LIBS
23251 LIBWINE_SHAREDLIB = $LIBWINE_SHAREDLIB
23252 LIBWINE_LDFLAGS = $LIBWINE_LDFLAGS
23253 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23255 LIBWINE_DEPENDS = $LIBWINE_DEPENDS
23256 CROSSTARGET = $CROSSTARGET
23258 CROSSCFLAGS = $CROSSCFLAGS
23259 EXTRACROSSCFLAGS = $EXTRACROSSCFLAGS
23260 CROSSLDFLAGS = $CROSSLDFLAGS
23261 DELAYLOADFLAG = $DELAYLOADFLAG
23262 CROSSDEBUG = $CROSSDEBUG
23263 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
23264 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23265 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23266 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23267 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23268 GSM_PE_LIBS = $GSM_PE_LIBS
23269 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23270 JPEG_PE_LIBS = $JPEG_PE_LIBS
23271 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23272 JXR_PE_LIBS = $JXR_PE_LIBS
23273 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23274 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23275 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23276 MPG123_PE_LIBS = $MPG123_PE_LIBS
23277 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23278 PNG_PE_LIBS = $PNG_PE_LIBS
23279 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23280 TIFF_PE_LIBS = $TIFF_PE_LIBS
23281 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23282 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23283 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23284 XML2_PE_LIBS = $XML2_PE_LIBS
23285 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23286 XSLT_PE_LIBS = $XSLT_PE_LIBS
23287 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23288 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23289 PTHREAD_LIBS = $PTHREAD_LIBS
23292 X_CFLAGS = $X_CFLAGS
23293 X_PRE_LIBS = $X_PRE_LIBS
23295 X_EXTRA_LIBS = $X_EXTRA_LIBS
23296 PCAP_LIBS = $PCAP_LIBS
23297 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23298 INOTIFY_LIBS = $INOTIFY_LIBS
23299 DBUS_CFLAGS = $DBUS_CFLAGS
23300 DBUS_LIBS = $DBUS_LIBS
23301 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23302 GNUTLS_LIBS = $GNUTLS_LIBS
23303 SANE_CFLAGS = $SANE_CFLAGS
23304 SANE_LIBS = $SANE_LIBS
23305 USB_CFLAGS = $USB_CFLAGS
23306 USB_LIBS = $USB_LIBS
23307 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23308 GPHOTO2_LIBS = $GPHOTO2_LIBS
23309 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23310 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23311 RESOLV_LIBS = $RESOLV_LIBS
23312 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23313 FREETYPE_LIBS = $FREETYPE_LIBS
23314 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23315 PULSE_CFLAGS = $PULSE_CFLAGS
23316 PULSE_LIBS = $PULSE_LIBS
23317 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23318 GSTREAMER_LIBS = $GSTREAMER_LIBS
23319 ALSA_LIBS = $ALSA_LIBS
23320 OSS4_CFLAGS = $OSS4_CFLAGS
23321 OSS4_LIBS = $OSS4_LIBS
23322 UDEV_CFLAGS = $UDEV_CFLAGS
23323 UDEV_LIBS = $UDEV_LIBS
23324 UNWIND_CFLAGS = $UNWIND_CFLAGS
23325 UNWIND_LIBS = $UNWIND_LIBS
23326 SDL2_CFLAGS = $SDL2_CFLAGS
23327 SDL2_LIBS = $SDL2_LIBS
23328 CAPI20_CFLAGS = $CAPI20_CFLAGS
23329 CAPI20_LIBS = $CAPI20_LIBS
23330 CUPS_CFLAGS = $CUPS_CFLAGS
23331 CUPS_LIBS = $CUPS_LIBS
23332 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23333 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23334 KRB5_CFLAGS = $KRB5_CFLAGS
23335 KRB5_LIBS = $KRB5_LIBS
23336 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23337 GSSAPI_LIBS = $GSSAPI_LIBS
23338 PROCSTAT_LIBS = $PROCSTAT_LIBS
23339 NETAPI_CFLAGS = $NETAPI_CFLAGS
23340 NETAPI_LIBS = $NETAPI_LIBS
23341 MSVCRTFLAGS = $MSVCRTFLAGS
23343 LDAP_CFLAGS = $LDAP_CFLAGS
23344 LDAP_LIBS = $LDAP_LIBS
23345 TAGSFLAGS = $TAGSFLAGS
23347 LTLIBOBJS = $LTLIBOBJS
23351 as_fn_error $? "could not create Makefile" "$LINENO" 5
23356 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23358 # Handling of arguments.
23359 for ac_config_target
in $ac_config_targets
23361 case $ac_config_target in
23362 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
23363 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
23364 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
23365 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23366 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
23367 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
23369 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23374 # If the user did not use the arguments to specify the items to instantiate,
23375 # then the envvar interface is used. Set only those that are not.
23376 # We use the long form for the default assignment because of an extremely
23377 # bizarre bug on SunOS 4.1.3.
23378 if $ac_need_defaults; then
23379 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS
=$config_headers
23380 test ${CONFIG_LINKS+y} || CONFIG_LINKS
=$config_links
23381 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS
=$config_commands
23384 # Have a temporary directory for convenience. Make it in the build tree
23385 # simply because there is no reason against having it here, and in addition,
23386 # creating and moving files from /tmp can sometimes cause problems.
23387 # Hook for its removal unless debugging.
23388 # Note that there is a small window in which the directory will not be cleaned:
23389 # after its creation but before its name has been assigned to `$tmp'.
23393 trap 'exit_status=$?
23394 : "${ac_tmp:=$tmp}"
23395 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23397 trap 'as_fn_exit 1' 1 2 13 15
23399 # Create a (secure) tmp directory for tmp files.
23402 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23406 tmp
=.
/conf$$
-$RANDOM
23407 (umask 077 && mkdir
"$tmp")
23408 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
23411 # Set up the scripts for CONFIG_HEADERS section.
23412 # No need to generate them if there are no CONFIG_HEADERS.
23413 # This happens for instance with `./config.status Makefile'.
23414 if test -n "$CONFIG_HEADERS"; then
23415 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23419 # Transform confdefs.h into an awk script `defines.awk', embedded as
23420 # here-document in config.status, that substitutes the proper values into
23421 # config.h.in to produce config.h.
23423 # Create a delimiter string that does not exist in confdefs.h, to ease
23424 # handling of long lines.
23426 for ac_last_try
in false false
:; do
23427 ac_tt
=`sed -n "/$ac_delim/p" confdefs.h`
23428 if test -z "$ac_tt"; then
23430 elif $ac_last_try; then
23431 as_fn_error $?
"could not make $CONFIG_HEADERS" "$LINENO" 5
23433 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
23437 # For the awk script, D is an array of macro values keyed by name,
23438 # likewise P contains macro parameters if any. Preserve backslash
23439 # newline sequences.
23441 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
23443 s/.\{148\}/&'"$ac_delim"'/g
23446 s/^[ ]*#[ ]*define[ ][ ]*/ /
23453 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23455 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23459 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23460 D["\1"]=" \3\\\\\\n"\\/p
23462 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23467 s/.\{148\}/&'"$ac_delim"'/g
23472 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23475 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23477 ' <confdefs.h |
sed '
23478 s/'"$ac_delim"'/"\\\
23479 "/g' >>$CONFIG_STATUS || ac_write_fail
=1
23481 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23482 for (key in D) D_is_set[key] = 1
23485 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23487 split(line, arg, " ")
23488 if (arg[1] == "#") {
23492 defundef = substr(arg[1], 2)
23495 split(mac1, mac2, "(") #)
23497 prefix = substr(line, 1, index(line, defundef) - 1)
23498 if (D_is_set[macro]) {
23499 # Preserve the white space surrounding the "#".
23500 print prefix "define", macro P[macro] D[macro]
23503 # Replace #undef with comments. This is necessary, for example,
23504 # in the case of _POSIX_SOURCE, which is predefined and required
23505 # on some systems where configure will not decide to define it.
23506 if (defundef == "undef") {
23507 print "/*", prefix defundef, macro, "*/"
23515 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23516 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
23517 fi # test -n "$CONFIG_HEADERS"
23520 eval set X
" :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23525 :[FHLC
]) ac_mode
=$ac_tag; continue;;
23527 case $ac_mode$ac_tag in
23529 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
23530 :[FH
]-) ac_tag
=-:-;;
23531 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
23548 -) ac_f
="$ac_tmp/stdin";;
23549 *) # Look for the file first in the build tree, then in the source tree
23550 # (if the path is not absolute). The absolute path cannot be DOS-style,
23551 # because $ac_f cannot contain `:'.
23555 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
23557 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23559 case $ac_f in *\'*) ac_f
=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23560 as_fn_append ac_file_inputs
" '$ac_f'"
23563 # Let's still pretend it is `configure' which instantiates (i.e., don't
23564 # use $as_me), people would be surprised to read:
23565 # /* config.h. Generated by config.status. */
23566 configure_input
='Generated from '`
23567 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23569 if test x
"$ac_file" != x-
; then
23570 configure_input
="$ac_file. $configure_input"
23571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23572 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23574 # Neutralize special characters interpreted by sed in replacement strings.
23575 case $configure_input in #(
23576 *\
&* |
*\|
* |
*\\* )
23577 ac_sed_conf_input
=`printf "%s\n" "$configure_input" |
23578 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23579 *) ac_sed_conf_input
=$configure_input;;
23583 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
23584 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
23589 ac_dir
=`$as_dirname -- "$ac_file" ||
23590 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23591 X"$ac_file" : 'X\(//\)[^/]' \| \
23592 X"$ac_file" : 'X\(//\)$' \| \
23593 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23594 printf "%s\n" X"$ac_file" |
23595 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23599 /^X\(\/\/\)[^/].*/{
23612 as_dir
="$ac_dir"; as_fn_mkdir_p
23616 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23618 ac_dir_suffix
=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23619 # A ".." for each directory in $ac_dir_suffix.
23620 ac_top_builddir_sub
=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23621 case $ac_top_builddir_sub in
23622 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23623 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
23626 ac_abs_top_builddir
=$ac_pwd
23627 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
23628 # for backward compatibility:
23629 ac_top_builddir
=$ac_top_build_prefix
23632 .
) # We are building in place.
23634 ac_top_srcdir
=$ac_top_builddir_sub
23635 ac_abs_top_srcdir
=$ac_pwd ;;
23636 [\\/]* | ?
:[\\/]* ) # Absolute name.
23637 ac_srcdir
=$srcdir$ac_dir_suffix;
23638 ac_top_srcdir
=$srcdir
23639 ac_abs_top_srcdir
=$srcdir ;;
23640 *) # Relative name.
23641 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
23642 ac_top_srcdir
=$ac_top_build_prefix$srcdir
23643 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
23645 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
23654 if test x
"$ac_file" != x-
; then
23656 printf "%s\n" "/* $configure_input */" >&1 \
23657 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23658 } >"$ac_tmp/config.h" \
23659 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5
23660 if diff "$ac_file" "$ac_tmp/config.h" >/dev
/null
2>&1; then
23661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23662 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23665 mv "$ac_tmp/config.h" "$ac_file" \
23666 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5
23669 printf "%s\n" "/* $configure_input */" >&1 \
23670 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23671 || as_fn_error $?
"could not create -" "$LINENO" 5
23679 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23682 # Prefer the file from the source tree if names are identical.
23683 if test "$ac_source" = "$ac_file" ||
test ! -r "$ac_source"; then
23684 ac_source
=$srcdir/$ac_source
23687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23688 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23690 if test ! -r "$ac_source"; then
23691 as_fn_error $?
"$ac_source: file not found" "$LINENO" 5
23695 # Try a relative symlink, then a hard link, then a copy.
23697 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$ac_source ;;
23698 *) ac_rel_source
=$ac_top_build_prefix$ac_source ;;
23700 ln -s "$ac_rel_source" "$ac_file" 2>/dev
/null ||
23701 ln "$ac_source" "$ac_file" 2>/dev
/null ||
23702 cp -p "$ac_source" "$ac_file" ||
23703 as_fn_error $?
"cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23706 :C
) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23707 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23712 case $ac_file$ac_mode in
23713 "include/stamp-h":C
) echo timestamp
> include
/stamp-h
;;
23714 "tools/makedep":C
) wine_fn_output_makedep || as_fn_exit $?
;;
23715 "Makefile":C
) wine_fn_output_makefile Makefile
;;
23723 ac_clean_files
=$ac_clean_files_save
23725 test $ac_write_fail = 0 ||
23726 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
23729 # configure is writing to config.log, and then calls config.status.
23730 # config.status does its own redirection, appending to config.log.
23731 # Unfortunately, on DOS this fails, as config.log is still kept open
23732 # by configure, so config.status won't be able to write to it; its
23733 # output is simply discarded. So we exec the FD to /dev/null,
23734 # effectively closing config.log, so it can be properly (re)opened and
23735 # appended to by config.status. When coming back to configure, we
23736 # need to make the FD available again.
23737 if test "$no_create" != yes; then
23739 ac_config_status_args
=
23740 test "$silent" = yes &&
23741 ac_config_status_args
="$ac_config_status_args --quiet"
23743 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23745 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23746 # would make configure fail if this is the last instruction.
23747 $ac_cs_success || as_fn_exit
1
23749 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
23750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23751 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23755 if test "$no_create" = "yes"
23761 if test "x$wine_notices" != x
; then
23764 for msg
in $wine_notices; do
23770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23771 printf "%s\n" "$as_me: $msg" >&6;}
23776 for msg
in $wine_warnings; do
23783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23784 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23790 $as_me: Finished. Do '${ac_make}' to compile Wine.