2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 8.13.
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
='8.13'
615 PACKAGE_STRING
='Wine 8.13'
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
707 WAYLAND_CLIENT_CFLAGS
753 SYSTEMCONFIGURATION_LIBS
757 APPLICATIONSERVICES_LIBS
770 WINEPRELOADER_LDFLAGS
802 x86_64_DISABLED_SUBDIRS
810 i386_DISABLED_SUBDIRS
826 aarch64_DISABLED_SUBDIRS
827 aarch64_DELAYLOADFLAG
891 program_transform_name
904 enable_option_checking
910 enable_maintainer_mode
989 enable_bcryptprimitives
1030 enable_d3dcompiler_33
1031 enable_d3dcompiler_34
1032 enable_d3dcompiler_35
1033 enable_d3dcompiler_36
1034 enable_d3dcompiler_37
1035 enable_d3dcompiler_38
1036 enable_d3dcompiler_39
1037 enable_d3dcompiler_40
1038 enable_d3dcompiler_41
1039 enable_d3dcompiler_42
1040 enable_d3dcompiler_43
1041 enable_d3dcompiler_46
1042 enable_d3dcompiler_47
1095 enable_directmanipulation
1132 enable_explorerframe
1149 enable_graphicscapture
1160 enable_hvsimanagementapi
1193 enable_light_msstyles
1208 enable_mfmediaengine
1273 enable_msvcp140_atomic_wait
1274 enable_msvcp140_codecvt_ids
1340 enable_photometadatahandler
1417 enable_threadpoolwinrt
1420 enable_twinapi_appcore
1424 enable_uiautomationcore
1444 enable_vcruntime140_1
1462 enable_windows_devices_bluetooth
1463 enable_windows_devices_enumeration
1464 enable_windows_devices_usb
1465 enable_windows_gaming_input
1466 enable_windows_gaming_ui_gamebar
1467 enable_windows_globalization
1468 enable_windows_media_devices
1469 enable_windows_media_speech
1470 enable_windows_media
1471 enable_windows_networking_hostname
1472 enable_windows_networking
1473 enable_windows_perception_stub
1474 enable_windows_system_profile_systemmanufacturers
1476 enable_windowscodecs
1477 enable_windowscodecsext
1479 enable_wineandroid_drv
1481 enable_winecoreaudio_drv
1484 enable_winegstreamer
1490 enable_winepulse_drv
1493 enable_winewayland_drv
1495 enable_winexinput_sys
1541 enable_xactengine2_0
1542 enable_xactengine2_4
1543 enable_xactengine2_7
1544 enable_xactengine2_9
1545 enable_xactengine3_0
1546 enable_xactengine3_1
1547 enable_xactengine3_2
1548 enable_xactengine3_3
1549 enable_xactengine3_4
1550 enable_xactengine3_5
1551 enable_xactengine3_6
1552 enable_xactengine3_7
1601 enable_wmcodecdspuuid
1610 enable_aspnet_regiis
1658 enable_presentationfontcache
1673 enable_servicemodelreg
1699 enable_winemenubuilder
1701 enable_winemsibuilder
1726 ac_precious_vars
='build_alias
1771 WAYLAND_CLIENT_CFLAGS
1813 # Initialize some variables set by options.
1815 ac_init_version
=false
1816 ac_unrecognized_opts
=
1817 ac_unrecognized_sep
=
1818 # The variables have the same names as the options, with
1819 # dashes changed to underlines.
1820 cache_file
=/dev
/null
1827 program_transform_name
=s
,x
,x
,
1835 # Installation directory options.
1836 # These are left unexpanded so users can "make install exec_prefix=/foo"
1837 # and all the variables that are supposed to be based on exec_prefix
1838 # by default will actually change.
1839 # Use braces instead of parens because sh, perl, etc. also accept them.
1840 # (The list follows the same order as the GNU Coding Standards.)
1841 bindir
='${exec_prefix}/bin'
1842 sbindir
='${exec_prefix}/sbin'
1843 libexecdir
='${exec_prefix}/libexec'
1844 datarootdir
='${prefix}/share'
1845 datadir
='${datarootdir}'
1846 sysconfdir
='${prefix}/etc'
1847 sharedstatedir
='${prefix}/com'
1848 localstatedir
='${prefix}/var'
1849 runstatedir
='${localstatedir}/run'
1850 includedir
='${prefix}/include'
1851 oldincludedir
='/usr/include'
1852 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1853 infodir
='${datarootdir}/info'
1858 libdir
='${exec_prefix}/lib'
1859 localedir
='${datarootdir}/locale'
1860 mandir
='${datarootdir}/man'
1866 # If the previous option needs an argument, assign it.
1867 if test -n "$ac_prev"; then
1868 eval $ac_prev=\
$ac_option
1874 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1879 case $ac_dashdash$ac_option in
1883 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1885 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1886 bindir
=$ac_optarg ;;
1888 -build |
--build |
--buil |
--bui |
--bu)
1889 ac_prev
=build_alias
;;
1890 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1891 build_alias
=$ac_optarg ;;
1893 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1894 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1895 ac_prev
=cache_file
;;
1896 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1897 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1898 cache_file
=$ac_optarg ;;
1900 --config-cache |
-C)
1901 cache_file
=config.cache
;;
1903 -datadir |
--datadir |
--datadi |
--datad)
1905 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1906 datadir
=$ac_optarg ;;
1908 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1909 |
--dataroo |
--dataro |
--datar)
1910 ac_prev
=datarootdir
;;
1911 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1912 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1913 datarootdir
=$ac_optarg ;;
1915 -disable-* |
--disable-*)
1916 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1917 # Reject names that are not valid shell variable names.
1918 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1919 as_fn_error $?
"invalid feature name: \`$ac_useropt'"
1920 ac_useropt_orig
=$ac_useropt
1921 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1922 case $ac_user_opts in
1924 "enable_
$ac_useropt"
1926 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1927 ac_unrecognized_sep
=', ';;
1929 eval enable_
$ac_useropt=no
;;
1931 -docdir |
--docdir |
--docdi |
--doc |
--do)
1933 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1934 docdir
=$ac_optarg ;;
1936 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1938 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1939 dvidir
=$ac_optarg ;;
1941 -enable-* |
--enable-*)
1942 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1943 # Reject names that are not valid shell variable names.
1944 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1945 as_fn_error $?
"invalid feature name: \`$ac_useropt'"
1946 ac_useropt_orig
=$ac_useropt
1947 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1948 case $ac_user_opts in
1950 "enable_
$ac_useropt"
1952 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1953 ac_unrecognized_sep
=', ';;
1955 eval enable_
$ac_useropt=\
$ac_optarg ;;
1957 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1958 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1959 |
--exec |
--exe |
--ex)
1960 ac_prev
=exec_prefix
;;
1961 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1962 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1963 |
--exec=* |
--exe=* |
--ex=*)
1964 exec_prefix
=$ac_optarg ;;
1966 -gas |
--gas |
--ga |
--g)
1967 # Obsolete; use --with-gas.
1970 -help |
--help |
--hel |
--he |
-h)
1971 ac_init_help
=long
;;
1972 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1973 ac_init_help
=recursive
;;
1974 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1975 ac_init_help
=short
;;
1977 -host |
--host |
--hos |
--ho)
1978 ac_prev
=host_alias
;;
1979 -host=* |
--host=* |
--hos=* |
--ho=*)
1980 host_alias
=$ac_optarg ;;
1982 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1984 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1986 htmldir
=$ac_optarg ;;
1988 -includedir |
--includedir |
--includedi |
--included |
--include \
1989 |
--includ |
--inclu |
--incl |
--inc)
1990 ac_prev
=includedir
;;
1991 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1992 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1993 includedir
=$ac_optarg ;;
1995 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1997 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1998 infodir
=$ac_optarg ;;
2000 -libdir |
--libdir |
--libdi |
--libd)
2002 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
2003 libdir
=$ac_optarg ;;
2005 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
2006 |
--libexe |
--libex |
--libe)
2007 ac_prev
=libexecdir
;;
2008 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
2009 |
--libexe=* |
--libex=* |
--libe=*)
2010 libexecdir
=$ac_optarg ;;
2012 -localedir |
--localedir |
--localedi |
--localed |
--locale)
2013 ac_prev
=localedir
;;
2014 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
2015 localedir
=$ac_optarg ;;
2017 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
2018 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
2019 ac_prev
=localstatedir
;;
2020 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
2021 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
2022 localstatedir
=$ac_optarg ;;
2024 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
2026 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
2027 mandir
=$ac_optarg ;;
2029 -nfp |
--nfp |
--nf)
2030 # Obsolete; use --without-fp.
2033 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
2034 |
--no-cr |
--no-c |
-n)
2037 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
2038 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
2041 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
2042 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
2043 |
--oldin |
--oldi |
--old |
--ol |
--o)
2044 ac_prev
=oldincludedir
;;
2045 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
2046 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
2047 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
2048 oldincludedir
=$ac_optarg ;;
2050 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
2052 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
2053 prefix
=$ac_optarg ;;
2055 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
2056 |
--program-pre |
--program-pr |
--program-p)
2057 ac_prev
=program_prefix
;;
2058 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
2059 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
2060 program_prefix
=$ac_optarg ;;
2062 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
2063 |
--program-suf |
--program-su |
--program-s)
2064 ac_prev
=program_suffix
;;
2065 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
2066 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
2067 program_suffix
=$ac_optarg ;;
2069 -program-transform-name |
--program-transform-name \
2070 |
--program-transform-nam |
--program-transform-na \
2071 |
--program-transform-n |
--program-transform- \
2072 |
--program-transform |
--program-transfor \
2073 |
--program-transfo |
--program-transf \
2074 |
--program-trans |
--program-tran \
2075 |
--progr-tra |
--program-tr |
--program-t)
2076 ac_prev
=program_transform_name
;;
2077 -program-transform-name=* |
--program-transform-name=* \
2078 |
--program-transform-nam=* |
--program-transform-na=* \
2079 |
--program-transform-n=* |
--program-transform-=* \
2080 |
--program-transform=* |
--program-transfor=* \
2081 |
--program-transfo=* |
--program-transf=* \
2082 |
--program-trans=* |
--program-tran=* \
2083 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
2084 program_transform_name
=$ac_optarg ;;
2086 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
2088 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
2089 pdfdir
=$ac_optarg ;;
2091 -psdir |
--psdir |
--psdi |
--psd |
--ps)
2093 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
2096 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2097 |
-silent |
--silent |
--silen |
--sile |
--sil)
2100 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
2101 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
2102 |
--run |
--ru |
--r)
2103 ac_prev
=runstatedir
;;
2104 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
2105 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
2106 |
--run=* |
--ru=* |
--r=*)
2107 runstatedir
=$ac_optarg ;;
2109 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
2111 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
2113 sbindir
=$ac_optarg ;;
2115 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
2116 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
2117 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
2119 ac_prev
=sharedstatedir
;;
2120 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
2121 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
2122 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
2124 sharedstatedir
=$ac_optarg ;;
2126 -site |
--site |
--sit)
2128 -site=* |
--site=* |
--sit=*)
2131 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
2133 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
2134 srcdir
=$ac_optarg ;;
2136 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
2137 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
2138 ac_prev
=sysconfdir
;;
2139 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
2140 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
2141 sysconfdir
=$ac_optarg ;;
2143 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
2144 ac_prev
=target_alias
;;
2145 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
2146 target_alias
=$ac_optarg ;;
2148 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
2151 -version |
--version |
--versio |
--versi |
--vers |
-V)
2152 ac_init_version
=: ;;
2155 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2156 # Reject names that are not valid shell variable names.
2157 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2158 as_fn_error $?
"invalid package name: \`$ac_useropt'"
2159 ac_useropt_orig
=$ac_useropt
2160 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2161 case $ac_user_opts in
2165 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2166 ac_unrecognized_sep
=', ';;
2168 eval with_
$ac_useropt=\
$ac_optarg ;;
2170 -without-* |
--without-*)
2171 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2172 # Reject names that are not valid shell variable names.
2173 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2174 as_fn_error $?
"invalid package name: \`$ac_useropt'"
2175 ac_useropt_orig
=$ac_useropt
2176 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2177 case $ac_user_opts in
2181 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2182 ac_unrecognized_sep
=', ';;
2184 eval with_
$ac_useropt=no
;;
2187 # Obsolete; use --with-x.
2190 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
2191 |
--x-incl |
--x-inc |
--x-in |
--x-i)
2192 ac_prev
=x_includes
;;
2193 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
2194 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
2195 x_includes
=$ac_optarg ;;
2197 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
2198 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
2199 ac_prev
=x_libraries
;;
2200 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
2201 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
2202 x_libraries
=$ac_optarg ;;
2204 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
2205 Try \`$0 --help' for more information"
2209 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
2210 # Reject names that are not valid shell variable names.
2211 case $ac_envvar in #(
2212 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
2213 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
2215 eval $ac_envvar=\
$ac_optarg
2216 export $ac_envvar ;;
2219 # FIXME: should be removed in autoconf 3.0.
2220 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2221 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
2222 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2223 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2229 if test -n "$ac_prev"; then
2230 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
2231 as_fn_error $?
"missing argument to $ac_option"
2234 if test -n "$ac_unrecognized_opts"; then
2235 case $enable_option_checking in
2237 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
2238 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2242 # Check all directory arguments for consistency.
2243 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2244 datadir sysconfdir sharedstatedir localstatedir includedir \
2245 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2246 libdir localedir mandir runstatedir
2248 eval ac_val
=\$
$ac_var
2249 # Remove trailing slashes.
2252 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2253 eval $ac_var=\
$ac_val;;
2255 # Be sure to have absolute directory names.
2257 [\\/$
]* | ?
:[\\/]* ) continue;;
2258 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
2260 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
2263 # There might be people who depend on the old broken behavior: `$host'
2264 # used to hold the argument of --host etc.
2265 # FIXME: To remove some day.
2268 target
=$target_alias
2270 # FIXME: To remove some day.
2271 if test "x$host_alias" != x
; then
2272 if test "x$build_alias" = x
; then
2273 cross_compiling
=maybe
2274 elif test "x$build_alias" != "x$host_alias"; then
2280 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
2282 test "$silent" = yes && exec 6>/dev
/null
2285 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
2286 ac_ls_di
=`ls -di .` &&
2287 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
2288 as_fn_error $?
"working directory cannot be determined"
2289 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2290 as_fn_error $?
"pwd does not report name of working directory"
2293 # Find the source files, if location was not specified.
2294 if test -z "$srcdir"; then
2295 ac_srcdir_defaulted
=yes
2296 # Try the directory containing this script, then the parent directory.
2297 ac_confdir
=`$as_dirname -- "$as_myself" ||
2298 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2299 X"$as_myself" : 'X\(//\)[^/]' \| \
2300 X"$as_myself" : 'X\(//\)$' \| \
2301 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2302 printf "%s\n" X"$as_myself" |
2303 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2321 if test ! -r "$srcdir/$ac_unique_file"; then
2325 ac_srcdir_defaulted
=no
2327 if test ! -r "$srcdir/$ac_unique_file"; then
2328 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
2329 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
2331 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
2333 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2335 # When building in place, set srcdir=.
2336 if test "$ac_abs_confdir" = "$ac_pwd"; then
2339 # Remove unnecessary trailing slashes from srcdir.
2340 # Double slashes in file names in object file debugging info
2341 # mess up M-x gdb in Emacs.
2343 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2345 for ac_var
in $ac_precious_vars; do
2346 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
2347 eval ac_env_
${ac_var}_value
=\$
${ac_var}
2348 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
2349 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2353 # Report the --help message.
2355 if test "$ac_init_help" = "long"; then
2356 # Omit some internal or obsolete options to make the list less imposing.
2357 # This message is too long to be a string in the A/UX 3.1 sh.
2359 \`configure' configures Wine 8.13 to adapt to many kinds of systems.
2361 Usage: $0 [OPTION]... [VAR=VALUE]...
2363 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2364 VAR=VALUE. See below for descriptions of some of the useful variables.
2366 Defaults for the options are specified in brackets.
2369 -h, --help display this help and exit
2370 --help=short display options specific to this package
2371 --help=recursive display the short help of all the included packages
2372 -V, --version display version information and exit
2373 -q, --quiet, --silent do not print \`checking ...' messages
2374 --cache-file=FILE cache test results in FILE [disabled]
2375 -C, --config-cache alias for \`--cache-file=config.cache'
2376 -n, --no-create do not create output files
2377 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2379 Installation directories:
2380 --prefix=PREFIX install architecture-independent files in PREFIX
2381 [$ac_default_prefix]
2382 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2385 By default, \`make install' will install all the files in
2386 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2387 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2388 for instance \`--prefix=\$HOME'.
2390 For better control, use the options below.
2392 Fine tuning of the installation directories:
2393 --bindir=DIR user executables [EPREFIX/bin]
2394 --sbindir=DIR system admin executables [EPREFIX/sbin]
2395 --libexecdir=DIR program executables [EPREFIX/libexec]
2396 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2397 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2398 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2399 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2400 --libdir=DIR object code libraries [EPREFIX/lib]
2401 --includedir=DIR C header files [PREFIX/include]
2402 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2403 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2404 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2405 --infodir=DIR info documentation [DATAROOTDIR/info]
2406 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2407 --mandir=DIR man documentation [DATAROOTDIR/man]
2408 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2409 --htmldir=DIR html documentation [DOCDIR]
2410 --dvidir=DIR dvi documentation [DOCDIR]
2411 --pdfdir=DIR pdf documentation [DOCDIR]
2412 --psdir=DIR ps documentation [DOCDIR]
2418 --x-includes=DIR X include files are
in DIR
2419 --x-libraries=DIR X library files are
in DIR
2422 --build=BUILD configure
for building on BUILD
[guessed
]
2423 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2427 if test -n "$ac_init_help"; then
2428 case $ac_init_help in
2429 short | recursive
) echo "Configuration of Wine 8.13:";;
2434 --disable-option-checking ignore unrecognized
--enable/--with options
2435 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2436 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2437 --enable-archs={i386
,x86_64
,arm
,aarch64
}
2438 enable multiple architectures
for PE compilation
2439 --disable-win16 do not include Win16 support
2440 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2442 --disable-tests do not build the regression tests
2443 --enable-build-id include .buildid section in output objects
2444 --enable-maintainer-mode
2445 enable maintainer-specific build rules
2446 --enable-silent-rules use silent build rules (override: "make V=1")
2447 --enable-werror treat compilation warnings as errors
2448 --disable-largefile omit support for large files
2451 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2452 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2453 --without-alsa do not use the Alsa sound support
2454 --without-capi do not use CAPI (ISDN support)
2455 --without-coreaudio do not use the CoreAudio sound support
2456 --without-cups do not use CUPS
2457 --without-dbus do not use DBus (dynamic device support)
2458 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2459 --without-fontconfig do not use fontconfig
2460 --without-freetype do not use the FreeType library
2461 --without-gettext do not use gettext
2462 --with-gettextpo use the GetTextPO library to rebuild po files
2463 --without-gphoto do not use gphoto (Digital Camera support)
2464 --without-gnutls do not use GnuTLS (schannel support)
2465 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2466 --without-gstreamer do not use GStreamer (codecs support)
2467 --without-inotify do not use inotify (filesystem change notifications)
2468 --without-krb5 do not use krb5 (Kerberos)
2469 --without-mingw do not use the MinGW cross-compiler
2470 --without-netapi do not use the Samba NetAPI library
2471 --without-opencl do not use OpenCL
2472 --without-opengl do not use OpenGL
2473 --without-osmesa do not use the OSMesa library
2474 --without-oss do not use the OSS sound support
2475 --without-pcap do not use the Packet Capture library
2476 --without-pcsclite do not use PCSC lite
2477 --without-pthread do not use the pthread library
2478 --without-pulse do not use PulseAudio sound support
2479 --without-sane do not use SANE (scanner support)
2480 --without-sdl do not use SDL
2481 --without-udev do not use udev (plug and play support)
2482 --without-unwind do not use the libunwind library (exception
2484 --without-usb do not use the libusb library
2485 --without-v4l2 do not use v4l2 (video capture)
2486 --without-vulkan do not use Vulkan
2487 --without-wayland do not build the Wayland driver
2488 --without-xcomposite do not use the Xcomposite extension
2489 --without-xcursor do not use the Xcursor extension
2490 --without-xfixes do not use Xfixes for clipboard change notifications
2491 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2492 --without-xinput do not use the Xinput extension
2493 --without-xinput2 do not use the Xinput 2 extension
2494 --without-xrandr do not use Xrandr (multi-monitor support)
2495 --without-xrender do not use the Xrender extension
2496 --without-xshape do not use the Xshape extension
2497 --without-xshm do not use XShm (shared memory extension)
2498 --without-xxf86vm do not use XFree video mode extension
2499 --with-system-dllpath=PATH
2500 load external PE dependencies from colon-separated
2502 --with-wine-tools=DIR use Wine tools from directory DIR
2503 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2504 --with-x use the X Window System
2506 Some influential environment variables:
2507 CC C compiler command
2508 CFLAGS C compiler flags
2509 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2510 nonstandard directory <lib dir>
2511 LIBS libraries to pass to the linker, e.g. -l<library>
2512 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2513 you have headers in a nonstandard directory <include dir>
2514 CXX C++ compiler command
2515 CXXFLAGS C++ compiler flags
2516 OBJC Objective C compiler command
2517 OBJCFLAGS Objective C compiler flags
2519 C compiler flags for the PE faudio, overriding the bundled
2522 Linker flags for the PE faudio, overriding the bundled version
2524 C compiler flags for the PE gsm, overriding the bundled version
2525 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2527 C compiler flags for the PE jpeg, overriding the bundled version
2529 Linker flags for the PE jpeg, overriding the bundled version
2531 C compiler flags for the PE jxr, overriding the bundled version
2532 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2534 C compiler flags for the PE lcms2, overriding the bundled
2537 Linker flags for the PE lcms2, overriding the bundled version
2539 C compiler flags for the PE ldap, overriding the bundled version
2541 Linker flags for the PE ldap, overriding the bundled version
2543 C compiler flags for the PE mpg123, overriding the bundled
2546 Linker flags for the PE mpg123, overriding the bundled version
2548 C compiler flags for the PE musl, overriding the bundled version
2550 Linker flags for the PE musl, overriding the bundled version
2552 C compiler flags for the PE png, overriding the bundled version
2553 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2555 C compiler flags for the PE tiff, overriding the bundled version
2557 Linker flags for the PE tiff, overriding the bundled version
2559 C compiler flags for the PE vkd3d, overriding the bundled
2562 Linker flags for the PE vkd3d, overriding the bundled version
2564 C compiler flags for the PE xml2, overriding the bundled version
2566 Linker flags for the PE xml2, overriding the bundled version
2568 C compiler flags for the PE xslt, overriding the bundled version
2570 Linker flags for the PE xslt, overriding the bundled version
2572 C compiler flags for the PE zlib, overriding the bundled version
2574 Linker flags for the PE zlib, overriding the bundled version
2576 C compiler flags for the PE zydis, overriding the bundled
2579 Linker flags for the PE zydis, overriding the bundled version
2580 XMKMF Path to xmkmf, Makefile generator for X Window System
2582 WAYLAND_CLIENT_CFLAGS
2583 C compiler flags for wayland-client, overriding pkg-config
2585 Linker flags for wayland-client, overriding pkg-config
2587 C compiler flags for libinotify, overriding pkg-config
2589 Linker flags for libinotify, overriding pkg-config
2590 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2591 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2593 C compiler flags for gnutls, overriding pkg-config
2594 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2595 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2596 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2597 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2598 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2600 C compiler flags for libgphoto2, overriding pkg-config
2602 Linker flags for libgphoto2, overriding pkg-config
2604 C compiler flags for libgphoto2_port, overriding pkg-config
2606 Linker flags for libgphoto2_port, overriding pkg-config
2608 C compiler flags for freetype2, overriding pkg-config
2610 Linker flags for freetype2, overriding pkg-config
2612 C compiler flags for libpulse, overriding pkg-config
2613 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2615 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2616 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2618 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2619 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2620 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2621 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2623 C compiler flags for libunwind, overriding pkg-config
2624 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2625 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2626 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2628 C compiler flags for capi20, overriding pkg-config
2629 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2630 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2631 CUPS_LIBS Linker flags for cups, overriding pkg-config
2633 C compiler flags for fontconfig, overriding pkg-config
2635 Linker flags for fontconfig, overriding pkg-config
2636 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2637 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2639 C compiler flags for krb5-gssapi, overriding pkg-config
2640 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2642 C compiler flags for netapi, overriding pkg-config
2643 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2645 Use these variables to override the choices made by `configure' or to
help
2646 it to
find libraries and programs with nonstandard names
/locations.
2648 Report bugs to
<wine-devel@winehq.org
>.
2649 Wine home page
: <https
://www.winehq.org
>.
2654 if test "$ac_init_help" = "recursive"; then
2655 # If there are subdirs, report their specific --help.
2656 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2657 test -d "$ac_dir" ||
2658 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2663 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2665 ac_dir_suffix
=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2666 # A ".." for each directory in $ac_dir_suffix.
2667 ac_top_builddir_sub
=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2668 case $ac_top_builddir_sub in
2669 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2670 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2673 ac_abs_top_builddir
=$ac_pwd
2674 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2675 # for backward compatibility:
2676 ac_top_builddir
=$ac_top_build_prefix
2679 .
) # We are building in place.
2681 ac_top_srcdir
=$ac_top_builddir_sub
2682 ac_abs_top_srcdir
=$ac_pwd ;;
2683 [\\/]* | ?
:[\\/]* ) # Absolute name.
2684 ac_srcdir
=$srcdir$ac_dir_suffix;
2685 ac_top_srcdir
=$srcdir
2686 ac_abs_top_srcdir
=$srcdir ;;
2688 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2689 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2690 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2692 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2694 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2695 # Check for configure.gnu first; this name is used for a wrapper for
2696 # Metaconfig's "Configure" on case-insensitive file systems.
2697 if test -f "$ac_srcdir/configure.gnu"; then
2699 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2700 elif test -f "$ac_srcdir/configure"; then
2702 $SHELL "$ac_srcdir/configure" --help=recursive
2704 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2706 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2710 test -n "$ac_init_help" && exit $ac_status
2711 if $ac_init_version; then
2714 generated by GNU Autoconf
2.71
2716 Copyright
(C
) 2021 Free Software Foundation
, Inc.
2717 This configure
script is free software
; the Free Software Foundation
2718 gives unlimited permission to copy
, distribute and modify it.
2723 ## ------------------------ ##
2724 ## Autoconf initialization. ##
2725 ## ------------------------ ##
2727 # ac_fn_c_try_compile LINENO
2728 # --------------------------
2729 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2730 ac_fn_c_try_compile
()
2732 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2733 rm -f conftest.
$ac_objext conftest.beam
2734 if { { ac_try
="$ac_compile"
2736 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2737 *) ac_try_echo=$ac_try;;
2739 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2740 printf "%s\n" "$ac_try_echo"; } >&5
2741 (eval "$ac_compile") 2>conftest.err
2743 if test -s conftest.err; then
2744 grep -v '^ *+' conftest.err >conftest.er1
2745 cat conftest.er1 >&5
2746 mv -f conftest.er1 conftest.err
2748 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2749 test $ac_status = 0; } && {
2750 test -z "$ac_c_werror_flag" ||
2751 test ! -s conftest.err
2752 } && test -s conftest.$ac_objext
2756 printf "%s\n" "$as_me: failed program was:" >&5
2757 sed 's/^/| /' conftest.$ac_ext >&5
2761 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2762 as_fn_set_status $ac_retval
2764 } # ac_fn_c_try_compile
2766 # ac_fn_cxx_try_compile LINENO
2767 # ----------------------------
2768 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2769 ac_fn_cxx_try_compile ()
2771 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2772 rm -f conftest.$ac_objext conftest.beam
2773 if { { ac_try="$ac_compile"
2775 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2776 *) ac_try_echo
=$ac_try;;
2778 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2779 printf "%s\n" "$ac_try_echo"; } >&5
2780 (eval "$ac_compile") 2>conftest.err
2782 if test -s conftest.err
; then
2783 grep -v '^ *+' conftest.err
>conftest.er1
2784 cat conftest.er1
>&5
2785 mv -f conftest.er1 conftest.err
2787 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2788 test $ac_status = 0; } && {
2789 test -z "$ac_cxx_werror_flag" ||
2790 test ! -s conftest.err
2791 } && test -s conftest.
$ac_objext
2795 printf "%s\n" "$as_me: failed program was:" >&5
2796 sed 's/^/| /' conftest.
$ac_ext >&5
2800 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2801 as_fn_set_status
$ac_retval
2803 } # ac_fn_cxx_try_compile
2805 # ac_fn_c_try_link LINENO
2806 # -----------------------
2807 # Try to link conftest.$ac_ext, and return whether this succeeded.
2810 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2811 rm -f conftest.
$ac_objext conftest.beam conftest
$ac_exeext
2812 if { { ac_try
="$ac_link"
2814 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2815 *) ac_try_echo=$ac_try;;
2817 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2818 printf "%s\n" "$ac_try_echo"; } >&5
2819 (eval "$ac_link") 2>conftest.err
2821 if test -s conftest.err; then
2822 grep -v '^ *+' conftest.err >conftest.er1
2823 cat conftest.er1 >&5
2824 mv -f conftest.er1 conftest.err
2826 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2827 test $ac_status = 0; } && {
2828 test -z "$ac_c_werror_flag" ||
2829 test ! -s conftest.err
2830 } && test -s conftest$ac_exeext && {
2831 test "$cross_compiling" = yes ||
2832 test -x conftest$ac_exeext
2837 printf "%s\n" "$as_me: failed program was:" >&5
2838 sed 's/^/| /' conftest.$ac_ext >&5
2842 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2843 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2844 # interfere with the next link command; also delete a directory that is
2845 # left behind by Apple's compiler. We do this before executing the actions.
2846 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2847 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2848 as_fn_set_status $ac_retval
2850 } # ac_fn_c_try_link
2852 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2853 # -------------------------------------------------------
2854 # Tests whether HEADER exists and can be compiled using the include files in
2855 # INCLUDES, setting the cache variable VAR accordingly.
2856 ac_fn_c_check_header_compile ()
2858 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2860 printf %s "checking for $2... " >&6; }
2861 if eval test \${$3+y}
2863 printf %s "(cached) " >&6
2865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2866 /* end confdefs.h. */
2870 if ac_fn_c_try_compile "$LINENO"
2876 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2880 printf "%s\n" "$ac_res" >&6; }
2881 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2883 } # ac_fn_c_check_header_compile
2885 # ac_fn_objc_try_compile LINENO
2886 # -----------------------------
2887 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2888 ac_fn_objc_try_compile ()
2890 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2891 rm -f conftest.$ac_objext conftest.beam
2892 if { { ac_try="$ac_compile"
2894 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2895 *) ac_try_echo
=$ac_try;;
2897 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2898 printf "%s\n" "$ac_try_echo"; } >&5
2899 (eval "$ac_compile") 2>conftest.err
2901 if test -s conftest.err
; then
2902 grep -v '^ *+' conftest.err
>conftest.er1
2903 cat conftest.er1
>&5
2904 mv -f conftest.er1 conftest.err
2906 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2907 test $ac_status = 0; } && {
2908 test -z "$ac_objc_werror_flag" ||
2909 test ! -s conftest.err
2910 } && test -s conftest.
$ac_objext
2914 printf "%s\n" "$as_me: failed program was:" >&5
2915 sed 's/^/| /' conftest.
$ac_ext >&5
2919 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2920 as_fn_set_status
$ac_retval
2922 } # ac_fn_objc_try_compile
2924 # ac_fn_c_check_func LINENO FUNC VAR
2925 # ----------------------------------
2926 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2927 ac_fn_c_check_func
()
2929 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2931 printf %s
"checking for $2... " >&6; }
2932 if eval test \
${$3+y}
2934 printf %s
"(cached) " >&6
2936 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2937 /* end confdefs.h. */
2938 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2939 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2940 #define $2 innocuous_$2
2942 /* System header to define __stub macros and hopefully few prototypes,
2943 which can conflict with char $2 (); below. */
2948 /* Override any GCC internal prototype to avoid an error.
2949 Use char because int might match the return type of a GCC
2950 builtin and then its argument prototype would still apply. */
2955 /* The GNU C library defines this for functions which it implements
2956 to always fail with ENOSYS. Some functions are actually named
2957 something starting with __ and the normal name is an alias. */
2958 #if defined __stub_$2 || defined __stub___$2
2970 if ac_fn_c_try_link
"$LINENO"
2976 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
2977 conftest
$ac_exeext conftest.
$ac_ext
2980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2981 printf "%s\n" "$ac_res" >&6; }
2982 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2984 } # ac_fn_c_check_func
2986 # ac_fn_c_try_cpp LINENO
2987 # ----------------------
2988 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2991 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2992 if { { ac_try
="$ac_cpp conftest.$ac_ext"
2994 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2995 *) ac_try_echo=$ac_try;;
2997 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2998 printf "%s\n" "$ac_try_echo"; } >&5
2999 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3001 if test -s conftest.err; then
3002 grep -v '^ *+' conftest.err >conftest.er1
3003 cat conftest.er1 >&5
3004 mv -f conftest.er1 conftest.err
3006 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3007 test $ac_status = 0; } > conftest.i && {
3008 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3009 test ! -s conftest.err
3014 printf "%s\n" "$as_me: failed program was:" >&5
3015 sed 's/^/| /' conftest.$ac_ext >&5
3019 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3020 as_fn_set_status $ac_retval
3024 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3025 # ----------------------------------------------------
3026 # Tries to find if the field MEMBER exists in type AGGR, after including
3027 # INCLUDES, setting cache variable VAR accordingly.
3028 ac_fn_c_check_member ()
3030 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3032 printf %s "checking for $2.$3... " >&6; }
3033 if eval test \${$4+y}
3035 printf %s "(cached) " >&6
3037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3038 /* end confdefs.h. */
3050 if ac_fn_c_try_compile "$LINENO"
3054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3055 /* end confdefs.h. */
3061 if (sizeof ac_aggr.$3)
3067 if ac_fn_c_try_compile "$LINENO"
3073 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3075 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3079 printf "%s\n" "$ac_res" >&6; }
3080 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3082 } # ac_fn_c_check_member
3084 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3085 # -------------------------------------------
3086 # Tests whether TYPE exists after having included INCLUDES, setting cache
3087 # variable VAR accordingly.
3088 ac_fn_c_check_type ()
3090 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3092 printf %s "checking for $2... " >&6; }
3093 if eval test \${$3+y}
3095 printf %s "(cached) " >&6
3098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3099 /* end confdefs.h. */
3110 if ac_fn_c_try_compile "$LINENO"
3112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3113 /* end confdefs.h. */
3124 if ac_fn_c_try_compile "$LINENO"
3130 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3132 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3136 printf "%s\n" "$ac_res" >&6; }
3137 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3139 } # ac_fn_c_check_type
3140 ac_configure_args_raw=
3145 ac_arg=`printf "%s\n" "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
3147 as_fn_append ac_configure_args_raw " '$ac_arg'"
3150 case $ac_configure_args_raw in
3154 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3155 ac_unsafe_a="$ac_unsafe_z#~
"
3156 ac_safe_unquote="s
/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g
"
3157 ac_configure_args_raw=` printf "%s
\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3160 cat >config.log <<_ACEOF
3161 This file contains any messages produced by compilers while
3162 running configure, to aid debugging if configure makes a mistake.
3164 It was created by Wine $as_me 8.13, which was
3165 generated by GNU Autoconf 2.71. Invocation command line was
3167 $ $0$ac_configure_args_raw
3177 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3178 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3179 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3180 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3181 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3183 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3184 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3186 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3187 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3188 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3189 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3190 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3191 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3192 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3200 case $as_dir in #(((
3203 *) as_dir=$as_dir/ ;;
3205 printf "%s
\n" "PATH
: $as_dir"
3221 # Keep a trace of the command line.
3222 # Strip out --no-create and --no-recursion so they do not pile up.
3223 # Strip out --silent because we don't want to record it for future runs.
3224 # Also quote any args containing shell meta-characters.
3225 # Make two passes to allow for proper duplicate-argument suppression.
3229 ac_must_keep_next=false
3235 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3236 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3237 | -silent | --silent | --silen | --sile | --sil)
3240 ac_arg=`printf "%s
\n" "$ac_arg" | sed "s
/'/'\\\\\\\\''/g
"` ;;
3243 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3245 as_fn_append ac_configure_args1 " '$ac_arg'"
3246 if test $ac_must_keep_next = true; then
3247 ac_must_keep_next=false # Got value, back to normal.
3250 *=* | --config-cache | -C | -disable-* | --disable-* \
3251 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3252 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3253 | -with-* | --with-* | -without-* | --without-* | --x)
3254 case "$ac_configure_args0 " in
3255 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3258 -* ) ac_must_keep_next=true ;;
3261 as_fn_append ac_configure_args " '$ac_arg'"
3266 { ac_configure_args0=; unset ac_configure_args0;}
3267 { ac_configure_args1=; unset ac_configure_args1;}
3269 # When interrupted or exit'd, cleanup temporary files, and complete
3270 # config.log. We remove comments because anyway the quotes in there
3271 # would cause problems or look ugly.
3272 # WARNING: Use '\'' to represent an apostrophe within the trap.
3273 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3274 trap 'exit_status=$?
3277 # Save into config.log some information that might help in debugging.
3281 printf "%s
\n" "## ---------------- ##
3282 ## Cache variables. ##
3283 ## ---------------- ##"
3285 # The following way of writing the cache mishandles newlines in values,
3287 for ac_var
in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3288 eval ac_val
=\$
$ac_var
3292 *_cv_
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3293 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3296 _ | IFS | as_nl
) ;; #(
3297 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
3298 *) { eval $ac_var=; unset $ac_var;} ;;
3303 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3304 *${as_nl}ac_space
=\
*)
3306 "s/'\''/'\''\\\\'\'''\''/g;
3307 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3310 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3317 printf "%s\n" "## ----------------- ##
3318 ## Output variables. ##
3319 ## ----------------- ##"
3321 for ac_var
in $ac_subst_vars
3323 eval ac_val
=\$
$ac_var
3325 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3327 printf "%s\n" "$ac_var='\''$ac_val'\''"
3331 if test -n "$ac_subst_files"; then
3332 printf "%s\n" "## ------------------- ##
3333 ## File substitutions. ##
3334 ## ------------------- ##"
3336 for ac_var in $ac_subst_files
3338 eval ac_val=\$$ac_var
3340 *\'\''*) ac_val
=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3342 printf "%s\n" "$ac_var='\''$ac_val'\''"
3347 if test -s confdefs.h
; then
3348 printf "%s\n" "## ----------- ##
3355 test "$ac_signal" != 0 &&
3356 printf "%s\n" "$as_me: caught signal $ac_signal"
3357 printf "%s\n" "$as_me: exit $exit_status"
3359 rm -f core
*.core core.conftest.
* &&
3360 rm -f -r conftest
* confdefs
* conf$$
* $ac_clean_files &&
3363 for ac_signal in 1 2 13 15; do
3364 trap 'ac_signal
='$ac_signal'; as_fn_exit
1' $ac_signal
3368 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3369 rm -f -r conftest* confdefs.h
3371 printf "%s\n" "/* confdefs.h */" > confdefs.h
3373 # Predefined preprocessor variables.
3375 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3377 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3379 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3381 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3383 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3385 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3388 # Let the site file select an alternate cache file if it wants to.
3389 # Prefer an explicitly selected file to automatically selected ones.
3390 if test -n "$CONFIG_SITE"; then
3391 ac_site_files="$CONFIG_SITE"
3392 elif test "x$prefix" != xNONE; then
3393 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3395 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3398 for ac_site_file in $ac_site_files
3400 case $ac_site_file in #(
3404 ac_site_file=./$ac_site_file ;;
3406 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3408 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3409 sed 's
/^
/|
/' "$ac_site_file" >&5
3411 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3412 printf "%s
\n" "$as_me: error
: in \
`$ac_pwd':" >&2;}
3413 as_fn_error $? "failed to load site script $ac_site_file
3414 See \`config.log
' for more details" "$LINENO" 5; }
3418 if test -r "$cache_file"; then
3419 # Some versions of bash will fail to source /dev/null (special files
3420 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3421 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3423 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3425 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3426 *) . "./$cache_file";;
3430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3431 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3435 # Test code for whether the C compiler supports C89 (global declarations)
3436 ac_c_conftest_c89_globals='
3437 /* Does the compiler advertise C89 conformance?
3438 Do not
test the value of __STDC__
, because some compilers
set it to
0
3439 while being otherwise adequately conformant.
*/
3440 #if !defined __STDC__
3441 # error "Compiler does not advertise C89 conformance"
3447 /* Most of the following tests are stolen from RCS
5.7 src
/conf.sh.
*/
3448 struct buf
{ int x
; };
3449 struct buf
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
3450 static char
*e
(p
, i
)
3456 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
3461 s
= g
(p
, va_arg
(v
,int
));
3466 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
3467 function prototypes and stuff
, but not \xHH hex character constants.
3468 These
do not provoke an error unfortunately
, instead are silently treated
3469 as an
"x". The following induces an error
, until -std is added to get
3470 proper ANSI mode. Curiously
\x00 != x always comes out true
, for an
3471 array size
at least. It is necessary to
write \x00 == 0 to get something
3472 that is true only with
-std.
*/
3473 int osf4_cc_array
['\''\x00'\'' == 0 ?
1 : -1];
3475 /* IBM C
6 for AIX is almost-ANSI by default
, but it replaces macro parameters
3476 inside
strings and character constants.
*/
3477 #define FOO(x) '\''x'\''
3478 int xlc6_cc_array
[FOO
(a
) == '\''x
'\'' ?
1 : -1];
3480 int
test (int i
, double x
);
3481 struct s1
{int
(*f
) (int a
);};
3482 struct s2
{int
(*f
) (double a
);};
3483 int pairnames
(int
, char
**, int
*(*)(struct buf
*, struct stat
*, int
),
3486 # Test code for whether the C compiler supports C89 (body of main).
3487 ac_c_conftest_c89_main='
3488 ok |
= (argc
== 0 || f
(e
, argv
, 0) != argv
[0] || f
(e
, argv
, 1) != argv
[1]);
3491 # Test code for whether the C compiler supports C99 (global declarations)
3492 ac_c_conftest_c99_globals='
3493 // Does the compiler advertise C99 conformance?
3494 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3495 # error "Compiler does not advertise C99 conformance"
3498 #include <stdbool.h>
3499 extern int puts
(const char
*);
3500 extern int
printf (const char
*, ...
);
3501 extern int dprintf
(int
, const char
*, ...
);
3502 extern void
*malloc
(size_t
);
3504 // Check varargs macros. These examples are taken from C99
6.10.3.5.
3505 // dprintf is used instead of fprintf to avoid needing to
declare
3507 #define debug(...) dprintf (2, __VA_ARGS__)
3508 #define showlist(...) puts (#__VA_ARGS__)
3509 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3511 test_varargs_macros
(void
)
3516 debug
("X = %d\n", x
);
3517 showlist
(The first
, second
, and third items.
);
3518 report
(x
>y
, "x is %d but y is %d", x
, y
);
3521 // Check long long types.
3522 #define BIG64 18446744073709551615ull
3523 #define BIG32 4294967295ul
3524 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3526 #error "your preprocessor is broken"
3530 #error "your preprocessor is broken"
3532 static long long int bignum
= -9223372036854775807LL;
3533 static unsigned long long int ubignum
= BIG64
;
3535 struct incomplete_array
3543 const wchar_t
*name
;
3547 typedef const char
*ccp
;
3550 test_restrict
(ccp restrict text
)
3552 // See
if C
++-style comments work.
3553 // Iterate through items via the restricted pointer.
3554 // Also check
for declarations
in for loops.
3555 for (unsigned int i
= 0; *(text
+i
) != '\''\
0'\''; ++i
)
3560 // Check varargs and va_copy.
3562 test_varargs
(const char
*format
, ...
)
3565 va_start
(args
, format
);
3567 va_copy
(args_copy
, args
);
3569 const char
*str
= "";
3577 case '\''s
'\'': // string
3578 str
= va_arg
(args_copy
, const char
*);
3580 case '\''d
'\'': // int
3581 number
= va_arg
(args_copy
, int
);
3583 case '\''f
'\'': // float
3584 fnumber
= va_arg
(args_copy
, double
);
3593 return *str
&& number
&& fnumber
;
3597 # Test code for whether the C compiler supports C99 (body of main).
3598 ac_c_conftest_c99_main='
3600 _Bool success
= false
;
3601 success |
= (argc
!= 0);
3604 if (test_restrict
("String literal") == 0)
3606 char
*restrict newvar
= "Another string";
3609 success
&= test_varargs
("s, d'\'' f .", "string", 65, 34.234);
3610 test_varargs_macros
();
3612 // Check flexible array members.
3613 struct incomplete_array
*ia
=
3614 malloc
(sizeof
(struct incomplete_array
) + (sizeof
(double
) * 10));
3616 for (int i
= 0; i
< ia-
>datasize
; ++i
)
3617 ia-
>data
[i
] = i
* 1.234;
3619 // Check named initializers.
3620 struct named_init ni
= {
3622 .name
= L
"Test wide string",
3623 .average
= 543.34343,
3628 int dynamic_array
[ni.number
];
3629 dynamic_array
[0] = argv
[0][0];
3630 dynamic_array
[ni.number
- 1] = 543;
3632 // work around unused variable warnings
3633 ok |
= (!success || bignum
== 0LL || ubignum
== 0uLL || newvar
[0] == '\''x
'\''
3634 || dynamic_array
[ni.number
- 1] != 543);
3637 # Test code for whether the C compiler supports C11 (global declarations)
3638 ac_c_conftest_c11_globals='
3639 // Does the compiler advertise C11 conformance?
3640 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3641 # error "Compiler does not advertise C11 conformance"
3645 char _Alignas
(double
) aligned_as_double
;
3646 char _Alignas
(0) no_special_alignment
;
3647 extern char aligned_as_int
;
3648 char _Alignas
(0) _Alignas
(int
) aligned_as_int
;
3653 int_alignment
= _Alignof
(int
),
3654 int_array_alignment
= _Alignof
(int
[100]),
3655 char_alignment
= _Alignof
(char
)
3657 _Static_assert
(0 < -_Alignof (int
), "_Alignof is signed");
3660 int _Noreturn does_not_return
(void
) { for (;;) continue; }
3662 // Check _Static_assert.
3663 struct test_static_assert
3666 _Static_assert
(sizeof
(int
) <= sizeof
(long int
),
3667 "_Static_assert does not work in struct");
3671 // Check UTF-8 literals.
3672 #define u8 syntax error!
3673 char const utf8_literal
[] = u8
"happens to be ASCII" "another string";
3675 // Check duplicate typedefs.
3676 typedef long
*long_ptr
;
3677 typedef long int
*long_ptr
;
3678 typedef long_ptr long_ptr
;
3680 // Anonymous structures and unions
-- taken from C11
6.7.2.1 Example
1.
3684 struct
{ int i
; int j
; };
3685 struct
{ int k
; long int l
; } w
;
3691 # Test code for whether the C compiler supports C11 (body of main).
3692 ac_c_conftest_c11_main='
3693 _Static_assert
((offsetof
(struct anonymous
, i
)
3694 == offsetof
(struct anonymous
, w.k
)),
3695 "Anonymous union alignment botch");
3701 # Test code for whether the C compiler supports C11 (complete).
3702 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3703 ${ac_c_conftest_c99_globals}
3704 ${ac_c_conftest_c11_globals}
3707 main (int argc, char **argv)
3710 ${ac_c_conftest_c89_main}
3711 ${ac_c_conftest_c99_main}
3712 ${ac_c_conftest_c11_main}
3717 # Test code for whether the C compiler supports C99 (complete).
3718 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3719 ${ac_c_conftest_c99_globals}
3722 main (int argc, char **argv)
3725 ${ac_c_conftest_c89_main}
3726 ${ac_c_conftest_c99_main}
3731 # Test code for whether the C compiler supports C89 (complete).
3732 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3735 main (int argc, char **argv)
3738 ${ac_c_conftest_c89_main}
3743 # Test code for whether the C++ compiler supports C++98 (global declarations)
3744 ac_cxx_conftest_cxx98_globals='
3745 // Does the compiler advertise C
++98 conformance?
3746 #if !defined __cplusplus || __cplusplus < 199711L
3747 # error "Compiler does not advertise C++98 conformance"
3750 // These inclusions are to reject old compilers that
3751 // lack the unsuffixed header files.
3753 #include <exception>
3755 // <cassert
> and
<cstring
> are
*not
* freestanding headers
in C
++98.
3756 extern void assert
(int
);
3758 extern int strcmp
(const char
*, const char
*);
3761 // Namespaces
, exceptions
, and templates were all added after
"C++ 2.0".
3762 using std
::exception
;
3767 void test_exception_syntax
()
3771 } catch
(const char
*s
) {
3772 // Extra parentheses suppress a warning when building autoconf itself
,
3773 // due to lint rules shared with
more typical C programs.
3774 assert
(!(strcmp
) (s
, "test"));
3778 template
<typename T
> struct test_template
3781 explicit test_template
(T t
) : val
(t
) {}
3782 template
<typename U
> T add
(U u
) { return static_cast
<T
>(u
) + val
; }
3785 } // anonymous namespace
3788 # Test code for whether the C++ compiler supports C++98 (body of main)
3789 ac_cxx_conftest_cxx98_main='
3793 test_exception_syntax
();
3794 test_template
<double
> tt
(2.0);
3795 assert
(tt.add
(4) == 6.0);
3796 assert
(true
&& !false
);
3800 # Test code for whether the C++ compiler supports C++11 (global declarations)
3801 ac_cxx_conftest_cxx11_globals='
3802 // Does the compiler advertise C
++ 2011 conformance?
3803 #if !defined __cplusplus || __cplusplus < 201103L
3804 # error "Compiler does not advertise C++11 conformance"
3809 constexpr int get_val
() { return 20; }
3820 delegate
(int n
) : n
(n
) {}
3821 delegate
(): delegate
(2354) {}
3823 virtual int getval
() { return this-
>n
; };
3828 class overridden
: public delegate
3831 overridden
(int n
): delegate
(n
) {}
3832 virtual int getval
() override final
{ return this-
>n
* 2; }
3838 nocopy
(int i
): i
(i
) {}
3840 nocopy
(const nocopy
&) = delete
;
3841 nocopy
& operator
=(const nocopy
&) = delete
;
3846 // for testing lambda expressions
3847 template
<typename Ret
, typename Fn
> Ret
eval(Fn f
, Ret v
)
3852 // for testing variadic templates and trailing
return types
3853 template
<typename V
> auto
sum(V first
) -> V
3857 template
<typename V
, typename... Args
> auto
sum(V first
, Args... rest
) -> V
3859 return first
+ sum(rest...
);
3864 # Test code for whether the C++ compiler supports C++11 (body of main)
3865 ac_cxx_conftest_cxx11_main='
3867 // Test auto and decltype
3869 auto a2
= 48573953.4;
3870 auto a3
= "String literal";
3873 for (auto i
= a3
; *i
; ++i
) { total
+= *i
; }
3875 decltype
(a2
) a4
= 34895.034;
3879 short sa
[cxx11test
::get_val
()] = { 0 };
3882 // Test initializer lists
3883 cxx11test
::testinit il
= { 4323, 435234.23544 };
3886 // Test range-based
for
3887 int array
[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3888 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3889 for (auto
&x
: array
) { x
+= 23; }
3892 // Test lambda expressions
3893 using cxx11test
::eval;
3894 assert
(eval ([](int x
) { return x
*2; }, 21) == 42);
3896 assert
(eval ([&](double x
) { return d
+= x
; }, 3.0) == 5.0);
3898 assert
(eval ([=](double x
) mutable
{ return d
+= x
; }, 4.0) == 9.0);
3902 // Test use of variadic templates
3903 using cxx11test
::sum;
3906 auto c
= sum(1.0, 2.0, 3.0);
3909 // Test constructor delegation
3910 cxx11test
::delegate d1
;
3911 cxx11test
::delegate d2
();
3912 cxx11test
::delegate d3
(45);
3915 // Test override and final
3916 cxx11test
::overridden o1
(55464);
3923 // Test template brackets
3924 test_template
<::test_template
<int
>> v
(test_template
<int
>(12));
3928 char const
*utf8
= u8
"UTF-8 string \u2500";
3929 char16_t const
*utf16
= u
"UTF-8 string \u2500";
3930 char32_t const
*utf32
= U
"UTF-32 string \u2500";
3934 # Test code for whether the C compiler supports C++11 (complete).
3935 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3936 ${ac_cxx_conftest_cxx11_globals}
3939 main (int argc, char **argv)
3942 ${ac_cxx_conftest_cxx98_main}
3943 ${ac_cxx_conftest_cxx11_main}
3948 # Test code for whether the C compiler supports C++98 (complete).
3949 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3951 main (int argc, char **argv)
3954 ${ac_cxx_conftest_cxx98_main}
3959 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3960 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3961 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3962 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3963 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3964 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3965 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3966 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3967 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3969 # Auxiliary files required by this configure script.
3970 ac_aux_files="config.guess config.sub"
3972 # Locations in which to look for auxiliary files.
3973 ac_aux_dir_candidates="${srcdir}/tools"
3975 # Search for a directory containing all of the required auxiliary files,
3976 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3977 # If we don't
find one directory that contains all the files we need
,
3978 # we report the set of missing files from the *first* directory in
3979 # $ac_aux_dir_candidates and give up.
3980 ac_missing_aux_files
=""
3981 ac_first_candidate
=:
3982 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3983 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3985 for as_dir
in $ac_aux_dir_candidates
3988 case $as_dir in #(((
3991 *) as_dir
=$as_dir/ ;;
3995 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3996 ac_aux_dir_found
=yes
3998 for ac_aux
in $ac_aux_files
4000 # As a special case, if "install-sh" is required, that requirement
4001 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
4002 # and $ac_install_sh is set appropriately for whichever one is found.
4003 if test x
"$ac_aux" = x
"install-sh"
4005 if test -f "${as_dir}install-sh"; then
4006 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
4007 ac_install_sh
="${as_dir}install-sh -c"
4008 elif test -f "${as_dir}install.sh"; then
4009 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
4010 ac_install_sh
="${as_dir}install.sh -c"
4011 elif test -f "${as_dir}shtool"; then
4012 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
4013 ac_install_sh
="${as_dir}shtool install -c"
4016 if $ac_first_candidate; then
4017 ac_missing_aux_files
="${ac_missing_aux_files} install-sh"
4023 if test -f "${as_dir}${ac_aux}"; then
4024 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
4027 if $ac_first_candidate; then
4028 ac_missing_aux_files
="${ac_missing_aux_files} ${ac_aux}"
4035 if test "$ac_aux_dir_found" = yes; then
4036 ac_aux_dir
="$as_dir"
4039 ac_first_candidate
=false
4048 as_fn_error $?
"cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4052 # These three variables are undocumented and unsupported,
4053 # and are intended to be withdrawn in a future Autoconf release.
4054 # They can cause serious problems if a builder's source tree is in a directory
4055 # whose full name contains unusual characters.
4056 if test -f "${ac_aux_dir}config.guess"; then
4057 ac_config_guess
="$SHELL ${ac_aux_dir}config.guess"
4059 if test -f "${ac_aux_dir}config.sub"; then
4060 ac_config_sub
="$SHELL ${ac_aux_dir}config.sub"
4062 if test -f "$ac_aux_dir/configure"; then
4063 ac_configure
="$SHELL ${ac_aux_dir}configure"
4066 # Check that the precious variables saved in the cache have kept the same
4068 ac_cache_corrupted
=false
4069 for ac_var
in $ac_precious_vars; do
4070 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
4071 eval ac_new_set
=\
$ac_env_${ac_var}_set
4072 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
4073 eval ac_new_val
=\
$ac_env_${ac_var}_value
4074 case $ac_old_set,$ac_new_set in
4076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4077 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4078 ac_cache_corrupted
=: ;;
4080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4081 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4082 ac_cache_corrupted
=: ;;
4085 if test "x$ac_old_val" != "x$ac_new_val"; then
4086 # differences in whitespace do not lead to failure.
4087 ac_old_val_w
=`echo x $ac_old_val`
4088 ac_new_val_w
=`echo x $ac_new_val`
4089 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4091 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4092 ac_cache_corrupted
=:
4094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4095 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4096 eval $ac_var=\
$ac_old_val
4098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4099 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4101 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4104 # Pass precious variables to config.status.
4105 if test "$ac_new_set" = set; then
4107 *\'*) ac_arg
=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4108 *) ac_arg
=$ac_var=$ac_new_val ;;
4110 case " $ac_configure_args " in
4111 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4112 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
4116 if $ac_cache_corrupted; then
4117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4118 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4120 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4121 as_fn_error $?
"run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4122 and start over" "$LINENO" 5
4124 ## -------------------- ##
4125 ## Main body of script. ##
4126 ## -------------------- ##
4129 ac_cpp
='$CPP $CPPFLAGS'
4130 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4131 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4132 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4136 ac_config_headers
="$ac_config_headers include/config.h"
4140 libwine_version
="1.0"
4143 # Check whether --enable-archs was given.
4144 if test ${enable_archs+y}
4146 enableval
=$enable_archs;
4149 # Check whether --enable-win16 was given.
4150 if test ${enable_win16+y}
4152 enableval
=$enable_win16;
4155 # Check whether --enable-win64 was given.
4156 if test ${enable_win64+y}
4158 enableval
=$enable_win64;
4161 # Check whether --enable-tests was given.
4162 if test ${enable_tests+y}
4164 enableval
=$enable_tests;
4167 # Check whether --enable-build-id was given.
4168 if test ${enable_build_id+y}
4170 enableval
=$enable_build_id;
4173 # Check whether --enable-maintainer-mode was given.
4174 if test ${enable_maintainer_mode+y}
4176 enableval
=$enable_maintainer_mode;
4179 # Check whether --enable-silent-rules was given.
4180 if test ${enable_silent_rules+y}
4182 enableval
=$enable_silent_rules;
4185 # Check whether --enable-werror was given.
4186 if test ${enable_werror+y}
4188 enableval
=$enable_werror;
4193 # Check whether --with-alsa was given.
4194 if test ${with_alsa+y}
4200 # Check whether --with-capi was given.
4201 if test ${with_capi+y}
4207 # Check whether --with-coreaudio was given.
4208 if test ${with_coreaudio+y}
4210 withval
=$with_coreaudio;
4214 # Check whether --with-cups was given.
4215 if test ${with_cups+y}
4221 # Check whether --with-dbus was given.
4222 if test ${with_dbus+y}
4228 # Check whether --with-float-abi was given.
4229 if test ${with_float_abi+y}
4231 withval
=$with_float_abi;
4235 # Check whether --with-fontconfig was given.
4236 if test ${with_fontconfig+y}
4238 withval
=$with_fontconfig;
4242 # Check whether --with-freetype was given.
4243 if test ${with_freetype+y}
4245 withval
=$with_freetype;
4249 # Check whether --with-gettext was given.
4250 if test ${with_gettext+y}
4252 withval
=$with_gettext;
4256 # Check whether --with-gettextpo was given.
4257 if test ${with_gettextpo+y}
4259 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
4263 # Check whether --with-gphoto was given.
4264 if test ${with_gphoto+y}
4266 withval
=$with_gphoto;
4270 # Check whether --with-gnutls was given.
4271 if test ${with_gnutls+y}
4273 withval
=$with_gnutls;
4277 # Check whether --with-gssapi was given.
4278 if test ${with_gssapi+y}
4280 withval
=$with_gssapi;
4284 # Check whether --with-gstreamer was given.
4285 if test ${with_gstreamer+y}
4287 withval
=$with_gstreamer;
4291 # Check whether --with-inotify was given.
4292 if test ${with_inotify+y}
4294 withval
=$with_inotify;
4298 # Check whether --with-krb5 was given.
4299 if test ${with_krb5+y}
4305 # Check whether --with-mingw was given.
4306 if test ${with_mingw+y}
4308 withval
=$with_mingw;
4312 # Check whether --with-netapi was given.
4313 if test ${with_netapi+y}
4315 withval
=$with_netapi;
4319 # Check whether --with-opencl was given.
4320 if test ${with_opencl+y}
4322 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
4326 # Check whether --with-opengl was given.
4327 if test ${with_opengl+y}
4329 withval
=$with_opengl;
4333 # Check whether --with-osmesa was given.
4334 if test ${with_osmesa+y}
4336 withval
=$with_osmesa;
4340 # Check whether --with-oss was given.
4341 if test ${with_oss+y}
4347 # Check whether --with-pcap was given.
4348 if test ${with_pcap+y}
4350 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
4354 # Check whether --with-pcsclite was given.
4355 if test ${with_pcsclite+y}
4357 withval
=$with_pcsclite;
4361 # Check whether --with-pthread was given.
4362 if test ${with_pthread+y}
4364 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
4368 # Check whether --with-pulse was given.
4369 if test ${with_pulse+y}
4371 withval
=$with_pulse;
4375 # Check whether --with-sane was given.
4376 if test ${with_sane+y}
4382 # Check whether --with-sdl was given.
4383 if test ${with_sdl+y}
4389 # Check whether --with-udev was given.
4390 if test ${with_udev+y}
4396 # Check whether --with-unwind was given.
4397 if test ${with_unwind+y}
4399 withval
=$with_unwind;
4403 # Check whether --with-usb was given.
4404 if test ${with_usb+y}
4410 # Check whether --with-v4l2 was given.
4411 if test ${with_v4l2+y}
4417 # Check whether --with-vulkan was given.
4418 if test ${with_vulkan+y}
4420 withval
=$with_vulkan;
4424 # Check whether --with-wayland was given.
4425 if test ${with_wayland+y}
4427 withval
=$with_wayland;
4431 # Check whether --with-xcomposite was given.
4432 if test ${with_xcomposite+y}
4434 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
4438 # Check whether --with-xcursor was given.
4439 if test ${with_xcursor+y}
4441 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
4445 # Check whether --with-xfixes was given.
4446 if test ${with_xfixes+y}
4448 withval
=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h
=no
; fi
4452 # Check whether --with-xinerama was given.
4453 if test ${with_xinerama+y}
4455 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
4459 # Check whether --with-xinput was given.
4460 if test ${with_xinput+y}
4462 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
4466 # Check whether --with-xinput2 was given.
4467 if test ${with_xinput2+y}
4469 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
4473 # Check whether --with-xrandr was given.
4474 if test ${with_xrandr+y}
4476 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
4480 # Check whether --with-xrender was given.
4481 if test ${with_xrender+y}
4483 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
4487 # Check whether --with-xshape was given.
4488 if test ${with_xshape+y}
4490 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
4494 # Check whether --with-xshm was given.
4495 if test ${with_xshm+y}
4497 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
4501 # Check whether --with-xxf86vm was given.
4502 if test ${with_xxf86vm+y}
4504 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
4509 # Check whether --with-system-dllpath was given.
4510 if test ${with_system_dllpath+y}
4512 withval
=$with_system_dllpath; system_dllpath
=$withval
4517 # Check whether --with-wine-tools was given.
4518 if test ${with_wine_tools+y}
4520 withval
=$with_wine_tools;
4524 # Check whether --with-wine64 was given.
4525 if test ${with_wine64+y}
4527 withval
=$with_wine64;
4534 # Make sure we can run config.sub.
4535 $SHELL "${ac_aux_dir}config.sub" sun4
>/dev
/null
2>&1 ||
4536 as_fn_error $?
"cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4539 printf %s
"checking build system type... " >&6; }
4540 if test ${ac_cv_build+y}
4542 printf %s
"(cached) " >&6
4544 ac_build_alias
=$build_alias
4545 test "x$ac_build_alias" = x
&&
4546 ac_build_alias
=`$SHELL "${ac_aux_dir}config.guess"`
4547 test "x$ac_build_alias" = x
&&
4548 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
4549 ac_cv_build
=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4550 as_fn_error $?
"$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4554 printf "%s\n" "$ac_cv_build" >&6; }
4555 case $ac_cv_build in
4557 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
4560 ac_save_IFS
=$IFS; IFS
='-'
4566 # Remember, the first character of IFS is used to create $*,
4567 # except with old shells:
4570 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
4573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4574 printf %s
"checking host system type... " >&6; }
4575 if test ${ac_cv_host+y}
4577 printf %s
"(cached) " >&6
4579 if test "x$host_alias" = x
; then
4580 ac_cv_host
=$ac_cv_build
4582 ac_cv_host
=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4583 as_fn_error $?
"$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4588 printf "%s\n" "$ac_cv_host" >&6; }
4591 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
4594 ac_save_IFS
=$IFS; IFS
='-'
4600 # Remember, the first character of IFS is used to create $*,
4601 # except with old shells:
4604 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4608 dlldir
=\
${libdir}/wine
4610 fontdir
=\
${datadir}/wine
/fonts
4612 nlsdir
=\
${datadir}/wine
/nls
4617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4618 printf %s
"checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4620 ac_make
=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4621 if eval test \
${ac_cv_prog_make_${ac_make}_set+y}
4623 printf %s
"(cached) " >&6
4625 cat >conftest.
make <<\_ACEOF
4628 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4630 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4631 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4633 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4635 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4639 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4641 printf "%s\n" "yes" >&6; }
4644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4645 printf "%s\n" "no" >&6; }
4646 SET_MAKE
="MAKE=${MAKE-make}"
4659 ac_cpp
='$CPP $CPPFLAGS'
4660 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4661 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4662 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4663 if test -n "$ac_tool_prefix"; then
4664 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4665 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4667 printf %s
"checking for $ac_word... " >&6; }
4668 if test ${ac_cv_prog_CC+y}
4670 printf %s
"(cached) " >&6
4672 if test -n "$CC"; then
4673 ac_cv_prog_CC
="$CC" # Let the user override the test.
4675 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4679 case $as_dir in #(((
4682 *) as_dir
=$as_dir/ ;;
4684 for ac_exec_ext
in '' $ac_executable_extensions; do
4685 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4686 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4687 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4697 if test -n "$CC"; then
4698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4699 printf "%s\n" "$CC" >&6; }
4701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4702 printf "%s\n" "no" >&6; }
4707 if test -z "$ac_cv_prog_CC"; then
4709 # Extract the first word of "gcc", so it can be a program name with args.
4710 set dummy gcc
; 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_ac_ct_CC+y}
4715 printf %s
"(cached) " >&6
4717 if test -n "$ac_ct_CC"; then
4718 ac_cv_prog_ac_ct_CC
="$ac_ct_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_ac_ct_CC
="gcc"
4732 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4741 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4742 if test -n "$ac_ct_CC"; then
4743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4744 printf "%s\n" "$ac_ct_CC" >&6; }
4746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4747 printf "%s\n" "no" >&6; }
4750 if test "x$ac_ct_CC" = x
; then
4753 case $cross_compiling:$ac_tool_warned in
4755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4756 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4757 ac_tool_warned
=yes ;;
4765 if test -z "$CC"; then
4766 if test -n "$ac_tool_prefix"; then
4767 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4768 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4770 printf %s
"checking for $ac_word... " >&6; }
4771 if test ${ac_cv_prog_CC+y}
4773 printf %s
"(cached) " >&6
4775 if test -n "$CC"; then
4776 ac_cv_prog_CC
="$CC" # Let the user override the test.
4778 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4782 case $as_dir in #(((
4785 *) as_dir
=$as_dir/ ;;
4787 for ac_exec_ext
in '' $ac_executable_extensions; do
4788 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4789 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4790 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4800 if test -n "$CC"; then
4801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4802 printf "%s\n" "$CC" >&6; }
4804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4805 printf "%s\n" "no" >&6; }
4811 if test -z "$CC"; then
4812 # Extract the first word of "cc", so it can be a program name with args.
4813 set dummy cc
; ac_word
=$2
4814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4815 printf %s
"checking for $ac_word... " >&6; }
4816 if test ${ac_cv_prog_CC+y}
4818 printf %s
"(cached) " >&6
4820 if test -n "$CC"; then
4821 ac_cv_prog_CC
="$CC" # Let the user override the test.
4824 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4828 case $as_dir in #(((
4831 *) as_dir
=$as_dir/ ;;
4833 for ac_exec_ext
in '' $ac_executable_extensions; do
4834 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4835 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4836 ac_prog_rejected
=yes
4840 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4847 if test $ac_prog_rejected = yes; then
4848 # We found a bogon in the path, so make sure we never use it.
4849 set dummy
$ac_cv_prog_CC
4851 if test $# != 0; then
4852 # We chose a different compiler from the bogus one.
4853 # However, it has the same basename, so the bogon will be chosen
4854 # first if we set CC to just the basename; use the full file name.
4856 ac_cv_prog_CC
="$as_dir$ac_word${1+' '}$@"
4862 if test -n "$CC"; then
4863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4864 printf "%s\n" "$CC" >&6; }
4866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4867 printf "%s\n" "no" >&6; }
4872 if test -z "$CC"; then
4873 if test -n "$ac_tool_prefix"; then
4874 for ac_prog
in cl.exe
4876 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4877 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4879 printf %s
"checking for $ac_word... " >&6; }
4880 if test ${ac_cv_prog_CC+y}
4882 printf %s
"(cached) " >&6
4884 if test -n "$CC"; then
4885 ac_cv_prog_CC
="$CC" # Let the user override the test.
4887 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4891 case $as_dir in #(((
4894 *) as_dir
=$as_dir/ ;;
4896 for ac_exec_ext
in '' $ac_executable_extensions; do
4897 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4898 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4899 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4909 if test -n "$CC"; then
4910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4911 printf "%s\n" "$CC" >&6; }
4913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4914 printf "%s\n" "no" >&6; }
4918 test -n "$CC" && break
4921 if test -z "$CC"; then
4923 for ac_prog
in cl.exe
4925 # Extract the first word of "$ac_prog", so it can be a program name with args.
4926 set dummy
$ac_prog; ac_word
=$2
4927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4928 printf %s
"checking for $ac_word... " >&6; }
4929 if test ${ac_cv_prog_ac_ct_CC+y}
4931 printf %s
"(cached) " >&6
4933 if test -n "$ac_ct_CC"; then
4934 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4936 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4940 case $as_dir in #(((
4943 *) as_dir
=$as_dir/ ;;
4945 for ac_exec_ext
in '' $ac_executable_extensions; do
4946 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4947 ac_cv_prog_ac_ct_CC
="$ac_prog"
4948 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4957 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4958 if test -n "$ac_ct_CC"; then
4959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4960 printf "%s\n" "$ac_ct_CC" >&6; }
4962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4963 printf "%s\n" "no" >&6; }
4967 test -n "$ac_ct_CC" && break
4970 if test "x$ac_ct_CC" = x
; then
4973 case $cross_compiling:$ac_tool_warned in
4975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4976 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4977 ac_tool_warned
=yes ;;
4984 if test -z "$CC"; then
4985 if test -n "$ac_tool_prefix"; then
4986 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4987 set dummy
${ac_tool_prefix}clang
; ac_word
=$2
4988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4989 printf %s
"checking for $ac_word... " >&6; }
4990 if test ${ac_cv_prog_CC+y}
4992 printf %s
"(cached) " >&6
4994 if test -n "$CC"; then
4995 ac_cv_prog_CC
="$CC" # Let the user override the test.
4997 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5001 case $as_dir in #(((
5004 *) as_dir
=$as_dir/ ;;
5006 for ac_exec_ext
in '' $ac_executable_extensions; do
5007 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
5008 ac_cv_prog_CC
="${ac_tool_prefix}clang"
5009 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5019 if test -n "$CC"; then
5020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5021 printf "%s\n" "$CC" >&6; }
5023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5024 printf "%s\n" "no" >&6; }
5029 if test -z "$ac_cv_prog_CC"; then
5031 # Extract the first word of "clang", so it can be a program name with args.
5032 set dummy clang
; ac_word
=$2
5033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5034 printf %s
"checking for $ac_word... " >&6; }
5035 if test ${ac_cv_prog_ac_ct_CC+y}
5037 printf %s
"(cached) " >&6
5039 if test -n "$ac_ct_CC"; then
5040 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5042 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5046 case $as_dir in #(((
5049 *) as_dir
=$as_dir/ ;;
5051 for ac_exec_ext
in '' $ac_executable_extensions; do
5052 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
5053 ac_cv_prog_ac_ct_CC
="clang"
5054 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5063 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5064 if test -n "$ac_ct_CC"; then
5065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5066 printf "%s\n" "$ac_ct_CC" >&6; }
5068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5069 printf "%s\n" "no" >&6; }
5072 if test "x$ac_ct_CC" = x
; then
5075 case $cross_compiling:$ac_tool_warned in
5077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5078 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5079 ac_tool_warned
=yes ;;
5090 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5091 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5092 as_fn_error $?
"no acceptable C compiler found in \$PATH
5093 See \`config.log' for more details" "$LINENO" 5; }
5095 # Provide some information about the compiler.
5096 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5099 for ac_option
in --version -v -V -qversion -version; do
5100 { { ac_try
="$ac_compiler $ac_option >&5"
5102 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5103 *) ac_try_echo=$ac_try;;
5105 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5106 printf "%s\n" "$ac_try_echo"; } >&5
5107 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5109 if test -s conftest.err; then
5111 ... rest of stderr output deleted ...
5112 10q' conftest.err >conftest.er1
5113 cat conftest.er1 >&5
5115 rm -f conftest.er1 conftest.err
5116 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5117 test $ac_status = 0; }
5120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5121 /* end confdefs.h. */
5131 ac_clean_files_save=$ac_clean_files
5132 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5133 # Try to create an executable without -o first, disregard a.out.
5134 # It will help us diagnose broken compilers, and finding out an intuition
5136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5137 printf %s "checking whether the C compiler works... " >&6; }
5138 ac_link_default=`printf "%s\n" "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
5140 # The possible output files:
5141 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5144 for ac_file in $ac_files
5147 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5148 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5153 if { { ac_try="$ac_link_default"
5155 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5156 *) ac_try_echo
=$ac_try;;
5158 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5159 printf "%s\n" "$ac_try_echo"; } >&5
5160 (eval "$ac_link_default") 2>&5
5162 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5163 test $ac_status = 0; }
5165 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5166 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5167 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5168 # so that the user can short-circuit this test for compilers unknown to
5170 for ac_file
in $ac_files ''
5172 test -f "$ac_file" ||
continue
5174 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
5177 # We found the default executable, but exeext='' is most
5181 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no
;
5183 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
5185 # We set ac_cv_exeext here because the later test for it is not
5186 # safe: cross compilers may not add the suffix if given an `-o'
5187 # argument, so we may need to know it at that point already.
5188 # Even if this section looks crufty: it has the advantage of
5195 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
5200 if test -z "$ac_file"
5202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5203 printf "%s\n" "no" >&6; }
5204 printf "%s\n" "$as_me: failed program was:" >&5
5205 sed 's/^/| /' conftest.
$ac_ext >&5
5207 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5208 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5209 as_fn_error
77 "C compiler cannot create executables
5210 See \`config.log' for more details" "$LINENO" 5; }
5212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5213 printf "%s\n" "yes" >&6; }
5215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5216 printf %s
"checking for C compiler default output file name... " >&6; }
5217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5218 printf "%s\n" "$ac_file" >&6; }
5219 ac_exeext
=$ac_cv_exeext
5221 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
5222 ac_clean_files
=$ac_clean_files_save
5223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5224 printf %s
"checking for suffix of executables... " >&6; }
5225 if { { ac_try
="$ac_link"
5227 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5228 *) ac_try_echo=$ac_try;;
5230 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5231 printf "%s\n" "$ac_try_echo"; } >&5
5232 (eval "$ac_link") 2>&5
5234 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5235 test $ac_status = 0; }
5237 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
5238 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
5239 # work properly (i.e., refer to `conftest.exe'), while it won't with
5241 for ac_file
in conftest.exe conftest conftest.
*; do
5242 test -f "$ac_file" ||
continue
5244 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
5245 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
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 $?
"cannot compute suffix of executables: cannot compile and link
5254 See \`config.log' for more details" "$LINENO" 5; }
5256 rm -f conftest conftest
$ac_cv_exeext
5257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5258 printf "%s\n" "$ac_cv_exeext" >&6; }
5260 rm -f conftest.
$ac_ext
5261 EXEEXT
=$ac_cv_exeext
5263 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5264 /* end confdefs.h. */
5269 FILE *f = fopen ("conftest.out", "w");
5270 return ferror (f) || fclose (f) != 0;
5276 ac_clean_files
="$ac_clean_files conftest.out"
5277 # Check that the compiler produces executables we can run. If not, either
5278 # the compiler is broken, or we cross compile.
5279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5280 printf %s
"checking whether we are cross compiling... " >&6; }
5281 if test "$cross_compiling" != yes; then
5282 { { ac_try
="$ac_link"
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_link") 2>&5
5291 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5292 test $ac_status = 0; }
5293 if { ac_try='./conftest$ac_cv_exeext'
5294 { { case "(($ac_try" in
5295 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5296 *) ac_try_echo
=$ac_try;;
5298 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5299 printf "%s\n" "$ac_try_echo"; } >&5
5300 (eval "$ac_try") 2>&5
5302 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5303 test $ac_status = 0; }; }; then
5306 if test "$cross_compiling" = maybe
; then
5309 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5310 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5311 as_fn_error
77 "cannot run C compiled programs.
5312 If you meant to cross compile, use \`--host'.
5313 See \`config.log' for more details" "$LINENO" 5; }
5317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5318 printf "%s\n" "$cross_compiling" >&6; }
5320 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
5321 ac_clean_files
=$ac_clean_files_save
5322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5323 printf %s
"checking for suffix of object files... " >&6; }
5324 if test ${ac_cv_objext+y}
5326 printf %s
"(cached) " >&6
5328 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5329 /* end confdefs.h. */
5339 rm -f conftest.o conftest.obj
5340 if { { ac_try
="$ac_compile"
5342 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5343 *) ac_try_echo=$ac_try;;
5345 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5346 printf "%s\n" "$ac_try_echo"; } >&5
5347 (eval "$ac_compile") 2>&5
5349 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5350 test $ac_status = 0; }
5352 for ac_file in conftest.o conftest.obj conftest.*; do
5353 test -f "$ac_file" || continue;
5355 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5356 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5361 printf "%s\n" "$as_me: failed program was:" >&5
5362 sed 's/^/| /' conftest.$ac_ext >&5
5364 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5365 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5366 as_fn_error $? "cannot compute suffix of object files
: cannot compile
5367 See \
`config.log' for more details" "$LINENO" 5; }
5369 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5372 printf "%s\n" "$ac_cv_objext" >&6; }
5373 OBJEXT=$ac_cv_objext
5375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5376 printf %s "checking whether the compiler supports GNU C... " >&6; }
5377 if test ${ac_cv_c_compiler_gnu+y}
5379 printf %s "(cached) " >&6
5381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5382 /* end confdefs.h. */
5395 if ac_fn_c_try_compile "$LINENO"
5401 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5402 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5406 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5409 if test $ac_compiler_gnu = yes; then
5414 ac_test_CFLAGS=${CFLAGS+y}
5415 ac_save_CFLAGS=$CFLAGS
5416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5417 printf %s "checking whether $CC accepts -g... " >&6; }
5418 if test ${ac_cv_prog_cc_g+y}
5420 printf %s "(cached) " >&6
5422 ac_save_c_werror_flag=$ac_c_werror_flag
5423 ac_c_werror_flag=yes
5426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5427 /* end confdefs.h. */
5437 if ac_fn_c_try_compile "$LINENO"
5442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5443 /* end confdefs.h. */
5453 if ac_fn_c_try_compile "$LINENO"
5457 ac_c_werror_flag=$ac_save_c_werror_flag
5459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5460 /* end confdefs.h. */
5470 if ac_fn_c_try_compile "$LINENO"
5474 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5476 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5478 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5479 ac_c_werror_flag=$ac_save_c_werror_flag
5481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5482 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5483 if test $ac_test_CFLAGS; then
5484 CFLAGS=$ac_save_CFLAGS
5485 elif test $ac_cv_prog_cc_g = yes; then
5486 if test "$GCC" = yes; then
5492 if test "$GCC" = yes; then
5499 if test x$ac_prog_cc_stdc = xno
5501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5502 printf %s "checking for $CC option to enable C11 features... " >&6; }
5503 if test ${ac_cv_prog_cc_c11+y}
5505 printf %s "(cached) " >&6
5507 ac_cv_prog_cc_c11=no
5509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5510 /* end confdefs.h. */
5511 $ac_c_conftest_c11_program
5513 for ac_arg in '' -std=gnu11
5515 CC="$ac_save_CC $ac_arg"
5516 if ac_fn_c_try_compile "$LINENO"
5518 ac_cv_prog_cc_c11=$ac_arg
5520 rm -f core conftest.err conftest.$ac_objext conftest.beam
5521 test "x$ac_cv_prog_cc_c11" != "xno" && break
5523 rm -f conftest.$ac_ext
5527 if test "x$ac_cv_prog_cc_c11" = xno
5529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5530 printf "%s\n" "unsupported" >&6; }
5532 if test "x$ac_cv_prog_cc_c11" = x
5534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5535 printf "%s\n" "none needed" >&6; }
5537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5538 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5539 CC="$CC $ac_cv_prog_cc_c11"
5541 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5545 if test x$ac_prog_cc_stdc = xno
5547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5548 printf %s "checking for $CC option to enable C99 features... " >&6; }
5549 if test ${ac_cv_prog_cc_c99+y}
5551 printf %s "(cached) " >&6
5553 ac_cv_prog_cc_c99=no
5555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5556 /* end confdefs.h. */
5557 $ac_c_conftest_c99_program
5559 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5561 CC="$ac_save_CC $ac_arg"
5562 if ac_fn_c_try_compile "$LINENO"
5564 ac_cv_prog_cc_c99=$ac_arg
5566 rm -f core conftest.err conftest.$ac_objext conftest.beam
5567 test "x$ac_cv_prog_cc_c99" != "xno" && break
5569 rm -f conftest.$ac_ext
5573 if test "x$ac_cv_prog_cc_c99" = xno
5575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5576 printf "%s\n" "unsupported" >&6; }
5578 if test "x$ac_cv_prog_cc_c99" = x
5580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5581 printf "%s\n" "none needed" >&6; }
5583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5584 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5585 CC="$CC $ac_cv_prog_cc_c99"
5587 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5591 if test x$ac_prog_cc_stdc = xno
5593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5594 printf %s "checking for $CC option to enable C89 features... " >&6; }
5595 if test ${ac_cv_prog_cc_c89+y}
5597 printf %s "(cached) " >&6
5599 ac_cv_prog_cc_c89=no
5601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5602 /* end confdefs.h. */
5603 $ac_c_conftest_c89_program
5605 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5607 CC="$ac_save_CC $ac_arg"
5608 if ac_fn_c_try_compile "$LINENO"
5610 ac_cv_prog_cc_c89=$ac_arg
5612 rm -f core conftest.err conftest.$ac_objext conftest.beam
5613 test "x$ac_cv_prog_cc_c89" != "xno" && break
5615 rm -f conftest.$ac_ext
5619 if test "x$ac_cv_prog_cc_c89" = xno
5621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5622 printf "%s\n" "unsupported" >&6; }
5624 if test "x$ac_cv_prog_cc_c89" = x
5626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5627 printf "%s\n" "none needed" >&6; }
5629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5630 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5631 CC="$CC $ac_cv_prog_cc_c89"
5633 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5639 ac_cpp='$CPP $CPPFLAGS'
5640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5651 ac_cpp='$CXXCPP $CPPFLAGS'
5652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5655 if test -z "$CXX"; then
5656 if test -n "$CCC"; then
5659 if test -n "$ac_tool_prefix"; then
5660 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5662 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5663 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5665 printf %s "checking for $ac_word... " >&6; }
5666 if test ${ac_cv_prog_CXX+y}
5668 printf %s "(cached) " >&6
5670 if test -n "$CXX"; then
5671 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5677 case $as_dir in #(((
5680 *) as_dir=$as_dir/ ;;
5682 for ac_exec_ext in '' $ac_executable_extensions; do
5683 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5684 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5685 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5695 if test -n "$CXX"; then
5696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5697 printf "%s\n" "$CXX" >&6; }
5699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5700 printf "%s\n" "no" >&6; }
5704 test -n "$CXX" && break
5707 if test -z "$CXX"; then
5709 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5711 # Extract the first word of "$ac_prog", so it can be a program name with args.
5712 set dummy $ac_prog; ac_word=$2
5713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5714 printf %s "checking for $ac_word... " >&6; }
5715 if test ${ac_cv_prog_ac_ct_CXX+y}
5717 printf %s "(cached) " >&6
5719 if test -n "$ac_ct_CXX"; then
5720 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5726 case $as_dir in #(((
5729 *) as_dir=$as_dir/ ;;
5731 for ac_exec_ext in '' $ac_executable_extensions; do
5732 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5733 ac_cv_prog_ac_ct_CXX="$ac_prog"
5734 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5743 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5744 if test -n "$ac_ct_CXX"; then
5745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5746 printf "%s\n" "$ac_ct_CXX" >&6; }
5748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5749 printf "%s\n" "no" >&6; }
5753 test -n "$ac_ct_CXX" && break
5756 if test "x$ac_ct_CXX" = x; then
5759 case $cross_compiling:$ac_tool_warned in
5761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5762 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5763 ac_tool_warned=yes ;;
5771 # Provide some information about the compiler.
5772 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5775 for ac_option in --version -v -V -qversion; do
5776 { { ac_try="$ac_compiler $ac_option >&5"
5778 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5779 *) ac_try_echo
=$ac_try;;
5781 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5782 printf "%s\n" "$ac_try_echo"; } >&5
5783 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5785 if test -s conftest.err
; then
5787 ... rest of stderr output deleted ...
5788 10q' conftest.err
>conftest.er1
5789 cat conftest.er1
>&5
5791 rm -f conftest.er1 conftest.err
5792 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5793 test $ac_status = 0; }
5796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5797 printf %s
"checking whether the compiler supports GNU C++... " >&6; }
5798 if test ${ac_cv_cxx_compiler_gnu+y}
5800 printf %s
"(cached) " >&6
5802 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5803 /* end confdefs.h. */
5816 if ac_fn_cxx_try_compile
"$LINENO"
5822 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5823 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5827 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5828 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5830 if test $ac_compiler_gnu = yes; then
5835 ac_test_CXXFLAGS
=${CXXFLAGS+y}
5836 ac_save_CXXFLAGS
=$CXXFLAGS
5837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5838 printf %s
"checking whether $CXX accepts -g... " >&6; }
5839 if test ${ac_cv_prog_cxx_g+y}
5841 printf %s
"(cached) " >&6
5843 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5844 ac_cxx_werror_flag
=yes
5847 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5848 /* end confdefs.h. */
5858 if ac_fn_cxx_try_compile
"$LINENO"
5860 ac_cv_prog_cxx_g
=yes
5863 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5864 /* end confdefs.h. */
5874 if ac_fn_cxx_try_compile
"$LINENO"
5878 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5880 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5881 /* end confdefs.h. */
5891 if ac_fn_cxx_try_compile
"$LINENO"
5893 ac_cv_prog_cxx_g
=yes
5895 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5897 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5899 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5900 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5903 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5904 if test $ac_test_CXXFLAGS; then
5905 CXXFLAGS
=$ac_save_CXXFLAGS
5906 elif test $ac_cv_prog_cxx_g = yes; then
5907 if test "$GXX" = yes; then
5913 if test "$GXX" = yes; then
5919 ac_prog_cxx_stdcxx
=no
5920 if test x
$ac_prog_cxx_stdcxx = xno
5922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5923 printf %s
"checking for $CXX option to enable C++11 features... " >&6; }
5924 if test ${ac_cv_prog_cxx_cxx11+y}
5926 printf %s
"(cached) " >&6
5928 ac_cv_prog_cxx_cxx11
=no
5930 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5931 /* end confdefs.h. */
5932 $ac_cxx_conftest_cxx11_program
5934 for ac_arg
in '' -std=gnu
++11 -std=gnu
++0x
-std=c
++11 -std=c
++0x
-qlanglvl=extended0x
-AA
5936 CXX
="$ac_save_CXX $ac_arg"
5937 if ac_fn_cxx_try_compile
"$LINENO"
5939 ac_cv_prog_cxx_cxx11
=$ac_arg
5941 rm -f core conftest.err conftest.
$ac_objext conftest.beam
5942 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5944 rm -f conftest.
$ac_ext
5948 if test "x$ac_cv_prog_cxx_cxx11" = xno
5950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5951 printf "%s\n" "unsupported" >&6; }
5953 if test "x$ac_cv_prog_cxx_cxx11" = x
5955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5956 printf "%s\n" "none needed" >&6; }
5958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5959 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5960 CXX
="$CXX $ac_cv_prog_cxx_cxx11"
5962 ac_cv_prog_cxx_stdcxx
=$ac_cv_prog_cxx_cxx11
5963 ac_prog_cxx_stdcxx
=cxx11
5966 if test x
$ac_prog_cxx_stdcxx = xno
5968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5969 printf %s
"checking for $CXX option to enable C++98 features... " >&6; }
5970 if test ${ac_cv_prog_cxx_cxx98+y}
5972 printf %s
"(cached) " >&6
5974 ac_cv_prog_cxx_cxx98
=no
5976 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5977 /* end confdefs.h. */
5978 $ac_cxx_conftest_cxx98_program
5980 for ac_arg
in '' -std=gnu
++98 -std=c
++98 -qlanglvl=extended
-AA
5982 CXX
="$ac_save_CXX $ac_arg"
5983 if ac_fn_cxx_try_compile
"$LINENO"
5985 ac_cv_prog_cxx_cxx98
=$ac_arg
5987 rm -f core conftest.err conftest.
$ac_objext conftest.beam
5988 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
5990 rm -f conftest.
$ac_ext
5994 if test "x$ac_cv_prog_cxx_cxx98" = xno
5996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5997 printf "%s\n" "unsupported" >&6; }
5999 if test "x$ac_cv_prog_cxx_cxx98" = x
6001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6002 printf "%s\n" "none needed" >&6; }
6004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
6005 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
6006 CXX
="$CXX $ac_cv_prog_cxx_cxx98"
6008 ac_cv_prog_cxx_stdcxx
=$ac_cv_prog_cxx_cxx98
6009 ac_prog_cxx_stdcxx
=cxx98
6014 ac_cpp
='$CPP $CPPFLAGS'
6015 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6016 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6017 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6019 if test -n "$ac_tool_prefix"; then
6020 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
6021 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
6022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6023 printf %s
"checking for $ac_word... " >&6; }
6024 if test ${ac_cv_prog_CPPBIN+y}
6026 printf %s
"(cached) " >&6
6028 if test -n "$CPPBIN"; then
6029 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
6031 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6035 case $as_dir in #(((
6038 *) as_dir
=$as_dir/ ;;
6040 for ac_exec_ext
in '' $ac_executable_extensions; do
6041 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6042 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
6043 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6052 CPPBIN
=$ac_cv_prog_CPPBIN
6053 if test -n "$CPPBIN"; then
6054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6055 printf "%s\n" "$CPPBIN" >&6; }
6057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6058 printf "%s\n" "no" >&6; }
6063 if test -z "$ac_cv_prog_CPPBIN"; then
6064 ac_ct_CPPBIN
=$CPPBIN
6065 # Extract the first word of "cpp", so it can be a program name with args.
6066 set dummy cpp
; ac_word
=$2
6067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6068 printf %s
"checking for $ac_word... " >&6; }
6069 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6071 printf %s
"(cached) " >&6
6073 if test -n "$ac_ct_CPPBIN"; then
6074 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
6076 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6080 case $as_dir in #(((
6083 *) as_dir
=$as_dir/ ;;
6085 for ac_exec_ext
in '' $ac_executable_extensions; do
6086 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6087 ac_cv_prog_ac_ct_CPPBIN
="cpp"
6088 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6097 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
6098 if test -n "$ac_ct_CPPBIN"; then
6099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6100 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6103 printf "%s\n" "no" >&6; }
6106 if test "x$ac_ct_CPPBIN" = x
; then
6109 case $cross_compiling:$ac_tool_warned in
6111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6112 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6113 ac_tool_warned
=yes ;;
6115 CPPBIN
=$ac_ct_CPPBIN
6118 CPPBIN
="$ac_cv_prog_CPPBIN"
6122 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6124 if test -n "$ac_tool_prefix"; then
6125 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6126 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
6127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6128 printf %s
"checking for $ac_word... " >&6; }
6129 if test ${ac_cv_prog_LD+y}
6131 printf %s
"(cached) " >&6
6133 if test -n "$LD"; then
6134 ac_cv_prog_LD
="$LD" # Let the user override the test.
6136 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6140 case $as_dir in #(((
6143 *) as_dir
=$as_dir/ ;;
6145 for ac_exec_ext
in '' $ac_executable_extensions; do
6146 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6147 ac_cv_prog_LD
="${ac_tool_prefix}ld"
6148 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6158 if test -n "$LD"; then
6159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6160 printf "%s\n" "$LD" >&6; }
6162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6163 printf "%s\n" "no" >&6; }
6168 if test -z "$ac_cv_prog_LD"; then
6170 # Extract the first word of "ld", so it can be a program name with args.
6171 set dummy ld
; ac_word
=$2
6172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6173 printf %s
"checking for $ac_word... " >&6; }
6174 if test ${ac_cv_prog_ac_ct_LD+y}
6176 printf %s
"(cached) " >&6
6178 if test -n "$ac_ct_LD"; then
6179 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
6181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6185 case $as_dir in #(((
6188 *) as_dir
=$as_dir/ ;;
6190 for ac_exec_ext
in '' $ac_executable_extensions; do
6191 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6192 ac_cv_prog_ac_ct_LD
="ld"
6193 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6202 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
6203 if test -n "$ac_ct_LD"; then
6204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6205 printf "%s\n" "$ac_ct_LD" >&6; }
6207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6208 printf "%s\n" "no" >&6; }
6211 if test "x$ac_ct_LD" = x
; then
6214 case $cross_compiling:$ac_tool_warned in
6216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6217 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6218 ac_tool_warned
=yes ;;
6229 with_fontconfig
=${with_fontconfig:-no}
6231 *-mingw32*|
*-cygwin*)
6232 enable_win16
=${enable_win16:-no}
6233 with_mingw
=${with_mingw:-no}
6240 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x
"$enable_archs" = x
6245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6246 printf %s
"checking whether $CC works... " >&6; }
6247 if test ${wine_cv_cc_m32+y}
6249 printf %s
"(cached) " >&6
6251 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6252 /* end confdefs.h. */
6262 if ac_fn_c_try_link
"$LINENO"
6268 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6269 conftest
$ac_exeext conftest.
$ac_ext
6271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6272 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6273 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
6275 notice_platform
="32-bit "
6276 TARGETFLAGS
="$TARGETFLAGS -m32"
6277 PKG_CONFIG_LIBDIR
=${PKG_CONFIG_LIBDIR:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6278 export PKG_CONFIG_LIBDIR
6279 with_unwind
=${with_unwind:-no}
6284 notice_platform
="64-bit "
6285 TARGETFLAGS
="$TARGETFLAGS -m64"
6289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6290 printf %s
"checking whether $CC supports Thumb-2... " >&6; }
6291 if test ${wine_cv_thumb2+y}
6293 printf %s
"(cached) " >&6
6295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6296 /* end confdefs.h. */
6301 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6306 if ac_fn_c_try_link
"$LINENO"
6312 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6313 conftest
$ac_exeext conftest.
$ac_ext
6315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6316 printf "%s\n" "$wine_cv_thumb2" >&6; }
6317 if test x
"$wine_cv_thumb2" = xyes
6319 CFLAGS
="$CFLAGS -mthumb"
6320 TARGETFLAGS
="$TARGETFLAGS -mthumb"
6322 CFLAGS
="$CFLAGS -marm"
6323 TARGETFLAGS
="$TARGETFLAGS -marm"
6325 case $with_float_abi in
6327 float_abi
=$with_float_abi ;;
6334 saved_CFLAGS
=$CFLAGS
6335 CFLAGS
="$CFLAGS -mfloat-abi=$float_abi"
6336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6337 printf %s
"checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6338 if test ${wine_cv_float_abi+y}
6340 printf %s
"(cached) " >&6
6342 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6343 /* end confdefs.h. */
6348 asm("vmrs r2,fpscr");
6353 if ac_fn_c_try_link
"$LINENO"
6355 wine_cv_float_abi
=yes
6357 wine_cv_float_abi
=no
6359 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6360 conftest
$ac_exeext conftest.
$ac_ext
6362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6363 printf "%s\n" "$wine_cv_float_abi" >&6; }
6364 if test $wine_cv_float_abi = no
6367 as_fn_append wine_warnings
"|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6369 CFLAGS
=$saved_CFLAGS
6373 CFLAGS
="$CFLAGS -mfloat-abi=$float_abi"
6374 TARGETFLAGS
="$TARGETFLAGS -mfloat-abi=$float_abi"
6377 with_unwind
=${with_unwind:-no}
6381 enable_win16
=${enable_win16:-i386}
6382 enable_win64
=${enable_win64:-no}
6383 enable_wow64
=${enable_wow64:-aarch64,x86_64}
6384 enable_wow64win
=${enable_wow64win:-aarch64,x86_64}
6385 enable_wow64cpu
=${enable_wow64cpu:-x86_64}
6387 enable_winetest
=${enable_winetest:-$enable_tests}
6389 if test "x$enable_win64" = "xyes"
6391 test -z "$with_wine64" || as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
6392 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6396 cygwin
*|mingw32
*) toolsext
=".exe"
6404 aarch64
*) HOST_ARCH
=aarch64
;;
6405 arm
*) HOST_ARCH
=arm
;;
6406 i
[3456789]86*) HOST_ARCH
=i386
;;
6407 x86_64
) HOST_ARCH
=x86_64
;;
6411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6412 printf %s
"checking for the directory containing the Wine tools... " >&6; }
6413 if test ${wine_cv_toolsdir+y}
6415 printf %s
"(cached) " >&6
6417 wine_cv_toolsdir
="$with_wine_tools"
6418 if test -z "$with_wine_tools"; then
6419 if test "$cross_compiling" = "yes"; then
6420 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6421 elif test -n "$with_wine64"; then
6422 wine_cv_toolsdir
="$with_wine64"
6426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6427 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6428 if test -z "$wine_cv_toolsdir"; then
6429 wine_makedep
=tools
/makedep
$toolsext
6430 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6431 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
$toolsext
6432 enable_tools
=${enable_tools:-no}
6433 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6435 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6437 toolsdir
=$wine_cv_toolsdir
6439 MAKEDEP
=$wine_makedep
6441 RUNTESTFLAGS
="-q -P wine"
6443 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'"
6446 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6448 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
6453 # Extract the first word of "$ac_prog", so it can be a program name with args.
6454 set dummy
$ac_prog; ac_word
=$2
6455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6456 printf %s
"checking for $ac_word... " >&6; }
6457 if test ${ac_cv_prog_FLEX+y}
6459 printf %s
"(cached) " >&6
6461 if test -n "$FLEX"; then
6462 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
6464 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6468 case $as_dir in #(((
6471 *) as_dir
=$as_dir/ ;;
6473 for ac_exec_ext
in '' $ac_executable_extensions; do
6474 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6475 ac_cv_prog_FLEX
="$ac_prog"
6476 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6485 FLEX
=$ac_cv_prog_FLEX
6486 if test -n "$FLEX"; then
6487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6488 printf "%s\n" "$FLEX" >&6; }
6490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6491 printf "%s\n" "no" >&6; }
6495 test -n "$FLEX" && break
6497 test -n "$FLEX" || FLEX
="none"
6499 if test "$FLEX" = "none"
6501 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6504 printf %s
"checking whether flex is recent enough... " >&6; }
6505 if test ${wine_cv_recent_flex+y}
6507 printf %s
"(cached) " >&6
6509 cat >conftest.l
<<EOF
6511 #include "prediluvian.h"
6515 if $FLEX -t conftest.l
>/dev
/null
2>&5
6517 wine_cv_recent_flex
=yes
6519 wine_cv_recent_flex
=no
6522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6523 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6524 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
6526 for ac_prog
in bison
6528 # Extract the first word of "$ac_prog", so it can be a program name with args.
6529 set dummy
$ac_prog; ac_word
=$2
6530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6531 printf %s
"checking for $ac_word... " >&6; }
6532 if test ${ac_cv_prog_BISON+y}
6534 printf %s
"(cached) " >&6
6536 if test -n "$BISON"; then
6537 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
6539 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6543 case $as_dir in #(((
6546 *) as_dir
=$as_dir/ ;;
6548 for ac_exec_ext
in '' $ac_executable_extensions; do
6549 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6550 ac_cv_prog_BISON
="$ac_prog"
6551 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6560 BISON
=$ac_cv_prog_BISON
6561 if test -n "$BISON"; then
6562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6563 printf "%s\n" "$BISON" >&6; }
6565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6566 printf "%s\n" "no" >&6; }
6570 test -n "$BISON" && break
6572 test -n "$BISON" || BISON
="none"
6574 if test "$BISON" = "none"
6576 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6579 printf %s
"checking whether bison is recent enough... " >&6; }
6580 if test ${wine_cv_recent_bison+y}
6582 printf %s
"(cached) " >&6
6584 cat >conftest.y
<<EOF
6585 %define parse.error verbose
6589 if $BISON conftest.y
>/dev
/null
2>&5
6591 wine_cv_recent_bison
=yes
6593 wine_cv_recent_bison
=no
6596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6597 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6598 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
6600 if test -n "$ac_tool_prefix"; then
6601 for ac_prog
in ar gar
6603 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6604 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6606 printf %s
"checking for $ac_word... " >&6; }
6607 if test ${ac_cv_prog_AR+y}
6609 printf %s
"(cached) " >&6
6611 if test -n "$AR"; then
6612 ac_cv_prog_AR
="$AR" # Let the user override the test.
6614 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6618 case $as_dir in #(((
6621 *) as_dir
=$as_dir/ ;;
6623 for ac_exec_ext
in '' $ac_executable_extensions; do
6624 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6625 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
6626 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6636 if test -n "$AR"; then
6637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6638 printf "%s\n" "$AR" >&6; }
6640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6641 printf "%s\n" "no" >&6; }
6645 test -n "$AR" && break
6648 if test -z "$AR"; then
6650 for ac_prog
in ar gar
6652 # Extract the first word of "$ac_prog", so it can be a program name with args.
6653 set dummy
$ac_prog; ac_word
=$2
6654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6655 printf %s
"checking for $ac_word... " >&6; }
6656 if test ${ac_cv_prog_ac_ct_AR+y}
6658 printf %s
"(cached) " >&6
6660 if test -n "$ac_ct_AR"; then
6661 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6663 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6667 case $as_dir in #(((
6670 *) as_dir
=$as_dir/ ;;
6672 for ac_exec_ext
in '' $ac_executable_extensions; do
6673 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6674 ac_cv_prog_ac_ct_AR
="$ac_prog"
6675 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6684 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6685 if test -n "$ac_ct_AR"; then
6686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6687 printf "%s\n" "$ac_ct_AR" >&6; }
6689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6690 printf "%s\n" "no" >&6; }
6694 test -n "$ac_ct_AR" && break
6697 if test "x$ac_ct_AR" = x
; then
6700 case $cross_compiling:$ac_tool_warned in
6702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6703 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6704 ac_tool_warned
=yes ;;
6710 if test -n "$ac_tool_prefix"; then
6711 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6712 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6714 printf %s
"checking for $ac_word... " >&6; }
6715 if test ${ac_cv_prog_STRIP+y}
6717 printf %s
"(cached) " >&6
6719 if test -n "$STRIP"; then
6720 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6722 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6726 case $as_dir in #(((
6729 *) as_dir
=$as_dir/ ;;
6731 for ac_exec_ext
in '' $ac_executable_extensions; do
6732 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6733 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6734 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6743 STRIP
=$ac_cv_prog_STRIP
6744 if test -n "$STRIP"; then
6745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6746 printf "%s\n" "$STRIP" >&6; }
6748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6749 printf "%s\n" "no" >&6; }
6754 if test -z "$ac_cv_prog_STRIP"; then
6756 # Extract the first word of "strip", so it can be a program name with args.
6757 set dummy strip
; ac_word
=$2
6758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6759 printf %s
"checking for $ac_word... " >&6; }
6760 if test ${ac_cv_prog_ac_ct_STRIP+y}
6762 printf %s
"(cached) " >&6
6764 if test -n "$ac_ct_STRIP"; then
6765 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6767 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6771 case $as_dir in #(((
6774 *) as_dir
=$as_dir/ ;;
6776 for ac_exec_ext
in '' $ac_executable_extensions; do
6777 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6778 ac_cv_prog_ac_ct_STRIP
="strip"
6779 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6788 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6789 if test -n "$ac_ct_STRIP"; then
6790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6791 printf "%s\n" "$ac_ct_STRIP" >&6; }
6793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6794 printf "%s\n" "no" >&6; }
6797 if test "x$ac_ct_STRIP" = x
; then
6800 case $cross_compiling:$ac_tool_warned in
6802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6803 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6804 ac_tool_warned
=yes ;;
6809 STRIP
="$ac_cv_prog_STRIP"
6812 if test -n "$ac_tool_prefix"; then
6813 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6814 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6816 printf %s
"checking for $ac_word... " >&6; }
6817 if test ${ac_cv_prog_RANLIB+y}
6819 printf %s
"(cached) " >&6
6821 if test -n "$RANLIB"; then
6822 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6824 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6828 case $as_dir in #(((
6831 *) as_dir
=$as_dir/ ;;
6833 for ac_exec_ext
in '' $ac_executable_extensions; do
6834 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6835 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6836 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6845 RANLIB
=$ac_cv_prog_RANLIB
6846 if test -n "$RANLIB"; then
6847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6848 printf "%s\n" "$RANLIB" >&6; }
6850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6851 printf "%s\n" "no" >&6; }
6856 if test -z "$ac_cv_prog_RANLIB"; then
6857 ac_ct_RANLIB
=$RANLIB
6858 # Extract the first word of "ranlib", so it can be a program name with args.
6859 set dummy ranlib
; ac_word
=$2
6860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6861 printf %s
"checking for $ac_word... " >&6; }
6862 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6864 printf %s
"(cached) " >&6
6866 if test -n "$ac_ct_RANLIB"; then
6867 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6869 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6873 case $as_dir in #(((
6876 *) as_dir
=$as_dir/ ;;
6878 for ac_exec_ext
in '' $ac_executable_extensions; do
6879 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6880 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6881 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6890 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6891 if test -n "$ac_ct_RANLIB"; then
6892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6893 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6896 printf "%s\n" "no" >&6; }
6899 if test "x$ac_ct_RANLIB" = x
; then
6902 case $cross_compiling:$ac_tool_warned in
6904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6905 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6906 ac_tool_warned
=yes ;;
6908 RANLIB
=$ac_ct_RANLIB
6911 RANLIB
="$ac_cv_prog_RANLIB"
6914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6915 printf %s
"checking whether ln -s works... " >&6; }
6917 if test "$LN_S" = "ln -s"; then
6918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6919 printf "%s\n" "yes" >&6; }
6921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6922 printf "%s\n" "no, using $LN_S" >&6; }
6925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6926 printf %s
"checking for grep that handles long lines and -e... " >&6; }
6927 if test ${ac_cv_path_GREP+y}
6929 printf %s
"(cached) " >&6
6931 if test -z "$GREP"; then
6932 ac_path_GREP_found
=false
6933 # Loop through the user's path and test for each of PROGNAME-LIST
6934 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6935 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6938 case $as_dir in #(((
6941 *) as_dir
=$as_dir/ ;;
6943 for ac_prog
in grep ggrep
6945 for ac_exec_ext
in '' $ac_executable_extensions; do
6946 ac_path_GREP
="$as_dir$ac_prog$ac_exec_ext"
6947 as_fn_executable_p
"$ac_path_GREP" ||
continue
6948 # Check for GNU ac_path_GREP and select it if it is found.
6949 # Check for GNU $ac_path_GREP
6950 case `"$ac_path_GREP" --version 2>&1` in
6952 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6955 printf %s
0123456789 >"conftest.in"
6958 cat "conftest.in" "conftest.in" >"conftest.tmp"
6959 mv "conftest.tmp" "conftest.in"
6960 cp "conftest.in" "conftest.nl"
6961 printf "%s\n" 'GREP' >> "conftest.nl"
6962 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6963 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6964 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6965 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6966 # Best one so far, save it but keep looking for a better one
6967 ac_cv_path_GREP
="$ac_path_GREP"
6968 ac_path_GREP_max
=$ac_count
6970 # 10*(2^10) chars as input seems more than enough
6971 test $ac_count -gt 10 && break
6973 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6976 $ac_path_GREP_found && break 3
6981 if test -z "$ac_cv_path_GREP"; then
6982 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6985 ac_cv_path_GREP
=$GREP
6989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6990 printf "%s\n" "$ac_cv_path_GREP" >&6; }
6991 GREP
="$ac_cv_path_GREP"
6994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6995 printf %s
"checking for egrep... " >&6; }
6996 if test ${ac_cv_path_EGREP+y}
6998 printf %s
"(cached) " >&6
7000 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
7001 then ac_cv_path_EGREP
="$GREP -E"
7003 if test -z "$EGREP"; then
7004 ac_path_EGREP_found
=false
7005 # Loop through the user's path and test for each of PROGNAME-LIST
7006 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7007 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7010 case $as_dir in #(((
7013 *) as_dir
=$as_dir/ ;;
7015 for ac_prog
in egrep
7017 for ac_exec_ext
in '' $ac_executable_extensions; do
7018 ac_path_EGREP
="$as_dir$ac_prog$ac_exec_ext"
7019 as_fn_executable_p
"$ac_path_EGREP" ||
continue
7020 # Check for GNU ac_path_EGREP and select it if it is found.
7021 # Check for GNU $ac_path_EGREP
7022 case `"$ac_path_EGREP" --version 2>&1` in
7024 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
7027 printf %s
0123456789 >"conftest.in"
7030 cat "conftest.in" "conftest.in" >"conftest.tmp"
7031 mv "conftest.tmp" "conftest.in"
7032 cp "conftest.in" "conftest.nl"
7033 printf "%s\n" 'EGREP' >> "conftest.nl"
7034 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7035 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7036 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7037 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7038 # Best one so far, save it but keep looking for a better one
7039 ac_cv_path_EGREP
="$ac_path_EGREP"
7040 ac_path_EGREP_max
=$ac_count
7042 # 10*(2^10) chars as input seems more than enough
7043 test $ac_count -gt 10 && break
7045 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7048 $ac_path_EGREP_found && break 3
7053 if test -z "$ac_cv_path_EGREP"; then
7054 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7057 ac_cv_path_EGREP
=$EGREP
7062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7063 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7064 EGREP
="$ac_cv_path_EGREP"
7067 # Extract the first word of "ldconfig", so it can be a program name with args.
7068 set dummy ldconfig
; ac_word
=$2
7069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7070 printf %s
"checking for $ac_word... " >&6; }
7071 if test ${ac_cv_path_LDCONFIG+y}
7073 printf %s
"(cached) " >&6
7077 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
7080 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7081 for as_dir
in /sbin
/usr
/sbin
$PATH
7084 case $as_dir in #(((
7087 *) as_dir
=$as_dir/ ;;
7089 for ac_exec_ext
in '' $ac_executable_extensions; do
7090 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7091 ac_cv_path_LDCONFIG
="$as_dir$ac_word$ac_exec_ext"
7092 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7099 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
7103 LDCONFIG
=$ac_cv_path_LDCONFIG
7104 if test -n "$LDCONFIG"; then
7105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7106 printf "%s\n" "$LDCONFIG" >&6; }
7108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7109 printf "%s\n" "no" >&6; }
7113 for ac_prog
in msgfmt
7115 # Extract the first word of "$ac_prog", so it can be a program name with args.
7116 set dummy
$ac_prog; ac_word
=$2
7117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7118 printf %s
"checking for $ac_word... " >&6; }
7119 if test ${ac_cv_prog_MSGFMT+y}
7121 printf %s
"(cached) " >&6
7123 if test -n "$MSGFMT"; then
7124 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
7126 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7130 case $as_dir in #(((
7133 *) as_dir
=$as_dir/ ;;
7135 for ac_exec_ext
in '' $ac_executable_extensions; do
7136 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7137 ac_cv_prog_MSGFMT
="$ac_prog"
7138 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7147 MSGFMT
=$ac_cv_prog_MSGFMT
7148 if test -n "$MSGFMT"; then
7149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7150 printf "%s\n" "$MSGFMT" >&6; }
7152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7153 printf "%s\n" "no" >&6; }
7157 test -n "$MSGFMT" && break
7159 test -n "$MSGFMT" || MSGFMT
="false"
7161 if test ${ac_tool_prefix+y}
7163 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7164 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
7165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7166 printf %s
"checking for $ac_word... " >&6; }
7167 if test ${ac_cv_prog_PKG_CONFIG+y}
7169 printf %s
"(cached) " >&6
7171 if test -n "$PKG_CONFIG"; then
7172 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
7174 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7178 case $as_dir in #(((
7181 *) as_dir
=$as_dir/ ;;
7183 for ac_exec_ext
in '' $ac_executable_extensions; do
7184 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7185 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
7186 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7195 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7196 if test -n "$PKG_CONFIG"; then
7197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7198 printf "%s\n" "$PKG_CONFIG" >&6; }
7200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7201 printf "%s\n" "no" >&6; }
7206 if ${ac_cv_prog_PKG_CONFIG:+false} :
7208 if test "x$cross_compiling" = xyes
7212 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
7213 # Extract the first word of "pkg-config", so it can be a program name with args.
7214 set dummy pkg-config
; ac_word
=$2
7215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7216 printf %s
"checking for $ac_word... " >&6; }
7217 if test ${ac_cv_prog_PKG_CONFIG+y}
7219 printf %s
"(cached) " >&6
7221 if test -n "$PKG_CONFIG"; then
7222 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
7224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7228 case $as_dir in #(((
7231 *) as_dir
=$as_dir/ ;;
7233 for ac_exec_ext
in '' $ac_executable_extensions; do
7234 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7235 ac_cv_prog_PKG_CONFIG
="pkg-config"
7236 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7245 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7246 if test -n "$PKG_CONFIG"; then
7247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7248 printf "%s\n" "$PKG_CONFIG" >&6; }
7250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7251 printf "%s\n" "no" >&6; }
7257 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7260 if test "x$enable_maintainer_mode" != "xyes"
7267 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
7268 for ac_prog
in fontforge
7270 # Extract the first word of "$ac_prog", so it can be a program name with args.
7271 set dummy
$ac_prog; ac_word
=$2
7272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7273 printf %s
"checking for $ac_word... " >&6; }
7274 if test ${ac_cv_prog_FONTFORGE+y}
7276 printf %s
"(cached) " >&6
7278 if test -n "$FONTFORGE"; then
7279 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
7281 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7285 case $as_dir in #(((
7288 *) as_dir
=$as_dir/ ;;
7290 for ac_exec_ext
in '' $ac_executable_extensions; do
7291 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7292 ac_cv_prog_FONTFORGE
="$ac_prog"
7293 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7302 FONTFORGE
=$ac_cv_prog_FONTFORGE
7303 if test -n "$FONTFORGE"; then
7304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7305 printf "%s\n" "$FONTFORGE" >&6; }
7307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7308 printf "%s\n" "no" >&6; }
7312 test -n "$FONTFORGE" && break
7314 test -n "$FONTFORGE" || FONTFORGE
="false"
7316 for ac_prog
in rsvg-convert rsvg
7318 # Extract the first word of "$ac_prog", so it can be a program name with args.
7319 set dummy
$ac_prog; ac_word
=$2
7320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7321 printf %s
"checking for $ac_word... " >&6; }
7322 if test ${ac_cv_prog_RSVG+y}
7324 printf %s
"(cached) " >&6
7326 if test -n "$RSVG"; then
7327 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
7329 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7333 case $as_dir in #(((
7336 *) as_dir
=$as_dir/ ;;
7338 for ac_exec_ext
in '' $ac_executable_extensions; do
7339 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7340 ac_cv_prog_RSVG
="$ac_prog"
7341 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7350 RSVG
=$ac_cv_prog_RSVG
7351 if test -n "$RSVG"; then
7352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7353 printf "%s\n" "$RSVG" >&6; }
7355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7356 printf "%s\n" "no" >&6; }
7360 test -n "$RSVG" && break
7362 test -n "$RSVG" || RSVG
="false"
7364 for ac_prog
in convert
7366 # Extract the first word of "$ac_prog", so it can be a program name with args.
7367 set dummy
$ac_prog; ac_word
=$2
7368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7369 printf %s
"checking for $ac_word... " >&6; }
7370 if test ${ac_cv_prog_CONVERT+y}
7372 printf %s
"(cached) " >&6
7374 if test -n "$CONVERT"; then
7375 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
7377 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7381 case $as_dir in #(((
7384 *) as_dir
=$as_dir/ ;;
7386 for ac_exec_ext
in '' $ac_executable_extensions; do
7387 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7388 ac_cv_prog_CONVERT
="$ac_prog"
7389 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7398 CONVERT
=$ac_cv_prog_CONVERT
7399 if test -n "$CONVERT"; then
7400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7401 printf "%s\n" "$CONVERT" >&6; }
7403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7404 printf "%s\n" "no" >&6; }
7408 test -n "$CONVERT" && break
7410 test -n "$CONVERT" || CONVERT
="false"
7412 for ac_prog
in icotool
7414 # Extract the first word of "$ac_prog", so it can be a program name with args.
7415 set dummy
$ac_prog; ac_word
=$2
7416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7417 printf %s
"checking for $ac_word... " >&6; }
7418 if test ${ac_cv_prog_ICOTOOL+y}
7420 printf %s
"(cached) " >&6
7422 if test -n "$ICOTOOL"; then
7423 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
7425 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7429 case $as_dir in #(((
7432 *) as_dir
=$as_dir/ ;;
7434 for ac_exec_ext
in '' $ac_executable_extensions; do
7435 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7436 ac_cv_prog_ICOTOOL
="$ac_prog"
7437 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7446 ICOTOOL
=$ac_cv_prog_ICOTOOL
7447 if test -n "$ICOTOOL"; then
7448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7449 printf "%s\n" "$ICOTOOL" >&6; }
7451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7452 printf "%s\n" "no" >&6; }
7456 test -n "$ICOTOOL" && break
7458 test -n "$ICOTOOL" || ICOTOOL
="false"
7460 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7461 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7463 if test "$CONVERT" = false
7465 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7468 printf %s
"checking for recent enough imagemagick... " >&6; }
7469 convert_version
=`convert --version | head -n1`
7470 if test "x$convert_version" != "x"
7472 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7473 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7474 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7479 if test "$CONVERT" = false
7481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7482 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7483 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7486 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7490 if test "$ICOTOOL" = false
7492 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7495 printf %s
"checking for recent enough icotool... " >&6; }
7496 icotool_version
=`icotool --version | head -n1`
7497 if test "x$icotool_version" != "x"
7499 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7500 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7501 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7504 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
7507 if test "$ICOTOOL" = false
7509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7510 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7511 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7514 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7524 test "x$with_gettext" != xno || MSGFMT
=false
7525 if test "$MSGFMT" != "false"
7527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7528 printf %s
"checking whether msgfmt supports contexts... " >&6; }
7529 if test ${wine_cv_msgfmt_contexts+y}
7531 printf %s
"(cached) " >&6
7533 cat >conftest.po
<<EOF
7539 if $MSGFMT -o /dev
/null conftest.po
2>&5
7541 wine_cv_msgfmt_contexts
=yes
7543 wine_cv_msgfmt_contexts
=no
7546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7547 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7548 test $wine_cv_msgfmt_contexts != no || MSGFMT
=false
7550 if test "$MSGFMT" = false
7552 case "x$with_gettext" in
7553 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
7555 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
7556 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7558 enable_po
=${enable_po:-no}
7562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7563 printf %s
"checking for i386_set_ldt in -li386... " >&6; }
7564 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7566 printf %s
"(cached) " >&6
7568 ac_check_lib_save_LIBS
=$LIBS
7570 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7571 /* end confdefs.h. */
7573 /* Override any GCC internal prototype to avoid an error.
7574 Use char because int might match the return type of a GCC
7575 builtin and then its argument prototype would still apply. */
7576 char i386_set_ldt ();
7580 return i386_set_ldt ();
7585 if ac_fn_c_try_link
"$LINENO"
7587 ac_cv_lib_i386_i386_set_ldt
=yes
7589 ac_cv_lib_i386_i386_set_ldt
=no
7591 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
7592 conftest
$ac_exeext conftest.
$ac_ext
7593 LIBS
=$ac_check_lib_save_LIBS
7595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7596 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7597 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7608 # Check whether --enable-largefile was given.
7609 if test ${enable_largefile+y}
7611 enableval
=$enable_largefile;
7614 if test "$enable_largefile" != no
; then
7616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7617 printf %s
"checking for special C compiler options needed for large files... " >&6; }
7618 if test ${ac_cv_sys_largefile_CC+y}
7620 printf %s
"(cached) " >&6
7622 ac_cv_sys_largefile_CC
=no
7623 if test "$GCC" != yes; then
7626 # IRIX 6.2 and later do not support large files by default,
7627 # so use the C compiler's -n32 option if that helps.
7628 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7629 /* end confdefs.h. */
7630 #include <sys/types.h>
7631 /* Check that off_t can represent 2**63 - 1 correctly.
7632 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7633 since some C++ compilers masquerading as C compilers
7634 incorrectly reject 9223372036854775807. */
7635 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7636 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7637 && LARGE_OFF_T % 2147483647 == 1)
7647 if ac_fn_c_try_compile
"$LINENO"
7651 rm -f core conftest.err conftest.
$ac_objext conftest.beam
7653 if ac_fn_c_try_compile
"$LINENO"
7655 ac_cv_sys_largefile_CC
=' -n32'; break
7657 rm -f core conftest.err conftest.
$ac_objext conftest.beam
7661 rm -f conftest.
$ac_ext
7664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7665 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7666 if test "$ac_cv_sys_largefile_CC" != no
; then
7667 CC
=$CC$ac_cv_sys_largefile_CC
7670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7671 printf %s
"checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7672 if test ${ac_cv_sys_file_offset_bits+y}
7674 printf %s
"(cached) " >&6
7677 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7678 /* end confdefs.h. */
7679 #include <sys/types.h>
7680 /* Check that off_t can represent 2**63 - 1 correctly.
7681 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7682 since some C++ compilers masquerading as C compilers
7683 incorrectly reject 9223372036854775807. */
7684 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7685 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7686 && LARGE_OFF_T % 2147483647 == 1)
7696 if ac_fn_c_try_compile
"$LINENO"
7698 ac_cv_sys_file_offset_bits
=no
; break
7700 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7701 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7702 /* end confdefs.h. */
7703 #define _FILE_OFFSET_BITS 64
7704 #include <sys/types.h>
7705 /* Check that off_t can represent 2**63 - 1 correctly.
7706 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7707 since some C++ compilers masquerading as C compilers
7708 incorrectly reject 9223372036854775807. */
7709 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7710 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7711 && LARGE_OFF_T % 2147483647 == 1)
7721 if ac_fn_c_try_compile
"$LINENO"
7723 ac_cv_sys_file_offset_bits
=64; break
7725 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7726 ac_cv_sys_file_offset_bits
=unknown
7730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7731 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7732 case $ac_cv_sys_file_offset_bits in #(
7735 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7739 if test $ac_cv_sys_file_offset_bits = unknown
; then
7740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7741 printf %s
"checking for _LARGE_FILES value needed for large files... " >&6; }
7742 if test ${ac_cv_sys_large_files+y}
7744 printf %s
"(cached) " >&6
7747 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7748 /* end confdefs.h. */
7749 #include <sys/types.h>
7750 /* Check that off_t can represent 2**63 - 1 correctly.
7751 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7752 since some C++ compilers masquerading as C compilers
7753 incorrectly reject 9223372036854775807. */
7754 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7755 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7756 && LARGE_OFF_T % 2147483647 == 1)
7766 if ac_fn_c_try_compile
"$LINENO"
7768 ac_cv_sys_large_files
=no
; break
7770 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7771 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7772 /* end confdefs.h. */
7773 #define _LARGE_FILES 1
7774 #include <sys/types.h>
7775 /* Check that off_t can represent 2**63 - 1 correctly.
7776 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7777 since some C++ compilers masquerading as C compilers
7778 incorrectly reject 9223372036854775807. */
7779 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7780 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7781 && LARGE_OFF_T % 2147483647 == 1)
7791 if ac_fn_c_try_compile
"$LINENO"
7793 ac_cv_sys_large_files
=1; break
7795 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7796 ac_cv_sys_large_files
=unknown
7800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7801 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7802 case $ac_cv_sys_large_files in #(
7805 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7813 ac_header
= ac_cache
=
7814 for ac_item
in $ac_header_c_list
7816 if test $ac_cache; then
7817 ac_fn_c_check_header_compile
"$LINENO" $ac_header ac_cv_header_
$ac_cache "$ac_includes_default"
7818 if eval test \"x\
$ac_cv_header_$ac_cache\" = xyes
; then
7819 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7821 ac_header
= ac_cache
=
7822 elif test $ac_header; then
7836 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7839 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7842 ac_fn_c_check_header_compile
"$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7843 if test "x$ac_cv_header_CL_cl_h" = xyes
7845 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7848 ac_fn_c_check_header_compile
"$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7849 if test "x$ac_cv_header_EGL_egl_h" = xyes
7851 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7854 ac_fn_c_check_header_compile
"$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7855 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7857 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7860 ac_fn_c_check_header_compile
"$LINENO" "PCSC/pcsclite.h" "ac_cv_header_PCSC_pcsclite_h" "$ac_includes_default"
7861 if test "x$ac_cv_header_PCSC_pcsclite_h" = xyes
7863 printf "%s\n" "#define HAVE_PCSC_PCSCLITE_H 1" >>confdefs.h
7866 ac_fn_c_check_header_compile
"$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7867 if test "x$ac_cv_header_arpa_inet_h" = xyes
7869 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7872 ac_fn_c_check_header_compile
"$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7873 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7875 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7878 ac_fn_c_check_header_compile
"$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7879 if test "x$ac_cv_header_asm_types_h" = xyes
7881 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7884 ac_fn_c_check_header_compile
"$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7885 if test "x$ac_cv_header_asm_user_h" = xyes
7887 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7890 ac_fn_c_check_header_compile
"$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7891 if test "x$ac_cv_header_elf_h" = xyes
7893 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7896 ac_fn_c_check_header_compile
"$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7897 if test "x$ac_cv_header_float_h" = xyes
7899 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7902 ac_fn_c_check_header_compile
"$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7903 if test "x$ac_cv_header_gettext_po_h" = xyes
7905 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7908 ac_fn_c_check_header_compile
"$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7909 if test "x$ac_cv_header_libproc_h" = xyes
7911 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7914 ac_fn_c_check_header_compile
"$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7915 if test "x$ac_cv_header_link_h" = xyes
7917 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7920 ac_fn_c_check_header_compile
"$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7921 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7923 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7926 ac_fn_c_check_header_compile
"$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7927 if test "x$ac_cv_header_linux_filter_h" = xyes
7929 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7932 ac_fn_c_check_header_compile
"$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7933 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7935 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7938 ac_fn_c_check_header_compile
"$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7939 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7941 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7944 ac_fn_c_check_header_compile
"$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7945 if test "x$ac_cv_header_linux_input_h" = xyes
7947 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7950 ac_fn_c_check_header_compile
"$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7951 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7953 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7956 ac_fn_c_check_header_compile
"$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7957 if test "x$ac_cv_header_linux_major_h" = xyes
7959 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7962 ac_fn_c_check_header_compile
"$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7963 if test "x$ac_cv_header_linux_param_h" = xyes
7965 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
7968 ac_fn_c_check_header_compile
"$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
7969 if test "x$ac_cv_header_linux_serial_h" = xyes
7971 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
7974 ac_fn_c_check_header_compile
"$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
7975 if test "x$ac_cv_header_linux_types_h" = xyes
7977 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
7980 ac_fn_c_check_header_compile
"$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
7981 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
7983 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
7986 ac_fn_c_check_header_compile
"$LINENO" "linux/wireless.h" "ac_cv_header_linux_wireless_h" "$ac_includes_default"
7987 if test "x$ac_cv_header_linux_wireless_h" = xyes
7989 printf "%s\n" "#define HAVE_LINUX_WIRELESS_H 1" >>confdefs.h
7992 ac_fn_c_check_header_compile
"$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
7993 if test "x$ac_cv_header_lwp_h" = xyes
7995 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
7998 ac_fn_c_check_header_compile
"$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
7999 if test "x$ac_cv_header_mach_o_loader_h" = xyes
8001 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8004 ac_fn_c_check_header_compile
"$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8005 if test "x$ac_cv_header_mach_mach_h" = xyes
8007 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8010 ac_fn_c_check_header_compile
"$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8011 if test "x$ac_cv_header_machine_cpu_h" = xyes
8013 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8016 ac_fn_c_check_header_compile
"$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8017 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8019 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8022 ac_fn_c_check_header_compile
"$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8023 if test "x$ac_cv_header_mntent_h" = xyes
8025 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8028 ac_fn_c_check_header_compile
"$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8029 if test "x$ac_cv_header_netdb_h" = xyes
8031 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8034 ac_fn_c_check_header_compile
"$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8035 if test "x$ac_cv_header_netinet_in_h" = xyes
8037 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8040 ac_fn_c_check_header_compile
"$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8041 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8043 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8046 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8047 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8049 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8052 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8053 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8055 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8058 ac_fn_c_check_header_compile
"$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8059 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8061 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8064 ac_fn_c_check_header_compile
"$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8065 if test "x$ac_cv_header_port_h" = xyes
8067 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8070 ac_fn_c_check_header_compile
"$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8071 if test "x$ac_cv_header_pthread_h" = xyes
8073 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8076 ac_fn_c_check_header_compile
"$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8077 if test "x$ac_cv_header_pwd_h" = xyes
8079 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8082 ac_fn_c_check_header_compile
"$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8083 if test "x$ac_cv_header_sched_h" = xyes
8085 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8088 ac_fn_c_check_header_compile
"$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8089 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8091 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8094 ac_fn_c_check_header_compile
"$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8095 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8097 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8100 ac_fn_c_check_header_compile
"$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8101 if test "x$ac_cv_header_scsi_sg_h" = xyes
8103 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8106 ac_fn_c_check_header_compile
"$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8107 if test "x$ac_cv_header_stdint_h" = xyes
8109 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8112 ac_fn_c_check_header_compile
"$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8113 if test "x$ac_cv_header_sys_attr_h" = xyes
8115 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8118 ac_fn_c_check_header_compile
"$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8119 if test "x$ac_cv_header_sys_auxv_h" = xyes
8121 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8124 ac_fn_c_check_header_compile
"$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8125 if test "x$ac_cv_header_sys_cdio_h" = xyes
8127 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8130 ac_fn_c_check_header_compile
"$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8131 if test "x$ac_cv_header_sys_epoll_h" = xyes
8133 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8136 ac_fn_c_check_header_compile
"$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8137 if test "x$ac_cv_header_sys_event_h" = xyes
8139 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8142 ac_fn_c_check_header_compile
"$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
8143 if test "x$ac_cv_header_sys_extattr_h" = xyes
8145 printf "%s\n" "#define HAVE_SYS_EXTATTR_H 1" >>confdefs.h
8148 ac_fn_c_check_header_compile
"$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8149 if test "x$ac_cv_header_sys_filio_h" = xyes
8151 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8154 ac_fn_c_check_header_compile
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8155 if test "x$ac_cv_header_sys_ipc_h" = xyes
8157 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8160 ac_fn_c_check_header_compile
"$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8161 if test "x$ac_cv_header_sys_link_h" = xyes
8163 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8166 ac_fn_c_check_header_compile
"$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8167 if test "x$ac_cv_header_sys_modem_h" = xyes
8169 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8172 ac_fn_c_check_header_compile
"$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8173 if test "x$ac_cv_header_sys_mtio_h" = xyes
8175 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8178 ac_fn_c_check_header_compile
"$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8179 if test "x$ac_cv_header_sys_param_h" = xyes
8181 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8184 ac_fn_c_check_header_compile
"$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8185 if test "x$ac_cv_header_sys_prctl_h" = xyes
8187 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8190 ac_fn_c_check_header_compile
"$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8191 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8193 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8196 ac_fn_c_check_header_compile
"$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8197 if test "x$ac_cv_header_sys_queue_h" = xyes
8199 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8202 ac_fn_c_check_header_compile
"$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8203 if test "x$ac_cv_header_sys_random_h" = xyes
8205 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8208 ac_fn_c_check_header_compile
"$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8209 if test "x$ac_cv_header_sys_resource_h" = xyes
8211 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8214 ac_fn_c_check_header_compile
"$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8215 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8217 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8220 ac_fn_c_check_header_compile
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8221 if test "x$ac_cv_header_sys_shm_h" = xyes
8223 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8226 ac_fn_c_check_header_compile
"$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8227 if test "x$ac_cv_header_sys_signal_h" = xyes
8229 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8232 ac_fn_c_check_header_compile
"$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8233 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8235 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8238 ac_fn_c_check_header_compile
"$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8239 if test "x$ac_cv_header_sys_sockio_h" = xyes
8241 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8244 ac_fn_c_check_header_compile
"$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8245 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8247 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8250 ac_fn_c_check_header_compile
"$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8251 if test "x$ac_cv_header_sys_strtio_h" = xyes
8253 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8256 ac_fn_c_check_header_compile
"$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8257 if test "x$ac_cv_header_sys_syscall_h" = xyes
8259 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8262 ac_fn_c_check_header_compile
"$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8263 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8265 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8268 ac_fn_c_check_header_compile
"$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8269 if test "x$ac_cv_header_sys_times_h" = xyes
8271 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8274 ac_fn_c_check_header_compile
"$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8275 if test "x$ac_cv_header_sys_uio_h" = xyes
8277 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8280 ac_fn_c_check_header_compile
"$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8281 if test "x$ac_cv_header_sys_user_h" = xyes
8283 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8286 ac_fn_c_check_header_compile
"$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8287 if test "x$ac_cv_header_sys_utsname_h" = xyes
8289 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8292 ac_fn_c_check_header_compile
"$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8293 if test "x$ac_cv_header_sys_vnode_h" = xyes
8295 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8298 ac_fn_c_check_header_compile
"$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8299 if test "x$ac_cv_header_sys_xattr_h" = xyes
8301 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8304 ac_fn_c_check_header_compile
"$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8305 if test "x$ac_cv_header_syscall_h" = xyes
8307 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8310 ac_fn_c_check_header_compile
"$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8311 if test "x$ac_cv_header_utime_h" = xyes
8313 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8316 ac_fn_c_check_header_compile
"$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8317 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8319 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8322 ac_fn_c_check_header_compile
"$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8323 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8325 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8329 ac_fn_c_check_header_compile
"$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8330 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8333 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8337 if test $ac_cv_header_sys_mkdev_h = no
; then
8338 ac_fn_c_check_header_compile
"$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8339 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8342 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8348 printf %s
"checking whether stat file-mode macros are broken... " >&6; }
8349 if test ${ac_cv_header_stat_broken+y}
8351 printf %s
"(cached) " >&6
8353 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8354 /* end confdefs.h. */
8355 #include <sys/types.h>
8356 #include <sys/stat.h>
8358 #if defined S_ISBLK && defined S_IFDIR
8359 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8362 #if defined S_ISBLK && defined S_IFCHR
8363 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8366 #if defined S_ISLNK && defined S_IFREG
8367 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8370 #if defined S_ISSOCK && defined S_IFREG
8371 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8375 if ac_fn_c_try_compile
"$LINENO"
8377 ac_cv_header_stat_broken
=no
8379 ac_cv_header_stat_broken
=yes
8381 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8384 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8385 if test $ac_cv_header_stat_broken = yes; then
8387 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8393 ac_fn_c_check_header_compile
"$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8394 #ifdef HAVE_SYS_PARAM_H
8395 # include <sys/param.h>
8398 if test "x$ac_cv_header_sys_conf_h" = xyes
8400 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8403 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8404 #ifdef HAVE_SYS_PARAM_H
8405 # include <sys/param.h>
8408 if test "x$ac_cv_header_sys_mount_h" = xyes
8410 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8413 ac_fn_c_check_header_compile
"$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8414 #ifdef HAVE_SYS_PARAM_H
8415 # include <sys/param.h>
8418 if test "x$ac_cv_header_sys_statfs_h" = xyes
8420 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8423 ac_fn_c_check_header_compile
"$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8424 #ifdef HAVE_SYS_PARAM_H
8425 # include <sys/param.h>
8428 if test "x$ac_cv_header_sys_user_h" = xyes
8430 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8433 ac_fn_c_check_header_compile
"$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8434 #ifdef HAVE_SYS_PARAM_H
8435 # include <sys/param.h>
8438 if test "x$ac_cv_header_sys_vfs_h" = xyes
8440 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8445 saved_sysctl_h_CFLAGS
=$CFLAGS
8446 test "x${GCC}" != xyes || CFLAGS
="$CFLAGS -Werror"
8447 ac_fn_c_check_header_compile
"$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8448 #ifdef HAVE_SYS_PARAM_H
8449 # include <sys/param.h>
8452 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8454 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8458 CFLAGS
=$saved_sysctl_h_CFLAGS
8460 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8461 #include <sys/socket.h>
8462 #ifdef HAVE_SYS_SOCKETVAR_H
8463 # include <sys/socketvar.h>
8465 #ifdef HAVE_NET_ROUTE_H
8466 # include <net/route.h>
8468 #ifdef HAVE_NETINET_IN_H
8469 # include <netinet/in.h>
8471 #ifdef HAVE_NETINET_IN_SYSTM_H
8472 # include <netinet/in_systm.h>
8474 #ifdef HAVE_NET_IF_H
8475 # include <net/if.h>
8477 #ifdef HAVE_NETINET_IP_H
8478 # include <netinet/ip.h>
8481 if test "x$ac_cv_header_netinet_ip_h" = xyes
8483 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8486 ac_fn_c_check_header_compile
"$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8487 #include <sys/socket.h>
8488 #ifdef HAVE_SYS_SOCKETVAR_H
8489 # include <sys/socketvar.h>
8491 #ifdef HAVE_NET_ROUTE_H
8492 # include <net/route.h>
8494 #ifdef HAVE_NETINET_IN_H
8495 # include <netinet/in.h>
8497 #ifdef HAVE_NETINET_IN_SYSTM_H
8498 # include <netinet/in_systm.h>
8500 #ifdef HAVE_NET_IF_H
8501 # include <net/if.h>
8503 #ifdef HAVE_NETINET_IP_H
8504 # include <netinet/ip.h>
8507 if test "x$ac_cv_header_net_if_h" = xyes
8509 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8512 ac_fn_c_check_header_compile
"$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8513 #include <sys/socket.h>
8514 #ifdef HAVE_SYS_SOCKETVAR_H
8515 # include <sys/socketvar.h>
8517 #ifdef HAVE_NET_ROUTE_H
8518 # include <net/route.h>
8520 #ifdef HAVE_NETINET_IN_H
8521 # include <netinet/in.h>
8523 #ifdef HAVE_NETINET_IN_SYSTM_H
8524 # include <netinet/in_systm.h>
8526 #ifdef HAVE_NET_IF_H
8527 # include <net/if.h>
8529 #ifdef HAVE_NETINET_IP_H
8530 # include <netinet/ip.h>
8533 if test "x$ac_cv_header_net_if_arp_h" = xyes
8535 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8538 ac_fn_c_check_header_compile
"$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8539 #include <sys/socket.h>
8540 #ifdef HAVE_SYS_SOCKETVAR_H
8541 # include <sys/socketvar.h>
8543 #ifdef HAVE_NET_ROUTE_H
8544 # include <net/route.h>
8546 #ifdef HAVE_NETINET_IN_H
8547 # include <netinet/in.h>
8549 #ifdef HAVE_NETINET_IN_SYSTM_H
8550 # include <netinet/in_systm.h>
8552 #ifdef HAVE_NET_IF_H
8553 # include <net/if.h>
8555 #ifdef HAVE_NETINET_IP_H
8556 # include <netinet/ip.h>
8559 if test "x$ac_cv_header_net_if_dl_h" = xyes
8561 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8564 ac_fn_c_check_header_compile
"$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8565 #include <sys/socket.h>
8566 #ifdef HAVE_SYS_SOCKETVAR_H
8567 # include <sys/socketvar.h>
8569 #ifdef HAVE_NET_ROUTE_H
8570 # include <net/route.h>
8572 #ifdef HAVE_NETINET_IN_H
8573 # include <netinet/in.h>
8575 #ifdef HAVE_NETINET_IN_SYSTM_H
8576 # include <netinet/in_systm.h>
8578 #ifdef HAVE_NET_IF_H
8579 # include <net/if.h>
8581 #ifdef HAVE_NETINET_IP_H
8582 # include <netinet/ip.h>
8585 if test "x$ac_cv_header_net_if_types_h" = xyes
8587 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8590 ac_fn_c_check_header_compile
"$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8591 #include <sys/socket.h>
8592 #ifdef HAVE_SYS_SOCKETVAR_H
8593 # include <sys/socketvar.h>
8595 #ifdef HAVE_NET_ROUTE_H
8596 # include <net/route.h>
8598 #ifdef HAVE_NETINET_IN_H
8599 # include <netinet/in.h>
8601 #ifdef HAVE_NETINET_IN_SYSTM_H
8602 # include <netinet/in_systm.h>
8604 #ifdef HAVE_NET_IF_H
8605 # include <net/if.h>
8607 #ifdef HAVE_NETINET_IP_H
8608 # include <netinet/ip.h>
8611 if test "x$ac_cv_header_net_route_h" = xyes
8613 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8616 ac_fn_c_check_header_compile
"$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8617 #include <sys/socket.h>
8618 #ifdef HAVE_SYS_SOCKETVAR_H
8619 # include <sys/socketvar.h>
8621 #ifdef HAVE_NET_ROUTE_H
8622 # include <net/route.h>
8624 #ifdef HAVE_NETINET_IN_H
8625 # include <netinet/in.h>
8627 #ifdef HAVE_NETINET_IN_SYSTM_H
8628 # include <netinet/in_systm.h>
8630 #ifdef HAVE_NET_IF_H
8631 # include <net/if.h>
8633 #ifdef HAVE_NETINET_IP_H
8634 # include <netinet/ip.h>
8637 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8639 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8642 ac_fn_c_check_header_compile
"$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8643 #include <sys/socket.h>
8644 #ifdef HAVE_SYS_SOCKETVAR_H
8645 # include <sys/socketvar.h>
8647 #ifdef HAVE_NET_ROUTE_H
8648 # include <net/route.h>
8650 #ifdef HAVE_NETINET_IN_H
8651 # include <netinet/in.h>
8653 #ifdef HAVE_NETINET_IN_SYSTM_H
8654 # include <netinet/in_systm.h>
8656 #ifdef HAVE_NET_IF_H
8657 # include <net/if.h>
8659 #ifdef HAVE_NETINET_IP_H
8660 # include <netinet/ip.h>
8663 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8665 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8668 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8669 #include <sys/socket.h>
8670 #ifdef HAVE_SYS_SOCKETVAR_H
8671 # include <sys/socketvar.h>
8673 #ifdef HAVE_NET_ROUTE_H
8674 # include <net/route.h>
8676 #ifdef HAVE_NETINET_IN_H
8677 # include <netinet/in.h>
8679 #ifdef HAVE_NETINET_IN_SYSTM_H
8680 # include <netinet/in_systm.h>
8682 #ifdef HAVE_NET_IF_H
8683 # include <net/if.h>
8685 #ifdef HAVE_NETINET_IP_H
8686 # include <netinet/ip.h>
8689 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8691 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8694 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8695 #include <sys/socket.h>
8696 #ifdef HAVE_SYS_SOCKETVAR_H
8697 # include <sys/socketvar.h>
8699 #ifdef HAVE_NET_ROUTE_H
8700 # include <net/route.h>
8702 #ifdef HAVE_NETINET_IN_H
8703 # include <netinet/in.h>
8705 #ifdef HAVE_NETINET_IN_SYSTM_H
8706 # include <netinet/in_systm.h>
8708 #ifdef HAVE_NET_IF_H
8709 # include <net/if.h>
8711 #ifdef HAVE_NETINET_IP_H
8712 # include <netinet/ip.h>
8715 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8717 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8720 ac_fn_c_check_header_compile
"$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8721 #include <sys/socket.h>
8722 #ifdef HAVE_SYS_SOCKETVAR_H
8723 # include <sys/socketvar.h>
8725 #ifdef HAVE_NET_ROUTE_H
8726 # include <net/route.h>
8728 #ifdef HAVE_NETINET_IN_H
8729 # include <netinet/in.h>
8731 #ifdef HAVE_NETINET_IN_SYSTM_H
8732 # include <netinet/in_systm.h>
8734 #ifdef HAVE_NET_IF_H
8735 # include <net/if.h>
8737 #ifdef HAVE_NETINET_IP_H
8738 # include <netinet/ip.h>
8741 if test "x$ac_cv_header_netinet_udp_h" = xyes
8743 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8746 ac_fn_c_check_header_compile
"$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8747 #include <sys/socket.h>
8748 #ifdef HAVE_SYS_SOCKETVAR_H
8749 # include <sys/socketvar.h>
8751 #ifdef HAVE_NET_ROUTE_H
8752 # include <net/route.h>
8754 #ifdef HAVE_NETINET_IN_H
8755 # include <netinet/in.h>
8757 #ifdef HAVE_NETINET_IN_SYSTM_H
8758 # include <netinet/in_systm.h>
8760 #ifdef HAVE_NET_IF_H
8761 # include <net/if.h>
8763 #ifdef HAVE_NETINET_IP_H
8764 # include <netinet/ip.h>
8767 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8769 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8772 ac_fn_c_check_header_compile
"$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8773 #include <sys/socket.h>
8774 #ifdef HAVE_SYS_SOCKETVAR_H
8775 # include <sys/socketvar.h>
8777 #ifdef HAVE_NET_ROUTE_H
8778 # include <net/route.h>
8780 #ifdef HAVE_NETINET_IN_H
8781 # include <netinet/in.h>
8783 #ifdef HAVE_NETINET_IN_SYSTM_H
8784 # include <netinet/in_systm.h>
8786 #ifdef HAVE_NET_IF_H
8787 # include <net/if.h>
8789 #ifdef HAVE_NETINET_IP_H
8790 # include <netinet/ip.h>
8793 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8795 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8798 ac_fn_c_check_header_compile
"$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8799 #include <sys/socket.h>
8800 #ifdef HAVE_SYS_SOCKETVAR_H
8801 # include <sys/socketvar.h>
8803 #ifdef HAVE_NET_ROUTE_H
8804 # include <net/route.h>
8806 #ifdef HAVE_NETINET_IN_H
8807 # include <netinet/in.h>
8809 #ifdef HAVE_NETINET_IN_SYSTM_H
8810 # include <netinet/in_systm.h>
8812 #ifdef HAVE_NET_IF_H
8813 # include <net/if.h>
8815 #ifdef HAVE_NETINET_IP_H
8816 # include <netinet/ip.h>
8819 if test "x$ac_cv_header_sys_un_h" = xyes
8821 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8826 ac_fn_c_check_header_compile
"$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8827 #include <sys/socket.h>
8828 #ifdef HAVE_SYS_SOCKETVAR_H
8829 # include <sys/socketvar.h>
8831 #ifdef HAVE_NETINET_IN_H
8832 # include <netinet/in.h>
8834 #ifdef HAVE_NETINET_IN_SYSTM_H
8835 # include <netinet/in_systm.h>
8837 #ifdef HAVE_NETINET_IP_H
8838 # include <netinet/ip.h>
8840 #ifdef HAVE_NETINET_IP_VAR_H
8841 # include <netinet/ip_var.h>
8843 #ifdef HAVE_NETINET_IP_ICMP_H
8844 # include <netinet/ip_icmp.h>
8846 #ifdef HAVE_NETINET_UDP_H
8847 # include <netinet/udp.h>
8849 #ifdef HAVE_NETINET_TCP_H
8850 # include <netinet/tcp.h>
8853 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8855 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8858 ac_fn_c_check_header_compile
"$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8859 #include <sys/socket.h>
8860 #ifdef HAVE_SYS_SOCKETVAR_H
8861 # include <sys/socketvar.h>
8863 #ifdef HAVE_NETINET_IN_H
8864 # include <netinet/in.h>
8866 #ifdef HAVE_NETINET_IN_SYSTM_H
8867 # include <netinet/in_systm.h>
8869 #ifdef HAVE_NETINET_IP_H
8870 # include <netinet/ip.h>
8872 #ifdef HAVE_NETINET_IP_VAR_H
8873 # include <netinet/ip_var.h>
8875 #ifdef HAVE_NETINET_IP_ICMP_H
8876 # include <netinet/ip_icmp.h>
8878 #ifdef HAVE_NETINET_UDP_H
8879 # include <netinet/udp.h>
8881 #ifdef HAVE_NETINET_TCP_H
8882 # include <netinet/tcp.h>
8885 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8887 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8890 ac_fn_c_check_header_compile
"$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8891 #include <sys/socket.h>
8892 #ifdef HAVE_SYS_SOCKETVAR_H
8893 # include <sys/socketvar.h>
8895 #ifdef HAVE_NETINET_IN_H
8896 # include <netinet/in.h>
8898 #ifdef HAVE_NETINET_IN_SYSTM_H
8899 # include <netinet/in_systm.h>
8901 #ifdef HAVE_NETINET_IP_H
8902 # include <netinet/ip.h>
8904 #ifdef HAVE_NETINET_IP_VAR_H
8905 # include <netinet/ip_var.h>
8907 #ifdef HAVE_NETINET_IP_ICMP_H
8908 # include <netinet/ip_icmp.h>
8910 #ifdef HAVE_NETINET_UDP_H
8911 # include <netinet/udp.h>
8913 #ifdef HAVE_NETINET_TCP_H
8914 # include <netinet/tcp.h>
8917 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8919 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8922 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8923 #include <sys/socket.h>
8924 #ifdef HAVE_SYS_SOCKETVAR_H
8925 # include <sys/socketvar.h>
8927 #ifdef HAVE_NETINET_IN_H
8928 # include <netinet/in.h>
8930 #ifdef HAVE_NETINET_IN_SYSTM_H
8931 # include <netinet/in_systm.h>
8933 #ifdef HAVE_NETINET_IP_H
8934 # include <netinet/ip.h>
8936 #ifdef HAVE_NETINET_IP_VAR_H
8937 # include <netinet/ip_var.h>
8939 #ifdef HAVE_NETINET_IP_ICMP_H
8940 # include <netinet/ip_icmp.h>
8942 #ifdef HAVE_NETINET_UDP_H
8943 # include <netinet/udp.h>
8945 #ifdef HAVE_NETINET_TCP_H
8946 # include <netinet/tcp.h>
8949 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8951 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8956 ac_fn_c_check_header_compile
"$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8957 #include <sys/socket.h>
8958 #ifdef HAVE_ASM_TYPES_H
8959 # include <asm/types.h>
8961 #ifdef HAVE_LINUX_TYPES_H
8962 # include <linux/types.h>
8965 if test "x$ac_cv_header_linux_ipx_h" = xyes
8967 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8970 ac_fn_c_check_header_compile
"$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8971 #include <sys/socket.h>
8972 #ifdef HAVE_ASM_TYPES_H
8973 # include <asm/types.h>
8975 #ifdef HAVE_LINUX_TYPES_H
8976 # include <linux/types.h>
8979 if test "x$ac_cv_header_linux_irda_h" = xyes
8981 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
8984 ac_fn_c_check_header_compile
"$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
8985 #include <sys/socket.h>
8986 #ifdef HAVE_ASM_TYPES_H
8987 # include <asm/types.h>
8989 #ifdef HAVE_LINUX_TYPES_H
8990 # include <linux/types.h>
8993 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
8995 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
9000 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
9001 #include <sys/socket.h>
9002 #ifdef HAVE_NETINET_IN_H
9003 # include <netinet/in.h>
9005 #ifdef HAVE_ARPA_NAMESER_H
9006 # include <arpa/nameser.h>
9009 if test "x$ac_cv_header_resolv_h" = xyes
9011 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9016 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9018 if test "x$ac_cv_header_ifaddrs_h" = xyes
9020 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9025 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9027 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9029 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9034 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9035 #ifdef HAVE_SYS_UCONTEXT_H
9036 #include <sys/ucontext.h>
9039 if test "x$ac_cv_header_sys_thr_h" = xyes
9041 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9046 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9047 #include <pthread.h>
9050 if test "x$ac_cv_header_pthread_np_h" = xyes
9052 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9057 ac_fn_c_check_header_compile
"$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9058 #include <sys/types.h>
9059 #ifdef HAVE_ASM_TYPES_H
9060 #include <asm/types.h>
9063 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9065 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9070 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9071 #include <sys/param.h>
9073 #include <sys/socket.h>
9074 #ifdef HAVE_SYS_QUEUE_H
9075 #include <sys/queue.h>
9078 if test "x$ac_cv_header_libprocstat_h" = xyes
9080 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9085 if test "x$ac_cv_header_sys_xattr_h" = xyes
9087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9088 printf %s
"checking whether getxattr takes additional arguments... " >&6; }
9089 if test ${wine_cv_xattr_extra_args+y}
9091 printf %s
"(cached) " >&6
9093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9094 /* end confdefs.h. */
9095 #include <sys/xattr.h>
9099 getxattr("", "", "", 0, 0, 0);
9104 if ac_fn_c_try_compile
"$LINENO"
9106 wine_cv_xattr_extra_args
=yes
9108 wine_cv_xattr_extra_args
=no
9110 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
9112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9113 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9114 test $wine_cv_xattr_extra_args != yes ||
9115 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9128 UNIXDLLFLAGS
="-fPIC"
9130 UNIXLDFLAGS
="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9136 WINELOADER_LDFLAGS
=""
9138 WINEPRELOADER_LDFLAGS
=""
9143 # Extract the first word of "ldd", so it can be a program name with args.
9144 set dummy ldd
; ac_word
=$2
9145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9146 printf %s
"checking for $ac_word... " >&6; }
9147 if test ${ac_cv_path_LDD+y}
9149 printf %s
"(cached) " >&6
9153 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
9156 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9157 as_dummy
="/sbin:/usr/sbin:$PATH"
9158 for as_dir
in $as_dummy
9161 case $as_dir in #(((
9164 *) as_dir
=$as_dir/ ;;
9166 for ac_exec_ext
in '' $ac_executable_extensions; do
9167 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9168 ac_cv_path_LDD
="$as_dir$ac_word$ac_exec_ext"
9169 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9176 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
9181 if test -n "$LDD"; then
9182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9183 printf "%s\n" "$LDD" >&6; }
9185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9186 printf "%s\n" "no" >&6; }
9190 if test -n "$ac_tool_prefix"; then
9191 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9192 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
9193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9194 printf %s
"checking for $ac_word... " >&6; }
9195 if test ${ac_cv_prog_OTOOL+y}
9197 printf %s
"(cached) " >&6
9199 if test -n "$OTOOL"; then
9200 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
9202 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9206 case $as_dir in #(((
9209 *) as_dir
=$as_dir/ ;;
9211 for ac_exec_ext
in '' $ac_executable_extensions; do
9212 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9213 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
9214 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9223 OTOOL
=$ac_cv_prog_OTOOL
9224 if test -n "$OTOOL"; then
9225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9226 printf "%s\n" "$OTOOL" >&6; }
9228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9229 printf "%s\n" "no" >&6; }
9234 if test -z "$ac_cv_prog_OTOOL"; then
9236 # Extract the first word of "otool", so it can be a program name with args.
9237 set dummy otool
; ac_word
=$2
9238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9239 printf %s
"checking for $ac_word... " >&6; }
9240 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9242 printf %s
"(cached) " >&6
9244 if test -n "$ac_ct_OTOOL"; then
9245 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
9247 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9251 case $as_dir in #(((
9254 *) as_dir
=$as_dir/ ;;
9256 for ac_exec_ext
in '' $ac_executable_extensions; do
9257 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9258 ac_cv_prog_ac_ct_OTOOL
="otool"
9259 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9268 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
9269 if test -n "$ac_ct_OTOOL"; then
9270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9271 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9274 printf "%s\n" "no" >&6; }
9277 if test "x$ac_ct_OTOOL" = x
; then
9280 case $cross_compiling:$ac_tool_warned in
9282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9283 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9284 ac_tool_warned
=yes ;;
9289 OTOOL
="$ac_cv_prog_OTOOL"
9292 if test -n "$ac_tool_prefix"; then
9293 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9294 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
9295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9296 printf %s
"checking for $ac_word... " >&6; }
9297 if test ${ac_cv_prog_READELF+y}
9299 printf %s
"(cached) " >&6
9301 if test -n "$READELF"; then
9302 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
9304 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9308 case $as_dir in #(((
9311 *) as_dir
=$as_dir/ ;;
9313 for ac_exec_ext
in '' $ac_executable_extensions; do
9314 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9315 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
9316 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9325 READELF
=$ac_cv_prog_READELF
9326 if test -n "$READELF"; then
9327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9328 printf "%s\n" "$READELF" >&6; }
9330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9331 printf "%s\n" "no" >&6; }
9336 if test -z "$ac_cv_prog_READELF"; then
9337 ac_ct_READELF
=$READELF
9338 # Extract the first word of "readelf", so it can be a program name with args.
9339 set dummy readelf
; ac_word
=$2
9340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9341 printf %s
"checking for $ac_word... " >&6; }
9342 if test ${ac_cv_prog_ac_ct_READELF+y}
9344 printf %s
"(cached) " >&6
9346 if test -n "$ac_ct_READELF"; then
9347 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
9349 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9353 case $as_dir in #(((
9356 *) as_dir
=$as_dir/ ;;
9358 for ac_exec_ext
in '' $ac_executable_extensions; do
9359 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9360 ac_cv_prog_ac_ct_READELF
="readelf"
9361 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9370 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
9371 if test -n "$ac_ct_READELF"; then
9372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9373 printf "%s\n" "$ac_ct_READELF" >&6; }
9375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9376 printf "%s\n" "no" >&6; }
9379 if test "x$ac_ct_READELF" = x
; then
9382 case $cross_compiling:$ac_tool_warned in
9384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9385 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9386 ac_tool_warned
=yes ;;
9388 READELF
=$ac_ct_READELF
9391 READELF
="$ac_cv_prog_READELF"
9399 CONFIGURE_TARGETS
=""
9402 wine_fn_config_makefile
()
9404 as_fn_append SUBDIRS
" \\$as_nl $1"
9407 no
) as_fn_append DISABLED_SUBDIRS
" $1" ;;
9408 *aarch64
*|
*arm
*|
*i386
*|
*x86_64
*)
9409 if test -n "$PE_ARCHS"
9413 test $
(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append
${i}_DISABLED_SUBDIRS
" $1"
9416 test $
(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS
" $1"
9421 wine_fn_config_symlink
()
9424 as_fn_append wine_rules
"
9426 @./config.status \$@"
9427 for f
in $ac_links; do as_fn_append CONFIGURE_TARGETS
" $f"; done
9434 EXTRACFLAGS
="-D__WINE_PE_BUILD"
9436 *i
[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9437 printf %s
"checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9438 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9440 printf %s
"(cached) " >&6
9442 ac_wine_try_cflags_saved
=$CFLAGS
9443 CFLAGS
="$CFLAGS -Wl,--disable-stdcall-fixup"
9444 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9445 /* end confdefs.h. */
9446 int main(int argc, char **argv) { return 0; }
9448 if ac_fn_c_try_link
"$LINENO"
9450 ac_cv_cflags__Wl___disable_stdcall_fixup
=yes
9452 ac_cv_cflags__Wl___disable_stdcall_fixup
=no
9454 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9455 conftest
$ac_exeext conftest.
$ac_ext
9456 CFLAGS
=$ac_wine_try_cflags_saved
9458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9459 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9460 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9462 LDDLLFLAGS
="-Wl,--disable-stdcall-fixup"
9465 enable_loader
=${enable_loader:-no}
9466 enable_server
=${enable_server:-no}
9467 with_x
=${with_x:-no}
9468 with_pthread
=${with_pthread:-no}
9473 DLLFLAGS
="$DLLFLAGS -fPIC"
9475 enable_winemac_drv
=${enable_winemac_drv:-yes}
9476 CARBON_LIBS
="-framework Carbon"
9478 COREFOUNDATION_LIBS
="-framework CoreFoundation"
9480 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
9482 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
9484 METAL_LIBS
="-framework Metal"
9486 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
9488 CORESERVICES_LIBS
="-framework CoreServices"
9490 APPKIT_LIBS
="-framework AppKit"
9492 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
9494 SYSTEMCONFIGURATION_LIBS
="-framework SystemConfiguration"
9497 WINELOADER_LDFLAGS
="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9500 *i
[3456]86*|
*x86_64
*) wine_can_build_preloader
=yes ;;
9501 *) wine_can_build_preloader
=no
;;
9504 if test "$wine_can_build_preloader" = "yes"
9506 WINEPRELOADER_LDFLAGS
="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -mmacosx-version-min=10.7 -Wl,-no_new_main,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9508 printf %s
"checking whether the compiler supports -Wl,-no_pie... " >&6; }
9509 if test ${ac_cv_cflags__Wl__no_pie+y}
9511 printf %s
"(cached) " >&6
9513 ac_wine_try_cflags_saved
=$CFLAGS
9514 CFLAGS
="$CFLAGS -Wl,-no_pie"
9515 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9516 /* end confdefs.h. */
9517 int main(int argc, char **argv) { return 0; }
9519 if ac_fn_c_try_link
"$LINENO"
9521 ac_cv_cflags__Wl__no_pie
=yes
9523 ac_cv_cflags__Wl__no_pie
=no
9525 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9526 conftest
$ac_exeext conftest.
$ac_ext
9527 CFLAGS
=$ac_wine_try_cflags_saved
9529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9530 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9531 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9533 WINEPRELOADER_LDFLAGS
="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9537 WINEPRELOADER_LDFLAGS
="-Wl,-image_base,0x7d400000 $WINEPRELOADER_LDFLAGS"
9540 WINEPRELOADER_LDFLAGS
="-Wl,-image_base,0x200000000,-segalign,0x1000,-segaddr,WINE_RESERVE,0x1000 $WINEPRELOADER_LDFLAGS"
9543 WINELOADER_LDFLAGS
="$WINELOADER_LDFLAGS -mmacosx-version-min=10.7"
9545 as_fn_append wine_warnings
"|can't build Wine preloader; many programs won't work"
9548 if test "x$with_coreaudio" != "xno";
9550 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9552 enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-yes}
9554 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9556 OPENCL_LIBS
="-framework OpenCL"
9558 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
9561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9562 printf %s
"checking whether MTLDevice protocol supports registryID property... " >&6; }
9564 ac_cpp
='$OBJCPP $CPPFLAGS'
9565 ac_compile
='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9566 ac_link
='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9567 ac_compiler_gnu
=$ac_cv_objc_compiler_gnu
9570 ac_cpp
='$OBJCPP $CPPFLAGS'
9571 ac_compile
='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9572 ac_link
='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9573 ac_compiler_gnu
=$ac_cv_objc_compiler_gnu
9574 if test -n "$ac_tool_prefix"; then
9575 for ac_prog
in gcc objcc objc cc CC clang
9577 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9578 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
9579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9580 printf %s
"checking for $ac_word... " >&6; }
9581 if test ${ac_cv_prog_OBJC+y}
9583 printf %s
"(cached) " >&6
9585 if test -n "$OBJC"; then
9586 ac_cv_prog_OBJC
="$OBJC" # Let the user override the test.
9588 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9592 case $as_dir in #(((
9595 *) as_dir
=$as_dir/ ;;
9597 for ac_exec_ext
in '' $ac_executable_extensions; do
9598 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9599 ac_cv_prog_OBJC
="$ac_tool_prefix$ac_prog"
9600 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9609 OBJC
=$ac_cv_prog_OBJC
9610 if test -n "$OBJC"; then
9611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9612 printf "%s\n" "$OBJC" >&6; }
9614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9615 printf "%s\n" "no" >&6; }
9619 test -n "$OBJC" && break
9622 if test -z "$OBJC"; then
9624 for ac_prog
in gcc objcc objc cc CC clang
9626 # Extract the first word of "$ac_prog", so it can be a program name with args.
9627 set dummy
$ac_prog; ac_word
=$2
9628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9629 printf %s
"checking for $ac_word... " >&6; }
9630 if test ${ac_cv_prog_ac_ct_OBJC+y}
9632 printf %s
"(cached) " >&6
9634 if test -n "$ac_ct_OBJC"; then
9635 ac_cv_prog_ac_ct_OBJC
="$ac_ct_OBJC" # Let the user override the test.
9637 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9641 case $as_dir in #(((
9644 *) as_dir
=$as_dir/ ;;
9646 for ac_exec_ext
in '' $ac_executable_extensions; do
9647 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9648 ac_cv_prog_ac_ct_OBJC
="$ac_prog"
9649 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9658 ac_ct_OBJC
=$ac_cv_prog_ac_ct_OBJC
9659 if test -n "$ac_ct_OBJC"; then
9660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9661 printf "%s\n" "$ac_ct_OBJC" >&6; }
9663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9664 printf "%s\n" "no" >&6; }
9668 test -n "$ac_ct_OBJC" && break
9671 if test "x$ac_ct_OBJC" = x
; then
9674 case $cross_compiling:$ac_tool_warned in
9676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9677 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9678 ac_tool_warned
=yes ;;
9684 # Provide some information about the compiler.
9685 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9688 for ac_option
in --version -v -V -qversion; do
9689 { { ac_try
="$ac_compiler $ac_option >&5"
9691 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9692 *) ac_try_echo=$ac_try;;
9694 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9695 printf "%s\n" "$ac_try_echo"; } >&5
9696 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9698 if test -s conftest.err; then
9700 ... rest of stderr output deleted ...
9701 10q' conftest.err >conftest.er1
9702 cat conftest.er1 >&5
9704 rm -f conftest.er1 conftest.err
9705 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9706 test $ac_status = 0; }
9709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9710 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9711 if test ${ac_cv_objc_compiler_gnu+y}
9713 printf %s "(cached) " >&6
9715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9716 /* end confdefs.h. */
9729 if ac_fn_objc_try_compile "$LINENO"
9735 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9736 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9740 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9741 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9743 if test $ac_compiler_gnu = yes; then
9748 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9749 ac_save_OBJCFLAGS=$OBJCFLAGS
9750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9751 printf %s "checking whether $OBJC accepts -g... " >&6; }
9752 if test ${ac_cv_prog_objc_g+y}
9754 printf %s "(cached) " >&6
9756 ac_save_objc_werror_flag=$ac_objc_werror_flag
9757 ac_objc_werror_flag=yes
9758 ac_cv_prog_objc_g=no
9760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9761 /* end confdefs.h. */
9771 if ac_fn_objc_try_compile "$LINENO"
9773 ac_cv_prog_objc_g=yes
9776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9777 /* end confdefs.h. */
9787 if ac_fn_objc_try_compile "$LINENO"
9791 ac_objc_werror_flag=$ac_save_objc_werror_flag
9793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9794 /* end confdefs.h. */
9804 if ac_fn_objc_try_compile "$LINENO"
9806 ac_cv_prog_objc_g=yes
9808 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9810 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9812 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9813 ac_objc_werror_flag=$ac_save_objc_werror_flag
9815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9816 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9817 if test $ac_test_OBJCFLAGS; then
9818 OBJCFLAGS=$ac_save_OBJCFLAGS
9819 elif test $ac_cv_prog_objc_g = yes; then
9820 if test "$GOBJC" = yes; then
9826 if test "$GOBJC" = yes; then
9833 ac_cpp='$OBJCPP $CPPFLAGS'
9834 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9835 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9836 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9840 /* end confdefs.h. */
9841 #include <Metal/Metal.h>
9845 id<MTLDevice> device; device.registryID;
9850 if ac_fn_objc_try_compile "$LINENO"
9852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9853 printf "%s\n" "yes" >&6; }
9855 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9859 printf "%s\n" "no" >&6; }
9861 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9863 ac_cpp='$CPP $CPPFLAGS'
9864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9869 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
9870 WINELOADER_DEPENDS="wine_info.plist"
9876 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
9878 DLLFLAGS="$DLLFLAGS -fPIC"
9880 LDEXECFLAGS="-Wl,-pie"
9881 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9883 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9884 if test ${ac_cv_cflags__Wl__z_defs+y}
9886 printf %s "(cached) " >&6
9888 ac_wine_try_cflags_saved=$CFLAGS
9889 CFLAGS="$CFLAGS -Wl,-z,defs"
9890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9891 /* end confdefs.h. */
9892 int main(int argc, char **argv) { return 0; }
9894 if ac_fn_c_try_link "$LINENO"
9896 ac_cv_cflags__Wl__z_defs=yes
9898 ac_cv_cflags__Wl__z_defs=no
9900 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9901 conftest$ac_exeext conftest.$ac_ext
9902 CFLAGS=$ac_wine_try_cflags_saved
9904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9905 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
9906 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
9908 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9911 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9912 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
9914 printf %s "(cached) " >&6
9916 ac_wine_try_cflags_saved=$CFLAGS
9917 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9919 /* end confdefs.h. */
9920 int main(int argc, char **argv) { return 0; }
9922 if ac_fn_c_try_link "$LINENO"
9924 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9926 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9928 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9929 conftest$ac_exeext conftest.$ac_ext
9930 CFLAGS=$ac_wine_try_cflags_saved
9932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9933 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9934 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
9936 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9938 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9941 printf %s "checking for -lEGL... " >&6; }
9942 if test ${ac_cv_lib_soname_EGL+y}
9944 printf %s "(cached) " >&6
9946 ac_check_soname_save_LIBS=$LIBS
9948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9949 /* end confdefs.h. */
9951 /* Override any GCC internal prototype to avoid an error.
9952 Use char because int might match the return type of a GCC
9953 builtin and then its argument prototype would still apply. */
9954 char eglGetProcAddress ();
9958 return eglGetProcAddress ();
9963 if ac_fn_c_try_link "$LINENO"
9966 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe |
grep "EGL" |
sed -e "s/dll.*/dll/"';2,$d'` ;;
9967 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'` ;;
9968 *) ac_cv_lib_soname_EGL=`$READELF -d conftest
$ac_exeext |
grep "NEEDED.*libEGL\\.$LIBEXT" |
sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9969 if ${ac_cv_lib_soname_EGL:+false} :
9971 ac_cv_lib_soname_EGL=`$LDD conftest
$ac_exeext |
grep "libEGL\\.$LIBEXT" |
sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9975 ac_cv_lib_soname_EGL=
9977 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9978 conftest$ac_exeext conftest.$ac_ext
9979 LIBS=$ac_check_soname_save_LIBS
9981 if ${ac_cv_lib_soname_EGL:+false} :
9983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9984 printf "%s\n" "not found" >&6; }
9987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9988 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
9990 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
9994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9995 printf %s "checking for -lGLESv2... " >&6; }
9996 if test ${ac_cv_lib_soname_GLESv2+y}
9998 printf %s "(cached) " >&6
10000 ac_check_soname_save_LIBS=$LIBS
10001 LIBS="-lGLESv2 $LIBS"
10002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10003 /* end confdefs.h. */
10005 /* Override any GCC internal prototype to avoid an error.
10006 Use char because int might match the return type of a GCC
10007 builtin and then its argument prototype would still apply. */
10017 if ac_fn_c_try_link "$LINENO"
10020 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe |
grep "GLESv2" |
sed -e "s/dll.*/dll/"';2,$d'` ;;
10021 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'` ;;
10022 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest
$ac_exeext |
grep "NEEDED.*libGLESv2\\.$LIBEXT" |
sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10023 if ${ac_cv_lib_soname_GLESv2:+false} :
10025 ac_cv_lib_soname_GLESv2=`$LDD conftest
$ac_exeext |
grep "libGLESv2\\.$LIBEXT" |
sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10029 ac_cv_lib_soname_GLESv2=
10031 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10032 conftest$ac_exeext conftest.$ac_ext
10033 LIBS=$ac_check_soname_save_LIBS
10035 if ${ac_cv_lib_soname_GLESv2:+false} :
10037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10038 printf "%s\n" "not found" >&6; }
10041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10042 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10044 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10049 if test "x$exec_prefix" = xNONE
10052 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10053 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10054 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10055 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10062 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10064 test "$ac_cv_sys_file_offset_bits" = 64 &&
10065 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10069 DLLFLAGS="$DLLFLAGS -fno-PIC"
10070 LDDLLFLAGS="-fno-PIC"
10071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10072 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10073 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10075 printf %s "(cached) " >&6
10077 ac_wine_try_cflags_saved=$CFLAGS
10078 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10080 /* end confdefs.h. */
10081 int main(int argc, char **argv) { return 0; }
10083 if ac_fn_c_try_link "$LINENO"
10085 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10087 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10089 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10090 conftest$ac_exeext conftest.$ac_ext
10091 CFLAGS=$ac_wine_try_cflags_saved
10093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10094 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10095 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10097 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10101 DLLFLAGS="$DLLFLAGS -fPIC"
10102 LDDLLFLAGS="-fPIC" ;;
10105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10106 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10107 if test ${ac_cv_cflags__Wl__z_defs+y}
10109 printf %s "(cached) " >&6
10111 ac_wine_try_cflags_saved=$CFLAGS
10112 CFLAGS="$CFLAGS -Wl,-z,defs"
10113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10114 /* end confdefs.h. */
10115 int main(int argc, char **argv) { return 0; }
10117 if ac_fn_c_try_link "$LINENO"
10119 ac_cv_cflags__Wl__z_defs=yes
10121 ac_cv_cflags__Wl__z_defs=no
10123 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10124 conftest$ac_exeext conftest.$ac_ext
10125 CFLAGS=$ac_wine_try_cflags_saved
10127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10128 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10129 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10131 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10134 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10135 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10137 printf %s "(cached) " >&6
10139 ac_wine_try_cflags_saved=$CFLAGS
10140 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10142 /* end confdefs.h. */
10143 int main(int argc, char **argv) { return 0; }
10145 if ac_fn_c_try_link "$LINENO"
10147 ac_cv_cflags__Wl___export_dynamic=yes
10149 ac_cv_cflags__Wl___export_dynamic=no
10151 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10152 conftest$ac_exeext conftest.$ac_ext
10153 CFLAGS=$ac_wine_try_cflags_saved
10155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10156 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10157 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10159 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10161 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs"
10165 as_fn_append WINELOADER_LDFLAGS " -pie"
10168 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d400000" ;;
10170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -static-pie" >&5
10171 printf %s "checking whether the compiler supports -static-pie... " >&6; }
10172 if test ${ac_cv_cflags__static_pie+y}
10174 printf %s "(cached) " >&6
10176 ac_wine_try_cflags_saved=$CFLAGS
10177 CFLAGS="$CFLAGS -static-pie"
10178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10179 /* end confdefs.h. */
10180 int main(int argc, char **argv) { return 0; }
10182 if ac_fn_c_try_link "$LINENO"
10184 ac_cv_cflags__static_pie=yes
10186 ac_cv_cflags__static_pie=no
10188 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10189 conftest$ac_exeext conftest.$ac_ext
10190 CFLAGS=$ac_wine_try_cflags_saved
10192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__static_pie" >&5
10193 printf "%s\n" "$ac_cv_cflags__static_pie" >&6; }
10194 if test "x$ac_cv_cflags__static_pie" = xyes
10196 as_fn_append WINEPRELOADER_LDFLAGS " -static-pie"
10198 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d7d00000000"
10206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x60000000" >&5
10207 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x60000000... " >&6; }
10208 if test ${ac_cv_cflags__Wl__Ttext_segment_0x60000000+y}
10210 printf %s "(cached) " >&6
10212 ac_wine_try_cflags_saved=$CFLAGS
10213 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x60000000"
10214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10215 /* end confdefs.h. */
10216 int main(int argc, char **argv) { return 0; }
10218 if ac_fn_c_try_link "$LINENO"
10220 ac_cv_cflags__Wl__Ttext_segment_0x60000000=yes
10222 ac_cv_cflags__Wl__Ttext_segment_0x60000000=no
10224 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10225 conftest$ac_exeext conftest.$ac_ext
10226 CFLAGS=$ac_wine_try_cflags_saved
10228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&5
10229 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&6; }
10230 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x60000000" = xyes
10232 as_fn_append WINELOADER_LDFLAGS " -Wl,-Ttext-segment=0x60000000"
10234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x60000400" >&5
10235 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x60000400... " >&6; }
10236 if test ${ac_cv_cflags__Wl___section_start__interp_0x60000400+y}
10238 printf %s "(cached) " >&6
10240 ac_wine_try_cflags_saved=$CFLAGS
10241 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x60000400"
10242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10243 /* end confdefs.h. */
10244 int main(int argc, char **argv) { return 0; }
10246 if ac_fn_c_try_link "$LINENO"
10248 ac_cv_cflags__Wl___section_start__interp_0x60000400=yes
10250 ac_cv_cflags__Wl___section_start__interp_0x60000400=no
10252 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10253 conftest$ac_exeext conftest.$ac_ext
10254 CFLAGS=$ac_wine_try_cflags_saved
10256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x60000400" >&5
10257 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x60000400" >&6; }
10258 if test "x$ac_cv_cflags__Wl___section_start__interp_0x60000400" = xyes
10260 as_fn_append WINELOADER_LDFLAGS " -Wl,--section-start,.interp=0x60000400"
10265 as_fn_append WINELOADER_LDFLAGS " -pie"
10273 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10274 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10275 enable_winemac_drv=${enable_winemac_drv:-no}
10280 if test ${enable_archs+y}
10282 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10285 set x $enable_archs
10291 i386|x86_64|arm|aarch64) cross_archs="$cross_archs $arch" ;;
10292 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10296 if test "x$with_mingw" != xno
10298 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10302 for wine_arch in $cross_archs
10304 case "x$with_mingw" in
10305 xclang|x*/clang) eval "${wine_arch}_CC=\$with_mingw" ;;
10307 if eval \${${wine_arch}_CC:+false} :
10311 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10313 # Extract the first word of "$ac_prog", so it can be a program name with args.
10314 set dummy $ac_prog; ac_word=$2
10315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10316 printf %s "checking for $ac_word... " >&6; }
10317 if test ${ac_cv_prog_aarch64_CC+y}
10319 printf %s "(cached) " >&6
10321 if test -n "$aarch64_CC"; then
10322 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10325 for as_dir in $PATH
10328 case $as_dir in #(((
10331 *) as_dir=$as_dir/ ;;
10333 for ac_exec_ext in '' $ac_executable_extensions; do
10334 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10335 ac_cv_prog_aarch64_CC="$ac_prog"
10336 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10345 aarch64_CC=$ac_cv_prog_aarch64_CC
10346 if test -n "$aarch64_CC"; then
10347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10348 printf "%s\n" "$aarch64_CC" >&6; }
10350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10351 printf "%s\n" "no" >&6; }
10355 test -n "$aarch64_CC" && break
10357 test -n "$aarch64_CC" || aarch64_CC="false"
10361 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10363 # Extract the first word of "$ac_prog", so it can be a program name with args.
10364 set dummy $ac_prog; ac_word=$2
10365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10366 printf %s "checking for $ac_word... " >&6; }
10367 if test ${ac_cv_prog_arm_CC+y}
10369 printf %s "(cached) " >&6
10371 if test -n "$arm_CC"; then
10372 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10375 for as_dir in $PATH
10378 case $as_dir in #(((
10381 *) as_dir=$as_dir/ ;;
10383 for ac_exec_ext in '' $ac_executable_extensions; do
10384 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10385 ac_cv_prog_arm_CC="$ac_prog"
10386 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10395 arm_CC=$ac_cv_prog_arm_CC
10396 if test -n "$arm_CC"; then
10397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10398 printf "%s\n" "$arm_CC" >&6; }
10400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10401 printf "%s\n" "no" >&6; }
10405 test -n "$arm_CC" && break
10407 test -n "$arm_CC" || arm_CC="false"
10411 ac_prefix_list="i686-w64-mingw32-gcc i586-w64-mingw32-gcc i486-w64-mingw32-gcc i386-w64-mingw32-gcc i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang "
10412 for ac_prog in $ac_prefix_list clang
10414 # Extract the first word of "$ac_prog", so it can be a program name with args.
10415 set dummy $ac_prog; ac_word=$2
10416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10417 printf %s "checking for $ac_word... " >&6; }
10418 if test ${ac_cv_prog_i386_CC+y}
10420 printf %s "(cached) " >&6
10422 if test -n "$i386_CC"; then
10423 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10426 for as_dir in $PATH
10429 case $as_dir in #(((
10432 *) as_dir=$as_dir/ ;;
10434 for ac_exec_ext in '' $ac_executable_extensions; do
10435 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10436 ac_cv_prog_i386_CC="$ac_prog"
10437 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10446 i386_CC=$ac_cv_prog_i386_CC
10447 if test -n "$i386_CC"; then
10448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10449 printf "%s\n" "$i386_CC" >&6; }
10451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10452 printf "%s\n" "no" >&6; }
10456 test -n "$i386_CC" && break
10458 test -n "$i386_CC" || i386_CC="false"
10462 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10463 for ac_prog in $ac_prefix_list clang
10465 # Extract the first word of "$ac_prog", so it can be a program name with args.
10466 set dummy $ac_prog; ac_word=$2
10467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10468 printf %s "checking for $ac_word... " >&6; }
10469 if test ${ac_cv_prog_x86_64_CC+y}
10471 printf %s "(cached) " >&6
10473 if test -n "$x86_64_CC"; then
10474 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10477 for as_dir in $PATH
10480 case $as_dir in #(((
10483 *) as_dir=$as_dir/ ;;
10485 for ac_exec_ext in '' $ac_executable_extensions; do
10486 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10487 ac_cv_prog_x86_64_CC="$ac_prog"
10488 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10497 x86_64_CC=$ac_cv_prog_x86_64_CC
10498 if test -n "$x86_64_CC"; then
10499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10500 printf "%s\n" "$x86_64_CC" >&6; }
10502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10503 printf "%s\n" "no" >&6; }
10507 test -n "$x86_64_CC" && break
10509 test -n "$x86_64_CC" || x86_64_CC="false"
10515 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10521 saved_CFLAGS=$CFLAGS
10522 saved_LDFLAGS=$LDFLAGS
10524 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10525 LDFLAGS=$CROSSLDFLAGS
10526 eval CC=\$${wine_arch}_CC
10527 eval ${wine_arch}_CFLAGS=\$CFLAGS
10528 eval ${wine_arch}_LDFLAGS=\$LDFLAGS
10529 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10532 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" |
$as_tr_sh`
10534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10535 printf %s "checking whether $CC works... " >&6; }
10536 if eval test \${$as_wine_cv_crosscc+y}
10538 printf %s "(cached) " >&6
10540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10541 /* end confdefs.h. */
10551 if ac_fn_c_try_compile "$LINENO"
10553 eval "$as_wine_cv_crosscc=yes"
10555 eval "$as_wine_cv_crosscc=no"
10557 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10559 eval ac_res=\$$as_wine_cv_crosscc
10560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10561 printf "%s\n" "$ac_res" >&6; }
10562 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10566 while test $# -ge 1
10569 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10570 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10575 llvm_target=$target
10576 if test -z "$llvm_target"
10579 i386) llvm_target=i686-windows ;;
10580 arm) llvm_target=armv7-windows ;;
10581 *) llvm_target=$wine_arch-windows ;;
10584 llvm_extra_cflags="-target $llvm_target -fuse-ld=lld"
10585 case $llvm_target in
10586 *windows) llvm_cflags="-Wl,-subsystem:console -Wl,-WX" ;;
10588 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags" |
$as_tr_sh`
10589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags" >&5
10590 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags... " >&6; }
10591 if eval test \${$as_ac_var+y}
10593 printf %s "(cached) " >&6
10595 ac_wine_try_cflags_saved=$CFLAGS
10596 ac_wine_try_cflags_saved_exeext=$ac_exeext
10597 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags"
10599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10600 /* end confdefs.h. */
10601 int __cdecl mainCRTStartup(void) { return 0; }
10603 if ac_fn_c_try_link "$LINENO"
10605 eval "$as_ac_var=yes"
10607 eval "$as_ac_var=no"
10609 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10610 conftest$ac_exeext conftest.$ac_ext
10611 CFLAGS=$ac_wine_try_cflags_saved
10612 ac_exeext=$ac_wine_try_cflags_saved_exeext
10614 eval ac_res=\$$as_ac_var
10615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10616 printf "%s\n" "$ac_res" >&6; }
10617 if eval test \"x\$"$as_ac_var"\" = x"yes"
10619 target=$llvm_target
10620 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10621 as_fn_append ${wine_arch}_EXTRACFLAGS " $llvm_extra_cflags"
10622 CFLAGS="$llvm_extra_cflags $llvm_cflags"
10624 eval "${wine_arch}_TARGET=\$target"
10628 if test -z "$target"
10631 CFLAGS=$saved_CFLAGS
10632 LDFLAGS=$saved_LDFLAGS
10636 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" |
$as_tr_sh`
10638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10639 printf %s "checking for $CC option to enable C99 features... " >&6; }
10640 if eval test \${$as_wine_cv_crosscc_c99+y}
10642 printf %s "(cached) " >&6
10644 eval "$as_wine_cv_crosscc_c99=no"
10645 for arg in '' '-std=gnu99' '-D__STDC__'
10647 test -z "$arg" || CC="$CC $arg"
10648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10649 /* end confdefs.h. */
10650 $ac_c_conftest_c99_program
10652 if ac_fn_c_try_compile "$LINENO"
10654 eval "$as_wine_cv_crosscc_c99=\$arg"
10656 eval "$as_wine_cv_crosscc_c99=no"
10658 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10659 eval CC=\$${wine_arch}_CC
10660 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10669 eval res=\$$as_wine_cv_crosscc_c99
10672 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10673 printf "%s\n" "none needed" >&6; } ;;
10674 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10675 printf "%s\n" "unsupported" >&6; }
10677 CFLAGS=$saved_CFLAGS
10678 LDFLAGS=$saved_LDFLAGS
10681 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10682 printf "%s\n" "$res" >&6; }
10683 as_fn_append ${wine_arch}_CC " $res" ;;
10686 as_fn_append PE_ARCHS " $wine_arch"
10687 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" |
$as_tr_sh`
10688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10689 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10690 if eval test \${$as_ac_var+y}
10692 printf %s "(cached) " >&6
10694 ac_wine_try_cflags_saved=$CFLAGS
10695 ac_wine_try_cflags_saved_exeext=$ac_exeext
10696 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-strict-aliasing"
10698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10699 /* end confdefs.h. */
10700 int __cdecl mainCRTStartup(void) { return 0; }
10702 if ac_fn_c_try_link "$LINENO"
10704 eval "$as_ac_var=yes"
10706 eval "$as_ac_var=no"
10708 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10709 conftest$ac_exeext conftest.$ac_ext
10710 CFLAGS=$ac_wine_try_cflags_saved
10711 ac_exeext=$ac_wine_try_cflags_saved_exeext
10713 eval ac_res=\$$as_ac_var
10714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10715 printf "%s\n" "$ac_res" >&6; }
10716 if eval test \"x\$"$as_ac_var"\" = x"yes"
10718 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10720 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" |
$as_tr_sh`
10721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10722 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10723 if eval test \${$as_ac_var+y}
10725 printf %s "(cached) " >&6
10727 ac_wine_try_cflags_saved=$CFLAGS
10728 ac_wine_try_cflags_saved_exeext=$ac_exeext
10729 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=unknown-warning-option"
10731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10732 /* end confdefs.h. */
10733 int __cdecl mainCRTStartup(void) { return 0; }
10735 if ac_fn_c_try_link "$LINENO"
10737 eval "$as_ac_var=yes"
10739 eval "$as_ac_var=no"
10741 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10742 conftest$ac_exeext conftest.$ac_ext
10743 CFLAGS=$ac_wine_try_cflags_saved
10744 ac_exeext=$ac_wine_try_cflags_saved_exeext
10746 eval ac_res=\$$as_ac_var
10747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10748 printf "%s\n" "$ac_res" >&6; }
10749 if eval test \"x\$"$as_ac_var"\" = x"yes"
10751 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10753 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" |
$as_tr_sh`
10754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
10755 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
10756 if eval test \${$as_ac_var+y}
10758 printf %s "(cached) " >&6
10760 ac_wine_try_cflags_saved=$CFLAGS
10761 ac_wine_try_cflags_saved_exeext=$ac_exeext
10762 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=ignored-optimization-argument"
10764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10765 /* end confdefs.h. */
10766 int __cdecl mainCRTStartup(void) { return 0; }
10768 if ac_fn_c_try_link "$LINENO"
10770 eval "$as_ac_var=yes"
10772 eval "$as_ac_var=no"
10774 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10775 conftest$ac_exeext conftest.$ac_ext
10776 CFLAGS=$ac_wine_try_cflags_saved
10777 ac_exeext=$ac_wine_try_cflags_saved_exeext
10779 eval ac_res=\$$as_ac_var
10780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10781 printf "%s\n" "$ac_res" >&6; }
10782 if eval test \"x\$"$as_ac_var"\" = x"yes"
10784 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10786 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" |
$as_tr_sh`
10787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
10788 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
10789 if eval test \${$as_ac_var+y}
10791 printf %s "(cached) " >&6
10793 ac_wine_try_cflags_saved=$CFLAGS
10794 ac_wine_try_cflags_saved_exeext=$ac_exeext
10795 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wdeclaration-after-statement"
10797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10798 /* end confdefs.h. */
10799 int __cdecl mainCRTStartup(void) { return 0; }
10801 if ac_fn_c_try_link "$LINENO"
10803 eval "$as_ac_var=yes"
10805 eval "$as_ac_var=no"
10807 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10808 conftest$ac_exeext conftest.$ac_ext
10809 CFLAGS=$ac_wine_try_cflags_saved
10810 ac_exeext=$ac_wine_try_cflags_saved_exeext
10812 eval ac_res=\$$as_ac_var
10813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10814 printf "%s\n" "$ac_res" >&6; }
10815 if eval test \"x\$"$as_ac_var"\" = x"yes"
10817 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
10819 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" |
$as_tr_sh`
10820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
10821 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
10822 if eval test \${$as_ac_var+y}
10824 printf %s "(cached) " >&6
10826 ac_wine_try_cflags_saved=$CFLAGS
10827 ac_wine_try_cflags_saved_exeext=$ac_exeext
10828 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wempty-body"
10830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10831 /* end confdefs.h. */
10832 int __cdecl mainCRTStartup(void) { return 0; }
10834 if ac_fn_c_try_link "$LINENO"
10836 eval "$as_ac_var=yes"
10838 eval "$as_ac_var=no"
10840 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10841 conftest$ac_exeext conftest.$ac_ext
10842 CFLAGS=$ac_wine_try_cflags_saved
10843 ac_exeext=$ac_wine_try_cflags_saved_exeext
10845 eval ac_res=\$$as_ac_var
10846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10847 printf "%s\n" "$ac_res" >&6; }
10848 if eval test \"x\$"$as_ac_var"\" = x"yes"
10850 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
10852 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" |
$as_tr_sh`
10853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
10854 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
10855 if eval test \${$as_ac_var+y}
10857 printf %s "(cached) " >&6
10859 ac_wine_try_cflags_saved=$CFLAGS
10860 ac_wine_try_cflags_saved_exeext=$ac_exeext
10861 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wignored-qualifiers"
10863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10864 /* end confdefs.h. */
10865 int __cdecl mainCRTStartup(void) { return 0; }
10867 if ac_fn_c_try_link "$LINENO"
10869 eval "$as_ac_var=yes"
10871 eval "$as_ac_var=no"
10873 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10874 conftest$ac_exeext conftest.$ac_ext
10875 CFLAGS=$ac_wine_try_cflags_saved
10876 ac_exeext=$ac_wine_try_cflags_saved_exeext
10878 eval ac_res=\$$as_ac_var
10879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10880 printf "%s\n" "$ac_res" >&6; }
10881 if eval test \"x\$"$as_ac_var"\" = x"yes"
10883 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
10885 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" |
$as_tr_sh`
10886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
10887 printf %s "checking whether $CC supports -Winit-self... " >&6; }
10888 if eval test \${$as_ac_var+y}
10890 printf %s "(cached) " >&6
10892 ac_wine_try_cflags_saved=$CFLAGS
10893 ac_wine_try_cflags_saved_exeext=$ac_exeext
10894 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Winit-self"
10896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10897 /* end confdefs.h. */
10898 int __cdecl mainCRTStartup(void) { return 0; }
10900 if ac_fn_c_try_link "$LINENO"
10902 eval "$as_ac_var=yes"
10904 eval "$as_ac_var=no"
10906 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10907 conftest$ac_exeext conftest.$ac_ext
10908 CFLAGS=$ac_wine_try_cflags_saved
10909 ac_exeext=$ac_wine_try_cflags_saved_exeext
10911 eval ac_res=\$$as_ac_var
10912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10913 printf "%s\n" "$ac_res" >&6; }
10914 if eval test \"x\$"$as_ac_var"\" = x"yes"
10916 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
10918 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" |
$as_tr_sh`
10919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
10920 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
10921 if eval test \${$as_ac_var+y}
10923 printf %s "(cached) " >&6
10925 ac_wine_try_cflags_saved=$CFLAGS
10926 ac_wine_try_cflags_saved_exeext=$ac_exeext
10927 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpacked-not-aligned"
10929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10930 /* end confdefs.h. */
10931 int __cdecl mainCRTStartup(void) { return 0; }
10933 if ac_fn_c_try_link "$LINENO"
10935 eval "$as_ac_var=yes"
10937 eval "$as_ac_var=no"
10939 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10940 conftest$ac_exeext conftest.$ac_ext
10941 CFLAGS=$ac_wine_try_cflags_saved
10942 ac_exeext=$ac_wine_try_cflags_saved_exeext
10944 eval ac_res=\$$as_ac_var
10945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10946 printf "%s\n" "$ac_res" >&6; }
10947 if eval test \"x\$"$as_ac_var"\" = x"yes"
10949 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
10951 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" |
$as_tr_sh`
10952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
10953 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
10954 if eval test \${$as_ac_var+y}
10956 printf %s "(cached) " >&6
10958 ac_wine_try_cflags_saved=$CFLAGS
10959 ac_wine_try_cflags_saved_exeext=$ac_exeext
10960 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpragma-pack"
10962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10963 /* end confdefs.h. */
10964 int __cdecl mainCRTStartup(void) { return 0; }
10966 if ac_fn_c_try_link "$LINENO"
10968 eval "$as_ac_var=yes"
10970 eval "$as_ac_var=no"
10972 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10973 conftest$ac_exeext conftest.$ac_ext
10974 CFLAGS=$ac_wine_try_cflags_saved
10975 ac_exeext=$ac_wine_try_cflags_saved_exeext
10977 eval ac_res=\$$as_ac_var
10978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10979 printf "%s\n" "$ac_res" >&6; }
10980 if eval test \"x\$"$as_ac_var"\" = x"yes"
10982 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
10984 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" |
$as_tr_sh`
10985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
10986 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
10987 if eval test \${$as_ac_var+y}
10989 printf %s "(cached) " >&6
10991 ac_wine_try_cflags_saved=$CFLAGS
10992 ac_wine_try_cflags_saved_exeext=$ac_exeext
10993 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wshift-overflow=2"
10995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10996 /* end confdefs.h. */
10997 int __cdecl mainCRTStartup(void) { return 0; }
10999 if ac_fn_c_try_link "$LINENO"
11001 eval "$as_ac_var=yes"
11003 eval "$as_ac_var=no"
11005 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11006 conftest$ac_exeext conftest.$ac_ext
11007 CFLAGS=$ac_wine_try_cflags_saved
11008 ac_exeext=$ac_wine_try_cflags_saved_exeext
11010 eval ac_res=\$$as_ac_var
11011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11012 printf "%s\n" "$ac_res" >&6; }
11013 if eval test \"x\$"$as_ac_var"\" = x"yes"
11015 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11017 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" |
$as_tr_sh`
11018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11019 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11020 if eval test \${$as_ac_var+y}
11022 printf %s "(cached) " >&6
11024 ac_wine_try_cflags_saved=$CFLAGS
11025 ac_wine_try_cflags_saved_exeext=$ac_exeext
11026 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wstrict-prototypes"
11028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11029 /* end confdefs.h. */
11030 int __cdecl mainCRTStartup(void) { return 0; }
11032 if ac_fn_c_try_link "$LINENO"
11034 eval "$as_ac_var=yes"
11036 eval "$as_ac_var=no"
11038 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11039 conftest$ac_exeext conftest.$ac_ext
11040 CFLAGS=$ac_wine_try_cflags_saved
11041 ac_exeext=$ac_wine_try_cflags_saved_exeext
11043 eval ac_res=\$$as_ac_var
11044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11045 printf "%s\n" "$ac_res" >&6; }
11046 if eval test \"x\$"$as_ac_var"\" = x"yes"
11048 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11050 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" |
$as_tr_sh`
11051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11052 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11053 if eval test \${$as_ac_var+y}
11055 printf %s "(cached) " >&6
11057 ac_wine_try_cflags_saved=$CFLAGS
11058 ac_wine_try_cflags_saved_exeext=$ac_exeext
11059 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wtype-limits"
11061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11062 /* end confdefs.h. */
11063 int __cdecl mainCRTStartup(void) { return 0; }
11065 if ac_fn_c_try_link "$LINENO"
11067 eval "$as_ac_var=yes"
11069 eval "$as_ac_var=no"
11071 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11072 conftest$ac_exeext conftest.$ac_ext
11073 CFLAGS=$ac_wine_try_cflags_saved
11074 ac_exeext=$ac_wine_try_cflags_saved_exeext
11076 eval ac_res=\$$as_ac_var
11077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11078 printf "%s\n" "$ac_res" >&6; }
11079 if eval test \"x\$"$as_ac_var"\" = x"yes"
11081 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11083 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" |
$as_tr_sh`
11084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11085 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11086 if eval test \${$as_ac_var+y}
11088 printf %s "(cached) " >&6
11090 ac_wine_try_cflags_saved=$CFLAGS
11091 ac_wine_try_cflags_saved_exeext=$ac_exeext
11092 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wunused-but-set-parameter"
11094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11095 /* end confdefs.h. */
11096 int __cdecl mainCRTStartup(void) { return 0; }
11098 if ac_fn_c_try_link "$LINENO"
11100 eval "$as_ac_var=yes"
11102 eval "$as_ac_var=no"
11104 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11105 conftest$ac_exeext conftest.$ac_ext
11106 CFLAGS=$ac_wine_try_cflags_saved
11107 ac_exeext=$ac_wine_try_cflags_saved_exeext
11109 eval ac_res=\$$as_ac_var
11110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11111 printf "%s\n" "$ac_res" >&6; }
11112 if eval test \"x\$"$as_ac_var"\" = x"yes"
11114 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11116 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" |
$as_tr_sh`
11117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11118 printf %s "checking whether $CC supports -Wvla... " >&6; }
11119 if eval test \${$as_ac_var+y}
11121 printf %s "(cached) " >&6
11123 ac_wine_try_cflags_saved=$CFLAGS
11124 ac_wine_try_cflags_saved_exeext=$ac_exeext
11125 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wvla"
11127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11128 /* end confdefs.h. */
11129 int __cdecl mainCRTStartup(void) { return 0; }
11131 if ac_fn_c_try_link "$LINENO"
11133 eval "$as_ac_var=yes"
11135 eval "$as_ac_var=no"
11137 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11138 conftest$ac_exeext conftest.$ac_ext
11139 CFLAGS=$ac_wine_try_cflags_saved
11140 ac_exeext=$ac_wine_try_cflags_saved_exeext
11142 eval ac_res=\$$as_ac_var
11143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11144 printf "%s\n" "$ac_res" >&6; }
11145 if eval test \"x\$"$as_ac_var"\" = x"yes"
11147 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11149 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" |
$as_tr_sh`
11150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11151 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11152 if eval test \${$as_ac_var+y}
11154 printf %s "(cached) " >&6
11156 ac_wine_try_cflags_saved=$CFLAGS
11157 ac_wine_try_cflags_saved_exeext=$ac_exeext
11158 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wwrite-strings"
11160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11161 /* end confdefs.h. */
11162 int __cdecl mainCRTStartup(void) { return 0; }
11164 if ac_fn_c_try_link "$LINENO"
11166 eval "$as_ac_var=yes"
11168 eval "$as_ac_var=no"
11170 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11171 conftest$ac_exeext conftest.$ac_ext
11172 CFLAGS=$ac_wine_try_cflags_saved
11173 ac_exeext=$ac_wine_try_cflags_saved_exeext
11175 eval ac_res=\$$as_ac_var
11176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11177 printf "%s\n" "$ac_res" >&6; }
11178 if eval test \"x\$"$as_ac_var"\" = x"yes"
11180 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11182 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" |
$as_tr_sh`
11183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11184 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11185 if eval test \${$as_ac_var+y}
11187 printf %s "(cached) " >&6
11189 ac_wine_try_cflags_saved=$CFLAGS
11190 ac_wine_try_cflags_saved_exeext=$ac_exeext
11191 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpointer-arith"
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 eval "$as_ac_var=yes"
11201 eval "$as_ac_var=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 ac_exeext=$ac_wine_try_cflags_saved_exeext
11208 eval ac_res=\$$as_ac_var
11209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11210 printf "%s\n" "$ac_res" >&6; }
11211 if eval test \"x\$"$as_ac_var"\" = x"yes"
11213 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11215 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" |
$as_tr_sh`
11216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11217 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11218 if eval test \${$as_ac_var+y}
11220 printf %s "(cached) " >&6
11222 ac_wine_try_cflags_saved=$CFLAGS
11223 ac_wine_try_cflags_saved_exeext=$ac_exeext
11224 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wlogical-op"
11226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11227 /* end confdefs.h. */
11228 int __cdecl mainCRTStartup(void) { return 0; }
11230 if ac_fn_c_try_link "$LINENO"
11232 eval "$as_ac_var=yes"
11234 eval "$as_ac_var=no"
11236 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11237 conftest$ac_exeext conftest.$ac_ext
11238 CFLAGS=$ac_wine_try_cflags_saved
11239 ac_exeext=$ac_wine_try_cflags_saved_exeext
11241 eval ac_res=\$$as_ac_var
11242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11243 printf "%s\n" "$ac_res" >&6; }
11244 if eval test \"x\$"$as_ac_var"\" = x"yes"
11246 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11248 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" |
$as_tr_sh`
11249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11250 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11251 if eval test \${$as_ac_var+y}
11253 printf %s "(cached) " >&6
11255 ac_wine_try_cflags_saved=$CFLAGS
11256 ac_wine_try_cflags_saved_exeext=$ac_exeext
11257 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wabsolute-value"
11259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11260 /* end confdefs.h. */
11261 int __cdecl mainCRTStartup(void) { return 0; }
11263 if ac_fn_c_try_link "$LINENO"
11265 eval "$as_ac_var=yes"
11267 eval "$as_ac_var=no"
11269 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11270 conftest$ac_exeext conftest.$ac_ext
11271 CFLAGS=$ac_wine_try_cflags_saved
11272 ac_exeext=$ac_wine_try_cflags_saved_exeext
11274 eval ac_res=\$$as_ac_var
11275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11276 printf "%s\n" "$ac_res" >&6; }
11277 if eval test \"x\$"$as_ac_var"\" = x"yes"
11279 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11283 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" |
$as_tr_sh`
11284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11285 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11286 if eval test \${$as_ac_var+y}
11288 printf %s "(cached) " >&6
11290 ac_wine_try_cflags_saved=$CFLAGS
11291 ac_wine_try_cflags_saved_exeext=$ac_exeext
11292 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-omit-frame-pointer"
11294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11295 /* end confdefs.h. */
11296 int __cdecl mainCRTStartup(void) { return 0; }
11298 if ac_fn_c_try_link "$LINENO"
11300 eval "$as_ac_var=yes"
11302 eval "$as_ac_var=no"
11304 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11305 conftest$ac_exeext conftest.$ac_ext
11306 CFLAGS=$ac_wine_try_cflags_saved
11307 ac_exeext=$ac_wine_try_cflags_saved_exeext
11309 eval ac_res=\$$as_ac_var
11310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11311 printf "%s\n" "$ac_res" >&6; }
11312 if eval test \"x\$"$as_ac_var"\" = x"yes"
11314 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11316 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" |
$as_tr_sh`
11317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11318 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11319 if eval test \${$as_ac_var+y}
11321 printf %s "(cached) " >&6
11323 ac_wine_try_cflags_saved=$CFLAGS
11324 ac_wine_try_cflags_saved_exeext=$ac_exeext
11325 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--disable-stdcall-fixup"
11327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11328 /* end confdefs.h. */
11329 int __cdecl mainCRTStartup(void) { return 0; }
11331 if ac_fn_c_try_link "$LINENO"
11333 eval "$as_ac_var=yes"
11335 eval "$as_ac_var=no"
11337 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11338 conftest$ac_exeext conftest.$ac_ext
11339 CFLAGS=$ac_wine_try_cflags_saved
11340 ac_exeext=$ac_wine_try_cflags_saved_exeext
11342 eval ac_res=\$$as_ac_var
11343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11344 printf "%s\n" "$ac_res" >&6; }
11345 if eval test \"x\$"$as_ac_var"\" = x"yes"
11347 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11349 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" |
$as_tr_sh`
11350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11351 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11352 if eval test \${$as_ac_var+y}
11354 printf %s "(cached) " >&6
11356 ac_wine_try_cflags_saved=$CFLAGS
11357 ac_wine_try_cflags_saved_exeext=$ac_exeext
11358 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wformat-overflow"
11360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11361 /* end confdefs.h. */
11362 int __cdecl mainCRTStartup(void) { return 0; }
11364 if ac_fn_c_try_link "$LINENO"
11366 eval "$as_ac_var=yes"
11368 eval "$as_ac_var=no"
11370 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11371 conftest$ac_exeext conftest.$ac_ext
11372 CFLAGS=$ac_wine_try_cflags_saved
11373 ac_exeext=$ac_wine_try_cflags_saved_exeext
11375 eval ac_res=\$$as_ac_var
11376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11377 printf "%s\n" "$ac_res" >&6; }
11378 if eval test \"x\$"$as_ac_var"\" = x"yes"
11380 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11382 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" |
$as_tr_sh`
11383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11384 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11385 if eval test \${$as_ac_var+y}
11387 printf %s "(cached) " >&6
11389 ac_wine_try_cflags_saved=$CFLAGS
11390 ac_wine_try_cflags_saved_exeext=$ac_exeext
11391 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wnonnull"
11393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11394 /* end confdefs.h. */
11395 int __cdecl mainCRTStartup(void) { return 0; }
11397 if ac_fn_c_try_link "$LINENO"
11399 eval "$as_ac_var=yes"
11401 eval "$as_ac_var=no"
11403 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11404 conftest$ac_exeext conftest.$ac_ext
11405 CFLAGS=$ac_wine_try_cflags_saved
11406 ac_exeext=$ac_wine_try_cflags_saved_exeext
11408 eval ac_res=\$$as_ac_var
11409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11410 printf "%s\n" "$ac_res" >&6; }
11411 if eval test \"x\$"$as_ac_var"\" = x"yes"
11413 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11415 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" |
$as_tr_sh`
11416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11417 printf %s "checking whether $CC supports -mcx16... " >&6; }
11418 if eval test \${$as_ac_var+y}
11420 printf %s "(cached) " >&6
11422 ac_wine_try_cflags_saved=$CFLAGS
11423 ac_wine_try_cflags_saved_exeext=$ac_exeext
11424 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcx16"
11426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11427 /* end confdefs.h. */
11428 int __cdecl mainCRTStartup(void) { return 0; }
11430 if ac_fn_c_try_link "$LINENO"
11432 eval "$as_ac_var=yes"
11434 eval "$as_ac_var=no"
11436 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11437 conftest$ac_exeext conftest.$ac_ext
11438 CFLAGS=$ac_wine_try_cflags_saved
11439 ac_exeext=$ac_wine_try_cflags_saved_exeext
11441 eval ac_res=\$$as_ac_var
11442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11443 printf "%s\n" "$ac_res" >&6; }
11444 if eval test \"x\$"$as_ac_var"\" = x"yes"
11446 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11448 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcmodel=small" |
$as_tr_sh`
11449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcmodel=small" >&5
11450 printf %s "checking whether $CC supports -mcmodel=small... " >&6; }
11451 if eval test \${$as_ac_var+y}
11453 printf %s "(cached) " >&6
11455 ac_wine_try_cflags_saved=$CFLAGS
11456 ac_wine_try_cflags_saved_exeext=$ac_exeext
11457 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcmodel=small"
11459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11460 /* end confdefs.h. */
11461 int __cdecl mainCRTStartup(void) { return 0; }
11463 if ac_fn_c_try_link "$LINENO"
11465 eval "$as_ac_var=yes"
11467 eval "$as_ac_var=no"
11469 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11470 conftest$ac_exeext conftest.$ac_ext
11471 CFLAGS=$ac_wine_try_cflags_saved
11472 ac_exeext=$ac_wine_try_cflags_saved_exeext
11474 eval ac_res=\$$as_ac_var
11475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11476 printf "%s\n" "$ac_res" >&6; }
11477 if eval test \"x\$"$as_ac_var"\" = x"yes"
11479 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcmodel=small"
11483 wine_crossdebug=$CROSSDEBUG
11484 if test -z "$wine_crossdebug"
11486 for ac_flag in $CFLAGS; do
11488 -gdwarf*) wine_crossdebug=dwarf ;;
11489 -gcodeview) wine_crossdebug=pdb ;;
11490 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11495 ac_debug_format_seen=""
11496 for ac_flag in $CFLAGS; do
11498 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11501 if test "x$ac_debug_format_seen" = x
11503 case $wine_crossdebug in
11504 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" |
$as_tr_sh`
11505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11506 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11507 if eval test \${$as_ac_var+y}
11509 printf %s "(cached) " >&6
11511 ac_wine_try_cflags_saved=$CFLAGS
11512 ac_wine_try_cflags_saved_exeext=$ac_exeext
11513 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gdwarf-4"
11515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11516 /* end confdefs.h. */
11517 int __cdecl mainCRTStartup(void) { return 0; }
11519 if ac_fn_c_try_link "$LINENO"
11521 eval "$as_ac_var=yes"
11523 eval "$as_ac_var=no"
11525 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11526 conftest$ac_exeext conftest.$ac_ext
11527 CFLAGS=$ac_wine_try_cflags_saved
11528 ac_exeext=$ac_wine_try_cflags_saved_exeext
11530 eval ac_res=\$$as_ac_var
11531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11532 printf "%s\n" "$ac_res" >&6; }
11533 if eval test \"x\$"$as_ac_var"\" = x"yes"
11535 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11537 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" |
$as_tr_sh`
11538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11539 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11540 if eval test \${$as_ac_var+y}
11542 printf %s "(cached) " >&6
11544 ac_wine_try_cflags_saved=$CFLAGS
11545 ac_wine_try_cflags_saved_exeext=$ac_exeext
11546 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gcodeview"
11548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11549 /* end confdefs.h. */
11550 int __cdecl mainCRTStartup(void) { return 0; }
11552 if ac_fn_c_try_link "$LINENO"
11554 eval "$as_ac_var=yes"
11556 eval "$as_ac_var=no"
11558 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11559 conftest$ac_exeext conftest.$ac_ext
11560 CFLAGS=$ac_wine_try_cflags_saved
11561 ac_exeext=$ac_wine_try_cflags_saved_exeext
11563 eval ac_res=\$$as_ac_var
11564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11565 printf "%s\n" "$ac_res" >&6; }
11566 if eval test \"x\$"$as_ac_var"\" = x"yes"
11568 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11572 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11574 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" |
$as_tr_sh`
11575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11576 printf %s "checking whether $CC supports -Werror... " >&6; }
11577 if eval test \${$as_ac_var+y}
11579 printf %s "(cached) " >&6
11581 ac_wine_try_cflags_saved=$CFLAGS
11582 ac_wine_try_cflags_saved_exeext=$ac_exeext
11583 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror"
11585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11586 /* end confdefs.h. */
11587 int __cdecl mainCRTStartup(void) { return 0; }
11589 if ac_fn_c_try_link "$LINENO"
11591 eval "$as_ac_var=yes"
11593 eval "$as_ac_var=no"
11595 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11596 conftest$ac_exeext conftest.$ac_ext
11597 CFLAGS=$ac_wine_try_cflags_saved
11598 ac_exeext=$ac_wine_try_cflags_saved_exeext
11600 eval ac_res=\$$as_ac_var
11601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11602 printf "%s\n" "$ac_res" >&6; }
11603 if eval test \"x\$"$as_ac_var"\" = x"yes"
11605 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11607 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" |
$as_tr_sh`
11608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11609 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11610 if eval test \${$as_ac_var+y}
11612 printf %s "(cached) " >&6
11614 ac_wine_try_cflags_saved=$CFLAGS
11615 ac_wine_try_cflags_saved_exeext=$ac_exeext
11616 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--build-id"
11618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11619 /* end confdefs.h. */
11620 int __cdecl mainCRTStartup(void) { return 0; }
11622 if ac_fn_c_try_link "$LINENO"
11624 eval "$as_ac_var=yes"
11626 eval "$as_ac_var=no"
11628 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11629 conftest$ac_exeext conftest.$ac_ext
11630 CFLAGS=$ac_wine_try_cflags_saved
11631 ac_exeext=$ac_wine_try_cflags_saved_exeext
11633 eval ac_res=\$$as_ac_var
11634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11635 printf "%s\n" "$ac_res" >&6; }
11636 if eval test \"x\$"$as_ac_var"\" = x"yes"
11638 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
11639 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
11643 CFLAGS=$saved_CFLAGS
11644 LDFLAGS=$saved_LDFLAGS
11647 if test $HOST_ARCH = aarch64
11649 test "x$PE_ARCHS" != x || as_fn_error $? "PE cross-compilation is required for ARM64, please install clang/llvm-dlltool/lld, or llvm-mingw." "$LINENO" 5
11652 if test "x$PE_ARCHS" = "x"
11654 case "x$with_mingw" in
11655 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
11657 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
11658 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
11665 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
11667 case "$host_cpu" in
11669 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11671 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11673 for ac_prog in $ac_prefix_list
11675 # Extract the first word of "$ac_prog", so it can be a program name with args.
11676 set dummy $ac_prog; ac_word=$2
11677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11678 printf %s "checking for $ac_word... " >&6; }
11679 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11681 printf %s "(cached) " >&6
11683 if test -n "$MINGW_PKG_CONFIG"; then
11684 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11687 for as_dir in $PATH
11690 case $as_dir in #(((
11693 *) as_dir=$as_dir/ ;;
11695 for ac_exec_ext in '' $ac_executable_extensions; do
11696 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11697 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11698 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11707 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11708 if test -n "$MINGW_PKG_CONFIG"; then
11709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11710 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
11712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11713 printf "%s\n" "no" >&6; }
11717 test -n "$MINGW_PKG_CONFIG" && break
11719 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
11721 if ${FAUDIO_PE_CFLAGS:+false} :
11723 if test ${MINGW_PKG_CONFIG+y}
11725 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio
2>/dev
/null
`
11728 if ${FAUDIO_PE_LIBS:+false} :
11730 if test ${MINGW_PKG_CONFIG+y}
11732 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio
2>/dev
/null
`
11735 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
11736 ac_save_CPPFLAGS=$CPPFLAGS
11737 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
11738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
11739 printf %s "checking for MinGW FAudio.h... " >&6; }
11740 if test ${ac_cv_mingw_header_FAudio_h+y}
11742 printf %s "(cached) " >&6
11744 ac_wine_check_headers_saved_cc=$CC
11745 ac_wine_check_headers_saved_exeext=$ac_exeext
11746 eval CC=\$${wine_arch}_CC
11748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11749 /* end confdefs.h. */
11751 #include <FAudio.h>
11760 if ac_fn_c_try_compile "$LINENO"
11762 ac_cv_mingw_header_FAudio_h=yes
11764 ac_cv_mingw_header_FAudio_h=no
11766 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11767 CC=$ac_wine_check_headers_saved_cc
11768 ac_exeext=$ac_wine_check_headers_saved_exeext
11770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
11771 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
11772 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
11774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
11775 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
11776 if test ${ac_cv_mingw_lib_FAudio+y}
11778 printf %s "(cached) " >&6
11780 ac_wine_check_headers_saved_cc=$CC
11781 ac_wine_check_headers_saved_exeext=$ac_exeext
11782 ac_wine_check_headers_saved_libs=$LIBS
11783 eval CC=\$${wine_arch}_CC
11785 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
11786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11787 /* end confdefs.h. */
11789 /* Override any GCC internal prototype to avoid an error.
11790 Use char because int might match the return type of a GCC
11791 builtin and then its argument prototype would still apply. */
11792 char FAudio_CommitOperationSet ();
11796 return FAudio_CommitOperationSet ();
11801 if ac_fn_c_try_link "$LINENO"
11803 ac_cv_mingw_lib_FAudio=yes
11805 ac_cv_mingw_lib_FAudio=no
11807 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11808 conftest$ac_exeext conftest.$ac_ext
11809 CC=$ac_wine_check_headers_saved_cc
11810 ac_exeext=$ac_wine_check_headers_saved_exeext
11811 LIBS=$ac_wine_check_headers_saved_libs
11813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
11814 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
11815 if test "x$ac_cv_mingw_lib_FAudio" = xyes
11819 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11822 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11824 CPPFLAGS=$ac_save_CPPFLAGS
11826 if test "x$FAUDIO_PE_LIBS" = "x"
11828 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
11831 if ${JPEG_PE_CFLAGS:+false} :
11833 if test ${MINGW_PKG_CONFIG+y}
11835 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg
2>/dev
/null
`
11838 if ${JPEG_PE_LIBS:+false} :
11840 if test ${MINGW_PKG_CONFIG+y}
11842 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg
2>/dev
/null
`
11846 ac_save_CPPFLAGS=$CPPFLAGS
11847 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
11848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
11849 printf %s "checking for MinGW jpeglib.h... " >&6; }
11850 if test ${ac_cv_mingw_header_jpeglib_h+y}
11852 printf %s "(cached) " >&6
11854 ac_wine_check_headers_saved_cc=$CC
11855 ac_wine_check_headers_saved_exeext=$ac_exeext
11856 eval CC=\$${wine_arch}_CC
11858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11859 /* end confdefs.h. */
11860 #include <stddef.h>
11862 #include <jpeglib.h>
11871 if ac_fn_c_try_compile "$LINENO"
11873 ac_cv_mingw_header_jpeglib_h=yes
11875 ac_cv_mingw_header_jpeglib_h=no
11877 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11878 CC=$ac_wine_check_headers_saved_cc
11879 ac_exeext=$ac_wine_check_headers_saved_exeext
11881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
11882 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
11883 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
11885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
11886 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
11887 if test ${ac_cv_mingw_lib_jpeg+y}
11889 printf %s "(cached) " >&6
11891 ac_wine_check_headers_saved_cc=$CC
11892 ac_wine_check_headers_saved_exeext=$ac_exeext
11893 ac_wine_check_headers_saved_libs=$LIBS
11894 eval CC=\$${wine_arch}_CC
11896 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
11897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11898 /* end confdefs.h. */
11900 /* Override any GCC internal prototype to avoid an error.
11901 Use char because int might match the return type of a GCC
11902 builtin and then its argument prototype would still apply. */
11903 char jpeg_start_decompress ();
11907 return jpeg_start_decompress ();
11912 if ac_fn_c_try_link "$LINENO"
11914 ac_cv_mingw_lib_jpeg=yes
11916 ac_cv_mingw_lib_jpeg=no
11918 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11919 conftest$ac_exeext conftest.$ac_ext
11920 CC=$ac_wine_check_headers_saved_cc
11921 ac_exeext=$ac_wine_check_headers_saved_exeext
11922 LIBS=$ac_wine_check_headers_saved_libs
11924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
11925 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
11926 if test "x$ac_cv_mingw_lib_jpeg" = xyes
11930 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
11933 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
11935 CPPFLAGS=$ac_save_CPPFLAGS
11937 if test "x$JPEG_PE_LIBS" = "x"
11939 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
11942 if ${LCMS2_PE_CFLAGS:+false} :
11944 if test ${MINGW_PKG_CONFIG+y}
11946 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2
2>/dev
/null
`
11949 if ${LCMS2_PE_LIBS:+false} :
11951 if test ${MINGW_PKG_CONFIG+y}
11953 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2
2>/dev
/null
`
11956 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
11957 ac_save_CPPFLAGS=$CPPFLAGS
11958 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
11959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
11960 printf %s "checking for MinGW lcms2.h... " >&6; }
11961 if test ${ac_cv_mingw_header_lcms2_h+y}
11963 printf %s "(cached) " >&6
11965 ac_wine_check_headers_saved_cc=$CC
11966 ac_wine_check_headers_saved_exeext=$ac_exeext
11967 eval CC=\$${wine_arch}_CC
11969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11970 /* end confdefs.h. */
11981 if ac_fn_c_try_compile "$LINENO"
11983 ac_cv_mingw_header_lcms2_h=yes
11985 ac_cv_mingw_header_lcms2_h=no
11987 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11988 CC=$ac_wine_check_headers_saved_cc
11989 ac_exeext=$ac_wine_check_headers_saved_exeext
11991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
11992 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
11993 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
11995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
11996 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
11997 if test ${ac_cv_mingw_lib_lcms2+y}
11999 printf %s "(cached) " >&6
12001 ac_wine_check_headers_saved_cc=$CC
12002 ac_wine_check_headers_saved_exeext=$ac_exeext
12003 ac_wine_check_headers_saved_libs=$LIBS
12004 eval CC=\$${wine_arch}_CC
12006 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12008 /* end confdefs.h. */
12010 /* Override any GCC internal prototype to avoid an error.
12011 Use char because int might match the return type of a GCC
12012 builtin and then its argument prototype would still apply. */
12013 char cmsOpenProfileFromFile ();
12017 return cmsOpenProfileFromFile ();
12022 if ac_fn_c_try_link "$LINENO"
12024 ac_cv_mingw_lib_lcms2=yes
12026 ac_cv_mingw_lib_lcms2=no
12028 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12029 conftest$ac_exeext conftest.$ac_ext
12030 CC=$ac_wine_check_headers_saved_cc
12031 ac_exeext=$ac_wine_check_headers_saved_exeext
12032 LIBS=$ac_wine_check_headers_saved_libs
12034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12035 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12036 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12040 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12043 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12045 CPPFLAGS=$ac_save_CPPFLAGS
12047 if test "x$LCMS2_PE_LIBS" = "x"
12049 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12052 if ${MPG123_PE_CFLAGS:+false} :
12054 if test ${MINGW_PKG_CONFIG+y}
12056 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123
2>/dev
/null
`
12059 if ${MPG123_PE_LIBS:+false} :
12061 if test ${MINGW_PKG_CONFIG+y}
12063 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123
2>/dev
/null
`
12066 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12067 ac_save_CPPFLAGS=$CPPFLAGS
12068 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12070 printf %s "checking for MinGW mpg123.h... " >&6; }
12071 if test ${ac_cv_mingw_header_mpg123_h+y}
12073 printf %s "(cached) " >&6
12075 ac_wine_check_headers_saved_cc=$CC
12076 ac_wine_check_headers_saved_exeext=$ac_exeext
12077 eval CC=\$${wine_arch}_CC
12079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12080 /* end confdefs.h. */
12082 #include <mpg123.h>
12091 if ac_fn_c_try_compile "$LINENO"
12093 ac_cv_mingw_header_mpg123_h=yes
12095 ac_cv_mingw_header_mpg123_h=no
12097 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12098 CC=$ac_wine_check_headers_saved_cc
12099 ac_exeext=$ac_wine_check_headers_saved_exeext
12101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12102 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12103 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12106 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12107 if test ${ac_cv_mingw_lib_mpg123+y}
12109 printf %s "(cached) " >&6
12111 ac_wine_check_headers_saved_cc=$CC
12112 ac_wine_check_headers_saved_exeext=$ac_exeext
12113 ac_wine_check_headers_saved_libs=$LIBS
12114 eval CC=\$${wine_arch}_CC
12116 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12118 /* end confdefs.h. */
12120 /* Override any GCC internal prototype to avoid an error.
12121 Use char because int might match the return type of a GCC
12122 builtin and then its argument prototype would still apply. */
12123 char mpg123_feed ();
12127 return mpg123_feed ();
12132 if ac_fn_c_try_link "$LINENO"
12134 ac_cv_mingw_lib_mpg123=yes
12136 ac_cv_mingw_lib_mpg123=no
12138 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12139 conftest$ac_exeext conftest.$ac_ext
12140 CC=$ac_wine_check_headers_saved_cc
12141 ac_exeext=$ac_wine_check_headers_saved_exeext
12142 LIBS=$ac_wine_check_headers_saved_libs
12144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12145 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12146 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12150 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12153 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12155 CPPFLAGS=$ac_save_CPPFLAGS
12157 if test "x$MPG123_PE_LIBS" = "x"
12159 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12162 if ${PNG_PE_CFLAGS:+false} :
12164 if test ${MINGW_PKG_CONFIG+y}
12166 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng
2>/dev
/null
`
12169 if ${PNG_PE_LIBS:+false} :
12171 if test ${MINGW_PKG_CONFIG+y}
12173 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng
2>/dev
/null
`
12177 ac_save_CPPFLAGS=$CPPFLAGS
12178 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12180 printf %s "checking for MinGW png.h... " >&6; }
12181 if test ${ac_cv_mingw_header_png_h+y}
12183 printf %s "(cached) " >&6
12185 ac_wine_check_headers_saved_cc=$CC
12186 ac_wine_check_headers_saved_exeext=$ac_exeext
12187 eval CC=\$${wine_arch}_CC
12189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12190 /* end confdefs.h. */
12201 if ac_fn_c_try_compile "$LINENO"
12203 ac_cv_mingw_header_png_h=yes
12205 ac_cv_mingw_header_png_h=no
12207 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12208 CC=$ac_wine_check_headers_saved_cc
12209 ac_exeext=$ac_wine_check_headers_saved_exeext
12211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12212 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12213 if test "x$ac_cv_mingw_header_png_h" = xyes
12215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12216 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12217 if test ${ac_cv_mingw_lib_png+y}
12219 printf %s "(cached) " >&6
12221 ac_wine_check_headers_saved_cc=$CC
12222 ac_wine_check_headers_saved_exeext=$ac_exeext
12223 ac_wine_check_headers_saved_libs=$LIBS
12224 eval CC=\$${wine_arch}_CC
12226 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12228 /* end confdefs.h. */
12230 /* Override any GCC internal prototype to avoid an error.
12231 Use char because int might match the return type of a GCC
12232 builtin and then its argument prototype would still apply. */
12233 char png_create_read_struct ();
12237 return png_create_read_struct ();
12242 if ac_fn_c_try_link "$LINENO"
12244 ac_cv_mingw_lib_png=yes
12246 ac_cv_mingw_lib_png=no
12248 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12249 conftest$ac_exeext conftest.$ac_ext
12250 CC=$ac_wine_check_headers_saved_cc
12251 ac_exeext=$ac_wine_check_headers_saved_exeext
12252 LIBS=$ac_wine_check_headers_saved_libs
12254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12255 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12256 if test "x$ac_cv_mingw_lib_png" = xyes
12260 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12263 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12265 CPPFLAGS=$ac_save_CPPFLAGS
12267 if test "x$PNG_PE_LIBS" = "x"
12269 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12272 if ${TIFF_PE_CFLAGS:+false} :
12274 if test ${MINGW_PKG_CONFIG+y}
12276 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4
2>/dev
/null
`
12279 if ${TIFF_PE_LIBS:+false} :
12281 if test ${MINGW_PKG_CONFIG+y}
12283 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4
2>/dev
/null
`
12287 ac_save_CPPFLAGS=$CPPFLAGS
12288 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12290 printf %s "checking for MinGW tiffio.h... " >&6; }
12291 if test ${ac_cv_mingw_header_tiffio_h+y}
12293 printf %s "(cached) " >&6
12295 ac_wine_check_headers_saved_cc=$CC
12296 ac_wine_check_headers_saved_exeext=$ac_exeext
12297 eval CC=\$${wine_arch}_CC
12299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12300 /* end confdefs.h. */
12302 #include <tiffio.h>
12311 if ac_fn_c_try_compile "$LINENO"
12313 ac_cv_mingw_header_tiffio_h=yes
12315 ac_cv_mingw_header_tiffio_h=no
12317 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12318 CC=$ac_wine_check_headers_saved_cc
12319 ac_exeext=$ac_wine_check_headers_saved_exeext
12321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12322 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12323 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12326 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12327 if test ${ac_cv_mingw_lib_tiff+y}
12329 printf %s "(cached) " >&6
12331 ac_wine_check_headers_saved_cc=$CC
12332 ac_wine_check_headers_saved_exeext=$ac_exeext
12333 ac_wine_check_headers_saved_libs=$LIBS
12334 eval CC=\$${wine_arch}_CC
12336 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12338 /* end confdefs.h. */
12340 /* Override any GCC internal prototype to avoid an error.
12341 Use char because int might match the return type of a GCC
12342 builtin and then its argument prototype would still apply. */
12343 char TIFFClientOpen ();
12347 return TIFFClientOpen ();
12352 if ac_fn_c_try_link "$LINENO"
12354 ac_cv_mingw_lib_tiff=yes
12356 ac_cv_mingw_lib_tiff=no
12358 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12359 conftest$ac_exeext conftest.$ac_ext
12360 CC=$ac_wine_check_headers_saved_cc
12361 ac_exeext=$ac_wine_check_headers_saved_exeext
12362 LIBS=$ac_wine_check_headers_saved_libs
12364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12365 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12366 if test "x$ac_cv_mingw_lib_tiff" = xyes
12370 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12373 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12375 CPPFLAGS=$ac_save_CPPFLAGS
12377 if test "x$TIFF_PE_LIBS" = "x"
12379 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12382 if ${XML2_PE_CFLAGS:+false} :
12384 if test ${MINGW_PKG_CONFIG+y}
12386 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0
2>/dev
/null
`
12389 if ${XML2_PE_LIBS:+false} :
12391 if test ${MINGW_PKG_CONFIG+y}
12393 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0
2>/dev
/null
`
12396 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12397 ac_save_CPPFLAGS=$CPPFLAGS
12398 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12400 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12401 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12403 printf %s "(cached) " >&6
12405 ac_wine_check_headers_saved_cc=$CC
12406 ac_wine_check_headers_saved_exeext=$ac_exeext
12407 eval CC=\$${wine_arch}_CC
12409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12410 /* end confdefs.h. */
12412 #include <libxml/parser.h>
12421 if ac_fn_c_try_compile "$LINENO"
12423 ac_cv_mingw_header_libxml_parser_h=yes
12425 ac_cv_mingw_header_libxml_parser_h=no
12427 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12428 CC=$ac_wine_check_headers_saved_cc
12429 ac_exeext=$ac_wine_check_headers_saved_exeext
12431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12432 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12433 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12438 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12439 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12441 printf %s "(cached) " >&6
12443 ac_wine_check_headers_saved_cc=$CC
12444 ac_wine_check_headers_saved_exeext=$ac_exeext
12445 eval CC=\$${wine_arch}_CC
12447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12448 /* end confdefs.h. */
12450 #include <libxml/xmlsave.h>
12459 if ac_fn_c_try_compile "$LINENO"
12461 ac_cv_mingw_header_libxml_xmlsave_h=yes
12463 ac_cv_mingw_header_libxml_xmlsave_h=no
12465 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12466 CC=$ac_wine_check_headers_saved_cc
12467 ac_exeext=$ac_wine_check_headers_saved_exeext
12469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12470 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12471 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12476 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12477 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12479 printf %s "(cached) " >&6
12481 ac_wine_check_headers_saved_cc=$CC
12482 ac_wine_check_headers_saved_exeext=$ac_exeext
12483 eval CC=\$${wine_arch}_CC
12485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12486 /* end confdefs.h. */
12488 #include <libxml/SAX2.h>
12497 if ac_fn_c_try_compile "$LINENO"
12499 ac_cv_mingw_header_libxml_SAX2_h=yes
12501 ac_cv_mingw_header_libxml_SAX2_h=no
12503 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12504 CC=$ac_wine_check_headers_saved_cc
12505 ac_exeext=$ac_wine_check_headers_saved_exeext
12507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12508 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12509 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12513 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"
12515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12516 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12517 if test ${ac_cv_mingw_lib_xml2+y}
12519 printf %s "(cached) " >&6
12521 ac_wine_check_headers_saved_cc=$CC
12522 ac_wine_check_headers_saved_exeext=$ac_exeext
12523 ac_wine_check_headers_saved_libs=$LIBS
12524 eval CC=\$${wine_arch}_CC
12526 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12528 /* end confdefs.h. */
12530 /* Override any GCC internal prototype to avoid an error.
12531 Use char because int might match the return type of a GCC
12532 builtin and then its argument prototype would still apply. */
12533 char xmlFirstElementChild ();
12537 return xmlFirstElementChild ();
12542 if ac_fn_c_try_link "$LINENO"
12544 ac_cv_mingw_lib_xml2=yes
12546 ac_cv_mingw_lib_xml2=no
12548 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12549 conftest$ac_exeext conftest.$ac_ext
12550 CC=$ac_wine_check_headers_saved_cc
12551 ac_exeext=$ac_wine_check_headers_saved_exeext
12552 LIBS=$ac_wine_check_headers_saved_libs
12554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12555 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12556 if test "x$ac_cv_mingw_lib_xml2" = xyes
12560 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12566 CPPFLAGS=$ac_save_CPPFLAGS
12568 if test "x$XML2_PE_LIBS" = "x"
12570 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12573 if ${XSLT_PE_CFLAGS:+false} :
12575 if test ${MINGW_PKG_CONFIG+y}
12577 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt
2>/dev
/null
`
12580 if ${XSLT_PE_LIBS:+false} :
12582 if test ${MINGW_PKG_CONFIG+y}
12584 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt
2>/dev
/null
`
12587 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12588 ac_save_CPPFLAGS=$CPPFLAGS
12589 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12591 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12592 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12594 printf %s "(cached) " >&6
12596 ac_wine_check_headers_saved_cc=$CC
12597 ac_wine_check_headers_saved_exeext=$ac_exeext
12598 eval CC=\$${wine_arch}_CC
12600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12601 /* end confdefs.h. */
12603 #include <libxslt/pattern.h>
12612 if ac_fn_c_try_compile "$LINENO"
12614 ac_cv_mingw_header_libxslt_pattern_h=yes
12616 ac_cv_mingw_header_libxslt_pattern_h=no
12618 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12619 CC=$ac_wine_check_headers_saved_cc
12620 ac_exeext=$ac_wine_check_headers_saved_exeext
12622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12623 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12624 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12629 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12630 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12632 printf %s "(cached) " >&6
12634 ac_wine_check_headers_saved_cc=$CC
12635 ac_wine_check_headers_saved_exeext=$ac_exeext
12636 eval CC=\$${wine_arch}_CC
12638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12639 /* end confdefs.h. */
12641 #include <libxslt/transform.h>
12650 if ac_fn_c_try_compile "$LINENO"
12652 ac_cv_mingw_header_libxslt_transform_h=yes
12654 ac_cv_mingw_header_libxslt_transform_h=no
12656 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12657 CC=$ac_wine_check_headers_saved_cc
12658 ac_exeext=$ac_wine_check_headers_saved_exeext
12660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12661 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12662 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12666 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12669 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12670 if test ${ac_cv_mingw_lib_xslt+y}
12672 printf %s "(cached) " >&6
12674 ac_wine_check_headers_saved_cc=$CC
12675 ac_wine_check_headers_saved_exeext=$ac_exeext
12676 ac_wine_check_headers_saved_libs=$LIBS
12677 eval CC=\$${wine_arch}_CC
12679 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12681 /* end confdefs.h. */
12683 /* Override any GCC internal prototype to avoid an error.
12684 Use char because int might match the return type of a GCC
12685 builtin and then its argument prototype would still apply. */
12686 char xsltCompilePattern ();
12690 return xsltCompilePattern ();
12695 if ac_fn_c_try_link "$LINENO"
12697 ac_cv_mingw_lib_xslt=yes
12699 ac_cv_mingw_lib_xslt=no
12701 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12702 conftest$ac_exeext conftest.$ac_ext
12703 CC=$ac_wine_check_headers_saved_cc
12704 ac_exeext=$ac_wine_check_headers_saved_exeext
12705 LIBS=$ac_wine_check_headers_saved_libs
12707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12708 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12709 if test "x$ac_cv_mingw_lib_xslt" = xyes
12713 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
12719 CPPFLAGS=$ac_save_CPPFLAGS
12721 if test "x$XSLT_PE_LIBS" = "x"
12723 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
12726 if ${VKD3D_PE_CFLAGS:+false} :
12728 if test ${MINGW_PKG_CONFIG+y}
12730 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader
2>/dev
/null
`
12733 if ${VKD3D_PE_LIBS:+false} :
12735 if test ${MINGW_PKG_CONFIG+y}
12737 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader
2>/dev
/null
`
12740 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
12741 ac_save_CPPFLAGS=$CPPFLAGS
12742 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
12743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
12744 printf %s "checking for MinGW vkd3d.h... " >&6; }
12745 if test ${ac_cv_mingw_header_vkd3d_h+y}
12747 printf %s "(cached) " >&6
12749 ac_wine_check_headers_saved_cc=$CC
12750 ac_wine_check_headers_saved_exeext=$ac_exeext
12751 eval CC=\$${wine_arch}_CC
12753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12754 /* end confdefs.h. */
12765 if ac_fn_c_try_compile "$LINENO"
12767 ac_cv_mingw_header_vkd3d_h=yes
12769 ac_cv_mingw_header_vkd3d_h=no
12771 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12772 CC=$ac_wine_check_headers_saved_cc
12773 ac_exeext=$ac_wine_check_headers_saved_exeext
12775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
12776 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
12777 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
12781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
12782 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
12783 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
12785 printf %s "(cached) " >&6
12787 ac_wine_check_headers_saved_cc=$CC
12788 ac_wine_check_headers_saved_exeext=$ac_exeext
12789 eval CC=\$${wine_arch}_CC
12791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12792 /* end confdefs.h. */
12794 #include <vkd3d_shader.h>
12803 if ac_fn_c_try_compile "$LINENO"
12805 ac_cv_mingw_header_vkd3d_shader_h=yes
12807 ac_cv_mingw_header_vkd3d_shader_h=no
12809 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12810 CC=$ac_wine_check_headers_saved_cc
12811 ac_exeext=$ac_wine_check_headers_saved_exeext
12813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
12814 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
12815 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
12819 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
12821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
12822 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
12823 if test ${ac_cv_mingw_lib_vkd3d+y}
12825 printf %s "(cached) " >&6
12827 ac_wine_check_headers_saved_cc=$CC
12828 ac_wine_check_headers_saved_exeext=$ac_exeext
12829 ac_wine_check_headers_saved_libs=$LIBS
12830 eval CC=\$${wine_arch}_CC
12832 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
12833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12834 /* end confdefs.h. */
12836 /* Override any GCC internal prototype to avoid an error.
12837 Use char because int might match the return type of a GCC
12838 builtin and then its argument prototype would still apply. */
12839 char vkd3d_set_log_callback ();
12843 return vkd3d_set_log_callback ();
12848 if ac_fn_c_try_link "$LINENO"
12850 ac_cv_mingw_lib_vkd3d=yes
12852 ac_cv_mingw_lib_vkd3d=no
12854 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12855 conftest$ac_exeext conftest.$ac_ext
12856 CC=$ac_wine_check_headers_saved_cc
12857 ac_exeext=$ac_wine_check_headers_saved_exeext
12858 LIBS=$ac_wine_check_headers_saved_libs
12860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
12861 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
12862 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
12868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_serialize_dxbc in MinGW -lvkd3d-shader" >&5
12869 printf %s "checking for vkd3d_shader_serialize_dxbc in MinGW -lvkd3d-shader... " >&6; }
12870 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
12872 printf %s "(cached) " >&6
12874 ac_wine_check_headers_saved_cc=$CC
12875 ac_wine_check_headers_saved_exeext=$ac_exeext
12876 ac_wine_check_headers_saved_libs=$LIBS
12877 eval CC=\$${wine_arch}_CC
12879 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
12880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12881 /* end confdefs.h. */
12883 /* Override any GCC internal prototype to avoid an error.
12884 Use char because int might match the return type of a GCC
12885 builtin and then its argument prototype would still apply. */
12886 char vkd3d_shader_serialize_dxbc ();
12890 return vkd3d_shader_serialize_dxbc ();
12895 if ac_fn_c_try_link "$LINENO"
12897 ac_cv_mingw_lib_vkd3d_shader=yes
12899 ac_cv_mingw_lib_vkd3d_shader=no
12901 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12902 conftest$ac_exeext conftest.$ac_ext
12903 CC=$ac_wine_check_headers_saved_cc
12904 ac_exeext=$ac_wine_check_headers_saved_exeext
12905 LIBS=$ac_wine_check_headers_saved_libs
12907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
12908 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
12909 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
12915 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
12924 CPPFLAGS=$ac_save_CPPFLAGS
12926 if test "x$VKD3D_PE_LIBS" = "x"
12928 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
12931 if ${ZLIB_PE_CFLAGS:+false} :
12933 if test ${MINGW_PKG_CONFIG+y}
12935 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib
2>/dev
/null
`
12938 if ${ZLIB_PE_LIBS:+false} :
12940 if test ${MINGW_PKG_CONFIG+y}
12942 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib
2>/dev
/null
`
12945 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
12946 ac_save_CPPFLAGS=$CPPFLAGS
12947 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
12948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
12949 printf %s "checking for MinGW zlib.h... " >&6; }
12950 if test ${ac_cv_mingw_header_zlib_h+y}
12952 printf %s "(cached) " >&6
12954 ac_wine_check_headers_saved_cc=$CC
12955 ac_wine_check_headers_saved_exeext=$ac_exeext
12956 eval CC=\$${wine_arch}_CC
12958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12959 /* end confdefs.h. */
12970 if ac_fn_c_try_compile "$LINENO"
12972 ac_cv_mingw_header_zlib_h=yes
12974 ac_cv_mingw_header_zlib_h=no
12976 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12977 CC=$ac_wine_check_headers_saved_cc
12978 ac_exeext=$ac_wine_check_headers_saved_exeext
12980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
12981 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
12982 if test "x$ac_cv_mingw_header_zlib_h" = xyes
12984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
12985 printf %s "checking for inflate in MinGW -lz... " >&6; }
12986 if test ${ac_cv_mingw_lib_z+y}
12988 printf %s "(cached) " >&6
12990 ac_wine_check_headers_saved_cc=$CC
12991 ac_wine_check_headers_saved_exeext=$ac_exeext
12992 ac_wine_check_headers_saved_libs=$LIBS
12993 eval CC=\$${wine_arch}_CC
12995 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
12996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12997 /* end confdefs.h. */
12999 /* Override any GCC internal prototype to avoid an error.
13000 Use char because int might match the return type of a GCC
13001 builtin and then its argument prototype would still apply. */
13011 if ac_fn_c_try_link "$LINENO"
13013 ac_cv_mingw_lib_z=yes
13015 ac_cv_mingw_lib_z=no
13017 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13018 conftest$ac_exeext conftest.$ac_ext
13019 CC=$ac_wine_check_headers_saved_cc
13020 ac_exeext=$ac_wine_check_headers_saved_exeext
13021 LIBS=$ac_wine_check_headers_saved_libs
13023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13024 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13025 if test "x$ac_cv_mingw_lib_z" = xyes
13029 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13032 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13034 CPPFLAGS=$ac_save_CPPFLAGS
13036 if test "x$ZLIB_PE_LIBS" = "x"
13038 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13042 if ${FAUDIO_PE_LIBS:+false} :
13044 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13045 if ${FAUDIO_PE_CFLAGS:+false} :
13047 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13054 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13055 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13057 if ${GSM_PE_LIBS:+false} :
13060 if ${GSM_PE_CFLAGS:+false} :
13062 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13069 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13070 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13072 if ${JPEG_PE_LIBS:+false} :
13075 if ${JPEG_PE_CFLAGS:+false} :
13077 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13084 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13085 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13087 if ${JXR_PE_LIBS:+false} :
13090 if ${JXR_PE_CFLAGS:+false} :
13092 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13099 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13100 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13102 if ${LCMS2_PE_LIBS:+false} :
13104 LCMS2_PE_LIBS=lcms2
13105 if ${LCMS2_PE_CFLAGS:+false} :
13107 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13114 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13115 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13117 if ${LDAP_PE_LIBS:+false} :
13120 if ${LDAP_PE_CFLAGS:+false} :
13122 LDAP_PE_CFLAGS="-I\$(top_srcdir)/libs/ldap/include"
13129 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap cflags: $LDAP_PE_CFLAGS" >&5
13130 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap libs: $LDAP_PE_LIBS" >&5
13132 if ${MPG123_PE_LIBS:+false} :
13134 MPG123_PE_LIBS=mpg123
13135 if ${MPG123_PE_CFLAGS:+false} :
13137 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13144 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13145 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13147 if ${MUSL_PE_LIBS:+false} :
13150 if ${MUSL_PE_CFLAGS:+false} :
13159 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl cflags: $MUSL_PE_CFLAGS" >&5
13160 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl libs: $MUSL_PE_LIBS" >&5
13162 if ${PNG_PE_LIBS:+false} :
13164 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13165 if ${PNG_PE_CFLAGS:+false} :
13167 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13174 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13175 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13177 if ${TIFF_PE_LIBS:+false} :
13179 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13180 if ${TIFF_PE_CFLAGS:+false} :
13182 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13189 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13190 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13192 if ${VKD3D_PE_LIBS:+false} :
13194 VKD3D_PE_LIBS=vkd3d
13195 if ${VKD3D_PE_CFLAGS:+false} :
13197 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13204 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13205 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13207 if ${XML2_PE_LIBS:+false} :
13210 if ${XML2_PE_CFLAGS:+false} :
13212 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13219 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13220 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13222 if ${XSLT_PE_LIBS:+false} :
13225 if ${XSLT_PE_CFLAGS:+false} :
13227 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13234 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13235 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13237 if ${ZLIB_PE_LIBS:+false} :
13240 if ${ZLIB_PE_CFLAGS:+false} :
13242 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13249 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13250 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13252 if ${ZYDIS_PE_LIBS:+false} :
13254 ZYDIS_PE_LIBS=zydis
13255 if ${ZYDIS_PE_CFLAGS:+false} :
13257 ZYDIS_PE_CFLAGS="-I\$(top_srcdir)/libs/zydis/include"
13264 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis cflags: $ZYDIS_PE_CFLAGS" >&5
13265 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis libs: $ZYDIS_PE_LIBS" >&5
13269 if test "$ac_cv_header_pthread_h" = "yes"
13271 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13272 if test "x$ac_cv_func_pthread_create" = xyes
13276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13277 printf %s "checking for pthread_create in -lpthread... " >&6; }
13278 if test ${ac_cv_lib_pthread_pthread_create+y}
13280 printf %s "(cached) " >&6
13282 ac_check_lib_save_LIBS=$LIBS
13283 LIBS="-lpthread $LIBS"
13284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13285 /* end confdefs.h. */
13287 /* Override any GCC internal prototype to avoid an error.
13288 Use char because int might match the return type of a GCC
13289 builtin and then its argument prototype would still apply. */
13290 char pthread_create ();
13294 return pthread_create ();
13299 if ac_fn_c_try_link "$LINENO"
13301 ac_cv_lib_pthread_pthread_create=yes
13303 ac_cv_lib_pthread_pthread_create=no
13305 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13306 conftest$ac_exeext conftest.$ac_ext
13307 LIBS=$ac_check_lib_save_LIBS
13309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13310 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13311 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13313 PTHREAD_LIBS="-lpthread"
13320 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13322 case "x$with_pthread" in
13324 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13325 Wine cannot support threads without libpthread.
13326 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13333 ac_cpp='$CPP $CPPFLAGS'
13334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13338 printf %s "checking how to run the C preprocessor... " >&6; }
13339 # On Suns, sometimes $CPP names a directory.
13340 if test -n "$CPP" && test -d "$CPP"; then
13343 if test -z "$CPP"; then
13344 if test ${ac_cv_prog_CPP+y}
13346 printf %s "(cached) " >&6
13348 # Double quotes because $CC needs to be expanded
13349 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13351 ac_preproc_ok=false
13352 for ac_c_preproc_warn_flag in '' yes
13354 # Use a header file that comes with gcc, so configuring glibc
13355 # with a fresh cross-compiler works.
13356 # On the NeXT, cc -E runs the code through the compiler's parser,
13357 # not just through cpp. "Syntax error" is here to catch this case.
13358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13359 /* end confdefs.h. */
13360 #include <limits.h>
13363 if ac_fn_c_try_cpp "$LINENO"
13367 # Broken: fails on valid input.
13370 rm -f conftest.err conftest.i conftest.$ac_ext
13372 # OK, works on sane cases. Now check whether nonexistent headers
13373 # can be detected and how.
13374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13375 /* end confdefs.h. */
13376 #include <ac_nonexistent.h>
13378 if ac_fn_c_try_cpp "$LINENO"
13380 # Broken: success on invalid input.
13383 # Passes both tests.
13387 rm -f conftest.err conftest.i conftest.$ac_ext
13390 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13391 rm -f conftest.i conftest.err conftest.
$ac_ext
13398 ac_cv_prog_CPP
=$CPP
13401 CPP
=$ac_cv_prog_CPP
13403 ac_cv_prog_CPP
=$CPP
13405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13406 printf "%s\n" "$CPP" >&6; }
13407 ac_preproc_ok
=false
13408 for ac_c_preproc_warn_flag
in '' yes
13410 # Use a header file that comes with gcc, so configuring glibc
13411 # with a fresh cross-compiler works.
13412 # On the NeXT, cc -E runs the code through the compiler's parser,
13413 # not just through cpp. "Syntax error" is here to catch this case.
13414 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13415 /* end confdefs.h. */
13416 #include <limits.h>
13419 if ac_fn_c_try_cpp
"$LINENO"
13423 # Broken: fails on valid input.
13426 rm -f conftest.err conftest.i conftest.
$ac_ext
13428 # OK, works on sane cases. Now check whether nonexistent headers
13429 # can be detected and how.
13430 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13431 /* end confdefs.h. */
13432 #include <ac_nonexistent.h>
13434 if ac_fn_c_try_cpp
"$LINENO"
13436 # Broken: success on invalid input.
13439 # Passes both tests.
13443 rm -f conftest.err conftest.i conftest.
$ac_ext
13446 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13447 rm -f conftest.i conftest.err conftest.
$ac_ext
13452 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13453 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13454 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
13455 See \`config.log' for more details" "$LINENO" 5; }
13459 ac_cpp
='$CPP $CPPFLAGS'
13460 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13461 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13462 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13466 printf %s
"checking for X... " >&6; }
13469 # Check whether --with-x was given.
13470 if test ${with_x+y}
13475 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13476 if test "x$with_x" = xno
; then
13477 # The user explicitly disabled X.
13480 case $x_includes,$x_libraries in #(
13481 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
13482 *,NONE | NONE
,*) if test ${ac_cv_have_x+y}
13484 printf %s
"(cached) " >&6
13486 # One or both of the vars are not set, and there is no cached value.
13489 # Do we need to do anything special at all?
13492 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13493 /* end confdefs.h. */
13494 #include <X11/Xlib.h>
13503 if ac_fn_c_try_link
"$LINENO"
13505 # We can compile and link X programs with no special options.
13509 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13510 conftest
$ac_exeext conftest.
$ac_ext
13511 LIBS
="$ac_save_LIBS"
13512 # If that didn't work, only try xmkmf and file system searches
13513 # for native compilation.
13514 if test x
"$ac_x_includes" = xno
&& test "$cross_compiling" = no
13516 rm -f -r conftest.dir
13517 if mkdir conftest.dir
; then
13519 cat >Imakefile
<<'_ACEOF'
13521 @echo incroot='${INCROOT}'
13523 @echo usrlibdir='${USRLIBDIR}'
13525 @echo libdir='${LIBDIR}'
13527 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
13528 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13529 for ac_var
in incroot usrlibdir libdir
; do
13530 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13532 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13533 for ac_extension
in a so sl dylib la dll
; do
13534 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13535 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13536 ac_im_usrlibdir
=$ac_im_libdir; break
13539 # Screen out bogus values from the imake configuration. They are
13540 # bogus both because they are the default anyway, and because
13541 # using them would break gcc on systems where it needs fixed includes.
13542 case $ac_im_incroot in
13543 /usr
/include
) ac_x_includes
= ;;
13544 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
13546 case $ac_im_usrlibdir in
13547 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
13548 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
13552 rm -f -r conftest.dir
13555 # Standard set of common directories for X headers.
13556 # Check X11 before X11Rn because it is often a symlink to the current release.
13570 /usr/local/X11/include
13571 /usr/local/X11R7/include
13572 /usr/local/X11R6/include
13573 /usr/local/X11R5/include
13574 /usr/local/X11R4/include
13576 /usr/local/include/X11
13577 /usr/local/include/X11R7
13578 /usr/local/include/X11R6
13579 /usr/local/include/X11R5
13580 /usr/local/include/X11R4
13586 /usr/XFree86/include/X11
13590 /usr/unsupported/include
13591 /usr/athena/include
13592 /usr/local/x11r5/include
13593 /usr/lpp/Xamples/include
13595 /usr/openwin/include
13596 /usr/openwin/share/include'
13598 if test "$ac_x_includes" = no
; then
13599 # Guess where to find include files, by looking for Xlib.h.
13600 # First, try using that file with no special directory specified.
13601 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13602 /* end confdefs.h. */
13603 #include <X11/Xlib.h>
13605 if ac_fn_c_try_cpp
"$LINENO"
13607 # We can compile using X headers with no special include directory.
13610 for ac_dir
in $ac_x_header_dirs; do
13611 if test -r "$ac_dir/X11/Xlib.h"; then
13612 ac_x_includes
=$ac_dir
13617 rm -f conftest.err conftest.i conftest.
$ac_ext
13618 fi # $ac_x_includes = no
13620 if test "$ac_x_libraries" = no
; then
13621 # Check for the libraries.
13622 # See if we find them without any special options.
13623 # Don't add to $LIBS permanently.
13626 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13627 /* end confdefs.h. */
13628 #include <X11/Xlib.h>
13637 if ac_fn_c_try_link
"$LINENO"
13640 # We can link X programs with no special library path.
13644 for ac_dir
in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13646 # Don't even attempt the hair of trying to link an X program!
13647 for ac_extension
in a so sl dylib la dll
; do
13648 if test -r "$ac_dir/libX11.$ac_extension"; then
13649 ac_x_libraries
=$ac_dir
13655 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13656 conftest
$ac_exeext conftest.
$ac_ext
13657 fi # $ac_x_libraries = no
13660 # Record the results.
13661 case $ac_x_includes,$ac_x_libraries in #(
13662 no
,* |
*,no |
*\'*) :
13663 # Didn't find X, or a directory has "'" in its name.
13664 ac_cv_have_x
="have_x=no" ;; #(
13666 # Record where we found X for the cache.
13667 ac_cv_have_x
="have_x=yes\
13668 ac_x_includes='$ac_x_includes'\
13669 ac_x_libraries='$ac_x_libraries'" ;;
13675 eval "$ac_cv_have_x"
13678 if test "$have_x" != yes; then
13679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13680 printf "%s\n" "$have_x" >&6; }
13683 # If each of the values was on the command line, it overrides each guess.
13684 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
13685 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
13686 # Update the cache value to reflect the command line values.
13687 ac_cv_have_x
="have_x=yes\
13688 ac_x_includes='$x_includes'\
13689 ac_x_libraries='$x_libraries'"
13690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13691 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13694 if test "$no_x" = yes; then
13695 # Not all programs may use this symbol, but it does not hurt to define it.
13697 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13699 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
13701 if test -n "$x_includes"; then
13702 X_CFLAGS
="$X_CFLAGS -I$x_includes"
13705 # It would also be nice to do this for all -L options, not just this one.
13706 if test -n "$x_libraries"; then
13707 X_LIBS
="$X_LIBS -L$x_libraries"
13708 # For Solaris; some versions of Sun CC require a space after -R and
13709 # others require no space. Words are not sufficient . . . .
13710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13711 printf %s
"checking whether -R must be followed by a space... " >&6; }
13712 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
13713 ac_xsave_c_werror_flag
=$ac_c_werror_flag
13714 ac_c_werror_flag
=yes
13715 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13716 /* end confdefs.h. */
13726 if ac_fn_c_try_link
"$LINENO"
13728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13729 printf "%s\n" "no" >&6; }
13730 X_LIBS
="$X_LIBS -R$x_libraries"
13732 LIBS
="$ac_xsave_LIBS -R $x_libraries"
13733 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13734 /* end confdefs.h. */
13744 if ac_fn_c_try_link
"$LINENO"
13746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13747 printf "%s\n" "yes" >&6; }
13748 X_LIBS
="$X_LIBS -R $x_libraries"
13750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13751 printf "%s\n" "neither works" >&6; }
13753 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13754 conftest
$ac_exeext conftest.
$ac_ext
13756 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13757 conftest
$ac_exeext conftest.
$ac_ext
13758 ac_c_werror_flag
=$ac_xsave_c_werror_flag
13759 LIBS
=$ac_xsave_LIBS
13762 # Check for system-dependent libraries X programs must link with.
13763 # Do this before checking for the system-independent R6 libraries
13764 # (-lICE), since we may need -lsocket or whatever for X linking.
13766 if test "$ISC" = yes; then
13767 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
13769 # Martyn Johnson says this is needed for Ultrix, if the X
13770 # libraries were built with DECnet support. And Karl Berry says
13771 # the Alpha needs dnet_stub (dnet does not exist).
13772 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
13773 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13774 /* end confdefs.h. */
13776 /* Override any GCC internal prototype to avoid an error.
13777 Use char because int might match the return type of a GCC
13778 builtin and then its argument prototype would still apply. */
13779 char XOpenDisplay ();
13783 return XOpenDisplay ();
13788 if ac_fn_c_try_link
"$LINENO"
13792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13793 printf %s
"checking for dnet_ntoa in -ldnet... " >&6; }
13794 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13796 printf %s
"(cached) " >&6
13798 ac_check_lib_save_LIBS
=$LIBS
13799 LIBS
="-ldnet $LIBS"
13800 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13801 /* end confdefs.h. */
13803 /* Override any GCC internal prototype to avoid an error.
13804 Use char because int might match the return type of a GCC
13805 builtin and then its argument prototype would still apply. */
13810 return dnet_ntoa ();
13815 if ac_fn_c_try_link
"$LINENO"
13817 ac_cv_lib_dnet_dnet_ntoa
=yes
13819 ac_cv_lib_dnet_dnet_ntoa
=no
13821 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13822 conftest
$ac_exeext conftest.
$ac_ext
13823 LIBS
=$ac_check_lib_save_LIBS
13825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13826 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13827 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13829 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
13832 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
13833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13834 printf %s
"checking for dnet_ntoa in -ldnet_stub... " >&6; }
13835 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
13837 printf %s
"(cached) " >&6
13839 ac_check_lib_save_LIBS
=$LIBS
13840 LIBS
="-ldnet_stub $LIBS"
13841 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13842 /* end confdefs.h. */
13844 /* Override any GCC internal prototype to avoid an error.
13845 Use char because int might match the return type of a GCC
13846 builtin and then its argument prototype would still apply. */
13851 return dnet_ntoa ();
13856 if ac_fn_c_try_link
"$LINENO"
13858 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
13860 ac_cv_lib_dnet_stub_dnet_ntoa
=no
13862 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13863 conftest
$ac_exeext conftest.
$ac_ext
13864 LIBS
=$ac_check_lib_save_LIBS
13866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
13867 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
13868 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
13870 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
13875 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13876 conftest
$ac_exeext conftest.
$ac_ext
13877 LIBS
="$ac_xsave_LIBS"
13879 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13880 # to get the SysV transport functions.
13881 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
13883 # The nsl library prevents programs from opening the X display
13884 # on Irix 5.2, according to T.E. Dickey.
13885 # The functions gethostbyname, getservbyname, and inet_addr are
13886 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
13887 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
13888 if test "x$ac_cv_func_gethostbyname" = xyes
13893 if test $ac_cv_func_gethostbyname = no
; then
13894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
13895 printf %s
"checking for gethostbyname in -lnsl... " >&6; }
13896 if test ${ac_cv_lib_nsl_gethostbyname+y}
13898 printf %s
"(cached) " >&6
13900 ac_check_lib_save_LIBS
=$LIBS
13902 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13903 /* end confdefs.h. */
13905 /* Override any GCC internal prototype to avoid an error.
13906 Use char because int might match the return type of a GCC
13907 builtin and then its argument prototype would still apply. */
13908 char gethostbyname ();
13912 return gethostbyname ();
13917 if ac_fn_c_try_link
"$LINENO"
13919 ac_cv_lib_nsl_gethostbyname
=yes
13921 ac_cv_lib_nsl_gethostbyname
=no
13923 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13924 conftest
$ac_exeext conftest.
$ac_ext
13925 LIBS
=$ac_check_lib_save_LIBS
13927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
13928 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
13929 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
13931 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
13934 if test $ac_cv_lib_nsl_gethostbyname = no
; then
13935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
13936 printf %s
"checking for gethostbyname in -lbsd... " >&6; }
13937 if test ${ac_cv_lib_bsd_gethostbyname+y}
13939 printf %s
"(cached) " >&6
13941 ac_check_lib_save_LIBS
=$LIBS
13943 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13944 /* end confdefs.h. */
13946 /* Override any GCC internal prototype to avoid an error.
13947 Use char because int might match the return type of a GCC
13948 builtin and then its argument prototype would still apply. */
13949 char gethostbyname ();
13953 return gethostbyname ();
13958 if ac_fn_c_try_link
"$LINENO"
13960 ac_cv_lib_bsd_gethostbyname
=yes
13962 ac_cv_lib_bsd_gethostbyname
=no
13964 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13965 conftest
$ac_exeext conftest.
$ac_ext
13966 LIBS
=$ac_check_lib_save_LIBS
13968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
13969 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
13970 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
13972 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
13978 # lieder@skyler.mavd.honeywell.com says without -lsocket,
13979 # socket/setsockopt and other routines are undefined under SCO ODT
13980 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
13981 # on later versions), says Simon Leinen: it contains gethostby*
13982 # variants that don't use the name server (or something). -lsocket
13983 # must be given before -lnsl if both are needed. We assume that
13984 # if connect needs -lnsl, so does gethostbyname.
13985 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
13986 if test "x$ac_cv_func_connect" = xyes
13991 if test $ac_cv_func_connect = no
; then
13992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
13993 printf %s
"checking for connect in -lsocket... " >&6; }
13994 if test ${ac_cv_lib_socket_connect+y}
13996 printf %s
"(cached) " >&6
13998 ac_check_lib_save_LIBS
=$LIBS
13999 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
14000 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14001 /* end confdefs.h. */
14003 /* Override any GCC internal prototype to avoid an error.
14004 Use char because int might match the return type of a GCC
14005 builtin and then its argument prototype would still apply. */
14015 if ac_fn_c_try_link
"$LINENO"
14017 ac_cv_lib_socket_connect
=yes
14019 ac_cv_lib_socket_connect
=no
14021 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14022 conftest
$ac_exeext conftest.
$ac_ext
14023 LIBS
=$ac_check_lib_save_LIBS
14025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14026 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14027 if test "x$ac_cv_lib_socket_connect" = xyes
14029 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
14034 # Guillermo Gomez says -lposix is necessary on A/UX.
14035 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
14036 if test "x$ac_cv_func_remove" = xyes
14041 if test $ac_cv_func_remove = no
; then
14042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14043 printf %s
"checking for remove in -lposix... " >&6; }
14044 if test ${ac_cv_lib_posix_remove+y}
14046 printf %s
"(cached) " >&6
14048 ac_check_lib_save_LIBS
=$LIBS
14049 LIBS
="-lposix $LIBS"
14050 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14051 /* end confdefs.h. */
14053 /* Override any GCC internal prototype to avoid an error.
14054 Use char because int might match the return type of a GCC
14055 builtin and then its argument prototype would still apply. */
14065 if ac_fn_c_try_link
"$LINENO"
14067 ac_cv_lib_posix_remove
=yes
14069 ac_cv_lib_posix_remove
=no
14071 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14072 conftest
$ac_exeext conftest.
$ac_ext
14073 LIBS
=$ac_check_lib_save_LIBS
14075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14076 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14077 if test "x$ac_cv_lib_posix_remove" = xyes
14079 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
14084 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14085 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
14086 if test "x$ac_cv_func_shmat" = xyes
14091 if test $ac_cv_func_shmat = no
; then
14092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14093 printf %s
"checking for shmat in -lipc... " >&6; }
14094 if test ${ac_cv_lib_ipc_shmat+y}
14096 printf %s
"(cached) " >&6
14098 ac_check_lib_save_LIBS
=$LIBS
14100 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14101 /* end confdefs.h. */
14103 /* Override any GCC internal prototype to avoid an error.
14104 Use char because int might match the return type of a GCC
14105 builtin and then its argument prototype would still apply. */
14115 if ac_fn_c_try_link
"$LINENO"
14117 ac_cv_lib_ipc_shmat
=yes
14119 ac_cv_lib_ipc_shmat
=no
14121 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14122 conftest
$ac_exeext conftest.
$ac_ext
14123 LIBS
=$ac_check_lib_save_LIBS
14125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14126 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14127 if test "x$ac_cv_lib_ipc_shmat" = xyes
14129 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
14135 # Check for libraries that X11R6 Xt/Xaw programs need.
14136 ac_save_LDFLAGS
=$LDFLAGS
14137 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
14138 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14139 # check for ICE first), but we must link in the order -lSM -lICE or
14140 # we get undefined symbols. So assume we have SM if we have ICE.
14141 # These have to be linked with before -lX11, unlike the other
14142 # libraries we check for below, so use a different variable.
14143 # John Interrante, Karl Berry
14144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14145 printf %s
"checking for IceConnectionNumber in -lICE... " >&6; }
14146 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14148 printf %s
"(cached) " >&6
14150 ac_check_lib_save_LIBS
=$LIBS
14151 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
14152 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14153 /* end confdefs.h. */
14155 /* Override any GCC internal prototype to avoid an error.
14156 Use char because int might match the return type of a GCC
14157 builtin and then its argument prototype would still apply. */
14158 char IceConnectionNumber ();
14162 return IceConnectionNumber ();
14167 if ac_fn_c_try_link
"$LINENO"
14169 ac_cv_lib_ICE_IceConnectionNumber
=yes
14171 ac_cv_lib_ICE_IceConnectionNumber
=no
14173 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14174 conftest
$ac_exeext conftest.
$ac_ext
14175 LIBS
=$ac_check_lib_save_LIBS
14177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14178 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14179 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14181 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
14184 LDFLAGS
=$ac_save_LDFLAGS
14189 if test "$have_x" = "yes"
14191 ac_save_CPPFLAGS
="$CPPFLAGS"
14192 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
14194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14195 printf %s
"checking for -lX11... " >&6; }
14196 if test ${ac_cv_lib_soname_X11+y}
14198 printf %s
"(cached) " >&6
14200 ac_check_soname_save_LIBS
=$LIBS
14201 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14202 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14203 /* end confdefs.h. */
14205 /* Override any GCC internal prototype to avoid an error.
14206 Use char because int might match the return type of a GCC
14207 builtin and then its argument prototype would still apply. */
14208 char XCreateWindow ();
14212 return XCreateWindow ();
14217 if ac_fn_c_try_link
"$LINENO"
14220 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14221 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'` ;;
14222 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14223 if ${ac_cv_lib_soname_X11:+false} :
14225 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14229 ac_cv_lib_soname_X11
=
14231 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14232 conftest
$ac_exeext conftest.
$ac_ext
14233 LIBS
=$ac_check_soname_save_LIBS
14235 if ${ac_cv_lib_soname_X11:+false} :
14237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14238 printf "%s\n" "not found" >&6; }
14241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14242 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14244 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14249 printf %s
"checking for -lXext... " >&6; }
14250 if test ${ac_cv_lib_soname_Xext+y}
14252 printf %s
"(cached) " >&6
14254 ac_check_soname_save_LIBS
=$LIBS
14255 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14256 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14257 /* end confdefs.h. */
14259 /* Override any GCC internal prototype to avoid an error.
14260 Use char because int might match the return type of a GCC
14261 builtin and then its argument prototype would still apply. */
14262 char XextCreateExtension ();
14266 return XextCreateExtension ();
14271 if ac_fn_c_try_link
"$LINENO"
14274 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14275 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'` ;;
14276 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14277 if ${ac_cv_lib_soname_Xext:+false} :
14279 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14283 ac_cv_lib_soname_Xext
=
14285 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14286 conftest
$ac_exeext conftest.
$ac_ext
14287 LIBS
=$ac_check_soname_save_LIBS
14289 if ${ac_cv_lib_soname_Xext:+false} :
14291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14292 printf "%s\n" "not found" >&6; }
14295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14296 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14298 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14300 X_LIBS
="$X_LIBS -lXext"
14302 X_LIBS
="$X_LIBS -lX11"
14304 ac_fn_c_check_header_compile
"$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
14305 # include <X11/Xlib.h>
14307 #ifdef HAVE_X11_XUTIL_H
14308 # include <X11/Xutil.h>
14311 if test "x$ac_cv_header_X11_Xlib_h" = xyes
14313 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14316 ac_fn_c_check_header_compile
"$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
14317 # include <X11/Xlib.h>
14319 #ifdef HAVE_X11_XUTIL_H
14320 # include <X11/Xutil.h>
14323 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
14325 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14328 ac_fn_c_check_header_compile
"$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
14329 # include <X11/Xlib.h>
14331 #ifdef HAVE_X11_XUTIL_H
14332 # include <X11/Xutil.h>
14335 if test "x$ac_cv_header_X11_Xutil_h" = xyes
14337 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14340 ac_fn_c_check_header_compile
"$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
14341 # include <X11/Xlib.h>
14343 #ifdef HAVE_X11_XUTIL_H
14344 # include <X11/Xutil.h>
14347 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14349 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14352 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
14353 # include <X11/Xlib.h>
14355 #ifdef HAVE_X11_XUTIL_H
14356 # include <X11/Xutil.h>
14359 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14361 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14364 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
14365 # include <X11/Xlib.h>
14367 #ifdef HAVE_X11_XUTIL_H
14368 # include <X11/Xutil.h>
14371 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14373 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14376 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
14377 # include <X11/Xlib.h>
14379 #ifdef HAVE_X11_XUTIL_H
14380 # include <X11/Xutil.h>
14383 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14385 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14388 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
14389 # include <X11/Xlib.h>
14391 #ifdef HAVE_X11_XUTIL_H
14392 # include <X11/Xutil.h>
14395 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14397 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14400 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
14401 # include <X11/Xlib.h>
14403 #ifdef HAVE_X11_XUTIL_H
14404 # include <X11/Xutil.h>
14407 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
14409 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14412 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
14413 # include <X11/Xlib.h>
14415 #ifdef HAVE_X11_XUTIL_H
14416 # include <X11/Xutil.h>
14419 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14421 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14424 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
14425 # include <X11/Xlib.h>
14427 #ifdef HAVE_X11_XUTIL_H
14428 # include <X11/Xutil.h>
14431 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14433 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14436 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
14437 # include <X11/Xlib.h>
14439 #ifdef HAVE_X11_XUTIL_H
14440 # include <X11/Xutil.h>
14443 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14445 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14448 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
14449 # include <X11/Xlib.h>
14451 #ifdef HAVE_X11_XUTIL_H
14452 # include <X11/Xutil.h>
14455 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14457 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14460 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
14461 # include <X11/Xlib.h>
14463 #ifdef HAVE_X11_XUTIL_H
14464 # include <X11/Xutil.h>
14467 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14469 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14472 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
14473 # include <X11/Xlib.h>
14475 #ifdef HAVE_X11_XUTIL_H
14476 # include <X11/Xutil.h>
14479 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14481 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14486 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14489 printf %s
"checking for -lXcursor... " >&6; }
14490 if test ${ac_cv_lib_soname_Xcursor+y}
14492 printf %s
"(cached) " >&6
14494 ac_check_soname_save_LIBS
=$LIBS
14495 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14496 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14497 /* end confdefs.h. */
14499 /* Override any GCC internal prototype to avoid an error.
14500 Use char because int might match the return type of a GCC
14501 builtin and then its argument prototype would still apply. */
14502 char XcursorImageLoadCursor ();
14506 return XcursorImageLoadCursor ();
14511 if ac_fn_c_try_link
"$LINENO"
14514 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14515 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'` ;;
14516 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14517 if ${ac_cv_lib_soname_Xcursor:+false} :
14519 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14523 ac_cv_lib_soname_Xcursor
=
14525 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14526 conftest
$ac_exeext conftest.
$ac_ext
14527 LIBS
=$ac_check_soname_save_LIBS
14529 if ${ac_cv_lib_soname_Xcursor:+false} :
14531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14532 printf "%s\n" "not found" >&6; }
14535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14536 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14538 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14543 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14545 case "x$with_xcursor" in
14546 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14548 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14549 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14554 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14557 printf %s
"checking for -lXi... " >&6; }
14558 if test ${ac_cv_lib_soname_Xi+y}
14560 printf %s
"(cached) " >&6
14562 ac_check_soname_save_LIBS
=$LIBS
14563 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14564 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14565 /* end confdefs.h. */
14567 /* Override any GCC internal prototype to avoid an error.
14568 Use char because int might match the return type of a GCC
14569 builtin and then its argument prototype would still apply. */
14570 char XOpenDevice ();
14574 return XOpenDevice ();
14579 if ac_fn_c_try_link
"$LINENO"
14582 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14583 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'` ;;
14584 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14585 if ${ac_cv_lib_soname_Xi:+false} :
14587 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14591 ac_cv_lib_soname_Xi
=
14593 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14594 conftest
$ac_exeext conftest.
$ac_ext
14595 LIBS
=$ac_check_soname_save_LIBS
14597 if ${ac_cv_lib_soname_Xi:+false} :
14599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14600 printf "%s\n" "not found" >&6; }
14603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14604 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14606 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14611 if test "x$ac_cv_lib_soname_Xi" = "x"
14613 case "x$with_xinput" in
14614 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14616 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14617 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14622 if test "x$ac_cv_lib_soname_Xi" != x
14624 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14626 case "x$with_xinput2" in
14627 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14629 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
14630 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14636 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14639 printf %s
"checking for XShmQueryExtension in -lXext... " >&6; }
14640 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14642 printf %s
"(cached) " >&6
14644 ac_check_lib_save_LIBS
=$LIBS
14645 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14646 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14647 /* end confdefs.h. */
14649 /* Override any GCC internal prototype to avoid an error.
14650 Use char because int might match the return type of a GCC
14651 builtin and then its argument prototype would still apply. */
14652 char XShmQueryExtension ();
14656 return XShmQueryExtension ();
14661 if ac_fn_c_try_link
"$LINENO"
14663 ac_cv_lib_Xext_XShmQueryExtension
=yes
14665 ac_cv_lib_Xext_XShmQueryExtension
=no
14667 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14668 conftest
$ac_exeext conftest.
$ac_ext
14669 LIBS
=$ac_check_lib_save_LIBS
14671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14672 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14673 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14676 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14681 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14683 case "x$with_xshm" in
14684 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14686 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14687 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14692 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14695 printf %s
"checking for XShapeQueryExtension in -lXext... " >&6; }
14696 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14698 printf %s
"(cached) " >&6
14700 ac_check_lib_save_LIBS
=$LIBS
14701 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14702 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14703 /* end confdefs.h. */
14705 /* Override any GCC internal prototype to avoid an error.
14706 Use char because int might match the return type of a GCC
14707 builtin and then its argument prototype would still apply. */
14708 char XShapeQueryExtension ();
14712 return XShapeQueryExtension ();
14717 if ac_fn_c_try_link
"$LINENO"
14719 ac_cv_lib_Xext_XShapeQueryExtension
=yes
14721 ac_cv_lib_Xext_XShapeQueryExtension
=no
14723 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14724 conftest
$ac_exeext conftest.
$ac_ext
14725 LIBS
=$ac_check_lib_save_LIBS
14727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14728 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14729 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14732 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14737 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14739 case "x$with_xshape" in
14740 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14742 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
14743 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14748 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14751 printf %s
"checking for -lXxf86vm... " >&6; }
14752 if test ${ac_cv_lib_soname_Xxf86vm+y}
14754 printf %s
"(cached) " >&6
14756 ac_check_soname_save_LIBS
=$LIBS
14757 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14758 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14759 /* end confdefs.h. */
14761 /* Override any GCC internal prototype to avoid an error.
14762 Use char because int might match the return type of a GCC
14763 builtin and then its argument prototype would still apply. */
14764 char XF86VidModeQueryExtension ();
14768 return XF86VidModeQueryExtension ();
14773 if ac_fn_c_try_link
"$LINENO"
14776 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14777 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'` ;;
14778 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14779 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14781 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14785 ac_cv_lib_soname_Xxf86vm
=
14787 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14788 conftest
$ac_exeext conftest.
$ac_ext
14789 LIBS
=$ac_check_soname_save_LIBS
14791 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14794 printf "%s\n" "not found" >&6; }
14797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
14798 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
14800 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
14805 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
14807 case "x$with_xxf86vm" in
14808 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
14810 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
14811 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
14816 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
14818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
14819 printf %s
"checking for -lXrender... " >&6; }
14820 if test ${ac_cv_lib_soname_Xrender+y}
14822 printf %s
"(cached) " >&6
14824 ac_check_soname_save_LIBS
=$LIBS
14825 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14826 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14827 /* end confdefs.h. */
14829 /* Override any GCC internal prototype to avoid an error.
14830 Use char because int might match the return type of a GCC
14831 builtin and then its argument prototype would still apply. */
14832 char XRenderQueryExtension ();
14836 return XRenderQueryExtension ();
14841 if ac_fn_c_try_link
"$LINENO"
14844 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14845 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'` ;;
14846 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14847 if ${ac_cv_lib_soname_Xrender:+false} :
14849 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14853 ac_cv_lib_soname_Xrender
=
14855 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14856 conftest
$ac_exeext conftest.
$ac_ext
14857 LIBS
=$ac_check_soname_save_LIBS
14859 if ${ac_cv_lib_soname_Xrender:+false} :
14861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14862 printf "%s\n" "not found" >&6; }
14865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
14866 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
14868 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
14870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
14871 printf %s
"checking for XRenderSetPictureTransform in -lXrender... " >&6; }
14872 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
14874 printf %s
"(cached) " >&6
14876 ac_check_lib_save_LIBS
=$LIBS
14877 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14878 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14879 /* end confdefs.h. */
14881 /* Override any GCC internal prototype to avoid an error.
14882 Use char because int might match the return type of a GCC
14883 builtin and then its argument prototype would still apply. */
14884 char XRenderSetPictureTransform ();
14888 return XRenderSetPictureTransform ();
14893 if ac_fn_c_try_link
"$LINENO"
14895 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
14897 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
14899 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14900 conftest
$ac_exeext conftest.
$ac_ext
14901 LIBS
=$ac_check_lib_save_LIBS
14903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
14904 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
14905 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
14908 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
14912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
14913 printf %s
"checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
14914 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
14916 printf %s
"(cached) " >&6
14918 ac_check_lib_save_LIBS
=$LIBS
14919 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14920 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14921 /* end confdefs.h. */
14923 /* Override any GCC internal prototype to avoid an error.
14924 Use char because int might match the return type of a GCC
14925 builtin and then its argument prototype would still apply. */
14926 char XRenderCreateLinearGradient ();
14930 return XRenderCreateLinearGradient ();
14935 if ac_fn_c_try_link
"$LINENO"
14937 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
14939 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
14941 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14942 conftest
$ac_exeext conftest.
$ac_ext
14943 LIBS
=$ac_check_lib_save_LIBS
14945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
14946 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
14947 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
14950 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
14957 if test "x$ac_cv_lib_soname_Xrender" = "x"
14959 case "x$with_xrender" in
14960 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
14962 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
14963 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
14968 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
14970 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14971 /* end confdefs.h. */
14972 #include <X11/Xlib.h>
14973 #include <X11/extensions/Xrandr.h>
14977 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
14982 if ac_fn_c_try_compile
"$LINENO"
14984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
14985 printf %s
"checking for -lXrandr... " >&6; }
14986 if test ${ac_cv_lib_soname_Xrandr+y}
14988 printf %s
"(cached) " >&6
14990 ac_check_soname_save_LIBS
=$LIBS
14991 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
14992 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14993 /* end confdefs.h. */
14995 /* Override any GCC internal prototype to avoid an error.
14996 Use char because int might match the return type of a GCC
14997 builtin and then its argument prototype would still apply. */
14998 char XRRQueryExtension ();
15002 return XRRQueryExtension ();
15007 if ac_fn_c_try_link
"$LINENO"
15010 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15011 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'` ;;
15012 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15013 if ${ac_cv_lib_soname_Xrandr:+false} :
15015 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15019 ac_cv_lib_soname_Xrandr
=
15021 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15022 conftest
$ac_exeext conftest.
$ac_ext
15023 LIBS
=$ac_check_soname_save_LIBS
15025 if ${ac_cv_lib_soname_Xrandr:+false} :
15027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15028 printf "%s\n" "not found" >&6; }
15031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15032 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15034 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15036 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15037 /* end confdefs.h. */
15038 #include <X11/Xlib.h>
15039 #include <X11/extensions/Xrandr.h>
15043 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15048 if ac_fn_c_try_compile
"$LINENO"
15051 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15054 as_fn_append wine_notices
"|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15056 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15059 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15061 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15063 case "x$with_xrandr" in
15064 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15066 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15067 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15072 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15074 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15075 /* end confdefs.h. */
15076 #include <X11/Xlib.h>
15077 #include <X11/extensions/Xfixes.h>
15081 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15086 if ac_fn_c_try_compile
"$LINENO"
15088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15089 printf %s
"checking for -lXfixes... " >&6; }
15090 if test ${ac_cv_lib_soname_Xfixes+y}
15092 printf %s
"(cached) " >&6
15094 ac_check_soname_save_LIBS
=$LIBS
15095 LIBS
="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15096 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15097 /* end confdefs.h. */
15099 /* Override any GCC internal prototype to avoid an error.
15100 Use char because int might match the return type of a GCC
15101 builtin and then its argument prototype would still apply. */
15102 char XFixesQueryVersion ();
15106 return XFixesQueryVersion ();
15111 if ac_fn_c_try_link
"$LINENO"
15114 dll
) ac_cv_lib_soname_Xfixes
=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15115 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'` ;;
15116 *) ac_cv_lib_soname_Xfixes
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15117 if ${ac_cv_lib_soname_Xfixes:+false} :
15119 ac_cv_lib_soname_Xfixes
=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15123 ac_cv_lib_soname_Xfixes
=
15125 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15126 conftest
$ac_exeext conftest.
$ac_ext
15127 LIBS
=$ac_check_soname_save_LIBS
15129 if ${ac_cv_lib_soname_Xfixes:+false} :
15131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15132 printf "%s\n" "not found" >&6; }
15135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15136 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15138 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15143 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15145 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15147 case "x$with_xfixes" in
15148 x
) as_fn_append wine_notices
"|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15150 *) as_fn_error $?
"libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15151 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15156 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15158 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15159 /* end confdefs.h. */
15160 #include <X11/Xlib.h>
15161 #include <X11/extensions/Xinerama.h>
15165 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15170 if ac_fn_c_try_compile
"$LINENO"
15172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15173 printf %s
"checking for -lXinerama... " >&6; }
15174 if test ${ac_cv_lib_soname_Xinerama+y}
15176 printf %s
"(cached) " >&6
15178 ac_check_soname_save_LIBS
=$LIBS
15179 LIBS
="-lXinerama $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 XineramaQueryScreens ();
15190 return XineramaQueryScreens ();
15195 if ac_fn_c_try_link
"$LINENO"
15198 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15199 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'` ;;
15200 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15201 if ${ac_cv_lib_soname_Xinerama:+false} :
15203 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15207 ac_cv_lib_soname_Xinerama
=
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_Xinerama:+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_Xinerama" >&5
15220 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15222 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15227 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15229 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15231 case "x$with_xinerama" in
15232 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15234 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15235 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15240 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15243 printf %s
"checking for -lXcomposite... " >&6; }
15244 if test ${ac_cv_lib_soname_Xcomposite+y}
15246 printf %s
"(cached) " >&6
15248 ac_check_soname_save_LIBS
=$LIBS
15249 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15250 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15251 /* end confdefs.h. */
15253 /* Override any GCC internal prototype to avoid an error.
15254 Use char because int might match the return type of a GCC
15255 builtin and then its argument prototype would still apply. */
15256 char XCompositeRedirectWindow ();
15260 return XCompositeRedirectWindow ();
15265 if ac_fn_c_try_link
"$LINENO"
15268 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15269 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'` ;;
15270 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15271 if ${ac_cv_lib_soname_Xcomposite:+false} :
15273 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15277 ac_cv_lib_soname_Xcomposite
=
15279 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15280 conftest
$ac_exeext conftest.
$ac_ext
15281 LIBS
=$ac_check_soname_save_LIBS
15283 if ${ac_cv_lib_soname_Xcomposite:+false} :
15285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15286 printf "%s\n" "not found" >&6; }
15289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15290 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15292 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15297 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15299 case "x$with_xcomposite" in
15300 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15302 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15303 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15308 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
15309 #include <X11/Xlib.h>
15312 if test "x$ac_cv_member_XICCallback_callback" = xyes
15315 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15319 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15320 #include <X11/Xlib.h>
15323 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15326 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15334 if test "x$with_opengl" != "xno"
15336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15337 printf %s
"checking for -lGL... " >&6; }
15338 if test ${ac_cv_lib_soname_GL+y}
15340 printf %s
"(cached) " >&6
15342 ac_check_soname_save_LIBS
=$LIBS
15343 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15344 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15345 /* end confdefs.h. */
15347 /* Override any GCC internal prototype to avoid an error.
15348 Use char because int might match the return type of a GCC
15349 builtin and then its argument prototype would still apply. */
15350 char glXCreateContext ();
15354 return glXCreateContext ();
15359 if ac_fn_c_try_link
"$LINENO"
15362 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15363 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'` ;;
15364 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15365 if ${ac_cv_lib_soname_GL:+false} :
15367 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15371 ac_cv_lib_soname_GL
=
15373 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15374 conftest
$ac_exeext conftest.
$ac_ext
15375 LIBS
=$ac_check_soname_save_LIBS
15377 if ${ac_cv_lib_soname_GL:+false} :
15379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15380 printf "%s\n" "not found" >&6; }
15381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15382 printf %s
"checking for -lGL... " >&6; }
15383 if test ${ac_cv_lib_soname_GL+y}
15385 printf %s
"(cached) " >&6
15387 ac_check_soname_save_LIBS
=$LIBS
15388 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"
15389 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15390 /* end confdefs.h. */
15392 /* Override any GCC internal prototype to avoid an error.
15393 Use char because int might match the return type of a GCC
15394 builtin and then its argument prototype would still apply. */
15395 char glXCreateContext ();
15399 return glXCreateContext ();
15404 if ac_fn_c_try_link
"$LINENO"
15407 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15408 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'` ;;
15409 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15410 if ${ac_cv_lib_soname_GL:+false} :
15412 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15416 ac_cv_lib_soname_GL
=
15418 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15419 conftest
$ac_exeext conftest.
$ac_ext
15420 LIBS
=$ac_check_soname_save_LIBS
15422 if ${ac_cv_lib_soname_GL:+false} :
15424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15425 printf "%s\n" "not found" >&6; }
15426 if test -f /usr
/X11R
6/lib
/libGL.a
15428 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
15429 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15431 opengl_msg
="No OpenGL library found on this system."
15434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15435 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15437 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15439 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"
15442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15443 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15445 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15449 if test "x$with_osmesa" != "xno"
15451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15452 printf %s
"checking for -lOSMesa... " >&6; }
15453 if test ${ac_cv_lib_soname_OSMesa+y}
15455 printf %s
"(cached) " >&6
15457 ac_check_soname_save_LIBS
=$LIBS
15458 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15459 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15460 /* end confdefs.h. */
15462 /* Override any GCC internal prototype to avoid an error.
15463 Use char because int might match the return type of a GCC
15464 builtin and then its argument prototype would still apply. */
15465 char OSMesaGetProcAddress ();
15469 return OSMesaGetProcAddress ();
15474 if ac_fn_c_try_link
"$LINENO"
15477 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15478 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'` ;;
15479 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15480 if ${ac_cv_lib_soname_OSMesa:+false} :
15482 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15486 ac_cv_lib_soname_OSMesa
=
15488 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15489 conftest
$ac_exeext conftest.
$ac_ext
15490 LIBS
=$ac_check_soname_save_LIBS
15492 if ${ac_cv_lib_soname_OSMesa:+false} :
15494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15495 printf "%s\n" "not found" >&6; }
15498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15499 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15501 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15505 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15507 case "x$with_osmesa" in
15508 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15510 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15511 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15517 if test -n "$opengl_msg"
15519 case "x$with_opengl" in
15520 x
) as_fn_append wine_warnings
"|$opengl_msg
15521 OpenGL and Direct3D won't be supported." ;;
15523 *) as_fn_error $?
"$opengl_msg
15524 OpenGL and Direct3D won't be supported.
15525 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15530 CPPFLAGS
="$ac_save_CPPFLAGS"
15536 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15538 if test "x$X_LIBS" = "x"
15542 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
15543 without X support, which probably isn't what you want. You will need
15544 to install ${notice_platform}development packages of Xlib at the very least.
15545 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15547 enable_winex11_drv
=${enable_winex11_drv:-no}
15550 if test "x$X_LIBS" = "x"
15553 x
) as_fn_append wine_notices
"|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15555 *) as_fn_error $?
"X ${notice_platform}development files not found, the X11 driver won't be supported.
15556 This is an error since --with-x was requested." "$LINENO" 5 ;;
15558 enable_winex11_drv
=${enable_winex11_drv:-no}
15562 if test "x$with_wayland" != "xno"
15565 if ${WAYLAND_CLIENT_CFLAGS:+false} :
15567 if test ${PKG_CONFIG+y}
15569 WAYLAND_CLIENT_CFLAGS
=`$PKG_CONFIG --cflags wayland-client 2>conftest.err`
15573 if ${WAYLAND_CLIENT_LIBS:+false} :
15575 if test ${PKG_CONFIG+y}
15577 WAYLAND_CLIENT_LIBS
=`$PKG_CONFIG --libs wayland-client 2>/dev/null`
15582 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client cflags: $WAYLAND_CLIENT_CFLAGS" >&5
15583 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client libs: $WAYLAND_CLIENT_LIBS" >&5
15584 if test -s conftest.err
; then
15585 printf %s
"$as_me:${as_lineno-$LINENO}: wayland-client errors: " >&5
15586 cat conftest.err
>&5
15589 ac_save_CPPFLAGS
=$CPPFLAGS
15590 CPPFLAGS
="$CPPFLAGS $WAYLAND_CLIENT_CFLAGS"
15591 for ac_header
in wayland-client.h
15593 ac_fn_c_check_header_compile
"$LINENO" "wayland-client.h" "ac_cv_header_wayland_client_h" "$ac_includes_default"
15594 if test "x$ac_cv_header_wayland_client_h" = xyes
15596 printf "%s\n" "#define HAVE_WAYLAND_CLIENT_H 1" >>confdefs.h
15597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wl_display_connect in -lwayland-client" >&5
15598 printf %s
"checking for wl_display_connect in -lwayland-client... " >&6; }
15599 if test ${ac_cv_lib_wayland_client_wl_display_connect+y}
15601 printf %s
"(cached) " >&6
15603 ac_check_lib_save_LIBS
=$LIBS
15604 LIBS
="-lwayland-client $WAYLAND_CLIENT_LIBS $LIBS"
15605 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15606 /* end confdefs.h. */
15608 /* Override any GCC internal prototype to avoid an error.
15609 Use char because int might match the return type of a GCC
15610 builtin and then its argument prototype would still apply. */
15611 char wl_display_connect ();
15615 return wl_display_connect ();
15620 if ac_fn_c_try_link
"$LINENO"
15622 ac_cv_lib_wayland_client_wl_display_connect
=yes
15624 ac_cv_lib_wayland_client_wl_display_connect
=no
15626 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15627 conftest
$ac_exeext conftest.
$ac_ext
15628 LIBS
=$ac_check_lib_save_LIBS
15630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wayland_client_wl_display_connect" >&5
15631 printf "%s\n" "$ac_cv_lib_wayland_client_wl_display_connect" >&6; }
15632 if test "x$ac_cv_lib_wayland_client_wl_display_connect" = xyes
15634 # Extract the first word of "wayland-scanner", so it can be a program name with args.
15635 set dummy wayland-scanner
; ac_word
=$2
15636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15637 printf %s
"checking for $ac_word... " >&6; }
15638 if test ${ac_cv_path_WAYLAND_SCANNER+y}
15640 printf %s
"(cached) " >&6
15642 case $WAYLAND_SCANNER in
15644 ac_cv_path_WAYLAND_SCANNER
="$WAYLAND_SCANNER" # Let the user override the test with a path.
15647 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15648 for as_dir
in $PATH
15651 case $as_dir in #(((
15654 *) as_dir
=$as_dir/ ;;
15656 for ac_exec_ext
in '' $ac_executable_extensions; do
15657 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
15658 ac_cv_path_WAYLAND_SCANNER
="$as_dir$ac_word$ac_exec_ext"
15659 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
15666 test -z "$ac_cv_path_WAYLAND_SCANNER" && ac_cv_path_WAYLAND_SCANNER
="`test -n "$PKG_CONFIG" && $PKG_CONFIG --variable=wayland_scanner wayland-scanner 2>/dev/null`"
15670 WAYLAND_SCANNER
=$ac_cv_path_WAYLAND_SCANNER
15671 if test -n "$WAYLAND_SCANNER"; then
15672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $WAYLAND_SCANNER" >&5
15673 printf "%s\n" "$WAYLAND_SCANNER" >&6; }
15675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15676 printf "%s\n" "no" >&6; }
15681 WAYLAND_CLIENT_LIBS
=""
15687 CPPFLAGS
=$ac_save_CPPFLAGS
15690 if test -z "$WAYLAND_CLIENT_LIBS" -o -z "$WAYLAND_SCANNER"
15692 case "x$with_wayland" in
15693 x
) as_fn_append wine_notices
"|Wayland ${notice_platform}development files not found, the Wayland driver won't be supported." ;;
15695 *) as_fn_error $?
"Wayland ${notice_platform}development files not found, the Wayland driver won't be supported.
15696 This is an error since --with-wayland was requested." "$LINENO" 5 ;;
15698 enable_winewayland_drv
=${enable_winewayland_drv:-no}
15701 if test "$ac_cv_header_CL_cl_h" = "yes"
15703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15704 printf %s
"checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15705 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15707 printf %s
"(cached) " >&6
15709 ac_check_lib_save_LIBS
=$LIBS
15710 LIBS
="-lOpenCL $LIBS"
15711 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15712 /* end confdefs.h. */
15714 /* Override any GCC internal prototype to avoid an error.
15715 Use char because int might match the return type of a GCC
15716 builtin and then its argument prototype would still apply. */
15717 char clGetPlatformInfo ();
15721 return clGetPlatformInfo ();
15726 if ac_fn_c_try_link
"$LINENO"
15728 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
15730 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
15732 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15733 conftest
$ac_exeext conftest.
$ac_ext
15734 LIBS
=$ac_check_lib_save_LIBS
15736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15737 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15738 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15740 OPENCL_LIBS
="-lOpenCL"
15745 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15747 case "x$with_opencl" in
15748 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15750 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15751 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15753 enable_opencl
=${enable_opencl:-no}
15756 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_init in -lpcap" >&5
15759 printf %s
"checking for pcap_init in -lpcap... " >&6; }
15760 if test ${ac_cv_lib_pcap_pcap_init+y}
15762 printf %s
"(cached) " >&6
15764 ac_check_lib_save_LIBS
=$LIBS
15765 LIBS
="-lpcap $LIBS"
15766 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15767 /* end confdefs.h. */
15769 /* Override any GCC internal prototype to avoid an error.
15770 Use char because int might match the return type of a GCC
15771 builtin and then its argument prototype would still apply. */
15776 return pcap_init ();
15781 if ac_fn_c_try_link
"$LINENO"
15783 ac_cv_lib_pcap_pcap_init
=yes
15785 ac_cv_lib_pcap_pcap_init
=no
15787 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15788 conftest
$ac_exeext conftest.
$ac_ext
15789 LIBS
=$ac_check_lib_save_LIBS
15791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_init" >&5
15792 printf "%s\n" "$ac_cv_lib_pcap_pcap_init" >&6; }
15793 if test "x$ac_cv_lib_pcap_pcap_init" = xyes
15800 if test "x$ac_cv_lib_pcap_pcap_init" != xyes
15802 case "x$with_pcap" in
15803 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15805 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
15806 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15808 enable_wpcap
=${enable_wpcap:-no}
15811 if test "x$with_pcsclite" != "xno"
15813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SCardEstablishContext in -lpcsclite" >&5
15814 printf %s
"checking for SCardEstablishContext in -lpcsclite... " >&6; }
15815 if test ${ac_cv_lib_pcsclite_SCardEstablishContext+y}
15817 printf %s
"(cached) " >&6
15819 ac_check_lib_save_LIBS
=$LIBS
15820 LIBS
="-lpcsclite $LIBS"
15821 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15822 /* end confdefs.h. */
15824 /* Override any GCC internal prototype to avoid an error.
15825 Use char because int might match the return type of a GCC
15826 builtin and then its argument prototype would still apply. */
15827 char SCardEstablishContext ();
15831 return SCardEstablishContext ();
15836 if ac_fn_c_try_link
"$LINENO"
15838 ac_cv_lib_pcsclite_SCardEstablishContext
=yes
15840 ac_cv_lib_pcsclite_SCardEstablishContext
=no
15842 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15843 conftest
$ac_exeext conftest.
$ac_ext
15844 LIBS
=$ac_check_lib_save_LIBS
15846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcsclite_SCardEstablishContext" >&5
15847 printf "%s\n" "$ac_cv_lib_pcsclite_SCardEstablishContext" >&6; }
15848 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" = xyes
15850 PCSCLITE_LIBS
="-lpcsclite"
15854 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" != xyes
&& test "$ac_cv_header_PCSC_pcsclite_h" = "yes"
15856 PCSCLITE_LIBS
="-framework PCSC"
15858 ac_cv_lib_pcsclite_SCardEstablishContext
=yes
15861 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" != xyes
15863 case "x$with_pcsclite" in
15864 x
) as_fn_append wine_notices
"|libpcsclite not found, smart cards won't be supported." ;;
15866 *) as_fn_error $?
"libpcsclite not found, smart cards won't be supported.
15867 This is an error since --with-pcsclite was requested." "$LINENO" 5 ;;
15869 enable_winscard
=${enable_winscard:-no}
15872 if test "x$with_inotify" != "xno"
15875 if ${INOTIFY_CFLAGS:+false} :
15877 if test ${PKG_CONFIG+y}
15879 INOTIFY_CFLAGS
=`$PKG_CONFIG --cflags libinotify 2>conftest.err`
15883 if ${INOTIFY_LIBS:+false} :
15885 if test ${PKG_CONFIG+y}
15887 INOTIFY_LIBS
=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15892 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15893 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15894 if test -s conftest.err
; then
15895 printf %s
"$as_me:${as_lineno-$LINENO}: libinotify errors: " >&5
15896 cat conftest.err
>&5
15899 ac_save_CPPFLAGS
=$CPPFLAGS
15900 CPPFLAGS
="$CPPFLAGS $INOTIFY_CFLAGS"
15901 ac_fn_c_check_header_compile
"$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15902 if test "x$ac_cv_header_sys_inotify_h" = xyes
15904 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15909 printf %s
"checking for inotify_add_watch in -linotify... " >&6; }
15910 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15912 printf %s
"(cached) " >&6
15914 ac_check_lib_save_LIBS
=$LIBS
15915 LIBS
="-linotify $INOTIFY_LIBS $LIBS"
15916 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15917 /* end confdefs.h. */
15919 /* Override any GCC internal prototype to avoid an error.
15920 Use char because int might match the return type of a GCC
15921 builtin and then its argument prototype would still apply. */
15922 char inotify_add_watch ();
15926 return inotify_add_watch ();
15931 if ac_fn_c_try_link
"$LINENO"
15933 ac_cv_lib_inotify_inotify_add_watch
=yes
15935 ac_cv_lib_inotify_inotify_add_watch
=no
15937 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15938 conftest
$ac_exeext conftest.
$ac_ext
15939 LIBS
=$ac_check_lib_save_LIBS
15941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15942 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
15943 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
15950 CPPFLAGS
=$ac_save_CPPFLAGS
15953 if test "$ac_cv_header_sys_inotify_h" != "yes"
15955 case "x$with_inotify" in
15956 x
) as_fn_append wine_notices
"|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
15958 *) as_fn_error $?
"libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
15959 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
15964 if test "x$with_dbus" != "xno"
15967 if ${DBUS_CFLAGS:+false} :
15969 if test ${PKG_CONFIG+y}
15971 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>conftest.err`
15975 if ${DBUS_LIBS:+false} :
15977 if test ${PKG_CONFIG+y}
15979 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
15984 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
15985 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
15986 if test -s conftest.err
; then
15987 printf %s
"$as_me:${as_lineno-$LINENO}: dbus-1 errors: " >&5
15988 cat conftest.err
>&5
15991 ac_save_CPPFLAGS
=$CPPFLAGS
15992 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
15993 ac_fn_c_check_header_compile
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
15994 if test "x$ac_cv_header_dbus_dbus_h" = xyes
15996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
15997 printf %s
"checking for -ldbus-1... " >&6; }
15998 if test ${ac_cv_lib_soname_dbus_1+y}
16000 printf %s
"(cached) " >&6
16002 ac_check_soname_save_LIBS
=$LIBS
16003 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
16004 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16005 /* end confdefs.h. */
16007 /* Override any GCC internal prototype to avoid an error.
16008 Use char because int might match the return type of a GCC
16009 builtin and then its argument prototype would still apply. */
16010 char dbus_connection_close ();
16014 return dbus_connection_close ();
16019 if ac_fn_c_try_link
"$LINENO"
16022 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16023 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'` ;;
16024 *) 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'`
16025 if ${ac_cv_lib_soname_dbus_1:+false} :
16027 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16031 ac_cv_lib_soname_dbus_1
=
16033 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16034 conftest
$ac_exeext conftest.
$ac_ext
16035 LIBS
=$ac_check_soname_save_LIBS
16037 if ${ac_cv_lib_soname_dbus_1:+false} :
16039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16040 printf "%s\n" "not found" >&6; }
16043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16044 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16046 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16054 CPPFLAGS
=$ac_save_CPPFLAGS
16058 darwin
*|macosx
*) ;;
16059 *) if test "x$ac_cv_lib_soname_dbus_1" = "x"
16061 case "x$with_dbus" in
16062 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16064 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
16065 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16071 if test "x$with_gnutls" != "xno"
16074 if ${GNUTLS_CFLAGS:+false} :
16076 if test ${PKG_CONFIG+y}
16078 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>conftest.err`
16082 if ${GNUTLS_LIBS:+false} :
16084 if test ${PKG_CONFIG+y}
16086 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16090 GNUTLS_LIBS
=${GNUTLS_LIBS:-"-lgnutls"}
16091 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16092 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16093 if test -s conftest.err
; then
16094 printf %s
"$as_me:${as_lineno-$LINENO}: gnutls errors: " >&5
16095 cat conftest.err
>&5
16098 ac_save_CPPFLAGS
=$CPPFLAGS
16099 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
16100 ac_fn_c_check_header_compile
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16101 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16103 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16104 /* end confdefs.h. */
16105 #include <gnutls/gnutls.h>
16106 #include <gnutls/crypto.h>
16110 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16115 if ac_fn_c_try_compile
"$LINENO"
16117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16118 printf %s
"checking for -lgnutls... " >&6; }
16119 if test ${ac_cv_lib_soname_gnutls+y}
16121 printf %s
"(cached) " >&6
16123 ac_check_soname_save_LIBS
=$LIBS
16124 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
16125 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16126 /* end confdefs.h. */
16128 /* Override any GCC internal prototype to avoid an error.
16129 Use char because int might match the return type of a GCC
16130 builtin and then its argument prototype would still apply. */
16131 char gnutls_global_init ();
16135 return gnutls_global_init ();
16140 if ac_fn_c_try_link
"$LINENO"
16143 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16144 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'` ;;
16145 *) 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'`
16146 if ${ac_cv_lib_soname_gnutls:+false} :
16148 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'`
16152 ac_cv_lib_soname_gnutls
=
16154 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16155 conftest
$ac_exeext conftest.
$ac_ext
16156 LIBS
=$ac_check_soname_save_LIBS
16158 if ${ac_cv_lib_soname_gnutls:+false} :
16160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16161 printf "%s\n" "not found" >&6; }
16164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16165 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16167 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16171 ac_wine_check_funcs_save_LIBS
="$LIBS"
16172 LIBS
="$LIBS $GNUTLS_LIBS"
16174 for ac_func
in gnutls_cipher_init
16176 ac_fn_c_check_func
"$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16177 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16179 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16182 as_fn_append wine_notices
"|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16186 LIBS
="$ac_wine_check_funcs_save_LIBS"
16188 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16193 CPPFLAGS
=$ac_save_CPPFLAGS
16196 if test "x$ac_cv_lib_soname_gnutls" = "x"
16198 case "x$with_gnutls" in
16199 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16201 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
16202 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16207 if test "x$with_sane" != "xno"
16210 if ${SANE_CFLAGS:+false} :
16212 if test ${PKG_CONFIG+y}
16214 SANE_CFLAGS
=`$PKG_CONFIG --cflags sane-backends 2>conftest.err`
16217 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16218 if ${SANE_LIBS:+false} :
16220 if test ${PKG_CONFIG+y}
16222 SANE_LIBS
=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16225 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16227 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16228 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16229 if test -s conftest.err
; then
16230 printf %s
"$as_me:${as_lineno-$LINENO}: sane-backends errors: " >&5
16231 cat conftest.err
>&5
16234 ac_save_CPPFLAGS
=$CPPFLAGS
16235 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
16236 ac_fn_c_check_header_compile
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16237 if test "x$ac_cv_header_sane_sane_h" = xyes
16239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16240 printf %s
"checking for sane_init in -lsane... " >&6; }
16241 if test ${ac_cv_lib_sane_sane_init+y}
16243 printf %s
"(cached) " >&6
16245 ac_check_lib_save_LIBS
=$LIBS
16246 LIBS
="-lsane $SANE_LIBS $LIBS"
16247 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16248 /* end confdefs.h. */
16250 /* Override any GCC internal prototype to avoid an error.
16251 Use char because int might match the return type of a GCC
16252 builtin and then its argument prototype would still apply. */
16257 return sane_init ();
16262 if ac_fn_c_try_link
"$LINENO"
16264 ac_cv_lib_sane_sane_init
=yes
16266 ac_cv_lib_sane_sane_init
=no
16268 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16269 conftest
$ac_exeext conftest.
$ac_ext
16270 LIBS
=$ac_check_lib_save_LIBS
16272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16273 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16274 if test "x$ac_cv_lib_sane_sane_init" = xyes
16281 CPPFLAGS
=$ac_save_CPPFLAGS
16284 if test "$ac_cv_lib_sane_sane_init" != "yes"
16286 case "x$with_sane" in
16287 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16289 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
16290 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16292 enable_sane_ds
=${enable_sane_ds:-no}
16295 if test "x$with_usb" != "xno"
16298 if ${USB_CFLAGS:+false} :
16300 if test ${PKG_CONFIG+y}
16302 USB_CFLAGS
=`$PKG_CONFIG --cflags libusb-1.0 2>conftest.err`
16306 if ${USB_LIBS:+false} :
16308 if test ${PKG_CONFIG+y}
16310 USB_LIBS
=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16314 USB_LIBS
=${USB_LIBS:-"-lusb-1.0"}
16315 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16316 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16317 if test -s conftest.err
; then
16318 printf %s
"$as_me:${as_lineno-$LINENO}: libusb-1.0 errors: " >&5
16319 cat conftest.err
>&5
16322 ac_save_CPPFLAGS
=$CPPFLAGS
16323 CPPFLAGS
="$CPPFLAGS $USB_CFLAGS"
16324 ac_fn_c_check_header_compile
"$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16325 if test "x$ac_cv_header_libusb_h" = xyes
16327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16328 printf %s
"checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16329 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16331 printf %s
"(cached) " >&6
16333 ac_check_lib_save_LIBS
=$LIBS
16334 LIBS
="-lusb-1.0 $USB_LIBS $LIBS"
16335 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16336 /* end confdefs.h. */
16338 /* Override any GCC internal prototype to avoid an error.
16339 Use char because int might match the return type of a GCC
16340 builtin and then its argument prototype would still apply. */
16341 char libusb_interrupt_event_handler ();
16345 return libusb_interrupt_event_handler ();
16350 if ac_fn_c_try_link
"$LINENO"
16352 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler
=yes
16354 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler
=no
16356 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16357 conftest
$ac_exeext conftest.
$ac_ext
16358 LIBS
=$ac_check_lib_save_LIBS
16360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16361 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16362 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16373 CPPFLAGS
=$ac_save_CPPFLAGS
16376 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16378 case "x$with_usb" in
16379 x
) as_fn_append wine_notices
"|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16381 *) as_fn_error $?
"libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16382 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16384 enable_wineusb_sys
=${enable_wineusb_sys:-no}
16387 if test "x$with_v4l2" != "xno"
16389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16390 printf %s
"checking for -lv4l2... " >&6; }
16391 if test ${ac_cv_lib_soname_v4l2+y}
16393 printf %s
"(cached) " >&6
16395 ac_check_soname_save_LIBS
=$LIBS
16396 LIBS
="-lv4l2 $LIBS"
16397 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16398 /* end confdefs.h. */
16400 /* Override any GCC internal prototype to avoid an error.
16401 Use char because int might match the return type of a GCC
16402 builtin and then its argument prototype would still apply. */
16407 return v4l2_open ();
16412 if ac_fn_c_try_link
"$LINENO"
16415 dll
) ac_cv_lib_soname_v4l2
=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16416 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'` ;;
16417 *) ac_cv_lib_soname_v4l2
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16418 if ${ac_cv_lib_soname_v4l2:+false} :
16420 ac_cv_lib_soname_v4l2
=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16424 ac_cv_lib_soname_v4l2
=
16426 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16427 conftest
$ac_exeext conftest.
$ac_ext
16428 LIBS
=$ac_check_soname_save_LIBS
16430 if ${ac_cv_lib_soname_v4l2:+false} :
16432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16433 printf "%s\n" "not found" >&6; }
16436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16437 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16439 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16444 if test "x$ac_cv_lib_soname_v4l2" = "x"
16446 case "x$with_v4l2" in
16447 x
) as_fn_append wine_notices
"|libv4l2 ${notice_platform}development files not found." ;;
16449 *) as_fn_error $?
"libv4l2 ${notice_platform}development files not found.
16450 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16455 if test "x$with_gphoto" != "xno"
16458 if ${GPHOTO2_CFLAGS:+false} :
16460 if test ${PKG_CONFIG+y}
16462 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>conftest.err`
16465 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16466 if ${GPHOTO2_LIBS:+false} :
16468 if test ${PKG_CONFIG+y}
16470 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16473 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16474 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
16475 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16476 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16477 if test -s conftest.err
; then
16478 printf %s
"$as_me:${as_lineno-$LINENO}: libgphoto2 errors: " >&5
16479 cat conftest.err
>&5
16482 ac_save_CPPFLAGS
=$CPPFLAGS
16483 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
16484 ac_fn_c_check_header_compile
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16485 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16488 printf %s
"checking for gp_camera_new in -lgphoto2... " >&6; }
16489 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16491 printf %s
"(cached) " >&6
16493 ac_check_lib_save_LIBS
=$LIBS
16494 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16495 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16496 /* end confdefs.h. */
16498 /* Override any GCC internal prototype to avoid an error.
16499 Use char because int might match the return type of a GCC
16500 builtin and then its argument prototype would still apply. */
16501 char gp_camera_new ();
16505 return gp_camera_new ();
16510 if ac_fn_c_try_link
"$LINENO"
16512 ac_cv_lib_gphoto2_gp_camera_new
=yes
16514 ac_cv_lib_gphoto2_gp_camera_new
=no
16516 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16517 conftest
$ac_exeext conftest.
$ac_ext
16518 LIBS
=$ac_check_lib_save_LIBS
16520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16521 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16522 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16529 CPPFLAGS
=$ac_save_CPPFLAGS
16532 if ${GPHOTO2_PORT_CFLAGS:+false} :
16534 if test ${PKG_CONFIG+y}
16536 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>conftest.err`
16539 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16540 if ${GPHOTO2_PORT_LIBS:+false} :
16542 if test ${PKG_CONFIG+y}
16544 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16547 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16548 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16549 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16550 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16551 if test -s conftest.err
; then
16552 printf %s
"$as_me:${as_lineno-$LINENO}: libgphoto2_port errors: " >&5
16553 cat conftest.err
>&5
16556 ac_save_CPPFLAGS
=$CPPFLAGS
16557 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16558 ac_fn_c_check_header_compile
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16559 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16562 printf %s
"checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16563 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16565 printf %s
"(cached) " >&6
16567 ac_check_lib_save_LIBS
=$LIBS
16568 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16569 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16570 /* end confdefs.h. */
16572 /* Override any GCC internal prototype to avoid an error.
16573 Use char because int might match the return type of a GCC
16574 builtin and then its argument prototype would still apply. */
16575 char gp_port_info_list_new ();
16579 return gp_port_info_list_new ();
16584 if ac_fn_c_try_link
"$LINENO"
16586 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
16588 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
16590 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16591 conftest
$ac_exeext conftest.
$ac_ext
16592 LIBS
=$ac_check_lib_save_LIBS
16594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16595 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16596 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16599 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16602 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
16606 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
16609 CPPFLAGS
=$ac_save_CPPFLAGS
16612 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16614 case "x$with_gphoto" in
16615 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16617 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16618 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16620 enable_gphoto2_ds
=${enable_gphoto2_ds:-no}
16622 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16624 case "x$with_gphoto" in
16625 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16627 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16628 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16634 if test "$ac_cv_header_resolv_h" = "yes"
16636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16637 printf %s
"checking for resolver library... " >&6; }
16638 if test ${ac_cv_have_resolv+y}
16640 printf %s
"(cached) " >&6
16642 ac_save_LIBS
="$LIBS"
16643 for lib
in '' -lresolv
16645 LIBS
="$lib $ac_save_LIBS"
16646 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16647 /* end confdefs.h. */
16648 #ifdef HAVE_NETINET_IN_H
16649 #include <netinet/in.h>
16651 #include <resolv.h>
16655 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16660 if ac_fn_c_try_link
"$LINENO"
16662 ac_cv_have_resolv
=${lib:-"none required"}
16664 ac_cv_have_resolv
="not found"
16666 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16667 conftest
$ac_exeext conftest.
$ac_ext
16668 test "x$ac_cv_have_resolv" = "xnot found" ||
break
16670 LIBS
="$ac_save_LIBS"
16672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16673 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16675 case "$ac_cv_have_resolv" in
16679 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16682 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16684 RESOLV_LIBS
=$ac_cv_have_resolv
16688 if test "x$ac_cv_have_resolv" != "xnot found"
16690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16691 printf %s
"checking for res_getservers... " >&6; }
16692 if test ${ac_cv_have_res_getservers+y}
16694 printf %s
"(cached) " >&6
16696 ac_save_LIBS
="$LIBS"
16697 LIBS
="$RESOLV_LIBS $LIBS"
16698 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16699 /* end confdefs.h. */
16700 #include <resolv.h>
16704 res_getservers(NULL, NULL, 0);
16709 if ac_fn_c_try_link
"$LINENO"
16711 ac_cv_have_res_getservers
=yes
16713 ac_cv_have_res_getservers
=no
16715 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16716 conftest
$ac_exeext conftest.
$ac_ext
16717 LIBS
="$ac_save_LIBS"
16719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16720 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16721 if test "$ac_cv_have_res_getservers" = "yes"
16724 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16730 if test "x$with_freetype" != "xno"
16733 if ${FREETYPE_CFLAGS:+false} :
16735 if test ${PKG_CONFIG+y}
16737 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>conftest.err`
16740 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16741 if ${FREETYPE_LIBS:+false} :
16743 if test ${PKG_CONFIG+y}
16745 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16748 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16749 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
16750 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16751 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16752 if test -s conftest.err
; then
16753 printf %s
"$as_me:${as_lineno-$LINENO}: freetype2 errors: " >&5
16754 cat conftest.err
>&5
16757 ac_save_CPPFLAGS
=$CPPFLAGS
16758 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
16759 ac_fn_c_check_header_compile
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16760 if test "x$ac_cv_header_ft2build_h" = xyes
16762 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16766 if test "$ac_cv_header_ft2build_h" = "yes"
16768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16769 printf %s
"checking for -lfreetype... " >&6; }
16770 if test ${ac_cv_lib_soname_freetype+y}
16772 printf %s
"(cached) " >&6
16774 ac_check_soname_save_LIBS
=$LIBS
16775 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
16776 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16777 /* end confdefs.h. */
16779 /* Override any GCC internal prototype to avoid an error.
16780 Use char because int might match the return type of a GCC
16781 builtin and then its argument prototype would still apply. */
16782 char FT_Init_FreeType ();
16786 return FT_Init_FreeType ();
16791 if ac_fn_c_try_link
"$LINENO"
16794 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16795 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'` ;;
16796 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16797 if ${ac_cv_lib_soname_freetype:+false} :
16799 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16803 ac_cv_lib_soname_freetype
=
16805 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16806 conftest
$ac_exeext conftest.
$ac_ext
16807 LIBS
=$ac_check_soname_save_LIBS
16809 if ${ac_cv_lib_soname_freetype:+false} :
16811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16812 printf "%s\n" "not found" >&6; }
16815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16816 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16818 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16821 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16823 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16824 #include FT_MODULE_H
16826 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16829 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16839 CPPFLAGS
=$ac_save_CPPFLAGS
16842 if test "x$ac_cv_lib_soname_freetype" = x
16844 case "x$with_freetype" in
16846 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
16847 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16849 enable_fonts
=${enable_fonts:-no}
16852 ac_wine_check_funcs_save_LIBS
="$LIBS"
16853 LIBS
="$LIBS $PTHREAD_LIBS"
16854 ac_fn_c_check_func
"$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16855 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16857 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16861 LIBS
="$ac_wine_check_funcs_save_LIBS"
16863 if test "x$enable_tools" != xno
-a "x$with_gettextpo" = xyes
16865 if test "$ac_cv_header_gettext_po_h" = "yes"
16867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16868 printf %s
"checking for po_message_msgctxt in -lgettextpo... " >&6; }
16869 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16871 printf %s
"(cached) " >&6
16873 ac_check_lib_save_LIBS
=$LIBS
16874 LIBS
="-lgettextpo $LIBS"
16875 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16876 /* end confdefs.h. */
16878 /* Override any GCC internal prototype to avoid an error.
16879 Use char because int might match the return type of a GCC
16880 builtin and then its argument prototype would still apply. */
16881 char po_message_msgctxt ();
16885 return po_message_msgctxt ();
16890 if ac_fn_c_try_link
"$LINENO"
16892 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
16894 ac_cv_lib_gettextpo_po_message_msgctxt
=no
16896 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16897 conftest
$ac_exeext conftest.
$ac_ext
16898 LIBS
=$ac_check_lib_save_LIBS
16900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16901 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16902 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16905 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16907 GETTEXTPO_LIBS
="-lgettextpo"
16912 if test "x$GETTEXTPO_LIBS" = "x"
16914 case "x$with_gettextpo" in
16915 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16917 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16918 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16922 if test "$srcdir" != .
16924 case "x$with_gettextpo" in
16925 x
) as_fn_append wine_notices
"|Rebuilding po files is not supported for out of tree builds." ;;
16927 *) as_fn_error $?
"Rebuilding po files is not supported for out of tree builds.
16928 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16934 if test "x$with_pulse" != "xno";
16937 if ${PULSE_CFLAGS:+false} :
16939 if test ${PKG_CONFIG+y}
16941 PULSE_CFLAGS
=`$PKG_CONFIG --cflags libpulse 2>conftest.err`
16945 if ${PULSE_LIBS:+false} :
16947 if test ${PKG_CONFIG+y}
16949 PULSE_LIBS
=`$PKG_CONFIG --libs libpulse 2>/dev/null`
16954 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
16955 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
16956 if test -s conftest.err
; then
16957 printf %s
"$as_me:${as_lineno-$LINENO}: libpulse errors: " >&5
16958 cat conftest.err
>&5
16961 ac_save_CPPFLAGS
=$CPPFLAGS
16962 CPPFLAGS
="$CPPFLAGS $PULSE_CFLAGS"
16963 for ac_header
in pulse
/pulseaudio.h
16965 ac_fn_c_check_header_compile
"$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
16966 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
16968 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
16969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
16970 printf %s
"checking for pa_stream_is_corked in -lpulse... " >&6; }
16971 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
16973 printf %s
"(cached) " >&6
16975 ac_check_lib_save_LIBS
=$LIBS
16976 LIBS
="-lpulse $PULSE_LIBS $LIBS"
16977 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16978 /* end confdefs.h. */
16980 /* Override any GCC internal prototype to avoid an error.
16981 Use char because int might match the return type of a GCC
16982 builtin and then its argument prototype would still apply. */
16983 char pa_stream_is_corked ();
16987 return pa_stream_is_corked ();
16992 if ac_fn_c_try_link
"$LINENO"
16994 ac_cv_lib_pulse_pa_stream_is_corked
=yes
16996 ac_cv_lib_pulse_pa_stream_is_corked
=no
16998 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16999 conftest
$ac_exeext conftest.
$ac_ext
17000 LIBS
=$ac_check_lib_save_LIBS
17002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
17003 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
17004 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
17016 CPPFLAGS
=$ac_save_CPPFLAGS
17019 if test -z "$PULSE_LIBS"
17021 case "x$with_pulse" in
17022 x
) as_fn_append wine_notices
"|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
17024 *) as_fn_error $?
"libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
17025 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
17027 enable_winepulse_drv
=${enable_winepulse_drv:-no}
17030 if test "x$with_gstreamer" != "xno"
17033 if ${GSTREAMER_CFLAGS:+false} :
17035 if test ${PKG_CONFIG+y}
17037 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>conftest.err`
17041 if ${GSTREAMER_LIBS:+false} :
17043 if test ${PKG_CONFIG+y}
17045 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>/dev/null`
17050 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 cflags: $GSTREAMER_CFLAGS" >&5
17051 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 libs: $GSTREAMER_LIBS" >&5
17052 if test -s conftest.err
; then
17053 printf %s
"$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 errors: " >&5
17054 cat conftest.err
>&5
17057 ac_save_CPPFLAGS
=$CPPFLAGS
17058 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
17059 ac_fn_c_check_header_compile
"$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
17060 if test "x$ac_cv_header_gst_gst_h" = xyes
17062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
17063 printf %s
"checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
17064 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17065 /* end confdefs.h. */
17066 #include <gst/gst.h>
17070 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17075 if ac_fn_c_try_compile
"$LINENO"
17077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17078 printf "%s\n" "yes" >&6; }
17079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17080 printf %s
"checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17081 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17083 printf %s
"(cached) " >&6
17085 ac_check_lib_save_LIBS
=$LIBS
17086 LIBS
="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17088 /* end confdefs.h. */
17090 /* Override any GCC internal prototype to avoid an error.
17091 Use char because int might match the return type of a GCC
17092 builtin and then its argument prototype would still apply. */
17093 char gst_pad_new ();
17097 return gst_pad_new ();
17102 if ac_fn_c_try_link
"$LINENO"
17104 ac_cv_lib_gstreamer_1_0_gst_pad_new
=yes
17106 ac_cv_lib_gstreamer_1_0_gst_pad_new
=no
17108 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17109 conftest
$ac_exeext conftest.
$ac_ext
17110 LIBS
=$ac_check_lib_save_LIBS
17112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17113 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17114 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17121 printf "%s\n" "no" >&6; }
17122 ac_glib2_broken
=yes
17123 enable_winegstreamer
=${enable_winegstreamer:-no}
17124 as_fn_append wine_notices
"|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17126 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17129 CPPFLAGS
=$ac_save_CPPFLAGS
17132 if test "x$ac_glib2_broken" != xyes
-a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17134 case "x$with_gstreamer" in
17135 x
) as_fn_append wine_notices
"|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17137 *) as_fn_error $?
"gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17138 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17140 enable_winegstreamer
=${enable_winegstreamer:-no}
17145 if test "x$with_alsa" != "xno"
17147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17148 printf %s
"checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17149 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17151 printf %s
"(cached) " >&6
17153 ac_check_lib_save_LIBS
=$LIBS
17154 LIBS
="-lasound $LIBS"
17155 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17156 /* end confdefs.h. */
17158 /* Override any GCC internal prototype to avoid an error.
17159 Use char because int might match the return type of a GCC
17160 builtin and then its argument prototype would still apply. */
17161 char snd_pcm_hw_params_get_access_mask ();
17165 return snd_pcm_hw_params_get_access_mask ();
17170 if ac_fn_c_try_link
"$LINENO"
17172 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
17174 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
17176 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17177 conftest
$ac_exeext conftest.
$ac_ext
17178 LIBS
=$ac_check_lib_save_LIBS
17180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17181 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17182 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17184 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17185 /* end confdefs.h. */
17186 #include <alsa/asoundlib.h>
17190 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17195 if ac_fn_c_try_compile
"$LINENO"
17197 ALSA_LIBS
="-lasound"
17199 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17203 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
17205 if test "x$with_oss" != xno
17207 ac_save_CPPFLAGS
="$CPPFLAGS"
17208 if test -f /etc
/oss.conf
17212 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17213 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
17214 ac_fn_c_check_header_compile
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17215 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17217 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17219 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17222 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17224 OSS4_CFLAGS
="$ac_oss_incl"
17226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17227 printf %s
"checking for _oss_ioctl in -lossaudio... " >&6; }
17228 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17230 printf %s
"(cached) " >&6
17232 ac_check_lib_save_LIBS
=$LIBS
17233 LIBS
="-lossaudio $LIBS"
17234 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17235 /* end confdefs.h. */
17237 /* Override any GCC internal prototype to avoid an error.
17238 Use char because int might match the return type of a GCC
17239 builtin and then its argument prototype would still apply. */
17240 char _oss_ioctl ();
17244 return _oss_ioctl ();
17249 if ac_fn_c_try_link
"$LINENO"
17251 ac_cv_lib_ossaudio__oss_ioctl
=yes
17253 ac_cv_lib_ossaudio__oss_ioctl
=no
17255 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17256 conftest
$ac_exeext conftest.
$ac_ext
17257 LIBS
=$ac_check_lib_save_LIBS
17259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17260 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17261 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17263 OSS4_LIBS
="-lossaudio"
17271 CPPFLAGS
="$ac_save_CPPFLAGS"
17273 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17275 case "x$with_oss" in
17276 x
) as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17278 *) as_fn_error $?
"OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17279 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17281 enable_wineoss_drv
=${enable_wineoss_drv:-no}
17284 if test "x$with_udev" != "xno"
17287 if ${UDEV_CFLAGS:+false} :
17289 if test ${PKG_CONFIG+y}
17291 UDEV_CFLAGS
=`$PKG_CONFIG --cflags libudev 2>conftest.err`
17295 if ${UDEV_LIBS:+false} :
17297 if test ${PKG_CONFIG+y}
17299 UDEV_LIBS
=`$PKG_CONFIG --libs libudev 2>/dev/null`
17303 UDEV_LIBS
=${UDEV_LIBS:-"-ludev"}
17304 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17305 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17306 if test -s conftest.err
; then
17307 printf %s
"$as_me:${as_lineno-$LINENO}: libudev errors: " >&5
17308 cat conftest.err
>&5
17311 ac_save_CPPFLAGS
=$CPPFLAGS
17312 CPPFLAGS
="$CPPFLAGS $UDEV_CFLAGS"
17313 for ac_header
in libudev.h
17315 ac_fn_c_check_header_compile
"$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17316 if test "x$ac_cv_header_libudev_h" = xyes
17318 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17320 printf %s
"checking for udev_new in -ludev... " >&6; }
17321 if test ${ac_cv_lib_udev_udev_new+y}
17323 printf %s
"(cached) " >&6
17325 ac_check_lib_save_LIBS
=$LIBS
17326 LIBS
="-ludev $UDEV_LIBS $LIBS"
17327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17328 /* end confdefs.h. */
17330 /* Override any GCC internal prototype to avoid an error.
17331 Use char because int might match the return type of a GCC
17332 builtin and then its argument prototype would still apply. */
17337 return udev_new ();
17342 if ac_fn_c_try_link
"$LINENO"
17344 ac_cv_lib_udev_udev_new
=yes
17346 ac_cv_lib_udev_udev_new
=no
17348 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17349 conftest
$ac_exeext conftest.
$ac_ext
17350 LIBS
=$ac_check_lib_save_LIBS
17352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17353 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17354 if test "x$ac_cv_lib_udev_udev_new" = xyes
17357 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17368 CPPFLAGS
=$ac_save_CPPFLAGS
17371 if test "x$UDEV_LIBS" = "x"
17373 case "x$with_udev" in
17374 x
) as_fn_append wine_notices
"|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17376 *) as_fn_error $?
"libudev ${notice_platform}development files not found, plug and play won't be supported.
17377 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17382 if test "x$with_unwind" != xno
17385 if ${UNWIND_CFLAGS:+false} :
17387 if test ${PKG_CONFIG+y}
17389 UNWIND_CFLAGS
=`$PKG_CONFIG --cflags libunwind 2>conftest.err`
17393 if ${UNWIND_LIBS:+false} :
17395 if test ${PKG_CONFIG+y}
17397 UNWIND_LIBS
=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17401 UNWIND_LIBS
=${UNWIND_LIBS:-"-lunwind"}
17402 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17403 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17404 if test -s conftest.err
; then
17405 printf %s
"$as_me:${as_lineno-$LINENO}: libunwind errors: " >&5
17406 cat conftest.err
>&5
17409 ac_save_CPPFLAGS
=$CPPFLAGS
17410 CPPFLAGS
="$CPPFLAGS $UNWIND_CFLAGS"
17411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17412 printf %s
"checking for unw_step... " >&6; }
17413 if test ${wine_cv_have_unw_step+y}
17415 printf %s
"(cached) " >&6
17417 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17418 /* end confdefs.h. */
17419 #define UNW_LOCAL_ONLY
17420 #include <libunwind.h>
17424 unw_cursor_t cursor; unw_step( &cursor );
17429 if ac_fn_c_try_link
"$LINENO"
17431 wine_cv_have_unw_step
="yes"
17433 wine_cv_have_unw_step
="no"
17435 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17436 conftest
$ac_exeext conftest.
$ac_ext
17438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17439 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17440 if test "$wine_cv_have_unw_step" = no
-a -n "$UNWIND_LIBS"
17443 UNWIND_LIBS
="-static-libgcc $UNWIND_LIBS"
17444 LIBS
="$UNWIND_LIBS $LIBS"
17445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17446 printf %s
"checking for unw_step in libunwind... " >&6; }
17447 if test ${wine_cv_have_libunwind_unw_step+y}
17449 printf %s
"(cached) " >&6
17451 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17452 /* end confdefs.h. */
17453 #define UNW_LOCAL_ONLY
17454 #include <libunwind.h>
17458 unw_cursor_t cursor; unw_step( &cursor );
17463 if ac_fn_c_try_link
"$LINENO"
17465 wine_cv_have_libunwind_unw_step
="yes"
17467 wine_cv_have_libunwind_unw_step
="no"
17469 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17470 conftest
$ac_exeext conftest.
$ac_ext
17472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17473 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17476 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS
=""
17477 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17480 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17483 CPPFLAGS
=$ac_save_CPPFLAGS
17487 aarch64
*|
*-darwin*)
17488 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17490 case "x$with_unwind" in
17491 x
) as_fn_append wine_notices
"|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17493 *) as_fn_error $?
"libunwind ${notice_platform}development files not found, stack unwinding won't work.
17494 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17500 if test "x$with_sdl" != "xno"
17503 if ${SDL2_CFLAGS:+false} :
17505 if test ${PKG_CONFIG+y}
17507 SDL2_CFLAGS
=`$PKG_CONFIG --cflags sdl2 2>conftest.err`
17511 if ${SDL2_LIBS:+false} :
17513 if test ${PKG_CONFIG+y}
17515 SDL2_LIBS
=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17519 SDL2_LIBS
=${SDL2_LIBS:-"-lSDL2"}
17520 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17521 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17522 if test -s conftest.err
; then
17523 printf %s
"$as_me:${as_lineno-$LINENO}: sdl2 errors: " >&5
17524 cat conftest.err
>&5
17527 ac_save_CPPFLAGS
=$CPPFLAGS
17528 CPPFLAGS
="$CPPFLAGS $SDL2_CFLAGS"
17529 for ac_header
in SDL.h
17531 ac_fn_c_check_header_compile
"$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17532 if test "x$ac_cv_header_SDL_h" = xyes
17534 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17536 printf %s
"checking for -lSDL2... " >&6; }
17537 if test ${ac_cv_lib_soname_SDL2+y}
17539 printf %s
"(cached) " >&6
17541 ac_check_soname_save_LIBS
=$LIBS
17542 LIBS
="-lSDL2 $SDL2_LIBS $LIBS"
17543 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17544 /* end confdefs.h. */
17546 /* Override any GCC internal prototype to avoid an error.
17547 Use char because int might match the return type of a GCC
17548 builtin and then its argument prototype would still apply. */
17553 return SDL_Init ();
17558 if ac_fn_c_try_link
"$LINENO"
17561 dll
) ac_cv_lib_soname_SDL2
=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17562 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'` ;;
17563 *) 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'`
17564 if ${ac_cv_lib_soname_SDL2:+false} :
17566 ac_cv_lib_soname_SDL2
=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17570 ac_cv_lib_soname_SDL2
=
17572 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17573 conftest
$ac_exeext conftest.
$ac_ext
17574 LIBS
=$ac_check_soname_save_LIBS
17576 if ${ac_cv_lib_soname_SDL2:+false} :
17578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17579 printf "%s\n" "not found" >&6; }
17582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17583 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17585 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17592 CPPFLAGS
=$ac_save_CPPFLAGS
17595 if test "x$ac_cv_lib_soname_SDL2" = "x"
17597 case "x$with_sdl" in
17598 x
) as_fn_append wine_notices
"|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17600 *) as_fn_error $?
"libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17601 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17606 if test "x$with_capi" != "xno"
17609 if ${CAPI20_CFLAGS:+false} :
17611 if test ${PKG_CONFIG+y}
17613 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>conftest.err`
17617 if ${CAPI20_LIBS:+false} :
17619 if test ${PKG_CONFIG+y}
17621 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
17626 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17627 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17628 if test -s conftest.err
; then
17629 printf %s
"$as_me:${as_lineno-$LINENO}: capi20 errors: " >&5
17630 cat conftest.err
>&5
17633 ac_save_CPPFLAGS
=$CPPFLAGS
17634 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
17635 ac_fn_c_check_header_compile
"$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17637 if test "x$ac_cv_header_capi20_h" = xyes
17639 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17642 ac_fn_c_check_header_compile
"$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17644 if test "x$ac_cv_header_linux_capi_h" = xyes
17646 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17650 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17653 printf %s
"checking for capi20_register in -lcapi20... " >&6; }
17654 if test ${ac_cv_lib_capi20_capi20_register+y}
17656 printf %s
"(cached) " >&6
17658 ac_check_lib_save_LIBS
=$LIBS
17659 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
17660 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17661 /* end confdefs.h. */
17663 /* Override any GCC internal prototype to avoid an error.
17664 Use char because int might match the return type of a GCC
17665 builtin and then its argument prototype would still apply. */
17666 char capi20_register ();
17670 return capi20_register ();
17675 if ac_fn_c_try_link
"$LINENO"
17677 ac_cv_lib_capi20_capi20_register
=yes
17679 ac_cv_lib_capi20_capi20_register
=no
17681 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17682 conftest
$ac_exeext conftest.
$ac_ext
17683 LIBS
=$ac_check_lib_save_LIBS
17685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17686 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17687 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17695 CPPFLAGS
=$ac_save_CPPFLAGS
17698 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17700 case "x$with_capi" in
17701 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17703 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17704 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17706 enable_capi2032
=${enable_capi2032:-no}
17709 if test "x$with_cups" != "xno"
17712 if ${CUPS_CFLAGS:+false} :
17714 if test ${PKG_CONFIG+y}
17716 CUPS_CFLAGS
=`$PKG_CONFIG --cflags cups 2>conftest.err`
17719 test "$cross_compiling" = yes || CUPS_CFLAGS
=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17720 if ${CUPS_LIBS:+false} :
17722 if test ${PKG_CONFIG+y}
17724 CUPS_LIBS
=`$PKG_CONFIG --libs cups 2>/dev/null`
17727 test "$cross_compiling" = yes || CUPS_LIBS
=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17728 CUPS_LIBS
=${CUPS_LIBS:-"-lcups"}
17729 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17730 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17731 if test -s conftest.err
; then
17732 printf %s
"$as_me:${as_lineno-$LINENO}: cups errors: " >&5
17733 cat conftest.err
>&5
17736 ac_save_CPPFLAGS
=$CPPFLAGS
17737 CPPFLAGS
="$CPPFLAGS $CUPS_CFLAGS"
17738 ac_fn_c_check_header_compile
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17739 if test "x$ac_cv_header_cups_cups_h" = xyes
17741 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17744 ac_fn_c_check_header_compile
"$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17745 if test "x$ac_cv_header_cups_ppd_h" = xyes
17747 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17751 if test "$ac_cv_header_cups_cups_h" = "yes"
17753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17754 printf %s
"checking for -lcups... " >&6; }
17755 if test ${ac_cv_lib_soname_cups+y}
17757 printf %s
"(cached) " >&6
17759 ac_check_soname_save_LIBS
=$LIBS
17760 LIBS
="-lcups $CUPS_LIBS $LIBS"
17761 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17762 /* end confdefs.h. */
17764 /* Override any GCC internal prototype to avoid an error.
17765 Use char because int might match the return type of a GCC
17766 builtin and then its argument prototype would still apply. */
17767 char cupsGetDefault ();
17771 return cupsGetDefault ();
17776 if ac_fn_c_try_link
"$LINENO"
17779 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17780 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'` ;;
17781 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17782 if ${ac_cv_lib_soname_cups:+false} :
17784 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17788 ac_cv_lib_soname_cups
=
17790 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17791 conftest
$ac_exeext conftest.
$ac_ext
17792 LIBS
=$ac_check_soname_save_LIBS
17794 if ${ac_cv_lib_soname_cups:+false} :
17796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17797 printf "%s\n" "not found" >&6; }
17800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17801 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17803 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17811 CPPFLAGS
=$ac_save_CPPFLAGS
17814 if test "x$ac_cv_lib_soname_cups" = "x"
17816 case "x$with_cups" in
17817 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17819 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
17820 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17825 if test "x$with_fontconfig" != "xno"
17828 if ${FONTCONFIG_CFLAGS:+false} :
17830 if test ${PKG_CONFIG+y}
17832 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>conftest.err`
17835 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17836 if ${FONTCONFIG_LIBS:+false} :
17838 if test ${PKG_CONFIG+y}
17840 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17843 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
17845 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17846 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17847 if test -s conftest.err
; then
17848 printf %s
"$as_me:${as_lineno-$LINENO}: fontconfig errors: " >&5
17849 cat conftest.err
>&5
17852 ac_save_CPPFLAGS
=$CPPFLAGS
17853 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
17854 ac_fn_c_check_header_compile
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17855 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17857 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17861 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17864 printf %s
"checking for -lfontconfig... " >&6; }
17865 if test ${ac_cv_lib_soname_fontconfig+y}
17867 printf %s
"(cached) " >&6
17869 ac_check_soname_save_LIBS
=$LIBS
17870 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17872 /* end confdefs.h. */
17874 /* Override any GCC internal prototype to avoid an error.
17875 Use char because int might match the return type of a GCC
17876 builtin and then its argument prototype would still apply. */
17886 if ac_fn_c_try_link
"$LINENO"
17889 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17890 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'` ;;
17891 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17892 if ${ac_cv_lib_soname_fontconfig:+false} :
17894 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17898 ac_cv_lib_soname_fontconfig
=
17900 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17901 conftest
$ac_exeext conftest.
$ac_ext
17902 LIBS
=$ac_check_soname_save_LIBS
17904 if ${ac_cv_lib_soname_fontconfig:+false} :
17906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17907 printf "%s\n" "not found" >&6; }
17908 FONTCONFIG_CFLAGS
=""
17910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17911 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17913 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17918 FONTCONFIG_CFLAGS
=""
17920 CPPFLAGS
=$ac_save_CPPFLAGS
17923 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17925 case "x$with_fontconfig" in
17926 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17928 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17929 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17934 if test "x$with_krb5" != "xno"
17937 if ${KRB5_CFLAGS:+false} :
17939 if test ${PKG_CONFIG+y}
17941 KRB5_CFLAGS
=`$PKG_CONFIG --cflags krb5 2>conftest.err`
17944 test "$cross_compiling" = yes || KRB5_CFLAGS
=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17945 if ${KRB5_LIBS:+false} :
17947 if test ${PKG_CONFIG+y}
17949 KRB5_LIBS
=`$PKG_CONFIG --libs krb5 2>/dev/null`
17952 test "$cross_compiling" = yes || KRB5_LIBS
=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17954 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17955 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17956 if test -s conftest.err
; then
17957 printf %s
"$as_me:${as_lineno-$LINENO}: krb5 errors: " >&5
17958 cat conftest.err
>&5
17961 ac_save_CPPFLAGS
=$CPPFLAGS
17962 CPPFLAGS
="$CPPFLAGS $KRB5_CFLAGS"
17963 ac_fn_c_check_header_compile
"$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17964 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17966 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17970 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17973 printf %s
"checking for -lkrb5... " >&6; }
17974 if test ${ac_cv_lib_soname_krb5+y}
17976 printf %s
"(cached) " >&6
17978 ac_check_soname_save_LIBS
=$LIBS
17979 LIBS
="-lkrb5 $KRB5_LIBS $LIBS"
17980 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17981 /* end confdefs.h. */
17983 /* Override any GCC internal prototype to avoid an error.
17984 Use char because int might match the return type of a GCC
17985 builtin and then its argument prototype would still apply. */
17986 char krb5_is_config_principal ();
17990 return krb5_is_config_principal ();
17995 if ac_fn_c_try_link
"$LINENO"
17998 dll
) ac_cv_lib_soname_krb5
=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17999 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'` ;;
18000 *) ac_cv_lib_soname_krb5
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18001 if ${ac_cv_lib_soname_krb5:+false} :
18003 ac_cv_lib_soname_krb5
=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18007 ac_cv_lib_soname_krb5
=
18009 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18010 conftest
$ac_exeext conftest.
$ac_ext
18011 LIBS
=$ac_check_soname_save_LIBS
18013 if ${ac_cv_lib_soname_krb5:+false} :
18015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18016 printf "%s\n" "not found" >&6; }
18019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
18020 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
18022 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
18029 CPPFLAGS
=$ac_save_CPPFLAGS
18032 if test "x$ac_cv_lib_soname_krb5" = "x"
18034 case "x$with_krb5" in
18035 x
) as_fn_append wine_notices
"|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
18037 *) as_fn_error $?
"libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
18038 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
18042 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi
=${with_gssapi:-no}
18044 if test "x$with_gssapi" != "xno"
18047 if ${GSSAPI_CFLAGS:+false} :
18049 if test ${PKG_CONFIG+y}
18051 GSSAPI_CFLAGS
=`$PKG_CONFIG --cflags krb5-gssapi 2>conftest.err`
18054 test "$cross_compiling" = yes || GSSAPI_CFLAGS
=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
18055 if ${GSSAPI_LIBS:+false} :
18057 if test ${PKG_CONFIG+y}
18059 GSSAPI_LIBS
=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
18062 test "$cross_compiling" = yes || GSSAPI_LIBS
=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
18064 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
18065 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
18066 if test -s conftest.err
; then
18067 printf %s
"$as_me:${as_lineno-$LINENO}: krb5-gssapi errors: " >&5
18068 cat conftest.err
>&5
18071 ac_save_CPPFLAGS
=$CPPFLAGS
18072 CPPFLAGS
="$CPPFLAGS $GSSAPI_CFLAGS"
18073 ac_fn_c_check_header_compile
"$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
18074 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
18076 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
18079 ac_fn_c_check_header_compile
"$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
18080 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
18082 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
18086 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
18088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
18089 printf %s
"checking for -lgssapi_krb5... " >&6; }
18090 if test ${ac_cv_lib_soname_gssapi_krb5+y}
18092 printf %s
"(cached) " >&6
18094 ac_check_soname_save_LIBS
=$LIBS
18095 LIBS
="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
18096 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18097 /* end confdefs.h. */
18099 /* Override any GCC internal prototype to avoid an error.
18100 Use char because int might match the return type of a GCC
18101 builtin and then its argument prototype would still apply. */
18102 char gss_init_sec_context ();
18106 return gss_init_sec_context ();
18111 if ac_fn_c_try_link
"$LINENO"
18114 dll
) ac_cv_lib_soname_gssapi_krb5
=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18115 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'` ;;
18116 *) 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'`
18117 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18119 ac_cv_lib_soname_gssapi_krb5
=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18123 ac_cv_lib_soname_gssapi_krb5
=
18125 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18126 conftest
$ac_exeext conftest.
$ac_ext
18127 LIBS
=$ac_check_soname_save_LIBS
18129 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18132 printf "%s\n" "not found" >&6; }
18135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18136 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18138 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18145 CPPFLAGS
=$ac_save_CPPFLAGS
18148 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18150 case "x$with_gssapi" in
18151 x
) as_fn_append wine_notices
"|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18153 *) as_fn_error $?
"libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18154 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18159 if test "$ac_cv_header_libprocstat_h" = "yes"
18161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18162 printf %s
"checking for procstat_open_sysctl in -lprocstat... " >&6; }
18163 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18165 printf %s
"(cached) " >&6
18167 ac_check_lib_save_LIBS
=$LIBS
18168 LIBS
="-lprocstat $LIBS"
18169 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18170 /* end confdefs.h. */
18172 /* Override any GCC internal prototype to avoid an error.
18173 Use char because int might match the return type of a GCC
18174 builtin and then its argument prototype would still apply. */
18175 char procstat_open_sysctl ();
18179 return procstat_open_sysctl ();
18184 if ac_fn_c_try_link
"$LINENO"
18186 ac_cv_lib_procstat_procstat_open_sysctl
=yes
18188 ac_cv_lib_procstat_procstat_open_sysctl
=no
18190 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18191 conftest
$ac_exeext conftest.
$ac_ext
18192 LIBS
=$ac_check_lib_save_LIBS
18194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18195 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18196 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18199 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18201 PROCSTAT_LIBS
="-lprocstat"
18207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18208 printf %s
"checking for -lodbc... " >&6; }
18209 if test ${ac_cv_lib_soname_odbc+y}
18211 printf %s
"(cached) " >&6
18213 ac_check_soname_save_LIBS
=$LIBS
18214 LIBS
="-lodbc $LIBS"
18215 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18216 /* end confdefs.h. */
18218 /* Override any GCC internal prototype to avoid an error.
18219 Use char because int might match the return type of a GCC
18220 builtin and then its argument prototype would still apply. */
18221 char SQLConnect ();
18225 return SQLConnect ();
18230 if ac_fn_c_try_link
"$LINENO"
18233 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18234 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'` ;;
18235 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18236 if ${ac_cv_lib_soname_odbc:+false} :
18238 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18242 ac_cv_lib_soname_odbc
=
18244 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18245 conftest
$ac_exeext conftest.
$ac_ext
18246 LIBS
=$ac_check_soname_save_LIBS
18248 if ${ac_cv_lib_soname_odbc:+false} :
18250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18251 printf "%s\n" "not found" >&6; }
18252 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18256 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18258 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18263 if test "x$with_netapi" != "xno"
18266 if ${NETAPI_CFLAGS:+false} :
18268 if test ${PKG_CONFIG+y}
18270 NETAPI_CFLAGS
=`$PKG_CONFIG --cflags netapi 2>conftest.err`
18274 if ${NETAPI_LIBS:+false} :
18276 if test ${PKG_CONFIG+y}
18278 NETAPI_LIBS
=`$PKG_CONFIG --libs netapi 2>/dev/null`
18283 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18284 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18285 if test -s conftest.err
; then
18286 printf %s
"$as_me:${as_lineno-$LINENO}: netapi errors: " >&5
18287 cat conftest.err
>&5
18290 ac_save_CPPFLAGS
=$CPPFLAGS
18291 CPPFLAGS
="$CPPFLAGS $NETAPI_CFLAGS"
18292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18293 printf %s
"checking for -lnetapi... " >&6; }
18294 if test ${ac_cv_lib_soname_netapi+y}
18296 printf %s
"(cached) " >&6
18298 ac_check_soname_save_LIBS
=$LIBS
18299 LIBS
="-lnetapi $NETAPI_LIBS $LIBS"
18300 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18301 /* end confdefs.h. */
18303 /* Override any GCC internal prototype to avoid an error.
18304 Use char because int might match the return type of a GCC
18305 builtin and then its argument prototype would still apply. */
18306 char libnetapi_init ();
18310 return libnetapi_init ();
18315 if ac_fn_c_try_link
"$LINENO"
18318 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18319 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'` ;;
18320 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18321 if ${ac_cv_lib_soname_netapi:+false} :
18323 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18327 ac_cv_lib_soname_netapi
=
18329 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18330 conftest
$ac_exeext conftest.
$ac_ext
18331 LIBS
=$ac_check_soname_save_LIBS
18333 if ${ac_cv_lib_soname_netapi:+false} :
18335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18336 printf "%s\n" "not found" >&6; }
18337 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18341 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18343 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18347 CPPFLAGS
=$ac_save_CPPFLAGS
18350 if test "x$ac_cv_lib_soname_netapi" = "x"
18352 case "x$with_netapi" in
18353 x
) as_fn_append wine_notices
"|libnetapi not found, Samba NetAPI won't be supported." ;;
18355 *) as_fn_error $?
"libnetapi not found, Samba NetAPI won't be supported.
18356 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18358 enable_netapi
=${enable_netapi:-no}
18362 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono
-a \
18363 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18365 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
18368 if test "x$with_vulkan" != "xno"
18370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18371 printf %s
"checking for -lvulkan... " >&6; }
18372 if test ${ac_cv_lib_soname_vulkan+y}
18374 printf %s
"(cached) " >&6
18376 ac_check_soname_save_LIBS
=$LIBS
18377 LIBS
="-lvulkan $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_vulkan
=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18397 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'` ;;
18398 *) ac_cv_lib_soname_vulkan
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18399 if ${ac_cv_lib_soname_vulkan:+false} :
18401 ac_cv_lib_soname_vulkan
=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18405 ac_cv_lib_soname_vulkan
=
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_vulkan:+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_vulkan" >&5
18418 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18420 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18424 if test "x$ac_cv_lib_soname_vulkan" = "x"
18426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18427 printf %s
"checking for -lMoltenVK... " >&6; }
18428 if test ${ac_cv_lib_soname_MoltenVK+y}
18430 printf %s
"(cached) " >&6
18432 ac_check_soname_save_LIBS
=$LIBS
18433 LIBS
="-lMoltenVK $LIBS"
18434 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18435 /* end confdefs.h. */
18437 /* Override any GCC internal prototype to avoid an error.
18438 Use char because int might match the return type of a GCC
18439 builtin and then its argument prototype would still apply. */
18440 char vkGetInstanceProcAddr ();
18444 return vkGetInstanceProcAddr ();
18449 if ac_fn_c_try_link
"$LINENO"
18452 dll
) ac_cv_lib_soname_MoltenVK
=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18453 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'` ;;
18454 *) ac_cv_lib_soname_MoltenVK
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18455 if ${ac_cv_lib_soname_MoltenVK:+false} :
18457 ac_cv_lib_soname_MoltenVK
=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18461 ac_cv_lib_soname_MoltenVK
=
18463 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18464 conftest
$ac_exeext conftest.
$ac_ext
18465 LIBS
=$ac_check_soname_save_LIBS
18467 if ${ac_cv_lib_soname_MoltenVK:+false} :
18469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18470 printf "%s\n" "not found" >&6; }
18473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18474 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18476 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18482 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18484 case "x$with_vulkan" in
18485 x
) as_fn_append wine_notices
"|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18487 *) as_fn_error $?
"libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18488 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18494 if test "x${GCC}" = "xyes"
18496 EXTRACFLAGS
="$EXTRACFLAGS -Wall -pipe"
18498 saved_CFLAGS
=$CFLAGS
18499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18500 printf %s
"checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18501 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18503 printf %s
"(cached) " >&6
18505 ac_wine_try_cflags_saved
=$CFLAGS
18506 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
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_unknown_warning_option
=yes
18515 ac_cv_cflags__Werror_unknown_warning_option
=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_unknown_warning_option" >&5
18522 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18523 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18525 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
18527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18528 printf %s
"checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18529 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18531 printf %s
"(cached) " >&6
18533 ac_wine_try_cflags_saved
=$CFLAGS
18534 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
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__Werror_unused_command_line_argument
=yes
18543 ac_cv_cflags__Werror_unused_command_line_argument
=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__Werror_unused_command_line_argument" >&5
18550 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18551 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18553 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
18555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18556 printf %s
"checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18557 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18559 printf %s
"(cached) " >&6
18561 ac_wine_try_cflags_saved
=$CFLAGS
18562 CFLAGS
="$CFLAGS -Werror=ignored-optimization-argument"
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__Werror_ignored_optimization_argument
=yes
18571 ac_cv_cflags__Werror_ignored_optimization_argument
=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__Werror_ignored_optimization_argument" >&5
18578 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18579 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18581 CFLAGS
="$CFLAGS -Werror=ignored-optimization-argument"
18583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18584 printf %s
"checking whether the compiler supports -fcf-protection=none... " >&6; }
18585 if test ${ac_cv_cflags__fcf_protection_none+y}
18587 printf %s
"(cached) " >&6
18589 ac_wine_try_cflags_saved
=$CFLAGS
18590 CFLAGS
="$CFLAGS -fcf-protection=none"
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__fcf_protection_none
=yes
18599 ac_cv_cflags__fcf_protection_none
=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__fcf_protection_none" >&5
18606 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18607 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18609 EXTRACFLAGS
="$EXTRACFLAGS -fcf-protection=none"
18611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18612 printf %s
"checking whether the compiler supports -fno-stack-protector... " >&6; }
18613 if test ${ac_cv_cflags__fno_stack_protector+y}
18615 printf %s
"(cached) " >&6
18617 ac_wine_try_cflags_saved
=$CFLAGS
18618 CFLAGS
="$CFLAGS -fno-stack-protector"
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__fno_stack_protector
=yes
18627 ac_cv_cflags__fno_stack_protector
=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__fno_stack_protector" >&5
18634 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18635 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18637 EXTRACFLAGS
="$EXTRACFLAGS -fno-stack-protector"
18639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18640 printf %s
"checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18641 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18643 printf %s
"(cached) " >&6
18645 ac_wine_try_cflags_saved
=$CFLAGS
18646 CFLAGS
="$CFLAGS -fno-strict-aliasing"
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__fno_strict_aliasing
=yes
18655 ac_cv_cflags__fno_strict_aliasing
=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__fno_strict_aliasing" >&5
18662 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18663 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18665 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
18667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18668 printf %s
"checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18669 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18671 printf %s
"(cached) " >&6
18673 ac_wine_try_cflags_saved
=$CFLAGS
18674 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
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__Wdeclaration_after_statement
=yes
18683 ac_cv_cflags__Wdeclaration_after_statement
=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__Wdeclaration_after_statement" >&5
18690 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18691 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18693 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
18695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18696 printf %s
"checking whether the compiler supports -Wempty-body... " >&6; }
18697 if test ${ac_cv_cflags__Wempty_body+y}
18699 printf %s
"(cached) " >&6
18701 ac_wine_try_cflags_saved
=$CFLAGS
18702 CFLAGS
="$CFLAGS -Wempty-body"
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__Wempty_body
=yes
18711 ac_cv_cflags__Wempty_body
=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__Wempty_body" >&5
18718 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18719 if test "x$ac_cv_cflags__Wempty_body" = xyes
18721 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
18723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18724 printf %s
"checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18725 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18727 printf %s
"(cached) " >&6
18729 ac_wine_try_cflags_saved
=$CFLAGS
18730 CFLAGS
="$CFLAGS -Wignored-qualifiers"
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__Wignored_qualifiers
=yes
18739 ac_cv_cflags__Wignored_qualifiers
=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__Wignored_qualifiers" >&5
18746 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18747 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18749 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
18751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18752 printf %s
"checking whether the compiler supports -Winit-self... " >&6; }
18753 if test ${ac_cv_cflags__Winit_self+y}
18755 printf %s
"(cached) " >&6
18757 ac_wine_try_cflags_saved
=$CFLAGS
18758 CFLAGS
="$CFLAGS -Winit-self"
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__Winit_self
=yes
18767 ac_cv_cflags__Winit_self
=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__Winit_self" >&5
18774 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18775 if test "x$ac_cv_cflags__Winit_self" = xyes
18777 EXTRACFLAGS
="$EXTRACFLAGS -Winit-self"
18779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18780 printf %s
"checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18781 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18783 printf %s
"(cached) " >&6
18785 ac_wine_try_cflags_saved
=$CFLAGS
18786 CFLAGS
="$CFLAGS -Wpacked-not-aligned"
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__Wpacked_not_aligned
=yes
18795 ac_cv_cflags__Wpacked_not_aligned
=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__Wpacked_not_aligned" >&5
18802 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18803 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18805 EXTRACFLAGS
="$EXTRACFLAGS -Wno-packed-not-aligned"
18807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18808 printf %s
"checking whether the compiler supports -Wpragma-pack... " >&6; }
18809 if test ${ac_cv_cflags__Wpragma_pack+y}
18811 printf %s
"(cached) " >&6
18813 ac_wine_try_cflags_saved
=$CFLAGS
18814 CFLAGS
="$CFLAGS -Wpragma-pack"
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__Wpragma_pack
=yes
18823 ac_cv_cflags__Wpragma_pack
=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__Wpragma_pack" >&5
18830 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18831 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18833 EXTRACFLAGS
="$EXTRACFLAGS -Wno-pragma-pack"
18835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18836 printf %s
"checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18837 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18839 printf %s
"(cached) " >&6
18841 ac_wine_try_cflags_saved
=$CFLAGS
18842 CFLAGS
="$CFLAGS -Wshift-overflow=2"
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__Wshift_overflow_2
=yes
18851 ac_cv_cflags__Wshift_overflow_2
=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__Wshift_overflow_2" >&5
18858 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18859 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18861 EXTRACFLAGS
="$EXTRACFLAGS -Wshift-overflow=2"
18863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18864 printf %s
"checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18865 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18867 printf %s
"(cached) " >&6
18869 ac_wine_try_cflags_saved
=$CFLAGS
18870 CFLAGS
="$CFLAGS -Wstrict-prototypes"
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__Wstrict_prototypes
=yes
18879 ac_cv_cflags__Wstrict_prototypes
=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__Wstrict_prototypes" >&5
18886 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18887 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18889 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
18891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18892 printf %s
"checking whether the compiler supports -Wtype-limits... " >&6; }
18893 if test ${ac_cv_cflags__Wtype_limits+y}
18895 printf %s
"(cached) " >&6
18897 ac_wine_try_cflags_saved
=$CFLAGS
18898 CFLAGS
="$CFLAGS -Wtype-limits"
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__Wtype_limits
=yes
18907 ac_cv_cflags__Wtype_limits
=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__Wtype_limits" >&5
18914 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18915 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18917 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
18919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18920 printf %s
"checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18921 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18923 printf %s
"(cached) " >&6
18925 ac_wine_try_cflags_saved
=$CFLAGS
18926 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
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__Wunused_but_set_parameter
=yes
18935 ac_cv_cflags__Wunused_but_set_parameter
=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__Wunused_but_set_parameter" >&5
18942 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
18943 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
18945 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
18947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
18948 printf %s
"checking whether the compiler supports -Wvla... " >&6; }
18949 if test ${ac_cv_cflags__Wvla+y}
18951 printf %s
"(cached) " >&6
18953 ac_wine_try_cflags_saved
=$CFLAGS
18954 CFLAGS
="$CFLAGS -Wvla"
18955 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18956 /* end confdefs.h. */
18957 int main(int argc, char **argv) { return 0; }
18959 if ac_fn_c_try_link
"$LINENO"
18961 ac_cv_cflags__Wvla
=yes
18963 ac_cv_cflags__Wvla
=no
18965 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18966 conftest
$ac_exeext conftest.
$ac_ext
18967 CFLAGS
=$ac_wine_try_cflags_saved
18969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
18970 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
18971 if test "x$ac_cv_cflags__Wvla" = xyes
18973 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
18975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
18976 printf %s
"checking whether the compiler supports -Wwrite-strings... " >&6; }
18977 if test ${ac_cv_cflags__Wwrite_strings+y}
18979 printf %s
"(cached) " >&6
18981 ac_wine_try_cflags_saved
=$CFLAGS
18982 CFLAGS
="$CFLAGS -Wwrite-strings"
18983 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18984 /* end confdefs.h. */
18985 int main(int argc, char **argv) { return 0; }
18987 if ac_fn_c_try_link
"$LINENO"
18989 ac_cv_cflags__Wwrite_strings
=yes
18991 ac_cv_cflags__Wwrite_strings
=no
18993 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18994 conftest
$ac_exeext conftest.
$ac_ext
18995 CFLAGS
=$ac_wine_try_cflags_saved
18997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
18998 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
18999 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
19001 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
19004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
19005 printf %s
"checking whether the compiler supports -Wpointer-arith... " >&6; }
19006 if test ${ac_cv_cflags__Wpointer_arith+y}
19008 printf %s
"(cached) " >&6
19010 ac_wine_try_cflags_saved
=$CFLAGS
19011 CFLAGS
="$CFLAGS -Wpointer-arith"
19012 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19013 /* end confdefs.h. */
19014 int main(int argc, char **argv) { return 0; }
19016 if ac_fn_c_try_link
"$LINENO"
19018 ac_cv_cflags__Wpointer_arith
=yes
19020 ac_cv_cflags__Wpointer_arith
=no
19022 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19023 conftest
$ac_exeext conftest.
$ac_ext
19024 CFLAGS
=$ac_wine_try_cflags_saved
19026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
19027 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19028 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19030 saved_string_h_CFLAGS
=$CFLAGS
19031 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
19032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19033 printf %s
"checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19034 if test ${ac_cv_c_string_h_warnings+y}
19036 printf %s
"(cached) " >&6
19038 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19039 /* end confdefs.h. */
19040 #include <string.h>
19049 if ac_fn_c_try_compile
"$LINENO"
19051 ac_cv_c_string_h_warnings
=no
19053 ac_cv_c_string_h_warnings
=yes
19055 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19058 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19059 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
19060 CFLAGS
=$saved_string_h_CFLAGS
19063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19064 printf %s
"checking whether the compiler supports -Wlogical-op... " >&6; }
19065 if test ${ac_cv_cflags__Wlogical_op+y}
19067 printf %s
"(cached) " >&6
19069 ac_wine_try_cflags_saved
=$CFLAGS
19070 CFLAGS
="$CFLAGS -Wlogical-op"
19071 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19072 /* end confdefs.h. */
19073 int main(int argc, char **argv) { return 0; }
19075 if ac_fn_c_try_link
"$LINENO"
19077 ac_cv_cflags__Wlogical_op
=yes
19079 ac_cv_cflags__Wlogical_op
=no
19081 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19082 conftest
$ac_exeext conftest.
$ac_ext
19083 CFLAGS
=$ac_wine_try_cflags_saved
19085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19086 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19087 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19089 saved_string_h_CFLAGS
=$CFLAGS
19090 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
19091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19092 printf %s
"checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19093 if test ${ac_cv_c_logicalop_noisy+y}
19095 printf %s
"(cached) " >&6
19097 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19098 /* end confdefs.h. */
19099 #include <string.h>
19100 char*f(const char *h,char n) {return strchr(h,n);}
19109 if ac_fn_c_try_compile
"$LINENO"
19111 ac_cv_c_logicalop_noisy
=no
19113 ac_cv_c_logicalop_noisy
=yes
19115 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19118 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19119 CFLAGS
=$saved_string_h_CFLAGS
19120 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
19123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19124 printf %s
"checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19125 if test ${wine_cv_64bit_compare_swap+y}
19127 printf %s
"(cached) " >&6
19129 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19130 /* end confdefs.h. */
19131 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19142 if ac_fn_c_try_compile
"$LINENO"
19144 wine_cv_64bit_compare_swap
="none needed"
19147 *i
[3456]86*) wine_cv_64bit_compare_swap
="-march=i586" ;;
19148 *arm
*) wine_cv_64bit_compare_swap
="-march=armv7-a" ;;
19149 *) wine_cv_64bit_compare_swap
="unknown" ;;
19151 if test "x$wine_cv_64bit_compare_swap" != xunknown
19153 CFLAGS
="$CFLAGS $wine_cv_64bit_compare_swap"
19154 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19155 /* end confdefs.h. */
19156 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19167 if ac_fn_c_try_compile
"$LINENO"
19171 wine_cv_64bit_compare_swap
="unknown"
19173 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19174 CFLAGS
=$saved_CFLAGS
19177 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19180 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19181 case "$wine_cv_64bit_compare_swap" in
19182 unknown
) as_fn_error $?
"gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19184 *) EXTRACFLAGS
="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19187 ac_debug_format_seen
=""
19188 for ac_flag
in $CFLAGS; do
19190 -gdwarf*) ac_debug_format_seen
=yes ;;
19191 -g) ac_debug_format_seen
=${ac_debug_format_seen:-default} ;;
19194 if test "x$ac_debug_format_seen" = xdefault
19196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19197 printf %s
"checking whether the compiler supports -gdwarf-4... " >&6; }
19198 if test ${ac_cv_cflags__gdwarf_4+y}
19200 printf %s
"(cached) " >&6
19202 ac_wine_try_cflags_saved
=$CFLAGS
19203 CFLAGS
="$CFLAGS -gdwarf-4"
19204 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19205 /* end confdefs.h. */
19206 int main(int argc, char **argv) { return 0; }
19208 if ac_fn_c_try_link
"$LINENO"
19210 ac_cv_cflags__gdwarf_4
=yes
19212 ac_cv_cflags__gdwarf_4
=no
19214 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19215 conftest
$ac_exeext conftest.
$ac_ext
19216 CFLAGS
=$ac_wine_try_cflags_saved
19218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19219 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19220 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19222 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-4"
19229 mingw32
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19230 printf %s
"checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19231 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19233 printf %s
"(cached) " >&6
19235 ac_wine_try_cflags_saved
=$CFLAGS
19236 CFLAGS
="$CFLAGS -Wl,-delayload,autoconftest.dll"
19237 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19238 /* end confdefs.h. */
19239 int main(int argc, char **argv) { return 0; }
19241 if ac_fn_c_try_link
"$LINENO"
19243 ac_cv_cflags__Wl__delayload_autoconftest_dll
=yes
19245 ac_cv_cflags__Wl__delayload_autoconftest_dll
=no
19247 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19248 conftest
$ac_exeext conftest.
$ac_ext
19249 CFLAGS
=$ac_wine_try_cflags_saved
19251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19252 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19253 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19255 DELAYLOADFLAG
="-Wl,-delayload,"
19258 *) MSVCRTFLAGS
="-D_WIN32"
19259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19260 printf %s
"checking whether the compiler supports -fno-builtin... " >&6; }
19261 if test ${ac_cv_cflags__fno_builtin+y}
19263 printf %s
"(cached) " >&6
19265 ac_wine_try_cflags_saved
=$CFLAGS
19266 CFLAGS
="$CFLAGS -fno-builtin"
19267 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19268 /* end confdefs.h. */
19269 int main(int argc, char **argv) { return 0; }
19271 if ac_fn_c_try_link
"$LINENO"
19273 ac_cv_cflags__fno_builtin
=yes
19275 ac_cv_cflags__fno_builtin
=no
19277 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19278 conftest
$ac_exeext conftest.
$ac_ext
19279 CFLAGS
=$ac_wine_try_cflags_saved
19281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19282 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19283 if test "x$ac_cv_cflags__fno_builtin" = xyes
19285 MSVCRTFLAGS
="$MSVCRTFLAGS -fno-builtin"
19287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19288 printf %s
"checking whether the compiler supports -fshort-wchar... " >&6; }
19289 if test ${ac_cv_cflags__fshort_wchar+y}
19291 printf %s
"(cached) " >&6
19293 ac_wine_try_cflags_saved
=$CFLAGS
19294 CFLAGS
="$CFLAGS -fshort-wchar"
19295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19296 /* end confdefs.h. */
19297 int main(int argc, char **argv) { return 0; }
19299 if ac_fn_c_try_link
"$LINENO"
19301 ac_cv_cflags__fshort_wchar
=yes
19303 ac_cv_cflags__fshort_wchar
=no
19305 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19306 conftest
$ac_exeext conftest.
$ac_ext
19307 CFLAGS
=$ac_wine_try_cflags_saved
19309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19310 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19311 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19313 MSVCRTFLAGS
="$MSVCRTFLAGS -fshort-wchar"
19315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fvisibility=hidden" >&5
19316 printf %s
"checking whether the compiler supports -fvisibility=hidden... " >&6; }
19317 if test ${ac_cv_cflags__fvisibility_hidden+y}
19319 printf %s
"(cached) " >&6
19321 ac_wine_try_cflags_saved
=$CFLAGS
19322 CFLAGS
="$CFLAGS -fvisibility=hidden"
19323 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19324 /* end confdefs.h. */
19325 int main(int argc, char **argv) { return 0; }
19327 if ac_fn_c_try_link
"$LINENO"
19329 ac_cv_cflags__fvisibility_hidden
=yes
19331 ac_cv_cflags__fvisibility_hidden
=no
19333 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19334 conftest
$ac_exeext conftest.
$ac_ext
19335 CFLAGS
=$ac_wine_try_cflags_saved
19337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fvisibility_hidden" >&5
19338 printf "%s\n" "$ac_cv_cflags__fvisibility_hidden" >&6; }
19339 if test "x$ac_cv_cflags__fvisibility_hidden" = xyes
19341 MSVCRTFLAGS
="$MSVCRTFLAGS -fvisibility=hidden"
19343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19344 printf %s
"checking whether the compiler supports -Wno-format... " >&6; }
19345 if test ${ac_cv_cflags__Wno_format+y}
19347 printf %s
"(cached) " >&6
19349 ac_wine_try_cflags_saved
=$CFLAGS
19350 CFLAGS
="$CFLAGS -Wno-format"
19351 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19352 /* end confdefs.h. */
19353 int main(int argc, char **argv) { return 0; }
19355 if ac_fn_c_try_link
"$LINENO"
19357 ac_cv_cflags__Wno_format
=yes
19359 ac_cv_cflags__Wno_format
=no
19361 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19362 conftest
$ac_exeext conftest.
$ac_ext
19363 CFLAGS
=$ac_wine_try_cflags_saved
19365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19366 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19367 if test "x$ac_cv_cflags__Wno_format" = xyes
19369 MSVCRTFLAGS
="$MSVCRTFLAGS -Wno-format"
19374 *i
[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19375 printf %s
"checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19376 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19378 printf %s
"(cached) " >&6
19380 ac_wine_try_cflags_saved
=$CFLAGS
19381 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
19382 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19383 /* end confdefs.h. */
19384 int main(int argc, char **argv) { return 0; }
19386 if ac_fn_c_try_link
"$LINENO"
19388 ac_cv_cflags__fno_omit_frame_pointer
=yes
19390 ac_cv_cflags__fno_omit_frame_pointer
=no
19392 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19393 conftest
$ac_exeext conftest.
$ac_ext
19394 CFLAGS
=$ac_wine_try_cflags_saved
19396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19397 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19398 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19400 MSVCRTFLAGS
="$MSVCRTFLAGS -fno-omit-frame-pointer"
19404 cygwin
*|mingw32
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19405 printf %s
"checking whether the compiler supports -Wno-format... " >&6; }
19406 if test ${ac_cv_cflags__Wno_format+y}
19408 printf %s
"(cached) " >&6
19410 ac_wine_try_cflags_saved
=$CFLAGS
19411 CFLAGS
="$CFLAGS -Wno-format"
19412 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19413 /* end confdefs.h. */
19414 int main(int argc, char **argv) { return 0; }
19416 if ac_fn_c_try_link
"$LINENO"
19418 ac_cv_cflags__Wno_format
=yes
19420 ac_cv_cflags__Wno_format
=no
19422 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19423 conftest
$ac_exeext conftest.
$ac_ext
19424 CFLAGS
=$ac_wine_try_cflags_saved
19426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19427 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19428 if test "x$ac_cv_cflags__Wno_format" = xyes
19430 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
19432 *) if test -z "$PE_ARCHS"
19434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19435 printf %s
"checking for working -mabi=ms... " >&6; }
19436 if test ${ac_cv_mabi_ms+y}
19438 printf %s
"(cached) " >&6
19440 CFLAGS
="$CFLAGS -mabi=ms"
19441 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19442 /* end confdefs.h. */
19443 #include <stdarg.h>
19444 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19453 if ac_fn_c_try_compile
"$LINENO"
19459 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19460 CFLAGS
=$saved_CFLAGS
19462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19463 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19464 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
19466 MSVCRTFLAGS
="$MSVCRTFLAGS -mabi=ms" ;;
19469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19470 printf %s
"checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19471 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19473 printf %s
"(cached) " >&6
19475 ac_wine_try_cflags_saved
=$CFLAGS
19476 CFLAGS
="$CFLAGS -Wincompatible-function-pointer-types"
19477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19478 /* end confdefs.h. */
19479 int main(int argc, char **argv) { return 0; }
19481 if ac_fn_c_try_link
"$LINENO"
19483 ac_cv_cflags__Wincompatible_function_pointer_types
=yes
19485 ac_cv_cflags__Wincompatible_function_pointer_types
=no
19487 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19488 conftest
$ac_exeext conftest.
$ac_ext
19489 CFLAGS
=$ac_wine_try_cflags_saved
19491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
19492 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19493 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19495 EXTRACFLAGS
="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19499 CFLAGS
=$saved_CFLAGS
19501 if test "x$enable_werror" = "xyes"
19503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19504 printf %s
"checking whether the compiler supports -Werror... " >&6; }
19505 if test ${ac_cv_cflags__Werror+y}
19507 printf %s
"(cached) " >&6
19509 ac_wine_try_cflags_saved
=$CFLAGS
19510 CFLAGS
="$CFLAGS -Werror"
19511 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19512 /* end confdefs.h. */
19513 int main(int argc, char **argv) { return 0; }
19515 if ac_fn_c_try_link
"$LINENO"
19517 ac_cv_cflags__Werror
=yes
19519 ac_cv_cflags__Werror
=no
19521 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19522 conftest
$ac_exeext conftest.
$ac_ext
19523 CFLAGS
=$ac_wine_try_cflags_saved
19525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19526 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19527 if test "x$ac_cv_cflags__Werror" = xyes
19529 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
19532 if test "x$enable_build_id" = "xyes"
19534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19535 printf %s
"checking whether the compiler supports -Wl,--build-id... " >&6; }
19536 if test ${ac_cv_cflags__Wl___build_id+y}
19538 printf %s
"(cached) " >&6
19540 ac_wine_try_cflags_saved
=$CFLAGS
19541 CFLAGS
="$CFLAGS -Wl,--build-id"
19542 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19543 /* end confdefs.h. */
19544 int main(int argc, char **argv) { return 0; }
19546 if ac_fn_c_try_link
"$LINENO"
19548 ac_cv_cflags__Wl___build_id
=yes
19550 ac_cv_cflags__Wl___build_id
=no
19552 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19553 conftest
$ac_exeext conftest.
$ac_ext
19554 CFLAGS
=$ac_wine_try_cflags_saved
19556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19557 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19558 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19560 CFLAGS
="$CFLAGS -Wl,--build-id"
19561 LDFLAGS
="$LDFLAGS -Wl,--build-id"
19567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19568 printf %s
"checking for the need to disable Fortify... " >&6; }
19569 if test ${ac_cv_c_fortify_enabled+y}
19571 printf %s
"(cached) " >&6
19573 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19574 /* end confdefs.h. */
19575 #include <string.h>
19579 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19580 #error Fortify enabled
19586 if ac_fn_c_try_compile
"$LINENO"
19588 ac_cv_c_fortify_enabled
=no
19590 ac_cv_c_fortify_enabled
=yes
19592 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19595 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19596 if test "$ac_cv_c_fortify_enabled" = yes
19598 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19603 printf %s
"checking whether CFI directives are supported in assembly code... " >&6; }
19604 if test ${ac_cv_c_cfi_support+y}
19606 printf %s
"(cached) " >&6
19608 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19609 /* end confdefs.h. */
19610 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19619 if ac_fn_c_try_compile
"$LINENO"
19621 ac_cv_c_cfi_support
="yes"
19623 ac_cv_c_cfi_support
="no"
19625 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19628 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19629 if test "$ac_cv_c_cfi_support" = "yes"
19631 DLLFLAGS
="$DLLFLAGS -fasynchronous-unwind-tables"
19632 LDDLLFLAGS
="$LDDLLFLAGS -fasynchronous-unwind-tables"
19633 UNIXDLLFLAGS
="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19634 elif test $HOST_ARCH = x86_64
19636 as_fn_append wine_warnings
"|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19640 case "$HOST_ARCH,$PE_ARCHS" in
19641 x86_64
,*i386
*) wine_binary
="wine" ;;
19642 x86_64
,*) wine_binary
="wine64" ;;
19643 *) wine_binary
="wine" ;;
19645 WINELOADER_PROGRAMS
="$wine_binary"
19651 *i
[3456789]86*|x86_64
*|
*aarch64
*|arm
*)
19652 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine-preloader"
19653 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
19658 if test "$wine_can_build_preloader" = "yes"
19660 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine-preloader"
19661 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
19667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19668 printf %s
"checking for library containing dlopen... " >&6; }
19669 if test ${ac_cv_search_dlopen+y}
19671 printf %s
"(cached) " >&6
19673 ac_func_search_save_LIBS
=$LIBS
19674 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19675 /* end confdefs.h. */
19677 /* Override any GCC internal prototype to avoid an error.
19678 Use char because int might match the return type of a GCC
19679 builtin and then its argument prototype would still apply. */
19689 for ac_lib
in '' dl
19691 if test -z "$ac_lib"; then
19692 ac_res
="none required"
19695 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19697 if ac_fn_c_try_link
"$LINENO"
19699 ac_cv_search_dlopen
=$ac_res
19701 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19703 if test ${ac_cv_search_dlopen+y}
19708 if test ${ac_cv_search_dlopen+y}
19712 ac_cv_search_dlopen
=no
19714 rm conftest.
$ac_ext
19715 LIBS
=$ac_func_search_save_LIBS
19717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19718 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19719 ac_res
=$ac_cv_search_dlopen
19720 if test "$ac_res" != no
19722 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19728 printf %s
"checking for library containing gethostbyname... " >&6; }
19729 if test ${ac_cv_search_gethostbyname+y}
19731 printf %s
"(cached) " >&6
19733 ac_func_search_save_LIBS
=$LIBS
19734 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19735 /* end confdefs.h. */
19737 /* Override any GCC internal prototype to avoid an error.
19738 Use char because int might match the return type of a GCC
19739 builtin and then its argument prototype would still apply. */
19740 char gethostbyname ();
19744 return gethostbyname ();
19749 for ac_lib
in '' nsl
19751 if test -z "$ac_lib"; then
19752 ac_res
="none required"
19755 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19757 if ac_fn_c_try_link
"$LINENO"
19759 ac_cv_search_gethostbyname
=$ac_res
19761 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19763 if test ${ac_cv_search_gethostbyname+y}
19768 if test ${ac_cv_search_gethostbyname+y}
19772 ac_cv_search_gethostbyname
=no
19774 rm conftest.
$ac_ext
19775 LIBS
=$ac_func_search_save_LIBS
19777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19778 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19779 ac_res
=$ac_cv_search_gethostbyname
19780 if test "$ac_res" != no
19782 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19788 printf %s
"checking for library containing connect... " >&6; }
19789 if test ${ac_cv_search_connect+y}
19791 printf %s
"(cached) " >&6
19793 ac_func_search_save_LIBS
=$LIBS
19794 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19795 /* end confdefs.h. */
19797 /* Override any GCC internal prototype to avoid an error.
19798 Use char because int might match the return type of a GCC
19799 builtin and then its argument prototype would still apply. */
19809 for ac_lib
in '' socket
19811 if test -z "$ac_lib"; then
19812 ac_res
="none required"
19815 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19817 if ac_fn_c_try_link
"$LINENO"
19819 ac_cv_search_connect
=$ac_res
19821 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19823 if test ${ac_cv_search_connect+y}
19828 if test ${ac_cv_search_connect+y}
19832 ac_cv_search_connect
=no
19834 rm conftest.
$ac_ext
19835 LIBS
=$ac_func_search_save_LIBS
19837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19838 printf "%s\n" "$ac_cv_search_connect" >&6; }
19839 ac_res
=$ac_cv_search_connect
19840 if test "$ac_res" != no
19842 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19848 printf %s
"checking for library containing inet_aton... " >&6; }
19849 if test ${ac_cv_search_inet_aton+y}
19851 printf %s
"(cached) " >&6
19853 ac_func_search_save_LIBS
=$LIBS
19854 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19855 /* end confdefs.h. */
19857 /* Override any GCC internal prototype to avoid an error.
19858 Use char because int might match the return type of a GCC
19859 builtin and then its argument prototype would still apply. */
19864 return inet_aton ();
19869 for ac_lib
in '' resolv
19871 if test -z "$ac_lib"; then
19872 ac_res
="none required"
19875 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19877 if ac_fn_c_try_link
"$LINENO"
19879 ac_cv_search_inet_aton
=$ac_res
19881 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19883 if test ${ac_cv_search_inet_aton+y}
19888 if test ${ac_cv_search_inet_aton+y}
19892 ac_cv_search_inet_aton
=no
19894 rm conftest.
$ac_ext
19895 LIBS
=$ac_func_search_save_LIBS
19897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
19898 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
19899 ac_res
=$ac_cv_search_inet_aton
19900 if test "$ac_res" != no
19902 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19907 ac_save_CFLAGS
="$CFLAGS"
19908 CFLAGS
="$CFLAGS $BUILTINFLAG"
19909 ac_fn_c_check_func
"$LINENO" "dladdr1" "ac_cv_func_dladdr1"
19910 if test "x$ac_cv_func_dladdr1" = xyes
19912 printf "%s\n" "#define HAVE_DLADDR1 1" >>confdefs.h
19915 ac_fn_c_check_func
"$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19916 if test "x$ac_cv_func_dlinfo" = xyes
19918 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19921 ac_fn_c_check_func
"$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19922 if test "x$ac_cv_func_epoll_create" = xyes
19924 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19927 ac_fn_c_check_func
"$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19928 if test "x$ac_cv_func_fstatfs" = xyes
19930 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19933 ac_fn_c_check_func
"$LINENO" "futimens" "ac_cv_func_futimens"
19934 if test "x$ac_cv_func_futimens" = xyes
19936 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19939 ac_fn_c_check_func
"$LINENO" "futimes" "ac_cv_func_futimes"
19940 if test "x$ac_cv_func_futimes" = xyes
19942 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19945 ac_fn_c_check_func
"$LINENO" "futimesat" "ac_cv_func_futimesat"
19946 if test "x$ac_cv_func_futimesat" = xyes
19948 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19951 ac_fn_c_check_func
"$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
19952 if test "x$ac_cv_func_getaddrinfo" = xyes
19954 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
19957 ac_fn_c_check_func
"$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19958 if test "x$ac_cv_func_getattrlist" = xyes
19960 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19963 ac_fn_c_check_func
"$LINENO" "getauxval" "ac_cv_func_getauxval"
19964 if test "x$ac_cv_func_getauxval" = xyes
19966 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19969 ac_fn_c_check_func
"$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19970 if test "x$ac_cv_func_getifaddrs" = xyes
19972 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19975 ac_fn_c_check_func
"$LINENO" "getrandom" "ac_cv_func_getrandom"
19976 if test "x$ac_cv_func_getrandom" = xyes
19978 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19981 ac_fn_c_check_func
"$LINENO" "kqueue" "ac_cv_func_kqueue"
19982 if test "x$ac_cv_func_kqueue" = xyes
19984 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19987 ac_fn_c_check_func
"$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19988 if test "x$ac_cv_func_mach_continuous_time" = xyes
19990 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19993 ac_fn_c_check_func
"$LINENO" "pipe2" "ac_cv_func_pipe2"
19994 if test "x$ac_cv_func_pipe2" = xyes
19996 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19999 ac_fn_c_check_func
"$LINENO" "port_create" "ac_cv_func_port_create"
20000 if test "x$ac_cv_func_port_create" = xyes
20002 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
20005 ac_fn_c_check_func
"$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
20006 if test "x$ac_cv_func_posix_fadvise" = xyes
20008 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
20011 ac_fn_c_check_func
"$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
20012 if test "x$ac_cv_func_posix_fallocate" = xyes
20014 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
20017 ac_fn_c_check_func
"$LINENO" "prctl" "ac_cv_func_prctl"
20018 if test "x$ac_cv_func_prctl" = xyes
20020 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
20023 ac_fn_c_check_func
"$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
20024 if test "x$ac_cv_func_proc_pidinfo" = xyes
20026 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
20029 ac_fn_c_check_func
"$LINENO" "sched_yield" "ac_cv_func_sched_yield"
20030 if test "x$ac_cv_func_sched_yield" = xyes
20032 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
20035 ac_fn_c_check_func
"$LINENO" "setproctitle" "ac_cv_func_setproctitle"
20036 if test "x$ac_cv_func_setproctitle" = xyes
20038 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
20041 ac_fn_c_check_func
"$LINENO" "setprogname" "ac_cv_func_setprogname"
20042 if test "x$ac_cv_func_setprogname" = xyes
20044 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
20047 ac_fn_c_check_func
"$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
20048 if test "x$ac_cv_func_sigprocmask" = xyes
20050 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
20053 ac_fn_c_check_func
"$LINENO" "sysinfo" "ac_cv_func_sysinfo"
20054 if test "x$ac_cv_func_sysinfo" = xyes
20056 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
20059 ac_fn_c_check_func
"$LINENO" "tcdrain" "ac_cv_func_tcdrain"
20060 if test "x$ac_cv_func_tcdrain" = xyes
20062 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
20065 ac_fn_c_check_func
"$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
20066 if test "x$ac_cv_func_thr_kill2" = xyes
20068 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
20072 CFLAGS
="$ac_save_CFLAGS"
20075 darwin
*|macosx
*) ;;
20076 *) ac_save_LIBS
=$LIBS
20077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20078 printf %s
"checking for library containing clock_gettime... " >&6; }
20079 if test ${ac_cv_search_clock_gettime+y}
20081 printf %s
"(cached) " >&6
20083 ac_func_search_save_LIBS
=$LIBS
20084 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20085 /* end confdefs.h. */
20087 /* Override any GCC internal prototype to avoid an error.
20088 Use char because int might match the return type of a GCC
20089 builtin and then its argument prototype would still apply. */
20090 char clock_gettime ();
20094 return clock_gettime ();
20099 for ac_lib
in '' rt
20101 if test -z "$ac_lib"; then
20102 ac_res
="none required"
20105 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20107 if ac_fn_c_try_link
"$LINENO"
20109 ac_cv_search_clock_gettime
=$ac_res
20111 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20113 if test ${ac_cv_search_clock_gettime+y}
20118 if test ${ac_cv_search_clock_gettime+y}
20122 ac_cv_search_clock_gettime
=no
20124 rm conftest.
$ac_ext
20125 LIBS
=$ac_func_search_save_LIBS
20127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20128 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20129 ac_res
=$ac_cv_search_clock_gettime
20130 if test "$ac_res" != no
20132 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20134 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20136 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
20144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20145 printf %s
"checking for sched_setaffinity... " >&6; }
20146 if test ${wine_cv_have_sched_setaffinity+y}
20148 printf %s
"(cached) " >&6
20150 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20151 /* end confdefs.h. */
20156 sched_setaffinity(0, 0, 0);
20161 if ac_fn_c_try_link
"$LINENO"
20163 wine_cv_have_sched_setaffinity
=yes
20165 wine_cv_have_sched_setaffinity
=no
20167 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20168 conftest
$ac_exeext conftest.
$ac_ext
20170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20171 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20172 if test "$wine_cv_have_sched_setaffinity" = "yes"
20175 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20181 printf %s
"checking for inline... " >&6; }
20182 if test ${ac_cv_c_inline+y}
20184 printf %s
"(cached) " >&6
20187 for ac_kw
in inline __inline__ __inline
; do
20188 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20189 /* end confdefs.h. */
20190 #ifndef __cplusplus
20192 static $ac_kw foo_t static_foo (void) {return 0; }
20193 $ac_kw foo_t foo (void) {return 0; }
20197 if ac_fn_c_try_compile
"$LINENO"
20199 ac_cv_c_inline
=$ac_kw
20201 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20202 test "$ac_cv_c_inline" != no
&& break
20206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20207 printf "%s\n" "$ac_cv_c_inline" >&6; }
20209 case $ac_cv_c_inline in
20212 case $ac_cv_c_inline in
20214 *) ac_val
=$ac_cv_c_inline;;
20216 cat >>confdefs.h
<<_ACEOF
20217 #ifndef __cplusplus
20218 #define inline $ac_val
20224 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20226 if test "x$ac_cv_type_request_sense" = xyes
20229 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20235 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20236 #include <sys/socket.h>
20237 #ifdef HAVE_SYS_SOCKETVAR_H
20238 #include <sys/socketvar.h>
20240 #ifdef HAVE_NET_ROUTE_H
20241 #include <net/route.h>
20243 #ifdef HAVE_NETINET_IN_H
20244 #include <netinet/in.h>
20246 #ifdef HAVE_NETINET_IN_SYSTM_H
20247 #include <netinet/in_systm.h>
20249 #ifdef HAVE_NETINET_IP_H
20250 #include <netinet/ip.h>
20252 #ifdef HAVE_NETINET_IN_PCB_H
20253 #include <netinet/in_pcb.h>
20256 if test "x$ac_cv_type_struct_xinpgen" = xyes
20259 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20266 printf %s
"checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20267 if test ${wine_cv_linux_gethostbyname_r_6+y}
20269 printf %s
"(cached) " >&6
20271 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20272 /* end confdefs.h. */
20280 struct hostent *result;
20287 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20288 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20294 if ac_fn_c_try_link
"$LINENO"
20296 wine_cv_linux_gethostbyname_r_6
=yes
20298 wine_cv_linux_gethostbyname_r_6
=no
20301 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20302 conftest
$ac_exeext conftest.
$ac_ext
20305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20306 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20307 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20310 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20314 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20315 #include <sys/socket.h>
20316 #ifdef HAVE_SYS_UN_H
20317 # include <sys/un.h>
20320 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20323 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20327 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20328 #include <sys/socket.h>
20329 #ifdef HAVE_SYS_UN_H
20330 # include <sys/un.h>
20333 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20336 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20342 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20343 #ifdef HAVE_SCSI_SG_H
20344 #include <scsi/sg.h>
20347 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20350 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20354 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>
20355 #ifdef HAVE_SCSI_SG_H
20356 #include <scsi/sg.h>
20359 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20362 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20368 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20370 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20373 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20379 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20380 #ifdef HAVE_SYS_MTIO_H
20381 #include <sys/mtio.h>
20384 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20387 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20391 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20392 #ifdef HAVE_SYS_MTIO_H
20393 #include <sys/mtio.h>
20396 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20399 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20403 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20404 #ifdef HAVE_SYS_MTIO_H
20405 #include <sys/mtio.h>
20408 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20411 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20417 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20418 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20421 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20425 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20426 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20429 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20433 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20434 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20437 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20441 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20442 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20445 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20449 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20450 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20453 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20457 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20458 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20461 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20465 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20466 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20469 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20473 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20474 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20477 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20481 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20482 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20485 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20489 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20490 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20493 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20497 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20498 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20501 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20507 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>
20508 #ifdef HAVE_NETINET_IN_H
20509 #include <netinet/in.h>
20512 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20515 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20521 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
20522 #include <resolv.h>
20525 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20528 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20534 ac_fn_c_check_member
"$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20535 #include <netinet/in.h>
20538 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20541 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20547 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20548 #ifdef HAVE_SYS_SOCKETVAR_H
20549 #include <sys/socketvar.h>
20551 #ifdef HAVE_NETINET_IN_H
20552 #include <netinet/in.h>
20554 #ifdef HAVE_NETINET_IP_VAR_H
20555 #include <netinet/ip_var.h>
20558 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20561 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20567 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
20568 #include <netinet/ip_var.h>
20571 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20574 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20580 ac_fn_c_check_member
"$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20581 #ifdef HAVE_SYS_SOCKETVAR_H
20582 #include <sys/socketvar.h>
20584 #ifdef HAVE_NETINET_IN_H
20585 #include <netinet/in.h>
20587 #ifdef HAVE_NETINET6_IP6_VAR_H
20588 #include <netinet6/ip6_var.h>
20591 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20594 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20600 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20601 #ifdef HAVE_SYS_SOCKETVAR_H
20602 #include <sys/socketvar.h>
20604 #ifdef HAVE_NETINET_IN_H
20605 #include <netinet/in.h>
20607 #ifdef HAVE_NETINET_IP_H
20608 #include <netinet/ip.h>
20610 #ifdef HAVE_NETINET_IP_ICMP_H
20611 #include <netinet/ip_icmp.h>
20613 #ifdef HAVE_NETINET_ICMP_VAR_H
20614 #include <netinet/icmp_var.h>
20617 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20620 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20626 ac_fn_c_check_member
"$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20627 #ifdef HAVE_SYS_SOCKETVAR_H
20628 #include <sys/socketvar.h>
20630 #ifdef HAVE_NETINET_IN_H
20631 #include <netinet/in.h>
20633 #ifdef HAVE_NETINET_ICMP6_H
20634 #include <netinet/icmp6.h>
20637 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20640 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20646 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20647 #ifdef HAVE_SYS_SOCKETVAR_H
20648 #include <sys/socketvar.h>
20650 #ifdef HAVE_NETINET_IN_H
20651 #include <netinet/in.h>
20653 #ifdef HAVE_NETINET_TCP_H
20654 #include <netinet/tcp.h>
20656 #ifdef HAVE_NETINET_TCP_VAR_H
20657 #include <netinet/tcp_var.h>
20660 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20663 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20669 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
20670 #include <netinet/tcp_var.h>
20673 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20676 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20682 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20683 #ifdef HAVE_NETINET_IN_H
20684 #include <netinet/in.h>
20686 #ifdef HAVE_NETINET_IP_VAR_H
20687 #include <netinet/ip_var.h>
20689 #ifdef HAVE_NETINET_UDP_H
20690 #include <netinet/udp.h>
20692 #ifdef HAVE_NETINET_UDP_VAR_H
20693 #include <netinet/udp_var.h>
20696 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20699 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20705 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20706 #ifdef HAVE_NET_IF_H
20707 # include <net/if.h>
20710 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20713 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20719 ac_fn_c_check_member
"$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20720 # include <sys/sysinfo.h>
20723 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20726 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20730 ac_fn_c_check_member
"$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20731 # include <sys/sysinfo.h>
20734 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20737 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20743 LIBS
="$ac_save_LIBS"
20745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20746 printf %s
"checking for __builtin_popcount... " >&6; }
20747 if test ${ac_cv_have___builtin_popcount+y}
20749 printf %s
"(cached) " >&6
20751 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20752 /* end confdefs.h. */
20757 return __builtin_popcount(1)
20762 if ac_fn_c_try_link
"$LINENO"
20764 ac_cv_have___builtin_popcount
="yes"
20766 ac_cv_have___builtin_popcount
="no"
20768 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20769 conftest
$ac_exeext conftest.
$ac_ext
20771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20772 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20773 if test "$ac_cv_have___builtin_popcount" = "yes"
20776 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20781 printf %s
"checking for __clear_cache... " >&6; }
20782 if test ${ac_cv_have___clear_cache+y}
20784 printf %s
"(cached) " >&6
20786 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20787 /* end confdefs.h. */
20792 __clear_cache((void*)0, (void*)0); return 0;
20797 if ac_fn_c_try_link
"$LINENO"
20799 ac_cv_have___clear_cache
="yes"
20801 ac_cv_have___clear_cache
="no"
20803 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20804 conftest
$ac_exeext conftest.
$ac_ext
20806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20807 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20808 if test "$ac_cv_have___clear_cache" = "yes"
20811 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20817 *i
[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20818 printf %s
"checking whether we need to define __i386__... " >&6; }
20819 if test ${ac_cv_cpp_def___i386__+y}
20821 printf %s
"(cached) " >&6
20823 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20824 /* end confdefs.h. */
20829 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20830 $EGREP "yes" >/dev
/null
2>&1
20832 ac_cv_cpp_def___i386__
=yes
20834 ac_cv_cpp_def___i386__
=no
20839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20840 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20841 if test "x$ac_cv_cpp_def___i386__" = xyes
20843 CFLAGS
="$CFLAGS -D__i386__"
20844 LINTFLAGS
="$LINTFLAGS -D__i386__"
20846 *x86_64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20847 printf %s
"checking whether we need to define __x86_64__... " >&6; }
20848 if test ${ac_cv_cpp_def___x86_64__+y}
20850 printf %s
"(cached) " >&6
20852 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20853 /* end confdefs.h. */
20858 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20859 $EGREP "yes" >/dev
/null
2>&1
20861 ac_cv_cpp_def___x86_64__
=yes
20863 ac_cv_cpp_def___x86_64__
=no
20868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20869 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20870 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20872 CFLAGS
="$CFLAGS -D__x86_64__"
20873 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
20875 *sparc64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
20876 printf %s
"checking whether we need to define __sparc64__... " >&6; }
20877 if test ${ac_cv_cpp_def___sparc64__+y}
20879 printf %s
"(cached) " >&6
20881 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20882 /* end confdefs.h. */
20883 #ifndef __sparc64__
20887 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20888 $EGREP "yes" >/dev
/null
2>&1
20890 ac_cv_cpp_def___sparc64__
=yes
20892 ac_cv_cpp_def___sparc64__
=no
20897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
20898 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
20899 if test "x$ac_cv_cpp_def___sparc64__" = xyes
20901 CFLAGS
="$CFLAGS -D__sparc64__"
20902 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
20904 *sparc
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
20905 printf %s
"checking whether we need to define __sparc__... " >&6; }
20906 if test ${ac_cv_cpp_def___sparc__+y}
20908 printf %s
"(cached) " >&6
20910 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20911 /* end confdefs.h. */
20916 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20917 $EGREP "yes" >/dev
/null
2>&1
20919 ac_cv_cpp_def___sparc__
=yes
20921 ac_cv_cpp_def___sparc__
=no
20926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
20927 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
20928 if test "x$ac_cv_cpp_def___sparc__" = xyes
20930 CFLAGS
="$CFLAGS -D__sparc__"
20931 LINTFLAGS
="$LINTFLAGS -D__sparc__"
20933 *powerpc64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
20934 printf %s
"checking whether we need to define __powerpc64__... " >&6; }
20935 if test ${ac_cv_cpp_def___powerpc64__+y}
20937 printf %s
"(cached) " >&6
20939 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20940 /* end confdefs.h. */
20941 #ifndef __powerpc64__
20945 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20946 $EGREP "yes" >/dev
/null
2>&1
20948 ac_cv_cpp_def___powerpc64__
=yes
20950 ac_cv_cpp_def___powerpc64__
=no
20955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
20956 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
20957 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
20959 CFLAGS
="$CFLAGS -D__powerpc64__"
20960 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
20962 *powerpc
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
20963 printf %s
"checking whether we need to define __powerpc__... " >&6; }
20964 if test ${ac_cv_cpp_def___powerpc__+y}
20966 printf %s
"(cached) " >&6
20968 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20969 /* end confdefs.h. */
20970 #ifndef __powerpc__
20974 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20975 $EGREP "yes" >/dev
/null
2>&1
20977 ac_cv_cpp_def___powerpc__
=yes
20979 ac_cv_cpp_def___powerpc__
=no
20984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
20985 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
20986 if test "x$ac_cv_cpp_def___powerpc__" = xyes
20988 CFLAGS
="$CFLAGS -D__powerpc__"
20989 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
20991 *aarch64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
20992 printf %s
"checking whether we need to define __aarch64__... " >&6; }
20993 if test ${ac_cv_cpp_def___aarch64__+y}
20995 printf %s
"(cached) " >&6
20997 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20998 /* end confdefs.h. */
20999 #ifndef __aarch64__
21003 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21004 $EGREP "yes" >/dev
/null
2>&1
21006 ac_cv_cpp_def___aarch64__
=yes
21008 ac_cv_cpp_def___aarch64__
=no
21013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
21014 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
21015 if test "x$ac_cv_cpp_def___aarch64__" = xyes
21017 CFLAGS
="$CFLAGS -D__aarch64__"
21018 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
21020 *arm
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
21021 printf %s
"checking whether we need to define __arm__... " >&6; }
21022 if test ${ac_cv_cpp_def___arm__+y}
21024 printf %s
"(cached) " >&6
21026 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21027 /* end confdefs.h. */
21032 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21033 $EGREP "yes" >/dev
/null
2>&1
21035 ac_cv_cpp_def___arm__
=yes
21037 ac_cv_cpp_def___arm__
=no
21042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21043 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21044 if test "x$ac_cv_cpp_def___arm__" = xyes
21046 CFLAGS
="$CFLAGS -D__arm__"
21047 LINTFLAGS
="$LINTFLAGS -D__arm__"
21051 case $host_vendor in
21052 *sun
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21053 printf %s
"checking whether we need to define __sun__... " >&6; }
21054 if test ${ac_cv_cpp_def___sun__+y}
21056 printf %s
"(cached) " >&6
21058 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21059 /* end confdefs.h. */
21064 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21065 $EGREP "yes" >/dev
/null
2>&1
21067 ac_cv_cpp_def___sun__
=yes
21069 ac_cv_cpp_def___sun__
=no
21074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21075 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21076 if test "x$ac_cv_cpp_def___sun__" = xyes
21078 CFLAGS
="$CFLAGS -D__sun__"
21079 LINTFLAGS
="$LINTFLAGS -D__sun__"
21087 ac_config_commands
="$ac_config_commands include/stamp-h"
21089 printf %s
"creating Makefile rules..." >&6
21092 test "x$enable_silent_rules" = xyes
&& makedep_flags
="$makedep_flags -S"
21095 test "$srcdir" = . || wine_srcdir
="$srcdir/"
21097 ac_config_links
="$ac_config_links wine:tools/winewrapper"
21098 wine_fn_config_symlink wine
21099 if test "$wine_binary" = wine64
-o -n "$with_wine64"; then
21100 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
21101 wine_fn_config_symlink wine64
21104 wine_fn_config_makefile dlls
/acledit enable_acledit
21105 wine_fn_config_makefile dlls
/aclui enable_aclui
21106 wine_fn_config_makefile dlls
/activeds.tlb enable_activeds_tlb
21107 wine_fn_config_makefile dlls
/activeds enable_activeds
21108 wine_fn_config_makefile dlls
/activeds
/tests enable_tests
21109 wine_fn_config_makefile dlls
/actxprxy enable_actxprxy
21110 wine_fn_config_makefile dlls
/adsldp enable_adsldp
21111 wine_fn_config_makefile dlls
/adsldp
/tests enable_tests
21112 wine_fn_config_makefile dlls
/adsldpc enable_adsldpc
21113 wine_fn_config_makefile dlls
/advapi32 enable_advapi32
21114 wine_fn_config_makefile dlls
/advapi32
/tests enable_tests
21115 wine_fn_config_makefile dlls
/advpack enable_advpack
21116 wine_fn_config_makefile dlls
/advpack
/tests enable_tests
21117 wine_fn_config_makefile dlls
/amsi enable_amsi
21118 wine_fn_config_makefile dlls
/amstream enable_amstream
21119 wine_fn_config_makefile dlls
/amstream
/tests enable_tests
21120 wine_fn_config_makefile dlls
/apisetschema enable_apisetschema
21121 wine_fn_config_makefile dlls
/apphelp enable_apphelp
21122 wine_fn_config_makefile dlls
/apphelp
/tests enable_tests
21123 wine_fn_config_makefile dlls
/appwiz.cpl enable_appwiz_cpl
21124 wine_fn_config_makefile dlls
/atl enable_atl
21125 wine_fn_config_makefile dlls
/atl
/tests enable_tests
21126 wine_fn_config_makefile dlls
/atl100 enable_atl100
21127 wine_fn_config_makefile dlls
/atl100
/tests enable_tests
21128 wine_fn_config_makefile dlls
/atl110 enable_atl110
21129 wine_fn_config_makefile dlls
/atl110
/tests enable_tests
21130 wine_fn_config_makefile dlls
/atl80 enable_atl80
21131 wine_fn_config_makefile dlls
/atl80
/tests enable_tests
21132 wine_fn_config_makefile dlls
/atl90 enable_atl90
21133 wine_fn_config_makefile dlls
/atlthunk enable_atlthunk
21134 wine_fn_config_makefile dlls
/atlthunk
/tests enable_tests
21135 wine_fn_config_makefile dlls
/atmlib enable_atmlib
21136 wine_fn_config_makefile dlls
/authz enable_authz
21137 wine_fn_config_makefile dlls
/avicap32 enable_avicap32
21138 wine_fn_config_makefile dlls
/avifil32 enable_avifil32
21139 wine_fn_config_makefile dlls
/avifil32
/tests enable_tests
21140 wine_fn_config_makefile dlls
/avifile.dll16 enable_win16
21141 wine_fn_config_makefile dlls
/avrt enable_avrt
21142 wine_fn_config_makefile dlls
/bcrypt enable_bcrypt
21143 wine_fn_config_makefile dlls
/bcrypt
/tests enable_tests
21144 wine_fn_config_makefile dlls
/bcryptprimitives enable_bcryptprimitives
21145 wine_fn_config_makefile dlls
/bluetoothapis enable_bluetoothapis
21146 wine_fn_config_makefile dlls
/browseui enable_browseui
21147 wine_fn_config_makefile dlls
/browseui
/tests enable_tests
21148 wine_fn_config_makefile dlls
/bthprops.cpl enable_bthprops_cpl
21149 wine_fn_config_makefile dlls
/cabinet enable_cabinet
21150 wine_fn_config_makefile dlls
/cabinet
/tests enable_tests
21151 wine_fn_config_makefile dlls
/capi2032 enable_capi2032
21152 wine_fn_config_makefile dlls
/cards enable_cards
21153 wine_fn_config_makefile dlls
/cdosys enable_cdosys
21154 wine_fn_config_makefile dlls
/cfgmgr32 enable_cfgmgr32
21155 wine_fn_config_makefile dlls
/cfgmgr32
/tests enable_tests
21156 wine_fn_config_makefile dlls
/clusapi enable_clusapi
21157 wine_fn_config_makefile dlls
/cng.sys enable_cng_sys
21158 wine_fn_config_makefile dlls
/combase enable_combase
21159 wine_fn_config_makefile dlls
/combase
/tests enable_tests
21160 wine_fn_config_makefile dlls
/comcat enable_comcat
21161 wine_fn_config_makefile dlls
/comcat
/tests enable_tests
21162 wine_fn_config_makefile dlls
/comctl32 enable_comctl32
21163 wine_fn_config_makefile dlls
/comctl32
/tests enable_tests
21164 wine_fn_config_makefile dlls
/comdlg32 enable_comdlg32
21165 wine_fn_config_makefile dlls
/comdlg32
/tests enable_tests
21166 wine_fn_config_makefile dlls
/comm.drv16 enable_win16
21167 wine_fn_config_makefile dlls
/commdlg.dll16 enable_win16
21168 wine_fn_config_makefile dlls
/compobj.dll16 enable_win16
21169 wine_fn_config_makefile dlls
/compstui enable_compstui
21170 wine_fn_config_makefile dlls
/compstui
/tests enable_tests
21171 wine_fn_config_makefile dlls
/comsvcs enable_comsvcs
21172 wine_fn_config_makefile dlls
/comsvcs
/tests enable_tests
21173 wine_fn_config_makefile dlls
/concrt140 enable_concrt140
21174 wine_fn_config_makefile dlls
/concrt140
/tests enable_tests
21175 wine_fn_config_makefile dlls
/connect enable_connect
21176 wine_fn_config_makefile dlls
/credui enable_credui
21177 wine_fn_config_makefile dlls
/credui
/tests enable_tests
21178 wine_fn_config_makefile dlls
/crtdll enable_crtdll
21179 wine_fn_config_makefile dlls
/crypt32 enable_crypt32
21180 wine_fn_config_makefile dlls
/crypt32
/tests enable_tests
21181 wine_fn_config_makefile dlls
/cryptdlg enable_cryptdlg
21182 wine_fn_config_makefile dlls
/cryptdll enable_cryptdll
21183 wine_fn_config_makefile dlls
/cryptext enable_cryptext
21184 wine_fn_config_makefile dlls
/cryptnet enable_cryptnet
21185 wine_fn_config_makefile dlls
/cryptnet
/tests enable_tests
21186 wine_fn_config_makefile dlls
/cryptowinrt enable_cryptowinrt
21187 wine_fn_config_makefile dlls
/cryptowinrt
/tests enable_tests
21188 wine_fn_config_makefile dlls
/cryptsp enable_cryptsp
21189 wine_fn_config_makefile dlls
/cryptui enable_cryptui
21190 wine_fn_config_makefile dlls
/cryptui
/tests enable_tests
21191 wine_fn_config_makefile dlls
/ctapi32 enable_ctapi32
21192 wine_fn_config_makefile dlls
/ctl3d.dll16 enable_win16
21193 wine_fn_config_makefile dlls
/ctl3d32 enable_ctl3d32
21194 wine_fn_config_makefile dlls
/ctl3dv2.dll16 enable_win16
21195 wine_fn_config_makefile dlls
/d2d1 enable_d2d1
21196 wine_fn_config_makefile dlls
/d2d
1/tests enable_tests
21197 wine_fn_config_makefile dlls
/d3d10 enable_d3d10
21198 wine_fn_config_makefile dlls
/d3d10
/tests enable_tests
21199 wine_fn_config_makefile dlls
/d3d10_1 enable_d3d10_1
21200 wine_fn_config_makefile dlls
/d3d10_
1/tests enable_tests
21201 wine_fn_config_makefile dlls
/d3d10core enable_d3d10core
21202 wine_fn_config_makefile dlls
/d3d10core
/tests enable_tests
21203 wine_fn_config_makefile dlls
/d3d11 enable_d3d11
21204 wine_fn_config_makefile dlls
/d3d11
/tests enable_tests
21205 wine_fn_config_makefile dlls
/d3d12 enable_d3d12
21206 wine_fn_config_makefile dlls
/d3d12
/tests enable_tests
21207 wine_fn_config_makefile dlls
/d3d12core enable_d3d12core
21208 wine_fn_config_makefile dlls
/d3d8 enable_d3d8
21209 wine_fn_config_makefile dlls
/d3d
8/tests enable_tests
21210 wine_fn_config_makefile dlls
/d3d8thk enable_d3d8thk
21211 wine_fn_config_makefile dlls
/d3d9 enable_d3d9
21212 wine_fn_config_makefile dlls
/d3d
9/tests enable_tests
21213 wine_fn_config_makefile dlls
/d3dcompiler_33 enable_d3dcompiler_33
21214 wine_fn_config_makefile dlls
/d3dcompiler_34 enable_d3dcompiler_34
21215 wine_fn_config_makefile dlls
/d3dcompiler_35 enable_d3dcompiler_35
21216 wine_fn_config_makefile dlls
/d3dcompiler_36 enable_d3dcompiler_36
21217 wine_fn_config_makefile dlls
/d3dcompiler_37 enable_d3dcompiler_37
21218 wine_fn_config_makefile dlls
/d3dcompiler_38 enable_d3dcompiler_38
21219 wine_fn_config_makefile dlls
/d3dcompiler_39 enable_d3dcompiler_39
21220 wine_fn_config_makefile dlls
/d3dcompiler_40 enable_d3dcompiler_40
21221 wine_fn_config_makefile dlls
/d3dcompiler_41 enable_d3dcompiler_41
21222 wine_fn_config_makefile dlls
/d3dcompiler_42 enable_d3dcompiler_42
21223 wine_fn_config_makefile dlls
/d3dcompiler_43 enable_d3dcompiler_43
21224 wine_fn_config_makefile dlls
/d3dcompiler_43
/tests enable_tests
21225 wine_fn_config_makefile dlls
/d3dcompiler_46 enable_d3dcompiler_46
21226 wine_fn_config_makefile dlls
/d3dcompiler_46
/tests enable_tests
21227 wine_fn_config_makefile dlls
/d3dcompiler_47 enable_d3dcompiler_47
21228 wine_fn_config_makefile dlls
/d3dcompiler_47
/tests enable_tests
21229 wine_fn_config_makefile dlls
/d3dim enable_d3dim
21230 wine_fn_config_makefile dlls
/d3dim700 enable_d3dim700
21231 wine_fn_config_makefile dlls
/d3drm enable_d3drm
21232 wine_fn_config_makefile dlls
/d3drm
/tests enable_tests
21233 wine_fn_config_makefile dlls
/d3dx10_33 enable_d3dx10_33
21234 wine_fn_config_makefile dlls
/d3dx10_34 enable_d3dx10_34
21235 wine_fn_config_makefile dlls
/d3dx10_34
/tests enable_tests
21236 wine_fn_config_makefile dlls
/d3dx10_35 enable_d3dx10_35
21237 wine_fn_config_makefile dlls
/d3dx10_35
/tests enable_tests
21238 wine_fn_config_makefile dlls
/d3dx10_36 enable_d3dx10_36
21239 wine_fn_config_makefile dlls
/d3dx10_36
/tests enable_tests
21240 wine_fn_config_makefile dlls
/d3dx10_37 enable_d3dx10_37
21241 wine_fn_config_makefile dlls
/d3dx10_37
/tests enable_tests
21242 wine_fn_config_makefile dlls
/d3dx10_38 enable_d3dx10_38
21243 wine_fn_config_makefile dlls
/d3dx10_38
/tests enable_tests
21244 wine_fn_config_makefile dlls
/d3dx10_39 enable_d3dx10_39
21245 wine_fn_config_makefile dlls
/d3dx10_39
/tests enable_tests
21246 wine_fn_config_makefile dlls
/d3dx10_40 enable_d3dx10_40
21247 wine_fn_config_makefile dlls
/d3dx10_40
/tests enable_tests
21248 wine_fn_config_makefile dlls
/d3dx10_41 enable_d3dx10_41
21249 wine_fn_config_makefile dlls
/d3dx10_41
/tests enable_tests
21250 wine_fn_config_makefile dlls
/d3dx10_42 enable_d3dx10_42
21251 wine_fn_config_makefile dlls
/d3dx10_42
/tests enable_tests
21252 wine_fn_config_makefile dlls
/d3dx10_43 enable_d3dx10_43
21253 wine_fn_config_makefile dlls
/d3dx10_43
/tests enable_tests
21254 wine_fn_config_makefile dlls
/d3dx11_42 enable_d3dx11_42
21255 wine_fn_config_makefile dlls
/d3dx11_42
/tests enable_tests
21256 wine_fn_config_makefile dlls
/d3dx11_43 enable_d3dx11_43
21257 wine_fn_config_makefile dlls
/d3dx11_43
/tests enable_tests
21258 wine_fn_config_makefile dlls
/d3dx9_24 enable_d3dx9_24
21259 wine_fn_config_makefile dlls
/d3dx9_25 enable_d3dx9_25
21260 wine_fn_config_makefile dlls
/d3dx9_26 enable_d3dx9_26
21261 wine_fn_config_makefile dlls
/d3dx9_27 enable_d3dx9_27
21262 wine_fn_config_makefile dlls
/d3dx9_28 enable_d3dx9_28
21263 wine_fn_config_makefile dlls
/d3dx9_29 enable_d3dx9_29
21264 wine_fn_config_makefile dlls
/d3dx9_30 enable_d3dx9_30
21265 wine_fn_config_makefile dlls
/d3dx9_31 enable_d3dx9_31
21266 wine_fn_config_makefile dlls
/d3dx9_32 enable_d3dx9_32
21267 wine_fn_config_makefile dlls
/d3dx9_33 enable_d3dx9_33
21268 wine_fn_config_makefile dlls
/d3dx9_34 enable_d3dx9_34
21269 wine_fn_config_makefile dlls
/d3dx9_35 enable_d3dx9_35
21270 wine_fn_config_makefile dlls
/d3dx9_36 enable_d3dx9_36
21271 wine_fn_config_makefile dlls
/d3dx9_36
/tests enable_tests
21272 wine_fn_config_makefile dlls
/d3dx9_37 enable_d3dx9_37
21273 wine_fn_config_makefile dlls
/d3dx9_38 enable_d3dx9_38
21274 wine_fn_config_makefile dlls
/d3dx9_39 enable_d3dx9_39
21275 wine_fn_config_makefile dlls
/d3dx9_40 enable_d3dx9_40
21276 wine_fn_config_makefile dlls
/d3dx9_41 enable_d3dx9_41
21277 wine_fn_config_makefile dlls
/d3dx9_42 enable_d3dx9_42
21278 wine_fn_config_makefile dlls
/d3dx9_43 enable_d3dx9_43
21279 wine_fn_config_makefile dlls
/d3dxof enable_d3dxof
21280 wine_fn_config_makefile dlls
/d3dxof
/tests enable_tests
21281 wine_fn_config_makefile dlls
/davclnt enable_davclnt
21282 wine_fn_config_makefile dlls
/dbgeng enable_dbgeng
21283 wine_fn_config_makefile dlls
/dbgeng
/tests enable_tests
21284 wine_fn_config_makefile dlls
/dbghelp enable_dbghelp
21285 wine_fn_config_makefile dlls
/dbghelp
/tests enable_tests
21286 wine_fn_config_makefile dlls
/dciman32 enable_dciman32
21287 wine_fn_config_makefile dlls
/dcomp enable_dcomp
21288 wine_fn_config_makefile dlls
/ddeml.dll16 enable_win16
21289 wine_fn_config_makefile dlls
/ddraw enable_ddraw
21290 wine_fn_config_makefile dlls
/ddraw
/tests enable_tests
21291 wine_fn_config_makefile dlls
/ddrawex enable_ddrawex
21292 wine_fn_config_makefile dlls
/ddrawex
/tests enable_tests
21293 wine_fn_config_makefile dlls
/devenum enable_devenum
21294 wine_fn_config_makefile dlls
/devenum
/tests enable_tests
21295 wine_fn_config_makefile dlls
/dhcpcsvc enable_dhcpcsvc
21296 wine_fn_config_makefile dlls
/dhcpcsvc
/tests enable_tests
21297 wine_fn_config_makefile dlls
/dhcpcsvc6 enable_dhcpcsvc6
21298 wine_fn_config_makefile dlls
/dhtmled.ocx enable_dhtmled_ocx
21299 wine_fn_config_makefile dlls
/diasymreader enable_diasymreader
21300 wine_fn_config_makefile dlls
/difxapi enable_difxapi
21301 wine_fn_config_makefile dlls
/dinput enable_dinput
21302 wine_fn_config_makefile dlls
/dinput
/tests enable_tests
21303 wine_fn_config_makefile dlls
/dinput8 enable_dinput8
21304 wine_fn_config_makefile dlls
/directmanipulation enable_directmanipulation
21305 wine_fn_config_makefile dlls
/directmanipulation
/tests enable_tests
21306 wine_fn_config_makefile dlls
/dispdib.dll16 enable_win16
21307 wine_fn_config_makefile dlls
/dispex enable_dispex
21308 wine_fn_config_makefile dlls
/dispex
/tests enable_tests
21309 wine_fn_config_makefile dlls
/display.drv16 enable_win16
21310 wine_fn_config_makefile dlls
/dmband enable_dmband
21311 wine_fn_config_makefile dlls
/dmband
/tests enable_tests
21312 wine_fn_config_makefile dlls
/dmcompos enable_dmcompos
21313 wine_fn_config_makefile dlls
/dmcompos
/tests enable_tests
21314 wine_fn_config_makefile dlls
/dmime enable_dmime
21315 wine_fn_config_makefile dlls
/dmime
/tests enable_tests
21316 wine_fn_config_makefile dlls
/dmloader enable_dmloader
21317 wine_fn_config_makefile dlls
/dmloader
/tests enable_tests
21318 wine_fn_config_makefile dlls
/dmscript enable_dmscript
21319 wine_fn_config_makefile dlls
/dmscript
/tests enable_tests
21320 wine_fn_config_makefile dlls
/dmstyle enable_dmstyle
21321 wine_fn_config_makefile dlls
/dmstyle
/tests enable_tests
21322 wine_fn_config_makefile dlls
/dmsynth enable_dmsynth
21323 wine_fn_config_makefile dlls
/dmsynth
/tests enable_tests
21324 wine_fn_config_makefile dlls
/dmusic enable_dmusic
21325 wine_fn_config_makefile dlls
/dmusic
/tests enable_tests
21326 wine_fn_config_makefile dlls
/dmusic32 enable_dmusic32
21327 wine_fn_config_makefile dlls
/dnsapi enable_dnsapi
21328 wine_fn_config_makefile dlls
/dnsapi
/tests enable_tests
21329 wine_fn_config_makefile dlls
/dplay enable_dplay
21330 wine_fn_config_makefile dlls
/dplayx enable_dplayx
21331 wine_fn_config_makefile dlls
/dplayx
/tests enable_tests
21332 wine_fn_config_makefile dlls
/dpnaddr enable_dpnaddr
21333 wine_fn_config_makefile dlls
/dpnet enable_dpnet
21334 wine_fn_config_makefile dlls
/dpnet
/tests enable_tests
21335 wine_fn_config_makefile dlls
/dpnhpast enable_dpnhpast
21336 wine_fn_config_makefile dlls
/dpnhupnp enable_dpnhupnp
21337 wine_fn_config_makefile dlls
/dpnlobby enable_dpnlobby
21338 wine_fn_config_makefile dlls
/dpvoice enable_dpvoice
21339 wine_fn_config_makefile dlls
/dpvoice
/tests enable_tests
21340 wine_fn_config_makefile dlls
/dpwsockx enable_dpwsockx
21341 wine_fn_config_makefile dlls
/drmclien enable_drmclien
21342 wine_fn_config_makefile dlls
/dsdmo enable_dsdmo
21343 wine_fn_config_makefile dlls
/dsdmo
/tests enable_tests
21344 wine_fn_config_makefile dlls
/dsound enable_dsound
21345 wine_fn_config_makefile dlls
/dsound
/tests enable_tests
21346 wine_fn_config_makefile dlls
/dsquery enable_dsquery
21347 wine_fn_config_makefile dlls
/dssenh enable_dssenh
21348 wine_fn_config_makefile dlls
/dssenh
/tests enable_tests
21349 wine_fn_config_makefile dlls
/dsuiext enable_dsuiext
21350 wine_fn_config_makefile dlls
/dswave enable_dswave
21351 wine_fn_config_makefile dlls
/dswave
/tests enable_tests
21352 wine_fn_config_makefile dlls
/dwmapi enable_dwmapi
21353 wine_fn_config_makefile dlls
/dwmapi
/tests enable_tests
21354 wine_fn_config_makefile dlls
/dwrite enable_dwrite
21355 wine_fn_config_makefile dlls
/dwrite
/tests enable_tests
21356 wine_fn_config_makefile dlls
/dx8vb enable_dx8vb
21357 wine_fn_config_makefile dlls
/dxdiagn enable_dxdiagn
21358 wine_fn_config_makefile dlls
/dxdiagn
/tests enable_tests
21359 wine_fn_config_makefile dlls
/dxgi enable_dxgi
21360 wine_fn_config_makefile dlls
/dxgi
/tests enable_tests
21361 wine_fn_config_makefile dlls
/dxtrans enable_dxtrans
21362 wine_fn_config_makefile dlls
/dxva2 enable_dxva2
21363 wine_fn_config_makefile dlls
/dxva
2/tests enable_tests
21364 wine_fn_config_makefile dlls
/esent enable_esent
21365 wine_fn_config_makefile dlls
/evr enable_evr
21366 wine_fn_config_makefile dlls
/evr
/tests enable_tests
21367 wine_fn_config_makefile dlls
/explorerframe enable_explorerframe
21368 wine_fn_config_makefile dlls
/explorerframe
/tests enable_tests
21369 wine_fn_config_makefile dlls
/faultrep enable_faultrep
21370 wine_fn_config_makefile dlls
/faultrep
/tests enable_tests
21371 wine_fn_config_makefile dlls
/feclient enable_feclient
21372 wine_fn_config_makefile dlls
/fltlib enable_fltlib
21373 wine_fn_config_makefile dlls
/fltmgr.sys enable_fltmgr_sys
21374 wine_fn_config_makefile dlls
/fntcache enable_fntcache
21375 wine_fn_config_makefile dlls
/fontsub enable_fontsub
21376 wine_fn_config_makefile dlls
/fusion enable_fusion
21377 wine_fn_config_makefile dlls
/fusion
/tests enable_tests
21378 wine_fn_config_makefile dlls
/fwpuclnt enable_fwpuclnt
21379 wine_fn_config_makefile dlls
/gameux enable_gameux
21380 wine_fn_config_makefile dlls
/gameux
/tests enable_tests
21381 wine_fn_config_makefile dlls
/gamingtcui enable_gamingtcui
21382 wine_fn_config_makefile dlls
/gdi.exe16 enable_win16
21383 wine_fn_config_makefile dlls
/gdi32 enable_gdi32
21384 wine_fn_config_makefile dlls
/gdi32
/tests enable_tests
21385 wine_fn_config_makefile dlls
/gdiplus enable_gdiplus
21386 wine_fn_config_makefile dlls
/gdiplus
/tests enable_tests
21387 wine_fn_config_makefile dlls
/geolocation enable_geolocation
21388 wine_fn_config_makefile dlls
/geolocation
/tests enable_tests
21389 wine_fn_config_makefile dlls
/glu32 enable_glu32
21390 wine_fn_config_makefile dlls
/gphoto2.ds enable_gphoto2_ds
21391 wine_fn_config_makefile dlls
/gpkcsp enable_gpkcsp
21392 wine_fn_config_makefile dlls
/graphicscapture enable_graphicscapture
21393 wine_fn_config_makefile dlls
/graphicscapture
/tests enable_tests
21394 wine_fn_config_makefile dlls
/hal enable_hal
21395 wine_fn_config_makefile dlls
/hhctrl.ocx enable_hhctrl_ocx
21396 wine_fn_config_makefile dlls
/hid enable_hid
21397 wine_fn_config_makefile dlls
/hid
/tests enable_tests
21398 wine_fn_config_makefile dlls
/hidclass.sys enable_hidclass_sys
21399 wine_fn_config_makefile dlls
/hidparse.sys enable_hidparse_sys
21400 wine_fn_config_makefile dlls
/hlink enable_hlink
21401 wine_fn_config_makefile dlls
/hlink
/tests enable_tests
21402 wine_fn_config_makefile dlls
/hnetcfg enable_hnetcfg
21403 wine_fn_config_makefile dlls
/hnetcfg
/tests enable_tests
21404 wine_fn_config_makefile dlls
/hrtfapo enable_hrtfapo
21405 wine_fn_config_makefile dlls
/http.sys enable_http_sys
21406 wine_fn_config_makefile dlls
/httpapi enable_httpapi
21407 wine_fn_config_makefile dlls
/httpapi
/tests enable_tests
21408 wine_fn_config_makefile dlls
/hvsimanagementapi enable_hvsimanagementapi
21409 wine_fn_config_makefile dlls
/hvsimanagementapi
/tests enable_tests
21410 wine_fn_config_makefile dlls
/ia2comproxy enable_ia2comproxy
21411 wine_fn_config_makefile dlls
/iccvid enable_iccvid
21412 wine_fn_config_makefile dlls
/icmp enable_icmp
21413 wine_fn_config_makefile dlls
/ieframe enable_ieframe
21414 wine_fn_config_makefile dlls
/ieframe
/tests enable_tests
21415 wine_fn_config_makefile dlls
/ieproxy enable_ieproxy
21416 wine_fn_config_makefile dlls
/ifsmgr.vxd enable_win16
21417 wine_fn_config_makefile dlls
/imaadp32.acm enable_imaadp32_acm
21418 wine_fn_config_makefile dlls
/imagehlp enable_imagehlp
21419 wine_fn_config_makefile dlls
/imagehlp
/tests enable_tests
21420 wine_fn_config_makefile dlls
/imm.dll16 enable_win16
21421 wine_fn_config_makefile dlls
/imm32 enable_imm32
21422 wine_fn_config_makefile dlls
/imm32
/tests enable_tests
21423 wine_fn_config_makefile dlls
/inetcomm enable_inetcomm
21424 wine_fn_config_makefile dlls
/inetcomm
/tests enable_tests
21425 wine_fn_config_makefile dlls
/inetcpl.cpl enable_inetcpl_cpl
21426 wine_fn_config_makefile dlls
/inetmib1 enable_inetmib1
21427 wine_fn_config_makefile dlls
/inetmib
1/tests enable_tests
21428 wine_fn_config_makefile dlls
/infosoft enable_infosoft
21429 wine_fn_config_makefile dlls
/infosoft
/tests enable_tests
21430 wine_fn_config_makefile dlls
/initpki enable_initpki
21431 wine_fn_config_makefile dlls
/inkobj enable_inkobj
21432 wine_fn_config_makefile dlls
/inseng enable_inseng
21433 wine_fn_config_makefile dlls
/iphlpapi enable_iphlpapi
21434 wine_fn_config_makefile dlls
/iphlpapi
/tests enable_tests
21435 wine_fn_config_makefile dlls
/iprop enable_iprop
21436 wine_fn_config_makefile dlls
/ir50_32 enable_ir50_32
21437 wine_fn_config_makefile dlls
/irprops.cpl enable_irprops_cpl
21438 wine_fn_config_makefile dlls
/itircl enable_itircl
21439 wine_fn_config_makefile dlls
/itss enable_itss
21440 wine_fn_config_makefile dlls
/itss
/tests enable_tests
21441 wine_fn_config_makefile dlls
/joy.cpl enable_joy_cpl
21442 wine_fn_config_makefile dlls
/jscript enable_jscript
21443 wine_fn_config_makefile dlls
/jscript
/tests enable_tests
21444 wine_fn_config_makefile dlls
/jsproxy enable_jsproxy
21445 wine_fn_config_makefile dlls
/jsproxy
/tests enable_tests
21446 wine_fn_config_makefile dlls
/kerberos enable_kerberos
21447 wine_fn_config_makefile dlls
/kernel32 enable_kernel32
21448 wine_fn_config_makefile dlls
/kernel32
/tests enable_tests
21449 wine_fn_config_makefile dlls
/kernelbase enable_kernelbase
21450 wine_fn_config_makefile dlls
/kernelbase
/tests enable_tests
21451 wine_fn_config_makefile dlls
/keyboard.drv16 enable_win16
21452 wine_fn_config_makefile dlls
/krnl386.exe16 enable_win16
21453 wine_fn_config_makefile dlls
/ksecdd.sys enable_ksecdd_sys
21454 wine_fn_config_makefile dlls
/ksproxy.ax enable_ksproxy_ax
21455 wine_fn_config_makefile dlls
/ksuser enable_ksuser
21456 wine_fn_config_makefile dlls
/ktmw32 enable_ktmw32
21457 wine_fn_config_makefile dlls
/l3codeca.acm enable_l3codeca_acm
21458 wine_fn_config_makefile dlls
/light.msstyles enable_light_msstyles
21459 wine_fn_config_makefile dlls
/loadperf enable_loadperf
21460 wine_fn_config_makefile dlls
/localspl enable_localspl
21461 wine_fn_config_makefile dlls
/localspl
/tests enable_tests
21462 wine_fn_config_makefile dlls
/localui enable_localui
21463 wine_fn_config_makefile dlls
/localui
/tests enable_tests
21464 wine_fn_config_makefile dlls
/lz32 enable_lz32
21465 wine_fn_config_makefile dlls
/lz32
/tests enable_tests
21466 wine_fn_config_makefile dlls
/lzexpand.dll16 enable_win16
21467 wine_fn_config_makefile dlls
/mapi32 enable_mapi32
21468 wine_fn_config_makefile dlls
/mapi32
/tests enable_tests
21469 wine_fn_config_makefile dlls
/mapistub enable_mapistub
21470 wine_fn_config_makefile dlls
/mciavi32 enable_mciavi32
21471 wine_fn_config_makefile dlls
/mcicda enable_mcicda
21472 wine_fn_config_makefile dlls
/mciqtz32 enable_mciqtz32
21473 wine_fn_config_makefile dlls
/mciseq enable_mciseq
21474 wine_fn_config_makefile dlls
/mciwave enable_mciwave
21475 wine_fn_config_makefile dlls
/mf enable_mf
21476 wine_fn_config_makefile dlls
/mf
/tests enable_tests
21477 wine_fn_config_makefile dlls
/mf3216 enable_mf3216
21478 wine_fn_config_makefile dlls
/mferror enable_mferror
21479 wine_fn_config_makefile dlls
/mfmediaengine enable_mfmediaengine
21480 wine_fn_config_makefile dlls
/mfmediaengine
/tests enable_tests
21481 wine_fn_config_makefile dlls
/mfplat enable_mfplat
21482 wine_fn_config_makefile dlls
/mfplat
/tests enable_tests
21483 wine_fn_config_makefile dlls
/mfplay enable_mfplay
21484 wine_fn_config_makefile dlls
/mfplay
/tests enable_tests
21485 wine_fn_config_makefile dlls
/mfreadwrite enable_mfreadwrite
21486 wine_fn_config_makefile dlls
/mfreadwrite
/tests enable_tests
21487 wine_fn_config_makefile dlls
/mfsrcsnk enable_mfsrcsnk
21488 wine_fn_config_makefile dlls
/mfsrcsnk
/tests enable_tests
21489 wine_fn_config_makefile dlls
/mgmtapi enable_mgmtapi
21490 wine_fn_config_makefile dlls
/midimap enable_midimap
21491 wine_fn_config_makefile dlls
/mlang enable_mlang
21492 wine_fn_config_makefile dlls
/mlang
/tests enable_tests
21493 wine_fn_config_makefile dlls
/mmcndmgr enable_mmcndmgr
21494 wine_fn_config_makefile dlls
/mmcndmgr
/tests enable_tests
21495 wine_fn_config_makefile dlls
/mmdevapi enable_mmdevapi
21496 wine_fn_config_makefile dlls
/mmdevapi
/tests enable_tests
21497 wine_fn_config_makefile dlls
/mmdevldr.vxd enable_win16
21498 wine_fn_config_makefile dlls
/mmsystem.dll16 enable_win16
21499 wine_fn_config_makefile dlls
/monodebg.vxd enable_win16
21500 wine_fn_config_makefile dlls
/mountmgr.sys enable_mountmgr_sys
21501 wine_fn_config_makefile dlls
/mouse.drv16 enable_win16
21502 wine_fn_config_makefile dlls
/mp3dmod enable_mp3dmod
21503 wine_fn_config_makefile dlls
/mp3dmod
/tests enable_tests
21504 wine_fn_config_makefile dlls
/mpr enable_mpr
21505 wine_fn_config_makefile dlls
/mpr
/tests enable_tests
21506 wine_fn_config_makefile dlls
/mprapi enable_mprapi
21507 wine_fn_config_makefile dlls
/msacm.dll16 enable_win16
21508 wine_fn_config_makefile dlls
/msacm32.drv enable_msacm32_drv
21509 wine_fn_config_makefile dlls
/msacm32 enable_msacm32
21510 wine_fn_config_makefile dlls
/msacm32
/tests enable_tests
21511 wine_fn_config_makefile dlls
/msado15 enable_msado15
21512 wine_fn_config_makefile dlls
/msado15
/tests enable_tests
21513 wine_fn_config_makefile dlls
/msadp32.acm enable_msadp32_acm
21514 wine_fn_config_makefile dlls
/msasn1 enable_msasn1
21515 wine_fn_config_makefile dlls
/msasn
1/tests enable_tests
21516 wine_fn_config_makefile dlls
/msauddecmft enable_msauddecmft
21517 wine_fn_config_makefile dlls
/mscat32 enable_mscat32
21518 wine_fn_config_makefile dlls
/mscms enable_mscms
21519 wine_fn_config_makefile dlls
/mscms
/tests enable_tests
21520 wine_fn_config_makefile dlls
/mscoree enable_mscoree
21521 wine_fn_config_makefile dlls
/mscoree
/tests enable_tests
21522 wine_fn_config_makefile dlls
/mscorwks enable_mscorwks
21523 wine_fn_config_makefile dlls
/msctf enable_msctf
21524 wine_fn_config_makefile dlls
/msctf
/tests enable_tests
21525 wine_fn_config_makefile dlls
/msctfmonitor enable_msctfmonitor
21526 wine_fn_config_makefile dlls
/msctfp enable_msctfp
21527 wine_fn_config_makefile dlls
/msdaps enable_msdaps
21528 wine_fn_config_makefile dlls
/msdasql enable_msdasql
21529 wine_fn_config_makefile dlls
/msdasql
/tests enable_tests
21530 wine_fn_config_makefile dlls
/msdelta enable_msdelta
21531 wine_fn_config_makefile dlls
/msdmo enable_msdmo
21532 wine_fn_config_makefile dlls
/msdmo
/tests enable_tests
21533 wine_fn_config_makefile dlls
/msdrm enable_msdrm
21534 wine_fn_config_makefile dlls
/msftedit enable_msftedit
21535 wine_fn_config_makefile dlls
/msftedit
/tests enable_tests
21536 wine_fn_config_makefile dlls
/msg711.acm enable_msg711_acm
21537 wine_fn_config_makefile dlls
/msgsm32.acm enable_msgsm32_acm
21538 wine_fn_config_makefile dlls
/mshtml.tlb enable_mshtml_tlb
21539 wine_fn_config_makefile dlls
/mshtml enable_mshtml
21540 wine_fn_config_makefile dlls
/mshtml
/tests enable_tests
21541 wine_fn_config_makefile dlls
/msi enable_msi
21542 wine_fn_config_makefile dlls
/msi
/tests enable_tests
21543 wine_fn_config_makefile dlls
/msident enable_msident
21544 wine_fn_config_makefile dlls
/msimg32 enable_msimg32
21545 wine_fn_config_makefile dlls
/msimsg enable_msimsg
21546 wine_fn_config_makefile dlls
/msimtf enable_msimtf
21547 wine_fn_config_makefile dlls
/msisip enable_msisip
21548 wine_fn_config_makefile dlls
/msisys.ocx enable_msisys_ocx
21549 wine_fn_config_makefile dlls
/msls31 enable_msls31
21550 wine_fn_config_makefile dlls
/msmpeg2vdec enable_msmpeg2vdec
21551 wine_fn_config_makefile dlls
/msnet32 enable_msnet32
21552 wine_fn_config_makefile dlls
/mspatcha enable_mspatcha
21553 wine_fn_config_makefile dlls
/mspatcha
/tests enable_tests
21554 wine_fn_config_makefile dlls
/msports enable_msports
21555 wine_fn_config_makefile dlls
/msrle32 enable_msrle32
21556 wine_fn_config_makefile dlls
/msrle32
/tests enable_tests
21557 wine_fn_config_makefile dlls
/msscript.ocx enable_msscript_ocx
21558 wine_fn_config_makefile dlls
/msscript.ocx
/tests enable_tests
21559 wine_fn_config_makefile dlls
/mssign32 enable_mssign32
21560 wine_fn_config_makefile dlls
/mssip32 enable_mssip32
21561 wine_fn_config_makefile dlls
/mstask enable_mstask
21562 wine_fn_config_makefile dlls
/mstask
/tests enable_tests
21563 wine_fn_config_makefile dlls
/msv1_0 enable_msv1_0
21564 wine_fn_config_makefile dlls
/msvcirt enable_msvcirt
21565 wine_fn_config_makefile dlls
/msvcirt
/tests enable_tests
21566 wine_fn_config_makefile dlls
/msvcm80 enable_msvcm80
21567 wine_fn_config_makefile dlls
/msvcm90 enable_msvcm90
21568 wine_fn_config_makefile dlls
/msvcp100 enable_msvcp100
21569 wine_fn_config_makefile dlls
/msvcp100
/tests enable_tests
21570 wine_fn_config_makefile dlls
/msvcp110 enable_msvcp110
21571 wine_fn_config_makefile dlls
/msvcp110
/tests enable_tests
21572 wine_fn_config_makefile dlls
/msvcp120 enable_msvcp120
21573 wine_fn_config_makefile dlls
/msvcp120
/tests enable_tests
21574 wine_fn_config_makefile dlls
/msvcp120_app enable_msvcp120_app
21575 wine_fn_config_makefile dlls
/msvcp140 enable_msvcp140
21576 wine_fn_config_makefile dlls
/msvcp140
/tests enable_tests
21577 wine_fn_config_makefile dlls
/msvcp140_1 enable_msvcp140_1
21578 wine_fn_config_makefile dlls
/msvcp140_
1/tests enable_tests
21579 wine_fn_config_makefile dlls
/msvcp140_2 enable_msvcp140_2
21580 wine_fn_config_makefile dlls
/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21581 wine_fn_config_makefile dlls
/msvcp140_atomic_wait
/tests enable_tests
21582 wine_fn_config_makefile dlls
/msvcp140_codecvt_ids enable_msvcp140_codecvt_ids
21583 wine_fn_config_makefile dlls
/msvcp60 enable_msvcp60
21584 wine_fn_config_makefile dlls
/msvcp60
/tests enable_tests
21585 wine_fn_config_makefile dlls
/msvcp70 enable_msvcp70
21586 wine_fn_config_makefile dlls
/msvcp71 enable_msvcp71
21587 wine_fn_config_makefile dlls
/msvcp80 enable_msvcp80
21588 wine_fn_config_makefile dlls
/msvcp90 enable_msvcp90
21589 wine_fn_config_makefile dlls
/msvcp90
/tests enable_tests
21590 wine_fn_config_makefile dlls
/msvcp_win enable_msvcp_win
21591 wine_fn_config_makefile dlls
/msvcr100 enable_msvcr100
21592 wine_fn_config_makefile dlls
/msvcr100
/tests enable_tests
21593 wine_fn_config_makefile dlls
/msvcr110 enable_msvcr110
21594 wine_fn_config_makefile dlls
/msvcr110
/tests enable_tests
21595 wine_fn_config_makefile dlls
/msvcr120 enable_msvcr120
21596 wine_fn_config_makefile dlls
/msvcr120
/tests enable_tests
21597 wine_fn_config_makefile dlls
/msvcr120_app enable_msvcr120_app
21598 wine_fn_config_makefile dlls
/msvcr70 enable_msvcr70
21599 wine_fn_config_makefile dlls
/msvcr70
/tests enable_tests
21600 wine_fn_config_makefile dlls
/msvcr71 enable_msvcr71
21601 wine_fn_config_makefile dlls
/msvcr71
/tests enable_tests
21602 wine_fn_config_makefile dlls
/msvcr80 enable_msvcr80
21603 wine_fn_config_makefile dlls
/msvcr80
/tests enable_tests
21604 wine_fn_config_makefile dlls
/msvcr90 enable_msvcr90
21605 wine_fn_config_makefile dlls
/msvcr90
/tests enable_tests
21606 wine_fn_config_makefile dlls
/msvcrt enable_msvcrt
21607 wine_fn_config_makefile dlls
/msvcrt
/tests enable_tests
21608 wine_fn_config_makefile dlls
/msvcrt20 enable_msvcrt20
21609 wine_fn_config_makefile dlls
/msvcrt40 enable_msvcrt40
21610 wine_fn_config_makefile dlls
/msvcrtd enable_msvcrtd
21611 wine_fn_config_makefile dlls
/msvcrtd
/tests enable_tests
21612 wine_fn_config_makefile dlls
/msvfw32 enable_msvfw32
21613 wine_fn_config_makefile dlls
/msvfw32
/tests enable_tests
21614 wine_fn_config_makefile dlls
/msvidc32 enable_msvidc32
21615 wine_fn_config_makefile dlls
/msvideo.dll16 enable_win16
21616 wine_fn_config_makefile dlls
/mswsock enable_mswsock
21617 wine_fn_config_makefile dlls
/msxml enable_msxml
21618 wine_fn_config_makefile dlls
/msxml2 enable_msxml2
21619 wine_fn_config_makefile dlls
/msxml3 enable_msxml3
21620 wine_fn_config_makefile dlls
/msxml
3/tests enable_tests
21621 wine_fn_config_makefile dlls
/msxml4 enable_msxml4
21622 wine_fn_config_makefile dlls
/msxml6 enable_msxml6
21623 wine_fn_config_makefile dlls
/mtxdm enable_mtxdm
21624 wine_fn_config_makefile dlls
/ncrypt enable_ncrypt
21625 wine_fn_config_makefile dlls
/ncrypt
/tests enable_tests
21626 wine_fn_config_makefile dlls
/nddeapi enable_nddeapi
21627 wine_fn_config_makefile dlls
/ndis.sys enable_ndis_sys
21628 wine_fn_config_makefile dlls
/ndis.sys
/tests enable_tests
21629 wine_fn_config_makefile dlls
/netapi32 enable_netapi32
21630 wine_fn_config_makefile dlls
/netapi32
/tests enable_tests
21631 wine_fn_config_makefile dlls
/netcfgx enable_netcfgx
21632 wine_fn_config_makefile dlls
/netcfgx
/tests enable_tests
21633 wine_fn_config_makefile dlls
/netio.sys enable_netio_sys
21634 wine_fn_config_makefile dlls
/netprofm enable_netprofm
21635 wine_fn_config_makefile dlls
/netprofm
/tests enable_tests
21636 wine_fn_config_makefile dlls
/netutils enable_netutils
21637 wine_fn_config_makefile dlls
/newdev enable_newdev
21638 wine_fn_config_makefile dlls
/ninput enable_ninput
21639 wine_fn_config_makefile dlls
/ninput
/tests enable_tests
21640 wine_fn_config_makefile dlls
/normaliz enable_normaliz
21641 wine_fn_config_makefile dlls
/npmshtml enable_npmshtml
21642 wine_fn_config_makefile dlls
/npptools enable_npptools
21643 wine_fn_config_makefile dlls
/nsi enable_nsi
21644 wine_fn_config_makefile dlls
/nsi
/tests enable_tests
21645 wine_fn_config_makefile dlls
/nsiproxy.sys enable_nsiproxy_sys
21646 wine_fn_config_makefile dlls
/ntdll enable_ntdll
21647 wine_fn_config_makefile dlls
/ntdll
/tests enable_tests
21648 wine_fn_config_makefile dlls
/ntdsapi enable_ntdsapi
21649 wine_fn_config_makefile dlls
/ntdsapi
/tests enable_tests
21650 wine_fn_config_makefile dlls
/ntoskrnl.exe enable_ntoskrnl_exe
21651 wine_fn_config_makefile dlls
/ntoskrnl.exe
/tests enable_tests
21652 wine_fn_config_makefile dlls
/ntprint enable_ntprint
21653 wine_fn_config_makefile dlls
/ntprint
/tests enable_tests
21654 wine_fn_config_makefile dlls
/objsel enable_objsel
21655 wine_fn_config_makefile dlls
/odbc32 enable_odbc32
21656 wine_fn_config_makefile dlls
/odbcbcp enable_odbcbcp
21657 wine_fn_config_makefile dlls
/odbccp32 enable_odbccp32
21658 wine_fn_config_makefile dlls
/odbccp32
/tests enable_tests
21659 wine_fn_config_makefile dlls
/odbccu32 enable_odbccu32
21660 wine_fn_config_makefile dlls
/ole2.dll16 enable_win16
21661 wine_fn_config_makefile dlls
/ole2conv.dll16 enable_win16
21662 wine_fn_config_makefile dlls
/ole2disp.dll16 enable_win16
21663 wine_fn_config_makefile dlls
/ole2nls.dll16 enable_win16
21664 wine_fn_config_makefile dlls
/ole2prox.dll16 enable_win16
21665 wine_fn_config_makefile dlls
/ole2thk.dll16 enable_win16
21666 wine_fn_config_makefile dlls
/ole32 enable_ole32
21667 wine_fn_config_makefile dlls
/ole32
/tests enable_tests
21668 wine_fn_config_makefile dlls
/oleacc enable_oleacc
21669 wine_fn_config_makefile dlls
/oleacc
/tests enable_tests
21670 wine_fn_config_makefile dlls
/oleaut32 enable_oleaut32
21671 wine_fn_config_makefile dlls
/oleaut32
/tests enable_tests
21672 wine_fn_config_makefile dlls
/olecli.dll16 enable_win16
21673 wine_fn_config_makefile dlls
/olecli32 enable_olecli32
21674 wine_fn_config_makefile dlls
/oledb32 enable_oledb32
21675 wine_fn_config_makefile dlls
/oledb32
/tests enable_tests
21676 wine_fn_config_makefile dlls
/oledlg enable_oledlg
21677 wine_fn_config_makefile dlls
/oledlg
/tests enable_tests
21678 wine_fn_config_makefile dlls
/olepro32 enable_olepro32
21679 wine_fn_config_makefile dlls
/olesvr.dll16 enable_win16
21680 wine_fn_config_makefile dlls
/olesvr32 enable_olesvr32
21681 wine_fn_config_makefile dlls
/olethk32 enable_olethk32
21682 wine_fn_config_makefile dlls
/opcservices enable_opcservices
21683 wine_fn_config_makefile dlls
/opcservices
/tests enable_tests
21684 wine_fn_config_makefile dlls
/opencl enable_opencl
21685 wine_fn_config_makefile dlls
/opengl32 enable_opengl32
21686 wine_fn_config_makefile dlls
/opengl32
/tests enable_tests
21687 wine_fn_config_makefile dlls
/packager enable_packager
21688 wine_fn_config_makefile dlls
/packager
/tests enable_tests
21689 wine_fn_config_makefile dlls
/pdh enable_pdh
21690 wine_fn_config_makefile dlls
/pdh
/tests enable_tests
21691 wine_fn_config_makefile dlls
/photometadatahandler enable_photometadatahandler
21692 wine_fn_config_makefile dlls
/pidgen enable_pidgen
21693 wine_fn_config_makefile dlls
/powrprof enable_powrprof
21694 wine_fn_config_makefile dlls
/printui enable_printui
21695 wine_fn_config_makefile dlls
/prntvpt enable_prntvpt
21696 wine_fn_config_makefile dlls
/prntvpt
/tests enable_tests
21697 wine_fn_config_makefile dlls
/propsys enable_propsys
21698 wine_fn_config_makefile dlls
/propsys
/tests enable_tests
21699 wine_fn_config_makefile dlls
/psapi enable_psapi
21700 wine_fn_config_makefile dlls
/psapi
/tests enable_tests
21701 wine_fn_config_makefile dlls
/pstorec enable_pstorec
21702 wine_fn_config_makefile dlls
/pstorec
/tests enable_tests
21703 wine_fn_config_makefile dlls
/pwrshplugin enable_pwrshplugin
21704 wine_fn_config_makefile dlls
/qasf enable_qasf
21705 wine_fn_config_makefile dlls
/qasf
/tests enable_tests
21706 wine_fn_config_makefile dlls
/qcap enable_qcap
21707 wine_fn_config_makefile dlls
/qcap
/tests enable_tests
21708 wine_fn_config_makefile dlls
/qdvd enable_qdvd
21709 wine_fn_config_makefile dlls
/qdvd
/tests enable_tests
21710 wine_fn_config_makefile dlls
/qedit enable_qedit
21711 wine_fn_config_makefile dlls
/qedit
/tests enable_tests
21712 wine_fn_config_makefile dlls
/qmgr enable_qmgr
21713 wine_fn_config_makefile dlls
/qmgr
/tests enable_tests
21714 wine_fn_config_makefile dlls
/qmgrprxy enable_qmgrprxy
21715 wine_fn_config_makefile dlls
/quartz enable_quartz
21716 wine_fn_config_makefile dlls
/quartz
/tests enable_tests
21717 wine_fn_config_makefile dlls
/query enable_query
21718 wine_fn_config_makefile dlls
/qwave enable_qwave
21719 wine_fn_config_makefile dlls
/qwave
/tests enable_tests
21720 wine_fn_config_makefile dlls
/rasapi16.dll16 enable_win16
21721 wine_fn_config_makefile dlls
/rasapi32 enable_rasapi32
21722 wine_fn_config_makefile dlls
/rasapi32
/tests enable_tests
21723 wine_fn_config_makefile dlls
/rasdlg enable_rasdlg
21724 wine_fn_config_makefile dlls
/regapi enable_regapi
21725 wine_fn_config_makefile dlls
/resutils enable_resutils
21726 wine_fn_config_makefile dlls
/riched20 enable_riched20
21727 wine_fn_config_makefile dlls
/riched20
/tests enable_tests
21728 wine_fn_config_makefile dlls
/riched32 enable_riched32
21729 wine_fn_config_makefile dlls
/riched32
/tests enable_tests
21730 wine_fn_config_makefile dlls
/rpcrt4 enable_rpcrt4
21731 wine_fn_config_makefile dlls
/rpcrt
4/tests enable_tests
21732 wine_fn_config_makefile dlls
/rsabase enable_rsabase
21733 wine_fn_config_makefile dlls
/rsaenh enable_rsaenh
21734 wine_fn_config_makefile dlls
/rsaenh
/tests enable_tests
21735 wine_fn_config_makefile dlls
/rstrtmgr enable_rstrtmgr
21736 wine_fn_config_makefile dlls
/rtutils enable_rtutils
21737 wine_fn_config_makefile dlls
/rtworkq enable_rtworkq
21738 wine_fn_config_makefile dlls
/rtworkq
/tests enable_tests
21739 wine_fn_config_makefile dlls
/samlib enable_samlib
21740 wine_fn_config_makefile dlls
/sane.ds enable_sane_ds
21741 wine_fn_config_makefile dlls
/sapi enable_sapi
21742 wine_fn_config_makefile dlls
/sapi
/tests enable_tests
21743 wine_fn_config_makefile dlls
/sas enable_sas
21744 wine_fn_config_makefile dlls
/scarddlg enable_scarddlg
21745 wine_fn_config_makefile dlls
/scardsvr enable_scardsvr
21746 wine_fn_config_makefile dlls
/sccbase enable_sccbase
21747 wine_fn_config_makefile dlls
/schannel enable_schannel
21748 wine_fn_config_makefile dlls
/schannel
/tests enable_tests
21749 wine_fn_config_makefile dlls
/schedsvc enable_schedsvc
21750 wine_fn_config_makefile dlls
/schedsvc
/tests enable_tests
21751 wine_fn_config_makefile dlls
/scrobj enable_scrobj
21752 wine_fn_config_makefile dlls
/scrobj
/tests enable_tests
21753 wine_fn_config_makefile dlls
/scrrun enable_scrrun
21754 wine_fn_config_makefile dlls
/scrrun
/tests enable_tests
21755 wine_fn_config_makefile dlls
/scsiport.sys enable_scsiport_sys
21756 wine_fn_config_makefile dlls
/sechost enable_sechost
21757 wine_fn_config_makefile dlls
/secur32 enable_secur32
21758 wine_fn_config_makefile dlls
/secur32
/tests enable_tests
21759 wine_fn_config_makefile dlls
/security enable_security
21760 wine_fn_config_makefile dlls
/sensapi enable_sensapi
21761 wine_fn_config_makefile dlls
/serialui enable_serialui
21762 wine_fn_config_makefile dlls
/serialui
/tests enable_tests
21763 wine_fn_config_makefile dlls
/setupapi enable_setupapi
21764 wine_fn_config_makefile dlls
/setupapi
/tests enable_tests
21765 wine_fn_config_makefile dlls
/setupx.dll16 enable_win16
21766 wine_fn_config_makefile dlls
/sfc enable_sfc
21767 wine_fn_config_makefile dlls
/sfc_os enable_sfc_os
21768 wine_fn_config_makefile dlls
/shcore enable_shcore
21769 wine_fn_config_makefile dlls
/shcore
/tests enable_tests
21770 wine_fn_config_makefile dlls
/shdoclc enable_shdoclc
21771 wine_fn_config_makefile dlls
/shdocvw enable_shdocvw
21772 wine_fn_config_makefile dlls
/shdocvw
/tests enable_tests
21773 wine_fn_config_makefile dlls
/shell.dll16 enable_win16
21774 wine_fn_config_makefile dlls
/shell32 enable_shell32
21775 wine_fn_config_makefile dlls
/shell32
/tests enable_tests
21776 wine_fn_config_makefile dlls
/shfolder enable_shfolder
21777 wine_fn_config_makefile dlls
/shlwapi enable_shlwapi
21778 wine_fn_config_makefile dlls
/shlwapi
/tests enable_tests
21779 wine_fn_config_makefile dlls
/slbcsp enable_slbcsp
21780 wine_fn_config_makefile dlls
/slc enable_slc
21781 wine_fn_config_makefile dlls
/slc
/tests enable_tests
21782 wine_fn_config_makefile dlls
/snmpapi enable_snmpapi
21783 wine_fn_config_makefile dlls
/snmpapi
/tests enable_tests
21784 wine_fn_config_makefile dlls
/softpub enable_softpub
21785 wine_fn_config_makefile dlls
/sound.drv16 enable_win16
21786 wine_fn_config_makefile dlls
/spoolss enable_spoolss
21787 wine_fn_config_makefile dlls
/spoolss
/tests enable_tests
21788 wine_fn_config_makefile dlls
/sppc enable_sppc
21789 wine_fn_config_makefile dlls
/srclient enable_srclient
21790 wine_fn_config_makefile dlls
/srvcli enable_srvcli
21791 wine_fn_config_makefile dlls
/sspicli enable_sspicli
21792 wine_fn_config_makefile dlls
/stdole2.tlb enable_stdole2_tlb
21793 wine_fn_config_makefile dlls
/stdole32.tlb enable_stdole32_tlb
21794 wine_fn_config_makefile dlls
/sti enable_sti
21795 wine_fn_config_makefile dlls
/sti
/tests enable_tests
21796 wine_fn_config_makefile dlls
/storage.dll16 enable_win16
21797 wine_fn_config_makefile dlls
/stress.dll16 enable_win16
21798 wine_fn_config_makefile dlls
/strmdll enable_strmdll
21799 wine_fn_config_makefile dlls
/svrapi enable_svrapi
21800 wine_fn_config_makefile dlls
/sxs enable_sxs
21801 wine_fn_config_makefile dlls
/sxs
/tests enable_tests
21802 wine_fn_config_makefile dlls
/system.drv16 enable_win16
21803 wine_fn_config_makefile dlls
/t2embed enable_t2embed
21804 wine_fn_config_makefile dlls
/t2embed
/tests enable_tests
21805 wine_fn_config_makefile dlls
/tapi32 enable_tapi32
21806 wine_fn_config_makefile dlls
/tapi32
/tests enable_tests
21807 wine_fn_config_makefile dlls
/taskschd enable_taskschd
21808 wine_fn_config_makefile dlls
/taskschd
/tests enable_tests
21809 wine_fn_config_makefile dlls
/tbs enable_tbs
21810 wine_fn_config_makefile dlls
/tdh enable_tdh
21811 wine_fn_config_makefile dlls
/tdi.sys enable_tdi_sys
21812 wine_fn_config_makefile dlls
/threadpoolwinrt enable_threadpoolwinrt
21813 wine_fn_config_makefile dlls
/threadpoolwinrt
/tests enable_tests
21814 wine_fn_config_makefile dlls
/toolhelp.dll16 enable_win16
21815 wine_fn_config_makefile dlls
/traffic enable_traffic
21816 wine_fn_config_makefile dlls
/twain.dll16 enable_win16
21817 wine_fn_config_makefile dlls
/twain_32 enable_twain_32
21818 wine_fn_config_makefile dlls
/twain_32
/tests enable_tests
21819 wine_fn_config_makefile dlls
/twinapi.appcore enable_twinapi_appcore
21820 wine_fn_config_makefile dlls
/typelib.dll16 enable_win16
21821 wine_fn_config_makefile dlls
/tzres enable_tzres
21822 wine_fn_config_makefile dlls
/ucrtbase enable_ucrtbase
21823 wine_fn_config_makefile dlls
/ucrtbase
/tests enable_tests
21824 wine_fn_config_makefile dlls
/uianimation enable_uianimation
21825 wine_fn_config_makefile dlls
/uianimation
/tests enable_tests
21826 wine_fn_config_makefile dlls
/uiautomationcore enable_uiautomationcore
21827 wine_fn_config_makefile dlls
/uiautomationcore
/tests enable_tests
21828 wine_fn_config_makefile dlls
/uiribbon enable_uiribbon
21829 wine_fn_config_makefile dlls
/unicows enable_unicows
21830 wine_fn_config_makefile dlls
/updspapi enable_updspapi
21831 wine_fn_config_makefile dlls
/url enable_url
21832 wine_fn_config_makefile dlls
/urlmon enable_urlmon
21833 wine_fn_config_makefile dlls
/urlmon
/tests enable_tests
21834 wine_fn_config_makefile dlls
/usbd.sys enable_usbd_sys
21835 wine_fn_config_makefile dlls
/user.exe16 enable_win16
21836 wine_fn_config_makefile dlls
/user32 enable_user32
21837 wine_fn_config_makefile dlls
/user32
/tests enable_tests
21838 wine_fn_config_makefile dlls
/userenv enable_userenv
21839 wine_fn_config_makefile dlls
/userenv
/tests enable_tests
21840 wine_fn_config_makefile dlls
/usp10 enable_usp10
21841 wine_fn_config_makefile dlls
/usp10
/tests enable_tests
21842 wine_fn_config_makefile dlls
/utildll enable_utildll
21843 wine_fn_config_makefile dlls
/uxtheme enable_uxtheme
21844 wine_fn_config_makefile dlls
/uxtheme
/tests enable_tests
21845 wine_fn_config_makefile dlls
/vbscript enable_vbscript
21846 wine_fn_config_makefile dlls
/vbscript
/tests enable_tests
21847 wine_fn_config_makefile dlls
/vcomp enable_vcomp
21848 wine_fn_config_makefile dlls
/vcomp
/tests enable_tests
21849 wine_fn_config_makefile dlls
/vcomp100 enable_vcomp100
21850 wine_fn_config_makefile dlls
/vcomp110 enable_vcomp110
21851 wine_fn_config_makefile dlls
/vcomp110
/tests enable_tests
21852 wine_fn_config_makefile dlls
/vcomp120 enable_vcomp120
21853 wine_fn_config_makefile dlls
/vcomp140 enable_vcomp140
21854 wine_fn_config_makefile dlls
/vcomp90 enable_vcomp90
21855 wine_fn_config_makefile dlls
/vcruntime140 enable_vcruntime140
21856 wine_fn_config_makefile dlls
/vcruntime140_1 enable_vcruntime140_1
21857 wine_fn_config_makefile dlls
/vdhcp.vxd enable_win16
21858 wine_fn_config_makefile dlls
/vdmdbg enable_vdmdbg
21859 wine_fn_config_makefile dlls
/ver.dll16 enable_win16
21860 wine_fn_config_makefile dlls
/version enable_version
21861 wine_fn_config_makefile dlls
/version
/tests enable_tests
21862 wine_fn_config_makefile dlls
/vga enable_vga
21863 wine_fn_config_makefile dlls
/virtdisk enable_virtdisk
21864 wine_fn_config_makefile dlls
/virtdisk
/tests enable_tests
21865 wine_fn_config_makefile dlls
/vmm.vxd enable_win16
21866 wine_fn_config_makefile dlls
/vnbt.vxd enable_win16
21867 wine_fn_config_makefile dlls
/vnetbios.vxd enable_win16
21868 wine_fn_config_makefile dlls
/vssapi enable_vssapi
21869 wine_fn_config_makefile dlls
/vtdapi.vxd enable_win16
21870 wine_fn_config_makefile dlls
/vulkan-1 enable_vulkan_1
21871 wine_fn_config_makefile dlls
/vulkan-
1/tests enable_tests
21872 wine_fn_config_makefile dlls
/vwin32.vxd enable_win16
21873 wine_fn_config_makefile dlls
/w32skrnl enable_win16
21874 wine_fn_config_makefile dlls
/w32sys.dll16 enable_win16
21875 wine_fn_config_makefile dlls
/wbemdisp enable_wbemdisp
21876 wine_fn_config_makefile dlls
/wbemdisp
/tests enable_tests
21877 wine_fn_config_makefile dlls
/wbemprox enable_wbemprox
21878 wine_fn_config_makefile dlls
/wbemprox
/tests enable_tests
21879 wine_fn_config_makefile dlls
/wdscore enable_wdscore
21880 wine_fn_config_makefile dlls
/webservices enable_webservices
21881 wine_fn_config_makefile dlls
/webservices
/tests enable_tests
21882 wine_fn_config_makefile dlls
/websocket enable_websocket
21883 wine_fn_config_makefile dlls
/wer enable_wer
21884 wine_fn_config_makefile dlls
/wer
/tests enable_tests
21885 wine_fn_config_makefile dlls
/wevtapi enable_wevtapi
21886 wine_fn_config_makefile dlls
/wevtapi
/tests enable_tests
21887 wine_fn_config_makefile dlls
/wevtsvc enable_wevtsvc
21888 wine_fn_config_makefile dlls
/wiaservc enable_wiaservc
21889 wine_fn_config_makefile dlls
/wiaservc
/tests enable_tests
21890 wine_fn_config_makefile dlls
/wimgapi enable_wimgapi
21891 wine_fn_config_makefile dlls
/win32s16.dll16 enable_win16
21892 wine_fn_config_makefile dlls
/win32u enable_win32u
21893 wine_fn_config_makefile dlls
/win32u
/tests enable_tests
21894 wine_fn_config_makefile dlls
/win87em.dll16 enable_win16
21895 wine_fn_config_makefile dlls
/winaspi.dll16 enable_win16
21896 wine_fn_config_makefile dlls
/windebug.dll16 enable_win16
21897 wine_fn_config_makefile dlls
/windows.devices.bluetooth enable_windows_devices_bluetooth
21898 wine_fn_config_makefile dlls
/windows.devices.bluetooth
/tests enable_tests
21899 wine_fn_config_makefile dlls
/windows.devices.enumeration enable_windows_devices_enumeration
21900 wine_fn_config_makefile dlls
/windows.devices.enumeration
/tests enable_tests
21901 wine_fn_config_makefile dlls
/windows.devices.usb enable_windows_devices_usb
21902 wine_fn_config_makefile dlls
/windows.devices.usb
/tests enable_tests
21903 wine_fn_config_makefile dlls
/windows.gaming.input enable_windows_gaming_input
21904 wine_fn_config_makefile dlls
/windows.gaming.input
/tests enable_tests
21905 wine_fn_config_makefile dlls
/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
21906 wine_fn_config_makefile dlls
/windows.gaming.ui.gamebar
/tests enable_tests
21907 wine_fn_config_makefile dlls
/windows.globalization enable_windows_globalization
21908 wine_fn_config_makefile dlls
/windows.globalization
/tests enable_tests
21909 wine_fn_config_makefile dlls
/windows.media.devices enable_windows_media_devices
21910 wine_fn_config_makefile dlls
/windows.media.devices
/tests enable_tests
21911 wine_fn_config_makefile dlls
/windows.media.speech enable_windows_media_speech
21912 wine_fn_config_makefile dlls
/windows.media.speech
/tests enable_tests
21913 wine_fn_config_makefile dlls
/windows.media enable_windows_media
21914 wine_fn_config_makefile dlls
/windows.media
/tests enable_tests
21915 wine_fn_config_makefile dlls
/windows.networking.hostname enable_windows_networking_hostname
21916 wine_fn_config_makefile dlls
/windows.networking.hostname
/tests enable_tests
21917 wine_fn_config_makefile dlls
/windows.networking enable_windows_networking
21918 wine_fn_config_makefile dlls
/windows.perception.stub enable_windows_perception_stub
21919 wine_fn_config_makefile dlls
/windows.perception.stub
/tests enable_tests
21920 wine_fn_config_makefile dlls
/windows.system.profile.systemmanufacturers enable_windows_system_profile_systemmanufacturers
21921 wine_fn_config_makefile dlls
/windows.system.profile.systemmanufacturers
/tests enable_tests
21922 wine_fn_config_makefile dlls
/windows.ui enable_windows_ui
21923 wine_fn_config_makefile dlls
/windows.ui
/tests enable_tests
21924 wine_fn_config_makefile dlls
/windowscodecs enable_windowscodecs
21925 wine_fn_config_makefile dlls
/windowscodecs
/tests enable_tests
21926 wine_fn_config_makefile dlls
/windowscodecsext enable_windowscodecsext
21927 wine_fn_config_makefile dlls
/windowscodecsext
/tests enable_tests
21928 wine_fn_config_makefile dlls
/winealsa.drv enable_winealsa_drv
21929 wine_fn_config_makefile dlls
/wineandroid.drv enable_wineandroid_drv
21930 wine_fn_config_makefile dlls
/winebus.sys enable_winebus_sys
21931 wine_fn_config_makefile dlls
/winecoreaudio.drv enable_winecoreaudio_drv
21932 wine_fn_config_makefile dlls
/winecrt0 enable_winecrt0
21933 wine_fn_config_makefile dlls
/wined3d enable_wined3d
21934 wine_fn_config_makefile dlls
/winegstreamer enable_winegstreamer
21935 wine_fn_config_makefile dlls
/winehid.sys enable_winehid_sys
21936 wine_fn_config_makefile dlls
/winemac.drv enable_winemac_drv
21937 wine_fn_config_makefile dlls
/winemapi enable_winemapi
21938 wine_fn_config_makefile dlls
/wineoss.drv enable_wineoss_drv
21939 wine_fn_config_makefile dlls
/wineps.drv enable_wineps_drv
21940 wine_fn_config_makefile dlls
/wineps16.drv16 enable_win16
21941 wine_fn_config_makefile dlls
/winepulse.drv enable_winepulse_drv
21942 wine_fn_config_makefile dlls
/wineusb.sys enable_wineusb_sys
21943 wine_fn_config_makefile dlls
/winevulkan enable_winevulkan
21944 wine_fn_config_makefile dlls
/winewayland.drv enable_winewayland_drv
21945 wine_fn_config_makefile dlls
/winex11.drv enable_winex11_drv
21946 wine_fn_config_makefile dlls
/winexinput.sys enable_winexinput_sys
21947 wine_fn_config_makefile dlls
/wing.dll16 enable_win16
21948 wine_fn_config_makefile dlls
/wing32 enable_wing32
21949 wine_fn_config_makefile dlls
/winhttp enable_winhttp
21950 wine_fn_config_makefile dlls
/winhttp
/tests enable_tests
21951 wine_fn_config_makefile dlls
/wininet enable_wininet
21952 wine_fn_config_makefile dlls
/wininet
/tests enable_tests
21953 wine_fn_config_makefile dlls
/winmm enable_winmm
21954 wine_fn_config_makefile dlls
/winmm
/tests enable_tests
21955 wine_fn_config_makefile dlls
/winnls.dll16 enable_win16
21956 wine_fn_config_makefile dlls
/winnls32 enable_winnls32
21957 wine_fn_config_makefile dlls
/winprint enable_winprint
21958 wine_fn_config_makefile dlls
/winscard enable_winscard
21959 wine_fn_config_makefile dlls
/winscard
/tests enable_tests
21960 wine_fn_config_makefile dlls
/winsock.dll16 enable_win16
21961 wine_fn_config_makefile dlls
/winspool.drv enable_winspool_drv
21962 wine_fn_config_makefile dlls
/winspool.drv
/tests enable_tests
21963 wine_fn_config_makefile dlls
/winsta enable_winsta
21964 wine_fn_config_makefile dlls
/wintab.dll16 enable_win16
21965 wine_fn_config_makefile dlls
/wintab32 enable_wintab32
21966 wine_fn_config_makefile dlls
/wintab32
/tests enable_tests
21967 wine_fn_config_makefile dlls
/wintrust enable_wintrust
21968 wine_fn_config_makefile dlls
/wintrust
/tests enable_tests
21969 wine_fn_config_makefile dlls
/wintypes enable_wintypes
21970 wine_fn_config_makefile dlls
/wintypes
/tests enable_tests
21971 wine_fn_config_makefile dlls
/winusb enable_winusb
21972 wine_fn_config_makefile dlls
/wlanapi enable_wlanapi
21973 wine_fn_config_makefile dlls
/wlanapi
/tests enable_tests
21974 wine_fn_config_makefile dlls
/wlanui enable_wlanui
21975 wine_fn_config_makefile dlls
/wldap32 enable_wldap32
21976 wine_fn_config_makefile dlls
/wldap32
/tests enable_tests
21977 wine_fn_config_makefile dlls
/wmasf enable_wmasf
21978 wine_fn_config_makefile dlls
/wmi enable_wmi
21979 wine_fn_config_makefile dlls
/wmiutils enable_wmiutils
21980 wine_fn_config_makefile dlls
/wmiutils
/tests enable_tests
21981 wine_fn_config_makefile dlls
/wmp enable_wmp
21982 wine_fn_config_makefile dlls
/wmp
/tests enable_tests
21983 wine_fn_config_makefile dlls
/wmphoto enable_wmphoto
21984 wine_fn_config_makefile dlls
/wmvcore enable_wmvcore
21985 wine_fn_config_makefile dlls
/wmvcore
/tests enable_tests
21986 wine_fn_config_makefile dlls
/wnaspi32 enable_wnaspi32
21987 wine_fn_config_makefile dlls
/wofutil enable_wofutil
21988 wine_fn_config_makefile dlls
/wow32 enable_win16
21989 wine_fn_config_makefile dlls
/wow64 enable_wow64
21990 wine_fn_config_makefile dlls
/wow64cpu enable_wow64cpu
21991 wine_fn_config_makefile dlls
/wow64win enable_wow64win
21992 wine_fn_config_makefile dlls
/wpc enable_wpc
21993 wine_fn_config_makefile dlls
/wpc
/tests enable_tests
21994 wine_fn_config_makefile dlls
/wpcap enable_wpcap
21995 wine_fn_config_makefile dlls
/wpcap
/tests enable_tests
21996 wine_fn_config_makefile dlls
/ws2_32 enable_ws2_32
21997 wine_fn_config_makefile dlls
/ws2_32
/tests enable_tests
21998 wine_fn_config_makefile dlls
/wsdapi enable_wsdapi
21999 wine_fn_config_makefile dlls
/wsdapi
/tests enable_tests
22000 wine_fn_config_makefile dlls
/wshom.ocx enable_wshom_ocx
22001 wine_fn_config_makefile dlls
/wshom.ocx
/tests enable_tests
22002 wine_fn_config_makefile dlls
/wsnmp32 enable_wsnmp32
22003 wine_fn_config_makefile dlls
/wsnmp32
/tests enable_tests
22004 wine_fn_config_makefile dlls
/wsock32 enable_wsock32
22005 wine_fn_config_makefile dlls
/wtsapi32 enable_wtsapi32
22006 wine_fn_config_makefile dlls
/wtsapi32
/tests enable_tests
22007 wine_fn_config_makefile dlls
/wuapi enable_wuapi
22008 wine_fn_config_makefile dlls
/wuaueng enable_wuaueng
22009 wine_fn_config_makefile dlls
/x3daudio1_0 enable_x3daudio1_0
22010 wine_fn_config_makefile dlls
/x3daudio1_1 enable_x3daudio1_1
22011 wine_fn_config_makefile dlls
/x3daudio1_2 enable_x3daudio1_2
22012 wine_fn_config_makefile dlls
/x3daudio1_3 enable_x3daudio1_3
22013 wine_fn_config_makefile dlls
/x3daudio1_4 enable_x3daudio1_4
22014 wine_fn_config_makefile dlls
/x3daudio1_5 enable_x3daudio1_5
22015 wine_fn_config_makefile dlls
/x3daudio1_6 enable_x3daudio1_6
22016 wine_fn_config_makefile dlls
/x3daudio1_7 enable_x3daudio1_7
22017 wine_fn_config_makefile dlls
/xactengine2_0 enable_xactengine2_0
22018 wine_fn_config_makefile dlls
/xactengine2_4 enable_xactengine2_4
22019 wine_fn_config_makefile dlls
/xactengine2_7 enable_xactengine2_7
22020 wine_fn_config_makefile dlls
/xactengine2_9 enable_xactengine2_9
22021 wine_fn_config_makefile dlls
/xactengine3_0 enable_xactengine3_0
22022 wine_fn_config_makefile dlls
/xactengine3_1 enable_xactengine3_1
22023 wine_fn_config_makefile dlls
/xactengine3_2 enable_xactengine3_2
22024 wine_fn_config_makefile dlls
/xactengine3_3 enable_xactengine3_3
22025 wine_fn_config_makefile dlls
/xactengine3_4 enable_xactengine3_4
22026 wine_fn_config_makefile dlls
/xactengine3_5 enable_xactengine3_5
22027 wine_fn_config_makefile dlls
/xactengine3_6 enable_xactengine3_6
22028 wine_fn_config_makefile dlls
/xactengine3_7 enable_xactengine3_7
22029 wine_fn_config_makefile dlls
/xactengine3_
7/tests enable_tests
22030 wine_fn_config_makefile dlls
/xapofx1_1 enable_xapofx1_1
22031 wine_fn_config_makefile dlls
/xapofx1_2 enable_xapofx1_2
22032 wine_fn_config_makefile dlls
/xapofx1_3 enable_xapofx1_3
22033 wine_fn_config_makefile dlls
/xapofx1_4 enable_xapofx1_4
22034 wine_fn_config_makefile dlls
/xapofx1_5 enable_xapofx1_5
22035 wine_fn_config_makefile dlls
/xaudio2_0 enable_xaudio2_0
22036 wine_fn_config_makefile dlls
/xaudio2_1 enable_xaudio2_1
22037 wine_fn_config_makefile dlls
/xaudio2_2 enable_xaudio2_2
22038 wine_fn_config_makefile dlls
/xaudio2_3 enable_xaudio2_3
22039 wine_fn_config_makefile dlls
/xaudio2_4 enable_xaudio2_4
22040 wine_fn_config_makefile dlls
/xaudio2_5 enable_xaudio2_5
22041 wine_fn_config_makefile dlls
/xaudio2_6 enable_xaudio2_6
22042 wine_fn_config_makefile dlls
/xaudio2_7 enable_xaudio2_7
22043 wine_fn_config_makefile dlls
/xaudio2_
7/tests enable_tests
22044 wine_fn_config_makefile dlls
/xaudio2_8 enable_xaudio2_8
22045 wine_fn_config_makefile dlls
/xaudio2_
8/tests enable_tests
22046 wine_fn_config_makefile dlls
/xaudio2_9 enable_xaudio2_9
22047 wine_fn_config_makefile dlls
/xinput1_1 enable_xinput1_1
22048 wine_fn_config_makefile dlls
/xinput1_2 enable_xinput1_2
22049 wine_fn_config_makefile dlls
/xinput1_3 enable_xinput1_3
22050 wine_fn_config_makefile dlls
/xinput1_
3/tests enable_tests
22051 wine_fn_config_makefile dlls
/xinput1_4 enable_xinput1_4
22052 wine_fn_config_makefile dlls
/xinput9_1_0 enable_xinput9_1_0
22053 wine_fn_config_makefile dlls
/xinputuap enable_xinputuap
22054 wine_fn_config_makefile dlls
/xmllite enable_xmllite
22055 wine_fn_config_makefile dlls
/xmllite
/tests enable_tests
22056 wine_fn_config_makefile dlls
/xolehlp enable_xolehlp
22057 wine_fn_config_makefile dlls
/xpsprint enable_xpsprint
22058 wine_fn_config_makefile dlls
/xpssvcs enable_xpssvcs
22059 wine_fn_config_makefile fonts enable_fonts
22060 wine_fn_config_makefile include enable_include
22061 wine_fn_config_makefile libs
/adsiid enable_adsiid
22062 wine_fn_config_makefile libs
/dmoguids enable_dmoguids
22063 wine_fn_config_makefile libs
/dxerr8 enable_dxerr8
22064 wine_fn_config_makefile libs
/dxerr9 enable_dxerr9
22065 wine_fn_config_makefile libs
/dxguid enable_dxguid
22066 wine_fn_config_makefile libs
/faudio enable_faudio
22067 wine_fn_config_makefile libs
/gsm enable_gsm
22068 wine_fn_config_makefile libs
/jpeg enable_jpeg
22069 wine_fn_config_makefile libs
/jxr enable_jxr
22070 wine_fn_config_makefile libs
/lcms2 enable_lcms2
22071 wine_fn_config_makefile libs
/ldap enable_ldap
22072 wine_fn_config_makefile libs
/mfuuid enable_mfuuid
22073 wine_fn_config_makefile libs
/mpg123 enable_mpg123
22074 wine_fn_config_makefile libs
/musl enable_musl
22075 wine_fn_config_makefile libs
/png enable_png
22076 wine_fn_config_makefile libs
/strmbase enable_strmbase
22077 wine_fn_config_makefile libs
/strmiids enable_strmiids
22078 wine_fn_config_makefile libs
/tiff enable_tiff
22079 wine_fn_config_makefile libs
/uuid enable_uuid
22080 wine_fn_config_makefile libs
/vkd3d enable_vkd3d
22081 wine_fn_config_makefile libs
/wbemuuid enable_wbemuuid
22082 wine_fn_config_makefile libs
/wmcodecdspuuid enable_wmcodecdspuuid
22083 wine_fn_config_makefile libs
/xml2 enable_xml2
22084 wine_fn_config_makefile libs
/xslt enable_xslt
22085 wine_fn_config_makefile libs
/zlib enable_zlib
22086 wine_fn_config_makefile libs
/zydis enable_zydis
22087 wine_fn_config_makefile loader enable_loader
22088 wine_fn_config_makefile nls enable_nls
22089 wine_fn_config_makefile po enable_po
22090 wine_fn_config_makefile programs
/arp enable_arp
22091 wine_fn_config_makefile programs
/aspnet_regiis enable_aspnet_regiis
22092 wine_fn_config_makefile programs
/attrib enable_attrib
22093 wine_fn_config_makefile programs
/cabarc enable_cabarc
22094 wine_fn_config_makefile programs
/cacls enable_cacls
22095 wine_fn_config_makefile programs
/certutil enable_certutil
22096 wine_fn_config_makefile programs
/chcp.com enable_chcp_com
22097 wine_fn_config_makefile programs
/clock enable_clock
22098 wine_fn_config_makefile programs
/cmd enable_cmd
22099 wine_fn_config_makefile programs
/cmd
/tests enable_tests
22100 wine_fn_config_makefile programs
/conhost enable_conhost
22101 wine_fn_config_makefile programs
/conhost
/tests enable_tests
22102 wine_fn_config_makefile programs
/control enable_control
22103 wine_fn_config_makefile programs
/cscript enable_cscript
22104 wine_fn_config_makefile programs
/dism enable_dism
22105 wine_fn_config_makefile programs
/dllhost enable_dllhost
22106 wine_fn_config_makefile programs
/dplaysvr enable_dplaysvr
22107 wine_fn_config_makefile programs
/dpnsvr enable_dpnsvr
22108 wine_fn_config_makefile programs
/dpvsetup enable_dpvsetup
22109 wine_fn_config_makefile programs
/dxdiag enable_dxdiag
22110 wine_fn_config_makefile programs
/eject enable_eject
22111 wine_fn_config_makefile programs
/expand enable_expand
22112 wine_fn_config_makefile programs
/explorer enable_explorer
22113 wine_fn_config_makefile programs
/explorer
/tests enable_tests
22114 wine_fn_config_makefile programs
/extrac32 enable_extrac32
22115 wine_fn_config_makefile programs
/fc enable_fc
22116 wine_fn_config_makefile programs
/find enable_find
22117 wine_fn_config_makefile programs
/find
/tests enable_tests
22118 wine_fn_config_makefile programs
/findstr enable_findstr
22119 wine_fn_config_makefile programs
/findstr
/tests enable_tests
22120 wine_fn_config_makefile programs
/fsutil enable_fsutil
22121 wine_fn_config_makefile programs
/fsutil
/tests enable_tests
22122 wine_fn_config_makefile programs
/hh enable_hh
22123 wine_fn_config_makefile programs
/hostname enable_hostname
22124 wine_fn_config_makefile programs
/icacls enable_icacls
22125 wine_fn_config_makefile programs
/icinfo enable_icinfo
22126 wine_fn_config_makefile programs
/iexplore enable_iexplore
22127 wine_fn_config_makefile programs
/ipconfig enable_ipconfig
22128 wine_fn_config_makefile programs
/klist enable_klist
22129 wine_fn_config_makefile programs
/lodctr enable_lodctr
22130 wine_fn_config_makefile programs
/mofcomp enable_mofcomp
22131 wine_fn_config_makefile programs
/mshta enable_mshta
22132 wine_fn_config_makefile programs
/msidb enable_msidb
22133 wine_fn_config_makefile programs
/msiexec enable_msiexec
22134 wine_fn_config_makefile programs
/msinfo32 enable_msinfo32
22135 wine_fn_config_makefile programs
/net enable_net
22136 wine_fn_config_makefile programs
/netsh enable_netsh
22137 wine_fn_config_makefile programs
/netstat enable_netstat
22138 wine_fn_config_makefile programs
/ngen enable_ngen
22139 wine_fn_config_makefile programs
/notepad enable_notepad
22140 wine_fn_config_makefile programs
/oleview enable_oleview
22141 wine_fn_config_makefile programs
/ping enable_ping
22142 wine_fn_config_makefile programs
/plugplay enable_plugplay
22143 wine_fn_config_makefile programs
/pnputil enable_pnputil
22144 wine_fn_config_makefile programs
/powershell enable_powershell
22145 wine_fn_config_makefile programs
/presentationfontcache enable_presentationfontcache
22146 wine_fn_config_makefile programs
/progman enable_progman
22147 wine_fn_config_makefile programs
/reg enable_reg
22148 wine_fn_config_makefile programs
/reg
/tests enable_tests
22149 wine_fn_config_makefile programs
/regasm enable_regasm
22150 wine_fn_config_makefile programs
/regedit enable_regedit
22151 wine_fn_config_makefile programs
/regedit
/tests enable_tests
22152 wine_fn_config_makefile programs
/regini enable_regini
22153 wine_fn_config_makefile programs
/regsvcs enable_regsvcs
22154 wine_fn_config_makefile programs
/regsvr32 enable_regsvr32
22155 wine_fn_config_makefile programs
/robocopy enable_robocopy
22156 wine_fn_config_makefile programs
/rpcss enable_rpcss
22157 wine_fn_config_makefile programs
/rundll.exe16 enable_win16
22158 wine_fn_config_makefile programs
/rundll32 enable_rundll32
22159 wine_fn_config_makefile programs
/sc enable_sc
22160 wine_fn_config_makefile programs
/sc
/tests enable_tests
22161 wine_fn_config_makefile programs
/schtasks enable_schtasks
22162 wine_fn_config_makefile programs
/schtasks
/tests enable_tests
22163 wine_fn_config_makefile programs
/sdbinst enable_sdbinst
22164 wine_fn_config_makefile programs
/secedit enable_secedit
22165 wine_fn_config_makefile programs
/servicemodelreg enable_servicemodelreg
22166 wine_fn_config_makefile programs
/services enable_services
22167 wine_fn_config_makefile programs
/services
/tests enable_tests
22168 wine_fn_config_makefile programs
/setx enable_setx
22169 wine_fn_config_makefile programs
/shutdown enable_shutdown
22170 wine_fn_config_makefile programs
/spoolsv enable_spoolsv
22171 wine_fn_config_makefile programs
/start enable_start
22172 wine_fn_config_makefile programs
/subst enable_subst
22173 wine_fn_config_makefile programs
/svchost enable_svchost
22174 wine_fn_config_makefile programs
/systeminfo enable_systeminfo
22175 wine_fn_config_makefile programs
/taskkill enable_taskkill
22176 wine_fn_config_makefile programs
/tasklist enable_tasklist
22177 wine_fn_config_makefile programs
/tasklist
/tests enable_tests
22178 wine_fn_config_makefile programs
/taskmgr enable_taskmgr
22179 wine_fn_config_makefile programs
/termsv enable_termsv
22180 wine_fn_config_makefile programs
/uninstaller enable_uninstaller
22181 wine_fn_config_makefile programs
/unlodctr enable_unlodctr
22182 wine_fn_config_makefile programs
/view enable_view
22183 wine_fn_config_makefile programs
/wevtutil enable_wevtutil
22184 wine_fn_config_makefile programs
/where enable_where
22185 wine_fn_config_makefile programs
/whoami enable_whoami
22186 wine_fn_config_makefile programs
/wineboot enable_wineboot
22187 wine_fn_config_makefile programs
/winebrowser enable_winebrowser
22188 wine_fn_config_makefile programs
/winecfg enable_winecfg
22189 wine_fn_config_makefile programs
/wineconsole enable_wineconsole
22190 wine_fn_config_makefile programs
/winedbg enable_winedbg
22191 wine_fn_config_makefile programs
/winedevice enable_winedevice
22192 wine_fn_config_makefile programs
/winefile enable_winefile
22193 wine_fn_config_makefile programs
/winemenubuilder enable_winemenubuilder
22194 wine_fn_config_makefile programs
/winemine enable_winemine
22195 wine_fn_config_makefile programs
/winemsibuilder enable_winemsibuilder
22196 wine_fn_config_makefile programs
/winepath enable_winepath
22197 wine_fn_config_makefile programs
/winetest enable_winetest
22198 wine_fn_config_makefile programs
/winevdm enable_win16
22199 wine_fn_config_makefile programs
/winhelp.exe16 enable_win16
22200 wine_fn_config_makefile programs
/winhlp32 enable_winhlp32
22201 wine_fn_config_makefile programs
/winmgmt enable_winmgmt
22202 wine_fn_config_makefile programs
/winoldap.mod16 enable_win16
22203 wine_fn_config_makefile programs
/winver enable_winver
22204 wine_fn_config_makefile programs
/wmic enable_wmic
22205 wine_fn_config_makefile programs
/wmplayer enable_wmplayer
22206 wine_fn_config_makefile programs
/wordpad enable_wordpad
22207 wine_fn_config_makefile programs
/write enable_write
22208 wine_fn_config_makefile programs
/wscript enable_wscript
22209 wine_fn_config_makefile programs
/wscript
/tests enable_tests
22210 wine_fn_config_makefile programs
/wuauserv enable_wuauserv
22211 wine_fn_config_makefile programs
/wusa enable_wusa
22212 wine_fn_config_makefile programs
/xcopy enable_xcopy
22213 wine_fn_config_makefile programs
/xcopy
/tests enable_tests
22214 wine_fn_config_makefile server enable_server
22215 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22216 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/sfnt2fon enable_sfnt2fon
22217 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/widl enable_widl
22218 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winebuild enable_winebuild
22219 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winedump enable_winedump
22220 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winegcc enable_winegcc
22221 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winemaker enable_winemaker
22222 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/wmc enable_wmc
22223 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/wrc enable_wrc
22226 as_fn_append CONFIGURE_TARGETS
" TAGS"
22227 as_fn_append CONFIGURE_TARGETS
" tags"
22228 as_fn_append CONFIGURE_TARGETS
" autom4te.cache"
22229 as_fn_append CONFIGURE_TARGETS
" config.log"
22230 as_fn_append CONFIGURE_TARGETS
" config.status"
22231 as_fn_append CONFIGURE_TARGETS
" include/config.h"
22232 as_fn_append CONFIGURE_TARGETS
" include/stamp-h"
22233 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine"
22235 if test "x$enable_tools" != xno
22237 as_fn_append CONFIGURE_TARGETS
" tools/makedep$ac_exeext"
22238 ac_config_commands
="$ac_config_commands tools/makedep"
22242 ac_config_commands
="$ac_config_commands Makefile"
22249 as_fn_append wine_rules
"
22251 @echo \"Wine build complete.\"
22255 Makefile: config.status \$(MAKEDEP)
22256 @./config.status Makefile
22257 depend: \$(MAKEDEP)
22258 \$(MAKEDEP)$makedep_flags"
22261 as_fn_append wine_rules
"
22262 config.status: ${wine_srcdir}configure
22263 @./config.status --recheck
22264 include/config.h: include/stamp-h
22265 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22266 @./config.status include/config.h include/stamp-h"
22268 if test "x$enable_maintainer_mode" = xyes
22270 as_fn_append wine_rules
"
22271 configure: configure.ac aclocal.m4
22272 autoconf --warnings=all
22273 include/config.h.in: include/stamp-h.in
22274 include/stamp-h.in: configure.ac aclocal.m4
22275 autoheader --warnings=all
22276 @echo timestamp > \$@"
22279 if test "x$enable_tools" != xno
22281 as_fn_append wine_rules
"
22282 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22283 @./config.status tools/makedep
22284 Makefile: tools/makedep$ac_exeext"
22286 as_fn_append wine_rules
"
22288 @echo \"You need to run make in $toolsdir first\" && false"
22292 if test -n "$with_wine64"
22294 case "$with_wine64" in
22298 rm -f fonts server
2>/dev
/null
22299 as_fn_append wine_rules
"
22300 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22301 loader/wine64 loader/wine64-preloader:
22302 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22303 $with_wine64/loader/wine:
22304 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22305 $with_wine64/loader/wine-preloader:
22306 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22308 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22310 TOP_INSTALL_DEV
="$TOP_INSTALL_DEV include"
22311 TOP_INSTALL_LIB
="$TOP_INSTALL_LIB \
22315 programs/msidb/msidb \
22316 programs/msiexec/msiexec \
22317 programs/notepad/notepad \
22318 programs/regedit/regedit \
22319 programs/regsvr32/regsvr32 \
22320 programs/wineboot/wineboot \
22321 programs/winecfg/winecfg \
22322 programs/wineconsole/wineconsole \
22323 programs/winedbg/winedbg \
22324 programs/winefile/winefile \
22325 programs/winemine/winemine \
22326 programs/winepath/winepath \
22330 cygwin
*|mingw32
*|darwin
*|macosx
*|linux-android
*) ;;
22331 *) TOP_INSTALL_LIB
="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22336 as_fn_append wine_rules
"
22338 rm -rf autom4te.cache
22340 rm -f configure include/config.h.in"
22343 as_fn_append wine_rules
"
22344 dlls/ntdll/unix/version.c: dummy
22345 @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)
22346 programs/winetest/build.rc: dummy
22347 @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)
22348 programs/winetest/build.nfo:
22350 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
22351 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22352 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22355 TAGSFLAGS
="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22357 as_fn_append wine_rules
"
22360 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22363 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22365 .PHONY: depend dummy install-manpages"
22367 printf "%s\n" " done" >&6
22368 cat >confcache
<<\_ACEOF
22369 # This file is a shell script that caches the results of configure
22370 # tests run on this system so they can be shared between configure
22371 # scripts and configure runs, see configure's option --config-cache.
22372 # It is not useful on other systems. If it contains results you don't
22373 # want to keep, you may remove or edit it.
22375 # config.status only pays attention to the cache file if you give it
22376 # the --recheck option to rerun configure.
22378 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22379 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22380 # following values.
22384 # The following way of writing the cache mishandles newlines in values,
22385 # but we know of no workaround that is simple, portable, and efficient.
22386 # So, we kill variables containing newlines.
22387 # Ultrix sh set writes to stderr and can't be redirected directly,
22388 # and sets the high bit in the cache file unless we assign to the vars.
22390 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22391 eval ac_val
=\$
$ac_var
22395 *_cv_
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22396 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22399 _ | IFS | as_nl
) ;; #(
22400 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
22401 *) { eval $ac_var=; unset $ac_var;} ;;
22407 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22408 *${as_nl}ac_space
=\
*)
22409 # `set' does not quote correctly, so add quotes: double-quote
22410 # substitution turns \\\\ into \\, and sed turns \\ into \.
22413 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22416 # `set' quotes correctly as required by POSIX, so do not add quotes.
22417 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22426 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22428 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22430 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22431 if test -w "$cache_file"; then
22432 if test "x$cache_file" != "x/dev/null"; then
22433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22434 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22435 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
22436 cat confcache
>"$cache_file"
22438 case $cache_file in #(
22440 mv -f confcache
"$cache_file"$$
&&
22441 mv -f "$cache_file"$$
"$cache_file" ;; #(
22443 mv -f confcache
"$cache_file" ;;
22448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22449 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22454 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22455 # Let make expand exec_prefix.
22456 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22458 DEFS
=-DHAVE_CONFIG_H
22463 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22464 # 1. Remove the extension, and $U if already installed.
22465 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
22466 ac_i
=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22467 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22468 # will be set to the directory where LIBOBJS objects are built.
22469 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22470 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
22472 LIBOBJS
=$ac_libobjs
22474 LTLIBOBJS
=$ac_ltlibobjs
22478 : "${CONFIG_STATUS=./config.status}"
22480 ac_clean_files_save
=$ac_clean_files
22481 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22483 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22485 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22487 # Generated by $as_me.
22488 # Run this file to recreate the current configuration.
22489 # Compiler output produced by configure, useful for debugging
22490 # configure, is in config.log if it exists.
22493 ac_cs_recheck=false
22496 SHELL=\${CONFIG_SHELL-$SHELL}
22499 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
22500 ## -------------------- ##
22501 ## M4sh Initialization. ##
22502 ## -------------------- ##
22504 # Be more Bourne compatible
22505 DUALCASE
=1; export DUALCASE
# for MKS sh
22507 if test ${ZSH_VERSION+y} && (emulate sh
) >/dev
/null
2>&1
22511 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22512 # is contrary to our usage. Disable this feature.
22513 alias -g '${1+"$@"}'='"$@"'
22514 setopt NO_GLOB_SUBST
22516 case `(set -o) 2>/dev/null` in #(
22526 # Reset variables that may have inherited troublesome values from
22529 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22530 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22531 # side effect of setting IFS to empty, thus disabling word splitting.)
22532 # Quoting is to prevent editors from complaining about space-tab.
22542 # Ensure predictable behavior from utilities with locale-dependent output.
22548 # We cannot yet rely on "unset" to work, but we need these variables
22549 # to be unset--not just set to an empty or harmless value--now, to
22550 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22551 # also avoids known problems related to "unset" and subshell syntax
22552 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22553 for as_var
in BASH_ENV ENV MAIL MAILPATH CDPATH
22554 do eval test \
${$as_var+y} \
22555 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
22558 # Ensure that fds 0, 1, and 2 are open.
22559 if (exec 3>&0) 2>/dev
/null
; then :; else exec 0</dev
/null
; fi
22560 if (exec 3>&1) 2>/dev
/null
; then :; else exec 1>/dev
/null
; fi
22561 if (exec 3>&2) ; then :; else exec 2>/dev
/null
; fi
22563 # The user is always right.
22564 if ${PATH_SEPARATOR+false} :; then
22566 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
22567 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
22573 # Find who we are. Look in the path if we contain no directory separator.
22576 *[\\/]* ) as_myself
=$0 ;;
22577 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22578 for as_dir
in $PATH
22581 case $as_dir in #(((
22584 *) as_dir
=$as_dir/ ;;
22586 test -r "$as_dir$0" && as_myself
=$as_dir$0 && break
22592 # We did not find ourselves, most probably we were run as `sh COMMAND'
22593 # in which case we are not to be found in the path.
22594 if test "x$as_myself" = x
; then
22597 if test ! -f "$as_myself"; then
22598 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22604 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22605 # ----------------------------------------
22606 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22607 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22608 # script with STATUS, using 1 if that was 0.
22611 as_status
=$1; test $as_status -eq 0 && as_status
=1
22613 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
22614 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22616 printf "%s\n" "$as_me: error: $2" >&2
22617 as_fn_exit
$as_status
22622 # as_fn_set_status STATUS
22623 # -----------------------
22624 # Set $? to STATUS, without forking.
22625 as_fn_set_status
()
22628 } # as_fn_set_status
22630 # as_fn_exit STATUS
22631 # -----------------
22632 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22636 as_fn_set_status
$1
22642 # Portably unset VAR.
22645 { eval $1=; unset $1;}
22647 as_unset
=as_fn_unset
22649 # as_fn_append VAR VALUE
22650 # ----------------------
22651 # Append the text in VALUE to the end of the definition contained in VAR. Take
22652 # advantage of any shell optimizations that allow amortized linear growth over
22653 # repeated appends, instead of the typical quadratic growth present in naive
22655 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
22657 eval 'as_fn_append ()
22668 # as_fn_arith ARG...
22669 # ------------------
22670 # Perform arithmetic evaluation on the ARGs, and store the result in the
22671 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22672 # must be portable across $(()) and expr.
22673 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
22675 eval 'as_fn_arith ()
22682 as_val
=`expr "$@" || test $? -eq 1`
22687 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22688 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22694 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22695 as_basename
=basename
22700 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
22706 as_me
=`$as_basename -- "$0" ||
22707 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22708 X"$0" : 'X\(//\)$' \| \
22709 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22710 printf "%s\n" X/"$0" |
22711 sed '/^.*\/\([^/][^/]*\)\/*$/{
22725 # Avoid depending upon Character Ranges.
22726 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22727 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22728 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22729 as_cr_digits
='0123456789'
22730 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22733 # Determine whether it's possible to make 'echo' print without a newline.
22734 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22735 # for compatibility with existing Makefiles.
22736 ECHO_C
= ECHO_N
= ECHO_T
=
22737 case `echo -n x` in #(((((
22739 case `echo 'xy\c'` in
22740 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
22742 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
22749 # For backward compatibility with old third-party macros, we provide
22750 # the shell variables $as_echo and $as_echo_n. New code should use
22751 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22752 as_echo
='printf %s\n'
22753 as_echo_n
='printf %s'
22755 rm -f conf$$ conf$$.exe conf$$.
file
22756 if test -d conf$$.dir
; then
22757 rm -f conf$$.dir
/conf$$.
file
22760 mkdir conf$$.dir
2>/dev
/null
22762 if (echo >conf$$.
file) 2>/dev
/null
; then
22763 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22765 # ... but there are two gotchas:
22766 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22767 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22768 # In both cases, we have to default to `cp -pR'.
22769 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
22771 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22779 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
22780 rmdir conf$$.dir
2>/dev
/null
22785 # Create "$as_dir" as a directory, including parents if necessary.
22790 -*) as_dir
=.
/$as_dir;;
22792 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
22796 *\'*) as_qdir
=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22797 *) as_qdir
=$as_dir;;
22799 as_dirs
="'$as_qdir' $as_dirs"
22800 as_dir
=`$as_dirname -- "$as_dir" ||
22801 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22802 X"$as_dir" : 'X\(//\)[^/]' \| \
22803 X"$as_dir" : 'X\(//\)$' \| \
22804 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22805 printf "%s\n" X"$as_dir" |
22806 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22810 /^X\(\/\/\)[^/].*/{
22823 test -d "$as_dir" && break
22825 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22826 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
22830 if mkdir
-p .
2>/dev
/null
; then
22831 as_mkdir_p
='mkdir -p "$as_dir"'
22833 test -d .
/-p && rmdir .
/-p
22838 # as_fn_executable_p FILE
22839 # -----------------------
22840 # Test if FILE is an executable regular file.
22841 as_fn_executable_p
()
22843 test -f "$1" && test -x "$1"
22844 } # as_fn_executable_p
22845 as_test_x
='test -x'
22846 as_executable_p
=as_fn_executable_p
22848 # Sed expression to map a string onto a valid CPP name.
22849 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22851 # Sed expression to map a string onto a valid variable name.
22852 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22856 ## ----------------------------------- ##
22857 ## Main body of $CONFIG_STATUS script. ##
22858 ## ----------------------------------- ##
22860 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
22862 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22863 # Save the log message, to keep $0 and so on meaningful, and to
22864 # report actual input values of CONFIG_FILES etc. instead of their
22865 # values after options handling.
22867 This file was extended by Wine $as_me 8.13, which was
22868 generated by GNU Autoconf 2.71. Invocation command line was
22870 CONFIG_FILES = $CONFIG_FILES
22871 CONFIG_HEADERS = $CONFIG_HEADERS
22872 CONFIG_LINKS = $CONFIG_LINKS
22873 CONFIG_COMMANDS = $CONFIG_COMMANDS
22876 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22882 case $ac_config_headers in *"
22883 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
22887 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22888 # Files that config.status was made for.
22889 config_headers="$ac_config_headers"
22890 config_links="$ac_config_links"
22891 config_commands="$ac_config_commands"
22895 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22897 \`$as_me' instantiates files and other configuration actions
22898 from templates according to the current configuration. Unless the files
22899 and actions are specified as TAGs, all are instantiated by default.
22901 Usage: $0 [OPTION]... [TAG]...
22903 -h, --help print this help, then exit
22904 -V, --version print version number and configuration settings, then exit
22905 --config print configuration, then exit
22906 -q, --quiet, --silent
22907 do not print progress messages
22908 -d, --debug don't remove temporary files
22909 --recheck update $as_me by reconfiguring in the same conditions
22910 --header=FILE[:TEMPLATE]
22911 instantiate the configuration header FILE
22913 Configuration headers:
22916 Configuration links:
22919 Configuration commands:
22922 Report bugs to <wine-devel@winehq.org>.
22923 Wine home page: <https://www.winehq.org>."
22926 ac_cs_config
=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
22927 ac_cs_config_escaped
=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
22928 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22929 ac_cs_config='$ac_cs_config_escaped'
22931 Wine config.status 8.13
22932 configured by $0, generated by GNU Autoconf 2.71,
22933 with options \\"\$ac_cs_config\\"
22935 Copyright (C) 2021 Free Software Foundation, Inc.
22936 This config.status script is free software; the Free Software Foundation
22937 gives unlimited permission to copy, distribute and modify it."
22941 test -n "\$AWK" || AWK=awk
22944 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22945 # The default lists apply if the user does not specify any file.
22951 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22952 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
22956 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22968 # Handling of the options.
22969 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
22971 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
22972 printf "%s\n" "$ac_cs_version"; exit ;;
22973 --config |
--confi |
--conf |
--con |
--co |
--c )
22974 printf "%s\n" "$ac_cs_config"; exit ;;
22975 --debug |
--debu |
--deb |
--de |
--d |
-d )
22977 --header |
--heade |
--head |
--hea )
22980 *\'*) ac_optarg
=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22982 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
22983 ac_need_defaults
=false
;;
22985 # Conflict between --help and --header
22986 as_fn_error $?
"ambiguous option: \`$1'
22987 Try \`$0 --help' for more information.";;
22988 --help |
--hel |
-h )
22989 printf "%s\n" "$ac_cs_usage"; exit ;;
22990 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
22991 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
22994 # This is an error.
22995 -*) as_fn_error $?
"unrecognized option: \`$1'
22996 Try \`$0 --help' for more information." ;;
22998 *) as_fn_append ac_config_targets
" $1"
22999 ac_need_defaults
=false
;;
23005 ac_configure_extra_args
=
23007 if $ac_cs_silent; then
23009 ac_configure_extra_args
="$ac_configure_extra_args --silent"
23013 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23014 if \$ac_cs_recheck; then
23015 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23017 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
23018 CONFIG_SHELL='$SHELL'
23019 export CONFIG_SHELL
23024 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23028 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23029 ## Running $as_me. ##
23031 printf "%s\n" "$ac_log"
23035 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23039 wine_fn_output_makedep ()
23041 as_dir=tools; as_fn_mkdir_p
23042 $CC -I${wine_srcdir}tools -Iinclude -I${wine_srcdir}include -D__WINESRC__ -DWINE_UNIX_LIB $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext ${wine_srcdir}tools/makedep.c $LDFLAGS
23044 wine_fn_output_makefile ()
23046 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
23047 # This Makefile understands the following targets:
23049 # all (default): build wine
23050 # clean: remove all intermediate files
23051 # distclean: also remove all files created by configure
23053 # testclean: clean test results to force running all tests again
23054 # install-lib: install libraries needed to run applications
23055 # install-dev: install development environment
23056 # install: install everything
23057 # uninstall: uninstall everything
23058 # ctags: create a tags file for vim and others.
23059 # etags: create a TAGS file for Emacs.
23062 PATH_SEPARATOR = $PATH_SEPARATOR
23063 PACKAGE_NAME = $PACKAGE_NAME
23064 PACKAGE_TARNAME = $PACKAGE_TARNAME
23065 PACKAGE_VERSION = $PACKAGE_VERSION
23066 PACKAGE_STRING = $PACKAGE_STRING
23067 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23068 PACKAGE_URL = $PACKAGE_URL
23069 exec_prefix = $exec_prefix
23071 program_transform_name = $program_transform_name
23074 libexecdir = $libexecdir
23075 datarootdir = $datarootdir
23077 sysconfdir = $sysconfdir
23078 sharedstatedir = $sharedstatedir
23079 localstatedir = $localstatedir
23080 runstatedir = $runstatedir
23081 includedir = $includedir
23082 oldincludedir = $oldincludedir
23090 localedir = $localedir
23097 build_alias = $build_alias
23098 host_alias = $host_alias
23099 target_alias = $target_alias
23100 system_dllpath = $system_dllpath
23102 build_cpu = $build_cpu
23103 build_vendor = $build_vendor
23104 build_os = $build_os
23106 host_cpu = $host_cpu
23107 host_vendor = $host_vendor
23113 SET_MAKE = $SET_MAKE
23117 CPPFLAGS = $CPPFLAGS
23118 ac_ct_CC = $ac_ct_CC
23122 CXXFLAGS = $CXXFLAGS
23123 ac_ct_CXX = $ac_ct_CXX
23126 TARGETFLAGS = $TARGETFLAGS
23127 toolsext = $toolsext
23128 HOST_ARCH = $HOST_ARCH
23129 aarch64_CC = $aarch64_CC
23130 aarch64_CFLAGS = $aarch64_CFLAGS
23131 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
23132 aarch64_LDFLAGS = $aarch64_LDFLAGS
23133 aarch64_DEBUG = $aarch64_DEBUG
23134 aarch64_TARGET = $aarch64_TARGET
23135 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
23136 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
23138 arm_CFLAGS = $arm_CFLAGS
23139 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
23140 arm_LDFLAGS = $arm_LDFLAGS
23141 arm_DEBUG = $arm_DEBUG
23142 arm_TARGET = $arm_TARGET
23143 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
23144 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
23146 i386_CFLAGS = $i386_CFLAGS
23147 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
23148 i386_LDFLAGS = $i386_LDFLAGS
23149 i386_DEBUG = $i386_DEBUG
23150 i386_TARGET = $i386_TARGET
23151 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
23152 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
23153 x86_64_CC = $x86_64_CC
23154 x86_64_CFLAGS = $x86_64_CFLAGS
23155 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
23156 x86_64_LDFLAGS = $x86_64_LDFLAGS
23157 x86_64_DEBUG = $x86_64_DEBUG
23158 x86_64_TARGET = $x86_64_TARGET
23159 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
23160 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
23161 toolsdir = $toolsdir
23163 RUNTESTFLAGS = $RUNTESTFLAGS
23168 ac_ct_AR = $ac_ct_AR
23174 LDCONFIG = $LDCONFIG
23176 PKG_CONFIG = $PKG_CONFIG
23177 FONTFORGE = $FONTFORGE
23181 I386_LIBS = $I386_LIBS
23182 OPENGL_LIBS = $OPENGL_LIBS
23183 DLLFLAGS = $DLLFLAGS
23184 LDDLLFLAGS = $LDDLLFLAGS
23185 LDEXECFLAGS = $LDEXECFLAGS
23186 EXTRACFLAGS = $EXTRACFLAGS
23187 UNIXDLLFLAGS = $UNIXDLLFLAGS
23188 UNIXLDFLAGS = $UNIXLDFLAGS
23189 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23190 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23191 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23192 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23198 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23199 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23200 CARBON_LIBS = $CARBON_LIBS
23201 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23202 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23203 IOKIT_LIBS = $IOKIT_LIBS
23204 METAL_LIBS = $METAL_LIBS
23205 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23206 CORESERVICES_LIBS = $CORESERVICES_LIBS
23207 APPKIT_LIBS = $APPKIT_LIBS
23208 SECURITY_LIBS = $SECURITY_LIBS
23209 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23210 COREAUDIO_LIBS = $COREAUDIO_LIBS
23211 OPENCL_LIBS = $OPENCL_LIBS
23213 OBJCFLAGS = $OBJCFLAGS
23214 ac_ct_OBJC = $ac_ct_OBJC
23215 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23216 PE_ARCHS = $PE_ARCHS
23217 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23218 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23219 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23220 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23221 GSM_PE_LIBS = $GSM_PE_LIBS
23222 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23223 JPEG_PE_LIBS = $JPEG_PE_LIBS
23224 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23225 JXR_PE_LIBS = $JXR_PE_LIBS
23226 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23227 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23228 LDAP_PE_CFLAGS = $LDAP_PE_CFLAGS
23229 LDAP_PE_LIBS = $LDAP_PE_LIBS
23230 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23231 MPG123_PE_LIBS = $MPG123_PE_LIBS
23232 MUSL_PE_CFLAGS = $MUSL_PE_CFLAGS
23233 MUSL_PE_LIBS = $MUSL_PE_LIBS
23234 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23235 PNG_PE_LIBS = $PNG_PE_LIBS
23236 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23237 TIFF_PE_LIBS = $TIFF_PE_LIBS
23238 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23239 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23240 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23241 XML2_PE_LIBS = $XML2_PE_LIBS
23242 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23243 XSLT_PE_LIBS = $XSLT_PE_LIBS
23244 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23245 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23246 ZYDIS_PE_CFLAGS = $ZYDIS_PE_CFLAGS
23247 ZYDIS_PE_LIBS = $ZYDIS_PE_LIBS
23248 PTHREAD_LIBS = $PTHREAD_LIBS
23251 X_CFLAGS = $X_CFLAGS
23252 X_PRE_LIBS = $X_PRE_LIBS
23254 X_EXTRA_LIBS = $X_EXTRA_LIBS
23255 WAYLAND_CLIENT_CFLAGS = $WAYLAND_CLIENT_CFLAGS
23256 WAYLAND_CLIENT_LIBS = $WAYLAND_CLIENT_LIBS
23257 WAYLAND_SCANNER = $WAYLAND_SCANNER
23258 PCAP_LIBS = $PCAP_LIBS
23259 PCSCLITE_LIBS = $PCSCLITE_LIBS
23260 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23261 INOTIFY_LIBS = $INOTIFY_LIBS
23262 DBUS_CFLAGS = $DBUS_CFLAGS
23263 DBUS_LIBS = $DBUS_LIBS
23264 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23265 GNUTLS_LIBS = $GNUTLS_LIBS
23266 SANE_CFLAGS = $SANE_CFLAGS
23267 SANE_LIBS = $SANE_LIBS
23268 USB_CFLAGS = $USB_CFLAGS
23269 USB_LIBS = $USB_LIBS
23270 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23271 GPHOTO2_LIBS = $GPHOTO2_LIBS
23272 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23273 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23274 RESOLV_LIBS = $RESOLV_LIBS
23275 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23276 FREETYPE_LIBS = $FREETYPE_LIBS
23277 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23278 PULSE_CFLAGS = $PULSE_CFLAGS
23279 PULSE_LIBS = $PULSE_LIBS
23280 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23281 GSTREAMER_LIBS = $GSTREAMER_LIBS
23282 ALSA_LIBS = $ALSA_LIBS
23283 OSS4_CFLAGS = $OSS4_CFLAGS
23284 OSS4_LIBS = $OSS4_LIBS
23285 UDEV_CFLAGS = $UDEV_CFLAGS
23286 UDEV_LIBS = $UDEV_LIBS
23287 UNWIND_CFLAGS = $UNWIND_CFLAGS
23288 UNWIND_LIBS = $UNWIND_LIBS
23289 SDL2_CFLAGS = $SDL2_CFLAGS
23290 SDL2_LIBS = $SDL2_LIBS
23291 CAPI20_CFLAGS = $CAPI20_CFLAGS
23292 CAPI20_LIBS = $CAPI20_LIBS
23293 CUPS_CFLAGS = $CUPS_CFLAGS
23294 CUPS_LIBS = $CUPS_LIBS
23295 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23296 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23297 KRB5_CFLAGS = $KRB5_CFLAGS
23298 KRB5_LIBS = $KRB5_LIBS
23299 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23300 GSSAPI_LIBS = $GSSAPI_LIBS
23301 PROCSTAT_LIBS = $PROCSTAT_LIBS
23302 NETAPI_CFLAGS = $NETAPI_CFLAGS
23303 NETAPI_LIBS = $NETAPI_LIBS
23304 MSVCRTFLAGS = $MSVCRTFLAGS
23305 DELAYLOADFLAG = $DELAYLOADFLAG
23306 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23308 TAGSFLAGS = $TAGSFLAGS
23310 LTLIBOBJS = $LTLIBOBJS
23314 as_fn_error $? "could not create Makefile" "$LINENO" 5
23319 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23321 # Handling of arguments.
23322 for ac_config_target
in $ac_config_targets
23324 case $ac_config_target in
23325 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
23326 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
23327 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
23328 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23329 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
23330 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
23332 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23337 # If the user did not use the arguments to specify the items to instantiate,
23338 # then the envvar interface is used. Set only those that are not.
23339 # We use the long form for the default assignment because of an extremely
23340 # bizarre bug on SunOS 4.1.3.
23341 if $ac_need_defaults; then
23342 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS
=$config_headers
23343 test ${CONFIG_LINKS+y} || CONFIG_LINKS
=$config_links
23344 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS
=$config_commands
23347 # Have a temporary directory for convenience. Make it in the build tree
23348 # simply because there is no reason against having it here, and in addition,
23349 # creating and moving files from /tmp can sometimes cause problems.
23350 # Hook for its removal unless debugging.
23351 # Note that there is a small window in which the directory will not be cleaned:
23352 # after its creation but before its name has been assigned to `$tmp'.
23356 trap 'exit_status=$?
23357 : "${ac_tmp:=$tmp}"
23358 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23360 trap 'as_fn_exit 1' 1 2 13 15
23362 # Create a (secure) tmp directory for tmp files.
23365 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23369 tmp
=.
/conf$$
-$RANDOM
23370 (umask 077 && mkdir
"$tmp")
23371 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
23374 # Set up the scripts for CONFIG_HEADERS section.
23375 # No need to generate them if there are no CONFIG_HEADERS.
23376 # This happens for instance with `./config.status Makefile'.
23377 if test -n "$CONFIG_HEADERS"; then
23378 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23382 # Transform confdefs.h into an awk script `defines.awk', embedded as
23383 # here-document in config.status, that substitutes the proper values into
23384 # config.h.in to produce config.h.
23386 # Create a delimiter string that does not exist in confdefs.h, to ease
23387 # handling of long lines.
23389 for ac_last_try
in false false
:; do
23390 ac_tt
=`sed -n "/$ac_delim/p" confdefs.h`
23391 if test -z "$ac_tt"; then
23393 elif $ac_last_try; then
23394 as_fn_error $?
"could not make $CONFIG_HEADERS" "$LINENO" 5
23396 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
23400 # For the awk script, D is an array of macro values keyed by name,
23401 # likewise P contains macro parameters if any. Preserve backslash
23402 # newline sequences.
23404 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
23406 s/.\{148\}/&'"$ac_delim"'/g
23409 s/^[ ]*#[ ]*define[ ][ ]*/ /
23416 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23418 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23422 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23423 D["\1"]=" \3\\\\\\n"\\/p
23425 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23430 s/.\{148\}/&'"$ac_delim"'/g
23435 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23438 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23440 ' <confdefs.h |
sed '
23441 s/'"$ac_delim"'/"\\\
23442 "/g' >>$CONFIG_STATUS || ac_write_fail
=1
23444 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23445 for (key in D) D_is_set[key] = 1
23448 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23450 split(line, arg, " ")
23451 if (arg[1] == "#") {
23455 defundef = substr(arg[1], 2)
23458 split(mac1, mac2, "(") #)
23460 prefix = substr(line, 1, index(line, defundef) - 1)
23461 if (D_is_set[macro]) {
23462 # Preserve the white space surrounding the "#".
23463 print prefix "define", macro P[macro] D[macro]
23466 # Replace #undef with comments. This is necessary, for example,
23467 # in the case of _POSIX_SOURCE, which is predefined and required
23468 # on some systems where configure will not decide to define it.
23469 if (defundef == "undef") {
23470 print "/*", prefix defundef, macro, "*/"
23478 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23479 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
23480 fi # test -n "$CONFIG_HEADERS"
23483 eval set X
" :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23488 :[FHLC
]) ac_mode
=$ac_tag; continue;;
23490 case $ac_mode$ac_tag in
23492 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
23493 :[FH
]-) ac_tag
=-:-;;
23494 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
23511 -) ac_f
="$ac_tmp/stdin";;
23512 *) # Look for the file first in the build tree, then in the source tree
23513 # (if the path is not absolute). The absolute path cannot be DOS-style,
23514 # because $ac_f cannot contain `:'.
23518 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
23520 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23522 case $ac_f in *\'*) ac_f
=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23523 as_fn_append ac_file_inputs
" '$ac_f'"
23526 # Let's still pretend it is `configure' which instantiates (i.e., don't
23527 # use $as_me), people would be surprised to read:
23528 # /* config.h. Generated by config.status. */
23529 configure_input
='Generated from '`
23530 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23532 if test x
"$ac_file" != x-
; then
23533 configure_input
="$ac_file. $configure_input"
23534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23535 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23537 # Neutralize special characters interpreted by sed in replacement strings.
23538 case $configure_input in #(
23539 *\
&* |
*\|
* |
*\\* )
23540 ac_sed_conf_input
=`printf "%s\n" "$configure_input" |
23541 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23542 *) ac_sed_conf_input
=$configure_input;;
23546 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
23547 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
23552 ac_dir
=`$as_dirname -- "$ac_file" ||
23553 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23554 X"$ac_file" : 'X\(//\)[^/]' \| \
23555 X"$ac_file" : 'X\(//\)$' \| \
23556 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23557 printf "%s\n" X"$ac_file" |
23558 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23562 /^X\(\/\/\)[^/].*/{
23575 as_dir
="$ac_dir"; as_fn_mkdir_p
23579 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23581 ac_dir_suffix
=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23582 # A ".." for each directory in $ac_dir_suffix.
23583 ac_top_builddir_sub
=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23584 case $ac_top_builddir_sub in
23585 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23586 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
23589 ac_abs_top_builddir
=$ac_pwd
23590 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
23591 # for backward compatibility:
23592 ac_top_builddir
=$ac_top_build_prefix
23595 .
) # We are building in place.
23597 ac_top_srcdir
=$ac_top_builddir_sub
23598 ac_abs_top_srcdir
=$ac_pwd ;;
23599 [\\/]* | ?
:[\\/]* ) # Absolute name.
23600 ac_srcdir
=$srcdir$ac_dir_suffix;
23601 ac_top_srcdir
=$srcdir
23602 ac_abs_top_srcdir
=$srcdir ;;
23603 *) # Relative name.
23604 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
23605 ac_top_srcdir
=$ac_top_build_prefix$srcdir
23606 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
23608 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
23617 if test x
"$ac_file" != x-
; then
23619 printf "%s\n" "/* $configure_input */" >&1 \
23620 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23621 } >"$ac_tmp/config.h" \
23622 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5
23623 if diff "$ac_file" "$ac_tmp/config.h" >/dev
/null
2>&1; then
23624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23625 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23628 mv "$ac_tmp/config.h" "$ac_file" \
23629 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5
23632 printf "%s\n" "/* $configure_input */" >&1 \
23633 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23634 || as_fn_error $?
"could not create -" "$LINENO" 5
23642 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23645 # Prefer the file from the source tree if names are identical.
23646 if test "$ac_source" = "$ac_file" ||
test ! -r "$ac_source"; then
23647 ac_source
=$srcdir/$ac_source
23650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23651 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23653 if test ! -r "$ac_source"; then
23654 as_fn_error $?
"$ac_source: file not found" "$LINENO" 5
23658 # Try a relative symlink, then a hard link, then a copy.
23660 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$ac_source ;;
23661 *) ac_rel_source
=$ac_top_build_prefix$ac_source ;;
23663 ln -s "$ac_rel_source" "$ac_file" 2>/dev
/null ||
23664 ln "$ac_source" "$ac_file" 2>/dev
/null ||
23665 cp -p "$ac_source" "$ac_file" ||
23666 as_fn_error $?
"cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23669 :C
) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23670 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23675 case $ac_file$ac_mode in
23676 "include/stamp-h":C
) echo timestamp
> include
/stamp-h
;;
23677 "tools/makedep":C
) wine_fn_output_makedep || as_fn_exit $?
;;
23678 "Makefile":C
) wine_fn_output_makefile Makefile
;;
23686 ac_clean_files
=$ac_clean_files_save
23688 test $ac_write_fail = 0 ||
23689 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
23692 # configure is writing to config.log, and then calls config.status.
23693 # config.status does its own redirection, appending to config.log.
23694 # Unfortunately, on DOS this fails, as config.log is still kept open
23695 # by configure, so config.status won't be able to write to it; its
23696 # output is simply discarded. So we exec the FD to /dev/null,
23697 # effectively closing config.log, so it can be properly (re)opened and
23698 # appended to by config.status. When coming back to configure, we
23699 # need to make the FD available again.
23700 if test "$no_create" != yes; then
23702 ac_config_status_args
=
23703 test "$silent" = yes &&
23704 ac_config_status_args
="$ac_config_status_args --quiet"
23706 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23708 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23709 # would make configure fail if this is the last instruction.
23710 $ac_cs_success || as_fn_exit
1
23712 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
23713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23714 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23718 if test "$no_create" = "yes"
23724 if test "x$wine_notices" != x
; then
23727 for msg
in $wine_notices; do
23733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23734 printf "%s\n" "$as_me: $msg" >&6;}
23739 for msg
in $wine_warnings; do
23746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23747 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23753 $as_me: Finished. Do '${ac_make}' to compile Wine.