2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 8.5.
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.5'
615 PACKAGE_STRING
='Wine 8.5'
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
706 WAYLAND_CLIENT_CFLAGS
752 SYSTEMCONFIGURATION_LIBS
756 APPLICATIONSERVICES_LIBS
768 WINEPRELOADER_LDFLAGS
800 x86_64_DISABLED_SUBDIRS
808 i386_DISABLED_SUBDIRS
824 aarch64_DISABLED_SUBDIRS
825 aarch64_DELAYLOADFLAG
889 program_transform_name
902 enable_option_checking
908 enable_maintainer_mode
1027 enable_d3dcompiler_33
1028 enable_d3dcompiler_34
1029 enable_d3dcompiler_35
1030 enable_d3dcompiler_36
1031 enable_d3dcompiler_37
1032 enable_d3dcompiler_38
1033 enable_d3dcompiler_39
1034 enable_d3dcompiler_40
1035 enable_d3dcompiler_41
1036 enable_d3dcompiler_42
1037 enable_d3dcompiler_43
1038 enable_d3dcompiler_46
1039 enable_d3dcompiler_47
1092 enable_directmanipulation
1129 enable_explorerframe
1145 enable_graphicscapture
1187 enable_light_msstyles
1202 enable_mfmediaengine
1267 enable_msvcp140_atomic_wait
1333 enable_photometadatahandler
1410 enable_threadpoolwinrt
1416 enable_uiautomationcore
1436 enable_vcruntime140_1
1454 enable_windows_devices_enumeration
1455 enable_windows_gaming_input
1456 enable_windows_gaming_ui_gamebar
1457 enable_windows_globalization
1458 enable_windows_media_devices
1459 enable_windows_media_speech
1460 enable_windows_media
1461 enable_windows_networking
1462 enable_windows_perception_stub
1463 enable_windows_system_profile_systemmanufacturers
1465 enable_windowscodecs
1466 enable_windowscodecsext
1468 enable_wineandroid_drv
1470 enable_winecoreaudio_drv
1473 enable_winegstreamer
1479 enable_winepulse_drv
1482 enable_winewayland_drv
1484 enable_winexinput_sys
1530 enable_xactengine2_0
1531 enable_xactengine2_4
1532 enable_xactengine2_7
1533 enable_xactengine2_9
1534 enable_xactengine3_0
1535 enable_xactengine3_1
1536 enable_xactengine3_2
1537 enable_xactengine3_3
1538 enable_xactengine3_4
1539 enable_xactengine3_5
1540 enable_xactengine3_6
1541 enable_xactengine3_7
1590 enable_wmcodecdspuuid
1599 enable_aspnet_regiis
1645 enable_presentationfontcache
1660 enable_servicemodelreg
1686 enable_winemenubuilder
1688 enable_winemsibuilder
1713 ac_precious_vars
='build_alias
1758 WAYLAND_CLIENT_CFLAGS
1800 # Initialize some variables set by options.
1802 ac_init_version
=false
1803 ac_unrecognized_opts
=
1804 ac_unrecognized_sep
=
1805 # The variables have the same names as the options, with
1806 # dashes changed to underlines.
1807 cache_file
=/dev
/null
1814 program_transform_name
=s
,x
,x
,
1822 # Installation directory options.
1823 # These are left unexpanded so users can "make install exec_prefix=/foo"
1824 # and all the variables that are supposed to be based on exec_prefix
1825 # by default will actually change.
1826 # Use braces instead of parens because sh, perl, etc. also accept them.
1827 # (The list follows the same order as the GNU Coding Standards.)
1828 bindir
='${exec_prefix}/bin'
1829 sbindir
='${exec_prefix}/sbin'
1830 libexecdir
='${exec_prefix}/libexec'
1831 datarootdir
='${prefix}/share'
1832 datadir
='${datarootdir}'
1833 sysconfdir
='${prefix}/etc'
1834 sharedstatedir
='${prefix}/com'
1835 localstatedir
='${prefix}/var'
1836 runstatedir
='${localstatedir}/run'
1837 includedir
='${prefix}/include'
1838 oldincludedir
='/usr/include'
1839 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1840 infodir
='${datarootdir}/info'
1845 libdir
='${exec_prefix}/lib'
1846 localedir
='${datarootdir}/locale'
1847 mandir
='${datarootdir}/man'
1853 # If the previous option needs an argument, assign it.
1854 if test -n "$ac_prev"; then
1855 eval $ac_prev=\
$ac_option
1861 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1866 case $ac_dashdash$ac_option in
1870 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1872 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1873 bindir
=$ac_optarg ;;
1875 -build |
--build |
--buil |
--bui |
--bu)
1876 ac_prev
=build_alias
;;
1877 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1878 build_alias
=$ac_optarg ;;
1880 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1881 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1882 ac_prev
=cache_file
;;
1883 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1884 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1885 cache_file
=$ac_optarg ;;
1887 --config-cache |
-C)
1888 cache_file
=config.cache
;;
1890 -datadir |
--datadir |
--datadi |
--datad)
1892 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1893 datadir
=$ac_optarg ;;
1895 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1896 |
--dataroo |
--dataro |
--datar)
1897 ac_prev
=datarootdir
;;
1898 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1899 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1900 datarootdir
=$ac_optarg ;;
1902 -disable-* |
--disable-*)
1903 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1904 # Reject names that are not valid shell variable names.
1905 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1906 as_fn_error $?
"invalid feature name: \`$ac_useropt'"
1907 ac_useropt_orig
=$ac_useropt
1908 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1909 case $ac_user_opts in
1911 "enable_
$ac_useropt"
1913 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1914 ac_unrecognized_sep
=', ';;
1916 eval enable_
$ac_useropt=no
;;
1918 -docdir |
--docdir |
--docdi |
--doc |
--do)
1920 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1921 docdir
=$ac_optarg ;;
1923 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1925 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1926 dvidir
=$ac_optarg ;;
1928 -enable-* |
--enable-*)
1929 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1930 # Reject names that are not valid shell variable names.
1931 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1932 as_fn_error $?
"invalid feature name: \`$ac_useropt'"
1933 ac_useropt_orig
=$ac_useropt
1934 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1935 case $ac_user_opts in
1937 "enable_
$ac_useropt"
1939 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1940 ac_unrecognized_sep
=', ';;
1942 eval enable_
$ac_useropt=\
$ac_optarg ;;
1944 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1945 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1946 |
--exec |
--exe |
--ex)
1947 ac_prev
=exec_prefix
;;
1948 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1949 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1950 |
--exec=* |
--exe=* |
--ex=*)
1951 exec_prefix
=$ac_optarg ;;
1953 -gas |
--gas |
--ga |
--g)
1954 # Obsolete; use --with-gas.
1957 -help |
--help |
--hel |
--he |
-h)
1958 ac_init_help
=long
;;
1959 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1960 ac_init_help
=recursive
;;
1961 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1962 ac_init_help
=short
;;
1964 -host |
--host |
--hos |
--ho)
1965 ac_prev
=host_alias
;;
1966 -host=* |
--host=* |
--hos=* |
--ho=*)
1967 host_alias
=$ac_optarg ;;
1969 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1971 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1973 htmldir
=$ac_optarg ;;
1975 -includedir |
--includedir |
--includedi |
--included |
--include \
1976 |
--includ |
--inclu |
--incl |
--inc)
1977 ac_prev
=includedir
;;
1978 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1979 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1980 includedir
=$ac_optarg ;;
1982 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1984 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1985 infodir
=$ac_optarg ;;
1987 -libdir |
--libdir |
--libdi |
--libd)
1989 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1990 libdir
=$ac_optarg ;;
1992 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1993 |
--libexe |
--libex |
--libe)
1994 ac_prev
=libexecdir
;;
1995 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1996 |
--libexe=* |
--libex=* |
--libe=*)
1997 libexecdir
=$ac_optarg ;;
1999 -localedir |
--localedir |
--localedi |
--localed |
--locale)
2000 ac_prev
=localedir
;;
2001 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
2002 localedir
=$ac_optarg ;;
2004 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
2005 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
2006 ac_prev
=localstatedir
;;
2007 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
2008 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
2009 localstatedir
=$ac_optarg ;;
2011 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
2013 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
2014 mandir
=$ac_optarg ;;
2016 -nfp |
--nfp |
--nf)
2017 # Obsolete; use --without-fp.
2020 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
2021 |
--no-cr |
--no-c |
-n)
2024 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
2025 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
2028 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
2029 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
2030 |
--oldin |
--oldi |
--old |
--ol |
--o)
2031 ac_prev
=oldincludedir
;;
2032 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
2033 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
2034 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
2035 oldincludedir
=$ac_optarg ;;
2037 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
2039 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
2040 prefix
=$ac_optarg ;;
2042 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
2043 |
--program-pre |
--program-pr |
--program-p)
2044 ac_prev
=program_prefix
;;
2045 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
2046 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
2047 program_prefix
=$ac_optarg ;;
2049 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
2050 |
--program-suf |
--program-su |
--program-s)
2051 ac_prev
=program_suffix
;;
2052 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
2053 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
2054 program_suffix
=$ac_optarg ;;
2056 -program-transform-name |
--program-transform-name \
2057 |
--program-transform-nam |
--program-transform-na \
2058 |
--program-transform-n |
--program-transform- \
2059 |
--program-transform |
--program-transfor \
2060 |
--program-transfo |
--program-transf \
2061 |
--program-trans |
--program-tran \
2062 |
--progr-tra |
--program-tr |
--program-t)
2063 ac_prev
=program_transform_name
;;
2064 -program-transform-name=* |
--program-transform-name=* \
2065 |
--program-transform-nam=* |
--program-transform-na=* \
2066 |
--program-transform-n=* |
--program-transform-=* \
2067 |
--program-transform=* |
--program-transfor=* \
2068 |
--program-transfo=* |
--program-transf=* \
2069 |
--program-trans=* |
--program-tran=* \
2070 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
2071 program_transform_name
=$ac_optarg ;;
2073 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
2075 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
2076 pdfdir
=$ac_optarg ;;
2078 -psdir |
--psdir |
--psdi |
--psd |
--ps)
2080 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
2083 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2084 |
-silent |
--silent |
--silen |
--sile |
--sil)
2087 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
2088 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
2089 |
--run |
--ru |
--r)
2090 ac_prev
=runstatedir
;;
2091 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
2092 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
2093 |
--run=* |
--ru=* |
--r=*)
2094 runstatedir
=$ac_optarg ;;
2096 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
2098 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
2100 sbindir
=$ac_optarg ;;
2102 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
2103 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
2104 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
2106 ac_prev
=sharedstatedir
;;
2107 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
2108 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
2109 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
2111 sharedstatedir
=$ac_optarg ;;
2113 -site |
--site |
--sit)
2115 -site=* |
--site=* |
--sit=*)
2118 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
2120 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
2121 srcdir
=$ac_optarg ;;
2123 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
2124 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
2125 ac_prev
=sysconfdir
;;
2126 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
2127 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
2128 sysconfdir
=$ac_optarg ;;
2130 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
2131 ac_prev
=target_alias
;;
2132 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
2133 target_alias
=$ac_optarg ;;
2135 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
2138 -version |
--version |
--versio |
--versi |
--vers |
-V)
2139 ac_init_version
=: ;;
2142 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2143 # Reject names that are not valid shell variable names.
2144 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2145 as_fn_error $?
"invalid package name: \`$ac_useropt'"
2146 ac_useropt_orig
=$ac_useropt
2147 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2148 case $ac_user_opts in
2152 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2153 ac_unrecognized_sep
=', ';;
2155 eval with_
$ac_useropt=\
$ac_optarg ;;
2157 -without-* |
--without-*)
2158 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2159 # Reject names that are not valid shell variable names.
2160 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2161 as_fn_error $?
"invalid package name: \`$ac_useropt'"
2162 ac_useropt_orig
=$ac_useropt
2163 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2164 case $ac_user_opts in
2168 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2169 ac_unrecognized_sep
=', ';;
2171 eval with_
$ac_useropt=no
;;
2174 # Obsolete; use --with-x.
2177 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
2178 |
--x-incl |
--x-inc |
--x-in |
--x-i)
2179 ac_prev
=x_includes
;;
2180 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
2181 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
2182 x_includes
=$ac_optarg ;;
2184 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
2185 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
2186 ac_prev
=x_libraries
;;
2187 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
2188 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
2189 x_libraries
=$ac_optarg ;;
2191 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
2192 Try \`$0 --help' for more information"
2196 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
2197 # Reject names that are not valid shell variable names.
2198 case $ac_envvar in #(
2199 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
2200 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
2202 eval $ac_envvar=\
$ac_optarg
2203 export $ac_envvar ;;
2206 # FIXME: should be removed in autoconf 3.0.
2207 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2208 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
2209 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2210 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2216 if test -n "$ac_prev"; then
2217 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
2218 as_fn_error $?
"missing argument to $ac_option"
2221 if test -n "$ac_unrecognized_opts"; then
2222 case $enable_option_checking in
2224 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
2225 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2229 # Check all directory arguments for consistency.
2230 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2231 datadir sysconfdir sharedstatedir localstatedir includedir \
2232 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2233 libdir localedir mandir runstatedir
2235 eval ac_val
=\$
$ac_var
2236 # Remove trailing slashes.
2239 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2240 eval $ac_var=\
$ac_val;;
2242 # Be sure to have absolute directory names.
2244 [\\/$
]* | ?
:[\\/]* ) continue;;
2245 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
2247 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
2250 # There might be people who depend on the old broken behavior: `$host'
2251 # used to hold the argument of --host etc.
2252 # FIXME: To remove some day.
2255 target
=$target_alias
2257 # FIXME: To remove some day.
2258 if test "x$host_alias" != x
; then
2259 if test "x$build_alias" = x
; then
2260 cross_compiling
=maybe
2261 elif test "x$build_alias" != "x$host_alias"; then
2267 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
2269 test "$silent" = yes && exec 6>/dev
/null
2272 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
2273 ac_ls_di
=`ls -di .` &&
2274 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
2275 as_fn_error $?
"working directory cannot be determined"
2276 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2277 as_fn_error $?
"pwd does not report name of working directory"
2280 # Find the source files, if location was not specified.
2281 if test -z "$srcdir"; then
2282 ac_srcdir_defaulted
=yes
2283 # Try the directory containing this script, then the parent directory.
2284 ac_confdir
=`$as_dirname -- "$as_myself" ||
2285 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2286 X"$as_myself" : 'X\(//\)[^/]' \| \
2287 X"$as_myself" : 'X\(//\)$' \| \
2288 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2289 printf "%s\n" X"$as_myself" |
2290 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2308 if test ! -r "$srcdir/$ac_unique_file"; then
2312 ac_srcdir_defaulted
=no
2314 if test ! -r "$srcdir/$ac_unique_file"; then
2315 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
2316 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
2318 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
2320 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2322 # When building in place, set srcdir=.
2323 if test "$ac_abs_confdir" = "$ac_pwd"; then
2326 # Remove unnecessary trailing slashes from srcdir.
2327 # Double slashes in file names in object file debugging info
2328 # mess up M-x gdb in Emacs.
2330 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2332 for ac_var
in $ac_precious_vars; do
2333 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
2334 eval ac_env_
${ac_var}_value
=\$
${ac_var}
2335 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
2336 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2340 # Report the --help message.
2342 if test "$ac_init_help" = "long"; then
2343 # Omit some internal or obsolete options to make the list less imposing.
2344 # This message is too long to be a string in the A/UX 3.1 sh.
2346 \`configure' configures Wine 8.5 to adapt to many kinds of systems.
2348 Usage: $0 [OPTION]... [VAR=VALUE]...
2350 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2351 VAR=VALUE. See below for descriptions of some of the useful variables.
2353 Defaults for the options are specified in brackets.
2356 -h, --help display this help and exit
2357 --help=short display options specific to this package
2358 --help=recursive display the short help of all the included packages
2359 -V, --version display version information and exit
2360 -q, --quiet, --silent do not print \`checking ...' messages
2361 --cache-file=FILE cache test results in FILE [disabled]
2362 -C, --config-cache alias for \`--cache-file=config.cache'
2363 -n, --no-create do not create output files
2364 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2366 Installation directories:
2367 --prefix=PREFIX install architecture-independent files in PREFIX
2368 [$ac_default_prefix]
2369 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2372 By default, \`make install' will install all the files in
2373 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2374 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2375 for instance \`--prefix=\$HOME'.
2377 For better control, use the options below.
2379 Fine tuning of the installation directories:
2380 --bindir=DIR user executables [EPREFIX/bin]
2381 --sbindir=DIR system admin executables [EPREFIX/sbin]
2382 --libexecdir=DIR program executables [EPREFIX/libexec]
2383 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2384 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2385 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2386 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2387 --libdir=DIR object code libraries [EPREFIX/lib]
2388 --includedir=DIR C header files [PREFIX/include]
2389 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2390 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2391 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2392 --infodir=DIR info documentation [DATAROOTDIR/info]
2393 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2394 --mandir=DIR man documentation [DATAROOTDIR/man]
2395 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2396 --htmldir=DIR html documentation [DOCDIR]
2397 --dvidir=DIR dvi documentation [DOCDIR]
2398 --pdfdir=DIR pdf documentation [DOCDIR]
2399 --psdir=DIR ps documentation [DOCDIR]
2405 --x-includes=DIR X include files are
in DIR
2406 --x-libraries=DIR X library files are
in DIR
2409 --build=BUILD configure
for building on BUILD
[guessed
]
2410 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2414 if test -n "$ac_init_help"; then
2415 case $ac_init_help in
2416 short | recursive
) echo "Configuration of Wine 8.5:";;
2421 --disable-option-checking ignore unrecognized
--enable/--with options
2422 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2423 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2424 --enable-archs={i386
,x86_64
,arm
,aarch64
}
2425 enable multiple architectures
for PE compilation
2426 --disable-win16 do not include Win16 support
2427 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2429 --disable-tests do not build the regression tests
2430 --enable-build-id include .buildid section in output objects
2431 --enable-maintainer-mode
2432 enable maintainer-specific build rules
2433 --enable-silent-rules use silent build rules (override: "make V=1")
2434 --enable-werror treat compilation warnings as errors
2435 --disable-largefile omit support for large files
2438 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2439 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2440 --without-alsa do not use the Alsa sound support
2441 --without-capi do not use CAPI (ISDN support)
2442 --without-coreaudio do not use the CoreAudio sound support
2443 --without-cups do not use CUPS
2444 --without-dbus do not use DBus (dynamic device support)
2445 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2446 --without-fontconfig do not use fontconfig
2447 --without-freetype do not use the FreeType library
2448 --without-gettext do not use gettext
2449 --with-gettextpo use the GetTextPO library to rebuild po files
2450 --without-gphoto do not use gphoto (Digital Camera support)
2451 --without-gnutls do not use GnuTLS (schannel support)
2452 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2453 --without-gstreamer do not use GStreamer (codecs support)
2454 --without-inotify do not use inotify (filesystem change notifications)
2455 --without-krb5 do not use krb5 (Kerberos)
2456 --without-mingw do not use the MinGW cross-compiler
2457 --without-netapi do not use the Samba NetAPI library
2458 --without-opencl do not use OpenCL
2459 --without-opengl do not use OpenGL
2460 --without-osmesa do not use the OSMesa library
2461 --without-oss do not use the OSS sound support
2462 --without-pcap do not use the Packet Capture library
2463 --without-pcsclite do not use PCSC lite
2464 --without-pthread do not use the pthread library
2465 --without-pulse do not use PulseAudio sound support
2466 --without-sane do not use SANE (scanner support)
2467 --without-sdl do not use SDL
2468 --without-udev do not use udev (plug and play support)
2469 --without-unwind do not use the libunwind library (exception
2471 --without-usb do not use the libusb library
2472 --without-v4l2 do not use v4l2 (video capture)
2473 --without-vulkan do not use Vulkan
2474 --without-wayland do not build the Wayland driver
2475 --without-xcomposite do not use the Xcomposite extension
2476 --without-xcursor do not use the Xcursor extension
2477 --without-xfixes do not use Xfixes for clipboard change notifications
2478 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2479 --without-xinput do not use the Xinput extension
2480 --without-xinput2 do not use the Xinput 2 extension
2481 --without-xrandr do not use Xrandr (multi-monitor support)
2482 --without-xrender do not use the Xrender extension
2483 --without-xshape do not use the Xshape extension
2484 --without-xshm do not use XShm (shared memory extension)
2485 --without-xxf86vm do not use XFree video mode extension
2486 --with-system-dllpath=PATH
2487 load external PE dependencies from colon-separated
2489 --with-wine-tools=DIR use Wine tools from directory DIR
2490 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2491 --with-x use the X Window System
2493 Some influential environment variables:
2494 CC C compiler command
2495 CFLAGS C compiler flags
2496 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2497 nonstandard directory <lib dir>
2498 LIBS libraries to pass to the linker, e.g. -l<library>
2499 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2500 you have headers in a nonstandard directory <include dir>
2501 CXX C++ compiler command
2502 CXXFLAGS C++ compiler flags
2503 OBJC Objective C compiler command
2504 OBJCFLAGS Objective C compiler flags
2506 C compiler flags for the PE faudio, overriding the bundled
2509 Linker flags for the PE faudio, overriding the bundled version
2511 C compiler flags for the PE gsm, overriding the bundled version
2512 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2514 C compiler flags for the PE jpeg, overriding the bundled version
2516 Linker flags for the PE jpeg, overriding the bundled version
2518 C compiler flags for the PE jxr, overriding the bundled version
2519 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2521 C compiler flags for the PE lcms2, overriding the bundled
2524 Linker flags for the PE lcms2, overriding the bundled version
2526 C compiler flags for the PE ldap, overriding the bundled version
2528 Linker flags for the PE ldap, overriding the bundled version
2530 C compiler flags for the PE mpg123, overriding the bundled
2533 Linker flags for the PE mpg123, overriding the bundled version
2535 C compiler flags for the PE musl, overriding the bundled version
2537 Linker flags for the PE musl, overriding the bundled version
2539 C compiler flags for the PE png, overriding the bundled version
2540 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2542 C compiler flags for the PE tiff, overriding the bundled version
2544 Linker flags for the PE tiff, overriding the bundled version
2546 C compiler flags for the PE vkd3d, overriding the bundled
2549 Linker flags for the PE vkd3d, overriding the bundled version
2551 C compiler flags for the PE xml2, overriding the bundled version
2553 Linker flags for the PE xml2, overriding the bundled version
2555 C compiler flags for the PE xslt, overriding the bundled version
2557 Linker flags for the PE xslt, overriding the bundled version
2559 C compiler flags for the PE zlib, overriding the bundled version
2561 Linker flags for the PE zlib, overriding the bundled version
2563 C compiler flags for the PE zydis, overriding the bundled
2566 Linker flags for the PE zydis, overriding the bundled version
2567 XMKMF Path to xmkmf, Makefile generator for X Window System
2569 WAYLAND_CLIENT_CFLAGS
2570 C compiler flags for wayland-client, overriding pkg-config
2572 Linker flags for wayland-client, overriding pkg-config
2574 C compiler flags for libinotify, overriding pkg-config
2576 Linker flags for libinotify, overriding pkg-config
2577 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2578 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2580 C compiler flags for gnutls, overriding pkg-config
2581 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2582 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2583 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2584 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2585 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2587 C compiler flags for libgphoto2, overriding pkg-config
2589 Linker flags for libgphoto2, overriding pkg-config
2591 C compiler flags for libgphoto2_port, overriding pkg-config
2593 Linker flags for libgphoto2_port, overriding pkg-config
2595 C compiler flags for freetype2, overriding pkg-config
2597 Linker flags for freetype2, overriding pkg-config
2599 C compiler flags for libpulse, overriding pkg-config
2600 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2602 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2603 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2605 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2606 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2607 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2608 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2610 C compiler flags for libunwind, overriding pkg-config
2611 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2612 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2613 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2615 C compiler flags for capi20, overriding pkg-config
2616 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2617 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2618 CUPS_LIBS Linker flags for cups, overriding pkg-config
2620 C compiler flags for fontconfig, overriding pkg-config
2622 Linker flags for fontconfig, overriding pkg-config
2623 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2624 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2626 C compiler flags for krb5-gssapi, overriding pkg-config
2627 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2629 C compiler flags for netapi, overriding pkg-config
2630 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2632 Use these variables to override the choices made by `configure' or to
help
2633 it to
find libraries and programs with nonstandard names
/locations.
2635 Report bugs to
<wine-devel@winehq.org
>.
2636 Wine home page
: <https
://www.winehq.org
>.
2641 if test "$ac_init_help" = "recursive"; then
2642 # If there are subdirs, report their specific --help.
2643 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2644 test -d "$ac_dir" ||
2645 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2650 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2652 ac_dir_suffix
=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2653 # A ".." for each directory in $ac_dir_suffix.
2654 ac_top_builddir_sub
=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2655 case $ac_top_builddir_sub in
2656 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2657 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2660 ac_abs_top_builddir
=$ac_pwd
2661 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2662 # for backward compatibility:
2663 ac_top_builddir
=$ac_top_build_prefix
2666 .
) # We are building in place.
2668 ac_top_srcdir
=$ac_top_builddir_sub
2669 ac_abs_top_srcdir
=$ac_pwd ;;
2670 [\\/]* | ?
:[\\/]* ) # Absolute name.
2671 ac_srcdir
=$srcdir$ac_dir_suffix;
2672 ac_top_srcdir
=$srcdir
2673 ac_abs_top_srcdir
=$srcdir ;;
2675 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2676 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2677 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2679 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2681 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2682 # Check for configure.gnu first; this name is used for a wrapper for
2683 # Metaconfig's "Configure" on case-insensitive file systems.
2684 if test -f "$ac_srcdir/configure.gnu"; then
2686 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2687 elif test -f "$ac_srcdir/configure"; then
2689 $SHELL "$ac_srcdir/configure" --help=recursive
2691 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2693 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2697 test -n "$ac_init_help" && exit $ac_status
2698 if $ac_init_version; then
2701 generated by GNU Autoconf
2.71
2703 Copyright
(C
) 2021 Free Software Foundation
, Inc.
2704 This configure
script is free software
; the Free Software Foundation
2705 gives unlimited permission to copy
, distribute and modify it.
2710 ## ------------------------ ##
2711 ## Autoconf initialization. ##
2712 ## ------------------------ ##
2714 # ac_fn_c_try_compile LINENO
2715 # --------------------------
2716 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2717 ac_fn_c_try_compile
()
2719 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2720 rm -f conftest.
$ac_objext conftest.beam
2721 if { { ac_try
="$ac_compile"
2723 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2724 *) ac_try_echo=$ac_try;;
2726 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2727 printf "%s\n" "$ac_try_echo"; } >&5
2728 (eval "$ac_compile") 2>conftest.err
2730 if test -s conftest.err; then
2731 grep -v '^ *+' conftest.err >conftest.er1
2732 cat conftest.er1 >&5
2733 mv -f conftest.er1 conftest.err
2735 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2736 test $ac_status = 0; } && {
2737 test -z "$ac_c_werror_flag" ||
2738 test ! -s conftest.err
2739 } && test -s conftest.$ac_objext
2743 printf "%s\n" "$as_me: failed program was:" >&5
2744 sed 's/^/| /' conftest.$ac_ext >&5
2748 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2749 as_fn_set_status $ac_retval
2751 } # ac_fn_c_try_compile
2753 # ac_fn_cxx_try_compile LINENO
2754 # ----------------------------
2755 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2756 ac_fn_cxx_try_compile ()
2758 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2759 rm -f conftest.$ac_objext conftest.beam
2760 if { { ac_try="$ac_compile"
2762 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2763 *) ac_try_echo
=$ac_try;;
2765 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2766 printf "%s\n" "$ac_try_echo"; } >&5
2767 (eval "$ac_compile") 2>conftest.err
2769 if test -s conftest.err
; then
2770 grep -v '^ *+' conftest.err
>conftest.er1
2771 cat conftest.er1
>&5
2772 mv -f conftest.er1 conftest.err
2774 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2775 test $ac_status = 0; } && {
2776 test -z "$ac_cxx_werror_flag" ||
2777 test ! -s conftest.err
2778 } && test -s conftest.
$ac_objext
2782 printf "%s\n" "$as_me: failed program was:" >&5
2783 sed 's/^/| /' conftest.
$ac_ext >&5
2787 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2788 as_fn_set_status
$ac_retval
2790 } # ac_fn_cxx_try_compile
2792 # ac_fn_c_try_link LINENO
2793 # -----------------------
2794 # Try to link conftest.$ac_ext, and return whether this succeeded.
2797 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2798 rm -f conftest.
$ac_objext conftest.beam conftest
$ac_exeext
2799 if { { ac_try
="$ac_link"
2801 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2802 *) ac_try_echo=$ac_try;;
2804 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2805 printf "%s\n" "$ac_try_echo"; } >&5
2806 (eval "$ac_link") 2>conftest.err
2808 if test -s conftest.err; then
2809 grep -v '^ *+' conftest.err >conftest.er1
2810 cat conftest.er1 >&5
2811 mv -f conftest.er1 conftest.err
2813 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2814 test $ac_status = 0; } && {
2815 test -z "$ac_c_werror_flag" ||
2816 test ! -s conftest.err
2817 } && test -s conftest$ac_exeext && {
2818 test "$cross_compiling" = yes ||
2819 test -x conftest$ac_exeext
2824 printf "%s\n" "$as_me: failed program was:" >&5
2825 sed 's/^/| /' conftest.$ac_ext >&5
2829 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2830 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2831 # interfere with the next link command; also delete a directory that is
2832 # left behind by Apple's compiler. We do this before executing the actions.
2833 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2834 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2835 as_fn_set_status $ac_retval
2837 } # ac_fn_c_try_link
2839 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2840 # -------------------------------------------------------
2841 # Tests whether HEADER exists and can be compiled using the include files in
2842 # INCLUDES, setting the cache variable VAR accordingly.
2843 ac_fn_c_check_header_compile ()
2845 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2847 printf %s "checking for $2... " >&6; }
2848 if eval test \${$3+y}
2850 printf %s "(cached) " >&6
2852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2853 /* end confdefs.h. */
2857 if ac_fn_c_try_compile "$LINENO"
2863 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2867 printf "%s\n" "$ac_res" >&6; }
2868 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2870 } # ac_fn_c_check_header_compile
2872 # ac_fn_objc_try_compile LINENO
2873 # -----------------------------
2874 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2875 ac_fn_objc_try_compile ()
2877 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2878 rm -f conftest.$ac_objext conftest.beam
2879 if { { ac_try="$ac_compile"
2881 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2882 *) ac_try_echo
=$ac_try;;
2884 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2885 printf "%s\n" "$ac_try_echo"; } >&5
2886 (eval "$ac_compile") 2>conftest.err
2888 if test -s conftest.err
; then
2889 grep -v '^ *+' conftest.err
>conftest.er1
2890 cat conftest.er1
>&5
2891 mv -f conftest.er1 conftest.err
2893 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2894 test $ac_status = 0; } && {
2895 test -z "$ac_objc_werror_flag" ||
2896 test ! -s conftest.err
2897 } && test -s conftest.
$ac_objext
2901 printf "%s\n" "$as_me: failed program was:" >&5
2902 sed 's/^/| /' conftest.
$ac_ext >&5
2906 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2907 as_fn_set_status
$ac_retval
2909 } # ac_fn_objc_try_compile
2911 # ac_fn_c_check_func LINENO FUNC VAR
2912 # ----------------------------------
2913 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2914 ac_fn_c_check_func
()
2916 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2918 printf %s
"checking for $2... " >&6; }
2919 if eval test \
${$3+y}
2921 printf %s
"(cached) " >&6
2923 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2924 /* end confdefs.h. */
2925 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2926 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2927 #define $2 innocuous_$2
2929 /* System header to define __stub macros and hopefully few prototypes,
2930 which can conflict with char $2 (); below. */
2935 /* Override any GCC internal prototype to avoid an error.
2936 Use char because int might match the return type of a GCC
2937 builtin and then its argument prototype would still apply. */
2942 /* The GNU C library defines this for functions which it implements
2943 to always fail with ENOSYS. Some functions are actually named
2944 something starting with __ and the normal name is an alias. */
2945 #if defined __stub_$2 || defined __stub___$2
2957 if ac_fn_c_try_link
"$LINENO"
2963 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
2964 conftest
$ac_exeext conftest.
$ac_ext
2967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2968 printf "%s\n" "$ac_res" >&6; }
2969 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2971 } # ac_fn_c_check_func
2973 # ac_fn_c_try_cpp LINENO
2974 # ----------------------
2975 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2978 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2979 if { { ac_try
="$ac_cpp conftest.$ac_ext"
2981 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2982 *) ac_try_echo=$ac_try;;
2984 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2985 printf "%s\n" "$ac_try_echo"; } >&5
2986 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2988 if test -s conftest.err; then
2989 grep -v '^ *+' conftest.err >conftest.er1
2990 cat conftest.er1 >&5
2991 mv -f conftest.er1 conftest.err
2993 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2994 test $ac_status = 0; } > conftest.i && {
2995 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2996 test ! -s conftest.err
3001 printf "%s\n" "$as_me: failed program was:" >&5
3002 sed 's/^/| /' conftest.$ac_ext >&5
3006 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3007 as_fn_set_status $ac_retval
3011 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3012 # ----------------------------------------------------
3013 # Tries to find if the field MEMBER exists in type AGGR, after including
3014 # INCLUDES, setting cache variable VAR accordingly.
3015 ac_fn_c_check_member ()
3017 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3019 printf %s "checking for $2.$3... " >&6; }
3020 if eval test \${$4+y}
3022 printf %s "(cached) " >&6
3024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3025 /* end confdefs.h. */
3037 if ac_fn_c_try_compile "$LINENO"
3041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3042 /* end confdefs.h. */
3048 if (sizeof ac_aggr.$3)
3054 if ac_fn_c_try_compile "$LINENO"
3060 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3062 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3066 printf "%s\n" "$ac_res" >&6; }
3067 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3069 } # ac_fn_c_check_member
3071 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3072 # -------------------------------------------
3073 # Tests whether TYPE exists after having included INCLUDES, setting cache
3074 # variable VAR accordingly.
3075 ac_fn_c_check_type ()
3077 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3079 printf %s "checking for $2... " >&6; }
3080 if eval test \${$3+y}
3082 printf %s "(cached) " >&6
3085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3086 /* end confdefs.h. */
3097 if ac_fn_c_try_compile "$LINENO"
3099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3100 /* end confdefs.h. */
3111 if ac_fn_c_try_compile "$LINENO"
3117 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3119 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3123 printf "%s\n" "$ac_res" >&6; }
3124 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3126 } # ac_fn_c_check_type
3127 ac_configure_args_raw=
3132 ac_arg=`printf "%s\n" "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
3134 as_fn_append ac_configure_args_raw " '$ac_arg'"
3137 case $ac_configure_args_raw in
3141 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3142 ac_unsafe_a="$ac_unsafe_z#~
"
3143 ac_safe_unquote="s
/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g
"
3144 ac_configure_args_raw=` printf "%s
\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3147 cat >config.log <<_ACEOF
3148 This file contains any messages produced by compilers while
3149 running configure, to aid debugging if configure makes a mistake.
3151 It was created by Wine $as_me 8.5, which was
3152 generated by GNU Autoconf 2.71. Invocation command line was
3154 $ $0$ac_configure_args_raw
3164 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3165 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3166 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3167 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3168 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3170 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3171 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3173 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3174 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3175 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3176 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3177 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3178 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3179 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3187 case $as_dir in #(((
3190 *) as_dir=$as_dir/ ;;
3192 printf "%s
\n" "PATH
: $as_dir"
3208 # Keep a trace of the command line.
3209 # Strip out --no-create and --no-recursion so they do not pile up.
3210 # Strip out --silent because we don't want to record it for future runs.
3211 # Also quote any args containing shell meta-characters.
3212 # Make two passes to allow for proper duplicate-argument suppression.
3216 ac_must_keep_next=false
3222 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3223 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3224 | -silent | --silent | --silen | --sile | --sil)
3227 ac_arg=`printf "%s
\n" "$ac_arg" | sed "s
/'/'\\\\\\\\''/g
"` ;;
3230 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3232 as_fn_append ac_configure_args1 " '$ac_arg'"
3233 if test $ac_must_keep_next = true; then
3234 ac_must_keep_next=false # Got value, back to normal.
3237 *=* | --config-cache | -C | -disable-* | --disable-* \
3238 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3239 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3240 | -with-* | --with-* | -without-* | --without-* | --x)
3241 case "$ac_configure_args0 " in
3242 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3245 -* ) ac_must_keep_next=true ;;
3248 as_fn_append ac_configure_args " '$ac_arg'"
3253 { ac_configure_args0=; unset ac_configure_args0;}
3254 { ac_configure_args1=; unset ac_configure_args1;}
3256 # When interrupted or exit'd, cleanup temporary files, and complete
3257 # config.log. We remove comments because anyway the quotes in there
3258 # would cause problems or look ugly.
3259 # WARNING: Use '\'' to represent an apostrophe within the trap.
3260 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3261 trap 'exit_status=$?
3264 # Save into config.log some information that might help in debugging.
3268 printf "%s
\n" "## ---------------- ##
3269 ## Cache variables. ##
3270 ## ---------------- ##"
3272 # The following way of writing the cache mishandles newlines in values,
3274 for ac_var
in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3275 eval ac_val
=\$
$ac_var
3279 *_cv_
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3280 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3283 _ | IFS | as_nl
) ;; #(
3284 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
3285 *) { eval $ac_var=; unset $ac_var;} ;;
3290 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3291 *${as_nl}ac_space
=\
*)
3293 "s/'\''/'\''\\\\'\'''\''/g;
3294 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3297 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3304 printf "%s\n" "## ----------------- ##
3305 ## Output variables. ##
3306 ## ----------------- ##"
3308 for ac_var
in $ac_subst_vars
3310 eval ac_val
=\$
$ac_var
3312 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3314 printf "%s\n" "$ac_var='\''$ac_val'\''"
3318 if test -n "$ac_subst_files"; then
3319 printf "%s\n" "## ------------------- ##
3320 ## File substitutions. ##
3321 ## ------------------- ##"
3323 for ac_var in $ac_subst_files
3325 eval ac_val=\$$ac_var
3327 *\'\''*) ac_val
=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3329 printf "%s\n" "$ac_var='\''$ac_val'\''"
3334 if test -s confdefs.h
; then
3335 printf "%s\n" "## ----------- ##
3342 test "$ac_signal" != 0 &&
3343 printf "%s\n" "$as_me: caught signal $ac_signal"
3344 printf "%s\n" "$as_me: exit $exit_status"
3346 rm -f core
*.core core.conftest.
* &&
3347 rm -f -r conftest
* confdefs
* conf$$
* $ac_clean_files &&
3350 for ac_signal in 1 2 13 15; do
3351 trap 'ac_signal
='$ac_signal'; as_fn_exit
1' $ac_signal
3355 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3356 rm -f -r conftest* confdefs.h
3358 printf "%s\n" "/* confdefs.h */" > confdefs.h
3360 # Predefined preprocessor variables.
3362 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3364 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3366 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3368 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3370 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3372 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3375 # Let the site file select an alternate cache file if it wants to.
3376 # Prefer an explicitly selected file to automatically selected ones.
3377 if test -n "$CONFIG_SITE"; then
3378 ac_site_files="$CONFIG_SITE"
3379 elif test "x$prefix" != xNONE; then
3380 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3382 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3385 for ac_site_file in $ac_site_files
3387 case $ac_site_file in #(
3391 ac_site_file=./$ac_site_file ;;
3393 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3395 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3396 sed 's
/^
/|
/' "$ac_site_file" >&5
3398 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3399 printf "%s
\n" "$as_me: error
: in \
`$ac_pwd':" >&2;}
3400 as_fn_error $? "failed to load site script $ac_site_file
3401 See \`config.log
' for more details" "$LINENO" 5; }
3405 if test -r "$cache_file"; then
3406 # Some versions of bash will fail to source /dev/null (special files
3407 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3408 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3410 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3412 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3413 *) . "./$cache_file";;
3417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3418 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3422 # Test code for whether the C compiler supports C89 (global declarations)
3423 ac_c_conftest_c89_globals='
3424 /* Does the compiler advertise C89 conformance?
3425 Do not
test the value of __STDC__
, because some compilers
set it to
0
3426 while being otherwise adequately conformant.
*/
3427 #if !defined __STDC__
3428 # error "Compiler does not advertise C89 conformance"
3434 /* Most of the following tests are stolen from RCS
5.7 src
/conf.sh.
*/
3435 struct buf
{ int x
; };
3436 struct buf
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
3437 static char
*e
(p
, i
)
3443 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
3448 s
= g
(p
, va_arg
(v
,int
));
3453 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
3454 function prototypes and stuff
, but not \xHH hex character constants.
3455 These
do not provoke an error unfortunately
, instead are silently treated
3456 as an
"x". The following induces an error
, until -std is added to get
3457 proper ANSI mode. Curiously
\x00 != x always comes out true
, for an
3458 array size
at least. It is necessary to
write \x00 == 0 to get something
3459 that is true only with
-std.
*/
3460 int osf4_cc_array
['\''\x00'\'' == 0 ?
1 : -1];
3462 /* IBM C
6 for AIX is almost-ANSI by default
, but it replaces macro parameters
3463 inside
strings and character constants.
*/
3464 #define FOO(x) '\''x'\''
3465 int xlc6_cc_array
[FOO
(a
) == '\''x
'\'' ?
1 : -1];
3467 int
test (int i
, double x
);
3468 struct s1
{int
(*f
) (int a
);};
3469 struct s2
{int
(*f
) (double a
);};
3470 int pairnames
(int
, char
**, int
*(*)(struct buf
*, struct stat
*, int
),
3473 # Test code for whether the C compiler supports C89 (body of main).
3474 ac_c_conftest_c89_main='
3475 ok |
= (argc
== 0 || f
(e
, argv
, 0) != argv
[0] || f
(e
, argv
, 1) != argv
[1]);
3478 # Test code for whether the C compiler supports C99 (global declarations)
3479 ac_c_conftest_c99_globals='
3480 // Does the compiler advertise C99 conformance?
3481 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3482 # error "Compiler does not advertise C99 conformance"
3485 #include <stdbool.h>
3486 extern int puts
(const char
*);
3487 extern int
printf (const char
*, ...
);
3488 extern int dprintf
(int
, const char
*, ...
);
3489 extern void
*malloc
(size_t
);
3491 // Check varargs macros. These examples are taken from C99
6.10.3.5.
3492 // dprintf is used instead of fprintf to avoid needing to
declare
3494 #define debug(...) dprintf (2, __VA_ARGS__)
3495 #define showlist(...) puts (#__VA_ARGS__)
3496 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3498 test_varargs_macros
(void
)
3503 debug
("X = %d\n", x
);
3504 showlist
(The first
, second
, and third items.
);
3505 report
(x
>y
, "x is %d but y is %d", x
, y
);
3508 // Check long long types.
3509 #define BIG64 18446744073709551615ull
3510 #define BIG32 4294967295ul
3511 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3513 #error "your preprocessor is broken"
3517 #error "your preprocessor is broken"
3519 static long long int bignum
= -9223372036854775807LL;
3520 static unsigned long long int ubignum
= BIG64
;
3522 struct incomplete_array
3530 const wchar_t
*name
;
3534 typedef const char
*ccp
;
3537 test_restrict
(ccp restrict text
)
3539 // See
if C
++-style comments work.
3540 // Iterate through items via the restricted pointer.
3541 // Also check
for declarations
in for loops.
3542 for (unsigned int i
= 0; *(text
+i
) != '\''\
0'\''; ++i
)
3547 // Check varargs and va_copy.
3549 test_varargs
(const char
*format
, ...
)
3552 va_start
(args
, format
);
3554 va_copy
(args_copy
, args
);
3556 const char
*str
= "";
3564 case '\''s
'\'': // string
3565 str
= va_arg
(args_copy
, const char
*);
3567 case '\''d
'\'': // int
3568 number
= va_arg
(args_copy
, int
);
3570 case '\''f
'\'': // float
3571 fnumber
= va_arg
(args_copy
, double
);
3580 return *str
&& number
&& fnumber
;
3584 # Test code for whether the C compiler supports C99 (body of main).
3585 ac_c_conftest_c99_main='
3587 _Bool success
= false
;
3588 success |
= (argc
!= 0);
3591 if (test_restrict
("String literal") == 0)
3593 char
*restrict newvar
= "Another string";
3596 success
&= test_varargs
("s, d'\'' f .", "string", 65, 34.234);
3597 test_varargs_macros
();
3599 // Check flexible array members.
3600 struct incomplete_array
*ia
=
3601 malloc
(sizeof
(struct incomplete_array
) + (sizeof
(double
) * 10));
3603 for (int i
= 0; i
< ia-
>datasize
; ++i
)
3604 ia-
>data
[i
] = i
* 1.234;
3606 // Check named initializers.
3607 struct named_init ni
= {
3609 .name
= L
"Test wide string",
3610 .average
= 543.34343,
3615 int dynamic_array
[ni.number
];
3616 dynamic_array
[0] = argv
[0][0];
3617 dynamic_array
[ni.number
- 1] = 543;
3619 // work around unused variable warnings
3620 ok |
= (!success || bignum
== 0LL || ubignum
== 0uLL || newvar
[0] == '\''x
'\''
3621 || dynamic_array
[ni.number
- 1] != 543);
3624 # Test code for whether the C compiler supports C11 (global declarations)
3625 ac_c_conftest_c11_globals='
3626 // Does the compiler advertise C11 conformance?
3627 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3628 # error "Compiler does not advertise C11 conformance"
3632 char _Alignas
(double
) aligned_as_double
;
3633 char _Alignas
(0) no_special_alignment
;
3634 extern char aligned_as_int
;
3635 char _Alignas
(0) _Alignas
(int
) aligned_as_int
;
3640 int_alignment
= _Alignof
(int
),
3641 int_array_alignment
= _Alignof
(int
[100]),
3642 char_alignment
= _Alignof
(char
)
3644 _Static_assert
(0 < -_Alignof (int
), "_Alignof is signed");
3647 int _Noreturn does_not_return
(void
) { for (;;) continue; }
3649 // Check _Static_assert.
3650 struct test_static_assert
3653 _Static_assert
(sizeof
(int
) <= sizeof
(long int
),
3654 "_Static_assert does not work in struct");
3658 // Check UTF-8 literals.
3659 #define u8 syntax error!
3660 char const utf8_literal
[] = u8
"happens to be ASCII" "another string";
3662 // Check duplicate typedefs.
3663 typedef long
*long_ptr
;
3664 typedef long int
*long_ptr
;
3665 typedef long_ptr long_ptr
;
3667 // Anonymous structures and unions
-- taken from C11
6.7.2.1 Example
1.
3671 struct
{ int i
; int j
; };
3672 struct
{ int k
; long int l
; } w
;
3678 # Test code for whether the C compiler supports C11 (body of main).
3679 ac_c_conftest_c11_main='
3680 _Static_assert
((offsetof
(struct anonymous
, i
)
3681 == offsetof
(struct anonymous
, w.k
)),
3682 "Anonymous union alignment botch");
3688 # Test code for whether the C compiler supports C11 (complete).
3689 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3690 ${ac_c_conftest_c99_globals}
3691 ${ac_c_conftest_c11_globals}
3694 main (int argc, char **argv)
3697 ${ac_c_conftest_c89_main}
3698 ${ac_c_conftest_c99_main}
3699 ${ac_c_conftest_c11_main}
3704 # Test code for whether the C compiler supports C99 (complete).
3705 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3706 ${ac_c_conftest_c99_globals}
3709 main (int argc, char **argv)
3712 ${ac_c_conftest_c89_main}
3713 ${ac_c_conftest_c99_main}
3718 # Test code for whether the C compiler supports C89 (complete).
3719 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3722 main (int argc, char **argv)
3725 ${ac_c_conftest_c89_main}
3730 # Test code for whether the C++ compiler supports C++98 (global declarations)
3731 ac_cxx_conftest_cxx98_globals='
3732 // Does the compiler advertise C
++98 conformance?
3733 #if !defined __cplusplus || __cplusplus < 199711L
3734 # error "Compiler does not advertise C++98 conformance"
3737 // These inclusions are to reject old compilers that
3738 // lack the unsuffixed header files.
3740 #include <exception>
3742 // <cassert
> and
<cstring
> are
*not
* freestanding headers
in C
++98.
3743 extern void assert
(int
);
3745 extern int strcmp
(const char
*, const char
*);
3748 // Namespaces
, exceptions
, and templates were all added after
"C++ 2.0".
3749 using std
::exception
;
3754 void test_exception_syntax
()
3758 } catch
(const char
*s
) {
3759 // Extra parentheses suppress a warning when building autoconf itself
,
3760 // due to lint rules shared with
more typical C programs.
3761 assert
(!(strcmp
) (s
, "test"));
3765 template
<typename T
> struct test_template
3768 explicit test_template
(T t
) : val
(t
) {}
3769 template
<typename U
> T add
(U u
) { return static_cast
<T
>(u
) + val
; }
3772 } // anonymous namespace
3775 # Test code for whether the C++ compiler supports C++98 (body of main)
3776 ac_cxx_conftest_cxx98_main='
3780 test_exception_syntax
();
3781 test_template
<double
> tt
(2.0);
3782 assert
(tt.add
(4) == 6.0);
3783 assert
(true
&& !false
);
3787 # Test code for whether the C++ compiler supports C++11 (global declarations)
3788 ac_cxx_conftest_cxx11_globals='
3789 // Does the compiler advertise C
++ 2011 conformance?
3790 #if !defined __cplusplus || __cplusplus < 201103L
3791 # error "Compiler does not advertise C++11 conformance"
3796 constexpr int get_val
() { return 20; }
3807 delegate
(int n
) : n
(n
) {}
3808 delegate
(): delegate
(2354) {}
3810 virtual int getval
() { return this-
>n
; };
3815 class overridden
: public delegate
3818 overridden
(int n
): delegate
(n
) {}
3819 virtual int getval
() override final
{ return this-
>n
* 2; }
3825 nocopy
(int i
): i
(i
) {}
3827 nocopy
(const nocopy
&) = delete
;
3828 nocopy
& operator
=(const nocopy
&) = delete
;
3833 // for testing lambda expressions
3834 template
<typename Ret
, typename Fn
> Ret
eval(Fn f
, Ret v
)
3839 // for testing variadic templates and trailing
return types
3840 template
<typename V
> auto
sum(V first
) -> V
3844 template
<typename V
, typename... Args
> auto
sum(V first
, Args... rest
) -> V
3846 return first
+ sum(rest...
);
3851 # Test code for whether the C++ compiler supports C++11 (body of main)
3852 ac_cxx_conftest_cxx11_main='
3854 // Test auto and decltype
3856 auto a2
= 48573953.4;
3857 auto a3
= "String literal";
3860 for (auto i
= a3
; *i
; ++i
) { total
+= *i
; }
3862 decltype
(a2
) a4
= 34895.034;
3866 short sa
[cxx11test
::get_val
()] = { 0 };
3869 // Test initializer lists
3870 cxx11test
::testinit il
= { 4323, 435234.23544 };
3873 // Test range-based
for
3874 int array
[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3875 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3876 for (auto
&x
: array
) { x
+= 23; }
3879 // Test lambda expressions
3880 using cxx11test
::eval;
3881 assert
(eval ([](int x
) { return x
*2; }, 21) == 42);
3883 assert
(eval ([&](double x
) { return d
+= x
; }, 3.0) == 5.0);
3885 assert
(eval ([=](double x
) mutable
{ return d
+= x
; }, 4.0) == 9.0);
3889 // Test use of variadic templates
3890 using cxx11test
::sum;
3893 auto c
= sum(1.0, 2.0, 3.0);
3896 // Test constructor delegation
3897 cxx11test
::delegate d1
;
3898 cxx11test
::delegate d2
();
3899 cxx11test
::delegate d3
(45);
3902 // Test override and final
3903 cxx11test
::overridden o1
(55464);
3910 // Test template brackets
3911 test_template
<::test_template
<int
>> v
(test_template
<int
>(12));
3915 char const
*utf8
= u8
"UTF-8 string \u2500";
3916 char16_t const
*utf16
= u
"UTF-8 string \u2500";
3917 char32_t const
*utf32
= U
"UTF-32 string \u2500";
3921 # Test code for whether the C compiler supports C++11 (complete).
3922 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3923 ${ac_cxx_conftest_cxx11_globals}
3926 main (int argc, char **argv)
3929 ${ac_cxx_conftest_cxx98_main}
3930 ${ac_cxx_conftest_cxx11_main}
3935 # Test code for whether the C compiler supports C++98 (complete).
3936 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3938 main (int argc, char **argv)
3941 ${ac_cxx_conftest_cxx98_main}
3946 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3947 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3948 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3949 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3950 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3951 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3952 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3953 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3954 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3956 # Auxiliary files required by this configure script.
3957 ac_aux_files="config.guess config.sub"
3959 # Locations in which to look for auxiliary files.
3960 ac_aux_dir_candidates="${srcdir}/tools"
3962 # Search for a directory containing all of the required auxiliary files,
3963 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3964 # If we don't
find one directory that contains all the files we need
,
3965 # we report the set of missing files from the *first* directory in
3966 # $ac_aux_dir_candidates and give up.
3967 ac_missing_aux_files
=""
3968 ac_first_candidate
=:
3969 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3970 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3972 for as_dir
in $ac_aux_dir_candidates
3975 case $as_dir in #(((
3978 *) as_dir
=$as_dir/ ;;
3982 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3983 ac_aux_dir_found
=yes
3985 for ac_aux
in $ac_aux_files
3987 # As a special case, if "install-sh" is required, that requirement
3988 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3989 # and $ac_install_sh is set appropriately for whichever one is found.
3990 if test x
"$ac_aux" = x
"install-sh"
3992 if test -f "${as_dir}install-sh"; then
3993 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
3994 ac_install_sh
="${as_dir}install-sh -c"
3995 elif test -f "${as_dir}install.sh"; then
3996 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
3997 ac_install_sh
="${as_dir}install.sh -c"
3998 elif test -f "${as_dir}shtool"; then
3999 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
4000 ac_install_sh
="${as_dir}shtool install -c"
4003 if $ac_first_candidate; then
4004 ac_missing_aux_files
="${ac_missing_aux_files} install-sh"
4010 if test -f "${as_dir}${ac_aux}"; then
4011 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
4014 if $ac_first_candidate; then
4015 ac_missing_aux_files
="${ac_missing_aux_files} ${ac_aux}"
4022 if test "$ac_aux_dir_found" = yes; then
4023 ac_aux_dir
="$as_dir"
4026 ac_first_candidate
=false
4035 as_fn_error $?
"cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4039 # These three variables are undocumented and unsupported,
4040 # and are intended to be withdrawn in a future Autoconf release.
4041 # They can cause serious problems if a builder's source tree is in a directory
4042 # whose full name contains unusual characters.
4043 if test -f "${ac_aux_dir}config.guess"; then
4044 ac_config_guess
="$SHELL ${ac_aux_dir}config.guess"
4046 if test -f "${ac_aux_dir}config.sub"; then
4047 ac_config_sub
="$SHELL ${ac_aux_dir}config.sub"
4049 if test -f "$ac_aux_dir/configure"; then
4050 ac_configure
="$SHELL ${ac_aux_dir}configure"
4053 # Check that the precious variables saved in the cache have kept the same
4055 ac_cache_corrupted
=false
4056 for ac_var
in $ac_precious_vars; do
4057 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
4058 eval ac_new_set
=\
$ac_env_${ac_var}_set
4059 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
4060 eval ac_new_val
=\
$ac_env_${ac_var}_value
4061 case $ac_old_set,$ac_new_set in
4063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4064 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4065 ac_cache_corrupted
=: ;;
4067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4068 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4069 ac_cache_corrupted
=: ;;
4072 if test "x$ac_old_val" != "x$ac_new_val"; then
4073 # differences in whitespace do not lead to failure.
4074 ac_old_val_w
=`echo x $ac_old_val`
4075 ac_new_val_w
=`echo x $ac_new_val`
4076 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4078 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4079 ac_cache_corrupted
=:
4081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4082 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4083 eval $ac_var=\
$ac_old_val
4085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4086 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4088 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4091 # Pass precious variables to config.status.
4092 if test "$ac_new_set" = set; then
4094 *\'*) ac_arg
=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4095 *) ac_arg
=$ac_var=$ac_new_val ;;
4097 case " $ac_configure_args " in
4098 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4099 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
4103 if $ac_cache_corrupted; then
4104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4105 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4107 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4108 as_fn_error $?
"run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4109 and start over" "$LINENO" 5
4111 ## -------------------- ##
4112 ## Main body of script. ##
4113 ## -------------------- ##
4116 ac_cpp
='$CPP $CPPFLAGS'
4117 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4118 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4119 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4123 ac_config_headers
="$ac_config_headers include/config.h"
4127 libwine_version
="1.0"
4130 # Check whether --enable-archs was given.
4131 if test ${enable_archs+y}
4133 enableval
=$enable_archs;
4136 # Check whether --enable-win16 was given.
4137 if test ${enable_win16+y}
4139 enableval
=$enable_win16;
4142 # Check whether --enable-win64 was given.
4143 if test ${enable_win64+y}
4145 enableval
=$enable_win64;
4148 # Check whether --enable-tests was given.
4149 if test ${enable_tests+y}
4151 enableval
=$enable_tests;
4154 # Check whether --enable-build-id was given.
4155 if test ${enable_build_id+y}
4157 enableval
=$enable_build_id;
4160 # Check whether --enable-maintainer-mode was given.
4161 if test ${enable_maintainer_mode+y}
4163 enableval
=$enable_maintainer_mode;
4166 # Check whether --enable-silent-rules was given.
4167 if test ${enable_silent_rules+y}
4169 enableval
=$enable_silent_rules;
4172 # Check whether --enable-werror was given.
4173 if test ${enable_werror+y}
4175 enableval
=$enable_werror;
4180 # Check whether --with-alsa was given.
4181 if test ${with_alsa+y}
4187 # Check whether --with-capi was given.
4188 if test ${with_capi+y}
4194 # Check whether --with-coreaudio was given.
4195 if test ${with_coreaudio+y}
4197 withval
=$with_coreaudio;
4201 # Check whether --with-cups was given.
4202 if test ${with_cups+y}
4208 # Check whether --with-dbus was given.
4209 if test ${with_dbus+y}
4215 # Check whether --with-float-abi was given.
4216 if test ${with_float_abi+y}
4218 withval
=$with_float_abi;
4222 # Check whether --with-fontconfig was given.
4223 if test ${with_fontconfig+y}
4225 withval
=$with_fontconfig;
4229 # Check whether --with-freetype was given.
4230 if test ${with_freetype+y}
4232 withval
=$with_freetype;
4236 # Check whether --with-gettext was given.
4237 if test ${with_gettext+y}
4239 withval
=$with_gettext;
4243 # Check whether --with-gettextpo was given.
4244 if test ${with_gettextpo+y}
4246 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
4250 # Check whether --with-gphoto was given.
4251 if test ${with_gphoto+y}
4253 withval
=$with_gphoto;
4257 # Check whether --with-gnutls was given.
4258 if test ${with_gnutls+y}
4260 withval
=$with_gnutls;
4264 # Check whether --with-gssapi was given.
4265 if test ${with_gssapi+y}
4267 withval
=$with_gssapi;
4271 # Check whether --with-gstreamer was given.
4272 if test ${with_gstreamer+y}
4274 withval
=$with_gstreamer;
4278 # Check whether --with-inotify was given.
4279 if test ${with_inotify+y}
4281 withval
=$with_inotify;
4285 # Check whether --with-krb5 was given.
4286 if test ${with_krb5+y}
4292 # Check whether --with-mingw was given.
4293 if test ${with_mingw+y}
4295 withval
=$with_mingw;
4299 # Check whether --with-netapi was given.
4300 if test ${with_netapi+y}
4302 withval
=$with_netapi;
4306 # Check whether --with-opencl was given.
4307 if test ${with_opencl+y}
4309 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
4313 # Check whether --with-opengl was given.
4314 if test ${with_opengl+y}
4316 withval
=$with_opengl;
4320 # Check whether --with-osmesa was given.
4321 if test ${with_osmesa+y}
4323 withval
=$with_osmesa;
4327 # Check whether --with-oss was given.
4328 if test ${with_oss+y}
4334 # Check whether --with-pcap was given.
4335 if test ${with_pcap+y}
4337 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
4341 # Check whether --with-pcsclite was given.
4342 if test ${with_pcsclite+y}
4344 withval
=$with_pcsclite;
4348 # Check whether --with-pthread was given.
4349 if test ${with_pthread+y}
4351 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
4355 # Check whether --with-pulse was given.
4356 if test ${with_pulse+y}
4358 withval
=$with_pulse;
4362 # Check whether --with-sane was given.
4363 if test ${with_sane+y}
4369 # Check whether --with-sdl was given.
4370 if test ${with_sdl+y}
4376 # Check whether --with-udev was given.
4377 if test ${with_udev+y}
4383 # Check whether --with-unwind was given.
4384 if test ${with_unwind+y}
4386 withval
=$with_unwind;
4390 # Check whether --with-usb was given.
4391 if test ${with_usb+y}
4397 # Check whether --with-v4l2 was given.
4398 if test ${with_v4l2+y}
4404 # Check whether --with-vulkan was given.
4405 if test ${with_vulkan+y}
4407 withval
=$with_vulkan;
4411 # Check whether --with-wayland was given.
4412 if test ${with_wayland+y}
4414 withval
=$with_wayland;
4418 # Check whether --with-xcomposite was given.
4419 if test ${with_xcomposite+y}
4421 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
4425 # Check whether --with-xcursor was given.
4426 if test ${with_xcursor+y}
4428 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
4432 # Check whether --with-xfixes was given.
4433 if test ${with_xfixes+y}
4435 withval
=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h
=no
; fi
4439 # Check whether --with-xinerama was given.
4440 if test ${with_xinerama+y}
4442 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
4446 # Check whether --with-xinput was given.
4447 if test ${with_xinput+y}
4449 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
4453 # Check whether --with-xinput2 was given.
4454 if test ${with_xinput2+y}
4456 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
4460 # Check whether --with-xrandr was given.
4461 if test ${with_xrandr+y}
4463 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
4467 # Check whether --with-xrender was given.
4468 if test ${with_xrender+y}
4470 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
4474 # Check whether --with-xshape was given.
4475 if test ${with_xshape+y}
4477 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
4481 # Check whether --with-xshm was given.
4482 if test ${with_xshm+y}
4484 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
4488 # Check whether --with-xxf86vm was given.
4489 if test ${with_xxf86vm+y}
4491 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
4496 # Check whether --with-system-dllpath was given.
4497 if test ${with_system_dllpath+y}
4499 withval
=$with_system_dllpath; system_dllpath
=$withval
4504 # Check whether --with-wine-tools was given.
4505 if test ${with_wine_tools+y}
4507 withval
=$with_wine_tools;
4511 # Check whether --with-wine64 was given.
4512 if test ${with_wine64+y}
4514 withval
=$with_wine64;
4521 # Make sure we can run config.sub.
4522 $SHELL "${ac_aux_dir}config.sub" sun4
>/dev
/null
2>&1 ||
4523 as_fn_error $?
"cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4526 printf %s
"checking build system type... " >&6; }
4527 if test ${ac_cv_build+y}
4529 printf %s
"(cached) " >&6
4531 ac_build_alias
=$build_alias
4532 test "x$ac_build_alias" = x
&&
4533 ac_build_alias
=`$SHELL "${ac_aux_dir}config.guess"`
4534 test "x$ac_build_alias" = x
&&
4535 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
4536 ac_cv_build
=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4537 as_fn_error $?
"$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4541 printf "%s\n" "$ac_cv_build" >&6; }
4542 case $ac_cv_build in
4544 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
4547 ac_save_IFS
=$IFS; IFS
='-'
4553 # Remember, the first character of IFS is used to create $*,
4554 # except with old shells:
4557 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
4560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4561 printf %s
"checking host system type... " >&6; }
4562 if test ${ac_cv_host+y}
4564 printf %s
"(cached) " >&6
4566 if test "x$host_alias" = x
; then
4567 ac_cv_host
=$ac_cv_build
4569 ac_cv_host
=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4570 as_fn_error $?
"$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4575 printf "%s\n" "$ac_cv_host" >&6; }
4578 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
4581 ac_save_IFS
=$IFS; IFS
='-'
4587 # Remember, the first character of IFS is used to create $*,
4588 # except with old shells:
4591 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4595 dlldir
=\
${libdir}/wine
4597 fontdir
=\
${datadir}/wine
/fonts
4599 nlsdir
=\
${datadir}/wine
/nls
4604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4605 printf %s
"checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4607 ac_make
=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4608 if eval test \
${ac_cv_prog_make_${ac_make}_set+y}
4610 printf %s
"(cached) " >&6
4612 cat >conftest.
make <<\_ACEOF
4615 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4617 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4618 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4620 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4622 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4626 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4628 printf "%s\n" "yes" >&6; }
4631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4632 printf "%s\n" "no" >&6; }
4633 SET_MAKE
="MAKE=${MAKE-make}"
4646 ac_cpp
='$CPP $CPPFLAGS'
4647 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4648 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4649 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4650 if test -n "$ac_tool_prefix"; then
4651 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4652 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4654 printf %s
"checking for $ac_word... " >&6; }
4655 if test ${ac_cv_prog_CC+y}
4657 printf %s
"(cached) " >&6
4659 if test -n "$CC"; then
4660 ac_cv_prog_CC
="$CC" # Let the user override the test.
4662 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4666 case $as_dir in #(((
4669 *) as_dir
=$as_dir/ ;;
4671 for ac_exec_ext
in '' $ac_executable_extensions; do
4672 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4673 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4674 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4684 if test -n "$CC"; then
4685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4686 printf "%s\n" "$CC" >&6; }
4688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4689 printf "%s\n" "no" >&6; }
4694 if test -z "$ac_cv_prog_CC"; then
4696 # Extract the first word of "gcc", so it can be a program name with args.
4697 set dummy gcc
; ac_word
=$2
4698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4699 printf %s
"checking for $ac_word... " >&6; }
4700 if test ${ac_cv_prog_ac_ct_CC+y}
4702 printf %s
"(cached) " >&6
4704 if test -n "$ac_ct_CC"; then
4705 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4707 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4711 case $as_dir in #(((
4714 *) as_dir
=$as_dir/ ;;
4716 for ac_exec_ext
in '' $ac_executable_extensions; do
4717 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4718 ac_cv_prog_ac_ct_CC
="gcc"
4719 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4728 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4729 if test -n "$ac_ct_CC"; then
4730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4731 printf "%s\n" "$ac_ct_CC" >&6; }
4733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4734 printf "%s\n" "no" >&6; }
4737 if test "x$ac_ct_CC" = x
; then
4740 case $cross_compiling:$ac_tool_warned in
4742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4743 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4744 ac_tool_warned
=yes ;;
4752 if test -z "$CC"; then
4753 if test -n "$ac_tool_prefix"; then
4754 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4755 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4757 printf %s
"checking for $ac_word... " >&6; }
4758 if test ${ac_cv_prog_CC+y}
4760 printf %s
"(cached) " >&6
4762 if test -n "$CC"; then
4763 ac_cv_prog_CC
="$CC" # Let the user override the test.
4765 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4769 case $as_dir in #(((
4772 *) as_dir
=$as_dir/ ;;
4774 for ac_exec_ext
in '' $ac_executable_extensions; do
4775 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4776 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4777 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4787 if test -n "$CC"; then
4788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4789 printf "%s\n" "$CC" >&6; }
4791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4792 printf "%s\n" "no" >&6; }
4798 if test -z "$CC"; then
4799 # Extract the first word of "cc", so it can be a program name with args.
4800 set dummy cc
; ac_word
=$2
4801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4802 printf %s
"checking for $ac_word... " >&6; }
4803 if test ${ac_cv_prog_CC+y}
4805 printf %s
"(cached) " >&6
4807 if test -n "$CC"; then
4808 ac_cv_prog_CC
="$CC" # Let the user override the test.
4811 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4815 case $as_dir in #(((
4818 *) as_dir
=$as_dir/ ;;
4820 for ac_exec_ext
in '' $ac_executable_extensions; do
4821 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4822 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4823 ac_prog_rejected
=yes
4827 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4834 if test $ac_prog_rejected = yes; then
4835 # We found a bogon in the path, so make sure we never use it.
4836 set dummy
$ac_cv_prog_CC
4838 if test $# != 0; then
4839 # We chose a different compiler from the bogus one.
4840 # However, it has the same basename, so the bogon will be chosen
4841 # first if we set CC to just the basename; use the full file name.
4843 ac_cv_prog_CC
="$as_dir$ac_word${1+' '}$@"
4849 if test -n "$CC"; then
4850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4851 printf "%s\n" "$CC" >&6; }
4853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4854 printf "%s\n" "no" >&6; }
4859 if test -z "$CC"; then
4860 if test -n "$ac_tool_prefix"; then
4861 for ac_prog
in cl.exe
4863 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4864 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4866 printf %s
"checking for $ac_word... " >&6; }
4867 if test ${ac_cv_prog_CC+y}
4869 printf %s
"(cached) " >&6
4871 if test -n "$CC"; then
4872 ac_cv_prog_CC
="$CC" # Let the user override the test.
4874 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4878 case $as_dir in #(((
4881 *) as_dir
=$as_dir/ ;;
4883 for ac_exec_ext
in '' $ac_executable_extensions; do
4884 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4885 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4886 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4896 if test -n "$CC"; then
4897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4898 printf "%s\n" "$CC" >&6; }
4900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4901 printf "%s\n" "no" >&6; }
4905 test -n "$CC" && break
4908 if test -z "$CC"; then
4910 for ac_prog
in cl.exe
4912 # Extract the first word of "$ac_prog", so it can be a program name with args.
4913 set dummy
$ac_prog; ac_word
=$2
4914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4915 printf %s
"checking for $ac_word... " >&6; }
4916 if test ${ac_cv_prog_ac_ct_CC+y}
4918 printf %s
"(cached) " >&6
4920 if test -n "$ac_ct_CC"; then
4921 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4923 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4927 case $as_dir in #(((
4930 *) as_dir
=$as_dir/ ;;
4932 for ac_exec_ext
in '' $ac_executable_extensions; do
4933 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4934 ac_cv_prog_ac_ct_CC
="$ac_prog"
4935 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4944 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4945 if test -n "$ac_ct_CC"; then
4946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4947 printf "%s\n" "$ac_ct_CC" >&6; }
4949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4950 printf "%s\n" "no" >&6; }
4954 test -n "$ac_ct_CC" && break
4957 if test "x$ac_ct_CC" = x
; then
4960 case $cross_compiling:$ac_tool_warned in
4962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4963 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4964 ac_tool_warned
=yes ;;
4971 if test -z "$CC"; then
4972 if test -n "$ac_tool_prefix"; then
4973 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4974 set dummy
${ac_tool_prefix}clang
; ac_word
=$2
4975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4976 printf %s
"checking for $ac_word... " >&6; }
4977 if test ${ac_cv_prog_CC+y}
4979 printf %s
"(cached) " >&6
4981 if test -n "$CC"; then
4982 ac_cv_prog_CC
="$CC" # Let the user override the test.
4984 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4988 case $as_dir in #(((
4991 *) as_dir
=$as_dir/ ;;
4993 for ac_exec_ext
in '' $ac_executable_extensions; do
4994 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4995 ac_cv_prog_CC
="${ac_tool_prefix}clang"
4996 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5006 if test -n "$CC"; then
5007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5008 printf "%s\n" "$CC" >&6; }
5010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5011 printf "%s\n" "no" >&6; }
5016 if test -z "$ac_cv_prog_CC"; then
5018 # Extract the first word of "clang", so it can be a program name with args.
5019 set dummy clang
; ac_word
=$2
5020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5021 printf %s
"checking for $ac_word... " >&6; }
5022 if test ${ac_cv_prog_ac_ct_CC+y}
5024 printf %s
"(cached) " >&6
5026 if test -n "$ac_ct_CC"; then
5027 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5029 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5033 case $as_dir in #(((
5036 *) as_dir
=$as_dir/ ;;
5038 for ac_exec_ext
in '' $ac_executable_extensions; do
5039 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
5040 ac_cv_prog_ac_ct_CC
="clang"
5041 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5050 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5051 if test -n "$ac_ct_CC"; then
5052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5053 printf "%s\n" "$ac_ct_CC" >&6; }
5055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5056 printf "%s\n" "no" >&6; }
5059 if test "x$ac_ct_CC" = x
; then
5062 case $cross_compiling:$ac_tool_warned in
5064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5065 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5066 ac_tool_warned
=yes ;;
5077 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5078 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5079 as_fn_error $?
"no acceptable C compiler found in \$PATH
5080 See \`config.log' for more details" "$LINENO" 5; }
5082 # Provide some information about the compiler.
5083 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5086 for ac_option
in --version -v -V -qversion -version; do
5087 { { ac_try
="$ac_compiler $ac_option >&5"
5089 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5090 *) ac_try_echo=$ac_try;;
5092 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5093 printf "%s\n" "$ac_try_echo"; } >&5
5094 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5096 if test -s conftest.err; then
5098 ... rest of stderr output deleted ...
5099 10q' conftest.err >conftest.er1
5100 cat conftest.er1 >&5
5102 rm -f conftest.er1 conftest.err
5103 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5104 test $ac_status = 0; }
5107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5108 /* end confdefs.h. */
5118 ac_clean_files_save=$ac_clean_files
5119 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5120 # Try to create an executable without -o first, disregard a.out.
5121 # It will help us diagnose broken compilers, and finding out an intuition
5123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5124 printf %s "checking whether the C compiler works... " >&6; }
5125 ac_link_default=`printf "%s\n" "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
5127 # The possible output files:
5128 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5131 for ac_file in $ac_files
5134 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5135 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5140 if { { ac_try="$ac_link_default"
5142 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5143 *) ac_try_echo
=$ac_try;;
5145 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5146 printf "%s\n" "$ac_try_echo"; } >&5
5147 (eval "$ac_link_default") 2>&5
5149 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5150 test $ac_status = 0; }
5152 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5153 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5154 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5155 # so that the user can short-circuit this test for compilers unknown to
5157 for ac_file
in $ac_files ''
5159 test -f "$ac_file" ||
continue
5161 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
5164 # We found the default executable, but exeext='' is most
5168 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no
;
5170 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
5172 # We set ac_cv_exeext here because the later test for it is not
5173 # safe: cross compilers may not add the suffix if given an `-o'
5174 # argument, so we may need to know it at that point already.
5175 # Even if this section looks crufty: it has the advantage of
5182 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
5187 if test -z "$ac_file"
5189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5190 printf "%s\n" "no" >&6; }
5191 printf "%s\n" "$as_me: failed program was:" >&5
5192 sed 's/^/| /' conftest.
$ac_ext >&5
5194 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5195 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5196 as_fn_error
77 "C compiler cannot create executables
5197 See \`config.log' for more details" "$LINENO" 5; }
5199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5200 printf "%s\n" "yes" >&6; }
5202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5203 printf %s
"checking for C compiler default output file name... " >&6; }
5204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5205 printf "%s\n" "$ac_file" >&6; }
5206 ac_exeext
=$ac_cv_exeext
5208 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
5209 ac_clean_files
=$ac_clean_files_save
5210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5211 printf %s
"checking for suffix of executables... " >&6; }
5212 if { { ac_try
="$ac_link"
5214 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5215 *) ac_try_echo=$ac_try;;
5217 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5218 printf "%s\n" "$ac_try_echo"; } >&5
5219 (eval "$ac_link") 2>&5
5221 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5222 test $ac_status = 0; }
5224 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
5225 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
5226 # work properly (i.e., refer to `conftest.exe'), while it won't with
5228 for ac_file
in conftest.exe conftest conftest.
*; do
5229 test -f "$ac_file" ||
continue
5231 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
5232 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
5238 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5239 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5240 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
5241 See \`config.log' for more details" "$LINENO" 5; }
5243 rm -f conftest conftest
$ac_cv_exeext
5244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5245 printf "%s\n" "$ac_cv_exeext" >&6; }
5247 rm -f conftest.
$ac_ext
5248 EXEEXT
=$ac_cv_exeext
5250 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5251 /* end confdefs.h. */
5256 FILE *f = fopen ("conftest.out", "w");
5257 return ferror (f) || fclose (f) != 0;
5263 ac_clean_files
="$ac_clean_files conftest.out"
5264 # Check that the compiler produces executables we can run. If not, either
5265 # the compiler is broken, or we cross compile.
5266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5267 printf %s
"checking whether we are cross compiling... " >&6; }
5268 if test "$cross_compiling" != yes; then
5269 { { ac_try
="$ac_link"
5271 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5272 *) ac_try_echo=$ac_try;;
5274 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5275 printf "%s\n" "$ac_try_echo"; } >&5
5276 (eval "$ac_link") 2>&5
5278 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5279 test $ac_status = 0; }
5280 if { ac_try='./conftest$ac_cv_exeext'
5281 { { case "(($ac_try" in
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_try") 2>&5
5289 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5290 test $ac_status = 0; }; }; then
5293 if test "$cross_compiling" = maybe
; then
5296 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5297 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5298 as_fn_error
77 "cannot run C compiled programs.
5299 If you meant to cross compile, use \`--host'.
5300 See \`config.log' for more details" "$LINENO" 5; }
5304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5305 printf "%s\n" "$cross_compiling" >&6; }
5307 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
5308 ac_clean_files
=$ac_clean_files_save
5309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5310 printf %s
"checking for suffix of object files... " >&6; }
5311 if test ${ac_cv_objext+y}
5313 printf %s
"(cached) " >&6
5315 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5316 /* end confdefs.h. */
5326 rm -f conftest.o conftest.obj
5327 if { { ac_try
="$ac_compile"
5329 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5330 *) ac_try_echo=$ac_try;;
5332 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5333 printf "%s\n" "$ac_try_echo"; } >&5
5334 (eval "$ac_compile") 2>&5
5336 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5337 test $ac_status = 0; }
5339 for ac_file in conftest.o conftest.obj conftest.*; do
5340 test -f "$ac_file" || continue;
5342 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5343 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5348 printf "%s\n" "$as_me: failed program was:" >&5
5349 sed 's/^/| /' conftest.$ac_ext >&5
5351 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5352 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5353 as_fn_error $? "cannot compute suffix of object files
: cannot compile
5354 See \
`config.log' for more details" "$LINENO" 5; }
5356 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5359 printf "%s\n" "$ac_cv_objext" >&6; }
5360 OBJEXT=$ac_cv_objext
5362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5363 printf %s "checking whether the compiler supports GNU C... " >&6; }
5364 if test ${ac_cv_c_compiler_gnu+y}
5366 printf %s "(cached) " >&6
5368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5369 /* end confdefs.h. */
5382 if ac_fn_c_try_compile "$LINENO"
5388 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5389 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5393 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5396 if test $ac_compiler_gnu = yes; then
5401 ac_test_CFLAGS=${CFLAGS+y}
5402 ac_save_CFLAGS=$CFLAGS
5403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5404 printf %s "checking whether $CC accepts -g... " >&6; }
5405 if test ${ac_cv_prog_cc_g+y}
5407 printf %s "(cached) " >&6
5409 ac_save_c_werror_flag=$ac_c_werror_flag
5410 ac_c_werror_flag=yes
5413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5414 /* end confdefs.h. */
5424 if ac_fn_c_try_compile "$LINENO"
5429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5430 /* end confdefs.h. */
5440 if ac_fn_c_try_compile "$LINENO"
5444 ac_c_werror_flag=$ac_save_c_werror_flag
5446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5447 /* end confdefs.h. */
5457 if ac_fn_c_try_compile "$LINENO"
5461 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5463 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5465 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5466 ac_c_werror_flag=$ac_save_c_werror_flag
5468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5469 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5470 if test $ac_test_CFLAGS; then
5471 CFLAGS=$ac_save_CFLAGS
5472 elif test $ac_cv_prog_cc_g = yes; then
5473 if test "$GCC" = yes; then
5479 if test "$GCC" = yes; then
5486 if test x$ac_prog_cc_stdc = xno
5488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5489 printf %s "checking for $CC option to enable C11 features... " >&6; }
5490 if test ${ac_cv_prog_cc_c11+y}
5492 printf %s "(cached) " >&6
5494 ac_cv_prog_cc_c11=no
5496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5497 /* end confdefs.h. */
5498 $ac_c_conftest_c11_program
5500 for ac_arg in '' -std=gnu11
5502 CC="$ac_save_CC $ac_arg"
5503 if ac_fn_c_try_compile "$LINENO"
5505 ac_cv_prog_cc_c11=$ac_arg
5507 rm -f core conftest.err conftest.$ac_objext conftest.beam
5508 test "x$ac_cv_prog_cc_c11" != "xno" && break
5510 rm -f conftest.$ac_ext
5514 if test "x$ac_cv_prog_cc_c11" = xno
5516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5517 printf "%s\n" "unsupported" >&6; }
5519 if test "x$ac_cv_prog_cc_c11" = x
5521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5522 printf "%s\n" "none needed" >&6; }
5524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5525 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5526 CC="$CC $ac_cv_prog_cc_c11"
5528 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5532 if test x$ac_prog_cc_stdc = xno
5534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5535 printf %s "checking for $CC option to enable C99 features... " >&6; }
5536 if test ${ac_cv_prog_cc_c99+y}
5538 printf %s "(cached) " >&6
5540 ac_cv_prog_cc_c99=no
5542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5543 /* end confdefs.h. */
5544 $ac_c_conftest_c99_program
5546 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5548 CC="$ac_save_CC $ac_arg"
5549 if ac_fn_c_try_compile "$LINENO"
5551 ac_cv_prog_cc_c99=$ac_arg
5553 rm -f core conftest.err conftest.$ac_objext conftest.beam
5554 test "x$ac_cv_prog_cc_c99" != "xno" && break
5556 rm -f conftest.$ac_ext
5560 if test "x$ac_cv_prog_cc_c99" = xno
5562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5563 printf "%s\n" "unsupported" >&6; }
5565 if test "x$ac_cv_prog_cc_c99" = x
5567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5568 printf "%s\n" "none needed" >&6; }
5570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5571 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5572 CC="$CC $ac_cv_prog_cc_c99"
5574 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5578 if test x$ac_prog_cc_stdc = xno
5580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5581 printf %s "checking for $CC option to enable C89 features... " >&6; }
5582 if test ${ac_cv_prog_cc_c89+y}
5584 printf %s "(cached) " >&6
5586 ac_cv_prog_cc_c89=no
5588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5589 /* end confdefs.h. */
5590 $ac_c_conftest_c89_program
5592 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5594 CC="$ac_save_CC $ac_arg"
5595 if ac_fn_c_try_compile "$LINENO"
5597 ac_cv_prog_cc_c89=$ac_arg
5599 rm -f core conftest.err conftest.$ac_objext conftest.beam
5600 test "x$ac_cv_prog_cc_c89" != "xno" && break
5602 rm -f conftest.$ac_ext
5606 if test "x$ac_cv_prog_cc_c89" = xno
5608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5609 printf "%s\n" "unsupported" >&6; }
5611 if test "x$ac_cv_prog_cc_c89" = x
5613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5614 printf "%s\n" "none needed" >&6; }
5616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5617 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5618 CC="$CC $ac_cv_prog_cc_c89"
5620 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5626 ac_cpp='$CPP $CPPFLAGS'
5627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5638 ac_cpp='$CXXCPP $CPPFLAGS'
5639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5642 if test -z "$CXX"; then
5643 if test -n "$CCC"; then
5646 if test -n "$ac_tool_prefix"; then
5647 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5649 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5650 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5652 printf %s "checking for $ac_word... " >&6; }
5653 if test ${ac_cv_prog_CXX+y}
5655 printf %s "(cached) " >&6
5657 if test -n "$CXX"; then
5658 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5664 case $as_dir in #(((
5667 *) as_dir=$as_dir/ ;;
5669 for ac_exec_ext in '' $ac_executable_extensions; do
5670 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5671 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5672 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5682 if test -n "$CXX"; then
5683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5684 printf "%s\n" "$CXX" >&6; }
5686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5687 printf "%s\n" "no" >&6; }
5691 test -n "$CXX" && break
5694 if test -z "$CXX"; then
5696 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5698 # Extract the first word of "$ac_prog", so it can be a program name with args.
5699 set dummy $ac_prog; ac_word=$2
5700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5701 printf %s "checking for $ac_word... " >&6; }
5702 if test ${ac_cv_prog_ac_ct_CXX+y}
5704 printf %s "(cached) " >&6
5706 if test -n "$ac_ct_CXX"; then
5707 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5713 case $as_dir in #(((
5716 *) as_dir=$as_dir/ ;;
5718 for ac_exec_ext in '' $ac_executable_extensions; do
5719 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5720 ac_cv_prog_ac_ct_CXX="$ac_prog"
5721 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5730 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5731 if test -n "$ac_ct_CXX"; then
5732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5733 printf "%s\n" "$ac_ct_CXX" >&6; }
5735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5736 printf "%s\n" "no" >&6; }
5740 test -n "$ac_ct_CXX" && break
5743 if test "x$ac_ct_CXX" = x; then
5746 case $cross_compiling:$ac_tool_warned in
5748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5749 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5750 ac_tool_warned=yes ;;
5758 # Provide some information about the compiler.
5759 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5762 for ac_option in --version -v -V -qversion; do
5763 { { ac_try="$ac_compiler $ac_option >&5"
5765 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5766 *) ac_try_echo
=$ac_try;;
5768 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5769 printf "%s\n" "$ac_try_echo"; } >&5
5770 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5772 if test -s conftest.err
; then
5774 ... rest of stderr output deleted ...
5775 10q' conftest.err
>conftest.er1
5776 cat conftest.er1
>&5
5778 rm -f conftest.er1 conftest.err
5779 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5780 test $ac_status = 0; }
5783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5784 printf %s
"checking whether the compiler supports GNU C++... " >&6; }
5785 if test ${ac_cv_cxx_compiler_gnu+y}
5787 printf %s
"(cached) " >&6
5789 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5790 /* end confdefs.h. */
5803 if ac_fn_cxx_try_compile
"$LINENO"
5809 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5810 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5814 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5815 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5817 if test $ac_compiler_gnu = yes; then
5822 ac_test_CXXFLAGS
=${CXXFLAGS+y}
5823 ac_save_CXXFLAGS
=$CXXFLAGS
5824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5825 printf %s
"checking whether $CXX accepts -g... " >&6; }
5826 if test ${ac_cv_prog_cxx_g+y}
5828 printf %s
"(cached) " >&6
5830 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5831 ac_cxx_werror_flag
=yes
5834 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5835 /* end confdefs.h. */
5845 if ac_fn_cxx_try_compile
"$LINENO"
5847 ac_cv_prog_cxx_g
=yes
5850 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5851 /* end confdefs.h. */
5861 if ac_fn_cxx_try_compile
"$LINENO"
5865 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5867 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5868 /* end confdefs.h. */
5878 if ac_fn_cxx_try_compile
"$LINENO"
5880 ac_cv_prog_cxx_g
=yes
5882 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5884 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5886 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5887 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5890 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5891 if test $ac_test_CXXFLAGS; then
5892 CXXFLAGS
=$ac_save_CXXFLAGS
5893 elif test $ac_cv_prog_cxx_g = yes; then
5894 if test "$GXX" = yes; then
5900 if test "$GXX" = yes; then
5906 ac_prog_cxx_stdcxx
=no
5907 if test x
$ac_prog_cxx_stdcxx = xno
5909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5910 printf %s
"checking for $CXX option to enable C++11 features... " >&6; }
5911 if test ${ac_cv_prog_cxx_cxx11+y}
5913 printf %s
"(cached) " >&6
5915 ac_cv_prog_cxx_cxx11
=no
5917 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5918 /* end confdefs.h. */
5919 $ac_cxx_conftest_cxx11_program
5921 for ac_arg
in '' -std=gnu
++11 -std=gnu
++0x
-std=c
++11 -std=c
++0x
-qlanglvl=extended0x
-AA
5923 CXX
="$ac_save_CXX $ac_arg"
5924 if ac_fn_cxx_try_compile
"$LINENO"
5926 ac_cv_prog_cxx_cxx11
=$ac_arg
5928 rm -f core conftest.err conftest.
$ac_objext conftest.beam
5929 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5931 rm -f conftest.
$ac_ext
5935 if test "x$ac_cv_prog_cxx_cxx11" = xno
5937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5938 printf "%s\n" "unsupported" >&6; }
5940 if test "x$ac_cv_prog_cxx_cxx11" = x
5942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5943 printf "%s\n" "none needed" >&6; }
5945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5946 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5947 CXX
="$CXX $ac_cv_prog_cxx_cxx11"
5949 ac_cv_prog_cxx_stdcxx
=$ac_cv_prog_cxx_cxx11
5950 ac_prog_cxx_stdcxx
=cxx11
5953 if test x
$ac_prog_cxx_stdcxx = xno
5955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5956 printf %s
"checking for $CXX option to enable C++98 features... " >&6; }
5957 if test ${ac_cv_prog_cxx_cxx98+y}
5959 printf %s
"(cached) " >&6
5961 ac_cv_prog_cxx_cxx98
=no
5963 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5964 /* end confdefs.h. */
5965 $ac_cxx_conftest_cxx98_program
5967 for ac_arg
in '' -std=gnu
++98 -std=c
++98 -qlanglvl=extended
-AA
5969 CXX
="$ac_save_CXX $ac_arg"
5970 if ac_fn_cxx_try_compile
"$LINENO"
5972 ac_cv_prog_cxx_cxx98
=$ac_arg
5974 rm -f core conftest.err conftest.
$ac_objext conftest.beam
5975 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
5977 rm -f conftest.
$ac_ext
5981 if test "x$ac_cv_prog_cxx_cxx98" = xno
5983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5984 printf "%s\n" "unsupported" >&6; }
5986 if test "x$ac_cv_prog_cxx_cxx98" = x
5988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5989 printf "%s\n" "none needed" >&6; }
5991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
5992 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
5993 CXX
="$CXX $ac_cv_prog_cxx_cxx98"
5995 ac_cv_prog_cxx_stdcxx
=$ac_cv_prog_cxx_cxx98
5996 ac_prog_cxx_stdcxx
=cxx98
6001 ac_cpp
='$CPP $CPPFLAGS'
6002 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6003 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6004 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6006 if test -n "$ac_tool_prefix"; then
6007 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
6008 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
6009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6010 printf %s
"checking for $ac_word... " >&6; }
6011 if test ${ac_cv_prog_CPPBIN+y}
6013 printf %s
"(cached) " >&6
6015 if test -n "$CPPBIN"; then
6016 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
6018 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6022 case $as_dir in #(((
6025 *) as_dir
=$as_dir/ ;;
6027 for ac_exec_ext
in '' $ac_executable_extensions; do
6028 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6029 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
6030 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6039 CPPBIN
=$ac_cv_prog_CPPBIN
6040 if test -n "$CPPBIN"; then
6041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6042 printf "%s\n" "$CPPBIN" >&6; }
6044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6045 printf "%s\n" "no" >&6; }
6050 if test -z "$ac_cv_prog_CPPBIN"; then
6051 ac_ct_CPPBIN
=$CPPBIN
6052 # Extract the first word of "cpp", so it can be a program name with args.
6053 set dummy cpp
; ac_word
=$2
6054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6055 printf %s
"checking for $ac_word... " >&6; }
6056 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6058 printf %s
"(cached) " >&6
6060 if test -n "$ac_ct_CPPBIN"; then
6061 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
6063 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6067 case $as_dir in #(((
6070 *) as_dir
=$as_dir/ ;;
6072 for ac_exec_ext
in '' $ac_executable_extensions; do
6073 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6074 ac_cv_prog_ac_ct_CPPBIN
="cpp"
6075 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6084 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
6085 if test -n "$ac_ct_CPPBIN"; then
6086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6087 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6090 printf "%s\n" "no" >&6; }
6093 if test "x$ac_ct_CPPBIN" = x
; then
6096 case $cross_compiling:$ac_tool_warned in
6098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6099 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6100 ac_tool_warned
=yes ;;
6102 CPPBIN
=$ac_ct_CPPBIN
6105 CPPBIN
="$ac_cv_prog_CPPBIN"
6109 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6111 if test -n "$ac_tool_prefix"; then
6112 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6113 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
6114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6115 printf %s
"checking for $ac_word... " >&6; }
6116 if test ${ac_cv_prog_LD+y}
6118 printf %s
"(cached) " >&6
6120 if test -n "$LD"; then
6121 ac_cv_prog_LD
="$LD" # Let the user override the test.
6123 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6127 case $as_dir in #(((
6130 *) as_dir
=$as_dir/ ;;
6132 for ac_exec_ext
in '' $ac_executable_extensions; do
6133 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6134 ac_cv_prog_LD
="${ac_tool_prefix}ld"
6135 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6145 if test -n "$LD"; then
6146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6147 printf "%s\n" "$LD" >&6; }
6149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6150 printf "%s\n" "no" >&6; }
6155 if test -z "$ac_cv_prog_LD"; then
6157 # Extract the first word of "ld", so it can be a program name with args.
6158 set dummy ld
; ac_word
=$2
6159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6160 printf %s
"checking for $ac_word... " >&6; }
6161 if test ${ac_cv_prog_ac_ct_LD+y}
6163 printf %s
"(cached) " >&6
6165 if test -n "$ac_ct_LD"; then
6166 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
6168 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6172 case $as_dir in #(((
6175 *) as_dir
=$as_dir/ ;;
6177 for ac_exec_ext
in '' $ac_executable_extensions; do
6178 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6179 ac_cv_prog_ac_ct_LD
="ld"
6180 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6189 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
6190 if test -n "$ac_ct_LD"; then
6191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6192 printf "%s\n" "$ac_ct_LD" >&6; }
6194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6195 printf "%s\n" "no" >&6; }
6198 if test "x$ac_ct_LD" = x
; then
6201 case $cross_compiling:$ac_tool_warned in
6203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6204 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6205 ac_tool_warned
=yes ;;
6216 with_fontconfig
=${with_fontconfig:-no}
6218 *-mingw32*|
*-cygwin*)
6219 enable_win16
=${enable_win16:-no}
6220 with_mingw
=${with_mingw:-no}
6227 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x
"$enable_archs" = x
6232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6233 printf %s
"checking whether $CC works... " >&6; }
6234 if test ${wine_cv_cc_m32+y}
6236 printf %s
"(cached) " >&6
6238 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6239 /* end confdefs.h. */
6249 if ac_fn_c_try_link
"$LINENO"
6255 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6256 conftest
$ac_exeext conftest.
$ac_ext
6258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6259 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6260 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
6262 notice_platform
="32-bit "
6263 TARGETFLAGS
="$TARGETFLAGS -m32"
6264 PKG_CONFIG_LIBDIR
=${PKG_CONFIG_LIBDIR:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6265 export PKG_CONFIG_LIBDIR
6266 with_unwind
=${with_unwind:-no}
6268 if test "x${GCC}" = "xyes"
6270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6271 printf %s
"checking whether $CC supports __builtin_ms_va_list... " >&6; }
6272 if test ${wine_cv_builtin_ms_va_list+y}
6274 printf %s
"(cached) " >&6
6276 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6277 /* end confdefs.h. */
6282 void func(__builtin_ms_va_list *args);
6287 if ac_fn_c_try_compile
"$LINENO"
6289 wine_cv_builtin_ms_va_list
=yes
6291 wine_cv_builtin_ms_va_list
=no
6293 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6296 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6297 test $wine_cv_builtin_ms_va_list != no || as_fn_error $?
"You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
6302 notice_platform
="64-bit "
6303 TARGETFLAGS
="$TARGETFLAGS -m64"
6307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6308 printf %s
"checking whether $CC supports Thumb-2... " >&6; }
6309 if test ${wine_cv_thumb2+y}
6311 printf %s
"(cached) " >&6
6313 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6314 /* end confdefs.h. */
6319 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6324 if ac_fn_c_try_link
"$LINENO"
6330 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6331 conftest
$ac_exeext conftest.
$ac_ext
6333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6334 printf "%s\n" "$wine_cv_thumb2" >&6; }
6335 if test x
"$wine_cv_thumb2" = xyes
6337 CFLAGS
="$CFLAGS -mthumb"
6338 TARGETFLAGS
="$TARGETFLAGS -mthumb"
6340 CFLAGS
="$CFLAGS -marm"
6341 TARGETFLAGS
="$TARGETFLAGS -marm"
6343 case $with_float_abi in
6345 float_abi
=$with_float_abi ;;
6352 saved_CFLAGS
=$CFLAGS
6353 CFLAGS
="$CFLAGS -mfloat-abi=$float_abi"
6354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6355 printf %s
"checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6356 if test ${wine_cv_float_abi+y}
6358 printf %s
"(cached) " >&6
6360 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6361 /* end confdefs.h. */
6366 asm("vmrs r2,fpscr");
6371 if ac_fn_c_try_link
"$LINENO"
6373 wine_cv_float_abi
=yes
6375 wine_cv_float_abi
=no
6377 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6378 conftest
$ac_exeext conftest.
$ac_ext
6380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6381 printf "%s\n" "$wine_cv_float_abi" >&6; }
6382 if test $wine_cv_float_abi = no
6385 as_fn_append wine_warnings
"|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6387 CFLAGS
=$saved_CFLAGS
6391 CFLAGS
="$CFLAGS -mfloat-abi=$float_abi"
6392 TARGETFLAGS
="$TARGETFLAGS -mfloat-abi=$float_abi"
6395 with_unwind
=${with_unwind:-no}
6399 enable_win16
=${enable_win16:-i386}
6400 enable_win64
=${enable_win64:-no}
6401 enable_wow64
=${enable_wow64:-aarch64,x86_64}
6402 enable_wow64win
=${enable_wow64win:-aarch64,x86_64}
6403 enable_wow64cpu
=${enable_wow64cpu:-x86_64}
6405 enable_winetest
=${enable_winetest:-$enable_tests}
6407 if test "x$enable_win64" = "xyes"
6409 test -z "$with_wine64" || as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
6410 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6414 cygwin
*|mingw32
*) toolsext
=".exe"
6422 aarch64
*) HOST_ARCH
=aarch64
;;
6423 arm
*) HOST_ARCH
=arm
;;
6424 i
[3456789]86*) HOST_ARCH
=i386
;;
6425 x86_64
) HOST_ARCH
=x86_64
;;
6429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6430 printf %s
"checking for the directory containing the Wine tools... " >&6; }
6431 if test ${wine_cv_toolsdir+y}
6433 printf %s
"(cached) " >&6
6435 wine_cv_toolsdir
="$with_wine_tools"
6436 if test -z "$with_wine_tools"; then
6437 if test "$cross_compiling" = "yes"; then
6438 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6439 elif test -n "$with_wine64"; then
6440 wine_cv_toolsdir
="$with_wine64"
6444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6445 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6446 if test -z "$wine_cv_toolsdir"; then
6447 wine_makedep
=tools
/makedep
$toolsext
6448 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6449 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
$toolsext
6450 enable_tools
=${enable_tools:-no}
6451 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6453 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6455 toolsdir
=$wine_cv_toolsdir
6457 MAKEDEP
=$wine_makedep
6459 RUNTESTFLAGS
="-q -P wine"
6461 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'"
6464 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6466 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
6471 # Extract the first word of "$ac_prog", so it can be a program name with args.
6472 set dummy
$ac_prog; ac_word
=$2
6473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6474 printf %s
"checking for $ac_word... " >&6; }
6475 if test ${ac_cv_prog_FLEX+y}
6477 printf %s
"(cached) " >&6
6479 if test -n "$FLEX"; then
6480 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
6482 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6486 case $as_dir in #(((
6489 *) as_dir
=$as_dir/ ;;
6491 for ac_exec_ext
in '' $ac_executable_extensions; do
6492 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6493 ac_cv_prog_FLEX
="$ac_prog"
6494 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6503 FLEX
=$ac_cv_prog_FLEX
6504 if test -n "$FLEX"; then
6505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6506 printf "%s\n" "$FLEX" >&6; }
6508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6509 printf "%s\n" "no" >&6; }
6513 test -n "$FLEX" && break
6515 test -n "$FLEX" || FLEX
="none"
6517 if test "$FLEX" = "none"
6519 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6522 printf %s
"checking whether flex is recent enough... " >&6; }
6523 if test ${wine_cv_recent_flex+y}
6525 printf %s
"(cached) " >&6
6527 cat >conftest.l
<<EOF
6529 #include "prediluvian.h"
6533 if $FLEX -t conftest.l
>/dev
/null
2>&5
6535 wine_cv_recent_flex
=yes
6537 wine_cv_recent_flex
=no
6540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6541 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6542 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
6544 for ac_prog
in bison
6546 # Extract the first word of "$ac_prog", so it can be a program name with args.
6547 set dummy
$ac_prog; ac_word
=$2
6548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6549 printf %s
"checking for $ac_word... " >&6; }
6550 if test ${ac_cv_prog_BISON+y}
6552 printf %s
"(cached) " >&6
6554 if test -n "$BISON"; then
6555 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
6557 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6561 case $as_dir in #(((
6564 *) as_dir
=$as_dir/ ;;
6566 for ac_exec_ext
in '' $ac_executable_extensions; do
6567 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6568 ac_cv_prog_BISON
="$ac_prog"
6569 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6578 BISON
=$ac_cv_prog_BISON
6579 if test -n "$BISON"; then
6580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6581 printf "%s\n" "$BISON" >&6; }
6583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6584 printf "%s\n" "no" >&6; }
6588 test -n "$BISON" && break
6590 test -n "$BISON" || BISON
="none"
6592 if test "$BISON" = "none"
6594 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6597 printf %s
"checking whether bison is recent enough... " >&6; }
6598 if test ${wine_cv_recent_bison+y}
6600 printf %s
"(cached) " >&6
6602 cat >conftest.y
<<EOF
6603 %define parse.error verbose
6607 if $BISON conftest.y
>/dev
/null
2>&5
6609 wine_cv_recent_bison
=yes
6611 wine_cv_recent_bison
=no
6614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6615 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6616 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
6618 if test -n "$ac_tool_prefix"; then
6619 for ac_prog
in ar gar
6621 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6622 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6624 printf %s
"checking for $ac_word... " >&6; }
6625 if test ${ac_cv_prog_AR+y}
6627 printf %s
"(cached) " >&6
6629 if test -n "$AR"; then
6630 ac_cv_prog_AR
="$AR" # Let the user override the test.
6632 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6636 case $as_dir in #(((
6639 *) as_dir
=$as_dir/ ;;
6641 for ac_exec_ext
in '' $ac_executable_extensions; do
6642 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6643 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
6644 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6654 if test -n "$AR"; then
6655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6656 printf "%s\n" "$AR" >&6; }
6658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6659 printf "%s\n" "no" >&6; }
6663 test -n "$AR" && break
6666 if test -z "$AR"; then
6668 for ac_prog
in ar gar
6670 # Extract the first word of "$ac_prog", so it can be a program name with args.
6671 set dummy
$ac_prog; ac_word
=$2
6672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6673 printf %s
"checking for $ac_word... " >&6; }
6674 if test ${ac_cv_prog_ac_ct_AR+y}
6676 printf %s
"(cached) " >&6
6678 if test -n "$ac_ct_AR"; then
6679 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6681 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6685 case $as_dir in #(((
6688 *) as_dir
=$as_dir/ ;;
6690 for ac_exec_ext
in '' $ac_executable_extensions; do
6691 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6692 ac_cv_prog_ac_ct_AR
="$ac_prog"
6693 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6702 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6703 if test -n "$ac_ct_AR"; then
6704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6705 printf "%s\n" "$ac_ct_AR" >&6; }
6707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6708 printf "%s\n" "no" >&6; }
6712 test -n "$ac_ct_AR" && break
6715 if test "x$ac_ct_AR" = x
; then
6718 case $cross_compiling:$ac_tool_warned in
6720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6721 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6722 ac_tool_warned
=yes ;;
6728 if test -n "$ac_tool_prefix"; then
6729 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6730 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6732 printf %s
"checking for $ac_word... " >&6; }
6733 if test ${ac_cv_prog_STRIP+y}
6735 printf %s
"(cached) " >&6
6737 if test -n "$STRIP"; then
6738 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6740 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6744 case $as_dir in #(((
6747 *) as_dir
=$as_dir/ ;;
6749 for ac_exec_ext
in '' $ac_executable_extensions; do
6750 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6751 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6752 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6761 STRIP
=$ac_cv_prog_STRIP
6762 if test -n "$STRIP"; then
6763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6764 printf "%s\n" "$STRIP" >&6; }
6766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6767 printf "%s\n" "no" >&6; }
6772 if test -z "$ac_cv_prog_STRIP"; then
6774 # Extract the first word of "strip", so it can be a program name with args.
6775 set dummy strip
; ac_word
=$2
6776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6777 printf %s
"checking for $ac_word... " >&6; }
6778 if test ${ac_cv_prog_ac_ct_STRIP+y}
6780 printf %s
"(cached) " >&6
6782 if test -n "$ac_ct_STRIP"; then
6783 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6785 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6789 case $as_dir in #(((
6792 *) as_dir
=$as_dir/ ;;
6794 for ac_exec_ext
in '' $ac_executable_extensions; do
6795 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6796 ac_cv_prog_ac_ct_STRIP
="strip"
6797 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6806 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6807 if test -n "$ac_ct_STRIP"; then
6808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6809 printf "%s\n" "$ac_ct_STRIP" >&6; }
6811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6812 printf "%s\n" "no" >&6; }
6815 if test "x$ac_ct_STRIP" = x
; then
6818 case $cross_compiling:$ac_tool_warned in
6820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6821 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6822 ac_tool_warned
=yes ;;
6827 STRIP
="$ac_cv_prog_STRIP"
6830 if test -n "$ac_tool_prefix"; then
6831 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6832 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6834 printf %s
"checking for $ac_word... " >&6; }
6835 if test ${ac_cv_prog_RANLIB+y}
6837 printf %s
"(cached) " >&6
6839 if test -n "$RANLIB"; then
6840 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6842 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6846 case $as_dir in #(((
6849 *) as_dir
=$as_dir/ ;;
6851 for ac_exec_ext
in '' $ac_executable_extensions; do
6852 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6853 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6854 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6863 RANLIB
=$ac_cv_prog_RANLIB
6864 if test -n "$RANLIB"; then
6865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6866 printf "%s\n" "$RANLIB" >&6; }
6868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6869 printf "%s\n" "no" >&6; }
6874 if test -z "$ac_cv_prog_RANLIB"; then
6875 ac_ct_RANLIB
=$RANLIB
6876 # Extract the first word of "ranlib", so it can be a program name with args.
6877 set dummy ranlib
; ac_word
=$2
6878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6879 printf %s
"checking for $ac_word... " >&6; }
6880 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6882 printf %s
"(cached) " >&6
6884 if test -n "$ac_ct_RANLIB"; then
6885 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6887 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6891 case $as_dir in #(((
6894 *) as_dir
=$as_dir/ ;;
6896 for ac_exec_ext
in '' $ac_executable_extensions; do
6897 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6898 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6899 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6908 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6909 if test -n "$ac_ct_RANLIB"; then
6910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6911 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6914 printf "%s\n" "no" >&6; }
6917 if test "x$ac_ct_RANLIB" = x
; then
6920 case $cross_compiling:$ac_tool_warned in
6922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6923 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6924 ac_tool_warned
=yes ;;
6926 RANLIB
=$ac_ct_RANLIB
6929 RANLIB
="$ac_cv_prog_RANLIB"
6932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6933 printf %s
"checking whether ln -s works... " >&6; }
6935 if test "$LN_S" = "ln -s"; then
6936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6937 printf "%s\n" "yes" >&6; }
6939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6940 printf "%s\n" "no, using $LN_S" >&6; }
6943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6944 printf %s
"checking for grep that handles long lines and -e... " >&6; }
6945 if test ${ac_cv_path_GREP+y}
6947 printf %s
"(cached) " >&6
6949 if test -z "$GREP"; then
6950 ac_path_GREP_found
=false
6951 # Loop through the user's path and test for each of PROGNAME-LIST
6952 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6953 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6956 case $as_dir in #(((
6959 *) as_dir
=$as_dir/ ;;
6961 for ac_prog
in grep ggrep
6963 for ac_exec_ext
in '' $ac_executable_extensions; do
6964 ac_path_GREP
="$as_dir$ac_prog$ac_exec_ext"
6965 as_fn_executable_p
"$ac_path_GREP" ||
continue
6966 # Check for GNU ac_path_GREP and select it if it is found.
6967 # Check for GNU $ac_path_GREP
6968 case `"$ac_path_GREP" --version 2>&1` in
6970 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6973 printf %s
0123456789 >"conftest.in"
6976 cat "conftest.in" "conftest.in" >"conftest.tmp"
6977 mv "conftest.tmp" "conftest.in"
6978 cp "conftest.in" "conftest.nl"
6979 printf "%s\n" 'GREP' >> "conftest.nl"
6980 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6981 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6982 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6983 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6984 # Best one so far, save it but keep looking for a better one
6985 ac_cv_path_GREP
="$ac_path_GREP"
6986 ac_path_GREP_max
=$ac_count
6988 # 10*(2^10) chars as input seems more than enough
6989 test $ac_count -gt 10 && break
6991 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6994 $ac_path_GREP_found && break 3
6999 if test -z "$ac_cv_path_GREP"; then
7000 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7003 ac_cv_path_GREP
=$GREP
7007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7008 printf "%s\n" "$ac_cv_path_GREP" >&6; }
7009 GREP
="$ac_cv_path_GREP"
7012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7013 printf %s
"checking for egrep... " >&6; }
7014 if test ${ac_cv_path_EGREP+y}
7016 printf %s
"(cached) " >&6
7018 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
7019 then ac_cv_path_EGREP
="$GREP -E"
7021 if test -z "$EGREP"; then
7022 ac_path_EGREP_found
=false
7023 # Loop through the user's path and test for each of PROGNAME-LIST
7024 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7025 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7028 case $as_dir in #(((
7031 *) as_dir
=$as_dir/ ;;
7033 for ac_prog
in egrep
7035 for ac_exec_ext
in '' $ac_executable_extensions; do
7036 ac_path_EGREP
="$as_dir$ac_prog$ac_exec_ext"
7037 as_fn_executable_p
"$ac_path_EGREP" ||
continue
7038 # Check for GNU ac_path_EGREP and select it if it is found.
7039 # Check for GNU $ac_path_EGREP
7040 case `"$ac_path_EGREP" --version 2>&1` in
7042 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
7045 printf %s
0123456789 >"conftest.in"
7048 cat "conftest.in" "conftest.in" >"conftest.tmp"
7049 mv "conftest.tmp" "conftest.in"
7050 cp "conftest.in" "conftest.nl"
7051 printf "%s\n" 'EGREP' >> "conftest.nl"
7052 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7053 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7054 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7055 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7056 # Best one so far, save it but keep looking for a better one
7057 ac_cv_path_EGREP
="$ac_path_EGREP"
7058 ac_path_EGREP_max
=$ac_count
7060 # 10*(2^10) chars as input seems more than enough
7061 test $ac_count -gt 10 && break
7063 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7066 $ac_path_EGREP_found && break 3
7071 if test -z "$ac_cv_path_EGREP"; then
7072 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7075 ac_cv_path_EGREP
=$EGREP
7080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7081 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7082 EGREP
="$ac_cv_path_EGREP"
7085 # Extract the first word of "ldconfig", so it can be a program name with args.
7086 set dummy ldconfig
; ac_word
=$2
7087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7088 printf %s
"checking for $ac_word... " >&6; }
7089 if test ${ac_cv_path_LDCONFIG+y}
7091 printf %s
"(cached) " >&6
7095 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
7098 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7099 for as_dir
in /sbin
/usr
/sbin
$PATH
7102 case $as_dir in #(((
7105 *) as_dir
=$as_dir/ ;;
7107 for ac_exec_ext
in '' $ac_executable_extensions; do
7108 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7109 ac_cv_path_LDCONFIG
="$as_dir$ac_word$ac_exec_ext"
7110 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7117 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
7121 LDCONFIG
=$ac_cv_path_LDCONFIG
7122 if test -n "$LDCONFIG"; then
7123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7124 printf "%s\n" "$LDCONFIG" >&6; }
7126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7127 printf "%s\n" "no" >&6; }
7131 for ac_prog
in msgfmt
7133 # Extract the first word of "$ac_prog", so it can be a program name with args.
7134 set dummy
$ac_prog; ac_word
=$2
7135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7136 printf %s
"checking for $ac_word... " >&6; }
7137 if test ${ac_cv_prog_MSGFMT+y}
7139 printf %s
"(cached) " >&6
7141 if test -n "$MSGFMT"; then
7142 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
7144 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7148 case $as_dir in #(((
7151 *) as_dir
=$as_dir/ ;;
7153 for ac_exec_ext
in '' $ac_executable_extensions; do
7154 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7155 ac_cv_prog_MSGFMT
="$ac_prog"
7156 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7165 MSGFMT
=$ac_cv_prog_MSGFMT
7166 if test -n "$MSGFMT"; then
7167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7168 printf "%s\n" "$MSGFMT" >&6; }
7170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7171 printf "%s\n" "no" >&6; }
7175 test -n "$MSGFMT" && break
7177 test -n "$MSGFMT" || MSGFMT
="false"
7179 if test ${ac_tool_prefix+y}
7181 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7182 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
7183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7184 printf %s
"checking for $ac_word... " >&6; }
7185 if test ${ac_cv_prog_PKG_CONFIG+y}
7187 printf %s
"(cached) " >&6
7189 if test -n "$PKG_CONFIG"; then
7190 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
7192 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7196 case $as_dir in #(((
7199 *) as_dir
=$as_dir/ ;;
7201 for ac_exec_ext
in '' $ac_executable_extensions; do
7202 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7203 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
7204 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7213 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7214 if test -n "$PKG_CONFIG"; then
7215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7216 printf "%s\n" "$PKG_CONFIG" >&6; }
7218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7219 printf "%s\n" "no" >&6; }
7224 if ${ac_cv_prog_PKG_CONFIG:+false} :
7226 if test "x$cross_compiling" = xyes
7230 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
7231 # Extract the first word of "pkg-config", so it can be a program name with args.
7232 set dummy pkg-config
; ac_word
=$2
7233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7234 printf %s
"checking for $ac_word... " >&6; }
7235 if test ${ac_cv_prog_PKG_CONFIG+y}
7237 printf %s
"(cached) " >&6
7239 if test -n "$PKG_CONFIG"; then
7240 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
7242 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7246 case $as_dir in #(((
7249 *) as_dir
=$as_dir/ ;;
7251 for ac_exec_ext
in '' $ac_executable_extensions; do
7252 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7253 ac_cv_prog_PKG_CONFIG
="pkg-config"
7254 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7263 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7264 if test -n "$PKG_CONFIG"; then
7265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7266 printf "%s\n" "$PKG_CONFIG" >&6; }
7268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7269 printf "%s\n" "no" >&6; }
7275 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7278 if test "x$enable_maintainer_mode" != "xyes"
7285 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
7286 for ac_prog
in fontforge
7288 # Extract the first word of "$ac_prog", so it can be a program name with args.
7289 set dummy
$ac_prog; ac_word
=$2
7290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7291 printf %s
"checking for $ac_word... " >&6; }
7292 if test ${ac_cv_prog_FONTFORGE+y}
7294 printf %s
"(cached) " >&6
7296 if test -n "$FONTFORGE"; then
7297 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
7299 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7303 case $as_dir in #(((
7306 *) as_dir
=$as_dir/ ;;
7308 for ac_exec_ext
in '' $ac_executable_extensions; do
7309 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7310 ac_cv_prog_FONTFORGE
="$ac_prog"
7311 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7320 FONTFORGE
=$ac_cv_prog_FONTFORGE
7321 if test -n "$FONTFORGE"; then
7322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7323 printf "%s\n" "$FONTFORGE" >&6; }
7325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7326 printf "%s\n" "no" >&6; }
7330 test -n "$FONTFORGE" && break
7332 test -n "$FONTFORGE" || FONTFORGE
="false"
7334 for ac_prog
in rsvg-convert rsvg
7336 # Extract the first word of "$ac_prog", so it can be a program name with args.
7337 set dummy
$ac_prog; ac_word
=$2
7338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7339 printf %s
"checking for $ac_word... " >&6; }
7340 if test ${ac_cv_prog_RSVG+y}
7342 printf %s
"(cached) " >&6
7344 if test -n "$RSVG"; then
7345 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
7347 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7351 case $as_dir in #(((
7354 *) as_dir
=$as_dir/ ;;
7356 for ac_exec_ext
in '' $ac_executable_extensions; do
7357 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7358 ac_cv_prog_RSVG
="$ac_prog"
7359 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7368 RSVG
=$ac_cv_prog_RSVG
7369 if test -n "$RSVG"; then
7370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7371 printf "%s\n" "$RSVG" >&6; }
7373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7374 printf "%s\n" "no" >&6; }
7378 test -n "$RSVG" && break
7380 test -n "$RSVG" || RSVG
="false"
7382 for ac_prog
in convert
7384 # Extract the first word of "$ac_prog", so it can be a program name with args.
7385 set dummy
$ac_prog; ac_word
=$2
7386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7387 printf %s
"checking for $ac_word... " >&6; }
7388 if test ${ac_cv_prog_CONVERT+y}
7390 printf %s
"(cached) " >&6
7392 if test -n "$CONVERT"; then
7393 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
7395 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7399 case $as_dir in #(((
7402 *) as_dir
=$as_dir/ ;;
7404 for ac_exec_ext
in '' $ac_executable_extensions; do
7405 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7406 ac_cv_prog_CONVERT
="$ac_prog"
7407 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7416 CONVERT
=$ac_cv_prog_CONVERT
7417 if test -n "$CONVERT"; then
7418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7419 printf "%s\n" "$CONVERT" >&6; }
7421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7422 printf "%s\n" "no" >&6; }
7426 test -n "$CONVERT" && break
7428 test -n "$CONVERT" || CONVERT
="false"
7430 for ac_prog
in icotool
7432 # Extract the first word of "$ac_prog", so it can be a program name with args.
7433 set dummy
$ac_prog; ac_word
=$2
7434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7435 printf %s
"checking for $ac_word... " >&6; }
7436 if test ${ac_cv_prog_ICOTOOL+y}
7438 printf %s
"(cached) " >&6
7440 if test -n "$ICOTOOL"; then
7441 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
7443 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7447 case $as_dir in #(((
7450 *) as_dir
=$as_dir/ ;;
7452 for ac_exec_ext
in '' $ac_executable_extensions; do
7453 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7454 ac_cv_prog_ICOTOOL
="$ac_prog"
7455 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7464 ICOTOOL
=$ac_cv_prog_ICOTOOL
7465 if test -n "$ICOTOOL"; then
7466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7467 printf "%s\n" "$ICOTOOL" >&6; }
7469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7470 printf "%s\n" "no" >&6; }
7474 test -n "$ICOTOOL" && break
7476 test -n "$ICOTOOL" || ICOTOOL
="false"
7478 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7479 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7481 if test "$CONVERT" = false
7483 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7486 printf %s
"checking for recent enough imagemagick... " >&6; }
7487 convert_version
=`convert --version | head -n1`
7488 if test "x$convert_version" != "x"
7490 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7491 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7492 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7497 if test "$CONVERT" = false
7499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7500 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7501 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7504 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7508 if test "$ICOTOOL" = false
7510 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7513 printf %s
"checking for recent enough icotool... " >&6; }
7514 icotool_version
=`icotool --version | head -n1`
7515 if test "x$icotool_version" != "x"
7517 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7518 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7519 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7522 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
7525 if test "$ICOTOOL" = false
7527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7528 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7529 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7532 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7542 test "x$with_gettext" != xno || MSGFMT
=false
7543 if test "$MSGFMT" != "false"
7545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7546 printf %s
"checking whether msgfmt supports contexts... " >&6; }
7547 if test ${wine_cv_msgfmt_contexts+y}
7549 printf %s
"(cached) " >&6
7551 cat >conftest.po
<<EOF
7557 if $MSGFMT -o /dev
/null conftest.po
2>&5
7559 wine_cv_msgfmt_contexts
=yes
7561 wine_cv_msgfmt_contexts
=no
7564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7565 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7566 test $wine_cv_msgfmt_contexts != no || MSGFMT
=false
7568 if test "$MSGFMT" = false
7570 case "x$with_gettext" in
7571 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
7573 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
7574 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7576 enable_po
=${enable_po:-no}
7580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7581 printf %s
"checking for i386_set_ldt in -li386... " >&6; }
7582 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7584 printf %s
"(cached) " >&6
7586 ac_check_lib_save_LIBS
=$LIBS
7588 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7589 /* end confdefs.h. */
7591 /* Override any GCC internal prototype to avoid an error.
7592 Use char because int might match the return type of a GCC
7593 builtin and then its argument prototype would still apply. */
7594 char i386_set_ldt ();
7598 return i386_set_ldt ();
7603 if ac_fn_c_try_link
"$LINENO"
7605 ac_cv_lib_i386_i386_set_ldt
=yes
7607 ac_cv_lib_i386_i386_set_ldt
=no
7609 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
7610 conftest
$ac_exeext conftest.
$ac_ext
7611 LIBS
=$ac_check_lib_save_LIBS
7613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7614 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7615 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7626 # Check whether --enable-largefile was given.
7627 if test ${enable_largefile+y}
7629 enableval
=$enable_largefile;
7632 if test "$enable_largefile" != no
; then
7634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7635 printf %s
"checking for special C compiler options needed for large files... " >&6; }
7636 if test ${ac_cv_sys_largefile_CC+y}
7638 printf %s
"(cached) " >&6
7640 ac_cv_sys_largefile_CC
=no
7641 if test "$GCC" != yes; then
7644 # IRIX 6.2 and later do not support large files by default,
7645 # so use the C compiler's -n32 option if that helps.
7646 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7647 /* end confdefs.h. */
7648 #include <sys/types.h>
7649 /* Check that off_t can represent 2**63 - 1 correctly.
7650 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7651 since some C++ compilers masquerading as C compilers
7652 incorrectly reject 9223372036854775807. */
7653 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7654 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7655 && LARGE_OFF_T % 2147483647 == 1)
7665 if ac_fn_c_try_compile
"$LINENO"
7669 rm -f core conftest.err conftest.
$ac_objext conftest.beam
7671 if ac_fn_c_try_compile
"$LINENO"
7673 ac_cv_sys_largefile_CC
=' -n32'; break
7675 rm -f core conftest.err conftest.
$ac_objext conftest.beam
7679 rm -f conftest.
$ac_ext
7682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7683 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7684 if test "$ac_cv_sys_largefile_CC" != no
; then
7685 CC
=$CC$ac_cv_sys_largefile_CC
7688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7689 printf %s
"checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7690 if test ${ac_cv_sys_file_offset_bits+y}
7692 printf %s
"(cached) " >&6
7695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7696 /* end confdefs.h. */
7697 #include <sys/types.h>
7698 /* Check that off_t can represent 2**63 - 1 correctly.
7699 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7700 since some C++ compilers masquerading as C compilers
7701 incorrectly reject 9223372036854775807. */
7702 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7703 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7704 && LARGE_OFF_T % 2147483647 == 1)
7714 if ac_fn_c_try_compile
"$LINENO"
7716 ac_cv_sys_file_offset_bits
=no
; break
7718 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7719 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7720 /* end confdefs.h. */
7721 #define _FILE_OFFSET_BITS 64
7722 #include <sys/types.h>
7723 /* Check that off_t can represent 2**63 - 1 correctly.
7724 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7725 since some C++ compilers masquerading as C compilers
7726 incorrectly reject 9223372036854775807. */
7727 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7728 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7729 && LARGE_OFF_T % 2147483647 == 1)
7739 if ac_fn_c_try_compile
"$LINENO"
7741 ac_cv_sys_file_offset_bits
=64; break
7743 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7744 ac_cv_sys_file_offset_bits
=unknown
7748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7749 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7750 case $ac_cv_sys_file_offset_bits in #(
7753 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7757 if test $ac_cv_sys_file_offset_bits = unknown
; then
7758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7759 printf %s
"checking for _LARGE_FILES value needed for large files... " >&6; }
7760 if test ${ac_cv_sys_large_files+y}
7762 printf %s
"(cached) " >&6
7765 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7766 /* end confdefs.h. */
7767 #include <sys/types.h>
7768 /* Check that off_t can represent 2**63 - 1 correctly.
7769 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7770 since some C++ compilers masquerading as C compilers
7771 incorrectly reject 9223372036854775807. */
7772 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7773 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7774 && LARGE_OFF_T % 2147483647 == 1)
7784 if ac_fn_c_try_compile
"$LINENO"
7786 ac_cv_sys_large_files
=no
; break
7788 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7789 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7790 /* end confdefs.h. */
7791 #define _LARGE_FILES 1
7792 #include <sys/types.h>
7793 /* Check that off_t can represent 2**63 - 1 correctly.
7794 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7795 since some C++ compilers masquerading as C compilers
7796 incorrectly reject 9223372036854775807. */
7797 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7798 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7799 && LARGE_OFF_T % 2147483647 == 1)
7809 if ac_fn_c_try_compile
"$LINENO"
7811 ac_cv_sys_large_files
=1; break
7813 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7814 ac_cv_sys_large_files
=unknown
7818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7819 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7820 case $ac_cv_sys_large_files in #(
7823 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7831 ac_header
= ac_cache
=
7832 for ac_item
in $ac_header_c_list
7834 if test $ac_cache; then
7835 ac_fn_c_check_header_compile
"$LINENO" $ac_header ac_cv_header_
$ac_cache "$ac_includes_default"
7836 if eval test \"x\
$ac_cv_header_$ac_cache\" = xyes
; then
7837 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7839 ac_header
= ac_cache
=
7840 elif test $ac_header; then
7854 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7857 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7860 ac_fn_c_check_header_compile
"$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7861 if test "x$ac_cv_header_CL_cl_h" = xyes
7863 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7866 ac_fn_c_check_header_compile
"$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7867 if test "x$ac_cv_header_EGL_egl_h" = xyes
7869 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7872 ac_fn_c_check_header_compile
"$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7873 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7875 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7878 ac_fn_c_check_header_compile
"$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7879 if test "x$ac_cv_header_arpa_inet_h" = xyes
7881 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7884 ac_fn_c_check_header_compile
"$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7885 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7887 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7890 ac_fn_c_check_header_compile
"$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7891 if test "x$ac_cv_header_asm_types_h" = xyes
7893 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7896 ac_fn_c_check_header_compile
"$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7897 if test "x$ac_cv_header_asm_user_h" = xyes
7899 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7902 ac_fn_c_check_header_compile
"$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7903 if test "x$ac_cv_header_elf_h" = xyes
7905 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7908 ac_fn_c_check_header_compile
"$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7909 if test "x$ac_cv_header_float_h" = xyes
7911 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7914 ac_fn_c_check_header_compile
"$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7915 if test "x$ac_cv_header_gettext_po_h" = xyes
7917 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7920 ac_fn_c_check_header_compile
"$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7921 if test "x$ac_cv_header_libproc_h" = xyes
7923 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7926 ac_fn_c_check_header_compile
"$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7927 if test "x$ac_cv_header_link_h" = xyes
7929 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7932 ac_fn_c_check_header_compile
"$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7933 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7935 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7938 ac_fn_c_check_header_compile
"$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7939 if test "x$ac_cv_header_linux_filter_h" = xyes
7941 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7944 ac_fn_c_check_header_compile
"$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7945 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7947 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7950 ac_fn_c_check_header_compile
"$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7951 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7953 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7956 ac_fn_c_check_header_compile
"$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7957 if test "x$ac_cv_header_linux_input_h" = xyes
7959 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7962 ac_fn_c_check_header_compile
"$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7963 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7965 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7968 ac_fn_c_check_header_compile
"$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7969 if test "x$ac_cv_header_linux_major_h" = xyes
7971 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7974 ac_fn_c_check_header_compile
"$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7975 if test "x$ac_cv_header_linux_param_h" = xyes
7977 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
7980 ac_fn_c_check_header_compile
"$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
7981 if test "x$ac_cv_header_linux_serial_h" = xyes
7983 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
7986 ac_fn_c_check_header_compile
"$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
7987 if test "x$ac_cv_header_linux_types_h" = xyes
7989 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
7992 ac_fn_c_check_header_compile
"$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
7993 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
7995 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
7998 ac_fn_c_check_header_compile
"$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
7999 if test "x$ac_cv_header_lwp_h" = xyes
8001 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
8004 ac_fn_c_check_header_compile
"$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
8005 if test "x$ac_cv_header_mach_o_loader_h" = xyes
8007 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8010 ac_fn_c_check_header_compile
"$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8011 if test "x$ac_cv_header_mach_mach_h" = xyes
8013 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8016 ac_fn_c_check_header_compile
"$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8017 if test "x$ac_cv_header_machine_cpu_h" = xyes
8019 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8022 ac_fn_c_check_header_compile
"$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8023 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8025 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8028 ac_fn_c_check_header_compile
"$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8029 if test "x$ac_cv_header_mntent_h" = xyes
8031 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8034 ac_fn_c_check_header_compile
"$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8035 if test "x$ac_cv_header_netdb_h" = xyes
8037 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8040 ac_fn_c_check_header_compile
"$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8041 if test "x$ac_cv_header_netinet_in_h" = xyes
8043 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8046 ac_fn_c_check_header_compile
"$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8047 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8049 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8052 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8053 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8055 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8058 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8059 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8061 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8064 ac_fn_c_check_header_compile
"$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8065 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8067 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8070 ac_fn_c_check_header_compile
"$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8071 if test "x$ac_cv_header_port_h" = xyes
8073 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8076 ac_fn_c_check_header_compile
"$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8077 if test "x$ac_cv_header_pthread_h" = xyes
8079 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8082 ac_fn_c_check_header_compile
"$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8083 if test "x$ac_cv_header_pwd_h" = xyes
8085 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8088 ac_fn_c_check_header_compile
"$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8089 if test "x$ac_cv_header_sched_h" = xyes
8091 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8094 ac_fn_c_check_header_compile
"$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8095 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8097 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8100 ac_fn_c_check_header_compile
"$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8101 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8103 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8106 ac_fn_c_check_header_compile
"$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8107 if test "x$ac_cv_header_scsi_sg_h" = xyes
8109 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8112 ac_fn_c_check_header_compile
"$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8113 if test "x$ac_cv_header_stdint_h" = xyes
8115 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8118 ac_fn_c_check_header_compile
"$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8119 if test "x$ac_cv_header_sys_attr_h" = xyes
8121 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8124 ac_fn_c_check_header_compile
"$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8125 if test "x$ac_cv_header_sys_auxv_h" = xyes
8127 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8130 ac_fn_c_check_header_compile
"$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8131 if test "x$ac_cv_header_sys_cdio_h" = xyes
8133 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8136 ac_fn_c_check_header_compile
"$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8137 if test "x$ac_cv_header_sys_epoll_h" = xyes
8139 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8142 ac_fn_c_check_header_compile
"$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8143 if test "x$ac_cv_header_sys_event_h" = xyes
8145 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8148 ac_fn_c_check_header_compile
"$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
8149 if test "x$ac_cv_header_sys_extattr_h" = xyes
8151 printf "%s\n" "#define HAVE_SYS_EXTATTR_H 1" >>confdefs.h
8154 ac_fn_c_check_header_compile
"$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8155 if test "x$ac_cv_header_sys_filio_h" = xyes
8157 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8160 ac_fn_c_check_header_compile
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8161 if test "x$ac_cv_header_sys_ipc_h" = xyes
8163 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8166 ac_fn_c_check_header_compile
"$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8167 if test "x$ac_cv_header_sys_link_h" = xyes
8169 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8172 ac_fn_c_check_header_compile
"$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8173 if test "x$ac_cv_header_sys_modem_h" = xyes
8175 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8178 ac_fn_c_check_header_compile
"$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8179 if test "x$ac_cv_header_sys_mtio_h" = xyes
8181 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8184 ac_fn_c_check_header_compile
"$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8185 if test "x$ac_cv_header_sys_param_h" = xyes
8187 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8190 ac_fn_c_check_header_compile
"$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8191 if test "x$ac_cv_header_sys_prctl_h" = xyes
8193 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8196 ac_fn_c_check_header_compile
"$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8197 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8199 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8202 ac_fn_c_check_header_compile
"$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8203 if test "x$ac_cv_header_sys_queue_h" = xyes
8205 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8208 ac_fn_c_check_header_compile
"$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8209 if test "x$ac_cv_header_sys_random_h" = xyes
8211 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8214 ac_fn_c_check_header_compile
"$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8215 if test "x$ac_cv_header_sys_resource_h" = xyes
8217 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8220 ac_fn_c_check_header_compile
"$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8221 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8223 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8226 ac_fn_c_check_header_compile
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8227 if test "x$ac_cv_header_sys_shm_h" = xyes
8229 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8232 ac_fn_c_check_header_compile
"$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8233 if test "x$ac_cv_header_sys_signal_h" = xyes
8235 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8238 ac_fn_c_check_header_compile
"$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8239 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8241 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8244 ac_fn_c_check_header_compile
"$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8245 if test "x$ac_cv_header_sys_sockio_h" = xyes
8247 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8250 ac_fn_c_check_header_compile
"$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8251 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8253 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8256 ac_fn_c_check_header_compile
"$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8257 if test "x$ac_cv_header_sys_strtio_h" = xyes
8259 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8262 ac_fn_c_check_header_compile
"$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8263 if test "x$ac_cv_header_sys_syscall_h" = xyes
8265 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8268 ac_fn_c_check_header_compile
"$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8269 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8271 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8274 ac_fn_c_check_header_compile
"$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8275 if test "x$ac_cv_header_sys_times_h" = xyes
8277 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8280 ac_fn_c_check_header_compile
"$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8281 if test "x$ac_cv_header_sys_uio_h" = xyes
8283 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8286 ac_fn_c_check_header_compile
"$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8287 if test "x$ac_cv_header_sys_user_h" = xyes
8289 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8292 ac_fn_c_check_header_compile
"$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8293 if test "x$ac_cv_header_sys_utsname_h" = xyes
8295 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8298 ac_fn_c_check_header_compile
"$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8299 if test "x$ac_cv_header_sys_vnode_h" = xyes
8301 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8304 ac_fn_c_check_header_compile
"$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8305 if test "x$ac_cv_header_sys_xattr_h" = xyes
8307 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8310 ac_fn_c_check_header_compile
"$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8311 if test "x$ac_cv_header_syscall_h" = xyes
8313 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8316 ac_fn_c_check_header_compile
"$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8317 if test "x$ac_cv_header_utime_h" = xyes
8319 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8322 ac_fn_c_check_header_compile
"$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8323 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8325 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8328 ac_fn_c_check_header_compile
"$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8329 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8331 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8335 ac_fn_c_check_header_compile
"$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8336 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8339 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8343 if test $ac_cv_header_sys_mkdev_h = no
; then
8344 ac_fn_c_check_header_compile
"$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8345 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8348 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8354 printf %s
"checking whether stat file-mode macros are broken... " >&6; }
8355 if test ${ac_cv_header_stat_broken+y}
8357 printf %s
"(cached) " >&6
8359 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8360 /* end confdefs.h. */
8361 #include <sys/types.h>
8362 #include <sys/stat.h>
8364 #if defined S_ISBLK && defined S_IFDIR
8365 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8368 #if defined S_ISBLK && defined S_IFCHR
8369 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8372 #if defined S_ISLNK && defined S_IFREG
8373 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8376 #if defined S_ISSOCK && defined S_IFREG
8377 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8381 if ac_fn_c_try_compile
"$LINENO"
8383 ac_cv_header_stat_broken
=no
8385 ac_cv_header_stat_broken
=yes
8387 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8390 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8391 if test $ac_cv_header_stat_broken = yes; then
8393 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8399 ac_fn_c_check_header_compile
"$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8400 #ifdef HAVE_SYS_PARAM_H
8401 # include <sys/param.h>
8404 if test "x$ac_cv_header_sys_conf_h" = xyes
8406 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8409 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8410 #ifdef HAVE_SYS_PARAM_H
8411 # include <sys/param.h>
8414 if test "x$ac_cv_header_sys_mount_h" = xyes
8416 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8419 ac_fn_c_check_header_compile
"$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8420 #ifdef HAVE_SYS_PARAM_H
8421 # include <sys/param.h>
8424 if test "x$ac_cv_header_sys_statfs_h" = xyes
8426 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8429 ac_fn_c_check_header_compile
"$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8430 #ifdef HAVE_SYS_PARAM_H
8431 # include <sys/param.h>
8434 if test "x$ac_cv_header_sys_user_h" = xyes
8436 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8439 ac_fn_c_check_header_compile
"$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8440 #ifdef HAVE_SYS_PARAM_H
8441 # include <sys/param.h>
8444 if test "x$ac_cv_header_sys_vfs_h" = xyes
8446 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8451 saved_sysctl_h_CFLAGS
=$CFLAGS
8452 test "x${GCC}" != xyes || CFLAGS
="$CFLAGS -Werror"
8453 ac_fn_c_check_header_compile
"$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8454 #ifdef HAVE_SYS_PARAM_H
8455 # include <sys/param.h>
8458 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8460 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8464 CFLAGS
=$saved_sysctl_h_CFLAGS
8466 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8467 #include <sys/socket.h>
8468 #ifdef HAVE_SYS_SOCKETVAR_H
8469 # include <sys/socketvar.h>
8471 #ifdef HAVE_NET_ROUTE_H
8472 # include <net/route.h>
8474 #ifdef HAVE_NETINET_IN_H
8475 # include <netinet/in.h>
8477 #ifdef HAVE_NETINET_IN_SYSTM_H
8478 # include <netinet/in_systm.h>
8480 #ifdef HAVE_NET_IF_H
8481 # include <net/if.h>
8483 #ifdef HAVE_NETINET_IP_H
8484 # include <netinet/ip.h>
8487 if test "x$ac_cv_header_netinet_ip_h" = xyes
8489 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8492 ac_fn_c_check_header_compile
"$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8493 #include <sys/socket.h>
8494 #ifdef HAVE_SYS_SOCKETVAR_H
8495 # include <sys/socketvar.h>
8497 #ifdef HAVE_NET_ROUTE_H
8498 # include <net/route.h>
8500 #ifdef HAVE_NETINET_IN_H
8501 # include <netinet/in.h>
8503 #ifdef HAVE_NETINET_IN_SYSTM_H
8504 # include <netinet/in_systm.h>
8506 #ifdef HAVE_NET_IF_H
8507 # include <net/if.h>
8509 #ifdef HAVE_NETINET_IP_H
8510 # include <netinet/ip.h>
8513 if test "x$ac_cv_header_net_if_h" = xyes
8515 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8518 ac_fn_c_check_header_compile
"$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8519 #include <sys/socket.h>
8520 #ifdef HAVE_SYS_SOCKETVAR_H
8521 # include <sys/socketvar.h>
8523 #ifdef HAVE_NET_ROUTE_H
8524 # include <net/route.h>
8526 #ifdef HAVE_NETINET_IN_H
8527 # include <netinet/in.h>
8529 #ifdef HAVE_NETINET_IN_SYSTM_H
8530 # include <netinet/in_systm.h>
8532 #ifdef HAVE_NET_IF_H
8533 # include <net/if.h>
8535 #ifdef HAVE_NETINET_IP_H
8536 # include <netinet/ip.h>
8539 if test "x$ac_cv_header_net_if_arp_h" = xyes
8541 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8544 ac_fn_c_check_header_compile
"$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8545 #include <sys/socket.h>
8546 #ifdef HAVE_SYS_SOCKETVAR_H
8547 # include <sys/socketvar.h>
8549 #ifdef HAVE_NET_ROUTE_H
8550 # include <net/route.h>
8552 #ifdef HAVE_NETINET_IN_H
8553 # include <netinet/in.h>
8555 #ifdef HAVE_NETINET_IN_SYSTM_H
8556 # include <netinet/in_systm.h>
8558 #ifdef HAVE_NET_IF_H
8559 # include <net/if.h>
8561 #ifdef HAVE_NETINET_IP_H
8562 # include <netinet/ip.h>
8565 if test "x$ac_cv_header_net_if_dl_h" = xyes
8567 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8570 ac_fn_c_check_header_compile
"$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8571 #include <sys/socket.h>
8572 #ifdef HAVE_SYS_SOCKETVAR_H
8573 # include <sys/socketvar.h>
8575 #ifdef HAVE_NET_ROUTE_H
8576 # include <net/route.h>
8578 #ifdef HAVE_NETINET_IN_H
8579 # include <netinet/in.h>
8581 #ifdef HAVE_NETINET_IN_SYSTM_H
8582 # include <netinet/in_systm.h>
8584 #ifdef HAVE_NET_IF_H
8585 # include <net/if.h>
8587 #ifdef HAVE_NETINET_IP_H
8588 # include <netinet/ip.h>
8591 if test "x$ac_cv_header_net_if_types_h" = xyes
8593 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8596 ac_fn_c_check_header_compile
"$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8597 #include <sys/socket.h>
8598 #ifdef HAVE_SYS_SOCKETVAR_H
8599 # include <sys/socketvar.h>
8601 #ifdef HAVE_NET_ROUTE_H
8602 # include <net/route.h>
8604 #ifdef HAVE_NETINET_IN_H
8605 # include <netinet/in.h>
8607 #ifdef HAVE_NETINET_IN_SYSTM_H
8608 # include <netinet/in_systm.h>
8610 #ifdef HAVE_NET_IF_H
8611 # include <net/if.h>
8613 #ifdef HAVE_NETINET_IP_H
8614 # include <netinet/ip.h>
8617 if test "x$ac_cv_header_net_route_h" = xyes
8619 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8622 ac_fn_c_check_header_compile
"$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8623 #include <sys/socket.h>
8624 #ifdef HAVE_SYS_SOCKETVAR_H
8625 # include <sys/socketvar.h>
8627 #ifdef HAVE_NET_ROUTE_H
8628 # include <net/route.h>
8630 #ifdef HAVE_NETINET_IN_H
8631 # include <netinet/in.h>
8633 #ifdef HAVE_NETINET_IN_SYSTM_H
8634 # include <netinet/in_systm.h>
8636 #ifdef HAVE_NET_IF_H
8637 # include <net/if.h>
8639 #ifdef HAVE_NETINET_IP_H
8640 # include <netinet/ip.h>
8643 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8645 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8648 ac_fn_c_check_header_compile
"$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8649 #include <sys/socket.h>
8650 #ifdef HAVE_SYS_SOCKETVAR_H
8651 # include <sys/socketvar.h>
8653 #ifdef HAVE_NET_ROUTE_H
8654 # include <net/route.h>
8656 #ifdef HAVE_NETINET_IN_H
8657 # include <netinet/in.h>
8659 #ifdef HAVE_NETINET_IN_SYSTM_H
8660 # include <netinet/in_systm.h>
8662 #ifdef HAVE_NET_IF_H
8663 # include <net/if.h>
8665 #ifdef HAVE_NETINET_IP_H
8666 # include <netinet/ip.h>
8669 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8671 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8674 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8675 #include <sys/socket.h>
8676 #ifdef HAVE_SYS_SOCKETVAR_H
8677 # include <sys/socketvar.h>
8679 #ifdef HAVE_NET_ROUTE_H
8680 # include <net/route.h>
8682 #ifdef HAVE_NETINET_IN_H
8683 # include <netinet/in.h>
8685 #ifdef HAVE_NETINET_IN_SYSTM_H
8686 # include <netinet/in_systm.h>
8688 #ifdef HAVE_NET_IF_H
8689 # include <net/if.h>
8691 #ifdef HAVE_NETINET_IP_H
8692 # include <netinet/ip.h>
8695 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8697 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8700 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8701 #include <sys/socket.h>
8702 #ifdef HAVE_SYS_SOCKETVAR_H
8703 # include <sys/socketvar.h>
8705 #ifdef HAVE_NET_ROUTE_H
8706 # include <net/route.h>
8708 #ifdef HAVE_NETINET_IN_H
8709 # include <netinet/in.h>
8711 #ifdef HAVE_NETINET_IN_SYSTM_H
8712 # include <netinet/in_systm.h>
8714 #ifdef HAVE_NET_IF_H
8715 # include <net/if.h>
8717 #ifdef HAVE_NETINET_IP_H
8718 # include <netinet/ip.h>
8721 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8723 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8726 ac_fn_c_check_header_compile
"$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8727 #include <sys/socket.h>
8728 #ifdef HAVE_SYS_SOCKETVAR_H
8729 # include <sys/socketvar.h>
8731 #ifdef HAVE_NET_ROUTE_H
8732 # include <net/route.h>
8734 #ifdef HAVE_NETINET_IN_H
8735 # include <netinet/in.h>
8737 #ifdef HAVE_NETINET_IN_SYSTM_H
8738 # include <netinet/in_systm.h>
8740 #ifdef HAVE_NET_IF_H
8741 # include <net/if.h>
8743 #ifdef HAVE_NETINET_IP_H
8744 # include <netinet/ip.h>
8747 if test "x$ac_cv_header_netinet_udp_h" = xyes
8749 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8752 ac_fn_c_check_header_compile
"$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8753 #include <sys/socket.h>
8754 #ifdef HAVE_SYS_SOCKETVAR_H
8755 # include <sys/socketvar.h>
8757 #ifdef HAVE_NET_ROUTE_H
8758 # include <net/route.h>
8760 #ifdef HAVE_NETINET_IN_H
8761 # include <netinet/in.h>
8763 #ifdef HAVE_NETINET_IN_SYSTM_H
8764 # include <netinet/in_systm.h>
8766 #ifdef HAVE_NET_IF_H
8767 # include <net/if.h>
8769 #ifdef HAVE_NETINET_IP_H
8770 # include <netinet/ip.h>
8773 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8775 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8778 ac_fn_c_check_header_compile
"$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8779 #include <sys/socket.h>
8780 #ifdef HAVE_SYS_SOCKETVAR_H
8781 # include <sys/socketvar.h>
8783 #ifdef HAVE_NET_ROUTE_H
8784 # include <net/route.h>
8786 #ifdef HAVE_NETINET_IN_H
8787 # include <netinet/in.h>
8789 #ifdef HAVE_NETINET_IN_SYSTM_H
8790 # include <netinet/in_systm.h>
8792 #ifdef HAVE_NET_IF_H
8793 # include <net/if.h>
8795 #ifdef HAVE_NETINET_IP_H
8796 # include <netinet/ip.h>
8799 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8801 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8804 ac_fn_c_check_header_compile
"$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8805 #include <sys/socket.h>
8806 #ifdef HAVE_SYS_SOCKETVAR_H
8807 # include <sys/socketvar.h>
8809 #ifdef HAVE_NET_ROUTE_H
8810 # include <net/route.h>
8812 #ifdef HAVE_NETINET_IN_H
8813 # include <netinet/in.h>
8815 #ifdef HAVE_NETINET_IN_SYSTM_H
8816 # include <netinet/in_systm.h>
8818 #ifdef HAVE_NET_IF_H
8819 # include <net/if.h>
8821 #ifdef HAVE_NETINET_IP_H
8822 # include <netinet/ip.h>
8825 if test "x$ac_cv_header_sys_un_h" = xyes
8827 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8832 ac_fn_c_check_header_compile
"$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8833 #include <sys/socket.h>
8834 #ifdef HAVE_SYS_SOCKETVAR_H
8835 # include <sys/socketvar.h>
8837 #ifdef HAVE_NETINET_IN_H
8838 # include <netinet/in.h>
8840 #ifdef HAVE_NETINET_IN_SYSTM_H
8841 # include <netinet/in_systm.h>
8843 #ifdef HAVE_NETINET_IP_H
8844 # include <netinet/ip.h>
8846 #ifdef HAVE_NETINET_IP_VAR_H
8847 # include <netinet/ip_var.h>
8849 #ifdef HAVE_NETINET_IP_ICMP_H
8850 # include <netinet/ip_icmp.h>
8852 #ifdef HAVE_NETINET_UDP_H
8853 # include <netinet/udp.h>
8855 #ifdef HAVE_NETINET_TCP_H
8856 # include <netinet/tcp.h>
8859 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8861 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8864 ac_fn_c_check_header_compile
"$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8865 #include <sys/socket.h>
8866 #ifdef HAVE_SYS_SOCKETVAR_H
8867 # include <sys/socketvar.h>
8869 #ifdef HAVE_NETINET_IN_H
8870 # include <netinet/in.h>
8872 #ifdef HAVE_NETINET_IN_SYSTM_H
8873 # include <netinet/in_systm.h>
8875 #ifdef HAVE_NETINET_IP_H
8876 # include <netinet/ip.h>
8878 #ifdef HAVE_NETINET_IP_VAR_H
8879 # include <netinet/ip_var.h>
8881 #ifdef HAVE_NETINET_IP_ICMP_H
8882 # include <netinet/ip_icmp.h>
8884 #ifdef HAVE_NETINET_UDP_H
8885 # include <netinet/udp.h>
8887 #ifdef HAVE_NETINET_TCP_H
8888 # include <netinet/tcp.h>
8891 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8893 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8896 ac_fn_c_check_header_compile
"$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8897 #include <sys/socket.h>
8898 #ifdef HAVE_SYS_SOCKETVAR_H
8899 # include <sys/socketvar.h>
8901 #ifdef HAVE_NETINET_IN_H
8902 # include <netinet/in.h>
8904 #ifdef HAVE_NETINET_IN_SYSTM_H
8905 # include <netinet/in_systm.h>
8907 #ifdef HAVE_NETINET_IP_H
8908 # include <netinet/ip.h>
8910 #ifdef HAVE_NETINET_IP_VAR_H
8911 # include <netinet/ip_var.h>
8913 #ifdef HAVE_NETINET_IP_ICMP_H
8914 # include <netinet/ip_icmp.h>
8916 #ifdef HAVE_NETINET_UDP_H
8917 # include <netinet/udp.h>
8919 #ifdef HAVE_NETINET_TCP_H
8920 # include <netinet/tcp.h>
8923 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8925 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8928 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8929 #include <sys/socket.h>
8930 #ifdef HAVE_SYS_SOCKETVAR_H
8931 # include <sys/socketvar.h>
8933 #ifdef HAVE_NETINET_IN_H
8934 # include <netinet/in.h>
8936 #ifdef HAVE_NETINET_IN_SYSTM_H
8937 # include <netinet/in_systm.h>
8939 #ifdef HAVE_NETINET_IP_H
8940 # include <netinet/ip.h>
8942 #ifdef HAVE_NETINET_IP_VAR_H
8943 # include <netinet/ip_var.h>
8945 #ifdef HAVE_NETINET_IP_ICMP_H
8946 # include <netinet/ip_icmp.h>
8948 #ifdef HAVE_NETINET_UDP_H
8949 # include <netinet/udp.h>
8951 #ifdef HAVE_NETINET_TCP_H
8952 # include <netinet/tcp.h>
8955 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8957 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8962 ac_fn_c_check_header_compile
"$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8963 #include <sys/socket.h>
8964 #ifdef HAVE_ASM_TYPES_H
8965 # include <asm/types.h>
8967 #ifdef HAVE_LINUX_TYPES_H
8968 # include <linux/types.h>
8971 if test "x$ac_cv_header_linux_ipx_h" = xyes
8973 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8976 ac_fn_c_check_header_compile
"$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8977 #include <sys/socket.h>
8978 #ifdef HAVE_ASM_TYPES_H
8979 # include <asm/types.h>
8981 #ifdef HAVE_LINUX_TYPES_H
8982 # include <linux/types.h>
8985 if test "x$ac_cv_header_linux_irda_h" = xyes
8987 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
8990 ac_fn_c_check_header_compile
"$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
8991 #include <sys/socket.h>
8992 #ifdef HAVE_ASM_TYPES_H
8993 # include <asm/types.h>
8995 #ifdef HAVE_LINUX_TYPES_H
8996 # include <linux/types.h>
8999 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
9001 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
9006 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
9007 #include <sys/socket.h>
9008 #ifdef HAVE_NETINET_IN_H
9009 # include <netinet/in.h>
9011 #ifdef HAVE_ARPA_NAMESER_H
9012 # include <arpa/nameser.h>
9015 if test "x$ac_cv_header_resolv_h" = xyes
9017 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9022 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9024 if test "x$ac_cv_header_ifaddrs_h" = xyes
9026 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9031 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9033 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9035 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9040 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9041 #ifdef HAVE_SYS_UCONTEXT_H
9042 #include <sys/ucontext.h>
9045 if test "x$ac_cv_header_sys_thr_h" = xyes
9047 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9052 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9053 #include <pthread.h>
9056 if test "x$ac_cv_header_pthread_np_h" = xyes
9058 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9063 ac_fn_c_check_header_compile
"$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9064 #include <sys/types.h>
9065 #ifdef HAVE_ASM_TYPES_H
9066 #include <asm/types.h>
9069 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9071 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9076 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9077 #include <sys/param.h>
9079 #include <sys/socket.h>
9080 #ifdef HAVE_SYS_QUEUE_H
9081 #include <sys/queue.h>
9084 if test "x$ac_cv_header_libprocstat_h" = xyes
9086 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9091 if test "x$ac_cv_header_sys_xattr_h" = xyes
9093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9094 printf %s
"checking whether getxattr takes additional arguments... " >&6; }
9095 if test ${wine_cv_xattr_extra_args+y}
9097 printf %s
"(cached) " >&6
9099 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9100 /* end confdefs.h. */
9101 #include <sys/xattr.h>
9105 getxattr("", "", "", 0, 0, 0);
9110 if ac_fn_c_try_compile
"$LINENO"
9112 wine_cv_xattr_extra_args
=yes
9114 wine_cv_xattr_extra_args
=no
9116 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
9118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9119 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9120 test $wine_cv_xattr_extra_args != yes ||
9121 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9134 UNIXDLLFLAGS
="-fPIC"
9136 UNIXLDFLAGS
="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9142 WINELOADER_LDFLAGS
=""
9144 WINEPRELOADER_LDFLAGS
=""
9147 # Extract the first word of "ldd", so it can be a program name with args.
9148 set dummy ldd
; ac_word
=$2
9149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9150 printf %s
"checking for $ac_word... " >&6; }
9151 if test ${ac_cv_path_LDD+y}
9153 printf %s
"(cached) " >&6
9157 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
9160 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9161 as_dummy
="/sbin:/usr/sbin:$PATH"
9162 for as_dir
in $as_dummy
9165 case $as_dir in #(((
9168 *) as_dir
=$as_dir/ ;;
9170 for ac_exec_ext
in '' $ac_executable_extensions; do
9171 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9172 ac_cv_path_LDD
="$as_dir$ac_word$ac_exec_ext"
9173 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9180 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
9185 if test -n "$LDD"; then
9186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9187 printf "%s\n" "$LDD" >&6; }
9189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9190 printf "%s\n" "no" >&6; }
9194 if test -n "$ac_tool_prefix"; then
9195 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9196 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
9197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9198 printf %s
"checking for $ac_word... " >&6; }
9199 if test ${ac_cv_prog_OTOOL+y}
9201 printf %s
"(cached) " >&6
9203 if test -n "$OTOOL"; then
9204 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
9206 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9210 case $as_dir in #(((
9213 *) as_dir
=$as_dir/ ;;
9215 for ac_exec_ext
in '' $ac_executable_extensions; do
9216 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9217 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
9218 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9227 OTOOL
=$ac_cv_prog_OTOOL
9228 if test -n "$OTOOL"; then
9229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9230 printf "%s\n" "$OTOOL" >&6; }
9232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9233 printf "%s\n" "no" >&6; }
9238 if test -z "$ac_cv_prog_OTOOL"; then
9240 # Extract the first word of "otool", so it can be a program name with args.
9241 set dummy otool
; ac_word
=$2
9242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9243 printf %s
"checking for $ac_word... " >&6; }
9244 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9246 printf %s
"(cached) " >&6
9248 if test -n "$ac_ct_OTOOL"; then
9249 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
9251 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9255 case $as_dir in #(((
9258 *) as_dir
=$as_dir/ ;;
9260 for ac_exec_ext
in '' $ac_executable_extensions; do
9261 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9262 ac_cv_prog_ac_ct_OTOOL
="otool"
9263 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9272 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
9273 if test -n "$ac_ct_OTOOL"; then
9274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9275 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9278 printf "%s\n" "no" >&6; }
9281 if test "x$ac_ct_OTOOL" = x
; then
9284 case $cross_compiling:$ac_tool_warned in
9286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9287 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9288 ac_tool_warned
=yes ;;
9293 OTOOL
="$ac_cv_prog_OTOOL"
9296 if test -n "$ac_tool_prefix"; then
9297 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9298 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
9299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9300 printf %s
"checking for $ac_word... " >&6; }
9301 if test ${ac_cv_prog_READELF+y}
9303 printf %s
"(cached) " >&6
9305 if test -n "$READELF"; then
9306 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
9308 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9312 case $as_dir in #(((
9315 *) as_dir
=$as_dir/ ;;
9317 for ac_exec_ext
in '' $ac_executable_extensions; do
9318 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9319 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
9320 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9329 READELF
=$ac_cv_prog_READELF
9330 if test -n "$READELF"; then
9331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9332 printf "%s\n" "$READELF" >&6; }
9334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9335 printf "%s\n" "no" >&6; }
9340 if test -z "$ac_cv_prog_READELF"; then
9341 ac_ct_READELF
=$READELF
9342 # Extract the first word of "readelf", so it can be a program name with args.
9343 set dummy readelf
; ac_word
=$2
9344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9345 printf %s
"checking for $ac_word... " >&6; }
9346 if test ${ac_cv_prog_ac_ct_READELF+y}
9348 printf %s
"(cached) " >&6
9350 if test -n "$ac_ct_READELF"; then
9351 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
9353 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9357 case $as_dir in #(((
9360 *) as_dir
=$as_dir/ ;;
9362 for ac_exec_ext
in '' $ac_executable_extensions; do
9363 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9364 ac_cv_prog_ac_ct_READELF
="readelf"
9365 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9374 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
9375 if test -n "$ac_ct_READELF"; then
9376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9377 printf "%s\n" "$ac_ct_READELF" >&6; }
9379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9380 printf "%s\n" "no" >&6; }
9383 if test "x$ac_ct_READELF" = x
; then
9386 case $cross_compiling:$ac_tool_warned in
9388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9389 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9390 ac_tool_warned
=yes ;;
9392 READELF
=$ac_ct_READELF
9395 READELF
="$ac_cv_prog_READELF"
9403 CONFIGURE_TARGETS
=""
9406 wine_fn_config_makefile
()
9408 as_fn_append SUBDIRS
" \\$as_nl $1"
9411 no
) as_fn_append DISABLED_SUBDIRS
" $1" ;;
9412 *aarch64
*|
*arm
*|
*i386
*|
*x86_64
*)
9413 if test -n "$PE_ARCHS"
9417 test $
(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append
${i}_DISABLED_SUBDIRS
" $1"
9420 test $
(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS
" $1"
9425 wine_fn_config_symlink
()
9428 as_fn_append wine_rules
"
9430 @./config.status \$@"
9431 for f
in $ac_links; do as_fn_append CONFIGURE_TARGETS
" $f"; done
9437 EXTRACFLAGS
="-D__WINE_PE_BUILD"
9439 *i
[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9440 printf %s
"checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9441 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9443 printf %s
"(cached) " >&6
9445 ac_wine_try_cflags_saved
=$CFLAGS
9446 CFLAGS
="$CFLAGS -Wl,--disable-stdcall-fixup"
9447 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9448 /* end confdefs.h. */
9449 int main(int argc, char **argv) { return 0; }
9451 if ac_fn_c_try_link
"$LINENO"
9453 ac_cv_cflags__Wl___disable_stdcall_fixup
=yes
9455 ac_cv_cflags__Wl___disable_stdcall_fixup
=no
9457 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9458 conftest
$ac_exeext conftest.
$ac_ext
9459 CFLAGS
=$ac_wine_try_cflags_saved
9461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9462 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9463 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9465 LDDLLFLAGS
="-Wl,--disable-stdcall-fixup"
9468 enable_loader
=${enable_loader:-no}
9469 enable_server
=${enable_server:-no}
9470 with_x
=${with_x:-no}
9471 with_pthread
=${with_pthread:-no}
9476 DLLFLAGS
="$DLLFLAGS -fPIC"
9478 enable_winemac_drv
=${enable_winemac_drv:-yes}
9479 CARBON_LIBS
="-framework Carbon"
9481 COREFOUNDATION_LIBS
="-framework CoreFoundation"
9483 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
9485 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
9487 METAL_LIBS
="-framework Metal"
9489 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
9491 CORESERVICES_LIBS
="-framework CoreServices"
9493 APPKIT_LIBS
="-framework AppKit"
9495 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
9497 SYSTEMCONFIGURATION_LIBS
="-framework SystemConfiguration"
9500 WINELOADER_LDFLAGS
="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9502 wine_can_build_preloader
=yes
9503 WINEPRELOADER_LDFLAGS
="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7d400000,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist,-segaddr,WINE_4GB_RESERVE,0x100000000"
9504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
9505 printf %s
"checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
9506 if test ${ac_cv_cflags__Wl__no_new_main__e__main+y}
9508 printf %s
"(cached) " >&6
9510 ac_wine_try_cflags_saved
=$CFLAGS
9511 CFLAGS
="$CFLAGS -Wl,-no_new_main -e _main"
9512 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9513 /* end confdefs.h. */
9514 int main(int argc, char **argv) { return 0; }
9516 if ac_fn_c_try_link
"$LINENO"
9518 ac_cv_cflags__Wl__no_new_main__e__main
=yes
9520 ac_cv_cflags__Wl__no_new_main__e__main
=no
9522 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9523 conftest
$ac_exeext conftest.
$ac_ext
9524 CFLAGS
=$ac_wine_try_cflags_saved
9526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
9527 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
9528 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes
9530 WINEPRELOADER_LDFLAGS
="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
9531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
9532 printf %s
"checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9533 if test ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9535 printf %s
"(cached) " >&6
9537 ac_wine_try_cflags_saved
=$CFLAGS
9538 CFLAGS
="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9539 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9540 /* end confdefs.h. */
9541 int main(int argc, char **argv) { return 0; }
9543 if ac_fn_c_try_link
"$LINENO"
9545 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs
=yes
9547 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs
=no
9549 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9550 conftest
$ac_exeext conftest.
$ac_ext
9551 CFLAGS
=$ac_wine_try_cflags_saved
9553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
9554 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9555 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9557 WINEPRELOADER_LDFLAGS
="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9559 wine_can_build_preloader
=no
9562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
9563 printf %s
"checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9564 if test ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9566 printf %s
"(cached) " >&6
9568 ac_wine_try_cflags_saved
=$CFLAGS
9569 CFLAGS
="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9570 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9571 /* end confdefs.h. */
9572 int main(int argc, char **argv) { return 0; }
9574 if ac_fn_c_try_link
"$LINENO"
9576 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs
=yes
9578 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs
=no
9580 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9581 conftest
$ac_exeext conftest.
$ac_ext
9582 CFLAGS
=$ac_wine_try_cflags_saved
9584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
9585 printf "%s\n" "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9586 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9588 WINEPRELOADER_LDFLAGS
="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9590 wine_can_build_preloader
=no
9593 if test "$wine_can_build_preloader" = "yes"
9595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9596 printf %s
"checking whether the compiler supports -Wl,-no_pie... " >&6; }
9597 if test ${ac_cv_cflags__Wl__no_pie+y}
9599 printf %s
"(cached) " >&6
9601 ac_wine_try_cflags_saved
=$CFLAGS
9602 CFLAGS
="$CFLAGS -Wl,-no_pie"
9603 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9604 /* end confdefs.h. */
9605 int main(int argc, char **argv) { return 0; }
9607 if ac_fn_c_try_link
"$LINENO"
9609 ac_cv_cflags__Wl__no_pie
=yes
9611 ac_cv_cflags__Wl__no_pie
=no
9613 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9614 conftest
$ac_exeext conftest.
$ac_ext
9615 CFLAGS
=$ac_wine_try_cflags_saved
9617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9618 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9619 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9621 WINEPRELOADER_LDFLAGS
="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9623 WINELOADER_LDFLAGS
="$WINELOADER_LDFLAGS -mmacosx-version-min=10.7"
9625 as_fn_append wine_warnings
"|can't build Wine preloader; many programs won't work"
9628 if test "x$with_coreaudio" != "xno";
9630 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9632 enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-yes}
9634 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9636 OPENCL_LIBS
="-framework OpenCL"
9638 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
9641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9642 printf %s
"checking whether MTLDevice protocol supports registryID property... " >&6; }
9644 ac_cpp
='$OBJCPP $CPPFLAGS'
9645 ac_compile
='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9646 ac_link
='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9647 ac_compiler_gnu
=$ac_cv_objc_compiler_gnu
9650 ac_cpp
='$OBJCPP $CPPFLAGS'
9651 ac_compile
='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9652 ac_link
='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9653 ac_compiler_gnu
=$ac_cv_objc_compiler_gnu
9654 if test -n "$ac_tool_prefix"; then
9655 for ac_prog
in gcc objcc objc cc CC clang
9657 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9658 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
9659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9660 printf %s
"checking for $ac_word... " >&6; }
9661 if test ${ac_cv_prog_OBJC+y}
9663 printf %s
"(cached) " >&6
9665 if test -n "$OBJC"; then
9666 ac_cv_prog_OBJC
="$OBJC" # Let the user override the test.
9668 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9672 case $as_dir in #(((
9675 *) as_dir
=$as_dir/ ;;
9677 for ac_exec_ext
in '' $ac_executable_extensions; do
9678 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9679 ac_cv_prog_OBJC
="$ac_tool_prefix$ac_prog"
9680 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9689 OBJC
=$ac_cv_prog_OBJC
9690 if test -n "$OBJC"; then
9691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9692 printf "%s\n" "$OBJC" >&6; }
9694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9695 printf "%s\n" "no" >&6; }
9699 test -n "$OBJC" && break
9702 if test -z "$OBJC"; then
9704 for ac_prog
in gcc objcc objc cc CC clang
9706 # Extract the first word of "$ac_prog", so it can be a program name with args.
9707 set dummy
$ac_prog; ac_word
=$2
9708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9709 printf %s
"checking for $ac_word... " >&6; }
9710 if test ${ac_cv_prog_ac_ct_OBJC+y}
9712 printf %s
"(cached) " >&6
9714 if test -n "$ac_ct_OBJC"; then
9715 ac_cv_prog_ac_ct_OBJC
="$ac_ct_OBJC" # Let the user override the test.
9717 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9721 case $as_dir in #(((
9724 *) as_dir
=$as_dir/ ;;
9726 for ac_exec_ext
in '' $ac_executable_extensions; do
9727 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9728 ac_cv_prog_ac_ct_OBJC
="$ac_prog"
9729 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9738 ac_ct_OBJC
=$ac_cv_prog_ac_ct_OBJC
9739 if test -n "$ac_ct_OBJC"; then
9740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9741 printf "%s\n" "$ac_ct_OBJC" >&6; }
9743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9744 printf "%s\n" "no" >&6; }
9748 test -n "$ac_ct_OBJC" && break
9751 if test "x$ac_ct_OBJC" = x
; then
9754 case $cross_compiling:$ac_tool_warned in
9756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9757 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9758 ac_tool_warned
=yes ;;
9764 # Provide some information about the compiler.
9765 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9768 for ac_option
in --version -v -V -qversion; do
9769 { { ac_try
="$ac_compiler $ac_option >&5"
9771 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9772 *) ac_try_echo=$ac_try;;
9774 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9775 printf "%s\n" "$ac_try_echo"; } >&5
9776 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9778 if test -s conftest.err; then
9780 ... rest of stderr output deleted ...
9781 10q' conftest.err >conftest.er1
9782 cat conftest.er1 >&5
9784 rm -f conftest.er1 conftest.err
9785 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9786 test $ac_status = 0; }
9789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9790 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9791 if test ${ac_cv_objc_compiler_gnu+y}
9793 printf %s "(cached) " >&6
9795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9796 /* end confdefs.h. */
9809 if ac_fn_objc_try_compile "$LINENO"
9815 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9816 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9820 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9821 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9823 if test $ac_compiler_gnu = yes; then
9828 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9829 ac_save_OBJCFLAGS=$OBJCFLAGS
9830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9831 printf %s "checking whether $OBJC accepts -g... " >&6; }
9832 if test ${ac_cv_prog_objc_g+y}
9834 printf %s "(cached) " >&6
9836 ac_save_objc_werror_flag=$ac_objc_werror_flag
9837 ac_objc_werror_flag=yes
9838 ac_cv_prog_objc_g=no
9840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9841 /* end confdefs.h. */
9851 if ac_fn_objc_try_compile "$LINENO"
9853 ac_cv_prog_objc_g=yes
9856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9857 /* end confdefs.h. */
9867 if ac_fn_objc_try_compile "$LINENO"
9871 ac_objc_werror_flag=$ac_save_objc_werror_flag
9873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9874 /* end confdefs.h. */
9884 if ac_fn_objc_try_compile "$LINENO"
9886 ac_cv_prog_objc_g=yes
9888 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9890 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9892 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9893 ac_objc_werror_flag=$ac_save_objc_werror_flag
9895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9896 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9897 if test $ac_test_OBJCFLAGS; then
9898 OBJCFLAGS=$ac_save_OBJCFLAGS
9899 elif test $ac_cv_prog_objc_g = yes; then
9900 if test "$GOBJC" = yes; then
9906 if test "$GOBJC" = yes; then
9913 ac_cpp='$OBJCPP $CPPFLAGS'
9914 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9915 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9916 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9920 /* end confdefs.h. */
9921 #include <Metal/Metal.h>
9925 id<MTLDevice> device; device.registryID;
9930 if ac_fn_objc_try_compile "$LINENO"
9932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9933 printf "%s\n" "yes" >&6; }
9935 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9939 printf "%s\n" "no" >&6; }
9941 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9943 ac_cpp='$CPP $CPPFLAGS'
9944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9949 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
9950 WINELOADER_DEPENDS="wine_info.plist"
9956 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
9958 DLLFLAGS="$DLLFLAGS -fPIC"
9960 LDEXECFLAGS="-Wl,-pie"
9961 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9963 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9964 if test ${ac_cv_cflags__Wl__z_defs+y}
9966 printf %s "(cached) " >&6
9968 ac_wine_try_cflags_saved=$CFLAGS
9969 CFLAGS="$CFLAGS -Wl,-z,defs"
9970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9971 /* end confdefs.h. */
9972 int main(int argc, char **argv) { return 0; }
9974 if ac_fn_c_try_link "$LINENO"
9976 ac_cv_cflags__Wl__z_defs=yes
9978 ac_cv_cflags__Wl__z_defs=no
9980 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9981 conftest$ac_exeext conftest.$ac_ext
9982 CFLAGS=$ac_wine_try_cflags_saved
9984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9985 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
9986 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
9988 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9991 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9992 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
9994 printf %s "(cached) " >&6
9996 ac_wine_try_cflags_saved=$CFLAGS
9997 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9999 /* end confdefs.h. */
10000 int main(int argc, char **argv) { return 0; }
10002 if ac_fn_c_try_link "$LINENO"
10004 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
10006 ac_cv_cflags__fPIC__Wl___export_dynamic=no
10008 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10009 conftest$ac_exeext conftest.$ac_ext
10010 CFLAGS=$ac_wine_try_cflags_saved
10012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
10013 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
10014 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
10016 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10018 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
10021 printf %s "checking for -lEGL... " >&6; }
10022 if test ${ac_cv_lib_soname_EGL+y}
10024 printf %s "(cached) " >&6
10026 ac_check_soname_save_LIBS=$LIBS
10028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10029 /* end confdefs.h. */
10031 /* Override any GCC internal prototype to avoid an error.
10032 Use char because int might match the return type of a GCC
10033 builtin and then its argument prototype would still apply. */
10034 char eglGetProcAddress ();
10038 return eglGetProcAddress ();
10043 if ac_fn_c_try_link "$LINENO"
10046 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe |
grep "EGL" |
sed -e "s/dll.*/dll/"';2,$d'` ;;
10047 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'` ;;
10048 *) ac_cv_lib_soname_EGL=`$READELF -d conftest
$ac_exeext |
grep "NEEDED.*libEGL\\.$LIBEXT" |
sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10049 if ${ac_cv_lib_soname_EGL:+false} :
10051 ac_cv_lib_soname_EGL=`$LDD conftest
$ac_exeext |
grep "libEGL\\.$LIBEXT" |
sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10055 ac_cv_lib_soname_EGL=
10057 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10058 conftest$ac_exeext conftest.$ac_ext
10059 LIBS=$ac_check_soname_save_LIBS
10061 if ${ac_cv_lib_soname_EGL:+false} :
10063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10064 printf "%s\n" "not found" >&6; }
10067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10068 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10070 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10075 printf %s "checking for -lGLESv2... " >&6; }
10076 if test ${ac_cv_lib_soname_GLESv2+y}
10078 printf %s "(cached) " >&6
10080 ac_check_soname_save_LIBS=$LIBS
10081 LIBS="-lGLESv2 $LIBS"
10082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10083 /* end confdefs.h. */
10085 /* Override any GCC internal prototype to avoid an error.
10086 Use char because int might match the return type of a GCC
10087 builtin and then its argument prototype would still apply. */
10097 if ac_fn_c_try_link "$LINENO"
10100 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe |
grep "GLESv2" |
sed -e "s/dll.*/dll/"';2,$d'` ;;
10101 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'` ;;
10102 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest
$ac_exeext |
grep "NEEDED.*libGLESv2\\.$LIBEXT" |
sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10103 if ${ac_cv_lib_soname_GLESv2:+false} :
10105 ac_cv_lib_soname_GLESv2=`$LDD conftest
$ac_exeext |
grep "libGLESv2\\.$LIBEXT" |
sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10109 ac_cv_lib_soname_GLESv2=
10111 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10112 conftest$ac_exeext conftest.$ac_ext
10113 LIBS=$ac_check_soname_save_LIBS
10115 if ${ac_cv_lib_soname_GLESv2:+false} :
10117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10118 printf "%s\n" "not found" >&6; }
10121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10122 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10124 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10129 if test "x$exec_prefix" = xNONE
10132 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10133 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10134 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10135 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10142 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10144 test "$ac_cv_sys_file_offset_bits" = 64 &&
10145 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10149 DLLFLAGS="$DLLFLAGS -fno-PIC"
10150 LDDLLFLAGS="-fno-PIC"
10151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10152 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10153 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10155 printf %s "(cached) " >&6
10157 ac_wine_try_cflags_saved=$CFLAGS
10158 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10160 /* end confdefs.h. */
10161 int main(int argc, char **argv) { return 0; }
10163 if ac_fn_c_try_link "$LINENO"
10165 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10167 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10169 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10170 conftest$ac_exeext conftest.$ac_ext
10171 CFLAGS=$ac_wine_try_cflags_saved
10173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10174 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10175 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10177 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10181 DLLFLAGS="$DLLFLAGS -fPIC"
10182 LDDLLFLAGS="-fPIC" ;;
10185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10186 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10187 if test ${ac_cv_cflags__Wl__z_defs+y}
10189 printf %s "(cached) " >&6
10191 ac_wine_try_cflags_saved=$CFLAGS
10192 CFLAGS="$CFLAGS -Wl,-z,defs"
10193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10194 /* end confdefs.h. */
10195 int main(int argc, char **argv) { return 0; }
10197 if ac_fn_c_try_link "$LINENO"
10199 ac_cv_cflags__Wl__z_defs=yes
10201 ac_cv_cflags__Wl__z_defs=no
10203 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10204 conftest$ac_exeext conftest.$ac_ext
10205 CFLAGS=$ac_wine_try_cflags_saved
10207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10208 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10209 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10211 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10214 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10215 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10217 printf %s "(cached) " >&6
10219 ac_wine_try_cflags_saved=$CFLAGS
10220 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10222 /* end confdefs.h. */
10223 int main(int argc, char **argv) { return 0; }
10225 if ac_fn_c_try_link "$LINENO"
10227 ac_cv_cflags__Wl___export_dynamic=yes
10229 ac_cv_cflags__Wl___export_dynamic=no
10231 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10232 conftest$ac_exeext conftest.$ac_ext
10233 CFLAGS=$ac_wine_try_cflags_saved
10235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10236 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10237 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10239 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10241 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10244 *i[3456789]86* | x86_64 | *aarch64* | arm*)
10245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
10246 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
10247 if test ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+y}
10249 printf %s "(cached) " >&6
10251 ac_wine_try_cflags_saved=$CFLAGS
10252 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
10253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10254 /* end confdefs.h. */
10255 int main(int argc, char **argv) { return 0; }
10257 if ac_fn_c_try_link "$LINENO"
10259 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
10261 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
10263 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10264 conftest$ac_exeext conftest.$ac_ext
10265 CFLAGS=$ac_wine_try_cflags_saved
10267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
10268 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
10269 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
10272 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
10273 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
10276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
10277 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
10278 if test ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+y}
10280 printf %s "(cached) " >&6
10282 ac_wine_try_cflags_saved=$CFLAGS
10283 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
10284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10285 /* end confdefs.h. */
10286 int main(int argc, char **argv) { return 0; }
10288 if ac_fn_c_try_link "$LINENO"
10290 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
10292 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
10294 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10295 conftest$ac_exeext conftest.$ac_ext
10296 CFLAGS=$ac_wine_try_cflags_saved
10298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
10299 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
10300 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes
10303 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
10304 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
10308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
10309 printf %s "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
10310 if test ${ac_cv_cflags__Wl__z_max_page_size_0x1000+y}
10312 printf %s "(cached) " >&6
10314 ac_wine_try_cflags_saved=$CFLAGS
10315 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
10316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10317 /* end confdefs.h. */
10318 int main(int argc, char **argv) { return 0; }
10320 if ac_fn_c_try_link "$LINENO"
10322 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
10324 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
10326 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10327 conftest$ac_exeext conftest.$ac_ext
10328 CFLAGS=$ac_wine_try_cflags_saved
10330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
10331 printf "%s\n" "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
10332 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
10334 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
10341 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10342 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10343 enable_winemac_drv=${enable_winemac_drv:-no}
10348 if test ${enable_archs+y}
10350 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10353 set x $enable_archs
10359 i386|x86_64|arm|aarch64) cross_archs="$cross_archs $arch" ;;
10360 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10364 if test "x$with_mingw" != xno
10366 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10367 case "x$with_mingw" in
10369 *) eval "${cross_archs}_CC=\$with_mingw" ;;
10374 for wine_arch in $cross_archs
10376 if eval \${${wine_arch}_CC:+false} :
10380 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10382 # Extract the first word of "$ac_prog", so it can be a program name with args.
10383 set dummy $ac_prog; ac_word=$2
10384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10385 printf %s "checking for $ac_word... " >&6; }
10386 if test ${ac_cv_prog_aarch64_CC+y}
10388 printf %s "(cached) " >&6
10390 if test -n "$aarch64_CC"; then
10391 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10394 for as_dir in $PATH
10397 case $as_dir in #(((
10400 *) as_dir=$as_dir/ ;;
10402 for ac_exec_ext in '' $ac_executable_extensions; do
10403 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10404 ac_cv_prog_aarch64_CC="$ac_prog"
10405 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10414 aarch64_CC=$ac_cv_prog_aarch64_CC
10415 if test -n "$aarch64_CC"; then
10416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10417 printf "%s\n" "$aarch64_CC" >&6; }
10419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10420 printf "%s\n" "no" >&6; }
10424 test -n "$aarch64_CC" && break
10426 test -n "$aarch64_CC" || aarch64_CC="false"
10430 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10432 # Extract the first word of "$ac_prog", so it can be a program name with args.
10433 set dummy $ac_prog; ac_word=$2
10434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10435 printf %s "checking for $ac_word... " >&6; }
10436 if test ${ac_cv_prog_arm_CC+y}
10438 printf %s "(cached) " >&6
10440 if test -n "$arm_CC"; then
10441 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10444 for as_dir in $PATH
10447 case $as_dir in #(((
10450 *) as_dir=$as_dir/ ;;
10452 for ac_exec_ext in '' $ac_executable_extensions; do
10453 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10454 ac_cv_prog_arm_CC="$ac_prog"
10455 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10464 arm_CC=$ac_cv_prog_arm_CC
10465 if test -n "$arm_CC"; then
10466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10467 printf "%s\n" "$arm_CC" >&6; }
10469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10470 printf "%s\n" "no" >&6; }
10474 test -n "$arm_CC" && break
10476 test -n "$arm_CC" || arm_CC="false"
10480 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 "
10481 for ac_prog in $ac_prefix_list clang
10483 # Extract the first word of "$ac_prog", so it can be a program name with args.
10484 set dummy $ac_prog; ac_word=$2
10485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10486 printf %s "checking for $ac_word... " >&6; }
10487 if test ${ac_cv_prog_i386_CC+y}
10489 printf %s "(cached) " >&6
10491 if test -n "$i386_CC"; then
10492 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10495 for as_dir in $PATH
10498 case $as_dir in #(((
10501 *) as_dir=$as_dir/ ;;
10503 for ac_exec_ext in '' $ac_executable_extensions; do
10504 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10505 ac_cv_prog_i386_CC="$ac_prog"
10506 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10515 i386_CC=$ac_cv_prog_i386_CC
10516 if test -n "$i386_CC"; then
10517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10518 printf "%s\n" "$i386_CC" >&6; }
10520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10521 printf "%s\n" "no" >&6; }
10525 test -n "$i386_CC" && break
10527 test -n "$i386_CC" || i386_CC="false"
10531 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10532 for ac_prog in $ac_prefix_list clang
10534 # Extract the first word of "$ac_prog", so it can be a program name with args.
10535 set dummy $ac_prog; ac_word=$2
10536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10537 printf %s "checking for $ac_word... " >&6; }
10538 if test ${ac_cv_prog_x86_64_CC+y}
10540 printf %s "(cached) " >&6
10542 if test -n "$x86_64_CC"; then
10543 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10546 for as_dir in $PATH
10549 case $as_dir in #(((
10552 *) as_dir=$as_dir/ ;;
10554 for ac_exec_ext in '' $ac_executable_extensions; do
10555 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10556 ac_cv_prog_x86_64_CC="$ac_prog"
10557 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10566 x86_64_CC=$ac_cv_prog_x86_64_CC
10567 if test -n "$x86_64_CC"; then
10568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10569 printf "%s\n" "$x86_64_CC" >&6; }
10571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10572 printf "%s\n" "no" >&6; }
10576 test -n "$x86_64_CC" && break
10578 test -n "$x86_64_CC" || x86_64_CC="false"
10584 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10590 saved_CFLAGS=$CFLAGS
10592 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10593 eval CC=\$${wine_arch}_CC
10594 eval ${wine_arch}_CFLAGS=\$CFLAGS
10595 eval ${wine_arch}_LDFLAGS=\$CROSSLDFLAGS
10596 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10599 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" |
$as_tr_sh`
10601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10602 printf %s "checking whether $CC works... " >&6; }
10603 if eval test \${$as_wine_cv_crosscc+y}
10605 printf %s "(cached) " >&6
10607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10608 /* end confdefs.h. */
10618 if ac_fn_c_try_compile "$LINENO"
10620 eval "$as_wine_cv_crosscc=yes"
10622 eval "$as_wine_cv_crosscc=no"
10624 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10626 eval ac_res=\$$as_wine_cv_crosscc
10627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10628 printf "%s\n" "$ac_res" >&6; }
10629 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10633 while test $# -ge 1
10636 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10637 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10642 llvm_target=$target
10643 if test -z "$llvm_target"
10646 i386) llvm_target=i686-windows ;;
10647 arm) llvm_target=armv7-windows ;;
10648 *) llvm_target=$wine_arch-windows ;;
10651 llvm_extra_cflags="-target $llvm_target -fuse-ld=lld"
10652 case $llvm_target in
10653 *windows) llvm_cflags="-Wl,-subsystem:console -Wl,-WX" ;;
10655 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags" |
$as_tr_sh`
10656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags" >&5
10657 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags... " >&6; }
10658 if eval test \${$as_ac_var+y}
10660 printf %s "(cached) " >&6
10662 ac_wine_try_cflags_saved=$CFLAGS
10663 ac_wine_try_cflags_saved_exeext=$ac_exeext
10664 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags"
10666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10667 /* end confdefs.h. */
10668 int __cdecl mainCRTStartup(void) { return 0; }
10670 if ac_fn_c_try_link "$LINENO"
10672 eval "$as_ac_var=yes"
10674 eval "$as_ac_var=no"
10676 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10677 conftest$ac_exeext conftest.$ac_ext
10678 CFLAGS=$ac_wine_try_cflags_saved
10679 ac_exeext=$ac_wine_try_cflags_saved_exeext
10681 eval ac_res=\$$as_ac_var
10682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10683 printf "%s\n" "$ac_res" >&6; }
10684 if eval test \"x\$"$as_ac_var"\" = x"yes"
10686 target=$llvm_target
10687 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10688 as_fn_append ${wine_arch}_EXTRACFLAGS " $llvm_extra_cflags"
10689 CFLAGS="$llvm_extra_cflags $llvm_cflags"
10691 eval "${wine_arch}_TARGET=\$target"
10695 if test -z "$target"
10698 CFLAGS=$saved_CFLAGS
10701 as_fn_append PE_ARCHS " $wine_arch"
10703 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" |
$as_tr_sh`
10705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10706 printf %s "checking for $CC option to enable C99 features... " >&6; }
10707 if eval test \${$as_wine_cv_crosscc_c99+y}
10709 printf %s "(cached) " >&6
10711 eval "$as_wine_cv_crosscc_c99=no"
10712 for arg in '' '-std=gnu99'
10714 test -z "$arg" || CC="$CC $arg"
10715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10716 /* end confdefs.h. */
10717 $ac_c_conftest_c99_program
10719 if ac_fn_c_try_compile "$LINENO"
10721 eval "$as_wine_cv_crosscc_c99=\$arg"
10723 eval "$as_wine_cv_crosscc_c99=no"
10725 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10726 eval CC=\$${wine_arch}_CC
10727 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10736 eval res=\$$as_wine_cv_crosscc_c99
10738 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10739 printf "%s\n" "none needed" >&6; } ;;
10740 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10741 printf "%s\n" "unsupported" >&6; } ;;
10742 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10743 printf "%s\n" "$res" >&6; }
10744 as_fn_append ${wine_arch}_CC " $res" ;;
10748 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" |
$as_tr_sh`
10749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10750 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10751 if eval test \${$as_ac_var+y}
10753 printf %s "(cached) " >&6
10755 ac_wine_try_cflags_saved=$CFLAGS
10756 ac_wine_try_cflags_saved_exeext=$ac_exeext
10757 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-strict-aliasing"
10759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10760 /* end confdefs.h. */
10761 int __cdecl mainCRTStartup(void) { return 0; }
10763 if ac_fn_c_try_link "$LINENO"
10765 eval "$as_ac_var=yes"
10767 eval "$as_ac_var=no"
10769 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10770 conftest$ac_exeext conftest.$ac_ext
10771 CFLAGS=$ac_wine_try_cflags_saved
10772 ac_exeext=$ac_wine_try_cflags_saved_exeext
10774 eval ac_res=\$$as_ac_var
10775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10776 printf "%s\n" "$ac_res" >&6; }
10777 if eval test \"x\$"$as_ac_var"\" = x"yes"
10779 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10781 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" |
$as_tr_sh`
10782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10783 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10784 if eval test \${$as_ac_var+y}
10786 printf %s "(cached) " >&6
10788 ac_wine_try_cflags_saved=$CFLAGS
10789 ac_wine_try_cflags_saved_exeext=$ac_exeext
10790 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=unknown-warning-option"
10792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10793 /* end confdefs.h. */
10794 int __cdecl mainCRTStartup(void) { return 0; }
10796 if ac_fn_c_try_link "$LINENO"
10798 eval "$as_ac_var=yes"
10800 eval "$as_ac_var=no"
10802 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10803 conftest$ac_exeext conftest.$ac_ext
10804 CFLAGS=$ac_wine_try_cflags_saved
10805 ac_exeext=$ac_wine_try_cflags_saved_exeext
10807 eval ac_res=\$$as_ac_var
10808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10809 printf "%s\n" "$ac_res" >&6; }
10810 if eval test \"x\$"$as_ac_var"\" = x"yes"
10812 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10814 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" |
$as_tr_sh`
10815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
10816 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
10817 if eval test \${$as_ac_var+y}
10819 printf %s "(cached) " >&6
10821 ac_wine_try_cflags_saved=$CFLAGS
10822 ac_wine_try_cflags_saved_exeext=$ac_exeext
10823 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=ignored-optimization-argument"
10825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10826 /* end confdefs.h. */
10827 int __cdecl mainCRTStartup(void) { return 0; }
10829 if ac_fn_c_try_link "$LINENO"
10831 eval "$as_ac_var=yes"
10833 eval "$as_ac_var=no"
10835 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10836 conftest$ac_exeext conftest.$ac_ext
10837 CFLAGS=$ac_wine_try_cflags_saved
10838 ac_exeext=$ac_wine_try_cflags_saved_exeext
10840 eval ac_res=\$$as_ac_var
10841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10842 printf "%s\n" "$ac_res" >&6; }
10843 if eval test \"x\$"$as_ac_var"\" = x"yes"
10845 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10847 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" |
$as_tr_sh`
10848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
10849 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
10850 if eval test \${$as_ac_var+y}
10852 printf %s "(cached) " >&6
10854 ac_wine_try_cflags_saved=$CFLAGS
10855 ac_wine_try_cflags_saved_exeext=$ac_exeext
10856 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wdeclaration-after-statement"
10858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10859 /* end confdefs.h. */
10860 int __cdecl mainCRTStartup(void) { return 0; }
10862 if ac_fn_c_try_link "$LINENO"
10864 eval "$as_ac_var=yes"
10866 eval "$as_ac_var=no"
10868 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10869 conftest$ac_exeext conftest.$ac_ext
10870 CFLAGS=$ac_wine_try_cflags_saved
10871 ac_exeext=$ac_wine_try_cflags_saved_exeext
10873 eval ac_res=\$$as_ac_var
10874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10875 printf "%s\n" "$ac_res" >&6; }
10876 if eval test \"x\$"$as_ac_var"\" = x"yes"
10878 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
10880 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" |
$as_tr_sh`
10881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
10882 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
10883 if eval test \${$as_ac_var+y}
10885 printf %s "(cached) " >&6
10887 ac_wine_try_cflags_saved=$CFLAGS
10888 ac_wine_try_cflags_saved_exeext=$ac_exeext
10889 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wempty-body"
10891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10892 /* end confdefs.h. */
10893 int __cdecl mainCRTStartup(void) { return 0; }
10895 if ac_fn_c_try_link "$LINENO"
10897 eval "$as_ac_var=yes"
10899 eval "$as_ac_var=no"
10901 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10902 conftest$ac_exeext conftest.$ac_ext
10903 CFLAGS=$ac_wine_try_cflags_saved
10904 ac_exeext=$ac_wine_try_cflags_saved_exeext
10906 eval ac_res=\$$as_ac_var
10907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10908 printf "%s\n" "$ac_res" >&6; }
10909 if eval test \"x\$"$as_ac_var"\" = x"yes"
10911 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
10913 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" |
$as_tr_sh`
10914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
10915 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
10916 if eval test \${$as_ac_var+y}
10918 printf %s "(cached) " >&6
10920 ac_wine_try_cflags_saved=$CFLAGS
10921 ac_wine_try_cflags_saved_exeext=$ac_exeext
10922 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wignored-qualifiers"
10924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10925 /* end confdefs.h. */
10926 int __cdecl mainCRTStartup(void) { return 0; }
10928 if ac_fn_c_try_link "$LINENO"
10930 eval "$as_ac_var=yes"
10932 eval "$as_ac_var=no"
10934 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10935 conftest$ac_exeext conftest.$ac_ext
10936 CFLAGS=$ac_wine_try_cflags_saved
10937 ac_exeext=$ac_wine_try_cflags_saved_exeext
10939 eval ac_res=\$$as_ac_var
10940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10941 printf "%s\n" "$ac_res" >&6; }
10942 if eval test \"x\$"$as_ac_var"\" = x"yes"
10944 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
10946 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" |
$as_tr_sh`
10947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
10948 printf %s "checking whether $CC supports -Winit-self... " >&6; }
10949 if eval test \${$as_ac_var+y}
10951 printf %s "(cached) " >&6
10953 ac_wine_try_cflags_saved=$CFLAGS
10954 ac_wine_try_cflags_saved_exeext=$ac_exeext
10955 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Winit-self"
10957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10958 /* end confdefs.h. */
10959 int __cdecl mainCRTStartup(void) { return 0; }
10961 if ac_fn_c_try_link "$LINENO"
10963 eval "$as_ac_var=yes"
10965 eval "$as_ac_var=no"
10967 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10968 conftest$ac_exeext conftest.$ac_ext
10969 CFLAGS=$ac_wine_try_cflags_saved
10970 ac_exeext=$ac_wine_try_cflags_saved_exeext
10972 eval ac_res=\$$as_ac_var
10973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10974 printf "%s\n" "$ac_res" >&6; }
10975 if eval test \"x\$"$as_ac_var"\" = x"yes"
10977 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
10979 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" |
$as_tr_sh`
10980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
10981 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
10982 if eval test \${$as_ac_var+y}
10984 printf %s "(cached) " >&6
10986 ac_wine_try_cflags_saved=$CFLAGS
10987 ac_wine_try_cflags_saved_exeext=$ac_exeext
10988 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpacked-not-aligned"
10990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10991 /* end confdefs.h. */
10992 int __cdecl mainCRTStartup(void) { return 0; }
10994 if ac_fn_c_try_link "$LINENO"
10996 eval "$as_ac_var=yes"
10998 eval "$as_ac_var=no"
11000 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11001 conftest$ac_exeext conftest.$ac_ext
11002 CFLAGS=$ac_wine_try_cflags_saved
11003 ac_exeext=$ac_wine_try_cflags_saved_exeext
11005 eval ac_res=\$$as_ac_var
11006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11007 printf "%s\n" "$ac_res" >&6; }
11008 if eval test \"x\$"$as_ac_var"\" = x"yes"
11010 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
11012 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" |
$as_tr_sh`
11013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
11014 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
11015 if eval test \${$as_ac_var+y}
11017 printf %s "(cached) " >&6
11019 ac_wine_try_cflags_saved=$CFLAGS
11020 ac_wine_try_cflags_saved_exeext=$ac_exeext
11021 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpragma-pack"
11023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11024 /* end confdefs.h. */
11025 int __cdecl mainCRTStartup(void) { return 0; }
11027 if ac_fn_c_try_link "$LINENO"
11029 eval "$as_ac_var=yes"
11031 eval "$as_ac_var=no"
11033 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11034 conftest$ac_exeext conftest.$ac_ext
11035 CFLAGS=$ac_wine_try_cflags_saved
11036 ac_exeext=$ac_wine_try_cflags_saved_exeext
11038 eval ac_res=\$$as_ac_var
11039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11040 printf "%s\n" "$ac_res" >&6; }
11041 if eval test \"x\$"$as_ac_var"\" = x"yes"
11043 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
11045 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" |
$as_tr_sh`
11046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
11047 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
11048 if eval test \${$as_ac_var+y}
11050 printf %s "(cached) " >&6
11052 ac_wine_try_cflags_saved=$CFLAGS
11053 ac_wine_try_cflags_saved_exeext=$ac_exeext
11054 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wshift-overflow=2"
11056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11057 /* end confdefs.h. */
11058 int __cdecl mainCRTStartup(void) { return 0; }
11060 if ac_fn_c_try_link "$LINENO"
11062 eval "$as_ac_var=yes"
11064 eval "$as_ac_var=no"
11066 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11067 conftest$ac_exeext conftest.$ac_ext
11068 CFLAGS=$ac_wine_try_cflags_saved
11069 ac_exeext=$ac_wine_try_cflags_saved_exeext
11071 eval ac_res=\$$as_ac_var
11072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11073 printf "%s\n" "$ac_res" >&6; }
11074 if eval test \"x\$"$as_ac_var"\" = x"yes"
11076 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11078 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" |
$as_tr_sh`
11079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11080 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11081 if eval test \${$as_ac_var+y}
11083 printf %s "(cached) " >&6
11085 ac_wine_try_cflags_saved=$CFLAGS
11086 ac_wine_try_cflags_saved_exeext=$ac_exeext
11087 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wstrict-prototypes"
11089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11090 /* end confdefs.h. */
11091 int __cdecl mainCRTStartup(void) { return 0; }
11093 if ac_fn_c_try_link "$LINENO"
11095 eval "$as_ac_var=yes"
11097 eval "$as_ac_var=no"
11099 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11100 conftest$ac_exeext conftest.$ac_ext
11101 CFLAGS=$ac_wine_try_cflags_saved
11102 ac_exeext=$ac_wine_try_cflags_saved_exeext
11104 eval ac_res=\$$as_ac_var
11105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11106 printf "%s\n" "$ac_res" >&6; }
11107 if eval test \"x\$"$as_ac_var"\" = x"yes"
11109 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11111 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" |
$as_tr_sh`
11112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11113 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11114 if eval test \${$as_ac_var+y}
11116 printf %s "(cached) " >&6
11118 ac_wine_try_cflags_saved=$CFLAGS
11119 ac_wine_try_cflags_saved_exeext=$ac_exeext
11120 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wtype-limits"
11122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11123 /* end confdefs.h. */
11124 int __cdecl mainCRTStartup(void) { return 0; }
11126 if ac_fn_c_try_link "$LINENO"
11128 eval "$as_ac_var=yes"
11130 eval "$as_ac_var=no"
11132 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11133 conftest$ac_exeext conftest.$ac_ext
11134 CFLAGS=$ac_wine_try_cflags_saved
11135 ac_exeext=$ac_wine_try_cflags_saved_exeext
11137 eval ac_res=\$$as_ac_var
11138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11139 printf "%s\n" "$ac_res" >&6; }
11140 if eval test \"x\$"$as_ac_var"\" = x"yes"
11142 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11144 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" |
$as_tr_sh`
11145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11146 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11147 if eval test \${$as_ac_var+y}
11149 printf %s "(cached) " >&6
11151 ac_wine_try_cflags_saved=$CFLAGS
11152 ac_wine_try_cflags_saved_exeext=$ac_exeext
11153 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wunused-but-set-parameter"
11155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11156 /* end confdefs.h. */
11157 int __cdecl mainCRTStartup(void) { return 0; }
11159 if ac_fn_c_try_link "$LINENO"
11161 eval "$as_ac_var=yes"
11163 eval "$as_ac_var=no"
11165 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11166 conftest$ac_exeext conftest.$ac_ext
11167 CFLAGS=$ac_wine_try_cflags_saved
11168 ac_exeext=$ac_wine_try_cflags_saved_exeext
11170 eval ac_res=\$$as_ac_var
11171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11172 printf "%s\n" "$ac_res" >&6; }
11173 if eval test \"x\$"$as_ac_var"\" = x"yes"
11175 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11177 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" |
$as_tr_sh`
11178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11179 printf %s "checking whether $CC supports -Wvla... " >&6; }
11180 if eval test \${$as_ac_var+y}
11182 printf %s "(cached) " >&6
11184 ac_wine_try_cflags_saved=$CFLAGS
11185 ac_wine_try_cflags_saved_exeext=$ac_exeext
11186 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wvla"
11188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11189 /* end confdefs.h. */
11190 int __cdecl mainCRTStartup(void) { return 0; }
11192 if ac_fn_c_try_link "$LINENO"
11194 eval "$as_ac_var=yes"
11196 eval "$as_ac_var=no"
11198 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11199 conftest$ac_exeext conftest.$ac_ext
11200 CFLAGS=$ac_wine_try_cflags_saved
11201 ac_exeext=$ac_wine_try_cflags_saved_exeext
11203 eval ac_res=\$$as_ac_var
11204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11205 printf "%s\n" "$ac_res" >&6; }
11206 if eval test \"x\$"$as_ac_var"\" = x"yes"
11208 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11210 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" |
$as_tr_sh`
11211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11212 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11213 if eval test \${$as_ac_var+y}
11215 printf %s "(cached) " >&6
11217 ac_wine_try_cflags_saved=$CFLAGS
11218 ac_wine_try_cflags_saved_exeext=$ac_exeext
11219 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wwrite-strings"
11221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11222 /* end confdefs.h. */
11223 int __cdecl mainCRTStartup(void) { return 0; }
11225 if ac_fn_c_try_link "$LINENO"
11227 eval "$as_ac_var=yes"
11229 eval "$as_ac_var=no"
11231 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11232 conftest$ac_exeext conftest.$ac_ext
11233 CFLAGS=$ac_wine_try_cflags_saved
11234 ac_exeext=$ac_wine_try_cflags_saved_exeext
11236 eval ac_res=\$$as_ac_var
11237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11238 printf "%s\n" "$ac_res" >&6; }
11239 if eval test \"x\$"$as_ac_var"\" = x"yes"
11241 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11243 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" |
$as_tr_sh`
11244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11245 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11246 if eval test \${$as_ac_var+y}
11248 printf %s "(cached) " >&6
11250 ac_wine_try_cflags_saved=$CFLAGS
11251 ac_wine_try_cflags_saved_exeext=$ac_exeext
11252 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpointer-arith"
11254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11255 /* end confdefs.h. */
11256 int __cdecl mainCRTStartup(void) { return 0; }
11258 if ac_fn_c_try_link "$LINENO"
11260 eval "$as_ac_var=yes"
11262 eval "$as_ac_var=no"
11264 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11265 conftest$ac_exeext conftest.$ac_ext
11266 CFLAGS=$ac_wine_try_cflags_saved
11267 ac_exeext=$ac_wine_try_cflags_saved_exeext
11269 eval ac_res=\$$as_ac_var
11270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11271 printf "%s\n" "$ac_res" >&6; }
11272 if eval test \"x\$"$as_ac_var"\" = x"yes"
11274 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11276 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" |
$as_tr_sh`
11277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11278 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11279 if eval test \${$as_ac_var+y}
11281 printf %s "(cached) " >&6
11283 ac_wine_try_cflags_saved=$CFLAGS
11284 ac_wine_try_cflags_saved_exeext=$ac_exeext
11285 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wlogical-op"
11287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11288 /* end confdefs.h. */
11289 int __cdecl mainCRTStartup(void) { return 0; }
11291 if ac_fn_c_try_link "$LINENO"
11293 eval "$as_ac_var=yes"
11295 eval "$as_ac_var=no"
11297 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11298 conftest$ac_exeext conftest.$ac_ext
11299 CFLAGS=$ac_wine_try_cflags_saved
11300 ac_exeext=$ac_wine_try_cflags_saved_exeext
11302 eval ac_res=\$$as_ac_var
11303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11304 printf "%s\n" "$ac_res" >&6; }
11305 if eval test \"x\$"$as_ac_var"\" = x"yes"
11307 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11309 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" |
$as_tr_sh`
11310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11311 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11312 if eval test \${$as_ac_var+y}
11314 printf %s "(cached) " >&6
11316 ac_wine_try_cflags_saved=$CFLAGS
11317 ac_wine_try_cflags_saved_exeext=$ac_exeext
11318 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wabsolute-value"
11320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11321 /* end confdefs.h. */
11322 int __cdecl mainCRTStartup(void) { return 0; }
11324 if ac_fn_c_try_link "$LINENO"
11326 eval "$as_ac_var=yes"
11328 eval "$as_ac_var=no"
11330 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11331 conftest$ac_exeext conftest.$ac_ext
11332 CFLAGS=$ac_wine_try_cflags_saved
11333 ac_exeext=$ac_wine_try_cflags_saved_exeext
11335 eval ac_res=\$$as_ac_var
11336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11337 printf "%s\n" "$ac_res" >&6; }
11338 if eval test \"x\$"$as_ac_var"\" = x"yes"
11340 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11344 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" |
$as_tr_sh`
11345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11346 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11347 if eval test \${$as_ac_var+y}
11349 printf %s "(cached) " >&6
11351 ac_wine_try_cflags_saved=$CFLAGS
11352 ac_wine_try_cflags_saved_exeext=$ac_exeext
11353 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-omit-frame-pointer"
11355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11356 /* end confdefs.h. */
11357 int __cdecl mainCRTStartup(void) { return 0; }
11359 if ac_fn_c_try_link "$LINENO"
11361 eval "$as_ac_var=yes"
11363 eval "$as_ac_var=no"
11365 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11366 conftest$ac_exeext conftest.$ac_ext
11367 CFLAGS=$ac_wine_try_cflags_saved
11368 ac_exeext=$ac_wine_try_cflags_saved_exeext
11370 eval ac_res=\$$as_ac_var
11371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11372 printf "%s\n" "$ac_res" >&6; }
11373 if eval test \"x\$"$as_ac_var"\" = x"yes"
11375 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11377 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" |
$as_tr_sh`
11378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11379 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11380 if eval test \${$as_ac_var+y}
11382 printf %s "(cached) " >&6
11384 ac_wine_try_cflags_saved=$CFLAGS
11385 ac_wine_try_cflags_saved_exeext=$ac_exeext
11386 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--disable-stdcall-fixup"
11388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11389 /* end confdefs.h. */
11390 int __cdecl mainCRTStartup(void) { return 0; }
11392 if ac_fn_c_try_link "$LINENO"
11394 eval "$as_ac_var=yes"
11396 eval "$as_ac_var=no"
11398 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11399 conftest$ac_exeext conftest.$ac_ext
11400 CFLAGS=$ac_wine_try_cflags_saved
11401 ac_exeext=$ac_wine_try_cflags_saved_exeext
11403 eval ac_res=\$$as_ac_var
11404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11405 printf "%s\n" "$ac_res" >&6; }
11406 if eval test \"x\$"$as_ac_var"\" = x"yes"
11408 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11410 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" |
$as_tr_sh`
11411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11412 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11413 if eval test \${$as_ac_var+y}
11415 printf %s "(cached) " >&6
11417 ac_wine_try_cflags_saved=$CFLAGS
11418 ac_wine_try_cflags_saved_exeext=$ac_exeext
11419 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wformat-overflow"
11421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11422 /* end confdefs.h. */
11423 int __cdecl mainCRTStartup(void) { return 0; }
11425 if ac_fn_c_try_link "$LINENO"
11427 eval "$as_ac_var=yes"
11429 eval "$as_ac_var=no"
11431 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11432 conftest$ac_exeext conftest.$ac_ext
11433 CFLAGS=$ac_wine_try_cflags_saved
11434 ac_exeext=$ac_wine_try_cflags_saved_exeext
11436 eval ac_res=\$$as_ac_var
11437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11438 printf "%s\n" "$ac_res" >&6; }
11439 if eval test \"x\$"$as_ac_var"\" = x"yes"
11441 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11443 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" |
$as_tr_sh`
11444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11445 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11446 if eval test \${$as_ac_var+y}
11448 printf %s "(cached) " >&6
11450 ac_wine_try_cflags_saved=$CFLAGS
11451 ac_wine_try_cflags_saved_exeext=$ac_exeext
11452 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wnonnull"
11454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11455 /* end confdefs.h. */
11456 int __cdecl mainCRTStartup(void) { return 0; }
11458 if ac_fn_c_try_link "$LINENO"
11460 eval "$as_ac_var=yes"
11462 eval "$as_ac_var=no"
11464 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11465 conftest$ac_exeext conftest.$ac_ext
11466 CFLAGS=$ac_wine_try_cflags_saved
11467 ac_exeext=$ac_wine_try_cflags_saved_exeext
11469 eval ac_res=\$$as_ac_var
11470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11471 printf "%s\n" "$ac_res" >&6; }
11472 if eval test \"x\$"$as_ac_var"\" = x"yes"
11474 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11476 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" |
$as_tr_sh`
11477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11478 printf %s "checking whether $CC supports -mcx16... " >&6; }
11479 if eval test \${$as_ac_var+y}
11481 printf %s "(cached) " >&6
11483 ac_wine_try_cflags_saved=$CFLAGS
11484 ac_wine_try_cflags_saved_exeext=$ac_exeext
11485 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcx16"
11487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11488 /* end confdefs.h. */
11489 int __cdecl mainCRTStartup(void) { return 0; }
11491 if ac_fn_c_try_link "$LINENO"
11493 eval "$as_ac_var=yes"
11495 eval "$as_ac_var=no"
11497 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11498 conftest$ac_exeext conftest.$ac_ext
11499 CFLAGS=$ac_wine_try_cflags_saved
11500 ac_exeext=$ac_wine_try_cflags_saved_exeext
11502 eval ac_res=\$$as_ac_var
11503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11504 printf "%s\n" "$ac_res" >&6; }
11505 if eval test \"x\$"$as_ac_var"\" = x"yes"
11507 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11511 wine_crossdebug=$CROSSDEBUG
11512 if test -z "$wine_crossdebug"
11514 for ac_flag in $CFLAGS; do
11516 -gdwarf*) wine_crossdebug=dwarf ;;
11517 -gcodeview) wine_crossdebug=pdb ;;
11518 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11523 ac_debug_format_seen=""
11524 for ac_flag in $CFLAGS; do
11526 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11529 if test "x$ac_debug_format_seen" = x
11531 case $wine_crossdebug in
11532 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" |
$as_tr_sh`
11533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11534 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11535 if eval test \${$as_ac_var+y}
11537 printf %s "(cached) " >&6
11539 ac_wine_try_cflags_saved=$CFLAGS
11540 ac_wine_try_cflags_saved_exeext=$ac_exeext
11541 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gdwarf-4"
11543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11544 /* end confdefs.h. */
11545 int __cdecl mainCRTStartup(void) { return 0; }
11547 if ac_fn_c_try_link "$LINENO"
11549 eval "$as_ac_var=yes"
11551 eval "$as_ac_var=no"
11553 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11554 conftest$ac_exeext conftest.$ac_ext
11555 CFLAGS=$ac_wine_try_cflags_saved
11556 ac_exeext=$ac_wine_try_cflags_saved_exeext
11558 eval ac_res=\$$as_ac_var
11559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11560 printf "%s\n" "$ac_res" >&6; }
11561 if eval test \"x\$"$as_ac_var"\" = x"yes"
11563 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11565 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" |
$as_tr_sh`
11566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11567 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11568 if eval test \${$as_ac_var+y}
11570 printf %s "(cached) " >&6
11572 ac_wine_try_cflags_saved=$CFLAGS
11573 ac_wine_try_cflags_saved_exeext=$ac_exeext
11574 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gcodeview"
11576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11577 /* end confdefs.h. */
11578 int __cdecl mainCRTStartup(void) { return 0; }
11580 if ac_fn_c_try_link "$LINENO"
11582 eval "$as_ac_var=yes"
11584 eval "$as_ac_var=no"
11586 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11587 conftest$ac_exeext conftest.$ac_ext
11588 CFLAGS=$ac_wine_try_cflags_saved
11589 ac_exeext=$ac_wine_try_cflags_saved_exeext
11591 eval ac_res=\$$as_ac_var
11592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11593 printf "%s\n" "$ac_res" >&6; }
11594 if eval test \"x\$"$as_ac_var"\" = x"yes"
11596 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11600 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11602 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" |
$as_tr_sh`
11603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11604 printf %s "checking whether $CC supports -Werror... " >&6; }
11605 if eval test \${$as_ac_var+y}
11607 printf %s "(cached) " >&6
11609 ac_wine_try_cflags_saved=$CFLAGS
11610 ac_wine_try_cflags_saved_exeext=$ac_exeext
11611 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror"
11613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11614 /* end confdefs.h. */
11615 int __cdecl mainCRTStartup(void) { return 0; }
11617 if ac_fn_c_try_link "$LINENO"
11619 eval "$as_ac_var=yes"
11621 eval "$as_ac_var=no"
11623 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11624 conftest$ac_exeext conftest.$ac_ext
11625 CFLAGS=$ac_wine_try_cflags_saved
11626 ac_exeext=$ac_wine_try_cflags_saved_exeext
11628 eval ac_res=\$$as_ac_var
11629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11630 printf "%s\n" "$ac_res" >&6; }
11631 if eval test \"x\$"$as_ac_var"\" = x"yes"
11633 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11635 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" |
$as_tr_sh`
11636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11637 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11638 if eval test \${$as_ac_var+y}
11640 printf %s "(cached) " >&6
11642 ac_wine_try_cflags_saved=$CFLAGS
11643 ac_wine_try_cflags_saved_exeext=$ac_exeext
11644 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--build-id"
11646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11647 /* end confdefs.h. */
11648 int __cdecl mainCRTStartup(void) { return 0; }
11650 if ac_fn_c_try_link "$LINENO"
11652 eval "$as_ac_var=yes"
11654 eval "$as_ac_var=no"
11656 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11657 conftest$ac_exeext conftest.$ac_ext
11658 CFLAGS=$ac_wine_try_cflags_saved
11659 ac_exeext=$ac_wine_try_cflags_saved_exeext
11661 eval ac_res=\$$as_ac_var
11662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11663 printf "%s\n" "$ac_res" >&6; }
11664 if eval test \"x\$"$as_ac_var"\" = x"yes"
11666 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
11667 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
11671 CFLAGS=$saved_CFLAGS
11674 if test $HOST_ARCH = aarch64 -a "x$PE_ARCHS" = x
11676 as_fn_error $? "PE cross-compilation is required for ARM64, please install clang/llvm-dlltool/lld, or llvm-mingw." "$LINENO" 5
11679 if test "x$PE_ARCHS" = "x"
11681 case "x$with_mingw" in
11682 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
11684 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
11685 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
11691 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
11693 case "$host_cpu" in
11695 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11697 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11699 for ac_prog in $ac_prefix_list
11701 # Extract the first word of "$ac_prog", so it can be a program name with args.
11702 set dummy $ac_prog; ac_word=$2
11703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11704 printf %s "checking for $ac_word... " >&6; }
11705 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11707 printf %s "(cached) " >&6
11709 if test -n "$MINGW_PKG_CONFIG"; then
11710 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11713 for as_dir in $PATH
11716 case $as_dir in #(((
11719 *) as_dir=$as_dir/ ;;
11721 for ac_exec_ext in '' $ac_executable_extensions; do
11722 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11723 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11724 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11733 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11734 if test -n "$MINGW_PKG_CONFIG"; then
11735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11736 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
11738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11739 printf "%s\n" "no" >&6; }
11743 test -n "$MINGW_PKG_CONFIG" && break
11745 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
11747 if ${FAUDIO_PE_CFLAGS:+false} :
11749 if test ${MINGW_PKG_CONFIG+y}
11751 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio
2>/dev
/null
`
11754 if ${FAUDIO_PE_LIBS:+false} :
11756 if test ${MINGW_PKG_CONFIG+y}
11758 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio
2>/dev
/null
`
11761 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
11762 ac_save_CPPFLAGS=$CPPFLAGS
11763 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
11764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
11765 printf %s "checking for MinGW FAudio.h... " >&6; }
11766 if test ${ac_cv_mingw_header_FAudio_h+y}
11768 printf %s "(cached) " >&6
11770 ac_wine_check_headers_saved_cc=$CC
11771 ac_wine_check_headers_saved_exeext=$ac_exeext
11772 eval CC=\$${wine_arch}_CC
11774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11775 /* end confdefs.h. */
11777 #include <FAudio.h>
11786 if ac_fn_c_try_compile "$LINENO"
11788 ac_cv_mingw_header_FAudio_h=yes
11790 ac_cv_mingw_header_FAudio_h=no
11792 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11793 CC=$ac_wine_check_headers_saved_cc
11794 ac_exeext=$ac_wine_check_headers_saved_exeext
11796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
11797 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
11798 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
11800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
11801 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
11802 if test ${ac_cv_mingw_lib_FAudio+y}
11804 printf %s "(cached) " >&6
11806 ac_wine_check_headers_saved_cc=$CC
11807 ac_wine_check_headers_saved_exeext=$ac_exeext
11808 ac_wine_check_headers_saved_libs=$LIBS
11809 eval CC=\$${wine_arch}_CC
11811 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
11812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11813 /* end confdefs.h. */
11815 /* Override any GCC internal prototype to avoid an error.
11816 Use char because int might match the return type of a GCC
11817 builtin and then its argument prototype would still apply. */
11818 char FAudio_CommitOperationSet ();
11822 return FAudio_CommitOperationSet ();
11827 if ac_fn_c_try_link "$LINENO"
11829 ac_cv_mingw_lib_FAudio=yes
11831 ac_cv_mingw_lib_FAudio=no
11833 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11834 conftest$ac_exeext conftest.$ac_ext
11835 CC=$ac_wine_check_headers_saved_cc
11836 ac_exeext=$ac_wine_check_headers_saved_exeext
11837 LIBS=$ac_wine_check_headers_saved_libs
11839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
11840 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
11841 if test "x$ac_cv_mingw_lib_FAudio" = xyes
11845 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11848 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11850 CPPFLAGS=$ac_save_CPPFLAGS
11852 if test "x$FAUDIO_PE_LIBS" = "x"
11854 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
11857 if ${JPEG_PE_CFLAGS:+false} :
11859 if test ${MINGW_PKG_CONFIG+y}
11861 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg
2>/dev
/null
`
11864 if ${JPEG_PE_LIBS:+false} :
11866 if test ${MINGW_PKG_CONFIG+y}
11868 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg
2>/dev
/null
`
11872 ac_save_CPPFLAGS=$CPPFLAGS
11873 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
11874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
11875 printf %s "checking for MinGW jpeglib.h... " >&6; }
11876 if test ${ac_cv_mingw_header_jpeglib_h+y}
11878 printf %s "(cached) " >&6
11880 ac_wine_check_headers_saved_cc=$CC
11881 ac_wine_check_headers_saved_exeext=$ac_exeext
11882 eval CC=\$${wine_arch}_CC
11884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11885 /* end confdefs.h. */
11886 #include <stddef.h>
11888 #include <jpeglib.h>
11897 if ac_fn_c_try_compile "$LINENO"
11899 ac_cv_mingw_header_jpeglib_h=yes
11901 ac_cv_mingw_header_jpeglib_h=no
11903 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11904 CC=$ac_wine_check_headers_saved_cc
11905 ac_exeext=$ac_wine_check_headers_saved_exeext
11907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
11908 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
11909 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
11911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
11912 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
11913 if test ${ac_cv_mingw_lib_jpeg+y}
11915 printf %s "(cached) " >&6
11917 ac_wine_check_headers_saved_cc=$CC
11918 ac_wine_check_headers_saved_exeext=$ac_exeext
11919 ac_wine_check_headers_saved_libs=$LIBS
11920 eval CC=\$${wine_arch}_CC
11922 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
11923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11924 /* end confdefs.h. */
11926 /* Override any GCC internal prototype to avoid an error.
11927 Use char because int might match the return type of a GCC
11928 builtin and then its argument prototype would still apply. */
11929 char jpeg_start_decompress ();
11933 return jpeg_start_decompress ();
11938 if ac_fn_c_try_link "$LINENO"
11940 ac_cv_mingw_lib_jpeg=yes
11942 ac_cv_mingw_lib_jpeg=no
11944 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11945 conftest$ac_exeext conftest.$ac_ext
11946 CC=$ac_wine_check_headers_saved_cc
11947 ac_exeext=$ac_wine_check_headers_saved_exeext
11948 LIBS=$ac_wine_check_headers_saved_libs
11950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
11951 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
11952 if test "x$ac_cv_mingw_lib_jpeg" = xyes
11956 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
11959 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
11961 CPPFLAGS=$ac_save_CPPFLAGS
11963 if test "x$JPEG_PE_LIBS" = "x"
11965 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
11968 if ${LCMS2_PE_CFLAGS:+false} :
11970 if test ${MINGW_PKG_CONFIG+y}
11972 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2
2>/dev
/null
`
11975 if ${LCMS2_PE_LIBS:+false} :
11977 if test ${MINGW_PKG_CONFIG+y}
11979 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2
2>/dev
/null
`
11982 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
11983 ac_save_CPPFLAGS=$CPPFLAGS
11984 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
11985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
11986 printf %s "checking for MinGW lcms2.h... " >&6; }
11987 if test ${ac_cv_mingw_header_lcms2_h+y}
11989 printf %s "(cached) " >&6
11991 ac_wine_check_headers_saved_cc=$CC
11992 ac_wine_check_headers_saved_exeext=$ac_exeext
11993 eval CC=\$${wine_arch}_CC
11995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11996 /* end confdefs.h. */
12007 if ac_fn_c_try_compile "$LINENO"
12009 ac_cv_mingw_header_lcms2_h=yes
12011 ac_cv_mingw_header_lcms2_h=no
12013 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12014 CC=$ac_wine_check_headers_saved_cc
12015 ac_exeext=$ac_wine_check_headers_saved_exeext
12017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12018 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12019 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12022 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12023 if test ${ac_cv_mingw_lib_lcms2+y}
12025 printf %s "(cached) " >&6
12027 ac_wine_check_headers_saved_cc=$CC
12028 ac_wine_check_headers_saved_exeext=$ac_exeext
12029 ac_wine_check_headers_saved_libs=$LIBS
12030 eval CC=\$${wine_arch}_CC
12032 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12034 /* end confdefs.h. */
12036 /* Override any GCC internal prototype to avoid an error.
12037 Use char because int might match the return type of a GCC
12038 builtin and then its argument prototype would still apply. */
12039 char cmsOpenProfileFromFile ();
12043 return cmsOpenProfileFromFile ();
12048 if ac_fn_c_try_link "$LINENO"
12050 ac_cv_mingw_lib_lcms2=yes
12052 ac_cv_mingw_lib_lcms2=no
12054 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12055 conftest$ac_exeext conftest.$ac_ext
12056 CC=$ac_wine_check_headers_saved_cc
12057 ac_exeext=$ac_wine_check_headers_saved_exeext
12058 LIBS=$ac_wine_check_headers_saved_libs
12060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12061 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12062 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12066 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12069 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12071 CPPFLAGS=$ac_save_CPPFLAGS
12073 if test "x$LCMS2_PE_LIBS" = "x"
12075 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12078 if ${MPG123_PE_CFLAGS:+false} :
12080 if test ${MINGW_PKG_CONFIG+y}
12082 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123
2>/dev
/null
`
12085 if ${MPG123_PE_LIBS:+false} :
12087 if test ${MINGW_PKG_CONFIG+y}
12089 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123
2>/dev
/null
`
12092 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12093 ac_save_CPPFLAGS=$CPPFLAGS
12094 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12096 printf %s "checking for MinGW mpg123.h... " >&6; }
12097 if test ${ac_cv_mingw_header_mpg123_h+y}
12099 printf %s "(cached) " >&6
12101 ac_wine_check_headers_saved_cc=$CC
12102 ac_wine_check_headers_saved_exeext=$ac_exeext
12103 eval CC=\$${wine_arch}_CC
12105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12106 /* end confdefs.h. */
12108 #include <mpg123.h>
12117 if ac_fn_c_try_compile "$LINENO"
12119 ac_cv_mingw_header_mpg123_h=yes
12121 ac_cv_mingw_header_mpg123_h=no
12123 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12124 CC=$ac_wine_check_headers_saved_cc
12125 ac_exeext=$ac_wine_check_headers_saved_exeext
12127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12128 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12129 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12132 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12133 if test ${ac_cv_mingw_lib_mpg123+y}
12135 printf %s "(cached) " >&6
12137 ac_wine_check_headers_saved_cc=$CC
12138 ac_wine_check_headers_saved_exeext=$ac_exeext
12139 ac_wine_check_headers_saved_libs=$LIBS
12140 eval CC=\$${wine_arch}_CC
12142 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12144 /* end confdefs.h. */
12146 /* Override any GCC internal prototype to avoid an error.
12147 Use char because int might match the return type of a GCC
12148 builtin and then its argument prototype would still apply. */
12149 char mpg123_feed ();
12153 return mpg123_feed ();
12158 if ac_fn_c_try_link "$LINENO"
12160 ac_cv_mingw_lib_mpg123=yes
12162 ac_cv_mingw_lib_mpg123=no
12164 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12165 conftest$ac_exeext conftest.$ac_ext
12166 CC=$ac_wine_check_headers_saved_cc
12167 ac_exeext=$ac_wine_check_headers_saved_exeext
12168 LIBS=$ac_wine_check_headers_saved_libs
12170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12171 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12172 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12176 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12179 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12181 CPPFLAGS=$ac_save_CPPFLAGS
12183 if test "x$MPG123_PE_LIBS" = "x"
12185 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12188 if ${PNG_PE_CFLAGS:+false} :
12190 if test ${MINGW_PKG_CONFIG+y}
12192 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng
2>/dev
/null
`
12195 if ${PNG_PE_LIBS:+false} :
12197 if test ${MINGW_PKG_CONFIG+y}
12199 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng
2>/dev
/null
`
12203 ac_save_CPPFLAGS=$CPPFLAGS
12204 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12206 printf %s "checking for MinGW png.h... " >&6; }
12207 if test ${ac_cv_mingw_header_png_h+y}
12209 printf %s "(cached) " >&6
12211 ac_wine_check_headers_saved_cc=$CC
12212 ac_wine_check_headers_saved_exeext=$ac_exeext
12213 eval CC=\$${wine_arch}_CC
12215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12216 /* end confdefs.h. */
12227 if ac_fn_c_try_compile "$LINENO"
12229 ac_cv_mingw_header_png_h=yes
12231 ac_cv_mingw_header_png_h=no
12233 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12234 CC=$ac_wine_check_headers_saved_cc
12235 ac_exeext=$ac_wine_check_headers_saved_exeext
12237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12238 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12239 if test "x$ac_cv_mingw_header_png_h" = xyes
12241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12242 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12243 if test ${ac_cv_mingw_lib_png+y}
12245 printf %s "(cached) " >&6
12247 ac_wine_check_headers_saved_cc=$CC
12248 ac_wine_check_headers_saved_exeext=$ac_exeext
12249 ac_wine_check_headers_saved_libs=$LIBS
12250 eval CC=\$${wine_arch}_CC
12252 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12254 /* end confdefs.h. */
12256 /* Override any GCC internal prototype to avoid an error.
12257 Use char because int might match the return type of a GCC
12258 builtin and then its argument prototype would still apply. */
12259 char png_create_read_struct ();
12263 return png_create_read_struct ();
12268 if ac_fn_c_try_link "$LINENO"
12270 ac_cv_mingw_lib_png=yes
12272 ac_cv_mingw_lib_png=no
12274 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12275 conftest$ac_exeext conftest.$ac_ext
12276 CC=$ac_wine_check_headers_saved_cc
12277 ac_exeext=$ac_wine_check_headers_saved_exeext
12278 LIBS=$ac_wine_check_headers_saved_libs
12280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12281 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12282 if test "x$ac_cv_mingw_lib_png" = xyes
12286 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12289 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12291 CPPFLAGS=$ac_save_CPPFLAGS
12293 if test "x$PNG_PE_LIBS" = "x"
12295 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12298 if ${TIFF_PE_CFLAGS:+false} :
12300 if test ${MINGW_PKG_CONFIG+y}
12302 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4
2>/dev
/null
`
12305 if ${TIFF_PE_LIBS:+false} :
12307 if test ${MINGW_PKG_CONFIG+y}
12309 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4
2>/dev
/null
`
12313 ac_save_CPPFLAGS=$CPPFLAGS
12314 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12316 printf %s "checking for MinGW tiffio.h... " >&6; }
12317 if test ${ac_cv_mingw_header_tiffio_h+y}
12319 printf %s "(cached) " >&6
12321 ac_wine_check_headers_saved_cc=$CC
12322 ac_wine_check_headers_saved_exeext=$ac_exeext
12323 eval CC=\$${wine_arch}_CC
12325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12326 /* end confdefs.h. */
12328 #include <tiffio.h>
12337 if ac_fn_c_try_compile "$LINENO"
12339 ac_cv_mingw_header_tiffio_h=yes
12341 ac_cv_mingw_header_tiffio_h=no
12343 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12344 CC=$ac_wine_check_headers_saved_cc
12345 ac_exeext=$ac_wine_check_headers_saved_exeext
12347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12348 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12349 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12352 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12353 if test ${ac_cv_mingw_lib_tiff+y}
12355 printf %s "(cached) " >&6
12357 ac_wine_check_headers_saved_cc=$CC
12358 ac_wine_check_headers_saved_exeext=$ac_exeext
12359 ac_wine_check_headers_saved_libs=$LIBS
12360 eval CC=\$${wine_arch}_CC
12362 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12364 /* end confdefs.h. */
12366 /* Override any GCC internal prototype to avoid an error.
12367 Use char because int might match the return type of a GCC
12368 builtin and then its argument prototype would still apply. */
12369 char TIFFClientOpen ();
12373 return TIFFClientOpen ();
12378 if ac_fn_c_try_link "$LINENO"
12380 ac_cv_mingw_lib_tiff=yes
12382 ac_cv_mingw_lib_tiff=no
12384 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12385 conftest$ac_exeext conftest.$ac_ext
12386 CC=$ac_wine_check_headers_saved_cc
12387 ac_exeext=$ac_wine_check_headers_saved_exeext
12388 LIBS=$ac_wine_check_headers_saved_libs
12390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12391 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12392 if test "x$ac_cv_mingw_lib_tiff" = xyes
12396 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12399 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12401 CPPFLAGS=$ac_save_CPPFLAGS
12403 if test "x$TIFF_PE_LIBS" = "x"
12405 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12408 if ${XML2_PE_CFLAGS:+false} :
12410 if test ${MINGW_PKG_CONFIG+y}
12412 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0
2>/dev
/null
`
12415 if ${XML2_PE_LIBS:+false} :
12417 if test ${MINGW_PKG_CONFIG+y}
12419 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0
2>/dev
/null
`
12422 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12423 ac_save_CPPFLAGS=$CPPFLAGS
12424 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12426 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12427 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12429 printf %s "(cached) " >&6
12431 ac_wine_check_headers_saved_cc=$CC
12432 ac_wine_check_headers_saved_exeext=$ac_exeext
12433 eval CC=\$${wine_arch}_CC
12435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12436 /* end confdefs.h. */
12438 #include <libxml/parser.h>
12447 if ac_fn_c_try_compile "$LINENO"
12449 ac_cv_mingw_header_libxml_parser_h=yes
12451 ac_cv_mingw_header_libxml_parser_h=no
12453 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12454 CC=$ac_wine_check_headers_saved_cc
12455 ac_exeext=$ac_wine_check_headers_saved_exeext
12457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12458 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12459 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12464 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12465 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12467 printf %s "(cached) " >&6
12469 ac_wine_check_headers_saved_cc=$CC
12470 ac_wine_check_headers_saved_exeext=$ac_exeext
12471 eval CC=\$${wine_arch}_CC
12473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12474 /* end confdefs.h. */
12476 #include <libxml/xmlsave.h>
12485 if ac_fn_c_try_compile "$LINENO"
12487 ac_cv_mingw_header_libxml_xmlsave_h=yes
12489 ac_cv_mingw_header_libxml_xmlsave_h=no
12491 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12492 CC=$ac_wine_check_headers_saved_cc
12493 ac_exeext=$ac_wine_check_headers_saved_exeext
12495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12496 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12497 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12502 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12503 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12505 printf %s "(cached) " >&6
12507 ac_wine_check_headers_saved_cc=$CC
12508 ac_wine_check_headers_saved_exeext=$ac_exeext
12509 eval CC=\$${wine_arch}_CC
12511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12512 /* end confdefs.h. */
12514 #include <libxml/SAX2.h>
12523 if ac_fn_c_try_compile "$LINENO"
12525 ac_cv_mingw_header_libxml_SAX2_h=yes
12527 ac_cv_mingw_header_libxml_SAX2_h=no
12529 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12530 CC=$ac_wine_check_headers_saved_cc
12531 ac_exeext=$ac_wine_check_headers_saved_exeext
12533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12534 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12535 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12539 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"
12541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12542 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12543 if test ${ac_cv_mingw_lib_xml2+y}
12545 printf %s "(cached) " >&6
12547 ac_wine_check_headers_saved_cc=$CC
12548 ac_wine_check_headers_saved_exeext=$ac_exeext
12549 ac_wine_check_headers_saved_libs=$LIBS
12550 eval CC=\$${wine_arch}_CC
12552 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12554 /* end confdefs.h. */
12556 /* Override any GCC internal prototype to avoid an error.
12557 Use char because int might match the return type of a GCC
12558 builtin and then its argument prototype would still apply. */
12559 char xmlFirstElementChild ();
12563 return xmlFirstElementChild ();
12568 if ac_fn_c_try_link "$LINENO"
12570 ac_cv_mingw_lib_xml2=yes
12572 ac_cv_mingw_lib_xml2=no
12574 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12575 conftest$ac_exeext conftest.$ac_ext
12576 CC=$ac_wine_check_headers_saved_cc
12577 ac_exeext=$ac_wine_check_headers_saved_exeext
12578 LIBS=$ac_wine_check_headers_saved_libs
12580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12581 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12582 if test "x$ac_cv_mingw_lib_xml2" = xyes
12586 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12592 CPPFLAGS=$ac_save_CPPFLAGS
12594 if test "x$XML2_PE_LIBS" = "x"
12596 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12599 if ${XSLT_PE_CFLAGS:+false} :
12601 if test ${MINGW_PKG_CONFIG+y}
12603 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt
2>/dev
/null
`
12606 if ${XSLT_PE_LIBS:+false} :
12608 if test ${MINGW_PKG_CONFIG+y}
12610 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt
2>/dev
/null
`
12613 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12614 ac_save_CPPFLAGS=$CPPFLAGS
12615 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12617 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12618 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12620 printf %s "(cached) " >&6
12622 ac_wine_check_headers_saved_cc=$CC
12623 ac_wine_check_headers_saved_exeext=$ac_exeext
12624 eval CC=\$${wine_arch}_CC
12626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12627 /* end confdefs.h. */
12629 #include <libxslt/pattern.h>
12638 if ac_fn_c_try_compile "$LINENO"
12640 ac_cv_mingw_header_libxslt_pattern_h=yes
12642 ac_cv_mingw_header_libxslt_pattern_h=no
12644 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12645 CC=$ac_wine_check_headers_saved_cc
12646 ac_exeext=$ac_wine_check_headers_saved_exeext
12648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12649 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12650 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12655 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12656 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12658 printf %s "(cached) " >&6
12660 ac_wine_check_headers_saved_cc=$CC
12661 ac_wine_check_headers_saved_exeext=$ac_exeext
12662 eval CC=\$${wine_arch}_CC
12664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12665 /* end confdefs.h. */
12667 #include <libxslt/transform.h>
12676 if ac_fn_c_try_compile "$LINENO"
12678 ac_cv_mingw_header_libxslt_transform_h=yes
12680 ac_cv_mingw_header_libxslt_transform_h=no
12682 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12683 CC=$ac_wine_check_headers_saved_cc
12684 ac_exeext=$ac_wine_check_headers_saved_exeext
12686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12687 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12688 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12692 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12695 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12696 if test ${ac_cv_mingw_lib_xslt+y}
12698 printf %s "(cached) " >&6
12700 ac_wine_check_headers_saved_cc=$CC
12701 ac_wine_check_headers_saved_exeext=$ac_exeext
12702 ac_wine_check_headers_saved_libs=$LIBS
12703 eval CC=\$${wine_arch}_CC
12705 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12707 /* end confdefs.h. */
12709 /* Override any GCC internal prototype to avoid an error.
12710 Use char because int might match the return type of a GCC
12711 builtin and then its argument prototype would still apply. */
12712 char xsltCompilePattern ();
12716 return xsltCompilePattern ();
12721 if ac_fn_c_try_link "$LINENO"
12723 ac_cv_mingw_lib_xslt=yes
12725 ac_cv_mingw_lib_xslt=no
12727 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12728 conftest$ac_exeext conftest.$ac_ext
12729 CC=$ac_wine_check_headers_saved_cc
12730 ac_exeext=$ac_wine_check_headers_saved_exeext
12731 LIBS=$ac_wine_check_headers_saved_libs
12733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12734 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12735 if test "x$ac_cv_mingw_lib_xslt" = xyes
12739 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
12745 CPPFLAGS=$ac_save_CPPFLAGS
12747 if test "x$XSLT_PE_LIBS" = "x"
12749 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
12752 if ${VKD3D_PE_CFLAGS:+false} :
12754 if test ${MINGW_PKG_CONFIG+y}
12756 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader
2>/dev
/null
`
12759 if ${VKD3D_PE_LIBS:+false} :
12761 if test ${MINGW_PKG_CONFIG+y}
12763 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader
2>/dev
/null
`
12766 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
12767 ac_save_CPPFLAGS=$CPPFLAGS
12768 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
12769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
12770 printf %s "checking for MinGW vkd3d.h... " >&6; }
12771 if test ${ac_cv_mingw_header_vkd3d_h+y}
12773 printf %s "(cached) " >&6
12775 ac_wine_check_headers_saved_cc=$CC
12776 ac_wine_check_headers_saved_exeext=$ac_exeext
12777 eval CC=\$${wine_arch}_CC
12779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12780 /* end confdefs.h. */
12791 if ac_fn_c_try_compile "$LINENO"
12793 ac_cv_mingw_header_vkd3d_h=yes
12795 ac_cv_mingw_header_vkd3d_h=no
12797 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12798 CC=$ac_wine_check_headers_saved_cc
12799 ac_exeext=$ac_wine_check_headers_saved_exeext
12801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
12802 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
12803 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
12807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
12808 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
12809 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
12811 printf %s "(cached) " >&6
12813 ac_wine_check_headers_saved_cc=$CC
12814 ac_wine_check_headers_saved_exeext=$ac_exeext
12815 eval CC=\$${wine_arch}_CC
12817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12818 /* end confdefs.h. */
12820 #include <vkd3d_shader.h>
12829 if ac_fn_c_try_compile "$LINENO"
12831 ac_cv_mingw_header_vkd3d_shader_h=yes
12833 ac_cv_mingw_header_vkd3d_shader_h=no
12835 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12836 CC=$ac_wine_check_headers_saved_cc
12837 ac_exeext=$ac_wine_check_headers_saved_exeext
12839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
12840 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
12841 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
12845 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
12847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
12848 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
12849 if test ${ac_cv_mingw_lib_vkd3d+y}
12851 printf %s "(cached) " >&6
12853 ac_wine_check_headers_saved_cc=$CC
12854 ac_wine_check_headers_saved_exeext=$ac_exeext
12855 ac_wine_check_headers_saved_libs=$LIBS
12856 eval CC=\$${wine_arch}_CC
12858 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
12859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12860 /* end confdefs.h. */
12862 /* Override any GCC internal prototype to avoid an error.
12863 Use char because int might match the return type of a GCC
12864 builtin and then its argument prototype would still apply. */
12865 char vkd3d_set_log_callback ();
12869 return vkd3d_set_log_callback ();
12874 if ac_fn_c_try_link "$LINENO"
12876 ac_cv_mingw_lib_vkd3d=yes
12878 ac_cv_mingw_lib_vkd3d=no
12880 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12881 conftest$ac_exeext conftest.$ac_ext
12882 CC=$ac_wine_check_headers_saved_cc
12883 ac_exeext=$ac_wine_check_headers_saved_exeext
12884 LIBS=$ac_wine_check_headers_saved_libs
12886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
12887 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
12888 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
12894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_compile in MinGW -lvkd3d-shader" >&5
12895 printf %s "checking for vkd3d_shader_compile in MinGW -lvkd3d-shader... " >&6; }
12896 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
12898 printf %s "(cached) " >&6
12900 ac_wine_check_headers_saved_cc=$CC
12901 ac_wine_check_headers_saved_exeext=$ac_exeext
12902 ac_wine_check_headers_saved_libs=$LIBS
12903 eval CC=\$${wine_arch}_CC
12905 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
12906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12907 /* end confdefs.h. */
12909 /* Override any GCC internal prototype to avoid an error.
12910 Use char because int might match the return type of a GCC
12911 builtin and then its argument prototype would still apply. */
12912 char vkd3d_shader_compile ();
12916 return vkd3d_shader_compile ();
12921 if ac_fn_c_try_link "$LINENO"
12923 ac_cv_mingw_lib_vkd3d_shader=yes
12925 ac_cv_mingw_lib_vkd3d_shader=no
12927 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12928 conftest$ac_exeext conftest.$ac_ext
12929 CC=$ac_wine_check_headers_saved_cc
12930 ac_exeext=$ac_wine_check_headers_saved_exeext
12931 LIBS=$ac_wine_check_headers_saved_libs
12933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
12934 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
12935 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
12941 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
12950 CPPFLAGS=$ac_save_CPPFLAGS
12952 if test "x$VKD3D_PE_LIBS" = "x"
12954 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
12957 if ${ZLIB_PE_CFLAGS:+false} :
12959 if test ${MINGW_PKG_CONFIG+y}
12961 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib
2>/dev
/null
`
12964 if ${ZLIB_PE_LIBS:+false} :
12966 if test ${MINGW_PKG_CONFIG+y}
12968 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib
2>/dev
/null
`
12971 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
12972 ac_save_CPPFLAGS=$CPPFLAGS
12973 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
12974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
12975 printf %s "checking for MinGW zlib.h... " >&6; }
12976 if test ${ac_cv_mingw_header_zlib_h+y}
12978 printf %s "(cached) " >&6
12980 ac_wine_check_headers_saved_cc=$CC
12981 ac_wine_check_headers_saved_exeext=$ac_exeext
12982 eval CC=\$${wine_arch}_CC
12984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12985 /* end confdefs.h. */
12996 if ac_fn_c_try_compile "$LINENO"
12998 ac_cv_mingw_header_zlib_h=yes
13000 ac_cv_mingw_header_zlib_h=no
13002 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13003 CC=$ac_wine_check_headers_saved_cc
13004 ac_exeext=$ac_wine_check_headers_saved_exeext
13006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13007 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13008 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13011 printf %s "checking for inflate in MinGW -lz... " >&6; }
13012 if test ${ac_cv_mingw_lib_z+y}
13014 printf %s "(cached) " >&6
13016 ac_wine_check_headers_saved_cc=$CC
13017 ac_wine_check_headers_saved_exeext=$ac_exeext
13018 ac_wine_check_headers_saved_libs=$LIBS
13019 eval CC=\$${wine_arch}_CC
13021 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13023 /* end confdefs.h. */
13025 /* Override any GCC internal prototype to avoid an error.
13026 Use char because int might match the return type of a GCC
13027 builtin and then its argument prototype would still apply. */
13037 if ac_fn_c_try_link "$LINENO"
13039 ac_cv_mingw_lib_z=yes
13041 ac_cv_mingw_lib_z=no
13043 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13044 conftest$ac_exeext conftest.$ac_ext
13045 CC=$ac_wine_check_headers_saved_cc
13046 ac_exeext=$ac_wine_check_headers_saved_exeext
13047 LIBS=$ac_wine_check_headers_saved_libs
13049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13050 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13051 if test "x$ac_cv_mingw_lib_z" = xyes
13055 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13058 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13060 CPPFLAGS=$ac_save_CPPFLAGS
13062 if test "x$ZLIB_PE_LIBS" = "x"
13064 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13068 if ${FAUDIO_PE_LIBS:+false} :
13070 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13071 if ${FAUDIO_PE_CFLAGS:+false} :
13073 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13080 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13081 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13083 if ${GSM_PE_LIBS:+false} :
13086 if ${GSM_PE_CFLAGS:+false} :
13088 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13095 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13096 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13098 if ${JPEG_PE_LIBS:+false} :
13101 if ${JPEG_PE_CFLAGS:+false} :
13103 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13110 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13111 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13113 if ${JXR_PE_LIBS:+false} :
13116 if ${JXR_PE_CFLAGS:+false} :
13118 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13125 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13126 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13128 if ${LCMS2_PE_LIBS:+false} :
13130 LCMS2_PE_LIBS=lcms2
13131 if ${LCMS2_PE_CFLAGS:+false} :
13133 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13140 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13141 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13143 if ${LDAP_PE_LIBS:+false} :
13146 if ${LDAP_PE_CFLAGS:+false} :
13148 LDAP_PE_CFLAGS="-I\$(top_srcdir)/libs/ldap/include"
13155 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap cflags: $LDAP_PE_CFLAGS" >&5
13156 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap libs: $LDAP_PE_LIBS" >&5
13158 if ${MPG123_PE_LIBS:+false} :
13160 MPG123_PE_LIBS=mpg123
13161 if ${MPG123_PE_CFLAGS:+false} :
13163 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13170 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13171 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13173 if ${MUSL_PE_LIBS:+false} :
13176 if ${MUSL_PE_CFLAGS:+false} :
13185 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl cflags: $MUSL_PE_CFLAGS" >&5
13186 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl libs: $MUSL_PE_LIBS" >&5
13188 if ${PNG_PE_LIBS:+false} :
13190 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13191 if ${PNG_PE_CFLAGS:+false} :
13193 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13200 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13201 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13203 if ${TIFF_PE_LIBS:+false} :
13205 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13206 if ${TIFF_PE_CFLAGS:+false} :
13208 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13215 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13216 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13218 if ${VKD3D_PE_LIBS:+false} :
13220 VKD3D_PE_LIBS=vkd3d
13221 if ${VKD3D_PE_CFLAGS:+false} :
13223 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13230 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13231 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13233 if ${XML2_PE_LIBS:+false} :
13236 if ${XML2_PE_CFLAGS:+false} :
13238 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13245 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13246 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13248 if ${XSLT_PE_LIBS:+false} :
13251 if ${XSLT_PE_CFLAGS:+false} :
13253 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13260 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13261 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13263 if ${ZLIB_PE_LIBS:+false} :
13266 if ${ZLIB_PE_CFLAGS:+false} :
13268 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13275 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13276 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13278 if ${ZYDIS_PE_LIBS:+false} :
13280 ZYDIS_PE_LIBS=zydis
13281 if ${ZYDIS_PE_CFLAGS:+false} :
13283 ZYDIS_PE_CFLAGS="-I\$(top_srcdir)/libs/zydis/include"
13290 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis cflags: $ZYDIS_PE_CFLAGS" >&5
13291 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis libs: $ZYDIS_PE_LIBS" >&5
13295 if test "$ac_cv_header_pthread_h" = "yes"
13297 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13298 if test "x$ac_cv_func_pthread_create" = xyes
13302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13303 printf %s "checking for pthread_create in -lpthread... " >&6; }
13304 if test ${ac_cv_lib_pthread_pthread_create+y}
13306 printf %s "(cached) " >&6
13308 ac_check_lib_save_LIBS=$LIBS
13309 LIBS="-lpthread $LIBS"
13310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13311 /* end confdefs.h. */
13313 /* Override any GCC internal prototype to avoid an error.
13314 Use char because int might match the return type of a GCC
13315 builtin and then its argument prototype would still apply. */
13316 char pthread_create ();
13320 return pthread_create ();
13325 if ac_fn_c_try_link "$LINENO"
13327 ac_cv_lib_pthread_pthread_create=yes
13329 ac_cv_lib_pthread_pthread_create=no
13331 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13332 conftest$ac_exeext conftest.$ac_ext
13333 LIBS=$ac_check_lib_save_LIBS
13335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13336 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13337 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13339 PTHREAD_LIBS="-lpthread"
13346 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13348 case "x$with_pthread" in
13350 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13351 Wine cannot support threads without libpthread.
13352 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13359 ac_cpp='$CPP $CPPFLAGS'
13360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13364 printf %s "checking how to run the C preprocessor... " >&6; }
13365 # On Suns, sometimes $CPP names a directory.
13366 if test -n "$CPP" && test -d "$CPP"; then
13369 if test -z "$CPP"; then
13370 if test ${ac_cv_prog_CPP+y}
13372 printf %s "(cached) " >&6
13374 # Double quotes because $CC needs to be expanded
13375 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13377 ac_preproc_ok=false
13378 for ac_c_preproc_warn_flag in '' yes
13380 # Use a header file that comes with gcc, so configuring glibc
13381 # with a fresh cross-compiler works.
13382 # On the NeXT, cc -E runs the code through the compiler's parser,
13383 # not just through cpp. "Syntax error" is here to catch this case.
13384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13385 /* end confdefs.h. */
13386 #include <limits.h>
13389 if ac_fn_c_try_cpp "$LINENO"
13393 # Broken: fails on valid input.
13396 rm -f conftest.err conftest.i conftest.$ac_ext
13398 # OK, works on sane cases. Now check whether nonexistent headers
13399 # can be detected and how.
13400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13401 /* end confdefs.h. */
13402 #include <ac_nonexistent.h>
13404 if ac_fn_c_try_cpp "$LINENO"
13406 # Broken: success on invalid input.
13409 # Passes both tests.
13413 rm -f conftest.err conftest.i conftest.$ac_ext
13416 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13417 rm -f conftest.i conftest.err conftest.
$ac_ext
13424 ac_cv_prog_CPP
=$CPP
13427 CPP
=$ac_cv_prog_CPP
13429 ac_cv_prog_CPP
=$CPP
13431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13432 printf "%s\n" "$CPP" >&6; }
13433 ac_preproc_ok
=false
13434 for ac_c_preproc_warn_flag
in '' yes
13436 # Use a header file that comes with gcc, so configuring glibc
13437 # with a fresh cross-compiler works.
13438 # On the NeXT, cc -E runs the code through the compiler's parser,
13439 # not just through cpp. "Syntax error" is here to catch this case.
13440 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13441 /* end confdefs.h. */
13442 #include <limits.h>
13445 if ac_fn_c_try_cpp
"$LINENO"
13449 # Broken: fails on valid input.
13452 rm -f conftest.err conftest.i conftest.
$ac_ext
13454 # OK, works on sane cases. Now check whether nonexistent headers
13455 # can be detected and how.
13456 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13457 /* end confdefs.h. */
13458 #include <ac_nonexistent.h>
13460 if ac_fn_c_try_cpp
"$LINENO"
13462 # Broken: success on invalid input.
13465 # Passes both tests.
13469 rm -f conftest.err conftest.i conftest.
$ac_ext
13472 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13473 rm -f conftest.i conftest.err conftest.
$ac_ext
13478 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13479 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13480 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
13481 See \`config.log' for more details" "$LINENO" 5; }
13485 ac_cpp
='$CPP $CPPFLAGS'
13486 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13487 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13488 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13492 printf %s
"checking for X... " >&6; }
13495 # Check whether --with-x was given.
13496 if test ${with_x+y}
13501 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13502 if test "x$with_x" = xno
; then
13503 # The user explicitly disabled X.
13506 case $x_includes,$x_libraries in #(
13507 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
13508 *,NONE | NONE
,*) if test ${ac_cv_have_x+y}
13510 printf %s
"(cached) " >&6
13512 # One or both of the vars are not set, and there is no cached value.
13515 # Do we need to do anything special at all?
13518 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13519 /* end confdefs.h. */
13520 #include <X11/Xlib.h>
13529 if ac_fn_c_try_link
"$LINENO"
13531 # We can compile and link X programs with no special options.
13535 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13536 conftest
$ac_exeext conftest.
$ac_ext
13537 LIBS
="$ac_save_LIBS"
13538 # If that didn't work, only try xmkmf and file system searches
13539 # for native compilation.
13540 if test x
"$ac_x_includes" = xno
&& test "$cross_compiling" = no
13542 rm -f -r conftest.dir
13543 if mkdir conftest.dir
; then
13545 cat >Imakefile
<<'_ACEOF'
13547 @echo incroot='${INCROOT}'
13549 @echo usrlibdir='${USRLIBDIR}'
13551 @echo libdir='${LIBDIR}'
13553 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
13554 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13555 for ac_var
in incroot usrlibdir libdir
; do
13556 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13558 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13559 for ac_extension
in a so sl dylib la dll
; do
13560 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13561 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13562 ac_im_usrlibdir
=$ac_im_libdir; break
13565 # Screen out bogus values from the imake configuration. They are
13566 # bogus both because they are the default anyway, and because
13567 # using them would break gcc on systems where it needs fixed includes.
13568 case $ac_im_incroot in
13569 /usr
/include
) ac_x_includes
= ;;
13570 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
13572 case $ac_im_usrlibdir in
13573 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
13574 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
13578 rm -f -r conftest.dir
13581 # Standard set of common directories for X headers.
13582 # Check X11 before X11Rn because it is often a symlink to the current release.
13596 /usr/local/X11/include
13597 /usr/local/X11R7/include
13598 /usr/local/X11R6/include
13599 /usr/local/X11R5/include
13600 /usr/local/X11R4/include
13602 /usr/local/include/X11
13603 /usr/local/include/X11R7
13604 /usr/local/include/X11R6
13605 /usr/local/include/X11R5
13606 /usr/local/include/X11R4
13612 /usr/XFree86/include/X11
13616 /usr/unsupported/include
13617 /usr/athena/include
13618 /usr/local/x11r5/include
13619 /usr/lpp/Xamples/include
13621 /usr/openwin/include
13622 /usr/openwin/share/include'
13624 if test "$ac_x_includes" = no
; then
13625 # Guess where to find include files, by looking for Xlib.h.
13626 # First, try using that file with no special directory specified.
13627 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13628 /* end confdefs.h. */
13629 #include <X11/Xlib.h>
13631 if ac_fn_c_try_cpp
"$LINENO"
13633 # We can compile using X headers with no special include directory.
13636 for ac_dir
in $ac_x_header_dirs; do
13637 if test -r "$ac_dir/X11/Xlib.h"; then
13638 ac_x_includes
=$ac_dir
13643 rm -f conftest.err conftest.i conftest.
$ac_ext
13644 fi # $ac_x_includes = no
13646 if test "$ac_x_libraries" = no
; then
13647 # Check for the libraries.
13648 # See if we find them without any special options.
13649 # Don't add to $LIBS permanently.
13652 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13653 /* end confdefs.h. */
13654 #include <X11/Xlib.h>
13663 if ac_fn_c_try_link
"$LINENO"
13666 # We can link X programs with no special library path.
13670 for ac_dir
in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13672 # Don't even attempt the hair of trying to link an X program!
13673 for ac_extension
in a so sl dylib la dll
; do
13674 if test -r "$ac_dir/libX11.$ac_extension"; then
13675 ac_x_libraries
=$ac_dir
13681 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13682 conftest
$ac_exeext conftest.
$ac_ext
13683 fi # $ac_x_libraries = no
13686 # Record the results.
13687 case $ac_x_includes,$ac_x_libraries in #(
13688 no
,* |
*,no |
*\'*) :
13689 # Didn't find X, or a directory has "'" in its name.
13690 ac_cv_have_x
="have_x=no" ;; #(
13692 # Record where we found X for the cache.
13693 ac_cv_have_x
="have_x=yes\
13694 ac_x_includes='$ac_x_includes'\
13695 ac_x_libraries='$ac_x_libraries'" ;;
13701 eval "$ac_cv_have_x"
13704 if test "$have_x" != yes; then
13705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13706 printf "%s\n" "$have_x" >&6; }
13709 # If each of the values was on the command line, it overrides each guess.
13710 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
13711 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
13712 # Update the cache value to reflect the command line values.
13713 ac_cv_have_x
="have_x=yes\
13714 ac_x_includes='$x_includes'\
13715 ac_x_libraries='$x_libraries'"
13716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13717 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13720 if test "$no_x" = yes; then
13721 # Not all programs may use this symbol, but it does not hurt to define it.
13723 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13725 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
13727 if test -n "$x_includes"; then
13728 X_CFLAGS
="$X_CFLAGS -I$x_includes"
13731 # It would also be nice to do this for all -L options, not just this one.
13732 if test -n "$x_libraries"; then
13733 X_LIBS
="$X_LIBS -L$x_libraries"
13734 # For Solaris; some versions of Sun CC require a space after -R and
13735 # others require no space. Words are not sufficient . . . .
13736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13737 printf %s
"checking whether -R must be followed by a space... " >&6; }
13738 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
13739 ac_xsave_c_werror_flag
=$ac_c_werror_flag
13740 ac_c_werror_flag
=yes
13741 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13742 /* end confdefs.h. */
13752 if ac_fn_c_try_link
"$LINENO"
13754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13755 printf "%s\n" "no" >&6; }
13756 X_LIBS
="$X_LIBS -R$x_libraries"
13758 LIBS
="$ac_xsave_LIBS -R $x_libraries"
13759 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13760 /* end confdefs.h. */
13770 if ac_fn_c_try_link
"$LINENO"
13772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13773 printf "%s\n" "yes" >&6; }
13774 X_LIBS
="$X_LIBS -R $x_libraries"
13776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13777 printf "%s\n" "neither works" >&6; }
13779 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13780 conftest
$ac_exeext conftest.
$ac_ext
13782 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13783 conftest
$ac_exeext conftest.
$ac_ext
13784 ac_c_werror_flag
=$ac_xsave_c_werror_flag
13785 LIBS
=$ac_xsave_LIBS
13788 # Check for system-dependent libraries X programs must link with.
13789 # Do this before checking for the system-independent R6 libraries
13790 # (-lICE), since we may need -lsocket or whatever for X linking.
13792 if test "$ISC" = yes; then
13793 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
13795 # Martyn Johnson says this is needed for Ultrix, if the X
13796 # libraries were built with DECnet support. And Karl Berry says
13797 # the Alpha needs dnet_stub (dnet does not exist).
13798 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
13799 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13800 /* end confdefs.h. */
13802 /* Override any GCC internal prototype to avoid an error.
13803 Use char because int might match the return type of a GCC
13804 builtin and then its argument prototype would still apply. */
13805 char XOpenDisplay ();
13809 return XOpenDisplay ();
13814 if ac_fn_c_try_link
"$LINENO"
13818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13819 printf %s
"checking for dnet_ntoa in -ldnet... " >&6; }
13820 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13822 printf %s
"(cached) " >&6
13824 ac_check_lib_save_LIBS
=$LIBS
13825 LIBS
="-ldnet $LIBS"
13826 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13827 /* end confdefs.h. */
13829 /* Override any GCC internal prototype to avoid an error.
13830 Use char because int might match the return type of a GCC
13831 builtin and then its argument prototype would still apply. */
13836 return dnet_ntoa ();
13841 if ac_fn_c_try_link
"$LINENO"
13843 ac_cv_lib_dnet_dnet_ntoa
=yes
13845 ac_cv_lib_dnet_dnet_ntoa
=no
13847 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13848 conftest
$ac_exeext conftest.
$ac_ext
13849 LIBS
=$ac_check_lib_save_LIBS
13851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13852 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13853 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13855 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
13858 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
13859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13860 printf %s
"checking for dnet_ntoa in -ldnet_stub... " >&6; }
13861 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
13863 printf %s
"(cached) " >&6
13865 ac_check_lib_save_LIBS
=$LIBS
13866 LIBS
="-ldnet_stub $LIBS"
13867 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13868 /* end confdefs.h. */
13870 /* Override any GCC internal prototype to avoid an error.
13871 Use char because int might match the return type of a GCC
13872 builtin and then its argument prototype would still apply. */
13877 return dnet_ntoa ();
13882 if ac_fn_c_try_link
"$LINENO"
13884 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
13886 ac_cv_lib_dnet_stub_dnet_ntoa
=no
13888 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13889 conftest
$ac_exeext conftest.
$ac_ext
13890 LIBS
=$ac_check_lib_save_LIBS
13892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
13893 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
13894 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
13896 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
13901 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13902 conftest
$ac_exeext conftest.
$ac_ext
13903 LIBS
="$ac_xsave_LIBS"
13905 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13906 # to get the SysV transport functions.
13907 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
13909 # The nsl library prevents programs from opening the X display
13910 # on Irix 5.2, according to T.E. Dickey.
13911 # The functions gethostbyname, getservbyname, and inet_addr are
13912 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
13913 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
13914 if test "x$ac_cv_func_gethostbyname" = xyes
13919 if test $ac_cv_func_gethostbyname = no
; then
13920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
13921 printf %s
"checking for gethostbyname in -lnsl... " >&6; }
13922 if test ${ac_cv_lib_nsl_gethostbyname+y}
13924 printf %s
"(cached) " >&6
13926 ac_check_lib_save_LIBS
=$LIBS
13928 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13929 /* end confdefs.h. */
13931 /* Override any GCC internal prototype to avoid an error.
13932 Use char because int might match the return type of a GCC
13933 builtin and then its argument prototype would still apply. */
13934 char gethostbyname ();
13938 return gethostbyname ();
13943 if ac_fn_c_try_link
"$LINENO"
13945 ac_cv_lib_nsl_gethostbyname
=yes
13947 ac_cv_lib_nsl_gethostbyname
=no
13949 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13950 conftest
$ac_exeext conftest.
$ac_ext
13951 LIBS
=$ac_check_lib_save_LIBS
13953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
13954 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
13955 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
13957 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
13960 if test $ac_cv_lib_nsl_gethostbyname = no
; then
13961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
13962 printf %s
"checking for gethostbyname in -lbsd... " >&6; }
13963 if test ${ac_cv_lib_bsd_gethostbyname+y}
13965 printf %s
"(cached) " >&6
13967 ac_check_lib_save_LIBS
=$LIBS
13969 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13970 /* end confdefs.h. */
13972 /* Override any GCC internal prototype to avoid an error.
13973 Use char because int might match the return type of a GCC
13974 builtin and then its argument prototype would still apply. */
13975 char gethostbyname ();
13979 return gethostbyname ();
13984 if ac_fn_c_try_link
"$LINENO"
13986 ac_cv_lib_bsd_gethostbyname
=yes
13988 ac_cv_lib_bsd_gethostbyname
=no
13990 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13991 conftest
$ac_exeext conftest.
$ac_ext
13992 LIBS
=$ac_check_lib_save_LIBS
13994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
13995 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
13996 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
13998 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
14004 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14005 # socket/setsockopt and other routines are undefined under SCO ODT
14006 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14007 # on later versions), says Simon Leinen: it contains gethostby*
14008 # variants that don't use the name server (or something). -lsocket
14009 # must be given before -lnsl if both are needed. We assume that
14010 # if connect needs -lnsl, so does gethostbyname.
14011 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
14012 if test "x$ac_cv_func_connect" = xyes
14017 if test $ac_cv_func_connect = no
; then
14018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14019 printf %s
"checking for connect in -lsocket... " >&6; }
14020 if test ${ac_cv_lib_socket_connect+y}
14022 printf %s
"(cached) " >&6
14024 ac_check_lib_save_LIBS
=$LIBS
14025 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
14026 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14027 /* end confdefs.h. */
14029 /* Override any GCC internal prototype to avoid an error.
14030 Use char because int might match the return type of a GCC
14031 builtin and then its argument prototype would still apply. */
14041 if ac_fn_c_try_link
"$LINENO"
14043 ac_cv_lib_socket_connect
=yes
14045 ac_cv_lib_socket_connect
=no
14047 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14048 conftest
$ac_exeext conftest.
$ac_ext
14049 LIBS
=$ac_check_lib_save_LIBS
14051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14052 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14053 if test "x$ac_cv_lib_socket_connect" = xyes
14055 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
14060 # Guillermo Gomez says -lposix is necessary on A/UX.
14061 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
14062 if test "x$ac_cv_func_remove" = xyes
14067 if test $ac_cv_func_remove = no
; then
14068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14069 printf %s
"checking for remove in -lposix... " >&6; }
14070 if test ${ac_cv_lib_posix_remove+y}
14072 printf %s
"(cached) " >&6
14074 ac_check_lib_save_LIBS
=$LIBS
14075 LIBS
="-lposix $LIBS"
14076 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14077 /* end confdefs.h. */
14079 /* Override any GCC internal prototype to avoid an error.
14080 Use char because int might match the return type of a GCC
14081 builtin and then its argument prototype would still apply. */
14091 if ac_fn_c_try_link
"$LINENO"
14093 ac_cv_lib_posix_remove
=yes
14095 ac_cv_lib_posix_remove
=no
14097 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14098 conftest
$ac_exeext conftest.
$ac_ext
14099 LIBS
=$ac_check_lib_save_LIBS
14101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14102 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14103 if test "x$ac_cv_lib_posix_remove" = xyes
14105 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
14110 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14111 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
14112 if test "x$ac_cv_func_shmat" = xyes
14117 if test $ac_cv_func_shmat = no
; then
14118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14119 printf %s
"checking for shmat in -lipc... " >&6; }
14120 if test ${ac_cv_lib_ipc_shmat+y}
14122 printf %s
"(cached) " >&6
14124 ac_check_lib_save_LIBS
=$LIBS
14126 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14127 /* end confdefs.h. */
14129 /* Override any GCC internal prototype to avoid an error.
14130 Use char because int might match the return type of a GCC
14131 builtin and then its argument prototype would still apply. */
14141 if ac_fn_c_try_link
"$LINENO"
14143 ac_cv_lib_ipc_shmat
=yes
14145 ac_cv_lib_ipc_shmat
=no
14147 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14148 conftest
$ac_exeext conftest.
$ac_ext
14149 LIBS
=$ac_check_lib_save_LIBS
14151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14152 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14153 if test "x$ac_cv_lib_ipc_shmat" = xyes
14155 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
14161 # Check for libraries that X11R6 Xt/Xaw programs need.
14162 ac_save_LDFLAGS
=$LDFLAGS
14163 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
14164 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14165 # check for ICE first), but we must link in the order -lSM -lICE or
14166 # we get undefined symbols. So assume we have SM if we have ICE.
14167 # These have to be linked with before -lX11, unlike the other
14168 # libraries we check for below, so use a different variable.
14169 # John Interrante, Karl Berry
14170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14171 printf %s
"checking for IceConnectionNumber in -lICE... " >&6; }
14172 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14174 printf %s
"(cached) " >&6
14176 ac_check_lib_save_LIBS
=$LIBS
14177 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
14178 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14179 /* end confdefs.h. */
14181 /* Override any GCC internal prototype to avoid an error.
14182 Use char because int might match the return type of a GCC
14183 builtin and then its argument prototype would still apply. */
14184 char IceConnectionNumber ();
14188 return IceConnectionNumber ();
14193 if ac_fn_c_try_link
"$LINENO"
14195 ac_cv_lib_ICE_IceConnectionNumber
=yes
14197 ac_cv_lib_ICE_IceConnectionNumber
=no
14199 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14200 conftest
$ac_exeext conftest.
$ac_ext
14201 LIBS
=$ac_check_lib_save_LIBS
14203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14204 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14205 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14207 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
14210 LDFLAGS
=$ac_save_LDFLAGS
14215 if test "$have_x" = "yes"
14217 ac_save_CPPFLAGS
="$CPPFLAGS"
14218 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
14220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14221 printf %s
"checking for -lX11... " >&6; }
14222 if test ${ac_cv_lib_soname_X11+y}
14224 printf %s
"(cached) " >&6
14226 ac_check_soname_save_LIBS
=$LIBS
14227 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14228 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14229 /* end confdefs.h. */
14231 /* Override any GCC internal prototype to avoid an error.
14232 Use char because int might match the return type of a GCC
14233 builtin and then its argument prototype would still apply. */
14234 char XCreateWindow ();
14238 return XCreateWindow ();
14243 if ac_fn_c_try_link
"$LINENO"
14246 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14247 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'` ;;
14248 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14249 if ${ac_cv_lib_soname_X11:+false} :
14251 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14255 ac_cv_lib_soname_X11
=
14257 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14258 conftest
$ac_exeext conftest.
$ac_ext
14259 LIBS
=$ac_check_soname_save_LIBS
14261 if ${ac_cv_lib_soname_X11:+false} :
14263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14264 printf "%s\n" "not found" >&6; }
14267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14268 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14270 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14275 printf %s
"checking for -lXext... " >&6; }
14276 if test ${ac_cv_lib_soname_Xext+y}
14278 printf %s
"(cached) " >&6
14280 ac_check_soname_save_LIBS
=$LIBS
14281 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14282 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14283 /* end confdefs.h. */
14285 /* Override any GCC internal prototype to avoid an error.
14286 Use char because int might match the return type of a GCC
14287 builtin and then its argument prototype would still apply. */
14288 char XextCreateExtension ();
14292 return XextCreateExtension ();
14297 if ac_fn_c_try_link
"$LINENO"
14300 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14301 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'` ;;
14302 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14303 if ${ac_cv_lib_soname_Xext:+false} :
14305 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14309 ac_cv_lib_soname_Xext
=
14311 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14312 conftest
$ac_exeext conftest.
$ac_ext
14313 LIBS
=$ac_check_soname_save_LIBS
14315 if ${ac_cv_lib_soname_Xext:+false} :
14317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14318 printf "%s\n" "not found" >&6; }
14321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14322 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14324 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14326 X_LIBS
="$X_LIBS -lXext"
14328 X_LIBS
="$X_LIBS -lX11"
14330 ac_fn_c_check_header_compile
"$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
14331 # include <X11/Xlib.h>
14333 #ifdef HAVE_X11_XUTIL_H
14334 # include <X11/Xutil.h>
14337 if test "x$ac_cv_header_X11_Xlib_h" = xyes
14339 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14342 ac_fn_c_check_header_compile
"$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
14343 # include <X11/Xlib.h>
14345 #ifdef HAVE_X11_XUTIL_H
14346 # include <X11/Xutil.h>
14349 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
14351 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14354 ac_fn_c_check_header_compile
"$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
14355 # include <X11/Xlib.h>
14357 #ifdef HAVE_X11_XUTIL_H
14358 # include <X11/Xutil.h>
14361 if test "x$ac_cv_header_X11_Xutil_h" = xyes
14363 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14366 ac_fn_c_check_header_compile
"$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
14367 # include <X11/Xlib.h>
14369 #ifdef HAVE_X11_XUTIL_H
14370 # include <X11/Xutil.h>
14373 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14375 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14378 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
14379 # include <X11/Xlib.h>
14381 #ifdef HAVE_X11_XUTIL_H
14382 # include <X11/Xutil.h>
14385 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14387 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14390 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
14391 # include <X11/Xlib.h>
14393 #ifdef HAVE_X11_XUTIL_H
14394 # include <X11/Xutil.h>
14397 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14399 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14402 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
14403 # include <X11/Xlib.h>
14405 #ifdef HAVE_X11_XUTIL_H
14406 # include <X11/Xutil.h>
14409 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14411 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14414 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
14415 # include <X11/Xlib.h>
14417 #ifdef HAVE_X11_XUTIL_H
14418 # include <X11/Xutil.h>
14421 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14423 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14426 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
14427 # include <X11/Xlib.h>
14429 #ifdef HAVE_X11_XUTIL_H
14430 # include <X11/Xutil.h>
14433 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
14435 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14438 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
14439 # include <X11/Xlib.h>
14441 #ifdef HAVE_X11_XUTIL_H
14442 # include <X11/Xutil.h>
14445 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14447 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14450 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
14451 # include <X11/Xlib.h>
14453 #ifdef HAVE_X11_XUTIL_H
14454 # include <X11/Xutil.h>
14457 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14459 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14462 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
14463 # include <X11/Xlib.h>
14465 #ifdef HAVE_X11_XUTIL_H
14466 # include <X11/Xutil.h>
14469 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14471 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14474 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
14475 # include <X11/Xlib.h>
14477 #ifdef HAVE_X11_XUTIL_H
14478 # include <X11/Xutil.h>
14481 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14483 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14486 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
14487 # include <X11/Xlib.h>
14489 #ifdef HAVE_X11_XUTIL_H
14490 # include <X11/Xutil.h>
14493 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14495 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14498 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
14499 # include <X11/Xlib.h>
14501 #ifdef HAVE_X11_XUTIL_H
14502 # include <X11/Xutil.h>
14505 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14507 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14512 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14515 printf %s
"checking for -lXcursor... " >&6; }
14516 if test ${ac_cv_lib_soname_Xcursor+y}
14518 printf %s
"(cached) " >&6
14520 ac_check_soname_save_LIBS
=$LIBS
14521 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14522 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14523 /* end confdefs.h. */
14525 /* Override any GCC internal prototype to avoid an error.
14526 Use char because int might match the return type of a GCC
14527 builtin and then its argument prototype would still apply. */
14528 char XcursorImageLoadCursor ();
14532 return XcursorImageLoadCursor ();
14537 if ac_fn_c_try_link
"$LINENO"
14540 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14541 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'` ;;
14542 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14543 if ${ac_cv_lib_soname_Xcursor:+false} :
14545 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14549 ac_cv_lib_soname_Xcursor
=
14551 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14552 conftest
$ac_exeext conftest.
$ac_ext
14553 LIBS
=$ac_check_soname_save_LIBS
14555 if ${ac_cv_lib_soname_Xcursor:+false} :
14557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14558 printf "%s\n" "not found" >&6; }
14561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14562 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14564 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14569 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14571 case "x$with_xcursor" in
14572 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14574 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14575 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14580 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14583 printf %s
"checking for -lXi... " >&6; }
14584 if test ${ac_cv_lib_soname_Xi+y}
14586 printf %s
"(cached) " >&6
14588 ac_check_soname_save_LIBS
=$LIBS
14589 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14590 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14591 /* end confdefs.h. */
14593 /* Override any GCC internal prototype to avoid an error.
14594 Use char because int might match the return type of a GCC
14595 builtin and then its argument prototype would still apply. */
14596 char XOpenDevice ();
14600 return XOpenDevice ();
14605 if ac_fn_c_try_link
"$LINENO"
14608 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14609 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'` ;;
14610 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14611 if ${ac_cv_lib_soname_Xi:+false} :
14613 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14617 ac_cv_lib_soname_Xi
=
14619 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14620 conftest
$ac_exeext conftest.
$ac_ext
14621 LIBS
=$ac_check_soname_save_LIBS
14623 if ${ac_cv_lib_soname_Xi:+false} :
14625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14626 printf "%s\n" "not found" >&6; }
14629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14630 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14632 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14637 if test "x$ac_cv_lib_soname_Xi" = "x"
14639 case "x$with_xinput" in
14640 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14642 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14643 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14648 if test "x$ac_cv_lib_soname_Xi" != x
14650 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14652 case "x$with_xinput2" in
14653 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14655 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
14656 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14662 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14665 printf %s
"checking for XShmQueryExtension in -lXext... " >&6; }
14666 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14668 printf %s
"(cached) " >&6
14670 ac_check_lib_save_LIBS
=$LIBS
14671 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14672 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14673 /* end confdefs.h. */
14675 /* Override any GCC internal prototype to avoid an error.
14676 Use char because int might match the return type of a GCC
14677 builtin and then its argument prototype would still apply. */
14678 char XShmQueryExtension ();
14682 return XShmQueryExtension ();
14687 if ac_fn_c_try_link
"$LINENO"
14689 ac_cv_lib_Xext_XShmQueryExtension
=yes
14691 ac_cv_lib_Xext_XShmQueryExtension
=no
14693 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14694 conftest
$ac_exeext conftest.
$ac_ext
14695 LIBS
=$ac_check_lib_save_LIBS
14697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14698 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14699 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14702 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14707 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14709 case "x$with_xshm" in
14710 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14712 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14713 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14718 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14721 printf %s
"checking for XShapeQueryExtension in -lXext... " >&6; }
14722 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14724 printf %s
"(cached) " >&6
14726 ac_check_lib_save_LIBS
=$LIBS
14727 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14728 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14729 /* end confdefs.h. */
14731 /* Override any GCC internal prototype to avoid an error.
14732 Use char because int might match the return type of a GCC
14733 builtin and then its argument prototype would still apply. */
14734 char XShapeQueryExtension ();
14738 return XShapeQueryExtension ();
14743 if ac_fn_c_try_link
"$LINENO"
14745 ac_cv_lib_Xext_XShapeQueryExtension
=yes
14747 ac_cv_lib_Xext_XShapeQueryExtension
=no
14749 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14750 conftest
$ac_exeext conftest.
$ac_ext
14751 LIBS
=$ac_check_lib_save_LIBS
14753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14754 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14755 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14758 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14763 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14765 case "x$with_xshape" in
14766 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14768 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
14769 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14774 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14777 printf %s
"checking for -lXxf86vm... " >&6; }
14778 if test ${ac_cv_lib_soname_Xxf86vm+y}
14780 printf %s
"(cached) " >&6
14782 ac_check_soname_save_LIBS
=$LIBS
14783 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14784 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14785 /* end confdefs.h. */
14787 /* Override any GCC internal prototype to avoid an error.
14788 Use char because int might match the return type of a GCC
14789 builtin and then its argument prototype would still apply. */
14790 char XF86VidModeQueryExtension ();
14794 return XF86VidModeQueryExtension ();
14799 if ac_fn_c_try_link
"$LINENO"
14802 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14803 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'` ;;
14804 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14805 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14807 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14811 ac_cv_lib_soname_Xxf86vm
=
14813 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14814 conftest
$ac_exeext conftest.
$ac_ext
14815 LIBS
=$ac_check_soname_save_LIBS
14817 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14820 printf "%s\n" "not found" >&6; }
14823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
14824 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
14826 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
14831 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
14833 case "x$with_xxf86vm" in
14834 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
14836 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
14837 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
14842 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
14844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
14845 printf %s
"checking for -lXrender... " >&6; }
14846 if test ${ac_cv_lib_soname_Xrender+y}
14848 printf %s
"(cached) " >&6
14850 ac_check_soname_save_LIBS
=$LIBS
14851 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14852 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14853 /* end confdefs.h. */
14855 /* Override any GCC internal prototype to avoid an error.
14856 Use char because int might match the return type of a GCC
14857 builtin and then its argument prototype would still apply. */
14858 char XRenderQueryExtension ();
14862 return XRenderQueryExtension ();
14867 if ac_fn_c_try_link
"$LINENO"
14870 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14871 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'` ;;
14872 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14873 if ${ac_cv_lib_soname_Xrender:+false} :
14875 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14879 ac_cv_lib_soname_Xrender
=
14881 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14882 conftest
$ac_exeext conftest.
$ac_ext
14883 LIBS
=$ac_check_soname_save_LIBS
14885 if ${ac_cv_lib_soname_Xrender:+false} :
14887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14888 printf "%s\n" "not found" >&6; }
14891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
14892 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
14894 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
14896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
14897 printf %s
"checking for XRenderSetPictureTransform in -lXrender... " >&6; }
14898 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
14900 printf %s
"(cached) " >&6
14902 ac_check_lib_save_LIBS
=$LIBS
14903 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14904 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14905 /* end confdefs.h. */
14907 /* Override any GCC internal prototype to avoid an error.
14908 Use char because int might match the return type of a GCC
14909 builtin and then its argument prototype would still apply. */
14910 char XRenderSetPictureTransform ();
14914 return XRenderSetPictureTransform ();
14919 if ac_fn_c_try_link
"$LINENO"
14921 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
14923 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
14925 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14926 conftest
$ac_exeext conftest.
$ac_ext
14927 LIBS
=$ac_check_lib_save_LIBS
14929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
14930 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
14931 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
14934 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
14938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
14939 printf %s
"checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
14940 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
14942 printf %s
"(cached) " >&6
14944 ac_check_lib_save_LIBS
=$LIBS
14945 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14946 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14947 /* end confdefs.h. */
14949 /* Override any GCC internal prototype to avoid an error.
14950 Use char because int might match the return type of a GCC
14951 builtin and then its argument prototype would still apply. */
14952 char XRenderCreateLinearGradient ();
14956 return XRenderCreateLinearGradient ();
14961 if ac_fn_c_try_link
"$LINENO"
14963 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
14965 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
14967 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14968 conftest
$ac_exeext conftest.
$ac_ext
14969 LIBS
=$ac_check_lib_save_LIBS
14971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
14972 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
14973 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
14976 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
14983 if test "x$ac_cv_lib_soname_Xrender" = "x"
14985 case "x$with_xrender" in
14986 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
14988 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
14989 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
14994 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
14996 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14997 /* end confdefs.h. */
14998 #include <X11/Xlib.h>
14999 #include <X11/extensions/Xrandr.h>
15003 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15008 if ac_fn_c_try_compile
"$LINENO"
15010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15011 printf %s
"checking for -lXrandr... " >&6; }
15012 if test ${ac_cv_lib_soname_Xrandr+y}
15014 printf %s
"(cached) " >&6
15016 ac_check_soname_save_LIBS
=$LIBS
15017 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15018 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15019 /* end confdefs.h. */
15021 /* Override any GCC internal prototype to avoid an error.
15022 Use char because int might match the return type of a GCC
15023 builtin and then its argument prototype would still apply. */
15024 char XRRQueryExtension ();
15028 return XRRQueryExtension ();
15033 if ac_fn_c_try_link
"$LINENO"
15036 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15037 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'` ;;
15038 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15039 if ${ac_cv_lib_soname_Xrandr:+false} :
15041 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15045 ac_cv_lib_soname_Xrandr
=
15047 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15048 conftest
$ac_exeext conftest.
$ac_ext
15049 LIBS
=$ac_check_soname_save_LIBS
15051 if ${ac_cv_lib_soname_Xrandr:+false} :
15053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15054 printf "%s\n" "not found" >&6; }
15057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15058 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15060 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15062 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15063 /* end confdefs.h. */
15064 #include <X11/Xlib.h>
15065 #include <X11/extensions/Xrandr.h>
15069 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15074 if ac_fn_c_try_compile
"$LINENO"
15077 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15080 as_fn_append wine_notices
"|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15082 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15085 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15087 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15089 case "x$with_xrandr" in
15090 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15092 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15093 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15098 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15100 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15101 /* end confdefs.h. */
15102 #include <X11/Xlib.h>
15103 #include <X11/extensions/Xfixes.h>
15107 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15112 if ac_fn_c_try_compile
"$LINENO"
15114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15115 printf %s
"checking for -lXfixes... " >&6; }
15116 if test ${ac_cv_lib_soname_Xfixes+y}
15118 printf %s
"(cached) " >&6
15120 ac_check_soname_save_LIBS
=$LIBS
15121 LIBS
="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15122 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15123 /* end confdefs.h. */
15125 /* Override any GCC internal prototype to avoid an error.
15126 Use char because int might match the return type of a GCC
15127 builtin and then its argument prototype would still apply. */
15128 char XFixesQueryVersion ();
15132 return XFixesQueryVersion ();
15137 if ac_fn_c_try_link
"$LINENO"
15140 dll
) ac_cv_lib_soname_Xfixes
=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15141 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'` ;;
15142 *) ac_cv_lib_soname_Xfixes
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15143 if ${ac_cv_lib_soname_Xfixes:+false} :
15145 ac_cv_lib_soname_Xfixes
=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15149 ac_cv_lib_soname_Xfixes
=
15151 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15152 conftest
$ac_exeext conftest.
$ac_ext
15153 LIBS
=$ac_check_soname_save_LIBS
15155 if ${ac_cv_lib_soname_Xfixes:+false} :
15157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15158 printf "%s\n" "not found" >&6; }
15161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15162 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15164 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15169 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15171 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15173 case "x$with_xfixes" in
15174 x
) as_fn_append wine_notices
"|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15176 *) as_fn_error $?
"libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15177 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15182 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15184 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15185 /* end confdefs.h. */
15186 #include <X11/Xlib.h>
15187 #include <X11/extensions/Xinerama.h>
15191 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15196 if ac_fn_c_try_compile
"$LINENO"
15198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15199 printf %s
"checking for -lXinerama... " >&6; }
15200 if test ${ac_cv_lib_soname_Xinerama+y}
15202 printf %s
"(cached) " >&6
15204 ac_check_soname_save_LIBS
=$LIBS
15205 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15206 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15207 /* end confdefs.h. */
15209 /* Override any GCC internal prototype to avoid an error.
15210 Use char because int might match the return type of a GCC
15211 builtin and then its argument prototype would still apply. */
15212 char XineramaQueryScreens ();
15216 return XineramaQueryScreens ();
15221 if ac_fn_c_try_link
"$LINENO"
15224 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15225 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'` ;;
15226 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15227 if ${ac_cv_lib_soname_Xinerama:+false} :
15229 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15233 ac_cv_lib_soname_Xinerama
=
15235 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15236 conftest
$ac_exeext conftest.
$ac_ext
15237 LIBS
=$ac_check_soname_save_LIBS
15239 if ${ac_cv_lib_soname_Xinerama:+false} :
15241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15242 printf "%s\n" "not found" >&6; }
15245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15246 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15248 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15253 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15255 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15257 case "x$with_xinerama" in
15258 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15260 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15261 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15266 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15269 printf %s
"checking for -lXcomposite... " >&6; }
15270 if test ${ac_cv_lib_soname_Xcomposite+y}
15272 printf %s
"(cached) " >&6
15274 ac_check_soname_save_LIBS
=$LIBS
15275 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15276 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15277 /* end confdefs.h. */
15279 /* Override any GCC internal prototype to avoid an error.
15280 Use char because int might match the return type of a GCC
15281 builtin and then its argument prototype would still apply. */
15282 char XCompositeRedirectWindow ();
15286 return XCompositeRedirectWindow ();
15291 if ac_fn_c_try_link
"$LINENO"
15294 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15295 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'` ;;
15296 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15297 if ${ac_cv_lib_soname_Xcomposite:+false} :
15299 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15303 ac_cv_lib_soname_Xcomposite
=
15305 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15306 conftest
$ac_exeext conftest.
$ac_ext
15307 LIBS
=$ac_check_soname_save_LIBS
15309 if ${ac_cv_lib_soname_Xcomposite:+false} :
15311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15312 printf "%s\n" "not found" >&6; }
15315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15316 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15318 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15323 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15325 case "x$with_xcomposite" in
15326 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15328 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15329 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15334 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
15335 #include <X11/Xlib.h>
15338 if test "x$ac_cv_member_XICCallback_callback" = xyes
15341 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15345 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15346 #include <X11/Xlib.h>
15349 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15352 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15360 if test "x$with_opengl" != "xno"
15362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15363 printf %s
"checking for -lGL... " >&6; }
15364 if test ${ac_cv_lib_soname_GL+y}
15366 printf %s
"(cached) " >&6
15368 ac_check_soname_save_LIBS
=$LIBS
15369 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15370 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15371 /* end confdefs.h. */
15373 /* Override any GCC internal prototype to avoid an error.
15374 Use char because int might match the return type of a GCC
15375 builtin and then its argument prototype would still apply. */
15376 char glXCreateContext ();
15380 return glXCreateContext ();
15385 if ac_fn_c_try_link
"$LINENO"
15388 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15389 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'` ;;
15390 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15391 if ${ac_cv_lib_soname_GL:+false} :
15393 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15397 ac_cv_lib_soname_GL
=
15399 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15400 conftest
$ac_exeext conftest.
$ac_ext
15401 LIBS
=$ac_check_soname_save_LIBS
15403 if ${ac_cv_lib_soname_GL:+false} :
15405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15406 printf "%s\n" "not found" >&6; }
15407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15408 printf %s
"checking for -lGL... " >&6; }
15409 if test ${ac_cv_lib_soname_GL+y}
15411 printf %s
"(cached) " >&6
15413 ac_check_soname_save_LIBS
=$LIBS
15414 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"
15415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15416 /* end confdefs.h. */
15418 /* Override any GCC internal prototype to avoid an error.
15419 Use char because int might match the return type of a GCC
15420 builtin and then its argument prototype would still apply. */
15421 char glXCreateContext ();
15425 return glXCreateContext ();
15430 if ac_fn_c_try_link
"$LINENO"
15433 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15434 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'` ;;
15435 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15436 if ${ac_cv_lib_soname_GL:+false} :
15438 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15442 ac_cv_lib_soname_GL
=
15444 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15445 conftest
$ac_exeext conftest.
$ac_ext
15446 LIBS
=$ac_check_soname_save_LIBS
15448 if ${ac_cv_lib_soname_GL:+false} :
15450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15451 printf "%s\n" "not found" >&6; }
15452 if test -f /usr
/X11R
6/lib
/libGL.a
15454 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
15455 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15457 opengl_msg
="No OpenGL library found on this system."
15460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15461 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15463 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15465 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"
15468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15469 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15471 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15475 if test "x$with_osmesa" != "xno"
15477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15478 printf %s
"checking for -lOSMesa... " >&6; }
15479 if test ${ac_cv_lib_soname_OSMesa+y}
15481 printf %s
"(cached) " >&6
15483 ac_check_soname_save_LIBS
=$LIBS
15484 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15485 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15486 /* end confdefs.h. */
15488 /* Override any GCC internal prototype to avoid an error.
15489 Use char because int might match the return type of a GCC
15490 builtin and then its argument prototype would still apply. */
15491 char OSMesaGetProcAddress ();
15495 return OSMesaGetProcAddress ();
15500 if ac_fn_c_try_link
"$LINENO"
15503 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15504 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'` ;;
15505 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15506 if ${ac_cv_lib_soname_OSMesa:+false} :
15508 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15512 ac_cv_lib_soname_OSMesa
=
15514 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15515 conftest
$ac_exeext conftest.
$ac_ext
15516 LIBS
=$ac_check_soname_save_LIBS
15518 if ${ac_cv_lib_soname_OSMesa:+false} :
15520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15521 printf "%s\n" "not found" >&6; }
15524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15525 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15527 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15531 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15533 case "x$with_osmesa" in
15534 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15536 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15537 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15543 if test -n "$opengl_msg"
15545 case "x$with_opengl" in
15546 x
) as_fn_append wine_warnings
"|$opengl_msg
15547 OpenGL and Direct3D won't be supported." ;;
15549 *) as_fn_error $?
"$opengl_msg
15550 OpenGL and Direct3D won't be supported.
15551 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15556 CPPFLAGS
="$ac_save_CPPFLAGS"
15562 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15564 if test "x$X_LIBS" = "x"
15568 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
15569 without X support, which probably isn't what you want. You will need
15570 to install ${notice_platform}development packages of Xlib at the very least.
15571 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15573 enable_winex11_drv
=${enable_winex11_drv:-no}
15576 if test "x$X_LIBS" = "x"
15579 x
) as_fn_append wine_notices
"|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15581 *) as_fn_error $?
"X ${notice_platform}development files not found, the X11 driver won't be supported.
15582 This is an error since --with-x was requested." "$LINENO" 5 ;;
15584 enable_winex11_drv
=${enable_winex11_drv:-no}
15588 if test "x$with_wayland" != "xno"
15591 if ${WAYLAND_CLIENT_CFLAGS:+false} :
15593 if test ${PKG_CONFIG+y}
15595 WAYLAND_CLIENT_CFLAGS
=`$PKG_CONFIG --cflags wayland-client 2>conftest.err`
15599 if ${WAYLAND_CLIENT_LIBS:+false} :
15601 if test ${PKG_CONFIG+y}
15603 WAYLAND_CLIENT_LIBS
=`$PKG_CONFIG --libs wayland-client 2>/dev/null`
15608 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client cflags: $WAYLAND_CLIENT_CFLAGS" >&5
15609 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client libs: $WAYLAND_CLIENT_LIBS" >&5
15610 if test -s conftest.err
; then
15611 printf %s
"$as_me:${as_lineno-$LINENO}: wayland-client errors: " >&5
15612 cat conftest.err
>&5
15615 ac_save_CPPFLAGS
=$CPPFLAGS
15616 CPPFLAGS
="$CPPFLAGS $WAYLAND_CLIENT_CFLAGS"
15617 ac_fn_c_check_header_compile
"$LINENO" "wayland-client.h" "ac_cv_header_wayland_client_h" "$ac_includes_default"
15618 if test "x$ac_cv_header_wayland_client_h" = xyes
15620 printf "%s\n" "#define HAVE_WAYLAND_CLIENT_H 1" >>confdefs.h
15624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wl_display_connect in -lwayland-client" >&5
15625 printf %s
"checking for wl_display_connect in -lwayland-client... " >&6; }
15626 if test ${ac_cv_lib_wayland_client_wl_display_connect+y}
15628 printf %s
"(cached) " >&6
15630 ac_check_lib_save_LIBS
=$LIBS
15631 LIBS
="-lwayland-client $WAYLAND_CLIENT_LIBS $LIBS"
15632 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15633 /* end confdefs.h. */
15635 /* Override any GCC internal prototype to avoid an error.
15636 Use char because int might match the return type of a GCC
15637 builtin and then its argument prototype would still apply. */
15638 char wl_display_connect ();
15642 return wl_display_connect ();
15647 if ac_fn_c_try_link
"$LINENO"
15649 ac_cv_lib_wayland_client_wl_display_connect
=yes
15651 ac_cv_lib_wayland_client_wl_display_connect
=no
15653 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15654 conftest
$ac_exeext conftest.
$ac_ext
15655 LIBS
=$ac_check_lib_save_LIBS
15657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wayland_client_wl_display_connect" >&5
15658 printf "%s\n" "$ac_cv_lib_wayland_client_wl_display_connect" >&6; }
15659 if test "x$ac_cv_lib_wayland_client_wl_display_connect" = xyes
15663 WAYLAND_CLIENT_LIBS
=""
15666 CPPFLAGS
=$ac_save_CPPFLAGS
15669 if test -z "$WAYLAND_CLIENT_LIBS"
15671 case "x$with_wayland" in
15672 x
) as_fn_append wine_notices
"|Wayland ${notice_platform}development files not found, the Wayland driver won't be supported." ;;
15674 *) as_fn_error $?
"Wayland ${notice_platform}development files not found, the Wayland driver won't be supported.
15675 This is an error since --with-wayland was requested." "$LINENO" 5 ;;
15677 enable_winewayland_drv
=${enable_winewayland_drv:-no}
15680 if test "$ac_cv_header_CL_cl_h" = "yes"
15682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15683 printf %s
"checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15684 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15686 printf %s
"(cached) " >&6
15688 ac_check_lib_save_LIBS
=$LIBS
15689 LIBS
="-lOpenCL $LIBS"
15690 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15691 /* end confdefs.h. */
15693 /* Override any GCC internal prototype to avoid an error.
15694 Use char because int might match the return type of a GCC
15695 builtin and then its argument prototype would still apply. */
15696 char clGetPlatformInfo ();
15700 return clGetPlatformInfo ();
15705 if ac_fn_c_try_link
"$LINENO"
15707 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
15709 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
15711 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15712 conftest
$ac_exeext conftest.
$ac_ext
15713 LIBS
=$ac_check_lib_save_LIBS
15715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15716 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15717 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15719 OPENCL_LIBS
="-lOpenCL"
15724 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15726 case "x$with_opencl" in
15727 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15729 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15730 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15732 enable_opencl
=${enable_opencl:-no}
15735 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_init in -lpcap" >&5
15738 printf %s
"checking for pcap_init in -lpcap... " >&6; }
15739 if test ${ac_cv_lib_pcap_pcap_init+y}
15741 printf %s
"(cached) " >&6
15743 ac_check_lib_save_LIBS
=$LIBS
15744 LIBS
="-lpcap $LIBS"
15745 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15746 /* end confdefs.h. */
15748 /* Override any GCC internal prototype to avoid an error.
15749 Use char because int might match the return type of a GCC
15750 builtin and then its argument prototype would still apply. */
15755 return pcap_init ();
15760 if ac_fn_c_try_link
"$LINENO"
15762 ac_cv_lib_pcap_pcap_init
=yes
15764 ac_cv_lib_pcap_pcap_init
=no
15766 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15767 conftest
$ac_exeext conftest.
$ac_ext
15768 LIBS
=$ac_check_lib_save_LIBS
15770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_init" >&5
15771 printf "%s\n" "$ac_cv_lib_pcap_pcap_init" >&6; }
15772 if test "x$ac_cv_lib_pcap_pcap_init" = xyes
15779 if test "x$ac_cv_lib_pcap_pcap_init" != xyes
15781 case "x$with_pcap" in
15782 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15784 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
15785 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15787 enable_wpcap
=${enable_wpcap:-no}
15790 if test "x$with_pcsclite" != "xno"
15792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SCardEstablishContext in -lpcsclite" >&5
15793 printf %s
"checking for SCardEstablishContext in -lpcsclite... " >&6; }
15794 if test ${ac_cv_lib_pcsclite_SCardEstablishContext+y}
15796 printf %s
"(cached) " >&6
15798 ac_check_lib_save_LIBS
=$LIBS
15799 LIBS
="-lpcsclite $LIBS"
15800 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15801 /* end confdefs.h. */
15803 /* Override any GCC internal prototype to avoid an error.
15804 Use char because int might match the return type of a GCC
15805 builtin and then its argument prototype would still apply. */
15806 char SCardEstablishContext ();
15810 return SCardEstablishContext ();
15815 if ac_fn_c_try_link
"$LINENO"
15817 ac_cv_lib_pcsclite_SCardEstablishContext
=yes
15819 ac_cv_lib_pcsclite_SCardEstablishContext
=no
15821 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15822 conftest
$ac_exeext conftest.
$ac_ext
15823 LIBS
=$ac_check_lib_save_LIBS
15825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcsclite_SCardEstablishContext" >&5
15826 printf "%s\n" "$ac_cv_lib_pcsclite_SCardEstablishContext" >&6; }
15827 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" = xyes
15829 PCSCLITE_LIBS
="-lpcsclite"
15834 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" != xyes
15836 case "x$with_pcsclite" in
15837 x
) as_fn_append wine_notices
"|libpcsclite not found, smart cards won't be supported." ;;
15839 *) as_fn_error $?
"libpcsclite not found, smart cards won't be supported.
15840 This is an error since --with-pcsclite was requested." "$LINENO" 5 ;;
15842 enable_winscard
=${enable_winscard:-no}
15845 if test "x$with_inotify" != "xno"
15848 if ${INOTIFY_CFLAGS:+false} :
15850 if test ${PKG_CONFIG+y}
15852 INOTIFY_CFLAGS
=`$PKG_CONFIG --cflags libinotify 2>conftest.err`
15856 if ${INOTIFY_LIBS:+false} :
15858 if test ${PKG_CONFIG+y}
15860 INOTIFY_LIBS
=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15865 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15866 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15867 if test -s conftest.err
; then
15868 printf %s
"$as_me:${as_lineno-$LINENO}: libinotify errors: " >&5
15869 cat conftest.err
>&5
15872 ac_save_CPPFLAGS
=$CPPFLAGS
15873 CPPFLAGS
="$CPPFLAGS $INOTIFY_CFLAGS"
15874 ac_fn_c_check_header_compile
"$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15875 if test "x$ac_cv_header_sys_inotify_h" = xyes
15877 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15882 printf %s
"checking for inotify_add_watch in -linotify... " >&6; }
15883 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15885 printf %s
"(cached) " >&6
15887 ac_check_lib_save_LIBS
=$LIBS
15888 LIBS
="-linotify $INOTIFY_LIBS $LIBS"
15889 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15890 /* end confdefs.h. */
15892 /* Override any GCC internal prototype to avoid an error.
15893 Use char because int might match the return type of a GCC
15894 builtin and then its argument prototype would still apply. */
15895 char inotify_add_watch ();
15899 return inotify_add_watch ();
15904 if ac_fn_c_try_link
"$LINENO"
15906 ac_cv_lib_inotify_inotify_add_watch
=yes
15908 ac_cv_lib_inotify_inotify_add_watch
=no
15910 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15911 conftest
$ac_exeext conftest.
$ac_ext
15912 LIBS
=$ac_check_lib_save_LIBS
15914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15915 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
15916 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
15923 CPPFLAGS
=$ac_save_CPPFLAGS
15926 if test "$ac_cv_header_sys_inotify_h" != "yes"
15928 case "x$with_inotify" in
15929 x
) as_fn_append wine_notices
"|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
15931 *) as_fn_error $?
"libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
15932 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
15937 if test "x$with_dbus" != "xno"
15940 if ${DBUS_CFLAGS:+false} :
15942 if test ${PKG_CONFIG+y}
15944 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>conftest.err`
15948 if ${DBUS_LIBS:+false} :
15950 if test ${PKG_CONFIG+y}
15952 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
15957 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
15958 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
15959 if test -s conftest.err
; then
15960 printf %s
"$as_me:${as_lineno-$LINENO}: dbus-1 errors: " >&5
15961 cat conftest.err
>&5
15964 ac_save_CPPFLAGS
=$CPPFLAGS
15965 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
15966 ac_fn_c_check_header_compile
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
15967 if test "x$ac_cv_header_dbus_dbus_h" = xyes
15969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
15970 printf %s
"checking for -ldbus-1... " >&6; }
15971 if test ${ac_cv_lib_soname_dbus_1+y}
15973 printf %s
"(cached) " >&6
15975 ac_check_soname_save_LIBS
=$LIBS
15976 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
15977 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15978 /* end confdefs.h. */
15980 /* Override any GCC internal prototype to avoid an error.
15981 Use char because int might match the return type of a GCC
15982 builtin and then its argument prototype would still apply. */
15983 char dbus_connection_close ();
15987 return dbus_connection_close ();
15992 if ac_fn_c_try_link
"$LINENO"
15995 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15996 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'` ;;
15997 *) 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'`
15998 if ${ac_cv_lib_soname_dbus_1:+false} :
16000 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16004 ac_cv_lib_soname_dbus_1
=
16006 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16007 conftest
$ac_exeext conftest.
$ac_ext
16008 LIBS
=$ac_check_soname_save_LIBS
16010 if ${ac_cv_lib_soname_dbus_1:+false} :
16012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16013 printf "%s\n" "not found" >&6; }
16016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16017 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16019 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16027 CPPFLAGS
=$ac_save_CPPFLAGS
16031 darwin
*|macosx
*) ;;
16032 *) if test "x$ac_cv_lib_soname_dbus_1" = "x"
16034 case "x$with_dbus" in
16035 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16037 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
16038 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16044 if test "x$with_gnutls" != "xno"
16047 if ${GNUTLS_CFLAGS:+false} :
16049 if test ${PKG_CONFIG+y}
16051 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>conftest.err`
16055 if ${GNUTLS_LIBS:+false} :
16057 if test ${PKG_CONFIG+y}
16059 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16063 GNUTLS_LIBS
=${GNUTLS_LIBS:-"-lgnutls"}
16064 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16065 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16066 if test -s conftest.err
; then
16067 printf %s
"$as_me:${as_lineno-$LINENO}: gnutls errors: " >&5
16068 cat conftest.err
>&5
16071 ac_save_CPPFLAGS
=$CPPFLAGS
16072 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
16073 ac_fn_c_check_header_compile
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16074 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16076 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16077 /* end confdefs.h. */
16078 #include <gnutls/gnutls.h>
16079 #include <gnutls/crypto.h>
16083 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16088 if ac_fn_c_try_compile
"$LINENO"
16090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16091 printf %s
"checking for -lgnutls... " >&6; }
16092 if test ${ac_cv_lib_soname_gnutls+y}
16094 printf %s
"(cached) " >&6
16096 ac_check_soname_save_LIBS
=$LIBS
16097 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
16098 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16099 /* end confdefs.h. */
16101 /* Override any GCC internal prototype to avoid an error.
16102 Use char because int might match the return type of a GCC
16103 builtin and then its argument prototype would still apply. */
16104 char gnutls_global_init ();
16108 return gnutls_global_init ();
16113 if ac_fn_c_try_link
"$LINENO"
16116 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16117 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'` ;;
16118 *) 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'`
16119 if ${ac_cv_lib_soname_gnutls:+false} :
16121 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'`
16125 ac_cv_lib_soname_gnutls
=
16127 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16128 conftest
$ac_exeext conftest.
$ac_ext
16129 LIBS
=$ac_check_soname_save_LIBS
16131 if ${ac_cv_lib_soname_gnutls:+false} :
16133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16134 printf "%s\n" "not found" >&6; }
16137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16138 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16140 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16144 ac_wine_check_funcs_save_LIBS
="$LIBS"
16145 LIBS
="$LIBS $GNUTLS_LIBS"
16147 for ac_func
in gnutls_cipher_init
16149 ac_fn_c_check_func
"$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16150 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16152 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16155 as_fn_append wine_notices
"|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16159 LIBS
="$ac_wine_check_funcs_save_LIBS"
16161 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16166 CPPFLAGS
=$ac_save_CPPFLAGS
16169 if test "x$ac_cv_lib_soname_gnutls" = "x"
16171 case "x$with_gnutls" in
16172 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16174 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
16175 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16180 if test "x$with_sane" != "xno"
16183 if ${SANE_CFLAGS:+false} :
16185 if test ${PKG_CONFIG+y}
16187 SANE_CFLAGS
=`$PKG_CONFIG --cflags sane-backends 2>conftest.err`
16190 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16191 if ${SANE_LIBS:+false} :
16193 if test ${PKG_CONFIG+y}
16195 SANE_LIBS
=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16198 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16200 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16201 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16202 if test -s conftest.err
; then
16203 printf %s
"$as_me:${as_lineno-$LINENO}: sane-backends errors: " >&5
16204 cat conftest.err
>&5
16207 ac_save_CPPFLAGS
=$CPPFLAGS
16208 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
16209 ac_fn_c_check_header_compile
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16210 if test "x$ac_cv_header_sane_sane_h" = xyes
16212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16213 printf %s
"checking for sane_init in -lsane... " >&6; }
16214 if test ${ac_cv_lib_sane_sane_init+y}
16216 printf %s
"(cached) " >&6
16218 ac_check_lib_save_LIBS
=$LIBS
16219 LIBS
="-lsane $SANE_LIBS $LIBS"
16220 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16221 /* end confdefs.h. */
16223 /* Override any GCC internal prototype to avoid an error.
16224 Use char because int might match the return type of a GCC
16225 builtin and then its argument prototype would still apply. */
16230 return sane_init ();
16235 if ac_fn_c_try_link
"$LINENO"
16237 ac_cv_lib_sane_sane_init
=yes
16239 ac_cv_lib_sane_sane_init
=no
16241 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16242 conftest
$ac_exeext conftest.
$ac_ext
16243 LIBS
=$ac_check_lib_save_LIBS
16245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16246 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16247 if test "x$ac_cv_lib_sane_sane_init" = xyes
16254 CPPFLAGS
=$ac_save_CPPFLAGS
16257 if test "$ac_cv_lib_sane_sane_init" != "yes"
16259 case "x$with_sane" in
16260 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16262 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
16263 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16265 enable_sane_ds
=${enable_sane_ds:-no}
16268 if test "x$with_usb" != "xno"
16271 if ${USB_CFLAGS:+false} :
16273 if test ${PKG_CONFIG+y}
16275 USB_CFLAGS
=`$PKG_CONFIG --cflags libusb-1.0 2>conftest.err`
16279 if ${USB_LIBS:+false} :
16281 if test ${PKG_CONFIG+y}
16283 USB_LIBS
=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16287 USB_LIBS
=${USB_LIBS:-"-lusb-1.0"}
16288 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16289 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16290 if test -s conftest.err
; then
16291 printf %s
"$as_me:${as_lineno-$LINENO}: libusb-1.0 errors: " >&5
16292 cat conftest.err
>&5
16295 ac_save_CPPFLAGS
=$CPPFLAGS
16296 CPPFLAGS
="$CPPFLAGS $USB_CFLAGS"
16297 ac_fn_c_check_header_compile
"$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16298 if test "x$ac_cv_header_libusb_h" = xyes
16300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16301 printf %s
"checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16302 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16304 printf %s
"(cached) " >&6
16306 ac_check_lib_save_LIBS
=$LIBS
16307 LIBS
="-lusb-1.0 $USB_LIBS $LIBS"
16308 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16309 /* end confdefs.h. */
16311 /* Override any GCC internal prototype to avoid an error.
16312 Use char because int might match the return type of a GCC
16313 builtin and then its argument prototype would still apply. */
16314 char libusb_interrupt_event_handler ();
16318 return libusb_interrupt_event_handler ();
16323 if ac_fn_c_try_link
"$LINENO"
16325 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler
=yes
16327 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler
=no
16329 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16330 conftest
$ac_exeext conftest.
$ac_ext
16331 LIBS
=$ac_check_lib_save_LIBS
16333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16334 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16335 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16346 CPPFLAGS
=$ac_save_CPPFLAGS
16349 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16351 case "x$with_usb" in
16352 x
) as_fn_append wine_notices
"|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16354 *) as_fn_error $?
"libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16355 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16357 enable_wineusb_sys
=${enable_wineusb_sys:-no}
16360 if test "x$with_v4l2" != "xno"
16362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16363 printf %s
"checking for -lv4l2... " >&6; }
16364 if test ${ac_cv_lib_soname_v4l2+y}
16366 printf %s
"(cached) " >&6
16368 ac_check_soname_save_LIBS
=$LIBS
16369 LIBS
="-lv4l2 $LIBS"
16370 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16371 /* end confdefs.h. */
16373 /* Override any GCC internal prototype to avoid an error.
16374 Use char because int might match the return type of a GCC
16375 builtin and then its argument prototype would still apply. */
16380 return v4l2_open ();
16385 if ac_fn_c_try_link
"$LINENO"
16388 dll
) ac_cv_lib_soname_v4l2
=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16389 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'` ;;
16390 *) ac_cv_lib_soname_v4l2
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16391 if ${ac_cv_lib_soname_v4l2:+false} :
16393 ac_cv_lib_soname_v4l2
=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16397 ac_cv_lib_soname_v4l2
=
16399 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16400 conftest
$ac_exeext conftest.
$ac_ext
16401 LIBS
=$ac_check_soname_save_LIBS
16403 if ${ac_cv_lib_soname_v4l2:+false} :
16405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16406 printf "%s\n" "not found" >&6; }
16409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16410 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16412 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16417 if test "x$ac_cv_lib_soname_v4l2" = "x"
16419 case "x$with_v4l2" in
16420 x
) as_fn_append wine_notices
"|libv4l2 ${notice_platform}development files not found." ;;
16422 *) as_fn_error $?
"libv4l2 ${notice_platform}development files not found.
16423 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16428 if test "x$with_gphoto" != "xno"
16431 if ${GPHOTO2_CFLAGS:+false} :
16433 if test ${PKG_CONFIG+y}
16435 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>conftest.err`
16438 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16439 if ${GPHOTO2_LIBS:+false} :
16441 if test ${PKG_CONFIG+y}
16443 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16446 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16447 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
16448 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16449 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16450 if test -s conftest.err
; then
16451 printf %s
"$as_me:${as_lineno-$LINENO}: libgphoto2 errors: " >&5
16452 cat conftest.err
>&5
16455 ac_save_CPPFLAGS
=$CPPFLAGS
16456 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
16457 ac_fn_c_check_header_compile
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16458 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16461 printf %s
"checking for gp_camera_new in -lgphoto2... " >&6; }
16462 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16464 printf %s
"(cached) " >&6
16466 ac_check_lib_save_LIBS
=$LIBS
16467 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16468 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16469 /* end confdefs.h. */
16471 /* Override any GCC internal prototype to avoid an error.
16472 Use char because int might match the return type of a GCC
16473 builtin and then its argument prototype would still apply. */
16474 char gp_camera_new ();
16478 return gp_camera_new ();
16483 if ac_fn_c_try_link
"$LINENO"
16485 ac_cv_lib_gphoto2_gp_camera_new
=yes
16487 ac_cv_lib_gphoto2_gp_camera_new
=no
16489 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16490 conftest
$ac_exeext conftest.
$ac_ext
16491 LIBS
=$ac_check_lib_save_LIBS
16493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16494 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16495 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16502 CPPFLAGS
=$ac_save_CPPFLAGS
16505 if ${GPHOTO2_PORT_CFLAGS:+false} :
16507 if test ${PKG_CONFIG+y}
16509 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>conftest.err`
16512 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16513 if ${GPHOTO2_PORT_LIBS:+false} :
16515 if test ${PKG_CONFIG+y}
16517 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16520 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16521 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16522 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16523 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16524 if test -s conftest.err
; then
16525 printf %s
"$as_me:${as_lineno-$LINENO}: libgphoto2_port errors: " >&5
16526 cat conftest.err
>&5
16529 ac_save_CPPFLAGS
=$CPPFLAGS
16530 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16531 ac_fn_c_check_header_compile
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16532 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16535 printf %s
"checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16536 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16538 printf %s
"(cached) " >&6
16540 ac_check_lib_save_LIBS
=$LIBS
16541 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16542 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16543 /* end confdefs.h. */
16545 /* Override any GCC internal prototype to avoid an error.
16546 Use char because int might match the return type of a GCC
16547 builtin and then its argument prototype would still apply. */
16548 char gp_port_info_list_new ();
16552 return gp_port_info_list_new ();
16557 if ac_fn_c_try_link
"$LINENO"
16559 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
16561 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
16563 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16564 conftest
$ac_exeext conftest.
$ac_ext
16565 LIBS
=$ac_check_lib_save_LIBS
16567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16568 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16569 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16572 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16575 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
16579 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
16582 CPPFLAGS
=$ac_save_CPPFLAGS
16585 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16587 case "x$with_gphoto" in
16588 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16590 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16591 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16593 enable_gphoto2_ds
=${enable_gphoto2_ds:-no}
16595 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16597 case "x$with_gphoto" in
16598 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16600 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16601 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16607 if test "$ac_cv_header_resolv_h" = "yes"
16609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16610 printf %s
"checking for resolver library... " >&6; }
16611 if test ${ac_cv_have_resolv+y}
16613 printf %s
"(cached) " >&6
16615 ac_save_LIBS
="$LIBS"
16616 for lib
in '' -lresolv
16618 LIBS
="$lib $ac_save_LIBS"
16619 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16620 /* end confdefs.h. */
16621 #ifdef HAVE_NETINET_IN_H
16622 #include <netinet/in.h>
16624 #include <resolv.h>
16628 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16633 if ac_fn_c_try_link
"$LINENO"
16635 ac_cv_have_resolv
=${lib:-"none required"}
16637 ac_cv_have_resolv
="not found"
16639 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16640 conftest
$ac_exeext conftest.
$ac_ext
16641 test "x$ac_cv_have_resolv" = "xnot found" ||
break
16643 LIBS
="$ac_save_LIBS"
16645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16646 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16648 case "$ac_cv_have_resolv" in
16652 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16655 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16657 RESOLV_LIBS
=$ac_cv_have_resolv
16661 if test "x$ac_cv_have_resolv" != "xnot found"
16663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16664 printf %s
"checking for res_getservers... " >&6; }
16665 if test ${ac_cv_have_res_getservers+y}
16667 printf %s
"(cached) " >&6
16669 ac_save_LIBS
="$LIBS"
16670 LIBS
="$RESOLV_LIBS $LIBS"
16671 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16672 /* end confdefs.h. */
16673 #include <resolv.h>
16677 res_getservers(NULL, NULL, 0);
16682 if ac_fn_c_try_link
"$LINENO"
16684 ac_cv_have_res_getservers
=yes
16686 ac_cv_have_res_getservers
=no
16688 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16689 conftest
$ac_exeext conftest.
$ac_ext
16690 LIBS
="$ac_save_LIBS"
16692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16693 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16694 if test "$ac_cv_have_res_getservers" = "yes"
16697 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16703 if test "x$with_freetype" != "xno"
16706 if ${FREETYPE_CFLAGS:+false} :
16708 if test ${PKG_CONFIG+y}
16710 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>conftest.err`
16713 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16714 if ${FREETYPE_LIBS:+false} :
16716 if test ${PKG_CONFIG+y}
16718 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16721 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16722 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
16723 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16724 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16725 if test -s conftest.err
; then
16726 printf %s
"$as_me:${as_lineno-$LINENO}: freetype2 errors: " >&5
16727 cat conftest.err
>&5
16730 ac_save_CPPFLAGS
=$CPPFLAGS
16731 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
16732 ac_fn_c_check_header_compile
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16733 if test "x$ac_cv_header_ft2build_h" = xyes
16735 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16739 if test "$ac_cv_header_ft2build_h" = "yes"
16741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16742 printf %s
"checking for -lfreetype... " >&6; }
16743 if test ${ac_cv_lib_soname_freetype+y}
16745 printf %s
"(cached) " >&6
16747 ac_check_soname_save_LIBS
=$LIBS
16748 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
16749 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16750 /* end confdefs.h. */
16752 /* Override any GCC internal prototype to avoid an error.
16753 Use char because int might match the return type of a GCC
16754 builtin and then its argument prototype would still apply. */
16755 char FT_Init_FreeType ();
16759 return FT_Init_FreeType ();
16764 if ac_fn_c_try_link
"$LINENO"
16767 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16768 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'` ;;
16769 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16770 if ${ac_cv_lib_soname_freetype:+false} :
16772 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16776 ac_cv_lib_soname_freetype
=
16778 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16779 conftest
$ac_exeext conftest.
$ac_ext
16780 LIBS
=$ac_check_soname_save_LIBS
16782 if ${ac_cv_lib_soname_freetype:+false} :
16784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16785 printf "%s\n" "not found" >&6; }
16788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16789 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16791 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16794 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16796 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16797 #include FT_MODULE_H
16799 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16802 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16812 CPPFLAGS
=$ac_save_CPPFLAGS
16815 if test "x$ac_cv_lib_soname_freetype" = x
16817 case "x$with_freetype" in
16819 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
16820 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16822 enable_fonts
=${enable_fonts:-no}
16825 ac_wine_check_funcs_save_LIBS
="$LIBS"
16826 LIBS
="$LIBS $PTHREAD_LIBS"
16827 ac_fn_c_check_func
"$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16828 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16830 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16834 LIBS
="$ac_wine_check_funcs_save_LIBS"
16836 if test "x$enable_tools" != xno
-a "x$with_gettextpo" = xyes
16838 if test "$ac_cv_header_gettext_po_h" = "yes"
16840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16841 printf %s
"checking for po_message_msgctxt in -lgettextpo... " >&6; }
16842 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16844 printf %s
"(cached) " >&6
16846 ac_check_lib_save_LIBS
=$LIBS
16847 LIBS
="-lgettextpo $LIBS"
16848 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16849 /* end confdefs.h. */
16851 /* Override any GCC internal prototype to avoid an error.
16852 Use char because int might match the return type of a GCC
16853 builtin and then its argument prototype would still apply. */
16854 char po_message_msgctxt ();
16858 return po_message_msgctxt ();
16863 if ac_fn_c_try_link
"$LINENO"
16865 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
16867 ac_cv_lib_gettextpo_po_message_msgctxt
=no
16869 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16870 conftest
$ac_exeext conftest.
$ac_ext
16871 LIBS
=$ac_check_lib_save_LIBS
16873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16874 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16875 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16878 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16880 GETTEXTPO_LIBS
="-lgettextpo"
16885 if test "x$GETTEXTPO_LIBS" = "x"
16887 case "x$with_gettextpo" in
16888 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16890 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16891 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16895 if test "$srcdir" != .
16897 case "x$with_gettextpo" in
16898 x
) as_fn_append wine_notices
"|Rebuilding po files is not supported for out of tree builds." ;;
16900 *) as_fn_error $?
"Rebuilding po files is not supported for out of tree builds.
16901 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16907 if test "x$with_pulse" != "xno";
16910 if ${PULSE_CFLAGS:+false} :
16912 if test ${PKG_CONFIG+y}
16914 PULSE_CFLAGS
=`$PKG_CONFIG --cflags libpulse 2>conftest.err`
16918 if ${PULSE_LIBS:+false} :
16920 if test ${PKG_CONFIG+y}
16922 PULSE_LIBS
=`$PKG_CONFIG --libs libpulse 2>/dev/null`
16927 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
16928 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
16929 if test -s conftest.err
; then
16930 printf %s
"$as_me:${as_lineno-$LINENO}: libpulse errors: " >&5
16931 cat conftest.err
>&5
16934 ac_save_CPPFLAGS
=$CPPFLAGS
16935 CPPFLAGS
="$CPPFLAGS $PULSE_CFLAGS"
16936 for ac_header
in pulse
/pulseaudio.h
16938 ac_fn_c_check_header_compile
"$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
16939 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
16941 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
16942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
16943 printf %s
"checking for pa_stream_is_corked in -lpulse... " >&6; }
16944 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
16946 printf %s
"(cached) " >&6
16948 ac_check_lib_save_LIBS
=$LIBS
16949 LIBS
="-lpulse $PULSE_LIBS $LIBS"
16950 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16951 /* end confdefs.h. */
16953 /* Override any GCC internal prototype to avoid an error.
16954 Use char because int might match the return type of a GCC
16955 builtin and then its argument prototype would still apply. */
16956 char pa_stream_is_corked ();
16960 return pa_stream_is_corked ();
16965 if ac_fn_c_try_link
"$LINENO"
16967 ac_cv_lib_pulse_pa_stream_is_corked
=yes
16969 ac_cv_lib_pulse_pa_stream_is_corked
=no
16971 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16972 conftest
$ac_exeext conftest.
$ac_ext
16973 LIBS
=$ac_check_lib_save_LIBS
16975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
16976 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
16977 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
16989 CPPFLAGS
=$ac_save_CPPFLAGS
16992 if test -z "$PULSE_LIBS"
16994 case "x$with_pulse" in
16995 x
) as_fn_append wine_notices
"|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
16997 *) as_fn_error $?
"libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
16998 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
17000 enable_winepulse_drv
=${enable_winepulse_drv:-no}
17003 if test "x$with_gstreamer" != "xno"
17006 if ${GSTREAMER_CFLAGS:+false} :
17008 if test ${PKG_CONFIG+y}
17010 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>conftest.err`
17014 if ${GSTREAMER_LIBS:+false} :
17016 if test ${PKG_CONFIG+y}
17018 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>/dev/null`
17023 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
17024 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
17025 if test -s conftest.err
; then
17026 printf %s
"$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 errors: " >&5
17027 cat conftest.err
>&5
17030 ac_save_CPPFLAGS
=$CPPFLAGS
17031 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
17032 ac_fn_c_check_header_compile
"$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
17033 if test "x$ac_cv_header_gst_gst_h" = xyes
17035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
17036 printf %s
"checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
17037 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17038 /* end confdefs.h. */
17039 #include <gst/gst.h>
17043 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17048 if ac_fn_c_try_compile
"$LINENO"
17050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17051 printf "%s\n" "yes" >&6; }
17052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17053 printf %s
"checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17054 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17056 printf %s
"(cached) " >&6
17058 ac_check_lib_save_LIBS
=$LIBS
17059 LIBS
="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17060 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17061 /* end confdefs.h. */
17063 /* Override any GCC internal prototype to avoid an error.
17064 Use char because int might match the return type of a GCC
17065 builtin and then its argument prototype would still apply. */
17066 char gst_pad_new ();
17070 return gst_pad_new ();
17075 if ac_fn_c_try_link
"$LINENO"
17077 ac_cv_lib_gstreamer_1_0_gst_pad_new
=yes
17079 ac_cv_lib_gstreamer_1_0_gst_pad_new
=no
17081 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17082 conftest
$ac_exeext conftest.
$ac_ext
17083 LIBS
=$ac_check_lib_save_LIBS
17085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17086 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17087 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17094 printf "%s\n" "no" >&6; }
17095 ac_glib2_broken
=yes
17096 as_fn_append wine_notices
"|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17098 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17101 CPPFLAGS
=$ac_save_CPPFLAGS
17104 if test "x$ac_glib2_broken" != xyes
-a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17106 case "x$with_gstreamer" in
17107 x
) as_fn_append wine_notices
"|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17109 *) as_fn_error $?
"gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17110 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17112 enable_winegstreamer
=${enable_winegstreamer:-no}
17117 if test "x$with_alsa" != "xno"
17119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17120 printf %s
"checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17121 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17123 printf %s
"(cached) " >&6
17125 ac_check_lib_save_LIBS
=$LIBS
17126 LIBS
="-lasound $LIBS"
17127 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17128 /* end confdefs.h. */
17130 /* Override any GCC internal prototype to avoid an error.
17131 Use char because int might match the return type of a GCC
17132 builtin and then its argument prototype would still apply. */
17133 char snd_pcm_hw_params_get_access_mask ();
17137 return snd_pcm_hw_params_get_access_mask ();
17142 if ac_fn_c_try_link
"$LINENO"
17144 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
17146 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
17148 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17149 conftest
$ac_exeext conftest.
$ac_ext
17150 LIBS
=$ac_check_lib_save_LIBS
17152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17153 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17154 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17156 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17157 /* end confdefs.h. */
17158 #include <alsa/asoundlib.h>
17162 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17167 if ac_fn_c_try_compile
"$LINENO"
17169 ALSA_LIBS
="-lasound"
17171 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17175 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
17177 if test "x$with_oss" != xno
17179 ac_save_CPPFLAGS
="$CPPFLAGS"
17180 if test -f /etc
/oss.conf
17184 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17185 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
17186 ac_fn_c_check_header_compile
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17187 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17189 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17191 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17194 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17196 OSS4_CFLAGS
="$ac_oss_incl"
17198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17199 printf %s
"checking for _oss_ioctl in -lossaudio... " >&6; }
17200 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17202 printf %s
"(cached) " >&6
17204 ac_check_lib_save_LIBS
=$LIBS
17205 LIBS
="-lossaudio $LIBS"
17206 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17207 /* end confdefs.h. */
17209 /* Override any GCC internal prototype to avoid an error.
17210 Use char because int might match the return type of a GCC
17211 builtin and then its argument prototype would still apply. */
17212 char _oss_ioctl ();
17216 return _oss_ioctl ();
17221 if ac_fn_c_try_link
"$LINENO"
17223 ac_cv_lib_ossaudio__oss_ioctl
=yes
17225 ac_cv_lib_ossaudio__oss_ioctl
=no
17227 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17228 conftest
$ac_exeext conftest.
$ac_ext
17229 LIBS
=$ac_check_lib_save_LIBS
17231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17232 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17233 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17235 OSS4_LIBS
="-lossaudio"
17243 CPPFLAGS
="$ac_save_CPPFLAGS"
17245 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17247 case "x$with_oss" in
17248 x
) as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17250 *) as_fn_error $?
"OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17251 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17253 enable_wineoss_drv
=${enable_wineoss_drv:-no}
17256 if test "x$with_udev" != "xno"
17259 if ${UDEV_CFLAGS:+false} :
17261 if test ${PKG_CONFIG+y}
17263 UDEV_CFLAGS
=`$PKG_CONFIG --cflags libudev 2>conftest.err`
17267 if ${UDEV_LIBS:+false} :
17269 if test ${PKG_CONFIG+y}
17271 UDEV_LIBS
=`$PKG_CONFIG --libs libudev 2>/dev/null`
17275 UDEV_LIBS
=${UDEV_LIBS:-"-ludev"}
17276 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17277 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17278 if test -s conftest.err
; then
17279 printf %s
"$as_me:${as_lineno-$LINENO}: libudev errors: " >&5
17280 cat conftest.err
>&5
17283 ac_save_CPPFLAGS
=$CPPFLAGS
17284 CPPFLAGS
="$CPPFLAGS $UDEV_CFLAGS"
17285 for ac_header
in libudev.h
17287 ac_fn_c_check_header_compile
"$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17288 if test "x$ac_cv_header_libudev_h" = xyes
17290 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17292 printf %s
"checking for udev_new in -ludev... " >&6; }
17293 if test ${ac_cv_lib_udev_udev_new+y}
17295 printf %s
"(cached) " >&6
17297 ac_check_lib_save_LIBS
=$LIBS
17298 LIBS
="-ludev $UDEV_LIBS $LIBS"
17299 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17300 /* end confdefs.h. */
17302 /* Override any GCC internal prototype to avoid an error.
17303 Use char because int might match the return type of a GCC
17304 builtin and then its argument prototype would still apply. */
17309 return udev_new ();
17314 if ac_fn_c_try_link
"$LINENO"
17316 ac_cv_lib_udev_udev_new
=yes
17318 ac_cv_lib_udev_udev_new
=no
17320 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17321 conftest
$ac_exeext conftest.
$ac_ext
17322 LIBS
=$ac_check_lib_save_LIBS
17324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17325 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17326 if test "x$ac_cv_lib_udev_udev_new" = xyes
17329 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17340 CPPFLAGS
=$ac_save_CPPFLAGS
17343 if test "x$UDEV_LIBS" = "x"
17345 case "x$with_udev" in
17346 x
) as_fn_append wine_notices
"|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17348 *) as_fn_error $?
"libudev ${notice_platform}development files not found, plug and play won't be supported.
17349 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17354 if test "x$with_unwind" != xno
17357 if ${UNWIND_CFLAGS:+false} :
17359 if test ${PKG_CONFIG+y}
17361 UNWIND_CFLAGS
=`$PKG_CONFIG --cflags libunwind 2>conftest.err`
17365 if ${UNWIND_LIBS:+false} :
17367 if test ${PKG_CONFIG+y}
17369 UNWIND_LIBS
=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17373 UNWIND_LIBS
=${UNWIND_LIBS:-"-lunwind"}
17374 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17375 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17376 if test -s conftest.err
; then
17377 printf %s
"$as_me:${as_lineno-$LINENO}: libunwind errors: " >&5
17378 cat conftest.err
>&5
17381 ac_save_CPPFLAGS
=$CPPFLAGS
17382 CPPFLAGS
="$CPPFLAGS $UNWIND_CFLAGS"
17383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17384 printf %s
"checking for unw_step... " >&6; }
17385 if test ${wine_cv_have_unw_step+y}
17387 printf %s
"(cached) " >&6
17389 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17390 /* end confdefs.h. */
17391 #define UNW_LOCAL_ONLY
17392 #include <libunwind.h>
17396 unw_cursor_t cursor; unw_step( &cursor );
17401 if ac_fn_c_try_link
"$LINENO"
17403 wine_cv_have_unw_step
="yes"
17405 wine_cv_have_unw_step
="no"
17407 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17408 conftest
$ac_exeext conftest.
$ac_ext
17410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17411 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17412 if test "$wine_cv_have_unw_step" = no
-a -n "$UNWIND_LIBS"
17415 UNWIND_LIBS
="-static-libgcc $UNWIND_LIBS"
17416 LIBS
="$UNWIND_LIBS $LIBS"
17417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17418 printf %s
"checking for unw_step in libunwind... " >&6; }
17419 if test ${wine_cv_have_libunwind_unw_step+y}
17421 printf %s
"(cached) " >&6
17423 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17424 /* end confdefs.h. */
17425 #define UNW_LOCAL_ONLY
17426 #include <libunwind.h>
17430 unw_cursor_t cursor; unw_step( &cursor );
17435 if ac_fn_c_try_link
"$LINENO"
17437 wine_cv_have_libunwind_unw_step
="yes"
17439 wine_cv_have_libunwind_unw_step
="no"
17441 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17442 conftest
$ac_exeext conftest.
$ac_ext
17444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17445 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17448 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS
=""
17449 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17452 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17455 CPPFLAGS
=$ac_save_CPPFLAGS
17459 aarch64
*|
*-darwin*)
17460 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17462 case "x$with_unwind" in
17463 x
) as_fn_append wine_notices
"|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17465 *) as_fn_error $?
"libunwind ${notice_platform}development files not found, stack unwinding won't work.
17466 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17472 if test "x$with_sdl" != "xno"
17475 if ${SDL2_CFLAGS:+false} :
17477 if test ${PKG_CONFIG+y}
17479 SDL2_CFLAGS
=`$PKG_CONFIG --cflags sdl2 2>conftest.err`
17483 if ${SDL2_LIBS:+false} :
17485 if test ${PKG_CONFIG+y}
17487 SDL2_LIBS
=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17491 SDL2_LIBS
=${SDL2_LIBS:-"-lSDL2"}
17492 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17493 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17494 if test -s conftest.err
; then
17495 printf %s
"$as_me:${as_lineno-$LINENO}: sdl2 errors: " >&5
17496 cat conftest.err
>&5
17499 ac_save_CPPFLAGS
=$CPPFLAGS
17500 CPPFLAGS
="$CPPFLAGS $SDL2_CFLAGS"
17501 for ac_header
in SDL.h
17503 ac_fn_c_check_header_compile
"$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17504 if test "x$ac_cv_header_SDL_h" = xyes
17506 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17508 printf %s
"checking for -lSDL2... " >&6; }
17509 if test ${ac_cv_lib_soname_SDL2+y}
17511 printf %s
"(cached) " >&6
17513 ac_check_soname_save_LIBS
=$LIBS
17514 LIBS
="-lSDL2 $SDL2_LIBS $LIBS"
17515 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17516 /* end confdefs.h. */
17518 /* Override any GCC internal prototype to avoid an error.
17519 Use char because int might match the return type of a GCC
17520 builtin and then its argument prototype would still apply. */
17525 return SDL_Init ();
17530 if ac_fn_c_try_link
"$LINENO"
17533 dll
) ac_cv_lib_soname_SDL2
=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17534 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'` ;;
17535 *) 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'`
17536 if ${ac_cv_lib_soname_SDL2:+false} :
17538 ac_cv_lib_soname_SDL2
=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17542 ac_cv_lib_soname_SDL2
=
17544 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17545 conftest
$ac_exeext conftest.
$ac_ext
17546 LIBS
=$ac_check_soname_save_LIBS
17548 if ${ac_cv_lib_soname_SDL2:+false} :
17550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17551 printf "%s\n" "not found" >&6; }
17554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17555 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17557 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17564 CPPFLAGS
=$ac_save_CPPFLAGS
17567 if test "x$ac_cv_lib_soname_SDL2" = "x"
17569 case "x$with_sdl" in
17570 x
) as_fn_append wine_notices
"|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17572 *) as_fn_error $?
"libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17573 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17578 if test "x$with_capi" != "xno"
17581 if ${CAPI20_CFLAGS:+false} :
17583 if test ${PKG_CONFIG+y}
17585 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>conftest.err`
17589 if ${CAPI20_LIBS:+false} :
17591 if test ${PKG_CONFIG+y}
17593 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
17598 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17599 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17600 if test -s conftest.err
; then
17601 printf %s
"$as_me:${as_lineno-$LINENO}: capi20 errors: " >&5
17602 cat conftest.err
>&5
17605 ac_save_CPPFLAGS
=$CPPFLAGS
17606 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
17607 ac_fn_c_check_header_compile
"$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17609 if test "x$ac_cv_header_capi20_h" = xyes
17611 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17614 ac_fn_c_check_header_compile
"$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17616 if test "x$ac_cv_header_linux_capi_h" = xyes
17618 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17622 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17625 printf %s
"checking for capi20_register in -lcapi20... " >&6; }
17626 if test ${ac_cv_lib_capi20_capi20_register+y}
17628 printf %s
"(cached) " >&6
17630 ac_check_lib_save_LIBS
=$LIBS
17631 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
17632 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17633 /* end confdefs.h. */
17635 /* Override any GCC internal prototype to avoid an error.
17636 Use char because int might match the return type of a GCC
17637 builtin and then its argument prototype would still apply. */
17638 char capi20_register ();
17642 return capi20_register ();
17647 if ac_fn_c_try_link
"$LINENO"
17649 ac_cv_lib_capi20_capi20_register
=yes
17651 ac_cv_lib_capi20_capi20_register
=no
17653 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17654 conftest
$ac_exeext conftest.
$ac_ext
17655 LIBS
=$ac_check_lib_save_LIBS
17657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17658 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17659 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17667 CPPFLAGS
=$ac_save_CPPFLAGS
17670 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17672 case "x$with_capi" in
17673 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17675 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17676 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17678 enable_capi2032
=${enable_capi2032:-no}
17681 if test "x$with_cups" != "xno"
17684 if ${CUPS_CFLAGS:+false} :
17686 if test ${PKG_CONFIG+y}
17688 CUPS_CFLAGS
=`$PKG_CONFIG --cflags cups 2>conftest.err`
17691 test "$cross_compiling" = yes || CUPS_CFLAGS
=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17692 if ${CUPS_LIBS:+false} :
17694 if test ${PKG_CONFIG+y}
17696 CUPS_LIBS
=`$PKG_CONFIG --libs cups 2>/dev/null`
17699 test "$cross_compiling" = yes || CUPS_LIBS
=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17700 CUPS_LIBS
=${CUPS_LIBS:-"-lcups"}
17701 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17702 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17703 if test -s conftest.err
; then
17704 printf %s
"$as_me:${as_lineno-$LINENO}: cups errors: " >&5
17705 cat conftest.err
>&5
17708 ac_save_CPPFLAGS
=$CPPFLAGS
17709 CPPFLAGS
="$CPPFLAGS $CUPS_CFLAGS"
17710 ac_fn_c_check_header_compile
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17711 if test "x$ac_cv_header_cups_cups_h" = xyes
17713 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17716 ac_fn_c_check_header_compile
"$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17717 if test "x$ac_cv_header_cups_ppd_h" = xyes
17719 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17723 if test "$ac_cv_header_cups_cups_h" = "yes"
17725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17726 printf %s
"checking for -lcups... " >&6; }
17727 if test ${ac_cv_lib_soname_cups+y}
17729 printf %s
"(cached) " >&6
17731 ac_check_soname_save_LIBS
=$LIBS
17732 LIBS
="-lcups $CUPS_LIBS $LIBS"
17733 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17734 /* end confdefs.h. */
17736 /* Override any GCC internal prototype to avoid an error.
17737 Use char because int might match the return type of a GCC
17738 builtin and then its argument prototype would still apply. */
17739 char cupsGetDefault ();
17743 return cupsGetDefault ();
17748 if ac_fn_c_try_link
"$LINENO"
17751 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17752 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'` ;;
17753 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17754 if ${ac_cv_lib_soname_cups:+false} :
17756 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17760 ac_cv_lib_soname_cups
=
17762 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17763 conftest
$ac_exeext conftest.
$ac_ext
17764 LIBS
=$ac_check_soname_save_LIBS
17766 if ${ac_cv_lib_soname_cups:+false} :
17768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17769 printf "%s\n" "not found" >&6; }
17772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17773 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17775 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17783 CPPFLAGS
=$ac_save_CPPFLAGS
17786 if test "x$ac_cv_lib_soname_cups" = "x"
17788 case "x$with_cups" in
17789 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17791 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
17792 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17797 if test "x$with_fontconfig" != "xno"
17800 if ${FONTCONFIG_CFLAGS:+false} :
17802 if test ${PKG_CONFIG+y}
17804 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>conftest.err`
17807 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17808 if ${FONTCONFIG_LIBS:+false} :
17810 if test ${PKG_CONFIG+y}
17812 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17815 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
17817 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17818 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17819 if test -s conftest.err
; then
17820 printf %s
"$as_me:${as_lineno-$LINENO}: fontconfig errors: " >&5
17821 cat conftest.err
>&5
17824 ac_save_CPPFLAGS
=$CPPFLAGS
17825 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
17826 ac_fn_c_check_header_compile
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17827 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17829 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17833 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17836 printf %s
"checking for -lfontconfig... " >&6; }
17837 if test ${ac_cv_lib_soname_fontconfig+y}
17839 printf %s
"(cached) " >&6
17841 ac_check_soname_save_LIBS
=$LIBS
17842 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17843 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17844 /* end confdefs.h. */
17846 /* Override any GCC internal prototype to avoid an error.
17847 Use char because int might match the return type of a GCC
17848 builtin and then its argument prototype would still apply. */
17858 if ac_fn_c_try_link
"$LINENO"
17861 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17862 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'` ;;
17863 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17864 if ${ac_cv_lib_soname_fontconfig:+false} :
17866 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17870 ac_cv_lib_soname_fontconfig
=
17872 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17873 conftest
$ac_exeext conftest.
$ac_ext
17874 LIBS
=$ac_check_soname_save_LIBS
17876 if ${ac_cv_lib_soname_fontconfig:+false} :
17878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17879 printf "%s\n" "not found" >&6; }
17880 FONTCONFIG_CFLAGS
=""
17882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17883 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17885 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17890 FONTCONFIG_CFLAGS
=""
17892 CPPFLAGS
=$ac_save_CPPFLAGS
17895 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17897 case "x$with_fontconfig" in
17898 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17900 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17901 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17906 if test "x$with_krb5" != "xno"
17909 if ${KRB5_CFLAGS:+false} :
17911 if test ${PKG_CONFIG+y}
17913 KRB5_CFLAGS
=`$PKG_CONFIG --cflags krb5 2>conftest.err`
17916 test "$cross_compiling" = yes || KRB5_CFLAGS
=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17917 if ${KRB5_LIBS:+false} :
17919 if test ${PKG_CONFIG+y}
17921 KRB5_LIBS
=`$PKG_CONFIG --libs krb5 2>/dev/null`
17924 test "$cross_compiling" = yes || KRB5_LIBS
=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17926 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17927 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17928 if test -s conftest.err
; then
17929 printf %s
"$as_me:${as_lineno-$LINENO}: krb5 errors: " >&5
17930 cat conftest.err
>&5
17933 ac_save_CPPFLAGS
=$CPPFLAGS
17934 CPPFLAGS
="$CPPFLAGS $KRB5_CFLAGS"
17935 ac_fn_c_check_header_compile
"$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17936 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17938 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17942 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17945 printf %s
"checking for -lkrb5... " >&6; }
17946 if test ${ac_cv_lib_soname_krb5+y}
17948 printf %s
"(cached) " >&6
17950 ac_check_soname_save_LIBS
=$LIBS
17951 LIBS
="-lkrb5 $KRB5_LIBS $LIBS"
17952 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17953 /* end confdefs.h. */
17955 /* Override any GCC internal prototype to avoid an error.
17956 Use char because int might match the return type of a GCC
17957 builtin and then its argument prototype would still apply. */
17958 char krb5_is_config_principal ();
17962 return krb5_is_config_principal ();
17967 if ac_fn_c_try_link
"$LINENO"
17970 dll
) ac_cv_lib_soname_krb5
=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17971 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'` ;;
17972 *) ac_cv_lib_soname_krb5
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17973 if ${ac_cv_lib_soname_krb5:+false} :
17975 ac_cv_lib_soname_krb5
=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17979 ac_cv_lib_soname_krb5
=
17981 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17982 conftest
$ac_exeext conftest.
$ac_ext
17983 LIBS
=$ac_check_soname_save_LIBS
17985 if ${ac_cv_lib_soname_krb5:+false} :
17987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17988 printf "%s\n" "not found" >&6; }
17991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
17992 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
17994 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
18001 CPPFLAGS
=$ac_save_CPPFLAGS
18004 if test "x$ac_cv_lib_soname_krb5" = "x"
18006 case "x$with_krb5" in
18007 x
) as_fn_append wine_notices
"|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
18009 *) as_fn_error $?
"libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
18010 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
18014 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi
=${with_gssapi:-no}
18016 if test "x$with_gssapi" != "xno"
18019 if ${GSSAPI_CFLAGS:+false} :
18021 if test ${PKG_CONFIG+y}
18023 GSSAPI_CFLAGS
=`$PKG_CONFIG --cflags krb5-gssapi 2>conftest.err`
18026 test "$cross_compiling" = yes || GSSAPI_CFLAGS
=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
18027 if ${GSSAPI_LIBS:+false} :
18029 if test ${PKG_CONFIG+y}
18031 GSSAPI_LIBS
=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
18034 test "$cross_compiling" = yes || GSSAPI_LIBS
=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
18036 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
18037 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
18038 if test -s conftest.err
; then
18039 printf %s
"$as_me:${as_lineno-$LINENO}: krb5-gssapi errors: " >&5
18040 cat conftest.err
>&5
18043 ac_save_CPPFLAGS
=$CPPFLAGS
18044 CPPFLAGS
="$CPPFLAGS $GSSAPI_CFLAGS"
18045 ac_fn_c_check_header_compile
"$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
18046 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
18048 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
18051 ac_fn_c_check_header_compile
"$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
18052 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
18054 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
18058 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
18060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
18061 printf %s
"checking for -lgssapi_krb5... " >&6; }
18062 if test ${ac_cv_lib_soname_gssapi_krb5+y}
18064 printf %s
"(cached) " >&6
18066 ac_check_soname_save_LIBS
=$LIBS
18067 LIBS
="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
18068 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18069 /* end confdefs.h. */
18071 /* Override any GCC internal prototype to avoid an error.
18072 Use char because int might match the return type of a GCC
18073 builtin and then its argument prototype would still apply. */
18074 char gss_init_sec_context ();
18078 return gss_init_sec_context ();
18083 if ac_fn_c_try_link
"$LINENO"
18086 dll
) ac_cv_lib_soname_gssapi_krb5
=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18087 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'` ;;
18088 *) 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'`
18089 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18091 ac_cv_lib_soname_gssapi_krb5
=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18095 ac_cv_lib_soname_gssapi_krb5
=
18097 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18098 conftest
$ac_exeext conftest.
$ac_ext
18099 LIBS
=$ac_check_soname_save_LIBS
18101 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18104 printf "%s\n" "not found" >&6; }
18107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18108 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18110 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18117 CPPFLAGS
=$ac_save_CPPFLAGS
18120 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18122 case "x$with_gssapi" in
18123 x
) as_fn_append wine_notices
"|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18125 *) as_fn_error $?
"libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18126 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18131 if test "$ac_cv_header_libprocstat_h" = "yes"
18133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18134 printf %s
"checking for procstat_open_sysctl in -lprocstat... " >&6; }
18135 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18137 printf %s
"(cached) " >&6
18139 ac_check_lib_save_LIBS
=$LIBS
18140 LIBS
="-lprocstat $LIBS"
18141 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18142 /* end confdefs.h. */
18144 /* Override any GCC internal prototype to avoid an error.
18145 Use char because int might match the return type of a GCC
18146 builtin and then its argument prototype would still apply. */
18147 char procstat_open_sysctl ();
18151 return procstat_open_sysctl ();
18156 if ac_fn_c_try_link
"$LINENO"
18158 ac_cv_lib_procstat_procstat_open_sysctl
=yes
18160 ac_cv_lib_procstat_procstat_open_sysctl
=no
18162 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18163 conftest
$ac_exeext conftest.
$ac_ext
18164 LIBS
=$ac_check_lib_save_LIBS
18166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18167 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18168 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18171 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18173 PROCSTAT_LIBS
="-lprocstat"
18179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18180 printf %s
"checking for -lodbc... " >&6; }
18181 if test ${ac_cv_lib_soname_odbc+y}
18183 printf %s
"(cached) " >&6
18185 ac_check_soname_save_LIBS
=$LIBS
18186 LIBS
="-lodbc $LIBS"
18187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18188 /* end confdefs.h. */
18190 /* Override any GCC internal prototype to avoid an error.
18191 Use char because int might match the return type of a GCC
18192 builtin and then its argument prototype would still apply. */
18193 char SQLConnect ();
18197 return SQLConnect ();
18202 if ac_fn_c_try_link
"$LINENO"
18205 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18206 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'` ;;
18207 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18208 if ${ac_cv_lib_soname_odbc:+false} :
18210 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18214 ac_cv_lib_soname_odbc
=
18216 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18217 conftest
$ac_exeext conftest.
$ac_ext
18218 LIBS
=$ac_check_soname_save_LIBS
18220 if ${ac_cv_lib_soname_odbc:+false} :
18222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18223 printf "%s\n" "not found" >&6; }
18224 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18228 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18230 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18235 if test "x$with_netapi" != "xno"
18238 if ${NETAPI_CFLAGS:+false} :
18240 if test ${PKG_CONFIG+y}
18242 NETAPI_CFLAGS
=`$PKG_CONFIG --cflags netapi 2>conftest.err`
18246 if ${NETAPI_LIBS:+false} :
18248 if test ${PKG_CONFIG+y}
18250 NETAPI_LIBS
=`$PKG_CONFIG --libs netapi 2>/dev/null`
18255 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18256 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18257 if test -s conftest.err
; then
18258 printf %s
"$as_me:${as_lineno-$LINENO}: netapi errors: " >&5
18259 cat conftest.err
>&5
18262 ac_save_CPPFLAGS
=$CPPFLAGS
18263 CPPFLAGS
="$CPPFLAGS $NETAPI_CFLAGS"
18264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18265 printf %s
"checking for -lnetapi... " >&6; }
18266 if test ${ac_cv_lib_soname_netapi+y}
18268 printf %s
"(cached) " >&6
18270 ac_check_soname_save_LIBS
=$LIBS
18271 LIBS
="-lnetapi $NETAPI_LIBS $LIBS"
18272 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18273 /* end confdefs.h. */
18275 /* Override any GCC internal prototype to avoid an error.
18276 Use char because int might match the return type of a GCC
18277 builtin and then its argument prototype would still apply. */
18278 char libnetapi_init ();
18282 return libnetapi_init ();
18287 if ac_fn_c_try_link
"$LINENO"
18290 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18291 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'` ;;
18292 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18293 if ${ac_cv_lib_soname_netapi:+false} :
18295 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18299 ac_cv_lib_soname_netapi
=
18301 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18302 conftest
$ac_exeext conftest.
$ac_ext
18303 LIBS
=$ac_check_soname_save_LIBS
18305 if ${ac_cv_lib_soname_netapi:+false} :
18307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18308 printf "%s\n" "not found" >&6; }
18309 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18313 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18315 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18319 CPPFLAGS
=$ac_save_CPPFLAGS
18322 if test "x$ac_cv_lib_soname_netapi" = "x"
18324 case "x$with_netapi" in
18325 x
) as_fn_append wine_notices
"|libnetapi not found, Samba NetAPI won't be supported." ;;
18327 *) as_fn_error $?
"libnetapi not found, Samba NetAPI won't be supported.
18328 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18330 enable_netapi
=${enable_netapi:-no}
18334 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono
-a \
18335 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18337 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
18340 if test "x$with_vulkan" != "xno"
18342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18343 printf %s
"checking for -lvulkan... " >&6; }
18344 if test ${ac_cv_lib_soname_vulkan+y}
18346 printf %s
"(cached) " >&6
18348 ac_check_soname_save_LIBS
=$LIBS
18349 LIBS
="-lvulkan $LIBS"
18350 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18351 /* end confdefs.h. */
18353 /* Override any GCC internal prototype to avoid an error.
18354 Use char because int might match the return type of a GCC
18355 builtin and then its argument prototype would still apply. */
18356 char vkGetInstanceProcAddr ();
18360 return vkGetInstanceProcAddr ();
18365 if ac_fn_c_try_link
"$LINENO"
18368 dll
) ac_cv_lib_soname_vulkan
=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18369 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'` ;;
18370 *) ac_cv_lib_soname_vulkan
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18371 if ${ac_cv_lib_soname_vulkan:+false} :
18373 ac_cv_lib_soname_vulkan
=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18377 ac_cv_lib_soname_vulkan
=
18379 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18380 conftest
$ac_exeext conftest.
$ac_ext
18381 LIBS
=$ac_check_soname_save_LIBS
18383 if ${ac_cv_lib_soname_vulkan:+false} :
18385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18386 printf "%s\n" "not found" >&6; }
18389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18390 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18392 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18396 if test "x$ac_cv_lib_soname_vulkan" = "x"
18398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18399 printf %s
"checking for -lMoltenVK... " >&6; }
18400 if test ${ac_cv_lib_soname_MoltenVK+y}
18402 printf %s
"(cached) " >&6
18404 ac_check_soname_save_LIBS
=$LIBS
18405 LIBS
="-lMoltenVK $LIBS"
18406 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18407 /* end confdefs.h. */
18409 /* Override any GCC internal prototype to avoid an error.
18410 Use char because int might match the return type of a GCC
18411 builtin and then its argument prototype would still apply. */
18412 char vkGetInstanceProcAddr ();
18416 return vkGetInstanceProcAddr ();
18421 if ac_fn_c_try_link
"$LINENO"
18424 dll
) ac_cv_lib_soname_MoltenVK
=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18425 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'` ;;
18426 *) ac_cv_lib_soname_MoltenVK
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18427 if ${ac_cv_lib_soname_MoltenVK:+false} :
18429 ac_cv_lib_soname_MoltenVK
=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18433 ac_cv_lib_soname_MoltenVK
=
18435 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18436 conftest
$ac_exeext conftest.
$ac_ext
18437 LIBS
=$ac_check_soname_save_LIBS
18439 if ${ac_cv_lib_soname_MoltenVK:+false} :
18441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18442 printf "%s\n" "not found" >&6; }
18445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18446 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18448 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18454 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18456 case "x$with_vulkan" in
18457 x
) as_fn_append wine_notices
"|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18459 *) as_fn_error $?
"libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18460 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18466 if test "x${GCC}" = "xyes"
18468 EXTRACFLAGS
="$EXTRACFLAGS -Wall -pipe"
18470 saved_CFLAGS
=$CFLAGS
18471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18472 printf %s
"checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18473 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18475 printf %s
"(cached) " >&6
18477 ac_wine_try_cflags_saved
=$CFLAGS
18478 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
18479 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18480 /* end confdefs.h. */
18481 int main(int argc, char **argv) { return 0; }
18483 if ac_fn_c_try_link
"$LINENO"
18485 ac_cv_cflags__Werror_unknown_warning_option
=yes
18487 ac_cv_cflags__Werror_unknown_warning_option
=no
18489 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18490 conftest
$ac_exeext conftest.
$ac_ext
18491 CFLAGS
=$ac_wine_try_cflags_saved
18493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18494 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18495 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18497 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
18499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18500 printf %s
"checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18501 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18503 printf %s
"(cached) " >&6
18505 ac_wine_try_cflags_saved
=$CFLAGS
18506 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
18507 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18508 /* end confdefs.h. */
18509 int main(int argc, char **argv) { return 0; }
18511 if ac_fn_c_try_link
"$LINENO"
18513 ac_cv_cflags__Werror_unused_command_line_argument
=yes
18515 ac_cv_cflags__Werror_unused_command_line_argument
=no
18517 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18518 conftest
$ac_exeext conftest.
$ac_ext
18519 CFLAGS
=$ac_wine_try_cflags_saved
18521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18522 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18523 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18525 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
18527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18528 printf %s
"checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18529 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18531 printf %s
"(cached) " >&6
18533 ac_wine_try_cflags_saved
=$CFLAGS
18534 CFLAGS
="$CFLAGS -Werror=ignored-optimization-argument"
18535 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18536 /* end confdefs.h. */
18537 int main(int argc, char **argv) { return 0; }
18539 if ac_fn_c_try_link
"$LINENO"
18541 ac_cv_cflags__Werror_ignored_optimization_argument
=yes
18543 ac_cv_cflags__Werror_ignored_optimization_argument
=no
18545 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18546 conftest
$ac_exeext conftest.
$ac_ext
18547 CFLAGS
=$ac_wine_try_cflags_saved
18549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18550 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18551 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18553 CFLAGS
="$CFLAGS -Werror=ignored-optimization-argument"
18555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18556 printf %s
"checking whether the compiler supports -fcf-protection=none... " >&6; }
18557 if test ${ac_cv_cflags__fcf_protection_none+y}
18559 printf %s
"(cached) " >&6
18561 ac_wine_try_cflags_saved
=$CFLAGS
18562 CFLAGS
="$CFLAGS -fcf-protection=none"
18563 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18564 /* end confdefs.h. */
18565 int main(int argc, char **argv) { return 0; }
18567 if ac_fn_c_try_link
"$LINENO"
18569 ac_cv_cflags__fcf_protection_none
=yes
18571 ac_cv_cflags__fcf_protection_none
=no
18573 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18574 conftest
$ac_exeext conftest.
$ac_ext
18575 CFLAGS
=$ac_wine_try_cflags_saved
18577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18578 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18579 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18581 EXTRACFLAGS
="$EXTRACFLAGS -fcf-protection=none"
18583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18584 printf %s
"checking whether the compiler supports -fno-stack-protector... " >&6; }
18585 if test ${ac_cv_cflags__fno_stack_protector+y}
18587 printf %s
"(cached) " >&6
18589 ac_wine_try_cflags_saved
=$CFLAGS
18590 CFLAGS
="$CFLAGS -fno-stack-protector"
18591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18592 /* end confdefs.h. */
18593 int main(int argc, char **argv) { return 0; }
18595 if ac_fn_c_try_link
"$LINENO"
18597 ac_cv_cflags__fno_stack_protector
=yes
18599 ac_cv_cflags__fno_stack_protector
=no
18601 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18602 conftest
$ac_exeext conftest.
$ac_ext
18603 CFLAGS
=$ac_wine_try_cflags_saved
18605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18606 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18607 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18609 EXTRACFLAGS
="$EXTRACFLAGS -fno-stack-protector"
18611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18612 printf %s
"checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18613 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18615 printf %s
"(cached) " >&6
18617 ac_wine_try_cflags_saved
=$CFLAGS
18618 CFLAGS
="$CFLAGS -fno-strict-aliasing"
18619 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18620 /* end confdefs.h. */
18621 int main(int argc, char **argv) { return 0; }
18623 if ac_fn_c_try_link
"$LINENO"
18625 ac_cv_cflags__fno_strict_aliasing
=yes
18627 ac_cv_cflags__fno_strict_aliasing
=no
18629 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18630 conftest
$ac_exeext conftest.
$ac_ext
18631 CFLAGS
=$ac_wine_try_cflags_saved
18633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18634 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18635 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18637 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
18639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18640 printf %s
"checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18641 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18643 printf %s
"(cached) " >&6
18645 ac_wine_try_cflags_saved
=$CFLAGS
18646 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
18647 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18648 /* end confdefs.h. */
18649 int main(int argc, char **argv) { return 0; }
18651 if ac_fn_c_try_link
"$LINENO"
18653 ac_cv_cflags__Wdeclaration_after_statement
=yes
18655 ac_cv_cflags__Wdeclaration_after_statement
=no
18657 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18658 conftest
$ac_exeext conftest.
$ac_ext
18659 CFLAGS
=$ac_wine_try_cflags_saved
18661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18662 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18663 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18665 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
18667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18668 printf %s
"checking whether the compiler supports -Wempty-body... " >&6; }
18669 if test ${ac_cv_cflags__Wempty_body+y}
18671 printf %s
"(cached) " >&6
18673 ac_wine_try_cflags_saved
=$CFLAGS
18674 CFLAGS
="$CFLAGS -Wempty-body"
18675 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18676 /* end confdefs.h. */
18677 int main(int argc, char **argv) { return 0; }
18679 if ac_fn_c_try_link
"$LINENO"
18681 ac_cv_cflags__Wempty_body
=yes
18683 ac_cv_cflags__Wempty_body
=no
18685 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18686 conftest
$ac_exeext conftest.
$ac_ext
18687 CFLAGS
=$ac_wine_try_cflags_saved
18689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18690 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18691 if test "x$ac_cv_cflags__Wempty_body" = xyes
18693 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
18695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18696 printf %s
"checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18697 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18699 printf %s
"(cached) " >&6
18701 ac_wine_try_cflags_saved
=$CFLAGS
18702 CFLAGS
="$CFLAGS -Wignored-qualifiers"
18703 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18704 /* end confdefs.h. */
18705 int main(int argc, char **argv) { return 0; }
18707 if ac_fn_c_try_link
"$LINENO"
18709 ac_cv_cflags__Wignored_qualifiers
=yes
18711 ac_cv_cflags__Wignored_qualifiers
=no
18713 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18714 conftest
$ac_exeext conftest.
$ac_ext
18715 CFLAGS
=$ac_wine_try_cflags_saved
18717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18718 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18719 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18721 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
18723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18724 printf %s
"checking whether the compiler supports -Winit-self... " >&6; }
18725 if test ${ac_cv_cflags__Winit_self+y}
18727 printf %s
"(cached) " >&6
18729 ac_wine_try_cflags_saved
=$CFLAGS
18730 CFLAGS
="$CFLAGS -Winit-self"
18731 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18732 /* end confdefs.h. */
18733 int main(int argc, char **argv) { return 0; }
18735 if ac_fn_c_try_link
"$LINENO"
18737 ac_cv_cflags__Winit_self
=yes
18739 ac_cv_cflags__Winit_self
=no
18741 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18742 conftest
$ac_exeext conftest.
$ac_ext
18743 CFLAGS
=$ac_wine_try_cflags_saved
18745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18746 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18747 if test "x$ac_cv_cflags__Winit_self" = xyes
18749 EXTRACFLAGS
="$EXTRACFLAGS -Winit-self"
18751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18752 printf %s
"checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18753 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18755 printf %s
"(cached) " >&6
18757 ac_wine_try_cflags_saved
=$CFLAGS
18758 CFLAGS
="$CFLAGS -Wpacked-not-aligned"
18759 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18760 /* end confdefs.h. */
18761 int main(int argc, char **argv) { return 0; }
18763 if ac_fn_c_try_link
"$LINENO"
18765 ac_cv_cflags__Wpacked_not_aligned
=yes
18767 ac_cv_cflags__Wpacked_not_aligned
=no
18769 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18770 conftest
$ac_exeext conftest.
$ac_ext
18771 CFLAGS
=$ac_wine_try_cflags_saved
18773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18774 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18775 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18777 EXTRACFLAGS
="$EXTRACFLAGS -Wno-packed-not-aligned"
18779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18780 printf %s
"checking whether the compiler supports -Wpragma-pack... " >&6; }
18781 if test ${ac_cv_cflags__Wpragma_pack+y}
18783 printf %s
"(cached) " >&6
18785 ac_wine_try_cflags_saved
=$CFLAGS
18786 CFLAGS
="$CFLAGS -Wpragma-pack"
18787 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18788 /* end confdefs.h. */
18789 int main(int argc, char **argv) { return 0; }
18791 if ac_fn_c_try_link
"$LINENO"
18793 ac_cv_cflags__Wpragma_pack
=yes
18795 ac_cv_cflags__Wpragma_pack
=no
18797 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18798 conftest
$ac_exeext conftest.
$ac_ext
18799 CFLAGS
=$ac_wine_try_cflags_saved
18801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18802 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18803 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18805 EXTRACFLAGS
="$EXTRACFLAGS -Wno-pragma-pack"
18807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18808 printf %s
"checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18809 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18811 printf %s
"(cached) " >&6
18813 ac_wine_try_cflags_saved
=$CFLAGS
18814 CFLAGS
="$CFLAGS -Wshift-overflow=2"
18815 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18816 /* end confdefs.h. */
18817 int main(int argc, char **argv) { return 0; }
18819 if ac_fn_c_try_link
"$LINENO"
18821 ac_cv_cflags__Wshift_overflow_2
=yes
18823 ac_cv_cflags__Wshift_overflow_2
=no
18825 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18826 conftest
$ac_exeext conftest.
$ac_ext
18827 CFLAGS
=$ac_wine_try_cflags_saved
18829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18830 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18831 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18833 EXTRACFLAGS
="$EXTRACFLAGS -Wshift-overflow=2"
18835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18836 printf %s
"checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18837 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18839 printf %s
"(cached) " >&6
18841 ac_wine_try_cflags_saved
=$CFLAGS
18842 CFLAGS
="$CFLAGS -Wstrict-prototypes"
18843 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18844 /* end confdefs.h. */
18845 int main(int argc, char **argv) { return 0; }
18847 if ac_fn_c_try_link
"$LINENO"
18849 ac_cv_cflags__Wstrict_prototypes
=yes
18851 ac_cv_cflags__Wstrict_prototypes
=no
18853 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18854 conftest
$ac_exeext conftest.
$ac_ext
18855 CFLAGS
=$ac_wine_try_cflags_saved
18857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18858 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18859 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18861 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
18863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18864 printf %s
"checking whether the compiler supports -Wtype-limits... " >&6; }
18865 if test ${ac_cv_cflags__Wtype_limits+y}
18867 printf %s
"(cached) " >&6
18869 ac_wine_try_cflags_saved
=$CFLAGS
18870 CFLAGS
="$CFLAGS -Wtype-limits"
18871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18872 /* end confdefs.h. */
18873 int main(int argc, char **argv) { return 0; }
18875 if ac_fn_c_try_link
"$LINENO"
18877 ac_cv_cflags__Wtype_limits
=yes
18879 ac_cv_cflags__Wtype_limits
=no
18881 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18882 conftest
$ac_exeext conftest.
$ac_ext
18883 CFLAGS
=$ac_wine_try_cflags_saved
18885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18886 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18887 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18889 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
18891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18892 printf %s
"checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18893 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18895 printf %s
"(cached) " >&6
18897 ac_wine_try_cflags_saved
=$CFLAGS
18898 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
18899 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18900 /* end confdefs.h. */
18901 int main(int argc, char **argv) { return 0; }
18903 if ac_fn_c_try_link
"$LINENO"
18905 ac_cv_cflags__Wunused_but_set_parameter
=yes
18907 ac_cv_cflags__Wunused_but_set_parameter
=no
18909 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18910 conftest
$ac_exeext conftest.
$ac_ext
18911 CFLAGS
=$ac_wine_try_cflags_saved
18913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
18914 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
18915 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
18917 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
18919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
18920 printf %s
"checking whether the compiler supports -Wvla... " >&6; }
18921 if test ${ac_cv_cflags__Wvla+y}
18923 printf %s
"(cached) " >&6
18925 ac_wine_try_cflags_saved
=$CFLAGS
18926 CFLAGS
="$CFLAGS -Wvla"
18927 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18928 /* end confdefs.h. */
18929 int main(int argc, char **argv) { return 0; }
18931 if ac_fn_c_try_link
"$LINENO"
18933 ac_cv_cflags__Wvla
=yes
18935 ac_cv_cflags__Wvla
=no
18937 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18938 conftest
$ac_exeext conftest.
$ac_ext
18939 CFLAGS
=$ac_wine_try_cflags_saved
18941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
18942 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
18943 if test "x$ac_cv_cflags__Wvla" = xyes
18945 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
18947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
18948 printf %s
"checking whether the compiler supports -Wwrite-strings... " >&6; }
18949 if test ${ac_cv_cflags__Wwrite_strings+y}
18951 printf %s
"(cached) " >&6
18953 ac_wine_try_cflags_saved
=$CFLAGS
18954 CFLAGS
="$CFLAGS -Wwrite-strings"
18955 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18956 /* end confdefs.h. */
18957 int main(int argc, char **argv) { return 0; }
18959 if ac_fn_c_try_link
"$LINENO"
18961 ac_cv_cflags__Wwrite_strings
=yes
18963 ac_cv_cflags__Wwrite_strings
=no
18965 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18966 conftest
$ac_exeext conftest.
$ac_ext
18967 CFLAGS
=$ac_wine_try_cflags_saved
18969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
18970 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
18971 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
18973 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
18976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
18977 printf %s
"checking whether the compiler supports -Wpointer-arith... " >&6; }
18978 if test ${ac_cv_cflags__Wpointer_arith+y}
18980 printf %s
"(cached) " >&6
18982 ac_wine_try_cflags_saved
=$CFLAGS
18983 CFLAGS
="$CFLAGS -Wpointer-arith"
18984 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18985 /* end confdefs.h. */
18986 int main(int argc, char **argv) { return 0; }
18988 if ac_fn_c_try_link
"$LINENO"
18990 ac_cv_cflags__Wpointer_arith
=yes
18992 ac_cv_cflags__Wpointer_arith
=no
18994 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18995 conftest
$ac_exeext conftest.
$ac_ext
18996 CFLAGS
=$ac_wine_try_cflags_saved
18998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
18999 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19000 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19002 saved_string_h_CFLAGS
=$CFLAGS
19003 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
19004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19005 printf %s
"checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19006 if test ${ac_cv_c_string_h_warnings+y}
19008 printf %s
"(cached) " >&6
19010 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19011 /* end confdefs.h. */
19012 #include <string.h>
19021 if ac_fn_c_try_compile
"$LINENO"
19023 ac_cv_c_string_h_warnings
=no
19025 ac_cv_c_string_h_warnings
=yes
19027 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19030 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19031 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
19032 CFLAGS
=$saved_string_h_CFLAGS
19035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19036 printf %s
"checking whether the compiler supports -Wlogical-op... " >&6; }
19037 if test ${ac_cv_cflags__Wlogical_op+y}
19039 printf %s
"(cached) " >&6
19041 ac_wine_try_cflags_saved
=$CFLAGS
19042 CFLAGS
="$CFLAGS -Wlogical-op"
19043 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19044 /* end confdefs.h. */
19045 int main(int argc, char **argv) { return 0; }
19047 if ac_fn_c_try_link
"$LINENO"
19049 ac_cv_cflags__Wlogical_op
=yes
19051 ac_cv_cflags__Wlogical_op
=no
19053 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19054 conftest
$ac_exeext conftest.
$ac_ext
19055 CFLAGS
=$ac_wine_try_cflags_saved
19057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19058 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19059 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19061 saved_string_h_CFLAGS
=$CFLAGS
19062 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
19063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19064 printf %s
"checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19065 if test ${ac_cv_c_logicalop_noisy+y}
19067 printf %s
"(cached) " >&6
19069 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19070 /* end confdefs.h. */
19071 #include <string.h>
19072 char*f(const char *h,char n) {return strchr(h,n);}
19081 if ac_fn_c_try_compile
"$LINENO"
19083 ac_cv_c_logicalop_noisy
=no
19085 ac_cv_c_logicalop_noisy
=yes
19087 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19090 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19091 CFLAGS
=$saved_string_h_CFLAGS
19092 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
19095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19096 printf %s
"checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19097 if test ${wine_cv_64bit_compare_swap+y}
19099 printf %s
"(cached) " >&6
19101 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19102 /* end confdefs.h. */
19103 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19114 if ac_fn_c_try_compile
"$LINENO"
19116 wine_cv_64bit_compare_swap
="none needed"
19119 *i
[3456]86*) wine_cv_64bit_compare_swap
="-march=i586" ;;
19120 *arm
*) wine_cv_64bit_compare_swap
="-march=armv7-a" ;;
19121 *) wine_cv_64bit_compare_swap
="unknown" ;;
19123 if test "x$wine_cv_64bit_compare_swap" != xunknown
19125 CFLAGS
="$CFLAGS $wine_cv_64bit_compare_swap"
19126 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19127 /* end confdefs.h. */
19128 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19139 if ac_fn_c_try_compile
"$LINENO"
19143 wine_cv_64bit_compare_swap
="unknown"
19145 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19146 CFLAGS
=$saved_CFLAGS
19149 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19152 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19153 case "$wine_cv_64bit_compare_swap" in
19154 unknown
) as_fn_error $?
"gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19156 *) EXTRACFLAGS
="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19159 ac_debug_format_seen
=""
19160 for ac_flag
in $CFLAGS; do
19162 -gdwarf*) ac_debug_format_seen
=yes ;;
19163 -g) ac_debug_format_seen
=${ac_debug_format_seen:-default} ;;
19166 if test "x$ac_debug_format_seen" = xdefault
19168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19169 printf %s
"checking whether the compiler supports -gdwarf-4... " >&6; }
19170 if test ${ac_cv_cflags__gdwarf_4+y}
19172 printf %s
"(cached) " >&6
19174 ac_wine_try_cflags_saved
=$CFLAGS
19175 CFLAGS
="$CFLAGS -gdwarf-4"
19176 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19177 /* end confdefs.h. */
19178 int main(int argc, char **argv) { return 0; }
19180 if ac_fn_c_try_link
"$LINENO"
19182 ac_cv_cflags__gdwarf_4
=yes
19184 ac_cv_cflags__gdwarf_4
=no
19186 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19187 conftest
$ac_exeext conftest.
$ac_ext
19188 CFLAGS
=$ac_wine_try_cflags_saved
19190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19191 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19192 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19194 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-4"
19201 mingw32
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19202 printf %s
"checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19203 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19205 printf %s
"(cached) " >&6
19207 ac_wine_try_cflags_saved
=$CFLAGS
19208 CFLAGS
="$CFLAGS -Wl,-delayload,autoconftest.dll"
19209 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19210 /* end confdefs.h. */
19211 int main(int argc, char **argv) { return 0; }
19213 if ac_fn_c_try_link
"$LINENO"
19215 ac_cv_cflags__Wl__delayload_autoconftest_dll
=yes
19217 ac_cv_cflags__Wl__delayload_autoconftest_dll
=no
19219 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19220 conftest
$ac_exeext conftest.
$ac_ext
19221 CFLAGS
=$ac_wine_try_cflags_saved
19223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19224 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19225 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19227 DELAYLOADFLAG
="-Wl,-delayload,"
19230 *) MSVCRTFLAGS
="-D_WIN32"
19231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19232 printf %s
"checking whether the compiler supports -fno-builtin... " >&6; }
19233 if test ${ac_cv_cflags__fno_builtin+y}
19235 printf %s
"(cached) " >&6
19237 ac_wine_try_cflags_saved
=$CFLAGS
19238 CFLAGS
="$CFLAGS -fno-builtin"
19239 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19240 /* end confdefs.h. */
19241 int main(int argc, char **argv) { return 0; }
19243 if ac_fn_c_try_link
"$LINENO"
19245 ac_cv_cflags__fno_builtin
=yes
19247 ac_cv_cflags__fno_builtin
=no
19249 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19250 conftest
$ac_exeext conftest.
$ac_ext
19251 CFLAGS
=$ac_wine_try_cflags_saved
19253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19254 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19255 if test "x$ac_cv_cflags__fno_builtin" = xyes
19257 MSVCRTFLAGS
="$MSVCRTFLAGS -fno-builtin"
19259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19260 printf %s
"checking whether the compiler supports -fshort-wchar... " >&6; }
19261 if test ${ac_cv_cflags__fshort_wchar+y}
19263 printf %s
"(cached) " >&6
19265 ac_wine_try_cflags_saved
=$CFLAGS
19266 CFLAGS
="$CFLAGS -fshort-wchar"
19267 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19268 /* end confdefs.h. */
19269 int main(int argc, char **argv) { return 0; }
19271 if ac_fn_c_try_link
"$LINENO"
19273 ac_cv_cflags__fshort_wchar
=yes
19275 ac_cv_cflags__fshort_wchar
=no
19277 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19278 conftest
$ac_exeext conftest.
$ac_ext
19279 CFLAGS
=$ac_wine_try_cflags_saved
19281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19282 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19283 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19285 MSVCRTFLAGS
="$MSVCRTFLAGS -fshort-wchar"
19287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19288 printf %s
"checking whether the compiler supports -Wno-format... " >&6; }
19289 if test ${ac_cv_cflags__Wno_format+y}
19291 printf %s
"(cached) " >&6
19293 ac_wine_try_cflags_saved
=$CFLAGS
19294 CFLAGS
="$CFLAGS -Wno-format"
19295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19296 /* end confdefs.h. */
19297 int main(int argc, char **argv) { return 0; }
19299 if ac_fn_c_try_link
"$LINENO"
19301 ac_cv_cflags__Wno_format
=yes
19303 ac_cv_cflags__Wno_format
=no
19305 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19306 conftest
$ac_exeext conftest.
$ac_ext
19307 CFLAGS
=$ac_wine_try_cflags_saved
19309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19310 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19311 if test "x$ac_cv_cflags__Wno_format" = xyes
19313 MSVCRTFLAGS
="$MSVCRTFLAGS -Wno-format"
19318 *i
[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19319 printf %s
"checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19320 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19322 printf %s
"(cached) " >&6
19324 ac_wine_try_cflags_saved
=$CFLAGS
19325 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
19326 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19327 /* end confdefs.h. */
19328 int main(int argc, char **argv) { return 0; }
19330 if ac_fn_c_try_link
"$LINENO"
19332 ac_cv_cflags__fno_omit_frame_pointer
=yes
19334 ac_cv_cflags__fno_omit_frame_pointer
=no
19336 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19337 conftest
$ac_exeext conftest.
$ac_ext
19338 CFLAGS
=$ac_wine_try_cflags_saved
19340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19341 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19342 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19344 MSVCRTFLAGS
="$MSVCRTFLAGS -fno-omit-frame-pointer"
19348 cygwin
*|mingw32
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19349 printf %s
"checking whether the compiler supports -Wno-format... " >&6; }
19350 if test ${ac_cv_cflags__Wno_format+y}
19352 printf %s
"(cached) " >&6
19354 ac_wine_try_cflags_saved
=$CFLAGS
19355 CFLAGS
="$CFLAGS -Wno-format"
19356 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19357 /* end confdefs.h. */
19358 int main(int argc, char **argv) { return 0; }
19360 if ac_fn_c_try_link
"$LINENO"
19362 ac_cv_cflags__Wno_format
=yes
19364 ac_cv_cflags__Wno_format
=no
19366 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19367 conftest
$ac_exeext conftest.
$ac_ext
19368 CFLAGS
=$ac_wine_try_cflags_saved
19370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19371 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19372 if test "x$ac_cv_cflags__Wno_format" = xyes
19374 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
19376 *) if test -z "$PE_ARCHS"
19378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19379 printf %s
"checking for working -mabi=ms... " >&6; }
19380 if test ${ac_cv_mabi_ms+y}
19382 printf %s
"(cached) " >&6
19384 CFLAGS
="$CFLAGS -mabi=ms"
19385 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19386 /* end confdefs.h. */
19387 #include <stdarg.h>
19388 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19397 if ac_fn_c_try_compile
"$LINENO"
19403 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19404 CFLAGS
=$saved_CFLAGS
19406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19407 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19408 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
19410 MSVCRTFLAGS
="$MSVCRTFLAGS -mabi=ms" ;;
19413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19414 printf %s
"checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19415 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19417 printf %s
"(cached) " >&6
19419 ac_wine_try_cflags_saved
=$CFLAGS
19420 CFLAGS
="$CFLAGS -Wincompatible-function-pointer-types"
19421 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19422 /* end confdefs.h. */
19423 int main(int argc, char **argv) { return 0; }
19425 if ac_fn_c_try_link
"$LINENO"
19427 ac_cv_cflags__Wincompatible_function_pointer_types
=yes
19429 ac_cv_cflags__Wincompatible_function_pointer_types
=no
19431 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19432 conftest
$ac_exeext conftest.
$ac_ext
19433 CFLAGS
=$ac_wine_try_cflags_saved
19435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
19436 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19437 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19439 EXTRACFLAGS
="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19443 CFLAGS
=$saved_CFLAGS
19445 if test "x$enable_werror" = "xyes"
19447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19448 printf %s
"checking whether the compiler supports -Werror... " >&6; }
19449 if test ${ac_cv_cflags__Werror+y}
19451 printf %s
"(cached) " >&6
19453 ac_wine_try_cflags_saved
=$CFLAGS
19454 CFLAGS
="$CFLAGS -Werror"
19455 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19456 /* end confdefs.h. */
19457 int main(int argc, char **argv) { return 0; }
19459 if ac_fn_c_try_link
"$LINENO"
19461 ac_cv_cflags__Werror
=yes
19463 ac_cv_cflags__Werror
=no
19465 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19466 conftest
$ac_exeext conftest.
$ac_ext
19467 CFLAGS
=$ac_wine_try_cflags_saved
19469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19470 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19471 if test "x$ac_cv_cflags__Werror" = xyes
19473 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
19476 if test "x$enable_build_id" = "xyes"
19478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19479 printf %s
"checking whether the compiler supports -Wl,--build-id... " >&6; }
19480 if test ${ac_cv_cflags__Wl___build_id+y}
19482 printf %s
"(cached) " >&6
19484 ac_wine_try_cflags_saved
=$CFLAGS
19485 CFLAGS
="$CFLAGS -Wl,--build-id"
19486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19487 /* end confdefs.h. */
19488 int main(int argc, char **argv) { return 0; }
19490 if ac_fn_c_try_link
"$LINENO"
19492 ac_cv_cflags__Wl___build_id
=yes
19494 ac_cv_cflags__Wl___build_id
=no
19496 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19497 conftest
$ac_exeext conftest.
$ac_ext
19498 CFLAGS
=$ac_wine_try_cflags_saved
19500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19501 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19502 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19504 CFLAGS
="$CFLAGS -Wl,--build-id"
19505 LDFLAGS
="$LDFLAGS -Wl,--build-id"
19511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19512 printf %s
"checking for the need to disable Fortify... " >&6; }
19513 if test ${ac_cv_c_fortify_enabled+y}
19515 printf %s
"(cached) " >&6
19517 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19518 /* end confdefs.h. */
19519 #include <string.h>
19523 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19524 #error Fortify enabled
19530 if ac_fn_c_try_compile
"$LINENO"
19532 ac_cv_c_fortify_enabled
=no
19534 ac_cv_c_fortify_enabled
=yes
19536 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19539 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19540 if test "$ac_cv_c_fortify_enabled" = yes
19542 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19547 printf %s
"checking whether CFI directives are supported in assembly code... " >&6; }
19548 if test ${ac_cv_c_cfi_support+y}
19550 printf %s
"(cached) " >&6
19552 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19553 /* end confdefs.h. */
19554 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19563 if ac_fn_c_try_compile
"$LINENO"
19565 ac_cv_c_cfi_support
="yes"
19567 ac_cv_c_cfi_support
="no"
19569 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19572 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19573 if test "$ac_cv_c_cfi_support" = "yes"
19575 DLLFLAGS
="$DLLFLAGS -fasynchronous-unwind-tables"
19576 LDDLLFLAGS
="$LDDLLFLAGS -fasynchronous-unwind-tables"
19577 UNIXDLLFLAGS
="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19578 elif test $HOST_ARCH = x86_64
19580 as_fn_append wine_warnings
"|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19584 case "$HOST_ARCH,$PE_ARCHS" in
19585 x86_64
,*i386
*) wine_binary
="wine" ;;
19586 x86_64
,*) wine_binary
="wine64" ;;
19587 *) wine_binary
="wine" ;;
19589 WINELOADER_PROGRAMS
="$wine_binary"
19595 *i
[3456789]86*|x86_64
*|
*aarch64
*|arm
*)
19596 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine-preloader"
19597 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
19602 if test "$wine_can_build_preloader" = "yes"
19604 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine-preloader"
19605 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
19611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19612 printf %s
"checking for library containing dlopen... " >&6; }
19613 if test ${ac_cv_search_dlopen+y}
19615 printf %s
"(cached) " >&6
19617 ac_func_search_save_LIBS
=$LIBS
19618 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19619 /* end confdefs.h. */
19621 /* Override any GCC internal prototype to avoid an error.
19622 Use char because int might match the return type of a GCC
19623 builtin and then its argument prototype would still apply. */
19633 for ac_lib
in '' dl
19635 if test -z "$ac_lib"; then
19636 ac_res
="none required"
19639 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19641 if ac_fn_c_try_link
"$LINENO"
19643 ac_cv_search_dlopen
=$ac_res
19645 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19647 if test ${ac_cv_search_dlopen+y}
19652 if test ${ac_cv_search_dlopen+y}
19656 ac_cv_search_dlopen
=no
19658 rm conftest.
$ac_ext
19659 LIBS
=$ac_func_search_save_LIBS
19661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19662 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19663 ac_res
=$ac_cv_search_dlopen
19664 if test "$ac_res" != no
19666 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19672 printf %s
"checking for library containing gethostbyname... " >&6; }
19673 if test ${ac_cv_search_gethostbyname+y}
19675 printf %s
"(cached) " >&6
19677 ac_func_search_save_LIBS
=$LIBS
19678 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19679 /* end confdefs.h. */
19681 /* Override any GCC internal prototype to avoid an error.
19682 Use char because int might match the return type of a GCC
19683 builtin and then its argument prototype would still apply. */
19684 char gethostbyname ();
19688 return gethostbyname ();
19693 for ac_lib
in '' nsl
19695 if test -z "$ac_lib"; then
19696 ac_res
="none required"
19699 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19701 if ac_fn_c_try_link
"$LINENO"
19703 ac_cv_search_gethostbyname
=$ac_res
19705 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19707 if test ${ac_cv_search_gethostbyname+y}
19712 if test ${ac_cv_search_gethostbyname+y}
19716 ac_cv_search_gethostbyname
=no
19718 rm conftest.
$ac_ext
19719 LIBS
=$ac_func_search_save_LIBS
19721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19722 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19723 ac_res
=$ac_cv_search_gethostbyname
19724 if test "$ac_res" != no
19726 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19732 printf %s
"checking for library containing connect... " >&6; }
19733 if test ${ac_cv_search_connect+y}
19735 printf %s
"(cached) " >&6
19737 ac_func_search_save_LIBS
=$LIBS
19738 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19739 /* end confdefs.h. */
19741 /* Override any GCC internal prototype to avoid an error.
19742 Use char because int might match the return type of a GCC
19743 builtin and then its argument prototype would still apply. */
19753 for ac_lib
in '' socket
19755 if test -z "$ac_lib"; then
19756 ac_res
="none required"
19759 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19761 if ac_fn_c_try_link
"$LINENO"
19763 ac_cv_search_connect
=$ac_res
19765 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19767 if test ${ac_cv_search_connect+y}
19772 if test ${ac_cv_search_connect+y}
19776 ac_cv_search_connect
=no
19778 rm conftest.
$ac_ext
19779 LIBS
=$ac_func_search_save_LIBS
19781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19782 printf "%s\n" "$ac_cv_search_connect" >&6; }
19783 ac_res
=$ac_cv_search_connect
19784 if test "$ac_res" != no
19786 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19792 printf %s
"checking for library containing inet_aton... " >&6; }
19793 if test ${ac_cv_search_inet_aton+y}
19795 printf %s
"(cached) " >&6
19797 ac_func_search_save_LIBS
=$LIBS
19798 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19799 /* end confdefs.h. */
19801 /* Override any GCC internal prototype to avoid an error.
19802 Use char because int might match the return type of a GCC
19803 builtin and then its argument prototype would still apply. */
19808 return inet_aton ();
19813 for ac_lib
in '' resolv
19815 if test -z "$ac_lib"; then
19816 ac_res
="none required"
19819 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19821 if ac_fn_c_try_link
"$LINENO"
19823 ac_cv_search_inet_aton
=$ac_res
19825 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19827 if test ${ac_cv_search_inet_aton+y}
19832 if test ${ac_cv_search_inet_aton+y}
19836 ac_cv_search_inet_aton
=no
19838 rm conftest.
$ac_ext
19839 LIBS
=$ac_func_search_save_LIBS
19841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
19842 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
19843 ac_res
=$ac_cv_search_inet_aton
19844 if test "$ac_res" != no
19846 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19851 ac_save_CFLAGS
="$CFLAGS"
19852 CFLAGS
="$CFLAGS $BUILTINFLAG"
19853 ac_fn_c_check_func
"$LINENO" "dladdr1" "ac_cv_func_dladdr1"
19854 if test "x$ac_cv_func_dladdr1" = xyes
19856 printf "%s\n" "#define HAVE_DLADDR1 1" >>confdefs.h
19859 ac_fn_c_check_func
"$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19860 if test "x$ac_cv_func_dlinfo" = xyes
19862 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19865 ac_fn_c_check_func
"$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19866 if test "x$ac_cv_func_epoll_create" = xyes
19868 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19871 ac_fn_c_check_func
"$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19872 if test "x$ac_cv_func_fstatfs" = xyes
19874 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19877 ac_fn_c_check_func
"$LINENO" "futimens" "ac_cv_func_futimens"
19878 if test "x$ac_cv_func_futimens" = xyes
19880 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19883 ac_fn_c_check_func
"$LINENO" "futimes" "ac_cv_func_futimes"
19884 if test "x$ac_cv_func_futimes" = xyes
19886 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19889 ac_fn_c_check_func
"$LINENO" "futimesat" "ac_cv_func_futimesat"
19890 if test "x$ac_cv_func_futimesat" = xyes
19892 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19895 ac_fn_c_check_func
"$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
19896 if test "x$ac_cv_func_getaddrinfo" = xyes
19898 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
19901 ac_fn_c_check_func
"$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19902 if test "x$ac_cv_func_getattrlist" = xyes
19904 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19907 ac_fn_c_check_func
"$LINENO" "getauxval" "ac_cv_func_getauxval"
19908 if test "x$ac_cv_func_getauxval" = xyes
19910 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19913 ac_fn_c_check_func
"$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19914 if test "x$ac_cv_func_getifaddrs" = xyes
19916 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19919 ac_fn_c_check_func
"$LINENO" "getrandom" "ac_cv_func_getrandom"
19920 if test "x$ac_cv_func_getrandom" = xyes
19922 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19925 ac_fn_c_check_func
"$LINENO" "kqueue" "ac_cv_func_kqueue"
19926 if test "x$ac_cv_func_kqueue" = xyes
19928 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19931 ac_fn_c_check_func
"$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19932 if test "x$ac_cv_func_mach_continuous_time" = xyes
19934 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19937 ac_fn_c_check_func
"$LINENO" "pipe2" "ac_cv_func_pipe2"
19938 if test "x$ac_cv_func_pipe2" = xyes
19940 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19943 ac_fn_c_check_func
"$LINENO" "port_create" "ac_cv_func_port_create"
19944 if test "x$ac_cv_func_port_create" = xyes
19946 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
19949 ac_fn_c_check_func
"$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
19950 if test "x$ac_cv_func_posix_fadvise" = xyes
19952 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
19955 ac_fn_c_check_func
"$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
19956 if test "x$ac_cv_func_posix_fallocate" = xyes
19958 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
19961 ac_fn_c_check_func
"$LINENO" "prctl" "ac_cv_func_prctl"
19962 if test "x$ac_cv_func_prctl" = xyes
19964 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
19967 ac_fn_c_check_func
"$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
19968 if test "x$ac_cv_func_proc_pidinfo" = xyes
19970 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
19973 ac_fn_c_check_func
"$LINENO" "sched_yield" "ac_cv_func_sched_yield"
19974 if test "x$ac_cv_func_sched_yield" = xyes
19976 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
19979 ac_fn_c_check_func
"$LINENO" "setproctitle" "ac_cv_func_setproctitle"
19980 if test "x$ac_cv_func_setproctitle" = xyes
19982 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
19985 ac_fn_c_check_func
"$LINENO" "setprogname" "ac_cv_func_setprogname"
19986 if test "x$ac_cv_func_setprogname" = xyes
19988 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
19991 ac_fn_c_check_func
"$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
19992 if test "x$ac_cv_func_sigprocmask" = xyes
19994 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
19997 ac_fn_c_check_func
"$LINENO" "sysinfo" "ac_cv_func_sysinfo"
19998 if test "x$ac_cv_func_sysinfo" = xyes
20000 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
20003 ac_fn_c_check_func
"$LINENO" "tcdrain" "ac_cv_func_tcdrain"
20004 if test "x$ac_cv_func_tcdrain" = xyes
20006 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
20009 ac_fn_c_check_func
"$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
20010 if test "x$ac_cv_func_thr_kill2" = xyes
20012 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
20016 CFLAGS
="$ac_save_CFLAGS"
20019 darwin
*|macosx
*) ;;
20020 *) ac_save_LIBS
=$LIBS
20021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20022 printf %s
"checking for library containing clock_gettime... " >&6; }
20023 if test ${ac_cv_search_clock_gettime+y}
20025 printf %s
"(cached) " >&6
20027 ac_func_search_save_LIBS
=$LIBS
20028 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20029 /* end confdefs.h. */
20031 /* Override any GCC internal prototype to avoid an error.
20032 Use char because int might match the return type of a GCC
20033 builtin and then its argument prototype would still apply. */
20034 char clock_gettime ();
20038 return clock_gettime ();
20043 for ac_lib
in '' rt
20045 if test -z "$ac_lib"; then
20046 ac_res
="none required"
20049 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20051 if ac_fn_c_try_link
"$LINENO"
20053 ac_cv_search_clock_gettime
=$ac_res
20055 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20057 if test ${ac_cv_search_clock_gettime+y}
20062 if test ${ac_cv_search_clock_gettime+y}
20066 ac_cv_search_clock_gettime
=no
20068 rm conftest.
$ac_ext
20069 LIBS
=$ac_func_search_save_LIBS
20071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20072 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20073 ac_res
=$ac_cv_search_clock_gettime
20074 if test "$ac_res" != no
20076 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20078 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20080 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
20088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20089 printf %s
"checking for sched_setaffinity... " >&6; }
20090 if test ${wine_cv_have_sched_setaffinity+y}
20092 printf %s
"(cached) " >&6
20094 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20095 /* end confdefs.h. */
20100 sched_setaffinity(0, 0, 0);
20105 if ac_fn_c_try_link
"$LINENO"
20107 wine_cv_have_sched_setaffinity
=yes
20109 wine_cv_have_sched_setaffinity
=no
20111 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20112 conftest
$ac_exeext conftest.
$ac_ext
20114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20115 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20116 if test "$wine_cv_have_sched_setaffinity" = "yes"
20119 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20125 printf %s
"checking for inline... " >&6; }
20126 if test ${ac_cv_c_inline+y}
20128 printf %s
"(cached) " >&6
20131 for ac_kw
in inline __inline__ __inline
; do
20132 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20133 /* end confdefs.h. */
20134 #ifndef __cplusplus
20136 static $ac_kw foo_t static_foo (void) {return 0; }
20137 $ac_kw foo_t foo (void) {return 0; }
20141 if ac_fn_c_try_compile
"$LINENO"
20143 ac_cv_c_inline
=$ac_kw
20145 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20146 test "$ac_cv_c_inline" != no
&& break
20150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20151 printf "%s\n" "$ac_cv_c_inline" >&6; }
20153 case $ac_cv_c_inline in
20156 case $ac_cv_c_inline in
20158 *) ac_val
=$ac_cv_c_inline;;
20160 cat >>confdefs.h
<<_ACEOF
20161 #ifndef __cplusplus
20162 #define inline $ac_val
20168 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20170 if test "x$ac_cv_type_request_sense" = xyes
20173 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20179 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20180 #include <sys/socket.h>
20181 #ifdef HAVE_SYS_SOCKETVAR_H
20182 #include <sys/socketvar.h>
20184 #ifdef HAVE_NET_ROUTE_H
20185 #include <net/route.h>
20187 #ifdef HAVE_NETINET_IN_H
20188 #include <netinet/in.h>
20190 #ifdef HAVE_NETINET_IN_SYSTM_H
20191 #include <netinet/in_systm.h>
20193 #ifdef HAVE_NETINET_IP_H
20194 #include <netinet/ip.h>
20196 #ifdef HAVE_NETINET_IN_PCB_H
20197 #include <netinet/in_pcb.h>
20200 if test "x$ac_cv_type_struct_xinpgen" = xyes
20203 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20210 printf %s
"checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20211 if test ${wine_cv_linux_gethostbyname_r_6+y}
20213 printf %s
"(cached) " >&6
20215 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20216 /* end confdefs.h. */
20224 struct hostent *result;
20231 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20232 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20238 if ac_fn_c_try_link
"$LINENO"
20240 wine_cv_linux_gethostbyname_r_6
=yes
20242 wine_cv_linux_gethostbyname_r_6
=no
20245 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20246 conftest
$ac_exeext conftest.
$ac_ext
20249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20250 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20251 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20254 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20258 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20259 #include <sys/socket.h>
20260 #ifdef HAVE_SYS_UN_H
20261 # include <sys/un.h>
20264 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20267 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20271 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20272 #include <sys/socket.h>
20273 #ifdef HAVE_SYS_UN_H
20274 # include <sys/un.h>
20277 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20280 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20286 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20287 #ifdef HAVE_SCSI_SG_H
20288 #include <scsi/sg.h>
20291 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20294 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20298 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>
20299 #ifdef HAVE_SCSI_SG_H
20300 #include <scsi/sg.h>
20303 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20306 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20312 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20314 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20317 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20323 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20324 #ifdef HAVE_SYS_MTIO_H
20325 #include <sys/mtio.h>
20328 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20331 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20335 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20336 #ifdef HAVE_SYS_MTIO_H
20337 #include <sys/mtio.h>
20340 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20343 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20347 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20348 #ifdef HAVE_SYS_MTIO_H
20349 #include <sys/mtio.h>
20352 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20355 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20361 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20362 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20365 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20369 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20370 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20373 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20377 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20378 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20381 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20385 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20386 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20389 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20393 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20394 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20397 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20401 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20402 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20405 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20409 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20410 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20413 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20417 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20418 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20421 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20425 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20426 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20429 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20433 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20434 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20437 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20441 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20442 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20445 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20451 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>
20452 #ifdef HAVE_NETINET_IN_H
20453 #include <netinet/in.h>
20456 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20459 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20465 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
20466 #include <resolv.h>
20469 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20472 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20478 ac_fn_c_check_member
"$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20479 #include <netinet/in.h>
20482 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20485 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20491 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20492 #ifdef HAVE_SYS_SOCKETVAR_H
20493 #include <sys/socketvar.h>
20495 #ifdef HAVE_NETINET_IN_H
20496 #include <netinet/in.h>
20498 #ifdef HAVE_NETINET_IP_VAR_H
20499 #include <netinet/ip_var.h>
20502 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20505 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20511 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
20512 #include <netinet/ip_var.h>
20515 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20518 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20524 ac_fn_c_check_member
"$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20525 #ifdef HAVE_SYS_SOCKETVAR_H
20526 #include <sys/socketvar.h>
20528 #ifdef HAVE_NETINET_IN_H
20529 #include <netinet/in.h>
20531 #ifdef HAVE_NETINET6_IP6_VAR_H
20532 #include <netinet6/ip6_var.h>
20535 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20538 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20544 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20545 #ifdef HAVE_SYS_SOCKETVAR_H
20546 #include <sys/socketvar.h>
20548 #ifdef HAVE_NETINET_IN_H
20549 #include <netinet/in.h>
20551 #ifdef HAVE_NETINET_IP_H
20552 #include <netinet/ip.h>
20554 #ifdef HAVE_NETINET_IP_ICMP_H
20555 #include <netinet/ip_icmp.h>
20557 #ifdef HAVE_NETINET_ICMP_VAR_H
20558 #include <netinet/icmp_var.h>
20561 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20564 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20570 ac_fn_c_check_member
"$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20571 #ifdef HAVE_SYS_SOCKETVAR_H
20572 #include <sys/socketvar.h>
20574 #ifdef HAVE_NETINET_IN_H
20575 #include <netinet/in.h>
20577 #ifdef HAVE_NETINET_ICMP6_H
20578 #include <netinet/icmp6.h>
20581 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20584 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20590 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20591 #ifdef HAVE_SYS_SOCKETVAR_H
20592 #include <sys/socketvar.h>
20594 #ifdef HAVE_NETINET_IN_H
20595 #include <netinet/in.h>
20597 #ifdef HAVE_NETINET_TCP_H
20598 #include <netinet/tcp.h>
20600 #ifdef HAVE_NETINET_TCP_VAR_H
20601 #include <netinet/tcp_var.h>
20604 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20607 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20613 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
20614 #include <netinet/tcp_var.h>
20617 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20620 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20626 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20627 #ifdef HAVE_NETINET_IN_H
20628 #include <netinet/in.h>
20630 #ifdef HAVE_NETINET_IP_VAR_H
20631 #include <netinet/ip_var.h>
20633 #ifdef HAVE_NETINET_UDP_H
20634 #include <netinet/udp.h>
20636 #ifdef HAVE_NETINET_UDP_VAR_H
20637 #include <netinet/udp_var.h>
20640 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20643 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20649 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20650 #ifdef HAVE_NET_IF_H
20651 # include <net/if.h>
20654 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20657 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20663 ac_fn_c_check_member
"$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20664 # include <sys/sysinfo.h>
20667 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20670 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20674 ac_fn_c_check_member
"$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20675 # include <sys/sysinfo.h>
20678 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20681 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20687 LIBS
="$ac_save_LIBS"
20689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20690 printf %s
"checking for __builtin_popcount... " >&6; }
20691 if test ${ac_cv_have___builtin_popcount+y}
20693 printf %s
"(cached) " >&6
20695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20696 /* end confdefs.h. */
20701 return __builtin_popcount(1)
20706 if ac_fn_c_try_link
"$LINENO"
20708 ac_cv_have___builtin_popcount
="yes"
20710 ac_cv_have___builtin_popcount
="no"
20712 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20713 conftest
$ac_exeext conftest.
$ac_ext
20715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20716 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20717 if test "$ac_cv_have___builtin_popcount" = "yes"
20720 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20725 printf %s
"checking for __clear_cache... " >&6; }
20726 if test ${ac_cv_have___clear_cache+y}
20728 printf %s
"(cached) " >&6
20730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20731 /* end confdefs.h. */
20736 __clear_cache((void*)0, (void*)0); return 0;
20741 if ac_fn_c_try_link
"$LINENO"
20743 ac_cv_have___clear_cache
="yes"
20745 ac_cv_have___clear_cache
="no"
20747 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20748 conftest
$ac_exeext conftest.
$ac_ext
20750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20751 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20752 if test "$ac_cv_have___clear_cache" = "yes"
20755 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20761 *i
[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20762 printf %s
"checking whether we need to define __i386__... " >&6; }
20763 if test ${ac_cv_cpp_def___i386__+y}
20765 printf %s
"(cached) " >&6
20767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20768 /* end confdefs.h. */
20773 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20774 $EGREP "yes" >/dev
/null
2>&1
20776 ac_cv_cpp_def___i386__
=yes
20778 ac_cv_cpp_def___i386__
=no
20783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20784 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20785 if test "x$ac_cv_cpp_def___i386__" = xyes
20787 CFLAGS
="$CFLAGS -D__i386__"
20788 LINTFLAGS
="$LINTFLAGS -D__i386__"
20790 *x86_64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20791 printf %s
"checking whether we need to define __x86_64__... " >&6; }
20792 if test ${ac_cv_cpp_def___x86_64__+y}
20794 printf %s
"(cached) " >&6
20796 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20797 /* end confdefs.h. */
20802 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20803 $EGREP "yes" >/dev
/null
2>&1
20805 ac_cv_cpp_def___x86_64__
=yes
20807 ac_cv_cpp_def___x86_64__
=no
20812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20813 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20814 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20816 CFLAGS
="$CFLAGS -D__x86_64__"
20817 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
20819 *sparc64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
20820 printf %s
"checking whether we need to define __sparc64__... " >&6; }
20821 if test ${ac_cv_cpp_def___sparc64__+y}
20823 printf %s
"(cached) " >&6
20825 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20826 /* end confdefs.h. */
20827 #ifndef __sparc64__
20831 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20832 $EGREP "yes" >/dev
/null
2>&1
20834 ac_cv_cpp_def___sparc64__
=yes
20836 ac_cv_cpp_def___sparc64__
=no
20841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
20842 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
20843 if test "x$ac_cv_cpp_def___sparc64__" = xyes
20845 CFLAGS
="$CFLAGS -D__sparc64__"
20846 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
20848 *sparc
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
20849 printf %s
"checking whether we need to define __sparc__... " >&6; }
20850 if test ${ac_cv_cpp_def___sparc__+y}
20852 printf %s
"(cached) " >&6
20854 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20855 /* end confdefs.h. */
20860 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20861 $EGREP "yes" >/dev
/null
2>&1
20863 ac_cv_cpp_def___sparc__
=yes
20865 ac_cv_cpp_def___sparc__
=no
20870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
20871 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
20872 if test "x$ac_cv_cpp_def___sparc__" = xyes
20874 CFLAGS
="$CFLAGS -D__sparc__"
20875 LINTFLAGS
="$LINTFLAGS -D__sparc__"
20877 *powerpc64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
20878 printf %s
"checking whether we need to define __powerpc64__... " >&6; }
20879 if test ${ac_cv_cpp_def___powerpc64__+y}
20881 printf %s
"(cached) " >&6
20883 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20884 /* end confdefs.h. */
20885 #ifndef __powerpc64__
20889 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20890 $EGREP "yes" >/dev
/null
2>&1
20892 ac_cv_cpp_def___powerpc64__
=yes
20894 ac_cv_cpp_def___powerpc64__
=no
20899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
20900 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
20901 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
20903 CFLAGS
="$CFLAGS -D__powerpc64__"
20904 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
20906 *powerpc
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
20907 printf %s
"checking whether we need to define __powerpc__... " >&6; }
20908 if test ${ac_cv_cpp_def___powerpc__+y}
20910 printf %s
"(cached) " >&6
20912 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20913 /* end confdefs.h. */
20914 #ifndef __powerpc__
20918 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20919 $EGREP "yes" >/dev
/null
2>&1
20921 ac_cv_cpp_def___powerpc__
=yes
20923 ac_cv_cpp_def___powerpc__
=no
20928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
20929 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
20930 if test "x$ac_cv_cpp_def___powerpc__" = xyes
20932 CFLAGS
="$CFLAGS -D__powerpc__"
20933 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
20935 *aarch64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
20936 printf %s
"checking whether we need to define __aarch64__... " >&6; }
20937 if test ${ac_cv_cpp_def___aarch64__+y}
20939 printf %s
"(cached) " >&6
20941 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20942 /* end confdefs.h. */
20943 #ifndef __aarch64__
20947 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20948 $EGREP "yes" >/dev
/null
2>&1
20950 ac_cv_cpp_def___aarch64__
=yes
20952 ac_cv_cpp_def___aarch64__
=no
20957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
20958 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
20959 if test "x$ac_cv_cpp_def___aarch64__" = xyes
20961 CFLAGS
="$CFLAGS -D__aarch64__"
20962 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
20964 *arm
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
20965 printf %s
"checking whether we need to define __arm__... " >&6; }
20966 if test ${ac_cv_cpp_def___arm__+y}
20968 printf %s
"(cached) " >&6
20970 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20971 /* end confdefs.h. */
20976 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20977 $EGREP "yes" >/dev
/null
2>&1
20979 ac_cv_cpp_def___arm__
=yes
20981 ac_cv_cpp_def___arm__
=no
20986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
20987 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
20988 if test "x$ac_cv_cpp_def___arm__" = xyes
20990 CFLAGS
="$CFLAGS -D__arm__"
20991 LINTFLAGS
="$LINTFLAGS -D__arm__"
20995 case $host_vendor in
20996 *sun
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
20997 printf %s
"checking whether we need to define __sun__... " >&6; }
20998 if test ${ac_cv_cpp_def___sun__+y}
21000 printf %s
"(cached) " >&6
21002 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21003 /* end confdefs.h. */
21008 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21009 $EGREP "yes" >/dev
/null
2>&1
21011 ac_cv_cpp_def___sun__
=yes
21013 ac_cv_cpp_def___sun__
=no
21018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21019 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21020 if test "x$ac_cv_cpp_def___sun__" = xyes
21022 CFLAGS
="$CFLAGS -D__sun__"
21023 LINTFLAGS
="$LINTFLAGS -D__sun__"
21031 ac_config_commands
="$ac_config_commands include/stamp-h"
21033 printf %s
"creating Makefile rules..." >&6
21036 test "x$enable_silent_rules" = xyes
&& makedep_flags
="$makedep_flags -S"
21039 test "$srcdir" = . || wine_srcdir
="$srcdir/"
21041 ac_config_links
="$ac_config_links wine:tools/winewrapper"
21042 wine_fn_config_symlink wine
21043 if test "$HOST_ARCH" = x86_64
-o -n "$with_wine64"; then
21044 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
21045 wine_fn_config_symlink wine64
21048 wine_fn_config_makefile dlls
/acledit enable_acledit
21049 wine_fn_config_makefile dlls
/aclui enable_aclui
21050 wine_fn_config_makefile dlls
/activeds.tlb enable_activeds_tlb
21051 wine_fn_config_makefile dlls
/activeds enable_activeds
21052 wine_fn_config_makefile dlls
/activeds
/tests enable_tests
21053 wine_fn_config_makefile dlls
/actxprxy enable_actxprxy
21054 wine_fn_config_makefile dlls
/adsldp enable_adsldp
21055 wine_fn_config_makefile dlls
/adsldp
/tests enable_tests
21056 wine_fn_config_makefile dlls
/adsldpc enable_adsldpc
21057 wine_fn_config_makefile dlls
/advapi32 enable_advapi32
21058 wine_fn_config_makefile dlls
/advapi32
/tests enable_tests
21059 wine_fn_config_makefile dlls
/advpack enable_advpack
21060 wine_fn_config_makefile dlls
/advpack
/tests enable_tests
21061 wine_fn_config_makefile dlls
/amsi enable_amsi
21062 wine_fn_config_makefile dlls
/amstream enable_amstream
21063 wine_fn_config_makefile dlls
/amstream
/tests enable_tests
21064 wine_fn_config_makefile dlls
/apisetschema enable_apisetschema
21065 wine_fn_config_makefile dlls
/apphelp enable_apphelp
21066 wine_fn_config_makefile dlls
/apphelp
/tests enable_tests
21067 wine_fn_config_makefile dlls
/appwiz.cpl enable_appwiz_cpl
21068 wine_fn_config_makefile dlls
/atl enable_atl
21069 wine_fn_config_makefile dlls
/atl
/tests enable_tests
21070 wine_fn_config_makefile dlls
/atl100 enable_atl100
21071 wine_fn_config_makefile dlls
/atl100
/tests enable_tests
21072 wine_fn_config_makefile dlls
/atl110 enable_atl110
21073 wine_fn_config_makefile dlls
/atl110
/tests enable_tests
21074 wine_fn_config_makefile dlls
/atl80 enable_atl80
21075 wine_fn_config_makefile dlls
/atl80
/tests enable_tests
21076 wine_fn_config_makefile dlls
/atl90 enable_atl90
21077 wine_fn_config_makefile dlls
/atlthunk enable_atlthunk
21078 wine_fn_config_makefile dlls
/atlthunk
/tests enable_tests
21079 wine_fn_config_makefile dlls
/atmlib enable_atmlib
21080 wine_fn_config_makefile dlls
/authz enable_authz
21081 wine_fn_config_makefile dlls
/avicap32 enable_avicap32
21082 wine_fn_config_makefile dlls
/avifil32 enable_avifil32
21083 wine_fn_config_makefile dlls
/avifil32
/tests enable_tests
21084 wine_fn_config_makefile dlls
/avifile.dll16 enable_win16
21085 wine_fn_config_makefile dlls
/avrt enable_avrt
21086 wine_fn_config_makefile dlls
/bcrypt enable_bcrypt
21087 wine_fn_config_makefile dlls
/bcrypt
/tests enable_tests
21088 wine_fn_config_makefile dlls
/bluetoothapis enable_bluetoothapis
21089 wine_fn_config_makefile dlls
/browseui enable_browseui
21090 wine_fn_config_makefile dlls
/browseui
/tests enable_tests
21091 wine_fn_config_makefile dlls
/bthprops.cpl enable_bthprops_cpl
21092 wine_fn_config_makefile dlls
/cabinet enable_cabinet
21093 wine_fn_config_makefile dlls
/cabinet
/tests enable_tests
21094 wine_fn_config_makefile dlls
/capi2032 enable_capi2032
21095 wine_fn_config_makefile dlls
/cards enable_cards
21096 wine_fn_config_makefile dlls
/cdosys enable_cdosys
21097 wine_fn_config_makefile dlls
/cfgmgr32 enable_cfgmgr32
21098 wine_fn_config_makefile dlls
/cfgmgr32
/tests enable_tests
21099 wine_fn_config_makefile dlls
/clusapi enable_clusapi
21100 wine_fn_config_makefile dlls
/cng.sys enable_cng_sys
21101 wine_fn_config_makefile dlls
/combase enable_combase
21102 wine_fn_config_makefile dlls
/combase
/tests enable_tests
21103 wine_fn_config_makefile dlls
/comcat enable_comcat
21104 wine_fn_config_makefile dlls
/comcat
/tests enable_tests
21105 wine_fn_config_makefile dlls
/comctl32 enable_comctl32
21106 wine_fn_config_makefile dlls
/comctl32
/tests enable_tests
21107 wine_fn_config_makefile dlls
/comdlg32 enable_comdlg32
21108 wine_fn_config_makefile dlls
/comdlg32
/tests enable_tests
21109 wine_fn_config_makefile dlls
/comm.drv16 enable_win16
21110 wine_fn_config_makefile dlls
/commdlg.dll16 enable_win16
21111 wine_fn_config_makefile dlls
/compobj.dll16 enable_win16
21112 wine_fn_config_makefile dlls
/compstui enable_compstui
21113 wine_fn_config_makefile dlls
/compstui
/tests enable_tests
21114 wine_fn_config_makefile dlls
/comsvcs enable_comsvcs
21115 wine_fn_config_makefile dlls
/comsvcs
/tests enable_tests
21116 wine_fn_config_makefile dlls
/concrt140 enable_concrt140
21117 wine_fn_config_makefile dlls
/concrt140
/tests enable_tests
21118 wine_fn_config_makefile dlls
/connect enable_connect
21119 wine_fn_config_makefile dlls
/credui enable_credui
21120 wine_fn_config_makefile dlls
/credui
/tests enable_tests
21121 wine_fn_config_makefile dlls
/crtdll enable_crtdll
21122 wine_fn_config_makefile dlls
/crypt32 enable_crypt32
21123 wine_fn_config_makefile dlls
/crypt32
/tests enable_tests
21124 wine_fn_config_makefile dlls
/cryptdlg enable_cryptdlg
21125 wine_fn_config_makefile dlls
/cryptdll enable_cryptdll
21126 wine_fn_config_makefile dlls
/cryptext enable_cryptext
21127 wine_fn_config_makefile dlls
/cryptnet enable_cryptnet
21128 wine_fn_config_makefile dlls
/cryptnet
/tests enable_tests
21129 wine_fn_config_makefile dlls
/cryptowinrt enable_cryptowinrt
21130 wine_fn_config_makefile dlls
/cryptowinrt
/tests enable_tests
21131 wine_fn_config_makefile dlls
/cryptsp enable_cryptsp
21132 wine_fn_config_makefile dlls
/cryptui enable_cryptui
21133 wine_fn_config_makefile dlls
/cryptui
/tests enable_tests
21134 wine_fn_config_makefile dlls
/ctapi32 enable_ctapi32
21135 wine_fn_config_makefile dlls
/ctl3d.dll16 enable_win16
21136 wine_fn_config_makefile dlls
/ctl3d32 enable_ctl3d32
21137 wine_fn_config_makefile dlls
/ctl3dv2.dll16 enable_win16
21138 wine_fn_config_makefile dlls
/d2d1 enable_d2d1
21139 wine_fn_config_makefile dlls
/d2d
1/tests enable_tests
21140 wine_fn_config_makefile dlls
/d3d10 enable_d3d10
21141 wine_fn_config_makefile dlls
/d3d10
/tests enable_tests
21142 wine_fn_config_makefile dlls
/d3d10_1 enable_d3d10_1
21143 wine_fn_config_makefile dlls
/d3d10_
1/tests enable_tests
21144 wine_fn_config_makefile dlls
/d3d10core enable_d3d10core
21145 wine_fn_config_makefile dlls
/d3d10core
/tests enable_tests
21146 wine_fn_config_makefile dlls
/d3d11 enable_d3d11
21147 wine_fn_config_makefile dlls
/d3d11
/tests enable_tests
21148 wine_fn_config_makefile dlls
/d3d12 enable_d3d12
21149 wine_fn_config_makefile dlls
/d3d12
/tests enable_tests
21150 wine_fn_config_makefile dlls
/d3d12core enable_d3d12core
21151 wine_fn_config_makefile dlls
/d3d8 enable_d3d8
21152 wine_fn_config_makefile dlls
/d3d
8/tests enable_tests
21153 wine_fn_config_makefile dlls
/d3d8thk enable_d3d8thk
21154 wine_fn_config_makefile dlls
/d3d9 enable_d3d9
21155 wine_fn_config_makefile dlls
/d3d
9/tests enable_tests
21156 wine_fn_config_makefile dlls
/d3dcompiler_33 enable_d3dcompiler_33
21157 wine_fn_config_makefile dlls
/d3dcompiler_34 enable_d3dcompiler_34
21158 wine_fn_config_makefile dlls
/d3dcompiler_35 enable_d3dcompiler_35
21159 wine_fn_config_makefile dlls
/d3dcompiler_36 enable_d3dcompiler_36
21160 wine_fn_config_makefile dlls
/d3dcompiler_37 enable_d3dcompiler_37
21161 wine_fn_config_makefile dlls
/d3dcompiler_38 enable_d3dcompiler_38
21162 wine_fn_config_makefile dlls
/d3dcompiler_39 enable_d3dcompiler_39
21163 wine_fn_config_makefile dlls
/d3dcompiler_40 enable_d3dcompiler_40
21164 wine_fn_config_makefile dlls
/d3dcompiler_41 enable_d3dcompiler_41
21165 wine_fn_config_makefile dlls
/d3dcompiler_42 enable_d3dcompiler_42
21166 wine_fn_config_makefile dlls
/d3dcompiler_43 enable_d3dcompiler_43
21167 wine_fn_config_makefile dlls
/d3dcompiler_43
/tests enable_tests
21168 wine_fn_config_makefile dlls
/d3dcompiler_46 enable_d3dcompiler_46
21169 wine_fn_config_makefile dlls
/d3dcompiler_46
/tests enable_tests
21170 wine_fn_config_makefile dlls
/d3dcompiler_47 enable_d3dcompiler_47
21171 wine_fn_config_makefile dlls
/d3dcompiler_47
/tests enable_tests
21172 wine_fn_config_makefile dlls
/d3dim enable_d3dim
21173 wine_fn_config_makefile dlls
/d3dim700 enable_d3dim700
21174 wine_fn_config_makefile dlls
/d3drm enable_d3drm
21175 wine_fn_config_makefile dlls
/d3drm
/tests enable_tests
21176 wine_fn_config_makefile dlls
/d3dx10_33 enable_d3dx10_33
21177 wine_fn_config_makefile dlls
/d3dx10_34 enable_d3dx10_34
21178 wine_fn_config_makefile dlls
/d3dx10_34
/tests enable_tests
21179 wine_fn_config_makefile dlls
/d3dx10_35 enable_d3dx10_35
21180 wine_fn_config_makefile dlls
/d3dx10_35
/tests enable_tests
21181 wine_fn_config_makefile dlls
/d3dx10_36 enable_d3dx10_36
21182 wine_fn_config_makefile dlls
/d3dx10_36
/tests enable_tests
21183 wine_fn_config_makefile dlls
/d3dx10_37 enable_d3dx10_37
21184 wine_fn_config_makefile dlls
/d3dx10_37
/tests enable_tests
21185 wine_fn_config_makefile dlls
/d3dx10_38 enable_d3dx10_38
21186 wine_fn_config_makefile dlls
/d3dx10_38
/tests enable_tests
21187 wine_fn_config_makefile dlls
/d3dx10_39 enable_d3dx10_39
21188 wine_fn_config_makefile dlls
/d3dx10_39
/tests enable_tests
21189 wine_fn_config_makefile dlls
/d3dx10_40 enable_d3dx10_40
21190 wine_fn_config_makefile dlls
/d3dx10_40
/tests enable_tests
21191 wine_fn_config_makefile dlls
/d3dx10_41 enable_d3dx10_41
21192 wine_fn_config_makefile dlls
/d3dx10_41
/tests enable_tests
21193 wine_fn_config_makefile dlls
/d3dx10_42 enable_d3dx10_42
21194 wine_fn_config_makefile dlls
/d3dx10_42
/tests enable_tests
21195 wine_fn_config_makefile dlls
/d3dx10_43 enable_d3dx10_43
21196 wine_fn_config_makefile dlls
/d3dx10_43
/tests enable_tests
21197 wine_fn_config_makefile dlls
/d3dx11_42 enable_d3dx11_42
21198 wine_fn_config_makefile dlls
/d3dx11_42
/tests enable_tests
21199 wine_fn_config_makefile dlls
/d3dx11_43 enable_d3dx11_43
21200 wine_fn_config_makefile dlls
/d3dx11_43
/tests enable_tests
21201 wine_fn_config_makefile dlls
/d3dx9_24 enable_d3dx9_24
21202 wine_fn_config_makefile dlls
/d3dx9_25 enable_d3dx9_25
21203 wine_fn_config_makefile dlls
/d3dx9_26 enable_d3dx9_26
21204 wine_fn_config_makefile dlls
/d3dx9_27 enable_d3dx9_27
21205 wine_fn_config_makefile dlls
/d3dx9_28 enable_d3dx9_28
21206 wine_fn_config_makefile dlls
/d3dx9_29 enable_d3dx9_29
21207 wine_fn_config_makefile dlls
/d3dx9_30 enable_d3dx9_30
21208 wine_fn_config_makefile dlls
/d3dx9_31 enable_d3dx9_31
21209 wine_fn_config_makefile dlls
/d3dx9_32 enable_d3dx9_32
21210 wine_fn_config_makefile dlls
/d3dx9_33 enable_d3dx9_33
21211 wine_fn_config_makefile dlls
/d3dx9_34 enable_d3dx9_34
21212 wine_fn_config_makefile dlls
/d3dx9_35 enable_d3dx9_35
21213 wine_fn_config_makefile dlls
/d3dx9_36 enable_d3dx9_36
21214 wine_fn_config_makefile dlls
/d3dx9_36
/tests enable_tests
21215 wine_fn_config_makefile dlls
/d3dx9_37 enable_d3dx9_37
21216 wine_fn_config_makefile dlls
/d3dx9_38 enable_d3dx9_38
21217 wine_fn_config_makefile dlls
/d3dx9_39 enable_d3dx9_39
21218 wine_fn_config_makefile dlls
/d3dx9_40 enable_d3dx9_40
21219 wine_fn_config_makefile dlls
/d3dx9_41 enable_d3dx9_41
21220 wine_fn_config_makefile dlls
/d3dx9_42 enable_d3dx9_42
21221 wine_fn_config_makefile dlls
/d3dx9_43 enable_d3dx9_43
21222 wine_fn_config_makefile dlls
/d3dxof enable_d3dxof
21223 wine_fn_config_makefile dlls
/d3dxof
/tests enable_tests
21224 wine_fn_config_makefile dlls
/davclnt enable_davclnt
21225 wine_fn_config_makefile dlls
/dbgeng enable_dbgeng
21226 wine_fn_config_makefile dlls
/dbgeng
/tests enable_tests
21227 wine_fn_config_makefile dlls
/dbghelp enable_dbghelp
21228 wine_fn_config_makefile dlls
/dbghelp
/tests enable_tests
21229 wine_fn_config_makefile dlls
/dciman32 enable_dciman32
21230 wine_fn_config_makefile dlls
/dcomp enable_dcomp
21231 wine_fn_config_makefile dlls
/ddeml.dll16 enable_win16
21232 wine_fn_config_makefile dlls
/ddraw enable_ddraw
21233 wine_fn_config_makefile dlls
/ddraw
/tests enable_tests
21234 wine_fn_config_makefile dlls
/ddrawex enable_ddrawex
21235 wine_fn_config_makefile dlls
/ddrawex
/tests enable_tests
21236 wine_fn_config_makefile dlls
/devenum enable_devenum
21237 wine_fn_config_makefile dlls
/devenum
/tests enable_tests
21238 wine_fn_config_makefile dlls
/dhcpcsvc enable_dhcpcsvc
21239 wine_fn_config_makefile dlls
/dhcpcsvc
/tests enable_tests
21240 wine_fn_config_makefile dlls
/dhcpcsvc6 enable_dhcpcsvc6
21241 wine_fn_config_makefile dlls
/dhtmled.ocx enable_dhtmled_ocx
21242 wine_fn_config_makefile dlls
/diasymreader enable_diasymreader
21243 wine_fn_config_makefile dlls
/difxapi enable_difxapi
21244 wine_fn_config_makefile dlls
/dinput enable_dinput
21245 wine_fn_config_makefile dlls
/dinput
/tests enable_tests
21246 wine_fn_config_makefile dlls
/dinput8 enable_dinput8
21247 wine_fn_config_makefile dlls
/directmanipulation enable_directmanipulation
21248 wine_fn_config_makefile dlls
/directmanipulation
/tests enable_tests
21249 wine_fn_config_makefile dlls
/dispdib.dll16 enable_win16
21250 wine_fn_config_makefile dlls
/dispex enable_dispex
21251 wine_fn_config_makefile dlls
/dispex
/tests enable_tests
21252 wine_fn_config_makefile dlls
/display.drv16 enable_win16
21253 wine_fn_config_makefile dlls
/dmband enable_dmband
21254 wine_fn_config_makefile dlls
/dmband
/tests enable_tests
21255 wine_fn_config_makefile dlls
/dmcompos enable_dmcompos
21256 wine_fn_config_makefile dlls
/dmcompos
/tests enable_tests
21257 wine_fn_config_makefile dlls
/dmime enable_dmime
21258 wine_fn_config_makefile dlls
/dmime
/tests enable_tests
21259 wine_fn_config_makefile dlls
/dmloader enable_dmloader
21260 wine_fn_config_makefile dlls
/dmloader
/tests enable_tests
21261 wine_fn_config_makefile dlls
/dmscript enable_dmscript
21262 wine_fn_config_makefile dlls
/dmscript
/tests enable_tests
21263 wine_fn_config_makefile dlls
/dmstyle enable_dmstyle
21264 wine_fn_config_makefile dlls
/dmstyle
/tests enable_tests
21265 wine_fn_config_makefile dlls
/dmsynth enable_dmsynth
21266 wine_fn_config_makefile dlls
/dmsynth
/tests enable_tests
21267 wine_fn_config_makefile dlls
/dmusic enable_dmusic
21268 wine_fn_config_makefile dlls
/dmusic
/tests enable_tests
21269 wine_fn_config_makefile dlls
/dmusic32 enable_dmusic32
21270 wine_fn_config_makefile dlls
/dnsapi enable_dnsapi
21271 wine_fn_config_makefile dlls
/dnsapi
/tests enable_tests
21272 wine_fn_config_makefile dlls
/dplay enable_dplay
21273 wine_fn_config_makefile dlls
/dplayx enable_dplayx
21274 wine_fn_config_makefile dlls
/dplayx
/tests enable_tests
21275 wine_fn_config_makefile dlls
/dpnaddr enable_dpnaddr
21276 wine_fn_config_makefile dlls
/dpnet enable_dpnet
21277 wine_fn_config_makefile dlls
/dpnet
/tests enable_tests
21278 wine_fn_config_makefile dlls
/dpnhpast enable_dpnhpast
21279 wine_fn_config_makefile dlls
/dpnhupnp enable_dpnhupnp
21280 wine_fn_config_makefile dlls
/dpnlobby enable_dpnlobby
21281 wine_fn_config_makefile dlls
/dpvoice enable_dpvoice
21282 wine_fn_config_makefile dlls
/dpvoice
/tests enable_tests
21283 wine_fn_config_makefile dlls
/dpwsockx enable_dpwsockx
21284 wine_fn_config_makefile dlls
/drmclien enable_drmclien
21285 wine_fn_config_makefile dlls
/dsdmo enable_dsdmo
21286 wine_fn_config_makefile dlls
/dsdmo
/tests enable_tests
21287 wine_fn_config_makefile dlls
/dsound enable_dsound
21288 wine_fn_config_makefile dlls
/dsound
/tests enable_tests
21289 wine_fn_config_makefile dlls
/dsquery enable_dsquery
21290 wine_fn_config_makefile dlls
/dssenh enable_dssenh
21291 wine_fn_config_makefile dlls
/dssenh
/tests enable_tests
21292 wine_fn_config_makefile dlls
/dsuiext enable_dsuiext
21293 wine_fn_config_makefile dlls
/dswave enable_dswave
21294 wine_fn_config_makefile dlls
/dswave
/tests enable_tests
21295 wine_fn_config_makefile dlls
/dwmapi enable_dwmapi
21296 wine_fn_config_makefile dlls
/dwmapi
/tests enable_tests
21297 wine_fn_config_makefile dlls
/dwrite enable_dwrite
21298 wine_fn_config_makefile dlls
/dwrite
/tests enable_tests
21299 wine_fn_config_makefile dlls
/dx8vb enable_dx8vb
21300 wine_fn_config_makefile dlls
/dxdiagn enable_dxdiagn
21301 wine_fn_config_makefile dlls
/dxdiagn
/tests enable_tests
21302 wine_fn_config_makefile dlls
/dxgi enable_dxgi
21303 wine_fn_config_makefile dlls
/dxgi
/tests enable_tests
21304 wine_fn_config_makefile dlls
/dxtrans enable_dxtrans
21305 wine_fn_config_makefile dlls
/dxva2 enable_dxva2
21306 wine_fn_config_makefile dlls
/dxva
2/tests enable_tests
21307 wine_fn_config_makefile dlls
/esent enable_esent
21308 wine_fn_config_makefile dlls
/evr enable_evr
21309 wine_fn_config_makefile dlls
/evr
/tests enable_tests
21310 wine_fn_config_makefile dlls
/explorerframe enable_explorerframe
21311 wine_fn_config_makefile dlls
/explorerframe
/tests enable_tests
21312 wine_fn_config_makefile dlls
/faultrep enable_faultrep
21313 wine_fn_config_makefile dlls
/faultrep
/tests enable_tests
21314 wine_fn_config_makefile dlls
/feclient enable_feclient
21315 wine_fn_config_makefile dlls
/fltlib enable_fltlib
21316 wine_fn_config_makefile dlls
/fltmgr.sys enable_fltmgr_sys
21317 wine_fn_config_makefile dlls
/fntcache enable_fntcache
21318 wine_fn_config_makefile dlls
/fontsub enable_fontsub
21319 wine_fn_config_makefile dlls
/fusion enable_fusion
21320 wine_fn_config_makefile dlls
/fusion
/tests enable_tests
21321 wine_fn_config_makefile dlls
/fwpuclnt enable_fwpuclnt
21322 wine_fn_config_makefile dlls
/gameux enable_gameux
21323 wine_fn_config_makefile dlls
/gameux
/tests enable_tests
21324 wine_fn_config_makefile dlls
/gamingtcui enable_gamingtcui
21325 wine_fn_config_makefile dlls
/gdi.exe16 enable_win16
21326 wine_fn_config_makefile dlls
/gdi32 enable_gdi32
21327 wine_fn_config_makefile dlls
/gdi32
/tests enable_tests
21328 wine_fn_config_makefile dlls
/gdiplus enable_gdiplus
21329 wine_fn_config_makefile dlls
/gdiplus
/tests enable_tests
21330 wine_fn_config_makefile dlls
/glu32 enable_glu32
21331 wine_fn_config_makefile dlls
/gphoto2.ds enable_gphoto2_ds
21332 wine_fn_config_makefile dlls
/gpkcsp enable_gpkcsp
21333 wine_fn_config_makefile dlls
/graphicscapture enable_graphicscapture
21334 wine_fn_config_makefile dlls
/graphicscapture
/tests enable_tests
21335 wine_fn_config_makefile dlls
/hal enable_hal
21336 wine_fn_config_makefile dlls
/hhctrl.ocx enable_hhctrl_ocx
21337 wine_fn_config_makefile dlls
/hid enable_hid
21338 wine_fn_config_makefile dlls
/hid
/tests enable_tests
21339 wine_fn_config_makefile dlls
/hidclass.sys enable_hidclass_sys
21340 wine_fn_config_makefile dlls
/hidparse.sys enable_hidparse_sys
21341 wine_fn_config_makefile dlls
/hlink enable_hlink
21342 wine_fn_config_makefile dlls
/hlink
/tests enable_tests
21343 wine_fn_config_makefile dlls
/hnetcfg enable_hnetcfg
21344 wine_fn_config_makefile dlls
/hnetcfg
/tests enable_tests
21345 wine_fn_config_makefile dlls
/http.sys enable_http_sys
21346 wine_fn_config_makefile dlls
/httpapi enable_httpapi
21347 wine_fn_config_makefile dlls
/httpapi
/tests enable_tests
21348 wine_fn_config_makefile dlls
/ia2comproxy enable_ia2comproxy
21349 wine_fn_config_makefile dlls
/iccvid enable_iccvid
21350 wine_fn_config_makefile dlls
/icmp enable_icmp
21351 wine_fn_config_makefile dlls
/ieframe enable_ieframe
21352 wine_fn_config_makefile dlls
/ieframe
/tests enable_tests
21353 wine_fn_config_makefile dlls
/ieproxy enable_ieproxy
21354 wine_fn_config_makefile dlls
/ifsmgr.vxd enable_win16
21355 wine_fn_config_makefile dlls
/imaadp32.acm enable_imaadp32_acm
21356 wine_fn_config_makefile dlls
/imagehlp enable_imagehlp
21357 wine_fn_config_makefile dlls
/imagehlp
/tests enable_tests
21358 wine_fn_config_makefile dlls
/imm.dll16 enable_win16
21359 wine_fn_config_makefile dlls
/imm32 enable_imm32
21360 wine_fn_config_makefile dlls
/imm32
/tests enable_tests
21361 wine_fn_config_makefile dlls
/inetcomm enable_inetcomm
21362 wine_fn_config_makefile dlls
/inetcomm
/tests enable_tests
21363 wine_fn_config_makefile dlls
/inetcpl.cpl enable_inetcpl_cpl
21364 wine_fn_config_makefile dlls
/inetmib1 enable_inetmib1
21365 wine_fn_config_makefile dlls
/inetmib
1/tests enable_tests
21366 wine_fn_config_makefile dlls
/infosoft enable_infosoft
21367 wine_fn_config_makefile dlls
/infosoft
/tests enable_tests
21368 wine_fn_config_makefile dlls
/initpki enable_initpki
21369 wine_fn_config_makefile dlls
/inkobj enable_inkobj
21370 wine_fn_config_makefile dlls
/inseng enable_inseng
21371 wine_fn_config_makefile dlls
/iphlpapi enable_iphlpapi
21372 wine_fn_config_makefile dlls
/iphlpapi
/tests enable_tests
21373 wine_fn_config_makefile dlls
/iprop enable_iprop
21374 wine_fn_config_makefile dlls
/ir50_32 enable_ir50_32
21375 wine_fn_config_makefile dlls
/irprops.cpl enable_irprops_cpl
21376 wine_fn_config_makefile dlls
/itircl enable_itircl
21377 wine_fn_config_makefile dlls
/itss enable_itss
21378 wine_fn_config_makefile dlls
/itss
/tests enable_tests
21379 wine_fn_config_makefile dlls
/joy.cpl enable_joy_cpl
21380 wine_fn_config_makefile dlls
/jscript enable_jscript
21381 wine_fn_config_makefile dlls
/jscript
/tests enable_tests
21382 wine_fn_config_makefile dlls
/jsproxy enable_jsproxy
21383 wine_fn_config_makefile dlls
/jsproxy
/tests enable_tests
21384 wine_fn_config_makefile dlls
/kerberos enable_kerberos
21385 wine_fn_config_makefile dlls
/kernel32 enable_kernel32
21386 wine_fn_config_makefile dlls
/kernel32
/tests enable_tests
21387 wine_fn_config_makefile dlls
/kernelbase enable_kernelbase
21388 wine_fn_config_makefile dlls
/kernelbase
/tests enable_tests
21389 wine_fn_config_makefile dlls
/keyboard.drv16 enable_win16
21390 wine_fn_config_makefile dlls
/krnl386.exe16 enable_win16
21391 wine_fn_config_makefile dlls
/ksecdd.sys enable_ksecdd_sys
21392 wine_fn_config_makefile dlls
/ksproxy.ax enable_ksproxy_ax
21393 wine_fn_config_makefile dlls
/ksuser enable_ksuser
21394 wine_fn_config_makefile dlls
/ktmw32 enable_ktmw32
21395 wine_fn_config_makefile dlls
/l3codeca.acm enable_l3codeca_acm
21396 wine_fn_config_makefile dlls
/light.msstyles enable_light_msstyles
21397 wine_fn_config_makefile dlls
/loadperf enable_loadperf
21398 wine_fn_config_makefile dlls
/localspl enable_localspl
21399 wine_fn_config_makefile dlls
/localspl
/tests enable_tests
21400 wine_fn_config_makefile dlls
/localui enable_localui
21401 wine_fn_config_makefile dlls
/localui
/tests enable_tests
21402 wine_fn_config_makefile dlls
/lz32 enable_lz32
21403 wine_fn_config_makefile dlls
/lz32
/tests enable_tests
21404 wine_fn_config_makefile dlls
/lzexpand.dll16 enable_win16
21405 wine_fn_config_makefile dlls
/mapi32 enable_mapi32
21406 wine_fn_config_makefile dlls
/mapi32
/tests enable_tests
21407 wine_fn_config_makefile dlls
/mapistub enable_mapistub
21408 wine_fn_config_makefile dlls
/mciavi32 enable_mciavi32
21409 wine_fn_config_makefile dlls
/mcicda enable_mcicda
21410 wine_fn_config_makefile dlls
/mciqtz32 enable_mciqtz32
21411 wine_fn_config_makefile dlls
/mciseq enable_mciseq
21412 wine_fn_config_makefile dlls
/mciwave enable_mciwave
21413 wine_fn_config_makefile dlls
/mf enable_mf
21414 wine_fn_config_makefile dlls
/mf
/tests enable_tests
21415 wine_fn_config_makefile dlls
/mf3216 enable_mf3216
21416 wine_fn_config_makefile dlls
/mferror enable_mferror
21417 wine_fn_config_makefile dlls
/mfmediaengine enable_mfmediaengine
21418 wine_fn_config_makefile dlls
/mfmediaengine
/tests enable_tests
21419 wine_fn_config_makefile dlls
/mfplat enable_mfplat
21420 wine_fn_config_makefile dlls
/mfplat
/tests enable_tests
21421 wine_fn_config_makefile dlls
/mfplay enable_mfplay
21422 wine_fn_config_makefile dlls
/mfplay
/tests enable_tests
21423 wine_fn_config_makefile dlls
/mfreadwrite enable_mfreadwrite
21424 wine_fn_config_makefile dlls
/mfreadwrite
/tests enable_tests
21425 wine_fn_config_makefile dlls
/mfsrcsnk enable_mfsrcsnk
21426 wine_fn_config_makefile dlls
/mfsrcsnk
/tests enable_tests
21427 wine_fn_config_makefile dlls
/mgmtapi enable_mgmtapi
21428 wine_fn_config_makefile dlls
/midimap enable_midimap
21429 wine_fn_config_makefile dlls
/mlang enable_mlang
21430 wine_fn_config_makefile dlls
/mlang
/tests enable_tests
21431 wine_fn_config_makefile dlls
/mmcndmgr enable_mmcndmgr
21432 wine_fn_config_makefile dlls
/mmcndmgr
/tests enable_tests
21433 wine_fn_config_makefile dlls
/mmdevapi enable_mmdevapi
21434 wine_fn_config_makefile dlls
/mmdevapi
/tests enable_tests
21435 wine_fn_config_makefile dlls
/mmdevldr.vxd enable_win16
21436 wine_fn_config_makefile dlls
/mmsystem.dll16 enable_win16
21437 wine_fn_config_makefile dlls
/monodebg.vxd enable_win16
21438 wine_fn_config_makefile dlls
/mountmgr.sys enable_mountmgr_sys
21439 wine_fn_config_makefile dlls
/mouse.drv16 enable_win16
21440 wine_fn_config_makefile dlls
/mp3dmod enable_mp3dmod
21441 wine_fn_config_makefile dlls
/mp3dmod
/tests enable_tests
21442 wine_fn_config_makefile dlls
/mpr enable_mpr
21443 wine_fn_config_makefile dlls
/mpr
/tests enable_tests
21444 wine_fn_config_makefile dlls
/mprapi enable_mprapi
21445 wine_fn_config_makefile dlls
/msacm.dll16 enable_win16
21446 wine_fn_config_makefile dlls
/msacm32.drv enable_msacm32_drv
21447 wine_fn_config_makefile dlls
/msacm32 enable_msacm32
21448 wine_fn_config_makefile dlls
/msacm32
/tests enable_tests
21449 wine_fn_config_makefile dlls
/msado15 enable_msado15
21450 wine_fn_config_makefile dlls
/msado15
/tests enable_tests
21451 wine_fn_config_makefile dlls
/msadp32.acm enable_msadp32_acm
21452 wine_fn_config_makefile dlls
/msasn1 enable_msasn1
21453 wine_fn_config_makefile dlls
/msasn
1/tests enable_tests
21454 wine_fn_config_makefile dlls
/msauddecmft enable_msauddecmft
21455 wine_fn_config_makefile dlls
/mscat32 enable_mscat32
21456 wine_fn_config_makefile dlls
/mscms enable_mscms
21457 wine_fn_config_makefile dlls
/mscms
/tests enable_tests
21458 wine_fn_config_makefile dlls
/mscoree enable_mscoree
21459 wine_fn_config_makefile dlls
/mscoree
/tests enable_tests
21460 wine_fn_config_makefile dlls
/mscorwks enable_mscorwks
21461 wine_fn_config_makefile dlls
/msctf enable_msctf
21462 wine_fn_config_makefile dlls
/msctf
/tests enable_tests
21463 wine_fn_config_makefile dlls
/msctfmonitor enable_msctfmonitor
21464 wine_fn_config_makefile dlls
/msctfp enable_msctfp
21465 wine_fn_config_makefile dlls
/msdaps enable_msdaps
21466 wine_fn_config_makefile dlls
/msdasql enable_msdasql
21467 wine_fn_config_makefile dlls
/msdasql
/tests enable_tests
21468 wine_fn_config_makefile dlls
/msdelta enable_msdelta
21469 wine_fn_config_makefile dlls
/msdmo enable_msdmo
21470 wine_fn_config_makefile dlls
/msdmo
/tests enable_tests
21471 wine_fn_config_makefile dlls
/msdrm enable_msdrm
21472 wine_fn_config_makefile dlls
/msftedit enable_msftedit
21473 wine_fn_config_makefile dlls
/msftedit
/tests enable_tests
21474 wine_fn_config_makefile dlls
/msg711.acm enable_msg711_acm
21475 wine_fn_config_makefile dlls
/msgsm32.acm enable_msgsm32_acm
21476 wine_fn_config_makefile dlls
/mshtml.tlb enable_mshtml_tlb
21477 wine_fn_config_makefile dlls
/mshtml enable_mshtml
21478 wine_fn_config_makefile dlls
/mshtml
/tests enable_tests
21479 wine_fn_config_makefile dlls
/msi enable_msi
21480 wine_fn_config_makefile dlls
/msi
/tests enable_tests
21481 wine_fn_config_makefile dlls
/msident enable_msident
21482 wine_fn_config_makefile dlls
/msimg32 enable_msimg32
21483 wine_fn_config_makefile dlls
/msimsg enable_msimsg
21484 wine_fn_config_makefile dlls
/msimtf enable_msimtf
21485 wine_fn_config_makefile dlls
/msisip enable_msisip
21486 wine_fn_config_makefile dlls
/msisys.ocx enable_msisys_ocx
21487 wine_fn_config_makefile dlls
/msls31 enable_msls31
21488 wine_fn_config_makefile dlls
/msmpeg2vdec enable_msmpeg2vdec
21489 wine_fn_config_makefile dlls
/msnet32 enable_msnet32
21490 wine_fn_config_makefile dlls
/mspatcha enable_mspatcha
21491 wine_fn_config_makefile dlls
/mspatcha
/tests enable_tests
21492 wine_fn_config_makefile dlls
/msports enable_msports
21493 wine_fn_config_makefile dlls
/msrle32 enable_msrle32
21494 wine_fn_config_makefile dlls
/msrle32
/tests enable_tests
21495 wine_fn_config_makefile dlls
/msscript.ocx enable_msscript_ocx
21496 wine_fn_config_makefile dlls
/msscript.ocx
/tests enable_tests
21497 wine_fn_config_makefile dlls
/mssign32 enable_mssign32
21498 wine_fn_config_makefile dlls
/mssip32 enable_mssip32
21499 wine_fn_config_makefile dlls
/mstask enable_mstask
21500 wine_fn_config_makefile dlls
/mstask
/tests enable_tests
21501 wine_fn_config_makefile dlls
/msv1_0 enable_msv1_0
21502 wine_fn_config_makefile dlls
/msvcirt enable_msvcirt
21503 wine_fn_config_makefile dlls
/msvcirt
/tests enable_tests
21504 wine_fn_config_makefile dlls
/msvcm80 enable_msvcm80
21505 wine_fn_config_makefile dlls
/msvcm90 enable_msvcm90
21506 wine_fn_config_makefile dlls
/msvcp100 enable_msvcp100
21507 wine_fn_config_makefile dlls
/msvcp100
/tests enable_tests
21508 wine_fn_config_makefile dlls
/msvcp110 enable_msvcp110
21509 wine_fn_config_makefile dlls
/msvcp110
/tests enable_tests
21510 wine_fn_config_makefile dlls
/msvcp120 enable_msvcp120
21511 wine_fn_config_makefile dlls
/msvcp120
/tests enable_tests
21512 wine_fn_config_makefile dlls
/msvcp120_app enable_msvcp120_app
21513 wine_fn_config_makefile dlls
/msvcp140 enable_msvcp140
21514 wine_fn_config_makefile dlls
/msvcp140
/tests enable_tests
21515 wine_fn_config_makefile dlls
/msvcp140_1 enable_msvcp140_1
21516 wine_fn_config_makefile dlls
/msvcp140_
1/tests enable_tests
21517 wine_fn_config_makefile dlls
/msvcp140_2 enable_msvcp140_2
21518 wine_fn_config_makefile dlls
/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21519 wine_fn_config_makefile dlls
/msvcp140_atomic_wait
/tests enable_tests
21520 wine_fn_config_makefile dlls
/msvcp60 enable_msvcp60
21521 wine_fn_config_makefile dlls
/msvcp60
/tests enable_tests
21522 wine_fn_config_makefile dlls
/msvcp70 enable_msvcp70
21523 wine_fn_config_makefile dlls
/msvcp71 enable_msvcp71
21524 wine_fn_config_makefile dlls
/msvcp80 enable_msvcp80
21525 wine_fn_config_makefile dlls
/msvcp90 enable_msvcp90
21526 wine_fn_config_makefile dlls
/msvcp90
/tests enable_tests
21527 wine_fn_config_makefile dlls
/msvcp_win enable_msvcp_win
21528 wine_fn_config_makefile dlls
/msvcr100 enable_msvcr100
21529 wine_fn_config_makefile dlls
/msvcr100
/tests enable_tests
21530 wine_fn_config_makefile dlls
/msvcr110 enable_msvcr110
21531 wine_fn_config_makefile dlls
/msvcr110
/tests enable_tests
21532 wine_fn_config_makefile dlls
/msvcr120 enable_msvcr120
21533 wine_fn_config_makefile dlls
/msvcr120
/tests enable_tests
21534 wine_fn_config_makefile dlls
/msvcr120_app enable_msvcr120_app
21535 wine_fn_config_makefile dlls
/msvcr70 enable_msvcr70
21536 wine_fn_config_makefile dlls
/msvcr70
/tests enable_tests
21537 wine_fn_config_makefile dlls
/msvcr71 enable_msvcr71
21538 wine_fn_config_makefile dlls
/msvcr71
/tests enable_tests
21539 wine_fn_config_makefile dlls
/msvcr80 enable_msvcr80
21540 wine_fn_config_makefile dlls
/msvcr80
/tests enable_tests
21541 wine_fn_config_makefile dlls
/msvcr90 enable_msvcr90
21542 wine_fn_config_makefile dlls
/msvcr90
/tests enable_tests
21543 wine_fn_config_makefile dlls
/msvcrt enable_msvcrt
21544 wine_fn_config_makefile dlls
/msvcrt
/tests enable_tests
21545 wine_fn_config_makefile dlls
/msvcrt20 enable_msvcrt20
21546 wine_fn_config_makefile dlls
/msvcrt40 enable_msvcrt40
21547 wine_fn_config_makefile dlls
/msvcrtd enable_msvcrtd
21548 wine_fn_config_makefile dlls
/msvcrtd
/tests enable_tests
21549 wine_fn_config_makefile dlls
/msvfw32 enable_msvfw32
21550 wine_fn_config_makefile dlls
/msvfw32
/tests enable_tests
21551 wine_fn_config_makefile dlls
/msvidc32 enable_msvidc32
21552 wine_fn_config_makefile dlls
/msvideo.dll16 enable_win16
21553 wine_fn_config_makefile dlls
/mswsock enable_mswsock
21554 wine_fn_config_makefile dlls
/msxml enable_msxml
21555 wine_fn_config_makefile dlls
/msxml2 enable_msxml2
21556 wine_fn_config_makefile dlls
/msxml3 enable_msxml3
21557 wine_fn_config_makefile dlls
/msxml
3/tests enable_tests
21558 wine_fn_config_makefile dlls
/msxml4 enable_msxml4
21559 wine_fn_config_makefile dlls
/msxml6 enable_msxml6
21560 wine_fn_config_makefile dlls
/mtxdm enable_mtxdm
21561 wine_fn_config_makefile dlls
/ncrypt enable_ncrypt
21562 wine_fn_config_makefile dlls
/ncrypt
/tests enable_tests
21563 wine_fn_config_makefile dlls
/nddeapi enable_nddeapi
21564 wine_fn_config_makefile dlls
/ndis.sys enable_ndis_sys
21565 wine_fn_config_makefile dlls
/ndis.sys
/tests enable_tests
21566 wine_fn_config_makefile dlls
/netapi32 enable_netapi32
21567 wine_fn_config_makefile dlls
/netapi32
/tests enable_tests
21568 wine_fn_config_makefile dlls
/netcfgx enable_netcfgx
21569 wine_fn_config_makefile dlls
/netcfgx
/tests enable_tests
21570 wine_fn_config_makefile dlls
/netio.sys enable_netio_sys
21571 wine_fn_config_makefile dlls
/netprofm enable_netprofm
21572 wine_fn_config_makefile dlls
/netprofm
/tests enable_tests
21573 wine_fn_config_makefile dlls
/netutils enable_netutils
21574 wine_fn_config_makefile dlls
/newdev enable_newdev
21575 wine_fn_config_makefile dlls
/ninput enable_ninput
21576 wine_fn_config_makefile dlls
/ninput
/tests enable_tests
21577 wine_fn_config_makefile dlls
/normaliz enable_normaliz
21578 wine_fn_config_makefile dlls
/npmshtml enable_npmshtml
21579 wine_fn_config_makefile dlls
/npptools enable_npptools
21580 wine_fn_config_makefile dlls
/nsi enable_nsi
21581 wine_fn_config_makefile dlls
/nsi
/tests enable_tests
21582 wine_fn_config_makefile dlls
/nsiproxy.sys enable_nsiproxy_sys
21583 wine_fn_config_makefile dlls
/ntdll enable_ntdll
21584 wine_fn_config_makefile dlls
/ntdll
/tests enable_tests
21585 wine_fn_config_makefile dlls
/ntdsapi enable_ntdsapi
21586 wine_fn_config_makefile dlls
/ntdsapi
/tests enable_tests
21587 wine_fn_config_makefile dlls
/ntoskrnl.exe enable_ntoskrnl_exe
21588 wine_fn_config_makefile dlls
/ntoskrnl.exe
/tests enable_tests
21589 wine_fn_config_makefile dlls
/ntprint enable_ntprint
21590 wine_fn_config_makefile dlls
/ntprint
/tests enable_tests
21591 wine_fn_config_makefile dlls
/objsel enable_objsel
21592 wine_fn_config_makefile dlls
/odbc32 enable_odbc32
21593 wine_fn_config_makefile dlls
/odbcbcp enable_odbcbcp
21594 wine_fn_config_makefile dlls
/odbccp32 enable_odbccp32
21595 wine_fn_config_makefile dlls
/odbccp32
/tests enable_tests
21596 wine_fn_config_makefile dlls
/odbccu32 enable_odbccu32
21597 wine_fn_config_makefile dlls
/ole2.dll16 enable_win16
21598 wine_fn_config_makefile dlls
/ole2conv.dll16 enable_win16
21599 wine_fn_config_makefile dlls
/ole2disp.dll16 enable_win16
21600 wine_fn_config_makefile dlls
/ole2nls.dll16 enable_win16
21601 wine_fn_config_makefile dlls
/ole2prox.dll16 enable_win16
21602 wine_fn_config_makefile dlls
/ole2thk.dll16 enable_win16
21603 wine_fn_config_makefile dlls
/ole32 enable_ole32
21604 wine_fn_config_makefile dlls
/ole32
/tests enable_tests
21605 wine_fn_config_makefile dlls
/oleacc enable_oleacc
21606 wine_fn_config_makefile dlls
/oleacc
/tests enable_tests
21607 wine_fn_config_makefile dlls
/oleaut32 enable_oleaut32
21608 wine_fn_config_makefile dlls
/oleaut32
/tests enable_tests
21609 wine_fn_config_makefile dlls
/olecli.dll16 enable_win16
21610 wine_fn_config_makefile dlls
/olecli32 enable_olecli32
21611 wine_fn_config_makefile dlls
/oledb32 enable_oledb32
21612 wine_fn_config_makefile dlls
/oledb32
/tests enable_tests
21613 wine_fn_config_makefile dlls
/oledlg enable_oledlg
21614 wine_fn_config_makefile dlls
/oledlg
/tests enable_tests
21615 wine_fn_config_makefile dlls
/olepro32 enable_olepro32
21616 wine_fn_config_makefile dlls
/olesvr.dll16 enable_win16
21617 wine_fn_config_makefile dlls
/olesvr32 enable_olesvr32
21618 wine_fn_config_makefile dlls
/olethk32 enable_olethk32
21619 wine_fn_config_makefile dlls
/opcservices enable_opcservices
21620 wine_fn_config_makefile dlls
/opcservices
/tests enable_tests
21621 wine_fn_config_makefile dlls
/opencl enable_opencl
21622 wine_fn_config_makefile dlls
/opengl32 enable_opengl32
21623 wine_fn_config_makefile dlls
/opengl32
/tests enable_tests
21624 wine_fn_config_makefile dlls
/packager enable_packager
21625 wine_fn_config_makefile dlls
/packager
/tests enable_tests
21626 wine_fn_config_makefile dlls
/pdh enable_pdh
21627 wine_fn_config_makefile dlls
/pdh
/tests enable_tests
21628 wine_fn_config_makefile dlls
/photometadatahandler enable_photometadatahandler
21629 wine_fn_config_makefile dlls
/pidgen enable_pidgen
21630 wine_fn_config_makefile dlls
/powrprof enable_powrprof
21631 wine_fn_config_makefile dlls
/printui enable_printui
21632 wine_fn_config_makefile dlls
/prntvpt enable_prntvpt
21633 wine_fn_config_makefile dlls
/prntvpt
/tests enable_tests
21634 wine_fn_config_makefile dlls
/propsys enable_propsys
21635 wine_fn_config_makefile dlls
/propsys
/tests enable_tests
21636 wine_fn_config_makefile dlls
/psapi enable_psapi
21637 wine_fn_config_makefile dlls
/psapi
/tests enable_tests
21638 wine_fn_config_makefile dlls
/pstorec enable_pstorec
21639 wine_fn_config_makefile dlls
/pstorec
/tests enable_tests
21640 wine_fn_config_makefile dlls
/pwrshplugin enable_pwrshplugin
21641 wine_fn_config_makefile dlls
/qasf enable_qasf
21642 wine_fn_config_makefile dlls
/qasf
/tests enable_tests
21643 wine_fn_config_makefile dlls
/qcap enable_qcap
21644 wine_fn_config_makefile dlls
/qcap
/tests enable_tests
21645 wine_fn_config_makefile dlls
/qdvd enable_qdvd
21646 wine_fn_config_makefile dlls
/qdvd
/tests enable_tests
21647 wine_fn_config_makefile dlls
/qedit enable_qedit
21648 wine_fn_config_makefile dlls
/qedit
/tests enable_tests
21649 wine_fn_config_makefile dlls
/qmgr enable_qmgr
21650 wine_fn_config_makefile dlls
/qmgr
/tests enable_tests
21651 wine_fn_config_makefile dlls
/qmgrprxy enable_qmgrprxy
21652 wine_fn_config_makefile dlls
/quartz enable_quartz
21653 wine_fn_config_makefile dlls
/quartz
/tests enable_tests
21654 wine_fn_config_makefile dlls
/query enable_query
21655 wine_fn_config_makefile dlls
/qwave enable_qwave
21656 wine_fn_config_makefile dlls
/qwave
/tests enable_tests
21657 wine_fn_config_makefile dlls
/rasapi16.dll16 enable_win16
21658 wine_fn_config_makefile dlls
/rasapi32 enable_rasapi32
21659 wine_fn_config_makefile dlls
/rasapi32
/tests enable_tests
21660 wine_fn_config_makefile dlls
/rasdlg enable_rasdlg
21661 wine_fn_config_makefile dlls
/regapi enable_regapi
21662 wine_fn_config_makefile dlls
/resutils enable_resutils
21663 wine_fn_config_makefile dlls
/riched20 enable_riched20
21664 wine_fn_config_makefile dlls
/riched20
/tests enable_tests
21665 wine_fn_config_makefile dlls
/riched32 enable_riched32
21666 wine_fn_config_makefile dlls
/riched32
/tests enable_tests
21667 wine_fn_config_makefile dlls
/rpcrt4 enable_rpcrt4
21668 wine_fn_config_makefile dlls
/rpcrt
4/tests enable_tests
21669 wine_fn_config_makefile dlls
/rsabase enable_rsabase
21670 wine_fn_config_makefile dlls
/rsaenh enable_rsaenh
21671 wine_fn_config_makefile dlls
/rsaenh
/tests enable_tests
21672 wine_fn_config_makefile dlls
/rstrtmgr enable_rstrtmgr
21673 wine_fn_config_makefile dlls
/rtutils enable_rtutils
21674 wine_fn_config_makefile dlls
/rtworkq enable_rtworkq
21675 wine_fn_config_makefile dlls
/rtworkq
/tests enable_tests
21676 wine_fn_config_makefile dlls
/samlib enable_samlib
21677 wine_fn_config_makefile dlls
/sane.ds enable_sane_ds
21678 wine_fn_config_makefile dlls
/sapi enable_sapi
21679 wine_fn_config_makefile dlls
/sapi
/tests enable_tests
21680 wine_fn_config_makefile dlls
/sas enable_sas
21681 wine_fn_config_makefile dlls
/scarddlg enable_scarddlg
21682 wine_fn_config_makefile dlls
/scardsvr enable_scardsvr
21683 wine_fn_config_makefile dlls
/sccbase enable_sccbase
21684 wine_fn_config_makefile dlls
/schannel enable_schannel
21685 wine_fn_config_makefile dlls
/schannel
/tests enable_tests
21686 wine_fn_config_makefile dlls
/schedsvc enable_schedsvc
21687 wine_fn_config_makefile dlls
/schedsvc
/tests enable_tests
21688 wine_fn_config_makefile dlls
/scrobj enable_scrobj
21689 wine_fn_config_makefile dlls
/scrobj
/tests enable_tests
21690 wine_fn_config_makefile dlls
/scrrun enable_scrrun
21691 wine_fn_config_makefile dlls
/scrrun
/tests enable_tests
21692 wine_fn_config_makefile dlls
/scsiport.sys enable_scsiport_sys
21693 wine_fn_config_makefile dlls
/sechost enable_sechost
21694 wine_fn_config_makefile dlls
/secur32 enable_secur32
21695 wine_fn_config_makefile dlls
/secur32
/tests enable_tests
21696 wine_fn_config_makefile dlls
/security enable_security
21697 wine_fn_config_makefile dlls
/sensapi enable_sensapi
21698 wine_fn_config_makefile dlls
/serialui enable_serialui
21699 wine_fn_config_makefile dlls
/serialui
/tests enable_tests
21700 wine_fn_config_makefile dlls
/setupapi enable_setupapi
21701 wine_fn_config_makefile dlls
/setupapi
/tests enable_tests
21702 wine_fn_config_makefile dlls
/setupx.dll16 enable_win16
21703 wine_fn_config_makefile dlls
/sfc enable_sfc
21704 wine_fn_config_makefile dlls
/sfc_os enable_sfc_os
21705 wine_fn_config_makefile dlls
/shcore enable_shcore
21706 wine_fn_config_makefile dlls
/shcore
/tests enable_tests
21707 wine_fn_config_makefile dlls
/shdoclc enable_shdoclc
21708 wine_fn_config_makefile dlls
/shdocvw enable_shdocvw
21709 wine_fn_config_makefile dlls
/shdocvw
/tests enable_tests
21710 wine_fn_config_makefile dlls
/shell.dll16 enable_win16
21711 wine_fn_config_makefile dlls
/shell32 enable_shell32
21712 wine_fn_config_makefile dlls
/shell32
/tests enable_tests
21713 wine_fn_config_makefile dlls
/shfolder enable_shfolder
21714 wine_fn_config_makefile dlls
/shlwapi enable_shlwapi
21715 wine_fn_config_makefile dlls
/shlwapi
/tests enable_tests
21716 wine_fn_config_makefile dlls
/slbcsp enable_slbcsp
21717 wine_fn_config_makefile dlls
/slc enable_slc
21718 wine_fn_config_makefile dlls
/slc
/tests enable_tests
21719 wine_fn_config_makefile dlls
/snmpapi enable_snmpapi
21720 wine_fn_config_makefile dlls
/snmpapi
/tests enable_tests
21721 wine_fn_config_makefile dlls
/softpub enable_softpub
21722 wine_fn_config_makefile dlls
/sound.drv16 enable_win16
21723 wine_fn_config_makefile dlls
/spoolss enable_spoolss
21724 wine_fn_config_makefile dlls
/spoolss
/tests enable_tests
21725 wine_fn_config_makefile dlls
/sppc enable_sppc
21726 wine_fn_config_makefile dlls
/srclient enable_srclient
21727 wine_fn_config_makefile dlls
/srvcli enable_srvcli
21728 wine_fn_config_makefile dlls
/sspicli enable_sspicli
21729 wine_fn_config_makefile dlls
/stdole2.tlb enable_stdole2_tlb
21730 wine_fn_config_makefile dlls
/stdole32.tlb enable_stdole32_tlb
21731 wine_fn_config_makefile dlls
/sti enable_sti
21732 wine_fn_config_makefile dlls
/sti
/tests enable_tests
21733 wine_fn_config_makefile dlls
/storage.dll16 enable_win16
21734 wine_fn_config_makefile dlls
/stress.dll16 enable_win16
21735 wine_fn_config_makefile dlls
/strmdll enable_strmdll
21736 wine_fn_config_makefile dlls
/svrapi enable_svrapi
21737 wine_fn_config_makefile dlls
/sxs enable_sxs
21738 wine_fn_config_makefile dlls
/sxs
/tests enable_tests
21739 wine_fn_config_makefile dlls
/system.drv16 enable_win16
21740 wine_fn_config_makefile dlls
/t2embed enable_t2embed
21741 wine_fn_config_makefile dlls
/t2embed
/tests enable_tests
21742 wine_fn_config_makefile dlls
/tapi32 enable_tapi32
21743 wine_fn_config_makefile dlls
/tapi32
/tests enable_tests
21744 wine_fn_config_makefile dlls
/taskschd enable_taskschd
21745 wine_fn_config_makefile dlls
/taskschd
/tests enable_tests
21746 wine_fn_config_makefile dlls
/tbs enable_tbs
21747 wine_fn_config_makefile dlls
/tdh enable_tdh
21748 wine_fn_config_makefile dlls
/tdi.sys enable_tdi_sys
21749 wine_fn_config_makefile dlls
/threadpoolwinrt enable_threadpoolwinrt
21750 wine_fn_config_makefile dlls
/threadpoolwinrt
/tests enable_tests
21751 wine_fn_config_makefile dlls
/toolhelp.dll16 enable_win16
21752 wine_fn_config_makefile dlls
/traffic enable_traffic
21753 wine_fn_config_makefile dlls
/twain.dll16 enable_win16
21754 wine_fn_config_makefile dlls
/twain_32 enable_twain_32
21755 wine_fn_config_makefile dlls
/twain_32
/tests enable_tests
21756 wine_fn_config_makefile dlls
/typelib.dll16 enable_win16
21757 wine_fn_config_makefile dlls
/tzres enable_tzres
21758 wine_fn_config_makefile dlls
/ucrtbase enable_ucrtbase
21759 wine_fn_config_makefile dlls
/ucrtbase
/tests enable_tests
21760 wine_fn_config_makefile dlls
/uianimation enable_uianimation
21761 wine_fn_config_makefile dlls
/uianimation
/tests enable_tests
21762 wine_fn_config_makefile dlls
/uiautomationcore enable_uiautomationcore
21763 wine_fn_config_makefile dlls
/uiautomationcore
/tests enable_tests
21764 wine_fn_config_makefile dlls
/uiribbon enable_uiribbon
21765 wine_fn_config_makefile dlls
/unicows enable_unicows
21766 wine_fn_config_makefile dlls
/updspapi enable_updspapi
21767 wine_fn_config_makefile dlls
/url enable_url
21768 wine_fn_config_makefile dlls
/urlmon enable_urlmon
21769 wine_fn_config_makefile dlls
/urlmon
/tests enable_tests
21770 wine_fn_config_makefile dlls
/usbd.sys enable_usbd_sys
21771 wine_fn_config_makefile dlls
/user.exe16 enable_win16
21772 wine_fn_config_makefile dlls
/user32 enable_user32
21773 wine_fn_config_makefile dlls
/user32
/tests enable_tests
21774 wine_fn_config_makefile dlls
/userenv enable_userenv
21775 wine_fn_config_makefile dlls
/userenv
/tests enable_tests
21776 wine_fn_config_makefile dlls
/usp10 enable_usp10
21777 wine_fn_config_makefile dlls
/usp10
/tests enable_tests
21778 wine_fn_config_makefile dlls
/utildll enable_utildll
21779 wine_fn_config_makefile dlls
/uxtheme enable_uxtheme
21780 wine_fn_config_makefile dlls
/uxtheme
/tests enable_tests
21781 wine_fn_config_makefile dlls
/vbscript enable_vbscript
21782 wine_fn_config_makefile dlls
/vbscript
/tests enable_tests
21783 wine_fn_config_makefile dlls
/vcomp enable_vcomp
21784 wine_fn_config_makefile dlls
/vcomp
/tests enable_tests
21785 wine_fn_config_makefile dlls
/vcomp100 enable_vcomp100
21786 wine_fn_config_makefile dlls
/vcomp110 enable_vcomp110
21787 wine_fn_config_makefile dlls
/vcomp110
/tests enable_tests
21788 wine_fn_config_makefile dlls
/vcomp120 enable_vcomp120
21789 wine_fn_config_makefile dlls
/vcomp140 enable_vcomp140
21790 wine_fn_config_makefile dlls
/vcomp90 enable_vcomp90
21791 wine_fn_config_makefile dlls
/vcruntime140 enable_vcruntime140
21792 wine_fn_config_makefile dlls
/vcruntime140_1 enable_vcruntime140_1
21793 wine_fn_config_makefile dlls
/vdhcp.vxd enable_win16
21794 wine_fn_config_makefile dlls
/vdmdbg enable_vdmdbg
21795 wine_fn_config_makefile dlls
/ver.dll16 enable_win16
21796 wine_fn_config_makefile dlls
/version enable_version
21797 wine_fn_config_makefile dlls
/version
/tests enable_tests
21798 wine_fn_config_makefile dlls
/vga enable_vga
21799 wine_fn_config_makefile dlls
/virtdisk enable_virtdisk
21800 wine_fn_config_makefile dlls
/virtdisk
/tests enable_tests
21801 wine_fn_config_makefile dlls
/vmm.vxd enable_win16
21802 wine_fn_config_makefile dlls
/vnbt.vxd enable_win16
21803 wine_fn_config_makefile dlls
/vnetbios.vxd enable_win16
21804 wine_fn_config_makefile dlls
/vssapi enable_vssapi
21805 wine_fn_config_makefile dlls
/vtdapi.vxd enable_win16
21806 wine_fn_config_makefile dlls
/vulkan-1 enable_vulkan_1
21807 wine_fn_config_makefile dlls
/vulkan-
1/tests enable_tests
21808 wine_fn_config_makefile dlls
/vwin32.vxd enable_win16
21809 wine_fn_config_makefile dlls
/w32skrnl enable_win16
21810 wine_fn_config_makefile dlls
/w32sys.dll16 enable_win16
21811 wine_fn_config_makefile dlls
/wbemdisp enable_wbemdisp
21812 wine_fn_config_makefile dlls
/wbemdisp
/tests enable_tests
21813 wine_fn_config_makefile dlls
/wbemprox enable_wbemprox
21814 wine_fn_config_makefile dlls
/wbemprox
/tests enable_tests
21815 wine_fn_config_makefile dlls
/wdscore enable_wdscore
21816 wine_fn_config_makefile dlls
/webservices enable_webservices
21817 wine_fn_config_makefile dlls
/webservices
/tests enable_tests
21818 wine_fn_config_makefile dlls
/websocket enable_websocket
21819 wine_fn_config_makefile dlls
/wer enable_wer
21820 wine_fn_config_makefile dlls
/wer
/tests enable_tests
21821 wine_fn_config_makefile dlls
/wevtapi enable_wevtapi
21822 wine_fn_config_makefile dlls
/wevtapi
/tests enable_tests
21823 wine_fn_config_makefile dlls
/wevtsvc enable_wevtsvc
21824 wine_fn_config_makefile dlls
/wiaservc enable_wiaservc
21825 wine_fn_config_makefile dlls
/wiaservc
/tests enable_tests
21826 wine_fn_config_makefile dlls
/wimgapi enable_wimgapi
21827 wine_fn_config_makefile dlls
/win32s16.dll16 enable_win16
21828 wine_fn_config_makefile dlls
/win32u enable_win32u
21829 wine_fn_config_makefile dlls
/win32u
/tests enable_tests
21830 wine_fn_config_makefile dlls
/win87em.dll16 enable_win16
21831 wine_fn_config_makefile dlls
/winaspi.dll16 enable_win16
21832 wine_fn_config_makefile dlls
/windebug.dll16 enable_win16
21833 wine_fn_config_makefile dlls
/windows.devices.enumeration enable_windows_devices_enumeration
21834 wine_fn_config_makefile dlls
/windows.devices.enumeration
/tests enable_tests
21835 wine_fn_config_makefile dlls
/windows.gaming.input enable_windows_gaming_input
21836 wine_fn_config_makefile dlls
/windows.gaming.input
/tests enable_tests
21837 wine_fn_config_makefile dlls
/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
21838 wine_fn_config_makefile dlls
/windows.gaming.ui.gamebar
/tests enable_tests
21839 wine_fn_config_makefile dlls
/windows.globalization enable_windows_globalization
21840 wine_fn_config_makefile dlls
/windows.globalization
/tests enable_tests
21841 wine_fn_config_makefile dlls
/windows.media.devices enable_windows_media_devices
21842 wine_fn_config_makefile dlls
/windows.media.devices
/tests enable_tests
21843 wine_fn_config_makefile dlls
/windows.media.speech enable_windows_media_speech
21844 wine_fn_config_makefile dlls
/windows.media.speech
/tests enable_tests
21845 wine_fn_config_makefile dlls
/windows.media enable_windows_media
21846 wine_fn_config_makefile dlls
/windows.media
/tests enable_tests
21847 wine_fn_config_makefile dlls
/windows.networking enable_windows_networking
21848 wine_fn_config_makefile dlls
/windows.perception.stub enable_windows_perception_stub
21849 wine_fn_config_makefile dlls
/windows.perception.stub
/tests enable_tests
21850 wine_fn_config_makefile dlls
/windows.system.profile.systemmanufacturers enable_windows_system_profile_systemmanufacturers
21851 wine_fn_config_makefile dlls
/windows.system.profile.systemmanufacturers
/tests enable_tests
21852 wine_fn_config_makefile dlls
/windows.ui enable_windows_ui
21853 wine_fn_config_makefile dlls
/windows.ui
/tests enable_tests
21854 wine_fn_config_makefile dlls
/windowscodecs enable_windowscodecs
21855 wine_fn_config_makefile dlls
/windowscodecs
/tests enable_tests
21856 wine_fn_config_makefile dlls
/windowscodecsext enable_windowscodecsext
21857 wine_fn_config_makefile dlls
/windowscodecsext
/tests enable_tests
21858 wine_fn_config_makefile dlls
/winealsa.drv enable_winealsa_drv
21859 wine_fn_config_makefile dlls
/wineandroid.drv enable_wineandroid_drv
21860 wine_fn_config_makefile dlls
/winebus.sys enable_winebus_sys
21861 wine_fn_config_makefile dlls
/winecoreaudio.drv enable_winecoreaudio_drv
21862 wine_fn_config_makefile dlls
/winecrt0 enable_winecrt0
21863 wine_fn_config_makefile dlls
/wined3d enable_wined3d
21864 wine_fn_config_makefile dlls
/winegstreamer enable_winegstreamer
21865 wine_fn_config_makefile dlls
/winehid.sys enable_winehid_sys
21866 wine_fn_config_makefile dlls
/winemac.drv enable_winemac_drv
21867 wine_fn_config_makefile dlls
/winemapi enable_winemapi
21868 wine_fn_config_makefile dlls
/wineoss.drv enable_wineoss_drv
21869 wine_fn_config_makefile dlls
/wineps.drv enable_wineps_drv
21870 wine_fn_config_makefile dlls
/wineps16.drv16 enable_win16
21871 wine_fn_config_makefile dlls
/winepulse.drv enable_winepulse_drv
21872 wine_fn_config_makefile dlls
/wineusb.sys enable_wineusb_sys
21873 wine_fn_config_makefile dlls
/winevulkan enable_winevulkan
21874 wine_fn_config_makefile dlls
/winewayland.drv enable_winewayland_drv
21875 wine_fn_config_makefile dlls
/winex11.drv enable_winex11_drv
21876 wine_fn_config_makefile dlls
/winexinput.sys enable_winexinput_sys
21877 wine_fn_config_makefile dlls
/wing.dll16 enable_win16
21878 wine_fn_config_makefile dlls
/wing32 enable_wing32
21879 wine_fn_config_makefile dlls
/winhttp enable_winhttp
21880 wine_fn_config_makefile dlls
/winhttp
/tests enable_tests
21881 wine_fn_config_makefile dlls
/wininet enable_wininet
21882 wine_fn_config_makefile dlls
/wininet
/tests enable_tests
21883 wine_fn_config_makefile dlls
/winmm enable_winmm
21884 wine_fn_config_makefile dlls
/winmm
/tests enable_tests
21885 wine_fn_config_makefile dlls
/winnls.dll16 enable_win16
21886 wine_fn_config_makefile dlls
/winnls32 enable_winnls32
21887 wine_fn_config_makefile dlls
/winprint enable_winprint
21888 wine_fn_config_makefile dlls
/winscard enable_winscard
21889 wine_fn_config_makefile dlls
/winscard
/tests enable_tests
21890 wine_fn_config_makefile dlls
/winsock.dll16 enable_win16
21891 wine_fn_config_makefile dlls
/winspool.drv enable_winspool_drv
21892 wine_fn_config_makefile dlls
/winspool.drv
/tests enable_tests
21893 wine_fn_config_makefile dlls
/winsta enable_winsta
21894 wine_fn_config_makefile dlls
/wintab.dll16 enable_win16
21895 wine_fn_config_makefile dlls
/wintab32 enable_wintab32
21896 wine_fn_config_makefile dlls
/wintab32
/tests enable_tests
21897 wine_fn_config_makefile dlls
/wintrust enable_wintrust
21898 wine_fn_config_makefile dlls
/wintrust
/tests enable_tests
21899 wine_fn_config_makefile dlls
/wintypes enable_wintypes
21900 wine_fn_config_makefile dlls
/wintypes
/tests enable_tests
21901 wine_fn_config_makefile dlls
/winusb enable_winusb
21902 wine_fn_config_makefile dlls
/wlanapi enable_wlanapi
21903 wine_fn_config_makefile dlls
/wlanapi
/tests enable_tests
21904 wine_fn_config_makefile dlls
/wlanui enable_wlanui
21905 wine_fn_config_makefile dlls
/wldap32 enable_wldap32
21906 wine_fn_config_makefile dlls
/wldap32
/tests enable_tests
21907 wine_fn_config_makefile dlls
/wmasf enable_wmasf
21908 wine_fn_config_makefile dlls
/wmi enable_wmi
21909 wine_fn_config_makefile dlls
/wmiutils enable_wmiutils
21910 wine_fn_config_makefile dlls
/wmiutils
/tests enable_tests
21911 wine_fn_config_makefile dlls
/wmp enable_wmp
21912 wine_fn_config_makefile dlls
/wmp
/tests enable_tests
21913 wine_fn_config_makefile dlls
/wmphoto enable_wmphoto
21914 wine_fn_config_makefile dlls
/wmvcore enable_wmvcore
21915 wine_fn_config_makefile dlls
/wmvcore
/tests enable_tests
21916 wine_fn_config_makefile dlls
/wnaspi32 enable_wnaspi32
21917 wine_fn_config_makefile dlls
/wofutil enable_wofutil
21918 wine_fn_config_makefile dlls
/wow32 enable_win16
21919 wine_fn_config_makefile dlls
/wow64 enable_wow64
21920 wine_fn_config_makefile dlls
/wow64cpu enable_wow64cpu
21921 wine_fn_config_makefile dlls
/wow64win enable_wow64win
21922 wine_fn_config_makefile dlls
/wpc enable_wpc
21923 wine_fn_config_makefile dlls
/wpc
/tests enable_tests
21924 wine_fn_config_makefile dlls
/wpcap enable_wpcap
21925 wine_fn_config_makefile dlls
/wpcap
/tests enable_tests
21926 wine_fn_config_makefile dlls
/ws2_32 enable_ws2_32
21927 wine_fn_config_makefile dlls
/ws2_32
/tests enable_tests
21928 wine_fn_config_makefile dlls
/wsdapi enable_wsdapi
21929 wine_fn_config_makefile dlls
/wsdapi
/tests enable_tests
21930 wine_fn_config_makefile dlls
/wshom.ocx enable_wshom_ocx
21931 wine_fn_config_makefile dlls
/wshom.ocx
/tests enable_tests
21932 wine_fn_config_makefile dlls
/wsnmp32 enable_wsnmp32
21933 wine_fn_config_makefile dlls
/wsnmp32
/tests enable_tests
21934 wine_fn_config_makefile dlls
/wsock32 enable_wsock32
21935 wine_fn_config_makefile dlls
/wtsapi32 enable_wtsapi32
21936 wine_fn_config_makefile dlls
/wtsapi32
/tests enable_tests
21937 wine_fn_config_makefile dlls
/wuapi enable_wuapi
21938 wine_fn_config_makefile dlls
/wuaueng enable_wuaueng
21939 wine_fn_config_makefile dlls
/x3daudio1_0 enable_x3daudio1_0
21940 wine_fn_config_makefile dlls
/x3daudio1_1 enable_x3daudio1_1
21941 wine_fn_config_makefile dlls
/x3daudio1_2 enable_x3daudio1_2
21942 wine_fn_config_makefile dlls
/x3daudio1_3 enable_x3daudio1_3
21943 wine_fn_config_makefile dlls
/x3daudio1_4 enable_x3daudio1_4
21944 wine_fn_config_makefile dlls
/x3daudio1_5 enable_x3daudio1_5
21945 wine_fn_config_makefile dlls
/x3daudio1_6 enable_x3daudio1_6
21946 wine_fn_config_makefile dlls
/x3daudio1_7 enable_x3daudio1_7
21947 wine_fn_config_makefile dlls
/xactengine2_0 enable_xactengine2_0
21948 wine_fn_config_makefile dlls
/xactengine2_4 enable_xactengine2_4
21949 wine_fn_config_makefile dlls
/xactengine2_7 enable_xactengine2_7
21950 wine_fn_config_makefile dlls
/xactengine2_9 enable_xactengine2_9
21951 wine_fn_config_makefile dlls
/xactengine3_0 enable_xactengine3_0
21952 wine_fn_config_makefile dlls
/xactengine3_1 enable_xactengine3_1
21953 wine_fn_config_makefile dlls
/xactengine3_2 enable_xactengine3_2
21954 wine_fn_config_makefile dlls
/xactengine3_3 enable_xactengine3_3
21955 wine_fn_config_makefile dlls
/xactengine3_4 enable_xactengine3_4
21956 wine_fn_config_makefile dlls
/xactengine3_5 enable_xactengine3_5
21957 wine_fn_config_makefile dlls
/xactengine3_6 enable_xactengine3_6
21958 wine_fn_config_makefile dlls
/xactengine3_7 enable_xactengine3_7
21959 wine_fn_config_makefile dlls
/xactengine3_
7/tests enable_tests
21960 wine_fn_config_makefile dlls
/xapofx1_1 enable_xapofx1_1
21961 wine_fn_config_makefile dlls
/xapofx1_2 enable_xapofx1_2
21962 wine_fn_config_makefile dlls
/xapofx1_3 enable_xapofx1_3
21963 wine_fn_config_makefile dlls
/xapofx1_4 enable_xapofx1_4
21964 wine_fn_config_makefile dlls
/xapofx1_5 enable_xapofx1_5
21965 wine_fn_config_makefile dlls
/xaudio2_0 enable_xaudio2_0
21966 wine_fn_config_makefile dlls
/xaudio2_1 enable_xaudio2_1
21967 wine_fn_config_makefile dlls
/xaudio2_2 enable_xaudio2_2
21968 wine_fn_config_makefile dlls
/xaudio2_3 enable_xaudio2_3
21969 wine_fn_config_makefile dlls
/xaudio2_4 enable_xaudio2_4
21970 wine_fn_config_makefile dlls
/xaudio2_5 enable_xaudio2_5
21971 wine_fn_config_makefile dlls
/xaudio2_6 enable_xaudio2_6
21972 wine_fn_config_makefile dlls
/xaudio2_7 enable_xaudio2_7
21973 wine_fn_config_makefile dlls
/xaudio2_
7/tests enable_tests
21974 wine_fn_config_makefile dlls
/xaudio2_8 enable_xaudio2_8
21975 wine_fn_config_makefile dlls
/xaudio2_9 enable_xaudio2_9
21976 wine_fn_config_makefile dlls
/xinput1_1 enable_xinput1_1
21977 wine_fn_config_makefile dlls
/xinput1_2 enable_xinput1_2
21978 wine_fn_config_makefile dlls
/xinput1_3 enable_xinput1_3
21979 wine_fn_config_makefile dlls
/xinput1_
3/tests enable_tests
21980 wine_fn_config_makefile dlls
/xinput1_4 enable_xinput1_4
21981 wine_fn_config_makefile dlls
/xinput9_1_0 enable_xinput9_1_0
21982 wine_fn_config_makefile dlls
/xinputuap enable_xinputuap
21983 wine_fn_config_makefile dlls
/xmllite enable_xmllite
21984 wine_fn_config_makefile dlls
/xmllite
/tests enable_tests
21985 wine_fn_config_makefile dlls
/xolehlp enable_xolehlp
21986 wine_fn_config_makefile dlls
/xpsprint enable_xpsprint
21987 wine_fn_config_makefile dlls
/xpssvcs enable_xpssvcs
21988 wine_fn_config_makefile fonts enable_fonts
21989 wine_fn_config_makefile include enable_include
21990 wine_fn_config_makefile libs
/adsiid enable_adsiid
21991 wine_fn_config_makefile libs
/dmoguids enable_dmoguids
21992 wine_fn_config_makefile libs
/dxerr8 enable_dxerr8
21993 wine_fn_config_makefile libs
/dxerr9 enable_dxerr9
21994 wine_fn_config_makefile libs
/dxguid enable_dxguid
21995 wine_fn_config_makefile libs
/faudio enable_faudio
21996 wine_fn_config_makefile libs
/gsm enable_gsm
21997 wine_fn_config_makefile libs
/jpeg enable_jpeg
21998 wine_fn_config_makefile libs
/jxr enable_jxr
21999 wine_fn_config_makefile libs
/lcms2 enable_lcms2
22000 wine_fn_config_makefile libs
/ldap enable_ldap
22001 wine_fn_config_makefile libs
/mfuuid enable_mfuuid
22002 wine_fn_config_makefile libs
/mpg123 enable_mpg123
22003 wine_fn_config_makefile libs
/musl enable_musl
22004 wine_fn_config_makefile libs
/png enable_png
22005 wine_fn_config_makefile libs
/strmbase enable_strmbase
22006 wine_fn_config_makefile libs
/strmiids enable_strmiids
22007 wine_fn_config_makefile libs
/tiff enable_tiff
22008 wine_fn_config_makefile libs
/uuid enable_uuid
22009 wine_fn_config_makefile libs
/vkd3d enable_vkd3d
22010 wine_fn_config_makefile libs
/wbemuuid enable_wbemuuid
22011 wine_fn_config_makefile libs
/wmcodecdspuuid enable_wmcodecdspuuid
22012 wine_fn_config_makefile libs
/xml2 enable_xml2
22013 wine_fn_config_makefile libs
/xslt enable_xslt
22014 wine_fn_config_makefile libs
/zlib enable_zlib
22015 wine_fn_config_makefile libs
/zydis enable_zydis
22016 wine_fn_config_makefile loader enable_loader
22017 wine_fn_config_makefile nls enable_nls
22018 wine_fn_config_makefile po enable_po
22019 wine_fn_config_makefile programs
/arp enable_arp
22020 wine_fn_config_makefile programs
/aspnet_regiis enable_aspnet_regiis
22021 wine_fn_config_makefile programs
/attrib enable_attrib
22022 wine_fn_config_makefile programs
/cabarc enable_cabarc
22023 wine_fn_config_makefile programs
/cacls enable_cacls
22024 wine_fn_config_makefile programs
/certutil enable_certutil
22025 wine_fn_config_makefile programs
/chcp.com enable_chcp_com
22026 wine_fn_config_makefile programs
/clock enable_clock
22027 wine_fn_config_makefile programs
/cmd enable_cmd
22028 wine_fn_config_makefile programs
/cmd
/tests enable_tests
22029 wine_fn_config_makefile programs
/conhost enable_conhost
22030 wine_fn_config_makefile programs
/conhost
/tests enable_tests
22031 wine_fn_config_makefile programs
/control enable_control
22032 wine_fn_config_makefile programs
/cscript enable_cscript
22033 wine_fn_config_makefile programs
/dism enable_dism
22034 wine_fn_config_makefile programs
/dllhost enable_dllhost
22035 wine_fn_config_makefile programs
/dplaysvr enable_dplaysvr
22036 wine_fn_config_makefile programs
/dpnsvr enable_dpnsvr
22037 wine_fn_config_makefile programs
/dpvsetup enable_dpvsetup
22038 wine_fn_config_makefile programs
/dxdiag enable_dxdiag
22039 wine_fn_config_makefile programs
/eject enable_eject
22040 wine_fn_config_makefile programs
/expand enable_expand
22041 wine_fn_config_makefile programs
/explorer enable_explorer
22042 wine_fn_config_makefile programs
/explorer
/tests enable_tests
22043 wine_fn_config_makefile programs
/extrac32 enable_extrac32
22044 wine_fn_config_makefile programs
/fc enable_fc
22045 wine_fn_config_makefile programs
/find enable_find
22046 wine_fn_config_makefile programs
/find
/tests enable_tests
22047 wine_fn_config_makefile programs
/findstr enable_findstr
22048 wine_fn_config_makefile programs
/fsutil enable_fsutil
22049 wine_fn_config_makefile programs
/fsutil
/tests enable_tests
22050 wine_fn_config_makefile programs
/hh enable_hh
22051 wine_fn_config_makefile programs
/hostname enable_hostname
22052 wine_fn_config_makefile programs
/icacls enable_icacls
22053 wine_fn_config_makefile programs
/icinfo enable_icinfo
22054 wine_fn_config_makefile programs
/iexplore enable_iexplore
22055 wine_fn_config_makefile programs
/ipconfig enable_ipconfig
22056 wine_fn_config_makefile programs
/lodctr enable_lodctr
22057 wine_fn_config_makefile programs
/mofcomp enable_mofcomp
22058 wine_fn_config_makefile programs
/mshta enable_mshta
22059 wine_fn_config_makefile programs
/msidb enable_msidb
22060 wine_fn_config_makefile programs
/msiexec enable_msiexec
22061 wine_fn_config_makefile programs
/msinfo32 enable_msinfo32
22062 wine_fn_config_makefile programs
/net enable_net
22063 wine_fn_config_makefile programs
/netsh enable_netsh
22064 wine_fn_config_makefile programs
/netstat enable_netstat
22065 wine_fn_config_makefile programs
/ngen enable_ngen
22066 wine_fn_config_makefile programs
/notepad enable_notepad
22067 wine_fn_config_makefile programs
/oleview enable_oleview
22068 wine_fn_config_makefile programs
/ping enable_ping
22069 wine_fn_config_makefile programs
/plugplay enable_plugplay
22070 wine_fn_config_makefile programs
/powershell enable_powershell
22071 wine_fn_config_makefile programs
/presentationfontcache enable_presentationfontcache
22072 wine_fn_config_makefile programs
/progman enable_progman
22073 wine_fn_config_makefile programs
/reg enable_reg
22074 wine_fn_config_makefile programs
/reg
/tests enable_tests
22075 wine_fn_config_makefile programs
/regasm enable_regasm
22076 wine_fn_config_makefile programs
/regedit enable_regedit
22077 wine_fn_config_makefile programs
/regedit
/tests enable_tests
22078 wine_fn_config_makefile programs
/regini enable_regini
22079 wine_fn_config_makefile programs
/regsvcs enable_regsvcs
22080 wine_fn_config_makefile programs
/regsvr32 enable_regsvr32
22081 wine_fn_config_makefile programs
/robocopy enable_robocopy
22082 wine_fn_config_makefile programs
/rpcss enable_rpcss
22083 wine_fn_config_makefile programs
/rundll.exe16 enable_win16
22084 wine_fn_config_makefile programs
/rundll32 enable_rundll32
22085 wine_fn_config_makefile programs
/sc enable_sc
22086 wine_fn_config_makefile programs
/sc
/tests enable_tests
22087 wine_fn_config_makefile programs
/schtasks enable_schtasks
22088 wine_fn_config_makefile programs
/schtasks
/tests enable_tests
22089 wine_fn_config_makefile programs
/sdbinst enable_sdbinst
22090 wine_fn_config_makefile programs
/secedit enable_secedit
22091 wine_fn_config_makefile programs
/servicemodelreg enable_servicemodelreg
22092 wine_fn_config_makefile programs
/services enable_services
22093 wine_fn_config_makefile programs
/services
/tests enable_tests
22094 wine_fn_config_makefile programs
/setx enable_setx
22095 wine_fn_config_makefile programs
/shutdown enable_shutdown
22096 wine_fn_config_makefile programs
/spoolsv enable_spoolsv
22097 wine_fn_config_makefile programs
/start enable_start
22098 wine_fn_config_makefile programs
/subst enable_subst
22099 wine_fn_config_makefile programs
/svchost enable_svchost
22100 wine_fn_config_makefile programs
/systeminfo enable_systeminfo
22101 wine_fn_config_makefile programs
/taskkill enable_taskkill
22102 wine_fn_config_makefile programs
/tasklist enable_tasklist
22103 wine_fn_config_makefile programs
/taskmgr enable_taskmgr
22104 wine_fn_config_makefile programs
/termsv enable_termsv
22105 wine_fn_config_makefile programs
/uninstaller enable_uninstaller
22106 wine_fn_config_makefile programs
/unlodctr enable_unlodctr
22107 wine_fn_config_makefile programs
/view enable_view
22108 wine_fn_config_makefile programs
/wevtutil enable_wevtutil
22109 wine_fn_config_makefile programs
/where enable_where
22110 wine_fn_config_makefile programs
/whoami enable_whoami
22111 wine_fn_config_makefile programs
/wineboot enable_wineboot
22112 wine_fn_config_makefile programs
/winebrowser enable_winebrowser
22113 wine_fn_config_makefile programs
/winecfg enable_winecfg
22114 wine_fn_config_makefile programs
/wineconsole enable_wineconsole
22115 wine_fn_config_makefile programs
/winedbg enable_winedbg
22116 wine_fn_config_makefile programs
/winedevice enable_winedevice
22117 wine_fn_config_makefile programs
/winefile enable_winefile
22118 wine_fn_config_makefile programs
/winemenubuilder enable_winemenubuilder
22119 wine_fn_config_makefile programs
/winemine enable_winemine
22120 wine_fn_config_makefile programs
/winemsibuilder enable_winemsibuilder
22121 wine_fn_config_makefile programs
/winepath enable_winepath
22122 wine_fn_config_makefile programs
/winetest enable_winetest
22123 wine_fn_config_makefile programs
/winevdm enable_win16
22124 wine_fn_config_makefile programs
/winhelp.exe16 enable_win16
22125 wine_fn_config_makefile programs
/winhlp32 enable_winhlp32
22126 wine_fn_config_makefile programs
/winmgmt enable_winmgmt
22127 wine_fn_config_makefile programs
/winoldap.mod16 enable_win16
22128 wine_fn_config_makefile programs
/winver enable_winver
22129 wine_fn_config_makefile programs
/wmic enable_wmic
22130 wine_fn_config_makefile programs
/wmplayer enable_wmplayer
22131 wine_fn_config_makefile programs
/wordpad enable_wordpad
22132 wine_fn_config_makefile programs
/write enable_write
22133 wine_fn_config_makefile programs
/wscript enable_wscript
22134 wine_fn_config_makefile programs
/wscript
/tests enable_tests
22135 wine_fn_config_makefile programs
/wuauserv enable_wuauserv
22136 wine_fn_config_makefile programs
/wusa enable_wusa
22137 wine_fn_config_makefile programs
/xcopy enable_xcopy
22138 wine_fn_config_makefile programs
/xcopy
/tests enable_tests
22139 wine_fn_config_makefile server enable_server
22140 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22141 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/sfnt2fon enable_sfnt2fon
22142 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/widl enable_widl
22143 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winebuild enable_winebuild
22144 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winedump enable_winedump
22145 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winegcc enable_winegcc
22146 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winemaker enable_winemaker
22147 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/wmc enable_wmc
22148 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/wrc enable_wrc
22151 as_fn_append CONFIGURE_TARGETS
" TAGS"
22152 as_fn_append CONFIGURE_TARGETS
" tags"
22153 as_fn_append CONFIGURE_TARGETS
" autom4te.cache"
22154 as_fn_append CONFIGURE_TARGETS
" config.log"
22155 as_fn_append CONFIGURE_TARGETS
" config.status"
22156 as_fn_append CONFIGURE_TARGETS
" include/config.h"
22157 as_fn_append CONFIGURE_TARGETS
" include/stamp-h"
22158 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine"
22160 if test "x$enable_tools" != xno
22162 as_fn_append CONFIGURE_TARGETS
" tools/makedep$ac_exeext"
22163 ac_config_commands
="$ac_config_commands tools/makedep"
22167 ac_config_commands
="$ac_config_commands Makefile"
22174 as_fn_append wine_rules
"
22176 @echo \"Wine build complete.\"
22180 Makefile: config.status \$(MAKEDEP)
22181 @./config.status Makefile
22182 depend: \$(MAKEDEP)
22183 \$(MAKEDEP)$makedep_flags"
22186 as_fn_append wine_rules
"
22187 config.status: ${wine_srcdir}configure
22188 @./config.status --recheck
22189 include/config.h: include/stamp-h
22190 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22191 @./config.status include/config.h include/stamp-h"
22193 if test "x$enable_maintainer_mode" = xyes
22195 as_fn_append wine_rules
"
22196 configure: configure.ac aclocal.m4
22197 autoconf --warnings=all
22198 include/config.h.in: include/stamp-h.in
22199 include/stamp-h.in: configure.ac aclocal.m4
22200 autoheader --warnings=all
22201 @echo timestamp > \$@"
22204 if test "x$enable_tools" != xno
22206 as_fn_append wine_rules
"
22207 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22208 @./config.status tools/makedep
22209 Makefile: tools/makedep$ac_exeext"
22211 as_fn_append wine_rules
"
22213 @echo \"You need to run make in $toolsdir first\" && false"
22217 if test -n "$with_wine64"
22219 case "$with_wine64" in
22223 rm -f fonts server
2>/dev
/null
22224 as_fn_append wine_rules
"
22225 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22226 loader/wine64 loader/wine64-preloader:
22227 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22228 $with_wine64/loader/wine:
22229 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22230 $with_wine64/loader/wine-preloader:
22231 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22233 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22235 TOP_INSTALL_DEV
="$TOP_INSTALL_DEV include"
22236 TOP_INSTALL_LIB
="$TOP_INSTALL_LIB \
22240 programs/msidb/msidb \
22241 programs/msiexec/msiexec \
22242 programs/notepad/notepad \
22243 programs/regedit/regedit \
22244 programs/regsvr32/regsvr32 \
22245 programs/wineboot/wineboot \
22246 programs/winecfg/winecfg \
22247 programs/wineconsole/wineconsole \
22248 programs/winedbg/winedbg \
22249 programs/winefile/winefile \
22250 programs/winemine/winemine \
22251 programs/winepath/winepath \
22255 cygwin
*|mingw32
*|darwin
*|macosx
*|linux-android
*) ;;
22256 *) TOP_INSTALL_LIB
="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22261 as_fn_append wine_rules
"
22263 rm -rf autom4te.cache
22265 rm -f configure include/config.h.in"
22268 as_fn_append wine_rules
"
22269 dlls/ntdll/unix/version.c: dummy
22270 @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)
22271 programs/winetest/build.rc: dummy
22272 @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)
22273 programs/winetest/build.nfo:
22275 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
22276 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22277 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22280 TAGSFLAGS
="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22282 as_fn_append wine_rules
"
22285 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22288 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22290 .PHONY: depend dummy install-manpages"
22292 printf "%s\n" " done" >&6
22293 cat >confcache
<<\_ACEOF
22294 # This file is a shell script that caches the results of configure
22295 # tests run on this system so they can be shared between configure
22296 # scripts and configure runs, see configure's option --config-cache.
22297 # It is not useful on other systems. If it contains results you don't
22298 # want to keep, you may remove or edit it.
22300 # config.status only pays attention to the cache file if you give it
22301 # the --recheck option to rerun configure.
22303 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22304 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22305 # following values.
22309 # The following way of writing the cache mishandles newlines in values,
22310 # but we know of no workaround that is simple, portable, and efficient.
22311 # So, we kill variables containing newlines.
22312 # Ultrix sh set writes to stderr and can't be redirected directly,
22313 # and sets the high bit in the cache file unless we assign to the vars.
22315 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22316 eval ac_val
=\$
$ac_var
22320 *_cv_
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22321 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22324 _ | IFS | as_nl
) ;; #(
22325 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
22326 *) { eval $ac_var=; unset $ac_var;} ;;
22332 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22333 *${as_nl}ac_space
=\
*)
22334 # `set' does not quote correctly, so add quotes: double-quote
22335 # substitution turns \\\\ into \\, and sed turns \\ into \.
22338 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22341 # `set' quotes correctly as required by POSIX, so do not add quotes.
22342 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22351 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22353 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22355 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22356 if test -w "$cache_file"; then
22357 if test "x$cache_file" != "x/dev/null"; then
22358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22359 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22360 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
22361 cat confcache
>"$cache_file"
22363 case $cache_file in #(
22365 mv -f confcache
"$cache_file"$$
&&
22366 mv -f "$cache_file"$$
"$cache_file" ;; #(
22368 mv -f confcache
"$cache_file" ;;
22373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22374 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22379 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22380 # Let make expand exec_prefix.
22381 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22383 DEFS
=-DHAVE_CONFIG_H
22388 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22389 # 1. Remove the extension, and $U if already installed.
22390 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
22391 ac_i
=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22392 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22393 # will be set to the directory where LIBOBJS objects are built.
22394 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22395 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
22397 LIBOBJS
=$ac_libobjs
22399 LTLIBOBJS
=$ac_ltlibobjs
22403 : "${CONFIG_STATUS=./config.status}"
22405 ac_clean_files_save
=$ac_clean_files
22406 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22408 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22410 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22412 # Generated by $as_me.
22413 # Run this file to recreate the current configuration.
22414 # Compiler output produced by configure, useful for debugging
22415 # configure, is in config.log if it exists.
22418 ac_cs_recheck=false
22421 SHELL=\${CONFIG_SHELL-$SHELL}
22424 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
22425 ## -------------------- ##
22426 ## M4sh Initialization. ##
22427 ## -------------------- ##
22429 # Be more Bourne compatible
22430 DUALCASE
=1; export DUALCASE
# for MKS sh
22432 if test ${ZSH_VERSION+y} && (emulate sh
) >/dev
/null
2>&1
22436 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22437 # is contrary to our usage. Disable this feature.
22438 alias -g '${1+"$@"}'='"$@"'
22439 setopt NO_GLOB_SUBST
22441 case `(set -o) 2>/dev/null` in #(
22451 # Reset variables that may have inherited troublesome values from
22454 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22455 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22456 # side effect of setting IFS to empty, thus disabling word splitting.)
22457 # Quoting is to prevent editors from complaining about space-tab.
22467 # Ensure predictable behavior from utilities with locale-dependent output.
22473 # We cannot yet rely on "unset" to work, but we need these variables
22474 # to be unset--not just set to an empty or harmless value--now, to
22475 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22476 # also avoids known problems related to "unset" and subshell syntax
22477 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22478 for as_var
in BASH_ENV ENV MAIL MAILPATH CDPATH
22479 do eval test \
${$as_var+y} \
22480 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
22483 # Ensure that fds 0, 1, and 2 are open.
22484 if (exec 3>&0) 2>/dev
/null
; then :; else exec 0</dev
/null
; fi
22485 if (exec 3>&1) 2>/dev
/null
; then :; else exec 1>/dev
/null
; fi
22486 if (exec 3>&2) ; then :; else exec 2>/dev
/null
; fi
22488 # The user is always right.
22489 if ${PATH_SEPARATOR+false} :; then
22491 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
22492 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
22498 # Find who we are. Look in the path if we contain no directory separator.
22501 *[\\/]* ) as_myself
=$0 ;;
22502 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22503 for as_dir
in $PATH
22506 case $as_dir in #(((
22509 *) as_dir
=$as_dir/ ;;
22511 test -r "$as_dir$0" && as_myself
=$as_dir$0 && break
22517 # We did not find ourselves, most probably we were run as `sh COMMAND'
22518 # in which case we are not to be found in the path.
22519 if test "x$as_myself" = x
; then
22522 if test ! -f "$as_myself"; then
22523 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22529 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22530 # ----------------------------------------
22531 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22532 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22533 # script with STATUS, using 1 if that was 0.
22536 as_status
=$1; test $as_status -eq 0 && as_status
=1
22538 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
22539 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22541 printf "%s\n" "$as_me: error: $2" >&2
22542 as_fn_exit
$as_status
22547 # as_fn_set_status STATUS
22548 # -----------------------
22549 # Set $? to STATUS, without forking.
22550 as_fn_set_status
()
22553 } # as_fn_set_status
22555 # as_fn_exit STATUS
22556 # -----------------
22557 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22561 as_fn_set_status
$1
22567 # Portably unset VAR.
22570 { eval $1=; unset $1;}
22572 as_unset
=as_fn_unset
22574 # as_fn_append VAR VALUE
22575 # ----------------------
22576 # Append the text in VALUE to the end of the definition contained in VAR. Take
22577 # advantage of any shell optimizations that allow amortized linear growth over
22578 # repeated appends, instead of the typical quadratic growth present in naive
22580 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
22582 eval 'as_fn_append ()
22593 # as_fn_arith ARG...
22594 # ------------------
22595 # Perform arithmetic evaluation on the ARGs, and store the result in the
22596 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22597 # must be portable across $(()) and expr.
22598 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
22600 eval 'as_fn_arith ()
22607 as_val
=`expr "$@" || test $? -eq 1`
22612 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22613 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22619 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22620 as_basename
=basename
22625 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
22631 as_me
=`$as_basename -- "$0" ||
22632 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22633 X"$0" : 'X\(//\)$' \| \
22634 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22635 printf "%s\n" X/"$0" |
22636 sed '/^.*\/\([^/][^/]*\)\/*$/{
22650 # Avoid depending upon Character Ranges.
22651 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22652 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22653 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22654 as_cr_digits
='0123456789'
22655 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22658 # Determine whether it's possible to make 'echo' print without a newline.
22659 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22660 # for compatibility with existing Makefiles.
22661 ECHO_C
= ECHO_N
= ECHO_T
=
22662 case `echo -n x` in #(((((
22664 case `echo 'xy\c'` in
22665 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
22667 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
22674 # For backward compatibility with old third-party macros, we provide
22675 # the shell variables $as_echo and $as_echo_n. New code should use
22676 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22677 as_echo
='printf %s\n'
22678 as_echo_n
='printf %s'
22680 rm -f conf$$ conf$$.exe conf$$.
file
22681 if test -d conf$$.dir
; then
22682 rm -f conf$$.dir
/conf$$.
file
22685 mkdir conf$$.dir
2>/dev
/null
22687 if (echo >conf$$.
file) 2>/dev
/null
; then
22688 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22690 # ... but there are two gotchas:
22691 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22692 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22693 # In both cases, we have to default to `cp -pR'.
22694 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
22696 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22704 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
22705 rmdir conf$$.dir
2>/dev
/null
22710 # Create "$as_dir" as a directory, including parents if necessary.
22715 -*) as_dir
=.
/$as_dir;;
22717 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
22721 *\'*) as_qdir
=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22722 *) as_qdir
=$as_dir;;
22724 as_dirs
="'$as_qdir' $as_dirs"
22725 as_dir
=`$as_dirname -- "$as_dir" ||
22726 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22727 X"$as_dir" : 'X\(//\)[^/]' \| \
22728 X"$as_dir" : 'X\(//\)$' \| \
22729 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22730 printf "%s\n" X"$as_dir" |
22731 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22735 /^X\(\/\/\)[^/].*/{
22748 test -d "$as_dir" && break
22750 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22751 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
22755 if mkdir
-p .
2>/dev
/null
; then
22756 as_mkdir_p
='mkdir -p "$as_dir"'
22758 test -d .
/-p && rmdir .
/-p
22763 # as_fn_executable_p FILE
22764 # -----------------------
22765 # Test if FILE is an executable regular file.
22766 as_fn_executable_p
()
22768 test -f "$1" && test -x "$1"
22769 } # as_fn_executable_p
22770 as_test_x
='test -x'
22771 as_executable_p
=as_fn_executable_p
22773 # Sed expression to map a string onto a valid CPP name.
22774 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22776 # Sed expression to map a string onto a valid variable name.
22777 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22781 ## ----------------------------------- ##
22782 ## Main body of $CONFIG_STATUS script. ##
22783 ## ----------------------------------- ##
22785 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
22787 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22788 # Save the log message, to keep $0 and so on meaningful, and to
22789 # report actual input values of CONFIG_FILES etc. instead of their
22790 # values after options handling.
22792 This file was extended by Wine $as_me 8.5, which was
22793 generated by GNU Autoconf 2.71. Invocation command line was
22795 CONFIG_FILES = $CONFIG_FILES
22796 CONFIG_HEADERS = $CONFIG_HEADERS
22797 CONFIG_LINKS = $CONFIG_LINKS
22798 CONFIG_COMMANDS = $CONFIG_COMMANDS
22801 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22807 case $ac_config_headers in *"
22808 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
22812 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22813 # Files that config.status was made for.
22814 config_headers="$ac_config_headers"
22815 config_links="$ac_config_links"
22816 config_commands="$ac_config_commands"
22820 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22822 \`$as_me' instantiates files and other configuration actions
22823 from templates according to the current configuration. Unless the files
22824 and actions are specified as TAGs, all are instantiated by default.
22826 Usage: $0 [OPTION]... [TAG]...
22828 -h, --help print this help, then exit
22829 -V, --version print version number and configuration settings, then exit
22830 --config print configuration, then exit
22831 -q, --quiet, --silent
22832 do not print progress messages
22833 -d, --debug don't remove temporary files
22834 --recheck update $as_me by reconfiguring in the same conditions
22835 --header=FILE[:TEMPLATE]
22836 instantiate the configuration header FILE
22838 Configuration headers:
22841 Configuration links:
22844 Configuration commands:
22847 Report bugs to <wine-devel@winehq.org>.
22848 Wine home page: <https://www.winehq.org>."
22851 ac_cs_config
=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
22852 ac_cs_config_escaped
=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
22853 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22854 ac_cs_config='$ac_cs_config_escaped'
22856 Wine config.status 8.5
22857 configured by $0, generated by GNU Autoconf 2.71,
22858 with options \\"\$ac_cs_config\\"
22860 Copyright (C) 2021 Free Software Foundation, Inc.
22861 This config.status script is free software; the Free Software Foundation
22862 gives unlimited permission to copy, distribute and modify it."
22866 test -n "\$AWK" || AWK=awk
22869 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22870 # The default lists apply if the user does not specify any file.
22876 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22877 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
22881 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22893 # Handling of the options.
22894 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
22896 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
22897 printf "%s\n" "$ac_cs_version"; exit ;;
22898 --config |
--confi |
--conf |
--con |
--co |
--c )
22899 printf "%s\n" "$ac_cs_config"; exit ;;
22900 --debug |
--debu |
--deb |
--de |
--d |
-d )
22902 --header |
--heade |
--head |
--hea )
22905 *\'*) ac_optarg
=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22907 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
22908 ac_need_defaults
=false
;;
22910 # Conflict between --help and --header
22911 as_fn_error $?
"ambiguous option: \`$1'
22912 Try \`$0 --help' for more information.";;
22913 --help |
--hel |
-h )
22914 printf "%s\n" "$ac_cs_usage"; exit ;;
22915 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
22916 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
22919 # This is an error.
22920 -*) as_fn_error $?
"unrecognized option: \`$1'
22921 Try \`$0 --help' for more information." ;;
22923 *) as_fn_append ac_config_targets
" $1"
22924 ac_need_defaults
=false
;;
22930 ac_configure_extra_args
=
22932 if $ac_cs_silent; then
22934 ac_configure_extra_args
="$ac_configure_extra_args --silent"
22938 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22939 if \$ac_cs_recheck; then
22940 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22942 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
22943 CONFIG_SHELL='$SHELL'
22944 export CONFIG_SHELL
22949 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22953 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22954 ## Running $as_me. ##
22956 printf "%s\n" "$ac_log"
22960 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22964 wine_fn_output_makedep ()
22966 as_dir=tools; as_fn_mkdir_p
22967 $CC -I${wine_srcdir}tools -Iinclude -I${wine_srcdir}include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext ${wine_srcdir}tools/makedep.c $LDFLAGS
22969 wine_fn_output_makefile ()
22971 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
22972 # This Makefile understands the following targets:
22974 # all (default): build wine
22975 # clean: remove all intermediate files
22976 # distclean: also remove all files created by configure
22978 # testclean: clean test results to force running all tests again
22979 # install-lib: install libraries needed to run applications
22980 # install-dev: install development environment
22981 # install: install everything
22982 # uninstall: uninstall everything
22983 # ctags: create a tags file for vim and others.
22984 # etags: create a TAGS file for Emacs.
22987 PATH_SEPARATOR = $PATH_SEPARATOR
22988 PACKAGE_NAME = $PACKAGE_NAME
22989 PACKAGE_TARNAME = $PACKAGE_TARNAME
22990 PACKAGE_VERSION = $PACKAGE_VERSION
22991 PACKAGE_STRING = $PACKAGE_STRING
22992 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
22993 PACKAGE_URL = $PACKAGE_URL
22994 exec_prefix = $exec_prefix
22996 program_transform_name = $program_transform_name
22999 libexecdir = $libexecdir
23000 datarootdir = $datarootdir
23002 sysconfdir = $sysconfdir
23003 sharedstatedir = $sharedstatedir
23004 localstatedir = $localstatedir
23005 runstatedir = $runstatedir
23006 includedir = $includedir
23007 oldincludedir = $oldincludedir
23015 localedir = $localedir
23022 build_alias = $build_alias
23023 host_alias = $host_alias
23024 target_alias = $target_alias
23025 system_dllpath = $system_dllpath
23027 build_cpu = $build_cpu
23028 build_vendor = $build_vendor
23029 build_os = $build_os
23031 host_cpu = $host_cpu
23032 host_vendor = $host_vendor
23038 SET_MAKE = $SET_MAKE
23042 CPPFLAGS = $CPPFLAGS
23043 ac_ct_CC = $ac_ct_CC
23047 CXXFLAGS = $CXXFLAGS
23048 ac_ct_CXX = $ac_ct_CXX
23051 TARGETFLAGS = $TARGETFLAGS
23052 toolsext = $toolsext
23053 HOST_ARCH = $HOST_ARCH
23054 aarch64_CC = $aarch64_CC
23055 aarch64_CFLAGS = $aarch64_CFLAGS
23056 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
23057 aarch64_LDFLAGS = $aarch64_LDFLAGS
23058 aarch64_DEBUG = $aarch64_DEBUG
23059 aarch64_TARGET = $aarch64_TARGET
23060 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
23061 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
23063 arm_CFLAGS = $arm_CFLAGS
23064 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
23065 arm_LDFLAGS = $arm_LDFLAGS
23066 arm_DEBUG = $arm_DEBUG
23067 arm_TARGET = $arm_TARGET
23068 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
23069 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
23071 i386_CFLAGS = $i386_CFLAGS
23072 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
23073 i386_LDFLAGS = $i386_LDFLAGS
23074 i386_DEBUG = $i386_DEBUG
23075 i386_TARGET = $i386_TARGET
23076 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
23077 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
23078 x86_64_CC = $x86_64_CC
23079 x86_64_CFLAGS = $x86_64_CFLAGS
23080 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
23081 x86_64_LDFLAGS = $x86_64_LDFLAGS
23082 x86_64_DEBUG = $x86_64_DEBUG
23083 x86_64_TARGET = $x86_64_TARGET
23084 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
23085 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
23086 toolsdir = $toolsdir
23088 RUNTESTFLAGS = $RUNTESTFLAGS
23093 ac_ct_AR = $ac_ct_AR
23099 LDCONFIG = $LDCONFIG
23101 PKG_CONFIG = $PKG_CONFIG
23102 FONTFORGE = $FONTFORGE
23106 I386_LIBS = $I386_LIBS
23107 OPENGL_LIBS = $OPENGL_LIBS
23108 DLLFLAGS = $DLLFLAGS
23109 LDDLLFLAGS = $LDDLLFLAGS
23110 LDEXECFLAGS = $LDEXECFLAGS
23111 EXTRACFLAGS = $EXTRACFLAGS
23112 UNIXDLLFLAGS = $UNIXDLLFLAGS
23113 UNIXLDFLAGS = $UNIXLDFLAGS
23114 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23115 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23116 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23117 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23122 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23123 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23124 CARBON_LIBS = $CARBON_LIBS
23125 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23126 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23127 IOKIT_LIBS = $IOKIT_LIBS
23128 METAL_LIBS = $METAL_LIBS
23129 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23130 CORESERVICES_LIBS = $CORESERVICES_LIBS
23131 APPKIT_LIBS = $APPKIT_LIBS
23132 SECURITY_LIBS = $SECURITY_LIBS
23133 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23134 COREAUDIO_LIBS = $COREAUDIO_LIBS
23135 OPENCL_LIBS = $OPENCL_LIBS
23137 OBJCFLAGS = $OBJCFLAGS
23138 ac_ct_OBJC = $ac_ct_OBJC
23139 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23140 PE_ARCHS = $PE_ARCHS
23141 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23142 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23143 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23144 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23145 GSM_PE_LIBS = $GSM_PE_LIBS
23146 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23147 JPEG_PE_LIBS = $JPEG_PE_LIBS
23148 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23149 JXR_PE_LIBS = $JXR_PE_LIBS
23150 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23151 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23152 LDAP_PE_CFLAGS = $LDAP_PE_CFLAGS
23153 LDAP_PE_LIBS = $LDAP_PE_LIBS
23154 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23155 MPG123_PE_LIBS = $MPG123_PE_LIBS
23156 MUSL_PE_CFLAGS = $MUSL_PE_CFLAGS
23157 MUSL_PE_LIBS = $MUSL_PE_LIBS
23158 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23159 PNG_PE_LIBS = $PNG_PE_LIBS
23160 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23161 TIFF_PE_LIBS = $TIFF_PE_LIBS
23162 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23163 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23164 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23165 XML2_PE_LIBS = $XML2_PE_LIBS
23166 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23167 XSLT_PE_LIBS = $XSLT_PE_LIBS
23168 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23169 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23170 ZYDIS_PE_CFLAGS = $ZYDIS_PE_CFLAGS
23171 ZYDIS_PE_LIBS = $ZYDIS_PE_LIBS
23172 PTHREAD_LIBS = $PTHREAD_LIBS
23175 X_CFLAGS = $X_CFLAGS
23176 X_PRE_LIBS = $X_PRE_LIBS
23178 X_EXTRA_LIBS = $X_EXTRA_LIBS
23179 WAYLAND_CLIENT_CFLAGS = $WAYLAND_CLIENT_CFLAGS
23180 WAYLAND_CLIENT_LIBS = $WAYLAND_CLIENT_LIBS
23181 PCAP_LIBS = $PCAP_LIBS
23182 PCSCLITE_LIBS = $PCSCLITE_LIBS
23183 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23184 INOTIFY_LIBS = $INOTIFY_LIBS
23185 DBUS_CFLAGS = $DBUS_CFLAGS
23186 DBUS_LIBS = $DBUS_LIBS
23187 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23188 GNUTLS_LIBS = $GNUTLS_LIBS
23189 SANE_CFLAGS = $SANE_CFLAGS
23190 SANE_LIBS = $SANE_LIBS
23191 USB_CFLAGS = $USB_CFLAGS
23192 USB_LIBS = $USB_LIBS
23193 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23194 GPHOTO2_LIBS = $GPHOTO2_LIBS
23195 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23196 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23197 RESOLV_LIBS = $RESOLV_LIBS
23198 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23199 FREETYPE_LIBS = $FREETYPE_LIBS
23200 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23201 PULSE_CFLAGS = $PULSE_CFLAGS
23202 PULSE_LIBS = $PULSE_LIBS
23203 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23204 GSTREAMER_LIBS = $GSTREAMER_LIBS
23205 ALSA_LIBS = $ALSA_LIBS
23206 OSS4_CFLAGS = $OSS4_CFLAGS
23207 OSS4_LIBS = $OSS4_LIBS
23208 UDEV_CFLAGS = $UDEV_CFLAGS
23209 UDEV_LIBS = $UDEV_LIBS
23210 UNWIND_CFLAGS = $UNWIND_CFLAGS
23211 UNWIND_LIBS = $UNWIND_LIBS
23212 SDL2_CFLAGS = $SDL2_CFLAGS
23213 SDL2_LIBS = $SDL2_LIBS
23214 CAPI20_CFLAGS = $CAPI20_CFLAGS
23215 CAPI20_LIBS = $CAPI20_LIBS
23216 CUPS_CFLAGS = $CUPS_CFLAGS
23217 CUPS_LIBS = $CUPS_LIBS
23218 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23219 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23220 KRB5_CFLAGS = $KRB5_CFLAGS
23221 KRB5_LIBS = $KRB5_LIBS
23222 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23223 GSSAPI_LIBS = $GSSAPI_LIBS
23224 PROCSTAT_LIBS = $PROCSTAT_LIBS
23225 NETAPI_CFLAGS = $NETAPI_CFLAGS
23226 NETAPI_LIBS = $NETAPI_LIBS
23227 MSVCRTFLAGS = $MSVCRTFLAGS
23228 DELAYLOADFLAG = $DELAYLOADFLAG
23229 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23231 TAGSFLAGS = $TAGSFLAGS
23233 LTLIBOBJS = $LTLIBOBJS
23237 as_fn_error $? "could not create Makefile" "$LINENO" 5
23242 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23244 # Handling of arguments.
23245 for ac_config_target
in $ac_config_targets
23247 case $ac_config_target in
23248 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
23249 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
23250 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
23251 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23252 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
23253 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
23255 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23260 # If the user did not use the arguments to specify the items to instantiate,
23261 # then the envvar interface is used. Set only those that are not.
23262 # We use the long form for the default assignment because of an extremely
23263 # bizarre bug on SunOS 4.1.3.
23264 if $ac_need_defaults; then
23265 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS
=$config_headers
23266 test ${CONFIG_LINKS+y} || CONFIG_LINKS
=$config_links
23267 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS
=$config_commands
23270 # Have a temporary directory for convenience. Make it in the build tree
23271 # simply because there is no reason against having it here, and in addition,
23272 # creating and moving files from /tmp can sometimes cause problems.
23273 # Hook for its removal unless debugging.
23274 # Note that there is a small window in which the directory will not be cleaned:
23275 # after its creation but before its name has been assigned to `$tmp'.
23279 trap 'exit_status=$?
23280 : "${ac_tmp:=$tmp}"
23281 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23283 trap 'as_fn_exit 1' 1 2 13 15
23285 # Create a (secure) tmp directory for tmp files.
23288 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23292 tmp
=.
/conf$$
-$RANDOM
23293 (umask 077 && mkdir
"$tmp")
23294 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
23297 # Set up the scripts for CONFIG_HEADERS section.
23298 # No need to generate them if there are no CONFIG_HEADERS.
23299 # This happens for instance with `./config.status Makefile'.
23300 if test -n "$CONFIG_HEADERS"; then
23301 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23305 # Transform confdefs.h into an awk script `defines.awk', embedded as
23306 # here-document in config.status, that substitutes the proper values into
23307 # config.h.in to produce config.h.
23309 # Create a delimiter string that does not exist in confdefs.h, to ease
23310 # handling of long lines.
23312 for ac_last_try
in false false
:; do
23313 ac_tt
=`sed -n "/$ac_delim/p" confdefs.h`
23314 if test -z "$ac_tt"; then
23316 elif $ac_last_try; then
23317 as_fn_error $?
"could not make $CONFIG_HEADERS" "$LINENO" 5
23319 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
23323 # For the awk script, D is an array of macro values keyed by name,
23324 # likewise P contains macro parameters if any. Preserve backslash
23325 # newline sequences.
23327 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
23329 s/.\{148\}/&'"$ac_delim"'/g
23332 s/^[ ]*#[ ]*define[ ][ ]*/ /
23339 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23341 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23345 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23346 D["\1"]=" \3\\\\\\n"\\/p
23348 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23353 s/.\{148\}/&'"$ac_delim"'/g
23358 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23361 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23363 ' <confdefs.h |
sed '
23364 s/'"$ac_delim"'/"\\\
23365 "/g' >>$CONFIG_STATUS || ac_write_fail
=1
23367 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23368 for (key in D) D_is_set[key] = 1
23371 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23373 split(line, arg, " ")
23374 if (arg[1] == "#") {
23378 defundef = substr(arg[1], 2)
23381 split(mac1, mac2, "(") #)
23383 prefix = substr(line, 1, index(line, defundef) - 1)
23384 if (D_is_set[macro]) {
23385 # Preserve the white space surrounding the "#".
23386 print prefix "define", macro P[macro] D[macro]
23389 # Replace #undef with comments. This is necessary, for example,
23390 # in the case of _POSIX_SOURCE, which is predefined and required
23391 # on some systems where configure will not decide to define it.
23392 if (defundef == "undef") {
23393 print "/*", prefix defundef, macro, "*/"
23401 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23402 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
23403 fi # test -n "$CONFIG_HEADERS"
23406 eval set X
" :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23411 :[FHLC
]) ac_mode
=$ac_tag; continue;;
23413 case $ac_mode$ac_tag in
23415 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
23416 :[FH
]-) ac_tag
=-:-;;
23417 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
23434 -) ac_f
="$ac_tmp/stdin";;
23435 *) # Look for the file first in the build tree, then in the source tree
23436 # (if the path is not absolute). The absolute path cannot be DOS-style,
23437 # because $ac_f cannot contain `:'.
23441 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
23443 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23445 case $ac_f in *\'*) ac_f
=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23446 as_fn_append ac_file_inputs
" '$ac_f'"
23449 # Let's still pretend it is `configure' which instantiates (i.e., don't
23450 # use $as_me), people would be surprised to read:
23451 # /* config.h. Generated by config.status. */
23452 configure_input
='Generated from '`
23453 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23455 if test x
"$ac_file" != x-
; then
23456 configure_input
="$ac_file. $configure_input"
23457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23458 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23460 # Neutralize special characters interpreted by sed in replacement strings.
23461 case $configure_input in #(
23462 *\
&* |
*\|
* |
*\\* )
23463 ac_sed_conf_input
=`printf "%s\n" "$configure_input" |
23464 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23465 *) ac_sed_conf_input
=$configure_input;;
23469 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
23470 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
23475 ac_dir
=`$as_dirname -- "$ac_file" ||
23476 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23477 X"$ac_file" : 'X\(//\)[^/]' \| \
23478 X"$ac_file" : 'X\(//\)$' \| \
23479 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23480 printf "%s\n" X"$ac_file" |
23481 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23485 /^X\(\/\/\)[^/].*/{
23498 as_dir
="$ac_dir"; as_fn_mkdir_p
23502 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23504 ac_dir_suffix
=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23505 # A ".." for each directory in $ac_dir_suffix.
23506 ac_top_builddir_sub
=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23507 case $ac_top_builddir_sub in
23508 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23509 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
23512 ac_abs_top_builddir
=$ac_pwd
23513 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
23514 # for backward compatibility:
23515 ac_top_builddir
=$ac_top_build_prefix
23518 .
) # We are building in place.
23520 ac_top_srcdir
=$ac_top_builddir_sub
23521 ac_abs_top_srcdir
=$ac_pwd ;;
23522 [\\/]* | ?
:[\\/]* ) # Absolute name.
23523 ac_srcdir
=$srcdir$ac_dir_suffix;
23524 ac_top_srcdir
=$srcdir
23525 ac_abs_top_srcdir
=$srcdir ;;
23526 *) # Relative name.
23527 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
23528 ac_top_srcdir
=$ac_top_build_prefix$srcdir
23529 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
23531 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
23540 if test x
"$ac_file" != x-
; then
23542 printf "%s\n" "/* $configure_input */" >&1 \
23543 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23544 } >"$ac_tmp/config.h" \
23545 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5
23546 if diff "$ac_file" "$ac_tmp/config.h" >/dev
/null
2>&1; then
23547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23548 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23551 mv "$ac_tmp/config.h" "$ac_file" \
23552 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5
23555 printf "%s\n" "/* $configure_input */" >&1 \
23556 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23557 || as_fn_error $?
"could not create -" "$LINENO" 5
23565 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23568 # Prefer the file from the source tree if names are identical.
23569 if test "$ac_source" = "$ac_file" ||
test ! -r "$ac_source"; then
23570 ac_source
=$srcdir/$ac_source
23573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23574 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23576 if test ! -r "$ac_source"; then
23577 as_fn_error $?
"$ac_source: file not found" "$LINENO" 5
23581 # Try a relative symlink, then a hard link, then a copy.
23583 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$ac_source ;;
23584 *) ac_rel_source
=$ac_top_build_prefix$ac_source ;;
23586 ln -s "$ac_rel_source" "$ac_file" 2>/dev
/null ||
23587 ln "$ac_source" "$ac_file" 2>/dev
/null ||
23588 cp -p "$ac_source" "$ac_file" ||
23589 as_fn_error $?
"cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23592 :C
) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23593 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23598 case $ac_file$ac_mode in
23599 "include/stamp-h":C
) echo timestamp
> include
/stamp-h
;;
23600 "tools/makedep":C
) wine_fn_output_makedep || as_fn_exit $?
;;
23601 "Makefile":C
) wine_fn_output_makefile Makefile
;;
23609 ac_clean_files
=$ac_clean_files_save
23611 test $ac_write_fail = 0 ||
23612 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
23615 # configure is writing to config.log, and then calls config.status.
23616 # config.status does its own redirection, appending to config.log.
23617 # Unfortunately, on DOS this fails, as config.log is still kept open
23618 # by configure, so config.status won't be able to write to it; its
23619 # output is simply discarded. So we exec the FD to /dev/null,
23620 # effectively closing config.log, so it can be properly (re)opened and
23621 # appended to by config.status. When coming back to configure, we
23622 # need to make the FD available again.
23623 if test "$no_create" != yes; then
23625 ac_config_status_args
=
23626 test "$silent" = yes &&
23627 ac_config_status_args
="$ac_config_status_args --quiet"
23629 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23631 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23632 # would make configure fail if this is the last instruction.
23633 $ac_cs_success || as_fn_exit
1
23635 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
23636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23637 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23641 if test "$no_create" = "yes"
23647 if test "x$wine_notices" != x
; then
23650 for msg
in $wine_notices; do
23656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23657 printf "%s\n" "$as_me: $msg" >&6;}
23662 for msg
in $wine_warnings; do
23669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23670 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23676 $as_me: Finished. Do '${ac_make}' to compile Wine.