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
1192 enable_light_msstyles
1207 enable_mfmediaengine
1272 enable_msvcp140_atomic_wait
1338 enable_photometadatahandler
1415 enable_threadpoolwinrt
1418 enable_twinapi_appcore
1422 enable_uiautomationcore
1442 enable_vcruntime140_1
1460 enable_windows_devices_bluetooth
1461 enable_windows_devices_enumeration
1462 enable_windows_devices_usb
1463 enable_windows_gaming_input
1464 enable_windows_gaming_ui_gamebar
1465 enable_windows_globalization
1466 enable_windows_media_devices
1467 enable_windows_media_speech
1468 enable_windows_media
1469 enable_windows_networking_hostname
1470 enable_windows_networking
1471 enable_windows_perception_stub
1472 enable_windows_system_profile_systemmanufacturers
1474 enable_windowscodecs
1475 enable_windowscodecsext
1477 enable_wineandroid_drv
1479 enable_winecoreaudio_drv
1482 enable_winegstreamer
1488 enable_winepulse_drv
1491 enable_winewayland_drv
1493 enable_winexinput_sys
1539 enable_xactengine2_0
1540 enable_xactengine2_4
1541 enable_xactengine2_7
1542 enable_xactengine2_9
1543 enable_xactengine3_0
1544 enable_xactengine3_1
1545 enable_xactengine3_2
1546 enable_xactengine3_3
1547 enable_xactengine3_4
1548 enable_xactengine3_5
1549 enable_xactengine3_6
1550 enable_xactengine3_7
1599 enable_wmcodecdspuuid
1608 enable_aspnet_regiis
1656 enable_presentationfontcache
1671 enable_servicemodelreg
1697 enable_winemenubuilder
1699 enable_winemsibuilder
1724 ac_precious_vars
='build_alias
1769 WAYLAND_CLIENT_CFLAGS
1811 # Initialize some variables set by options.
1813 ac_init_version
=false
1814 ac_unrecognized_opts
=
1815 ac_unrecognized_sep
=
1816 # The variables have the same names as the options, with
1817 # dashes changed to underlines.
1818 cache_file
=/dev
/null
1825 program_transform_name
=s
,x
,x
,
1833 # Installation directory options.
1834 # These are left unexpanded so users can "make install exec_prefix=/foo"
1835 # and all the variables that are supposed to be based on exec_prefix
1836 # by default will actually change.
1837 # Use braces instead of parens because sh, perl, etc. also accept them.
1838 # (The list follows the same order as the GNU Coding Standards.)
1839 bindir
='${exec_prefix}/bin'
1840 sbindir
='${exec_prefix}/sbin'
1841 libexecdir
='${exec_prefix}/libexec'
1842 datarootdir
='${prefix}/share'
1843 datadir
='${datarootdir}'
1844 sysconfdir
='${prefix}/etc'
1845 sharedstatedir
='${prefix}/com'
1846 localstatedir
='${prefix}/var'
1847 runstatedir
='${localstatedir}/run'
1848 includedir
='${prefix}/include'
1849 oldincludedir
='/usr/include'
1850 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1851 infodir
='${datarootdir}/info'
1856 libdir
='${exec_prefix}/lib'
1857 localedir
='${datarootdir}/locale'
1858 mandir
='${datarootdir}/man'
1864 # If the previous option needs an argument, assign it.
1865 if test -n "$ac_prev"; then
1866 eval $ac_prev=\
$ac_option
1872 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1877 case $ac_dashdash$ac_option in
1881 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1883 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1884 bindir
=$ac_optarg ;;
1886 -build |
--build |
--buil |
--bui |
--bu)
1887 ac_prev
=build_alias
;;
1888 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1889 build_alias
=$ac_optarg ;;
1891 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1892 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1893 ac_prev
=cache_file
;;
1894 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1895 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1896 cache_file
=$ac_optarg ;;
1898 --config-cache |
-C)
1899 cache_file
=config.cache
;;
1901 -datadir |
--datadir |
--datadi |
--datad)
1903 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1904 datadir
=$ac_optarg ;;
1906 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1907 |
--dataroo |
--dataro |
--datar)
1908 ac_prev
=datarootdir
;;
1909 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1910 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1911 datarootdir
=$ac_optarg ;;
1913 -disable-* |
--disable-*)
1914 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1915 # Reject names that are not valid shell variable names.
1916 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1917 as_fn_error $?
"invalid feature name: \`$ac_useropt'"
1918 ac_useropt_orig
=$ac_useropt
1919 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1920 case $ac_user_opts in
1922 "enable_
$ac_useropt"
1924 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1925 ac_unrecognized_sep
=', ';;
1927 eval enable_
$ac_useropt=no
;;
1929 -docdir |
--docdir |
--docdi |
--doc |
--do)
1931 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1932 docdir
=$ac_optarg ;;
1934 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1936 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1937 dvidir
=$ac_optarg ;;
1939 -enable-* |
--enable-*)
1940 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1941 # Reject names that are not valid shell variable names.
1942 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1943 as_fn_error $?
"invalid feature name: \`$ac_useropt'"
1944 ac_useropt_orig
=$ac_useropt
1945 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1946 case $ac_user_opts in
1948 "enable_
$ac_useropt"
1950 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1951 ac_unrecognized_sep
=', ';;
1953 eval enable_
$ac_useropt=\
$ac_optarg ;;
1955 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1956 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1957 |
--exec |
--exe |
--ex)
1958 ac_prev
=exec_prefix
;;
1959 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1960 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1961 |
--exec=* |
--exe=* |
--ex=*)
1962 exec_prefix
=$ac_optarg ;;
1964 -gas |
--gas |
--ga |
--g)
1965 # Obsolete; use --with-gas.
1968 -help |
--help |
--hel |
--he |
-h)
1969 ac_init_help
=long
;;
1970 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1971 ac_init_help
=recursive
;;
1972 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1973 ac_init_help
=short
;;
1975 -host |
--host |
--hos |
--ho)
1976 ac_prev
=host_alias
;;
1977 -host=* |
--host=* |
--hos=* |
--ho=*)
1978 host_alias
=$ac_optarg ;;
1980 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1982 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1984 htmldir
=$ac_optarg ;;
1986 -includedir |
--includedir |
--includedi |
--included |
--include \
1987 |
--includ |
--inclu |
--incl |
--inc)
1988 ac_prev
=includedir
;;
1989 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1990 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1991 includedir
=$ac_optarg ;;
1993 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1995 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1996 infodir
=$ac_optarg ;;
1998 -libdir |
--libdir |
--libdi |
--libd)
2000 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
2001 libdir
=$ac_optarg ;;
2003 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
2004 |
--libexe |
--libex |
--libe)
2005 ac_prev
=libexecdir
;;
2006 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
2007 |
--libexe=* |
--libex=* |
--libe=*)
2008 libexecdir
=$ac_optarg ;;
2010 -localedir |
--localedir |
--localedi |
--localed |
--locale)
2011 ac_prev
=localedir
;;
2012 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
2013 localedir
=$ac_optarg ;;
2015 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
2016 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
2017 ac_prev
=localstatedir
;;
2018 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
2019 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
2020 localstatedir
=$ac_optarg ;;
2022 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
2024 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
2025 mandir
=$ac_optarg ;;
2027 -nfp |
--nfp |
--nf)
2028 # Obsolete; use --without-fp.
2031 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
2032 |
--no-cr |
--no-c |
-n)
2035 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
2036 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
2039 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
2040 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
2041 |
--oldin |
--oldi |
--old |
--ol |
--o)
2042 ac_prev
=oldincludedir
;;
2043 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
2044 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
2045 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
2046 oldincludedir
=$ac_optarg ;;
2048 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
2050 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
2051 prefix
=$ac_optarg ;;
2053 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
2054 |
--program-pre |
--program-pr |
--program-p)
2055 ac_prev
=program_prefix
;;
2056 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
2057 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
2058 program_prefix
=$ac_optarg ;;
2060 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
2061 |
--program-suf |
--program-su |
--program-s)
2062 ac_prev
=program_suffix
;;
2063 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
2064 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
2065 program_suffix
=$ac_optarg ;;
2067 -program-transform-name |
--program-transform-name \
2068 |
--program-transform-nam |
--program-transform-na \
2069 |
--program-transform-n |
--program-transform- \
2070 |
--program-transform |
--program-transfor \
2071 |
--program-transfo |
--program-transf \
2072 |
--program-trans |
--program-tran \
2073 |
--progr-tra |
--program-tr |
--program-t)
2074 ac_prev
=program_transform_name
;;
2075 -program-transform-name=* |
--program-transform-name=* \
2076 |
--program-transform-nam=* |
--program-transform-na=* \
2077 |
--program-transform-n=* |
--program-transform-=* \
2078 |
--program-transform=* |
--program-transfor=* \
2079 |
--program-transfo=* |
--program-transf=* \
2080 |
--program-trans=* |
--program-tran=* \
2081 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
2082 program_transform_name
=$ac_optarg ;;
2084 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
2086 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
2087 pdfdir
=$ac_optarg ;;
2089 -psdir |
--psdir |
--psdi |
--psd |
--ps)
2091 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
2094 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2095 |
-silent |
--silent |
--silen |
--sile |
--sil)
2098 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
2099 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
2100 |
--run |
--ru |
--r)
2101 ac_prev
=runstatedir
;;
2102 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
2103 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
2104 |
--run=* |
--ru=* |
--r=*)
2105 runstatedir
=$ac_optarg ;;
2107 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
2109 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
2111 sbindir
=$ac_optarg ;;
2113 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
2114 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
2115 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
2117 ac_prev
=sharedstatedir
;;
2118 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
2119 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
2120 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
2122 sharedstatedir
=$ac_optarg ;;
2124 -site |
--site |
--sit)
2126 -site=* |
--site=* |
--sit=*)
2129 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
2131 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
2132 srcdir
=$ac_optarg ;;
2134 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
2135 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
2136 ac_prev
=sysconfdir
;;
2137 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
2138 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
2139 sysconfdir
=$ac_optarg ;;
2141 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
2142 ac_prev
=target_alias
;;
2143 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
2144 target_alias
=$ac_optarg ;;
2146 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
2149 -version |
--version |
--versio |
--versi |
--vers |
-V)
2150 ac_init_version
=: ;;
2153 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2154 # Reject names that are not valid shell variable names.
2155 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2156 as_fn_error $?
"invalid package name: \`$ac_useropt'"
2157 ac_useropt_orig
=$ac_useropt
2158 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2159 case $ac_user_opts in
2163 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2164 ac_unrecognized_sep
=', ';;
2166 eval with_
$ac_useropt=\
$ac_optarg ;;
2168 -without-* |
--without-*)
2169 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2170 # Reject names that are not valid shell variable names.
2171 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2172 as_fn_error $?
"invalid package name: \`$ac_useropt'"
2173 ac_useropt_orig
=$ac_useropt
2174 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2175 case $ac_user_opts in
2179 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2180 ac_unrecognized_sep
=', ';;
2182 eval with_
$ac_useropt=no
;;
2185 # Obsolete; use --with-x.
2188 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
2189 |
--x-incl |
--x-inc |
--x-in |
--x-i)
2190 ac_prev
=x_includes
;;
2191 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
2192 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
2193 x_includes
=$ac_optarg ;;
2195 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
2196 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
2197 ac_prev
=x_libraries
;;
2198 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
2199 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
2200 x_libraries
=$ac_optarg ;;
2202 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
2203 Try \`$0 --help' for more information"
2207 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
2208 # Reject names that are not valid shell variable names.
2209 case $ac_envvar in #(
2210 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
2211 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
2213 eval $ac_envvar=\
$ac_optarg
2214 export $ac_envvar ;;
2217 # FIXME: should be removed in autoconf 3.0.
2218 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2219 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
2220 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2221 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2227 if test -n "$ac_prev"; then
2228 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
2229 as_fn_error $?
"missing argument to $ac_option"
2232 if test -n "$ac_unrecognized_opts"; then
2233 case $enable_option_checking in
2235 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
2236 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2240 # Check all directory arguments for consistency.
2241 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2242 datadir sysconfdir sharedstatedir localstatedir includedir \
2243 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2244 libdir localedir mandir runstatedir
2246 eval ac_val
=\$
$ac_var
2247 # Remove trailing slashes.
2250 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2251 eval $ac_var=\
$ac_val;;
2253 # Be sure to have absolute directory names.
2255 [\\/$
]* | ?
:[\\/]* ) continue;;
2256 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
2258 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
2261 # There might be people who depend on the old broken behavior: `$host'
2262 # used to hold the argument of --host etc.
2263 # FIXME: To remove some day.
2266 target
=$target_alias
2268 # FIXME: To remove some day.
2269 if test "x$host_alias" != x
; then
2270 if test "x$build_alias" = x
; then
2271 cross_compiling
=maybe
2272 elif test "x$build_alias" != "x$host_alias"; then
2278 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
2280 test "$silent" = yes && exec 6>/dev
/null
2283 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
2284 ac_ls_di
=`ls -di .` &&
2285 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
2286 as_fn_error $?
"working directory cannot be determined"
2287 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2288 as_fn_error $?
"pwd does not report name of working directory"
2291 # Find the source files, if location was not specified.
2292 if test -z "$srcdir"; then
2293 ac_srcdir_defaulted
=yes
2294 # Try the directory containing this script, then the parent directory.
2295 ac_confdir
=`$as_dirname -- "$as_myself" ||
2296 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2297 X"$as_myself" : 'X\(//\)[^/]' \| \
2298 X"$as_myself" : 'X\(//\)$' \| \
2299 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2300 printf "%s\n" X"$as_myself" |
2301 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2319 if test ! -r "$srcdir/$ac_unique_file"; then
2323 ac_srcdir_defaulted
=no
2325 if test ! -r "$srcdir/$ac_unique_file"; then
2326 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
2327 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
2329 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
2331 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2333 # When building in place, set srcdir=.
2334 if test "$ac_abs_confdir" = "$ac_pwd"; then
2337 # Remove unnecessary trailing slashes from srcdir.
2338 # Double slashes in file names in object file debugging info
2339 # mess up M-x gdb in Emacs.
2341 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2343 for ac_var
in $ac_precious_vars; do
2344 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
2345 eval ac_env_
${ac_var}_value
=\$
${ac_var}
2346 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
2347 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2351 # Report the --help message.
2353 if test "$ac_init_help" = "long"; then
2354 # Omit some internal or obsolete options to make the list less imposing.
2355 # This message is too long to be a string in the A/UX 3.1 sh.
2357 \`configure' configures Wine 8.13 to adapt to many kinds of systems.
2359 Usage: $0 [OPTION]... [VAR=VALUE]...
2361 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2362 VAR=VALUE. See below for descriptions of some of the useful variables.
2364 Defaults for the options are specified in brackets.
2367 -h, --help display this help and exit
2368 --help=short display options specific to this package
2369 --help=recursive display the short help of all the included packages
2370 -V, --version display version information and exit
2371 -q, --quiet, --silent do not print \`checking ...' messages
2372 --cache-file=FILE cache test results in FILE [disabled]
2373 -C, --config-cache alias for \`--cache-file=config.cache'
2374 -n, --no-create do not create output files
2375 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2377 Installation directories:
2378 --prefix=PREFIX install architecture-independent files in PREFIX
2379 [$ac_default_prefix]
2380 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2383 By default, \`make install' will install all the files in
2384 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2385 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2386 for instance \`--prefix=\$HOME'.
2388 For better control, use the options below.
2390 Fine tuning of the installation directories:
2391 --bindir=DIR user executables [EPREFIX/bin]
2392 --sbindir=DIR system admin executables [EPREFIX/sbin]
2393 --libexecdir=DIR program executables [EPREFIX/libexec]
2394 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2395 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2396 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2397 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2398 --libdir=DIR object code libraries [EPREFIX/lib]
2399 --includedir=DIR C header files [PREFIX/include]
2400 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2401 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2402 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2403 --infodir=DIR info documentation [DATAROOTDIR/info]
2404 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2405 --mandir=DIR man documentation [DATAROOTDIR/man]
2406 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2407 --htmldir=DIR html documentation [DOCDIR]
2408 --dvidir=DIR dvi documentation [DOCDIR]
2409 --pdfdir=DIR pdf documentation [DOCDIR]
2410 --psdir=DIR ps documentation [DOCDIR]
2416 --x-includes=DIR X include files are
in DIR
2417 --x-libraries=DIR X library files are
in DIR
2420 --build=BUILD configure
for building on BUILD
[guessed
]
2421 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2425 if test -n "$ac_init_help"; then
2426 case $ac_init_help in
2427 short | recursive
) echo "Configuration of Wine 8.13:";;
2432 --disable-option-checking ignore unrecognized
--enable/--with options
2433 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2434 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2435 --enable-archs={i386
,x86_64
,arm
,aarch64
}
2436 enable multiple architectures
for PE compilation
2437 --disable-win16 do not include Win16 support
2438 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2440 --disable-tests do not build the regression tests
2441 --enable-build-id include .buildid section in output objects
2442 --enable-maintainer-mode
2443 enable maintainer-specific build rules
2444 --enable-silent-rules use silent build rules (override: "make V=1")
2445 --enable-werror treat compilation warnings as errors
2446 --disable-largefile omit support for large files
2449 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2450 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2451 --without-alsa do not use the Alsa sound support
2452 --without-capi do not use CAPI (ISDN support)
2453 --without-coreaudio do not use the CoreAudio sound support
2454 --without-cups do not use CUPS
2455 --without-dbus do not use DBus (dynamic device support)
2456 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2457 --without-fontconfig do not use fontconfig
2458 --without-freetype do not use the FreeType library
2459 --without-gettext do not use gettext
2460 --with-gettextpo use the GetTextPO library to rebuild po files
2461 --without-gphoto do not use gphoto (Digital Camera support)
2462 --without-gnutls do not use GnuTLS (schannel support)
2463 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2464 --without-gstreamer do not use GStreamer (codecs support)
2465 --without-inotify do not use inotify (filesystem change notifications)
2466 --without-krb5 do not use krb5 (Kerberos)
2467 --without-mingw do not use the MinGW cross-compiler
2468 --without-netapi do not use the Samba NetAPI library
2469 --without-opencl do not use OpenCL
2470 --without-opengl do not use OpenGL
2471 --without-osmesa do not use the OSMesa library
2472 --without-oss do not use the OSS sound support
2473 --without-pcap do not use the Packet Capture library
2474 --without-pcsclite do not use PCSC lite
2475 --without-pthread do not use the pthread library
2476 --without-pulse do not use PulseAudio sound support
2477 --without-sane do not use SANE (scanner support)
2478 --without-sdl do not use SDL
2479 --without-udev do not use udev (plug and play support)
2480 --without-unwind do not use the libunwind library (exception
2482 --without-usb do not use the libusb library
2483 --without-v4l2 do not use v4l2 (video capture)
2484 --without-vulkan do not use Vulkan
2485 --without-wayland do not build the Wayland driver
2486 --without-xcomposite do not use the Xcomposite extension
2487 --without-xcursor do not use the Xcursor extension
2488 --without-xfixes do not use Xfixes for clipboard change notifications
2489 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2490 --without-xinput do not use the Xinput extension
2491 --without-xinput2 do not use the Xinput 2 extension
2492 --without-xrandr do not use Xrandr (multi-monitor support)
2493 --without-xrender do not use the Xrender extension
2494 --without-xshape do not use the Xshape extension
2495 --without-xshm do not use XShm (shared memory extension)
2496 --without-xxf86vm do not use XFree video mode extension
2497 --with-system-dllpath=PATH
2498 load external PE dependencies from colon-separated
2500 --with-wine-tools=DIR use Wine tools from directory DIR
2501 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2502 --with-x use the X Window System
2504 Some influential environment variables:
2505 CC C compiler command
2506 CFLAGS C compiler flags
2507 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2508 nonstandard directory <lib dir>
2509 LIBS libraries to pass to the linker, e.g. -l<library>
2510 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2511 you have headers in a nonstandard directory <include dir>
2512 CXX C++ compiler command
2513 CXXFLAGS C++ compiler flags
2514 OBJC Objective C compiler command
2515 OBJCFLAGS Objective C compiler flags
2517 C compiler flags for the PE faudio, overriding the bundled
2520 Linker flags for the PE faudio, overriding the bundled version
2522 C compiler flags for the PE gsm, overriding the bundled version
2523 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2525 C compiler flags for the PE jpeg, overriding the bundled version
2527 Linker flags for the PE jpeg, overriding the bundled version
2529 C compiler flags for the PE jxr, overriding the bundled version
2530 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2532 C compiler flags for the PE lcms2, overriding the bundled
2535 Linker flags for the PE lcms2, overriding the bundled version
2537 C compiler flags for the PE ldap, overriding the bundled version
2539 Linker flags for the PE ldap, overriding the bundled version
2541 C compiler flags for the PE mpg123, overriding the bundled
2544 Linker flags for the PE mpg123, overriding the bundled version
2546 C compiler flags for the PE musl, overriding the bundled version
2548 Linker flags for the PE musl, overriding the bundled version
2550 C compiler flags for the PE png, overriding the bundled version
2551 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2553 C compiler flags for the PE tiff, overriding the bundled version
2555 Linker flags for the PE tiff, overriding the bundled version
2557 C compiler flags for the PE vkd3d, overriding the bundled
2560 Linker flags for the PE vkd3d, overriding the bundled version
2562 C compiler flags for the PE xml2, overriding the bundled version
2564 Linker flags for the PE xml2, overriding the bundled version
2566 C compiler flags for the PE xslt, overriding the bundled version
2568 Linker flags for the PE xslt, overriding the bundled version
2570 C compiler flags for the PE zlib, overriding the bundled version
2572 Linker flags for the PE zlib, overriding the bundled version
2574 C compiler flags for the PE zydis, overriding the bundled
2577 Linker flags for the PE zydis, overriding the bundled version
2578 XMKMF Path to xmkmf, Makefile generator for X Window System
2580 WAYLAND_CLIENT_CFLAGS
2581 C compiler flags for wayland-client, overriding pkg-config
2583 Linker flags for wayland-client, overriding pkg-config
2585 C compiler flags for libinotify, overriding pkg-config
2587 Linker flags for libinotify, overriding pkg-config
2588 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2589 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2591 C compiler flags for gnutls, overriding pkg-config
2592 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2593 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2594 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2595 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2596 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2598 C compiler flags for libgphoto2, overriding pkg-config
2600 Linker flags for libgphoto2, overriding pkg-config
2602 C compiler flags for libgphoto2_port, overriding pkg-config
2604 Linker flags for libgphoto2_port, overriding pkg-config
2606 C compiler flags for freetype2, overriding pkg-config
2608 Linker flags for freetype2, overriding pkg-config
2610 C compiler flags for libpulse, overriding pkg-config
2611 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2613 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2614 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2616 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2617 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2618 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2619 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2621 C compiler flags for libunwind, overriding pkg-config
2622 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2623 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2624 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2626 C compiler flags for capi20, overriding pkg-config
2627 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2628 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2629 CUPS_LIBS Linker flags for cups, overriding pkg-config
2631 C compiler flags for fontconfig, overriding pkg-config
2633 Linker flags for fontconfig, overriding pkg-config
2634 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2635 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2637 C compiler flags for krb5-gssapi, overriding pkg-config
2638 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2640 C compiler flags for netapi, overriding pkg-config
2641 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2643 Use these variables to override the choices made by `configure' or to
help
2644 it to
find libraries and programs with nonstandard names
/locations.
2646 Report bugs to
<wine-devel@winehq.org
>.
2647 Wine home page
: <https
://www.winehq.org
>.
2652 if test "$ac_init_help" = "recursive"; then
2653 # If there are subdirs, report their specific --help.
2654 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2655 test -d "$ac_dir" ||
2656 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2661 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2663 ac_dir_suffix
=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2664 # A ".." for each directory in $ac_dir_suffix.
2665 ac_top_builddir_sub
=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2666 case $ac_top_builddir_sub in
2667 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2668 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2671 ac_abs_top_builddir
=$ac_pwd
2672 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2673 # for backward compatibility:
2674 ac_top_builddir
=$ac_top_build_prefix
2677 .
) # We are building in place.
2679 ac_top_srcdir
=$ac_top_builddir_sub
2680 ac_abs_top_srcdir
=$ac_pwd ;;
2681 [\\/]* | ?
:[\\/]* ) # Absolute name.
2682 ac_srcdir
=$srcdir$ac_dir_suffix;
2683 ac_top_srcdir
=$srcdir
2684 ac_abs_top_srcdir
=$srcdir ;;
2686 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2687 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2688 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2690 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2692 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2693 # Check for configure.gnu first; this name is used for a wrapper for
2694 # Metaconfig's "Configure" on case-insensitive file systems.
2695 if test -f "$ac_srcdir/configure.gnu"; then
2697 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2698 elif test -f "$ac_srcdir/configure"; then
2700 $SHELL "$ac_srcdir/configure" --help=recursive
2702 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2704 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2708 test -n "$ac_init_help" && exit $ac_status
2709 if $ac_init_version; then
2712 generated by GNU Autoconf
2.71
2714 Copyright
(C
) 2021 Free Software Foundation
, Inc.
2715 This configure
script is free software
; the Free Software Foundation
2716 gives unlimited permission to copy
, distribute and modify it.
2721 ## ------------------------ ##
2722 ## Autoconf initialization. ##
2723 ## ------------------------ ##
2725 # ac_fn_c_try_compile LINENO
2726 # --------------------------
2727 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2728 ac_fn_c_try_compile
()
2730 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2731 rm -f conftest.
$ac_objext conftest.beam
2732 if { { ac_try
="$ac_compile"
2734 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2735 *) ac_try_echo=$ac_try;;
2737 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2738 printf "%s\n" "$ac_try_echo"; } >&5
2739 (eval "$ac_compile") 2>conftest.err
2741 if test -s conftest.err; then
2742 grep -v '^ *+' conftest.err >conftest.er1
2743 cat conftest.er1 >&5
2744 mv -f conftest.er1 conftest.err
2746 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2747 test $ac_status = 0; } && {
2748 test -z "$ac_c_werror_flag" ||
2749 test ! -s conftest.err
2750 } && test -s conftest.$ac_objext
2754 printf "%s\n" "$as_me: failed program was:" >&5
2755 sed 's/^/| /' conftest.$ac_ext >&5
2759 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2760 as_fn_set_status $ac_retval
2762 } # ac_fn_c_try_compile
2764 # ac_fn_cxx_try_compile LINENO
2765 # ----------------------------
2766 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2767 ac_fn_cxx_try_compile ()
2769 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2770 rm -f conftest.$ac_objext conftest.beam
2771 if { { ac_try="$ac_compile"
2773 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2774 *) ac_try_echo
=$ac_try;;
2776 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2777 printf "%s\n" "$ac_try_echo"; } >&5
2778 (eval "$ac_compile") 2>conftest.err
2780 if test -s conftest.err
; then
2781 grep -v '^ *+' conftest.err
>conftest.er1
2782 cat conftest.er1
>&5
2783 mv -f conftest.er1 conftest.err
2785 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2786 test $ac_status = 0; } && {
2787 test -z "$ac_cxx_werror_flag" ||
2788 test ! -s conftest.err
2789 } && test -s conftest.
$ac_objext
2793 printf "%s\n" "$as_me: failed program was:" >&5
2794 sed 's/^/| /' conftest.
$ac_ext >&5
2798 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2799 as_fn_set_status
$ac_retval
2801 } # ac_fn_cxx_try_compile
2803 # ac_fn_c_try_link LINENO
2804 # -----------------------
2805 # Try to link conftest.$ac_ext, and return whether this succeeded.
2808 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2809 rm -f conftest.
$ac_objext conftest.beam conftest
$ac_exeext
2810 if { { ac_try
="$ac_link"
2812 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2813 *) ac_try_echo=$ac_try;;
2815 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2816 printf "%s\n" "$ac_try_echo"; } >&5
2817 (eval "$ac_link") 2>conftest.err
2819 if test -s conftest.err; then
2820 grep -v '^ *+' conftest.err >conftest.er1
2821 cat conftest.er1 >&5
2822 mv -f conftest.er1 conftest.err
2824 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2825 test $ac_status = 0; } && {
2826 test -z "$ac_c_werror_flag" ||
2827 test ! -s conftest.err
2828 } && test -s conftest$ac_exeext && {
2829 test "$cross_compiling" = yes ||
2830 test -x conftest$ac_exeext
2835 printf "%s\n" "$as_me: failed program was:" >&5
2836 sed 's/^/| /' conftest.$ac_ext >&5
2840 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2841 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2842 # interfere with the next link command; also delete a directory that is
2843 # left behind by Apple's compiler. We do this before executing the actions.
2844 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2845 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2846 as_fn_set_status $ac_retval
2848 } # ac_fn_c_try_link
2850 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2851 # -------------------------------------------------------
2852 # Tests whether HEADER exists and can be compiled using the include files in
2853 # INCLUDES, setting the cache variable VAR accordingly.
2854 ac_fn_c_check_header_compile ()
2856 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2858 printf %s "checking for $2... " >&6; }
2859 if eval test \${$3+y}
2861 printf %s "(cached) " >&6
2863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2864 /* end confdefs.h. */
2868 if ac_fn_c_try_compile "$LINENO"
2874 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2878 printf "%s\n" "$ac_res" >&6; }
2879 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2881 } # ac_fn_c_check_header_compile
2883 # ac_fn_objc_try_compile LINENO
2884 # -----------------------------
2885 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2886 ac_fn_objc_try_compile ()
2888 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2889 rm -f conftest.$ac_objext conftest.beam
2890 if { { ac_try="$ac_compile"
2892 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2893 *) ac_try_echo
=$ac_try;;
2895 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2896 printf "%s\n" "$ac_try_echo"; } >&5
2897 (eval "$ac_compile") 2>conftest.err
2899 if test -s conftest.err
; then
2900 grep -v '^ *+' conftest.err
>conftest.er1
2901 cat conftest.er1
>&5
2902 mv -f conftest.er1 conftest.err
2904 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2905 test $ac_status = 0; } && {
2906 test -z "$ac_objc_werror_flag" ||
2907 test ! -s conftest.err
2908 } && test -s conftest.
$ac_objext
2912 printf "%s\n" "$as_me: failed program was:" >&5
2913 sed 's/^/| /' conftest.
$ac_ext >&5
2917 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2918 as_fn_set_status
$ac_retval
2920 } # ac_fn_objc_try_compile
2922 # ac_fn_c_check_func LINENO FUNC VAR
2923 # ----------------------------------
2924 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2925 ac_fn_c_check_func
()
2927 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2929 printf %s
"checking for $2... " >&6; }
2930 if eval test \
${$3+y}
2932 printf %s
"(cached) " >&6
2934 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2935 /* end confdefs.h. */
2936 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2937 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2938 #define $2 innocuous_$2
2940 /* System header to define __stub macros and hopefully few prototypes,
2941 which can conflict with char $2 (); below. */
2946 /* Override any GCC internal prototype to avoid an error.
2947 Use char because int might match the return type of a GCC
2948 builtin and then its argument prototype would still apply. */
2953 /* The GNU C library defines this for functions which it implements
2954 to always fail with ENOSYS. Some functions are actually named
2955 something starting with __ and the normal name is an alias. */
2956 #if defined __stub_$2 || defined __stub___$2
2968 if ac_fn_c_try_link
"$LINENO"
2974 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
2975 conftest
$ac_exeext conftest.
$ac_ext
2978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2979 printf "%s\n" "$ac_res" >&6; }
2980 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2982 } # ac_fn_c_check_func
2984 # ac_fn_c_try_cpp LINENO
2985 # ----------------------
2986 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2989 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2990 if { { ac_try
="$ac_cpp conftest.$ac_ext"
2992 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2993 *) ac_try_echo=$ac_try;;
2995 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2996 printf "%s\n" "$ac_try_echo"; } >&5
2997 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2999 if test -s conftest.err; then
3000 grep -v '^ *+' conftest.err >conftest.er1
3001 cat conftest.er1 >&5
3002 mv -f conftest.er1 conftest.err
3004 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3005 test $ac_status = 0; } > conftest.i && {
3006 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3007 test ! -s conftest.err
3012 printf "%s\n" "$as_me: failed program was:" >&5
3013 sed 's/^/| /' conftest.$ac_ext >&5
3017 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3018 as_fn_set_status $ac_retval
3022 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3023 # ----------------------------------------------------
3024 # Tries to find if the field MEMBER exists in type AGGR, after including
3025 # INCLUDES, setting cache variable VAR accordingly.
3026 ac_fn_c_check_member ()
3028 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3030 printf %s "checking for $2.$3... " >&6; }
3031 if eval test \${$4+y}
3033 printf %s "(cached) " >&6
3035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3036 /* end confdefs.h. */
3048 if ac_fn_c_try_compile "$LINENO"
3052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3053 /* end confdefs.h. */
3059 if (sizeof ac_aggr.$3)
3065 if ac_fn_c_try_compile "$LINENO"
3071 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3073 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3077 printf "%s\n" "$ac_res" >&6; }
3078 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3080 } # ac_fn_c_check_member
3082 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3083 # -------------------------------------------
3084 # Tests whether TYPE exists after having included INCLUDES, setting cache
3085 # variable VAR accordingly.
3086 ac_fn_c_check_type ()
3088 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3090 printf %s "checking for $2... " >&6; }
3091 if eval test \${$3+y}
3093 printf %s "(cached) " >&6
3096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3097 /* end confdefs.h. */
3108 if ac_fn_c_try_compile "$LINENO"
3110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3111 /* end confdefs.h. */
3122 if ac_fn_c_try_compile "$LINENO"
3128 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3130 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3134 printf "%s\n" "$ac_res" >&6; }
3135 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3137 } # ac_fn_c_check_type
3138 ac_configure_args_raw=
3143 ac_arg=`printf "%s\n" "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
3145 as_fn_append ac_configure_args_raw " '$ac_arg'"
3148 case $ac_configure_args_raw in
3152 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3153 ac_unsafe_a="$ac_unsafe_z#~
"
3154 ac_safe_unquote="s
/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g
"
3155 ac_configure_args_raw=` printf "%s
\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3158 cat >config.log <<_ACEOF
3159 This file contains any messages produced by compilers while
3160 running configure, to aid debugging if configure makes a mistake.
3162 It was created by Wine $as_me 8.13, which was
3163 generated by GNU Autoconf 2.71. Invocation command line was
3165 $ $0$ac_configure_args_raw
3175 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3176 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3177 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3178 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3179 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3181 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3182 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3184 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3185 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3186 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3187 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3188 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3189 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3190 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3198 case $as_dir in #(((
3201 *) as_dir=$as_dir/ ;;
3203 printf "%s
\n" "PATH
: $as_dir"
3219 # Keep a trace of the command line.
3220 # Strip out --no-create and --no-recursion so they do not pile up.
3221 # Strip out --silent because we don't want to record it for future runs.
3222 # Also quote any args containing shell meta-characters.
3223 # Make two passes to allow for proper duplicate-argument suppression.
3227 ac_must_keep_next=false
3233 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3234 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3235 | -silent | --silent | --silen | --sile | --sil)
3238 ac_arg=`printf "%s
\n" "$ac_arg" | sed "s
/'/'\\\\\\\\''/g
"` ;;
3241 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3243 as_fn_append ac_configure_args1 " '$ac_arg'"
3244 if test $ac_must_keep_next = true; then
3245 ac_must_keep_next=false # Got value, back to normal.
3248 *=* | --config-cache | -C | -disable-* | --disable-* \
3249 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3250 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3251 | -with-* | --with-* | -without-* | --without-* | --x)
3252 case "$ac_configure_args0 " in
3253 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3256 -* ) ac_must_keep_next=true ;;
3259 as_fn_append ac_configure_args " '$ac_arg'"
3264 { ac_configure_args0=; unset ac_configure_args0;}
3265 { ac_configure_args1=; unset ac_configure_args1;}
3267 # When interrupted or exit'd, cleanup temporary files, and complete
3268 # config.log. We remove comments because anyway the quotes in there
3269 # would cause problems or look ugly.
3270 # WARNING: Use '\'' to represent an apostrophe within the trap.
3271 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3272 trap 'exit_status=$?
3275 # Save into config.log some information that might help in debugging.
3279 printf "%s
\n" "## ---------------- ##
3280 ## Cache variables. ##
3281 ## ---------------- ##"
3283 # The following way of writing the cache mishandles newlines in values,
3285 for ac_var
in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3286 eval ac_val
=\$
$ac_var
3290 *_cv_
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3291 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3294 _ | IFS | as_nl
) ;; #(
3295 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
3296 *) { eval $ac_var=; unset $ac_var;} ;;
3301 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3302 *${as_nl}ac_space
=\
*)
3304 "s/'\''/'\''\\\\'\'''\''/g;
3305 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3308 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3315 printf "%s\n" "## ----------------- ##
3316 ## Output variables. ##
3317 ## ----------------- ##"
3319 for ac_var
in $ac_subst_vars
3321 eval ac_val
=\$
$ac_var
3323 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3325 printf "%s\n" "$ac_var='\''$ac_val'\''"
3329 if test -n "$ac_subst_files"; then
3330 printf "%s\n" "## ------------------- ##
3331 ## File substitutions. ##
3332 ## ------------------- ##"
3334 for ac_var in $ac_subst_files
3336 eval ac_val=\$$ac_var
3338 *\'\''*) ac_val
=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3340 printf "%s\n" "$ac_var='\''$ac_val'\''"
3345 if test -s confdefs.h
; then
3346 printf "%s\n" "## ----------- ##
3353 test "$ac_signal" != 0 &&
3354 printf "%s\n" "$as_me: caught signal $ac_signal"
3355 printf "%s\n" "$as_me: exit $exit_status"
3357 rm -f core
*.core core.conftest.
* &&
3358 rm -f -r conftest
* confdefs
* conf$$
* $ac_clean_files &&
3361 for ac_signal in 1 2 13 15; do
3362 trap 'ac_signal
='$ac_signal'; as_fn_exit
1' $ac_signal
3366 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3367 rm -f -r conftest* confdefs.h
3369 printf "%s\n" "/* confdefs.h */" > confdefs.h
3371 # Predefined preprocessor variables.
3373 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3375 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3377 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3379 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3381 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3383 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3386 # Let the site file select an alternate cache file if it wants to.
3387 # Prefer an explicitly selected file to automatically selected ones.
3388 if test -n "$CONFIG_SITE"; then
3389 ac_site_files="$CONFIG_SITE"
3390 elif test "x$prefix" != xNONE; then
3391 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3393 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3396 for ac_site_file in $ac_site_files
3398 case $ac_site_file in #(
3402 ac_site_file=./$ac_site_file ;;
3404 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3406 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3407 sed 's
/^
/|
/' "$ac_site_file" >&5
3409 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3410 printf "%s
\n" "$as_me: error
: in \
`$ac_pwd':" >&2;}
3411 as_fn_error $? "failed to load site script $ac_site_file
3412 See \`config.log
' for more details" "$LINENO" 5; }
3416 if test -r "$cache_file"; then
3417 # Some versions of bash will fail to source /dev/null (special files
3418 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3419 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3421 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3423 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3424 *) . "./$cache_file";;
3428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3429 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3433 # Test code for whether the C compiler supports C89 (global declarations)
3434 ac_c_conftest_c89_globals='
3435 /* Does the compiler advertise C89 conformance?
3436 Do not
test the value of __STDC__
, because some compilers
set it to
0
3437 while being otherwise adequately conformant.
*/
3438 #if !defined __STDC__
3439 # error "Compiler does not advertise C89 conformance"
3445 /* Most of the following tests are stolen from RCS
5.7 src
/conf.sh.
*/
3446 struct buf
{ int x
; };
3447 struct buf
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
3448 static char
*e
(p
, i
)
3454 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
3459 s
= g
(p
, va_arg
(v
,int
));
3464 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
3465 function prototypes and stuff
, but not \xHH hex character constants.
3466 These
do not provoke an error unfortunately
, instead are silently treated
3467 as an
"x". The following induces an error
, until -std is added to get
3468 proper ANSI mode. Curiously
\x00 != x always comes out true
, for an
3469 array size
at least. It is necessary to
write \x00 == 0 to get something
3470 that is true only with
-std.
*/
3471 int osf4_cc_array
['\''\x00'\'' == 0 ?
1 : -1];
3473 /* IBM C
6 for AIX is almost-ANSI by default
, but it replaces macro parameters
3474 inside
strings and character constants.
*/
3475 #define FOO(x) '\''x'\''
3476 int xlc6_cc_array
[FOO
(a
) == '\''x
'\'' ?
1 : -1];
3478 int
test (int i
, double x
);
3479 struct s1
{int
(*f
) (int a
);};
3480 struct s2
{int
(*f
) (double a
);};
3481 int pairnames
(int
, char
**, int
*(*)(struct buf
*, struct stat
*, int
),
3484 # Test code for whether the C compiler supports C89 (body of main).
3485 ac_c_conftest_c89_main='
3486 ok |
= (argc
== 0 || f
(e
, argv
, 0) != argv
[0] || f
(e
, argv
, 1) != argv
[1]);
3489 # Test code for whether the C compiler supports C99 (global declarations)
3490 ac_c_conftest_c99_globals='
3491 // Does the compiler advertise C99 conformance?
3492 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3493 # error "Compiler does not advertise C99 conformance"
3496 #include <stdbool.h>
3497 extern int puts
(const char
*);
3498 extern int
printf (const char
*, ...
);
3499 extern int dprintf
(int
, const char
*, ...
);
3500 extern void
*malloc
(size_t
);
3502 // Check varargs macros. These examples are taken from C99
6.10.3.5.
3503 // dprintf is used instead of fprintf to avoid needing to
declare
3505 #define debug(...) dprintf (2, __VA_ARGS__)
3506 #define showlist(...) puts (#__VA_ARGS__)
3507 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3509 test_varargs_macros
(void
)
3514 debug
("X = %d\n", x
);
3515 showlist
(The first
, second
, and third items.
);
3516 report
(x
>y
, "x is %d but y is %d", x
, y
);
3519 // Check long long types.
3520 #define BIG64 18446744073709551615ull
3521 #define BIG32 4294967295ul
3522 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3524 #error "your preprocessor is broken"
3528 #error "your preprocessor is broken"
3530 static long long int bignum
= -9223372036854775807LL;
3531 static unsigned long long int ubignum
= BIG64
;
3533 struct incomplete_array
3541 const wchar_t
*name
;
3545 typedef const char
*ccp
;
3548 test_restrict
(ccp restrict text
)
3550 // See
if C
++-style comments work.
3551 // Iterate through items via the restricted pointer.
3552 // Also check
for declarations
in for loops.
3553 for (unsigned int i
= 0; *(text
+i
) != '\''\
0'\''; ++i
)
3558 // Check varargs and va_copy.
3560 test_varargs
(const char
*format
, ...
)
3563 va_start
(args
, format
);
3565 va_copy
(args_copy
, args
);
3567 const char
*str
= "";
3575 case '\''s
'\'': // string
3576 str
= va_arg
(args_copy
, const char
*);
3578 case '\''d
'\'': // int
3579 number
= va_arg
(args_copy
, int
);
3581 case '\''f
'\'': // float
3582 fnumber
= va_arg
(args_copy
, double
);
3591 return *str
&& number
&& fnumber
;
3595 # Test code for whether the C compiler supports C99 (body of main).
3596 ac_c_conftest_c99_main='
3598 _Bool success
= false
;
3599 success |
= (argc
!= 0);
3602 if (test_restrict
("String literal") == 0)
3604 char
*restrict newvar
= "Another string";
3607 success
&= test_varargs
("s, d'\'' f .", "string", 65, 34.234);
3608 test_varargs_macros
();
3610 // Check flexible array members.
3611 struct incomplete_array
*ia
=
3612 malloc
(sizeof
(struct incomplete_array
) + (sizeof
(double
) * 10));
3614 for (int i
= 0; i
< ia-
>datasize
; ++i
)
3615 ia-
>data
[i
] = i
* 1.234;
3617 // Check named initializers.
3618 struct named_init ni
= {
3620 .name
= L
"Test wide string",
3621 .average
= 543.34343,
3626 int dynamic_array
[ni.number
];
3627 dynamic_array
[0] = argv
[0][0];
3628 dynamic_array
[ni.number
- 1] = 543;
3630 // work around unused variable warnings
3631 ok |
= (!success || bignum
== 0LL || ubignum
== 0uLL || newvar
[0] == '\''x
'\''
3632 || dynamic_array
[ni.number
- 1] != 543);
3635 # Test code for whether the C compiler supports C11 (global declarations)
3636 ac_c_conftest_c11_globals='
3637 // Does the compiler advertise C11 conformance?
3638 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3639 # error "Compiler does not advertise C11 conformance"
3643 char _Alignas
(double
) aligned_as_double
;
3644 char _Alignas
(0) no_special_alignment
;
3645 extern char aligned_as_int
;
3646 char _Alignas
(0) _Alignas
(int
) aligned_as_int
;
3651 int_alignment
= _Alignof
(int
),
3652 int_array_alignment
= _Alignof
(int
[100]),
3653 char_alignment
= _Alignof
(char
)
3655 _Static_assert
(0 < -_Alignof (int
), "_Alignof is signed");
3658 int _Noreturn does_not_return
(void
) { for (;;) continue; }
3660 // Check _Static_assert.
3661 struct test_static_assert
3664 _Static_assert
(sizeof
(int
) <= sizeof
(long int
),
3665 "_Static_assert does not work in struct");
3669 // Check UTF-8 literals.
3670 #define u8 syntax error!
3671 char const utf8_literal
[] = u8
"happens to be ASCII" "another string";
3673 // Check duplicate typedefs.
3674 typedef long
*long_ptr
;
3675 typedef long int
*long_ptr
;
3676 typedef long_ptr long_ptr
;
3678 // Anonymous structures and unions
-- taken from C11
6.7.2.1 Example
1.
3682 struct
{ int i
; int j
; };
3683 struct
{ int k
; long int l
; } w
;
3689 # Test code for whether the C compiler supports C11 (body of main).
3690 ac_c_conftest_c11_main='
3691 _Static_assert
((offsetof
(struct anonymous
, i
)
3692 == offsetof
(struct anonymous
, w.k
)),
3693 "Anonymous union alignment botch");
3699 # Test code for whether the C compiler supports C11 (complete).
3700 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3701 ${ac_c_conftest_c99_globals}
3702 ${ac_c_conftest_c11_globals}
3705 main (int argc, char **argv)
3708 ${ac_c_conftest_c89_main}
3709 ${ac_c_conftest_c99_main}
3710 ${ac_c_conftest_c11_main}
3715 # Test code for whether the C compiler supports C99 (complete).
3716 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3717 ${ac_c_conftest_c99_globals}
3720 main (int argc, char **argv)
3723 ${ac_c_conftest_c89_main}
3724 ${ac_c_conftest_c99_main}
3729 # Test code for whether the C compiler supports C89 (complete).
3730 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3733 main (int argc, char **argv)
3736 ${ac_c_conftest_c89_main}
3741 # Test code for whether the C++ compiler supports C++98 (global declarations)
3742 ac_cxx_conftest_cxx98_globals='
3743 // Does the compiler advertise C
++98 conformance?
3744 #if !defined __cplusplus || __cplusplus < 199711L
3745 # error "Compiler does not advertise C++98 conformance"
3748 // These inclusions are to reject old compilers that
3749 // lack the unsuffixed header files.
3751 #include <exception>
3753 // <cassert
> and
<cstring
> are
*not
* freestanding headers
in C
++98.
3754 extern void assert
(int
);
3756 extern int strcmp
(const char
*, const char
*);
3759 // Namespaces
, exceptions
, and templates were all added after
"C++ 2.0".
3760 using std
::exception
;
3765 void test_exception_syntax
()
3769 } catch
(const char
*s
) {
3770 // Extra parentheses suppress a warning when building autoconf itself
,
3771 // due to lint rules shared with
more typical C programs.
3772 assert
(!(strcmp
) (s
, "test"));
3776 template
<typename T
> struct test_template
3779 explicit test_template
(T t
) : val
(t
) {}
3780 template
<typename U
> T add
(U u
) { return static_cast
<T
>(u
) + val
; }
3783 } // anonymous namespace
3786 # Test code for whether the C++ compiler supports C++98 (body of main)
3787 ac_cxx_conftest_cxx98_main='
3791 test_exception_syntax
();
3792 test_template
<double
> tt
(2.0);
3793 assert
(tt.add
(4) == 6.0);
3794 assert
(true
&& !false
);
3798 # Test code for whether the C++ compiler supports C++11 (global declarations)
3799 ac_cxx_conftest_cxx11_globals='
3800 // Does the compiler advertise C
++ 2011 conformance?
3801 #if !defined __cplusplus || __cplusplus < 201103L
3802 # error "Compiler does not advertise C++11 conformance"
3807 constexpr int get_val
() { return 20; }
3818 delegate
(int n
) : n
(n
) {}
3819 delegate
(): delegate
(2354) {}
3821 virtual int getval
() { return this-
>n
; };
3826 class overridden
: public delegate
3829 overridden
(int n
): delegate
(n
) {}
3830 virtual int getval
() override final
{ return this-
>n
* 2; }
3836 nocopy
(int i
): i
(i
) {}
3838 nocopy
(const nocopy
&) = delete
;
3839 nocopy
& operator
=(const nocopy
&) = delete
;
3844 // for testing lambda expressions
3845 template
<typename Ret
, typename Fn
> Ret
eval(Fn f
, Ret v
)
3850 // for testing variadic templates and trailing
return types
3851 template
<typename V
> auto
sum(V first
) -> V
3855 template
<typename V
, typename... Args
> auto
sum(V first
, Args... rest
) -> V
3857 return first
+ sum(rest...
);
3862 # Test code for whether the C++ compiler supports C++11 (body of main)
3863 ac_cxx_conftest_cxx11_main='
3865 // Test auto and decltype
3867 auto a2
= 48573953.4;
3868 auto a3
= "String literal";
3871 for (auto i
= a3
; *i
; ++i
) { total
+= *i
; }
3873 decltype
(a2
) a4
= 34895.034;
3877 short sa
[cxx11test
::get_val
()] = { 0 };
3880 // Test initializer lists
3881 cxx11test
::testinit il
= { 4323, 435234.23544 };
3884 // Test range-based
for
3885 int array
[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3886 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3887 for (auto
&x
: array
) { x
+= 23; }
3890 // Test lambda expressions
3891 using cxx11test
::eval;
3892 assert
(eval ([](int x
) { return x
*2; }, 21) == 42);
3894 assert
(eval ([&](double x
) { return d
+= x
; }, 3.0) == 5.0);
3896 assert
(eval ([=](double x
) mutable
{ return d
+= x
; }, 4.0) == 9.0);
3900 // Test use of variadic templates
3901 using cxx11test
::sum;
3904 auto c
= sum(1.0, 2.0, 3.0);
3907 // Test constructor delegation
3908 cxx11test
::delegate d1
;
3909 cxx11test
::delegate d2
();
3910 cxx11test
::delegate d3
(45);
3913 // Test override and final
3914 cxx11test
::overridden o1
(55464);
3921 // Test template brackets
3922 test_template
<::test_template
<int
>> v
(test_template
<int
>(12));
3926 char const
*utf8
= u8
"UTF-8 string \u2500";
3927 char16_t const
*utf16
= u
"UTF-8 string \u2500";
3928 char32_t const
*utf32
= U
"UTF-32 string \u2500";
3932 # Test code for whether the C compiler supports C++11 (complete).
3933 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3934 ${ac_cxx_conftest_cxx11_globals}
3937 main (int argc, char **argv)
3940 ${ac_cxx_conftest_cxx98_main}
3941 ${ac_cxx_conftest_cxx11_main}
3946 # Test code for whether the C compiler supports C++98 (complete).
3947 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3949 main (int argc, char **argv)
3952 ${ac_cxx_conftest_cxx98_main}
3957 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3958 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3959 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3960 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3961 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3962 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3963 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3964 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3965 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3967 # Auxiliary files required by this configure script.
3968 ac_aux_files="config.guess config.sub"
3970 # Locations in which to look for auxiliary files.
3971 ac_aux_dir_candidates="${srcdir}/tools"
3973 # Search for a directory containing all of the required auxiliary files,
3974 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3975 # If we don't
find one directory that contains all the files we need
,
3976 # we report the set of missing files from the *first* directory in
3977 # $ac_aux_dir_candidates and give up.
3978 ac_missing_aux_files
=""
3979 ac_first_candidate
=:
3980 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3981 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3983 for as_dir
in $ac_aux_dir_candidates
3986 case $as_dir in #(((
3989 *) as_dir
=$as_dir/ ;;
3993 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3994 ac_aux_dir_found
=yes
3996 for ac_aux
in $ac_aux_files
3998 # As a special case, if "install-sh" is required, that requirement
3999 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
4000 # and $ac_install_sh is set appropriately for whichever one is found.
4001 if test x
"$ac_aux" = x
"install-sh"
4003 if test -f "${as_dir}install-sh"; then
4004 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
4005 ac_install_sh
="${as_dir}install-sh -c"
4006 elif test -f "${as_dir}install.sh"; then
4007 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
4008 ac_install_sh
="${as_dir}install.sh -c"
4009 elif test -f "${as_dir}shtool"; then
4010 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
4011 ac_install_sh
="${as_dir}shtool install -c"
4014 if $ac_first_candidate; then
4015 ac_missing_aux_files
="${ac_missing_aux_files} install-sh"
4021 if test -f "${as_dir}${ac_aux}"; then
4022 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
4025 if $ac_first_candidate; then
4026 ac_missing_aux_files
="${ac_missing_aux_files} ${ac_aux}"
4033 if test "$ac_aux_dir_found" = yes; then
4034 ac_aux_dir
="$as_dir"
4037 ac_first_candidate
=false
4046 as_fn_error $?
"cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4050 # These three variables are undocumented and unsupported,
4051 # and are intended to be withdrawn in a future Autoconf release.
4052 # They can cause serious problems if a builder's source tree is in a directory
4053 # whose full name contains unusual characters.
4054 if test -f "${ac_aux_dir}config.guess"; then
4055 ac_config_guess
="$SHELL ${ac_aux_dir}config.guess"
4057 if test -f "${ac_aux_dir}config.sub"; then
4058 ac_config_sub
="$SHELL ${ac_aux_dir}config.sub"
4060 if test -f "$ac_aux_dir/configure"; then
4061 ac_configure
="$SHELL ${ac_aux_dir}configure"
4064 # Check that the precious variables saved in the cache have kept the same
4066 ac_cache_corrupted
=false
4067 for ac_var
in $ac_precious_vars; do
4068 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
4069 eval ac_new_set
=\
$ac_env_${ac_var}_set
4070 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
4071 eval ac_new_val
=\
$ac_env_${ac_var}_value
4072 case $ac_old_set,$ac_new_set in
4074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4075 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4076 ac_cache_corrupted
=: ;;
4078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4079 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4080 ac_cache_corrupted
=: ;;
4083 if test "x$ac_old_val" != "x$ac_new_val"; then
4084 # differences in whitespace do not lead to failure.
4085 ac_old_val_w
=`echo x $ac_old_val`
4086 ac_new_val_w
=`echo x $ac_new_val`
4087 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4089 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4090 ac_cache_corrupted
=:
4092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4093 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4094 eval $ac_var=\
$ac_old_val
4096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4097 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4099 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4102 # Pass precious variables to config.status.
4103 if test "$ac_new_set" = set; then
4105 *\'*) ac_arg
=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4106 *) ac_arg
=$ac_var=$ac_new_val ;;
4108 case " $ac_configure_args " in
4109 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4110 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
4114 if $ac_cache_corrupted; then
4115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4116 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4118 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4119 as_fn_error $?
"run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4120 and start over" "$LINENO" 5
4122 ## -------------------- ##
4123 ## Main body of script. ##
4124 ## -------------------- ##
4127 ac_cpp
='$CPP $CPPFLAGS'
4128 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4129 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4130 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4134 ac_config_headers
="$ac_config_headers include/config.h"
4138 libwine_version
="1.0"
4141 # Check whether --enable-archs was given.
4142 if test ${enable_archs+y}
4144 enableval
=$enable_archs;
4147 # Check whether --enable-win16 was given.
4148 if test ${enable_win16+y}
4150 enableval
=$enable_win16;
4153 # Check whether --enable-win64 was given.
4154 if test ${enable_win64+y}
4156 enableval
=$enable_win64;
4159 # Check whether --enable-tests was given.
4160 if test ${enable_tests+y}
4162 enableval
=$enable_tests;
4165 # Check whether --enable-build-id was given.
4166 if test ${enable_build_id+y}
4168 enableval
=$enable_build_id;
4171 # Check whether --enable-maintainer-mode was given.
4172 if test ${enable_maintainer_mode+y}
4174 enableval
=$enable_maintainer_mode;
4177 # Check whether --enable-silent-rules was given.
4178 if test ${enable_silent_rules+y}
4180 enableval
=$enable_silent_rules;
4183 # Check whether --enable-werror was given.
4184 if test ${enable_werror+y}
4186 enableval
=$enable_werror;
4191 # Check whether --with-alsa was given.
4192 if test ${with_alsa+y}
4198 # Check whether --with-capi was given.
4199 if test ${with_capi+y}
4205 # Check whether --with-coreaudio was given.
4206 if test ${with_coreaudio+y}
4208 withval
=$with_coreaudio;
4212 # Check whether --with-cups was given.
4213 if test ${with_cups+y}
4219 # Check whether --with-dbus was given.
4220 if test ${with_dbus+y}
4226 # Check whether --with-float-abi was given.
4227 if test ${with_float_abi+y}
4229 withval
=$with_float_abi;
4233 # Check whether --with-fontconfig was given.
4234 if test ${with_fontconfig+y}
4236 withval
=$with_fontconfig;
4240 # Check whether --with-freetype was given.
4241 if test ${with_freetype+y}
4243 withval
=$with_freetype;
4247 # Check whether --with-gettext was given.
4248 if test ${with_gettext+y}
4250 withval
=$with_gettext;
4254 # Check whether --with-gettextpo was given.
4255 if test ${with_gettextpo+y}
4257 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
4261 # Check whether --with-gphoto was given.
4262 if test ${with_gphoto+y}
4264 withval
=$with_gphoto;
4268 # Check whether --with-gnutls was given.
4269 if test ${with_gnutls+y}
4271 withval
=$with_gnutls;
4275 # Check whether --with-gssapi was given.
4276 if test ${with_gssapi+y}
4278 withval
=$with_gssapi;
4282 # Check whether --with-gstreamer was given.
4283 if test ${with_gstreamer+y}
4285 withval
=$with_gstreamer;
4289 # Check whether --with-inotify was given.
4290 if test ${with_inotify+y}
4292 withval
=$with_inotify;
4296 # Check whether --with-krb5 was given.
4297 if test ${with_krb5+y}
4303 # Check whether --with-mingw was given.
4304 if test ${with_mingw+y}
4306 withval
=$with_mingw;
4310 # Check whether --with-netapi was given.
4311 if test ${with_netapi+y}
4313 withval
=$with_netapi;
4317 # Check whether --with-opencl was given.
4318 if test ${with_opencl+y}
4320 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
4324 # Check whether --with-opengl was given.
4325 if test ${with_opengl+y}
4327 withval
=$with_opengl;
4331 # Check whether --with-osmesa was given.
4332 if test ${with_osmesa+y}
4334 withval
=$with_osmesa;
4338 # Check whether --with-oss was given.
4339 if test ${with_oss+y}
4345 # Check whether --with-pcap was given.
4346 if test ${with_pcap+y}
4348 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
4352 # Check whether --with-pcsclite was given.
4353 if test ${with_pcsclite+y}
4355 withval
=$with_pcsclite;
4359 # Check whether --with-pthread was given.
4360 if test ${with_pthread+y}
4362 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
4366 # Check whether --with-pulse was given.
4367 if test ${with_pulse+y}
4369 withval
=$with_pulse;
4373 # Check whether --with-sane was given.
4374 if test ${with_sane+y}
4380 # Check whether --with-sdl was given.
4381 if test ${with_sdl+y}
4387 # Check whether --with-udev was given.
4388 if test ${with_udev+y}
4394 # Check whether --with-unwind was given.
4395 if test ${with_unwind+y}
4397 withval
=$with_unwind;
4401 # Check whether --with-usb was given.
4402 if test ${with_usb+y}
4408 # Check whether --with-v4l2 was given.
4409 if test ${with_v4l2+y}
4415 # Check whether --with-vulkan was given.
4416 if test ${with_vulkan+y}
4418 withval
=$with_vulkan;
4422 # Check whether --with-wayland was given.
4423 if test ${with_wayland+y}
4425 withval
=$with_wayland;
4429 # Check whether --with-xcomposite was given.
4430 if test ${with_xcomposite+y}
4432 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
4436 # Check whether --with-xcursor was given.
4437 if test ${with_xcursor+y}
4439 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
4443 # Check whether --with-xfixes was given.
4444 if test ${with_xfixes+y}
4446 withval
=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h
=no
; fi
4450 # Check whether --with-xinerama was given.
4451 if test ${with_xinerama+y}
4453 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
4457 # Check whether --with-xinput was given.
4458 if test ${with_xinput+y}
4460 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
4464 # Check whether --with-xinput2 was given.
4465 if test ${with_xinput2+y}
4467 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
4471 # Check whether --with-xrandr was given.
4472 if test ${with_xrandr+y}
4474 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
4478 # Check whether --with-xrender was given.
4479 if test ${with_xrender+y}
4481 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
4485 # Check whether --with-xshape was given.
4486 if test ${with_xshape+y}
4488 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
4492 # Check whether --with-xshm was given.
4493 if test ${with_xshm+y}
4495 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
4499 # Check whether --with-xxf86vm was given.
4500 if test ${with_xxf86vm+y}
4502 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
4507 # Check whether --with-system-dllpath was given.
4508 if test ${with_system_dllpath+y}
4510 withval
=$with_system_dllpath; system_dllpath
=$withval
4515 # Check whether --with-wine-tools was given.
4516 if test ${with_wine_tools+y}
4518 withval
=$with_wine_tools;
4522 # Check whether --with-wine64 was given.
4523 if test ${with_wine64+y}
4525 withval
=$with_wine64;
4532 # Make sure we can run config.sub.
4533 $SHELL "${ac_aux_dir}config.sub" sun4
>/dev
/null
2>&1 ||
4534 as_fn_error $?
"cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4537 printf %s
"checking build system type... " >&6; }
4538 if test ${ac_cv_build+y}
4540 printf %s
"(cached) " >&6
4542 ac_build_alias
=$build_alias
4543 test "x$ac_build_alias" = x
&&
4544 ac_build_alias
=`$SHELL "${ac_aux_dir}config.guess"`
4545 test "x$ac_build_alias" = x
&&
4546 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
4547 ac_cv_build
=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4548 as_fn_error $?
"$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4552 printf "%s\n" "$ac_cv_build" >&6; }
4553 case $ac_cv_build in
4555 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
4558 ac_save_IFS
=$IFS; IFS
='-'
4564 # Remember, the first character of IFS is used to create $*,
4565 # except with old shells:
4568 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
4571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4572 printf %s
"checking host system type... " >&6; }
4573 if test ${ac_cv_host+y}
4575 printf %s
"(cached) " >&6
4577 if test "x$host_alias" = x
; then
4578 ac_cv_host
=$ac_cv_build
4580 ac_cv_host
=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4581 as_fn_error $?
"$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4586 printf "%s\n" "$ac_cv_host" >&6; }
4589 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
4592 ac_save_IFS
=$IFS; IFS
='-'
4598 # Remember, the first character of IFS is used to create $*,
4599 # except with old shells:
4602 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4606 dlldir
=\
${libdir}/wine
4608 fontdir
=\
${datadir}/wine
/fonts
4610 nlsdir
=\
${datadir}/wine
/nls
4615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4616 printf %s
"checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4618 ac_make
=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4619 if eval test \
${ac_cv_prog_make_${ac_make}_set+y}
4621 printf %s
"(cached) " >&6
4623 cat >conftest.
make <<\_ACEOF
4626 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4628 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4629 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4631 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4633 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4637 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4639 printf "%s\n" "yes" >&6; }
4642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4643 printf "%s\n" "no" >&6; }
4644 SET_MAKE
="MAKE=${MAKE-make}"
4657 ac_cpp
='$CPP $CPPFLAGS'
4658 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4659 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4660 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4661 if test -n "$ac_tool_prefix"; then
4662 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4663 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4665 printf %s
"checking for $ac_word... " >&6; }
4666 if test ${ac_cv_prog_CC+y}
4668 printf %s
"(cached) " >&6
4670 if test -n "$CC"; then
4671 ac_cv_prog_CC
="$CC" # Let the user override the test.
4673 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4677 case $as_dir in #(((
4680 *) as_dir
=$as_dir/ ;;
4682 for ac_exec_ext
in '' $ac_executable_extensions; do
4683 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4684 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4685 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4695 if test -n "$CC"; then
4696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4697 printf "%s\n" "$CC" >&6; }
4699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4700 printf "%s\n" "no" >&6; }
4705 if test -z "$ac_cv_prog_CC"; then
4707 # Extract the first word of "gcc", so it can be a program name with args.
4708 set dummy gcc
; ac_word
=$2
4709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4710 printf %s
"checking for $ac_word... " >&6; }
4711 if test ${ac_cv_prog_ac_ct_CC+y}
4713 printf %s
"(cached) " >&6
4715 if test -n "$ac_ct_CC"; then
4716 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4718 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4722 case $as_dir in #(((
4725 *) as_dir
=$as_dir/ ;;
4727 for ac_exec_ext
in '' $ac_executable_extensions; do
4728 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4729 ac_cv_prog_ac_ct_CC
="gcc"
4730 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4739 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4740 if test -n "$ac_ct_CC"; then
4741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4742 printf "%s\n" "$ac_ct_CC" >&6; }
4744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4745 printf "%s\n" "no" >&6; }
4748 if test "x$ac_ct_CC" = x
; then
4751 case $cross_compiling:$ac_tool_warned in
4753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4754 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4755 ac_tool_warned
=yes ;;
4763 if test -z "$CC"; then
4764 if test -n "$ac_tool_prefix"; then
4765 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4766 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4768 printf %s
"checking for $ac_word... " >&6; }
4769 if test ${ac_cv_prog_CC+y}
4771 printf %s
"(cached) " >&6
4773 if test -n "$CC"; then
4774 ac_cv_prog_CC
="$CC" # Let the user override the test.
4776 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4780 case $as_dir in #(((
4783 *) as_dir
=$as_dir/ ;;
4785 for ac_exec_ext
in '' $ac_executable_extensions; do
4786 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4787 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4788 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4798 if test -n "$CC"; then
4799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4800 printf "%s\n" "$CC" >&6; }
4802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4803 printf "%s\n" "no" >&6; }
4809 if test -z "$CC"; then
4810 # Extract the first word of "cc", so it can be a program name with args.
4811 set dummy cc
; ac_word
=$2
4812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4813 printf %s
"checking for $ac_word... " >&6; }
4814 if test ${ac_cv_prog_CC+y}
4816 printf %s
"(cached) " >&6
4818 if test -n "$CC"; then
4819 ac_cv_prog_CC
="$CC" # Let the user override the test.
4822 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4826 case $as_dir in #(((
4829 *) as_dir
=$as_dir/ ;;
4831 for ac_exec_ext
in '' $ac_executable_extensions; do
4832 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4833 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4834 ac_prog_rejected
=yes
4838 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4845 if test $ac_prog_rejected = yes; then
4846 # We found a bogon in the path, so make sure we never use it.
4847 set dummy
$ac_cv_prog_CC
4849 if test $# != 0; then
4850 # We chose a different compiler from the bogus one.
4851 # However, it has the same basename, so the bogon will be chosen
4852 # first if we set CC to just the basename; use the full file name.
4854 ac_cv_prog_CC
="$as_dir$ac_word${1+' '}$@"
4860 if test -n "$CC"; then
4861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4862 printf "%s\n" "$CC" >&6; }
4864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4865 printf "%s\n" "no" >&6; }
4870 if test -z "$CC"; then
4871 if test -n "$ac_tool_prefix"; then
4872 for ac_prog
in cl.exe
4874 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4875 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4877 printf %s
"checking for $ac_word... " >&6; }
4878 if test ${ac_cv_prog_CC+y}
4880 printf %s
"(cached) " >&6
4882 if test -n "$CC"; then
4883 ac_cv_prog_CC
="$CC" # Let the user override the test.
4885 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4889 case $as_dir in #(((
4892 *) as_dir
=$as_dir/ ;;
4894 for ac_exec_ext
in '' $ac_executable_extensions; do
4895 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4896 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4897 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4907 if test -n "$CC"; then
4908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4909 printf "%s\n" "$CC" >&6; }
4911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4912 printf "%s\n" "no" >&6; }
4916 test -n "$CC" && break
4919 if test -z "$CC"; then
4921 for ac_prog
in cl.exe
4923 # Extract the first word of "$ac_prog", so it can be a program name with args.
4924 set dummy
$ac_prog; ac_word
=$2
4925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4926 printf %s
"checking for $ac_word... " >&6; }
4927 if test ${ac_cv_prog_ac_ct_CC+y}
4929 printf %s
"(cached) " >&6
4931 if test -n "$ac_ct_CC"; then
4932 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4934 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4938 case $as_dir in #(((
4941 *) as_dir
=$as_dir/ ;;
4943 for ac_exec_ext
in '' $ac_executable_extensions; do
4944 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4945 ac_cv_prog_ac_ct_CC
="$ac_prog"
4946 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4955 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4956 if test -n "$ac_ct_CC"; then
4957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4958 printf "%s\n" "$ac_ct_CC" >&6; }
4960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4961 printf "%s\n" "no" >&6; }
4965 test -n "$ac_ct_CC" && break
4968 if test "x$ac_ct_CC" = x
; then
4971 case $cross_compiling:$ac_tool_warned in
4973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4974 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4975 ac_tool_warned
=yes ;;
4982 if test -z "$CC"; then
4983 if test -n "$ac_tool_prefix"; then
4984 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4985 set dummy
${ac_tool_prefix}clang
; ac_word
=$2
4986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4987 printf %s
"checking for $ac_word... " >&6; }
4988 if test ${ac_cv_prog_CC+y}
4990 printf %s
"(cached) " >&6
4992 if test -n "$CC"; then
4993 ac_cv_prog_CC
="$CC" # Let the user override the test.
4995 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4999 case $as_dir in #(((
5002 *) as_dir
=$as_dir/ ;;
5004 for ac_exec_ext
in '' $ac_executable_extensions; do
5005 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
5006 ac_cv_prog_CC
="${ac_tool_prefix}clang"
5007 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5017 if test -n "$CC"; then
5018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5019 printf "%s\n" "$CC" >&6; }
5021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5022 printf "%s\n" "no" >&6; }
5027 if test -z "$ac_cv_prog_CC"; then
5029 # Extract the first word of "clang", so it can be a program name with args.
5030 set dummy clang
; ac_word
=$2
5031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5032 printf %s
"checking for $ac_word... " >&6; }
5033 if test ${ac_cv_prog_ac_ct_CC+y}
5035 printf %s
"(cached) " >&6
5037 if test -n "$ac_ct_CC"; then
5038 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5040 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5044 case $as_dir in #(((
5047 *) as_dir
=$as_dir/ ;;
5049 for ac_exec_ext
in '' $ac_executable_extensions; do
5050 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
5051 ac_cv_prog_ac_ct_CC
="clang"
5052 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5061 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5062 if test -n "$ac_ct_CC"; then
5063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5064 printf "%s\n" "$ac_ct_CC" >&6; }
5066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5067 printf "%s\n" "no" >&6; }
5070 if test "x$ac_ct_CC" = x
; then
5073 case $cross_compiling:$ac_tool_warned in
5075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5076 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5077 ac_tool_warned
=yes ;;
5088 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5089 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5090 as_fn_error $?
"no acceptable C compiler found in \$PATH
5091 See \`config.log' for more details" "$LINENO" 5; }
5093 # Provide some information about the compiler.
5094 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5097 for ac_option
in --version -v -V -qversion -version; do
5098 { { ac_try
="$ac_compiler $ac_option >&5"
5100 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5101 *) ac_try_echo=$ac_try;;
5103 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5104 printf "%s\n" "$ac_try_echo"; } >&5
5105 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5107 if test -s conftest.err; then
5109 ... rest of stderr output deleted ...
5110 10q' conftest.err >conftest.er1
5111 cat conftest.er1 >&5
5113 rm -f conftest.er1 conftest.err
5114 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5115 test $ac_status = 0; }
5118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5119 /* end confdefs.h. */
5129 ac_clean_files_save=$ac_clean_files
5130 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5131 # Try to create an executable without -o first, disregard a.out.
5132 # It will help us diagnose broken compilers, and finding out an intuition
5134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5135 printf %s "checking whether the C compiler works... " >&6; }
5136 ac_link_default=`printf "%s\n" "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
5138 # The possible output files:
5139 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5142 for ac_file in $ac_files
5145 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5146 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5151 if { { ac_try="$ac_link_default"
5153 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5154 *) ac_try_echo
=$ac_try;;
5156 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5157 printf "%s\n" "$ac_try_echo"; } >&5
5158 (eval "$ac_link_default") 2>&5
5160 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5161 test $ac_status = 0; }
5163 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5164 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5165 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5166 # so that the user can short-circuit this test for compilers unknown to
5168 for ac_file
in $ac_files ''
5170 test -f "$ac_file" ||
continue
5172 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
5175 # We found the default executable, but exeext='' is most
5179 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no
;
5181 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
5183 # We set ac_cv_exeext here because the later test for it is not
5184 # safe: cross compilers may not add the suffix if given an `-o'
5185 # argument, so we may need to know it at that point already.
5186 # Even if this section looks crufty: it has the advantage of
5193 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
5198 if test -z "$ac_file"
5200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5201 printf "%s\n" "no" >&6; }
5202 printf "%s\n" "$as_me: failed program was:" >&5
5203 sed 's/^/| /' conftest.
$ac_ext >&5
5205 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5206 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5207 as_fn_error
77 "C compiler cannot create executables
5208 See \`config.log' for more details" "$LINENO" 5; }
5210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5211 printf "%s\n" "yes" >&6; }
5213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5214 printf %s
"checking for C compiler default output file name... " >&6; }
5215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5216 printf "%s\n" "$ac_file" >&6; }
5217 ac_exeext
=$ac_cv_exeext
5219 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
5220 ac_clean_files
=$ac_clean_files_save
5221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5222 printf %s
"checking for suffix of executables... " >&6; }
5223 if { { ac_try
="$ac_link"
5225 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5226 *) ac_try_echo=$ac_try;;
5228 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5229 printf "%s\n" "$ac_try_echo"; } >&5
5230 (eval "$ac_link") 2>&5
5232 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5233 test $ac_status = 0; }
5235 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
5236 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
5237 # work properly (i.e., refer to `conftest.exe'), while it won't with
5239 for ac_file
in conftest.exe conftest conftest.
*; do
5240 test -f "$ac_file" ||
continue
5242 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
5243 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
5249 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5250 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5251 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
5252 See \`config.log' for more details" "$LINENO" 5; }
5254 rm -f conftest conftest
$ac_cv_exeext
5255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5256 printf "%s\n" "$ac_cv_exeext" >&6; }
5258 rm -f conftest.
$ac_ext
5259 EXEEXT
=$ac_cv_exeext
5261 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5262 /* end confdefs.h. */
5267 FILE *f = fopen ("conftest.out", "w");
5268 return ferror (f) || fclose (f) != 0;
5274 ac_clean_files
="$ac_clean_files conftest.out"
5275 # Check that the compiler produces executables we can run. If not, either
5276 # the compiler is broken, or we cross compile.
5277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5278 printf %s
"checking whether we are cross compiling... " >&6; }
5279 if test "$cross_compiling" != yes; then
5280 { { ac_try
="$ac_link"
5282 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5283 *) ac_try_echo=$ac_try;;
5285 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5286 printf "%s\n" "$ac_try_echo"; } >&5
5287 (eval "$ac_link") 2>&5
5289 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5290 test $ac_status = 0; }
5291 if { ac_try='./conftest$ac_cv_exeext'
5292 { { case "(($ac_try" in
5293 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5294 *) ac_try_echo
=$ac_try;;
5296 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5297 printf "%s\n" "$ac_try_echo"; } >&5
5298 (eval "$ac_try") 2>&5
5300 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5301 test $ac_status = 0; }; }; then
5304 if test "$cross_compiling" = maybe
; then
5307 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5308 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5309 as_fn_error
77 "cannot run C compiled programs.
5310 If you meant to cross compile, use \`--host'.
5311 See \`config.log' for more details" "$LINENO" 5; }
5315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5316 printf "%s\n" "$cross_compiling" >&6; }
5318 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
5319 ac_clean_files
=$ac_clean_files_save
5320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5321 printf %s
"checking for suffix of object files... " >&6; }
5322 if test ${ac_cv_objext+y}
5324 printf %s
"(cached) " >&6
5326 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5327 /* end confdefs.h. */
5337 rm -f conftest.o conftest.obj
5338 if { { ac_try
="$ac_compile"
5340 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5341 *) ac_try_echo=$ac_try;;
5343 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5344 printf "%s\n" "$ac_try_echo"; } >&5
5345 (eval "$ac_compile") 2>&5
5347 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5348 test $ac_status = 0; }
5350 for ac_file in conftest.o conftest.obj conftest.*; do
5351 test -f "$ac_file" || continue;
5353 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5354 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5359 printf "%s\n" "$as_me: failed program was:" >&5
5360 sed 's/^/| /' conftest.$ac_ext >&5
5362 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5363 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5364 as_fn_error $? "cannot compute suffix of object files
: cannot compile
5365 See \
`config.log' for more details" "$LINENO" 5; }
5367 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5370 printf "%s\n" "$ac_cv_objext" >&6; }
5371 OBJEXT=$ac_cv_objext
5373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5374 printf %s "checking whether the compiler supports GNU C... " >&6; }
5375 if test ${ac_cv_c_compiler_gnu+y}
5377 printf %s "(cached) " >&6
5379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5380 /* end confdefs.h. */
5393 if ac_fn_c_try_compile "$LINENO"
5399 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5400 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5404 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5407 if test $ac_compiler_gnu = yes; then
5412 ac_test_CFLAGS=${CFLAGS+y}
5413 ac_save_CFLAGS=$CFLAGS
5414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5415 printf %s "checking whether $CC accepts -g... " >&6; }
5416 if test ${ac_cv_prog_cc_g+y}
5418 printf %s "(cached) " >&6
5420 ac_save_c_werror_flag=$ac_c_werror_flag
5421 ac_c_werror_flag=yes
5424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5425 /* end confdefs.h. */
5435 if ac_fn_c_try_compile "$LINENO"
5440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5441 /* end confdefs.h. */
5451 if ac_fn_c_try_compile "$LINENO"
5455 ac_c_werror_flag=$ac_save_c_werror_flag
5457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5458 /* end confdefs.h. */
5468 if ac_fn_c_try_compile "$LINENO"
5472 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
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
5477 ac_c_werror_flag=$ac_save_c_werror_flag
5479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5480 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5481 if test $ac_test_CFLAGS; then
5482 CFLAGS=$ac_save_CFLAGS
5483 elif test $ac_cv_prog_cc_g = yes; then
5484 if test "$GCC" = yes; then
5490 if test "$GCC" = yes; then
5497 if test x$ac_prog_cc_stdc = xno
5499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5500 printf %s "checking for $CC option to enable C11 features... " >&6; }
5501 if test ${ac_cv_prog_cc_c11+y}
5503 printf %s "(cached) " >&6
5505 ac_cv_prog_cc_c11=no
5507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5508 /* end confdefs.h. */
5509 $ac_c_conftest_c11_program
5511 for ac_arg in '' -std=gnu11
5513 CC="$ac_save_CC $ac_arg"
5514 if ac_fn_c_try_compile "$LINENO"
5516 ac_cv_prog_cc_c11=$ac_arg
5518 rm -f core conftest.err conftest.$ac_objext conftest.beam
5519 test "x$ac_cv_prog_cc_c11" != "xno" && break
5521 rm -f conftest.$ac_ext
5525 if test "x$ac_cv_prog_cc_c11" = xno
5527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5528 printf "%s\n" "unsupported" >&6; }
5530 if test "x$ac_cv_prog_cc_c11" = x
5532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5533 printf "%s\n" "none needed" >&6; }
5535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5536 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5537 CC="$CC $ac_cv_prog_cc_c11"
5539 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5543 if test x$ac_prog_cc_stdc = xno
5545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5546 printf %s "checking for $CC option to enable C99 features... " >&6; }
5547 if test ${ac_cv_prog_cc_c99+y}
5549 printf %s "(cached) " >&6
5551 ac_cv_prog_cc_c99=no
5553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5554 /* end confdefs.h. */
5555 $ac_c_conftest_c99_program
5557 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5559 CC="$ac_save_CC $ac_arg"
5560 if ac_fn_c_try_compile "$LINENO"
5562 ac_cv_prog_cc_c99=$ac_arg
5564 rm -f core conftest.err conftest.$ac_objext conftest.beam
5565 test "x$ac_cv_prog_cc_c99" != "xno" && break
5567 rm -f conftest.$ac_ext
5571 if test "x$ac_cv_prog_cc_c99" = xno
5573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5574 printf "%s\n" "unsupported" >&6; }
5576 if test "x$ac_cv_prog_cc_c99" = x
5578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5579 printf "%s\n" "none needed" >&6; }
5581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5582 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5583 CC="$CC $ac_cv_prog_cc_c99"
5585 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5589 if test x$ac_prog_cc_stdc = xno
5591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5592 printf %s "checking for $CC option to enable C89 features... " >&6; }
5593 if test ${ac_cv_prog_cc_c89+y}
5595 printf %s "(cached) " >&6
5597 ac_cv_prog_cc_c89=no
5599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5600 /* end confdefs.h. */
5601 $ac_c_conftest_c89_program
5603 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5605 CC="$ac_save_CC $ac_arg"
5606 if ac_fn_c_try_compile "$LINENO"
5608 ac_cv_prog_cc_c89=$ac_arg
5610 rm -f core conftest.err conftest.$ac_objext conftest.beam
5611 test "x$ac_cv_prog_cc_c89" != "xno" && break
5613 rm -f conftest.$ac_ext
5617 if test "x$ac_cv_prog_cc_c89" = xno
5619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5620 printf "%s\n" "unsupported" >&6; }
5622 if test "x$ac_cv_prog_cc_c89" = x
5624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5625 printf "%s\n" "none needed" >&6; }
5627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5628 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5629 CC="$CC $ac_cv_prog_cc_c89"
5631 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5637 ac_cpp='$CPP $CPPFLAGS'
5638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5649 ac_cpp='$CXXCPP $CPPFLAGS'
5650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5653 if test -z "$CXX"; then
5654 if test -n "$CCC"; then
5657 if test -n "$ac_tool_prefix"; then
5658 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5660 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5661 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5663 printf %s "checking for $ac_word... " >&6; }
5664 if test ${ac_cv_prog_CXX+y}
5666 printf %s "(cached) " >&6
5668 if test -n "$CXX"; then
5669 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5675 case $as_dir in #(((
5678 *) as_dir=$as_dir/ ;;
5680 for ac_exec_ext in '' $ac_executable_extensions; do
5681 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5682 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5683 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5693 if test -n "$CXX"; then
5694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5695 printf "%s\n" "$CXX" >&6; }
5697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5698 printf "%s\n" "no" >&6; }
5702 test -n "$CXX" && break
5705 if test -z "$CXX"; then
5707 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5709 # Extract the first word of "$ac_prog", so it can be a program name with args.
5710 set dummy $ac_prog; ac_word=$2
5711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5712 printf %s "checking for $ac_word... " >&6; }
5713 if test ${ac_cv_prog_ac_ct_CXX+y}
5715 printf %s "(cached) " >&6
5717 if test -n "$ac_ct_CXX"; then
5718 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5724 case $as_dir in #(((
5727 *) as_dir=$as_dir/ ;;
5729 for ac_exec_ext in '' $ac_executable_extensions; do
5730 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5731 ac_cv_prog_ac_ct_CXX="$ac_prog"
5732 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5741 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5742 if test -n "$ac_ct_CXX"; then
5743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5744 printf "%s\n" "$ac_ct_CXX" >&6; }
5746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5747 printf "%s\n" "no" >&6; }
5751 test -n "$ac_ct_CXX" && break
5754 if test "x$ac_ct_CXX" = x; then
5757 case $cross_compiling:$ac_tool_warned in
5759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5760 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5761 ac_tool_warned=yes ;;
5769 # Provide some information about the compiler.
5770 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5773 for ac_option in --version -v -V -qversion; do
5774 { { ac_try="$ac_compiler $ac_option >&5"
5776 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5777 *) ac_try_echo
=$ac_try;;
5779 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5780 printf "%s\n" "$ac_try_echo"; } >&5
5781 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5783 if test -s conftest.err
; then
5785 ... rest of stderr output deleted ...
5786 10q' conftest.err
>conftest.er1
5787 cat conftest.er1
>&5
5789 rm -f conftest.er1 conftest.err
5790 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5791 test $ac_status = 0; }
5794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5795 printf %s
"checking whether the compiler supports GNU C++... " >&6; }
5796 if test ${ac_cv_cxx_compiler_gnu+y}
5798 printf %s
"(cached) " >&6
5800 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5801 /* end confdefs.h. */
5814 if ac_fn_cxx_try_compile
"$LINENO"
5820 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5821 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5825 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5826 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5828 if test $ac_compiler_gnu = yes; then
5833 ac_test_CXXFLAGS
=${CXXFLAGS+y}
5834 ac_save_CXXFLAGS
=$CXXFLAGS
5835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5836 printf %s
"checking whether $CXX accepts -g... " >&6; }
5837 if test ${ac_cv_prog_cxx_g+y}
5839 printf %s
"(cached) " >&6
5841 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5842 ac_cxx_werror_flag
=yes
5845 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5846 /* end confdefs.h. */
5856 if ac_fn_cxx_try_compile
"$LINENO"
5858 ac_cv_prog_cxx_g
=yes
5861 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5862 /* end confdefs.h. */
5872 if ac_fn_cxx_try_compile
"$LINENO"
5876 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5878 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5879 /* end confdefs.h. */
5889 if ac_fn_cxx_try_compile
"$LINENO"
5891 ac_cv_prog_cxx_g
=yes
5893 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
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
5898 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5901 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5902 if test $ac_test_CXXFLAGS; then
5903 CXXFLAGS
=$ac_save_CXXFLAGS
5904 elif test $ac_cv_prog_cxx_g = yes; then
5905 if test "$GXX" = yes; then
5911 if test "$GXX" = yes; then
5917 ac_prog_cxx_stdcxx
=no
5918 if test x
$ac_prog_cxx_stdcxx = xno
5920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5921 printf %s
"checking for $CXX option to enable C++11 features... " >&6; }
5922 if test ${ac_cv_prog_cxx_cxx11+y}
5924 printf %s
"(cached) " >&6
5926 ac_cv_prog_cxx_cxx11
=no
5928 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5929 /* end confdefs.h. */
5930 $ac_cxx_conftest_cxx11_program
5932 for ac_arg
in '' -std=gnu
++11 -std=gnu
++0x
-std=c
++11 -std=c
++0x
-qlanglvl=extended0x
-AA
5934 CXX
="$ac_save_CXX $ac_arg"
5935 if ac_fn_cxx_try_compile
"$LINENO"
5937 ac_cv_prog_cxx_cxx11
=$ac_arg
5939 rm -f core conftest.err conftest.
$ac_objext conftest.beam
5940 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5942 rm -f conftest.
$ac_ext
5946 if test "x$ac_cv_prog_cxx_cxx11" = xno
5948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5949 printf "%s\n" "unsupported" >&6; }
5951 if test "x$ac_cv_prog_cxx_cxx11" = x
5953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5954 printf "%s\n" "none needed" >&6; }
5956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5957 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5958 CXX
="$CXX $ac_cv_prog_cxx_cxx11"
5960 ac_cv_prog_cxx_stdcxx
=$ac_cv_prog_cxx_cxx11
5961 ac_prog_cxx_stdcxx
=cxx11
5964 if test x
$ac_prog_cxx_stdcxx = xno
5966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5967 printf %s
"checking for $CXX option to enable C++98 features... " >&6; }
5968 if test ${ac_cv_prog_cxx_cxx98+y}
5970 printf %s
"(cached) " >&6
5972 ac_cv_prog_cxx_cxx98
=no
5974 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5975 /* end confdefs.h. */
5976 $ac_cxx_conftest_cxx98_program
5978 for ac_arg
in '' -std=gnu
++98 -std=c
++98 -qlanglvl=extended
-AA
5980 CXX
="$ac_save_CXX $ac_arg"
5981 if ac_fn_cxx_try_compile
"$LINENO"
5983 ac_cv_prog_cxx_cxx98
=$ac_arg
5985 rm -f core conftest.err conftest.
$ac_objext conftest.beam
5986 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
5988 rm -f conftest.
$ac_ext
5992 if test "x$ac_cv_prog_cxx_cxx98" = xno
5994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5995 printf "%s\n" "unsupported" >&6; }
5997 if test "x$ac_cv_prog_cxx_cxx98" = x
5999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6000 printf "%s\n" "none needed" >&6; }
6002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
6003 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
6004 CXX
="$CXX $ac_cv_prog_cxx_cxx98"
6006 ac_cv_prog_cxx_stdcxx
=$ac_cv_prog_cxx_cxx98
6007 ac_prog_cxx_stdcxx
=cxx98
6012 ac_cpp
='$CPP $CPPFLAGS'
6013 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6014 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6015 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6017 if test -n "$ac_tool_prefix"; then
6018 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
6019 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
6020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6021 printf %s
"checking for $ac_word... " >&6; }
6022 if test ${ac_cv_prog_CPPBIN+y}
6024 printf %s
"(cached) " >&6
6026 if test -n "$CPPBIN"; then
6027 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
6029 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6033 case $as_dir in #(((
6036 *) as_dir
=$as_dir/ ;;
6038 for ac_exec_ext
in '' $ac_executable_extensions; do
6039 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6040 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
6041 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6050 CPPBIN
=$ac_cv_prog_CPPBIN
6051 if test -n "$CPPBIN"; then
6052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6053 printf "%s\n" "$CPPBIN" >&6; }
6055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6056 printf "%s\n" "no" >&6; }
6061 if test -z "$ac_cv_prog_CPPBIN"; then
6062 ac_ct_CPPBIN
=$CPPBIN
6063 # Extract the first word of "cpp", so it can be a program name with args.
6064 set dummy cpp
; ac_word
=$2
6065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6066 printf %s
"checking for $ac_word... " >&6; }
6067 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6069 printf %s
"(cached) " >&6
6071 if test -n "$ac_ct_CPPBIN"; then
6072 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
6074 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6078 case $as_dir in #(((
6081 *) as_dir
=$as_dir/ ;;
6083 for ac_exec_ext
in '' $ac_executable_extensions; do
6084 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6085 ac_cv_prog_ac_ct_CPPBIN
="cpp"
6086 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6095 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
6096 if test -n "$ac_ct_CPPBIN"; then
6097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6098 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6101 printf "%s\n" "no" >&6; }
6104 if test "x$ac_ct_CPPBIN" = x
; then
6107 case $cross_compiling:$ac_tool_warned in
6109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6110 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6111 ac_tool_warned
=yes ;;
6113 CPPBIN
=$ac_ct_CPPBIN
6116 CPPBIN
="$ac_cv_prog_CPPBIN"
6120 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6122 if test -n "$ac_tool_prefix"; then
6123 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6124 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
6125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6126 printf %s
"checking for $ac_word... " >&6; }
6127 if test ${ac_cv_prog_LD+y}
6129 printf %s
"(cached) " >&6
6131 if test -n "$LD"; then
6132 ac_cv_prog_LD
="$LD" # Let the user override the test.
6134 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6138 case $as_dir in #(((
6141 *) as_dir
=$as_dir/ ;;
6143 for ac_exec_ext
in '' $ac_executable_extensions; do
6144 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6145 ac_cv_prog_LD
="${ac_tool_prefix}ld"
6146 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6156 if test -n "$LD"; then
6157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6158 printf "%s\n" "$LD" >&6; }
6160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6161 printf "%s\n" "no" >&6; }
6166 if test -z "$ac_cv_prog_LD"; then
6168 # Extract the first word of "ld", so it can be a program name with args.
6169 set dummy ld
; ac_word
=$2
6170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6171 printf %s
"checking for $ac_word... " >&6; }
6172 if test ${ac_cv_prog_ac_ct_LD+y}
6174 printf %s
"(cached) " >&6
6176 if test -n "$ac_ct_LD"; then
6177 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
6179 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6183 case $as_dir in #(((
6186 *) as_dir
=$as_dir/ ;;
6188 for ac_exec_ext
in '' $ac_executable_extensions; do
6189 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6190 ac_cv_prog_ac_ct_LD
="ld"
6191 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6200 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
6201 if test -n "$ac_ct_LD"; then
6202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6203 printf "%s\n" "$ac_ct_LD" >&6; }
6205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6206 printf "%s\n" "no" >&6; }
6209 if test "x$ac_ct_LD" = x
; then
6212 case $cross_compiling:$ac_tool_warned in
6214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6215 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6216 ac_tool_warned
=yes ;;
6227 with_fontconfig
=${with_fontconfig:-no}
6229 *-mingw32*|
*-cygwin*)
6230 enable_win16
=${enable_win16:-no}
6231 with_mingw
=${with_mingw:-no}
6238 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x
"$enable_archs" = x
6243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6244 printf %s
"checking whether $CC works... " >&6; }
6245 if test ${wine_cv_cc_m32+y}
6247 printf %s
"(cached) " >&6
6249 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6250 /* end confdefs.h. */
6260 if ac_fn_c_try_link
"$LINENO"
6266 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6267 conftest
$ac_exeext conftest.
$ac_ext
6269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6270 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6271 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
6273 notice_platform
="32-bit "
6274 TARGETFLAGS
="$TARGETFLAGS -m32"
6275 PKG_CONFIG_LIBDIR
=${PKG_CONFIG_LIBDIR:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6276 export PKG_CONFIG_LIBDIR
6277 with_unwind
=${with_unwind:-no}
6282 notice_platform
="64-bit "
6283 TARGETFLAGS
="$TARGETFLAGS -m64"
6287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6288 printf %s
"checking whether $CC supports Thumb-2... " >&6; }
6289 if test ${wine_cv_thumb2+y}
6291 printf %s
"(cached) " >&6
6293 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6294 /* end confdefs.h. */
6299 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6304 if ac_fn_c_try_link
"$LINENO"
6310 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6311 conftest
$ac_exeext conftest.
$ac_ext
6313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6314 printf "%s\n" "$wine_cv_thumb2" >&6; }
6315 if test x
"$wine_cv_thumb2" = xyes
6317 CFLAGS
="$CFLAGS -mthumb"
6318 TARGETFLAGS
="$TARGETFLAGS -mthumb"
6320 CFLAGS
="$CFLAGS -marm"
6321 TARGETFLAGS
="$TARGETFLAGS -marm"
6323 case $with_float_abi in
6325 float_abi
=$with_float_abi ;;
6332 saved_CFLAGS
=$CFLAGS
6333 CFLAGS
="$CFLAGS -mfloat-abi=$float_abi"
6334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6335 printf %s
"checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6336 if test ${wine_cv_float_abi+y}
6338 printf %s
"(cached) " >&6
6340 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6341 /* end confdefs.h. */
6346 asm("vmrs r2,fpscr");
6351 if ac_fn_c_try_link
"$LINENO"
6353 wine_cv_float_abi
=yes
6355 wine_cv_float_abi
=no
6357 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6358 conftest
$ac_exeext conftest.
$ac_ext
6360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6361 printf "%s\n" "$wine_cv_float_abi" >&6; }
6362 if test $wine_cv_float_abi = no
6365 as_fn_append wine_warnings
"|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6367 CFLAGS
=$saved_CFLAGS
6371 CFLAGS
="$CFLAGS -mfloat-abi=$float_abi"
6372 TARGETFLAGS
="$TARGETFLAGS -mfloat-abi=$float_abi"
6375 with_unwind
=${with_unwind:-no}
6379 enable_win16
=${enable_win16:-i386}
6380 enable_win64
=${enable_win64:-no}
6381 enable_wow64
=${enable_wow64:-aarch64,x86_64}
6382 enable_wow64win
=${enable_wow64win:-aarch64,x86_64}
6383 enable_wow64cpu
=${enable_wow64cpu:-x86_64}
6385 enable_winetest
=${enable_winetest:-$enable_tests}
6387 if test "x$enable_win64" = "xyes"
6389 test -z "$with_wine64" || as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
6390 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6394 cygwin
*|mingw32
*) toolsext
=".exe"
6402 aarch64
*) HOST_ARCH
=aarch64
;;
6403 arm
*) HOST_ARCH
=arm
;;
6404 i
[3456789]86*) HOST_ARCH
=i386
;;
6405 x86_64
) HOST_ARCH
=x86_64
;;
6409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6410 printf %s
"checking for the directory containing the Wine tools... " >&6; }
6411 if test ${wine_cv_toolsdir+y}
6413 printf %s
"(cached) " >&6
6415 wine_cv_toolsdir
="$with_wine_tools"
6416 if test -z "$with_wine_tools"; then
6417 if test "$cross_compiling" = "yes"; then
6418 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6419 elif test -n "$with_wine64"; then
6420 wine_cv_toolsdir
="$with_wine64"
6424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6425 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6426 if test -z "$wine_cv_toolsdir"; then
6427 wine_makedep
=tools
/makedep
$toolsext
6428 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6429 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
$toolsext
6430 enable_tools
=${enable_tools:-no}
6431 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6433 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6435 toolsdir
=$wine_cv_toolsdir
6437 MAKEDEP
=$wine_makedep
6439 RUNTESTFLAGS
="-q -P wine"
6441 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'"
6444 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6446 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
6451 # Extract the first word of "$ac_prog", so it can be a program name with args.
6452 set dummy
$ac_prog; ac_word
=$2
6453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6454 printf %s
"checking for $ac_word... " >&6; }
6455 if test ${ac_cv_prog_FLEX+y}
6457 printf %s
"(cached) " >&6
6459 if test -n "$FLEX"; then
6460 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
6462 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6466 case $as_dir in #(((
6469 *) as_dir
=$as_dir/ ;;
6471 for ac_exec_ext
in '' $ac_executable_extensions; do
6472 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6473 ac_cv_prog_FLEX
="$ac_prog"
6474 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6483 FLEX
=$ac_cv_prog_FLEX
6484 if test -n "$FLEX"; then
6485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6486 printf "%s\n" "$FLEX" >&6; }
6488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6489 printf "%s\n" "no" >&6; }
6493 test -n "$FLEX" && break
6495 test -n "$FLEX" || FLEX
="none"
6497 if test "$FLEX" = "none"
6499 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6502 printf %s
"checking whether flex is recent enough... " >&6; }
6503 if test ${wine_cv_recent_flex+y}
6505 printf %s
"(cached) " >&6
6507 cat >conftest.l
<<EOF
6509 #include "prediluvian.h"
6513 if $FLEX -t conftest.l
>/dev
/null
2>&5
6515 wine_cv_recent_flex
=yes
6517 wine_cv_recent_flex
=no
6520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6521 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6522 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
6524 for ac_prog
in bison
6526 # Extract the first word of "$ac_prog", so it can be a program name with args.
6527 set dummy
$ac_prog; ac_word
=$2
6528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6529 printf %s
"checking for $ac_word... " >&6; }
6530 if test ${ac_cv_prog_BISON+y}
6532 printf %s
"(cached) " >&6
6534 if test -n "$BISON"; then
6535 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
6537 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6541 case $as_dir in #(((
6544 *) as_dir
=$as_dir/ ;;
6546 for ac_exec_ext
in '' $ac_executable_extensions; do
6547 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6548 ac_cv_prog_BISON
="$ac_prog"
6549 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6558 BISON
=$ac_cv_prog_BISON
6559 if test -n "$BISON"; then
6560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6561 printf "%s\n" "$BISON" >&6; }
6563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6564 printf "%s\n" "no" >&6; }
6568 test -n "$BISON" && break
6570 test -n "$BISON" || BISON
="none"
6572 if test "$BISON" = "none"
6574 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6577 printf %s
"checking whether bison is recent enough... " >&6; }
6578 if test ${wine_cv_recent_bison+y}
6580 printf %s
"(cached) " >&6
6582 cat >conftest.y
<<EOF
6583 %define parse.error verbose
6587 if $BISON conftest.y
>/dev
/null
2>&5
6589 wine_cv_recent_bison
=yes
6591 wine_cv_recent_bison
=no
6594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6595 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6596 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
6598 if test -n "$ac_tool_prefix"; then
6599 for ac_prog
in ar gar
6601 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6602 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6604 printf %s
"checking for $ac_word... " >&6; }
6605 if test ${ac_cv_prog_AR+y}
6607 printf %s
"(cached) " >&6
6609 if test -n "$AR"; then
6610 ac_cv_prog_AR
="$AR" # Let the user override the test.
6612 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6616 case $as_dir in #(((
6619 *) as_dir
=$as_dir/ ;;
6621 for ac_exec_ext
in '' $ac_executable_extensions; do
6622 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6623 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
6624 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6634 if test -n "$AR"; then
6635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6636 printf "%s\n" "$AR" >&6; }
6638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6639 printf "%s\n" "no" >&6; }
6643 test -n "$AR" && break
6646 if test -z "$AR"; then
6648 for ac_prog
in ar gar
6650 # Extract the first word of "$ac_prog", so it can be a program name with args.
6651 set dummy
$ac_prog; ac_word
=$2
6652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6653 printf %s
"checking for $ac_word... " >&6; }
6654 if test ${ac_cv_prog_ac_ct_AR+y}
6656 printf %s
"(cached) " >&6
6658 if test -n "$ac_ct_AR"; then
6659 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6661 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6665 case $as_dir in #(((
6668 *) as_dir
=$as_dir/ ;;
6670 for ac_exec_ext
in '' $ac_executable_extensions; do
6671 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6672 ac_cv_prog_ac_ct_AR
="$ac_prog"
6673 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6682 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6683 if test -n "$ac_ct_AR"; then
6684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6685 printf "%s\n" "$ac_ct_AR" >&6; }
6687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6688 printf "%s\n" "no" >&6; }
6692 test -n "$ac_ct_AR" && break
6695 if test "x$ac_ct_AR" = x
; then
6698 case $cross_compiling:$ac_tool_warned in
6700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6701 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6702 ac_tool_warned
=yes ;;
6708 if test -n "$ac_tool_prefix"; then
6709 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6710 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6712 printf %s
"checking for $ac_word... " >&6; }
6713 if test ${ac_cv_prog_STRIP+y}
6715 printf %s
"(cached) " >&6
6717 if test -n "$STRIP"; then
6718 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6720 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6724 case $as_dir in #(((
6727 *) as_dir
=$as_dir/ ;;
6729 for ac_exec_ext
in '' $ac_executable_extensions; do
6730 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6731 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6732 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6741 STRIP
=$ac_cv_prog_STRIP
6742 if test -n "$STRIP"; then
6743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6744 printf "%s\n" "$STRIP" >&6; }
6746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6747 printf "%s\n" "no" >&6; }
6752 if test -z "$ac_cv_prog_STRIP"; then
6754 # Extract the first word of "strip", so it can be a program name with args.
6755 set dummy strip
; ac_word
=$2
6756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6757 printf %s
"checking for $ac_word... " >&6; }
6758 if test ${ac_cv_prog_ac_ct_STRIP+y}
6760 printf %s
"(cached) " >&6
6762 if test -n "$ac_ct_STRIP"; then
6763 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6765 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6769 case $as_dir in #(((
6772 *) as_dir
=$as_dir/ ;;
6774 for ac_exec_ext
in '' $ac_executable_extensions; do
6775 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6776 ac_cv_prog_ac_ct_STRIP
="strip"
6777 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6786 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6787 if test -n "$ac_ct_STRIP"; then
6788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6789 printf "%s\n" "$ac_ct_STRIP" >&6; }
6791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6792 printf "%s\n" "no" >&6; }
6795 if test "x$ac_ct_STRIP" = x
; then
6798 case $cross_compiling:$ac_tool_warned in
6800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6801 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6802 ac_tool_warned
=yes ;;
6807 STRIP
="$ac_cv_prog_STRIP"
6810 if test -n "$ac_tool_prefix"; then
6811 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6812 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6814 printf %s
"checking for $ac_word... " >&6; }
6815 if test ${ac_cv_prog_RANLIB+y}
6817 printf %s
"(cached) " >&6
6819 if test -n "$RANLIB"; then
6820 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6822 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6826 case $as_dir in #(((
6829 *) as_dir
=$as_dir/ ;;
6831 for ac_exec_ext
in '' $ac_executable_extensions; do
6832 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6833 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6834 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6843 RANLIB
=$ac_cv_prog_RANLIB
6844 if test -n "$RANLIB"; then
6845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6846 printf "%s\n" "$RANLIB" >&6; }
6848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6849 printf "%s\n" "no" >&6; }
6854 if test -z "$ac_cv_prog_RANLIB"; then
6855 ac_ct_RANLIB
=$RANLIB
6856 # Extract the first word of "ranlib", so it can be a program name with args.
6857 set dummy ranlib
; ac_word
=$2
6858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6859 printf %s
"checking for $ac_word... " >&6; }
6860 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6862 printf %s
"(cached) " >&6
6864 if test -n "$ac_ct_RANLIB"; then
6865 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6867 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6871 case $as_dir in #(((
6874 *) as_dir
=$as_dir/ ;;
6876 for ac_exec_ext
in '' $ac_executable_extensions; do
6877 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6878 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6879 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6888 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6889 if test -n "$ac_ct_RANLIB"; then
6890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6891 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6894 printf "%s\n" "no" >&6; }
6897 if test "x$ac_ct_RANLIB" = x
; then
6900 case $cross_compiling:$ac_tool_warned in
6902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6903 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6904 ac_tool_warned
=yes ;;
6906 RANLIB
=$ac_ct_RANLIB
6909 RANLIB
="$ac_cv_prog_RANLIB"
6912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6913 printf %s
"checking whether ln -s works... " >&6; }
6915 if test "$LN_S" = "ln -s"; then
6916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6917 printf "%s\n" "yes" >&6; }
6919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6920 printf "%s\n" "no, using $LN_S" >&6; }
6923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6924 printf %s
"checking for grep that handles long lines and -e... " >&6; }
6925 if test ${ac_cv_path_GREP+y}
6927 printf %s
"(cached) " >&6
6929 if test -z "$GREP"; then
6930 ac_path_GREP_found
=false
6931 # Loop through the user's path and test for each of PROGNAME-LIST
6932 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6933 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6936 case $as_dir in #(((
6939 *) as_dir
=$as_dir/ ;;
6941 for ac_prog
in grep ggrep
6943 for ac_exec_ext
in '' $ac_executable_extensions; do
6944 ac_path_GREP
="$as_dir$ac_prog$ac_exec_ext"
6945 as_fn_executable_p
"$ac_path_GREP" ||
continue
6946 # Check for GNU ac_path_GREP and select it if it is found.
6947 # Check for GNU $ac_path_GREP
6948 case `"$ac_path_GREP" --version 2>&1` in
6950 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6953 printf %s
0123456789 >"conftest.in"
6956 cat "conftest.in" "conftest.in" >"conftest.tmp"
6957 mv "conftest.tmp" "conftest.in"
6958 cp "conftest.in" "conftest.nl"
6959 printf "%s\n" 'GREP' >> "conftest.nl"
6960 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6961 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6962 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6963 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6964 # Best one so far, save it but keep looking for a better one
6965 ac_cv_path_GREP
="$ac_path_GREP"
6966 ac_path_GREP_max
=$ac_count
6968 # 10*(2^10) chars as input seems more than enough
6969 test $ac_count -gt 10 && break
6971 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6974 $ac_path_GREP_found && break 3
6979 if test -z "$ac_cv_path_GREP"; then
6980 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6983 ac_cv_path_GREP
=$GREP
6987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6988 printf "%s\n" "$ac_cv_path_GREP" >&6; }
6989 GREP
="$ac_cv_path_GREP"
6992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6993 printf %s
"checking for egrep... " >&6; }
6994 if test ${ac_cv_path_EGREP+y}
6996 printf %s
"(cached) " >&6
6998 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6999 then ac_cv_path_EGREP
="$GREP -E"
7001 if test -z "$EGREP"; then
7002 ac_path_EGREP_found
=false
7003 # Loop through the user's path and test for each of PROGNAME-LIST
7004 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7005 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7008 case $as_dir in #(((
7011 *) as_dir
=$as_dir/ ;;
7013 for ac_prog
in egrep
7015 for ac_exec_ext
in '' $ac_executable_extensions; do
7016 ac_path_EGREP
="$as_dir$ac_prog$ac_exec_ext"
7017 as_fn_executable_p
"$ac_path_EGREP" ||
continue
7018 # Check for GNU ac_path_EGREP and select it if it is found.
7019 # Check for GNU $ac_path_EGREP
7020 case `"$ac_path_EGREP" --version 2>&1` in
7022 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
7025 printf %s
0123456789 >"conftest.in"
7028 cat "conftest.in" "conftest.in" >"conftest.tmp"
7029 mv "conftest.tmp" "conftest.in"
7030 cp "conftest.in" "conftest.nl"
7031 printf "%s\n" 'EGREP' >> "conftest.nl"
7032 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7033 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7034 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7035 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7036 # Best one so far, save it but keep looking for a better one
7037 ac_cv_path_EGREP
="$ac_path_EGREP"
7038 ac_path_EGREP_max
=$ac_count
7040 # 10*(2^10) chars as input seems more than enough
7041 test $ac_count -gt 10 && break
7043 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7046 $ac_path_EGREP_found && break 3
7051 if test -z "$ac_cv_path_EGREP"; then
7052 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7055 ac_cv_path_EGREP
=$EGREP
7060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7061 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7062 EGREP
="$ac_cv_path_EGREP"
7065 # Extract the first word of "ldconfig", so it can be a program name with args.
7066 set dummy ldconfig
; ac_word
=$2
7067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7068 printf %s
"checking for $ac_word... " >&6; }
7069 if test ${ac_cv_path_LDCONFIG+y}
7071 printf %s
"(cached) " >&6
7075 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
7078 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7079 for as_dir
in /sbin
/usr
/sbin
$PATH
7082 case $as_dir in #(((
7085 *) as_dir
=$as_dir/ ;;
7087 for ac_exec_ext
in '' $ac_executable_extensions; do
7088 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7089 ac_cv_path_LDCONFIG
="$as_dir$ac_word$ac_exec_ext"
7090 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7097 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
7101 LDCONFIG
=$ac_cv_path_LDCONFIG
7102 if test -n "$LDCONFIG"; then
7103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7104 printf "%s\n" "$LDCONFIG" >&6; }
7106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7107 printf "%s\n" "no" >&6; }
7111 for ac_prog
in msgfmt
7113 # Extract the first word of "$ac_prog", so it can be a program name with args.
7114 set dummy
$ac_prog; ac_word
=$2
7115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7116 printf %s
"checking for $ac_word... " >&6; }
7117 if test ${ac_cv_prog_MSGFMT+y}
7119 printf %s
"(cached) " >&6
7121 if test -n "$MSGFMT"; then
7122 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
7124 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7128 case $as_dir in #(((
7131 *) as_dir
=$as_dir/ ;;
7133 for ac_exec_ext
in '' $ac_executable_extensions; do
7134 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7135 ac_cv_prog_MSGFMT
="$ac_prog"
7136 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7145 MSGFMT
=$ac_cv_prog_MSGFMT
7146 if test -n "$MSGFMT"; then
7147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7148 printf "%s\n" "$MSGFMT" >&6; }
7150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7151 printf "%s\n" "no" >&6; }
7155 test -n "$MSGFMT" && break
7157 test -n "$MSGFMT" || MSGFMT
="false"
7159 if test ${ac_tool_prefix+y}
7161 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7162 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
7163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7164 printf %s
"checking for $ac_word... " >&6; }
7165 if test ${ac_cv_prog_PKG_CONFIG+y}
7167 printf %s
"(cached) " >&6
7169 if test -n "$PKG_CONFIG"; then
7170 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
7172 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7176 case $as_dir in #(((
7179 *) as_dir
=$as_dir/ ;;
7181 for ac_exec_ext
in '' $ac_executable_extensions; do
7182 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7183 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
7184 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7193 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7194 if test -n "$PKG_CONFIG"; then
7195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7196 printf "%s\n" "$PKG_CONFIG" >&6; }
7198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7199 printf "%s\n" "no" >&6; }
7204 if ${ac_cv_prog_PKG_CONFIG:+false} :
7206 if test "x$cross_compiling" = xyes
7210 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
7211 # Extract the first word of "pkg-config", so it can be a program name with args.
7212 set dummy pkg-config
; ac_word
=$2
7213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7214 printf %s
"checking for $ac_word... " >&6; }
7215 if test ${ac_cv_prog_PKG_CONFIG+y}
7217 printf %s
"(cached) " >&6
7219 if test -n "$PKG_CONFIG"; then
7220 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
7222 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7226 case $as_dir in #(((
7229 *) as_dir
=$as_dir/ ;;
7231 for ac_exec_ext
in '' $ac_executable_extensions; do
7232 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7233 ac_cv_prog_PKG_CONFIG
="pkg-config"
7234 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7243 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7244 if test -n "$PKG_CONFIG"; then
7245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7246 printf "%s\n" "$PKG_CONFIG" >&6; }
7248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7249 printf "%s\n" "no" >&6; }
7255 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7258 if test "x$enable_maintainer_mode" != "xyes"
7265 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
7266 for ac_prog
in fontforge
7268 # Extract the first word of "$ac_prog", so it can be a program name with args.
7269 set dummy
$ac_prog; ac_word
=$2
7270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7271 printf %s
"checking for $ac_word... " >&6; }
7272 if test ${ac_cv_prog_FONTFORGE+y}
7274 printf %s
"(cached) " >&6
7276 if test -n "$FONTFORGE"; then
7277 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
7279 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7283 case $as_dir in #(((
7286 *) as_dir
=$as_dir/ ;;
7288 for ac_exec_ext
in '' $ac_executable_extensions; do
7289 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7290 ac_cv_prog_FONTFORGE
="$ac_prog"
7291 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7300 FONTFORGE
=$ac_cv_prog_FONTFORGE
7301 if test -n "$FONTFORGE"; then
7302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7303 printf "%s\n" "$FONTFORGE" >&6; }
7305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7306 printf "%s\n" "no" >&6; }
7310 test -n "$FONTFORGE" && break
7312 test -n "$FONTFORGE" || FONTFORGE
="false"
7314 for ac_prog
in rsvg-convert rsvg
7316 # Extract the first word of "$ac_prog", so it can be a program name with args.
7317 set dummy
$ac_prog; ac_word
=$2
7318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7319 printf %s
"checking for $ac_word... " >&6; }
7320 if test ${ac_cv_prog_RSVG+y}
7322 printf %s
"(cached) " >&6
7324 if test -n "$RSVG"; then
7325 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
7327 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7331 case $as_dir in #(((
7334 *) as_dir
=$as_dir/ ;;
7336 for ac_exec_ext
in '' $ac_executable_extensions; do
7337 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7338 ac_cv_prog_RSVG
="$ac_prog"
7339 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7348 RSVG
=$ac_cv_prog_RSVG
7349 if test -n "$RSVG"; then
7350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7351 printf "%s\n" "$RSVG" >&6; }
7353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7354 printf "%s\n" "no" >&6; }
7358 test -n "$RSVG" && break
7360 test -n "$RSVG" || RSVG
="false"
7362 for ac_prog
in convert
7364 # Extract the first word of "$ac_prog", so it can be a program name with args.
7365 set dummy
$ac_prog; ac_word
=$2
7366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7367 printf %s
"checking for $ac_word... " >&6; }
7368 if test ${ac_cv_prog_CONVERT+y}
7370 printf %s
"(cached) " >&6
7372 if test -n "$CONVERT"; then
7373 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
7375 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7379 case $as_dir in #(((
7382 *) as_dir
=$as_dir/ ;;
7384 for ac_exec_ext
in '' $ac_executable_extensions; do
7385 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7386 ac_cv_prog_CONVERT
="$ac_prog"
7387 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7396 CONVERT
=$ac_cv_prog_CONVERT
7397 if test -n "$CONVERT"; then
7398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7399 printf "%s\n" "$CONVERT" >&6; }
7401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7402 printf "%s\n" "no" >&6; }
7406 test -n "$CONVERT" && break
7408 test -n "$CONVERT" || CONVERT
="false"
7410 for ac_prog
in icotool
7412 # Extract the first word of "$ac_prog", so it can be a program name with args.
7413 set dummy
$ac_prog; ac_word
=$2
7414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7415 printf %s
"checking for $ac_word... " >&6; }
7416 if test ${ac_cv_prog_ICOTOOL+y}
7418 printf %s
"(cached) " >&6
7420 if test -n "$ICOTOOL"; then
7421 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
7423 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7427 case $as_dir in #(((
7430 *) as_dir
=$as_dir/ ;;
7432 for ac_exec_ext
in '' $ac_executable_extensions; do
7433 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7434 ac_cv_prog_ICOTOOL
="$ac_prog"
7435 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7444 ICOTOOL
=$ac_cv_prog_ICOTOOL
7445 if test -n "$ICOTOOL"; then
7446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7447 printf "%s\n" "$ICOTOOL" >&6; }
7449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7450 printf "%s\n" "no" >&6; }
7454 test -n "$ICOTOOL" && break
7456 test -n "$ICOTOOL" || ICOTOOL
="false"
7458 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7459 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7461 if test "$CONVERT" = false
7463 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7466 printf %s
"checking for recent enough imagemagick... " >&6; }
7467 convert_version
=`convert --version | head -n1`
7468 if test "x$convert_version" != "x"
7470 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7471 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7472 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7477 if test "$CONVERT" = false
7479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7480 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7481 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7484 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7488 if test "$ICOTOOL" = false
7490 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7493 printf %s
"checking for recent enough icotool... " >&6; }
7494 icotool_version
=`icotool --version | head -n1`
7495 if test "x$icotool_version" != "x"
7497 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7498 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7499 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7502 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
7505 if test "$ICOTOOL" = false
7507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7508 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7509 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7512 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7522 test "x$with_gettext" != xno || MSGFMT
=false
7523 if test "$MSGFMT" != "false"
7525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7526 printf %s
"checking whether msgfmt supports contexts... " >&6; }
7527 if test ${wine_cv_msgfmt_contexts+y}
7529 printf %s
"(cached) " >&6
7531 cat >conftest.po
<<EOF
7537 if $MSGFMT -o /dev
/null conftest.po
2>&5
7539 wine_cv_msgfmt_contexts
=yes
7541 wine_cv_msgfmt_contexts
=no
7544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7545 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7546 test $wine_cv_msgfmt_contexts != no || MSGFMT
=false
7548 if test "$MSGFMT" = false
7550 case "x$with_gettext" in
7551 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
7553 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
7554 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7556 enable_po
=${enable_po:-no}
7560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7561 printf %s
"checking for i386_set_ldt in -li386... " >&6; }
7562 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7564 printf %s
"(cached) " >&6
7566 ac_check_lib_save_LIBS
=$LIBS
7568 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7569 /* end confdefs.h. */
7571 /* Override any GCC internal prototype to avoid an error.
7572 Use char because int might match the return type of a GCC
7573 builtin and then its argument prototype would still apply. */
7574 char i386_set_ldt ();
7578 return i386_set_ldt ();
7583 if ac_fn_c_try_link
"$LINENO"
7585 ac_cv_lib_i386_i386_set_ldt
=yes
7587 ac_cv_lib_i386_i386_set_ldt
=no
7589 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
7590 conftest
$ac_exeext conftest.
$ac_ext
7591 LIBS
=$ac_check_lib_save_LIBS
7593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7594 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7595 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7606 # Check whether --enable-largefile was given.
7607 if test ${enable_largefile+y}
7609 enableval
=$enable_largefile;
7612 if test "$enable_largefile" != no
; then
7614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7615 printf %s
"checking for special C compiler options needed for large files... " >&6; }
7616 if test ${ac_cv_sys_largefile_CC+y}
7618 printf %s
"(cached) " >&6
7620 ac_cv_sys_largefile_CC
=no
7621 if test "$GCC" != yes; then
7624 # IRIX 6.2 and later do not support large files by default,
7625 # so use the C compiler's -n32 option if that helps.
7626 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7627 /* end confdefs.h. */
7628 #include <sys/types.h>
7629 /* Check that off_t can represent 2**63 - 1 correctly.
7630 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7631 since some C++ compilers masquerading as C compilers
7632 incorrectly reject 9223372036854775807. */
7633 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7634 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7635 && LARGE_OFF_T % 2147483647 == 1)
7645 if ac_fn_c_try_compile
"$LINENO"
7649 rm -f core conftest.err conftest.
$ac_objext conftest.beam
7651 if ac_fn_c_try_compile
"$LINENO"
7653 ac_cv_sys_largefile_CC
=' -n32'; break
7655 rm -f core conftest.err conftest.
$ac_objext conftest.beam
7659 rm -f conftest.
$ac_ext
7662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7663 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7664 if test "$ac_cv_sys_largefile_CC" != no
; then
7665 CC
=$CC$ac_cv_sys_largefile_CC
7668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7669 printf %s
"checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7670 if test ${ac_cv_sys_file_offset_bits+y}
7672 printf %s
"(cached) " >&6
7675 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7676 /* end confdefs.h. */
7677 #include <sys/types.h>
7678 /* Check that off_t can represent 2**63 - 1 correctly.
7679 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7680 since some C++ compilers masquerading as C compilers
7681 incorrectly reject 9223372036854775807. */
7682 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7683 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7684 && LARGE_OFF_T % 2147483647 == 1)
7694 if ac_fn_c_try_compile
"$LINENO"
7696 ac_cv_sys_file_offset_bits
=no
; break
7698 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7699 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7700 /* end confdefs.h. */
7701 #define _FILE_OFFSET_BITS 64
7702 #include <sys/types.h>
7703 /* Check that off_t can represent 2**63 - 1 correctly.
7704 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7705 since some C++ compilers masquerading as C compilers
7706 incorrectly reject 9223372036854775807. */
7707 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7708 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7709 && LARGE_OFF_T % 2147483647 == 1)
7719 if ac_fn_c_try_compile
"$LINENO"
7721 ac_cv_sys_file_offset_bits
=64; break
7723 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7724 ac_cv_sys_file_offset_bits
=unknown
7728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7729 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7730 case $ac_cv_sys_file_offset_bits in #(
7733 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7737 if test $ac_cv_sys_file_offset_bits = unknown
; then
7738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7739 printf %s
"checking for _LARGE_FILES value needed for large files... " >&6; }
7740 if test ${ac_cv_sys_large_files+y}
7742 printf %s
"(cached) " >&6
7745 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7746 /* end confdefs.h. */
7747 #include <sys/types.h>
7748 /* Check that off_t can represent 2**63 - 1 correctly.
7749 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7750 since some C++ compilers masquerading as C compilers
7751 incorrectly reject 9223372036854775807. */
7752 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7753 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7754 && LARGE_OFF_T % 2147483647 == 1)
7764 if ac_fn_c_try_compile
"$LINENO"
7766 ac_cv_sys_large_files
=no
; break
7768 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7769 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7770 /* end confdefs.h. */
7771 #define _LARGE_FILES 1
7772 #include <sys/types.h>
7773 /* Check that off_t can represent 2**63 - 1 correctly.
7774 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7775 since some C++ compilers masquerading as C compilers
7776 incorrectly reject 9223372036854775807. */
7777 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7778 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7779 && LARGE_OFF_T % 2147483647 == 1)
7789 if ac_fn_c_try_compile
"$LINENO"
7791 ac_cv_sys_large_files
=1; break
7793 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7794 ac_cv_sys_large_files
=unknown
7798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7799 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7800 case $ac_cv_sys_large_files in #(
7803 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7811 ac_header
= ac_cache
=
7812 for ac_item
in $ac_header_c_list
7814 if test $ac_cache; then
7815 ac_fn_c_check_header_compile
"$LINENO" $ac_header ac_cv_header_
$ac_cache "$ac_includes_default"
7816 if eval test \"x\
$ac_cv_header_$ac_cache\" = xyes
; then
7817 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7819 ac_header
= ac_cache
=
7820 elif test $ac_header; then
7834 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7837 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7840 ac_fn_c_check_header_compile
"$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7841 if test "x$ac_cv_header_CL_cl_h" = xyes
7843 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7846 ac_fn_c_check_header_compile
"$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7847 if test "x$ac_cv_header_EGL_egl_h" = xyes
7849 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7852 ac_fn_c_check_header_compile
"$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7853 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7855 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7858 ac_fn_c_check_header_compile
"$LINENO" "PCSC/pcsclite.h" "ac_cv_header_PCSC_pcsclite_h" "$ac_includes_default"
7859 if test "x$ac_cv_header_PCSC_pcsclite_h" = xyes
7861 printf "%s\n" "#define HAVE_PCSC_PCSCLITE_H 1" >>confdefs.h
7864 ac_fn_c_check_header_compile
"$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7865 if test "x$ac_cv_header_arpa_inet_h" = xyes
7867 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7870 ac_fn_c_check_header_compile
"$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7871 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7873 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7876 ac_fn_c_check_header_compile
"$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7877 if test "x$ac_cv_header_asm_types_h" = xyes
7879 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7882 ac_fn_c_check_header_compile
"$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7883 if test "x$ac_cv_header_asm_user_h" = xyes
7885 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7888 ac_fn_c_check_header_compile
"$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7889 if test "x$ac_cv_header_elf_h" = xyes
7891 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7894 ac_fn_c_check_header_compile
"$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7895 if test "x$ac_cv_header_float_h" = xyes
7897 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7900 ac_fn_c_check_header_compile
"$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7901 if test "x$ac_cv_header_gettext_po_h" = xyes
7903 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7906 ac_fn_c_check_header_compile
"$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7907 if test "x$ac_cv_header_libproc_h" = xyes
7909 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7912 ac_fn_c_check_header_compile
"$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7913 if test "x$ac_cv_header_link_h" = xyes
7915 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7918 ac_fn_c_check_header_compile
"$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7919 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7921 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7924 ac_fn_c_check_header_compile
"$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7925 if test "x$ac_cv_header_linux_filter_h" = xyes
7927 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7930 ac_fn_c_check_header_compile
"$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7931 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7933 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7936 ac_fn_c_check_header_compile
"$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7937 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7939 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7942 ac_fn_c_check_header_compile
"$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7943 if test "x$ac_cv_header_linux_input_h" = xyes
7945 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7948 ac_fn_c_check_header_compile
"$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7949 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7951 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7954 ac_fn_c_check_header_compile
"$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7955 if test "x$ac_cv_header_linux_major_h" = xyes
7957 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7960 ac_fn_c_check_header_compile
"$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7961 if test "x$ac_cv_header_linux_param_h" = xyes
7963 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
7966 ac_fn_c_check_header_compile
"$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
7967 if test "x$ac_cv_header_linux_serial_h" = xyes
7969 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
7972 ac_fn_c_check_header_compile
"$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
7973 if test "x$ac_cv_header_linux_types_h" = xyes
7975 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
7978 ac_fn_c_check_header_compile
"$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
7979 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
7981 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
7984 ac_fn_c_check_header_compile
"$LINENO" "linux/wireless.h" "ac_cv_header_linux_wireless_h" "$ac_includes_default"
7985 if test "x$ac_cv_header_linux_wireless_h" = xyes
7987 printf "%s\n" "#define HAVE_LINUX_WIRELESS_H 1" >>confdefs.h
7990 ac_fn_c_check_header_compile
"$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
7991 if test "x$ac_cv_header_lwp_h" = xyes
7993 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
7996 ac_fn_c_check_header_compile
"$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
7997 if test "x$ac_cv_header_mach_o_loader_h" = xyes
7999 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8002 ac_fn_c_check_header_compile
"$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8003 if test "x$ac_cv_header_mach_mach_h" = xyes
8005 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8008 ac_fn_c_check_header_compile
"$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8009 if test "x$ac_cv_header_machine_cpu_h" = xyes
8011 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8014 ac_fn_c_check_header_compile
"$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8015 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8017 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8020 ac_fn_c_check_header_compile
"$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8021 if test "x$ac_cv_header_mntent_h" = xyes
8023 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8026 ac_fn_c_check_header_compile
"$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8027 if test "x$ac_cv_header_netdb_h" = xyes
8029 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8032 ac_fn_c_check_header_compile
"$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8033 if test "x$ac_cv_header_netinet_in_h" = xyes
8035 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8038 ac_fn_c_check_header_compile
"$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8039 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8041 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8044 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8045 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8047 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8050 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8051 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8053 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8056 ac_fn_c_check_header_compile
"$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8057 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8059 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8062 ac_fn_c_check_header_compile
"$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8063 if test "x$ac_cv_header_port_h" = xyes
8065 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8068 ac_fn_c_check_header_compile
"$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8069 if test "x$ac_cv_header_pthread_h" = xyes
8071 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8074 ac_fn_c_check_header_compile
"$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8075 if test "x$ac_cv_header_pwd_h" = xyes
8077 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8080 ac_fn_c_check_header_compile
"$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8081 if test "x$ac_cv_header_sched_h" = xyes
8083 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8086 ac_fn_c_check_header_compile
"$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8087 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8089 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8092 ac_fn_c_check_header_compile
"$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8093 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8095 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8098 ac_fn_c_check_header_compile
"$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8099 if test "x$ac_cv_header_scsi_sg_h" = xyes
8101 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8104 ac_fn_c_check_header_compile
"$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8105 if test "x$ac_cv_header_stdint_h" = xyes
8107 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8110 ac_fn_c_check_header_compile
"$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8111 if test "x$ac_cv_header_sys_attr_h" = xyes
8113 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8116 ac_fn_c_check_header_compile
"$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8117 if test "x$ac_cv_header_sys_auxv_h" = xyes
8119 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8122 ac_fn_c_check_header_compile
"$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8123 if test "x$ac_cv_header_sys_cdio_h" = xyes
8125 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8128 ac_fn_c_check_header_compile
"$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8129 if test "x$ac_cv_header_sys_epoll_h" = xyes
8131 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8134 ac_fn_c_check_header_compile
"$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8135 if test "x$ac_cv_header_sys_event_h" = xyes
8137 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8140 ac_fn_c_check_header_compile
"$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
8141 if test "x$ac_cv_header_sys_extattr_h" = xyes
8143 printf "%s\n" "#define HAVE_SYS_EXTATTR_H 1" >>confdefs.h
8146 ac_fn_c_check_header_compile
"$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8147 if test "x$ac_cv_header_sys_filio_h" = xyes
8149 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8152 ac_fn_c_check_header_compile
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8153 if test "x$ac_cv_header_sys_ipc_h" = xyes
8155 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8158 ac_fn_c_check_header_compile
"$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8159 if test "x$ac_cv_header_sys_link_h" = xyes
8161 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8164 ac_fn_c_check_header_compile
"$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8165 if test "x$ac_cv_header_sys_modem_h" = xyes
8167 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8170 ac_fn_c_check_header_compile
"$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8171 if test "x$ac_cv_header_sys_mtio_h" = xyes
8173 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8176 ac_fn_c_check_header_compile
"$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8177 if test "x$ac_cv_header_sys_param_h" = xyes
8179 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8182 ac_fn_c_check_header_compile
"$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8183 if test "x$ac_cv_header_sys_prctl_h" = xyes
8185 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8188 ac_fn_c_check_header_compile
"$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8189 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8191 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8194 ac_fn_c_check_header_compile
"$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8195 if test "x$ac_cv_header_sys_queue_h" = xyes
8197 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8200 ac_fn_c_check_header_compile
"$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8201 if test "x$ac_cv_header_sys_random_h" = xyes
8203 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8206 ac_fn_c_check_header_compile
"$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8207 if test "x$ac_cv_header_sys_resource_h" = xyes
8209 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8212 ac_fn_c_check_header_compile
"$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8213 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8215 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8218 ac_fn_c_check_header_compile
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8219 if test "x$ac_cv_header_sys_shm_h" = xyes
8221 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8224 ac_fn_c_check_header_compile
"$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8225 if test "x$ac_cv_header_sys_signal_h" = xyes
8227 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8230 ac_fn_c_check_header_compile
"$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8231 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8233 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8236 ac_fn_c_check_header_compile
"$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8237 if test "x$ac_cv_header_sys_sockio_h" = xyes
8239 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8242 ac_fn_c_check_header_compile
"$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8243 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8245 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8248 ac_fn_c_check_header_compile
"$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8249 if test "x$ac_cv_header_sys_strtio_h" = xyes
8251 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8254 ac_fn_c_check_header_compile
"$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8255 if test "x$ac_cv_header_sys_syscall_h" = xyes
8257 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8260 ac_fn_c_check_header_compile
"$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8261 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8263 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8266 ac_fn_c_check_header_compile
"$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8267 if test "x$ac_cv_header_sys_times_h" = xyes
8269 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8272 ac_fn_c_check_header_compile
"$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8273 if test "x$ac_cv_header_sys_uio_h" = xyes
8275 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8278 ac_fn_c_check_header_compile
"$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8279 if test "x$ac_cv_header_sys_user_h" = xyes
8281 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8284 ac_fn_c_check_header_compile
"$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8285 if test "x$ac_cv_header_sys_utsname_h" = xyes
8287 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8290 ac_fn_c_check_header_compile
"$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8291 if test "x$ac_cv_header_sys_vnode_h" = xyes
8293 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8296 ac_fn_c_check_header_compile
"$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8297 if test "x$ac_cv_header_sys_xattr_h" = xyes
8299 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8302 ac_fn_c_check_header_compile
"$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8303 if test "x$ac_cv_header_syscall_h" = xyes
8305 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8308 ac_fn_c_check_header_compile
"$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8309 if test "x$ac_cv_header_utime_h" = xyes
8311 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8314 ac_fn_c_check_header_compile
"$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8315 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8317 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8320 ac_fn_c_check_header_compile
"$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8321 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8323 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8327 ac_fn_c_check_header_compile
"$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8328 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8331 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8335 if test $ac_cv_header_sys_mkdev_h = no
; then
8336 ac_fn_c_check_header_compile
"$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8337 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8340 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8346 printf %s
"checking whether stat file-mode macros are broken... " >&6; }
8347 if test ${ac_cv_header_stat_broken+y}
8349 printf %s
"(cached) " >&6
8351 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8352 /* end confdefs.h. */
8353 #include <sys/types.h>
8354 #include <sys/stat.h>
8356 #if defined S_ISBLK && defined S_IFDIR
8357 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8360 #if defined S_ISBLK && defined S_IFCHR
8361 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8364 #if defined S_ISLNK && defined S_IFREG
8365 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8368 #if defined S_ISSOCK && defined S_IFREG
8369 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8373 if ac_fn_c_try_compile
"$LINENO"
8375 ac_cv_header_stat_broken
=no
8377 ac_cv_header_stat_broken
=yes
8379 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8382 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8383 if test $ac_cv_header_stat_broken = yes; then
8385 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8391 ac_fn_c_check_header_compile
"$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8392 #ifdef HAVE_SYS_PARAM_H
8393 # include <sys/param.h>
8396 if test "x$ac_cv_header_sys_conf_h" = xyes
8398 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8401 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8402 #ifdef HAVE_SYS_PARAM_H
8403 # include <sys/param.h>
8406 if test "x$ac_cv_header_sys_mount_h" = xyes
8408 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8411 ac_fn_c_check_header_compile
"$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8412 #ifdef HAVE_SYS_PARAM_H
8413 # include <sys/param.h>
8416 if test "x$ac_cv_header_sys_statfs_h" = xyes
8418 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8421 ac_fn_c_check_header_compile
"$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8422 #ifdef HAVE_SYS_PARAM_H
8423 # include <sys/param.h>
8426 if test "x$ac_cv_header_sys_user_h" = xyes
8428 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8431 ac_fn_c_check_header_compile
"$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8432 #ifdef HAVE_SYS_PARAM_H
8433 # include <sys/param.h>
8436 if test "x$ac_cv_header_sys_vfs_h" = xyes
8438 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8443 saved_sysctl_h_CFLAGS
=$CFLAGS
8444 test "x${GCC}" != xyes || CFLAGS
="$CFLAGS -Werror"
8445 ac_fn_c_check_header_compile
"$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8446 #ifdef HAVE_SYS_PARAM_H
8447 # include <sys/param.h>
8450 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8452 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8456 CFLAGS
=$saved_sysctl_h_CFLAGS
8458 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8459 #include <sys/socket.h>
8460 #ifdef HAVE_SYS_SOCKETVAR_H
8461 # include <sys/socketvar.h>
8463 #ifdef HAVE_NET_ROUTE_H
8464 # include <net/route.h>
8466 #ifdef HAVE_NETINET_IN_H
8467 # include <netinet/in.h>
8469 #ifdef HAVE_NETINET_IN_SYSTM_H
8470 # include <netinet/in_systm.h>
8472 #ifdef HAVE_NET_IF_H
8473 # include <net/if.h>
8475 #ifdef HAVE_NETINET_IP_H
8476 # include <netinet/ip.h>
8479 if test "x$ac_cv_header_netinet_ip_h" = xyes
8481 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8484 ac_fn_c_check_header_compile
"$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8485 #include <sys/socket.h>
8486 #ifdef HAVE_SYS_SOCKETVAR_H
8487 # include <sys/socketvar.h>
8489 #ifdef HAVE_NET_ROUTE_H
8490 # include <net/route.h>
8492 #ifdef HAVE_NETINET_IN_H
8493 # include <netinet/in.h>
8495 #ifdef HAVE_NETINET_IN_SYSTM_H
8496 # include <netinet/in_systm.h>
8498 #ifdef HAVE_NET_IF_H
8499 # include <net/if.h>
8501 #ifdef HAVE_NETINET_IP_H
8502 # include <netinet/ip.h>
8505 if test "x$ac_cv_header_net_if_h" = xyes
8507 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8510 ac_fn_c_check_header_compile
"$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8511 #include <sys/socket.h>
8512 #ifdef HAVE_SYS_SOCKETVAR_H
8513 # include <sys/socketvar.h>
8515 #ifdef HAVE_NET_ROUTE_H
8516 # include <net/route.h>
8518 #ifdef HAVE_NETINET_IN_H
8519 # include <netinet/in.h>
8521 #ifdef HAVE_NETINET_IN_SYSTM_H
8522 # include <netinet/in_systm.h>
8524 #ifdef HAVE_NET_IF_H
8525 # include <net/if.h>
8527 #ifdef HAVE_NETINET_IP_H
8528 # include <netinet/ip.h>
8531 if test "x$ac_cv_header_net_if_arp_h" = xyes
8533 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8536 ac_fn_c_check_header_compile
"$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8537 #include <sys/socket.h>
8538 #ifdef HAVE_SYS_SOCKETVAR_H
8539 # include <sys/socketvar.h>
8541 #ifdef HAVE_NET_ROUTE_H
8542 # include <net/route.h>
8544 #ifdef HAVE_NETINET_IN_H
8545 # include <netinet/in.h>
8547 #ifdef HAVE_NETINET_IN_SYSTM_H
8548 # include <netinet/in_systm.h>
8550 #ifdef HAVE_NET_IF_H
8551 # include <net/if.h>
8553 #ifdef HAVE_NETINET_IP_H
8554 # include <netinet/ip.h>
8557 if test "x$ac_cv_header_net_if_dl_h" = xyes
8559 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8562 ac_fn_c_check_header_compile
"$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8563 #include <sys/socket.h>
8564 #ifdef HAVE_SYS_SOCKETVAR_H
8565 # include <sys/socketvar.h>
8567 #ifdef HAVE_NET_ROUTE_H
8568 # include <net/route.h>
8570 #ifdef HAVE_NETINET_IN_H
8571 # include <netinet/in.h>
8573 #ifdef HAVE_NETINET_IN_SYSTM_H
8574 # include <netinet/in_systm.h>
8576 #ifdef HAVE_NET_IF_H
8577 # include <net/if.h>
8579 #ifdef HAVE_NETINET_IP_H
8580 # include <netinet/ip.h>
8583 if test "x$ac_cv_header_net_if_types_h" = xyes
8585 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8588 ac_fn_c_check_header_compile
"$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8589 #include <sys/socket.h>
8590 #ifdef HAVE_SYS_SOCKETVAR_H
8591 # include <sys/socketvar.h>
8593 #ifdef HAVE_NET_ROUTE_H
8594 # include <net/route.h>
8596 #ifdef HAVE_NETINET_IN_H
8597 # include <netinet/in.h>
8599 #ifdef HAVE_NETINET_IN_SYSTM_H
8600 # include <netinet/in_systm.h>
8602 #ifdef HAVE_NET_IF_H
8603 # include <net/if.h>
8605 #ifdef HAVE_NETINET_IP_H
8606 # include <netinet/ip.h>
8609 if test "x$ac_cv_header_net_route_h" = xyes
8611 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8614 ac_fn_c_check_header_compile
"$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8615 #include <sys/socket.h>
8616 #ifdef HAVE_SYS_SOCKETVAR_H
8617 # include <sys/socketvar.h>
8619 #ifdef HAVE_NET_ROUTE_H
8620 # include <net/route.h>
8622 #ifdef HAVE_NETINET_IN_H
8623 # include <netinet/in.h>
8625 #ifdef HAVE_NETINET_IN_SYSTM_H
8626 # include <netinet/in_systm.h>
8628 #ifdef HAVE_NET_IF_H
8629 # include <net/if.h>
8631 #ifdef HAVE_NETINET_IP_H
8632 # include <netinet/ip.h>
8635 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8637 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8640 ac_fn_c_check_header_compile
"$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8641 #include <sys/socket.h>
8642 #ifdef HAVE_SYS_SOCKETVAR_H
8643 # include <sys/socketvar.h>
8645 #ifdef HAVE_NET_ROUTE_H
8646 # include <net/route.h>
8648 #ifdef HAVE_NETINET_IN_H
8649 # include <netinet/in.h>
8651 #ifdef HAVE_NETINET_IN_SYSTM_H
8652 # include <netinet/in_systm.h>
8654 #ifdef HAVE_NET_IF_H
8655 # include <net/if.h>
8657 #ifdef HAVE_NETINET_IP_H
8658 # include <netinet/ip.h>
8661 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8663 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8666 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8667 #include <sys/socket.h>
8668 #ifdef HAVE_SYS_SOCKETVAR_H
8669 # include <sys/socketvar.h>
8671 #ifdef HAVE_NET_ROUTE_H
8672 # include <net/route.h>
8674 #ifdef HAVE_NETINET_IN_H
8675 # include <netinet/in.h>
8677 #ifdef HAVE_NETINET_IN_SYSTM_H
8678 # include <netinet/in_systm.h>
8680 #ifdef HAVE_NET_IF_H
8681 # include <net/if.h>
8683 #ifdef HAVE_NETINET_IP_H
8684 # include <netinet/ip.h>
8687 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8689 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8692 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8693 #include <sys/socket.h>
8694 #ifdef HAVE_SYS_SOCKETVAR_H
8695 # include <sys/socketvar.h>
8697 #ifdef HAVE_NET_ROUTE_H
8698 # include <net/route.h>
8700 #ifdef HAVE_NETINET_IN_H
8701 # include <netinet/in.h>
8703 #ifdef HAVE_NETINET_IN_SYSTM_H
8704 # include <netinet/in_systm.h>
8706 #ifdef HAVE_NET_IF_H
8707 # include <net/if.h>
8709 #ifdef HAVE_NETINET_IP_H
8710 # include <netinet/ip.h>
8713 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8715 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8718 ac_fn_c_check_header_compile
"$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8719 #include <sys/socket.h>
8720 #ifdef HAVE_SYS_SOCKETVAR_H
8721 # include <sys/socketvar.h>
8723 #ifdef HAVE_NET_ROUTE_H
8724 # include <net/route.h>
8726 #ifdef HAVE_NETINET_IN_H
8727 # include <netinet/in.h>
8729 #ifdef HAVE_NETINET_IN_SYSTM_H
8730 # include <netinet/in_systm.h>
8732 #ifdef HAVE_NET_IF_H
8733 # include <net/if.h>
8735 #ifdef HAVE_NETINET_IP_H
8736 # include <netinet/ip.h>
8739 if test "x$ac_cv_header_netinet_udp_h" = xyes
8741 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8744 ac_fn_c_check_header_compile
"$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8745 #include <sys/socket.h>
8746 #ifdef HAVE_SYS_SOCKETVAR_H
8747 # include <sys/socketvar.h>
8749 #ifdef HAVE_NET_ROUTE_H
8750 # include <net/route.h>
8752 #ifdef HAVE_NETINET_IN_H
8753 # include <netinet/in.h>
8755 #ifdef HAVE_NETINET_IN_SYSTM_H
8756 # include <netinet/in_systm.h>
8758 #ifdef HAVE_NET_IF_H
8759 # include <net/if.h>
8761 #ifdef HAVE_NETINET_IP_H
8762 # include <netinet/ip.h>
8765 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8767 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8770 ac_fn_c_check_header_compile
"$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8771 #include <sys/socket.h>
8772 #ifdef HAVE_SYS_SOCKETVAR_H
8773 # include <sys/socketvar.h>
8775 #ifdef HAVE_NET_ROUTE_H
8776 # include <net/route.h>
8778 #ifdef HAVE_NETINET_IN_H
8779 # include <netinet/in.h>
8781 #ifdef HAVE_NETINET_IN_SYSTM_H
8782 # include <netinet/in_systm.h>
8784 #ifdef HAVE_NET_IF_H
8785 # include <net/if.h>
8787 #ifdef HAVE_NETINET_IP_H
8788 # include <netinet/ip.h>
8791 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8793 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8796 ac_fn_c_check_header_compile
"$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8797 #include <sys/socket.h>
8798 #ifdef HAVE_SYS_SOCKETVAR_H
8799 # include <sys/socketvar.h>
8801 #ifdef HAVE_NET_ROUTE_H
8802 # include <net/route.h>
8804 #ifdef HAVE_NETINET_IN_H
8805 # include <netinet/in.h>
8807 #ifdef HAVE_NETINET_IN_SYSTM_H
8808 # include <netinet/in_systm.h>
8810 #ifdef HAVE_NET_IF_H
8811 # include <net/if.h>
8813 #ifdef HAVE_NETINET_IP_H
8814 # include <netinet/ip.h>
8817 if test "x$ac_cv_header_sys_un_h" = xyes
8819 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8824 ac_fn_c_check_header_compile
"$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8825 #include <sys/socket.h>
8826 #ifdef HAVE_SYS_SOCKETVAR_H
8827 # include <sys/socketvar.h>
8829 #ifdef HAVE_NETINET_IN_H
8830 # include <netinet/in.h>
8832 #ifdef HAVE_NETINET_IN_SYSTM_H
8833 # include <netinet/in_systm.h>
8835 #ifdef HAVE_NETINET_IP_H
8836 # include <netinet/ip.h>
8838 #ifdef HAVE_NETINET_IP_VAR_H
8839 # include <netinet/ip_var.h>
8841 #ifdef HAVE_NETINET_IP_ICMP_H
8842 # include <netinet/ip_icmp.h>
8844 #ifdef HAVE_NETINET_UDP_H
8845 # include <netinet/udp.h>
8847 #ifdef HAVE_NETINET_TCP_H
8848 # include <netinet/tcp.h>
8851 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8853 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8856 ac_fn_c_check_header_compile
"$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8857 #include <sys/socket.h>
8858 #ifdef HAVE_SYS_SOCKETVAR_H
8859 # include <sys/socketvar.h>
8861 #ifdef HAVE_NETINET_IN_H
8862 # include <netinet/in.h>
8864 #ifdef HAVE_NETINET_IN_SYSTM_H
8865 # include <netinet/in_systm.h>
8867 #ifdef HAVE_NETINET_IP_H
8868 # include <netinet/ip.h>
8870 #ifdef HAVE_NETINET_IP_VAR_H
8871 # include <netinet/ip_var.h>
8873 #ifdef HAVE_NETINET_IP_ICMP_H
8874 # include <netinet/ip_icmp.h>
8876 #ifdef HAVE_NETINET_UDP_H
8877 # include <netinet/udp.h>
8879 #ifdef HAVE_NETINET_TCP_H
8880 # include <netinet/tcp.h>
8883 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8885 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8888 ac_fn_c_check_header_compile
"$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8889 #include <sys/socket.h>
8890 #ifdef HAVE_SYS_SOCKETVAR_H
8891 # include <sys/socketvar.h>
8893 #ifdef HAVE_NETINET_IN_H
8894 # include <netinet/in.h>
8896 #ifdef HAVE_NETINET_IN_SYSTM_H
8897 # include <netinet/in_systm.h>
8899 #ifdef HAVE_NETINET_IP_H
8900 # include <netinet/ip.h>
8902 #ifdef HAVE_NETINET_IP_VAR_H
8903 # include <netinet/ip_var.h>
8905 #ifdef HAVE_NETINET_IP_ICMP_H
8906 # include <netinet/ip_icmp.h>
8908 #ifdef HAVE_NETINET_UDP_H
8909 # include <netinet/udp.h>
8911 #ifdef HAVE_NETINET_TCP_H
8912 # include <netinet/tcp.h>
8915 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8917 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8920 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8921 #include <sys/socket.h>
8922 #ifdef HAVE_SYS_SOCKETVAR_H
8923 # include <sys/socketvar.h>
8925 #ifdef HAVE_NETINET_IN_H
8926 # include <netinet/in.h>
8928 #ifdef HAVE_NETINET_IN_SYSTM_H
8929 # include <netinet/in_systm.h>
8931 #ifdef HAVE_NETINET_IP_H
8932 # include <netinet/ip.h>
8934 #ifdef HAVE_NETINET_IP_VAR_H
8935 # include <netinet/ip_var.h>
8937 #ifdef HAVE_NETINET_IP_ICMP_H
8938 # include <netinet/ip_icmp.h>
8940 #ifdef HAVE_NETINET_UDP_H
8941 # include <netinet/udp.h>
8943 #ifdef HAVE_NETINET_TCP_H
8944 # include <netinet/tcp.h>
8947 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8949 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8954 ac_fn_c_check_header_compile
"$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8955 #include <sys/socket.h>
8956 #ifdef HAVE_ASM_TYPES_H
8957 # include <asm/types.h>
8959 #ifdef HAVE_LINUX_TYPES_H
8960 # include <linux/types.h>
8963 if test "x$ac_cv_header_linux_ipx_h" = xyes
8965 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8968 ac_fn_c_check_header_compile
"$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8969 #include <sys/socket.h>
8970 #ifdef HAVE_ASM_TYPES_H
8971 # include <asm/types.h>
8973 #ifdef HAVE_LINUX_TYPES_H
8974 # include <linux/types.h>
8977 if test "x$ac_cv_header_linux_irda_h" = xyes
8979 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
8982 ac_fn_c_check_header_compile
"$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
8983 #include <sys/socket.h>
8984 #ifdef HAVE_ASM_TYPES_H
8985 # include <asm/types.h>
8987 #ifdef HAVE_LINUX_TYPES_H
8988 # include <linux/types.h>
8991 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
8993 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
8998 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
8999 #include <sys/socket.h>
9000 #ifdef HAVE_NETINET_IN_H
9001 # include <netinet/in.h>
9003 #ifdef HAVE_ARPA_NAMESER_H
9004 # include <arpa/nameser.h>
9007 if test "x$ac_cv_header_resolv_h" = xyes
9009 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9014 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9016 if test "x$ac_cv_header_ifaddrs_h" = xyes
9018 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9023 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9025 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9027 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9032 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9033 #ifdef HAVE_SYS_UCONTEXT_H
9034 #include <sys/ucontext.h>
9037 if test "x$ac_cv_header_sys_thr_h" = xyes
9039 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9044 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9045 #include <pthread.h>
9048 if test "x$ac_cv_header_pthread_np_h" = xyes
9050 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9055 ac_fn_c_check_header_compile
"$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9056 #include <sys/types.h>
9057 #ifdef HAVE_ASM_TYPES_H
9058 #include <asm/types.h>
9061 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9063 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9068 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9069 #include <sys/param.h>
9071 #include <sys/socket.h>
9072 #ifdef HAVE_SYS_QUEUE_H
9073 #include <sys/queue.h>
9076 if test "x$ac_cv_header_libprocstat_h" = xyes
9078 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9083 if test "x$ac_cv_header_sys_xattr_h" = xyes
9085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9086 printf %s
"checking whether getxattr takes additional arguments... " >&6; }
9087 if test ${wine_cv_xattr_extra_args+y}
9089 printf %s
"(cached) " >&6
9091 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9092 /* end confdefs.h. */
9093 #include <sys/xattr.h>
9097 getxattr("", "", "", 0, 0, 0);
9102 if ac_fn_c_try_compile
"$LINENO"
9104 wine_cv_xattr_extra_args
=yes
9106 wine_cv_xattr_extra_args
=no
9108 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
9110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9111 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9112 test $wine_cv_xattr_extra_args != yes ||
9113 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9126 UNIXDLLFLAGS
="-fPIC"
9128 UNIXLDFLAGS
="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9134 WINELOADER_LDFLAGS
=""
9136 WINEPRELOADER_LDFLAGS
=""
9141 # Extract the first word of "ldd", so it can be a program name with args.
9142 set dummy ldd
; ac_word
=$2
9143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9144 printf %s
"checking for $ac_word... " >&6; }
9145 if test ${ac_cv_path_LDD+y}
9147 printf %s
"(cached) " >&6
9151 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
9154 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9155 as_dummy
="/sbin:/usr/sbin:$PATH"
9156 for as_dir
in $as_dummy
9159 case $as_dir in #(((
9162 *) as_dir
=$as_dir/ ;;
9164 for ac_exec_ext
in '' $ac_executable_extensions; do
9165 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9166 ac_cv_path_LDD
="$as_dir$ac_word$ac_exec_ext"
9167 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9174 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
9179 if test -n "$LDD"; then
9180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9181 printf "%s\n" "$LDD" >&6; }
9183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9184 printf "%s\n" "no" >&6; }
9188 if test -n "$ac_tool_prefix"; then
9189 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9190 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
9191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9192 printf %s
"checking for $ac_word... " >&6; }
9193 if test ${ac_cv_prog_OTOOL+y}
9195 printf %s
"(cached) " >&6
9197 if test -n "$OTOOL"; then
9198 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
9200 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9204 case $as_dir in #(((
9207 *) as_dir
=$as_dir/ ;;
9209 for ac_exec_ext
in '' $ac_executable_extensions; do
9210 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9211 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
9212 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9221 OTOOL
=$ac_cv_prog_OTOOL
9222 if test -n "$OTOOL"; then
9223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9224 printf "%s\n" "$OTOOL" >&6; }
9226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9227 printf "%s\n" "no" >&6; }
9232 if test -z "$ac_cv_prog_OTOOL"; then
9234 # Extract the first word of "otool", so it can be a program name with args.
9235 set dummy otool
; ac_word
=$2
9236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9237 printf %s
"checking for $ac_word... " >&6; }
9238 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9240 printf %s
"(cached) " >&6
9242 if test -n "$ac_ct_OTOOL"; then
9243 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
9245 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9249 case $as_dir in #(((
9252 *) as_dir
=$as_dir/ ;;
9254 for ac_exec_ext
in '' $ac_executable_extensions; do
9255 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9256 ac_cv_prog_ac_ct_OTOOL
="otool"
9257 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9266 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
9267 if test -n "$ac_ct_OTOOL"; then
9268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9269 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9272 printf "%s\n" "no" >&6; }
9275 if test "x$ac_ct_OTOOL" = x
; then
9278 case $cross_compiling:$ac_tool_warned in
9280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9281 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9282 ac_tool_warned
=yes ;;
9287 OTOOL
="$ac_cv_prog_OTOOL"
9290 if test -n "$ac_tool_prefix"; then
9291 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9292 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
9293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9294 printf %s
"checking for $ac_word... " >&6; }
9295 if test ${ac_cv_prog_READELF+y}
9297 printf %s
"(cached) " >&6
9299 if test -n "$READELF"; then
9300 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
9302 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9306 case $as_dir in #(((
9309 *) as_dir
=$as_dir/ ;;
9311 for ac_exec_ext
in '' $ac_executable_extensions; do
9312 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9313 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
9314 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9323 READELF
=$ac_cv_prog_READELF
9324 if test -n "$READELF"; then
9325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9326 printf "%s\n" "$READELF" >&6; }
9328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9329 printf "%s\n" "no" >&6; }
9334 if test -z "$ac_cv_prog_READELF"; then
9335 ac_ct_READELF
=$READELF
9336 # Extract the first word of "readelf", so it can be a program name with args.
9337 set dummy readelf
; ac_word
=$2
9338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9339 printf %s
"checking for $ac_word... " >&6; }
9340 if test ${ac_cv_prog_ac_ct_READELF+y}
9342 printf %s
"(cached) " >&6
9344 if test -n "$ac_ct_READELF"; then
9345 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
9347 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9351 case $as_dir in #(((
9354 *) as_dir
=$as_dir/ ;;
9356 for ac_exec_ext
in '' $ac_executable_extensions; do
9357 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9358 ac_cv_prog_ac_ct_READELF
="readelf"
9359 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9368 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
9369 if test -n "$ac_ct_READELF"; then
9370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9371 printf "%s\n" "$ac_ct_READELF" >&6; }
9373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9374 printf "%s\n" "no" >&6; }
9377 if test "x$ac_ct_READELF" = x
; then
9380 case $cross_compiling:$ac_tool_warned in
9382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9383 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9384 ac_tool_warned
=yes ;;
9386 READELF
=$ac_ct_READELF
9389 READELF
="$ac_cv_prog_READELF"
9397 CONFIGURE_TARGETS
=""
9400 wine_fn_config_makefile
()
9402 as_fn_append SUBDIRS
" \\$as_nl $1"
9405 no
) as_fn_append DISABLED_SUBDIRS
" $1" ;;
9406 *aarch64
*|
*arm
*|
*i386
*|
*x86_64
*)
9407 if test -n "$PE_ARCHS"
9411 test $
(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append
${i}_DISABLED_SUBDIRS
" $1"
9414 test $
(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS
" $1"
9419 wine_fn_config_symlink
()
9422 as_fn_append wine_rules
"
9424 @./config.status \$@"
9425 for f
in $ac_links; do as_fn_append CONFIGURE_TARGETS
" $f"; done
9432 EXTRACFLAGS
="-D__WINE_PE_BUILD"
9434 *i
[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9435 printf %s
"checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9436 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9438 printf %s
"(cached) " >&6
9440 ac_wine_try_cflags_saved
=$CFLAGS
9441 CFLAGS
="$CFLAGS -Wl,--disable-stdcall-fixup"
9442 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9443 /* end confdefs.h. */
9444 int main(int argc, char **argv) { return 0; }
9446 if ac_fn_c_try_link
"$LINENO"
9448 ac_cv_cflags__Wl___disable_stdcall_fixup
=yes
9450 ac_cv_cflags__Wl___disable_stdcall_fixup
=no
9452 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9453 conftest
$ac_exeext conftest.
$ac_ext
9454 CFLAGS
=$ac_wine_try_cflags_saved
9456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9457 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9458 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9460 LDDLLFLAGS
="-Wl,--disable-stdcall-fixup"
9463 enable_loader
=${enable_loader:-no}
9464 enable_server
=${enable_server:-no}
9465 with_x
=${with_x:-no}
9466 with_pthread
=${with_pthread:-no}
9471 DLLFLAGS
="$DLLFLAGS -fPIC"
9473 enable_winemac_drv
=${enable_winemac_drv:-yes}
9474 CARBON_LIBS
="-framework Carbon"
9476 COREFOUNDATION_LIBS
="-framework CoreFoundation"
9478 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
9480 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
9482 METAL_LIBS
="-framework Metal"
9484 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
9486 CORESERVICES_LIBS
="-framework CoreServices"
9488 APPKIT_LIBS
="-framework AppKit"
9490 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
9492 SYSTEMCONFIGURATION_LIBS
="-framework SystemConfiguration"
9495 WINELOADER_LDFLAGS
="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9498 *i
[3456]86*|
*x86_64
*) wine_can_build_preloader
=yes ;;
9499 *) wine_can_build_preloader
=no
;;
9502 if test "$wine_can_build_preloader" = "yes"
9504 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"
9505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9506 printf %s
"checking whether the compiler supports -Wl,-no_pie... " >&6; }
9507 if test ${ac_cv_cflags__Wl__no_pie+y}
9509 printf %s
"(cached) " >&6
9511 ac_wine_try_cflags_saved
=$CFLAGS
9512 CFLAGS
="$CFLAGS -Wl,-no_pie"
9513 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9514 /* end confdefs.h. */
9515 int main(int argc, char **argv) { return 0; }
9517 if ac_fn_c_try_link
"$LINENO"
9519 ac_cv_cflags__Wl__no_pie
=yes
9521 ac_cv_cflags__Wl__no_pie
=no
9523 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9524 conftest
$ac_exeext conftest.
$ac_ext
9525 CFLAGS
=$ac_wine_try_cflags_saved
9527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9528 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9529 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9531 WINEPRELOADER_LDFLAGS
="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9535 WINEPRELOADER_LDFLAGS
="-Wl,-image_base,0x7d400000 $WINEPRELOADER_LDFLAGS"
9538 WINEPRELOADER_LDFLAGS
="-Wl,-image_base,0x200000000,-segalign,0x1000,-segaddr,WINE_RESERVE,0x1000 $WINEPRELOADER_LDFLAGS"
9541 WINELOADER_LDFLAGS
="$WINELOADER_LDFLAGS -mmacosx-version-min=10.7"
9543 as_fn_append wine_warnings
"|can't build Wine preloader; many programs won't work"
9546 if test "x$with_coreaudio" != "xno";
9548 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9550 enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-yes}
9552 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9554 OPENCL_LIBS
="-framework OpenCL"
9556 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
9559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9560 printf %s
"checking whether MTLDevice protocol supports registryID property... " >&6; }
9562 ac_cpp
='$OBJCPP $CPPFLAGS'
9563 ac_compile
='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9564 ac_link
='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9565 ac_compiler_gnu
=$ac_cv_objc_compiler_gnu
9568 ac_cpp
='$OBJCPP $CPPFLAGS'
9569 ac_compile
='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9570 ac_link
='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9571 ac_compiler_gnu
=$ac_cv_objc_compiler_gnu
9572 if test -n "$ac_tool_prefix"; then
9573 for ac_prog
in gcc objcc objc cc CC clang
9575 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9576 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
9577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9578 printf %s
"checking for $ac_word... " >&6; }
9579 if test ${ac_cv_prog_OBJC+y}
9581 printf %s
"(cached) " >&6
9583 if test -n "$OBJC"; then
9584 ac_cv_prog_OBJC
="$OBJC" # Let the user override the test.
9586 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9590 case $as_dir in #(((
9593 *) as_dir
=$as_dir/ ;;
9595 for ac_exec_ext
in '' $ac_executable_extensions; do
9596 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9597 ac_cv_prog_OBJC
="$ac_tool_prefix$ac_prog"
9598 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9607 OBJC
=$ac_cv_prog_OBJC
9608 if test -n "$OBJC"; then
9609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9610 printf "%s\n" "$OBJC" >&6; }
9612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9613 printf "%s\n" "no" >&6; }
9617 test -n "$OBJC" && break
9620 if test -z "$OBJC"; then
9622 for ac_prog
in gcc objcc objc cc CC clang
9624 # Extract the first word of "$ac_prog", so it can be a program name with args.
9625 set dummy
$ac_prog; ac_word
=$2
9626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9627 printf %s
"checking for $ac_word... " >&6; }
9628 if test ${ac_cv_prog_ac_ct_OBJC+y}
9630 printf %s
"(cached) " >&6
9632 if test -n "$ac_ct_OBJC"; then
9633 ac_cv_prog_ac_ct_OBJC
="$ac_ct_OBJC" # Let the user override the test.
9635 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9639 case $as_dir in #(((
9642 *) as_dir
=$as_dir/ ;;
9644 for ac_exec_ext
in '' $ac_executable_extensions; do
9645 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9646 ac_cv_prog_ac_ct_OBJC
="$ac_prog"
9647 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9656 ac_ct_OBJC
=$ac_cv_prog_ac_ct_OBJC
9657 if test -n "$ac_ct_OBJC"; then
9658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9659 printf "%s\n" "$ac_ct_OBJC" >&6; }
9661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9662 printf "%s\n" "no" >&6; }
9666 test -n "$ac_ct_OBJC" && break
9669 if test "x$ac_ct_OBJC" = x
; then
9672 case $cross_compiling:$ac_tool_warned in
9674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9675 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9676 ac_tool_warned
=yes ;;
9682 # Provide some information about the compiler.
9683 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9686 for ac_option
in --version -v -V -qversion; do
9687 { { ac_try
="$ac_compiler $ac_option >&5"
9689 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9690 *) ac_try_echo=$ac_try;;
9692 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9693 printf "%s\n" "$ac_try_echo"; } >&5
9694 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9696 if test -s conftest.err; then
9698 ... rest of stderr output deleted ...
9699 10q' conftest.err >conftest.er1
9700 cat conftest.er1 >&5
9702 rm -f conftest.er1 conftest.err
9703 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9704 test $ac_status = 0; }
9707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9708 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9709 if test ${ac_cv_objc_compiler_gnu+y}
9711 printf %s "(cached) " >&6
9713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9714 /* end confdefs.h. */
9727 if ac_fn_objc_try_compile "$LINENO"
9733 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9734 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9738 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9739 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9741 if test $ac_compiler_gnu = yes; then
9746 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9747 ac_save_OBJCFLAGS=$OBJCFLAGS
9748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9749 printf %s "checking whether $OBJC accepts -g... " >&6; }
9750 if test ${ac_cv_prog_objc_g+y}
9752 printf %s "(cached) " >&6
9754 ac_save_objc_werror_flag=$ac_objc_werror_flag
9755 ac_objc_werror_flag=yes
9756 ac_cv_prog_objc_g=no
9758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9759 /* end confdefs.h. */
9769 if ac_fn_objc_try_compile "$LINENO"
9771 ac_cv_prog_objc_g=yes
9774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9775 /* end confdefs.h. */
9785 if ac_fn_objc_try_compile "$LINENO"
9789 ac_objc_werror_flag=$ac_save_objc_werror_flag
9791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9792 /* end confdefs.h. */
9802 if ac_fn_objc_try_compile "$LINENO"
9804 ac_cv_prog_objc_g=yes
9806 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
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
9811 ac_objc_werror_flag=$ac_save_objc_werror_flag
9813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9814 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9815 if test $ac_test_OBJCFLAGS; then
9816 OBJCFLAGS=$ac_save_OBJCFLAGS
9817 elif test $ac_cv_prog_objc_g = yes; then
9818 if test "$GOBJC" = yes; then
9824 if test "$GOBJC" = yes; then
9831 ac_cpp='$OBJCPP $CPPFLAGS'
9832 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9833 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9834 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9838 /* end confdefs.h. */
9839 #include <Metal/Metal.h>
9843 id<MTLDevice> device; device.registryID;
9848 if ac_fn_objc_try_compile "$LINENO"
9850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9851 printf "%s\n" "yes" >&6; }
9853 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9857 printf "%s\n" "no" >&6; }
9859 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9861 ac_cpp='$CPP $CPPFLAGS'
9862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9867 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
9868 WINELOADER_DEPENDS="wine_info.plist"
9874 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
9876 DLLFLAGS="$DLLFLAGS -fPIC"
9878 LDEXECFLAGS="-Wl,-pie"
9879 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9881 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9882 if test ${ac_cv_cflags__Wl__z_defs+y}
9884 printf %s "(cached) " >&6
9886 ac_wine_try_cflags_saved=$CFLAGS
9887 CFLAGS="$CFLAGS -Wl,-z,defs"
9888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9889 /* end confdefs.h. */
9890 int main(int argc, char **argv) { return 0; }
9892 if ac_fn_c_try_link "$LINENO"
9894 ac_cv_cflags__Wl__z_defs=yes
9896 ac_cv_cflags__Wl__z_defs=no
9898 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9899 conftest$ac_exeext conftest.$ac_ext
9900 CFLAGS=$ac_wine_try_cflags_saved
9902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9903 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
9904 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
9906 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9909 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9910 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
9912 printf %s "(cached) " >&6
9914 ac_wine_try_cflags_saved=$CFLAGS
9915 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9917 /* end confdefs.h. */
9918 int main(int argc, char **argv) { return 0; }
9920 if ac_fn_c_try_link "$LINENO"
9922 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9924 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9926 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9927 conftest$ac_exeext conftest.$ac_ext
9928 CFLAGS=$ac_wine_try_cflags_saved
9930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9931 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9932 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
9934 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9936 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9939 printf %s "checking for -lEGL... " >&6; }
9940 if test ${ac_cv_lib_soname_EGL+y}
9942 printf %s "(cached) " >&6
9944 ac_check_soname_save_LIBS=$LIBS
9946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9947 /* end confdefs.h. */
9949 /* Override any GCC internal prototype to avoid an error.
9950 Use char because int might match the return type of a GCC
9951 builtin and then its argument prototype would still apply. */
9952 char eglGetProcAddress ();
9956 return eglGetProcAddress ();
9961 if ac_fn_c_try_link "$LINENO"
9964 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe |
grep "EGL" |
sed -e "s/dll.*/dll/"';2,$d'` ;;
9965 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'` ;;
9966 *) ac_cv_lib_soname_EGL=`$READELF -d conftest
$ac_exeext |
grep "NEEDED.*libEGL\\.$LIBEXT" |
sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9967 if ${ac_cv_lib_soname_EGL:+false} :
9969 ac_cv_lib_soname_EGL=`$LDD conftest
$ac_exeext |
grep "libEGL\\.$LIBEXT" |
sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9973 ac_cv_lib_soname_EGL=
9975 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9976 conftest$ac_exeext conftest.$ac_ext
9977 LIBS=$ac_check_soname_save_LIBS
9979 if ${ac_cv_lib_soname_EGL:+false} :
9981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9982 printf "%s\n" "not found" >&6; }
9985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9986 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
9988 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
9992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9993 printf %s "checking for -lGLESv2... " >&6; }
9994 if test ${ac_cv_lib_soname_GLESv2+y}
9996 printf %s "(cached) " >&6
9998 ac_check_soname_save_LIBS=$LIBS
9999 LIBS="-lGLESv2 $LIBS"
10000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10001 /* end confdefs.h. */
10003 /* Override any GCC internal prototype to avoid an error.
10004 Use char because int might match the return type of a GCC
10005 builtin and then its argument prototype would still apply. */
10015 if ac_fn_c_try_link "$LINENO"
10018 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe |
grep "GLESv2" |
sed -e "s/dll.*/dll/"';2,$d'` ;;
10019 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'` ;;
10020 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest
$ac_exeext |
grep "NEEDED.*libGLESv2\\.$LIBEXT" |
sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10021 if ${ac_cv_lib_soname_GLESv2:+false} :
10023 ac_cv_lib_soname_GLESv2=`$LDD conftest
$ac_exeext |
grep "libGLESv2\\.$LIBEXT" |
sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10027 ac_cv_lib_soname_GLESv2=
10029 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10030 conftest$ac_exeext conftest.$ac_ext
10031 LIBS=$ac_check_soname_save_LIBS
10033 if ${ac_cv_lib_soname_GLESv2:+false} :
10035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10036 printf "%s\n" "not found" >&6; }
10039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10040 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10042 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10047 if test "x$exec_prefix" = xNONE
10050 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10051 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10052 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10053 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10060 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10062 test "$ac_cv_sys_file_offset_bits" = 64 &&
10063 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10067 DLLFLAGS="$DLLFLAGS -fno-PIC"
10068 LDDLLFLAGS="-fno-PIC"
10069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10070 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10071 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10073 printf %s "(cached) " >&6
10075 ac_wine_try_cflags_saved=$CFLAGS
10076 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10078 /* end confdefs.h. */
10079 int main(int argc, char **argv) { return 0; }
10081 if ac_fn_c_try_link "$LINENO"
10083 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10085 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10087 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10088 conftest$ac_exeext conftest.$ac_ext
10089 CFLAGS=$ac_wine_try_cflags_saved
10091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10092 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10093 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10095 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10099 DLLFLAGS="$DLLFLAGS -fPIC"
10100 LDDLLFLAGS="-fPIC" ;;
10103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10104 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10105 if test ${ac_cv_cflags__Wl__z_defs+y}
10107 printf %s "(cached) " >&6
10109 ac_wine_try_cflags_saved=$CFLAGS
10110 CFLAGS="$CFLAGS -Wl,-z,defs"
10111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10112 /* end confdefs.h. */
10113 int main(int argc, char **argv) { return 0; }
10115 if ac_fn_c_try_link "$LINENO"
10117 ac_cv_cflags__Wl__z_defs=yes
10119 ac_cv_cflags__Wl__z_defs=no
10121 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10122 conftest$ac_exeext conftest.$ac_ext
10123 CFLAGS=$ac_wine_try_cflags_saved
10125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10126 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10127 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10129 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10132 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10133 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10135 printf %s "(cached) " >&6
10137 ac_wine_try_cflags_saved=$CFLAGS
10138 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10140 /* end confdefs.h. */
10141 int main(int argc, char **argv) { return 0; }
10143 if ac_fn_c_try_link "$LINENO"
10145 ac_cv_cflags__Wl___export_dynamic=yes
10147 ac_cv_cflags__Wl___export_dynamic=no
10149 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10150 conftest$ac_exeext conftest.$ac_ext
10151 CFLAGS=$ac_wine_try_cflags_saved
10153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10154 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10155 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10157 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10159 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs"
10163 as_fn_append WINELOADER_LDFLAGS " -pie"
10166 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d400000" ;;
10168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -static-pie" >&5
10169 printf %s "checking whether the compiler supports -static-pie... " >&6; }
10170 if test ${ac_cv_cflags__static_pie+y}
10172 printf %s "(cached) " >&6
10174 ac_wine_try_cflags_saved=$CFLAGS
10175 CFLAGS="$CFLAGS -static-pie"
10176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10177 /* end confdefs.h. */
10178 int main(int argc, char **argv) { return 0; }
10180 if ac_fn_c_try_link "$LINENO"
10182 ac_cv_cflags__static_pie=yes
10184 ac_cv_cflags__static_pie=no
10186 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10187 conftest$ac_exeext conftest.$ac_ext
10188 CFLAGS=$ac_wine_try_cflags_saved
10190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__static_pie" >&5
10191 printf "%s\n" "$ac_cv_cflags__static_pie" >&6; }
10192 if test "x$ac_cv_cflags__static_pie" = xyes
10194 as_fn_append WINEPRELOADER_LDFLAGS " -static-pie"
10196 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d7d00000000"
10204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x60000000" >&5
10205 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x60000000... " >&6; }
10206 if test ${ac_cv_cflags__Wl__Ttext_segment_0x60000000+y}
10208 printf %s "(cached) " >&6
10210 ac_wine_try_cflags_saved=$CFLAGS
10211 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x60000000"
10212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10213 /* end confdefs.h. */
10214 int main(int argc, char **argv) { return 0; }
10216 if ac_fn_c_try_link "$LINENO"
10218 ac_cv_cflags__Wl__Ttext_segment_0x60000000=yes
10220 ac_cv_cflags__Wl__Ttext_segment_0x60000000=no
10222 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10223 conftest$ac_exeext conftest.$ac_ext
10224 CFLAGS=$ac_wine_try_cflags_saved
10226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&5
10227 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&6; }
10228 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x60000000" = xyes
10230 as_fn_append WINELOADER_LDFLAGS " -Wl,-Ttext-segment=0x60000000"
10232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x60000400" >&5
10233 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x60000400... " >&6; }
10234 if test ${ac_cv_cflags__Wl___section_start__interp_0x60000400+y}
10236 printf %s "(cached) " >&6
10238 ac_wine_try_cflags_saved=$CFLAGS
10239 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x60000400"
10240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10241 /* end confdefs.h. */
10242 int main(int argc, char **argv) { return 0; }
10244 if ac_fn_c_try_link "$LINENO"
10246 ac_cv_cflags__Wl___section_start__interp_0x60000400=yes
10248 ac_cv_cflags__Wl___section_start__interp_0x60000400=no
10250 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10251 conftest$ac_exeext conftest.$ac_ext
10252 CFLAGS=$ac_wine_try_cflags_saved
10254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x60000400" >&5
10255 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x60000400" >&6; }
10256 if test "x$ac_cv_cflags__Wl___section_start__interp_0x60000400" = xyes
10258 as_fn_append WINELOADER_LDFLAGS " -Wl,--section-start,.interp=0x60000400"
10263 as_fn_append WINELOADER_LDFLAGS " -pie"
10271 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10272 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10273 enable_winemac_drv=${enable_winemac_drv:-no}
10278 if test ${enable_archs+y}
10280 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10283 set x $enable_archs
10289 i386|x86_64|arm|aarch64) cross_archs="$cross_archs $arch" ;;
10290 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10294 if test "x$with_mingw" != xno
10296 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10300 for wine_arch in $cross_archs
10302 case "x$with_mingw" in
10303 xclang|x*/clang) eval "${wine_arch}_CC=\$with_mingw" ;;
10305 if eval \${${wine_arch}_CC:+false} :
10309 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10311 # Extract the first word of "$ac_prog", so it can be a program name with args.
10312 set dummy $ac_prog; ac_word=$2
10313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10314 printf %s "checking for $ac_word... " >&6; }
10315 if test ${ac_cv_prog_aarch64_CC+y}
10317 printf %s "(cached) " >&6
10319 if test -n "$aarch64_CC"; then
10320 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10323 for as_dir in $PATH
10326 case $as_dir in #(((
10329 *) as_dir=$as_dir/ ;;
10331 for ac_exec_ext in '' $ac_executable_extensions; do
10332 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10333 ac_cv_prog_aarch64_CC="$ac_prog"
10334 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10343 aarch64_CC=$ac_cv_prog_aarch64_CC
10344 if test -n "$aarch64_CC"; then
10345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10346 printf "%s\n" "$aarch64_CC" >&6; }
10348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10349 printf "%s\n" "no" >&6; }
10353 test -n "$aarch64_CC" && break
10355 test -n "$aarch64_CC" || aarch64_CC="false"
10359 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10361 # Extract the first word of "$ac_prog", so it can be a program name with args.
10362 set dummy $ac_prog; ac_word=$2
10363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10364 printf %s "checking for $ac_word... " >&6; }
10365 if test ${ac_cv_prog_arm_CC+y}
10367 printf %s "(cached) " >&6
10369 if test -n "$arm_CC"; then
10370 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10373 for as_dir in $PATH
10376 case $as_dir in #(((
10379 *) as_dir=$as_dir/ ;;
10381 for ac_exec_ext in '' $ac_executable_extensions; do
10382 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10383 ac_cv_prog_arm_CC="$ac_prog"
10384 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10393 arm_CC=$ac_cv_prog_arm_CC
10394 if test -n "$arm_CC"; then
10395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10396 printf "%s\n" "$arm_CC" >&6; }
10398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10399 printf "%s\n" "no" >&6; }
10403 test -n "$arm_CC" && break
10405 test -n "$arm_CC" || arm_CC="false"
10409 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 "
10410 for ac_prog in $ac_prefix_list clang
10412 # Extract the first word of "$ac_prog", so it can be a program name with args.
10413 set dummy $ac_prog; ac_word=$2
10414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10415 printf %s "checking for $ac_word... " >&6; }
10416 if test ${ac_cv_prog_i386_CC+y}
10418 printf %s "(cached) " >&6
10420 if test -n "$i386_CC"; then
10421 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10424 for as_dir in $PATH
10427 case $as_dir in #(((
10430 *) as_dir=$as_dir/ ;;
10432 for ac_exec_ext in '' $ac_executable_extensions; do
10433 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10434 ac_cv_prog_i386_CC="$ac_prog"
10435 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10444 i386_CC=$ac_cv_prog_i386_CC
10445 if test -n "$i386_CC"; then
10446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10447 printf "%s\n" "$i386_CC" >&6; }
10449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10450 printf "%s\n" "no" >&6; }
10454 test -n "$i386_CC" && break
10456 test -n "$i386_CC" || i386_CC="false"
10460 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10461 for ac_prog in $ac_prefix_list clang
10463 # Extract the first word of "$ac_prog", so it can be a program name with args.
10464 set dummy $ac_prog; ac_word=$2
10465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10466 printf %s "checking for $ac_word... " >&6; }
10467 if test ${ac_cv_prog_x86_64_CC+y}
10469 printf %s "(cached) " >&6
10471 if test -n "$x86_64_CC"; then
10472 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10475 for as_dir in $PATH
10478 case $as_dir in #(((
10481 *) as_dir=$as_dir/ ;;
10483 for ac_exec_ext in '' $ac_executable_extensions; do
10484 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10485 ac_cv_prog_x86_64_CC="$ac_prog"
10486 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10495 x86_64_CC=$ac_cv_prog_x86_64_CC
10496 if test -n "$x86_64_CC"; then
10497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10498 printf "%s\n" "$x86_64_CC" >&6; }
10500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10501 printf "%s\n" "no" >&6; }
10505 test -n "$x86_64_CC" && break
10507 test -n "$x86_64_CC" || x86_64_CC="false"
10513 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10519 saved_CFLAGS=$CFLAGS
10520 saved_LDFLAGS=$LDFLAGS
10522 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10523 LDFLAGS=$CROSSLDFLAGS
10524 eval CC=\$${wine_arch}_CC
10525 eval ${wine_arch}_CFLAGS=\$CFLAGS
10526 eval ${wine_arch}_LDFLAGS=\$LDFLAGS
10527 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10530 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" |
$as_tr_sh`
10532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10533 printf %s "checking whether $CC works... " >&6; }
10534 if eval test \${$as_wine_cv_crosscc+y}
10536 printf %s "(cached) " >&6
10538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10539 /* end confdefs.h. */
10549 if ac_fn_c_try_compile "$LINENO"
10551 eval "$as_wine_cv_crosscc=yes"
10553 eval "$as_wine_cv_crosscc=no"
10555 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10557 eval ac_res=\$$as_wine_cv_crosscc
10558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10559 printf "%s\n" "$ac_res" >&6; }
10560 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10564 while test $# -ge 1
10567 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10568 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10573 llvm_target=$target
10574 if test -z "$llvm_target"
10577 i386) llvm_target=i686-windows ;;
10578 arm) llvm_target=armv7-windows ;;
10579 *) llvm_target=$wine_arch-windows ;;
10582 llvm_extra_cflags="-target $llvm_target -fuse-ld=lld"
10583 case $llvm_target in
10584 *windows) llvm_cflags="-Wl,-subsystem:console -Wl,-WX" ;;
10586 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags" |
$as_tr_sh`
10587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags" >&5
10588 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags... " >&6; }
10589 if eval test \${$as_ac_var+y}
10591 printf %s "(cached) " >&6
10593 ac_wine_try_cflags_saved=$CFLAGS
10594 ac_wine_try_cflags_saved_exeext=$ac_exeext
10595 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags"
10597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10598 /* end confdefs.h. */
10599 int __cdecl mainCRTStartup(void) { return 0; }
10601 if ac_fn_c_try_link "$LINENO"
10603 eval "$as_ac_var=yes"
10605 eval "$as_ac_var=no"
10607 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10608 conftest$ac_exeext conftest.$ac_ext
10609 CFLAGS=$ac_wine_try_cflags_saved
10610 ac_exeext=$ac_wine_try_cflags_saved_exeext
10612 eval ac_res=\$$as_ac_var
10613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10614 printf "%s\n" "$ac_res" >&6; }
10615 if eval test \"x\$"$as_ac_var"\" = x"yes"
10617 target=$llvm_target
10618 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10619 as_fn_append ${wine_arch}_EXTRACFLAGS " $llvm_extra_cflags"
10620 CFLAGS="$llvm_extra_cflags $llvm_cflags"
10622 eval "${wine_arch}_TARGET=\$target"
10626 if test -z "$target"
10629 CFLAGS=$saved_CFLAGS
10630 LDFLAGS=$saved_LDFLAGS
10634 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" |
$as_tr_sh`
10636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10637 printf %s "checking for $CC option to enable C99 features... " >&6; }
10638 if eval test \${$as_wine_cv_crosscc_c99+y}
10640 printf %s "(cached) " >&6
10642 eval "$as_wine_cv_crosscc_c99=no"
10643 for arg in '' '-std=gnu99' '-D__STDC__'
10645 test -z "$arg" || CC="$CC $arg"
10646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10647 /* end confdefs.h. */
10648 $ac_c_conftest_c99_program
10650 if ac_fn_c_try_compile "$LINENO"
10652 eval "$as_wine_cv_crosscc_c99=\$arg"
10654 eval "$as_wine_cv_crosscc_c99=no"
10656 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10657 eval CC=\$${wine_arch}_CC
10658 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10667 eval res=\$$as_wine_cv_crosscc_c99
10670 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10671 printf "%s\n" "none needed" >&6; } ;;
10672 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10673 printf "%s\n" "unsupported" >&6; }
10675 CFLAGS=$saved_CFLAGS
10676 LDFLAGS=$saved_LDFLAGS
10679 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10680 printf "%s\n" "$res" >&6; }
10681 as_fn_append ${wine_arch}_CC " $res" ;;
10684 as_fn_append PE_ARCHS " $wine_arch"
10685 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" |
$as_tr_sh`
10686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10687 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10688 if eval test \${$as_ac_var+y}
10690 printf %s "(cached) " >&6
10692 ac_wine_try_cflags_saved=$CFLAGS
10693 ac_wine_try_cflags_saved_exeext=$ac_exeext
10694 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-strict-aliasing"
10696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10697 /* end confdefs.h. */
10698 int __cdecl mainCRTStartup(void) { return 0; }
10700 if ac_fn_c_try_link "$LINENO"
10702 eval "$as_ac_var=yes"
10704 eval "$as_ac_var=no"
10706 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10707 conftest$ac_exeext conftest.$ac_ext
10708 CFLAGS=$ac_wine_try_cflags_saved
10709 ac_exeext=$ac_wine_try_cflags_saved_exeext
10711 eval ac_res=\$$as_ac_var
10712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10713 printf "%s\n" "$ac_res" >&6; }
10714 if eval test \"x\$"$as_ac_var"\" = x"yes"
10716 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10718 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" |
$as_tr_sh`
10719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10720 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10721 if eval test \${$as_ac_var+y}
10723 printf %s "(cached) " >&6
10725 ac_wine_try_cflags_saved=$CFLAGS
10726 ac_wine_try_cflags_saved_exeext=$ac_exeext
10727 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=unknown-warning-option"
10729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10730 /* end confdefs.h. */
10731 int __cdecl mainCRTStartup(void) { return 0; }
10733 if ac_fn_c_try_link "$LINENO"
10735 eval "$as_ac_var=yes"
10737 eval "$as_ac_var=no"
10739 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10740 conftest$ac_exeext conftest.$ac_ext
10741 CFLAGS=$ac_wine_try_cflags_saved
10742 ac_exeext=$ac_wine_try_cflags_saved_exeext
10744 eval ac_res=\$$as_ac_var
10745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10746 printf "%s\n" "$ac_res" >&6; }
10747 if eval test \"x\$"$as_ac_var"\" = x"yes"
10749 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10751 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" |
$as_tr_sh`
10752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
10753 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
10754 if eval test \${$as_ac_var+y}
10756 printf %s "(cached) " >&6
10758 ac_wine_try_cflags_saved=$CFLAGS
10759 ac_wine_try_cflags_saved_exeext=$ac_exeext
10760 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=ignored-optimization-argument"
10762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10763 /* end confdefs.h. */
10764 int __cdecl mainCRTStartup(void) { return 0; }
10766 if ac_fn_c_try_link "$LINENO"
10768 eval "$as_ac_var=yes"
10770 eval "$as_ac_var=no"
10772 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10773 conftest$ac_exeext conftest.$ac_ext
10774 CFLAGS=$ac_wine_try_cflags_saved
10775 ac_exeext=$ac_wine_try_cflags_saved_exeext
10777 eval ac_res=\$$as_ac_var
10778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10779 printf "%s\n" "$ac_res" >&6; }
10780 if eval test \"x\$"$as_ac_var"\" = x"yes"
10782 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10784 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" |
$as_tr_sh`
10785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
10786 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
10787 if eval test \${$as_ac_var+y}
10789 printf %s "(cached) " >&6
10791 ac_wine_try_cflags_saved=$CFLAGS
10792 ac_wine_try_cflags_saved_exeext=$ac_exeext
10793 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wdeclaration-after-statement"
10795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10796 /* end confdefs.h. */
10797 int __cdecl mainCRTStartup(void) { return 0; }
10799 if ac_fn_c_try_link "$LINENO"
10801 eval "$as_ac_var=yes"
10803 eval "$as_ac_var=no"
10805 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10806 conftest$ac_exeext conftest.$ac_ext
10807 CFLAGS=$ac_wine_try_cflags_saved
10808 ac_exeext=$ac_wine_try_cflags_saved_exeext
10810 eval ac_res=\$$as_ac_var
10811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10812 printf "%s\n" "$ac_res" >&6; }
10813 if eval test \"x\$"$as_ac_var"\" = x"yes"
10815 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
10817 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" |
$as_tr_sh`
10818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
10819 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
10820 if eval test \${$as_ac_var+y}
10822 printf %s "(cached) " >&6
10824 ac_wine_try_cflags_saved=$CFLAGS
10825 ac_wine_try_cflags_saved_exeext=$ac_exeext
10826 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wempty-body"
10828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10829 /* end confdefs.h. */
10830 int __cdecl mainCRTStartup(void) { return 0; }
10832 if ac_fn_c_try_link "$LINENO"
10834 eval "$as_ac_var=yes"
10836 eval "$as_ac_var=no"
10838 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10839 conftest$ac_exeext conftest.$ac_ext
10840 CFLAGS=$ac_wine_try_cflags_saved
10841 ac_exeext=$ac_wine_try_cflags_saved_exeext
10843 eval ac_res=\$$as_ac_var
10844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10845 printf "%s\n" "$ac_res" >&6; }
10846 if eval test \"x\$"$as_ac_var"\" = x"yes"
10848 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
10850 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" |
$as_tr_sh`
10851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
10852 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
10853 if eval test \${$as_ac_var+y}
10855 printf %s "(cached) " >&6
10857 ac_wine_try_cflags_saved=$CFLAGS
10858 ac_wine_try_cflags_saved_exeext=$ac_exeext
10859 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wignored-qualifiers"
10861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10862 /* end confdefs.h. */
10863 int __cdecl mainCRTStartup(void) { return 0; }
10865 if ac_fn_c_try_link "$LINENO"
10867 eval "$as_ac_var=yes"
10869 eval "$as_ac_var=no"
10871 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10872 conftest$ac_exeext conftest.$ac_ext
10873 CFLAGS=$ac_wine_try_cflags_saved
10874 ac_exeext=$ac_wine_try_cflags_saved_exeext
10876 eval ac_res=\$$as_ac_var
10877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10878 printf "%s\n" "$ac_res" >&6; }
10879 if eval test \"x\$"$as_ac_var"\" = x"yes"
10881 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
10883 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" |
$as_tr_sh`
10884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
10885 printf %s "checking whether $CC supports -Winit-self... " >&6; }
10886 if eval test \${$as_ac_var+y}
10888 printf %s "(cached) " >&6
10890 ac_wine_try_cflags_saved=$CFLAGS
10891 ac_wine_try_cflags_saved_exeext=$ac_exeext
10892 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Winit-self"
10894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10895 /* end confdefs.h. */
10896 int __cdecl mainCRTStartup(void) { return 0; }
10898 if ac_fn_c_try_link "$LINENO"
10900 eval "$as_ac_var=yes"
10902 eval "$as_ac_var=no"
10904 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10905 conftest$ac_exeext conftest.$ac_ext
10906 CFLAGS=$ac_wine_try_cflags_saved
10907 ac_exeext=$ac_wine_try_cflags_saved_exeext
10909 eval ac_res=\$$as_ac_var
10910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10911 printf "%s\n" "$ac_res" >&6; }
10912 if eval test \"x\$"$as_ac_var"\" = x"yes"
10914 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
10916 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" |
$as_tr_sh`
10917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
10918 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
10919 if eval test \${$as_ac_var+y}
10921 printf %s "(cached) " >&6
10923 ac_wine_try_cflags_saved=$CFLAGS
10924 ac_wine_try_cflags_saved_exeext=$ac_exeext
10925 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpacked-not-aligned"
10927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10928 /* end confdefs.h. */
10929 int __cdecl mainCRTStartup(void) { return 0; }
10931 if ac_fn_c_try_link "$LINENO"
10933 eval "$as_ac_var=yes"
10935 eval "$as_ac_var=no"
10937 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10938 conftest$ac_exeext conftest.$ac_ext
10939 CFLAGS=$ac_wine_try_cflags_saved
10940 ac_exeext=$ac_wine_try_cflags_saved_exeext
10942 eval ac_res=\$$as_ac_var
10943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10944 printf "%s\n" "$ac_res" >&6; }
10945 if eval test \"x\$"$as_ac_var"\" = x"yes"
10947 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
10949 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" |
$as_tr_sh`
10950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
10951 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
10952 if eval test \${$as_ac_var+y}
10954 printf %s "(cached) " >&6
10956 ac_wine_try_cflags_saved=$CFLAGS
10957 ac_wine_try_cflags_saved_exeext=$ac_exeext
10958 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpragma-pack"
10960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10961 /* end confdefs.h. */
10962 int __cdecl mainCRTStartup(void) { return 0; }
10964 if ac_fn_c_try_link "$LINENO"
10966 eval "$as_ac_var=yes"
10968 eval "$as_ac_var=no"
10970 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10971 conftest$ac_exeext conftest.$ac_ext
10972 CFLAGS=$ac_wine_try_cflags_saved
10973 ac_exeext=$ac_wine_try_cflags_saved_exeext
10975 eval ac_res=\$$as_ac_var
10976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10977 printf "%s\n" "$ac_res" >&6; }
10978 if eval test \"x\$"$as_ac_var"\" = x"yes"
10980 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
10982 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" |
$as_tr_sh`
10983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
10984 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
10985 if eval test \${$as_ac_var+y}
10987 printf %s "(cached) " >&6
10989 ac_wine_try_cflags_saved=$CFLAGS
10990 ac_wine_try_cflags_saved_exeext=$ac_exeext
10991 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wshift-overflow=2"
10993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10994 /* end confdefs.h. */
10995 int __cdecl mainCRTStartup(void) { return 0; }
10997 if ac_fn_c_try_link "$LINENO"
10999 eval "$as_ac_var=yes"
11001 eval "$as_ac_var=no"
11003 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11004 conftest$ac_exeext conftest.$ac_ext
11005 CFLAGS=$ac_wine_try_cflags_saved
11006 ac_exeext=$ac_wine_try_cflags_saved_exeext
11008 eval ac_res=\$$as_ac_var
11009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11010 printf "%s\n" "$ac_res" >&6; }
11011 if eval test \"x\$"$as_ac_var"\" = x"yes"
11013 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11015 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" |
$as_tr_sh`
11016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11017 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11018 if eval test \${$as_ac_var+y}
11020 printf %s "(cached) " >&6
11022 ac_wine_try_cflags_saved=$CFLAGS
11023 ac_wine_try_cflags_saved_exeext=$ac_exeext
11024 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wstrict-prototypes"
11026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11027 /* end confdefs.h. */
11028 int __cdecl mainCRTStartup(void) { return 0; }
11030 if ac_fn_c_try_link "$LINENO"
11032 eval "$as_ac_var=yes"
11034 eval "$as_ac_var=no"
11036 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11037 conftest$ac_exeext conftest.$ac_ext
11038 CFLAGS=$ac_wine_try_cflags_saved
11039 ac_exeext=$ac_wine_try_cflags_saved_exeext
11041 eval ac_res=\$$as_ac_var
11042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11043 printf "%s\n" "$ac_res" >&6; }
11044 if eval test \"x\$"$as_ac_var"\" = x"yes"
11046 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11048 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" |
$as_tr_sh`
11049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11050 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11051 if eval test \${$as_ac_var+y}
11053 printf %s "(cached) " >&6
11055 ac_wine_try_cflags_saved=$CFLAGS
11056 ac_wine_try_cflags_saved_exeext=$ac_exeext
11057 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wtype-limits"
11059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11060 /* end confdefs.h. */
11061 int __cdecl mainCRTStartup(void) { return 0; }
11063 if ac_fn_c_try_link "$LINENO"
11065 eval "$as_ac_var=yes"
11067 eval "$as_ac_var=no"
11069 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11070 conftest$ac_exeext conftest.$ac_ext
11071 CFLAGS=$ac_wine_try_cflags_saved
11072 ac_exeext=$ac_wine_try_cflags_saved_exeext
11074 eval ac_res=\$$as_ac_var
11075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11076 printf "%s\n" "$ac_res" >&6; }
11077 if eval test \"x\$"$as_ac_var"\" = x"yes"
11079 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11081 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" |
$as_tr_sh`
11082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11083 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11084 if eval test \${$as_ac_var+y}
11086 printf %s "(cached) " >&6
11088 ac_wine_try_cflags_saved=$CFLAGS
11089 ac_wine_try_cflags_saved_exeext=$ac_exeext
11090 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wunused-but-set-parameter"
11092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11093 /* end confdefs.h. */
11094 int __cdecl mainCRTStartup(void) { return 0; }
11096 if ac_fn_c_try_link "$LINENO"
11098 eval "$as_ac_var=yes"
11100 eval "$as_ac_var=no"
11102 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11103 conftest$ac_exeext conftest.$ac_ext
11104 CFLAGS=$ac_wine_try_cflags_saved
11105 ac_exeext=$ac_wine_try_cflags_saved_exeext
11107 eval ac_res=\$$as_ac_var
11108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11109 printf "%s\n" "$ac_res" >&6; }
11110 if eval test \"x\$"$as_ac_var"\" = x"yes"
11112 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11114 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" |
$as_tr_sh`
11115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11116 printf %s "checking whether $CC supports -Wvla... " >&6; }
11117 if eval test \${$as_ac_var+y}
11119 printf %s "(cached) " >&6
11121 ac_wine_try_cflags_saved=$CFLAGS
11122 ac_wine_try_cflags_saved_exeext=$ac_exeext
11123 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wvla"
11125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11126 /* end confdefs.h. */
11127 int __cdecl mainCRTStartup(void) { return 0; }
11129 if ac_fn_c_try_link "$LINENO"
11131 eval "$as_ac_var=yes"
11133 eval "$as_ac_var=no"
11135 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11136 conftest$ac_exeext conftest.$ac_ext
11137 CFLAGS=$ac_wine_try_cflags_saved
11138 ac_exeext=$ac_wine_try_cflags_saved_exeext
11140 eval ac_res=\$$as_ac_var
11141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11142 printf "%s\n" "$ac_res" >&6; }
11143 if eval test \"x\$"$as_ac_var"\" = x"yes"
11145 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11147 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" |
$as_tr_sh`
11148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11149 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11150 if eval test \${$as_ac_var+y}
11152 printf %s "(cached) " >&6
11154 ac_wine_try_cflags_saved=$CFLAGS
11155 ac_wine_try_cflags_saved_exeext=$ac_exeext
11156 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wwrite-strings"
11158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11159 /* end confdefs.h. */
11160 int __cdecl mainCRTStartup(void) { return 0; }
11162 if ac_fn_c_try_link "$LINENO"
11164 eval "$as_ac_var=yes"
11166 eval "$as_ac_var=no"
11168 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11169 conftest$ac_exeext conftest.$ac_ext
11170 CFLAGS=$ac_wine_try_cflags_saved
11171 ac_exeext=$ac_wine_try_cflags_saved_exeext
11173 eval ac_res=\$$as_ac_var
11174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11175 printf "%s\n" "$ac_res" >&6; }
11176 if eval test \"x\$"$as_ac_var"\" = x"yes"
11178 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11180 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" |
$as_tr_sh`
11181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11182 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11183 if eval test \${$as_ac_var+y}
11185 printf %s "(cached) " >&6
11187 ac_wine_try_cflags_saved=$CFLAGS
11188 ac_wine_try_cflags_saved_exeext=$ac_exeext
11189 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpointer-arith"
11191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11192 /* end confdefs.h. */
11193 int __cdecl mainCRTStartup(void) { return 0; }
11195 if ac_fn_c_try_link "$LINENO"
11197 eval "$as_ac_var=yes"
11199 eval "$as_ac_var=no"
11201 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11202 conftest$ac_exeext conftest.$ac_ext
11203 CFLAGS=$ac_wine_try_cflags_saved
11204 ac_exeext=$ac_wine_try_cflags_saved_exeext
11206 eval ac_res=\$$as_ac_var
11207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11208 printf "%s\n" "$ac_res" >&6; }
11209 if eval test \"x\$"$as_ac_var"\" = x"yes"
11211 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11213 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" |
$as_tr_sh`
11214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11215 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11216 if eval test \${$as_ac_var+y}
11218 printf %s "(cached) " >&6
11220 ac_wine_try_cflags_saved=$CFLAGS
11221 ac_wine_try_cflags_saved_exeext=$ac_exeext
11222 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wlogical-op"
11224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11225 /* end confdefs.h. */
11226 int __cdecl mainCRTStartup(void) { return 0; }
11228 if ac_fn_c_try_link "$LINENO"
11230 eval "$as_ac_var=yes"
11232 eval "$as_ac_var=no"
11234 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11235 conftest$ac_exeext conftest.$ac_ext
11236 CFLAGS=$ac_wine_try_cflags_saved
11237 ac_exeext=$ac_wine_try_cflags_saved_exeext
11239 eval ac_res=\$$as_ac_var
11240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11241 printf "%s\n" "$ac_res" >&6; }
11242 if eval test \"x\$"$as_ac_var"\" = x"yes"
11244 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11246 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" |
$as_tr_sh`
11247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11248 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11249 if eval test \${$as_ac_var+y}
11251 printf %s "(cached) " >&6
11253 ac_wine_try_cflags_saved=$CFLAGS
11254 ac_wine_try_cflags_saved_exeext=$ac_exeext
11255 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wabsolute-value"
11257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11258 /* end confdefs.h. */
11259 int __cdecl mainCRTStartup(void) { return 0; }
11261 if ac_fn_c_try_link "$LINENO"
11263 eval "$as_ac_var=yes"
11265 eval "$as_ac_var=no"
11267 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11268 conftest$ac_exeext conftest.$ac_ext
11269 CFLAGS=$ac_wine_try_cflags_saved
11270 ac_exeext=$ac_wine_try_cflags_saved_exeext
11272 eval ac_res=\$$as_ac_var
11273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11274 printf "%s\n" "$ac_res" >&6; }
11275 if eval test \"x\$"$as_ac_var"\" = x"yes"
11277 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11281 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" |
$as_tr_sh`
11282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11283 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11284 if eval test \${$as_ac_var+y}
11286 printf %s "(cached) " >&6
11288 ac_wine_try_cflags_saved=$CFLAGS
11289 ac_wine_try_cflags_saved_exeext=$ac_exeext
11290 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-omit-frame-pointer"
11292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11293 /* end confdefs.h. */
11294 int __cdecl mainCRTStartup(void) { return 0; }
11296 if ac_fn_c_try_link "$LINENO"
11298 eval "$as_ac_var=yes"
11300 eval "$as_ac_var=no"
11302 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11303 conftest$ac_exeext conftest.$ac_ext
11304 CFLAGS=$ac_wine_try_cflags_saved
11305 ac_exeext=$ac_wine_try_cflags_saved_exeext
11307 eval ac_res=\$$as_ac_var
11308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11309 printf "%s\n" "$ac_res" >&6; }
11310 if eval test \"x\$"$as_ac_var"\" = x"yes"
11312 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11314 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" |
$as_tr_sh`
11315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11316 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11317 if eval test \${$as_ac_var+y}
11319 printf %s "(cached) " >&6
11321 ac_wine_try_cflags_saved=$CFLAGS
11322 ac_wine_try_cflags_saved_exeext=$ac_exeext
11323 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--disable-stdcall-fixup"
11325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11326 /* end confdefs.h. */
11327 int __cdecl mainCRTStartup(void) { return 0; }
11329 if ac_fn_c_try_link "$LINENO"
11331 eval "$as_ac_var=yes"
11333 eval "$as_ac_var=no"
11335 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11336 conftest$ac_exeext conftest.$ac_ext
11337 CFLAGS=$ac_wine_try_cflags_saved
11338 ac_exeext=$ac_wine_try_cflags_saved_exeext
11340 eval ac_res=\$$as_ac_var
11341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11342 printf "%s\n" "$ac_res" >&6; }
11343 if eval test \"x\$"$as_ac_var"\" = x"yes"
11345 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11347 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" |
$as_tr_sh`
11348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11349 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11350 if eval test \${$as_ac_var+y}
11352 printf %s "(cached) " >&6
11354 ac_wine_try_cflags_saved=$CFLAGS
11355 ac_wine_try_cflags_saved_exeext=$ac_exeext
11356 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wformat-overflow"
11358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11359 /* end confdefs.h. */
11360 int __cdecl mainCRTStartup(void) { return 0; }
11362 if ac_fn_c_try_link "$LINENO"
11364 eval "$as_ac_var=yes"
11366 eval "$as_ac_var=no"
11368 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11369 conftest$ac_exeext conftest.$ac_ext
11370 CFLAGS=$ac_wine_try_cflags_saved
11371 ac_exeext=$ac_wine_try_cflags_saved_exeext
11373 eval ac_res=\$$as_ac_var
11374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11375 printf "%s\n" "$ac_res" >&6; }
11376 if eval test \"x\$"$as_ac_var"\" = x"yes"
11378 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11380 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" |
$as_tr_sh`
11381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11382 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11383 if eval test \${$as_ac_var+y}
11385 printf %s "(cached) " >&6
11387 ac_wine_try_cflags_saved=$CFLAGS
11388 ac_wine_try_cflags_saved_exeext=$ac_exeext
11389 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wnonnull"
11391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11392 /* end confdefs.h. */
11393 int __cdecl mainCRTStartup(void) { return 0; }
11395 if ac_fn_c_try_link "$LINENO"
11397 eval "$as_ac_var=yes"
11399 eval "$as_ac_var=no"
11401 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11402 conftest$ac_exeext conftest.$ac_ext
11403 CFLAGS=$ac_wine_try_cflags_saved
11404 ac_exeext=$ac_wine_try_cflags_saved_exeext
11406 eval ac_res=\$$as_ac_var
11407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11408 printf "%s\n" "$ac_res" >&6; }
11409 if eval test \"x\$"$as_ac_var"\" = x"yes"
11411 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11413 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" |
$as_tr_sh`
11414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11415 printf %s "checking whether $CC supports -mcx16... " >&6; }
11416 if eval test \${$as_ac_var+y}
11418 printf %s "(cached) " >&6
11420 ac_wine_try_cflags_saved=$CFLAGS
11421 ac_wine_try_cflags_saved_exeext=$ac_exeext
11422 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcx16"
11424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11425 /* end confdefs.h. */
11426 int __cdecl mainCRTStartup(void) { return 0; }
11428 if ac_fn_c_try_link "$LINENO"
11430 eval "$as_ac_var=yes"
11432 eval "$as_ac_var=no"
11434 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11435 conftest$ac_exeext conftest.$ac_ext
11436 CFLAGS=$ac_wine_try_cflags_saved
11437 ac_exeext=$ac_wine_try_cflags_saved_exeext
11439 eval ac_res=\$$as_ac_var
11440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11441 printf "%s\n" "$ac_res" >&6; }
11442 if eval test \"x\$"$as_ac_var"\" = x"yes"
11444 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11446 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcmodel=small" |
$as_tr_sh`
11447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcmodel=small" >&5
11448 printf %s "checking whether $CC supports -mcmodel=small... " >&6; }
11449 if eval test \${$as_ac_var+y}
11451 printf %s "(cached) " >&6
11453 ac_wine_try_cflags_saved=$CFLAGS
11454 ac_wine_try_cflags_saved_exeext=$ac_exeext
11455 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcmodel=small"
11457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11458 /* end confdefs.h. */
11459 int __cdecl mainCRTStartup(void) { return 0; }
11461 if ac_fn_c_try_link "$LINENO"
11463 eval "$as_ac_var=yes"
11465 eval "$as_ac_var=no"
11467 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11468 conftest$ac_exeext conftest.$ac_ext
11469 CFLAGS=$ac_wine_try_cflags_saved
11470 ac_exeext=$ac_wine_try_cflags_saved_exeext
11472 eval ac_res=\$$as_ac_var
11473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11474 printf "%s\n" "$ac_res" >&6; }
11475 if eval test \"x\$"$as_ac_var"\" = x"yes"
11477 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcmodel=small"
11481 wine_crossdebug=$CROSSDEBUG
11482 if test -z "$wine_crossdebug"
11484 for ac_flag in $CFLAGS; do
11486 -gdwarf*) wine_crossdebug=dwarf ;;
11487 -gcodeview) wine_crossdebug=pdb ;;
11488 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11493 ac_debug_format_seen=""
11494 for ac_flag in $CFLAGS; do
11496 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11499 if test "x$ac_debug_format_seen" = x
11501 case $wine_crossdebug in
11502 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" |
$as_tr_sh`
11503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11504 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11505 if eval test \${$as_ac_var+y}
11507 printf %s "(cached) " >&6
11509 ac_wine_try_cflags_saved=$CFLAGS
11510 ac_wine_try_cflags_saved_exeext=$ac_exeext
11511 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gdwarf-4"
11513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11514 /* end confdefs.h. */
11515 int __cdecl mainCRTStartup(void) { return 0; }
11517 if ac_fn_c_try_link "$LINENO"
11519 eval "$as_ac_var=yes"
11521 eval "$as_ac_var=no"
11523 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11524 conftest$ac_exeext conftest.$ac_ext
11525 CFLAGS=$ac_wine_try_cflags_saved
11526 ac_exeext=$ac_wine_try_cflags_saved_exeext
11528 eval ac_res=\$$as_ac_var
11529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11530 printf "%s\n" "$ac_res" >&6; }
11531 if eval test \"x\$"$as_ac_var"\" = x"yes"
11533 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11535 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" |
$as_tr_sh`
11536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11537 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11538 if eval test \${$as_ac_var+y}
11540 printf %s "(cached) " >&6
11542 ac_wine_try_cflags_saved=$CFLAGS
11543 ac_wine_try_cflags_saved_exeext=$ac_exeext
11544 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gcodeview"
11546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11547 /* end confdefs.h. */
11548 int __cdecl mainCRTStartup(void) { return 0; }
11550 if ac_fn_c_try_link "$LINENO"
11552 eval "$as_ac_var=yes"
11554 eval "$as_ac_var=no"
11556 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11557 conftest$ac_exeext conftest.$ac_ext
11558 CFLAGS=$ac_wine_try_cflags_saved
11559 ac_exeext=$ac_wine_try_cflags_saved_exeext
11561 eval ac_res=\$$as_ac_var
11562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11563 printf "%s\n" "$ac_res" >&6; }
11564 if eval test \"x\$"$as_ac_var"\" = x"yes"
11566 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11570 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11572 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" |
$as_tr_sh`
11573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11574 printf %s "checking whether $CC supports -Werror... " >&6; }
11575 if eval test \${$as_ac_var+y}
11577 printf %s "(cached) " >&6
11579 ac_wine_try_cflags_saved=$CFLAGS
11580 ac_wine_try_cflags_saved_exeext=$ac_exeext
11581 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror"
11583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11584 /* end confdefs.h. */
11585 int __cdecl mainCRTStartup(void) { return 0; }
11587 if ac_fn_c_try_link "$LINENO"
11589 eval "$as_ac_var=yes"
11591 eval "$as_ac_var=no"
11593 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11594 conftest$ac_exeext conftest.$ac_ext
11595 CFLAGS=$ac_wine_try_cflags_saved
11596 ac_exeext=$ac_wine_try_cflags_saved_exeext
11598 eval ac_res=\$$as_ac_var
11599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11600 printf "%s\n" "$ac_res" >&6; }
11601 if eval test \"x\$"$as_ac_var"\" = x"yes"
11603 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11605 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" |
$as_tr_sh`
11606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11607 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11608 if eval test \${$as_ac_var+y}
11610 printf %s "(cached) " >&6
11612 ac_wine_try_cflags_saved=$CFLAGS
11613 ac_wine_try_cflags_saved_exeext=$ac_exeext
11614 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--build-id"
11616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11617 /* end confdefs.h. */
11618 int __cdecl mainCRTStartup(void) { return 0; }
11620 if ac_fn_c_try_link "$LINENO"
11622 eval "$as_ac_var=yes"
11624 eval "$as_ac_var=no"
11626 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11627 conftest$ac_exeext conftest.$ac_ext
11628 CFLAGS=$ac_wine_try_cflags_saved
11629 ac_exeext=$ac_wine_try_cflags_saved_exeext
11631 eval ac_res=\$$as_ac_var
11632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11633 printf "%s\n" "$ac_res" >&6; }
11634 if eval test \"x\$"$as_ac_var"\" = x"yes"
11636 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
11637 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
11641 CFLAGS=$saved_CFLAGS
11642 LDFLAGS=$saved_LDFLAGS
11645 if test $HOST_ARCH = aarch64
11647 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
11650 if test "x$PE_ARCHS" = "x"
11652 case "x$with_mingw" in
11653 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
11655 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
11656 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
11663 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
11665 case "$host_cpu" in
11667 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11669 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11671 for ac_prog in $ac_prefix_list
11673 # Extract the first word of "$ac_prog", so it can be a program name with args.
11674 set dummy $ac_prog; ac_word=$2
11675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11676 printf %s "checking for $ac_word... " >&6; }
11677 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11679 printf %s "(cached) " >&6
11681 if test -n "$MINGW_PKG_CONFIG"; then
11682 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11685 for as_dir in $PATH
11688 case $as_dir in #(((
11691 *) as_dir=$as_dir/ ;;
11693 for ac_exec_ext in '' $ac_executable_extensions; do
11694 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11695 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11696 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11705 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11706 if test -n "$MINGW_PKG_CONFIG"; then
11707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11708 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
11710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11711 printf "%s\n" "no" >&6; }
11715 test -n "$MINGW_PKG_CONFIG" && break
11717 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
11719 if ${FAUDIO_PE_CFLAGS:+false} :
11721 if test ${MINGW_PKG_CONFIG+y}
11723 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio
2>/dev
/null
`
11726 if ${FAUDIO_PE_LIBS:+false} :
11728 if test ${MINGW_PKG_CONFIG+y}
11730 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio
2>/dev
/null
`
11733 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
11734 ac_save_CPPFLAGS=$CPPFLAGS
11735 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
11736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
11737 printf %s "checking for MinGW FAudio.h... " >&6; }
11738 if test ${ac_cv_mingw_header_FAudio_h+y}
11740 printf %s "(cached) " >&6
11742 ac_wine_check_headers_saved_cc=$CC
11743 ac_wine_check_headers_saved_exeext=$ac_exeext
11744 eval CC=\$${wine_arch}_CC
11746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11747 /* end confdefs.h. */
11749 #include <FAudio.h>
11758 if ac_fn_c_try_compile "$LINENO"
11760 ac_cv_mingw_header_FAudio_h=yes
11762 ac_cv_mingw_header_FAudio_h=no
11764 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11765 CC=$ac_wine_check_headers_saved_cc
11766 ac_exeext=$ac_wine_check_headers_saved_exeext
11768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
11769 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
11770 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
11772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
11773 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
11774 if test ${ac_cv_mingw_lib_FAudio+y}
11776 printf %s "(cached) " >&6
11778 ac_wine_check_headers_saved_cc=$CC
11779 ac_wine_check_headers_saved_exeext=$ac_exeext
11780 ac_wine_check_headers_saved_libs=$LIBS
11781 eval CC=\$${wine_arch}_CC
11783 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
11784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11785 /* end confdefs.h. */
11787 /* Override any GCC internal prototype to avoid an error.
11788 Use char because int might match the return type of a GCC
11789 builtin and then its argument prototype would still apply. */
11790 char FAudio_CommitOperationSet ();
11794 return FAudio_CommitOperationSet ();
11799 if ac_fn_c_try_link "$LINENO"
11801 ac_cv_mingw_lib_FAudio=yes
11803 ac_cv_mingw_lib_FAudio=no
11805 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11806 conftest$ac_exeext conftest.$ac_ext
11807 CC=$ac_wine_check_headers_saved_cc
11808 ac_exeext=$ac_wine_check_headers_saved_exeext
11809 LIBS=$ac_wine_check_headers_saved_libs
11811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
11812 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
11813 if test "x$ac_cv_mingw_lib_FAudio" = xyes
11817 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11820 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11822 CPPFLAGS=$ac_save_CPPFLAGS
11824 if test "x$FAUDIO_PE_LIBS" = "x"
11826 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
11829 if ${JPEG_PE_CFLAGS:+false} :
11831 if test ${MINGW_PKG_CONFIG+y}
11833 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg
2>/dev
/null
`
11836 if ${JPEG_PE_LIBS:+false} :
11838 if test ${MINGW_PKG_CONFIG+y}
11840 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg
2>/dev
/null
`
11844 ac_save_CPPFLAGS=$CPPFLAGS
11845 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
11846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
11847 printf %s "checking for MinGW jpeglib.h... " >&6; }
11848 if test ${ac_cv_mingw_header_jpeglib_h+y}
11850 printf %s "(cached) " >&6
11852 ac_wine_check_headers_saved_cc=$CC
11853 ac_wine_check_headers_saved_exeext=$ac_exeext
11854 eval CC=\$${wine_arch}_CC
11856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11857 /* end confdefs.h. */
11858 #include <stddef.h>
11860 #include <jpeglib.h>
11869 if ac_fn_c_try_compile "$LINENO"
11871 ac_cv_mingw_header_jpeglib_h=yes
11873 ac_cv_mingw_header_jpeglib_h=no
11875 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11876 CC=$ac_wine_check_headers_saved_cc
11877 ac_exeext=$ac_wine_check_headers_saved_exeext
11879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
11880 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
11881 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
11883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
11884 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
11885 if test ${ac_cv_mingw_lib_jpeg+y}
11887 printf %s "(cached) " >&6
11889 ac_wine_check_headers_saved_cc=$CC
11890 ac_wine_check_headers_saved_exeext=$ac_exeext
11891 ac_wine_check_headers_saved_libs=$LIBS
11892 eval CC=\$${wine_arch}_CC
11894 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
11895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11896 /* end confdefs.h. */
11898 /* Override any GCC internal prototype to avoid an error.
11899 Use char because int might match the return type of a GCC
11900 builtin and then its argument prototype would still apply. */
11901 char jpeg_start_decompress ();
11905 return jpeg_start_decompress ();
11910 if ac_fn_c_try_link "$LINENO"
11912 ac_cv_mingw_lib_jpeg=yes
11914 ac_cv_mingw_lib_jpeg=no
11916 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11917 conftest$ac_exeext conftest.$ac_ext
11918 CC=$ac_wine_check_headers_saved_cc
11919 ac_exeext=$ac_wine_check_headers_saved_exeext
11920 LIBS=$ac_wine_check_headers_saved_libs
11922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
11923 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
11924 if test "x$ac_cv_mingw_lib_jpeg" = xyes
11928 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
11931 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
11933 CPPFLAGS=$ac_save_CPPFLAGS
11935 if test "x$JPEG_PE_LIBS" = "x"
11937 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
11940 if ${LCMS2_PE_CFLAGS:+false} :
11942 if test ${MINGW_PKG_CONFIG+y}
11944 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2
2>/dev
/null
`
11947 if ${LCMS2_PE_LIBS:+false} :
11949 if test ${MINGW_PKG_CONFIG+y}
11951 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2
2>/dev
/null
`
11954 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
11955 ac_save_CPPFLAGS=$CPPFLAGS
11956 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
11957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
11958 printf %s "checking for MinGW lcms2.h... " >&6; }
11959 if test ${ac_cv_mingw_header_lcms2_h+y}
11961 printf %s "(cached) " >&6
11963 ac_wine_check_headers_saved_cc=$CC
11964 ac_wine_check_headers_saved_exeext=$ac_exeext
11965 eval CC=\$${wine_arch}_CC
11967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11968 /* end confdefs.h. */
11979 if ac_fn_c_try_compile "$LINENO"
11981 ac_cv_mingw_header_lcms2_h=yes
11983 ac_cv_mingw_header_lcms2_h=no
11985 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11986 CC=$ac_wine_check_headers_saved_cc
11987 ac_exeext=$ac_wine_check_headers_saved_exeext
11989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
11990 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
11991 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
11993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
11994 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
11995 if test ${ac_cv_mingw_lib_lcms2+y}
11997 printf %s "(cached) " >&6
11999 ac_wine_check_headers_saved_cc=$CC
12000 ac_wine_check_headers_saved_exeext=$ac_exeext
12001 ac_wine_check_headers_saved_libs=$LIBS
12002 eval CC=\$${wine_arch}_CC
12004 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12006 /* end confdefs.h. */
12008 /* Override any GCC internal prototype to avoid an error.
12009 Use char because int might match the return type of a GCC
12010 builtin and then its argument prototype would still apply. */
12011 char cmsOpenProfileFromFile ();
12015 return cmsOpenProfileFromFile ();
12020 if ac_fn_c_try_link "$LINENO"
12022 ac_cv_mingw_lib_lcms2=yes
12024 ac_cv_mingw_lib_lcms2=no
12026 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12027 conftest$ac_exeext conftest.$ac_ext
12028 CC=$ac_wine_check_headers_saved_cc
12029 ac_exeext=$ac_wine_check_headers_saved_exeext
12030 LIBS=$ac_wine_check_headers_saved_libs
12032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12033 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12034 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12038 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12041 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12043 CPPFLAGS=$ac_save_CPPFLAGS
12045 if test "x$LCMS2_PE_LIBS" = "x"
12047 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12050 if ${MPG123_PE_CFLAGS:+false} :
12052 if test ${MINGW_PKG_CONFIG+y}
12054 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123
2>/dev
/null
`
12057 if ${MPG123_PE_LIBS:+false} :
12059 if test ${MINGW_PKG_CONFIG+y}
12061 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123
2>/dev
/null
`
12064 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12065 ac_save_CPPFLAGS=$CPPFLAGS
12066 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12068 printf %s "checking for MinGW mpg123.h... " >&6; }
12069 if test ${ac_cv_mingw_header_mpg123_h+y}
12071 printf %s "(cached) " >&6
12073 ac_wine_check_headers_saved_cc=$CC
12074 ac_wine_check_headers_saved_exeext=$ac_exeext
12075 eval CC=\$${wine_arch}_CC
12077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12078 /* end confdefs.h. */
12080 #include <mpg123.h>
12089 if ac_fn_c_try_compile "$LINENO"
12091 ac_cv_mingw_header_mpg123_h=yes
12093 ac_cv_mingw_header_mpg123_h=no
12095 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12096 CC=$ac_wine_check_headers_saved_cc
12097 ac_exeext=$ac_wine_check_headers_saved_exeext
12099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12100 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12101 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12104 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12105 if test ${ac_cv_mingw_lib_mpg123+y}
12107 printf %s "(cached) " >&6
12109 ac_wine_check_headers_saved_cc=$CC
12110 ac_wine_check_headers_saved_exeext=$ac_exeext
12111 ac_wine_check_headers_saved_libs=$LIBS
12112 eval CC=\$${wine_arch}_CC
12114 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12116 /* end confdefs.h. */
12118 /* Override any GCC internal prototype to avoid an error.
12119 Use char because int might match the return type of a GCC
12120 builtin and then its argument prototype would still apply. */
12121 char mpg123_feed ();
12125 return mpg123_feed ();
12130 if ac_fn_c_try_link "$LINENO"
12132 ac_cv_mingw_lib_mpg123=yes
12134 ac_cv_mingw_lib_mpg123=no
12136 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12137 conftest$ac_exeext conftest.$ac_ext
12138 CC=$ac_wine_check_headers_saved_cc
12139 ac_exeext=$ac_wine_check_headers_saved_exeext
12140 LIBS=$ac_wine_check_headers_saved_libs
12142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12143 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12144 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12148 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12151 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12153 CPPFLAGS=$ac_save_CPPFLAGS
12155 if test "x$MPG123_PE_LIBS" = "x"
12157 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12160 if ${PNG_PE_CFLAGS:+false} :
12162 if test ${MINGW_PKG_CONFIG+y}
12164 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng
2>/dev
/null
`
12167 if ${PNG_PE_LIBS:+false} :
12169 if test ${MINGW_PKG_CONFIG+y}
12171 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng
2>/dev
/null
`
12175 ac_save_CPPFLAGS=$CPPFLAGS
12176 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12178 printf %s "checking for MinGW png.h... " >&6; }
12179 if test ${ac_cv_mingw_header_png_h+y}
12181 printf %s "(cached) " >&6
12183 ac_wine_check_headers_saved_cc=$CC
12184 ac_wine_check_headers_saved_exeext=$ac_exeext
12185 eval CC=\$${wine_arch}_CC
12187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12188 /* end confdefs.h. */
12199 if ac_fn_c_try_compile "$LINENO"
12201 ac_cv_mingw_header_png_h=yes
12203 ac_cv_mingw_header_png_h=no
12205 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12206 CC=$ac_wine_check_headers_saved_cc
12207 ac_exeext=$ac_wine_check_headers_saved_exeext
12209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12210 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12211 if test "x$ac_cv_mingw_header_png_h" = xyes
12213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12214 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12215 if test ${ac_cv_mingw_lib_png+y}
12217 printf %s "(cached) " >&6
12219 ac_wine_check_headers_saved_cc=$CC
12220 ac_wine_check_headers_saved_exeext=$ac_exeext
12221 ac_wine_check_headers_saved_libs=$LIBS
12222 eval CC=\$${wine_arch}_CC
12224 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12226 /* end confdefs.h. */
12228 /* Override any GCC internal prototype to avoid an error.
12229 Use char because int might match the return type of a GCC
12230 builtin and then its argument prototype would still apply. */
12231 char png_create_read_struct ();
12235 return png_create_read_struct ();
12240 if ac_fn_c_try_link "$LINENO"
12242 ac_cv_mingw_lib_png=yes
12244 ac_cv_mingw_lib_png=no
12246 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12247 conftest$ac_exeext conftest.$ac_ext
12248 CC=$ac_wine_check_headers_saved_cc
12249 ac_exeext=$ac_wine_check_headers_saved_exeext
12250 LIBS=$ac_wine_check_headers_saved_libs
12252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12253 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12254 if test "x$ac_cv_mingw_lib_png" = xyes
12258 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12261 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12263 CPPFLAGS=$ac_save_CPPFLAGS
12265 if test "x$PNG_PE_LIBS" = "x"
12267 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12270 if ${TIFF_PE_CFLAGS:+false} :
12272 if test ${MINGW_PKG_CONFIG+y}
12274 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4
2>/dev
/null
`
12277 if ${TIFF_PE_LIBS:+false} :
12279 if test ${MINGW_PKG_CONFIG+y}
12281 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4
2>/dev
/null
`
12285 ac_save_CPPFLAGS=$CPPFLAGS
12286 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12288 printf %s "checking for MinGW tiffio.h... " >&6; }
12289 if test ${ac_cv_mingw_header_tiffio_h+y}
12291 printf %s "(cached) " >&6
12293 ac_wine_check_headers_saved_cc=$CC
12294 ac_wine_check_headers_saved_exeext=$ac_exeext
12295 eval CC=\$${wine_arch}_CC
12297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12298 /* end confdefs.h. */
12300 #include <tiffio.h>
12309 if ac_fn_c_try_compile "$LINENO"
12311 ac_cv_mingw_header_tiffio_h=yes
12313 ac_cv_mingw_header_tiffio_h=no
12315 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12316 CC=$ac_wine_check_headers_saved_cc
12317 ac_exeext=$ac_wine_check_headers_saved_exeext
12319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12320 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12321 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12324 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12325 if test ${ac_cv_mingw_lib_tiff+y}
12327 printf %s "(cached) " >&6
12329 ac_wine_check_headers_saved_cc=$CC
12330 ac_wine_check_headers_saved_exeext=$ac_exeext
12331 ac_wine_check_headers_saved_libs=$LIBS
12332 eval CC=\$${wine_arch}_CC
12334 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12336 /* end confdefs.h. */
12338 /* Override any GCC internal prototype to avoid an error.
12339 Use char because int might match the return type of a GCC
12340 builtin and then its argument prototype would still apply. */
12341 char TIFFClientOpen ();
12345 return TIFFClientOpen ();
12350 if ac_fn_c_try_link "$LINENO"
12352 ac_cv_mingw_lib_tiff=yes
12354 ac_cv_mingw_lib_tiff=no
12356 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12357 conftest$ac_exeext conftest.$ac_ext
12358 CC=$ac_wine_check_headers_saved_cc
12359 ac_exeext=$ac_wine_check_headers_saved_exeext
12360 LIBS=$ac_wine_check_headers_saved_libs
12362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12363 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12364 if test "x$ac_cv_mingw_lib_tiff" = xyes
12368 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12371 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12373 CPPFLAGS=$ac_save_CPPFLAGS
12375 if test "x$TIFF_PE_LIBS" = "x"
12377 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12380 if ${XML2_PE_CFLAGS:+false} :
12382 if test ${MINGW_PKG_CONFIG+y}
12384 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0
2>/dev
/null
`
12387 if ${XML2_PE_LIBS:+false} :
12389 if test ${MINGW_PKG_CONFIG+y}
12391 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0
2>/dev
/null
`
12394 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12395 ac_save_CPPFLAGS=$CPPFLAGS
12396 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12398 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12399 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12401 printf %s "(cached) " >&6
12403 ac_wine_check_headers_saved_cc=$CC
12404 ac_wine_check_headers_saved_exeext=$ac_exeext
12405 eval CC=\$${wine_arch}_CC
12407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12408 /* end confdefs.h. */
12410 #include <libxml/parser.h>
12419 if ac_fn_c_try_compile "$LINENO"
12421 ac_cv_mingw_header_libxml_parser_h=yes
12423 ac_cv_mingw_header_libxml_parser_h=no
12425 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12426 CC=$ac_wine_check_headers_saved_cc
12427 ac_exeext=$ac_wine_check_headers_saved_exeext
12429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12430 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12431 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12436 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12437 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12439 printf %s "(cached) " >&6
12441 ac_wine_check_headers_saved_cc=$CC
12442 ac_wine_check_headers_saved_exeext=$ac_exeext
12443 eval CC=\$${wine_arch}_CC
12445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12446 /* end confdefs.h. */
12448 #include <libxml/xmlsave.h>
12457 if ac_fn_c_try_compile "$LINENO"
12459 ac_cv_mingw_header_libxml_xmlsave_h=yes
12461 ac_cv_mingw_header_libxml_xmlsave_h=no
12463 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12464 CC=$ac_wine_check_headers_saved_cc
12465 ac_exeext=$ac_wine_check_headers_saved_exeext
12467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12468 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12469 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12474 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12475 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12477 printf %s "(cached) " >&6
12479 ac_wine_check_headers_saved_cc=$CC
12480 ac_wine_check_headers_saved_exeext=$ac_exeext
12481 eval CC=\$${wine_arch}_CC
12483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12484 /* end confdefs.h. */
12486 #include <libxml/SAX2.h>
12495 if ac_fn_c_try_compile "$LINENO"
12497 ac_cv_mingw_header_libxml_SAX2_h=yes
12499 ac_cv_mingw_header_libxml_SAX2_h=no
12501 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12502 CC=$ac_wine_check_headers_saved_cc
12503 ac_exeext=$ac_wine_check_headers_saved_exeext
12505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12506 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12507 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12511 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"
12513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12514 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12515 if test ${ac_cv_mingw_lib_xml2+y}
12517 printf %s "(cached) " >&6
12519 ac_wine_check_headers_saved_cc=$CC
12520 ac_wine_check_headers_saved_exeext=$ac_exeext
12521 ac_wine_check_headers_saved_libs=$LIBS
12522 eval CC=\$${wine_arch}_CC
12524 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12526 /* end confdefs.h. */
12528 /* Override any GCC internal prototype to avoid an error.
12529 Use char because int might match the return type of a GCC
12530 builtin and then its argument prototype would still apply. */
12531 char xmlFirstElementChild ();
12535 return xmlFirstElementChild ();
12540 if ac_fn_c_try_link "$LINENO"
12542 ac_cv_mingw_lib_xml2=yes
12544 ac_cv_mingw_lib_xml2=no
12546 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12547 conftest$ac_exeext conftest.$ac_ext
12548 CC=$ac_wine_check_headers_saved_cc
12549 ac_exeext=$ac_wine_check_headers_saved_exeext
12550 LIBS=$ac_wine_check_headers_saved_libs
12552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12553 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12554 if test "x$ac_cv_mingw_lib_xml2" = xyes
12558 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12564 CPPFLAGS=$ac_save_CPPFLAGS
12566 if test "x$XML2_PE_LIBS" = "x"
12568 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12571 if ${XSLT_PE_CFLAGS:+false} :
12573 if test ${MINGW_PKG_CONFIG+y}
12575 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt
2>/dev
/null
`
12578 if ${XSLT_PE_LIBS:+false} :
12580 if test ${MINGW_PKG_CONFIG+y}
12582 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt
2>/dev
/null
`
12585 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12586 ac_save_CPPFLAGS=$CPPFLAGS
12587 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12589 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12590 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12592 printf %s "(cached) " >&6
12594 ac_wine_check_headers_saved_cc=$CC
12595 ac_wine_check_headers_saved_exeext=$ac_exeext
12596 eval CC=\$${wine_arch}_CC
12598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12599 /* end confdefs.h. */
12601 #include <libxslt/pattern.h>
12610 if ac_fn_c_try_compile "$LINENO"
12612 ac_cv_mingw_header_libxslt_pattern_h=yes
12614 ac_cv_mingw_header_libxslt_pattern_h=no
12616 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12617 CC=$ac_wine_check_headers_saved_cc
12618 ac_exeext=$ac_wine_check_headers_saved_exeext
12620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12621 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12622 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12627 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12628 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12630 printf %s "(cached) " >&6
12632 ac_wine_check_headers_saved_cc=$CC
12633 ac_wine_check_headers_saved_exeext=$ac_exeext
12634 eval CC=\$${wine_arch}_CC
12636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12637 /* end confdefs.h. */
12639 #include <libxslt/transform.h>
12648 if ac_fn_c_try_compile "$LINENO"
12650 ac_cv_mingw_header_libxslt_transform_h=yes
12652 ac_cv_mingw_header_libxslt_transform_h=no
12654 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12655 CC=$ac_wine_check_headers_saved_cc
12656 ac_exeext=$ac_wine_check_headers_saved_exeext
12658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12659 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12660 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12664 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12667 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12668 if test ${ac_cv_mingw_lib_xslt+y}
12670 printf %s "(cached) " >&6
12672 ac_wine_check_headers_saved_cc=$CC
12673 ac_wine_check_headers_saved_exeext=$ac_exeext
12674 ac_wine_check_headers_saved_libs=$LIBS
12675 eval CC=\$${wine_arch}_CC
12677 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12679 /* end confdefs.h. */
12681 /* Override any GCC internal prototype to avoid an error.
12682 Use char because int might match the return type of a GCC
12683 builtin and then its argument prototype would still apply. */
12684 char xsltCompilePattern ();
12688 return xsltCompilePattern ();
12693 if ac_fn_c_try_link "$LINENO"
12695 ac_cv_mingw_lib_xslt=yes
12697 ac_cv_mingw_lib_xslt=no
12699 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12700 conftest$ac_exeext conftest.$ac_ext
12701 CC=$ac_wine_check_headers_saved_cc
12702 ac_exeext=$ac_wine_check_headers_saved_exeext
12703 LIBS=$ac_wine_check_headers_saved_libs
12705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12706 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12707 if test "x$ac_cv_mingw_lib_xslt" = xyes
12711 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
12717 CPPFLAGS=$ac_save_CPPFLAGS
12719 if test "x$XSLT_PE_LIBS" = "x"
12721 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
12724 if ${VKD3D_PE_CFLAGS:+false} :
12726 if test ${MINGW_PKG_CONFIG+y}
12728 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader
2>/dev
/null
`
12731 if ${VKD3D_PE_LIBS:+false} :
12733 if test ${MINGW_PKG_CONFIG+y}
12735 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader
2>/dev
/null
`
12738 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
12739 ac_save_CPPFLAGS=$CPPFLAGS
12740 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
12741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
12742 printf %s "checking for MinGW vkd3d.h... " >&6; }
12743 if test ${ac_cv_mingw_header_vkd3d_h+y}
12745 printf %s "(cached) " >&6
12747 ac_wine_check_headers_saved_cc=$CC
12748 ac_wine_check_headers_saved_exeext=$ac_exeext
12749 eval CC=\$${wine_arch}_CC
12751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12752 /* end confdefs.h. */
12763 if ac_fn_c_try_compile "$LINENO"
12765 ac_cv_mingw_header_vkd3d_h=yes
12767 ac_cv_mingw_header_vkd3d_h=no
12769 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12770 CC=$ac_wine_check_headers_saved_cc
12771 ac_exeext=$ac_wine_check_headers_saved_exeext
12773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
12774 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
12775 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
12779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
12780 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
12781 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
12783 printf %s "(cached) " >&6
12785 ac_wine_check_headers_saved_cc=$CC
12786 ac_wine_check_headers_saved_exeext=$ac_exeext
12787 eval CC=\$${wine_arch}_CC
12789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12790 /* end confdefs.h. */
12792 #include <vkd3d_shader.h>
12801 if ac_fn_c_try_compile "$LINENO"
12803 ac_cv_mingw_header_vkd3d_shader_h=yes
12805 ac_cv_mingw_header_vkd3d_shader_h=no
12807 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12808 CC=$ac_wine_check_headers_saved_cc
12809 ac_exeext=$ac_wine_check_headers_saved_exeext
12811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
12812 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
12813 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
12817 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
12819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
12820 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
12821 if test ${ac_cv_mingw_lib_vkd3d+y}
12823 printf %s "(cached) " >&6
12825 ac_wine_check_headers_saved_cc=$CC
12826 ac_wine_check_headers_saved_exeext=$ac_exeext
12827 ac_wine_check_headers_saved_libs=$LIBS
12828 eval CC=\$${wine_arch}_CC
12830 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
12831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12832 /* end confdefs.h. */
12834 /* Override any GCC internal prototype to avoid an error.
12835 Use char because int might match the return type of a GCC
12836 builtin and then its argument prototype would still apply. */
12837 char vkd3d_set_log_callback ();
12841 return vkd3d_set_log_callback ();
12846 if ac_fn_c_try_link "$LINENO"
12848 ac_cv_mingw_lib_vkd3d=yes
12850 ac_cv_mingw_lib_vkd3d=no
12852 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12853 conftest$ac_exeext conftest.$ac_ext
12854 CC=$ac_wine_check_headers_saved_cc
12855 ac_exeext=$ac_wine_check_headers_saved_exeext
12856 LIBS=$ac_wine_check_headers_saved_libs
12858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
12859 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
12860 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
12866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_serialize_dxbc in MinGW -lvkd3d-shader" >&5
12867 printf %s "checking for vkd3d_shader_serialize_dxbc in MinGW -lvkd3d-shader... " >&6; }
12868 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
12870 printf %s "(cached) " >&6
12872 ac_wine_check_headers_saved_cc=$CC
12873 ac_wine_check_headers_saved_exeext=$ac_exeext
12874 ac_wine_check_headers_saved_libs=$LIBS
12875 eval CC=\$${wine_arch}_CC
12877 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
12878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12879 /* end confdefs.h. */
12881 /* Override any GCC internal prototype to avoid an error.
12882 Use char because int might match the return type of a GCC
12883 builtin and then its argument prototype would still apply. */
12884 char vkd3d_shader_serialize_dxbc ();
12888 return vkd3d_shader_serialize_dxbc ();
12893 if ac_fn_c_try_link "$LINENO"
12895 ac_cv_mingw_lib_vkd3d_shader=yes
12897 ac_cv_mingw_lib_vkd3d_shader=no
12899 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12900 conftest$ac_exeext conftest.$ac_ext
12901 CC=$ac_wine_check_headers_saved_cc
12902 ac_exeext=$ac_wine_check_headers_saved_exeext
12903 LIBS=$ac_wine_check_headers_saved_libs
12905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
12906 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
12907 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
12913 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
12922 CPPFLAGS=$ac_save_CPPFLAGS
12924 if test "x$VKD3D_PE_LIBS" = "x"
12926 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
12929 if ${ZLIB_PE_CFLAGS:+false} :
12931 if test ${MINGW_PKG_CONFIG+y}
12933 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib
2>/dev
/null
`
12936 if ${ZLIB_PE_LIBS:+false} :
12938 if test ${MINGW_PKG_CONFIG+y}
12940 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib
2>/dev
/null
`
12943 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
12944 ac_save_CPPFLAGS=$CPPFLAGS
12945 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
12946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
12947 printf %s "checking for MinGW zlib.h... " >&6; }
12948 if test ${ac_cv_mingw_header_zlib_h+y}
12950 printf %s "(cached) " >&6
12952 ac_wine_check_headers_saved_cc=$CC
12953 ac_wine_check_headers_saved_exeext=$ac_exeext
12954 eval CC=\$${wine_arch}_CC
12956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12957 /* end confdefs.h. */
12968 if ac_fn_c_try_compile "$LINENO"
12970 ac_cv_mingw_header_zlib_h=yes
12972 ac_cv_mingw_header_zlib_h=no
12974 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12975 CC=$ac_wine_check_headers_saved_cc
12976 ac_exeext=$ac_wine_check_headers_saved_exeext
12978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
12979 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
12980 if test "x$ac_cv_mingw_header_zlib_h" = xyes
12982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
12983 printf %s "checking for inflate in MinGW -lz... " >&6; }
12984 if test ${ac_cv_mingw_lib_z+y}
12986 printf %s "(cached) " >&6
12988 ac_wine_check_headers_saved_cc=$CC
12989 ac_wine_check_headers_saved_exeext=$ac_exeext
12990 ac_wine_check_headers_saved_libs=$LIBS
12991 eval CC=\$${wine_arch}_CC
12993 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
12994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12995 /* end confdefs.h. */
12997 /* Override any GCC internal prototype to avoid an error.
12998 Use char because int might match the return type of a GCC
12999 builtin and then its argument prototype would still apply. */
13009 if ac_fn_c_try_link "$LINENO"
13011 ac_cv_mingw_lib_z=yes
13013 ac_cv_mingw_lib_z=no
13015 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13016 conftest$ac_exeext conftest.$ac_ext
13017 CC=$ac_wine_check_headers_saved_cc
13018 ac_exeext=$ac_wine_check_headers_saved_exeext
13019 LIBS=$ac_wine_check_headers_saved_libs
13021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13022 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13023 if test "x$ac_cv_mingw_lib_z" = xyes
13027 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13030 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13032 CPPFLAGS=$ac_save_CPPFLAGS
13034 if test "x$ZLIB_PE_LIBS" = "x"
13036 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13040 if ${FAUDIO_PE_LIBS:+false} :
13042 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13043 if ${FAUDIO_PE_CFLAGS:+false} :
13045 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13052 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13053 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13055 if ${GSM_PE_LIBS:+false} :
13058 if ${GSM_PE_CFLAGS:+false} :
13060 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13067 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13068 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13070 if ${JPEG_PE_LIBS:+false} :
13073 if ${JPEG_PE_CFLAGS:+false} :
13075 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13082 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13083 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13085 if ${JXR_PE_LIBS:+false} :
13088 if ${JXR_PE_CFLAGS:+false} :
13090 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13097 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13098 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13100 if ${LCMS2_PE_LIBS:+false} :
13102 LCMS2_PE_LIBS=lcms2
13103 if ${LCMS2_PE_CFLAGS:+false} :
13105 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13112 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13113 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13115 if ${LDAP_PE_LIBS:+false} :
13118 if ${LDAP_PE_CFLAGS:+false} :
13120 LDAP_PE_CFLAGS="-I\$(top_srcdir)/libs/ldap/include"
13127 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap cflags: $LDAP_PE_CFLAGS" >&5
13128 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap libs: $LDAP_PE_LIBS" >&5
13130 if ${MPG123_PE_LIBS:+false} :
13132 MPG123_PE_LIBS=mpg123
13133 if ${MPG123_PE_CFLAGS:+false} :
13135 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13142 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13143 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13145 if ${MUSL_PE_LIBS:+false} :
13148 if ${MUSL_PE_CFLAGS:+false} :
13157 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl cflags: $MUSL_PE_CFLAGS" >&5
13158 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl libs: $MUSL_PE_LIBS" >&5
13160 if ${PNG_PE_LIBS:+false} :
13162 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13163 if ${PNG_PE_CFLAGS:+false} :
13165 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13172 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13173 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13175 if ${TIFF_PE_LIBS:+false} :
13177 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13178 if ${TIFF_PE_CFLAGS:+false} :
13180 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13187 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13188 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13190 if ${VKD3D_PE_LIBS:+false} :
13192 VKD3D_PE_LIBS=vkd3d
13193 if ${VKD3D_PE_CFLAGS:+false} :
13195 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13202 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13203 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13205 if ${XML2_PE_LIBS:+false} :
13208 if ${XML2_PE_CFLAGS:+false} :
13210 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13217 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13218 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13220 if ${XSLT_PE_LIBS:+false} :
13223 if ${XSLT_PE_CFLAGS:+false} :
13225 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13232 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13233 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13235 if ${ZLIB_PE_LIBS:+false} :
13238 if ${ZLIB_PE_CFLAGS:+false} :
13240 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13247 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13248 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13250 if ${ZYDIS_PE_LIBS:+false} :
13252 ZYDIS_PE_LIBS=zydis
13253 if ${ZYDIS_PE_CFLAGS:+false} :
13255 ZYDIS_PE_CFLAGS="-I\$(top_srcdir)/libs/zydis/include"
13262 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis cflags: $ZYDIS_PE_CFLAGS" >&5
13263 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis libs: $ZYDIS_PE_LIBS" >&5
13267 if test "$ac_cv_header_pthread_h" = "yes"
13269 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13270 if test "x$ac_cv_func_pthread_create" = xyes
13274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13275 printf %s "checking for pthread_create in -lpthread... " >&6; }
13276 if test ${ac_cv_lib_pthread_pthread_create+y}
13278 printf %s "(cached) " >&6
13280 ac_check_lib_save_LIBS=$LIBS
13281 LIBS="-lpthread $LIBS"
13282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13283 /* end confdefs.h. */
13285 /* Override any GCC internal prototype to avoid an error.
13286 Use char because int might match the return type of a GCC
13287 builtin and then its argument prototype would still apply. */
13288 char pthread_create ();
13292 return pthread_create ();
13297 if ac_fn_c_try_link "$LINENO"
13299 ac_cv_lib_pthread_pthread_create=yes
13301 ac_cv_lib_pthread_pthread_create=no
13303 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13304 conftest$ac_exeext conftest.$ac_ext
13305 LIBS=$ac_check_lib_save_LIBS
13307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13308 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13309 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13311 PTHREAD_LIBS="-lpthread"
13318 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13320 case "x$with_pthread" in
13322 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13323 Wine cannot support threads without libpthread.
13324 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13331 ac_cpp='$CPP $CPPFLAGS'
13332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13336 printf %s "checking how to run the C preprocessor... " >&6; }
13337 # On Suns, sometimes $CPP names a directory.
13338 if test -n "$CPP" && test -d "$CPP"; then
13341 if test -z "$CPP"; then
13342 if test ${ac_cv_prog_CPP+y}
13344 printf %s "(cached) " >&6
13346 # Double quotes because $CC needs to be expanded
13347 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13349 ac_preproc_ok=false
13350 for ac_c_preproc_warn_flag in '' yes
13352 # Use a header file that comes with gcc, so configuring glibc
13353 # with a fresh cross-compiler works.
13354 # On the NeXT, cc -E runs the code through the compiler's parser,
13355 # not just through cpp. "Syntax error" is here to catch this case.
13356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13357 /* end confdefs.h. */
13358 #include <limits.h>
13361 if ac_fn_c_try_cpp "$LINENO"
13365 # Broken: fails on valid input.
13368 rm -f conftest.err conftest.i conftest.$ac_ext
13370 # OK, works on sane cases. Now check whether nonexistent headers
13371 # can be detected and how.
13372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13373 /* end confdefs.h. */
13374 #include <ac_nonexistent.h>
13376 if ac_fn_c_try_cpp "$LINENO"
13378 # Broken: success on invalid input.
13381 # Passes both tests.
13385 rm -f conftest.err conftest.i conftest.$ac_ext
13388 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13389 rm -f conftest.i conftest.err conftest.
$ac_ext
13396 ac_cv_prog_CPP
=$CPP
13399 CPP
=$ac_cv_prog_CPP
13401 ac_cv_prog_CPP
=$CPP
13403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13404 printf "%s\n" "$CPP" >&6; }
13405 ac_preproc_ok
=false
13406 for ac_c_preproc_warn_flag
in '' yes
13408 # Use a header file that comes with gcc, so configuring glibc
13409 # with a fresh cross-compiler works.
13410 # On the NeXT, cc -E runs the code through the compiler's parser,
13411 # not just through cpp. "Syntax error" is here to catch this case.
13412 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13413 /* end confdefs.h. */
13414 #include <limits.h>
13417 if ac_fn_c_try_cpp
"$LINENO"
13421 # Broken: fails on valid input.
13424 rm -f conftest.err conftest.i conftest.
$ac_ext
13426 # OK, works on sane cases. Now check whether nonexistent headers
13427 # can be detected and how.
13428 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13429 /* end confdefs.h. */
13430 #include <ac_nonexistent.h>
13432 if ac_fn_c_try_cpp
"$LINENO"
13434 # Broken: success on invalid input.
13437 # Passes both tests.
13441 rm -f conftest.err conftest.i conftest.
$ac_ext
13444 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13445 rm -f conftest.i conftest.err conftest.
$ac_ext
13450 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13451 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13452 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
13453 See \`config.log' for more details" "$LINENO" 5; }
13457 ac_cpp
='$CPP $CPPFLAGS'
13458 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13459 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13460 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13464 printf %s
"checking for X... " >&6; }
13467 # Check whether --with-x was given.
13468 if test ${with_x+y}
13473 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13474 if test "x$with_x" = xno
; then
13475 # The user explicitly disabled X.
13478 case $x_includes,$x_libraries in #(
13479 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
13480 *,NONE | NONE
,*) if test ${ac_cv_have_x+y}
13482 printf %s
"(cached) " >&6
13484 # One or both of the vars are not set, and there is no cached value.
13487 # Do we need to do anything special at all?
13490 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13491 /* end confdefs.h. */
13492 #include <X11/Xlib.h>
13501 if ac_fn_c_try_link
"$LINENO"
13503 # We can compile and link X programs with no special options.
13507 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13508 conftest
$ac_exeext conftest.
$ac_ext
13509 LIBS
="$ac_save_LIBS"
13510 # If that didn't work, only try xmkmf and file system searches
13511 # for native compilation.
13512 if test x
"$ac_x_includes" = xno
&& test "$cross_compiling" = no
13514 rm -f -r conftest.dir
13515 if mkdir conftest.dir
; then
13517 cat >Imakefile
<<'_ACEOF'
13519 @echo incroot='${INCROOT}'
13521 @echo usrlibdir='${USRLIBDIR}'
13523 @echo libdir='${LIBDIR}'
13525 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
13526 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13527 for ac_var
in incroot usrlibdir libdir
; do
13528 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13530 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13531 for ac_extension
in a so sl dylib la dll
; do
13532 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13533 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13534 ac_im_usrlibdir
=$ac_im_libdir; break
13537 # Screen out bogus values from the imake configuration. They are
13538 # bogus both because they are the default anyway, and because
13539 # using them would break gcc on systems where it needs fixed includes.
13540 case $ac_im_incroot in
13541 /usr
/include
) ac_x_includes
= ;;
13542 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
13544 case $ac_im_usrlibdir in
13545 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
13546 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
13550 rm -f -r conftest.dir
13553 # Standard set of common directories for X headers.
13554 # Check X11 before X11Rn because it is often a symlink to the current release.
13568 /usr/local/X11/include
13569 /usr/local/X11R7/include
13570 /usr/local/X11R6/include
13571 /usr/local/X11R5/include
13572 /usr/local/X11R4/include
13574 /usr/local/include/X11
13575 /usr/local/include/X11R7
13576 /usr/local/include/X11R6
13577 /usr/local/include/X11R5
13578 /usr/local/include/X11R4
13584 /usr/XFree86/include/X11
13588 /usr/unsupported/include
13589 /usr/athena/include
13590 /usr/local/x11r5/include
13591 /usr/lpp/Xamples/include
13593 /usr/openwin/include
13594 /usr/openwin/share/include'
13596 if test "$ac_x_includes" = no
; then
13597 # Guess where to find include files, by looking for Xlib.h.
13598 # First, try using that file with no special directory specified.
13599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13600 /* end confdefs.h. */
13601 #include <X11/Xlib.h>
13603 if ac_fn_c_try_cpp
"$LINENO"
13605 # We can compile using X headers with no special include directory.
13608 for ac_dir
in $ac_x_header_dirs; do
13609 if test -r "$ac_dir/X11/Xlib.h"; then
13610 ac_x_includes
=$ac_dir
13615 rm -f conftest.err conftest.i conftest.
$ac_ext
13616 fi # $ac_x_includes = no
13618 if test "$ac_x_libraries" = no
; then
13619 # Check for the libraries.
13620 # See if we find them without any special options.
13621 # Don't add to $LIBS permanently.
13624 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13625 /* end confdefs.h. */
13626 #include <X11/Xlib.h>
13635 if ac_fn_c_try_link
"$LINENO"
13638 # We can link X programs with no special library path.
13642 for ac_dir
in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13644 # Don't even attempt the hair of trying to link an X program!
13645 for ac_extension
in a so sl dylib la dll
; do
13646 if test -r "$ac_dir/libX11.$ac_extension"; then
13647 ac_x_libraries
=$ac_dir
13653 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13654 conftest
$ac_exeext conftest.
$ac_ext
13655 fi # $ac_x_libraries = no
13658 # Record the results.
13659 case $ac_x_includes,$ac_x_libraries in #(
13660 no
,* |
*,no |
*\'*) :
13661 # Didn't find X, or a directory has "'" in its name.
13662 ac_cv_have_x
="have_x=no" ;; #(
13664 # Record where we found X for the cache.
13665 ac_cv_have_x
="have_x=yes\
13666 ac_x_includes='$ac_x_includes'\
13667 ac_x_libraries='$ac_x_libraries'" ;;
13673 eval "$ac_cv_have_x"
13676 if test "$have_x" != yes; then
13677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13678 printf "%s\n" "$have_x" >&6; }
13681 # If each of the values was on the command line, it overrides each guess.
13682 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
13683 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
13684 # Update the cache value to reflect the command line values.
13685 ac_cv_have_x
="have_x=yes\
13686 ac_x_includes='$x_includes'\
13687 ac_x_libraries='$x_libraries'"
13688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13689 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13692 if test "$no_x" = yes; then
13693 # Not all programs may use this symbol, but it does not hurt to define it.
13695 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13697 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
13699 if test -n "$x_includes"; then
13700 X_CFLAGS
="$X_CFLAGS -I$x_includes"
13703 # It would also be nice to do this for all -L options, not just this one.
13704 if test -n "$x_libraries"; then
13705 X_LIBS
="$X_LIBS -L$x_libraries"
13706 # For Solaris; some versions of Sun CC require a space after -R and
13707 # others require no space. Words are not sufficient . . . .
13708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13709 printf %s
"checking whether -R must be followed by a space... " >&6; }
13710 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
13711 ac_xsave_c_werror_flag
=$ac_c_werror_flag
13712 ac_c_werror_flag
=yes
13713 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13714 /* end confdefs.h. */
13724 if ac_fn_c_try_link
"$LINENO"
13726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13727 printf "%s\n" "no" >&6; }
13728 X_LIBS
="$X_LIBS -R$x_libraries"
13730 LIBS
="$ac_xsave_LIBS -R $x_libraries"
13731 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13732 /* end confdefs.h. */
13742 if ac_fn_c_try_link
"$LINENO"
13744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13745 printf "%s\n" "yes" >&6; }
13746 X_LIBS
="$X_LIBS -R $x_libraries"
13748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13749 printf "%s\n" "neither works" >&6; }
13751 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13752 conftest
$ac_exeext conftest.
$ac_ext
13754 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13755 conftest
$ac_exeext conftest.
$ac_ext
13756 ac_c_werror_flag
=$ac_xsave_c_werror_flag
13757 LIBS
=$ac_xsave_LIBS
13760 # Check for system-dependent libraries X programs must link with.
13761 # Do this before checking for the system-independent R6 libraries
13762 # (-lICE), since we may need -lsocket or whatever for X linking.
13764 if test "$ISC" = yes; then
13765 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
13767 # Martyn Johnson says this is needed for Ultrix, if the X
13768 # libraries were built with DECnet support. And Karl Berry says
13769 # the Alpha needs dnet_stub (dnet does not exist).
13770 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
13771 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13772 /* end confdefs.h. */
13774 /* Override any GCC internal prototype to avoid an error.
13775 Use char because int might match the return type of a GCC
13776 builtin and then its argument prototype would still apply. */
13777 char XOpenDisplay ();
13781 return XOpenDisplay ();
13786 if ac_fn_c_try_link
"$LINENO"
13790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13791 printf %s
"checking for dnet_ntoa in -ldnet... " >&6; }
13792 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13794 printf %s
"(cached) " >&6
13796 ac_check_lib_save_LIBS
=$LIBS
13797 LIBS
="-ldnet $LIBS"
13798 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13799 /* end confdefs.h. */
13801 /* Override any GCC internal prototype to avoid an error.
13802 Use char because int might match the return type of a GCC
13803 builtin and then its argument prototype would still apply. */
13808 return dnet_ntoa ();
13813 if ac_fn_c_try_link
"$LINENO"
13815 ac_cv_lib_dnet_dnet_ntoa
=yes
13817 ac_cv_lib_dnet_dnet_ntoa
=no
13819 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13820 conftest
$ac_exeext conftest.
$ac_ext
13821 LIBS
=$ac_check_lib_save_LIBS
13823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13824 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13825 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13827 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
13830 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
13831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13832 printf %s
"checking for dnet_ntoa in -ldnet_stub... " >&6; }
13833 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
13835 printf %s
"(cached) " >&6
13837 ac_check_lib_save_LIBS
=$LIBS
13838 LIBS
="-ldnet_stub $LIBS"
13839 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13840 /* end confdefs.h. */
13842 /* Override any GCC internal prototype to avoid an error.
13843 Use char because int might match the return type of a GCC
13844 builtin and then its argument prototype would still apply. */
13849 return dnet_ntoa ();
13854 if ac_fn_c_try_link
"$LINENO"
13856 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
13858 ac_cv_lib_dnet_stub_dnet_ntoa
=no
13860 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13861 conftest
$ac_exeext conftest.
$ac_ext
13862 LIBS
=$ac_check_lib_save_LIBS
13864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
13865 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
13866 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
13868 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
13873 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13874 conftest
$ac_exeext conftest.
$ac_ext
13875 LIBS
="$ac_xsave_LIBS"
13877 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13878 # to get the SysV transport functions.
13879 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
13881 # The nsl library prevents programs from opening the X display
13882 # on Irix 5.2, according to T.E. Dickey.
13883 # The functions gethostbyname, getservbyname, and inet_addr are
13884 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
13885 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
13886 if test "x$ac_cv_func_gethostbyname" = xyes
13891 if test $ac_cv_func_gethostbyname = no
; then
13892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
13893 printf %s
"checking for gethostbyname in -lnsl... " >&6; }
13894 if test ${ac_cv_lib_nsl_gethostbyname+y}
13896 printf %s
"(cached) " >&6
13898 ac_check_lib_save_LIBS
=$LIBS
13900 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13901 /* end confdefs.h. */
13903 /* Override any GCC internal prototype to avoid an error.
13904 Use char because int might match the return type of a GCC
13905 builtin and then its argument prototype would still apply. */
13906 char gethostbyname ();
13910 return gethostbyname ();
13915 if ac_fn_c_try_link
"$LINENO"
13917 ac_cv_lib_nsl_gethostbyname
=yes
13919 ac_cv_lib_nsl_gethostbyname
=no
13921 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13922 conftest
$ac_exeext conftest.
$ac_ext
13923 LIBS
=$ac_check_lib_save_LIBS
13925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
13926 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
13927 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
13929 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
13932 if test $ac_cv_lib_nsl_gethostbyname = no
; then
13933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
13934 printf %s
"checking for gethostbyname in -lbsd... " >&6; }
13935 if test ${ac_cv_lib_bsd_gethostbyname+y}
13937 printf %s
"(cached) " >&6
13939 ac_check_lib_save_LIBS
=$LIBS
13941 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13942 /* end confdefs.h. */
13944 /* Override any GCC internal prototype to avoid an error.
13945 Use char because int might match the return type of a GCC
13946 builtin and then its argument prototype would still apply. */
13947 char gethostbyname ();
13951 return gethostbyname ();
13956 if ac_fn_c_try_link
"$LINENO"
13958 ac_cv_lib_bsd_gethostbyname
=yes
13960 ac_cv_lib_bsd_gethostbyname
=no
13962 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13963 conftest
$ac_exeext conftest.
$ac_ext
13964 LIBS
=$ac_check_lib_save_LIBS
13966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
13967 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
13968 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
13970 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
13976 # lieder@skyler.mavd.honeywell.com says without -lsocket,
13977 # socket/setsockopt and other routines are undefined under SCO ODT
13978 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
13979 # on later versions), says Simon Leinen: it contains gethostby*
13980 # variants that don't use the name server (or something). -lsocket
13981 # must be given before -lnsl if both are needed. We assume that
13982 # if connect needs -lnsl, so does gethostbyname.
13983 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
13984 if test "x$ac_cv_func_connect" = xyes
13989 if test $ac_cv_func_connect = no
; then
13990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
13991 printf %s
"checking for connect in -lsocket... " >&6; }
13992 if test ${ac_cv_lib_socket_connect+y}
13994 printf %s
"(cached) " >&6
13996 ac_check_lib_save_LIBS
=$LIBS
13997 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
13998 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13999 /* end confdefs.h. */
14001 /* Override any GCC internal prototype to avoid an error.
14002 Use char because int might match the return type of a GCC
14003 builtin and then its argument prototype would still apply. */
14013 if ac_fn_c_try_link
"$LINENO"
14015 ac_cv_lib_socket_connect
=yes
14017 ac_cv_lib_socket_connect
=no
14019 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14020 conftest
$ac_exeext conftest.
$ac_ext
14021 LIBS
=$ac_check_lib_save_LIBS
14023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14024 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14025 if test "x$ac_cv_lib_socket_connect" = xyes
14027 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
14032 # Guillermo Gomez says -lposix is necessary on A/UX.
14033 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
14034 if test "x$ac_cv_func_remove" = xyes
14039 if test $ac_cv_func_remove = no
; then
14040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14041 printf %s
"checking for remove in -lposix... " >&6; }
14042 if test ${ac_cv_lib_posix_remove+y}
14044 printf %s
"(cached) " >&6
14046 ac_check_lib_save_LIBS
=$LIBS
14047 LIBS
="-lposix $LIBS"
14048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14049 /* end confdefs.h. */
14051 /* Override any GCC internal prototype to avoid an error.
14052 Use char because int might match the return type of a GCC
14053 builtin and then its argument prototype would still apply. */
14063 if ac_fn_c_try_link
"$LINENO"
14065 ac_cv_lib_posix_remove
=yes
14067 ac_cv_lib_posix_remove
=no
14069 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14070 conftest
$ac_exeext conftest.
$ac_ext
14071 LIBS
=$ac_check_lib_save_LIBS
14073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14074 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14075 if test "x$ac_cv_lib_posix_remove" = xyes
14077 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
14082 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14083 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
14084 if test "x$ac_cv_func_shmat" = xyes
14089 if test $ac_cv_func_shmat = no
; then
14090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14091 printf %s
"checking for shmat in -lipc... " >&6; }
14092 if test ${ac_cv_lib_ipc_shmat+y}
14094 printf %s
"(cached) " >&6
14096 ac_check_lib_save_LIBS
=$LIBS
14098 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14099 /* end confdefs.h. */
14101 /* Override any GCC internal prototype to avoid an error.
14102 Use char because int might match the return type of a GCC
14103 builtin and then its argument prototype would still apply. */
14113 if ac_fn_c_try_link
"$LINENO"
14115 ac_cv_lib_ipc_shmat
=yes
14117 ac_cv_lib_ipc_shmat
=no
14119 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14120 conftest
$ac_exeext conftest.
$ac_ext
14121 LIBS
=$ac_check_lib_save_LIBS
14123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14124 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14125 if test "x$ac_cv_lib_ipc_shmat" = xyes
14127 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
14133 # Check for libraries that X11R6 Xt/Xaw programs need.
14134 ac_save_LDFLAGS
=$LDFLAGS
14135 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
14136 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14137 # check for ICE first), but we must link in the order -lSM -lICE or
14138 # we get undefined symbols. So assume we have SM if we have ICE.
14139 # These have to be linked with before -lX11, unlike the other
14140 # libraries we check for below, so use a different variable.
14141 # John Interrante, Karl Berry
14142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14143 printf %s
"checking for IceConnectionNumber in -lICE... " >&6; }
14144 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14146 printf %s
"(cached) " >&6
14148 ac_check_lib_save_LIBS
=$LIBS
14149 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
14150 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14151 /* end confdefs.h. */
14153 /* Override any GCC internal prototype to avoid an error.
14154 Use char because int might match the return type of a GCC
14155 builtin and then its argument prototype would still apply. */
14156 char IceConnectionNumber ();
14160 return IceConnectionNumber ();
14165 if ac_fn_c_try_link
"$LINENO"
14167 ac_cv_lib_ICE_IceConnectionNumber
=yes
14169 ac_cv_lib_ICE_IceConnectionNumber
=no
14171 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14172 conftest
$ac_exeext conftest.
$ac_ext
14173 LIBS
=$ac_check_lib_save_LIBS
14175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14176 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14177 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14179 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
14182 LDFLAGS
=$ac_save_LDFLAGS
14187 if test "$have_x" = "yes"
14189 ac_save_CPPFLAGS
="$CPPFLAGS"
14190 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
14192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14193 printf %s
"checking for -lX11... " >&6; }
14194 if test ${ac_cv_lib_soname_X11+y}
14196 printf %s
"(cached) " >&6
14198 ac_check_soname_save_LIBS
=$LIBS
14199 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14200 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14201 /* end confdefs.h. */
14203 /* Override any GCC internal prototype to avoid an error.
14204 Use char because int might match the return type of a GCC
14205 builtin and then its argument prototype would still apply. */
14206 char XCreateWindow ();
14210 return XCreateWindow ();
14215 if ac_fn_c_try_link
"$LINENO"
14218 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14219 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'` ;;
14220 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14221 if ${ac_cv_lib_soname_X11:+false} :
14223 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14227 ac_cv_lib_soname_X11
=
14229 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14230 conftest
$ac_exeext conftest.
$ac_ext
14231 LIBS
=$ac_check_soname_save_LIBS
14233 if ${ac_cv_lib_soname_X11:+false} :
14235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14236 printf "%s\n" "not found" >&6; }
14239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14240 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14242 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14247 printf %s
"checking for -lXext... " >&6; }
14248 if test ${ac_cv_lib_soname_Xext+y}
14250 printf %s
"(cached) " >&6
14252 ac_check_soname_save_LIBS
=$LIBS
14253 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14254 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14255 /* end confdefs.h. */
14257 /* Override any GCC internal prototype to avoid an error.
14258 Use char because int might match the return type of a GCC
14259 builtin and then its argument prototype would still apply. */
14260 char XextCreateExtension ();
14264 return XextCreateExtension ();
14269 if ac_fn_c_try_link
"$LINENO"
14272 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14273 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'` ;;
14274 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14275 if ${ac_cv_lib_soname_Xext:+false} :
14277 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14281 ac_cv_lib_soname_Xext
=
14283 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14284 conftest
$ac_exeext conftest.
$ac_ext
14285 LIBS
=$ac_check_soname_save_LIBS
14287 if ${ac_cv_lib_soname_Xext:+false} :
14289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14290 printf "%s\n" "not found" >&6; }
14293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14294 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14296 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14298 X_LIBS
="$X_LIBS -lXext"
14300 X_LIBS
="$X_LIBS -lX11"
14302 ac_fn_c_check_header_compile
"$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
14303 # include <X11/Xlib.h>
14305 #ifdef HAVE_X11_XUTIL_H
14306 # include <X11/Xutil.h>
14309 if test "x$ac_cv_header_X11_Xlib_h" = xyes
14311 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14314 ac_fn_c_check_header_compile
"$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
14315 # include <X11/Xlib.h>
14317 #ifdef HAVE_X11_XUTIL_H
14318 # include <X11/Xutil.h>
14321 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
14323 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14326 ac_fn_c_check_header_compile
"$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
14327 # include <X11/Xlib.h>
14329 #ifdef HAVE_X11_XUTIL_H
14330 # include <X11/Xutil.h>
14333 if test "x$ac_cv_header_X11_Xutil_h" = xyes
14335 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14338 ac_fn_c_check_header_compile
"$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
14339 # include <X11/Xlib.h>
14341 #ifdef HAVE_X11_XUTIL_H
14342 # include <X11/Xutil.h>
14345 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14347 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14350 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
14351 # include <X11/Xlib.h>
14353 #ifdef HAVE_X11_XUTIL_H
14354 # include <X11/Xutil.h>
14357 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14359 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14362 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
14363 # include <X11/Xlib.h>
14365 #ifdef HAVE_X11_XUTIL_H
14366 # include <X11/Xutil.h>
14369 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14371 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14374 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
14375 # include <X11/Xlib.h>
14377 #ifdef HAVE_X11_XUTIL_H
14378 # include <X11/Xutil.h>
14381 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14383 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14386 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
14387 # include <X11/Xlib.h>
14389 #ifdef HAVE_X11_XUTIL_H
14390 # include <X11/Xutil.h>
14393 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14395 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14398 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
14399 # include <X11/Xlib.h>
14401 #ifdef HAVE_X11_XUTIL_H
14402 # include <X11/Xutil.h>
14405 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
14407 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14410 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
14411 # include <X11/Xlib.h>
14413 #ifdef HAVE_X11_XUTIL_H
14414 # include <X11/Xutil.h>
14417 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14419 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14422 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
14423 # include <X11/Xlib.h>
14425 #ifdef HAVE_X11_XUTIL_H
14426 # include <X11/Xutil.h>
14429 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14431 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14434 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
14435 # include <X11/Xlib.h>
14437 #ifdef HAVE_X11_XUTIL_H
14438 # include <X11/Xutil.h>
14441 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14443 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14446 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
14447 # include <X11/Xlib.h>
14449 #ifdef HAVE_X11_XUTIL_H
14450 # include <X11/Xutil.h>
14453 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14455 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14458 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
14459 # include <X11/Xlib.h>
14461 #ifdef HAVE_X11_XUTIL_H
14462 # include <X11/Xutil.h>
14465 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14467 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14470 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
14471 # include <X11/Xlib.h>
14473 #ifdef HAVE_X11_XUTIL_H
14474 # include <X11/Xutil.h>
14477 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14479 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14484 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14487 printf %s
"checking for -lXcursor... " >&6; }
14488 if test ${ac_cv_lib_soname_Xcursor+y}
14490 printf %s
"(cached) " >&6
14492 ac_check_soname_save_LIBS
=$LIBS
14493 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14494 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14495 /* end confdefs.h. */
14497 /* Override any GCC internal prototype to avoid an error.
14498 Use char because int might match the return type of a GCC
14499 builtin and then its argument prototype would still apply. */
14500 char XcursorImageLoadCursor ();
14504 return XcursorImageLoadCursor ();
14509 if ac_fn_c_try_link
"$LINENO"
14512 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14513 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'` ;;
14514 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14515 if ${ac_cv_lib_soname_Xcursor:+false} :
14517 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14521 ac_cv_lib_soname_Xcursor
=
14523 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14524 conftest
$ac_exeext conftest.
$ac_ext
14525 LIBS
=$ac_check_soname_save_LIBS
14527 if ${ac_cv_lib_soname_Xcursor:+false} :
14529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14530 printf "%s\n" "not found" >&6; }
14533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14534 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14536 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14541 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14543 case "x$with_xcursor" in
14544 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14546 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14547 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14552 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14555 printf %s
"checking for -lXi... " >&6; }
14556 if test ${ac_cv_lib_soname_Xi+y}
14558 printf %s
"(cached) " >&6
14560 ac_check_soname_save_LIBS
=$LIBS
14561 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14562 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14563 /* end confdefs.h. */
14565 /* Override any GCC internal prototype to avoid an error.
14566 Use char because int might match the return type of a GCC
14567 builtin and then its argument prototype would still apply. */
14568 char XOpenDevice ();
14572 return XOpenDevice ();
14577 if ac_fn_c_try_link
"$LINENO"
14580 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14581 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'` ;;
14582 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14583 if ${ac_cv_lib_soname_Xi:+false} :
14585 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14589 ac_cv_lib_soname_Xi
=
14591 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14592 conftest
$ac_exeext conftest.
$ac_ext
14593 LIBS
=$ac_check_soname_save_LIBS
14595 if ${ac_cv_lib_soname_Xi:+false} :
14597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14598 printf "%s\n" "not found" >&6; }
14601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14602 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14604 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14609 if test "x$ac_cv_lib_soname_Xi" = "x"
14611 case "x$with_xinput" in
14612 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14614 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14615 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14620 if test "x$ac_cv_lib_soname_Xi" != x
14622 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14624 case "x$with_xinput2" in
14625 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14627 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
14628 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14634 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14637 printf %s
"checking for XShmQueryExtension in -lXext... " >&6; }
14638 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14640 printf %s
"(cached) " >&6
14642 ac_check_lib_save_LIBS
=$LIBS
14643 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14644 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14645 /* end confdefs.h. */
14647 /* Override any GCC internal prototype to avoid an error.
14648 Use char because int might match the return type of a GCC
14649 builtin and then its argument prototype would still apply. */
14650 char XShmQueryExtension ();
14654 return XShmQueryExtension ();
14659 if ac_fn_c_try_link
"$LINENO"
14661 ac_cv_lib_Xext_XShmQueryExtension
=yes
14663 ac_cv_lib_Xext_XShmQueryExtension
=no
14665 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14666 conftest
$ac_exeext conftest.
$ac_ext
14667 LIBS
=$ac_check_lib_save_LIBS
14669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14670 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14671 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14674 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14679 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14681 case "x$with_xshm" in
14682 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14684 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14685 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14690 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14693 printf %s
"checking for XShapeQueryExtension in -lXext... " >&6; }
14694 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14696 printf %s
"(cached) " >&6
14698 ac_check_lib_save_LIBS
=$LIBS
14699 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14700 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14701 /* end confdefs.h. */
14703 /* Override any GCC internal prototype to avoid an error.
14704 Use char because int might match the return type of a GCC
14705 builtin and then its argument prototype would still apply. */
14706 char XShapeQueryExtension ();
14710 return XShapeQueryExtension ();
14715 if ac_fn_c_try_link
"$LINENO"
14717 ac_cv_lib_Xext_XShapeQueryExtension
=yes
14719 ac_cv_lib_Xext_XShapeQueryExtension
=no
14721 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14722 conftest
$ac_exeext conftest.
$ac_ext
14723 LIBS
=$ac_check_lib_save_LIBS
14725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14726 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14727 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14730 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14735 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14737 case "x$with_xshape" in
14738 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14740 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
14741 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14746 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14749 printf %s
"checking for -lXxf86vm... " >&6; }
14750 if test ${ac_cv_lib_soname_Xxf86vm+y}
14752 printf %s
"(cached) " >&6
14754 ac_check_soname_save_LIBS
=$LIBS
14755 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14756 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14757 /* end confdefs.h. */
14759 /* Override any GCC internal prototype to avoid an error.
14760 Use char because int might match the return type of a GCC
14761 builtin and then its argument prototype would still apply. */
14762 char XF86VidModeQueryExtension ();
14766 return XF86VidModeQueryExtension ();
14771 if ac_fn_c_try_link
"$LINENO"
14774 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14775 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'` ;;
14776 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14777 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14779 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14783 ac_cv_lib_soname_Xxf86vm
=
14785 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14786 conftest
$ac_exeext conftest.
$ac_ext
14787 LIBS
=$ac_check_soname_save_LIBS
14789 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14792 printf "%s\n" "not found" >&6; }
14795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
14796 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
14798 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
14803 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
14805 case "x$with_xxf86vm" in
14806 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
14808 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
14809 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
14814 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
14816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
14817 printf %s
"checking for -lXrender... " >&6; }
14818 if test ${ac_cv_lib_soname_Xrender+y}
14820 printf %s
"(cached) " >&6
14822 ac_check_soname_save_LIBS
=$LIBS
14823 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14824 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14825 /* end confdefs.h. */
14827 /* Override any GCC internal prototype to avoid an error.
14828 Use char because int might match the return type of a GCC
14829 builtin and then its argument prototype would still apply. */
14830 char XRenderQueryExtension ();
14834 return XRenderQueryExtension ();
14839 if ac_fn_c_try_link
"$LINENO"
14842 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14843 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'` ;;
14844 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14845 if ${ac_cv_lib_soname_Xrender:+false} :
14847 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14851 ac_cv_lib_soname_Xrender
=
14853 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14854 conftest
$ac_exeext conftest.
$ac_ext
14855 LIBS
=$ac_check_soname_save_LIBS
14857 if ${ac_cv_lib_soname_Xrender:+false} :
14859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14860 printf "%s\n" "not found" >&6; }
14863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
14864 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
14866 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
14868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
14869 printf %s
"checking for XRenderSetPictureTransform in -lXrender... " >&6; }
14870 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
14872 printf %s
"(cached) " >&6
14874 ac_check_lib_save_LIBS
=$LIBS
14875 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14876 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14877 /* end confdefs.h. */
14879 /* Override any GCC internal prototype to avoid an error.
14880 Use char because int might match the return type of a GCC
14881 builtin and then its argument prototype would still apply. */
14882 char XRenderSetPictureTransform ();
14886 return XRenderSetPictureTransform ();
14891 if ac_fn_c_try_link
"$LINENO"
14893 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
14895 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
14897 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14898 conftest
$ac_exeext conftest.
$ac_ext
14899 LIBS
=$ac_check_lib_save_LIBS
14901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
14902 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
14903 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
14906 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
14910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
14911 printf %s
"checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
14912 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
14914 printf %s
"(cached) " >&6
14916 ac_check_lib_save_LIBS
=$LIBS
14917 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14918 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14919 /* end confdefs.h. */
14921 /* Override any GCC internal prototype to avoid an error.
14922 Use char because int might match the return type of a GCC
14923 builtin and then its argument prototype would still apply. */
14924 char XRenderCreateLinearGradient ();
14928 return XRenderCreateLinearGradient ();
14933 if ac_fn_c_try_link
"$LINENO"
14935 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
14937 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
14939 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14940 conftest
$ac_exeext conftest.
$ac_ext
14941 LIBS
=$ac_check_lib_save_LIBS
14943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
14944 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
14945 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
14948 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
14955 if test "x$ac_cv_lib_soname_Xrender" = "x"
14957 case "x$with_xrender" in
14958 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
14960 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
14961 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
14966 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
14968 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14969 /* end confdefs.h. */
14970 #include <X11/Xlib.h>
14971 #include <X11/extensions/Xrandr.h>
14975 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
14980 if ac_fn_c_try_compile
"$LINENO"
14982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
14983 printf %s
"checking for -lXrandr... " >&6; }
14984 if test ${ac_cv_lib_soname_Xrandr+y}
14986 printf %s
"(cached) " >&6
14988 ac_check_soname_save_LIBS
=$LIBS
14989 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
14990 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14991 /* end confdefs.h. */
14993 /* Override any GCC internal prototype to avoid an error.
14994 Use char because int might match the return type of a GCC
14995 builtin and then its argument prototype would still apply. */
14996 char XRRQueryExtension ();
15000 return XRRQueryExtension ();
15005 if ac_fn_c_try_link
"$LINENO"
15008 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15009 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'` ;;
15010 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15011 if ${ac_cv_lib_soname_Xrandr:+false} :
15013 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15017 ac_cv_lib_soname_Xrandr
=
15019 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15020 conftest
$ac_exeext conftest.
$ac_ext
15021 LIBS
=$ac_check_soname_save_LIBS
15023 if ${ac_cv_lib_soname_Xrandr:+false} :
15025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15026 printf "%s\n" "not found" >&6; }
15029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15030 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15032 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15034 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15035 /* end confdefs.h. */
15036 #include <X11/Xlib.h>
15037 #include <X11/extensions/Xrandr.h>
15041 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15046 if ac_fn_c_try_compile
"$LINENO"
15049 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15052 as_fn_append wine_notices
"|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15054 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15057 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15059 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15061 case "x$with_xrandr" in
15062 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15064 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15065 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15070 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15072 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15073 /* end confdefs.h. */
15074 #include <X11/Xlib.h>
15075 #include <X11/extensions/Xfixes.h>
15079 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15084 if ac_fn_c_try_compile
"$LINENO"
15086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15087 printf %s
"checking for -lXfixes... " >&6; }
15088 if test ${ac_cv_lib_soname_Xfixes+y}
15090 printf %s
"(cached) " >&6
15092 ac_check_soname_save_LIBS
=$LIBS
15093 LIBS
="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15094 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15095 /* end confdefs.h. */
15097 /* Override any GCC internal prototype to avoid an error.
15098 Use char because int might match the return type of a GCC
15099 builtin and then its argument prototype would still apply. */
15100 char XFixesQueryVersion ();
15104 return XFixesQueryVersion ();
15109 if ac_fn_c_try_link
"$LINENO"
15112 dll
) ac_cv_lib_soname_Xfixes
=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15113 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'` ;;
15114 *) ac_cv_lib_soname_Xfixes
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15115 if ${ac_cv_lib_soname_Xfixes:+false} :
15117 ac_cv_lib_soname_Xfixes
=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15121 ac_cv_lib_soname_Xfixes
=
15123 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15124 conftest
$ac_exeext conftest.
$ac_ext
15125 LIBS
=$ac_check_soname_save_LIBS
15127 if ${ac_cv_lib_soname_Xfixes:+false} :
15129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15130 printf "%s\n" "not found" >&6; }
15133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15134 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15136 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15141 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15143 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15145 case "x$with_xfixes" in
15146 x
) as_fn_append wine_notices
"|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15148 *) as_fn_error $?
"libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15149 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15154 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15156 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15157 /* end confdefs.h. */
15158 #include <X11/Xlib.h>
15159 #include <X11/extensions/Xinerama.h>
15163 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15168 if ac_fn_c_try_compile
"$LINENO"
15170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15171 printf %s
"checking for -lXinerama... " >&6; }
15172 if test ${ac_cv_lib_soname_Xinerama+y}
15174 printf %s
"(cached) " >&6
15176 ac_check_soname_save_LIBS
=$LIBS
15177 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15178 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15179 /* end confdefs.h. */
15181 /* Override any GCC internal prototype to avoid an error.
15182 Use char because int might match the return type of a GCC
15183 builtin and then its argument prototype would still apply. */
15184 char XineramaQueryScreens ();
15188 return XineramaQueryScreens ();
15193 if ac_fn_c_try_link
"$LINENO"
15196 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15197 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'` ;;
15198 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15199 if ${ac_cv_lib_soname_Xinerama:+false} :
15201 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15205 ac_cv_lib_soname_Xinerama
=
15207 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15208 conftest
$ac_exeext conftest.
$ac_ext
15209 LIBS
=$ac_check_soname_save_LIBS
15211 if ${ac_cv_lib_soname_Xinerama:+false} :
15213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15214 printf "%s\n" "not found" >&6; }
15217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15218 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15220 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15225 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15227 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15229 case "x$with_xinerama" in
15230 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15232 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15233 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15238 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15241 printf %s
"checking for -lXcomposite... " >&6; }
15242 if test ${ac_cv_lib_soname_Xcomposite+y}
15244 printf %s
"(cached) " >&6
15246 ac_check_soname_save_LIBS
=$LIBS
15247 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15248 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15249 /* end confdefs.h. */
15251 /* Override any GCC internal prototype to avoid an error.
15252 Use char because int might match the return type of a GCC
15253 builtin and then its argument prototype would still apply. */
15254 char XCompositeRedirectWindow ();
15258 return XCompositeRedirectWindow ();
15263 if ac_fn_c_try_link
"$LINENO"
15266 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15267 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'` ;;
15268 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15269 if ${ac_cv_lib_soname_Xcomposite:+false} :
15271 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15275 ac_cv_lib_soname_Xcomposite
=
15277 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15278 conftest
$ac_exeext conftest.
$ac_ext
15279 LIBS
=$ac_check_soname_save_LIBS
15281 if ${ac_cv_lib_soname_Xcomposite:+false} :
15283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15284 printf "%s\n" "not found" >&6; }
15287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15288 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15290 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15295 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15297 case "x$with_xcomposite" in
15298 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15300 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15301 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15306 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
15307 #include <X11/Xlib.h>
15310 if test "x$ac_cv_member_XICCallback_callback" = xyes
15313 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15317 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15318 #include <X11/Xlib.h>
15321 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15324 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15332 if test "x$with_opengl" != "xno"
15334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15335 printf %s
"checking for -lGL... " >&6; }
15336 if test ${ac_cv_lib_soname_GL+y}
15338 printf %s
"(cached) " >&6
15340 ac_check_soname_save_LIBS
=$LIBS
15341 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15342 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15343 /* end confdefs.h. */
15345 /* Override any GCC internal prototype to avoid an error.
15346 Use char because int might match the return type of a GCC
15347 builtin and then its argument prototype would still apply. */
15348 char glXCreateContext ();
15352 return glXCreateContext ();
15357 if ac_fn_c_try_link
"$LINENO"
15360 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15361 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'` ;;
15362 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15363 if ${ac_cv_lib_soname_GL:+false} :
15365 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15369 ac_cv_lib_soname_GL
=
15371 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15372 conftest
$ac_exeext conftest.
$ac_ext
15373 LIBS
=$ac_check_soname_save_LIBS
15375 if ${ac_cv_lib_soname_GL:+false} :
15377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15378 printf "%s\n" "not found" >&6; }
15379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15380 printf %s
"checking for -lGL... " >&6; }
15381 if test ${ac_cv_lib_soname_GL+y}
15383 printf %s
"(cached) " >&6
15385 ac_check_soname_save_LIBS
=$LIBS
15386 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"
15387 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15388 /* end confdefs.h. */
15390 /* Override any GCC internal prototype to avoid an error.
15391 Use char because int might match the return type of a GCC
15392 builtin and then its argument prototype would still apply. */
15393 char glXCreateContext ();
15397 return glXCreateContext ();
15402 if ac_fn_c_try_link
"$LINENO"
15405 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15406 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'` ;;
15407 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15408 if ${ac_cv_lib_soname_GL:+false} :
15410 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15414 ac_cv_lib_soname_GL
=
15416 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15417 conftest
$ac_exeext conftest.
$ac_ext
15418 LIBS
=$ac_check_soname_save_LIBS
15420 if ${ac_cv_lib_soname_GL:+false} :
15422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15423 printf "%s\n" "not found" >&6; }
15424 if test -f /usr
/X11R
6/lib
/libGL.a
15426 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
15427 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15429 opengl_msg
="No OpenGL library found on this system."
15432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15433 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15435 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15437 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"
15440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15441 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15443 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15447 if test "x$with_osmesa" != "xno"
15449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15450 printf %s
"checking for -lOSMesa... " >&6; }
15451 if test ${ac_cv_lib_soname_OSMesa+y}
15453 printf %s
"(cached) " >&6
15455 ac_check_soname_save_LIBS
=$LIBS
15456 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15457 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15458 /* end confdefs.h. */
15460 /* Override any GCC internal prototype to avoid an error.
15461 Use char because int might match the return type of a GCC
15462 builtin and then its argument prototype would still apply. */
15463 char OSMesaGetProcAddress ();
15467 return OSMesaGetProcAddress ();
15472 if ac_fn_c_try_link
"$LINENO"
15475 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15476 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'` ;;
15477 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15478 if ${ac_cv_lib_soname_OSMesa:+false} :
15480 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15484 ac_cv_lib_soname_OSMesa
=
15486 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15487 conftest
$ac_exeext conftest.
$ac_ext
15488 LIBS
=$ac_check_soname_save_LIBS
15490 if ${ac_cv_lib_soname_OSMesa:+false} :
15492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15493 printf "%s\n" "not found" >&6; }
15496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15497 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15499 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15503 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15505 case "x$with_osmesa" in
15506 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15508 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15509 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15515 if test -n "$opengl_msg"
15517 case "x$with_opengl" in
15518 x
) as_fn_append wine_warnings
"|$opengl_msg
15519 OpenGL and Direct3D won't be supported." ;;
15521 *) as_fn_error $?
"$opengl_msg
15522 OpenGL and Direct3D won't be supported.
15523 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15528 CPPFLAGS
="$ac_save_CPPFLAGS"
15534 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15536 if test "x$X_LIBS" = "x"
15540 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
15541 without X support, which probably isn't what you want. You will need
15542 to install ${notice_platform}development packages of Xlib at the very least.
15543 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15545 enable_winex11_drv
=${enable_winex11_drv:-no}
15548 if test "x$X_LIBS" = "x"
15551 x
) as_fn_append wine_notices
"|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15553 *) as_fn_error $?
"X ${notice_platform}development files not found, the X11 driver won't be supported.
15554 This is an error since --with-x was requested." "$LINENO" 5 ;;
15556 enable_winex11_drv
=${enable_winex11_drv:-no}
15560 if test "x$with_wayland" != "xno"
15563 if ${WAYLAND_CLIENT_CFLAGS:+false} :
15565 if test ${PKG_CONFIG+y}
15567 WAYLAND_CLIENT_CFLAGS
=`$PKG_CONFIG --cflags wayland-client 2>conftest.err`
15571 if ${WAYLAND_CLIENT_LIBS:+false} :
15573 if test ${PKG_CONFIG+y}
15575 WAYLAND_CLIENT_LIBS
=`$PKG_CONFIG --libs wayland-client 2>/dev/null`
15580 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client cflags: $WAYLAND_CLIENT_CFLAGS" >&5
15581 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client libs: $WAYLAND_CLIENT_LIBS" >&5
15582 if test -s conftest.err
; then
15583 printf %s
"$as_me:${as_lineno-$LINENO}: wayland-client errors: " >&5
15584 cat conftest.err
>&5
15587 ac_save_CPPFLAGS
=$CPPFLAGS
15588 CPPFLAGS
="$CPPFLAGS $WAYLAND_CLIENT_CFLAGS"
15589 for ac_header
in wayland-client.h
15591 ac_fn_c_check_header_compile
"$LINENO" "wayland-client.h" "ac_cv_header_wayland_client_h" "$ac_includes_default"
15592 if test "x$ac_cv_header_wayland_client_h" = xyes
15594 printf "%s\n" "#define HAVE_WAYLAND_CLIENT_H 1" >>confdefs.h
15595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wl_display_connect in -lwayland-client" >&5
15596 printf %s
"checking for wl_display_connect in -lwayland-client... " >&6; }
15597 if test ${ac_cv_lib_wayland_client_wl_display_connect+y}
15599 printf %s
"(cached) " >&6
15601 ac_check_lib_save_LIBS
=$LIBS
15602 LIBS
="-lwayland-client $WAYLAND_CLIENT_LIBS $LIBS"
15603 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15604 /* end confdefs.h. */
15606 /* Override any GCC internal prototype to avoid an error.
15607 Use char because int might match the return type of a GCC
15608 builtin and then its argument prototype would still apply. */
15609 char wl_display_connect ();
15613 return wl_display_connect ();
15618 if ac_fn_c_try_link
"$LINENO"
15620 ac_cv_lib_wayland_client_wl_display_connect
=yes
15622 ac_cv_lib_wayland_client_wl_display_connect
=no
15624 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15625 conftest
$ac_exeext conftest.
$ac_ext
15626 LIBS
=$ac_check_lib_save_LIBS
15628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wayland_client_wl_display_connect" >&5
15629 printf "%s\n" "$ac_cv_lib_wayland_client_wl_display_connect" >&6; }
15630 if test "x$ac_cv_lib_wayland_client_wl_display_connect" = xyes
15632 # Extract the first word of "wayland-scanner", so it can be a program name with args.
15633 set dummy wayland-scanner
; ac_word
=$2
15634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15635 printf %s
"checking for $ac_word... " >&6; }
15636 if test ${ac_cv_path_WAYLAND_SCANNER+y}
15638 printf %s
"(cached) " >&6
15640 case $WAYLAND_SCANNER in
15642 ac_cv_path_WAYLAND_SCANNER
="$WAYLAND_SCANNER" # Let the user override the test with a path.
15645 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15646 for as_dir
in $PATH
15649 case $as_dir in #(((
15652 *) as_dir
=$as_dir/ ;;
15654 for ac_exec_ext
in '' $ac_executable_extensions; do
15655 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
15656 ac_cv_path_WAYLAND_SCANNER
="$as_dir$ac_word$ac_exec_ext"
15657 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
15664 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`"
15668 WAYLAND_SCANNER
=$ac_cv_path_WAYLAND_SCANNER
15669 if test -n "$WAYLAND_SCANNER"; then
15670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $WAYLAND_SCANNER" >&5
15671 printf "%s\n" "$WAYLAND_SCANNER" >&6; }
15673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15674 printf "%s\n" "no" >&6; }
15679 WAYLAND_CLIENT_LIBS
=""
15685 CPPFLAGS
=$ac_save_CPPFLAGS
15688 if test -z "$WAYLAND_CLIENT_LIBS" -o -z "$WAYLAND_SCANNER"
15690 case "x$with_wayland" in
15691 x
) as_fn_append wine_notices
"|Wayland ${notice_platform}development files not found, the Wayland driver won't be supported." ;;
15693 *) as_fn_error $?
"Wayland ${notice_platform}development files not found, the Wayland driver won't be supported.
15694 This is an error since --with-wayland was requested." "$LINENO" 5 ;;
15696 enable_winewayland_drv
=${enable_winewayland_drv:-no}
15699 if test "$ac_cv_header_CL_cl_h" = "yes"
15701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15702 printf %s
"checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15703 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15705 printf %s
"(cached) " >&6
15707 ac_check_lib_save_LIBS
=$LIBS
15708 LIBS
="-lOpenCL $LIBS"
15709 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15710 /* end confdefs.h. */
15712 /* Override any GCC internal prototype to avoid an error.
15713 Use char because int might match the return type of a GCC
15714 builtin and then its argument prototype would still apply. */
15715 char clGetPlatformInfo ();
15719 return clGetPlatformInfo ();
15724 if ac_fn_c_try_link
"$LINENO"
15726 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
15728 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
15730 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15731 conftest
$ac_exeext conftest.
$ac_ext
15732 LIBS
=$ac_check_lib_save_LIBS
15734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15735 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15736 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15738 OPENCL_LIBS
="-lOpenCL"
15743 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15745 case "x$with_opencl" in
15746 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15748 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15749 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15751 enable_opencl
=${enable_opencl:-no}
15754 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_init in -lpcap" >&5
15757 printf %s
"checking for pcap_init in -lpcap... " >&6; }
15758 if test ${ac_cv_lib_pcap_pcap_init+y}
15760 printf %s
"(cached) " >&6
15762 ac_check_lib_save_LIBS
=$LIBS
15763 LIBS
="-lpcap $LIBS"
15764 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15765 /* end confdefs.h. */
15767 /* Override any GCC internal prototype to avoid an error.
15768 Use char because int might match the return type of a GCC
15769 builtin and then its argument prototype would still apply. */
15774 return pcap_init ();
15779 if ac_fn_c_try_link
"$LINENO"
15781 ac_cv_lib_pcap_pcap_init
=yes
15783 ac_cv_lib_pcap_pcap_init
=no
15785 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15786 conftest
$ac_exeext conftest.
$ac_ext
15787 LIBS
=$ac_check_lib_save_LIBS
15789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_init" >&5
15790 printf "%s\n" "$ac_cv_lib_pcap_pcap_init" >&6; }
15791 if test "x$ac_cv_lib_pcap_pcap_init" = xyes
15798 if test "x$ac_cv_lib_pcap_pcap_init" != xyes
15800 case "x$with_pcap" in
15801 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15803 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
15804 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15806 enable_wpcap
=${enable_wpcap:-no}
15809 if test "x$with_pcsclite" != "xno"
15811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SCardEstablishContext in -lpcsclite" >&5
15812 printf %s
"checking for SCardEstablishContext in -lpcsclite... " >&6; }
15813 if test ${ac_cv_lib_pcsclite_SCardEstablishContext+y}
15815 printf %s
"(cached) " >&6
15817 ac_check_lib_save_LIBS
=$LIBS
15818 LIBS
="-lpcsclite $LIBS"
15819 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15820 /* end confdefs.h. */
15822 /* Override any GCC internal prototype to avoid an error.
15823 Use char because int might match the return type of a GCC
15824 builtin and then its argument prototype would still apply. */
15825 char SCardEstablishContext ();
15829 return SCardEstablishContext ();
15834 if ac_fn_c_try_link
"$LINENO"
15836 ac_cv_lib_pcsclite_SCardEstablishContext
=yes
15838 ac_cv_lib_pcsclite_SCardEstablishContext
=no
15840 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15841 conftest
$ac_exeext conftest.
$ac_ext
15842 LIBS
=$ac_check_lib_save_LIBS
15844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcsclite_SCardEstablishContext" >&5
15845 printf "%s\n" "$ac_cv_lib_pcsclite_SCardEstablishContext" >&6; }
15846 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" = xyes
15848 PCSCLITE_LIBS
="-lpcsclite"
15852 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" != xyes
&& test "$ac_cv_header_PCSC_pcsclite_h" = "yes"
15854 PCSCLITE_LIBS
="-framework PCSC"
15856 ac_cv_lib_pcsclite_SCardEstablishContext
=yes
15859 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" != xyes
15861 case "x$with_pcsclite" in
15862 x
) as_fn_append wine_notices
"|libpcsclite not found, smart cards won't be supported." ;;
15864 *) as_fn_error $?
"libpcsclite not found, smart cards won't be supported.
15865 This is an error since --with-pcsclite was requested." "$LINENO" 5 ;;
15867 enable_winscard
=${enable_winscard:-no}
15870 if test "x$with_inotify" != "xno"
15873 if ${INOTIFY_CFLAGS:+false} :
15875 if test ${PKG_CONFIG+y}
15877 INOTIFY_CFLAGS
=`$PKG_CONFIG --cflags libinotify 2>conftest.err`
15881 if ${INOTIFY_LIBS:+false} :
15883 if test ${PKG_CONFIG+y}
15885 INOTIFY_LIBS
=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15890 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15891 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15892 if test -s conftest.err
; then
15893 printf %s
"$as_me:${as_lineno-$LINENO}: libinotify errors: " >&5
15894 cat conftest.err
>&5
15897 ac_save_CPPFLAGS
=$CPPFLAGS
15898 CPPFLAGS
="$CPPFLAGS $INOTIFY_CFLAGS"
15899 ac_fn_c_check_header_compile
"$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15900 if test "x$ac_cv_header_sys_inotify_h" = xyes
15902 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15907 printf %s
"checking for inotify_add_watch in -linotify... " >&6; }
15908 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15910 printf %s
"(cached) " >&6
15912 ac_check_lib_save_LIBS
=$LIBS
15913 LIBS
="-linotify $INOTIFY_LIBS $LIBS"
15914 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15915 /* end confdefs.h. */
15917 /* Override any GCC internal prototype to avoid an error.
15918 Use char because int might match the return type of a GCC
15919 builtin and then its argument prototype would still apply. */
15920 char inotify_add_watch ();
15924 return inotify_add_watch ();
15929 if ac_fn_c_try_link
"$LINENO"
15931 ac_cv_lib_inotify_inotify_add_watch
=yes
15933 ac_cv_lib_inotify_inotify_add_watch
=no
15935 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15936 conftest
$ac_exeext conftest.
$ac_ext
15937 LIBS
=$ac_check_lib_save_LIBS
15939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15940 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
15941 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
15948 CPPFLAGS
=$ac_save_CPPFLAGS
15951 if test "$ac_cv_header_sys_inotify_h" != "yes"
15953 case "x$with_inotify" in
15954 x
) as_fn_append wine_notices
"|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
15956 *) as_fn_error $?
"libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
15957 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
15962 if test "x$with_dbus" != "xno"
15965 if ${DBUS_CFLAGS:+false} :
15967 if test ${PKG_CONFIG+y}
15969 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>conftest.err`
15973 if ${DBUS_LIBS:+false} :
15975 if test ${PKG_CONFIG+y}
15977 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
15982 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
15983 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
15984 if test -s conftest.err
; then
15985 printf %s
"$as_me:${as_lineno-$LINENO}: dbus-1 errors: " >&5
15986 cat conftest.err
>&5
15989 ac_save_CPPFLAGS
=$CPPFLAGS
15990 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
15991 ac_fn_c_check_header_compile
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
15992 if test "x$ac_cv_header_dbus_dbus_h" = xyes
15994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
15995 printf %s
"checking for -ldbus-1... " >&6; }
15996 if test ${ac_cv_lib_soname_dbus_1+y}
15998 printf %s
"(cached) " >&6
16000 ac_check_soname_save_LIBS
=$LIBS
16001 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
16002 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16003 /* end confdefs.h. */
16005 /* Override any GCC internal prototype to avoid an error.
16006 Use char because int might match the return type of a GCC
16007 builtin and then its argument prototype would still apply. */
16008 char dbus_connection_close ();
16012 return dbus_connection_close ();
16017 if ac_fn_c_try_link
"$LINENO"
16020 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16021 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'` ;;
16022 *) 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'`
16023 if ${ac_cv_lib_soname_dbus_1:+false} :
16025 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16029 ac_cv_lib_soname_dbus_1
=
16031 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16032 conftest
$ac_exeext conftest.
$ac_ext
16033 LIBS
=$ac_check_soname_save_LIBS
16035 if ${ac_cv_lib_soname_dbus_1:+false} :
16037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16038 printf "%s\n" "not found" >&6; }
16041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16042 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16044 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16052 CPPFLAGS
=$ac_save_CPPFLAGS
16056 darwin
*|macosx
*) ;;
16057 *) if test "x$ac_cv_lib_soname_dbus_1" = "x"
16059 case "x$with_dbus" in
16060 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16062 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
16063 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16069 if test "x$with_gnutls" != "xno"
16072 if ${GNUTLS_CFLAGS:+false} :
16074 if test ${PKG_CONFIG+y}
16076 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>conftest.err`
16080 if ${GNUTLS_LIBS:+false} :
16082 if test ${PKG_CONFIG+y}
16084 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16088 GNUTLS_LIBS
=${GNUTLS_LIBS:-"-lgnutls"}
16089 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16090 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16091 if test -s conftest.err
; then
16092 printf %s
"$as_me:${as_lineno-$LINENO}: gnutls errors: " >&5
16093 cat conftest.err
>&5
16096 ac_save_CPPFLAGS
=$CPPFLAGS
16097 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
16098 ac_fn_c_check_header_compile
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16099 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16101 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16102 /* end confdefs.h. */
16103 #include <gnutls/gnutls.h>
16104 #include <gnutls/crypto.h>
16108 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16113 if ac_fn_c_try_compile
"$LINENO"
16115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16116 printf %s
"checking for -lgnutls... " >&6; }
16117 if test ${ac_cv_lib_soname_gnutls+y}
16119 printf %s
"(cached) " >&6
16121 ac_check_soname_save_LIBS
=$LIBS
16122 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
16123 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16124 /* end confdefs.h. */
16126 /* Override any GCC internal prototype to avoid an error.
16127 Use char because int might match the return type of a GCC
16128 builtin and then its argument prototype would still apply. */
16129 char gnutls_global_init ();
16133 return gnutls_global_init ();
16138 if ac_fn_c_try_link
"$LINENO"
16141 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16142 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'` ;;
16143 *) 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'`
16144 if ${ac_cv_lib_soname_gnutls:+false} :
16146 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'`
16150 ac_cv_lib_soname_gnutls
=
16152 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16153 conftest
$ac_exeext conftest.
$ac_ext
16154 LIBS
=$ac_check_soname_save_LIBS
16156 if ${ac_cv_lib_soname_gnutls:+false} :
16158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16159 printf "%s\n" "not found" >&6; }
16162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16163 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16165 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16169 ac_wine_check_funcs_save_LIBS
="$LIBS"
16170 LIBS
="$LIBS $GNUTLS_LIBS"
16172 for ac_func
in gnutls_cipher_init
16174 ac_fn_c_check_func
"$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16175 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16177 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16180 as_fn_append wine_notices
"|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16184 LIBS
="$ac_wine_check_funcs_save_LIBS"
16186 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16191 CPPFLAGS
=$ac_save_CPPFLAGS
16194 if test "x$ac_cv_lib_soname_gnutls" = "x"
16196 case "x$with_gnutls" in
16197 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16199 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
16200 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16205 if test "x$with_sane" != "xno"
16208 if ${SANE_CFLAGS:+false} :
16210 if test ${PKG_CONFIG+y}
16212 SANE_CFLAGS
=`$PKG_CONFIG --cflags sane-backends 2>conftest.err`
16215 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16216 if ${SANE_LIBS:+false} :
16218 if test ${PKG_CONFIG+y}
16220 SANE_LIBS
=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16223 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16225 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16226 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16227 if test -s conftest.err
; then
16228 printf %s
"$as_me:${as_lineno-$LINENO}: sane-backends errors: " >&5
16229 cat conftest.err
>&5
16232 ac_save_CPPFLAGS
=$CPPFLAGS
16233 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
16234 ac_fn_c_check_header_compile
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16235 if test "x$ac_cv_header_sane_sane_h" = xyes
16237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16238 printf %s
"checking for sane_init in -lsane... " >&6; }
16239 if test ${ac_cv_lib_sane_sane_init+y}
16241 printf %s
"(cached) " >&6
16243 ac_check_lib_save_LIBS
=$LIBS
16244 LIBS
="-lsane $SANE_LIBS $LIBS"
16245 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16246 /* end confdefs.h. */
16248 /* Override any GCC internal prototype to avoid an error.
16249 Use char because int might match the return type of a GCC
16250 builtin and then its argument prototype would still apply. */
16255 return sane_init ();
16260 if ac_fn_c_try_link
"$LINENO"
16262 ac_cv_lib_sane_sane_init
=yes
16264 ac_cv_lib_sane_sane_init
=no
16266 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16267 conftest
$ac_exeext conftest.
$ac_ext
16268 LIBS
=$ac_check_lib_save_LIBS
16270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16271 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16272 if test "x$ac_cv_lib_sane_sane_init" = xyes
16279 CPPFLAGS
=$ac_save_CPPFLAGS
16282 if test "$ac_cv_lib_sane_sane_init" != "yes"
16284 case "x$with_sane" in
16285 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16287 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
16288 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16290 enable_sane_ds
=${enable_sane_ds:-no}
16293 if test "x$with_usb" != "xno"
16296 if ${USB_CFLAGS:+false} :
16298 if test ${PKG_CONFIG+y}
16300 USB_CFLAGS
=`$PKG_CONFIG --cflags libusb-1.0 2>conftest.err`
16304 if ${USB_LIBS:+false} :
16306 if test ${PKG_CONFIG+y}
16308 USB_LIBS
=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16312 USB_LIBS
=${USB_LIBS:-"-lusb-1.0"}
16313 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16314 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16315 if test -s conftest.err
; then
16316 printf %s
"$as_me:${as_lineno-$LINENO}: libusb-1.0 errors: " >&5
16317 cat conftest.err
>&5
16320 ac_save_CPPFLAGS
=$CPPFLAGS
16321 CPPFLAGS
="$CPPFLAGS $USB_CFLAGS"
16322 ac_fn_c_check_header_compile
"$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16323 if test "x$ac_cv_header_libusb_h" = xyes
16325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16326 printf %s
"checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16327 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16329 printf %s
"(cached) " >&6
16331 ac_check_lib_save_LIBS
=$LIBS
16332 LIBS
="-lusb-1.0 $USB_LIBS $LIBS"
16333 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16334 /* end confdefs.h. */
16336 /* Override any GCC internal prototype to avoid an error.
16337 Use char because int might match the return type of a GCC
16338 builtin and then its argument prototype would still apply. */
16339 char libusb_interrupt_event_handler ();
16343 return libusb_interrupt_event_handler ();
16348 if ac_fn_c_try_link
"$LINENO"
16350 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler
=yes
16352 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler
=no
16354 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16355 conftest
$ac_exeext conftest.
$ac_ext
16356 LIBS
=$ac_check_lib_save_LIBS
16358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16359 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16360 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16371 CPPFLAGS
=$ac_save_CPPFLAGS
16374 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16376 case "x$with_usb" in
16377 x
) as_fn_append wine_notices
"|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16379 *) as_fn_error $?
"libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16380 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16382 enable_wineusb_sys
=${enable_wineusb_sys:-no}
16385 if test "x$with_v4l2" != "xno"
16387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16388 printf %s
"checking for -lv4l2... " >&6; }
16389 if test ${ac_cv_lib_soname_v4l2+y}
16391 printf %s
"(cached) " >&6
16393 ac_check_soname_save_LIBS
=$LIBS
16394 LIBS
="-lv4l2 $LIBS"
16395 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16396 /* end confdefs.h. */
16398 /* Override any GCC internal prototype to avoid an error.
16399 Use char because int might match the return type of a GCC
16400 builtin and then its argument prototype would still apply. */
16405 return v4l2_open ();
16410 if ac_fn_c_try_link
"$LINENO"
16413 dll
) ac_cv_lib_soname_v4l2
=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16414 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'` ;;
16415 *) ac_cv_lib_soname_v4l2
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16416 if ${ac_cv_lib_soname_v4l2:+false} :
16418 ac_cv_lib_soname_v4l2
=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16422 ac_cv_lib_soname_v4l2
=
16424 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16425 conftest
$ac_exeext conftest.
$ac_ext
16426 LIBS
=$ac_check_soname_save_LIBS
16428 if ${ac_cv_lib_soname_v4l2:+false} :
16430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16431 printf "%s\n" "not found" >&6; }
16434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16435 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16437 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16442 if test "x$ac_cv_lib_soname_v4l2" = "x"
16444 case "x$with_v4l2" in
16445 x
) as_fn_append wine_notices
"|libv4l2 ${notice_platform}development files not found." ;;
16447 *) as_fn_error $?
"libv4l2 ${notice_platform}development files not found.
16448 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16453 if test "x$with_gphoto" != "xno"
16456 if ${GPHOTO2_CFLAGS:+false} :
16458 if test ${PKG_CONFIG+y}
16460 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>conftest.err`
16463 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16464 if ${GPHOTO2_LIBS:+false} :
16466 if test ${PKG_CONFIG+y}
16468 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16471 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16472 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
16473 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16474 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16475 if test -s conftest.err
; then
16476 printf %s
"$as_me:${as_lineno-$LINENO}: libgphoto2 errors: " >&5
16477 cat conftest.err
>&5
16480 ac_save_CPPFLAGS
=$CPPFLAGS
16481 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
16482 ac_fn_c_check_header_compile
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16483 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16486 printf %s
"checking for gp_camera_new in -lgphoto2... " >&6; }
16487 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16489 printf %s
"(cached) " >&6
16491 ac_check_lib_save_LIBS
=$LIBS
16492 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16493 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16494 /* end confdefs.h. */
16496 /* Override any GCC internal prototype to avoid an error.
16497 Use char because int might match the return type of a GCC
16498 builtin and then its argument prototype would still apply. */
16499 char gp_camera_new ();
16503 return gp_camera_new ();
16508 if ac_fn_c_try_link
"$LINENO"
16510 ac_cv_lib_gphoto2_gp_camera_new
=yes
16512 ac_cv_lib_gphoto2_gp_camera_new
=no
16514 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16515 conftest
$ac_exeext conftest.
$ac_ext
16516 LIBS
=$ac_check_lib_save_LIBS
16518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16519 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16520 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16527 CPPFLAGS
=$ac_save_CPPFLAGS
16530 if ${GPHOTO2_PORT_CFLAGS:+false} :
16532 if test ${PKG_CONFIG+y}
16534 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>conftest.err`
16537 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16538 if ${GPHOTO2_PORT_LIBS:+false} :
16540 if test ${PKG_CONFIG+y}
16542 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16545 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16546 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16547 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16548 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16549 if test -s conftest.err
; then
16550 printf %s
"$as_me:${as_lineno-$LINENO}: libgphoto2_port errors: " >&5
16551 cat conftest.err
>&5
16554 ac_save_CPPFLAGS
=$CPPFLAGS
16555 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16556 ac_fn_c_check_header_compile
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16557 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16560 printf %s
"checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16561 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16563 printf %s
"(cached) " >&6
16565 ac_check_lib_save_LIBS
=$LIBS
16566 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16567 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16568 /* end confdefs.h. */
16570 /* Override any GCC internal prototype to avoid an error.
16571 Use char because int might match the return type of a GCC
16572 builtin and then its argument prototype would still apply. */
16573 char gp_port_info_list_new ();
16577 return gp_port_info_list_new ();
16582 if ac_fn_c_try_link
"$LINENO"
16584 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
16586 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
16588 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16589 conftest
$ac_exeext conftest.
$ac_ext
16590 LIBS
=$ac_check_lib_save_LIBS
16592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16593 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16594 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16597 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16600 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
16604 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
16607 CPPFLAGS
=$ac_save_CPPFLAGS
16610 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16612 case "x$with_gphoto" in
16613 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16615 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16616 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16618 enable_gphoto2_ds
=${enable_gphoto2_ds:-no}
16620 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16622 case "x$with_gphoto" in
16623 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16625 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16626 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16632 if test "$ac_cv_header_resolv_h" = "yes"
16634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16635 printf %s
"checking for resolver library... " >&6; }
16636 if test ${ac_cv_have_resolv+y}
16638 printf %s
"(cached) " >&6
16640 ac_save_LIBS
="$LIBS"
16641 for lib
in '' -lresolv
16643 LIBS
="$lib $ac_save_LIBS"
16644 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16645 /* end confdefs.h. */
16646 #ifdef HAVE_NETINET_IN_H
16647 #include <netinet/in.h>
16649 #include <resolv.h>
16653 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16658 if ac_fn_c_try_link
"$LINENO"
16660 ac_cv_have_resolv
=${lib:-"none required"}
16662 ac_cv_have_resolv
="not found"
16664 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16665 conftest
$ac_exeext conftest.
$ac_ext
16666 test "x$ac_cv_have_resolv" = "xnot found" ||
break
16668 LIBS
="$ac_save_LIBS"
16670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16671 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16673 case "$ac_cv_have_resolv" in
16677 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16680 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16682 RESOLV_LIBS
=$ac_cv_have_resolv
16686 if test "x$ac_cv_have_resolv" != "xnot found"
16688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16689 printf %s
"checking for res_getservers... " >&6; }
16690 if test ${ac_cv_have_res_getservers+y}
16692 printf %s
"(cached) " >&6
16694 ac_save_LIBS
="$LIBS"
16695 LIBS
="$RESOLV_LIBS $LIBS"
16696 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16697 /* end confdefs.h. */
16698 #include <resolv.h>
16702 res_getservers(NULL, NULL, 0);
16707 if ac_fn_c_try_link
"$LINENO"
16709 ac_cv_have_res_getservers
=yes
16711 ac_cv_have_res_getservers
=no
16713 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16714 conftest
$ac_exeext conftest.
$ac_ext
16715 LIBS
="$ac_save_LIBS"
16717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16718 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16719 if test "$ac_cv_have_res_getservers" = "yes"
16722 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16728 if test "x$with_freetype" != "xno"
16731 if ${FREETYPE_CFLAGS:+false} :
16733 if test ${PKG_CONFIG+y}
16735 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>conftest.err`
16738 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16739 if ${FREETYPE_LIBS:+false} :
16741 if test ${PKG_CONFIG+y}
16743 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16746 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16747 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
16748 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16749 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16750 if test -s conftest.err
; then
16751 printf %s
"$as_me:${as_lineno-$LINENO}: freetype2 errors: " >&5
16752 cat conftest.err
>&5
16755 ac_save_CPPFLAGS
=$CPPFLAGS
16756 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
16757 ac_fn_c_check_header_compile
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16758 if test "x$ac_cv_header_ft2build_h" = xyes
16760 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16764 if test "$ac_cv_header_ft2build_h" = "yes"
16766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16767 printf %s
"checking for -lfreetype... " >&6; }
16768 if test ${ac_cv_lib_soname_freetype+y}
16770 printf %s
"(cached) " >&6
16772 ac_check_soname_save_LIBS
=$LIBS
16773 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
16774 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16775 /* end confdefs.h. */
16777 /* Override any GCC internal prototype to avoid an error.
16778 Use char because int might match the return type of a GCC
16779 builtin and then its argument prototype would still apply. */
16780 char FT_Init_FreeType ();
16784 return FT_Init_FreeType ();
16789 if ac_fn_c_try_link
"$LINENO"
16792 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16793 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'` ;;
16794 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16795 if ${ac_cv_lib_soname_freetype:+false} :
16797 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16801 ac_cv_lib_soname_freetype
=
16803 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16804 conftest
$ac_exeext conftest.
$ac_ext
16805 LIBS
=$ac_check_soname_save_LIBS
16807 if ${ac_cv_lib_soname_freetype:+false} :
16809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16810 printf "%s\n" "not found" >&6; }
16813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16814 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16816 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16819 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16821 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16822 #include FT_MODULE_H
16824 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16827 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16837 CPPFLAGS
=$ac_save_CPPFLAGS
16840 if test "x$ac_cv_lib_soname_freetype" = x
16842 case "x$with_freetype" in
16844 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
16845 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16847 enable_fonts
=${enable_fonts:-no}
16850 ac_wine_check_funcs_save_LIBS
="$LIBS"
16851 LIBS
="$LIBS $PTHREAD_LIBS"
16852 ac_fn_c_check_func
"$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16853 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16855 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16859 LIBS
="$ac_wine_check_funcs_save_LIBS"
16861 if test "x$enable_tools" != xno
-a "x$with_gettextpo" = xyes
16863 if test "$ac_cv_header_gettext_po_h" = "yes"
16865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16866 printf %s
"checking for po_message_msgctxt in -lgettextpo... " >&6; }
16867 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16869 printf %s
"(cached) " >&6
16871 ac_check_lib_save_LIBS
=$LIBS
16872 LIBS
="-lgettextpo $LIBS"
16873 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16874 /* end confdefs.h. */
16876 /* Override any GCC internal prototype to avoid an error.
16877 Use char because int might match the return type of a GCC
16878 builtin and then its argument prototype would still apply. */
16879 char po_message_msgctxt ();
16883 return po_message_msgctxt ();
16888 if ac_fn_c_try_link
"$LINENO"
16890 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
16892 ac_cv_lib_gettextpo_po_message_msgctxt
=no
16894 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16895 conftest
$ac_exeext conftest.
$ac_ext
16896 LIBS
=$ac_check_lib_save_LIBS
16898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16899 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16900 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16903 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16905 GETTEXTPO_LIBS
="-lgettextpo"
16910 if test "x$GETTEXTPO_LIBS" = "x"
16912 case "x$with_gettextpo" in
16913 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16915 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16916 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16920 if test "$srcdir" != .
16922 case "x$with_gettextpo" in
16923 x
) as_fn_append wine_notices
"|Rebuilding po files is not supported for out of tree builds." ;;
16925 *) as_fn_error $?
"Rebuilding po files is not supported for out of tree builds.
16926 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16932 if test "x$with_pulse" != "xno";
16935 if ${PULSE_CFLAGS:+false} :
16937 if test ${PKG_CONFIG+y}
16939 PULSE_CFLAGS
=`$PKG_CONFIG --cflags libpulse 2>conftest.err`
16943 if ${PULSE_LIBS:+false} :
16945 if test ${PKG_CONFIG+y}
16947 PULSE_LIBS
=`$PKG_CONFIG --libs libpulse 2>/dev/null`
16952 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
16953 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
16954 if test -s conftest.err
; then
16955 printf %s
"$as_me:${as_lineno-$LINENO}: libpulse errors: " >&5
16956 cat conftest.err
>&5
16959 ac_save_CPPFLAGS
=$CPPFLAGS
16960 CPPFLAGS
="$CPPFLAGS $PULSE_CFLAGS"
16961 for ac_header
in pulse
/pulseaudio.h
16963 ac_fn_c_check_header_compile
"$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
16964 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
16966 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
16967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
16968 printf %s
"checking for pa_stream_is_corked in -lpulse... " >&6; }
16969 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
16971 printf %s
"(cached) " >&6
16973 ac_check_lib_save_LIBS
=$LIBS
16974 LIBS
="-lpulse $PULSE_LIBS $LIBS"
16975 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16976 /* end confdefs.h. */
16978 /* Override any GCC internal prototype to avoid an error.
16979 Use char because int might match the return type of a GCC
16980 builtin and then its argument prototype would still apply. */
16981 char pa_stream_is_corked ();
16985 return pa_stream_is_corked ();
16990 if ac_fn_c_try_link
"$LINENO"
16992 ac_cv_lib_pulse_pa_stream_is_corked
=yes
16994 ac_cv_lib_pulse_pa_stream_is_corked
=no
16996 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16997 conftest
$ac_exeext conftest.
$ac_ext
16998 LIBS
=$ac_check_lib_save_LIBS
17000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
17001 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
17002 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
17014 CPPFLAGS
=$ac_save_CPPFLAGS
17017 if test -z "$PULSE_LIBS"
17019 case "x$with_pulse" in
17020 x
) as_fn_append wine_notices
"|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
17022 *) as_fn_error $?
"libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
17023 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
17025 enable_winepulse_drv
=${enable_winepulse_drv:-no}
17028 if test "x$with_gstreamer" != "xno"
17031 if ${GSTREAMER_CFLAGS:+false} :
17033 if test ${PKG_CONFIG+y}
17035 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>conftest.err`
17039 if ${GSTREAMER_LIBS:+false} :
17041 if test ${PKG_CONFIG+y}
17043 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>/dev/null`
17048 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
17049 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
17050 if test -s conftest.err
; then
17051 printf %s
"$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 errors: " >&5
17052 cat conftest.err
>&5
17055 ac_save_CPPFLAGS
=$CPPFLAGS
17056 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
17057 ac_fn_c_check_header_compile
"$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
17058 if test "x$ac_cv_header_gst_gst_h" = xyes
17060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
17061 printf %s
"checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
17062 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17063 /* end confdefs.h. */
17064 #include <gst/gst.h>
17068 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17073 if ac_fn_c_try_compile
"$LINENO"
17075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17076 printf "%s\n" "yes" >&6; }
17077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17078 printf %s
"checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17079 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17081 printf %s
"(cached) " >&6
17083 ac_check_lib_save_LIBS
=$LIBS
17084 LIBS
="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17086 /* end confdefs.h. */
17088 /* Override any GCC internal prototype to avoid an error.
17089 Use char because int might match the return type of a GCC
17090 builtin and then its argument prototype would still apply. */
17091 char gst_pad_new ();
17095 return gst_pad_new ();
17100 if ac_fn_c_try_link
"$LINENO"
17102 ac_cv_lib_gstreamer_1_0_gst_pad_new
=yes
17104 ac_cv_lib_gstreamer_1_0_gst_pad_new
=no
17106 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17107 conftest
$ac_exeext conftest.
$ac_ext
17108 LIBS
=$ac_check_lib_save_LIBS
17110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17111 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17112 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17119 printf "%s\n" "no" >&6; }
17120 ac_glib2_broken
=yes
17121 enable_winegstreamer
=${enable_winegstreamer:-no}
17122 as_fn_append wine_notices
"|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17124 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17127 CPPFLAGS
=$ac_save_CPPFLAGS
17130 if test "x$ac_glib2_broken" != xyes
-a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17132 case "x$with_gstreamer" in
17133 x
) as_fn_append wine_notices
"|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17135 *) as_fn_error $?
"gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17136 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17138 enable_winegstreamer
=${enable_winegstreamer:-no}
17143 if test "x$with_alsa" != "xno"
17145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17146 printf %s
"checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17147 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17149 printf %s
"(cached) " >&6
17151 ac_check_lib_save_LIBS
=$LIBS
17152 LIBS
="-lasound $LIBS"
17153 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17154 /* end confdefs.h. */
17156 /* Override any GCC internal prototype to avoid an error.
17157 Use char because int might match the return type of a GCC
17158 builtin and then its argument prototype would still apply. */
17159 char snd_pcm_hw_params_get_access_mask ();
17163 return snd_pcm_hw_params_get_access_mask ();
17168 if ac_fn_c_try_link
"$LINENO"
17170 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
17172 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
17174 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17175 conftest
$ac_exeext conftest.
$ac_ext
17176 LIBS
=$ac_check_lib_save_LIBS
17178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17179 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17180 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17182 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17183 /* end confdefs.h. */
17184 #include <alsa/asoundlib.h>
17188 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17193 if ac_fn_c_try_compile
"$LINENO"
17195 ALSA_LIBS
="-lasound"
17197 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17201 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
17203 if test "x$with_oss" != xno
17205 ac_save_CPPFLAGS
="$CPPFLAGS"
17206 if test -f /etc
/oss.conf
17210 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17211 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
17212 ac_fn_c_check_header_compile
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17213 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17215 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17217 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17220 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17222 OSS4_CFLAGS
="$ac_oss_incl"
17224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17225 printf %s
"checking for _oss_ioctl in -lossaudio... " >&6; }
17226 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17228 printf %s
"(cached) " >&6
17230 ac_check_lib_save_LIBS
=$LIBS
17231 LIBS
="-lossaudio $LIBS"
17232 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17233 /* end confdefs.h. */
17235 /* Override any GCC internal prototype to avoid an error.
17236 Use char because int might match the return type of a GCC
17237 builtin and then its argument prototype would still apply. */
17238 char _oss_ioctl ();
17242 return _oss_ioctl ();
17247 if ac_fn_c_try_link
"$LINENO"
17249 ac_cv_lib_ossaudio__oss_ioctl
=yes
17251 ac_cv_lib_ossaudio__oss_ioctl
=no
17253 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17254 conftest
$ac_exeext conftest.
$ac_ext
17255 LIBS
=$ac_check_lib_save_LIBS
17257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17258 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17259 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17261 OSS4_LIBS
="-lossaudio"
17269 CPPFLAGS
="$ac_save_CPPFLAGS"
17271 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17273 case "x$with_oss" in
17274 x
) as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17276 *) as_fn_error $?
"OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17277 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17279 enable_wineoss_drv
=${enable_wineoss_drv:-no}
17282 if test "x$with_udev" != "xno"
17285 if ${UDEV_CFLAGS:+false} :
17287 if test ${PKG_CONFIG+y}
17289 UDEV_CFLAGS
=`$PKG_CONFIG --cflags libudev 2>conftest.err`
17293 if ${UDEV_LIBS:+false} :
17295 if test ${PKG_CONFIG+y}
17297 UDEV_LIBS
=`$PKG_CONFIG --libs libudev 2>/dev/null`
17301 UDEV_LIBS
=${UDEV_LIBS:-"-ludev"}
17302 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17303 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17304 if test -s conftest.err
; then
17305 printf %s
"$as_me:${as_lineno-$LINENO}: libudev errors: " >&5
17306 cat conftest.err
>&5
17309 ac_save_CPPFLAGS
=$CPPFLAGS
17310 CPPFLAGS
="$CPPFLAGS $UDEV_CFLAGS"
17311 for ac_header
in libudev.h
17313 ac_fn_c_check_header_compile
"$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17314 if test "x$ac_cv_header_libudev_h" = xyes
17316 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17318 printf %s
"checking for udev_new in -ludev... " >&6; }
17319 if test ${ac_cv_lib_udev_udev_new+y}
17321 printf %s
"(cached) " >&6
17323 ac_check_lib_save_LIBS
=$LIBS
17324 LIBS
="-ludev $UDEV_LIBS $LIBS"
17325 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17326 /* end confdefs.h. */
17328 /* Override any GCC internal prototype to avoid an error.
17329 Use char because int might match the return type of a GCC
17330 builtin and then its argument prototype would still apply. */
17335 return udev_new ();
17340 if ac_fn_c_try_link
"$LINENO"
17342 ac_cv_lib_udev_udev_new
=yes
17344 ac_cv_lib_udev_udev_new
=no
17346 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17347 conftest
$ac_exeext conftest.
$ac_ext
17348 LIBS
=$ac_check_lib_save_LIBS
17350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17351 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17352 if test "x$ac_cv_lib_udev_udev_new" = xyes
17355 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17366 CPPFLAGS
=$ac_save_CPPFLAGS
17369 if test "x$UDEV_LIBS" = "x"
17371 case "x$with_udev" in
17372 x
) as_fn_append wine_notices
"|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17374 *) as_fn_error $?
"libudev ${notice_platform}development files not found, plug and play won't be supported.
17375 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17380 if test "x$with_unwind" != xno
17383 if ${UNWIND_CFLAGS:+false} :
17385 if test ${PKG_CONFIG+y}
17387 UNWIND_CFLAGS
=`$PKG_CONFIG --cflags libunwind 2>conftest.err`
17391 if ${UNWIND_LIBS:+false} :
17393 if test ${PKG_CONFIG+y}
17395 UNWIND_LIBS
=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17399 UNWIND_LIBS
=${UNWIND_LIBS:-"-lunwind"}
17400 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17401 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17402 if test -s conftest.err
; then
17403 printf %s
"$as_me:${as_lineno-$LINENO}: libunwind errors: " >&5
17404 cat conftest.err
>&5
17407 ac_save_CPPFLAGS
=$CPPFLAGS
17408 CPPFLAGS
="$CPPFLAGS $UNWIND_CFLAGS"
17409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17410 printf %s
"checking for unw_step... " >&6; }
17411 if test ${wine_cv_have_unw_step+y}
17413 printf %s
"(cached) " >&6
17415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17416 /* end confdefs.h. */
17417 #define UNW_LOCAL_ONLY
17418 #include <libunwind.h>
17422 unw_cursor_t cursor; unw_step( &cursor );
17427 if ac_fn_c_try_link
"$LINENO"
17429 wine_cv_have_unw_step
="yes"
17431 wine_cv_have_unw_step
="no"
17433 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17434 conftest
$ac_exeext conftest.
$ac_ext
17436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17437 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17438 if test "$wine_cv_have_unw_step" = no
-a -n "$UNWIND_LIBS"
17441 UNWIND_LIBS
="-static-libgcc $UNWIND_LIBS"
17442 LIBS
="$UNWIND_LIBS $LIBS"
17443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17444 printf %s
"checking for unw_step in libunwind... " >&6; }
17445 if test ${wine_cv_have_libunwind_unw_step+y}
17447 printf %s
"(cached) " >&6
17449 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17450 /* end confdefs.h. */
17451 #define UNW_LOCAL_ONLY
17452 #include <libunwind.h>
17456 unw_cursor_t cursor; unw_step( &cursor );
17461 if ac_fn_c_try_link
"$LINENO"
17463 wine_cv_have_libunwind_unw_step
="yes"
17465 wine_cv_have_libunwind_unw_step
="no"
17467 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17468 conftest
$ac_exeext conftest.
$ac_ext
17470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17471 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17474 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS
=""
17475 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17478 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17481 CPPFLAGS
=$ac_save_CPPFLAGS
17485 aarch64
*|
*-darwin*)
17486 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17488 case "x$with_unwind" in
17489 x
) as_fn_append wine_notices
"|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17491 *) as_fn_error $?
"libunwind ${notice_platform}development files not found, stack unwinding won't work.
17492 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17498 if test "x$with_sdl" != "xno"
17501 if ${SDL2_CFLAGS:+false} :
17503 if test ${PKG_CONFIG+y}
17505 SDL2_CFLAGS
=`$PKG_CONFIG --cflags sdl2 2>conftest.err`
17509 if ${SDL2_LIBS:+false} :
17511 if test ${PKG_CONFIG+y}
17513 SDL2_LIBS
=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17517 SDL2_LIBS
=${SDL2_LIBS:-"-lSDL2"}
17518 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17519 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17520 if test -s conftest.err
; then
17521 printf %s
"$as_me:${as_lineno-$LINENO}: sdl2 errors: " >&5
17522 cat conftest.err
>&5
17525 ac_save_CPPFLAGS
=$CPPFLAGS
17526 CPPFLAGS
="$CPPFLAGS $SDL2_CFLAGS"
17527 for ac_header
in SDL.h
17529 ac_fn_c_check_header_compile
"$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17530 if test "x$ac_cv_header_SDL_h" = xyes
17532 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17534 printf %s
"checking for -lSDL2... " >&6; }
17535 if test ${ac_cv_lib_soname_SDL2+y}
17537 printf %s
"(cached) " >&6
17539 ac_check_soname_save_LIBS
=$LIBS
17540 LIBS
="-lSDL2 $SDL2_LIBS $LIBS"
17541 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17542 /* end confdefs.h. */
17544 /* Override any GCC internal prototype to avoid an error.
17545 Use char because int might match the return type of a GCC
17546 builtin and then its argument prototype would still apply. */
17551 return SDL_Init ();
17556 if ac_fn_c_try_link
"$LINENO"
17559 dll
) ac_cv_lib_soname_SDL2
=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17560 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'` ;;
17561 *) 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'`
17562 if ${ac_cv_lib_soname_SDL2:+false} :
17564 ac_cv_lib_soname_SDL2
=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17568 ac_cv_lib_soname_SDL2
=
17570 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17571 conftest
$ac_exeext conftest.
$ac_ext
17572 LIBS
=$ac_check_soname_save_LIBS
17574 if ${ac_cv_lib_soname_SDL2:+false} :
17576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17577 printf "%s\n" "not found" >&6; }
17580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17581 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17583 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17590 CPPFLAGS
=$ac_save_CPPFLAGS
17593 if test "x$ac_cv_lib_soname_SDL2" = "x"
17595 case "x$with_sdl" in
17596 x
) as_fn_append wine_notices
"|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17598 *) as_fn_error $?
"libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17599 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17604 if test "x$with_capi" != "xno"
17607 if ${CAPI20_CFLAGS:+false} :
17609 if test ${PKG_CONFIG+y}
17611 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>conftest.err`
17615 if ${CAPI20_LIBS:+false} :
17617 if test ${PKG_CONFIG+y}
17619 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
17624 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17625 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17626 if test -s conftest.err
; then
17627 printf %s
"$as_me:${as_lineno-$LINENO}: capi20 errors: " >&5
17628 cat conftest.err
>&5
17631 ac_save_CPPFLAGS
=$CPPFLAGS
17632 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
17633 ac_fn_c_check_header_compile
"$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17635 if test "x$ac_cv_header_capi20_h" = xyes
17637 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17640 ac_fn_c_check_header_compile
"$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17642 if test "x$ac_cv_header_linux_capi_h" = xyes
17644 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17648 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17651 printf %s
"checking for capi20_register in -lcapi20... " >&6; }
17652 if test ${ac_cv_lib_capi20_capi20_register+y}
17654 printf %s
"(cached) " >&6
17656 ac_check_lib_save_LIBS
=$LIBS
17657 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
17658 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17659 /* end confdefs.h. */
17661 /* Override any GCC internal prototype to avoid an error.
17662 Use char because int might match the return type of a GCC
17663 builtin and then its argument prototype would still apply. */
17664 char capi20_register ();
17668 return capi20_register ();
17673 if ac_fn_c_try_link
"$LINENO"
17675 ac_cv_lib_capi20_capi20_register
=yes
17677 ac_cv_lib_capi20_capi20_register
=no
17679 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17680 conftest
$ac_exeext conftest.
$ac_ext
17681 LIBS
=$ac_check_lib_save_LIBS
17683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17684 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17685 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17693 CPPFLAGS
=$ac_save_CPPFLAGS
17696 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17698 case "x$with_capi" in
17699 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17701 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17702 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17704 enable_capi2032
=${enable_capi2032:-no}
17707 if test "x$with_cups" != "xno"
17710 if ${CUPS_CFLAGS:+false} :
17712 if test ${PKG_CONFIG+y}
17714 CUPS_CFLAGS
=`$PKG_CONFIG --cflags cups 2>conftest.err`
17717 test "$cross_compiling" = yes || CUPS_CFLAGS
=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17718 if ${CUPS_LIBS:+false} :
17720 if test ${PKG_CONFIG+y}
17722 CUPS_LIBS
=`$PKG_CONFIG --libs cups 2>/dev/null`
17725 test "$cross_compiling" = yes || CUPS_LIBS
=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17726 CUPS_LIBS
=${CUPS_LIBS:-"-lcups"}
17727 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17728 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17729 if test -s conftest.err
; then
17730 printf %s
"$as_me:${as_lineno-$LINENO}: cups errors: " >&5
17731 cat conftest.err
>&5
17734 ac_save_CPPFLAGS
=$CPPFLAGS
17735 CPPFLAGS
="$CPPFLAGS $CUPS_CFLAGS"
17736 ac_fn_c_check_header_compile
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17737 if test "x$ac_cv_header_cups_cups_h" = xyes
17739 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17742 ac_fn_c_check_header_compile
"$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17743 if test "x$ac_cv_header_cups_ppd_h" = xyes
17745 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17749 if test "$ac_cv_header_cups_cups_h" = "yes"
17751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17752 printf %s
"checking for -lcups... " >&6; }
17753 if test ${ac_cv_lib_soname_cups+y}
17755 printf %s
"(cached) " >&6
17757 ac_check_soname_save_LIBS
=$LIBS
17758 LIBS
="-lcups $CUPS_LIBS $LIBS"
17759 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17760 /* end confdefs.h. */
17762 /* Override any GCC internal prototype to avoid an error.
17763 Use char because int might match the return type of a GCC
17764 builtin and then its argument prototype would still apply. */
17765 char cupsGetDefault ();
17769 return cupsGetDefault ();
17774 if ac_fn_c_try_link
"$LINENO"
17777 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17778 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'` ;;
17779 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17780 if ${ac_cv_lib_soname_cups:+false} :
17782 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17786 ac_cv_lib_soname_cups
=
17788 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17789 conftest
$ac_exeext conftest.
$ac_ext
17790 LIBS
=$ac_check_soname_save_LIBS
17792 if ${ac_cv_lib_soname_cups:+false} :
17794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17795 printf "%s\n" "not found" >&6; }
17798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17799 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17801 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17809 CPPFLAGS
=$ac_save_CPPFLAGS
17812 if test "x$ac_cv_lib_soname_cups" = "x"
17814 case "x$with_cups" in
17815 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17817 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
17818 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17823 if test "x$with_fontconfig" != "xno"
17826 if ${FONTCONFIG_CFLAGS:+false} :
17828 if test ${PKG_CONFIG+y}
17830 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>conftest.err`
17833 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17834 if ${FONTCONFIG_LIBS:+false} :
17836 if test ${PKG_CONFIG+y}
17838 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17841 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
17843 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17844 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17845 if test -s conftest.err
; then
17846 printf %s
"$as_me:${as_lineno-$LINENO}: fontconfig errors: " >&5
17847 cat conftest.err
>&5
17850 ac_save_CPPFLAGS
=$CPPFLAGS
17851 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
17852 ac_fn_c_check_header_compile
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17853 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17855 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17859 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17862 printf %s
"checking for -lfontconfig... " >&6; }
17863 if test ${ac_cv_lib_soname_fontconfig+y}
17865 printf %s
"(cached) " >&6
17867 ac_check_soname_save_LIBS
=$LIBS
17868 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17869 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17870 /* end confdefs.h. */
17872 /* Override any GCC internal prototype to avoid an error.
17873 Use char because int might match the return type of a GCC
17874 builtin and then its argument prototype would still apply. */
17884 if ac_fn_c_try_link
"$LINENO"
17887 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17888 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'` ;;
17889 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17890 if ${ac_cv_lib_soname_fontconfig:+false} :
17892 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17896 ac_cv_lib_soname_fontconfig
=
17898 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17899 conftest
$ac_exeext conftest.
$ac_ext
17900 LIBS
=$ac_check_soname_save_LIBS
17902 if ${ac_cv_lib_soname_fontconfig:+false} :
17904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17905 printf "%s\n" "not found" >&6; }
17906 FONTCONFIG_CFLAGS
=""
17908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17909 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17911 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17916 FONTCONFIG_CFLAGS
=""
17918 CPPFLAGS
=$ac_save_CPPFLAGS
17921 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17923 case "x$with_fontconfig" in
17924 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17926 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17927 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17932 if test "x$with_krb5" != "xno"
17935 if ${KRB5_CFLAGS:+false} :
17937 if test ${PKG_CONFIG+y}
17939 KRB5_CFLAGS
=`$PKG_CONFIG --cflags krb5 2>conftest.err`
17942 test "$cross_compiling" = yes || KRB5_CFLAGS
=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17943 if ${KRB5_LIBS:+false} :
17945 if test ${PKG_CONFIG+y}
17947 KRB5_LIBS
=`$PKG_CONFIG --libs krb5 2>/dev/null`
17950 test "$cross_compiling" = yes || KRB5_LIBS
=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17952 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17953 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17954 if test -s conftest.err
; then
17955 printf %s
"$as_me:${as_lineno-$LINENO}: krb5 errors: " >&5
17956 cat conftest.err
>&5
17959 ac_save_CPPFLAGS
=$CPPFLAGS
17960 CPPFLAGS
="$CPPFLAGS $KRB5_CFLAGS"
17961 ac_fn_c_check_header_compile
"$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17962 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17964 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17968 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17971 printf %s
"checking for -lkrb5... " >&6; }
17972 if test ${ac_cv_lib_soname_krb5+y}
17974 printf %s
"(cached) " >&6
17976 ac_check_soname_save_LIBS
=$LIBS
17977 LIBS
="-lkrb5 $KRB5_LIBS $LIBS"
17978 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17979 /* end confdefs.h. */
17981 /* Override any GCC internal prototype to avoid an error.
17982 Use char because int might match the return type of a GCC
17983 builtin and then its argument prototype would still apply. */
17984 char krb5_is_config_principal ();
17988 return krb5_is_config_principal ();
17993 if ac_fn_c_try_link
"$LINENO"
17996 dll
) ac_cv_lib_soname_krb5
=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17997 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'` ;;
17998 *) ac_cv_lib_soname_krb5
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17999 if ${ac_cv_lib_soname_krb5:+false} :
18001 ac_cv_lib_soname_krb5
=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18005 ac_cv_lib_soname_krb5
=
18007 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18008 conftest
$ac_exeext conftest.
$ac_ext
18009 LIBS
=$ac_check_soname_save_LIBS
18011 if ${ac_cv_lib_soname_krb5:+false} :
18013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18014 printf "%s\n" "not found" >&6; }
18017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
18018 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
18020 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
18027 CPPFLAGS
=$ac_save_CPPFLAGS
18030 if test "x$ac_cv_lib_soname_krb5" = "x"
18032 case "x$with_krb5" in
18033 x
) as_fn_append wine_notices
"|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
18035 *) as_fn_error $?
"libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
18036 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
18040 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi
=${with_gssapi:-no}
18042 if test "x$with_gssapi" != "xno"
18045 if ${GSSAPI_CFLAGS:+false} :
18047 if test ${PKG_CONFIG+y}
18049 GSSAPI_CFLAGS
=`$PKG_CONFIG --cflags krb5-gssapi 2>conftest.err`
18052 test "$cross_compiling" = yes || GSSAPI_CFLAGS
=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
18053 if ${GSSAPI_LIBS:+false} :
18055 if test ${PKG_CONFIG+y}
18057 GSSAPI_LIBS
=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
18060 test "$cross_compiling" = yes || GSSAPI_LIBS
=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
18062 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
18063 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
18064 if test -s conftest.err
; then
18065 printf %s
"$as_me:${as_lineno-$LINENO}: krb5-gssapi errors: " >&5
18066 cat conftest.err
>&5
18069 ac_save_CPPFLAGS
=$CPPFLAGS
18070 CPPFLAGS
="$CPPFLAGS $GSSAPI_CFLAGS"
18071 ac_fn_c_check_header_compile
"$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
18072 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
18074 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
18077 ac_fn_c_check_header_compile
"$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
18078 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
18080 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
18084 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
18086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
18087 printf %s
"checking for -lgssapi_krb5... " >&6; }
18088 if test ${ac_cv_lib_soname_gssapi_krb5+y}
18090 printf %s
"(cached) " >&6
18092 ac_check_soname_save_LIBS
=$LIBS
18093 LIBS
="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
18094 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18095 /* end confdefs.h. */
18097 /* Override any GCC internal prototype to avoid an error.
18098 Use char because int might match the return type of a GCC
18099 builtin and then its argument prototype would still apply. */
18100 char gss_init_sec_context ();
18104 return gss_init_sec_context ();
18109 if ac_fn_c_try_link
"$LINENO"
18112 dll
) ac_cv_lib_soname_gssapi_krb5
=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18113 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'` ;;
18114 *) 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'`
18115 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18117 ac_cv_lib_soname_gssapi_krb5
=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18121 ac_cv_lib_soname_gssapi_krb5
=
18123 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18124 conftest
$ac_exeext conftest.
$ac_ext
18125 LIBS
=$ac_check_soname_save_LIBS
18127 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18130 printf "%s\n" "not found" >&6; }
18133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18134 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18136 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18143 CPPFLAGS
=$ac_save_CPPFLAGS
18146 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18148 case "x$with_gssapi" in
18149 x
) as_fn_append wine_notices
"|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18151 *) as_fn_error $?
"libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18152 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18157 if test "$ac_cv_header_libprocstat_h" = "yes"
18159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18160 printf %s
"checking for procstat_open_sysctl in -lprocstat... " >&6; }
18161 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18163 printf %s
"(cached) " >&6
18165 ac_check_lib_save_LIBS
=$LIBS
18166 LIBS
="-lprocstat $LIBS"
18167 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18168 /* end confdefs.h. */
18170 /* Override any GCC internal prototype to avoid an error.
18171 Use char because int might match the return type of a GCC
18172 builtin and then its argument prototype would still apply. */
18173 char procstat_open_sysctl ();
18177 return procstat_open_sysctl ();
18182 if ac_fn_c_try_link
"$LINENO"
18184 ac_cv_lib_procstat_procstat_open_sysctl
=yes
18186 ac_cv_lib_procstat_procstat_open_sysctl
=no
18188 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18189 conftest
$ac_exeext conftest.
$ac_ext
18190 LIBS
=$ac_check_lib_save_LIBS
18192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18193 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18194 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18197 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18199 PROCSTAT_LIBS
="-lprocstat"
18205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18206 printf %s
"checking for -lodbc... " >&6; }
18207 if test ${ac_cv_lib_soname_odbc+y}
18209 printf %s
"(cached) " >&6
18211 ac_check_soname_save_LIBS
=$LIBS
18212 LIBS
="-lodbc $LIBS"
18213 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18214 /* end confdefs.h. */
18216 /* Override any GCC internal prototype to avoid an error.
18217 Use char because int might match the return type of a GCC
18218 builtin and then its argument prototype would still apply. */
18219 char SQLConnect ();
18223 return SQLConnect ();
18228 if ac_fn_c_try_link
"$LINENO"
18231 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18232 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'` ;;
18233 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18234 if ${ac_cv_lib_soname_odbc:+false} :
18236 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18240 ac_cv_lib_soname_odbc
=
18242 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18243 conftest
$ac_exeext conftest.
$ac_ext
18244 LIBS
=$ac_check_soname_save_LIBS
18246 if ${ac_cv_lib_soname_odbc:+false} :
18248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18249 printf "%s\n" "not found" >&6; }
18250 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18254 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18256 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18261 if test "x$with_netapi" != "xno"
18264 if ${NETAPI_CFLAGS:+false} :
18266 if test ${PKG_CONFIG+y}
18268 NETAPI_CFLAGS
=`$PKG_CONFIG --cflags netapi 2>conftest.err`
18272 if ${NETAPI_LIBS:+false} :
18274 if test ${PKG_CONFIG+y}
18276 NETAPI_LIBS
=`$PKG_CONFIG --libs netapi 2>/dev/null`
18281 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18282 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18283 if test -s conftest.err
; then
18284 printf %s
"$as_me:${as_lineno-$LINENO}: netapi errors: " >&5
18285 cat conftest.err
>&5
18288 ac_save_CPPFLAGS
=$CPPFLAGS
18289 CPPFLAGS
="$CPPFLAGS $NETAPI_CFLAGS"
18290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18291 printf %s
"checking for -lnetapi... " >&6; }
18292 if test ${ac_cv_lib_soname_netapi+y}
18294 printf %s
"(cached) " >&6
18296 ac_check_soname_save_LIBS
=$LIBS
18297 LIBS
="-lnetapi $NETAPI_LIBS $LIBS"
18298 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18299 /* end confdefs.h. */
18301 /* Override any GCC internal prototype to avoid an error.
18302 Use char because int might match the return type of a GCC
18303 builtin and then its argument prototype would still apply. */
18304 char libnetapi_init ();
18308 return libnetapi_init ();
18313 if ac_fn_c_try_link
"$LINENO"
18316 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18317 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'` ;;
18318 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18319 if ${ac_cv_lib_soname_netapi:+false} :
18321 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18325 ac_cv_lib_soname_netapi
=
18327 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18328 conftest
$ac_exeext conftest.
$ac_ext
18329 LIBS
=$ac_check_soname_save_LIBS
18331 if ${ac_cv_lib_soname_netapi:+false} :
18333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18334 printf "%s\n" "not found" >&6; }
18335 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18339 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18341 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18345 CPPFLAGS
=$ac_save_CPPFLAGS
18348 if test "x$ac_cv_lib_soname_netapi" = "x"
18350 case "x$with_netapi" in
18351 x
) as_fn_append wine_notices
"|libnetapi not found, Samba NetAPI won't be supported." ;;
18353 *) as_fn_error $?
"libnetapi not found, Samba NetAPI won't be supported.
18354 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18356 enable_netapi
=${enable_netapi:-no}
18360 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono
-a \
18361 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18363 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
18366 if test "x$with_vulkan" != "xno"
18368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18369 printf %s
"checking for -lvulkan... " >&6; }
18370 if test ${ac_cv_lib_soname_vulkan+y}
18372 printf %s
"(cached) " >&6
18374 ac_check_soname_save_LIBS
=$LIBS
18375 LIBS
="-lvulkan $LIBS"
18376 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18377 /* end confdefs.h. */
18379 /* Override any GCC internal prototype to avoid an error.
18380 Use char because int might match the return type of a GCC
18381 builtin and then its argument prototype would still apply. */
18382 char vkGetInstanceProcAddr ();
18386 return vkGetInstanceProcAddr ();
18391 if ac_fn_c_try_link
"$LINENO"
18394 dll
) ac_cv_lib_soname_vulkan
=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18395 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'` ;;
18396 *) ac_cv_lib_soname_vulkan
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18397 if ${ac_cv_lib_soname_vulkan:+false} :
18399 ac_cv_lib_soname_vulkan
=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18403 ac_cv_lib_soname_vulkan
=
18405 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18406 conftest
$ac_exeext conftest.
$ac_ext
18407 LIBS
=$ac_check_soname_save_LIBS
18409 if ${ac_cv_lib_soname_vulkan:+false} :
18411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18412 printf "%s\n" "not found" >&6; }
18415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18416 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18418 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18422 if test "x$ac_cv_lib_soname_vulkan" = "x"
18424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18425 printf %s
"checking for -lMoltenVK... " >&6; }
18426 if test ${ac_cv_lib_soname_MoltenVK+y}
18428 printf %s
"(cached) " >&6
18430 ac_check_soname_save_LIBS
=$LIBS
18431 LIBS
="-lMoltenVK $LIBS"
18432 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18433 /* end confdefs.h. */
18435 /* Override any GCC internal prototype to avoid an error.
18436 Use char because int might match the return type of a GCC
18437 builtin and then its argument prototype would still apply. */
18438 char vkGetInstanceProcAddr ();
18442 return vkGetInstanceProcAddr ();
18447 if ac_fn_c_try_link
"$LINENO"
18450 dll
) ac_cv_lib_soname_MoltenVK
=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18451 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'` ;;
18452 *) ac_cv_lib_soname_MoltenVK
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18453 if ${ac_cv_lib_soname_MoltenVK:+false} :
18455 ac_cv_lib_soname_MoltenVK
=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18459 ac_cv_lib_soname_MoltenVK
=
18461 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18462 conftest
$ac_exeext conftest.
$ac_ext
18463 LIBS
=$ac_check_soname_save_LIBS
18465 if ${ac_cv_lib_soname_MoltenVK:+false} :
18467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18468 printf "%s\n" "not found" >&6; }
18471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18472 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18474 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18480 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18482 case "x$with_vulkan" in
18483 x
) as_fn_append wine_notices
"|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18485 *) as_fn_error $?
"libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18486 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18492 if test "x${GCC}" = "xyes"
18494 EXTRACFLAGS
="$EXTRACFLAGS -Wall -pipe"
18496 saved_CFLAGS
=$CFLAGS
18497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18498 printf %s
"checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18499 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18501 printf %s
"(cached) " >&6
18503 ac_wine_try_cflags_saved
=$CFLAGS
18504 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
18505 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18506 /* end confdefs.h. */
18507 int main(int argc, char **argv) { return 0; }
18509 if ac_fn_c_try_link
"$LINENO"
18511 ac_cv_cflags__Werror_unknown_warning_option
=yes
18513 ac_cv_cflags__Werror_unknown_warning_option
=no
18515 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18516 conftest
$ac_exeext conftest.
$ac_ext
18517 CFLAGS
=$ac_wine_try_cflags_saved
18519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18520 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18521 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18523 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
18525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18526 printf %s
"checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18527 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18529 printf %s
"(cached) " >&6
18531 ac_wine_try_cflags_saved
=$CFLAGS
18532 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
18533 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18534 /* end confdefs.h. */
18535 int main(int argc, char **argv) { return 0; }
18537 if ac_fn_c_try_link
"$LINENO"
18539 ac_cv_cflags__Werror_unused_command_line_argument
=yes
18541 ac_cv_cflags__Werror_unused_command_line_argument
=no
18543 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18544 conftest
$ac_exeext conftest.
$ac_ext
18545 CFLAGS
=$ac_wine_try_cflags_saved
18547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18548 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18549 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18551 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
18553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18554 printf %s
"checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18555 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18557 printf %s
"(cached) " >&6
18559 ac_wine_try_cflags_saved
=$CFLAGS
18560 CFLAGS
="$CFLAGS -Werror=ignored-optimization-argument"
18561 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18562 /* end confdefs.h. */
18563 int main(int argc, char **argv) { return 0; }
18565 if ac_fn_c_try_link
"$LINENO"
18567 ac_cv_cflags__Werror_ignored_optimization_argument
=yes
18569 ac_cv_cflags__Werror_ignored_optimization_argument
=no
18571 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18572 conftest
$ac_exeext conftest.
$ac_ext
18573 CFLAGS
=$ac_wine_try_cflags_saved
18575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18576 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18577 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18579 CFLAGS
="$CFLAGS -Werror=ignored-optimization-argument"
18581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18582 printf %s
"checking whether the compiler supports -fcf-protection=none... " >&6; }
18583 if test ${ac_cv_cflags__fcf_protection_none+y}
18585 printf %s
"(cached) " >&6
18587 ac_wine_try_cflags_saved
=$CFLAGS
18588 CFLAGS
="$CFLAGS -fcf-protection=none"
18589 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18590 /* end confdefs.h. */
18591 int main(int argc, char **argv) { return 0; }
18593 if ac_fn_c_try_link
"$LINENO"
18595 ac_cv_cflags__fcf_protection_none
=yes
18597 ac_cv_cflags__fcf_protection_none
=no
18599 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18600 conftest
$ac_exeext conftest.
$ac_ext
18601 CFLAGS
=$ac_wine_try_cflags_saved
18603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18604 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18605 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18607 EXTRACFLAGS
="$EXTRACFLAGS -fcf-protection=none"
18609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18610 printf %s
"checking whether the compiler supports -fno-stack-protector... " >&6; }
18611 if test ${ac_cv_cflags__fno_stack_protector+y}
18613 printf %s
"(cached) " >&6
18615 ac_wine_try_cflags_saved
=$CFLAGS
18616 CFLAGS
="$CFLAGS -fno-stack-protector"
18617 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18618 /* end confdefs.h. */
18619 int main(int argc, char **argv) { return 0; }
18621 if ac_fn_c_try_link
"$LINENO"
18623 ac_cv_cflags__fno_stack_protector
=yes
18625 ac_cv_cflags__fno_stack_protector
=no
18627 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18628 conftest
$ac_exeext conftest.
$ac_ext
18629 CFLAGS
=$ac_wine_try_cflags_saved
18631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18632 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18633 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18635 EXTRACFLAGS
="$EXTRACFLAGS -fno-stack-protector"
18637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18638 printf %s
"checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18639 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18641 printf %s
"(cached) " >&6
18643 ac_wine_try_cflags_saved
=$CFLAGS
18644 CFLAGS
="$CFLAGS -fno-strict-aliasing"
18645 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18646 /* end confdefs.h. */
18647 int main(int argc, char **argv) { return 0; }
18649 if ac_fn_c_try_link
"$LINENO"
18651 ac_cv_cflags__fno_strict_aliasing
=yes
18653 ac_cv_cflags__fno_strict_aliasing
=no
18655 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18656 conftest
$ac_exeext conftest.
$ac_ext
18657 CFLAGS
=$ac_wine_try_cflags_saved
18659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18660 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18661 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18663 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
18665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18666 printf %s
"checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18667 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18669 printf %s
"(cached) " >&6
18671 ac_wine_try_cflags_saved
=$CFLAGS
18672 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
18673 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18674 /* end confdefs.h. */
18675 int main(int argc, char **argv) { return 0; }
18677 if ac_fn_c_try_link
"$LINENO"
18679 ac_cv_cflags__Wdeclaration_after_statement
=yes
18681 ac_cv_cflags__Wdeclaration_after_statement
=no
18683 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18684 conftest
$ac_exeext conftest.
$ac_ext
18685 CFLAGS
=$ac_wine_try_cflags_saved
18687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18688 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18689 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18691 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
18693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18694 printf %s
"checking whether the compiler supports -Wempty-body... " >&6; }
18695 if test ${ac_cv_cflags__Wempty_body+y}
18697 printf %s
"(cached) " >&6
18699 ac_wine_try_cflags_saved
=$CFLAGS
18700 CFLAGS
="$CFLAGS -Wempty-body"
18701 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18702 /* end confdefs.h. */
18703 int main(int argc, char **argv) { return 0; }
18705 if ac_fn_c_try_link
"$LINENO"
18707 ac_cv_cflags__Wempty_body
=yes
18709 ac_cv_cflags__Wempty_body
=no
18711 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18712 conftest
$ac_exeext conftest.
$ac_ext
18713 CFLAGS
=$ac_wine_try_cflags_saved
18715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18716 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18717 if test "x$ac_cv_cflags__Wempty_body" = xyes
18719 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
18721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18722 printf %s
"checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18723 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18725 printf %s
"(cached) " >&6
18727 ac_wine_try_cflags_saved
=$CFLAGS
18728 CFLAGS
="$CFLAGS -Wignored-qualifiers"
18729 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18730 /* end confdefs.h. */
18731 int main(int argc, char **argv) { return 0; }
18733 if ac_fn_c_try_link
"$LINENO"
18735 ac_cv_cflags__Wignored_qualifiers
=yes
18737 ac_cv_cflags__Wignored_qualifiers
=no
18739 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18740 conftest
$ac_exeext conftest.
$ac_ext
18741 CFLAGS
=$ac_wine_try_cflags_saved
18743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18744 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18745 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18747 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
18749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18750 printf %s
"checking whether the compiler supports -Winit-self... " >&6; }
18751 if test ${ac_cv_cflags__Winit_self+y}
18753 printf %s
"(cached) " >&6
18755 ac_wine_try_cflags_saved
=$CFLAGS
18756 CFLAGS
="$CFLAGS -Winit-self"
18757 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18758 /* end confdefs.h. */
18759 int main(int argc, char **argv) { return 0; }
18761 if ac_fn_c_try_link
"$LINENO"
18763 ac_cv_cflags__Winit_self
=yes
18765 ac_cv_cflags__Winit_self
=no
18767 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18768 conftest
$ac_exeext conftest.
$ac_ext
18769 CFLAGS
=$ac_wine_try_cflags_saved
18771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18772 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18773 if test "x$ac_cv_cflags__Winit_self" = xyes
18775 EXTRACFLAGS
="$EXTRACFLAGS -Winit-self"
18777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18778 printf %s
"checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18779 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18781 printf %s
"(cached) " >&6
18783 ac_wine_try_cflags_saved
=$CFLAGS
18784 CFLAGS
="$CFLAGS -Wpacked-not-aligned"
18785 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18786 /* end confdefs.h. */
18787 int main(int argc, char **argv) { return 0; }
18789 if ac_fn_c_try_link
"$LINENO"
18791 ac_cv_cflags__Wpacked_not_aligned
=yes
18793 ac_cv_cflags__Wpacked_not_aligned
=no
18795 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18796 conftest
$ac_exeext conftest.
$ac_ext
18797 CFLAGS
=$ac_wine_try_cflags_saved
18799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18800 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18801 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18803 EXTRACFLAGS
="$EXTRACFLAGS -Wno-packed-not-aligned"
18805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18806 printf %s
"checking whether the compiler supports -Wpragma-pack... " >&6; }
18807 if test ${ac_cv_cflags__Wpragma_pack+y}
18809 printf %s
"(cached) " >&6
18811 ac_wine_try_cflags_saved
=$CFLAGS
18812 CFLAGS
="$CFLAGS -Wpragma-pack"
18813 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18814 /* end confdefs.h. */
18815 int main(int argc, char **argv) { return 0; }
18817 if ac_fn_c_try_link
"$LINENO"
18819 ac_cv_cflags__Wpragma_pack
=yes
18821 ac_cv_cflags__Wpragma_pack
=no
18823 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18824 conftest
$ac_exeext conftest.
$ac_ext
18825 CFLAGS
=$ac_wine_try_cflags_saved
18827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18828 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18829 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18831 EXTRACFLAGS
="$EXTRACFLAGS -Wno-pragma-pack"
18833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18834 printf %s
"checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18835 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18837 printf %s
"(cached) " >&6
18839 ac_wine_try_cflags_saved
=$CFLAGS
18840 CFLAGS
="$CFLAGS -Wshift-overflow=2"
18841 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18842 /* end confdefs.h. */
18843 int main(int argc, char **argv) { return 0; }
18845 if ac_fn_c_try_link
"$LINENO"
18847 ac_cv_cflags__Wshift_overflow_2
=yes
18849 ac_cv_cflags__Wshift_overflow_2
=no
18851 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18852 conftest
$ac_exeext conftest.
$ac_ext
18853 CFLAGS
=$ac_wine_try_cflags_saved
18855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18856 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18857 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18859 EXTRACFLAGS
="$EXTRACFLAGS -Wshift-overflow=2"
18861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18862 printf %s
"checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18863 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18865 printf %s
"(cached) " >&6
18867 ac_wine_try_cflags_saved
=$CFLAGS
18868 CFLAGS
="$CFLAGS -Wstrict-prototypes"
18869 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18870 /* end confdefs.h. */
18871 int main(int argc, char **argv) { return 0; }
18873 if ac_fn_c_try_link
"$LINENO"
18875 ac_cv_cflags__Wstrict_prototypes
=yes
18877 ac_cv_cflags__Wstrict_prototypes
=no
18879 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18880 conftest
$ac_exeext conftest.
$ac_ext
18881 CFLAGS
=$ac_wine_try_cflags_saved
18883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18884 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18885 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18887 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
18889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18890 printf %s
"checking whether the compiler supports -Wtype-limits... " >&6; }
18891 if test ${ac_cv_cflags__Wtype_limits+y}
18893 printf %s
"(cached) " >&6
18895 ac_wine_try_cflags_saved
=$CFLAGS
18896 CFLAGS
="$CFLAGS -Wtype-limits"
18897 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18898 /* end confdefs.h. */
18899 int main(int argc, char **argv) { return 0; }
18901 if ac_fn_c_try_link
"$LINENO"
18903 ac_cv_cflags__Wtype_limits
=yes
18905 ac_cv_cflags__Wtype_limits
=no
18907 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18908 conftest
$ac_exeext conftest.
$ac_ext
18909 CFLAGS
=$ac_wine_try_cflags_saved
18911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18912 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18913 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18915 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
18917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18918 printf %s
"checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18919 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18921 printf %s
"(cached) " >&6
18923 ac_wine_try_cflags_saved
=$CFLAGS
18924 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
18925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18926 /* end confdefs.h. */
18927 int main(int argc, char **argv) { return 0; }
18929 if ac_fn_c_try_link
"$LINENO"
18931 ac_cv_cflags__Wunused_but_set_parameter
=yes
18933 ac_cv_cflags__Wunused_but_set_parameter
=no
18935 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18936 conftest
$ac_exeext conftest.
$ac_ext
18937 CFLAGS
=$ac_wine_try_cflags_saved
18939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
18940 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
18941 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
18943 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
18945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
18946 printf %s
"checking whether the compiler supports -Wvla... " >&6; }
18947 if test ${ac_cv_cflags__Wvla+y}
18949 printf %s
"(cached) " >&6
18951 ac_wine_try_cflags_saved
=$CFLAGS
18952 CFLAGS
="$CFLAGS -Wvla"
18953 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18954 /* end confdefs.h. */
18955 int main(int argc, char **argv) { return 0; }
18957 if ac_fn_c_try_link
"$LINENO"
18959 ac_cv_cflags__Wvla
=yes
18961 ac_cv_cflags__Wvla
=no
18963 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18964 conftest
$ac_exeext conftest.
$ac_ext
18965 CFLAGS
=$ac_wine_try_cflags_saved
18967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
18968 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
18969 if test "x$ac_cv_cflags__Wvla" = xyes
18971 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
18973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
18974 printf %s
"checking whether the compiler supports -Wwrite-strings... " >&6; }
18975 if test ${ac_cv_cflags__Wwrite_strings+y}
18977 printf %s
"(cached) " >&6
18979 ac_wine_try_cflags_saved
=$CFLAGS
18980 CFLAGS
="$CFLAGS -Wwrite-strings"
18981 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18982 /* end confdefs.h. */
18983 int main(int argc, char **argv) { return 0; }
18985 if ac_fn_c_try_link
"$LINENO"
18987 ac_cv_cflags__Wwrite_strings
=yes
18989 ac_cv_cflags__Wwrite_strings
=no
18991 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18992 conftest
$ac_exeext conftest.
$ac_ext
18993 CFLAGS
=$ac_wine_try_cflags_saved
18995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
18996 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
18997 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
18999 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
19002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
19003 printf %s
"checking whether the compiler supports -Wpointer-arith... " >&6; }
19004 if test ${ac_cv_cflags__Wpointer_arith+y}
19006 printf %s
"(cached) " >&6
19008 ac_wine_try_cflags_saved
=$CFLAGS
19009 CFLAGS
="$CFLAGS -Wpointer-arith"
19010 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19011 /* end confdefs.h. */
19012 int main(int argc, char **argv) { return 0; }
19014 if ac_fn_c_try_link
"$LINENO"
19016 ac_cv_cflags__Wpointer_arith
=yes
19018 ac_cv_cflags__Wpointer_arith
=no
19020 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19021 conftest
$ac_exeext conftest.
$ac_ext
19022 CFLAGS
=$ac_wine_try_cflags_saved
19024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
19025 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19026 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19028 saved_string_h_CFLAGS
=$CFLAGS
19029 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
19030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19031 printf %s
"checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19032 if test ${ac_cv_c_string_h_warnings+y}
19034 printf %s
"(cached) " >&6
19036 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19037 /* end confdefs.h. */
19038 #include <string.h>
19047 if ac_fn_c_try_compile
"$LINENO"
19049 ac_cv_c_string_h_warnings
=no
19051 ac_cv_c_string_h_warnings
=yes
19053 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19056 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19057 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
19058 CFLAGS
=$saved_string_h_CFLAGS
19061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19062 printf %s
"checking whether the compiler supports -Wlogical-op... " >&6; }
19063 if test ${ac_cv_cflags__Wlogical_op+y}
19065 printf %s
"(cached) " >&6
19067 ac_wine_try_cflags_saved
=$CFLAGS
19068 CFLAGS
="$CFLAGS -Wlogical-op"
19069 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19070 /* end confdefs.h. */
19071 int main(int argc, char **argv) { return 0; }
19073 if ac_fn_c_try_link
"$LINENO"
19075 ac_cv_cflags__Wlogical_op
=yes
19077 ac_cv_cflags__Wlogical_op
=no
19079 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19080 conftest
$ac_exeext conftest.
$ac_ext
19081 CFLAGS
=$ac_wine_try_cflags_saved
19083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19084 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19085 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19087 saved_string_h_CFLAGS
=$CFLAGS
19088 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
19089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19090 printf %s
"checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19091 if test ${ac_cv_c_logicalop_noisy+y}
19093 printf %s
"(cached) " >&6
19095 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19096 /* end confdefs.h. */
19097 #include <string.h>
19098 char*f(const char *h,char n) {return strchr(h,n);}
19107 if ac_fn_c_try_compile
"$LINENO"
19109 ac_cv_c_logicalop_noisy
=no
19111 ac_cv_c_logicalop_noisy
=yes
19113 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19116 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19117 CFLAGS
=$saved_string_h_CFLAGS
19118 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
19121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19122 printf %s
"checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19123 if test ${wine_cv_64bit_compare_swap+y}
19125 printf %s
"(cached) " >&6
19127 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19128 /* end confdefs.h. */
19129 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19140 if ac_fn_c_try_compile
"$LINENO"
19142 wine_cv_64bit_compare_swap
="none needed"
19145 *i
[3456]86*) wine_cv_64bit_compare_swap
="-march=i586" ;;
19146 *arm
*) wine_cv_64bit_compare_swap
="-march=armv7-a" ;;
19147 *) wine_cv_64bit_compare_swap
="unknown" ;;
19149 if test "x$wine_cv_64bit_compare_swap" != xunknown
19151 CFLAGS
="$CFLAGS $wine_cv_64bit_compare_swap"
19152 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19153 /* end confdefs.h. */
19154 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19165 if ac_fn_c_try_compile
"$LINENO"
19169 wine_cv_64bit_compare_swap
="unknown"
19171 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19172 CFLAGS
=$saved_CFLAGS
19175 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19178 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19179 case "$wine_cv_64bit_compare_swap" in
19180 unknown
) as_fn_error $?
"gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19182 *) EXTRACFLAGS
="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19185 ac_debug_format_seen
=""
19186 for ac_flag
in $CFLAGS; do
19188 -gdwarf*) ac_debug_format_seen
=yes ;;
19189 -g) ac_debug_format_seen
=${ac_debug_format_seen:-default} ;;
19192 if test "x$ac_debug_format_seen" = xdefault
19194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19195 printf %s
"checking whether the compiler supports -gdwarf-4... " >&6; }
19196 if test ${ac_cv_cflags__gdwarf_4+y}
19198 printf %s
"(cached) " >&6
19200 ac_wine_try_cflags_saved
=$CFLAGS
19201 CFLAGS
="$CFLAGS -gdwarf-4"
19202 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19203 /* end confdefs.h. */
19204 int main(int argc, char **argv) { return 0; }
19206 if ac_fn_c_try_link
"$LINENO"
19208 ac_cv_cflags__gdwarf_4
=yes
19210 ac_cv_cflags__gdwarf_4
=no
19212 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19213 conftest
$ac_exeext conftest.
$ac_ext
19214 CFLAGS
=$ac_wine_try_cflags_saved
19216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19217 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19218 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19220 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-4"
19227 mingw32
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19228 printf %s
"checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19229 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19231 printf %s
"(cached) " >&6
19233 ac_wine_try_cflags_saved
=$CFLAGS
19234 CFLAGS
="$CFLAGS -Wl,-delayload,autoconftest.dll"
19235 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19236 /* end confdefs.h. */
19237 int main(int argc, char **argv) { return 0; }
19239 if ac_fn_c_try_link
"$LINENO"
19241 ac_cv_cflags__Wl__delayload_autoconftest_dll
=yes
19243 ac_cv_cflags__Wl__delayload_autoconftest_dll
=no
19245 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19246 conftest
$ac_exeext conftest.
$ac_ext
19247 CFLAGS
=$ac_wine_try_cflags_saved
19249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19250 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19251 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19253 DELAYLOADFLAG
="-Wl,-delayload,"
19256 *) MSVCRTFLAGS
="-D_WIN32"
19257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19258 printf %s
"checking whether the compiler supports -fno-builtin... " >&6; }
19259 if test ${ac_cv_cflags__fno_builtin+y}
19261 printf %s
"(cached) " >&6
19263 ac_wine_try_cflags_saved
=$CFLAGS
19264 CFLAGS
="$CFLAGS -fno-builtin"
19265 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19266 /* end confdefs.h. */
19267 int main(int argc, char **argv) { return 0; }
19269 if ac_fn_c_try_link
"$LINENO"
19271 ac_cv_cflags__fno_builtin
=yes
19273 ac_cv_cflags__fno_builtin
=no
19275 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19276 conftest
$ac_exeext conftest.
$ac_ext
19277 CFLAGS
=$ac_wine_try_cflags_saved
19279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19280 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19281 if test "x$ac_cv_cflags__fno_builtin" = xyes
19283 MSVCRTFLAGS
="$MSVCRTFLAGS -fno-builtin"
19285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19286 printf %s
"checking whether the compiler supports -fshort-wchar... " >&6; }
19287 if test ${ac_cv_cflags__fshort_wchar+y}
19289 printf %s
"(cached) " >&6
19291 ac_wine_try_cflags_saved
=$CFLAGS
19292 CFLAGS
="$CFLAGS -fshort-wchar"
19293 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19294 /* end confdefs.h. */
19295 int main(int argc, char **argv) { return 0; }
19297 if ac_fn_c_try_link
"$LINENO"
19299 ac_cv_cflags__fshort_wchar
=yes
19301 ac_cv_cflags__fshort_wchar
=no
19303 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19304 conftest
$ac_exeext conftest.
$ac_ext
19305 CFLAGS
=$ac_wine_try_cflags_saved
19307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19308 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19309 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19311 MSVCRTFLAGS
="$MSVCRTFLAGS -fshort-wchar"
19313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fvisibility=hidden" >&5
19314 printf %s
"checking whether the compiler supports -fvisibility=hidden... " >&6; }
19315 if test ${ac_cv_cflags__fvisibility_hidden+y}
19317 printf %s
"(cached) " >&6
19319 ac_wine_try_cflags_saved
=$CFLAGS
19320 CFLAGS
="$CFLAGS -fvisibility=hidden"
19321 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19322 /* end confdefs.h. */
19323 int main(int argc, char **argv) { return 0; }
19325 if ac_fn_c_try_link
"$LINENO"
19327 ac_cv_cflags__fvisibility_hidden
=yes
19329 ac_cv_cflags__fvisibility_hidden
=no
19331 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19332 conftest
$ac_exeext conftest.
$ac_ext
19333 CFLAGS
=$ac_wine_try_cflags_saved
19335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fvisibility_hidden" >&5
19336 printf "%s\n" "$ac_cv_cflags__fvisibility_hidden" >&6; }
19337 if test "x$ac_cv_cflags__fvisibility_hidden" = xyes
19339 MSVCRTFLAGS
="$MSVCRTFLAGS -fvisibility=hidden"
19341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19342 printf %s
"checking whether the compiler supports -Wno-format... " >&6; }
19343 if test ${ac_cv_cflags__Wno_format+y}
19345 printf %s
"(cached) " >&6
19347 ac_wine_try_cflags_saved
=$CFLAGS
19348 CFLAGS
="$CFLAGS -Wno-format"
19349 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19350 /* end confdefs.h. */
19351 int main(int argc, char **argv) { return 0; }
19353 if ac_fn_c_try_link
"$LINENO"
19355 ac_cv_cflags__Wno_format
=yes
19357 ac_cv_cflags__Wno_format
=no
19359 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19360 conftest
$ac_exeext conftest.
$ac_ext
19361 CFLAGS
=$ac_wine_try_cflags_saved
19363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19364 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19365 if test "x$ac_cv_cflags__Wno_format" = xyes
19367 MSVCRTFLAGS
="$MSVCRTFLAGS -Wno-format"
19372 *i
[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19373 printf %s
"checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19374 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19376 printf %s
"(cached) " >&6
19378 ac_wine_try_cflags_saved
=$CFLAGS
19379 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
19380 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19381 /* end confdefs.h. */
19382 int main(int argc, char **argv) { return 0; }
19384 if ac_fn_c_try_link
"$LINENO"
19386 ac_cv_cflags__fno_omit_frame_pointer
=yes
19388 ac_cv_cflags__fno_omit_frame_pointer
=no
19390 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19391 conftest
$ac_exeext conftest.
$ac_ext
19392 CFLAGS
=$ac_wine_try_cflags_saved
19394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19395 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19396 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19398 MSVCRTFLAGS
="$MSVCRTFLAGS -fno-omit-frame-pointer"
19402 cygwin
*|mingw32
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19403 printf %s
"checking whether the compiler supports -Wno-format... " >&6; }
19404 if test ${ac_cv_cflags__Wno_format+y}
19406 printf %s
"(cached) " >&6
19408 ac_wine_try_cflags_saved
=$CFLAGS
19409 CFLAGS
="$CFLAGS -Wno-format"
19410 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19411 /* end confdefs.h. */
19412 int main(int argc, char **argv) { return 0; }
19414 if ac_fn_c_try_link
"$LINENO"
19416 ac_cv_cflags__Wno_format
=yes
19418 ac_cv_cflags__Wno_format
=no
19420 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19421 conftest
$ac_exeext conftest.
$ac_ext
19422 CFLAGS
=$ac_wine_try_cflags_saved
19424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19425 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19426 if test "x$ac_cv_cflags__Wno_format" = xyes
19428 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
19430 *) if test -z "$PE_ARCHS"
19432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19433 printf %s
"checking for working -mabi=ms... " >&6; }
19434 if test ${ac_cv_mabi_ms+y}
19436 printf %s
"(cached) " >&6
19438 CFLAGS
="$CFLAGS -mabi=ms"
19439 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19440 /* end confdefs.h. */
19441 #include <stdarg.h>
19442 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19451 if ac_fn_c_try_compile
"$LINENO"
19457 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19458 CFLAGS
=$saved_CFLAGS
19460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19461 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19462 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
19464 MSVCRTFLAGS
="$MSVCRTFLAGS -mabi=ms" ;;
19467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19468 printf %s
"checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19469 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19471 printf %s
"(cached) " >&6
19473 ac_wine_try_cflags_saved
=$CFLAGS
19474 CFLAGS
="$CFLAGS -Wincompatible-function-pointer-types"
19475 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19476 /* end confdefs.h. */
19477 int main(int argc, char **argv) { return 0; }
19479 if ac_fn_c_try_link
"$LINENO"
19481 ac_cv_cflags__Wincompatible_function_pointer_types
=yes
19483 ac_cv_cflags__Wincompatible_function_pointer_types
=no
19485 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19486 conftest
$ac_exeext conftest.
$ac_ext
19487 CFLAGS
=$ac_wine_try_cflags_saved
19489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
19490 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19491 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19493 EXTRACFLAGS
="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19497 CFLAGS
=$saved_CFLAGS
19499 if test "x$enable_werror" = "xyes"
19501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19502 printf %s
"checking whether the compiler supports -Werror... " >&6; }
19503 if test ${ac_cv_cflags__Werror+y}
19505 printf %s
"(cached) " >&6
19507 ac_wine_try_cflags_saved
=$CFLAGS
19508 CFLAGS
="$CFLAGS -Werror"
19509 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19510 /* end confdefs.h. */
19511 int main(int argc, char **argv) { return 0; }
19513 if ac_fn_c_try_link
"$LINENO"
19515 ac_cv_cflags__Werror
=yes
19517 ac_cv_cflags__Werror
=no
19519 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19520 conftest
$ac_exeext conftest.
$ac_ext
19521 CFLAGS
=$ac_wine_try_cflags_saved
19523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19524 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19525 if test "x$ac_cv_cflags__Werror" = xyes
19527 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
19530 if test "x$enable_build_id" = "xyes"
19532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19533 printf %s
"checking whether the compiler supports -Wl,--build-id... " >&6; }
19534 if test ${ac_cv_cflags__Wl___build_id+y}
19536 printf %s
"(cached) " >&6
19538 ac_wine_try_cflags_saved
=$CFLAGS
19539 CFLAGS
="$CFLAGS -Wl,--build-id"
19540 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19541 /* end confdefs.h. */
19542 int main(int argc, char **argv) { return 0; }
19544 if ac_fn_c_try_link
"$LINENO"
19546 ac_cv_cflags__Wl___build_id
=yes
19548 ac_cv_cflags__Wl___build_id
=no
19550 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19551 conftest
$ac_exeext conftest.
$ac_ext
19552 CFLAGS
=$ac_wine_try_cflags_saved
19554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19555 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19556 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19558 CFLAGS
="$CFLAGS -Wl,--build-id"
19559 LDFLAGS
="$LDFLAGS -Wl,--build-id"
19565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19566 printf %s
"checking for the need to disable Fortify... " >&6; }
19567 if test ${ac_cv_c_fortify_enabled+y}
19569 printf %s
"(cached) " >&6
19571 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19572 /* end confdefs.h. */
19573 #include <string.h>
19577 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19578 #error Fortify enabled
19584 if ac_fn_c_try_compile
"$LINENO"
19586 ac_cv_c_fortify_enabled
=no
19588 ac_cv_c_fortify_enabled
=yes
19590 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19593 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19594 if test "$ac_cv_c_fortify_enabled" = yes
19596 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19601 printf %s
"checking whether CFI directives are supported in assembly code... " >&6; }
19602 if test ${ac_cv_c_cfi_support+y}
19604 printf %s
"(cached) " >&6
19606 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19607 /* end confdefs.h. */
19608 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19617 if ac_fn_c_try_compile
"$LINENO"
19619 ac_cv_c_cfi_support
="yes"
19621 ac_cv_c_cfi_support
="no"
19623 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19626 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19627 if test "$ac_cv_c_cfi_support" = "yes"
19629 DLLFLAGS
="$DLLFLAGS -fasynchronous-unwind-tables"
19630 LDDLLFLAGS
="$LDDLLFLAGS -fasynchronous-unwind-tables"
19631 UNIXDLLFLAGS
="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19632 elif test $HOST_ARCH = x86_64
19634 as_fn_append wine_warnings
"|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19638 case "$HOST_ARCH,$PE_ARCHS" in
19639 x86_64
,*i386
*) wine_binary
="wine" ;;
19640 x86_64
,*) wine_binary
="wine64" ;;
19641 *) wine_binary
="wine" ;;
19643 WINELOADER_PROGRAMS
="$wine_binary"
19649 *i
[3456789]86*|x86_64
*|
*aarch64
*|arm
*)
19650 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine-preloader"
19651 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
19656 if test "$wine_can_build_preloader" = "yes"
19658 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine-preloader"
19659 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
19665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19666 printf %s
"checking for library containing dlopen... " >&6; }
19667 if test ${ac_cv_search_dlopen+y}
19669 printf %s
"(cached) " >&6
19671 ac_func_search_save_LIBS
=$LIBS
19672 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19673 /* end confdefs.h. */
19675 /* Override any GCC internal prototype to avoid an error.
19676 Use char because int might match the return type of a GCC
19677 builtin and then its argument prototype would still apply. */
19687 for ac_lib
in '' dl
19689 if test -z "$ac_lib"; then
19690 ac_res
="none required"
19693 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19695 if ac_fn_c_try_link
"$LINENO"
19697 ac_cv_search_dlopen
=$ac_res
19699 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19701 if test ${ac_cv_search_dlopen+y}
19706 if test ${ac_cv_search_dlopen+y}
19710 ac_cv_search_dlopen
=no
19712 rm conftest.
$ac_ext
19713 LIBS
=$ac_func_search_save_LIBS
19715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19716 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19717 ac_res
=$ac_cv_search_dlopen
19718 if test "$ac_res" != no
19720 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19726 printf %s
"checking for library containing gethostbyname... " >&6; }
19727 if test ${ac_cv_search_gethostbyname+y}
19729 printf %s
"(cached) " >&6
19731 ac_func_search_save_LIBS
=$LIBS
19732 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19733 /* end confdefs.h. */
19735 /* Override any GCC internal prototype to avoid an error.
19736 Use char because int might match the return type of a GCC
19737 builtin and then its argument prototype would still apply. */
19738 char gethostbyname ();
19742 return gethostbyname ();
19747 for ac_lib
in '' nsl
19749 if test -z "$ac_lib"; then
19750 ac_res
="none required"
19753 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19755 if ac_fn_c_try_link
"$LINENO"
19757 ac_cv_search_gethostbyname
=$ac_res
19759 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19761 if test ${ac_cv_search_gethostbyname+y}
19766 if test ${ac_cv_search_gethostbyname+y}
19770 ac_cv_search_gethostbyname
=no
19772 rm conftest.
$ac_ext
19773 LIBS
=$ac_func_search_save_LIBS
19775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19776 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19777 ac_res
=$ac_cv_search_gethostbyname
19778 if test "$ac_res" != no
19780 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19786 printf %s
"checking for library containing connect... " >&6; }
19787 if test ${ac_cv_search_connect+y}
19789 printf %s
"(cached) " >&6
19791 ac_func_search_save_LIBS
=$LIBS
19792 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19793 /* end confdefs.h. */
19795 /* Override any GCC internal prototype to avoid an error.
19796 Use char because int might match the return type of a GCC
19797 builtin and then its argument prototype would still apply. */
19807 for ac_lib
in '' socket
19809 if test -z "$ac_lib"; then
19810 ac_res
="none required"
19813 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19815 if ac_fn_c_try_link
"$LINENO"
19817 ac_cv_search_connect
=$ac_res
19819 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19821 if test ${ac_cv_search_connect+y}
19826 if test ${ac_cv_search_connect+y}
19830 ac_cv_search_connect
=no
19832 rm conftest.
$ac_ext
19833 LIBS
=$ac_func_search_save_LIBS
19835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19836 printf "%s\n" "$ac_cv_search_connect" >&6; }
19837 ac_res
=$ac_cv_search_connect
19838 if test "$ac_res" != no
19840 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19846 printf %s
"checking for library containing inet_aton... " >&6; }
19847 if test ${ac_cv_search_inet_aton+y}
19849 printf %s
"(cached) " >&6
19851 ac_func_search_save_LIBS
=$LIBS
19852 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19853 /* end confdefs.h. */
19855 /* Override any GCC internal prototype to avoid an error.
19856 Use char because int might match the return type of a GCC
19857 builtin and then its argument prototype would still apply. */
19862 return inet_aton ();
19867 for ac_lib
in '' resolv
19869 if test -z "$ac_lib"; then
19870 ac_res
="none required"
19873 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19875 if ac_fn_c_try_link
"$LINENO"
19877 ac_cv_search_inet_aton
=$ac_res
19879 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19881 if test ${ac_cv_search_inet_aton+y}
19886 if test ${ac_cv_search_inet_aton+y}
19890 ac_cv_search_inet_aton
=no
19892 rm conftest.
$ac_ext
19893 LIBS
=$ac_func_search_save_LIBS
19895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
19896 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
19897 ac_res
=$ac_cv_search_inet_aton
19898 if test "$ac_res" != no
19900 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19905 ac_save_CFLAGS
="$CFLAGS"
19906 CFLAGS
="$CFLAGS $BUILTINFLAG"
19907 ac_fn_c_check_func
"$LINENO" "dladdr1" "ac_cv_func_dladdr1"
19908 if test "x$ac_cv_func_dladdr1" = xyes
19910 printf "%s\n" "#define HAVE_DLADDR1 1" >>confdefs.h
19913 ac_fn_c_check_func
"$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19914 if test "x$ac_cv_func_dlinfo" = xyes
19916 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19919 ac_fn_c_check_func
"$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19920 if test "x$ac_cv_func_epoll_create" = xyes
19922 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19925 ac_fn_c_check_func
"$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19926 if test "x$ac_cv_func_fstatfs" = xyes
19928 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19931 ac_fn_c_check_func
"$LINENO" "futimens" "ac_cv_func_futimens"
19932 if test "x$ac_cv_func_futimens" = xyes
19934 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19937 ac_fn_c_check_func
"$LINENO" "futimes" "ac_cv_func_futimes"
19938 if test "x$ac_cv_func_futimes" = xyes
19940 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19943 ac_fn_c_check_func
"$LINENO" "futimesat" "ac_cv_func_futimesat"
19944 if test "x$ac_cv_func_futimesat" = xyes
19946 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19949 ac_fn_c_check_func
"$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
19950 if test "x$ac_cv_func_getaddrinfo" = xyes
19952 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
19955 ac_fn_c_check_func
"$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19956 if test "x$ac_cv_func_getattrlist" = xyes
19958 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19961 ac_fn_c_check_func
"$LINENO" "getauxval" "ac_cv_func_getauxval"
19962 if test "x$ac_cv_func_getauxval" = xyes
19964 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19967 ac_fn_c_check_func
"$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19968 if test "x$ac_cv_func_getifaddrs" = xyes
19970 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19973 ac_fn_c_check_func
"$LINENO" "getrandom" "ac_cv_func_getrandom"
19974 if test "x$ac_cv_func_getrandom" = xyes
19976 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19979 ac_fn_c_check_func
"$LINENO" "kqueue" "ac_cv_func_kqueue"
19980 if test "x$ac_cv_func_kqueue" = xyes
19982 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19985 ac_fn_c_check_func
"$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19986 if test "x$ac_cv_func_mach_continuous_time" = xyes
19988 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19991 ac_fn_c_check_func
"$LINENO" "pipe2" "ac_cv_func_pipe2"
19992 if test "x$ac_cv_func_pipe2" = xyes
19994 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19997 ac_fn_c_check_func
"$LINENO" "port_create" "ac_cv_func_port_create"
19998 if test "x$ac_cv_func_port_create" = xyes
20000 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
20003 ac_fn_c_check_func
"$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
20004 if test "x$ac_cv_func_posix_fadvise" = xyes
20006 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
20009 ac_fn_c_check_func
"$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
20010 if test "x$ac_cv_func_posix_fallocate" = xyes
20012 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
20015 ac_fn_c_check_func
"$LINENO" "prctl" "ac_cv_func_prctl"
20016 if test "x$ac_cv_func_prctl" = xyes
20018 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
20021 ac_fn_c_check_func
"$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
20022 if test "x$ac_cv_func_proc_pidinfo" = xyes
20024 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
20027 ac_fn_c_check_func
"$LINENO" "sched_yield" "ac_cv_func_sched_yield"
20028 if test "x$ac_cv_func_sched_yield" = xyes
20030 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
20033 ac_fn_c_check_func
"$LINENO" "setproctitle" "ac_cv_func_setproctitle"
20034 if test "x$ac_cv_func_setproctitle" = xyes
20036 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
20039 ac_fn_c_check_func
"$LINENO" "setprogname" "ac_cv_func_setprogname"
20040 if test "x$ac_cv_func_setprogname" = xyes
20042 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
20045 ac_fn_c_check_func
"$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
20046 if test "x$ac_cv_func_sigprocmask" = xyes
20048 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
20051 ac_fn_c_check_func
"$LINENO" "sysinfo" "ac_cv_func_sysinfo"
20052 if test "x$ac_cv_func_sysinfo" = xyes
20054 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
20057 ac_fn_c_check_func
"$LINENO" "tcdrain" "ac_cv_func_tcdrain"
20058 if test "x$ac_cv_func_tcdrain" = xyes
20060 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
20063 ac_fn_c_check_func
"$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
20064 if test "x$ac_cv_func_thr_kill2" = xyes
20066 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
20070 CFLAGS
="$ac_save_CFLAGS"
20073 darwin
*|macosx
*) ;;
20074 *) ac_save_LIBS
=$LIBS
20075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20076 printf %s
"checking for library containing clock_gettime... " >&6; }
20077 if test ${ac_cv_search_clock_gettime+y}
20079 printf %s
"(cached) " >&6
20081 ac_func_search_save_LIBS
=$LIBS
20082 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20083 /* end confdefs.h. */
20085 /* Override any GCC internal prototype to avoid an error.
20086 Use char because int might match the return type of a GCC
20087 builtin and then its argument prototype would still apply. */
20088 char clock_gettime ();
20092 return clock_gettime ();
20097 for ac_lib
in '' rt
20099 if test -z "$ac_lib"; then
20100 ac_res
="none required"
20103 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20105 if ac_fn_c_try_link
"$LINENO"
20107 ac_cv_search_clock_gettime
=$ac_res
20109 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20111 if test ${ac_cv_search_clock_gettime+y}
20116 if test ${ac_cv_search_clock_gettime+y}
20120 ac_cv_search_clock_gettime
=no
20122 rm conftest.
$ac_ext
20123 LIBS
=$ac_func_search_save_LIBS
20125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20126 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20127 ac_res
=$ac_cv_search_clock_gettime
20128 if test "$ac_res" != no
20130 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20132 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20134 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
20142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20143 printf %s
"checking for sched_setaffinity... " >&6; }
20144 if test ${wine_cv_have_sched_setaffinity+y}
20146 printf %s
"(cached) " >&6
20148 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20149 /* end confdefs.h. */
20154 sched_setaffinity(0, 0, 0);
20159 if ac_fn_c_try_link
"$LINENO"
20161 wine_cv_have_sched_setaffinity
=yes
20163 wine_cv_have_sched_setaffinity
=no
20165 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20166 conftest
$ac_exeext conftest.
$ac_ext
20168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20169 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20170 if test "$wine_cv_have_sched_setaffinity" = "yes"
20173 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20179 printf %s
"checking for inline... " >&6; }
20180 if test ${ac_cv_c_inline+y}
20182 printf %s
"(cached) " >&6
20185 for ac_kw
in inline __inline__ __inline
; do
20186 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20187 /* end confdefs.h. */
20188 #ifndef __cplusplus
20190 static $ac_kw foo_t static_foo (void) {return 0; }
20191 $ac_kw foo_t foo (void) {return 0; }
20195 if ac_fn_c_try_compile
"$LINENO"
20197 ac_cv_c_inline
=$ac_kw
20199 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20200 test "$ac_cv_c_inline" != no
&& break
20204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20205 printf "%s\n" "$ac_cv_c_inline" >&6; }
20207 case $ac_cv_c_inline in
20210 case $ac_cv_c_inline in
20212 *) ac_val
=$ac_cv_c_inline;;
20214 cat >>confdefs.h
<<_ACEOF
20215 #ifndef __cplusplus
20216 #define inline $ac_val
20222 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20224 if test "x$ac_cv_type_request_sense" = xyes
20227 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20233 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20234 #include <sys/socket.h>
20235 #ifdef HAVE_SYS_SOCKETVAR_H
20236 #include <sys/socketvar.h>
20238 #ifdef HAVE_NET_ROUTE_H
20239 #include <net/route.h>
20241 #ifdef HAVE_NETINET_IN_H
20242 #include <netinet/in.h>
20244 #ifdef HAVE_NETINET_IN_SYSTM_H
20245 #include <netinet/in_systm.h>
20247 #ifdef HAVE_NETINET_IP_H
20248 #include <netinet/ip.h>
20250 #ifdef HAVE_NETINET_IN_PCB_H
20251 #include <netinet/in_pcb.h>
20254 if test "x$ac_cv_type_struct_xinpgen" = xyes
20257 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20264 printf %s
"checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20265 if test ${wine_cv_linux_gethostbyname_r_6+y}
20267 printf %s
"(cached) " >&6
20269 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20270 /* end confdefs.h. */
20278 struct hostent *result;
20285 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20286 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20292 if ac_fn_c_try_link
"$LINENO"
20294 wine_cv_linux_gethostbyname_r_6
=yes
20296 wine_cv_linux_gethostbyname_r_6
=no
20299 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20300 conftest
$ac_exeext conftest.
$ac_ext
20303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20304 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20305 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20308 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20312 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20313 #include <sys/socket.h>
20314 #ifdef HAVE_SYS_UN_H
20315 # include <sys/un.h>
20318 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20321 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20325 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20326 #include <sys/socket.h>
20327 #ifdef HAVE_SYS_UN_H
20328 # include <sys/un.h>
20331 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20334 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20340 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20341 #ifdef HAVE_SCSI_SG_H
20342 #include <scsi/sg.h>
20345 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20348 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20352 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>
20353 #ifdef HAVE_SCSI_SG_H
20354 #include <scsi/sg.h>
20357 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20360 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20366 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20368 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20371 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20377 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20378 #ifdef HAVE_SYS_MTIO_H
20379 #include <sys/mtio.h>
20382 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20385 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20389 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20390 #ifdef HAVE_SYS_MTIO_H
20391 #include <sys/mtio.h>
20394 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20397 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20401 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20402 #ifdef HAVE_SYS_MTIO_H
20403 #include <sys/mtio.h>
20406 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20409 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20415 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20416 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20419 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20423 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20424 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20427 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20431 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20432 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20435 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20439 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20440 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20443 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20447 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20448 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20451 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20455 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20456 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20459 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20463 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20464 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20467 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20471 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20472 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20475 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20479 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20480 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20483 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20487 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20488 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20491 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20495 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20496 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20499 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20505 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>
20506 #ifdef HAVE_NETINET_IN_H
20507 #include <netinet/in.h>
20510 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20513 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20519 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
20520 #include <resolv.h>
20523 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20526 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20532 ac_fn_c_check_member
"$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20533 #include <netinet/in.h>
20536 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20539 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20545 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20546 #ifdef HAVE_SYS_SOCKETVAR_H
20547 #include <sys/socketvar.h>
20549 #ifdef HAVE_NETINET_IN_H
20550 #include <netinet/in.h>
20552 #ifdef HAVE_NETINET_IP_VAR_H
20553 #include <netinet/ip_var.h>
20556 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20559 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20565 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
20566 #include <netinet/ip_var.h>
20569 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20572 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20578 ac_fn_c_check_member
"$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20579 #ifdef HAVE_SYS_SOCKETVAR_H
20580 #include <sys/socketvar.h>
20582 #ifdef HAVE_NETINET_IN_H
20583 #include <netinet/in.h>
20585 #ifdef HAVE_NETINET6_IP6_VAR_H
20586 #include <netinet6/ip6_var.h>
20589 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20592 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20598 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20599 #ifdef HAVE_SYS_SOCKETVAR_H
20600 #include <sys/socketvar.h>
20602 #ifdef HAVE_NETINET_IN_H
20603 #include <netinet/in.h>
20605 #ifdef HAVE_NETINET_IP_H
20606 #include <netinet/ip.h>
20608 #ifdef HAVE_NETINET_IP_ICMP_H
20609 #include <netinet/ip_icmp.h>
20611 #ifdef HAVE_NETINET_ICMP_VAR_H
20612 #include <netinet/icmp_var.h>
20615 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20618 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20624 ac_fn_c_check_member
"$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20625 #ifdef HAVE_SYS_SOCKETVAR_H
20626 #include <sys/socketvar.h>
20628 #ifdef HAVE_NETINET_IN_H
20629 #include <netinet/in.h>
20631 #ifdef HAVE_NETINET_ICMP6_H
20632 #include <netinet/icmp6.h>
20635 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20638 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20644 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20645 #ifdef HAVE_SYS_SOCKETVAR_H
20646 #include <sys/socketvar.h>
20648 #ifdef HAVE_NETINET_IN_H
20649 #include <netinet/in.h>
20651 #ifdef HAVE_NETINET_TCP_H
20652 #include <netinet/tcp.h>
20654 #ifdef HAVE_NETINET_TCP_VAR_H
20655 #include <netinet/tcp_var.h>
20658 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20661 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20667 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
20668 #include <netinet/tcp_var.h>
20671 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20674 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20680 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20681 #ifdef HAVE_NETINET_IN_H
20682 #include <netinet/in.h>
20684 #ifdef HAVE_NETINET_IP_VAR_H
20685 #include <netinet/ip_var.h>
20687 #ifdef HAVE_NETINET_UDP_H
20688 #include <netinet/udp.h>
20690 #ifdef HAVE_NETINET_UDP_VAR_H
20691 #include <netinet/udp_var.h>
20694 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20697 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20703 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20704 #ifdef HAVE_NET_IF_H
20705 # include <net/if.h>
20708 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20711 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20717 ac_fn_c_check_member
"$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20718 # include <sys/sysinfo.h>
20721 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20724 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20728 ac_fn_c_check_member
"$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20729 # include <sys/sysinfo.h>
20732 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20735 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20741 LIBS
="$ac_save_LIBS"
20743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20744 printf %s
"checking for __builtin_popcount... " >&6; }
20745 if test ${ac_cv_have___builtin_popcount+y}
20747 printf %s
"(cached) " >&6
20749 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20750 /* end confdefs.h. */
20755 return __builtin_popcount(1)
20760 if ac_fn_c_try_link
"$LINENO"
20762 ac_cv_have___builtin_popcount
="yes"
20764 ac_cv_have___builtin_popcount
="no"
20766 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20767 conftest
$ac_exeext conftest.
$ac_ext
20769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20770 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20771 if test "$ac_cv_have___builtin_popcount" = "yes"
20774 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20779 printf %s
"checking for __clear_cache... " >&6; }
20780 if test ${ac_cv_have___clear_cache+y}
20782 printf %s
"(cached) " >&6
20784 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20785 /* end confdefs.h. */
20790 __clear_cache((void*)0, (void*)0); return 0;
20795 if ac_fn_c_try_link
"$LINENO"
20797 ac_cv_have___clear_cache
="yes"
20799 ac_cv_have___clear_cache
="no"
20801 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20802 conftest
$ac_exeext conftest.
$ac_ext
20804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20805 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20806 if test "$ac_cv_have___clear_cache" = "yes"
20809 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20815 *i
[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20816 printf %s
"checking whether we need to define __i386__... " >&6; }
20817 if test ${ac_cv_cpp_def___i386__+y}
20819 printf %s
"(cached) " >&6
20821 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20822 /* end confdefs.h. */
20827 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20828 $EGREP "yes" >/dev
/null
2>&1
20830 ac_cv_cpp_def___i386__
=yes
20832 ac_cv_cpp_def___i386__
=no
20837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20838 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20839 if test "x$ac_cv_cpp_def___i386__" = xyes
20841 CFLAGS
="$CFLAGS -D__i386__"
20842 LINTFLAGS
="$LINTFLAGS -D__i386__"
20844 *x86_64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20845 printf %s
"checking whether we need to define __x86_64__... " >&6; }
20846 if test ${ac_cv_cpp_def___x86_64__+y}
20848 printf %s
"(cached) " >&6
20850 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20851 /* end confdefs.h. */
20856 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20857 $EGREP "yes" >/dev
/null
2>&1
20859 ac_cv_cpp_def___x86_64__
=yes
20861 ac_cv_cpp_def___x86_64__
=no
20866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20867 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20868 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20870 CFLAGS
="$CFLAGS -D__x86_64__"
20871 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
20873 *sparc64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
20874 printf %s
"checking whether we need to define __sparc64__... " >&6; }
20875 if test ${ac_cv_cpp_def___sparc64__+y}
20877 printf %s
"(cached) " >&6
20879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20880 /* end confdefs.h. */
20881 #ifndef __sparc64__
20885 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20886 $EGREP "yes" >/dev
/null
2>&1
20888 ac_cv_cpp_def___sparc64__
=yes
20890 ac_cv_cpp_def___sparc64__
=no
20895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
20896 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
20897 if test "x$ac_cv_cpp_def___sparc64__" = xyes
20899 CFLAGS
="$CFLAGS -D__sparc64__"
20900 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
20902 *sparc
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
20903 printf %s
"checking whether we need to define __sparc__... " >&6; }
20904 if test ${ac_cv_cpp_def___sparc__+y}
20906 printf %s
"(cached) " >&6
20908 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20909 /* end confdefs.h. */
20914 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20915 $EGREP "yes" >/dev
/null
2>&1
20917 ac_cv_cpp_def___sparc__
=yes
20919 ac_cv_cpp_def___sparc__
=no
20924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
20925 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
20926 if test "x$ac_cv_cpp_def___sparc__" = xyes
20928 CFLAGS
="$CFLAGS -D__sparc__"
20929 LINTFLAGS
="$LINTFLAGS -D__sparc__"
20931 *powerpc64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
20932 printf %s
"checking whether we need to define __powerpc64__... " >&6; }
20933 if test ${ac_cv_cpp_def___powerpc64__+y}
20935 printf %s
"(cached) " >&6
20937 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20938 /* end confdefs.h. */
20939 #ifndef __powerpc64__
20943 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20944 $EGREP "yes" >/dev
/null
2>&1
20946 ac_cv_cpp_def___powerpc64__
=yes
20948 ac_cv_cpp_def___powerpc64__
=no
20953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
20954 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
20955 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
20957 CFLAGS
="$CFLAGS -D__powerpc64__"
20958 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
20960 *powerpc
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
20961 printf %s
"checking whether we need to define __powerpc__... " >&6; }
20962 if test ${ac_cv_cpp_def___powerpc__+y}
20964 printf %s
"(cached) " >&6
20966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20967 /* end confdefs.h. */
20968 #ifndef __powerpc__
20972 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20973 $EGREP "yes" >/dev
/null
2>&1
20975 ac_cv_cpp_def___powerpc__
=yes
20977 ac_cv_cpp_def___powerpc__
=no
20982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
20983 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
20984 if test "x$ac_cv_cpp_def___powerpc__" = xyes
20986 CFLAGS
="$CFLAGS -D__powerpc__"
20987 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
20989 *aarch64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
20990 printf %s
"checking whether we need to define __aarch64__... " >&6; }
20991 if test ${ac_cv_cpp_def___aarch64__+y}
20993 printf %s
"(cached) " >&6
20995 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20996 /* end confdefs.h. */
20997 #ifndef __aarch64__
21001 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21002 $EGREP "yes" >/dev
/null
2>&1
21004 ac_cv_cpp_def___aarch64__
=yes
21006 ac_cv_cpp_def___aarch64__
=no
21011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
21012 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
21013 if test "x$ac_cv_cpp_def___aarch64__" = xyes
21015 CFLAGS
="$CFLAGS -D__aarch64__"
21016 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
21018 *arm
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
21019 printf %s
"checking whether we need to define __arm__... " >&6; }
21020 if test ${ac_cv_cpp_def___arm__+y}
21022 printf %s
"(cached) " >&6
21024 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21025 /* end confdefs.h. */
21030 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21031 $EGREP "yes" >/dev
/null
2>&1
21033 ac_cv_cpp_def___arm__
=yes
21035 ac_cv_cpp_def___arm__
=no
21040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21041 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21042 if test "x$ac_cv_cpp_def___arm__" = xyes
21044 CFLAGS
="$CFLAGS -D__arm__"
21045 LINTFLAGS
="$LINTFLAGS -D__arm__"
21049 case $host_vendor in
21050 *sun
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21051 printf %s
"checking whether we need to define __sun__... " >&6; }
21052 if test ${ac_cv_cpp_def___sun__+y}
21054 printf %s
"(cached) " >&6
21056 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21057 /* end confdefs.h. */
21062 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21063 $EGREP "yes" >/dev
/null
2>&1
21065 ac_cv_cpp_def___sun__
=yes
21067 ac_cv_cpp_def___sun__
=no
21072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21073 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21074 if test "x$ac_cv_cpp_def___sun__" = xyes
21076 CFLAGS
="$CFLAGS -D__sun__"
21077 LINTFLAGS
="$LINTFLAGS -D__sun__"
21085 ac_config_commands
="$ac_config_commands include/stamp-h"
21087 printf %s
"creating Makefile rules..." >&6
21090 test "x$enable_silent_rules" = xyes
&& makedep_flags
="$makedep_flags -S"
21093 test "$srcdir" = . || wine_srcdir
="$srcdir/"
21095 ac_config_links
="$ac_config_links wine:tools/winewrapper"
21096 wine_fn_config_symlink wine
21097 if test "$wine_binary" = wine64
-o -n "$with_wine64"; then
21098 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
21099 wine_fn_config_symlink wine64
21102 wine_fn_config_makefile dlls
/acledit enable_acledit
21103 wine_fn_config_makefile dlls
/aclui enable_aclui
21104 wine_fn_config_makefile dlls
/activeds.tlb enable_activeds_tlb
21105 wine_fn_config_makefile dlls
/activeds enable_activeds
21106 wine_fn_config_makefile dlls
/activeds
/tests enable_tests
21107 wine_fn_config_makefile dlls
/actxprxy enable_actxprxy
21108 wine_fn_config_makefile dlls
/adsldp enable_adsldp
21109 wine_fn_config_makefile dlls
/adsldp
/tests enable_tests
21110 wine_fn_config_makefile dlls
/adsldpc enable_adsldpc
21111 wine_fn_config_makefile dlls
/advapi32 enable_advapi32
21112 wine_fn_config_makefile dlls
/advapi32
/tests enable_tests
21113 wine_fn_config_makefile dlls
/advpack enable_advpack
21114 wine_fn_config_makefile dlls
/advpack
/tests enable_tests
21115 wine_fn_config_makefile dlls
/amsi enable_amsi
21116 wine_fn_config_makefile dlls
/amstream enable_amstream
21117 wine_fn_config_makefile dlls
/amstream
/tests enable_tests
21118 wine_fn_config_makefile dlls
/apisetschema enable_apisetschema
21119 wine_fn_config_makefile dlls
/apphelp enable_apphelp
21120 wine_fn_config_makefile dlls
/apphelp
/tests enable_tests
21121 wine_fn_config_makefile dlls
/appwiz.cpl enable_appwiz_cpl
21122 wine_fn_config_makefile dlls
/atl enable_atl
21123 wine_fn_config_makefile dlls
/atl
/tests enable_tests
21124 wine_fn_config_makefile dlls
/atl100 enable_atl100
21125 wine_fn_config_makefile dlls
/atl100
/tests enable_tests
21126 wine_fn_config_makefile dlls
/atl110 enable_atl110
21127 wine_fn_config_makefile dlls
/atl110
/tests enable_tests
21128 wine_fn_config_makefile dlls
/atl80 enable_atl80
21129 wine_fn_config_makefile dlls
/atl80
/tests enable_tests
21130 wine_fn_config_makefile dlls
/atl90 enable_atl90
21131 wine_fn_config_makefile dlls
/atlthunk enable_atlthunk
21132 wine_fn_config_makefile dlls
/atlthunk
/tests enable_tests
21133 wine_fn_config_makefile dlls
/atmlib enable_atmlib
21134 wine_fn_config_makefile dlls
/authz enable_authz
21135 wine_fn_config_makefile dlls
/avicap32 enable_avicap32
21136 wine_fn_config_makefile dlls
/avifil32 enable_avifil32
21137 wine_fn_config_makefile dlls
/avifil32
/tests enable_tests
21138 wine_fn_config_makefile dlls
/avifile.dll16 enable_win16
21139 wine_fn_config_makefile dlls
/avrt enable_avrt
21140 wine_fn_config_makefile dlls
/bcrypt enable_bcrypt
21141 wine_fn_config_makefile dlls
/bcrypt
/tests enable_tests
21142 wine_fn_config_makefile dlls
/bcryptprimitives enable_bcryptprimitives
21143 wine_fn_config_makefile dlls
/bluetoothapis enable_bluetoothapis
21144 wine_fn_config_makefile dlls
/browseui enable_browseui
21145 wine_fn_config_makefile dlls
/browseui
/tests enable_tests
21146 wine_fn_config_makefile dlls
/bthprops.cpl enable_bthprops_cpl
21147 wine_fn_config_makefile dlls
/cabinet enable_cabinet
21148 wine_fn_config_makefile dlls
/cabinet
/tests enable_tests
21149 wine_fn_config_makefile dlls
/capi2032 enable_capi2032
21150 wine_fn_config_makefile dlls
/cards enable_cards
21151 wine_fn_config_makefile dlls
/cdosys enable_cdosys
21152 wine_fn_config_makefile dlls
/cfgmgr32 enable_cfgmgr32
21153 wine_fn_config_makefile dlls
/cfgmgr32
/tests enable_tests
21154 wine_fn_config_makefile dlls
/clusapi enable_clusapi
21155 wine_fn_config_makefile dlls
/cng.sys enable_cng_sys
21156 wine_fn_config_makefile dlls
/combase enable_combase
21157 wine_fn_config_makefile dlls
/combase
/tests enable_tests
21158 wine_fn_config_makefile dlls
/comcat enable_comcat
21159 wine_fn_config_makefile dlls
/comcat
/tests enable_tests
21160 wine_fn_config_makefile dlls
/comctl32 enable_comctl32
21161 wine_fn_config_makefile dlls
/comctl32
/tests enable_tests
21162 wine_fn_config_makefile dlls
/comdlg32 enable_comdlg32
21163 wine_fn_config_makefile dlls
/comdlg32
/tests enable_tests
21164 wine_fn_config_makefile dlls
/comm.drv16 enable_win16
21165 wine_fn_config_makefile dlls
/commdlg.dll16 enable_win16
21166 wine_fn_config_makefile dlls
/compobj.dll16 enable_win16
21167 wine_fn_config_makefile dlls
/compstui enable_compstui
21168 wine_fn_config_makefile dlls
/compstui
/tests enable_tests
21169 wine_fn_config_makefile dlls
/comsvcs enable_comsvcs
21170 wine_fn_config_makefile dlls
/comsvcs
/tests enable_tests
21171 wine_fn_config_makefile dlls
/concrt140 enable_concrt140
21172 wine_fn_config_makefile dlls
/concrt140
/tests enable_tests
21173 wine_fn_config_makefile dlls
/connect enable_connect
21174 wine_fn_config_makefile dlls
/credui enable_credui
21175 wine_fn_config_makefile dlls
/credui
/tests enable_tests
21176 wine_fn_config_makefile dlls
/crtdll enable_crtdll
21177 wine_fn_config_makefile dlls
/crypt32 enable_crypt32
21178 wine_fn_config_makefile dlls
/crypt32
/tests enable_tests
21179 wine_fn_config_makefile dlls
/cryptdlg enable_cryptdlg
21180 wine_fn_config_makefile dlls
/cryptdll enable_cryptdll
21181 wine_fn_config_makefile dlls
/cryptext enable_cryptext
21182 wine_fn_config_makefile dlls
/cryptnet enable_cryptnet
21183 wine_fn_config_makefile dlls
/cryptnet
/tests enable_tests
21184 wine_fn_config_makefile dlls
/cryptowinrt enable_cryptowinrt
21185 wine_fn_config_makefile dlls
/cryptowinrt
/tests enable_tests
21186 wine_fn_config_makefile dlls
/cryptsp enable_cryptsp
21187 wine_fn_config_makefile dlls
/cryptui enable_cryptui
21188 wine_fn_config_makefile dlls
/cryptui
/tests enable_tests
21189 wine_fn_config_makefile dlls
/ctapi32 enable_ctapi32
21190 wine_fn_config_makefile dlls
/ctl3d.dll16 enable_win16
21191 wine_fn_config_makefile dlls
/ctl3d32 enable_ctl3d32
21192 wine_fn_config_makefile dlls
/ctl3dv2.dll16 enable_win16
21193 wine_fn_config_makefile dlls
/d2d1 enable_d2d1
21194 wine_fn_config_makefile dlls
/d2d
1/tests enable_tests
21195 wine_fn_config_makefile dlls
/d3d10 enable_d3d10
21196 wine_fn_config_makefile dlls
/d3d10
/tests enable_tests
21197 wine_fn_config_makefile dlls
/d3d10_1 enable_d3d10_1
21198 wine_fn_config_makefile dlls
/d3d10_
1/tests enable_tests
21199 wine_fn_config_makefile dlls
/d3d10core enable_d3d10core
21200 wine_fn_config_makefile dlls
/d3d10core
/tests enable_tests
21201 wine_fn_config_makefile dlls
/d3d11 enable_d3d11
21202 wine_fn_config_makefile dlls
/d3d11
/tests enable_tests
21203 wine_fn_config_makefile dlls
/d3d12 enable_d3d12
21204 wine_fn_config_makefile dlls
/d3d12
/tests enable_tests
21205 wine_fn_config_makefile dlls
/d3d12core enable_d3d12core
21206 wine_fn_config_makefile dlls
/d3d8 enable_d3d8
21207 wine_fn_config_makefile dlls
/d3d
8/tests enable_tests
21208 wine_fn_config_makefile dlls
/d3d8thk enable_d3d8thk
21209 wine_fn_config_makefile dlls
/d3d9 enable_d3d9
21210 wine_fn_config_makefile dlls
/d3d
9/tests enable_tests
21211 wine_fn_config_makefile dlls
/d3dcompiler_33 enable_d3dcompiler_33
21212 wine_fn_config_makefile dlls
/d3dcompiler_34 enable_d3dcompiler_34
21213 wine_fn_config_makefile dlls
/d3dcompiler_35 enable_d3dcompiler_35
21214 wine_fn_config_makefile dlls
/d3dcompiler_36 enable_d3dcompiler_36
21215 wine_fn_config_makefile dlls
/d3dcompiler_37 enable_d3dcompiler_37
21216 wine_fn_config_makefile dlls
/d3dcompiler_38 enable_d3dcompiler_38
21217 wine_fn_config_makefile dlls
/d3dcompiler_39 enable_d3dcompiler_39
21218 wine_fn_config_makefile dlls
/d3dcompiler_40 enable_d3dcompiler_40
21219 wine_fn_config_makefile dlls
/d3dcompiler_41 enable_d3dcompiler_41
21220 wine_fn_config_makefile dlls
/d3dcompiler_42 enable_d3dcompiler_42
21221 wine_fn_config_makefile dlls
/d3dcompiler_43 enable_d3dcompiler_43
21222 wine_fn_config_makefile dlls
/d3dcompiler_43
/tests enable_tests
21223 wine_fn_config_makefile dlls
/d3dcompiler_46 enable_d3dcompiler_46
21224 wine_fn_config_makefile dlls
/d3dcompiler_46
/tests enable_tests
21225 wine_fn_config_makefile dlls
/d3dcompiler_47 enable_d3dcompiler_47
21226 wine_fn_config_makefile dlls
/d3dcompiler_47
/tests enable_tests
21227 wine_fn_config_makefile dlls
/d3dim enable_d3dim
21228 wine_fn_config_makefile dlls
/d3dim700 enable_d3dim700
21229 wine_fn_config_makefile dlls
/d3drm enable_d3drm
21230 wine_fn_config_makefile dlls
/d3drm
/tests enable_tests
21231 wine_fn_config_makefile dlls
/d3dx10_33 enable_d3dx10_33
21232 wine_fn_config_makefile dlls
/d3dx10_34 enable_d3dx10_34
21233 wine_fn_config_makefile dlls
/d3dx10_34
/tests enable_tests
21234 wine_fn_config_makefile dlls
/d3dx10_35 enable_d3dx10_35
21235 wine_fn_config_makefile dlls
/d3dx10_35
/tests enable_tests
21236 wine_fn_config_makefile dlls
/d3dx10_36 enable_d3dx10_36
21237 wine_fn_config_makefile dlls
/d3dx10_36
/tests enable_tests
21238 wine_fn_config_makefile dlls
/d3dx10_37 enable_d3dx10_37
21239 wine_fn_config_makefile dlls
/d3dx10_37
/tests enable_tests
21240 wine_fn_config_makefile dlls
/d3dx10_38 enable_d3dx10_38
21241 wine_fn_config_makefile dlls
/d3dx10_38
/tests enable_tests
21242 wine_fn_config_makefile dlls
/d3dx10_39 enable_d3dx10_39
21243 wine_fn_config_makefile dlls
/d3dx10_39
/tests enable_tests
21244 wine_fn_config_makefile dlls
/d3dx10_40 enable_d3dx10_40
21245 wine_fn_config_makefile dlls
/d3dx10_40
/tests enable_tests
21246 wine_fn_config_makefile dlls
/d3dx10_41 enable_d3dx10_41
21247 wine_fn_config_makefile dlls
/d3dx10_41
/tests enable_tests
21248 wine_fn_config_makefile dlls
/d3dx10_42 enable_d3dx10_42
21249 wine_fn_config_makefile dlls
/d3dx10_42
/tests enable_tests
21250 wine_fn_config_makefile dlls
/d3dx10_43 enable_d3dx10_43
21251 wine_fn_config_makefile dlls
/d3dx10_43
/tests enable_tests
21252 wine_fn_config_makefile dlls
/d3dx11_42 enable_d3dx11_42
21253 wine_fn_config_makefile dlls
/d3dx11_42
/tests enable_tests
21254 wine_fn_config_makefile dlls
/d3dx11_43 enable_d3dx11_43
21255 wine_fn_config_makefile dlls
/d3dx11_43
/tests enable_tests
21256 wine_fn_config_makefile dlls
/d3dx9_24 enable_d3dx9_24
21257 wine_fn_config_makefile dlls
/d3dx9_25 enable_d3dx9_25
21258 wine_fn_config_makefile dlls
/d3dx9_26 enable_d3dx9_26
21259 wine_fn_config_makefile dlls
/d3dx9_27 enable_d3dx9_27
21260 wine_fn_config_makefile dlls
/d3dx9_28 enable_d3dx9_28
21261 wine_fn_config_makefile dlls
/d3dx9_29 enable_d3dx9_29
21262 wine_fn_config_makefile dlls
/d3dx9_30 enable_d3dx9_30
21263 wine_fn_config_makefile dlls
/d3dx9_31 enable_d3dx9_31
21264 wine_fn_config_makefile dlls
/d3dx9_32 enable_d3dx9_32
21265 wine_fn_config_makefile dlls
/d3dx9_33 enable_d3dx9_33
21266 wine_fn_config_makefile dlls
/d3dx9_34 enable_d3dx9_34
21267 wine_fn_config_makefile dlls
/d3dx9_35 enable_d3dx9_35
21268 wine_fn_config_makefile dlls
/d3dx9_36 enable_d3dx9_36
21269 wine_fn_config_makefile dlls
/d3dx9_36
/tests enable_tests
21270 wine_fn_config_makefile dlls
/d3dx9_37 enable_d3dx9_37
21271 wine_fn_config_makefile dlls
/d3dx9_38 enable_d3dx9_38
21272 wine_fn_config_makefile dlls
/d3dx9_39 enable_d3dx9_39
21273 wine_fn_config_makefile dlls
/d3dx9_40 enable_d3dx9_40
21274 wine_fn_config_makefile dlls
/d3dx9_41 enable_d3dx9_41
21275 wine_fn_config_makefile dlls
/d3dx9_42 enable_d3dx9_42
21276 wine_fn_config_makefile dlls
/d3dx9_43 enable_d3dx9_43
21277 wine_fn_config_makefile dlls
/d3dxof enable_d3dxof
21278 wine_fn_config_makefile dlls
/d3dxof
/tests enable_tests
21279 wine_fn_config_makefile dlls
/davclnt enable_davclnt
21280 wine_fn_config_makefile dlls
/dbgeng enable_dbgeng
21281 wine_fn_config_makefile dlls
/dbgeng
/tests enable_tests
21282 wine_fn_config_makefile dlls
/dbghelp enable_dbghelp
21283 wine_fn_config_makefile dlls
/dbghelp
/tests enable_tests
21284 wine_fn_config_makefile dlls
/dciman32 enable_dciman32
21285 wine_fn_config_makefile dlls
/dcomp enable_dcomp
21286 wine_fn_config_makefile dlls
/ddeml.dll16 enable_win16
21287 wine_fn_config_makefile dlls
/ddraw enable_ddraw
21288 wine_fn_config_makefile dlls
/ddraw
/tests enable_tests
21289 wine_fn_config_makefile dlls
/ddrawex enable_ddrawex
21290 wine_fn_config_makefile dlls
/ddrawex
/tests enable_tests
21291 wine_fn_config_makefile dlls
/devenum enable_devenum
21292 wine_fn_config_makefile dlls
/devenum
/tests enable_tests
21293 wine_fn_config_makefile dlls
/dhcpcsvc enable_dhcpcsvc
21294 wine_fn_config_makefile dlls
/dhcpcsvc
/tests enable_tests
21295 wine_fn_config_makefile dlls
/dhcpcsvc6 enable_dhcpcsvc6
21296 wine_fn_config_makefile dlls
/dhtmled.ocx enable_dhtmled_ocx
21297 wine_fn_config_makefile dlls
/diasymreader enable_diasymreader
21298 wine_fn_config_makefile dlls
/difxapi enable_difxapi
21299 wine_fn_config_makefile dlls
/dinput enable_dinput
21300 wine_fn_config_makefile dlls
/dinput
/tests enable_tests
21301 wine_fn_config_makefile dlls
/dinput8 enable_dinput8
21302 wine_fn_config_makefile dlls
/directmanipulation enable_directmanipulation
21303 wine_fn_config_makefile dlls
/directmanipulation
/tests enable_tests
21304 wine_fn_config_makefile dlls
/dispdib.dll16 enable_win16
21305 wine_fn_config_makefile dlls
/dispex enable_dispex
21306 wine_fn_config_makefile dlls
/dispex
/tests enable_tests
21307 wine_fn_config_makefile dlls
/display.drv16 enable_win16
21308 wine_fn_config_makefile dlls
/dmband enable_dmband
21309 wine_fn_config_makefile dlls
/dmband
/tests enable_tests
21310 wine_fn_config_makefile dlls
/dmcompos enable_dmcompos
21311 wine_fn_config_makefile dlls
/dmcompos
/tests enable_tests
21312 wine_fn_config_makefile dlls
/dmime enable_dmime
21313 wine_fn_config_makefile dlls
/dmime
/tests enable_tests
21314 wine_fn_config_makefile dlls
/dmloader enable_dmloader
21315 wine_fn_config_makefile dlls
/dmloader
/tests enable_tests
21316 wine_fn_config_makefile dlls
/dmscript enable_dmscript
21317 wine_fn_config_makefile dlls
/dmscript
/tests enable_tests
21318 wine_fn_config_makefile dlls
/dmstyle enable_dmstyle
21319 wine_fn_config_makefile dlls
/dmstyle
/tests enable_tests
21320 wine_fn_config_makefile dlls
/dmsynth enable_dmsynth
21321 wine_fn_config_makefile dlls
/dmsynth
/tests enable_tests
21322 wine_fn_config_makefile dlls
/dmusic enable_dmusic
21323 wine_fn_config_makefile dlls
/dmusic
/tests enable_tests
21324 wine_fn_config_makefile dlls
/dmusic32 enable_dmusic32
21325 wine_fn_config_makefile dlls
/dnsapi enable_dnsapi
21326 wine_fn_config_makefile dlls
/dnsapi
/tests enable_tests
21327 wine_fn_config_makefile dlls
/dplay enable_dplay
21328 wine_fn_config_makefile dlls
/dplayx enable_dplayx
21329 wine_fn_config_makefile dlls
/dplayx
/tests enable_tests
21330 wine_fn_config_makefile dlls
/dpnaddr enable_dpnaddr
21331 wine_fn_config_makefile dlls
/dpnet enable_dpnet
21332 wine_fn_config_makefile dlls
/dpnet
/tests enable_tests
21333 wine_fn_config_makefile dlls
/dpnhpast enable_dpnhpast
21334 wine_fn_config_makefile dlls
/dpnhupnp enable_dpnhupnp
21335 wine_fn_config_makefile dlls
/dpnlobby enable_dpnlobby
21336 wine_fn_config_makefile dlls
/dpvoice enable_dpvoice
21337 wine_fn_config_makefile dlls
/dpvoice
/tests enable_tests
21338 wine_fn_config_makefile dlls
/dpwsockx enable_dpwsockx
21339 wine_fn_config_makefile dlls
/drmclien enable_drmclien
21340 wine_fn_config_makefile dlls
/dsdmo enable_dsdmo
21341 wine_fn_config_makefile dlls
/dsdmo
/tests enable_tests
21342 wine_fn_config_makefile dlls
/dsound enable_dsound
21343 wine_fn_config_makefile dlls
/dsound
/tests enable_tests
21344 wine_fn_config_makefile dlls
/dsquery enable_dsquery
21345 wine_fn_config_makefile dlls
/dssenh enable_dssenh
21346 wine_fn_config_makefile dlls
/dssenh
/tests enable_tests
21347 wine_fn_config_makefile dlls
/dsuiext enable_dsuiext
21348 wine_fn_config_makefile dlls
/dswave enable_dswave
21349 wine_fn_config_makefile dlls
/dswave
/tests enable_tests
21350 wine_fn_config_makefile dlls
/dwmapi enable_dwmapi
21351 wine_fn_config_makefile dlls
/dwmapi
/tests enable_tests
21352 wine_fn_config_makefile dlls
/dwrite enable_dwrite
21353 wine_fn_config_makefile dlls
/dwrite
/tests enable_tests
21354 wine_fn_config_makefile dlls
/dx8vb enable_dx8vb
21355 wine_fn_config_makefile dlls
/dxdiagn enable_dxdiagn
21356 wine_fn_config_makefile dlls
/dxdiagn
/tests enable_tests
21357 wine_fn_config_makefile dlls
/dxgi enable_dxgi
21358 wine_fn_config_makefile dlls
/dxgi
/tests enable_tests
21359 wine_fn_config_makefile dlls
/dxtrans enable_dxtrans
21360 wine_fn_config_makefile dlls
/dxva2 enable_dxva2
21361 wine_fn_config_makefile dlls
/dxva
2/tests enable_tests
21362 wine_fn_config_makefile dlls
/esent enable_esent
21363 wine_fn_config_makefile dlls
/evr enable_evr
21364 wine_fn_config_makefile dlls
/evr
/tests enable_tests
21365 wine_fn_config_makefile dlls
/explorerframe enable_explorerframe
21366 wine_fn_config_makefile dlls
/explorerframe
/tests enable_tests
21367 wine_fn_config_makefile dlls
/faultrep enable_faultrep
21368 wine_fn_config_makefile dlls
/faultrep
/tests enable_tests
21369 wine_fn_config_makefile dlls
/feclient enable_feclient
21370 wine_fn_config_makefile dlls
/fltlib enable_fltlib
21371 wine_fn_config_makefile dlls
/fltmgr.sys enable_fltmgr_sys
21372 wine_fn_config_makefile dlls
/fntcache enable_fntcache
21373 wine_fn_config_makefile dlls
/fontsub enable_fontsub
21374 wine_fn_config_makefile dlls
/fusion enable_fusion
21375 wine_fn_config_makefile dlls
/fusion
/tests enable_tests
21376 wine_fn_config_makefile dlls
/fwpuclnt enable_fwpuclnt
21377 wine_fn_config_makefile dlls
/gameux enable_gameux
21378 wine_fn_config_makefile dlls
/gameux
/tests enable_tests
21379 wine_fn_config_makefile dlls
/gamingtcui enable_gamingtcui
21380 wine_fn_config_makefile dlls
/gdi.exe16 enable_win16
21381 wine_fn_config_makefile dlls
/gdi32 enable_gdi32
21382 wine_fn_config_makefile dlls
/gdi32
/tests enable_tests
21383 wine_fn_config_makefile dlls
/gdiplus enable_gdiplus
21384 wine_fn_config_makefile dlls
/gdiplus
/tests enable_tests
21385 wine_fn_config_makefile dlls
/geolocation enable_geolocation
21386 wine_fn_config_makefile dlls
/geolocation
/tests enable_tests
21387 wine_fn_config_makefile dlls
/glu32 enable_glu32
21388 wine_fn_config_makefile dlls
/gphoto2.ds enable_gphoto2_ds
21389 wine_fn_config_makefile dlls
/gpkcsp enable_gpkcsp
21390 wine_fn_config_makefile dlls
/graphicscapture enable_graphicscapture
21391 wine_fn_config_makefile dlls
/graphicscapture
/tests enable_tests
21392 wine_fn_config_makefile dlls
/hal enable_hal
21393 wine_fn_config_makefile dlls
/hhctrl.ocx enable_hhctrl_ocx
21394 wine_fn_config_makefile dlls
/hid enable_hid
21395 wine_fn_config_makefile dlls
/hid
/tests enable_tests
21396 wine_fn_config_makefile dlls
/hidclass.sys enable_hidclass_sys
21397 wine_fn_config_makefile dlls
/hidparse.sys enable_hidparse_sys
21398 wine_fn_config_makefile dlls
/hlink enable_hlink
21399 wine_fn_config_makefile dlls
/hlink
/tests enable_tests
21400 wine_fn_config_makefile dlls
/hnetcfg enable_hnetcfg
21401 wine_fn_config_makefile dlls
/hnetcfg
/tests enable_tests
21402 wine_fn_config_makefile dlls
/hrtfapo enable_hrtfapo
21403 wine_fn_config_makefile dlls
/http.sys enable_http_sys
21404 wine_fn_config_makefile dlls
/httpapi enable_httpapi
21405 wine_fn_config_makefile dlls
/httpapi
/tests enable_tests
21406 wine_fn_config_makefile dlls
/ia2comproxy enable_ia2comproxy
21407 wine_fn_config_makefile dlls
/iccvid enable_iccvid
21408 wine_fn_config_makefile dlls
/icmp enable_icmp
21409 wine_fn_config_makefile dlls
/ieframe enable_ieframe
21410 wine_fn_config_makefile dlls
/ieframe
/tests enable_tests
21411 wine_fn_config_makefile dlls
/ieproxy enable_ieproxy
21412 wine_fn_config_makefile dlls
/ifsmgr.vxd enable_win16
21413 wine_fn_config_makefile dlls
/imaadp32.acm enable_imaadp32_acm
21414 wine_fn_config_makefile dlls
/imagehlp enable_imagehlp
21415 wine_fn_config_makefile dlls
/imagehlp
/tests enable_tests
21416 wine_fn_config_makefile dlls
/imm.dll16 enable_win16
21417 wine_fn_config_makefile dlls
/imm32 enable_imm32
21418 wine_fn_config_makefile dlls
/imm32
/tests enable_tests
21419 wine_fn_config_makefile dlls
/inetcomm enable_inetcomm
21420 wine_fn_config_makefile dlls
/inetcomm
/tests enable_tests
21421 wine_fn_config_makefile dlls
/inetcpl.cpl enable_inetcpl_cpl
21422 wine_fn_config_makefile dlls
/inetmib1 enable_inetmib1
21423 wine_fn_config_makefile dlls
/inetmib
1/tests enable_tests
21424 wine_fn_config_makefile dlls
/infosoft enable_infosoft
21425 wine_fn_config_makefile dlls
/infosoft
/tests enable_tests
21426 wine_fn_config_makefile dlls
/initpki enable_initpki
21427 wine_fn_config_makefile dlls
/inkobj enable_inkobj
21428 wine_fn_config_makefile dlls
/inseng enable_inseng
21429 wine_fn_config_makefile dlls
/iphlpapi enable_iphlpapi
21430 wine_fn_config_makefile dlls
/iphlpapi
/tests enable_tests
21431 wine_fn_config_makefile dlls
/iprop enable_iprop
21432 wine_fn_config_makefile dlls
/ir50_32 enable_ir50_32
21433 wine_fn_config_makefile dlls
/irprops.cpl enable_irprops_cpl
21434 wine_fn_config_makefile dlls
/itircl enable_itircl
21435 wine_fn_config_makefile dlls
/itss enable_itss
21436 wine_fn_config_makefile dlls
/itss
/tests enable_tests
21437 wine_fn_config_makefile dlls
/joy.cpl enable_joy_cpl
21438 wine_fn_config_makefile dlls
/jscript enable_jscript
21439 wine_fn_config_makefile dlls
/jscript
/tests enable_tests
21440 wine_fn_config_makefile dlls
/jsproxy enable_jsproxy
21441 wine_fn_config_makefile dlls
/jsproxy
/tests enable_tests
21442 wine_fn_config_makefile dlls
/kerberos enable_kerberos
21443 wine_fn_config_makefile dlls
/kernel32 enable_kernel32
21444 wine_fn_config_makefile dlls
/kernel32
/tests enable_tests
21445 wine_fn_config_makefile dlls
/kernelbase enable_kernelbase
21446 wine_fn_config_makefile dlls
/kernelbase
/tests enable_tests
21447 wine_fn_config_makefile dlls
/keyboard.drv16 enable_win16
21448 wine_fn_config_makefile dlls
/krnl386.exe16 enable_win16
21449 wine_fn_config_makefile dlls
/ksecdd.sys enable_ksecdd_sys
21450 wine_fn_config_makefile dlls
/ksproxy.ax enable_ksproxy_ax
21451 wine_fn_config_makefile dlls
/ksuser enable_ksuser
21452 wine_fn_config_makefile dlls
/ktmw32 enable_ktmw32
21453 wine_fn_config_makefile dlls
/l3codeca.acm enable_l3codeca_acm
21454 wine_fn_config_makefile dlls
/light.msstyles enable_light_msstyles
21455 wine_fn_config_makefile dlls
/loadperf enable_loadperf
21456 wine_fn_config_makefile dlls
/localspl enable_localspl
21457 wine_fn_config_makefile dlls
/localspl
/tests enable_tests
21458 wine_fn_config_makefile dlls
/localui enable_localui
21459 wine_fn_config_makefile dlls
/localui
/tests enable_tests
21460 wine_fn_config_makefile dlls
/lz32 enable_lz32
21461 wine_fn_config_makefile dlls
/lz32
/tests enable_tests
21462 wine_fn_config_makefile dlls
/lzexpand.dll16 enable_win16
21463 wine_fn_config_makefile dlls
/mapi32 enable_mapi32
21464 wine_fn_config_makefile dlls
/mapi32
/tests enable_tests
21465 wine_fn_config_makefile dlls
/mapistub enable_mapistub
21466 wine_fn_config_makefile dlls
/mciavi32 enable_mciavi32
21467 wine_fn_config_makefile dlls
/mcicda enable_mcicda
21468 wine_fn_config_makefile dlls
/mciqtz32 enable_mciqtz32
21469 wine_fn_config_makefile dlls
/mciseq enable_mciseq
21470 wine_fn_config_makefile dlls
/mciwave enable_mciwave
21471 wine_fn_config_makefile dlls
/mf enable_mf
21472 wine_fn_config_makefile dlls
/mf
/tests enable_tests
21473 wine_fn_config_makefile dlls
/mf3216 enable_mf3216
21474 wine_fn_config_makefile dlls
/mferror enable_mferror
21475 wine_fn_config_makefile dlls
/mfmediaengine enable_mfmediaengine
21476 wine_fn_config_makefile dlls
/mfmediaengine
/tests enable_tests
21477 wine_fn_config_makefile dlls
/mfplat enable_mfplat
21478 wine_fn_config_makefile dlls
/mfplat
/tests enable_tests
21479 wine_fn_config_makefile dlls
/mfplay enable_mfplay
21480 wine_fn_config_makefile dlls
/mfplay
/tests enable_tests
21481 wine_fn_config_makefile dlls
/mfreadwrite enable_mfreadwrite
21482 wine_fn_config_makefile dlls
/mfreadwrite
/tests enable_tests
21483 wine_fn_config_makefile dlls
/mfsrcsnk enable_mfsrcsnk
21484 wine_fn_config_makefile dlls
/mfsrcsnk
/tests enable_tests
21485 wine_fn_config_makefile dlls
/mgmtapi enable_mgmtapi
21486 wine_fn_config_makefile dlls
/midimap enable_midimap
21487 wine_fn_config_makefile dlls
/mlang enable_mlang
21488 wine_fn_config_makefile dlls
/mlang
/tests enable_tests
21489 wine_fn_config_makefile dlls
/mmcndmgr enable_mmcndmgr
21490 wine_fn_config_makefile dlls
/mmcndmgr
/tests enable_tests
21491 wine_fn_config_makefile dlls
/mmdevapi enable_mmdevapi
21492 wine_fn_config_makefile dlls
/mmdevapi
/tests enable_tests
21493 wine_fn_config_makefile dlls
/mmdevldr.vxd enable_win16
21494 wine_fn_config_makefile dlls
/mmsystem.dll16 enable_win16
21495 wine_fn_config_makefile dlls
/monodebg.vxd enable_win16
21496 wine_fn_config_makefile dlls
/mountmgr.sys enable_mountmgr_sys
21497 wine_fn_config_makefile dlls
/mouse.drv16 enable_win16
21498 wine_fn_config_makefile dlls
/mp3dmod enable_mp3dmod
21499 wine_fn_config_makefile dlls
/mp3dmod
/tests enable_tests
21500 wine_fn_config_makefile dlls
/mpr enable_mpr
21501 wine_fn_config_makefile dlls
/mpr
/tests enable_tests
21502 wine_fn_config_makefile dlls
/mprapi enable_mprapi
21503 wine_fn_config_makefile dlls
/msacm.dll16 enable_win16
21504 wine_fn_config_makefile dlls
/msacm32.drv enable_msacm32_drv
21505 wine_fn_config_makefile dlls
/msacm32 enable_msacm32
21506 wine_fn_config_makefile dlls
/msacm32
/tests enable_tests
21507 wine_fn_config_makefile dlls
/msado15 enable_msado15
21508 wine_fn_config_makefile dlls
/msado15
/tests enable_tests
21509 wine_fn_config_makefile dlls
/msadp32.acm enable_msadp32_acm
21510 wine_fn_config_makefile dlls
/msasn1 enable_msasn1
21511 wine_fn_config_makefile dlls
/msasn
1/tests enable_tests
21512 wine_fn_config_makefile dlls
/msauddecmft enable_msauddecmft
21513 wine_fn_config_makefile dlls
/mscat32 enable_mscat32
21514 wine_fn_config_makefile dlls
/mscms enable_mscms
21515 wine_fn_config_makefile dlls
/mscms
/tests enable_tests
21516 wine_fn_config_makefile dlls
/mscoree enable_mscoree
21517 wine_fn_config_makefile dlls
/mscoree
/tests enable_tests
21518 wine_fn_config_makefile dlls
/mscorwks enable_mscorwks
21519 wine_fn_config_makefile dlls
/msctf enable_msctf
21520 wine_fn_config_makefile dlls
/msctf
/tests enable_tests
21521 wine_fn_config_makefile dlls
/msctfmonitor enable_msctfmonitor
21522 wine_fn_config_makefile dlls
/msctfp enable_msctfp
21523 wine_fn_config_makefile dlls
/msdaps enable_msdaps
21524 wine_fn_config_makefile dlls
/msdasql enable_msdasql
21525 wine_fn_config_makefile dlls
/msdasql
/tests enable_tests
21526 wine_fn_config_makefile dlls
/msdelta enable_msdelta
21527 wine_fn_config_makefile dlls
/msdmo enable_msdmo
21528 wine_fn_config_makefile dlls
/msdmo
/tests enable_tests
21529 wine_fn_config_makefile dlls
/msdrm enable_msdrm
21530 wine_fn_config_makefile dlls
/msftedit enable_msftedit
21531 wine_fn_config_makefile dlls
/msftedit
/tests enable_tests
21532 wine_fn_config_makefile dlls
/msg711.acm enable_msg711_acm
21533 wine_fn_config_makefile dlls
/msgsm32.acm enable_msgsm32_acm
21534 wine_fn_config_makefile dlls
/mshtml.tlb enable_mshtml_tlb
21535 wine_fn_config_makefile dlls
/mshtml enable_mshtml
21536 wine_fn_config_makefile dlls
/mshtml
/tests enable_tests
21537 wine_fn_config_makefile dlls
/msi enable_msi
21538 wine_fn_config_makefile dlls
/msi
/tests enable_tests
21539 wine_fn_config_makefile dlls
/msident enable_msident
21540 wine_fn_config_makefile dlls
/msimg32 enable_msimg32
21541 wine_fn_config_makefile dlls
/msimsg enable_msimsg
21542 wine_fn_config_makefile dlls
/msimtf enable_msimtf
21543 wine_fn_config_makefile dlls
/msisip enable_msisip
21544 wine_fn_config_makefile dlls
/msisys.ocx enable_msisys_ocx
21545 wine_fn_config_makefile dlls
/msls31 enable_msls31
21546 wine_fn_config_makefile dlls
/msmpeg2vdec enable_msmpeg2vdec
21547 wine_fn_config_makefile dlls
/msnet32 enable_msnet32
21548 wine_fn_config_makefile dlls
/mspatcha enable_mspatcha
21549 wine_fn_config_makefile dlls
/mspatcha
/tests enable_tests
21550 wine_fn_config_makefile dlls
/msports enable_msports
21551 wine_fn_config_makefile dlls
/msrle32 enable_msrle32
21552 wine_fn_config_makefile dlls
/msrle32
/tests enable_tests
21553 wine_fn_config_makefile dlls
/msscript.ocx enable_msscript_ocx
21554 wine_fn_config_makefile dlls
/msscript.ocx
/tests enable_tests
21555 wine_fn_config_makefile dlls
/mssign32 enable_mssign32
21556 wine_fn_config_makefile dlls
/mssip32 enable_mssip32
21557 wine_fn_config_makefile dlls
/mstask enable_mstask
21558 wine_fn_config_makefile dlls
/mstask
/tests enable_tests
21559 wine_fn_config_makefile dlls
/msv1_0 enable_msv1_0
21560 wine_fn_config_makefile dlls
/msvcirt enable_msvcirt
21561 wine_fn_config_makefile dlls
/msvcirt
/tests enable_tests
21562 wine_fn_config_makefile dlls
/msvcm80 enable_msvcm80
21563 wine_fn_config_makefile dlls
/msvcm90 enable_msvcm90
21564 wine_fn_config_makefile dlls
/msvcp100 enable_msvcp100
21565 wine_fn_config_makefile dlls
/msvcp100
/tests enable_tests
21566 wine_fn_config_makefile dlls
/msvcp110 enable_msvcp110
21567 wine_fn_config_makefile dlls
/msvcp110
/tests enable_tests
21568 wine_fn_config_makefile dlls
/msvcp120 enable_msvcp120
21569 wine_fn_config_makefile dlls
/msvcp120
/tests enable_tests
21570 wine_fn_config_makefile dlls
/msvcp120_app enable_msvcp120_app
21571 wine_fn_config_makefile dlls
/msvcp140 enable_msvcp140
21572 wine_fn_config_makefile dlls
/msvcp140
/tests enable_tests
21573 wine_fn_config_makefile dlls
/msvcp140_1 enable_msvcp140_1
21574 wine_fn_config_makefile dlls
/msvcp140_
1/tests enable_tests
21575 wine_fn_config_makefile dlls
/msvcp140_2 enable_msvcp140_2
21576 wine_fn_config_makefile dlls
/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21577 wine_fn_config_makefile dlls
/msvcp140_atomic_wait
/tests enable_tests
21578 wine_fn_config_makefile dlls
/msvcp60 enable_msvcp60
21579 wine_fn_config_makefile dlls
/msvcp60
/tests enable_tests
21580 wine_fn_config_makefile dlls
/msvcp70 enable_msvcp70
21581 wine_fn_config_makefile dlls
/msvcp71 enable_msvcp71
21582 wine_fn_config_makefile dlls
/msvcp80 enable_msvcp80
21583 wine_fn_config_makefile dlls
/msvcp90 enable_msvcp90
21584 wine_fn_config_makefile dlls
/msvcp90
/tests enable_tests
21585 wine_fn_config_makefile dlls
/msvcp_win enable_msvcp_win
21586 wine_fn_config_makefile dlls
/msvcr100 enable_msvcr100
21587 wine_fn_config_makefile dlls
/msvcr100
/tests enable_tests
21588 wine_fn_config_makefile dlls
/msvcr110 enable_msvcr110
21589 wine_fn_config_makefile dlls
/msvcr110
/tests enable_tests
21590 wine_fn_config_makefile dlls
/msvcr120 enable_msvcr120
21591 wine_fn_config_makefile dlls
/msvcr120
/tests enable_tests
21592 wine_fn_config_makefile dlls
/msvcr120_app enable_msvcr120_app
21593 wine_fn_config_makefile dlls
/msvcr70 enable_msvcr70
21594 wine_fn_config_makefile dlls
/msvcr70
/tests enable_tests
21595 wine_fn_config_makefile dlls
/msvcr71 enable_msvcr71
21596 wine_fn_config_makefile dlls
/msvcr71
/tests enable_tests
21597 wine_fn_config_makefile dlls
/msvcr80 enable_msvcr80
21598 wine_fn_config_makefile dlls
/msvcr80
/tests enable_tests
21599 wine_fn_config_makefile dlls
/msvcr90 enable_msvcr90
21600 wine_fn_config_makefile dlls
/msvcr90
/tests enable_tests
21601 wine_fn_config_makefile dlls
/msvcrt enable_msvcrt
21602 wine_fn_config_makefile dlls
/msvcrt
/tests enable_tests
21603 wine_fn_config_makefile dlls
/msvcrt20 enable_msvcrt20
21604 wine_fn_config_makefile dlls
/msvcrt40 enable_msvcrt40
21605 wine_fn_config_makefile dlls
/msvcrtd enable_msvcrtd
21606 wine_fn_config_makefile dlls
/msvcrtd
/tests enable_tests
21607 wine_fn_config_makefile dlls
/msvfw32 enable_msvfw32
21608 wine_fn_config_makefile dlls
/msvfw32
/tests enable_tests
21609 wine_fn_config_makefile dlls
/msvidc32 enable_msvidc32
21610 wine_fn_config_makefile dlls
/msvideo.dll16 enable_win16
21611 wine_fn_config_makefile dlls
/mswsock enable_mswsock
21612 wine_fn_config_makefile dlls
/msxml enable_msxml
21613 wine_fn_config_makefile dlls
/msxml2 enable_msxml2
21614 wine_fn_config_makefile dlls
/msxml3 enable_msxml3
21615 wine_fn_config_makefile dlls
/msxml
3/tests enable_tests
21616 wine_fn_config_makefile dlls
/msxml4 enable_msxml4
21617 wine_fn_config_makefile dlls
/msxml6 enable_msxml6
21618 wine_fn_config_makefile dlls
/mtxdm enable_mtxdm
21619 wine_fn_config_makefile dlls
/ncrypt enable_ncrypt
21620 wine_fn_config_makefile dlls
/ncrypt
/tests enable_tests
21621 wine_fn_config_makefile dlls
/nddeapi enable_nddeapi
21622 wine_fn_config_makefile dlls
/ndis.sys enable_ndis_sys
21623 wine_fn_config_makefile dlls
/ndis.sys
/tests enable_tests
21624 wine_fn_config_makefile dlls
/netapi32 enable_netapi32
21625 wine_fn_config_makefile dlls
/netapi32
/tests enable_tests
21626 wine_fn_config_makefile dlls
/netcfgx enable_netcfgx
21627 wine_fn_config_makefile dlls
/netcfgx
/tests enable_tests
21628 wine_fn_config_makefile dlls
/netio.sys enable_netio_sys
21629 wine_fn_config_makefile dlls
/netprofm enable_netprofm
21630 wine_fn_config_makefile dlls
/netprofm
/tests enable_tests
21631 wine_fn_config_makefile dlls
/netutils enable_netutils
21632 wine_fn_config_makefile dlls
/newdev enable_newdev
21633 wine_fn_config_makefile dlls
/ninput enable_ninput
21634 wine_fn_config_makefile dlls
/ninput
/tests enable_tests
21635 wine_fn_config_makefile dlls
/normaliz enable_normaliz
21636 wine_fn_config_makefile dlls
/npmshtml enable_npmshtml
21637 wine_fn_config_makefile dlls
/npptools enable_npptools
21638 wine_fn_config_makefile dlls
/nsi enable_nsi
21639 wine_fn_config_makefile dlls
/nsi
/tests enable_tests
21640 wine_fn_config_makefile dlls
/nsiproxy.sys enable_nsiproxy_sys
21641 wine_fn_config_makefile dlls
/ntdll enable_ntdll
21642 wine_fn_config_makefile dlls
/ntdll
/tests enable_tests
21643 wine_fn_config_makefile dlls
/ntdsapi enable_ntdsapi
21644 wine_fn_config_makefile dlls
/ntdsapi
/tests enable_tests
21645 wine_fn_config_makefile dlls
/ntoskrnl.exe enable_ntoskrnl_exe
21646 wine_fn_config_makefile dlls
/ntoskrnl.exe
/tests enable_tests
21647 wine_fn_config_makefile dlls
/ntprint enable_ntprint
21648 wine_fn_config_makefile dlls
/ntprint
/tests enable_tests
21649 wine_fn_config_makefile dlls
/objsel enable_objsel
21650 wine_fn_config_makefile dlls
/odbc32 enable_odbc32
21651 wine_fn_config_makefile dlls
/odbcbcp enable_odbcbcp
21652 wine_fn_config_makefile dlls
/odbccp32 enable_odbccp32
21653 wine_fn_config_makefile dlls
/odbccp32
/tests enable_tests
21654 wine_fn_config_makefile dlls
/odbccu32 enable_odbccu32
21655 wine_fn_config_makefile dlls
/ole2.dll16 enable_win16
21656 wine_fn_config_makefile dlls
/ole2conv.dll16 enable_win16
21657 wine_fn_config_makefile dlls
/ole2disp.dll16 enable_win16
21658 wine_fn_config_makefile dlls
/ole2nls.dll16 enable_win16
21659 wine_fn_config_makefile dlls
/ole2prox.dll16 enable_win16
21660 wine_fn_config_makefile dlls
/ole2thk.dll16 enable_win16
21661 wine_fn_config_makefile dlls
/ole32 enable_ole32
21662 wine_fn_config_makefile dlls
/ole32
/tests enable_tests
21663 wine_fn_config_makefile dlls
/oleacc enable_oleacc
21664 wine_fn_config_makefile dlls
/oleacc
/tests enable_tests
21665 wine_fn_config_makefile dlls
/oleaut32 enable_oleaut32
21666 wine_fn_config_makefile dlls
/oleaut32
/tests enable_tests
21667 wine_fn_config_makefile dlls
/olecli.dll16 enable_win16
21668 wine_fn_config_makefile dlls
/olecli32 enable_olecli32
21669 wine_fn_config_makefile dlls
/oledb32 enable_oledb32
21670 wine_fn_config_makefile dlls
/oledb32
/tests enable_tests
21671 wine_fn_config_makefile dlls
/oledlg enable_oledlg
21672 wine_fn_config_makefile dlls
/oledlg
/tests enable_tests
21673 wine_fn_config_makefile dlls
/olepro32 enable_olepro32
21674 wine_fn_config_makefile dlls
/olesvr.dll16 enable_win16
21675 wine_fn_config_makefile dlls
/olesvr32 enable_olesvr32
21676 wine_fn_config_makefile dlls
/olethk32 enable_olethk32
21677 wine_fn_config_makefile dlls
/opcservices enable_opcservices
21678 wine_fn_config_makefile dlls
/opcservices
/tests enable_tests
21679 wine_fn_config_makefile dlls
/opencl enable_opencl
21680 wine_fn_config_makefile dlls
/opengl32 enable_opengl32
21681 wine_fn_config_makefile dlls
/opengl32
/tests enable_tests
21682 wine_fn_config_makefile dlls
/packager enable_packager
21683 wine_fn_config_makefile dlls
/packager
/tests enable_tests
21684 wine_fn_config_makefile dlls
/pdh enable_pdh
21685 wine_fn_config_makefile dlls
/pdh
/tests enable_tests
21686 wine_fn_config_makefile dlls
/photometadatahandler enable_photometadatahandler
21687 wine_fn_config_makefile dlls
/pidgen enable_pidgen
21688 wine_fn_config_makefile dlls
/powrprof enable_powrprof
21689 wine_fn_config_makefile dlls
/printui enable_printui
21690 wine_fn_config_makefile dlls
/prntvpt enable_prntvpt
21691 wine_fn_config_makefile dlls
/prntvpt
/tests enable_tests
21692 wine_fn_config_makefile dlls
/propsys enable_propsys
21693 wine_fn_config_makefile dlls
/propsys
/tests enable_tests
21694 wine_fn_config_makefile dlls
/psapi enable_psapi
21695 wine_fn_config_makefile dlls
/psapi
/tests enable_tests
21696 wine_fn_config_makefile dlls
/pstorec enable_pstorec
21697 wine_fn_config_makefile dlls
/pstorec
/tests enable_tests
21698 wine_fn_config_makefile dlls
/pwrshplugin enable_pwrshplugin
21699 wine_fn_config_makefile dlls
/qasf enable_qasf
21700 wine_fn_config_makefile dlls
/qasf
/tests enable_tests
21701 wine_fn_config_makefile dlls
/qcap enable_qcap
21702 wine_fn_config_makefile dlls
/qcap
/tests enable_tests
21703 wine_fn_config_makefile dlls
/qdvd enable_qdvd
21704 wine_fn_config_makefile dlls
/qdvd
/tests enable_tests
21705 wine_fn_config_makefile dlls
/qedit enable_qedit
21706 wine_fn_config_makefile dlls
/qedit
/tests enable_tests
21707 wine_fn_config_makefile dlls
/qmgr enable_qmgr
21708 wine_fn_config_makefile dlls
/qmgr
/tests enable_tests
21709 wine_fn_config_makefile dlls
/qmgrprxy enable_qmgrprxy
21710 wine_fn_config_makefile dlls
/quartz enable_quartz
21711 wine_fn_config_makefile dlls
/quartz
/tests enable_tests
21712 wine_fn_config_makefile dlls
/query enable_query
21713 wine_fn_config_makefile dlls
/qwave enable_qwave
21714 wine_fn_config_makefile dlls
/qwave
/tests enable_tests
21715 wine_fn_config_makefile dlls
/rasapi16.dll16 enable_win16
21716 wine_fn_config_makefile dlls
/rasapi32 enable_rasapi32
21717 wine_fn_config_makefile dlls
/rasapi32
/tests enable_tests
21718 wine_fn_config_makefile dlls
/rasdlg enable_rasdlg
21719 wine_fn_config_makefile dlls
/regapi enable_regapi
21720 wine_fn_config_makefile dlls
/resutils enable_resutils
21721 wine_fn_config_makefile dlls
/riched20 enable_riched20
21722 wine_fn_config_makefile dlls
/riched20
/tests enable_tests
21723 wine_fn_config_makefile dlls
/riched32 enable_riched32
21724 wine_fn_config_makefile dlls
/riched32
/tests enable_tests
21725 wine_fn_config_makefile dlls
/rpcrt4 enable_rpcrt4
21726 wine_fn_config_makefile dlls
/rpcrt
4/tests enable_tests
21727 wine_fn_config_makefile dlls
/rsabase enable_rsabase
21728 wine_fn_config_makefile dlls
/rsaenh enable_rsaenh
21729 wine_fn_config_makefile dlls
/rsaenh
/tests enable_tests
21730 wine_fn_config_makefile dlls
/rstrtmgr enable_rstrtmgr
21731 wine_fn_config_makefile dlls
/rtutils enable_rtutils
21732 wine_fn_config_makefile dlls
/rtworkq enable_rtworkq
21733 wine_fn_config_makefile dlls
/rtworkq
/tests enable_tests
21734 wine_fn_config_makefile dlls
/samlib enable_samlib
21735 wine_fn_config_makefile dlls
/sane.ds enable_sane_ds
21736 wine_fn_config_makefile dlls
/sapi enable_sapi
21737 wine_fn_config_makefile dlls
/sapi
/tests enable_tests
21738 wine_fn_config_makefile dlls
/sas enable_sas
21739 wine_fn_config_makefile dlls
/scarddlg enable_scarddlg
21740 wine_fn_config_makefile dlls
/scardsvr enable_scardsvr
21741 wine_fn_config_makefile dlls
/sccbase enable_sccbase
21742 wine_fn_config_makefile dlls
/schannel enable_schannel
21743 wine_fn_config_makefile dlls
/schannel
/tests enable_tests
21744 wine_fn_config_makefile dlls
/schedsvc enable_schedsvc
21745 wine_fn_config_makefile dlls
/schedsvc
/tests enable_tests
21746 wine_fn_config_makefile dlls
/scrobj enable_scrobj
21747 wine_fn_config_makefile dlls
/scrobj
/tests enable_tests
21748 wine_fn_config_makefile dlls
/scrrun enable_scrrun
21749 wine_fn_config_makefile dlls
/scrrun
/tests enable_tests
21750 wine_fn_config_makefile dlls
/scsiport.sys enable_scsiport_sys
21751 wine_fn_config_makefile dlls
/sechost enable_sechost
21752 wine_fn_config_makefile dlls
/secur32 enable_secur32
21753 wine_fn_config_makefile dlls
/secur32
/tests enable_tests
21754 wine_fn_config_makefile dlls
/security enable_security
21755 wine_fn_config_makefile dlls
/sensapi enable_sensapi
21756 wine_fn_config_makefile dlls
/serialui enable_serialui
21757 wine_fn_config_makefile dlls
/serialui
/tests enable_tests
21758 wine_fn_config_makefile dlls
/setupapi enable_setupapi
21759 wine_fn_config_makefile dlls
/setupapi
/tests enable_tests
21760 wine_fn_config_makefile dlls
/setupx.dll16 enable_win16
21761 wine_fn_config_makefile dlls
/sfc enable_sfc
21762 wine_fn_config_makefile dlls
/sfc_os enable_sfc_os
21763 wine_fn_config_makefile dlls
/shcore enable_shcore
21764 wine_fn_config_makefile dlls
/shcore
/tests enable_tests
21765 wine_fn_config_makefile dlls
/shdoclc enable_shdoclc
21766 wine_fn_config_makefile dlls
/shdocvw enable_shdocvw
21767 wine_fn_config_makefile dlls
/shdocvw
/tests enable_tests
21768 wine_fn_config_makefile dlls
/shell.dll16 enable_win16
21769 wine_fn_config_makefile dlls
/shell32 enable_shell32
21770 wine_fn_config_makefile dlls
/shell32
/tests enable_tests
21771 wine_fn_config_makefile dlls
/shfolder enable_shfolder
21772 wine_fn_config_makefile dlls
/shlwapi enable_shlwapi
21773 wine_fn_config_makefile dlls
/shlwapi
/tests enable_tests
21774 wine_fn_config_makefile dlls
/slbcsp enable_slbcsp
21775 wine_fn_config_makefile dlls
/slc enable_slc
21776 wine_fn_config_makefile dlls
/slc
/tests enable_tests
21777 wine_fn_config_makefile dlls
/snmpapi enable_snmpapi
21778 wine_fn_config_makefile dlls
/snmpapi
/tests enable_tests
21779 wine_fn_config_makefile dlls
/softpub enable_softpub
21780 wine_fn_config_makefile dlls
/sound.drv16 enable_win16
21781 wine_fn_config_makefile dlls
/spoolss enable_spoolss
21782 wine_fn_config_makefile dlls
/spoolss
/tests enable_tests
21783 wine_fn_config_makefile dlls
/sppc enable_sppc
21784 wine_fn_config_makefile dlls
/srclient enable_srclient
21785 wine_fn_config_makefile dlls
/srvcli enable_srvcli
21786 wine_fn_config_makefile dlls
/sspicli enable_sspicli
21787 wine_fn_config_makefile dlls
/stdole2.tlb enable_stdole2_tlb
21788 wine_fn_config_makefile dlls
/stdole32.tlb enable_stdole32_tlb
21789 wine_fn_config_makefile dlls
/sti enable_sti
21790 wine_fn_config_makefile dlls
/sti
/tests enable_tests
21791 wine_fn_config_makefile dlls
/storage.dll16 enable_win16
21792 wine_fn_config_makefile dlls
/stress.dll16 enable_win16
21793 wine_fn_config_makefile dlls
/strmdll enable_strmdll
21794 wine_fn_config_makefile dlls
/svrapi enable_svrapi
21795 wine_fn_config_makefile dlls
/sxs enable_sxs
21796 wine_fn_config_makefile dlls
/sxs
/tests enable_tests
21797 wine_fn_config_makefile dlls
/system.drv16 enable_win16
21798 wine_fn_config_makefile dlls
/t2embed enable_t2embed
21799 wine_fn_config_makefile dlls
/t2embed
/tests enable_tests
21800 wine_fn_config_makefile dlls
/tapi32 enable_tapi32
21801 wine_fn_config_makefile dlls
/tapi32
/tests enable_tests
21802 wine_fn_config_makefile dlls
/taskschd enable_taskschd
21803 wine_fn_config_makefile dlls
/taskschd
/tests enable_tests
21804 wine_fn_config_makefile dlls
/tbs enable_tbs
21805 wine_fn_config_makefile dlls
/tdh enable_tdh
21806 wine_fn_config_makefile dlls
/tdi.sys enable_tdi_sys
21807 wine_fn_config_makefile dlls
/threadpoolwinrt enable_threadpoolwinrt
21808 wine_fn_config_makefile dlls
/threadpoolwinrt
/tests enable_tests
21809 wine_fn_config_makefile dlls
/toolhelp.dll16 enable_win16
21810 wine_fn_config_makefile dlls
/traffic enable_traffic
21811 wine_fn_config_makefile dlls
/twain.dll16 enable_win16
21812 wine_fn_config_makefile dlls
/twain_32 enable_twain_32
21813 wine_fn_config_makefile dlls
/twain_32
/tests enable_tests
21814 wine_fn_config_makefile dlls
/twinapi.appcore enable_twinapi_appcore
21815 wine_fn_config_makefile dlls
/typelib.dll16 enable_win16
21816 wine_fn_config_makefile dlls
/tzres enable_tzres
21817 wine_fn_config_makefile dlls
/ucrtbase enable_ucrtbase
21818 wine_fn_config_makefile dlls
/ucrtbase
/tests enable_tests
21819 wine_fn_config_makefile dlls
/uianimation enable_uianimation
21820 wine_fn_config_makefile dlls
/uianimation
/tests enable_tests
21821 wine_fn_config_makefile dlls
/uiautomationcore enable_uiautomationcore
21822 wine_fn_config_makefile dlls
/uiautomationcore
/tests enable_tests
21823 wine_fn_config_makefile dlls
/uiribbon enable_uiribbon
21824 wine_fn_config_makefile dlls
/unicows enable_unicows
21825 wine_fn_config_makefile dlls
/updspapi enable_updspapi
21826 wine_fn_config_makefile dlls
/url enable_url
21827 wine_fn_config_makefile dlls
/urlmon enable_urlmon
21828 wine_fn_config_makefile dlls
/urlmon
/tests enable_tests
21829 wine_fn_config_makefile dlls
/usbd.sys enable_usbd_sys
21830 wine_fn_config_makefile dlls
/user.exe16 enable_win16
21831 wine_fn_config_makefile dlls
/user32 enable_user32
21832 wine_fn_config_makefile dlls
/user32
/tests enable_tests
21833 wine_fn_config_makefile dlls
/userenv enable_userenv
21834 wine_fn_config_makefile dlls
/userenv
/tests enable_tests
21835 wine_fn_config_makefile dlls
/usp10 enable_usp10
21836 wine_fn_config_makefile dlls
/usp10
/tests enable_tests
21837 wine_fn_config_makefile dlls
/utildll enable_utildll
21838 wine_fn_config_makefile dlls
/uxtheme enable_uxtheme
21839 wine_fn_config_makefile dlls
/uxtheme
/tests enable_tests
21840 wine_fn_config_makefile dlls
/vbscript enable_vbscript
21841 wine_fn_config_makefile dlls
/vbscript
/tests enable_tests
21842 wine_fn_config_makefile dlls
/vcomp enable_vcomp
21843 wine_fn_config_makefile dlls
/vcomp
/tests enable_tests
21844 wine_fn_config_makefile dlls
/vcomp100 enable_vcomp100
21845 wine_fn_config_makefile dlls
/vcomp110 enable_vcomp110
21846 wine_fn_config_makefile dlls
/vcomp110
/tests enable_tests
21847 wine_fn_config_makefile dlls
/vcomp120 enable_vcomp120
21848 wine_fn_config_makefile dlls
/vcomp140 enable_vcomp140
21849 wine_fn_config_makefile dlls
/vcomp90 enable_vcomp90
21850 wine_fn_config_makefile dlls
/vcruntime140 enable_vcruntime140
21851 wine_fn_config_makefile dlls
/vcruntime140_1 enable_vcruntime140_1
21852 wine_fn_config_makefile dlls
/vdhcp.vxd enable_win16
21853 wine_fn_config_makefile dlls
/vdmdbg enable_vdmdbg
21854 wine_fn_config_makefile dlls
/ver.dll16 enable_win16
21855 wine_fn_config_makefile dlls
/version enable_version
21856 wine_fn_config_makefile dlls
/version
/tests enable_tests
21857 wine_fn_config_makefile dlls
/vga enable_vga
21858 wine_fn_config_makefile dlls
/virtdisk enable_virtdisk
21859 wine_fn_config_makefile dlls
/virtdisk
/tests enable_tests
21860 wine_fn_config_makefile dlls
/vmm.vxd enable_win16
21861 wine_fn_config_makefile dlls
/vnbt.vxd enable_win16
21862 wine_fn_config_makefile dlls
/vnetbios.vxd enable_win16
21863 wine_fn_config_makefile dlls
/vssapi enable_vssapi
21864 wine_fn_config_makefile dlls
/vtdapi.vxd enable_win16
21865 wine_fn_config_makefile dlls
/vulkan-1 enable_vulkan_1
21866 wine_fn_config_makefile dlls
/vulkan-
1/tests enable_tests
21867 wine_fn_config_makefile dlls
/vwin32.vxd enable_win16
21868 wine_fn_config_makefile dlls
/w32skrnl enable_win16
21869 wine_fn_config_makefile dlls
/w32sys.dll16 enable_win16
21870 wine_fn_config_makefile dlls
/wbemdisp enable_wbemdisp
21871 wine_fn_config_makefile dlls
/wbemdisp
/tests enable_tests
21872 wine_fn_config_makefile dlls
/wbemprox enable_wbemprox
21873 wine_fn_config_makefile dlls
/wbemprox
/tests enable_tests
21874 wine_fn_config_makefile dlls
/wdscore enable_wdscore
21875 wine_fn_config_makefile dlls
/webservices enable_webservices
21876 wine_fn_config_makefile dlls
/webservices
/tests enable_tests
21877 wine_fn_config_makefile dlls
/websocket enable_websocket
21878 wine_fn_config_makefile dlls
/wer enable_wer
21879 wine_fn_config_makefile dlls
/wer
/tests enable_tests
21880 wine_fn_config_makefile dlls
/wevtapi enable_wevtapi
21881 wine_fn_config_makefile dlls
/wevtapi
/tests enable_tests
21882 wine_fn_config_makefile dlls
/wevtsvc enable_wevtsvc
21883 wine_fn_config_makefile dlls
/wiaservc enable_wiaservc
21884 wine_fn_config_makefile dlls
/wiaservc
/tests enable_tests
21885 wine_fn_config_makefile dlls
/wimgapi enable_wimgapi
21886 wine_fn_config_makefile dlls
/win32s16.dll16 enable_win16
21887 wine_fn_config_makefile dlls
/win32u enable_win32u
21888 wine_fn_config_makefile dlls
/win32u
/tests enable_tests
21889 wine_fn_config_makefile dlls
/win87em.dll16 enable_win16
21890 wine_fn_config_makefile dlls
/winaspi.dll16 enable_win16
21891 wine_fn_config_makefile dlls
/windebug.dll16 enable_win16
21892 wine_fn_config_makefile dlls
/windows.devices.bluetooth enable_windows_devices_bluetooth
21893 wine_fn_config_makefile dlls
/windows.devices.bluetooth
/tests enable_tests
21894 wine_fn_config_makefile dlls
/windows.devices.enumeration enable_windows_devices_enumeration
21895 wine_fn_config_makefile dlls
/windows.devices.enumeration
/tests enable_tests
21896 wine_fn_config_makefile dlls
/windows.devices.usb enable_windows_devices_usb
21897 wine_fn_config_makefile dlls
/windows.devices.usb
/tests enable_tests
21898 wine_fn_config_makefile dlls
/windows.gaming.input enable_windows_gaming_input
21899 wine_fn_config_makefile dlls
/windows.gaming.input
/tests enable_tests
21900 wine_fn_config_makefile dlls
/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
21901 wine_fn_config_makefile dlls
/windows.gaming.ui.gamebar
/tests enable_tests
21902 wine_fn_config_makefile dlls
/windows.globalization enable_windows_globalization
21903 wine_fn_config_makefile dlls
/windows.globalization
/tests enable_tests
21904 wine_fn_config_makefile dlls
/windows.media.devices enable_windows_media_devices
21905 wine_fn_config_makefile dlls
/windows.media.devices
/tests enable_tests
21906 wine_fn_config_makefile dlls
/windows.media.speech enable_windows_media_speech
21907 wine_fn_config_makefile dlls
/windows.media.speech
/tests enable_tests
21908 wine_fn_config_makefile dlls
/windows.media enable_windows_media
21909 wine_fn_config_makefile dlls
/windows.media
/tests enable_tests
21910 wine_fn_config_makefile dlls
/windows.networking.hostname enable_windows_networking_hostname
21911 wine_fn_config_makefile dlls
/windows.networking.hostname
/tests enable_tests
21912 wine_fn_config_makefile dlls
/windows.networking enable_windows_networking
21913 wine_fn_config_makefile dlls
/windows.perception.stub enable_windows_perception_stub
21914 wine_fn_config_makefile dlls
/windows.perception.stub
/tests enable_tests
21915 wine_fn_config_makefile dlls
/windows.system.profile.systemmanufacturers enable_windows_system_profile_systemmanufacturers
21916 wine_fn_config_makefile dlls
/windows.system.profile.systemmanufacturers
/tests enable_tests
21917 wine_fn_config_makefile dlls
/windows.ui enable_windows_ui
21918 wine_fn_config_makefile dlls
/windows.ui
/tests enable_tests
21919 wine_fn_config_makefile dlls
/windowscodecs enable_windowscodecs
21920 wine_fn_config_makefile dlls
/windowscodecs
/tests enable_tests
21921 wine_fn_config_makefile dlls
/windowscodecsext enable_windowscodecsext
21922 wine_fn_config_makefile dlls
/windowscodecsext
/tests enable_tests
21923 wine_fn_config_makefile dlls
/winealsa.drv enable_winealsa_drv
21924 wine_fn_config_makefile dlls
/wineandroid.drv enable_wineandroid_drv
21925 wine_fn_config_makefile dlls
/winebus.sys enable_winebus_sys
21926 wine_fn_config_makefile dlls
/winecoreaudio.drv enable_winecoreaudio_drv
21927 wine_fn_config_makefile dlls
/winecrt0 enable_winecrt0
21928 wine_fn_config_makefile dlls
/wined3d enable_wined3d
21929 wine_fn_config_makefile dlls
/winegstreamer enable_winegstreamer
21930 wine_fn_config_makefile dlls
/winehid.sys enable_winehid_sys
21931 wine_fn_config_makefile dlls
/winemac.drv enable_winemac_drv
21932 wine_fn_config_makefile dlls
/winemapi enable_winemapi
21933 wine_fn_config_makefile dlls
/wineoss.drv enable_wineoss_drv
21934 wine_fn_config_makefile dlls
/wineps.drv enable_wineps_drv
21935 wine_fn_config_makefile dlls
/wineps16.drv16 enable_win16
21936 wine_fn_config_makefile dlls
/winepulse.drv enable_winepulse_drv
21937 wine_fn_config_makefile dlls
/wineusb.sys enable_wineusb_sys
21938 wine_fn_config_makefile dlls
/winevulkan enable_winevulkan
21939 wine_fn_config_makefile dlls
/winewayland.drv enable_winewayland_drv
21940 wine_fn_config_makefile dlls
/winex11.drv enable_winex11_drv
21941 wine_fn_config_makefile dlls
/winexinput.sys enable_winexinput_sys
21942 wine_fn_config_makefile dlls
/wing.dll16 enable_win16
21943 wine_fn_config_makefile dlls
/wing32 enable_wing32
21944 wine_fn_config_makefile dlls
/winhttp enable_winhttp
21945 wine_fn_config_makefile dlls
/winhttp
/tests enable_tests
21946 wine_fn_config_makefile dlls
/wininet enable_wininet
21947 wine_fn_config_makefile dlls
/wininet
/tests enable_tests
21948 wine_fn_config_makefile dlls
/winmm enable_winmm
21949 wine_fn_config_makefile dlls
/winmm
/tests enable_tests
21950 wine_fn_config_makefile dlls
/winnls.dll16 enable_win16
21951 wine_fn_config_makefile dlls
/winnls32 enable_winnls32
21952 wine_fn_config_makefile dlls
/winprint enable_winprint
21953 wine_fn_config_makefile dlls
/winscard enable_winscard
21954 wine_fn_config_makefile dlls
/winscard
/tests enable_tests
21955 wine_fn_config_makefile dlls
/winsock.dll16 enable_win16
21956 wine_fn_config_makefile dlls
/winspool.drv enable_winspool_drv
21957 wine_fn_config_makefile dlls
/winspool.drv
/tests enable_tests
21958 wine_fn_config_makefile dlls
/winsta enable_winsta
21959 wine_fn_config_makefile dlls
/wintab.dll16 enable_win16
21960 wine_fn_config_makefile dlls
/wintab32 enable_wintab32
21961 wine_fn_config_makefile dlls
/wintab32
/tests enable_tests
21962 wine_fn_config_makefile dlls
/wintrust enable_wintrust
21963 wine_fn_config_makefile dlls
/wintrust
/tests enable_tests
21964 wine_fn_config_makefile dlls
/wintypes enable_wintypes
21965 wine_fn_config_makefile dlls
/wintypes
/tests enable_tests
21966 wine_fn_config_makefile dlls
/winusb enable_winusb
21967 wine_fn_config_makefile dlls
/wlanapi enable_wlanapi
21968 wine_fn_config_makefile dlls
/wlanapi
/tests enable_tests
21969 wine_fn_config_makefile dlls
/wlanui enable_wlanui
21970 wine_fn_config_makefile dlls
/wldap32 enable_wldap32
21971 wine_fn_config_makefile dlls
/wldap32
/tests enable_tests
21972 wine_fn_config_makefile dlls
/wmasf enable_wmasf
21973 wine_fn_config_makefile dlls
/wmi enable_wmi
21974 wine_fn_config_makefile dlls
/wmiutils enable_wmiutils
21975 wine_fn_config_makefile dlls
/wmiutils
/tests enable_tests
21976 wine_fn_config_makefile dlls
/wmp enable_wmp
21977 wine_fn_config_makefile dlls
/wmp
/tests enable_tests
21978 wine_fn_config_makefile dlls
/wmphoto enable_wmphoto
21979 wine_fn_config_makefile dlls
/wmvcore enable_wmvcore
21980 wine_fn_config_makefile dlls
/wmvcore
/tests enable_tests
21981 wine_fn_config_makefile dlls
/wnaspi32 enable_wnaspi32
21982 wine_fn_config_makefile dlls
/wofutil enable_wofutil
21983 wine_fn_config_makefile dlls
/wow32 enable_win16
21984 wine_fn_config_makefile dlls
/wow64 enable_wow64
21985 wine_fn_config_makefile dlls
/wow64cpu enable_wow64cpu
21986 wine_fn_config_makefile dlls
/wow64win enable_wow64win
21987 wine_fn_config_makefile dlls
/wpc enable_wpc
21988 wine_fn_config_makefile dlls
/wpc
/tests enable_tests
21989 wine_fn_config_makefile dlls
/wpcap enable_wpcap
21990 wine_fn_config_makefile dlls
/wpcap
/tests enable_tests
21991 wine_fn_config_makefile dlls
/ws2_32 enable_ws2_32
21992 wine_fn_config_makefile dlls
/ws2_32
/tests enable_tests
21993 wine_fn_config_makefile dlls
/wsdapi enable_wsdapi
21994 wine_fn_config_makefile dlls
/wsdapi
/tests enable_tests
21995 wine_fn_config_makefile dlls
/wshom.ocx enable_wshom_ocx
21996 wine_fn_config_makefile dlls
/wshom.ocx
/tests enable_tests
21997 wine_fn_config_makefile dlls
/wsnmp32 enable_wsnmp32
21998 wine_fn_config_makefile dlls
/wsnmp32
/tests enable_tests
21999 wine_fn_config_makefile dlls
/wsock32 enable_wsock32
22000 wine_fn_config_makefile dlls
/wtsapi32 enable_wtsapi32
22001 wine_fn_config_makefile dlls
/wtsapi32
/tests enable_tests
22002 wine_fn_config_makefile dlls
/wuapi enable_wuapi
22003 wine_fn_config_makefile dlls
/wuaueng enable_wuaueng
22004 wine_fn_config_makefile dlls
/x3daudio1_0 enable_x3daudio1_0
22005 wine_fn_config_makefile dlls
/x3daudio1_1 enable_x3daudio1_1
22006 wine_fn_config_makefile dlls
/x3daudio1_2 enable_x3daudio1_2
22007 wine_fn_config_makefile dlls
/x3daudio1_3 enable_x3daudio1_3
22008 wine_fn_config_makefile dlls
/x3daudio1_4 enable_x3daudio1_4
22009 wine_fn_config_makefile dlls
/x3daudio1_5 enable_x3daudio1_5
22010 wine_fn_config_makefile dlls
/x3daudio1_6 enable_x3daudio1_6
22011 wine_fn_config_makefile dlls
/x3daudio1_7 enable_x3daudio1_7
22012 wine_fn_config_makefile dlls
/xactengine2_0 enable_xactengine2_0
22013 wine_fn_config_makefile dlls
/xactengine2_4 enable_xactengine2_4
22014 wine_fn_config_makefile dlls
/xactengine2_7 enable_xactengine2_7
22015 wine_fn_config_makefile dlls
/xactengine2_9 enable_xactengine2_9
22016 wine_fn_config_makefile dlls
/xactengine3_0 enable_xactengine3_0
22017 wine_fn_config_makefile dlls
/xactengine3_1 enable_xactengine3_1
22018 wine_fn_config_makefile dlls
/xactengine3_2 enable_xactengine3_2
22019 wine_fn_config_makefile dlls
/xactengine3_3 enable_xactengine3_3
22020 wine_fn_config_makefile dlls
/xactengine3_4 enable_xactengine3_4
22021 wine_fn_config_makefile dlls
/xactengine3_5 enable_xactengine3_5
22022 wine_fn_config_makefile dlls
/xactengine3_6 enable_xactengine3_6
22023 wine_fn_config_makefile dlls
/xactengine3_7 enable_xactengine3_7
22024 wine_fn_config_makefile dlls
/xactengine3_
7/tests enable_tests
22025 wine_fn_config_makefile dlls
/xapofx1_1 enable_xapofx1_1
22026 wine_fn_config_makefile dlls
/xapofx1_2 enable_xapofx1_2
22027 wine_fn_config_makefile dlls
/xapofx1_3 enable_xapofx1_3
22028 wine_fn_config_makefile dlls
/xapofx1_4 enable_xapofx1_4
22029 wine_fn_config_makefile dlls
/xapofx1_5 enable_xapofx1_5
22030 wine_fn_config_makefile dlls
/xaudio2_0 enable_xaudio2_0
22031 wine_fn_config_makefile dlls
/xaudio2_1 enable_xaudio2_1
22032 wine_fn_config_makefile dlls
/xaudio2_2 enable_xaudio2_2
22033 wine_fn_config_makefile dlls
/xaudio2_3 enable_xaudio2_3
22034 wine_fn_config_makefile dlls
/xaudio2_4 enable_xaudio2_4
22035 wine_fn_config_makefile dlls
/xaudio2_5 enable_xaudio2_5
22036 wine_fn_config_makefile dlls
/xaudio2_6 enable_xaudio2_6
22037 wine_fn_config_makefile dlls
/xaudio2_7 enable_xaudio2_7
22038 wine_fn_config_makefile dlls
/xaudio2_
7/tests enable_tests
22039 wine_fn_config_makefile dlls
/xaudio2_8 enable_xaudio2_8
22040 wine_fn_config_makefile dlls
/xaudio2_
8/tests enable_tests
22041 wine_fn_config_makefile dlls
/xaudio2_9 enable_xaudio2_9
22042 wine_fn_config_makefile dlls
/xinput1_1 enable_xinput1_1
22043 wine_fn_config_makefile dlls
/xinput1_2 enable_xinput1_2
22044 wine_fn_config_makefile dlls
/xinput1_3 enable_xinput1_3
22045 wine_fn_config_makefile dlls
/xinput1_
3/tests enable_tests
22046 wine_fn_config_makefile dlls
/xinput1_4 enable_xinput1_4
22047 wine_fn_config_makefile dlls
/xinput9_1_0 enable_xinput9_1_0
22048 wine_fn_config_makefile dlls
/xinputuap enable_xinputuap
22049 wine_fn_config_makefile dlls
/xmllite enable_xmllite
22050 wine_fn_config_makefile dlls
/xmllite
/tests enable_tests
22051 wine_fn_config_makefile dlls
/xolehlp enable_xolehlp
22052 wine_fn_config_makefile dlls
/xpsprint enable_xpsprint
22053 wine_fn_config_makefile dlls
/xpssvcs enable_xpssvcs
22054 wine_fn_config_makefile fonts enable_fonts
22055 wine_fn_config_makefile include enable_include
22056 wine_fn_config_makefile libs
/adsiid enable_adsiid
22057 wine_fn_config_makefile libs
/dmoguids enable_dmoguids
22058 wine_fn_config_makefile libs
/dxerr8 enable_dxerr8
22059 wine_fn_config_makefile libs
/dxerr9 enable_dxerr9
22060 wine_fn_config_makefile libs
/dxguid enable_dxguid
22061 wine_fn_config_makefile libs
/faudio enable_faudio
22062 wine_fn_config_makefile libs
/gsm enable_gsm
22063 wine_fn_config_makefile libs
/jpeg enable_jpeg
22064 wine_fn_config_makefile libs
/jxr enable_jxr
22065 wine_fn_config_makefile libs
/lcms2 enable_lcms2
22066 wine_fn_config_makefile libs
/ldap enable_ldap
22067 wine_fn_config_makefile libs
/mfuuid enable_mfuuid
22068 wine_fn_config_makefile libs
/mpg123 enable_mpg123
22069 wine_fn_config_makefile libs
/musl enable_musl
22070 wine_fn_config_makefile libs
/png enable_png
22071 wine_fn_config_makefile libs
/strmbase enable_strmbase
22072 wine_fn_config_makefile libs
/strmiids enable_strmiids
22073 wine_fn_config_makefile libs
/tiff enable_tiff
22074 wine_fn_config_makefile libs
/uuid enable_uuid
22075 wine_fn_config_makefile libs
/vkd3d enable_vkd3d
22076 wine_fn_config_makefile libs
/wbemuuid enable_wbemuuid
22077 wine_fn_config_makefile libs
/wmcodecdspuuid enable_wmcodecdspuuid
22078 wine_fn_config_makefile libs
/xml2 enable_xml2
22079 wine_fn_config_makefile libs
/xslt enable_xslt
22080 wine_fn_config_makefile libs
/zlib enable_zlib
22081 wine_fn_config_makefile libs
/zydis enable_zydis
22082 wine_fn_config_makefile loader enable_loader
22083 wine_fn_config_makefile nls enable_nls
22084 wine_fn_config_makefile po enable_po
22085 wine_fn_config_makefile programs
/arp enable_arp
22086 wine_fn_config_makefile programs
/aspnet_regiis enable_aspnet_regiis
22087 wine_fn_config_makefile programs
/attrib enable_attrib
22088 wine_fn_config_makefile programs
/cabarc enable_cabarc
22089 wine_fn_config_makefile programs
/cacls enable_cacls
22090 wine_fn_config_makefile programs
/certutil enable_certutil
22091 wine_fn_config_makefile programs
/chcp.com enable_chcp_com
22092 wine_fn_config_makefile programs
/clock enable_clock
22093 wine_fn_config_makefile programs
/cmd enable_cmd
22094 wine_fn_config_makefile programs
/cmd
/tests enable_tests
22095 wine_fn_config_makefile programs
/conhost enable_conhost
22096 wine_fn_config_makefile programs
/conhost
/tests enable_tests
22097 wine_fn_config_makefile programs
/control enable_control
22098 wine_fn_config_makefile programs
/cscript enable_cscript
22099 wine_fn_config_makefile programs
/dism enable_dism
22100 wine_fn_config_makefile programs
/dllhost enable_dllhost
22101 wine_fn_config_makefile programs
/dplaysvr enable_dplaysvr
22102 wine_fn_config_makefile programs
/dpnsvr enable_dpnsvr
22103 wine_fn_config_makefile programs
/dpvsetup enable_dpvsetup
22104 wine_fn_config_makefile programs
/dxdiag enable_dxdiag
22105 wine_fn_config_makefile programs
/eject enable_eject
22106 wine_fn_config_makefile programs
/expand enable_expand
22107 wine_fn_config_makefile programs
/explorer enable_explorer
22108 wine_fn_config_makefile programs
/explorer
/tests enable_tests
22109 wine_fn_config_makefile programs
/extrac32 enable_extrac32
22110 wine_fn_config_makefile programs
/fc enable_fc
22111 wine_fn_config_makefile programs
/find enable_find
22112 wine_fn_config_makefile programs
/find
/tests enable_tests
22113 wine_fn_config_makefile programs
/findstr enable_findstr
22114 wine_fn_config_makefile programs
/findstr
/tests enable_tests
22115 wine_fn_config_makefile programs
/fsutil enable_fsutil
22116 wine_fn_config_makefile programs
/fsutil
/tests enable_tests
22117 wine_fn_config_makefile programs
/hh enable_hh
22118 wine_fn_config_makefile programs
/hostname enable_hostname
22119 wine_fn_config_makefile programs
/icacls enable_icacls
22120 wine_fn_config_makefile programs
/icinfo enable_icinfo
22121 wine_fn_config_makefile programs
/iexplore enable_iexplore
22122 wine_fn_config_makefile programs
/ipconfig enable_ipconfig
22123 wine_fn_config_makefile programs
/klist enable_klist
22124 wine_fn_config_makefile programs
/lodctr enable_lodctr
22125 wine_fn_config_makefile programs
/mofcomp enable_mofcomp
22126 wine_fn_config_makefile programs
/mshta enable_mshta
22127 wine_fn_config_makefile programs
/msidb enable_msidb
22128 wine_fn_config_makefile programs
/msiexec enable_msiexec
22129 wine_fn_config_makefile programs
/msinfo32 enable_msinfo32
22130 wine_fn_config_makefile programs
/net enable_net
22131 wine_fn_config_makefile programs
/netsh enable_netsh
22132 wine_fn_config_makefile programs
/netstat enable_netstat
22133 wine_fn_config_makefile programs
/ngen enable_ngen
22134 wine_fn_config_makefile programs
/notepad enable_notepad
22135 wine_fn_config_makefile programs
/oleview enable_oleview
22136 wine_fn_config_makefile programs
/ping enable_ping
22137 wine_fn_config_makefile programs
/plugplay enable_plugplay
22138 wine_fn_config_makefile programs
/pnputil enable_pnputil
22139 wine_fn_config_makefile programs
/powershell enable_powershell
22140 wine_fn_config_makefile programs
/presentationfontcache enable_presentationfontcache
22141 wine_fn_config_makefile programs
/progman enable_progman
22142 wine_fn_config_makefile programs
/reg enable_reg
22143 wine_fn_config_makefile programs
/reg
/tests enable_tests
22144 wine_fn_config_makefile programs
/regasm enable_regasm
22145 wine_fn_config_makefile programs
/regedit enable_regedit
22146 wine_fn_config_makefile programs
/regedit
/tests enable_tests
22147 wine_fn_config_makefile programs
/regini enable_regini
22148 wine_fn_config_makefile programs
/regsvcs enable_regsvcs
22149 wine_fn_config_makefile programs
/regsvr32 enable_regsvr32
22150 wine_fn_config_makefile programs
/robocopy enable_robocopy
22151 wine_fn_config_makefile programs
/rpcss enable_rpcss
22152 wine_fn_config_makefile programs
/rundll.exe16 enable_win16
22153 wine_fn_config_makefile programs
/rundll32 enable_rundll32
22154 wine_fn_config_makefile programs
/sc enable_sc
22155 wine_fn_config_makefile programs
/sc
/tests enable_tests
22156 wine_fn_config_makefile programs
/schtasks enable_schtasks
22157 wine_fn_config_makefile programs
/schtasks
/tests enable_tests
22158 wine_fn_config_makefile programs
/sdbinst enable_sdbinst
22159 wine_fn_config_makefile programs
/secedit enable_secedit
22160 wine_fn_config_makefile programs
/servicemodelreg enable_servicemodelreg
22161 wine_fn_config_makefile programs
/services enable_services
22162 wine_fn_config_makefile programs
/services
/tests enable_tests
22163 wine_fn_config_makefile programs
/setx enable_setx
22164 wine_fn_config_makefile programs
/shutdown enable_shutdown
22165 wine_fn_config_makefile programs
/spoolsv enable_spoolsv
22166 wine_fn_config_makefile programs
/start enable_start
22167 wine_fn_config_makefile programs
/subst enable_subst
22168 wine_fn_config_makefile programs
/svchost enable_svchost
22169 wine_fn_config_makefile programs
/systeminfo enable_systeminfo
22170 wine_fn_config_makefile programs
/taskkill enable_taskkill
22171 wine_fn_config_makefile programs
/tasklist enable_tasklist
22172 wine_fn_config_makefile programs
/tasklist
/tests enable_tests
22173 wine_fn_config_makefile programs
/taskmgr enable_taskmgr
22174 wine_fn_config_makefile programs
/termsv enable_termsv
22175 wine_fn_config_makefile programs
/uninstaller enable_uninstaller
22176 wine_fn_config_makefile programs
/unlodctr enable_unlodctr
22177 wine_fn_config_makefile programs
/view enable_view
22178 wine_fn_config_makefile programs
/wevtutil enable_wevtutil
22179 wine_fn_config_makefile programs
/where enable_where
22180 wine_fn_config_makefile programs
/whoami enable_whoami
22181 wine_fn_config_makefile programs
/wineboot enable_wineboot
22182 wine_fn_config_makefile programs
/winebrowser enable_winebrowser
22183 wine_fn_config_makefile programs
/winecfg enable_winecfg
22184 wine_fn_config_makefile programs
/wineconsole enable_wineconsole
22185 wine_fn_config_makefile programs
/winedbg enable_winedbg
22186 wine_fn_config_makefile programs
/winedevice enable_winedevice
22187 wine_fn_config_makefile programs
/winefile enable_winefile
22188 wine_fn_config_makefile programs
/winemenubuilder enable_winemenubuilder
22189 wine_fn_config_makefile programs
/winemine enable_winemine
22190 wine_fn_config_makefile programs
/winemsibuilder enable_winemsibuilder
22191 wine_fn_config_makefile programs
/winepath enable_winepath
22192 wine_fn_config_makefile programs
/winetest enable_winetest
22193 wine_fn_config_makefile programs
/winevdm enable_win16
22194 wine_fn_config_makefile programs
/winhelp.exe16 enable_win16
22195 wine_fn_config_makefile programs
/winhlp32 enable_winhlp32
22196 wine_fn_config_makefile programs
/winmgmt enable_winmgmt
22197 wine_fn_config_makefile programs
/winoldap.mod16 enable_win16
22198 wine_fn_config_makefile programs
/winver enable_winver
22199 wine_fn_config_makefile programs
/wmic enable_wmic
22200 wine_fn_config_makefile programs
/wmplayer enable_wmplayer
22201 wine_fn_config_makefile programs
/wordpad enable_wordpad
22202 wine_fn_config_makefile programs
/write enable_write
22203 wine_fn_config_makefile programs
/wscript enable_wscript
22204 wine_fn_config_makefile programs
/wscript
/tests enable_tests
22205 wine_fn_config_makefile programs
/wuauserv enable_wuauserv
22206 wine_fn_config_makefile programs
/wusa enable_wusa
22207 wine_fn_config_makefile programs
/xcopy enable_xcopy
22208 wine_fn_config_makefile programs
/xcopy
/tests enable_tests
22209 wine_fn_config_makefile server enable_server
22210 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22211 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/sfnt2fon enable_sfnt2fon
22212 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/widl enable_widl
22213 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winebuild enable_winebuild
22214 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winedump enable_winedump
22215 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winegcc enable_winegcc
22216 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winemaker enable_winemaker
22217 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/wmc enable_wmc
22218 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/wrc enable_wrc
22221 as_fn_append CONFIGURE_TARGETS
" TAGS"
22222 as_fn_append CONFIGURE_TARGETS
" tags"
22223 as_fn_append CONFIGURE_TARGETS
" autom4te.cache"
22224 as_fn_append CONFIGURE_TARGETS
" config.log"
22225 as_fn_append CONFIGURE_TARGETS
" config.status"
22226 as_fn_append CONFIGURE_TARGETS
" include/config.h"
22227 as_fn_append CONFIGURE_TARGETS
" include/stamp-h"
22228 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine"
22230 if test "x$enable_tools" != xno
22232 as_fn_append CONFIGURE_TARGETS
" tools/makedep$ac_exeext"
22233 ac_config_commands
="$ac_config_commands tools/makedep"
22237 ac_config_commands
="$ac_config_commands Makefile"
22244 as_fn_append wine_rules
"
22246 @echo \"Wine build complete.\"
22250 Makefile: config.status \$(MAKEDEP)
22251 @./config.status Makefile
22252 depend: \$(MAKEDEP)
22253 \$(MAKEDEP)$makedep_flags"
22256 as_fn_append wine_rules
"
22257 config.status: ${wine_srcdir}configure
22258 @./config.status --recheck
22259 include/config.h: include/stamp-h
22260 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22261 @./config.status include/config.h include/stamp-h"
22263 if test "x$enable_maintainer_mode" = xyes
22265 as_fn_append wine_rules
"
22266 configure: configure.ac aclocal.m4
22267 autoconf --warnings=all
22268 include/config.h.in: include/stamp-h.in
22269 include/stamp-h.in: configure.ac aclocal.m4
22270 autoheader --warnings=all
22271 @echo timestamp > \$@"
22274 if test "x$enable_tools" != xno
22276 as_fn_append wine_rules
"
22277 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22278 @./config.status tools/makedep
22279 Makefile: tools/makedep$ac_exeext"
22281 as_fn_append wine_rules
"
22283 @echo \"You need to run make in $toolsdir first\" && false"
22287 if test -n "$with_wine64"
22289 case "$with_wine64" in
22293 rm -f fonts server
2>/dev
/null
22294 as_fn_append wine_rules
"
22295 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22296 loader/wine64 loader/wine64-preloader:
22297 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22298 $with_wine64/loader/wine:
22299 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22300 $with_wine64/loader/wine-preloader:
22301 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22303 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22305 TOP_INSTALL_DEV
="$TOP_INSTALL_DEV include"
22306 TOP_INSTALL_LIB
="$TOP_INSTALL_LIB \
22310 programs/msidb/msidb \
22311 programs/msiexec/msiexec \
22312 programs/notepad/notepad \
22313 programs/regedit/regedit \
22314 programs/regsvr32/regsvr32 \
22315 programs/wineboot/wineboot \
22316 programs/winecfg/winecfg \
22317 programs/wineconsole/wineconsole \
22318 programs/winedbg/winedbg \
22319 programs/winefile/winefile \
22320 programs/winemine/winemine \
22321 programs/winepath/winepath \
22325 cygwin
*|mingw32
*|darwin
*|macosx
*|linux-android
*) ;;
22326 *) TOP_INSTALL_LIB
="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22331 as_fn_append wine_rules
"
22333 rm -rf autom4te.cache
22335 rm -f configure include/config.h.in"
22338 as_fn_append wine_rules
"
22339 dlls/ntdll/unix/version.c: dummy
22340 @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)
22341 programs/winetest/build.rc: dummy
22342 @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)
22343 programs/winetest/build.nfo:
22345 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
22346 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22347 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22350 TAGSFLAGS
="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22352 as_fn_append wine_rules
"
22355 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22358 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22360 .PHONY: depend dummy install-manpages"
22362 printf "%s\n" " done" >&6
22363 cat >confcache
<<\_ACEOF
22364 # This file is a shell script that caches the results of configure
22365 # tests run on this system so they can be shared between configure
22366 # scripts and configure runs, see configure's option --config-cache.
22367 # It is not useful on other systems. If it contains results you don't
22368 # want to keep, you may remove or edit it.
22370 # config.status only pays attention to the cache file if you give it
22371 # the --recheck option to rerun configure.
22373 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22374 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22375 # following values.
22379 # The following way of writing the cache mishandles newlines in values,
22380 # but we know of no workaround that is simple, portable, and efficient.
22381 # So, we kill variables containing newlines.
22382 # Ultrix sh set writes to stderr and can't be redirected directly,
22383 # and sets the high bit in the cache file unless we assign to the vars.
22385 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22386 eval ac_val
=\$
$ac_var
22390 *_cv_
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22391 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22394 _ | IFS | as_nl
) ;; #(
22395 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
22396 *) { eval $ac_var=; unset $ac_var;} ;;
22402 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22403 *${as_nl}ac_space
=\
*)
22404 # `set' does not quote correctly, so add quotes: double-quote
22405 # substitution turns \\\\ into \\, and sed turns \\ into \.
22408 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22411 # `set' quotes correctly as required by POSIX, so do not add quotes.
22412 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22421 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22423 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22425 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22426 if test -w "$cache_file"; then
22427 if test "x$cache_file" != "x/dev/null"; then
22428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22429 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22430 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
22431 cat confcache
>"$cache_file"
22433 case $cache_file in #(
22435 mv -f confcache
"$cache_file"$$
&&
22436 mv -f "$cache_file"$$
"$cache_file" ;; #(
22438 mv -f confcache
"$cache_file" ;;
22443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22444 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22449 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22450 # Let make expand exec_prefix.
22451 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22453 DEFS
=-DHAVE_CONFIG_H
22458 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22459 # 1. Remove the extension, and $U if already installed.
22460 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
22461 ac_i
=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22462 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22463 # will be set to the directory where LIBOBJS objects are built.
22464 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22465 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
22467 LIBOBJS
=$ac_libobjs
22469 LTLIBOBJS
=$ac_ltlibobjs
22473 : "${CONFIG_STATUS=./config.status}"
22475 ac_clean_files_save
=$ac_clean_files
22476 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22478 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22480 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22482 # Generated by $as_me.
22483 # Run this file to recreate the current configuration.
22484 # Compiler output produced by configure, useful for debugging
22485 # configure, is in config.log if it exists.
22488 ac_cs_recheck=false
22491 SHELL=\${CONFIG_SHELL-$SHELL}
22494 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
22495 ## -------------------- ##
22496 ## M4sh Initialization. ##
22497 ## -------------------- ##
22499 # Be more Bourne compatible
22500 DUALCASE
=1; export DUALCASE
# for MKS sh
22502 if test ${ZSH_VERSION+y} && (emulate sh
) >/dev
/null
2>&1
22506 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22507 # is contrary to our usage. Disable this feature.
22508 alias -g '${1+"$@"}'='"$@"'
22509 setopt NO_GLOB_SUBST
22511 case `(set -o) 2>/dev/null` in #(
22521 # Reset variables that may have inherited troublesome values from
22524 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22525 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22526 # side effect of setting IFS to empty, thus disabling word splitting.)
22527 # Quoting is to prevent editors from complaining about space-tab.
22537 # Ensure predictable behavior from utilities with locale-dependent output.
22543 # We cannot yet rely on "unset" to work, but we need these variables
22544 # to be unset--not just set to an empty or harmless value--now, to
22545 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22546 # also avoids known problems related to "unset" and subshell syntax
22547 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22548 for as_var
in BASH_ENV ENV MAIL MAILPATH CDPATH
22549 do eval test \
${$as_var+y} \
22550 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
22553 # Ensure that fds 0, 1, and 2 are open.
22554 if (exec 3>&0) 2>/dev
/null
; then :; else exec 0</dev
/null
; fi
22555 if (exec 3>&1) 2>/dev
/null
; then :; else exec 1>/dev
/null
; fi
22556 if (exec 3>&2) ; then :; else exec 2>/dev
/null
; fi
22558 # The user is always right.
22559 if ${PATH_SEPARATOR+false} :; then
22561 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
22562 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
22568 # Find who we are. Look in the path if we contain no directory separator.
22571 *[\\/]* ) as_myself
=$0 ;;
22572 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22573 for as_dir
in $PATH
22576 case $as_dir in #(((
22579 *) as_dir
=$as_dir/ ;;
22581 test -r "$as_dir$0" && as_myself
=$as_dir$0 && break
22587 # We did not find ourselves, most probably we were run as `sh COMMAND'
22588 # in which case we are not to be found in the path.
22589 if test "x$as_myself" = x
; then
22592 if test ! -f "$as_myself"; then
22593 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22599 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22600 # ----------------------------------------
22601 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22602 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22603 # script with STATUS, using 1 if that was 0.
22606 as_status
=$1; test $as_status -eq 0 && as_status
=1
22608 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
22609 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22611 printf "%s\n" "$as_me: error: $2" >&2
22612 as_fn_exit
$as_status
22617 # as_fn_set_status STATUS
22618 # -----------------------
22619 # Set $? to STATUS, without forking.
22620 as_fn_set_status
()
22623 } # as_fn_set_status
22625 # as_fn_exit STATUS
22626 # -----------------
22627 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22631 as_fn_set_status
$1
22637 # Portably unset VAR.
22640 { eval $1=; unset $1;}
22642 as_unset
=as_fn_unset
22644 # as_fn_append VAR VALUE
22645 # ----------------------
22646 # Append the text in VALUE to the end of the definition contained in VAR. Take
22647 # advantage of any shell optimizations that allow amortized linear growth over
22648 # repeated appends, instead of the typical quadratic growth present in naive
22650 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
22652 eval 'as_fn_append ()
22663 # as_fn_arith ARG...
22664 # ------------------
22665 # Perform arithmetic evaluation on the ARGs, and store the result in the
22666 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22667 # must be portable across $(()) and expr.
22668 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
22670 eval 'as_fn_arith ()
22677 as_val
=`expr "$@" || test $? -eq 1`
22682 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22683 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22689 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22690 as_basename
=basename
22695 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
22701 as_me
=`$as_basename -- "$0" ||
22702 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22703 X"$0" : 'X\(//\)$' \| \
22704 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22705 printf "%s\n" X/"$0" |
22706 sed '/^.*\/\([^/][^/]*\)\/*$/{
22720 # Avoid depending upon Character Ranges.
22721 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22722 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22723 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22724 as_cr_digits
='0123456789'
22725 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22728 # Determine whether it's possible to make 'echo' print without a newline.
22729 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22730 # for compatibility with existing Makefiles.
22731 ECHO_C
= ECHO_N
= ECHO_T
=
22732 case `echo -n x` in #(((((
22734 case `echo 'xy\c'` in
22735 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
22737 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
22744 # For backward compatibility with old third-party macros, we provide
22745 # the shell variables $as_echo and $as_echo_n. New code should use
22746 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22747 as_echo
='printf %s\n'
22748 as_echo_n
='printf %s'
22750 rm -f conf$$ conf$$.exe conf$$.
file
22751 if test -d conf$$.dir
; then
22752 rm -f conf$$.dir
/conf$$.
file
22755 mkdir conf$$.dir
2>/dev
/null
22757 if (echo >conf$$.
file) 2>/dev
/null
; then
22758 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22760 # ... but there are two gotchas:
22761 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22762 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22763 # In both cases, we have to default to `cp -pR'.
22764 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
22766 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22774 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
22775 rmdir conf$$.dir
2>/dev
/null
22780 # Create "$as_dir" as a directory, including parents if necessary.
22785 -*) as_dir
=.
/$as_dir;;
22787 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
22791 *\'*) as_qdir
=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22792 *) as_qdir
=$as_dir;;
22794 as_dirs
="'$as_qdir' $as_dirs"
22795 as_dir
=`$as_dirname -- "$as_dir" ||
22796 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22797 X"$as_dir" : 'X\(//\)[^/]' \| \
22798 X"$as_dir" : 'X\(//\)$' \| \
22799 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22800 printf "%s\n" X"$as_dir" |
22801 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22805 /^X\(\/\/\)[^/].*/{
22818 test -d "$as_dir" && break
22820 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22821 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
22825 if mkdir
-p .
2>/dev
/null
; then
22826 as_mkdir_p
='mkdir -p "$as_dir"'
22828 test -d .
/-p && rmdir .
/-p
22833 # as_fn_executable_p FILE
22834 # -----------------------
22835 # Test if FILE is an executable regular file.
22836 as_fn_executable_p
()
22838 test -f "$1" && test -x "$1"
22839 } # as_fn_executable_p
22840 as_test_x
='test -x'
22841 as_executable_p
=as_fn_executable_p
22843 # Sed expression to map a string onto a valid CPP name.
22844 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22846 # Sed expression to map a string onto a valid variable name.
22847 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22851 ## ----------------------------------- ##
22852 ## Main body of $CONFIG_STATUS script. ##
22853 ## ----------------------------------- ##
22855 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
22857 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22858 # Save the log message, to keep $0 and so on meaningful, and to
22859 # report actual input values of CONFIG_FILES etc. instead of their
22860 # values after options handling.
22862 This file was extended by Wine $as_me 8.13, which was
22863 generated by GNU Autoconf 2.71. Invocation command line was
22865 CONFIG_FILES = $CONFIG_FILES
22866 CONFIG_HEADERS = $CONFIG_HEADERS
22867 CONFIG_LINKS = $CONFIG_LINKS
22868 CONFIG_COMMANDS = $CONFIG_COMMANDS
22871 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22877 case $ac_config_headers in *"
22878 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
22882 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22883 # Files that config.status was made for.
22884 config_headers="$ac_config_headers"
22885 config_links="$ac_config_links"
22886 config_commands="$ac_config_commands"
22890 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22892 \`$as_me' instantiates files and other configuration actions
22893 from templates according to the current configuration. Unless the files
22894 and actions are specified as TAGs, all are instantiated by default.
22896 Usage: $0 [OPTION]... [TAG]...
22898 -h, --help print this help, then exit
22899 -V, --version print version number and configuration settings, then exit
22900 --config print configuration, then exit
22901 -q, --quiet, --silent
22902 do not print progress messages
22903 -d, --debug don't remove temporary files
22904 --recheck update $as_me by reconfiguring in the same conditions
22905 --header=FILE[:TEMPLATE]
22906 instantiate the configuration header FILE
22908 Configuration headers:
22911 Configuration links:
22914 Configuration commands:
22917 Report bugs to <wine-devel@winehq.org>.
22918 Wine home page: <https://www.winehq.org>."
22921 ac_cs_config
=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
22922 ac_cs_config_escaped
=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
22923 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22924 ac_cs_config='$ac_cs_config_escaped'
22926 Wine config.status 8.13
22927 configured by $0, generated by GNU Autoconf 2.71,
22928 with options \\"\$ac_cs_config\\"
22930 Copyright (C) 2021 Free Software Foundation, Inc.
22931 This config.status script is free software; the Free Software Foundation
22932 gives unlimited permission to copy, distribute and modify it."
22936 test -n "\$AWK" || AWK=awk
22939 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22940 # The default lists apply if the user does not specify any file.
22946 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22947 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
22951 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22963 # Handling of the options.
22964 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
22966 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
22967 printf "%s\n" "$ac_cs_version"; exit ;;
22968 --config |
--confi |
--conf |
--con |
--co |
--c )
22969 printf "%s\n" "$ac_cs_config"; exit ;;
22970 --debug |
--debu |
--deb |
--de |
--d |
-d )
22972 --header |
--heade |
--head |
--hea )
22975 *\'*) ac_optarg
=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22977 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
22978 ac_need_defaults
=false
;;
22980 # Conflict between --help and --header
22981 as_fn_error $?
"ambiguous option: \`$1'
22982 Try \`$0 --help' for more information.";;
22983 --help |
--hel |
-h )
22984 printf "%s\n" "$ac_cs_usage"; exit ;;
22985 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
22986 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
22989 # This is an error.
22990 -*) as_fn_error $?
"unrecognized option: \`$1'
22991 Try \`$0 --help' for more information." ;;
22993 *) as_fn_append ac_config_targets
" $1"
22994 ac_need_defaults
=false
;;
23000 ac_configure_extra_args
=
23002 if $ac_cs_silent; then
23004 ac_configure_extra_args
="$ac_configure_extra_args --silent"
23008 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23009 if \$ac_cs_recheck; then
23010 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23012 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
23013 CONFIG_SHELL='$SHELL'
23014 export CONFIG_SHELL
23019 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23023 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23024 ## Running $as_me. ##
23026 printf "%s\n" "$ac_log"
23030 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23034 wine_fn_output_makedep ()
23036 as_dir=tools; as_fn_mkdir_p
23037 $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
23039 wine_fn_output_makefile ()
23041 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
23042 # This Makefile understands the following targets:
23044 # all (default): build wine
23045 # clean: remove all intermediate files
23046 # distclean: also remove all files created by configure
23048 # testclean: clean test results to force running all tests again
23049 # install-lib: install libraries needed to run applications
23050 # install-dev: install development environment
23051 # install: install everything
23052 # uninstall: uninstall everything
23053 # ctags: create a tags file for vim and others.
23054 # etags: create a TAGS file for Emacs.
23057 PATH_SEPARATOR = $PATH_SEPARATOR
23058 PACKAGE_NAME = $PACKAGE_NAME
23059 PACKAGE_TARNAME = $PACKAGE_TARNAME
23060 PACKAGE_VERSION = $PACKAGE_VERSION
23061 PACKAGE_STRING = $PACKAGE_STRING
23062 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23063 PACKAGE_URL = $PACKAGE_URL
23064 exec_prefix = $exec_prefix
23066 program_transform_name = $program_transform_name
23069 libexecdir = $libexecdir
23070 datarootdir = $datarootdir
23072 sysconfdir = $sysconfdir
23073 sharedstatedir = $sharedstatedir
23074 localstatedir = $localstatedir
23075 runstatedir = $runstatedir
23076 includedir = $includedir
23077 oldincludedir = $oldincludedir
23085 localedir = $localedir
23092 build_alias = $build_alias
23093 host_alias = $host_alias
23094 target_alias = $target_alias
23095 system_dllpath = $system_dllpath
23097 build_cpu = $build_cpu
23098 build_vendor = $build_vendor
23099 build_os = $build_os
23101 host_cpu = $host_cpu
23102 host_vendor = $host_vendor
23108 SET_MAKE = $SET_MAKE
23112 CPPFLAGS = $CPPFLAGS
23113 ac_ct_CC = $ac_ct_CC
23117 CXXFLAGS = $CXXFLAGS
23118 ac_ct_CXX = $ac_ct_CXX
23121 TARGETFLAGS = $TARGETFLAGS
23122 toolsext = $toolsext
23123 HOST_ARCH = $HOST_ARCH
23124 aarch64_CC = $aarch64_CC
23125 aarch64_CFLAGS = $aarch64_CFLAGS
23126 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
23127 aarch64_LDFLAGS = $aarch64_LDFLAGS
23128 aarch64_DEBUG = $aarch64_DEBUG
23129 aarch64_TARGET = $aarch64_TARGET
23130 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
23131 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
23133 arm_CFLAGS = $arm_CFLAGS
23134 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
23135 arm_LDFLAGS = $arm_LDFLAGS
23136 arm_DEBUG = $arm_DEBUG
23137 arm_TARGET = $arm_TARGET
23138 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
23139 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
23141 i386_CFLAGS = $i386_CFLAGS
23142 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
23143 i386_LDFLAGS = $i386_LDFLAGS
23144 i386_DEBUG = $i386_DEBUG
23145 i386_TARGET = $i386_TARGET
23146 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
23147 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
23148 x86_64_CC = $x86_64_CC
23149 x86_64_CFLAGS = $x86_64_CFLAGS
23150 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
23151 x86_64_LDFLAGS = $x86_64_LDFLAGS
23152 x86_64_DEBUG = $x86_64_DEBUG
23153 x86_64_TARGET = $x86_64_TARGET
23154 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
23155 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
23156 toolsdir = $toolsdir
23158 RUNTESTFLAGS = $RUNTESTFLAGS
23163 ac_ct_AR = $ac_ct_AR
23169 LDCONFIG = $LDCONFIG
23171 PKG_CONFIG = $PKG_CONFIG
23172 FONTFORGE = $FONTFORGE
23176 I386_LIBS = $I386_LIBS
23177 OPENGL_LIBS = $OPENGL_LIBS
23178 DLLFLAGS = $DLLFLAGS
23179 LDDLLFLAGS = $LDDLLFLAGS
23180 LDEXECFLAGS = $LDEXECFLAGS
23181 EXTRACFLAGS = $EXTRACFLAGS
23182 UNIXDLLFLAGS = $UNIXDLLFLAGS
23183 UNIXLDFLAGS = $UNIXLDFLAGS
23184 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23185 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23186 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23187 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23193 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23194 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23195 CARBON_LIBS = $CARBON_LIBS
23196 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23197 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23198 IOKIT_LIBS = $IOKIT_LIBS
23199 METAL_LIBS = $METAL_LIBS
23200 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23201 CORESERVICES_LIBS = $CORESERVICES_LIBS
23202 APPKIT_LIBS = $APPKIT_LIBS
23203 SECURITY_LIBS = $SECURITY_LIBS
23204 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23205 COREAUDIO_LIBS = $COREAUDIO_LIBS
23206 OPENCL_LIBS = $OPENCL_LIBS
23208 OBJCFLAGS = $OBJCFLAGS
23209 ac_ct_OBJC = $ac_ct_OBJC
23210 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23211 PE_ARCHS = $PE_ARCHS
23212 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23213 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23214 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23215 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23216 GSM_PE_LIBS = $GSM_PE_LIBS
23217 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23218 JPEG_PE_LIBS = $JPEG_PE_LIBS
23219 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23220 JXR_PE_LIBS = $JXR_PE_LIBS
23221 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23222 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23223 LDAP_PE_CFLAGS = $LDAP_PE_CFLAGS
23224 LDAP_PE_LIBS = $LDAP_PE_LIBS
23225 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23226 MPG123_PE_LIBS = $MPG123_PE_LIBS
23227 MUSL_PE_CFLAGS = $MUSL_PE_CFLAGS
23228 MUSL_PE_LIBS = $MUSL_PE_LIBS
23229 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23230 PNG_PE_LIBS = $PNG_PE_LIBS
23231 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23232 TIFF_PE_LIBS = $TIFF_PE_LIBS
23233 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23234 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23235 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23236 XML2_PE_LIBS = $XML2_PE_LIBS
23237 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23238 XSLT_PE_LIBS = $XSLT_PE_LIBS
23239 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23240 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23241 ZYDIS_PE_CFLAGS = $ZYDIS_PE_CFLAGS
23242 ZYDIS_PE_LIBS = $ZYDIS_PE_LIBS
23243 PTHREAD_LIBS = $PTHREAD_LIBS
23246 X_CFLAGS = $X_CFLAGS
23247 X_PRE_LIBS = $X_PRE_LIBS
23249 X_EXTRA_LIBS = $X_EXTRA_LIBS
23250 WAYLAND_CLIENT_CFLAGS = $WAYLAND_CLIENT_CFLAGS
23251 WAYLAND_CLIENT_LIBS = $WAYLAND_CLIENT_LIBS
23252 WAYLAND_SCANNER = $WAYLAND_SCANNER
23253 PCAP_LIBS = $PCAP_LIBS
23254 PCSCLITE_LIBS = $PCSCLITE_LIBS
23255 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23256 INOTIFY_LIBS = $INOTIFY_LIBS
23257 DBUS_CFLAGS = $DBUS_CFLAGS
23258 DBUS_LIBS = $DBUS_LIBS
23259 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23260 GNUTLS_LIBS = $GNUTLS_LIBS
23261 SANE_CFLAGS = $SANE_CFLAGS
23262 SANE_LIBS = $SANE_LIBS
23263 USB_CFLAGS = $USB_CFLAGS
23264 USB_LIBS = $USB_LIBS
23265 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23266 GPHOTO2_LIBS = $GPHOTO2_LIBS
23267 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23268 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23269 RESOLV_LIBS = $RESOLV_LIBS
23270 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23271 FREETYPE_LIBS = $FREETYPE_LIBS
23272 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23273 PULSE_CFLAGS = $PULSE_CFLAGS
23274 PULSE_LIBS = $PULSE_LIBS
23275 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23276 GSTREAMER_LIBS = $GSTREAMER_LIBS
23277 ALSA_LIBS = $ALSA_LIBS
23278 OSS4_CFLAGS = $OSS4_CFLAGS
23279 OSS4_LIBS = $OSS4_LIBS
23280 UDEV_CFLAGS = $UDEV_CFLAGS
23281 UDEV_LIBS = $UDEV_LIBS
23282 UNWIND_CFLAGS = $UNWIND_CFLAGS
23283 UNWIND_LIBS = $UNWIND_LIBS
23284 SDL2_CFLAGS = $SDL2_CFLAGS
23285 SDL2_LIBS = $SDL2_LIBS
23286 CAPI20_CFLAGS = $CAPI20_CFLAGS
23287 CAPI20_LIBS = $CAPI20_LIBS
23288 CUPS_CFLAGS = $CUPS_CFLAGS
23289 CUPS_LIBS = $CUPS_LIBS
23290 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23291 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23292 KRB5_CFLAGS = $KRB5_CFLAGS
23293 KRB5_LIBS = $KRB5_LIBS
23294 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23295 GSSAPI_LIBS = $GSSAPI_LIBS
23296 PROCSTAT_LIBS = $PROCSTAT_LIBS
23297 NETAPI_CFLAGS = $NETAPI_CFLAGS
23298 NETAPI_LIBS = $NETAPI_LIBS
23299 MSVCRTFLAGS = $MSVCRTFLAGS
23300 DELAYLOADFLAG = $DELAYLOADFLAG
23301 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23303 TAGSFLAGS = $TAGSFLAGS
23305 LTLIBOBJS = $LTLIBOBJS
23309 as_fn_error $? "could not create Makefile" "$LINENO" 5
23314 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23316 # Handling of arguments.
23317 for ac_config_target
in $ac_config_targets
23319 case $ac_config_target in
23320 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
23321 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
23322 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
23323 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23324 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
23325 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
23327 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23332 # If the user did not use the arguments to specify the items to instantiate,
23333 # then the envvar interface is used. Set only those that are not.
23334 # We use the long form for the default assignment because of an extremely
23335 # bizarre bug on SunOS 4.1.3.
23336 if $ac_need_defaults; then
23337 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS
=$config_headers
23338 test ${CONFIG_LINKS+y} || CONFIG_LINKS
=$config_links
23339 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS
=$config_commands
23342 # Have a temporary directory for convenience. Make it in the build tree
23343 # simply because there is no reason against having it here, and in addition,
23344 # creating and moving files from /tmp can sometimes cause problems.
23345 # Hook for its removal unless debugging.
23346 # Note that there is a small window in which the directory will not be cleaned:
23347 # after its creation but before its name has been assigned to `$tmp'.
23351 trap 'exit_status=$?
23352 : "${ac_tmp:=$tmp}"
23353 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23355 trap 'as_fn_exit 1' 1 2 13 15
23357 # Create a (secure) tmp directory for tmp files.
23360 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23364 tmp
=.
/conf$$
-$RANDOM
23365 (umask 077 && mkdir
"$tmp")
23366 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
23369 # Set up the scripts for CONFIG_HEADERS section.
23370 # No need to generate them if there are no CONFIG_HEADERS.
23371 # This happens for instance with `./config.status Makefile'.
23372 if test -n "$CONFIG_HEADERS"; then
23373 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23377 # Transform confdefs.h into an awk script `defines.awk', embedded as
23378 # here-document in config.status, that substitutes the proper values into
23379 # config.h.in to produce config.h.
23381 # Create a delimiter string that does not exist in confdefs.h, to ease
23382 # handling of long lines.
23384 for ac_last_try
in false false
:; do
23385 ac_tt
=`sed -n "/$ac_delim/p" confdefs.h`
23386 if test -z "$ac_tt"; then
23388 elif $ac_last_try; then
23389 as_fn_error $?
"could not make $CONFIG_HEADERS" "$LINENO" 5
23391 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
23395 # For the awk script, D is an array of macro values keyed by name,
23396 # likewise P contains macro parameters if any. Preserve backslash
23397 # newline sequences.
23399 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
23401 s/.\{148\}/&'"$ac_delim"'/g
23404 s/^[ ]*#[ ]*define[ ][ ]*/ /
23411 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23413 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23417 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23418 D["\1"]=" \3\\\\\\n"\\/p
23420 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23425 s/.\{148\}/&'"$ac_delim"'/g
23430 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23433 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23435 ' <confdefs.h |
sed '
23436 s/'"$ac_delim"'/"\\\
23437 "/g' >>$CONFIG_STATUS || ac_write_fail
=1
23439 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23440 for (key in D) D_is_set[key] = 1
23443 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23445 split(line, arg, " ")
23446 if (arg[1] == "#") {
23450 defundef = substr(arg[1], 2)
23453 split(mac1, mac2, "(") #)
23455 prefix = substr(line, 1, index(line, defundef) - 1)
23456 if (D_is_set[macro]) {
23457 # Preserve the white space surrounding the "#".
23458 print prefix "define", macro P[macro] D[macro]
23461 # Replace #undef with comments. This is necessary, for example,
23462 # in the case of _POSIX_SOURCE, which is predefined and required
23463 # on some systems where configure will not decide to define it.
23464 if (defundef == "undef") {
23465 print "/*", prefix defundef, macro, "*/"
23473 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23474 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
23475 fi # test -n "$CONFIG_HEADERS"
23478 eval set X
" :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23483 :[FHLC
]) ac_mode
=$ac_tag; continue;;
23485 case $ac_mode$ac_tag in
23487 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
23488 :[FH
]-) ac_tag
=-:-;;
23489 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
23506 -) ac_f
="$ac_tmp/stdin";;
23507 *) # Look for the file first in the build tree, then in the source tree
23508 # (if the path is not absolute). The absolute path cannot be DOS-style,
23509 # because $ac_f cannot contain `:'.
23513 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
23515 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23517 case $ac_f in *\'*) ac_f
=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23518 as_fn_append ac_file_inputs
" '$ac_f'"
23521 # Let's still pretend it is `configure' which instantiates (i.e., don't
23522 # use $as_me), people would be surprised to read:
23523 # /* config.h. Generated by config.status. */
23524 configure_input
='Generated from '`
23525 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23527 if test x
"$ac_file" != x-
; then
23528 configure_input
="$ac_file. $configure_input"
23529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23530 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23532 # Neutralize special characters interpreted by sed in replacement strings.
23533 case $configure_input in #(
23534 *\
&* |
*\|
* |
*\\* )
23535 ac_sed_conf_input
=`printf "%s\n" "$configure_input" |
23536 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23537 *) ac_sed_conf_input
=$configure_input;;
23541 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
23542 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
23547 ac_dir
=`$as_dirname -- "$ac_file" ||
23548 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23549 X"$ac_file" : 'X\(//\)[^/]' \| \
23550 X"$ac_file" : 'X\(//\)$' \| \
23551 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23552 printf "%s\n" X"$ac_file" |
23553 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23557 /^X\(\/\/\)[^/].*/{
23570 as_dir
="$ac_dir"; as_fn_mkdir_p
23574 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23576 ac_dir_suffix
=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23577 # A ".." for each directory in $ac_dir_suffix.
23578 ac_top_builddir_sub
=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23579 case $ac_top_builddir_sub in
23580 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23581 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
23584 ac_abs_top_builddir
=$ac_pwd
23585 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
23586 # for backward compatibility:
23587 ac_top_builddir
=$ac_top_build_prefix
23590 .
) # We are building in place.
23592 ac_top_srcdir
=$ac_top_builddir_sub
23593 ac_abs_top_srcdir
=$ac_pwd ;;
23594 [\\/]* | ?
:[\\/]* ) # Absolute name.
23595 ac_srcdir
=$srcdir$ac_dir_suffix;
23596 ac_top_srcdir
=$srcdir
23597 ac_abs_top_srcdir
=$srcdir ;;
23598 *) # Relative name.
23599 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
23600 ac_top_srcdir
=$ac_top_build_prefix$srcdir
23601 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
23603 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
23612 if test x
"$ac_file" != x-
; then
23614 printf "%s\n" "/* $configure_input */" >&1 \
23615 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23616 } >"$ac_tmp/config.h" \
23617 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5
23618 if diff "$ac_file" "$ac_tmp/config.h" >/dev
/null
2>&1; then
23619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23620 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23623 mv "$ac_tmp/config.h" "$ac_file" \
23624 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5
23627 printf "%s\n" "/* $configure_input */" >&1 \
23628 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23629 || as_fn_error $?
"could not create -" "$LINENO" 5
23637 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23640 # Prefer the file from the source tree if names are identical.
23641 if test "$ac_source" = "$ac_file" ||
test ! -r "$ac_source"; then
23642 ac_source
=$srcdir/$ac_source
23645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23646 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23648 if test ! -r "$ac_source"; then
23649 as_fn_error $?
"$ac_source: file not found" "$LINENO" 5
23653 # Try a relative symlink, then a hard link, then a copy.
23655 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$ac_source ;;
23656 *) ac_rel_source
=$ac_top_build_prefix$ac_source ;;
23658 ln -s "$ac_rel_source" "$ac_file" 2>/dev
/null ||
23659 ln "$ac_source" "$ac_file" 2>/dev
/null ||
23660 cp -p "$ac_source" "$ac_file" ||
23661 as_fn_error $?
"cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23664 :C
) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23665 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23670 case $ac_file$ac_mode in
23671 "include/stamp-h":C
) echo timestamp
> include
/stamp-h
;;
23672 "tools/makedep":C
) wine_fn_output_makedep || as_fn_exit $?
;;
23673 "Makefile":C
) wine_fn_output_makefile Makefile
;;
23681 ac_clean_files
=$ac_clean_files_save
23683 test $ac_write_fail = 0 ||
23684 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
23687 # configure is writing to config.log, and then calls config.status.
23688 # config.status does its own redirection, appending to config.log.
23689 # Unfortunately, on DOS this fails, as config.log is still kept open
23690 # by configure, so config.status won't be able to write to it; its
23691 # output is simply discarded. So we exec the FD to /dev/null,
23692 # effectively closing config.log, so it can be properly (re)opened and
23693 # appended to by config.status. When coming back to configure, we
23694 # need to make the FD available again.
23695 if test "$no_create" != yes; then
23697 ac_config_status_args
=
23698 test "$silent" = yes &&
23699 ac_config_status_args
="$ac_config_status_args --quiet"
23701 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23703 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23704 # would make configure fail if this is the last instruction.
23705 $ac_cs_success || as_fn_exit
1
23707 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
23708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23709 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23713 if test "$no_create" = "yes"
23719 if test "x$wine_notices" != x
; then
23722 for msg
in $wine_notices; do
23728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23729 printf "%s\n" "$as_me: $msg" >&6;}
23734 for msg
in $wine_warnings; do
23741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23742 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23748 $as_me: Finished. Do '${ac_make}' to compile Wine.