2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 8.6.
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.6'
615 PACKAGE_STRING
='Wine 8.6'
616 PACKAGE_BUGREPORT
='wine-devel@winehq.org'
617 PACKAGE_URL
='https://www.winehq.org'
619 ac_unique_file
="server/atom.c"
620 # Factoring default headers for most tests.
621 ac_includes_default
="\
632 #ifdef HAVE_INTTYPES_H
633 # include <inttypes.h>
638 #ifdef HAVE_STRINGS_H
639 # include <strings.h>
641 #ifdef HAVE_SYS_TYPES_H
642 # include <sys/types.h>
644 #ifdef HAVE_SYS_STAT_H
645 # include <sys/stat.h>
652 ac_subst_vars
='LTLIBOBJS
707 WAYLAND_CLIENT_CFLAGS
753 SYSTEMCONFIGURATION_LIBS
757 APPLICATIONSERVICES_LIBS
769 WINEPRELOADER_LDFLAGS
801 x86_64_DISABLED_SUBDIRS
809 i386_DISABLED_SUBDIRS
825 aarch64_DISABLED_SUBDIRS
826 aarch64_DELAYLOADFLAG
890 program_transform_name
903 enable_option_checking
909 enable_maintainer_mode
1028 enable_d3dcompiler_33
1029 enable_d3dcompiler_34
1030 enable_d3dcompiler_35
1031 enable_d3dcompiler_36
1032 enable_d3dcompiler_37
1033 enable_d3dcompiler_38
1034 enable_d3dcompiler_39
1035 enable_d3dcompiler_40
1036 enable_d3dcompiler_41
1037 enable_d3dcompiler_42
1038 enable_d3dcompiler_43
1039 enable_d3dcompiler_46
1040 enable_d3dcompiler_47
1093 enable_directmanipulation
1130 enable_explorerframe
1146 enable_graphicscapture
1188 enable_light_msstyles
1203 enable_mfmediaengine
1268 enable_msvcp140_atomic_wait
1334 enable_photometadatahandler
1411 enable_threadpoolwinrt
1414 enable_twinapi_appcore
1418 enable_uiautomationcore
1438 enable_vcruntime140_1
1456 enable_windows_devices_enumeration
1457 enable_windows_gaming_input
1458 enable_windows_gaming_ui_gamebar
1459 enable_windows_globalization
1460 enable_windows_media_devices
1461 enable_windows_media_speech
1462 enable_windows_media
1463 enable_windows_networking
1464 enable_windows_perception_stub
1465 enable_windows_system_profile_systemmanufacturers
1467 enable_windowscodecs
1468 enable_windowscodecsext
1470 enable_wineandroid_drv
1472 enable_winecoreaudio_drv
1475 enable_winegstreamer
1481 enable_winepulse_drv
1484 enable_winewayland_drv
1486 enable_winexinput_sys
1532 enable_xactengine2_0
1533 enable_xactengine2_4
1534 enable_xactengine2_7
1535 enable_xactengine2_9
1536 enable_xactengine3_0
1537 enable_xactengine3_1
1538 enable_xactengine3_2
1539 enable_xactengine3_3
1540 enable_xactengine3_4
1541 enable_xactengine3_5
1542 enable_xactengine3_6
1543 enable_xactengine3_7
1592 enable_wmcodecdspuuid
1601 enable_aspnet_regiis
1647 enable_presentationfontcache
1662 enable_servicemodelreg
1688 enable_winemenubuilder
1690 enable_winemsibuilder
1715 ac_precious_vars
='build_alias
1760 WAYLAND_CLIENT_CFLAGS
1802 # Initialize some variables set by options.
1804 ac_init_version
=false
1805 ac_unrecognized_opts
=
1806 ac_unrecognized_sep
=
1807 # The variables have the same names as the options, with
1808 # dashes changed to underlines.
1809 cache_file
=/dev
/null
1816 program_transform_name
=s
,x
,x
,
1824 # Installation directory options.
1825 # These are left unexpanded so users can "make install exec_prefix=/foo"
1826 # and all the variables that are supposed to be based on exec_prefix
1827 # by default will actually change.
1828 # Use braces instead of parens because sh, perl, etc. also accept them.
1829 # (The list follows the same order as the GNU Coding Standards.)
1830 bindir
='${exec_prefix}/bin'
1831 sbindir
='${exec_prefix}/sbin'
1832 libexecdir
='${exec_prefix}/libexec'
1833 datarootdir
='${prefix}/share'
1834 datadir
='${datarootdir}'
1835 sysconfdir
='${prefix}/etc'
1836 sharedstatedir
='${prefix}/com'
1837 localstatedir
='${prefix}/var'
1838 runstatedir
='${localstatedir}/run'
1839 includedir
='${prefix}/include'
1840 oldincludedir
='/usr/include'
1841 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1842 infodir
='${datarootdir}/info'
1847 libdir
='${exec_prefix}/lib'
1848 localedir
='${datarootdir}/locale'
1849 mandir
='${datarootdir}/man'
1855 # If the previous option needs an argument, assign it.
1856 if test -n "$ac_prev"; then
1857 eval $ac_prev=\
$ac_option
1863 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1868 case $ac_dashdash$ac_option in
1872 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1874 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1875 bindir
=$ac_optarg ;;
1877 -build |
--build |
--buil |
--bui |
--bu)
1878 ac_prev
=build_alias
;;
1879 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1880 build_alias
=$ac_optarg ;;
1882 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1883 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1884 ac_prev
=cache_file
;;
1885 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1886 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1887 cache_file
=$ac_optarg ;;
1889 --config-cache |
-C)
1890 cache_file
=config.cache
;;
1892 -datadir |
--datadir |
--datadi |
--datad)
1894 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1895 datadir
=$ac_optarg ;;
1897 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1898 |
--dataroo |
--dataro |
--datar)
1899 ac_prev
=datarootdir
;;
1900 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1901 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1902 datarootdir
=$ac_optarg ;;
1904 -disable-* |
--disable-*)
1905 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1906 # Reject names that are not valid shell variable names.
1907 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1908 as_fn_error $?
"invalid feature name: \`$ac_useropt'"
1909 ac_useropt_orig
=$ac_useropt
1910 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1911 case $ac_user_opts in
1913 "enable_
$ac_useropt"
1915 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1916 ac_unrecognized_sep
=', ';;
1918 eval enable_
$ac_useropt=no
;;
1920 -docdir |
--docdir |
--docdi |
--doc |
--do)
1922 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1923 docdir
=$ac_optarg ;;
1925 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1927 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1928 dvidir
=$ac_optarg ;;
1930 -enable-* |
--enable-*)
1931 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1932 # Reject names that are not valid shell variable names.
1933 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1934 as_fn_error $?
"invalid feature name: \`$ac_useropt'"
1935 ac_useropt_orig
=$ac_useropt
1936 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1937 case $ac_user_opts in
1939 "enable_
$ac_useropt"
1941 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1942 ac_unrecognized_sep
=', ';;
1944 eval enable_
$ac_useropt=\
$ac_optarg ;;
1946 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1947 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1948 |
--exec |
--exe |
--ex)
1949 ac_prev
=exec_prefix
;;
1950 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1951 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1952 |
--exec=* |
--exe=* |
--ex=*)
1953 exec_prefix
=$ac_optarg ;;
1955 -gas |
--gas |
--ga |
--g)
1956 # Obsolete; use --with-gas.
1959 -help |
--help |
--hel |
--he |
-h)
1960 ac_init_help
=long
;;
1961 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1962 ac_init_help
=recursive
;;
1963 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1964 ac_init_help
=short
;;
1966 -host |
--host |
--hos |
--ho)
1967 ac_prev
=host_alias
;;
1968 -host=* |
--host=* |
--hos=* |
--ho=*)
1969 host_alias
=$ac_optarg ;;
1971 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1973 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1975 htmldir
=$ac_optarg ;;
1977 -includedir |
--includedir |
--includedi |
--included |
--include \
1978 |
--includ |
--inclu |
--incl |
--inc)
1979 ac_prev
=includedir
;;
1980 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1981 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1982 includedir
=$ac_optarg ;;
1984 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1986 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1987 infodir
=$ac_optarg ;;
1989 -libdir |
--libdir |
--libdi |
--libd)
1991 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1992 libdir
=$ac_optarg ;;
1994 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1995 |
--libexe |
--libex |
--libe)
1996 ac_prev
=libexecdir
;;
1997 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1998 |
--libexe=* |
--libex=* |
--libe=*)
1999 libexecdir
=$ac_optarg ;;
2001 -localedir |
--localedir |
--localedi |
--localed |
--locale)
2002 ac_prev
=localedir
;;
2003 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
2004 localedir
=$ac_optarg ;;
2006 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
2007 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
2008 ac_prev
=localstatedir
;;
2009 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
2010 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
2011 localstatedir
=$ac_optarg ;;
2013 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
2015 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
2016 mandir
=$ac_optarg ;;
2018 -nfp |
--nfp |
--nf)
2019 # Obsolete; use --without-fp.
2022 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
2023 |
--no-cr |
--no-c |
-n)
2026 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
2027 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
2030 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
2031 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
2032 |
--oldin |
--oldi |
--old |
--ol |
--o)
2033 ac_prev
=oldincludedir
;;
2034 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
2035 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
2036 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
2037 oldincludedir
=$ac_optarg ;;
2039 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
2041 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
2042 prefix
=$ac_optarg ;;
2044 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
2045 |
--program-pre |
--program-pr |
--program-p)
2046 ac_prev
=program_prefix
;;
2047 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
2048 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
2049 program_prefix
=$ac_optarg ;;
2051 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
2052 |
--program-suf |
--program-su |
--program-s)
2053 ac_prev
=program_suffix
;;
2054 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
2055 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
2056 program_suffix
=$ac_optarg ;;
2058 -program-transform-name |
--program-transform-name \
2059 |
--program-transform-nam |
--program-transform-na \
2060 |
--program-transform-n |
--program-transform- \
2061 |
--program-transform |
--program-transfor \
2062 |
--program-transfo |
--program-transf \
2063 |
--program-trans |
--program-tran \
2064 |
--progr-tra |
--program-tr |
--program-t)
2065 ac_prev
=program_transform_name
;;
2066 -program-transform-name=* |
--program-transform-name=* \
2067 |
--program-transform-nam=* |
--program-transform-na=* \
2068 |
--program-transform-n=* |
--program-transform-=* \
2069 |
--program-transform=* |
--program-transfor=* \
2070 |
--program-transfo=* |
--program-transf=* \
2071 |
--program-trans=* |
--program-tran=* \
2072 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
2073 program_transform_name
=$ac_optarg ;;
2075 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
2077 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
2078 pdfdir
=$ac_optarg ;;
2080 -psdir |
--psdir |
--psdi |
--psd |
--ps)
2082 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
2085 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2086 |
-silent |
--silent |
--silen |
--sile |
--sil)
2089 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
2090 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
2091 |
--run |
--ru |
--r)
2092 ac_prev
=runstatedir
;;
2093 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
2094 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
2095 |
--run=* |
--ru=* |
--r=*)
2096 runstatedir
=$ac_optarg ;;
2098 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
2100 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
2102 sbindir
=$ac_optarg ;;
2104 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
2105 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
2106 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
2108 ac_prev
=sharedstatedir
;;
2109 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
2110 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
2111 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
2113 sharedstatedir
=$ac_optarg ;;
2115 -site |
--site |
--sit)
2117 -site=* |
--site=* |
--sit=*)
2120 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
2122 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
2123 srcdir
=$ac_optarg ;;
2125 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
2126 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
2127 ac_prev
=sysconfdir
;;
2128 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
2129 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
2130 sysconfdir
=$ac_optarg ;;
2132 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
2133 ac_prev
=target_alias
;;
2134 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
2135 target_alias
=$ac_optarg ;;
2137 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
2140 -version |
--version |
--versio |
--versi |
--vers |
-V)
2141 ac_init_version
=: ;;
2144 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2145 # Reject names that are not valid shell variable names.
2146 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2147 as_fn_error $?
"invalid package name: \`$ac_useropt'"
2148 ac_useropt_orig
=$ac_useropt
2149 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2150 case $ac_user_opts in
2154 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2155 ac_unrecognized_sep
=', ';;
2157 eval with_
$ac_useropt=\
$ac_optarg ;;
2159 -without-* |
--without-*)
2160 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2161 # Reject names that are not valid shell variable names.
2162 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2163 as_fn_error $?
"invalid package name: \`$ac_useropt'"
2164 ac_useropt_orig
=$ac_useropt
2165 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2166 case $ac_user_opts in
2170 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2171 ac_unrecognized_sep
=', ';;
2173 eval with_
$ac_useropt=no
;;
2176 # Obsolete; use --with-x.
2179 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
2180 |
--x-incl |
--x-inc |
--x-in |
--x-i)
2181 ac_prev
=x_includes
;;
2182 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
2183 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
2184 x_includes
=$ac_optarg ;;
2186 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
2187 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
2188 ac_prev
=x_libraries
;;
2189 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
2190 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
2191 x_libraries
=$ac_optarg ;;
2193 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
2194 Try \`$0 --help' for more information"
2198 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
2199 # Reject names that are not valid shell variable names.
2200 case $ac_envvar in #(
2201 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
2202 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
2204 eval $ac_envvar=\
$ac_optarg
2205 export $ac_envvar ;;
2208 # FIXME: should be removed in autoconf 3.0.
2209 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2210 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
2211 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2212 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2218 if test -n "$ac_prev"; then
2219 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
2220 as_fn_error $?
"missing argument to $ac_option"
2223 if test -n "$ac_unrecognized_opts"; then
2224 case $enable_option_checking in
2226 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
2227 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2231 # Check all directory arguments for consistency.
2232 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2233 datadir sysconfdir sharedstatedir localstatedir includedir \
2234 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2235 libdir localedir mandir runstatedir
2237 eval ac_val
=\$
$ac_var
2238 # Remove trailing slashes.
2241 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2242 eval $ac_var=\
$ac_val;;
2244 # Be sure to have absolute directory names.
2246 [\\/$
]* | ?
:[\\/]* ) continue;;
2247 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
2249 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
2252 # There might be people who depend on the old broken behavior: `$host'
2253 # used to hold the argument of --host etc.
2254 # FIXME: To remove some day.
2257 target
=$target_alias
2259 # FIXME: To remove some day.
2260 if test "x$host_alias" != x
; then
2261 if test "x$build_alias" = x
; then
2262 cross_compiling
=maybe
2263 elif test "x$build_alias" != "x$host_alias"; then
2269 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
2271 test "$silent" = yes && exec 6>/dev
/null
2274 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
2275 ac_ls_di
=`ls -di .` &&
2276 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
2277 as_fn_error $?
"working directory cannot be determined"
2278 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2279 as_fn_error $?
"pwd does not report name of working directory"
2282 # Find the source files, if location was not specified.
2283 if test -z "$srcdir"; then
2284 ac_srcdir_defaulted
=yes
2285 # Try the directory containing this script, then the parent directory.
2286 ac_confdir
=`$as_dirname -- "$as_myself" ||
2287 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2288 X"$as_myself" : 'X\(//\)[^/]' \| \
2289 X"$as_myself" : 'X\(//\)$' \| \
2290 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2291 printf "%s\n" X"$as_myself" |
2292 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2310 if test ! -r "$srcdir/$ac_unique_file"; then
2314 ac_srcdir_defaulted
=no
2316 if test ! -r "$srcdir/$ac_unique_file"; then
2317 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
2318 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
2320 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
2322 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2324 # When building in place, set srcdir=.
2325 if test "$ac_abs_confdir" = "$ac_pwd"; then
2328 # Remove unnecessary trailing slashes from srcdir.
2329 # Double slashes in file names in object file debugging info
2330 # mess up M-x gdb in Emacs.
2332 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2334 for ac_var
in $ac_precious_vars; do
2335 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
2336 eval ac_env_
${ac_var}_value
=\$
${ac_var}
2337 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
2338 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2342 # Report the --help message.
2344 if test "$ac_init_help" = "long"; then
2345 # Omit some internal or obsolete options to make the list less imposing.
2346 # This message is too long to be a string in the A/UX 3.1 sh.
2348 \`configure' configures Wine 8.6 to adapt to many kinds of systems.
2350 Usage: $0 [OPTION]... [VAR=VALUE]...
2352 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2353 VAR=VALUE. See below for descriptions of some of the useful variables.
2355 Defaults for the options are specified in brackets.
2358 -h, --help display this help and exit
2359 --help=short display options specific to this package
2360 --help=recursive display the short help of all the included packages
2361 -V, --version display version information and exit
2362 -q, --quiet, --silent do not print \`checking ...' messages
2363 --cache-file=FILE cache test results in FILE [disabled]
2364 -C, --config-cache alias for \`--cache-file=config.cache'
2365 -n, --no-create do not create output files
2366 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2368 Installation directories:
2369 --prefix=PREFIX install architecture-independent files in PREFIX
2370 [$ac_default_prefix]
2371 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2374 By default, \`make install' will install all the files in
2375 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2376 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2377 for instance \`--prefix=\$HOME'.
2379 For better control, use the options below.
2381 Fine tuning of the installation directories:
2382 --bindir=DIR user executables [EPREFIX/bin]
2383 --sbindir=DIR system admin executables [EPREFIX/sbin]
2384 --libexecdir=DIR program executables [EPREFIX/libexec]
2385 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2386 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2387 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2388 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2389 --libdir=DIR object code libraries [EPREFIX/lib]
2390 --includedir=DIR C header files [PREFIX/include]
2391 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2392 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2393 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2394 --infodir=DIR info documentation [DATAROOTDIR/info]
2395 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2396 --mandir=DIR man documentation [DATAROOTDIR/man]
2397 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2398 --htmldir=DIR html documentation [DOCDIR]
2399 --dvidir=DIR dvi documentation [DOCDIR]
2400 --pdfdir=DIR pdf documentation [DOCDIR]
2401 --psdir=DIR ps documentation [DOCDIR]
2407 --x-includes=DIR X include files are
in DIR
2408 --x-libraries=DIR X library files are
in DIR
2411 --build=BUILD configure
for building on BUILD
[guessed
]
2412 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2416 if test -n "$ac_init_help"; then
2417 case $ac_init_help in
2418 short | recursive
) echo "Configuration of Wine 8.6:";;
2423 --disable-option-checking ignore unrecognized
--enable/--with options
2424 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2425 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2426 --enable-archs={i386
,x86_64
,arm
,aarch64
}
2427 enable multiple architectures
for PE compilation
2428 --disable-win16 do not include Win16 support
2429 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2431 --disable-tests do not build the regression tests
2432 --enable-build-id include .buildid section in output objects
2433 --enable-maintainer-mode
2434 enable maintainer-specific build rules
2435 --enable-silent-rules use silent build rules (override: "make V=1")
2436 --enable-werror treat compilation warnings as errors
2437 --disable-largefile omit support for large files
2440 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2441 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2442 --without-alsa do not use the Alsa sound support
2443 --without-capi do not use CAPI (ISDN support)
2444 --without-coreaudio do not use the CoreAudio sound support
2445 --without-cups do not use CUPS
2446 --without-dbus do not use DBus (dynamic device support)
2447 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2448 --without-fontconfig do not use fontconfig
2449 --without-freetype do not use the FreeType library
2450 --without-gettext do not use gettext
2451 --with-gettextpo use the GetTextPO library to rebuild po files
2452 --without-gphoto do not use gphoto (Digital Camera support)
2453 --without-gnutls do not use GnuTLS (schannel support)
2454 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2455 --without-gstreamer do not use GStreamer (codecs support)
2456 --without-inotify do not use inotify (filesystem change notifications)
2457 --without-krb5 do not use krb5 (Kerberos)
2458 --without-mingw do not use the MinGW cross-compiler
2459 --without-netapi do not use the Samba NetAPI library
2460 --without-opencl do not use OpenCL
2461 --without-opengl do not use OpenGL
2462 --without-osmesa do not use the OSMesa library
2463 --without-oss do not use the OSS sound support
2464 --without-pcap do not use the Packet Capture library
2465 --without-pcsclite do not use PCSC lite
2466 --without-pthread do not use the pthread library
2467 --without-pulse do not use PulseAudio sound support
2468 --without-sane do not use SANE (scanner support)
2469 --without-sdl do not use SDL
2470 --without-udev do not use udev (plug and play support)
2471 --without-unwind do not use the libunwind library (exception
2473 --without-usb do not use the libusb library
2474 --without-v4l2 do not use v4l2 (video capture)
2475 --without-vulkan do not use Vulkan
2476 --without-wayland do not build the Wayland driver
2477 --without-xcomposite do not use the Xcomposite extension
2478 --without-xcursor do not use the Xcursor extension
2479 --without-xfixes do not use Xfixes for clipboard change notifications
2480 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2481 --without-xinput do not use the Xinput extension
2482 --without-xinput2 do not use the Xinput 2 extension
2483 --without-xrandr do not use Xrandr (multi-monitor support)
2484 --without-xrender do not use the Xrender extension
2485 --without-xshape do not use the Xshape extension
2486 --without-xshm do not use XShm (shared memory extension)
2487 --without-xxf86vm do not use XFree video mode extension
2488 --with-system-dllpath=PATH
2489 load external PE dependencies from colon-separated
2491 --with-wine-tools=DIR use Wine tools from directory DIR
2492 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2493 --with-x use the X Window System
2495 Some influential environment variables:
2496 CC C compiler command
2497 CFLAGS C compiler flags
2498 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2499 nonstandard directory <lib dir>
2500 LIBS libraries to pass to the linker, e.g. -l<library>
2501 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2502 you have headers in a nonstandard directory <include dir>
2503 CXX C++ compiler command
2504 CXXFLAGS C++ compiler flags
2505 OBJC Objective C compiler command
2506 OBJCFLAGS Objective C compiler flags
2508 C compiler flags for the PE faudio, overriding the bundled
2511 Linker flags for the PE faudio, overriding the bundled version
2513 C compiler flags for the PE gsm, overriding the bundled version
2514 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2516 C compiler flags for the PE jpeg, overriding the bundled version
2518 Linker flags for the PE jpeg, overriding the bundled version
2520 C compiler flags for the PE jxr, overriding the bundled version
2521 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2523 C compiler flags for the PE lcms2, overriding the bundled
2526 Linker flags for the PE lcms2, overriding the bundled version
2528 C compiler flags for the PE ldap, overriding the bundled version
2530 Linker flags for the PE ldap, overriding the bundled version
2532 C compiler flags for the PE mpg123, overriding the bundled
2535 Linker flags for the PE mpg123, overriding the bundled version
2537 C compiler flags for the PE musl, overriding the bundled version
2539 Linker flags for the PE musl, overriding the bundled version
2541 C compiler flags for the PE png, overriding the bundled version
2542 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2544 C compiler flags for the PE tiff, overriding the bundled version
2546 Linker flags for the PE tiff, overriding the bundled version
2548 C compiler flags for the PE vkd3d, overriding the bundled
2551 Linker flags for the PE vkd3d, overriding the bundled version
2553 C compiler flags for the PE xml2, overriding the bundled version
2555 Linker flags for the PE xml2, overriding the bundled version
2557 C compiler flags for the PE xslt, overriding the bundled version
2559 Linker flags for the PE xslt, overriding the bundled version
2561 C compiler flags for the PE zlib, overriding the bundled version
2563 Linker flags for the PE zlib, overriding the bundled version
2565 C compiler flags for the PE zydis, overriding the bundled
2568 Linker flags for the PE zydis, overriding the bundled version
2569 XMKMF Path to xmkmf, Makefile generator for X Window System
2571 WAYLAND_CLIENT_CFLAGS
2572 C compiler flags for wayland-client, overriding pkg-config
2574 Linker flags for wayland-client, overriding pkg-config
2576 C compiler flags for libinotify, overriding pkg-config
2578 Linker flags for libinotify, overriding pkg-config
2579 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2580 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2582 C compiler flags for gnutls, overriding pkg-config
2583 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2584 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2585 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2586 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2587 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2589 C compiler flags for libgphoto2, overriding pkg-config
2591 Linker flags for libgphoto2, overriding pkg-config
2593 C compiler flags for libgphoto2_port, overriding pkg-config
2595 Linker flags for libgphoto2_port, overriding pkg-config
2597 C compiler flags for freetype2, overriding pkg-config
2599 Linker flags for freetype2, overriding pkg-config
2601 C compiler flags for libpulse, overriding pkg-config
2602 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2604 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2605 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2607 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2608 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2609 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2610 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2612 C compiler flags for libunwind, overriding pkg-config
2613 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2614 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2615 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2617 C compiler flags for capi20, overriding pkg-config
2618 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2619 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2620 CUPS_LIBS Linker flags for cups, overriding pkg-config
2622 C compiler flags for fontconfig, overriding pkg-config
2624 Linker flags for fontconfig, overriding pkg-config
2625 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2626 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2628 C compiler flags for krb5-gssapi, overriding pkg-config
2629 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2631 C compiler flags for netapi, overriding pkg-config
2632 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2634 Use these variables to override the choices made by `configure' or to
help
2635 it to
find libraries and programs with nonstandard names
/locations.
2637 Report bugs to
<wine-devel@winehq.org
>.
2638 Wine home page
: <https
://www.winehq.org
>.
2643 if test "$ac_init_help" = "recursive"; then
2644 # If there are subdirs, report their specific --help.
2645 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2646 test -d "$ac_dir" ||
2647 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2652 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2654 ac_dir_suffix
=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2655 # A ".." for each directory in $ac_dir_suffix.
2656 ac_top_builddir_sub
=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2657 case $ac_top_builddir_sub in
2658 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2659 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2662 ac_abs_top_builddir
=$ac_pwd
2663 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2664 # for backward compatibility:
2665 ac_top_builddir
=$ac_top_build_prefix
2668 .
) # We are building in place.
2670 ac_top_srcdir
=$ac_top_builddir_sub
2671 ac_abs_top_srcdir
=$ac_pwd ;;
2672 [\\/]* | ?
:[\\/]* ) # Absolute name.
2673 ac_srcdir
=$srcdir$ac_dir_suffix;
2674 ac_top_srcdir
=$srcdir
2675 ac_abs_top_srcdir
=$srcdir ;;
2677 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2678 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2679 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2681 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2683 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2684 # Check for configure.gnu first; this name is used for a wrapper for
2685 # Metaconfig's "Configure" on case-insensitive file systems.
2686 if test -f "$ac_srcdir/configure.gnu"; then
2688 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2689 elif test -f "$ac_srcdir/configure"; then
2691 $SHELL "$ac_srcdir/configure" --help=recursive
2693 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2695 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2699 test -n "$ac_init_help" && exit $ac_status
2700 if $ac_init_version; then
2703 generated by GNU Autoconf
2.71
2705 Copyright
(C
) 2021 Free Software Foundation
, Inc.
2706 This configure
script is free software
; the Free Software Foundation
2707 gives unlimited permission to copy
, distribute and modify it.
2712 ## ------------------------ ##
2713 ## Autoconf initialization. ##
2714 ## ------------------------ ##
2716 # ac_fn_c_try_compile LINENO
2717 # --------------------------
2718 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2719 ac_fn_c_try_compile
()
2721 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2722 rm -f conftest.
$ac_objext conftest.beam
2723 if { { ac_try
="$ac_compile"
2725 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2726 *) ac_try_echo=$ac_try;;
2728 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2729 printf "%s\n" "$ac_try_echo"; } >&5
2730 (eval "$ac_compile") 2>conftest.err
2732 if test -s conftest.err; then
2733 grep -v '^ *+' conftest.err >conftest.er1
2734 cat conftest.er1 >&5
2735 mv -f conftest.er1 conftest.err
2737 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2738 test $ac_status = 0; } && {
2739 test -z "$ac_c_werror_flag" ||
2740 test ! -s conftest.err
2741 } && test -s conftest.$ac_objext
2745 printf "%s\n" "$as_me: failed program was:" >&5
2746 sed 's/^/| /' conftest.$ac_ext >&5
2750 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2751 as_fn_set_status $ac_retval
2753 } # ac_fn_c_try_compile
2755 # ac_fn_cxx_try_compile LINENO
2756 # ----------------------------
2757 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2758 ac_fn_cxx_try_compile ()
2760 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2761 rm -f conftest.$ac_objext conftest.beam
2762 if { { ac_try="$ac_compile"
2764 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2765 *) ac_try_echo
=$ac_try;;
2767 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2768 printf "%s\n" "$ac_try_echo"; } >&5
2769 (eval "$ac_compile") 2>conftest.err
2771 if test -s conftest.err
; then
2772 grep -v '^ *+' conftest.err
>conftest.er1
2773 cat conftest.er1
>&5
2774 mv -f conftest.er1 conftest.err
2776 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2777 test $ac_status = 0; } && {
2778 test -z "$ac_cxx_werror_flag" ||
2779 test ! -s conftest.err
2780 } && test -s conftest.
$ac_objext
2784 printf "%s\n" "$as_me: failed program was:" >&5
2785 sed 's/^/| /' conftest.
$ac_ext >&5
2789 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2790 as_fn_set_status
$ac_retval
2792 } # ac_fn_cxx_try_compile
2794 # ac_fn_c_try_link LINENO
2795 # -----------------------
2796 # Try to link conftest.$ac_ext, and return whether this succeeded.
2799 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2800 rm -f conftest.
$ac_objext conftest.beam conftest
$ac_exeext
2801 if { { ac_try
="$ac_link"
2803 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2804 *) ac_try_echo=$ac_try;;
2806 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2807 printf "%s\n" "$ac_try_echo"; } >&5
2808 (eval "$ac_link") 2>conftest.err
2810 if test -s conftest.err; then
2811 grep -v '^ *+' conftest.err >conftest.er1
2812 cat conftest.er1 >&5
2813 mv -f conftest.er1 conftest.err
2815 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2816 test $ac_status = 0; } && {
2817 test -z "$ac_c_werror_flag" ||
2818 test ! -s conftest.err
2819 } && test -s conftest$ac_exeext && {
2820 test "$cross_compiling" = yes ||
2821 test -x conftest$ac_exeext
2826 printf "%s\n" "$as_me: failed program was:" >&5
2827 sed 's/^/| /' conftest.$ac_ext >&5
2831 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2832 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2833 # interfere with the next link command; also delete a directory that is
2834 # left behind by Apple's compiler. We do this before executing the actions.
2835 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2836 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2837 as_fn_set_status $ac_retval
2839 } # ac_fn_c_try_link
2841 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2842 # -------------------------------------------------------
2843 # Tests whether HEADER exists and can be compiled using the include files in
2844 # INCLUDES, setting the cache variable VAR accordingly.
2845 ac_fn_c_check_header_compile ()
2847 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2849 printf %s "checking for $2... " >&6; }
2850 if eval test \${$3+y}
2852 printf %s "(cached) " >&6
2854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2855 /* end confdefs.h. */
2859 if ac_fn_c_try_compile "$LINENO"
2865 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2869 printf "%s\n" "$ac_res" >&6; }
2870 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2872 } # ac_fn_c_check_header_compile
2874 # ac_fn_objc_try_compile LINENO
2875 # -----------------------------
2876 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2877 ac_fn_objc_try_compile ()
2879 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2880 rm -f conftest.$ac_objext conftest.beam
2881 if { { ac_try="$ac_compile"
2883 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2884 *) ac_try_echo
=$ac_try;;
2886 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2887 printf "%s\n" "$ac_try_echo"; } >&5
2888 (eval "$ac_compile") 2>conftest.err
2890 if test -s conftest.err
; then
2891 grep -v '^ *+' conftest.err
>conftest.er1
2892 cat conftest.er1
>&5
2893 mv -f conftest.er1 conftest.err
2895 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2896 test $ac_status = 0; } && {
2897 test -z "$ac_objc_werror_flag" ||
2898 test ! -s conftest.err
2899 } && test -s conftest.
$ac_objext
2903 printf "%s\n" "$as_me: failed program was:" >&5
2904 sed 's/^/| /' conftest.
$ac_ext >&5
2908 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2909 as_fn_set_status
$ac_retval
2911 } # ac_fn_objc_try_compile
2913 # ac_fn_c_check_func LINENO FUNC VAR
2914 # ----------------------------------
2915 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2916 ac_fn_c_check_func
()
2918 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2920 printf %s
"checking for $2... " >&6; }
2921 if eval test \
${$3+y}
2923 printf %s
"(cached) " >&6
2925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2926 /* end confdefs.h. */
2927 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2928 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2929 #define $2 innocuous_$2
2931 /* System header to define __stub macros and hopefully few prototypes,
2932 which can conflict with char $2 (); below. */
2937 /* Override any GCC internal prototype to avoid an error.
2938 Use char because int might match the return type of a GCC
2939 builtin and then its argument prototype would still apply. */
2944 /* The GNU C library defines this for functions which it implements
2945 to always fail with ENOSYS. Some functions are actually named
2946 something starting with __ and the normal name is an alias. */
2947 #if defined __stub_$2 || defined __stub___$2
2959 if ac_fn_c_try_link
"$LINENO"
2965 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
2966 conftest
$ac_exeext conftest.
$ac_ext
2969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2970 printf "%s\n" "$ac_res" >&6; }
2971 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2973 } # ac_fn_c_check_func
2975 # ac_fn_c_try_cpp LINENO
2976 # ----------------------
2977 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2980 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2981 if { { ac_try
="$ac_cpp conftest.$ac_ext"
2983 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2984 *) ac_try_echo=$ac_try;;
2986 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2987 printf "%s\n" "$ac_try_echo"; } >&5
2988 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2990 if test -s conftest.err; then
2991 grep -v '^ *+' conftest.err >conftest.er1
2992 cat conftest.er1 >&5
2993 mv -f conftest.er1 conftest.err
2995 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2996 test $ac_status = 0; } > conftest.i && {
2997 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2998 test ! -s conftest.err
3003 printf "%s\n" "$as_me: failed program was:" >&5
3004 sed 's/^/| /' conftest.$ac_ext >&5
3008 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3009 as_fn_set_status $ac_retval
3013 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3014 # ----------------------------------------------------
3015 # Tries to find if the field MEMBER exists in type AGGR, after including
3016 # INCLUDES, setting cache variable VAR accordingly.
3017 ac_fn_c_check_member ()
3019 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3021 printf %s "checking for $2.$3... " >&6; }
3022 if eval test \${$4+y}
3024 printf %s "(cached) " >&6
3026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3027 /* end confdefs.h. */
3039 if ac_fn_c_try_compile "$LINENO"
3043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3044 /* end confdefs.h. */
3050 if (sizeof ac_aggr.$3)
3056 if ac_fn_c_try_compile "$LINENO"
3062 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3064 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3068 printf "%s\n" "$ac_res" >&6; }
3069 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3071 } # ac_fn_c_check_member
3073 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3074 # -------------------------------------------
3075 # Tests whether TYPE exists after having included INCLUDES, setting cache
3076 # variable VAR accordingly.
3077 ac_fn_c_check_type ()
3079 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3081 printf %s "checking for $2... " >&6; }
3082 if eval test \${$3+y}
3084 printf %s "(cached) " >&6
3087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3088 /* end confdefs.h. */
3099 if ac_fn_c_try_compile "$LINENO"
3101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3102 /* end confdefs.h. */
3113 if ac_fn_c_try_compile "$LINENO"
3119 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3121 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3125 printf "%s\n" "$ac_res" >&6; }
3126 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3128 } # ac_fn_c_check_type
3129 ac_configure_args_raw=
3134 ac_arg=`printf "%s\n" "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
3136 as_fn_append ac_configure_args_raw " '$ac_arg'"
3139 case $ac_configure_args_raw in
3143 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3144 ac_unsafe_a="$ac_unsafe_z#~
"
3145 ac_safe_unquote="s
/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g
"
3146 ac_configure_args_raw=` printf "%s
\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3149 cat >config.log <<_ACEOF
3150 This file contains any messages produced by compilers while
3151 running configure, to aid debugging if configure makes a mistake.
3153 It was created by Wine $as_me 8.6, which was
3154 generated by GNU Autoconf 2.71. Invocation command line was
3156 $ $0$ac_configure_args_raw
3166 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3167 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3168 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3169 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3170 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3172 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3173 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3175 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3176 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3177 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3178 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3179 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3180 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3181 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3189 case $as_dir in #(((
3192 *) as_dir=$as_dir/ ;;
3194 printf "%s
\n" "PATH
: $as_dir"
3210 # Keep a trace of the command line.
3211 # Strip out --no-create and --no-recursion so they do not pile up.
3212 # Strip out --silent because we don't want to record it for future runs.
3213 # Also quote any args containing shell meta-characters.
3214 # Make two passes to allow for proper duplicate-argument suppression.
3218 ac_must_keep_next=false
3224 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3225 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3226 | -silent | --silent | --silen | --sile | --sil)
3229 ac_arg=`printf "%s
\n" "$ac_arg" | sed "s
/'/'\\\\\\\\''/g
"` ;;
3232 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3234 as_fn_append ac_configure_args1 " '$ac_arg'"
3235 if test $ac_must_keep_next = true; then
3236 ac_must_keep_next=false # Got value, back to normal.
3239 *=* | --config-cache | -C | -disable-* | --disable-* \
3240 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3241 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3242 | -with-* | --with-* | -without-* | --without-* | --x)
3243 case "$ac_configure_args0 " in
3244 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3247 -* ) ac_must_keep_next=true ;;
3250 as_fn_append ac_configure_args " '$ac_arg'"
3255 { ac_configure_args0=; unset ac_configure_args0;}
3256 { ac_configure_args1=; unset ac_configure_args1;}
3258 # When interrupted or exit'd, cleanup temporary files, and complete
3259 # config.log. We remove comments because anyway the quotes in there
3260 # would cause problems or look ugly.
3261 # WARNING: Use '\'' to represent an apostrophe within the trap.
3262 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3263 trap 'exit_status=$?
3266 # Save into config.log some information that might help in debugging.
3270 printf "%s
\n" "## ---------------- ##
3271 ## Cache variables. ##
3272 ## ---------------- ##"
3274 # The following way of writing the cache mishandles newlines in values,
3276 for ac_var
in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3277 eval ac_val
=\$
$ac_var
3281 *_cv_
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3282 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3285 _ | IFS | as_nl
) ;; #(
3286 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
3287 *) { eval $ac_var=; unset $ac_var;} ;;
3292 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3293 *${as_nl}ac_space
=\
*)
3295 "s/'\''/'\''\\\\'\'''\''/g;
3296 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3299 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3306 printf "%s\n" "## ----------------- ##
3307 ## Output variables. ##
3308 ## ----------------- ##"
3310 for ac_var
in $ac_subst_vars
3312 eval ac_val
=\$
$ac_var
3314 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3316 printf "%s\n" "$ac_var='\''$ac_val'\''"
3320 if test -n "$ac_subst_files"; then
3321 printf "%s\n" "## ------------------- ##
3322 ## File substitutions. ##
3323 ## ------------------- ##"
3325 for ac_var in $ac_subst_files
3327 eval ac_val=\$$ac_var
3329 *\'\''*) ac_val
=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3331 printf "%s\n" "$ac_var='\''$ac_val'\''"
3336 if test -s confdefs.h
; then
3337 printf "%s\n" "## ----------- ##
3344 test "$ac_signal" != 0 &&
3345 printf "%s\n" "$as_me: caught signal $ac_signal"
3346 printf "%s\n" "$as_me: exit $exit_status"
3348 rm -f core
*.core core.conftest.
* &&
3349 rm -f -r conftest
* confdefs
* conf$$
* $ac_clean_files &&
3352 for ac_signal in 1 2 13 15; do
3353 trap 'ac_signal
='$ac_signal'; as_fn_exit
1' $ac_signal
3357 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3358 rm -f -r conftest* confdefs.h
3360 printf "%s\n" "/* confdefs.h */" > confdefs.h
3362 # Predefined preprocessor variables.
3364 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3366 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3368 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3370 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3372 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3374 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3377 # Let the site file select an alternate cache file if it wants to.
3378 # Prefer an explicitly selected file to automatically selected ones.
3379 if test -n "$CONFIG_SITE"; then
3380 ac_site_files="$CONFIG_SITE"
3381 elif test "x$prefix" != xNONE; then
3382 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3384 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3387 for ac_site_file in $ac_site_files
3389 case $ac_site_file in #(
3393 ac_site_file=./$ac_site_file ;;
3395 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3397 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3398 sed 's
/^
/|
/' "$ac_site_file" >&5
3400 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3401 printf "%s
\n" "$as_me: error
: in \
`$ac_pwd':" >&2;}
3402 as_fn_error $? "failed to load site script $ac_site_file
3403 See \`config.log
' for more details" "$LINENO" 5; }
3407 if test -r "$cache_file"; then
3408 # Some versions of bash will fail to source /dev/null (special files
3409 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3410 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3412 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3414 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3415 *) . "./$cache_file";;
3419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3420 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3424 # Test code for whether the C compiler supports C89 (global declarations)
3425 ac_c_conftest_c89_globals='
3426 /* Does the compiler advertise C89 conformance?
3427 Do not
test the value of __STDC__
, because some compilers
set it to
0
3428 while being otherwise adequately conformant.
*/
3429 #if !defined __STDC__
3430 # error "Compiler does not advertise C89 conformance"
3436 /* Most of the following tests are stolen from RCS
5.7 src
/conf.sh.
*/
3437 struct buf
{ int x
; };
3438 struct buf
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
3439 static char
*e
(p
, i
)
3445 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
3450 s
= g
(p
, va_arg
(v
,int
));
3455 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
3456 function prototypes and stuff
, but not \xHH hex character constants.
3457 These
do not provoke an error unfortunately
, instead are silently treated
3458 as an
"x". The following induces an error
, until -std is added to get
3459 proper ANSI mode. Curiously
\x00 != x always comes out true
, for an
3460 array size
at least. It is necessary to
write \x00 == 0 to get something
3461 that is true only with
-std.
*/
3462 int osf4_cc_array
['\''\x00'\'' == 0 ?
1 : -1];
3464 /* IBM C
6 for AIX is almost-ANSI by default
, but it replaces macro parameters
3465 inside
strings and character constants.
*/
3466 #define FOO(x) '\''x'\''
3467 int xlc6_cc_array
[FOO
(a
) == '\''x
'\'' ?
1 : -1];
3469 int
test (int i
, double x
);
3470 struct s1
{int
(*f
) (int a
);};
3471 struct s2
{int
(*f
) (double a
);};
3472 int pairnames
(int
, char
**, int
*(*)(struct buf
*, struct stat
*, int
),
3475 # Test code for whether the C compiler supports C89 (body of main).
3476 ac_c_conftest_c89_main='
3477 ok |
= (argc
== 0 || f
(e
, argv
, 0) != argv
[0] || f
(e
, argv
, 1) != argv
[1]);
3480 # Test code for whether the C compiler supports C99 (global declarations)
3481 ac_c_conftest_c99_globals='
3482 // Does the compiler advertise C99 conformance?
3483 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3484 # error "Compiler does not advertise C99 conformance"
3487 #include <stdbool.h>
3488 extern int puts
(const char
*);
3489 extern int
printf (const char
*, ...
);
3490 extern int dprintf
(int
, const char
*, ...
);
3491 extern void
*malloc
(size_t
);
3493 // Check varargs macros. These examples are taken from C99
6.10.3.5.
3494 // dprintf is used instead of fprintf to avoid needing to
declare
3496 #define debug(...) dprintf (2, __VA_ARGS__)
3497 #define showlist(...) puts (#__VA_ARGS__)
3498 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3500 test_varargs_macros
(void
)
3505 debug
("X = %d\n", x
);
3506 showlist
(The first
, second
, and third items.
);
3507 report
(x
>y
, "x is %d but y is %d", x
, y
);
3510 // Check long long types.
3511 #define BIG64 18446744073709551615ull
3512 #define BIG32 4294967295ul
3513 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3515 #error "your preprocessor is broken"
3519 #error "your preprocessor is broken"
3521 static long long int bignum
= -9223372036854775807LL;
3522 static unsigned long long int ubignum
= BIG64
;
3524 struct incomplete_array
3532 const wchar_t
*name
;
3536 typedef const char
*ccp
;
3539 test_restrict
(ccp restrict text
)
3541 // See
if C
++-style comments work.
3542 // Iterate through items via the restricted pointer.
3543 // Also check
for declarations
in for loops.
3544 for (unsigned int i
= 0; *(text
+i
) != '\''\
0'\''; ++i
)
3549 // Check varargs and va_copy.
3551 test_varargs
(const char
*format
, ...
)
3554 va_start
(args
, format
);
3556 va_copy
(args_copy
, args
);
3558 const char
*str
= "";
3566 case '\''s
'\'': // string
3567 str
= va_arg
(args_copy
, const char
*);
3569 case '\''d
'\'': // int
3570 number
= va_arg
(args_copy
, int
);
3572 case '\''f
'\'': // float
3573 fnumber
= va_arg
(args_copy
, double
);
3582 return *str
&& number
&& fnumber
;
3586 # Test code for whether the C compiler supports C99 (body of main).
3587 ac_c_conftest_c99_main='
3589 _Bool success
= false
;
3590 success |
= (argc
!= 0);
3593 if (test_restrict
("String literal") == 0)
3595 char
*restrict newvar
= "Another string";
3598 success
&= test_varargs
("s, d'\'' f .", "string", 65, 34.234);
3599 test_varargs_macros
();
3601 // Check flexible array members.
3602 struct incomplete_array
*ia
=
3603 malloc
(sizeof
(struct incomplete_array
) + (sizeof
(double
) * 10));
3605 for (int i
= 0; i
< ia-
>datasize
; ++i
)
3606 ia-
>data
[i
] = i
* 1.234;
3608 // Check named initializers.
3609 struct named_init ni
= {
3611 .name
= L
"Test wide string",
3612 .average
= 543.34343,
3617 int dynamic_array
[ni.number
];
3618 dynamic_array
[0] = argv
[0][0];
3619 dynamic_array
[ni.number
- 1] = 543;
3621 // work around unused variable warnings
3622 ok |
= (!success || bignum
== 0LL || ubignum
== 0uLL || newvar
[0] == '\''x
'\''
3623 || dynamic_array
[ni.number
- 1] != 543);
3626 # Test code for whether the C compiler supports C11 (global declarations)
3627 ac_c_conftest_c11_globals='
3628 // Does the compiler advertise C11 conformance?
3629 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3630 # error "Compiler does not advertise C11 conformance"
3634 char _Alignas
(double
) aligned_as_double
;
3635 char _Alignas
(0) no_special_alignment
;
3636 extern char aligned_as_int
;
3637 char _Alignas
(0) _Alignas
(int
) aligned_as_int
;
3642 int_alignment
= _Alignof
(int
),
3643 int_array_alignment
= _Alignof
(int
[100]),
3644 char_alignment
= _Alignof
(char
)
3646 _Static_assert
(0 < -_Alignof (int
), "_Alignof is signed");
3649 int _Noreturn does_not_return
(void
) { for (;;) continue; }
3651 // Check _Static_assert.
3652 struct test_static_assert
3655 _Static_assert
(sizeof
(int
) <= sizeof
(long int
),
3656 "_Static_assert does not work in struct");
3660 // Check UTF-8 literals.
3661 #define u8 syntax error!
3662 char const utf8_literal
[] = u8
"happens to be ASCII" "another string";
3664 // Check duplicate typedefs.
3665 typedef long
*long_ptr
;
3666 typedef long int
*long_ptr
;
3667 typedef long_ptr long_ptr
;
3669 // Anonymous structures and unions
-- taken from C11
6.7.2.1 Example
1.
3673 struct
{ int i
; int j
; };
3674 struct
{ int k
; long int l
; } w
;
3680 # Test code for whether the C compiler supports C11 (body of main).
3681 ac_c_conftest_c11_main='
3682 _Static_assert
((offsetof
(struct anonymous
, i
)
3683 == offsetof
(struct anonymous
, w.k
)),
3684 "Anonymous union alignment botch");
3690 # Test code for whether the C compiler supports C11 (complete).
3691 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3692 ${ac_c_conftest_c99_globals}
3693 ${ac_c_conftest_c11_globals}
3696 main (int argc, char **argv)
3699 ${ac_c_conftest_c89_main}
3700 ${ac_c_conftest_c99_main}
3701 ${ac_c_conftest_c11_main}
3706 # Test code for whether the C compiler supports C99 (complete).
3707 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3708 ${ac_c_conftest_c99_globals}
3711 main (int argc, char **argv)
3714 ${ac_c_conftest_c89_main}
3715 ${ac_c_conftest_c99_main}
3720 # Test code for whether the C compiler supports C89 (complete).
3721 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3724 main (int argc, char **argv)
3727 ${ac_c_conftest_c89_main}
3732 # Test code for whether the C++ compiler supports C++98 (global declarations)
3733 ac_cxx_conftest_cxx98_globals='
3734 // Does the compiler advertise C
++98 conformance?
3735 #if !defined __cplusplus || __cplusplus < 199711L
3736 # error "Compiler does not advertise C++98 conformance"
3739 // These inclusions are to reject old compilers that
3740 // lack the unsuffixed header files.
3742 #include <exception>
3744 // <cassert
> and
<cstring
> are
*not
* freestanding headers
in C
++98.
3745 extern void assert
(int
);
3747 extern int strcmp
(const char
*, const char
*);
3750 // Namespaces
, exceptions
, and templates were all added after
"C++ 2.0".
3751 using std
::exception
;
3756 void test_exception_syntax
()
3760 } catch
(const char
*s
) {
3761 // Extra parentheses suppress a warning when building autoconf itself
,
3762 // due to lint rules shared with
more typical C programs.
3763 assert
(!(strcmp
) (s
, "test"));
3767 template
<typename T
> struct test_template
3770 explicit test_template
(T t
) : val
(t
) {}
3771 template
<typename U
> T add
(U u
) { return static_cast
<T
>(u
) + val
; }
3774 } // anonymous namespace
3777 # Test code for whether the C++ compiler supports C++98 (body of main)
3778 ac_cxx_conftest_cxx98_main='
3782 test_exception_syntax
();
3783 test_template
<double
> tt
(2.0);
3784 assert
(tt.add
(4) == 6.0);
3785 assert
(true
&& !false
);
3789 # Test code for whether the C++ compiler supports C++11 (global declarations)
3790 ac_cxx_conftest_cxx11_globals='
3791 // Does the compiler advertise C
++ 2011 conformance?
3792 #if !defined __cplusplus || __cplusplus < 201103L
3793 # error "Compiler does not advertise C++11 conformance"
3798 constexpr int get_val
() { return 20; }
3809 delegate
(int n
) : n
(n
) {}
3810 delegate
(): delegate
(2354) {}
3812 virtual int getval
() { return this-
>n
; };
3817 class overridden
: public delegate
3820 overridden
(int n
): delegate
(n
) {}
3821 virtual int getval
() override final
{ return this-
>n
* 2; }
3827 nocopy
(int i
): i
(i
) {}
3829 nocopy
(const nocopy
&) = delete
;
3830 nocopy
& operator
=(const nocopy
&) = delete
;
3835 // for testing lambda expressions
3836 template
<typename Ret
, typename Fn
> Ret
eval(Fn f
, Ret v
)
3841 // for testing variadic templates and trailing
return types
3842 template
<typename V
> auto
sum(V first
) -> V
3846 template
<typename V
, typename... Args
> auto
sum(V first
, Args... rest
) -> V
3848 return first
+ sum(rest...
);
3853 # Test code for whether the C++ compiler supports C++11 (body of main)
3854 ac_cxx_conftest_cxx11_main='
3856 // Test auto and decltype
3858 auto a2
= 48573953.4;
3859 auto a3
= "String literal";
3862 for (auto i
= a3
; *i
; ++i
) { total
+= *i
; }
3864 decltype
(a2
) a4
= 34895.034;
3868 short sa
[cxx11test
::get_val
()] = { 0 };
3871 // Test initializer lists
3872 cxx11test
::testinit il
= { 4323, 435234.23544 };
3875 // Test range-based
for
3876 int array
[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3877 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3878 for (auto
&x
: array
) { x
+= 23; }
3881 // Test lambda expressions
3882 using cxx11test
::eval;
3883 assert
(eval ([](int x
) { return x
*2; }, 21) == 42);
3885 assert
(eval ([&](double x
) { return d
+= x
; }, 3.0) == 5.0);
3887 assert
(eval ([=](double x
) mutable
{ return d
+= x
; }, 4.0) == 9.0);
3891 // Test use of variadic templates
3892 using cxx11test
::sum;
3895 auto c
= sum(1.0, 2.0, 3.0);
3898 // Test constructor delegation
3899 cxx11test
::delegate d1
;
3900 cxx11test
::delegate d2
();
3901 cxx11test
::delegate d3
(45);
3904 // Test override and final
3905 cxx11test
::overridden o1
(55464);
3912 // Test template brackets
3913 test_template
<::test_template
<int
>> v
(test_template
<int
>(12));
3917 char const
*utf8
= u8
"UTF-8 string \u2500";
3918 char16_t const
*utf16
= u
"UTF-8 string \u2500";
3919 char32_t const
*utf32
= U
"UTF-32 string \u2500";
3923 # Test code for whether the C compiler supports C++11 (complete).
3924 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3925 ${ac_cxx_conftest_cxx11_globals}
3928 main (int argc, char **argv)
3931 ${ac_cxx_conftest_cxx98_main}
3932 ${ac_cxx_conftest_cxx11_main}
3937 # Test code for whether the C compiler supports C++98 (complete).
3938 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3940 main (int argc, char **argv)
3943 ${ac_cxx_conftest_cxx98_main}
3948 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3949 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3950 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3951 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3952 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3953 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3954 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3955 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3956 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3958 # Auxiliary files required by this configure script.
3959 ac_aux_files="config.guess config.sub"
3961 # Locations in which to look for auxiliary files.
3962 ac_aux_dir_candidates="${srcdir}/tools"
3964 # Search for a directory containing all of the required auxiliary files,
3965 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3966 # If we don't
find one directory that contains all the files we need
,
3967 # we report the set of missing files from the *first* directory in
3968 # $ac_aux_dir_candidates and give up.
3969 ac_missing_aux_files
=""
3970 ac_first_candidate
=:
3971 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3972 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3974 for as_dir
in $ac_aux_dir_candidates
3977 case $as_dir in #(((
3980 *) as_dir
=$as_dir/ ;;
3984 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3985 ac_aux_dir_found
=yes
3987 for ac_aux
in $ac_aux_files
3989 # As a special case, if "install-sh" is required, that requirement
3990 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3991 # and $ac_install_sh is set appropriately for whichever one is found.
3992 if test x
"$ac_aux" = x
"install-sh"
3994 if test -f "${as_dir}install-sh"; then
3995 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
3996 ac_install_sh
="${as_dir}install-sh -c"
3997 elif test -f "${as_dir}install.sh"; then
3998 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
3999 ac_install_sh
="${as_dir}install.sh -c"
4000 elif test -f "${as_dir}shtool"; then
4001 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
4002 ac_install_sh
="${as_dir}shtool install -c"
4005 if $ac_first_candidate; then
4006 ac_missing_aux_files
="${ac_missing_aux_files} install-sh"
4012 if test -f "${as_dir}${ac_aux}"; then
4013 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
4016 if $ac_first_candidate; then
4017 ac_missing_aux_files
="${ac_missing_aux_files} ${ac_aux}"
4024 if test "$ac_aux_dir_found" = yes; then
4025 ac_aux_dir
="$as_dir"
4028 ac_first_candidate
=false
4037 as_fn_error $?
"cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4041 # These three variables are undocumented and unsupported,
4042 # and are intended to be withdrawn in a future Autoconf release.
4043 # They can cause serious problems if a builder's source tree is in a directory
4044 # whose full name contains unusual characters.
4045 if test -f "${ac_aux_dir}config.guess"; then
4046 ac_config_guess
="$SHELL ${ac_aux_dir}config.guess"
4048 if test -f "${ac_aux_dir}config.sub"; then
4049 ac_config_sub
="$SHELL ${ac_aux_dir}config.sub"
4051 if test -f "$ac_aux_dir/configure"; then
4052 ac_configure
="$SHELL ${ac_aux_dir}configure"
4055 # Check that the precious variables saved in the cache have kept the same
4057 ac_cache_corrupted
=false
4058 for ac_var
in $ac_precious_vars; do
4059 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
4060 eval ac_new_set
=\
$ac_env_${ac_var}_set
4061 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
4062 eval ac_new_val
=\
$ac_env_${ac_var}_value
4063 case $ac_old_set,$ac_new_set in
4065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4066 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4067 ac_cache_corrupted
=: ;;
4069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4070 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4071 ac_cache_corrupted
=: ;;
4074 if test "x$ac_old_val" != "x$ac_new_val"; then
4075 # differences in whitespace do not lead to failure.
4076 ac_old_val_w
=`echo x $ac_old_val`
4077 ac_new_val_w
=`echo x $ac_new_val`
4078 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4080 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4081 ac_cache_corrupted
=:
4083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4084 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4085 eval $ac_var=\
$ac_old_val
4087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4088 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4090 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4093 # Pass precious variables to config.status.
4094 if test "$ac_new_set" = set; then
4096 *\'*) ac_arg
=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4097 *) ac_arg
=$ac_var=$ac_new_val ;;
4099 case " $ac_configure_args " in
4100 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4101 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
4105 if $ac_cache_corrupted; then
4106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4107 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4109 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4110 as_fn_error $?
"run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4111 and start over" "$LINENO" 5
4113 ## -------------------- ##
4114 ## Main body of script. ##
4115 ## -------------------- ##
4118 ac_cpp
='$CPP $CPPFLAGS'
4119 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4120 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4121 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4125 ac_config_headers
="$ac_config_headers include/config.h"
4129 libwine_version
="1.0"
4132 # Check whether --enable-archs was given.
4133 if test ${enable_archs+y}
4135 enableval
=$enable_archs;
4138 # Check whether --enable-win16 was given.
4139 if test ${enable_win16+y}
4141 enableval
=$enable_win16;
4144 # Check whether --enable-win64 was given.
4145 if test ${enable_win64+y}
4147 enableval
=$enable_win64;
4150 # Check whether --enable-tests was given.
4151 if test ${enable_tests+y}
4153 enableval
=$enable_tests;
4156 # Check whether --enable-build-id was given.
4157 if test ${enable_build_id+y}
4159 enableval
=$enable_build_id;
4162 # Check whether --enable-maintainer-mode was given.
4163 if test ${enable_maintainer_mode+y}
4165 enableval
=$enable_maintainer_mode;
4168 # Check whether --enable-silent-rules was given.
4169 if test ${enable_silent_rules+y}
4171 enableval
=$enable_silent_rules;
4174 # Check whether --enable-werror was given.
4175 if test ${enable_werror+y}
4177 enableval
=$enable_werror;
4182 # Check whether --with-alsa was given.
4183 if test ${with_alsa+y}
4189 # Check whether --with-capi was given.
4190 if test ${with_capi+y}
4196 # Check whether --with-coreaudio was given.
4197 if test ${with_coreaudio+y}
4199 withval
=$with_coreaudio;
4203 # Check whether --with-cups was given.
4204 if test ${with_cups+y}
4210 # Check whether --with-dbus was given.
4211 if test ${with_dbus+y}
4217 # Check whether --with-float-abi was given.
4218 if test ${with_float_abi+y}
4220 withval
=$with_float_abi;
4224 # Check whether --with-fontconfig was given.
4225 if test ${with_fontconfig+y}
4227 withval
=$with_fontconfig;
4231 # Check whether --with-freetype was given.
4232 if test ${with_freetype+y}
4234 withval
=$with_freetype;
4238 # Check whether --with-gettext was given.
4239 if test ${with_gettext+y}
4241 withval
=$with_gettext;
4245 # Check whether --with-gettextpo was given.
4246 if test ${with_gettextpo+y}
4248 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
4252 # Check whether --with-gphoto was given.
4253 if test ${with_gphoto+y}
4255 withval
=$with_gphoto;
4259 # Check whether --with-gnutls was given.
4260 if test ${with_gnutls+y}
4262 withval
=$with_gnutls;
4266 # Check whether --with-gssapi was given.
4267 if test ${with_gssapi+y}
4269 withval
=$with_gssapi;
4273 # Check whether --with-gstreamer was given.
4274 if test ${with_gstreamer+y}
4276 withval
=$with_gstreamer;
4280 # Check whether --with-inotify was given.
4281 if test ${with_inotify+y}
4283 withval
=$with_inotify;
4287 # Check whether --with-krb5 was given.
4288 if test ${with_krb5+y}
4294 # Check whether --with-mingw was given.
4295 if test ${with_mingw+y}
4297 withval
=$with_mingw;
4301 # Check whether --with-netapi was given.
4302 if test ${with_netapi+y}
4304 withval
=$with_netapi;
4308 # Check whether --with-opencl was given.
4309 if test ${with_opencl+y}
4311 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
4315 # Check whether --with-opengl was given.
4316 if test ${with_opengl+y}
4318 withval
=$with_opengl;
4322 # Check whether --with-osmesa was given.
4323 if test ${with_osmesa+y}
4325 withval
=$with_osmesa;
4329 # Check whether --with-oss was given.
4330 if test ${with_oss+y}
4336 # Check whether --with-pcap was given.
4337 if test ${with_pcap+y}
4339 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
4343 # Check whether --with-pcsclite was given.
4344 if test ${with_pcsclite+y}
4346 withval
=$with_pcsclite;
4350 # Check whether --with-pthread was given.
4351 if test ${with_pthread+y}
4353 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
4357 # Check whether --with-pulse was given.
4358 if test ${with_pulse+y}
4360 withval
=$with_pulse;
4364 # Check whether --with-sane was given.
4365 if test ${with_sane+y}
4371 # Check whether --with-sdl was given.
4372 if test ${with_sdl+y}
4378 # Check whether --with-udev was given.
4379 if test ${with_udev+y}
4385 # Check whether --with-unwind was given.
4386 if test ${with_unwind+y}
4388 withval
=$with_unwind;
4392 # Check whether --with-usb was given.
4393 if test ${with_usb+y}
4399 # Check whether --with-v4l2 was given.
4400 if test ${with_v4l2+y}
4406 # Check whether --with-vulkan was given.
4407 if test ${with_vulkan+y}
4409 withval
=$with_vulkan;
4413 # Check whether --with-wayland was given.
4414 if test ${with_wayland+y}
4416 withval
=$with_wayland;
4420 # Check whether --with-xcomposite was given.
4421 if test ${with_xcomposite+y}
4423 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
4427 # Check whether --with-xcursor was given.
4428 if test ${with_xcursor+y}
4430 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
4434 # Check whether --with-xfixes was given.
4435 if test ${with_xfixes+y}
4437 withval
=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h
=no
; fi
4441 # Check whether --with-xinerama was given.
4442 if test ${with_xinerama+y}
4444 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
4448 # Check whether --with-xinput was given.
4449 if test ${with_xinput+y}
4451 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
4455 # Check whether --with-xinput2 was given.
4456 if test ${with_xinput2+y}
4458 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
4462 # Check whether --with-xrandr was given.
4463 if test ${with_xrandr+y}
4465 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
4469 # Check whether --with-xrender was given.
4470 if test ${with_xrender+y}
4472 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
4476 # Check whether --with-xshape was given.
4477 if test ${with_xshape+y}
4479 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
4483 # Check whether --with-xshm was given.
4484 if test ${with_xshm+y}
4486 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
4490 # Check whether --with-xxf86vm was given.
4491 if test ${with_xxf86vm+y}
4493 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
4498 # Check whether --with-system-dllpath was given.
4499 if test ${with_system_dllpath+y}
4501 withval
=$with_system_dllpath; system_dllpath
=$withval
4506 # Check whether --with-wine-tools was given.
4507 if test ${with_wine_tools+y}
4509 withval
=$with_wine_tools;
4513 # Check whether --with-wine64 was given.
4514 if test ${with_wine64+y}
4516 withval
=$with_wine64;
4523 # Make sure we can run config.sub.
4524 $SHELL "${ac_aux_dir}config.sub" sun4
>/dev
/null
2>&1 ||
4525 as_fn_error $?
"cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4528 printf %s
"checking build system type... " >&6; }
4529 if test ${ac_cv_build+y}
4531 printf %s
"(cached) " >&6
4533 ac_build_alias
=$build_alias
4534 test "x$ac_build_alias" = x
&&
4535 ac_build_alias
=`$SHELL "${ac_aux_dir}config.guess"`
4536 test "x$ac_build_alias" = x
&&
4537 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
4538 ac_cv_build
=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4539 as_fn_error $?
"$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4543 printf "%s\n" "$ac_cv_build" >&6; }
4544 case $ac_cv_build in
4546 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
4549 ac_save_IFS
=$IFS; IFS
='-'
4555 # Remember, the first character of IFS is used to create $*,
4556 # except with old shells:
4559 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
4562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4563 printf %s
"checking host system type... " >&6; }
4564 if test ${ac_cv_host+y}
4566 printf %s
"(cached) " >&6
4568 if test "x$host_alias" = x
; then
4569 ac_cv_host
=$ac_cv_build
4571 ac_cv_host
=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4572 as_fn_error $?
"$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4577 printf "%s\n" "$ac_cv_host" >&6; }
4580 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
4583 ac_save_IFS
=$IFS; IFS
='-'
4589 # Remember, the first character of IFS is used to create $*,
4590 # except with old shells:
4593 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4597 dlldir
=\
${libdir}/wine
4599 fontdir
=\
${datadir}/wine
/fonts
4601 nlsdir
=\
${datadir}/wine
/nls
4606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4607 printf %s
"checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4609 ac_make
=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4610 if eval test \
${ac_cv_prog_make_${ac_make}_set+y}
4612 printf %s
"(cached) " >&6
4614 cat >conftest.
make <<\_ACEOF
4617 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4619 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4620 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4622 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4624 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4628 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4630 printf "%s\n" "yes" >&6; }
4633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4634 printf "%s\n" "no" >&6; }
4635 SET_MAKE
="MAKE=${MAKE-make}"
4648 ac_cpp
='$CPP $CPPFLAGS'
4649 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4650 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4651 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4652 if test -n "$ac_tool_prefix"; then
4653 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4654 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4656 printf %s
"checking for $ac_word... " >&6; }
4657 if test ${ac_cv_prog_CC+y}
4659 printf %s
"(cached) " >&6
4661 if test -n "$CC"; then
4662 ac_cv_prog_CC
="$CC" # Let the user override the test.
4664 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4668 case $as_dir in #(((
4671 *) as_dir
=$as_dir/ ;;
4673 for ac_exec_ext
in '' $ac_executable_extensions; do
4674 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4675 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4676 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4686 if test -n "$CC"; then
4687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4688 printf "%s\n" "$CC" >&6; }
4690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4691 printf "%s\n" "no" >&6; }
4696 if test -z "$ac_cv_prog_CC"; then
4698 # Extract the first word of "gcc", so it can be a program name with args.
4699 set dummy gcc
; ac_word
=$2
4700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4701 printf %s
"checking for $ac_word... " >&6; }
4702 if test ${ac_cv_prog_ac_ct_CC+y}
4704 printf %s
"(cached) " >&6
4706 if test -n "$ac_ct_CC"; then
4707 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4709 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4713 case $as_dir in #(((
4716 *) as_dir
=$as_dir/ ;;
4718 for ac_exec_ext
in '' $ac_executable_extensions; do
4719 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4720 ac_cv_prog_ac_ct_CC
="gcc"
4721 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4730 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4731 if test -n "$ac_ct_CC"; then
4732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4733 printf "%s\n" "$ac_ct_CC" >&6; }
4735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4736 printf "%s\n" "no" >&6; }
4739 if test "x$ac_ct_CC" = x
; then
4742 case $cross_compiling:$ac_tool_warned in
4744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4745 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4746 ac_tool_warned
=yes ;;
4754 if test -z "$CC"; then
4755 if test -n "$ac_tool_prefix"; then
4756 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4757 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4759 printf %s
"checking for $ac_word... " >&6; }
4760 if test ${ac_cv_prog_CC+y}
4762 printf %s
"(cached) " >&6
4764 if test -n "$CC"; then
4765 ac_cv_prog_CC
="$CC" # Let the user override the test.
4767 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4771 case $as_dir in #(((
4774 *) as_dir
=$as_dir/ ;;
4776 for ac_exec_ext
in '' $ac_executable_extensions; do
4777 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4778 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4779 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4789 if test -n "$CC"; then
4790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4791 printf "%s\n" "$CC" >&6; }
4793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4794 printf "%s\n" "no" >&6; }
4800 if test -z "$CC"; then
4801 # Extract the first word of "cc", so it can be a program name with args.
4802 set dummy cc
; ac_word
=$2
4803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4804 printf %s
"checking for $ac_word... " >&6; }
4805 if test ${ac_cv_prog_CC+y}
4807 printf %s
"(cached) " >&6
4809 if test -n "$CC"; then
4810 ac_cv_prog_CC
="$CC" # Let the user override the test.
4813 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4817 case $as_dir in #(((
4820 *) as_dir
=$as_dir/ ;;
4822 for ac_exec_ext
in '' $ac_executable_extensions; do
4823 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4824 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4825 ac_prog_rejected
=yes
4829 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4836 if test $ac_prog_rejected = yes; then
4837 # We found a bogon in the path, so make sure we never use it.
4838 set dummy
$ac_cv_prog_CC
4840 if test $# != 0; then
4841 # We chose a different compiler from the bogus one.
4842 # However, it has the same basename, so the bogon will be chosen
4843 # first if we set CC to just the basename; use the full file name.
4845 ac_cv_prog_CC
="$as_dir$ac_word${1+' '}$@"
4851 if test -n "$CC"; then
4852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4853 printf "%s\n" "$CC" >&6; }
4855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4856 printf "%s\n" "no" >&6; }
4861 if test -z "$CC"; then
4862 if test -n "$ac_tool_prefix"; then
4863 for ac_prog
in cl.exe
4865 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4866 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4868 printf %s
"checking for $ac_word... " >&6; }
4869 if test ${ac_cv_prog_CC+y}
4871 printf %s
"(cached) " >&6
4873 if test -n "$CC"; then
4874 ac_cv_prog_CC
="$CC" # Let the user override the test.
4876 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4880 case $as_dir in #(((
4883 *) as_dir
=$as_dir/ ;;
4885 for ac_exec_ext
in '' $ac_executable_extensions; do
4886 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4887 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4888 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4898 if test -n "$CC"; then
4899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4900 printf "%s\n" "$CC" >&6; }
4902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4903 printf "%s\n" "no" >&6; }
4907 test -n "$CC" && break
4910 if test -z "$CC"; then
4912 for ac_prog
in cl.exe
4914 # Extract the first word of "$ac_prog", so it can be a program name with args.
4915 set dummy
$ac_prog; ac_word
=$2
4916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4917 printf %s
"checking for $ac_word... " >&6; }
4918 if test ${ac_cv_prog_ac_ct_CC+y}
4920 printf %s
"(cached) " >&6
4922 if test -n "$ac_ct_CC"; then
4923 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4925 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4929 case $as_dir in #(((
4932 *) as_dir
=$as_dir/ ;;
4934 for ac_exec_ext
in '' $ac_executable_extensions; do
4935 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4936 ac_cv_prog_ac_ct_CC
="$ac_prog"
4937 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4946 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4947 if test -n "$ac_ct_CC"; then
4948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4949 printf "%s\n" "$ac_ct_CC" >&6; }
4951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4952 printf "%s\n" "no" >&6; }
4956 test -n "$ac_ct_CC" && break
4959 if test "x$ac_ct_CC" = x
; then
4962 case $cross_compiling:$ac_tool_warned in
4964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4965 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4966 ac_tool_warned
=yes ;;
4973 if test -z "$CC"; then
4974 if test -n "$ac_tool_prefix"; then
4975 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4976 set dummy
${ac_tool_prefix}clang
; ac_word
=$2
4977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4978 printf %s
"checking for $ac_word... " >&6; }
4979 if test ${ac_cv_prog_CC+y}
4981 printf %s
"(cached) " >&6
4983 if test -n "$CC"; then
4984 ac_cv_prog_CC
="$CC" # Let the user override the test.
4986 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4990 case $as_dir in #(((
4993 *) as_dir
=$as_dir/ ;;
4995 for ac_exec_ext
in '' $ac_executable_extensions; do
4996 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4997 ac_cv_prog_CC
="${ac_tool_prefix}clang"
4998 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5008 if test -n "$CC"; then
5009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5010 printf "%s\n" "$CC" >&6; }
5012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5013 printf "%s\n" "no" >&6; }
5018 if test -z "$ac_cv_prog_CC"; then
5020 # Extract the first word of "clang", so it can be a program name with args.
5021 set dummy clang
; ac_word
=$2
5022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5023 printf %s
"checking for $ac_word... " >&6; }
5024 if test ${ac_cv_prog_ac_ct_CC+y}
5026 printf %s
"(cached) " >&6
5028 if test -n "$ac_ct_CC"; then
5029 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5031 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5035 case $as_dir in #(((
5038 *) as_dir
=$as_dir/ ;;
5040 for ac_exec_ext
in '' $ac_executable_extensions; do
5041 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
5042 ac_cv_prog_ac_ct_CC
="clang"
5043 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5052 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5053 if test -n "$ac_ct_CC"; then
5054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5055 printf "%s\n" "$ac_ct_CC" >&6; }
5057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5058 printf "%s\n" "no" >&6; }
5061 if test "x$ac_ct_CC" = x
; then
5064 case $cross_compiling:$ac_tool_warned in
5066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5067 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5068 ac_tool_warned
=yes ;;
5079 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5080 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5081 as_fn_error $?
"no acceptable C compiler found in \$PATH
5082 See \`config.log' for more details" "$LINENO" 5; }
5084 # Provide some information about the compiler.
5085 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5088 for ac_option
in --version -v -V -qversion -version; do
5089 { { ac_try
="$ac_compiler $ac_option >&5"
5091 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5092 *) ac_try_echo=$ac_try;;
5094 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5095 printf "%s\n" "$ac_try_echo"; } >&5
5096 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5098 if test -s conftest.err; then
5100 ... rest of stderr output deleted ...
5101 10q' conftest.err >conftest.er1
5102 cat conftest.er1 >&5
5104 rm -f conftest.er1 conftest.err
5105 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5106 test $ac_status = 0; }
5109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5110 /* end confdefs.h. */
5120 ac_clean_files_save=$ac_clean_files
5121 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5122 # Try to create an executable without -o first, disregard a.out.
5123 # It will help us diagnose broken compilers, and finding out an intuition
5125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5126 printf %s "checking whether the C compiler works... " >&6; }
5127 ac_link_default=`printf "%s\n" "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
5129 # The possible output files:
5130 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5133 for ac_file in $ac_files
5136 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5137 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5142 if { { ac_try="$ac_link_default"
5144 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5145 *) ac_try_echo
=$ac_try;;
5147 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5148 printf "%s\n" "$ac_try_echo"; } >&5
5149 (eval "$ac_link_default") 2>&5
5151 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5152 test $ac_status = 0; }
5154 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5155 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5156 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5157 # so that the user can short-circuit this test for compilers unknown to
5159 for ac_file
in $ac_files ''
5161 test -f "$ac_file" ||
continue
5163 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
5166 # We found the default executable, but exeext='' is most
5170 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no
;
5172 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
5174 # We set ac_cv_exeext here because the later test for it is not
5175 # safe: cross compilers may not add the suffix if given an `-o'
5176 # argument, so we may need to know it at that point already.
5177 # Even if this section looks crufty: it has the advantage of
5184 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
5189 if test -z "$ac_file"
5191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5192 printf "%s\n" "no" >&6; }
5193 printf "%s\n" "$as_me: failed program was:" >&5
5194 sed 's/^/| /' conftest.
$ac_ext >&5
5196 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5197 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5198 as_fn_error
77 "C compiler cannot create executables
5199 See \`config.log' for more details" "$LINENO" 5; }
5201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5202 printf "%s\n" "yes" >&6; }
5204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5205 printf %s
"checking for C compiler default output file name... " >&6; }
5206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5207 printf "%s\n" "$ac_file" >&6; }
5208 ac_exeext
=$ac_cv_exeext
5210 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
5211 ac_clean_files
=$ac_clean_files_save
5212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5213 printf %s
"checking for suffix of executables... " >&6; }
5214 if { { ac_try
="$ac_link"
5216 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5217 *) ac_try_echo=$ac_try;;
5219 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5220 printf "%s\n" "$ac_try_echo"; } >&5
5221 (eval "$ac_link") 2>&5
5223 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5224 test $ac_status = 0; }
5226 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
5227 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
5228 # work properly (i.e., refer to `conftest.exe'), while it won't with
5230 for ac_file
in conftest.exe conftest conftest.
*; do
5231 test -f "$ac_file" ||
continue
5233 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
5234 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
5240 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5241 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5242 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
5243 See \`config.log' for more details" "$LINENO" 5; }
5245 rm -f conftest conftest
$ac_cv_exeext
5246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5247 printf "%s\n" "$ac_cv_exeext" >&6; }
5249 rm -f conftest.
$ac_ext
5250 EXEEXT
=$ac_cv_exeext
5252 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5253 /* end confdefs.h. */
5258 FILE *f = fopen ("conftest.out", "w");
5259 return ferror (f) || fclose (f) != 0;
5265 ac_clean_files
="$ac_clean_files conftest.out"
5266 # Check that the compiler produces executables we can run. If not, either
5267 # the compiler is broken, or we cross compile.
5268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5269 printf %s
"checking whether we are cross compiling... " >&6; }
5270 if test "$cross_compiling" != yes; then
5271 { { ac_try
="$ac_link"
5273 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5274 *) ac_try_echo=$ac_try;;
5276 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5277 printf "%s\n" "$ac_try_echo"; } >&5
5278 (eval "$ac_link") 2>&5
5280 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5281 test $ac_status = 0; }
5282 if { ac_try='./conftest$ac_cv_exeext'
5283 { { case "(($ac_try" in
5284 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5285 *) ac_try_echo
=$ac_try;;
5287 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5288 printf "%s\n" "$ac_try_echo"; } >&5
5289 (eval "$ac_try") 2>&5
5291 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5292 test $ac_status = 0; }; }; then
5295 if test "$cross_compiling" = maybe
; then
5298 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5299 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5300 as_fn_error
77 "cannot run C compiled programs.
5301 If you meant to cross compile, use \`--host'.
5302 See \`config.log' for more details" "$LINENO" 5; }
5306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5307 printf "%s\n" "$cross_compiling" >&6; }
5309 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
5310 ac_clean_files
=$ac_clean_files_save
5311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5312 printf %s
"checking for suffix of object files... " >&6; }
5313 if test ${ac_cv_objext+y}
5315 printf %s
"(cached) " >&6
5317 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5318 /* end confdefs.h. */
5328 rm -f conftest.o conftest.obj
5329 if { { ac_try
="$ac_compile"
5331 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5332 *) ac_try_echo=$ac_try;;
5334 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5335 printf "%s\n" "$ac_try_echo"; } >&5
5336 (eval "$ac_compile") 2>&5
5338 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5339 test $ac_status = 0; }
5341 for ac_file in conftest.o conftest.obj conftest.*; do
5342 test -f "$ac_file" || continue;
5344 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5345 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5350 printf "%s\n" "$as_me: failed program was:" >&5
5351 sed 's/^/| /' conftest.$ac_ext >&5
5353 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5354 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5355 as_fn_error $? "cannot compute suffix of object files
: cannot compile
5356 See \
`config.log' for more details" "$LINENO" 5; }
5358 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5361 printf "%s\n" "$ac_cv_objext" >&6; }
5362 OBJEXT=$ac_cv_objext
5364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5365 printf %s "checking whether the compiler supports GNU C... " >&6; }
5366 if test ${ac_cv_c_compiler_gnu+y}
5368 printf %s "(cached) " >&6
5370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5371 /* end confdefs.h. */
5384 if ac_fn_c_try_compile "$LINENO"
5390 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5391 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5395 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5398 if test $ac_compiler_gnu = yes; then
5403 ac_test_CFLAGS=${CFLAGS+y}
5404 ac_save_CFLAGS=$CFLAGS
5405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5406 printf %s "checking whether $CC accepts -g... " >&6; }
5407 if test ${ac_cv_prog_cc_g+y}
5409 printf %s "(cached) " >&6
5411 ac_save_c_werror_flag=$ac_c_werror_flag
5412 ac_c_werror_flag=yes
5415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5416 /* end confdefs.h. */
5426 if ac_fn_c_try_compile "$LINENO"
5431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5432 /* end confdefs.h. */
5442 if ac_fn_c_try_compile "$LINENO"
5446 ac_c_werror_flag=$ac_save_c_werror_flag
5448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5449 /* end confdefs.h. */
5459 if ac_fn_c_try_compile "$LINENO"
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
5467 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5468 ac_c_werror_flag=$ac_save_c_werror_flag
5470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5471 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5472 if test $ac_test_CFLAGS; then
5473 CFLAGS=$ac_save_CFLAGS
5474 elif test $ac_cv_prog_cc_g = yes; then
5475 if test "$GCC" = yes; then
5481 if test "$GCC" = yes; then
5488 if test x$ac_prog_cc_stdc = xno
5490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5491 printf %s "checking for $CC option to enable C11 features... " >&6; }
5492 if test ${ac_cv_prog_cc_c11+y}
5494 printf %s "(cached) " >&6
5496 ac_cv_prog_cc_c11=no
5498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5499 /* end confdefs.h. */
5500 $ac_c_conftest_c11_program
5502 for ac_arg in '' -std=gnu11
5504 CC="$ac_save_CC $ac_arg"
5505 if ac_fn_c_try_compile "$LINENO"
5507 ac_cv_prog_cc_c11=$ac_arg
5509 rm -f core conftest.err conftest.$ac_objext conftest.beam
5510 test "x$ac_cv_prog_cc_c11" != "xno" && break
5512 rm -f conftest.$ac_ext
5516 if test "x$ac_cv_prog_cc_c11" = xno
5518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5519 printf "%s\n" "unsupported" >&6; }
5521 if test "x$ac_cv_prog_cc_c11" = x
5523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5524 printf "%s\n" "none needed" >&6; }
5526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5527 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5528 CC="$CC $ac_cv_prog_cc_c11"
5530 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5534 if test x$ac_prog_cc_stdc = xno
5536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5537 printf %s "checking for $CC option to enable C99 features... " >&6; }
5538 if test ${ac_cv_prog_cc_c99+y}
5540 printf %s "(cached) " >&6
5542 ac_cv_prog_cc_c99=no
5544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5545 /* end confdefs.h. */
5546 $ac_c_conftest_c99_program
5548 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5550 CC="$ac_save_CC $ac_arg"
5551 if ac_fn_c_try_compile "$LINENO"
5553 ac_cv_prog_cc_c99=$ac_arg
5555 rm -f core conftest.err conftest.$ac_objext conftest.beam
5556 test "x$ac_cv_prog_cc_c99" != "xno" && break
5558 rm -f conftest.$ac_ext
5562 if test "x$ac_cv_prog_cc_c99" = xno
5564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5565 printf "%s\n" "unsupported" >&6; }
5567 if test "x$ac_cv_prog_cc_c99" = x
5569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5570 printf "%s\n" "none needed" >&6; }
5572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5573 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5574 CC="$CC $ac_cv_prog_cc_c99"
5576 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5580 if test x$ac_prog_cc_stdc = xno
5582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5583 printf %s "checking for $CC option to enable C89 features... " >&6; }
5584 if test ${ac_cv_prog_cc_c89+y}
5586 printf %s "(cached) " >&6
5588 ac_cv_prog_cc_c89=no
5590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5591 /* end confdefs.h. */
5592 $ac_c_conftest_c89_program
5594 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5596 CC="$ac_save_CC $ac_arg"
5597 if ac_fn_c_try_compile "$LINENO"
5599 ac_cv_prog_cc_c89=$ac_arg
5601 rm -f core conftest.err conftest.$ac_objext conftest.beam
5602 test "x$ac_cv_prog_cc_c89" != "xno" && break
5604 rm -f conftest.$ac_ext
5608 if test "x$ac_cv_prog_cc_c89" = xno
5610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5611 printf "%s\n" "unsupported" >&6; }
5613 if test "x$ac_cv_prog_cc_c89" = x
5615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5616 printf "%s\n" "none needed" >&6; }
5618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5619 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5620 CC="$CC $ac_cv_prog_cc_c89"
5622 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5628 ac_cpp='$CPP $CPPFLAGS'
5629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5640 ac_cpp='$CXXCPP $CPPFLAGS'
5641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5644 if test -z "$CXX"; then
5645 if test -n "$CCC"; then
5648 if test -n "$ac_tool_prefix"; then
5649 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5651 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5652 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5654 printf %s "checking for $ac_word... " >&6; }
5655 if test ${ac_cv_prog_CXX+y}
5657 printf %s "(cached) " >&6
5659 if test -n "$CXX"; then
5660 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5666 case $as_dir in #(((
5669 *) as_dir=$as_dir/ ;;
5671 for ac_exec_ext in '' $ac_executable_extensions; do
5672 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5673 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5674 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5684 if test -n "$CXX"; then
5685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5686 printf "%s\n" "$CXX" >&6; }
5688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5689 printf "%s\n" "no" >&6; }
5693 test -n "$CXX" && break
5696 if test -z "$CXX"; then
5698 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5700 # Extract the first word of "$ac_prog", so it can be a program name with args.
5701 set dummy $ac_prog; ac_word=$2
5702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5703 printf %s "checking for $ac_word... " >&6; }
5704 if test ${ac_cv_prog_ac_ct_CXX+y}
5706 printf %s "(cached) " >&6
5708 if test -n "$ac_ct_CXX"; then
5709 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5715 case $as_dir in #(((
5718 *) as_dir=$as_dir/ ;;
5720 for ac_exec_ext in '' $ac_executable_extensions; do
5721 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5722 ac_cv_prog_ac_ct_CXX="$ac_prog"
5723 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5732 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5733 if test -n "$ac_ct_CXX"; then
5734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5735 printf "%s\n" "$ac_ct_CXX" >&6; }
5737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5738 printf "%s\n" "no" >&6; }
5742 test -n "$ac_ct_CXX" && break
5745 if test "x$ac_ct_CXX" = x; then
5748 case $cross_compiling:$ac_tool_warned in
5750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5751 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5752 ac_tool_warned=yes ;;
5760 # Provide some information about the compiler.
5761 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5764 for ac_option in --version -v -V -qversion; do
5765 { { ac_try="$ac_compiler $ac_option >&5"
5767 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5768 *) ac_try_echo
=$ac_try;;
5770 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5771 printf "%s\n" "$ac_try_echo"; } >&5
5772 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5774 if test -s conftest.err
; then
5776 ... rest of stderr output deleted ...
5777 10q' conftest.err
>conftest.er1
5778 cat conftest.er1
>&5
5780 rm -f conftest.er1 conftest.err
5781 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5782 test $ac_status = 0; }
5785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5786 printf %s
"checking whether the compiler supports GNU C++... " >&6; }
5787 if test ${ac_cv_cxx_compiler_gnu+y}
5789 printf %s
"(cached) " >&6
5791 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5792 /* end confdefs.h. */
5805 if ac_fn_cxx_try_compile
"$LINENO"
5811 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5812 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5816 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5817 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5819 if test $ac_compiler_gnu = yes; then
5824 ac_test_CXXFLAGS
=${CXXFLAGS+y}
5825 ac_save_CXXFLAGS
=$CXXFLAGS
5826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5827 printf %s
"checking whether $CXX accepts -g... " >&6; }
5828 if test ${ac_cv_prog_cxx_g+y}
5830 printf %s
"(cached) " >&6
5832 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5833 ac_cxx_werror_flag
=yes
5836 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5837 /* end confdefs.h. */
5847 if ac_fn_cxx_try_compile
"$LINENO"
5849 ac_cv_prog_cxx_g
=yes
5852 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5853 /* end confdefs.h. */
5863 if ac_fn_cxx_try_compile
"$LINENO"
5867 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5869 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5870 /* end confdefs.h. */
5880 if ac_fn_cxx_try_compile
"$LINENO"
5882 ac_cv_prog_cxx_g
=yes
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
5888 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5889 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5892 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5893 if test $ac_test_CXXFLAGS; then
5894 CXXFLAGS
=$ac_save_CXXFLAGS
5895 elif test $ac_cv_prog_cxx_g = yes; then
5896 if test "$GXX" = yes; then
5902 if test "$GXX" = yes; then
5908 ac_prog_cxx_stdcxx
=no
5909 if test x
$ac_prog_cxx_stdcxx = xno
5911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5912 printf %s
"checking for $CXX option to enable C++11 features... " >&6; }
5913 if test ${ac_cv_prog_cxx_cxx11+y}
5915 printf %s
"(cached) " >&6
5917 ac_cv_prog_cxx_cxx11
=no
5919 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5920 /* end confdefs.h. */
5921 $ac_cxx_conftest_cxx11_program
5923 for ac_arg
in '' -std=gnu
++11 -std=gnu
++0x
-std=c
++11 -std=c
++0x
-qlanglvl=extended0x
-AA
5925 CXX
="$ac_save_CXX $ac_arg"
5926 if ac_fn_cxx_try_compile
"$LINENO"
5928 ac_cv_prog_cxx_cxx11
=$ac_arg
5930 rm -f core conftest.err conftest.
$ac_objext conftest.beam
5931 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5933 rm -f conftest.
$ac_ext
5937 if test "x$ac_cv_prog_cxx_cxx11" = xno
5939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5940 printf "%s\n" "unsupported" >&6; }
5942 if test "x$ac_cv_prog_cxx_cxx11" = x
5944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5945 printf "%s\n" "none needed" >&6; }
5947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5948 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5949 CXX
="$CXX $ac_cv_prog_cxx_cxx11"
5951 ac_cv_prog_cxx_stdcxx
=$ac_cv_prog_cxx_cxx11
5952 ac_prog_cxx_stdcxx
=cxx11
5955 if test x
$ac_prog_cxx_stdcxx = xno
5957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5958 printf %s
"checking for $CXX option to enable C++98 features... " >&6; }
5959 if test ${ac_cv_prog_cxx_cxx98+y}
5961 printf %s
"(cached) " >&6
5963 ac_cv_prog_cxx_cxx98
=no
5965 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5966 /* end confdefs.h. */
5967 $ac_cxx_conftest_cxx98_program
5969 for ac_arg
in '' -std=gnu
++98 -std=c
++98 -qlanglvl=extended
-AA
5971 CXX
="$ac_save_CXX $ac_arg"
5972 if ac_fn_cxx_try_compile
"$LINENO"
5974 ac_cv_prog_cxx_cxx98
=$ac_arg
5976 rm -f core conftest.err conftest.
$ac_objext conftest.beam
5977 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
5979 rm -f conftest.
$ac_ext
5983 if test "x$ac_cv_prog_cxx_cxx98" = xno
5985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5986 printf "%s\n" "unsupported" >&6; }
5988 if test "x$ac_cv_prog_cxx_cxx98" = x
5990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5991 printf "%s\n" "none needed" >&6; }
5993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
5994 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
5995 CXX
="$CXX $ac_cv_prog_cxx_cxx98"
5997 ac_cv_prog_cxx_stdcxx
=$ac_cv_prog_cxx_cxx98
5998 ac_prog_cxx_stdcxx
=cxx98
6003 ac_cpp
='$CPP $CPPFLAGS'
6004 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6005 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6006 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6008 if test -n "$ac_tool_prefix"; then
6009 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
6010 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
6011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6012 printf %s
"checking for $ac_word... " >&6; }
6013 if test ${ac_cv_prog_CPPBIN+y}
6015 printf %s
"(cached) " >&6
6017 if test -n "$CPPBIN"; then
6018 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
6020 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6024 case $as_dir in #(((
6027 *) as_dir
=$as_dir/ ;;
6029 for ac_exec_ext
in '' $ac_executable_extensions; do
6030 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6031 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
6032 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6041 CPPBIN
=$ac_cv_prog_CPPBIN
6042 if test -n "$CPPBIN"; then
6043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6044 printf "%s\n" "$CPPBIN" >&6; }
6046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6047 printf "%s\n" "no" >&6; }
6052 if test -z "$ac_cv_prog_CPPBIN"; then
6053 ac_ct_CPPBIN
=$CPPBIN
6054 # Extract the first word of "cpp", so it can be a program name with args.
6055 set dummy cpp
; ac_word
=$2
6056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6057 printf %s
"checking for $ac_word... " >&6; }
6058 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6060 printf %s
"(cached) " >&6
6062 if test -n "$ac_ct_CPPBIN"; then
6063 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
6065 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6069 case $as_dir in #(((
6072 *) as_dir
=$as_dir/ ;;
6074 for ac_exec_ext
in '' $ac_executable_extensions; do
6075 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6076 ac_cv_prog_ac_ct_CPPBIN
="cpp"
6077 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6086 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
6087 if test -n "$ac_ct_CPPBIN"; then
6088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6089 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6092 printf "%s\n" "no" >&6; }
6095 if test "x$ac_ct_CPPBIN" = x
; then
6098 case $cross_compiling:$ac_tool_warned in
6100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6101 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6102 ac_tool_warned
=yes ;;
6104 CPPBIN
=$ac_ct_CPPBIN
6107 CPPBIN
="$ac_cv_prog_CPPBIN"
6111 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6113 if test -n "$ac_tool_prefix"; then
6114 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6115 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
6116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6117 printf %s
"checking for $ac_word... " >&6; }
6118 if test ${ac_cv_prog_LD+y}
6120 printf %s
"(cached) " >&6
6122 if test -n "$LD"; then
6123 ac_cv_prog_LD
="$LD" # Let the user override the test.
6125 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6129 case $as_dir in #(((
6132 *) as_dir
=$as_dir/ ;;
6134 for ac_exec_ext
in '' $ac_executable_extensions; do
6135 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6136 ac_cv_prog_LD
="${ac_tool_prefix}ld"
6137 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6147 if test -n "$LD"; then
6148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6149 printf "%s\n" "$LD" >&6; }
6151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6152 printf "%s\n" "no" >&6; }
6157 if test -z "$ac_cv_prog_LD"; then
6159 # Extract the first word of "ld", so it can be a program name with args.
6160 set dummy ld
; ac_word
=$2
6161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6162 printf %s
"checking for $ac_word... " >&6; }
6163 if test ${ac_cv_prog_ac_ct_LD+y}
6165 printf %s
"(cached) " >&6
6167 if test -n "$ac_ct_LD"; then
6168 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
6170 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6174 case $as_dir in #(((
6177 *) as_dir
=$as_dir/ ;;
6179 for ac_exec_ext
in '' $ac_executable_extensions; do
6180 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6181 ac_cv_prog_ac_ct_LD
="ld"
6182 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6191 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
6192 if test -n "$ac_ct_LD"; then
6193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6194 printf "%s\n" "$ac_ct_LD" >&6; }
6196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6197 printf "%s\n" "no" >&6; }
6200 if test "x$ac_ct_LD" = x
; then
6203 case $cross_compiling:$ac_tool_warned in
6205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6206 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6207 ac_tool_warned
=yes ;;
6218 with_fontconfig
=${with_fontconfig:-no}
6220 *-mingw32*|
*-cygwin*)
6221 enable_win16
=${enable_win16:-no}
6222 with_mingw
=${with_mingw:-no}
6229 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x
"$enable_archs" = x
6234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6235 printf %s
"checking whether $CC works... " >&6; }
6236 if test ${wine_cv_cc_m32+y}
6238 printf %s
"(cached) " >&6
6240 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6241 /* end confdefs.h. */
6251 if ac_fn_c_try_link
"$LINENO"
6257 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6258 conftest
$ac_exeext conftest.
$ac_ext
6260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6261 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6262 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
6264 notice_platform
="32-bit "
6265 TARGETFLAGS
="$TARGETFLAGS -m32"
6266 PKG_CONFIG_LIBDIR
=${PKG_CONFIG_LIBDIR:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6267 export PKG_CONFIG_LIBDIR
6268 with_unwind
=${with_unwind:-no}
6270 if test "x${GCC}" = "xyes"
6272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6273 printf %s
"checking whether $CC supports __builtin_ms_va_list... " >&6; }
6274 if test ${wine_cv_builtin_ms_va_list+y}
6276 printf %s
"(cached) " >&6
6278 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6279 /* end confdefs.h. */
6284 void func(__builtin_ms_va_list *args);
6289 if ac_fn_c_try_compile
"$LINENO"
6291 wine_cv_builtin_ms_va_list
=yes
6293 wine_cv_builtin_ms_va_list
=no
6295 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6298 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6299 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
6304 notice_platform
="64-bit "
6305 TARGETFLAGS
="$TARGETFLAGS -m64"
6309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6310 printf %s
"checking whether $CC supports Thumb-2... " >&6; }
6311 if test ${wine_cv_thumb2+y}
6313 printf %s
"(cached) " >&6
6315 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6316 /* end confdefs.h. */
6321 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6326 if ac_fn_c_try_link
"$LINENO"
6332 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6333 conftest
$ac_exeext conftest.
$ac_ext
6335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6336 printf "%s\n" "$wine_cv_thumb2" >&6; }
6337 if test x
"$wine_cv_thumb2" = xyes
6339 CFLAGS
="$CFLAGS -mthumb"
6340 TARGETFLAGS
="$TARGETFLAGS -mthumb"
6342 CFLAGS
="$CFLAGS -marm"
6343 TARGETFLAGS
="$TARGETFLAGS -marm"
6345 case $with_float_abi in
6347 float_abi
=$with_float_abi ;;
6354 saved_CFLAGS
=$CFLAGS
6355 CFLAGS
="$CFLAGS -mfloat-abi=$float_abi"
6356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6357 printf %s
"checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6358 if test ${wine_cv_float_abi+y}
6360 printf %s
"(cached) " >&6
6362 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6363 /* end confdefs.h. */
6368 asm("vmrs r2,fpscr");
6373 if ac_fn_c_try_link
"$LINENO"
6375 wine_cv_float_abi
=yes
6377 wine_cv_float_abi
=no
6379 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6380 conftest
$ac_exeext conftest.
$ac_ext
6382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6383 printf "%s\n" "$wine_cv_float_abi" >&6; }
6384 if test $wine_cv_float_abi = no
6387 as_fn_append wine_warnings
"|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6389 CFLAGS
=$saved_CFLAGS
6393 CFLAGS
="$CFLAGS -mfloat-abi=$float_abi"
6394 TARGETFLAGS
="$TARGETFLAGS -mfloat-abi=$float_abi"
6397 with_unwind
=${with_unwind:-no}
6401 enable_win16
=${enable_win16:-i386}
6402 enable_win64
=${enable_win64:-no}
6403 enable_wow64
=${enable_wow64:-aarch64,x86_64}
6404 enable_wow64win
=${enable_wow64win:-aarch64,x86_64}
6405 enable_wow64cpu
=${enable_wow64cpu:-x86_64}
6407 enable_winetest
=${enable_winetest:-$enable_tests}
6409 if test "x$enable_win64" = "xyes"
6411 test -z "$with_wine64" || as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
6412 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6416 cygwin
*|mingw32
*) toolsext
=".exe"
6424 aarch64
*) HOST_ARCH
=aarch64
;;
6425 arm
*) HOST_ARCH
=arm
;;
6426 i
[3456789]86*) HOST_ARCH
=i386
;;
6427 x86_64
) HOST_ARCH
=x86_64
;;
6431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6432 printf %s
"checking for the directory containing the Wine tools... " >&6; }
6433 if test ${wine_cv_toolsdir+y}
6435 printf %s
"(cached) " >&6
6437 wine_cv_toolsdir
="$with_wine_tools"
6438 if test -z "$with_wine_tools"; then
6439 if test "$cross_compiling" = "yes"; then
6440 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6441 elif test -n "$with_wine64"; then
6442 wine_cv_toolsdir
="$with_wine64"
6446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6447 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6448 if test -z "$wine_cv_toolsdir"; then
6449 wine_makedep
=tools
/makedep
$toolsext
6450 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6451 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
$toolsext
6452 enable_tools
=${enable_tools:-no}
6453 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6455 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6457 toolsdir
=$wine_cv_toolsdir
6459 MAKEDEP
=$wine_makedep
6461 RUNTESTFLAGS
="-q -P wine"
6463 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'"
6466 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6468 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
6473 # Extract the first word of "$ac_prog", so it can be a program name with args.
6474 set dummy
$ac_prog; ac_word
=$2
6475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6476 printf %s
"checking for $ac_word... " >&6; }
6477 if test ${ac_cv_prog_FLEX+y}
6479 printf %s
"(cached) " >&6
6481 if test -n "$FLEX"; then
6482 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
6484 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6488 case $as_dir in #(((
6491 *) as_dir
=$as_dir/ ;;
6493 for ac_exec_ext
in '' $ac_executable_extensions; do
6494 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6495 ac_cv_prog_FLEX
="$ac_prog"
6496 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6505 FLEX
=$ac_cv_prog_FLEX
6506 if test -n "$FLEX"; then
6507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6508 printf "%s\n" "$FLEX" >&6; }
6510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6511 printf "%s\n" "no" >&6; }
6515 test -n "$FLEX" && break
6517 test -n "$FLEX" || FLEX
="none"
6519 if test "$FLEX" = "none"
6521 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6524 printf %s
"checking whether flex is recent enough... " >&6; }
6525 if test ${wine_cv_recent_flex+y}
6527 printf %s
"(cached) " >&6
6529 cat >conftest.l
<<EOF
6531 #include "prediluvian.h"
6535 if $FLEX -t conftest.l
>/dev
/null
2>&5
6537 wine_cv_recent_flex
=yes
6539 wine_cv_recent_flex
=no
6542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6543 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6544 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
6546 for ac_prog
in bison
6548 # Extract the first word of "$ac_prog", so it can be a program name with args.
6549 set dummy
$ac_prog; ac_word
=$2
6550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6551 printf %s
"checking for $ac_word... " >&6; }
6552 if test ${ac_cv_prog_BISON+y}
6554 printf %s
"(cached) " >&6
6556 if test -n "$BISON"; then
6557 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
6559 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6563 case $as_dir in #(((
6566 *) as_dir
=$as_dir/ ;;
6568 for ac_exec_ext
in '' $ac_executable_extensions; do
6569 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6570 ac_cv_prog_BISON
="$ac_prog"
6571 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6580 BISON
=$ac_cv_prog_BISON
6581 if test -n "$BISON"; then
6582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6583 printf "%s\n" "$BISON" >&6; }
6585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6586 printf "%s\n" "no" >&6; }
6590 test -n "$BISON" && break
6592 test -n "$BISON" || BISON
="none"
6594 if test "$BISON" = "none"
6596 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6599 printf %s
"checking whether bison is recent enough... " >&6; }
6600 if test ${wine_cv_recent_bison+y}
6602 printf %s
"(cached) " >&6
6604 cat >conftest.y
<<EOF
6605 %define parse.error verbose
6609 if $BISON conftest.y
>/dev
/null
2>&5
6611 wine_cv_recent_bison
=yes
6613 wine_cv_recent_bison
=no
6616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6617 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6618 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
6620 if test -n "$ac_tool_prefix"; then
6621 for ac_prog
in ar gar
6623 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6624 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6626 printf %s
"checking for $ac_word... " >&6; }
6627 if test ${ac_cv_prog_AR+y}
6629 printf %s
"(cached) " >&6
6631 if test -n "$AR"; then
6632 ac_cv_prog_AR
="$AR" # Let the user override the test.
6634 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6638 case $as_dir in #(((
6641 *) as_dir
=$as_dir/ ;;
6643 for ac_exec_ext
in '' $ac_executable_extensions; do
6644 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6645 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
6646 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6656 if test -n "$AR"; then
6657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6658 printf "%s\n" "$AR" >&6; }
6660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6661 printf "%s\n" "no" >&6; }
6665 test -n "$AR" && break
6668 if test -z "$AR"; then
6670 for ac_prog
in ar gar
6672 # Extract the first word of "$ac_prog", so it can be a program name with args.
6673 set dummy
$ac_prog; ac_word
=$2
6674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6675 printf %s
"checking for $ac_word... " >&6; }
6676 if test ${ac_cv_prog_ac_ct_AR+y}
6678 printf %s
"(cached) " >&6
6680 if test -n "$ac_ct_AR"; then
6681 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6683 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6687 case $as_dir in #(((
6690 *) as_dir
=$as_dir/ ;;
6692 for ac_exec_ext
in '' $ac_executable_extensions; do
6693 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6694 ac_cv_prog_ac_ct_AR
="$ac_prog"
6695 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6704 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6705 if test -n "$ac_ct_AR"; then
6706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6707 printf "%s\n" "$ac_ct_AR" >&6; }
6709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6710 printf "%s\n" "no" >&6; }
6714 test -n "$ac_ct_AR" && break
6717 if test "x$ac_ct_AR" = x
; then
6720 case $cross_compiling:$ac_tool_warned in
6722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6723 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6724 ac_tool_warned
=yes ;;
6730 if test -n "$ac_tool_prefix"; then
6731 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6732 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6734 printf %s
"checking for $ac_word... " >&6; }
6735 if test ${ac_cv_prog_STRIP+y}
6737 printf %s
"(cached) " >&6
6739 if test -n "$STRIP"; then
6740 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6742 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6746 case $as_dir in #(((
6749 *) as_dir
=$as_dir/ ;;
6751 for ac_exec_ext
in '' $ac_executable_extensions; do
6752 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6753 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6754 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6763 STRIP
=$ac_cv_prog_STRIP
6764 if test -n "$STRIP"; then
6765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6766 printf "%s\n" "$STRIP" >&6; }
6768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6769 printf "%s\n" "no" >&6; }
6774 if test -z "$ac_cv_prog_STRIP"; then
6776 # Extract the first word of "strip", so it can be a program name with args.
6777 set dummy strip
; ac_word
=$2
6778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6779 printf %s
"checking for $ac_word... " >&6; }
6780 if test ${ac_cv_prog_ac_ct_STRIP+y}
6782 printf %s
"(cached) " >&6
6784 if test -n "$ac_ct_STRIP"; then
6785 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6787 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6791 case $as_dir in #(((
6794 *) as_dir
=$as_dir/ ;;
6796 for ac_exec_ext
in '' $ac_executable_extensions; do
6797 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6798 ac_cv_prog_ac_ct_STRIP
="strip"
6799 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6808 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6809 if test -n "$ac_ct_STRIP"; then
6810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6811 printf "%s\n" "$ac_ct_STRIP" >&6; }
6813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6814 printf "%s\n" "no" >&6; }
6817 if test "x$ac_ct_STRIP" = x
; then
6820 case $cross_compiling:$ac_tool_warned in
6822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6823 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6824 ac_tool_warned
=yes ;;
6829 STRIP
="$ac_cv_prog_STRIP"
6832 if test -n "$ac_tool_prefix"; then
6833 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6834 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6836 printf %s
"checking for $ac_word... " >&6; }
6837 if test ${ac_cv_prog_RANLIB+y}
6839 printf %s
"(cached) " >&6
6841 if test -n "$RANLIB"; then
6842 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6844 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6848 case $as_dir in #(((
6851 *) as_dir
=$as_dir/ ;;
6853 for ac_exec_ext
in '' $ac_executable_extensions; do
6854 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6855 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6856 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6865 RANLIB
=$ac_cv_prog_RANLIB
6866 if test -n "$RANLIB"; then
6867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6868 printf "%s\n" "$RANLIB" >&6; }
6870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6871 printf "%s\n" "no" >&6; }
6876 if test -z "$ac_cv_prog_RANLIB"; then
6877 ac_ct_RANLIB
=$RANLIB
6878 # Extract the first word of "ranlib", so it can be a program name with args.
6879 set dummy ranlib
; ac_word
=$2
6880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6881 printf %s
"checking for $ac_word... " >&6; }
6882 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6884 printf %s
"(cached) " >&6
6886 if test -n "$ac_ct_RANLIB"; then
6887 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6889 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6893 case $as_dir in #(((
6896 *) as_dir
=$as_dir/ ;;
6898 for ac_exec_ext
in '' $ac_executable_extensions; do
6899 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6900 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6901 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6910 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6911 if test -n "$ac_ct_RANLIB"; then
6912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6913 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6916 printf "%s\n" "no" >&6; }
6919 if test "x$ac_ct_RANLIB" = x
; then
6922 case $cross_compiling:$ac_tool_warned in
6924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6925 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6926 ac_tool_warned
=yes ;;
6928 RANLIB
=$ac_ct_RANLIB
6931 RANLIB
="$ac_cv_prog_RANLIB"
6934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6935 printf %s
"checking whether ln -s works... " >&6; }
6937 if test "$LN_S" = "ln -s"; then
6938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6939 printf "%s\n" "yes" >&6; }
6941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6942 printf "%s\n" "no, using $LN_S" >&6; }
6945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6946 printf %s
"checking for grep that handles long lines and -e... " >&6; }
6947 if test ${ac_cv_path_GREP+y}
6949 printf %s
"(cached) " >&6
6951 if test -z "$GREP"; then
6952 ac_path_GREP_found
=false
6953 # Loop through the user's path and test for each of PROGNAME-LIST
6954 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6955 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6958 case $as_dir in #(((
6961 *) as_dir
=$as_dir/ ;;
6963 for ac_prog
in grep ggrep
6965 for ac_exec_ext
in '' $ac_executable_extensions; do
6966 ac_path_GREP
="$as_dir$ac_prog$ac_exec_ext"
6967 as_fn_executable_p
"$ac_path_GREP" ||
continue
6968 # Check for GNU ac_path_GREP and select it if it is found.
6969 # Check for GNU $ac_path_GREP
6970 case `"$ac_path_GREP" --version 2>&1` in
6972 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6975 printf %s
0123456789 >"conftest.in"
6978 cat "conftest.in" "conftest.in" >"conftest.tmp"
6979 mv "conftest.tmp" "conftest.in"
6980 cp "conftest.in" "conftest.nl"
6981 printf "%s\n" 'GREP' >> "conftest.nl"
6982 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6983 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6984 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6985 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6986 # Best one so far, save it but keep looking for a better one
6987 ac_cv_path_GREP
="$ac_path_GREP"
6988 ac_path_GREP_max
=$ac_count
6990 # 10*(2^10) chars as input seems more than enough
6991 test $ac_count -gt 10 && break
6993 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6996 $ac_path_GREP_found && break 3
7001 if test -z "$ac_cv_path_GREP"; then
7002 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7005 ac_cv_path_GREP
=$GREP
7009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7010 printf "%s\n" "$ac_cv_path_GREP" >&6; }
7011 GREP
="$ac_cv_path_GREP"
7014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7015 printf %s
"checking for egrep... " >&6; }
7016 if test ${ac_cv_path_EGREP+y}
7018 printf %s
"(cached) " >&6
7020 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
7021 then ac_cv_path_EGREP
="$GREP -E"
7023 if test -z "$EGREP"; then
7024 ac_path_EGREP_found
=false
7025 # Loop through the user's path and test for each of PROGNAME-LIST
7026 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7027 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7030 case $as_dir in #(((
7033 *) as_dir
=$as_dir/ ;;
7035 for ac_prog
in egrep
7037 for ac_exec_ext
in '' $ac_executable_extensions; do
7038 ac_path_EGREP
="$as_dir$ac_prog$ac_exec_ext"
7039 as_fn_executable_p
"$ac_path_EGREP" ||
continue
7040 # Check for GNU ac_path_EGREP and select it if it is found.
7041 # Check for GNU $ac_path_EGREP
7042 case `"$ac_path_EGREP" --version 2>&1` in
7044 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
7047 printf %s
0123456789 >"conftest.in"
7050 cat "conftest.in" "conftest.in" >"conftest.tmp"
7051 mv "conftest.tmp" "conftest.in"
7052 cp "conftest.in" "conftest.nl"
7053 printf "%s\n" 'EGREP' >> "conftest.nl"
7054 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7055 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7056 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7057 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7058 # Best one so far, save it but keep looking for a better one
7059 ac_cv_path_EGREP
="$ac_path_EGREP"
7060 ac_path_EGREP_max
=$ac_count
7062 # 10*(2^10) chars as input seems more than enough
7063 test $ac_count -gt 10 && break
7065 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7068 $ac_path_EGREP_found && break 3
7073 if test -z "$ac_cv_path_EGREP"; then
7074 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7077 ac_cv_path_EGREP
=$EGREP
7082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7083 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7084 EGREP
="$ac_cv_path_EGREP"
7087 # Extract the first word of "ldconfig", so it can be a program name with args.
7088 set dummy ldconfig
; ac_word
=$2
7089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7090 printf %s
"checking for $ac_word... " >&6; }
7091 if test ${ac_cv_path_LDCONFIG+y}
7093 printf %s
"(cached) " >&6
7097 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
7100 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7101 for as_dir
in /sbin
/usr
/sbin
$PATH
7104 case $as_dir in #(((
7107 *) as_dir
=$as_dir/ ;;
7109 for ac_exec_ext
in '' $ac_executable_extensions; do
7110 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7111 ac_cv_path_LDCONFIG
="$as_dir$ac_word$ac_exec_ext"
7112 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7119 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
7123 LDCONFIG
=$ac_cv_path_LDCONFIG
7124 if test -n "$LDCONFIG"; then
7125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7126 printf "%s\n" "$LDCONFIG" >&6; }
7128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7129 printf "%s\n" "no" >&6; }
7133 for ac_prog
in msgfmt
7135 # Extract the first word of "$ac_prog", so it can be a program name with args.
7136 set dummy
$ac_prog; ac_word
=$2
7137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7138 printf %s
"checking for $ac_word... " >&6; }
7139 if test ${ac_cv_prog_MSGFMT+y}
7141 printf %s
"(cached) " >&6
7143 if test -n "$MSGFMT"; then
7144 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
7146 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7150 case $as_dir in #(((
7153 *) as_dir
=$as_dir/ ;;
7155 for ac_exec_ext
in '' $ac_executable_extensions; do
7156 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7157 ac_cv_prog_MSGFMT
="$ac_prog"
7158 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7167 MSGFMT
=$ac_cv_prog_MSGFMT
7168 if test -n "$MSGFMT"; then
7169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7170 printf "%s\n" "$MSGFMT" >&6; }
7172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7173 printf "%s\n" "no" >&6; }
7177 test -n "$MSGFMT" && break
7179 test -n "$MSGFMT" || MSGFMT
="false"
7181 if test ${ac_tool_prefix+y}
7183 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7184 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
7185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7186 printf %s
"checking for $ac_word... " >&6; }
7187 if test ${ac_cv_prog_PKG_CONFIG+y}
7189 printf %s
"(cached) " >&6
7191 if test -n "$PKG_CONFIG"; then
7192 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
7194 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7198 case $as_dir in #(((
7201 *) as_dir
=$as_dir/ ;;
7203 for ac_exec_ext
in '' $ac_executable_extensions; do
7204 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7205 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
7206 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7215 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7216 if test -n "$PKG_CONFIG"; then
7217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7218 printf "%s\n" "$PKG_CONFIG" >&6; }
7220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7221 printf "%s\n" "no" >&6; }
7226 if ${ac_cv_prog_PKG_CONFIG:+false} :
7228 if test "x$cross_compiling" = xyes
7232 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
7233 # Extract the first word of "pkg-config", so it can be a program name with args.
7234 set dummy pkg-config
; ac_word
=$2
7235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7236 printf %s
"checking for $ac_word... " >&6; }
7237 if test ${ac_cv_prog_PKG_CONFIG+y}
7239 printf %s
"(cached) " >&6
7241 if test -n "$PKG_CONFIG"; then
7242 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
7244 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7248 case $as_dir in #(((
7251 *) as_dir
=$as_dir/ ;;
7253 for ac_exec_ext
in '' $ac_executable_extensions; do
7254 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7255 ac_cv_prog_PKG_CONFIG
="pkg-config"
7256 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7265 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7266 if test -n "$PKG_CONFIG"; then
7267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7268 printf "%s\n" "$PKG_CONFIG" >&6; }
7270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7271 printf "%s\n" "no" >&6; }
7277 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7280 if test "x$enable_maintainer_mode" != "xyes"
7287 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
7288 for ac_prog
in fontforge
7290 # Extract the first word of "$ac_prog", so it can be a program name with args.
7291 set dummy
$ac_prog; ac_word
=$2
7292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7293 printf %s
"checking for $ac_word... " >&6; }
7294 if test ${ac_cv_prog_FONTFORGE+y}
7296 printf %s
"(cached) " >&6
7298 if test -n "$FONTFORGE"; then
7299 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
7301 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7305 case $as_dir in #(((
7308 *) as_dir
=$as_dir/ ;;
7310 for ac_exec_ext
in '' $ac_executable_extensions; do
7311 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7312 ac_cv_prog_FONTFORGE
="$ac_prog"
7313 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7322 FONTFORGE
=$ac_cv_prog_FONTFORGE
7323 if test -n "$FONTFORGE"; then
7324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7325 printf "%s\n" "$FONTFORGE" >&6; }
7327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7328 printf "%s\n" "no" >&6; }
7332 test -n "$FONTFORGE" && break
7334 test -n "$FONTFORGE" || FONTFORGE
="false"
7336 for ac_prog
in rsvg-convert rsvg
7338 # Extract the first word of "$ac_prog", so it can be a program name with args.
7339 set dummy
$ac_prog; ac_word
=$2
7340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7341 printf %s
"checking for $ac_word... " >&6; }
7342 if test ${ac_cv_prog_RSVG+y}
7344 printf %s
"(cached) " >&6
7346 if test -n "$RSVG"; then
7347 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
7349 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7353 case $as_dir in #(((
7356 *) as_dir
=$as_dir/ ;;
7358 for ac_exec_ext
in '' $ac_executable_extensions; do
7359 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7360 ac_cv_prog_RSVG
="$ac_prog"
7361 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7370 RSVG
=$ac_cv_prog_RSVG
7371 if test -n "$RSVG"; then
7372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7373 printf "%s\n" "$RSVG" >&6; }
7375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7376 printf "%s\n" "no" >&6; }
7380 test -n "$RSVG" && break
7382 test -n "$RSVG" || RSVG
="false"
7384 for ac_prog
in convert
7386 # Extract the first word of "$ac_prog", so it can be a program name with args.
7387 set dummy
$ac_prog; ac_word
=$2
7388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7389 printf %s
"checking for $ac_word... " >&6; }
7390 if test ${ac_cv_prog_CONVERT+y}
7392 printf %s
"(cached) " >&6
7394 if test -n "$CONVERT"; then
7395 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
7397 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7401 case $as_dir in #(((
7404 *) as_dir
=$as_dir/ ;;
7406 for ac_exec_ext
in '' $ac_executable_extensions; do
7407 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7408 ac_cv_prog_CONVERT
="$ac_prog"
7409 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7418 CONVERT
=$ac_cv_prog_CONVERT
7419 if test -n "$CONVERT"; then
7420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7421 printf "%s\n" "$CONVERT" >&6; }
7423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7424 printf "%s\n" "no" >&6; }
7428 test -n "$CONVERT" && break
7430 test -n "$CONVERT" || CONVERT
="false"
7432 for ac_prog
in icotool
7434 # Extract the first word of "$ac_prog", so it can be a program name with args.
7435 set dummy
$ac_prog; ac_word
=$2
7436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7437 printf %s
"checking for $ac_word... " >&6; }
7438 if test ${ac_cv_prog_ICOTOOL+y}
7440 printf %s
"(cached) " >&6
7442 if test -n "$ICOTOOL"; then
7443 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
7445 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7449 case $as_dir in #(((
7452 *) as_dir
=$as_dir/ ;;
7454 for ac_exec_ext
in '' $ac_executable_extensions; do
7455 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7456 ac_cv_prog_ICOTOOL
="$ac_prog"
7457 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7466 ICOTOOL
=$ac_cv_prog_ICOTOOL
7467 if test -n "$ICOTOOL"; then
7468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7469 printf "%s\n" "$ICOTOOL" >&6; }
7471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7472 printf "%s\n" "no" >&6; }
7476 test -n "$ICOTOOL" && break
7478 test -n "$ICOTOOL" || ICOTOOL
="false"
7480 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7481 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7483 if test "$CONVERT" = false
7485 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7488 printf %s
"checking for recent enough imagemagick... " >&6; }
7489 convert_version
=`convert --version | head -n1`
7490 if test "x$convert_version" != "x"
7492 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7493 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7494 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7499 if test "$CONVERT" = false
7501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7502 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7503 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7506 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7510 if test "$ICOTOOL" = false
7512 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7515 printf %s
"checking for recent enough icotool... " >&6; }
7516 icotool_version
=`icotool --version | head -n1`
7517 if test "x$icotool_version" != "x"
7519 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7520 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7521 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7524 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
7527 if test "$ICOTOOL" = false
7529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7530 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7531 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7534 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7544 test "x$with_gettext" != xno || MSGFMT
=false
7545 if test "$MSGFMT" != "false"
7547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7548 printf %s
"checking whether msgfmt supports contexts... " >&6; }
7549 if test ${wine_cv_msgfmt_contexts+y}
7551 printf %s
"(cached) " >&6
7553 cat >conftest.po
<<EOF
7559 if $MSGFMT -o /dev
/null conftest.po
2>&5
7561 wine_cv_msgfmt_contexts
=yes
7563 wine_cv_msgfmt_contexts
=no
7566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7567 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7568 test $wine_cv_msgfmt_contexts != no || MSGFMT
=false
7570 if test "$MSGFMT" = false
7572 case "x$with_gettext" in
7573 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
7575 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
7576 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7578 enable_po
=${enable_po:-no}
7582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7583 printf %s
"checking for i386_set_ldt in -li386... " >&6; }
7584 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7586 printf %s
"(cached) " >&6
7588 ac_check_lib_save_LIBS
=$LIBS
7590 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7591 /* end confdefs.h. */
7593 /* Override any GCC internal prototype to avoid an error.
7594 Use char because int might match the return type of a GCC
7595 builtin and then its argument prototype would still apply. */
7596 char i386_set_ldt ();
7600 return i386_set_ldt ();
7605 if ac_fn_c_try_link
"$LINENO"
7607 ac_cv_lib_i386_i386_set_ldt
=yes
7609 ac_cv_lib_i386_i386_set_ldt
=no
7611 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
7612 conftest
$ac_exeext conftest.
$ac_ext
7613 LIBS
=$ac_check_lib_save_LIBS
7615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7616 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7617 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7628 # Check whether --enable-largefile was given.
7629 if test ${enable_largefile+y}
7631 enableval
=$enable_largefile;
7634 if test "$enable_largefile" != no
; then
7636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7637 printf %s
"checking for special C compiler options needed for large files... " >&6; }
7638 if test ${ac_cv_sys_largefile_CC+y}
7640 printf %s
"(cached) " >&6
7642 ac_cv_sys_largefile_CC
=no
7643 if test "$GCC" != yes; then
7646 # IRIX 6.2 and later do not support large files by default,
7647 # so use the C compiler's -n32 option if that helps.
7648 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7649 /* end confdefs.h. */
7650 #include <sys/types.h>
7651 /* Check that off_t can represent 2**63 - 1 correctly.
7652 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7653 since some C++ compilers masquerading as C compilers
7654 incorrectly reject 9223372036854775807. */
7655 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7656 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7657 && LARGE_OFF_T % 2147483647 == 1)
7667 if ac_fn_c_try_compile
"$LINENO"
7671 rm -f core conftest.err conftest.
$ac_objext conftest.beam
7673 if ac_fn_c_try_compile
"$LINENO"
7675 ac_cv_sys_largefile_CC
=' -n32'; break
7677 rm -f core conftest.err conftest.
$ac_objext conftest.beam
7681 rm -f conftest.
$ac_ext
7684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7685 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7686 if test "$ac_cv_sys_largefile_CC" != no
; then
7687 CC
=$CC$ac_cv_sys_largefile_CC
7690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7691 printf %s
"checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7692 if test ${ac_cv_sys_file_offset_bits+y}
7694 printf %s
"(cached) " >&6
7697 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7698 /* end confdefs.h. */
7699 #include <sys/types.h>
7700 /* Check that off_t can represent 2**63 - 1 correctly.
7701 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7702 since some C++ compilers masquerading as C compilers
7703 incorrectly reject 9223372036854775807. */
7704 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7705 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7706 && LARGE_OFF_T % 2147483647 == 1)
7716 if ac_fn_c_try_compile
"$LINENO"
7718 ac_cv_sys_file_offset_bits
=no
; break
7720 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7721 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7722 /* end confdefs.h. */
7723 #define _FILE_OFFSET_BITS 64
7724 #include <sys/types.h>
7725 /* Check that off_t can represent 2**63 - 1 correctly.
7726 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7727 since some C++ compilers masquerading as C compilers
7728 incorrectly reject 9223372036854775807. */
7729 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7730 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7731 && LARGE_OFF_T % 2147483647 == 1)
7741 if ac_fn_c_try_compile
"$LINENO"
7743 ac_cv_sys_file_offset_bits
=64; break
7745 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7746 ac_cv_sys_file_offset_bits
=unknown
7750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7751 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7752 case $ac_cv_sys_file_offset_bits in #(
7755 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7759 if test $ac_cv_sys_file_offset_bits = unknown
; then
7760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7761 printf %s
"checking for _LARGE_FILES value needed for large files... " >&6; }
7762 if test ${ac_cv_sys_large_files+y}
7764 printf %s
"(cached) " >&6
7767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7768 /* end confdefs.h. */
7769 #include <sys/types.h>
7770 /* Check that off_t can represent 2**63 - 1 correctly.
7771 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7772 since some C++ compilers masquerading as C compilers
7773 incorrectly reject 9223372036854775807. */
7774 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7775 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7776 && LARGE_OFF_T % 2147483647 == 1)
7786 if ac_fn_c_try_compile
"$LINENO"
7788 ac_cv_sys_large_files
=no
; break
7790 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7791 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7792 /* end confdefs.h. */
7793 #define _LARGE_FILES 1
7794 #include <sys/types.h>
7795 /* Check that off_t can represent 2**63 - 1 correctly.
7796 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7797 since some C++ compilers masquerading as C compilers
7798 incorrectly reject 9223372036854775807. */
7799 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7800 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7801 && LARGE_OFF_T % 2147483647 == 1)
7811 if ac_fn_c_try_compile
"$LINENO"
7813 ac_cv_sys_large_files
=1; break
7815 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7816 ac_cv_sys_large_files
=unknown
7820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7821 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7822 case $ac_cv_sys_large_files in #(
7825 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7833 ac_header
= ac_cache
=
7834 for ac_item
in $ac_header_c_list
7836 if test $ac_cache; then
7837 ac_fn_c_check_header_compile
"$LINENO" $ac_header ac_cv_header_
$ac_cache "$ac_includes_default"
7838 if eval test \"x\
$ac_cv_header_$ac_cache\" = xyes
; then
7839 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7841 ac_header
= ac_cache
=
7842 elif test $ac_header; then
7856 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7859 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7862 ac_fn_c_check_header_compile
"$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7863 if test "x$ac_cv_header_CL_cl_h" = xyes
7865 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7868 ac_fn_c_check_header_compile
"$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7869 if test "x$ac_cv_header_EGL_egl_h" = xyes
7871 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7874 ac_fn_c_check_header_compile
"$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7875 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7877 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7880 ac_fn_c_check_header_compile
"$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7881 if test "x$ac_cv_header_arpa_inet_h" = xyes
7883 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7886 ac_fn_c_check_header_compile
"$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7887 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7889 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7892 ac_fn_c_check_header_compile
"$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7893 if test "x$ac_cv_header_asm_types_h" = xyes
7895 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7898 ac_fn_c_check_header_compile
"$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7899 if test "x$ac_cv_header_asm_user_h" = xyes
7901 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7904 ac_fn_c_check_header_compile
"$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7905 if test "x$ac_cv_header_elf_h" = xyes
7907 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7910 ac_fn_c_check_header_compile
"$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7911 if test "x$ac_cv_header_float_h" = xyes
7913 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7916 ac_fn_c_check_header_compile
"$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7917 if test "x$ac_cv_header_gettext_po_h" = xyes
7919 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7922 ac_fn_c_check_header_compile
"$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7923 if test "x$ac_cv_header_libproc_h" = xyes
7925 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7928 ac_fn_c_check_header_compile
"$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7929 if test "x$ac_cv_header_link_h" = xyes
7931 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7934 ac_fn_c_check_header_compile
"$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7935 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7937 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7940 ac_fn_c_check_header_compile
"$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7941 if test "x$ac_cv_header_linux_filter_h" = xyes
7943 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7946 ac_fn_c_check_header_compile
"$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7947 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7949 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7952 ac_fn_c_check_header_compile
"$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7953 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7955 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7958 ac_fn_c_check_header_compile
"$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7959 if test "x$ac_cv_header_linux_input_h" = xyes
7961 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7964 ac_fn_c_check_header_compile
"$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7965 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7967 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7970 ac_fn_c_check_header_compile
"$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7971 if test "x$ac_cv_header_linux_major_h" = xyes
7973 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7976 ac_fn_c_check_header_compile
"$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7977 if test "x$ac_cv_header_linux_param_h" = xyes
7979 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
7982 ac_fn_c_check_header_compile
"$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
7983 if test "x$ac_cv_header_linux_serial_h" = xyes
7985 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
7988 ac_fn_c_check_header_compile
"$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
7989 if test "x$ac_cv_header_linux_types_h" = xyes
7991 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
7994 ac_fn_c_check_header_compile
"$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
7995 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
7997 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
8000 ac_fn_c_check_header_compile
"$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
8001 if test "x$ac_cv_header_lwp_h" = xyes
8003 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
8006 ac_fn_c_check_header_compile
"$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
8007 if test "x$ac_cv_header_mach_o_loader_h" = xyes
8009 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8012 ac_fn_c_check_header_compile
"$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8013 if test "x$ac_cv_header_mach_mach_h" = xyes
8015 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8018 ac_fn_c_check_header_compile
"$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8019 if test "x$ac_cv_header_machine_cpu_h" = xyes
8021 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8024 ac_fn_c_check_header_compile
"$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8025 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8027 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8030 ac_fn_c_check_header_compile
"$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8031 if test "x$ac_cv_header_mntent_h" = xyes
8033 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8036 ac_fn_c_check_header_compile
"$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8037 if test "x$ac_cv_header_netdb_h" = xyes
8039 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8042 ac_fn_c_check_header_compile
"$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8043 if test "x$ac_cv_header_netinet_in_h" = xyes
8045 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8048 ac_fn_c_check_header_compile
"$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8049 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8051 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8054 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8055 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8057 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8060 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8061 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8063 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8066 ac_fn_c_check_header_compile
"$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8067 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8069 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8072 ac_fn_c_check_header_compile
"$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8073 if test "x$ac_cv_header_port_h" = xyes
8075 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8078 ac_fn_c_check_header_compile
"$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8079 if test "x$ac_cv_header_pthread_h" = xyes
8081 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8084 ac_fn_c_check_header_compile
"$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8085 if test "x$ac_cv_header_pwd_h" = xyes
8087 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8090 ac_fn_c_check_header_compile
"$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8091 if test "x$ac_cv_header_sched_h" = xyes
8093 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8096 ac_fn_c_check_header_compile
"$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8097 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8099 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8102 ac_fn_c_check_header_compile
"$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8103 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8105 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8108 ac_fn_c_check_header_compile
"$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8109 if test "x$ac_cv_header_scsi_sg_h" = xyes
8111 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8114 ac_fn_c_check_header_compile
"$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8115 if test "x$ac_cv_header_stdint_h" = xyes
8117 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8120 ac_fn_c_check_header_compile
"$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8121 if test "x$ac_cv_header_sys_attr_h" = xyes
8123 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8126 ac_fn_c_check_header_compile
"$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8127 if test "x$ac_cv_header_sys_auxv_h" = xyes
8129 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8132 ac_fn_c_check_header_compile
"$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8133 if test "x$ac_cv_header_sys_cdio_h" = xyes
8135 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8138 ac_fn_c_check_header_compile
"$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8139 if test "x$ac_cv_header_sys_epoll_h" = xyes
8141 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8144 ac_fn_c_check_header_compile
"$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8145 if test "x$ac_cv_header_sys_event_h" = xyes
8147 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8150 ac_fn_c_check_header_compile
"$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
8151 if test "x$ac_cv_header_sys_extattr_h" = xyes
8153 printf "%s\n" "#define HAVE_SYS_EXTATTR_H 1" >>confdefs.h
8156 ac_fn_c_check_header_compile
"$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8157 if test "x$ac_cv_header_sys_filio_h" = xyes
8159 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8162 ac_fn_c_check_header_compile
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8163 if test "x$ac_cv_header_sys_ipc_h" = xyes
8165 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8168 ac_fn_c_check_header_compile
"$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8169 if test "x$ac_cv_header_sys_link_h" = xyes
8171 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8174 ac_fn_c_check_header_compile
"$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8175 if test "x$ac_cv_header_sys_modem_h" = xyes
8177 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8180 ac_fn_c_check_header_compile
"$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8181 if test "x$ac_cv_header_sys_mtio_h" = xyes
8183 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8186 ac_fn_c_check_header_compile
"$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8187 if test "x$ac_cv_header_sys_param_h" = xyes
8189 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8192 ac_fn_c_check_header_compile
"$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8193 if test "x$ac_cv_header_sys_prctl_h" = xyes
8195 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8198 ac_fn_c_check_header_compile
"$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8199 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8201 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8204 ac_fn_c_check_header_compile
"$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8205 if test "x$ac_cv_header_sys_queue_h" = xyes
8207 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8210 ac_fn_c_check_header_compile
"$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8211 if test "x$ac_cv_header_sys_random_h" = xyes
8213 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8216 ac_fn_c_check_header_compile
"$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8217 if test "x$ac_cv_header_sys_resource_h" = xyes
8219 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8222 ac_fn_c_check_header_compile
"$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8223 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8225 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8228 ac_fn_c_check_header_compile
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8229 if test "x$ac_cv_header_sys_shm_h" = xyes
8231 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8234 ac_fn_c_check_header_compile
"$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8235 if test "x$ac_cv_header_sys_signal_h" = xyes
8237 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8240 ac_fn_c_check_header_compile
"$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8241 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8243 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8246 ac_fn_c_check_header_compile
"$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8247 if test "x$ac_cv_header_sys_sockio_h" = xyes
8249 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8252 ac_fn_c_check_header_compile
"$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8253 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8255 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8258 ac_fn_c_check_header_compile
"$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8259 if test "x$ac_cv_header_sys_strtio_h" = xyes
8261 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8264 ac_fn_c_check_header_compile
"$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8265 if test "x$ac_cv_header_sys_syscall_h" = xyes
8267 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8270 ac_fn_c_check_header_compile
"$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8271 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8273 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8276 ac_fn_c_check_header_compile
"$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8277 if test "x$ac_cv_header_sys_times_h" = xyes
8279 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8282 ac_fn_c_check_header_compile
"$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8283 if test "x$ac_cv_header_sys_uio_h" = xyes
8285 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8288 ac_fn_c_check_header_compile
"$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8289 if test "x$ac_cv_header_sys_user_h" = xyes
8291 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8294 ac_fn_c_check_header_compile
"$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8295 if test "x$ac_cv_header_sys_utsname_h" = xyes
8297 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8300 ac_fn_c_check_header_compile
"$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8301 if test "x$ac_cv_header_sys_vnode_h" = xyes
8303 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8306 ac_fn_c_check_header_compile
"$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8307 if test "x$ac_cv_header_sys_xattr_h" = xyes
8309 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8312 ac_fn_c_check_header_compile
"$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8313 if test "x$ac_cv_header_syscall_h" = xyes
8315 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8318 ac_fn_c_check_header_compile
"$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8319 if test "x$ac_cv_header_utime_h" = xyes
8321 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8324 ac_fn_c_check_header_compile
"$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8325 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8327 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8330 ac_fn_c_check_header_compile
"$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8331 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8333 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8337 ac_fn_c_check_header_compile
"$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8338 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8341 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8345 if test $ac_cv_header_sys_mkdev_h = no
; then
8346 ac_fn_c_check_header_compile
"$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8347 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8350 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8356 printf %s
"checking whether stat file-mode macros are broken... " >&6; }
8357 if test ${ac_cv_header_stat_broken+y}
8359 printf %s
"(cached) " >&6
8361 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8362 /* end confdefs.h. */
8363 #include <sys/types.h>
8364 #include <sys/stat.h>
8366 #if defined S_ISBLK && defined S_IFDIR
8367 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8370 #if defined S_ISBLK && defined S_IFCHR
8371 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8374 #if defined S_ISLNK && defined S_IFREG
8375 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8378 #if defined S_ISSOCK && defined S_IFREG
8379 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8383 if ac_fn_c_try_compile
"$LINENO"
8385 ac_cv_header_stat_broken
=no
8387 ac_cv_header_stat_broken
=yes
8389 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8392 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8393 if test $ac_cv_header_stat_broken = yes; then
8395 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8401 ac_fn_c_check_header_compile
"$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8402 #ifdef HAVE_SYS_PARAM_H
8403 # include <sys/param.h>
8406 if test "x$ac_cv_header_sys_conf_h" = xyes
8408 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8411 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8412 #ifdef HAVE_SYS_PARAM_H
8413 # include <sys/param.h>
8416 if test "x$ac_cv_header_sys_mount_h" = xyes
8418 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8421 ac_fn_c_check_header_compile
"$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8422 #ifdef HAVE_SYS_PARAM_H
8423 # include <sys/param.h>
8426 if test "x$ac_cv_header_sys_statfs_h" = xyes
8428 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8431 ac_fn_c_check_header_compile
"$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8432 #ifdef HAVE_SYS_PARAM_H
8433 # include <sys/param.h>
8436 if test "x$ac_cv_header_sys_user_h" = xyes
8438 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8441 ac_fn_c_check_header_compile
"$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8442 #ifdef HAVE_SYS_PARAM_H
8443 # include <sys/param.h>
8446 if test "x$ac_cv_header_sys_vfs_h" = xyes
8448 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8453 saved_sysctl_h_CFLAGS
=$CFLAGS
8454 test "x${GCC}" != xyes || CFLAGS
="$CFLAGS -Werror"
8455 ac_fn_c_check_header_compile
"$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8456 #ifdef HAVE_SYS_PARAM_H
8457 # include <sys/param.h>
8460 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8462 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8466 CFLAGS
=$saved_sysctl_h_CFLAGS
8468 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8469 #include <sys/socket.h>
8470 #ifdef HAVE_SYS_SOCKETVAR_H
8471 # include <sys/socketvar.h>
8473 #ifdef HAVE_NET_ROUTE_H
8474 # include <net/route.h>
8476 #ifdef HAVE_NETINET_IN_H
8477 # include <netinet/in.h>
8479 #ifdef HAVE_NETINET_IN_SYSTM_H
8480 # include <netinet/in_systm.h>
8482 #ifdef HAVE_NET_IF_H
8483 # include <net/if.h>
8485 #ifdef HAVE_NETINET_IP_H
8486 # include <netinet/ip.h>
8489 if test "x$ac_cv_header_netinet_ip_h" = xyes
8491 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8494 ac_fn_c_check_header_compile
"$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8495 #include <sys/socket.h>
8496 #ifdef HAVE_SYS_SOCKETVAR_H
8497 # include <sys/socketvar.h>
8499 #ifdef HAVE_NET_ROUTE_H
8500 # include <net/route.h>
8502 #ifdef HAVE_NETINET_IN_H
8503 # include <netinet/in.h>
8505 #ifdef HAVE_NETINET_IN_SYSTM_H
8506 # include <netinet/in_systm.h>
8508 #ifdef HAVE_NET_IF_H
8509 # include <net/if.h>
8511 #ifdef HAVE_NETINET_IP_H
8512 # include <netinet/ip.h>
8515 if test "x$ac_cv_header_net_if_h" = xyes
8517 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8520 ac_fn_c_check_header_compile
"$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8521 #include <sys/socket.h>
8522 #ifdef HAVE_SYS_SOCKETVAR_H
8523 # include <sys/socketvar.h>
8525 #ifdef HAVE_NET_ROUTE_H
8526 # include <net/route.h>
8528 #ifdef HAVE_NETINET_IN_H
8529 # include <netinet/in.h>
8531 #ifdef HAVE_NETINET_IN_SYSTM_H
8532 # include <netinet/in_systm.h>
8534 #ifdef HAVE_NET_IF_H
8535 # include <net/if.h>
8537 #ifdef HAVE_NETINET_IP_H
8538 # include <netinet/ip.h>
8541 if test "x$ac_cv_header_net_if_arp_h" = xyes
8543 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8546 ac_fn_c_check_header_compile
"$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8547 #include <sys/socket.h>
8548 #ifdef HAVE_SYS_SOCKETVAR_H
8549 # include <sys/socketvar.h>
8551 #ifdef HAVE_NET_ROUTE_H
8552 # include <net/route.h>
8554 #ifdef HAVE_NETINET_IN_H
8555 # include <netinet/in.h>
8557 #ifdef HAVE_NETINET_IN_SYSTM_H
8558 # include <netinet/in_systm.h>
8560 #ifdef HAVE_NET_IF_H
8561 # include <net/if.h>
8563 #ifdef HAVE_NETINET_IP_H
8564 # include <netinet/ip.h>
8567 if test "x$ac_cv_header_net_if_dl_h" = xyes
8569 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8572 ac_fn_c_check_header_compile
"$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8573 #include <sys/socket.h>
8574 #ifdef HAVE_SYS_SOCKETVAR_H
8575 # include <sys/socketvar.h>
8577 #ifdef HAVE_NET_ROUTE_H
8578 # include <net/route.h>
8580 #ifdef HAVE_NETINET_IN_H
8581 # include <netinet/in.h>
8583 #ifdef HAVE_NETINET_IN_SYSTM_H
8584 # include <netinet/in_systm.h>
8586 #ifdef HAVE_NET_IF_H
8587 # include <net/if.h>
8589 #ifdef HAVE_NETINET_IP_H
8590 # include <netinet/ip.h>
8593 if test "x$ac_cv_header_net_if_types_h" = xyes
8595 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8598 ac_fn_c_check_header_compile
"$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8599 #include <sys/socket.h>
8600 #ifdef HAVE_SYS_SOCKETVAR_H
8601 # include <sys/socketvar.h>
8603 #ifdef HAVE_NET_ROUTE_H
8604 # include <net/route.h>
8606 #ifdef HAVE_NETINET_IN_H
8607 # include <netinet/in.h>
8609 #ifdef HAVE_NETINET_IN_SYSTM_H
8610 # include <netinet/in_systm.h>
8612 #ifdef HAVE_NET_IF_H
8613 # include <net/if.h>
8615 #ifdef HAVE_NETINET_IP_H
8616 # include <netinet/ip.h>
8619 if test "x$ac_cv_header_net_route_h" = xyes
8621 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8624 ac_fn_c_check_header_compile
"$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8625 #include <sys/socket.h>
8626 #ifdef HAVE_SYS_SOCKETVAR_H
8627 # include <sys/socketvar.h>
8629 #ifdef HAVE_NET_ROUTE_H
8630 # include <net/route.h>
8632 #ifdef HAVE_NETINET_IN_H
8633 # include <netinet/in.h>
8635 #ifdef HAVE_NETINET_IN_SYSTM_H
8636 # include <netinet/in_systm.h>
8638 #ifdef HAVE_NET_IF_H
8639 # include <net/if.h>
8641 #ifdef HAVE_NETINET_IP_H
8642 # include <netinet/ip.h>
8645 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8647 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8650 ac_fn_c_check_header_compile
"$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8651 #include <sys/socket.h>
8652 #ifdef HAVE_SYS_SOCKETVAR_H
8653 # include <sys/socketvar.h>
8655 #ifdef HAVE_NET_ROUTE_H
8656 # include <net/route.h>
8658 #ifdef HAVE_NETINET_IN_H
8659 # include <netinet/in.h>
8661 #ifdef HAVE_NETINET_IN_SYSTM_H
8662 # include <netinet/in_systm.h>
8664 #ifdef HAVE_NET_IF_H
8665 # include <net/if.h>
8667 #ifdef HAVE_NETINET_IP_H
8668 # include <netinet/ip.h>
8671 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8673 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8676 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8677 #include <sys/socket.h>
8678 #ifdef HAVE_SYS_SOCKETVAR_H
8679 # include <sys/socketvar.h>
8681 #ifdef HAVE_NET_ROUTE_H
8682 # include <net/route.h>
8684 #ifdef HAVE_NETINET_IN_H
8685 # include <netinet/in.h>
8687 #ifdef HAVE_NETINET_IN_SYSTM_H
8688 # include <netinet/in_systm.h>
8690 #ifdef HAVE_NET_IF_H
8691 # include <net/if.h>
8693 #ifdef HAVE_NETINET_IP_H
8694 # include <netinet/ip.h>
8697 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8699 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8702 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8703 #include <sys/socket.h>
8704 #ifdef HAVE_SYS_SOCKETVAR_H
8705 # include <sys/socketvar.h>
8707 #ifdef HAVE_NET_ROUTE_H
8708 # include <net/route.h>
8710 #ifdef HAVE_NETINET_IN_H
8711 # include <netinet/in.h>
8713 #ifdef HAVE_NETINET_IN_SYSTM_H
8714 # include <netinet/in_systm.h>
8716 #ifdef HAVE_NET_IF_H
8717 # include <net/if.h>
8719 #ifdef HAVE_NETINET_IP_H
8720 # include <netinet/ip.h>
8723 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8725 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8728 ac_fn_c_check_header_compile
"$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8729 #include <sys/socket.h>
8730 #ifdef HAVE_SYS_SOCKETVAR_H
8731 # include <sys/socketvar.h>
8733 #ifdef HAVE_NET_ROUTE_H
8734 # include <net/route.h>
8736 #ifdef HAVE_NETINET_IN_H
8737 # include <netinet/in.h>
8739 #ifdef HAVE_NETINET_IN_SYSTM_H
8740 # include <netinet/in_systm.h>
8742 #ifdef HAVE_NET_IF_H
8743 # include <net/if.h>
8745 #ifdef HAVE_NETINET_IP_H
8746 # include <netinet/ip.h>
8749 if test "x$ac_cv_header_netinet_udp_h" = xyes
8751 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8754 ac_fn_c_check_header_compile
"$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8755 #include <sys/socket.h>
8756 #ifdef HAVE_SYS_SOCKETVAR_H
8757 # include <sys/socketvar.h>
8759 #ifdef HAVE_NET_ROUTE_H
8760 # include <net/route.h>
8762 #ifdef HAVE_NETINET_IN_H
8763 # include <netinet/in.h>
8765 #ifdef HAVE_NETINET_IN_SYSTM_H
8766 # include <netinet/in_systm.h>
8768 #ifdef HAVE_NET_IF_H
8769 # include <net/if.h>
8771 #ifdef HAVE_NETINET_IP_H
8772 # include <netinet/ip.h>
8775 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8777 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8780 ac_fn_c_check_header_compile
"$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8781 #include <sys/socket.h>
8782 #ifdef HAVE_SYS_SOCKETVAR_H
8783 # include <sys/socketvar.h>
8785 #ifdef HAVE_NET_ROUTE_H
8786 # include <net/route.h>
8788 #ifdef HAVE_NETINET_IN_H
8789 # include <netinet/in.h>
8791 #ifdef HAVE_NETINET_IN_SYSTM_H
8792 # include <netinet/in_systm.h>
8794 #ifdef HAVE_NET_IF_H
8795 # include <net/if.h>
8797 #ifdef HAVE_NETINET_IP_H
8798 # include <netinet/ip.h>
8801 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8803 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8806 ac_fn_c_check_header_compile
"$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8807 #include <sys/socket.h>
8808 #ifdef HAVE_SYS_SOCKETVAR_H
8809 # include <sys/socketvar.h>
8811 #ifdef HAVE_NET_ROUTE_H
8812 # include <net/route.h>
8814 #ifdef HAVE_NETINET_IN_H
8815 # include <netinet/in.h>
8817 #ifdef HAVE_NETINET_IN_SYSTM_H
8818 # include <netinet/in_systm.h>
8820 #ifdef HAVE_NET_IF_H
8821 # include <net/if.h>
8823 #ifdef HAVE_NETINET_IP_H
8824 # include <netinet/ip.h>
8827 if test "x$ac_cv_header_sys_un_h" = xyes
8829 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8834 ac_fn_c_check_header_compile
"$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8835 #include <sys/socket.h>
8836 #ifdef HAVE_SYS_SOCKETVAR_H
8837 # include <sys/socketvar.h>
8839 #ifdef HAVE_NETINET_IN_H
8840 # include <netinet/in.h>
8842 #ifdef HAVE_NETINET_IN_SYSTM_H
8843 # include <netinet/in_systm.h>
8845 #ifdef HAVE_NETINET_IP_H
8846 # include <netinet/ip.h>
8848 #ifdef HAVE_NETINET_IP_VAR_H
8849 # include <netinet/ip_var.h>
8851 #ifdef HAVE_NETINET_IP_ICMP_H
8852 # include <netinet/ip_icmp.h>
8854 #ifdef HAVE_NETINET_UDP_H
8855 # include <netinet/udp.h>
8857 #ifdef HAVE_NETINET_TCP_H
8858 # include <netinet/tcp.h>
8861 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8863 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8866 ac_fn_c_check_header_compile
"$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8867 #include <sys/socket.h>
8868 #ifdef HAVE_SYS_SOCKETVAR_H
8869 # include <sys/socketvar.h>
8871 #ifdef HAVE_NETINET_IN_H
8872 # include <netinet/in.h>
8874 #ifdef HAVE_NETINET_IN_SYSTM_H
8875 # include <netinet/in_systm.h>
8877 #ifdef HAVE_NETINET_IP_H
8878 # include <netinet/ip.h>
8880 #ifdef HAVE_NETINET_IP_VAR_H
8881 # include <netinet/ip_var.h>
8883 #ifdef HAVE_NETINET_IP_ICMP_H
8884 # include <netinet/ip_icmp.h>
8886 #ifdef HAVE_NETINET_UDP_H
8887 # include <netinet/udp.h>
8889 #ifdef HAVE_NETINET_TCP_H
8890 # include <netinet/tcp.h>
8893 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8895 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8898 ac_fn_c_check_header_compile
"$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8899 #include <sys/socket.h>
8900 #ifdef HAVE_SYS_SOCKETVAR_H
8901 # include <sys/socketvar.h>
8903 #ifdef HAVE_NETINET_IN_H
8904 # include <netinet/in.h>
8906 #ifdef HAVE_NETINET_IN_SYSTM_H
8907 # include <netinet/in_systm.h>
8909 #ifdef HAVE_NETINET_IP_H
8910 # include <netinet/ip.h>
8912 #ifdef HAVE_NETINET_IP_VAR_H
8913 # include <netinet/ip_var.h>
8915 #ifdef HAVE_NETINET_IP_ICMP_H
8916 # include <netinet/ip_icmp.h>
8918 #ifdef HAVE_NETINET_UDP_H
8919 # include <netinet/udp.h>
8921 #ifdef HAVE_NETINET_TCP_H
8922 # include <netinet/tcp.h>
8925 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8927 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8930 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8931 #include <sys/socket.h>
8932 #ifdef HAVE_SYS_SOCKETVAR_H
8933 # include <sys/socketvar.h>
8935 #ifdef HAVE_NETINET_IN_H
8936 # include <netinet/in.h>
8938 #ifdef HAVE_NETINET_IN_SYSTM_H
8939 # include <netinet/in_systm.h>
8941 #ifdef HAVE_NETINET_IP_H
8942 # include <netinet/ip.h>
8944 #ifdef HAVE_NETINET_IP_VAR_H
8945 # include <netinet/ip_var.h>
8947 #ifdef HAVE_NETINET_IP_ICMP_H
8948 # include <netinet/ip_icmp.h>
8950 #ifdef HAVE_NETINET_UDP_H
8951 # include <netinet/udp.h>
8953 #ifdef HAVE_NETINET_TCP_H
8954 # include <netinet/tcp.h>
8957 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8959 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8964 ac_fn_c_check_header_compile
"$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8965 #include <sys/socket.h>
8966 #ifdef HAVE_ASM_TYPES_H
8967 # include <asm/types.h>
8969 #ifdef HAVE_LINUX_TYPES_H
8970 # include <linux/types.h>
8973 if test "x$ac_cv_header_linux_ipx_h" = xyes
8975 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8978 ac_fn_c_check_header_compile
"$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8979 #include <sys/socket.h>
8980 #ifdef HAVE_ASM_TYPES_H
8981 # include <asm/types.h>
8983 #ifdef HAVE_LINUX_TYPES_H
8984 # include <linux/types.h>
8987 if test "x$ac_cv_header_linux_irda_h" = xyes
8989 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
8992 ac_fn_c_check_header_compile
"$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
8993 #include <sys/socket.h>
8994 #ifdef HAVE_ASM_TYPES_H
8995 # include <asm/types.h>
8997 #ifdef HAVE_LINUX_TYPES_H
8998 # include <linux/types.h>
9001 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
9003 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
9008 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
9009 #include <sys/socket.h>
9010 #ifdef HAVE_NETINET_IN_H
9011 # include <netinet/in.h>
9013 #ifdef HAVE_ARPA_NAMESER_H
9014 # include <arpa/nameser.h>
9017 if test "x$ac_cv_header_resolv_h" = xyes
9019 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9024 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9026 if test "x$ac_cv_header_ifaddrs_h" = xyes
9028 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9033 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9035 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9037 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9042 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9043 #ifdef HAVE_SYS_UCONTEXT_H
9044 #include <sys/ucontext.h>
9047 if test "x$ac_cv_header_sys_thr_h" = xyes
9049 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9054 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9055 #include <pthread.h>
9058 if test "x$ac_cv_header_pthread_np_h" = xyes
9060 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9065 ac_fn_c_check_header_compile
"$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9066 #include <sys/types.h>
9067 #ifdef HAVE_ASM_TYPES_H
9068 #include <asm/types.h>
9071 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9073 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9078 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9079 #include <sys/param.h>
9081 #include <sys/socket.h>
9082 #ifdef HAVE_SYS_QUEUE_H
9083 #include <sys/queue.h>
9086 if test "x$ac_cv_header_libprocstat_h" = xyes
9088 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9093 if test "x$ac_cv_header_sys_xattr_h" = xyes
9095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9096 printf %s
"checking whether getxattr takes additional arguments... " >&6; }
9097 if test ${wine_cv_xattr_extra_args+y}
9099 printf %s
"(cached) " >&6
9101 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9102 /* end confdefs.h. */
9103 #include <sys/xattr.h>
9107 getxattr("", "", "", 0, 0, 0);
9112 if ac_fn_c_try_compile
"$LINENO"
9114 wine_cv_xattr_extra_args
=yes
9116 wine_cv_xattr_extra_args
=no
9118 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
9120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9121 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9122 test $wine_cv_xattr_extra_args != yes ||
9123 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9136 UNIXDLLFLAGS
="-fPIC"
9138 UNIXLDFLAGS
="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9144 WINELOADER_LDFLAGS
=""
9146 WINEPRELOADER_LDFLAGS
=""
9149 # Extract the first word of "ldd", so it can be a program name with args.
9150 set dummy ldd
; ac_word
=$2
9151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9152 printf %s
"checking for $ac_word... " >&6; }
9153 if test ${ac_cv_path_LDD+y}
9155 printf %s
"(cached) " >&6
9159 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
9162 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9163 as_dummy
="/sbin:/usr/sbin:$PATH"
9164 for as_dir
in $as_dummy
9167 case $as_dir in #(((
9170 *) as_dir
=$as_dir/ ;;
9172 for ac_exec_ext
in '' $ac_executable_extensions; do
9173 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9174 ac_cv_path_LDD
="$as_dir$ac_word$ac_exec_ext"
9175 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9182 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
9187 if test -n "$LDD"; then
9188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9189 printf "%s\n" "$LDD" >&6; }
9191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9192 printf "%s\n" "no" >&6; }
9196 if test -n "$ac_tool_prefix"; then
9197 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9198 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
9199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9200 printf %s
"checking for $ac_word... " >&6; }
9201 if test ${ac_cv_prog_OTOOL+y}
9203 printf %s
"(cached) " >&6
9205 if test -n "$OTOOL"; then
9206 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
9208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9212 case $as_dir in #(((
9215 *) as_dir
=$as_dir/ ;;
9217 for ac_exec_ext
in '' $ac_executable_extensions; do
9218 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9219 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
9220 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9229 OTOOL
=$ac_cv_prog_OTOOL
9230 if test -n "$OTOOL"; then
9231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9232 printf "%s\n" "$OTOOL" >&6; }
9234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9235 printf "%s\n" "no" >&6; }
9240 if test -z "$ac_cv_prog_OTOOL"; then
9242 # Extract the first word of "otool", so it can be a program name with args.
9243 set dummy otool
; ac_word
=$2
9244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9245 printf %s
"checking for $ac_word... " >&6; }
9246 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9248 printf %s
"(cached) " >&6
9250 if test -n "$ac_ct_OTOOL"; then
9251 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
9253 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9257 case $as_dir in #(((
9260 *) as_dir
=$as_dir/ ;;
9262 for ac_exec_ext
in '' $ac_executable_extensions; do
9263 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9264 ac_cv_prog_ac_ct_OTOOL
="otool"
9265 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9274 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
9275 if test -n "$ac_ct_OTOOL"; then
9276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9277 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9280 printf "%s\n" "no" >&6; }
9283 if test "x$ac_ct_OTOOL" = x
; then
9286 case $cross_compiling:$ac_tool_warned in
9288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9289 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9290 ac_tool_warned
=yes ;;
9295 OTOOL
="$ac_cv_prog_OTOOL"
9298 if test -n "$ac_tool_prefix"; then
9299 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9300 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
9301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9302 printf %s
"checking for $ac_word... " >&6; }
9303 if test ${ac_cv_prog_READELF+y}
9305 printf %s
"(cached) " >&6
9307 if test -n "$READELF"; then
9308 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
9310 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9314 case $as_dir in #(((
9317 *) as_dir
=$as_dir/ ;;
9319 for ac_exec_ext
in '' $ac_executable_extensions; do
9320 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9321 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
9322 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9331 READELF
=$ac_cv_prog_READELF
9332 if test -n "$READELF"; then
9333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9334 printf "%s\n" "$READELF" >&6; }
9336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9337 printf "%s\n" "no" >&6; }
9342 if test -z "$ac_cv_prog_READELF"; then
9343 ac_ct_READELF
=$READELF
9344 # Extract the first word of "readelf", so it can be a program name with args.
9345 set dummy readelf
; ac_word
=$2
9346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9347 printf %s
"checking for $ac_word... " >&6; }
9348 if test ${ac_cv_prog_ac_ct_READELF+y}
9350 printf %s
"(cached) " >&6
9352 if test -n "$ac_ct_READELF"; then
9353 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
9355 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9359 case $as_dir in #(((
9362 *) as_dir
=$as_dir/ ;;
9364 for ac_exec_ext
in '' $ac_executable_extensions; do
9365 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9366 ac_cv_prog_ac_ct_READELF
="readelf"
9367 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9376 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
9377 if test -n "$ac_ct_READELF"; then
9378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9379 printf "%s\n" "$ac_ct_READELF" >&6; }
9381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9382 printf "%s\n" "no" >&6; }
9385 if test "x$ac_ct_READELF" = x
; then
9388 case $cross_compiling:$ac_tool_warned in
9390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9391 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9392 ac_tool_warned
=yes ;;
9394 READELF
=$ac_ct_READELF
9397 READELF
="$ac_cv_prog_READELF"
9405 CONFIGURE_TARGETS
=""
9408 wine_fn_config_makefile
()
9410 as_fn_append SUBDIRS
" \\$as_nl $1"
9413 no
) as_fn_append DISABLED_SUBDIRS
" $1" ;;
9414 *aarch64
*|
*arm
*|
*i386
*|
*x86_64
*)
9415 if test -n "$PE_ARCHS"
9419 test $
(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append
${i}_DISABLED_SUBDIRS
" $1"
9422 test $
(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS
" $1"
9427 wine_fn_config_symlink
()
9430 as_fn_append wine_rules
"
9432 @./config.status \$@"
9433 for f
in $ac_links; do as_fn_append CONFIGURE_TARGETS
" $f"; done
9439 EXTRACFLAGS
="-D__WINE_PE_BUILD"
9441 *i
[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9442 printf %s
"checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9443 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9445 printf %s
"(cached) " >&6
9447 ac_wine_try_cflags_saved
=$CFLAGS
9448 CFLAGS
="$CFLAGS -Wl,--disable-stdcall-fixup"
9449 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9450 /* end confdefs.h. */
9451 int main(int argc, char **argv) { return 0; }
9453 if ac_fn_c_try_link
"$LINENO"
9455 ac_cv_cflags__Wl___disable_stdcall_fixup
=yes
9457 ac_cv_cflags__Wl___disable_stdcall_fixup
=no
9459 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9460 conftest
$ac_exeext conftest.
$ac_ext
9461 CFLAGS
=$ac_wine_try_cflags_saved
9463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9464 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9465 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9467 LDDLLFLAGS
="-Wl,--disable-stdcall-fixup"
9470 enable_loader
=${enable_loader:-no}
9471 enable_server
=${enable_server:-no}
9472 with_x
=${with_x:-no}
9473 with_pthread
=${with_pthread:-no}
9478 DLLFLAGS
="$DLLFLAGS -fPIC"
9480 enable_winemac_drv
=${enable_winemac_drv:-yes}
9481 CARBON_LIBS
="-framework Carbon"
9483 COREFOUNDATION_LIBS
="-framework CoreFoundation"
9485 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
9487 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
9489 METAL_LIBS
="-framework Metal"
9491 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
9493 CORESERVICES_LIBS
="-framework CoreServices"
9495 APPKIT_LIBS
="-framework AppKit"
9497 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
9499 SYSTEMCONFIGURATION_LIBS
="-framework SystemConfiguration"
9502 WINELOADER_LDFLAGS
="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9504 wine_can_build_preloader
=yes
9505 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"
9506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
9507 printf %s
"checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
9508 if test ${ac_cv_cflags__Wl__no_new_main__e__main+y}
9510 printf %s
"(cached) " >&6
9512 ac_wine_try_cflags_saved
=$CFLAGS
9513 CFLAGS
="$CFLAGS -Wl,-no_new_main -e _main"
9514 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9515 /* end confdefs.h. */
9516 int main(int argc, char **argv) { return 0; }
9518 if ac_fn_c_try_link
"$LINENO"
9520 ac_cv_cflags__Wl__no_new_main__e__main
=yes
9522 ac_cv_cflags__Wl__no_new_main__e__main
=no
9524 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9525 conftest
$ac_exeext conftest.
$ac_ext
9526 CFLAGS
=$ac_wine_try_cflags_saved
9528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
9529 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
9530 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes
9532 WINEPRELOADER_LDFLAGS
="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
9533 { 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
9534 printf %s
"checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9535 if test ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9537 printf %s
"(cached) " >&6
9539 ac_wine_try_cflags_saved
=$CFLAGS
9540 CFLAGS
="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9541 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9542 /* end confdefs.h. */
9543 int main(int argc, char **argv) { return 0; }
9545 if ac_fn_c_try_link
"$LINENO"
9547 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs
=yes
9549 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs
=no
9551 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9552 conftest
$ac_exeext conftest.
$ac_ext
9553 CFLAGS
=$ac_wine_try_cflags_saved
9555 { 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
9556 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9557 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9559 WINEPRELOADER_LDFLAGS
="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9561 wine_can_build_preloader
=no
9564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
9565 printf %s
"checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9566 if test ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9568 printf %s
"(cached) " >&6
9570 ac_wine_try_cflags_saved
=$CFLAGS
9571 CFLAGS
="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9572 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9573 /* end confdefs.h. */
9574 int main(int argc, char **argv) { return 0; }
9576 if ac_fn_c_try_link
"$LINENO"
9578 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs
=yes
9580 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs
=no
9582 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9583 conftest
$ac_exeext conftest.
$ac_ext
9584 CFLAGS
=$ac_wine_try_cflags_saved
9586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
9587 printf "%s\n" "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9588 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9590 WINEPRELOADER_LDFLAGS
="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9592 wine_can_build_preloader
=no
9595 if test "$wine_can_build_preloader" = "yes"
9597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9598 printf %s
"checking whether the compiler supports -Wl,-no_pie... " >&6; }
9599 if test ${ac_cv_cflags__Wl__no_pie+y}
9601 printf %s
"(cached) " >&6
9603 ac_wine_try_cflags_saved
=$CFLAGS
9604 CFLAGS
="$CFLAGS -Wl,-no_pie"
9605 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9606 /* end confdefs.h. */
9607 int main(int argc, char **argv) { return 0; }
9609 if ac_fn_c_try_link
"$LINENO"
9611 ac_cv_cflags__Wl__no_pie
=yes
9613 ac_cv_cflags__Wl__no_pie
=no
9615 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9616 conftest
$ac_exeext conftest.
$ac_ext
9617 CFLAGS
=$ac_wine_try_cflags_saved
9619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9620 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9621 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9623 WINEPRELOADER_LDFLAGS
="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9625 WINELOADER_LDFLAGS
="$WINELOADER_LDFLAGS -mmacosx-version-min=10.7"
9627 as_fn_append wine_warnings
"|can't build Wine preloader; many programs won't work"
9630 if test "x$with_coreaudio" != "xno";
9632 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9634 enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-yes}
9636 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9638 OPENCL_LIBS
="-framework OpenCL"
9640 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
9643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9644 printf %s
"checking whether MTLDevice protocol supports registryID property... " >&6; }
9646 ac_cpp
='$OBJCPP $CPPFLAGS'
9647 ac_compile
='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9648 ac_link
='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9649 ac_compiler_gnu
=$ac_cv_objc_compiler_gnu
9652 ac_cpp
='$OBJCPP $CPPFLAGS'
9653 ac_compile
='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9654 ac_link
='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9655 ac_compiler_gnu
=$ac_cv_objc_compiler_gnu
9656 if test -n "$ac_tool_prefix"; then
9657 for ac_prog
in gcc objcc objc cc CC clang
9659 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9660 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
9661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9662 printf %s
"checking for $ac_word... " >&6; }
9663 if test ${ac_cv_prog_OBJC+y}
9665 printf %s
"(cached) " >&6
9667 if test -n "$OBJC"; then
9668 ac_cv_prog_OBJC
="$OBJC" # Let the user override the test.
9670 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9674 case $as_dir in #(((
9677 *) as_dir
=$as_dir/ ;;
9679 for ac_exec_ext
in '' $ac_executable_extensions; do
9680 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9681 ac_cv_prog_OBJC
="$ac_tool_prefix$ac_prog"
9682 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9691 OBJC
=$ac_cv_prog_OBJC
9692 if test -n "$OBJC"; then
9693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9694 printf "%s\n" "$OBJC" >&6; }
9696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9697 printf "%s\n" "no" >&6; }
9701 test -n "$OBJC" && break
9704 if test -z "$OBJC"; then
9706 for ac_prog
in gcc objcc objc cc CC clang
9708 # Extract the first word of "$ac_prog", so it can be a program name with args.
9709 set dummy
$ac_prog; ac_word
=$2
9710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9711 printf %s
"checking for $ac_word... " >&6; }
9712 if test ${ac_cv_prog_ac_ct_OBJC+y}
9714 printf %s
"(cached) " >&6
9716 if test -n "$ac_ct_OBJC"; then
9717 ac_cv_prog_ac_ct_OBJC
="$ac_ct_OBJC" # Let the user override the test.
9719 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9723 case $as_dir in #(((
9726 *) as_dir
=$as_dir/ ;;
9728 for ac_exec_ext
in '' $ac_executable_extensions; do
9729 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9730 ac_cv_prog_ac_ct_OBJC
="$ac_prog"
9731 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9740 ac_ct_OBJC
=$ac_cv_prog_ac_ct_OBJC
9741 if test -n "$ac_ct_OBJC"; then
9742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9743 printf "%s\n" "$ac_ct_OBJC" >&6; }
9745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9746 printf "%s\n" "no" >&6; }
9750 test -n "$ac_ct_OBJC" && break
9753 if test "x$ac_ct_OBJC" = x
; then
9756 case $cross_compiling:$ac_tool_warned in
9758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9759 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9760 ac_tool_warned
=yes ;;
9766 # Provide some information about the compiler.
9767 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9770 for ac_option
in --version -v -V -qversion; do
9771 { { ac_try
="$ac_compiler $ac_option >&5"
9773 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9774 *) ac_try_echo=$ac_try;;
9776 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9777 printf "%s\n" "$ac_try_echo"; } >&5
9778 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9780 if test -s conftest.err; then
9782 ... rest of stderr output deleted ...
9783 10q' conftest.err >conftest.er1
9784 cat conftest.er1 >&5
9786 rm -f conftest.er1 conftest.err
9787 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9788 test $ac_status = 0; }
9791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9792 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9793 if test ${ac_cv_objc_compiler_gnu+y}
9795 printf %s "(cached) " >&6
9797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9798 /* end confdefs.h. */
9811 if ac_fn_objc_try_compile "$LINENO"
9817 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9818 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9822 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9823 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9825 if test $ac_compiler_gnu = yes; then
9830 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9831 ac_save_OBJCFLAGS=$OBJCFLAGS
9832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9833 printf %s "checking whether $OBJC accepts -g... " >&6; }
9834 if test ${ac_cv_prog_objc_g+y}
9836 printf %s "(cached) " >&6
9838 ac_save_objc_werror_flag=$ac_objc_werror_flag
9839 ac_objc_werror_flag=yes
9840 ac_cv_prog_objc_g=no
9842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9843 /* end confdefs.h. */
9853 if ac_fn_objc_try_compile "$LINENO"
9855 ac_cv_prog_objc_g=yes
9858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9859 /* end confdefs.h. */
9869 if ac_fn_objc_try_compile "$LINENO"
9873 ac_objc_werror_flag=$ac_save_objc_werror_flag
9875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9876 /* end confdefs.h. */
9886 if ac_fn_objc_try_compile "$LINENO"
9888 ac_cv_prog_objc_g=yes
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
9894 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9895 ac_objc_werror_flag=$ac_save_objc_werror_flag
9897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9898 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9899 if test $ac_test_OBJCFLAGS; then
9900 OBJCFLAGS=$ac_save_OBJCFLAGS
9901 elif test $ac_cv_prog_objc_g = yes; then
9902 if test "$GOBJC" = yes; then
9908 if test "$GOBJC" = yes; then
9915 ac_cpp='$OBJCPP $CPPFLAGS'
9916 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9917 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9918 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9922 /* end confdefs.h. */
9923 #include <Metal/Metal.h>
9927 id<MTLDevice> device; device.registryID;
9932 if ac_fn_objc_try_compile "$LINENO"
9934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9935 printf "%s\n" "yes" >&6; }
9937 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9941 printf "%s\n" "no" >&6; }
9943 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9945 ac_cpp='$CPP $CPPFLAGS'
9946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9951 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
9952 WINELOADER_DEPENDS="wine_info.plist"
9958 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
9960 DLLFLAGS="$DLLFLAGS -fPIC"
9962 LDEXECFLAGS="-Wl,-pie"
9963 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9965 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9966 if test ${ac_cv_cflags__Wl__z_defs+y}
9968 printf %s "(cached) " >&6
9970 ac_wine_try_cflags_saved=$CFLAGS
9971 CFLAGS="$CFLAGS -Wl,-z,defs"
9972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9973 /* end confdefs.h. */
9974 int main(int argc, char **argv) { return 0; }
9976 if ac_fn_c_try_link "$LINENO"
9978 ac_cv_cflags__Wl__z_defs=yes
9980 ac_cv_cflags__Wl__z_defs=no
9982 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9983 conftest$ac_exeext conftest.$ac_ext
9984 CFLAGS=$ac_wine_try_cflags_saved
9986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9987 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
9988 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
9990 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9993 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9994 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
9996 printf %s "(cached) " >&6
9998 ac_wine_try_cflags_saved=$CFLAGS
9999 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
10000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10001 /* end confdefs.h. */
10002 int main(int argc, char **argv) { return 0; }
10004 if ac_fn_c_try_link "$LINENO"
10006 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
10008 ac_cv_cflags__fPIC__Wl___export_dynamic=no
10010 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10011 conftest$ac_exeext conftest.$ac_ext
10012 CFLAGS=$ac_wine_try_cflags_saved
10014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
10015 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
10016 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
10018 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10020 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
10023 printf %s "checking for -lEGL... " >&6; }
10024 if test ${ac_cv_lib_soname_EGL+y}
10026 printf %s "(cached) " >&6
10028 ac_check_soname_save_LIBS=$LIBS
10030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10031 /* end confdefs.h. */
10033 /* Override any GCC internal prototype to avoid an error.
10034 Use char because int might match the return type of a GCC
10035 builtin and then its argument prototype would still apply. */
10036 char eglGetProcAddress ();
10040 return eglGetProcAddress ();
10045 if ac_fn_c_try_link "$LINENO"
10048 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe |
grep "EGL" |
sed -e "s/dll.*/dll/"';2,$d'` ;;
10049 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'` ;;
10050 *) ac_cv_lib_soname_EGL=`$READELF -d conftest
$ac_exeext |
grep "NEEDED.*libEGL\\.$LIBEXT" |
sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10051 if ${ac_cv_lib_soname_EGL:+false} :
10053 ac_cv_lib_soname_EGL=`$LDD conftest
$ac_exeext |
grep "libEGL\\.$LIBEXT" |
sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10057 ac_cv_lib_soname_EGL=
10059 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10060 conftest$ac_exeext conftest.$ac_ext
10061 LIBS=$ac_check_soname_save_LIBS
10063 if ${ac_cv_lib_soname_EGL:+false} :
10065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10066 printf "%s\n" "not found" >&6; }
10069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10070 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10072 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10077 printf %s "checking for -lGLESv2... " >&6; }
10078 if test ${ac_cv_lib_soname_GLESv2+y}
10080 printf %s "(cached) " >&6
10082 ac_check_soname_save_LIBS=$LIBS
10083 LIBS="-lGLESv2 $LIBS"
10084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10085 /* end confdefs.h. */
10087 /* Override any GCC internal prototype to avoid an error.
10088 Use char because int might match the return type of a GCC
10089 builtin and then its argument prototype would still apply. */
10099 if ac_fn_c_try_link "$LINENO"
10102 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe |
grep "GLESv2" |
sed -e "s/dll.*/dll/"';2,$d'` ;;
10103 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'` ;;
10104 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest
$ac_exeext |
grep "NEEDED.*libGLESv2\\.$LIBEXT" |
sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10105 if ${ac_cv_lib_soname_GLESv2:+false} :
10107 ac_cv_lib_soname_GLESv2=`$LDD conftest
$ac_exeext |
grep "libGLESv2\\.$LIBEXT" |
sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10111 ac_cv_lib_soname_GLESv2=
10113 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10114 conftest$ac_exeext conftest.$ac_ext
10115 LIBS=$ac_check_soname_save_LIBS
10117 if ${ac_cv_lib_soname_GLESv2:+false} :
10119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10120 printf "%s\n" "not found" >&6; }
10123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10124 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10126 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10131 if test "x$exec_prefix" = xNONE
10134 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10135 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10136 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10137 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10144 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10146 test "$ac_cv_sys_file_offset_bits" = 64 &&
10147 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10151 DLLFLAGS="$DLLFLAGS -fno-PIC"
10152 LDDLLFLAGS="-fno-PIC"
10153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10154 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10155 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10157 printf %s "(cached) " >&6
10159 ac_wine_try_cflags_saved=$CFLAGS
10160 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10162 /* end confdefs.h. */
10163 int main(int argc, char **argv) { return 0; }
10165 if ac_fn_c_try_link "$LINENO"
10167 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10169 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10171 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10172 conftest$ac_exeext conftest.$ac_ext
10173 CFLAGS=$ac_wine_try_cflags_saved
10175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10176 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10177 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10179 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10183 DLLFLAGS="$DLLFLAGS -fPIC"
10184 LDDLLFLAGS="-fPIC" ;;
10187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10188 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10189 if test ${ac_cv_cflags__Wl__z_defs+y}
10191 printf %s "(cached) " >&6
10193 ac_wine_try_cflags_saved=$CFLAGS
10194 CFLAGS="$CFLAGS -Wl,-z,defs"
10195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10196 /* end confdefs.h. */
10197 int main(int argc, char **argv) { return 0; }
10199 if ac_fn_c_try_link "$LINENO"
10201 ac_cv_cflags__Wl__z_defs=yes
10203 ac_cv_cflags__Wl__z_defs=no
10205 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10206 conftest$ac_exeext conftest.$ac_ext
10207 CFLAGS=$ac_wine_try_cflags_saved
10209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10210 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10211 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10213 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10216 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10217 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10219 printf %s "(cached) " >&6
10221 ac_wine_try_cflags_saved=$CFLAGS
10222 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10224 /* end confdefs.h. */
10225 int main(int argc, char **argv) { return 0; }
10227 if ac_fn_c_try_link "$LINENO"
10229 ac_cv_cflags__Wl___export_dynamic=yes
10231 ac_cv_cflags__Wl___export_dynamic=no
10233 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10234 conftest$ac_exeext conftest.$ac_ext
10235 CFLAGS=$ac_wine_try_cflags_saved
10237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10238 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10239 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10241 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10243 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10246 *i[3456789]86* | x86_64 | *aarch64* | arm*)
10247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
10248 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
10249 if test ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+y}
10251 printf %s "(cached) " >&6
10253 ac_wine_try_cflags_saved=$CFLAGS
10254 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
10255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10256 /* end confdefs.h. */
10257 int main(int argc, char **argv) { return 0; }
10259 if ac_fn_c_try_link "$LINENO"
10261 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
10263 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
10265 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10266 conftest$ac_exeext conftest.$ac_ext
10267 CFLAGS=$ac_wine_try_cflags_saved
10269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
10270 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
10271 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
10274 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
10275 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
10278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
10279 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
10280 if test ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+y}
10282 printf %s "(cached) " >&6
10284 ac_wine_try_cflags_saved=$CFLAGS
10285 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
10286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10287 /* end confdefs.h. */
10288 int main(int argc, char **argv) { return 0; }
10290 if ac_fn_c_try_link "$LINENO"
10292 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
10294 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
10296 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10297 conftest$ac_exeext conftest.$ac_ext
10298 CFLAGS=$ac_wine_try_cflags_saved
10300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
10301 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
10302 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes
10305 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
10306 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
10310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
10311 printf %s "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
10312 if test ${ac_cv_cflags__Wl__z_max_page_size_0x1000+y}
10314 printf %s "(cached) " >&6
10316 ac_wine_try_cflags_saved=$CFLAGS
10317 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
10318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10319 /* end confdefs.h. */
10320 int main(int argc, char **argv) { return 0; }
10322 if ac_fn_c_try_link "$LINENO"
10324 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
10326 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
10328 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10329 conftest$ac_exeext conftest.$ac_ext
10330 CFLAGS=$ac_wine_try_cflags_saved
10332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
10333 printf "%s\n" "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
10334 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
10336 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
10343 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10344 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10345 enable_winemac_drv=${enable_winemac_drv:-no}
10350 if test ${enable_archs+y}
10352 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10355 set x $enable_archs
10361 i386|x86_64|arm|aarch64) cross_archs="$cross_archs $arch" ;;
10362 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10366 if test "x$with_mingw" != xno
10368 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10369 case "x$with_mingw" in
10371 *) eval "${cross_archs}_CC=\$with_mingw" ;;
10376 for wine_arch in $cross_archs
10378 if eval \${${wine_arch}_CC:+false} :
10382 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10384 # Extract the first word of "$ac_prog", so it can be a program name with args.
10385 set dummy $ac_prog; ac_word=$2
10386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10387 printf %s "checking for $ac_word... " >&6; }
10388 if test ${ac_cv_prog_aarch64_CC+y}
10390 printf %s "(cached) " >&6
10392 if test -n "$aarch64_CC"; then
10393 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10396 for as_dir in $PATH
10399 case $as_dir in #(((
10402 *) as_dir=$as_dir/ ;;
10404 for ac_exec_ext in '' $ac_executable_extensions; do
10405 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10406 ac_cv_prog_aarch64_CC="$ac_prog"
10407 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10416 aarch64_CC=$ac_cv_prog_aarch64_CC
10417 if test -n "$aarch64_CC"; then
10418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10419 printf "%s\n" "$aarch64_CC" >&6; }
10421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10422 printf "%s\n" "no" >&6; }
10426 test -n "$aarch64_CC" && break
10428 test -n "$aarch64_CC" || aarch64_CC="false"
10432 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10434 # Extract the first word of "$ac_prog", so it can be a program name with args.
10435 set dummy $ac_prog; ac_word=$2
10436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10437 printf %s "checking for $ac_word... " >&6; }
10438 if test ${ac_cv_prog_arm_CC+y}
10440 printf %s "(cached) " >&6
10442 if test -n "$arm_CC"; then
10443 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10446 for as_dir in $PATH
10449 case $as_dir in #(((
10452 *) as_dir=$as_dir/ ;;
10454 for ac_exec_ext in '' $ac_executable_extensions; do
10455 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10456 ac_cv_prog_arm_CC="$ac_prog"
10457 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10466 arm_CC=$ac_cv_prog_arm_CC
10467 if test -n "$arm_CC"; then
10468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10469 printf "%s\n" "$arm_CC" >&6; }
10471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10472 printf "%s\n" "no" >&6; }
10476 test -n "$arm_CC" && break
10478 test -n "$arm_CC" || arm_CC="false"
10482 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 "
10483 for ac_prog in $ac_prefix_list clang
10485 # Extract the first word of "$ac_prog", so it can be a program name with args.
10486 set dummy $ac_prog; ac_word=$2
10487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10488 printf %s "checking for $ac_word... " >&6; }
10489 if test ${ac_cv_prog_i386_CC+y}
10491 printf %s "(cached) " >&6
10493 if test -n "$i386_CC"; then
10494 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10497 for as_dir in $PATH
10500 case $as_dir in #(((
10503 *) as_dir=$as_dir/ ;;
10505 for ac_exec_ext in '' $ac_executable_extensions; do
10506 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10507 ac_cv_prog_i386_CC="$ac_prog"
10508 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10517 i386_CC=$ac_cv_prog_i386_CC
10518 if test -n "$i386_CC"; then
10519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10520 printf "%s\n" "$i386_CC" >&6; }
10522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10523 printf "%s\n" "no" >&6; }
10527 test -n "$i386_CC" && break
10529 test -n "$i386_CC" || i386_CC="false"
10533 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10534 for ac_prog in $ac_prefix_list clang
10536 # Extract the first word of "$ac_prog", so it can be a program name with args.
10537 set dummy $ac_prog; ac_word=$2
10538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10539 printf %s "checking for $ac_word... " >&6; }
10540 if test ${ac_cv_prog_x86_64_CC+y}
10542 printf %s "(cached) " >&6
10544 if test -n "$x86_64_CC"; then
10545 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10548 for as_dir in $PATH
10551 case $as_dir in #(((
10554 *) as_dir=$as_dir/ ;;
10556 for ac_exec_ext in '' $ac_executable_extensions; do
10557 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10558 ac_cv_prog_x86_64_CC="$ac_prog"
10559 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10568 x86_64_CC=$ac_cv_prog_x86_64_CC
10569 if test -n "$x86_64_CC"; then
10570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10571 printf "%s\n" "$x86_64_CC" >&6; }
10573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10574 printf "%s\n" "no" >&6; }
10578 test -n "$x86_64_CC" && break
10580 test -n "$x86_64_CC" || x86_64_CC="false"
10586 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10592 saved_CFLAGS=$CFLAGS
10594 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10595 eval CC=\$${wine_arch}_CC
10596 eval ${wine_arch}_CFLAGS=\$CFLAGS
10597 eval ${wine_arch}_LDFLAGS=\$CROSSLDFLAGS
10598 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10601 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" |
$as_tr_sh`
10603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10604 printf %s "checking whether $CC works... " >&6; }
10605 if eval test \${$as_wine_cv_crosscc+y}
10607 printf %s "(cached) " >&6
10609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10610 /* end confdefs.h. */
10620 if ac_fn_c_try_compile "$LINENO"
10622 eval "$as_wine_cv_crosscc=yes"
10624 eval "$as_wine_cv_crosscc=no"
10626 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10628 eval ac_res=\$$as_wine_cv_crosscc
10629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10630 printf "%s\n" "$ac_res" >&6; }
10631 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10635 while test $# -ge 1
10638 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10639 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10644 llvm_target=$target
10645 if test -z "$llvm_target"
10648 i386) llvm_target=i686-windows ;;
10649 arm) llvm_target=armv7-windows ;;
10650 *) llvm_target=$wine_arch-windows ;;
10653 llvm_extra_cflags="-target $llvm_target -fuse-ld=lld"
10654 case $llvm_target in
10655 *windows) llvm_cflags="-Wl,-subsystem:console -Wl,-WX" ;;
10657 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags" |
$as_tr_sh`
10658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags" >&5
10659 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags... " >&6; }
10660 if eval test \${$as_ac_var+y}
10662 printf %s "(cached) " >&6
10664 ac_wine_try_cflags_saved=$CFLAGS
10665 ac_wine_try_cflags_saved_exeext=$ac_exeext
10666 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags"
10668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10669 /* end confdefs.h. */
10670 int __cdecl mainCRTStartup(void) { return 0; }
10672 if ac_fn_c_try_link "$LINENO"
10674 eval "$as_ac_var=yes"
10676 eval "$as_ac_var=no"
10678 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10679 conftest$ac_exeext conftest.$ac_ext
10680 CFLAGS=$ac_wine_try_cflags_saved
10681 ac_exeext=$ac_wine_try_cflags_saved_exeext
10683 eval ac_res=\$$as_ac_var
10684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10685 printf "%s\n" "$ac_res" >&6; }
10686 if eval test \"x\$"$as_ac_var"\" = x"yes"
10688 target=$llvm_target
10689 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10690 as_fn_append ${wine_arch}_EXTRACFLAGS " $llvm_extra_cflags"
10691 CFLAGS="$llvm_extra_cflags $llvm_cflags"
10693 eval "${wine_arch}_TARGET=\$target"
10697 if test -z "$target"
10700 CFLAGS=$saved_CFLAGS
10703 as_fn_append PE_ARCHS " $wine_arch"
10705 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" |
$as_tr_sh`
10707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10708 printf %s "checking for $CC option to enable C99 features... " >&6; }
10709 if eval test \${$as_wine_cv_crosscc_c99+y}
10711 printf %s "(cached) " >&6
10713 eval "$as_wine_cv_crosscc_c99=no"
10714 for arg in '' '-std=gnu99'
10716 test -z "$arg" || CC="$CC $arg"
10717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10718 /* end confdefs.h. */
10719 $ac_c_conftest_c99_program
10721 if ac_fn_c_try_compile "$LINENO"
10723 eval "$as_wine_cv_crosscc_c99=\$arg"
10725 eval "$as_wine_cv_crosscc_c99=no"
10727 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10728 eval CC=\$${wine_arch}_CC
10729 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10738 eval res=\$$as_wine_cv_crosscc_c99
10740 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10741 printf "%s\n" "none needed" >&6; } ;;
10742 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10743 printf "%s\n" "unsupported" >&6; } ;;
10744 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10745 printf "%s\n" "$res" >&6; }
10746 as_fn_append ${wine_arch}_CC " $res" ;;
10750 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" |
$as_tr_sh`
10751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10752 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10753 if eval test \${$as_ac_var+y}
10755 printf %s "(cached) " >&6
10757 ac_wine_try_cflags_saved=$CFLAGS
10758 ac_wine_try_cflags_saved_exeext=$ac_exeext
10759 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-strict-aliasing"
10761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10762 /* end confdefs.h. */
10763 int __cdecl mainCRTStartup(void) { return 0; }
10765 if ac_fn_c_try_link "$LINENO"
10767 eval "$as_ac_var=yes"
10769 eval "$as_ac_var=no"
10771 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10772 conftest$ac_exeext conftest.$ac_ext
10773 CFLAGS=$ac_wine_try_cflags_saved
10774 ac_exeext=$ac_wine_try_cflags_saved_exeext
10776 eval ac_res=\$$as_ac_var
10777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10778 printf "%s\n" "$ac_res" >&6; }
10779 if eval test \"x\$"$as_ac_var"\" = x"yes"
10781 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10783 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" |
$as_tr_sh`
10784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10785 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10786 if eval test \${$as_ac_var+y}
10788 printf %s "(cached) " >&6
10790 ac_wine_try_cflags_saved=$CFLAGS
10791 ac_wine_try_cflags_saved_exeext=$ac_exeext
10792 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=unknown-warning-option"
10794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10795 /* end confdefs.h. */
10796 int __cdecl mainCRTStartup(void) { return 0; }
10798 if ac_fn_c_try_link "$LINENO"
10800 eval "$as_ac_var=yes"
10802 eval "$as_ac_var=no"
10804 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10805 conftest$ac_exeext conftest.$ac_ext
10806 CFLAGS=$ac_wine_try_cflags_saved
10807 ac_exeext=$ac_wine_try_cflags_saved_exeext
10809 eval ac_res=\$$as_ac_var
10810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10811 printf "%s\n" "$ac_res" >&6; }
10812 if eval test \"x\$"$as_ac_var"\" = x"yes"
10814 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10816 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" |
$as_tr_sh`
10817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
10818 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
10819 if eval test \${$as_ac_var+y}
10821 printf %s "(cached) " >&6
10823 ac_wine_try_cflags_saved=$CFLAGS
10824 ac_wine_try_cflags_saved_exeext=$ac_exeext
10825 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=ignored-optimization-argument"
10827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10828 /* end confdefs.h. */
10829 int __cdecl mainCRTStartup(void) { return 0; }
10831 if ac_fn_c_try_link "$LINENO"
10833 eval "$as_ac_var=yes"
10835 eval "$as_ac_var=no"
10837 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10838 conftest$ac_exeext conftest.$ac_ext
10839 CFLAGS=$ac_wine_try_cflags_saved
10840 ac_exeext=$ac_wine_try_cflags_saved_exeext
10842 eval ac_res=\$$as_ac_var
10843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10844 printf "%s\n" "$ac_res" >&6; }
10845 if eval test \"x\$"$as_ac_var"\" = x"yes"
10847 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10849 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" |
$as_tr_sh`
10850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
10851 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
10852 if eval test \${$as_ac_var+y}
10854 printf %s "(cached) " >&6
10856 ac_wine_try_cflags_saved=$CFLAGS
10857 ac_wine_try_cflags_saved_exeext=$ac_exeext
10858 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wdeclaration-after-statement"
10860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10861 /* end confdefs.h. */
10862 int __cdecl mainCRTStartup(void) { return 0; }
10864 if ac_fn_c_try_link "$LINENO"
10866 eval "$as_ac_var=yes"
10868 eval "$as_ac_var=no"
10870 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10871 conftest$ac_exeext conftest.$ac_ext
10872 CFLAGS=$ac_wine_try_cflags_saved
10873 ac_exeext=$ac_wine_try_cflags_saved_exeext
10875 eval ac_res=\$$as_ac_var
10876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10877 printf "%s\n" "$ac_res" >&6; }
10878 if eval test \"x\$"$as_ac_var"\" = x"yes"
10880 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
10882 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" |
$as_tr_sh`
10883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
10884 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
10885 if eval test \${$as_ac_var+y}
10887 printf %s "(cached) " >&6
10889 ac_wine_try_cflags_saved=$CFLAGS
10890 ac_wine_try_cflags_saved_exeext=$ac_exeext
10891 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wempty-body"
10893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10894 /* end confdefs.h. */
10895 int __cdecl mainCRTStartup(void) { return 0; }
10897 if ac_fn_c_try_link "$LINENO"
10899 eval "$as_ac_var=yes"
10901 eval "$as_ac_var=no"
10903 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10904 conftest$ac_exeext conftest.$ac_ext
10905 CFLAGS=$ac_wine_try_cflags_saved
10906 ac_exeext=$ac_wine_try_cflags_saved_exeext
10908 eval ac_res=\$$as_ac_var
10909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10910 printf "%s\n" "$ac_res" >&6; }
10911 if eval test \"x\$"$as_ac_var"\" = x"yes"
10913 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
10915 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" |
$as_tr_sh`
10916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
10917 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
10918 if eval test \${$as_ac_var+y}
10920 printf %s "(cached) " >&6
10922 ac_wine_try_cflags_saved=$CFLAGS
10923 ac_wine_try_cflags_saved_exeext=$ac_exeext
10924 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wignored-qualifiers"
10926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10927 /* end confdefs.h. */
10928 int __cdecl mainCRTStartup(void) { return 0; }
10930 if ac_fn_c_try_link "$LINENO"
10932 eval "$as_ac_var=yes"
10934 eval "$as_ac_var=no"
10936 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10937 conftest$ac_exeext conftest.$ac_ext
10938 CFLAGS=$ac_wine_try_cflags_saved
10939 ac_exeext=$ac_wine_try_cflags_saved_exeext
10941 eval ac_res=\$$as_ac_var
10942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10943 printf "%s\n" "$ac_res" >&6; }
10944 if eval test \"x\$"$as_ac_var"\" = x"yes"
10946 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
10948 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" |
$as_tr_sh`
10949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
10950 printf %s "checking whether $CC supports -Winit-self... " >&6; }
10951 if eval test \${$as_ac_var+y}
10953 printf %s "(cached) " >&6
10955 ac_wine_try_cflags_saved=$CFLAGS
10956 ac_wine_try_cflags_saved_exeext=$ac_exeext
10957 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Winit-self"
10959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10960 /* end confdefs.h. */
10961 int __cdecl mainCRTStartup(void) { return 0; }
10963 if ac_fn_c_try_link "$LINENO"
10965 eval "$as_ac_var=yes"
10967 eval "$as_ac_var=no"
10969 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10970 conftest$ac_exeext conftest.$ac_ext
10971 CFLAGS=$ac_wine_try_cflags_saved
10972 ac_exeext=$ac_wine_try_cflags_saved_exeext
10974 eval ac_res=\$$as_ac_var
10975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10976 printf "%s\n" "$ac_res" >&6; }
10977 if eval test \"x\$"$as_ac_var"\" = x"yes"
10979 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
10981 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" |
$as_tr_sh`
10982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
10983 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
10984 if eval test \${$as_ac_var+y}
10986 printf %s "(cached) " >&6
10988 ac_wine_try_cflags_saved=$CFLAGS
10989 ac_wine_try_cflags_saved_exeext=$ac_exeext
10990 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpacked-not-aligned"
10992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10993 /* end confdefs.h. */
10994 int __cdecl mainCRTStartup(void) { return 0; }
10996 if ac_fn_c_try_link "$LINENO"
10998 eval "$as_ac_var=yes"
11000 eval "$as_ac_var=no"
11002 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11003 conftest$ac_exeext conftest.$ac_ext
11004 CFLAGS=$ac_wine_try_cflags_saved
11005 ac_exeext=$ac_wine_try_cflags_saved_exeext
11007 eval ac_res=\$$as_ac_var
11008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11009 printf "%s\n" "$ac_res" >&6; }
11010 if eval test \"x\$"$as_ac_var"\" = x"yes"
11012 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
11014 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" |
$as_tr_sh`
11015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
11016 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
11017 if eval test \${$as_ac_var+y}
11019 printf %s "(cached) " >&6
11021 ac_wine_try_cflags_saved=$CFLAGS
11022 ac_wine_try_cflags_saved_exeext=$ac_exeext
11023 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpragma-pack"
11025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11026 /* end confdefs.h. */
11027 int __cdecl mainCRTStartup(void) { return 0; }
11029 if ac_fn_c_try_link "$LINENO"
11031 eval "$as_ac_var=yes"
11033 eval "$as_ac_var=no"
11035 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11036 conftest$ac_exeext conftest.$ac_ext
11037 CFLAGS=$ac_wine_try_cflags_saved
11038 ac_exeext=$ac_wine_try_cflags_saved_exeext
11040 eval ac_res=\$$as_ac_var
11041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11042 printf "%s\n" "$ac_res" >&6; }
11043 if eval test \"x\$"$as_ac_var"\" = x"yes"
11045 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
11047 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" |
$as_tr_sh`
11048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
11049 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
11050 if eval test \${$as_ac_var+y}
11052 printf %s "(cached) " >&6
11054 ac_wine_try_cflags_saved=$CFLAGS
11055 ac_wine_try_cflags_saved_exeext=$ac_exeext
11056 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wshift-overflow=2"
11058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11059 /* end confdefs.h. */
11060 int __cdecl mainCRTStartup(void) { return 0; }
11062 if ac_fn_c_try_link "$LINENO"
11064 eval "$as_ac_var=yes"
11066 eval "$as_ac_var=no"
11068 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11069 conftest$ac_exeext conftest.$ac_ext
11070 CFLAGS=$ac_wine_try_cflags_saved
11071 ac_exeext=$ac_wine_try_cflags_saved_exeext
11073 eval ac_res=\$$as_ac_var
11074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11075 printf "%s\n" "$ac_res" >&6; }
11076 if eval test \"x\$"$as_ac_var"\" = x"yes"
11078 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11080 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" |
$as_tr_sh`
11081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11082 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11083 if eval test \${$as_ac_var+y}
11085 printf %s "(cached) " >&6
11087 ac_wine_try_cflags_saved=$CFLAGS
11088 ac_wine_try_cflags_saved_exeext=$ac_exeext
11089 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wstrict-prototypes"
11091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11092 /* end confdefs.h. */
11093 int __cdecl mainCRTStartup(void) { return 0; }
11095 if ac_fn_c_try_link "$LINENO"
11097 eval "$as_ac_var=yes"
11099 eval "$as_ac_var=no"
11101 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11102 conftest$ac_exeext conftest.$ac_ext
11103 CFLAGS=$ac_wine_try_cflags_saved
11104 ac_exeext=$ac_wine_try_cflags_saved_exeext
11106 eval ac_res=\$$as_ac_var
11107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11108 printf "%s\n" "$ac_res" >&6; }
11109 if eval test \"x\$"$as_ac_var"\" = x"yes"
11111 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11113 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" |
$as_tr_sh`
11114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11115 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11116 if eval test \${$as_ac_var+y}
11118 printf %s "(cached) " >&6
11120 ac_wine_try_cflags_saved=$CFLAGS
11121 ac_wine_try_cflags_saved_exeext=$ac_exeext
11122 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wtype-limits"
11124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11125 /* end confdefs.h. */
11126 int __cdecl mainCRTStartup(void) { return 0; }
11128 if ac_fn_c_try_link "$LINENO"
11130 eval "$as_ac_var=yes"
11132 eval "$as_ac_var=no"
11134 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11135 conftest$ac_exeext conftest.$ac_ext
11136 CFLAGS=$ac_wine_try_cflags_saved
11137 ac_exeext=$ac_wine_try_cflags_saved_exeext
11139 eval ac_res=\$$as_ac_var
11140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11141 printf "%s\n" "$ac_res" >&6; }
11142 if eval test \"x\$"$as_ac_var"\" = x"yes"
11144 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11146 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" |
$as_tr_sh`
11147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11148 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11149 if eval test \${$as_ac_var+y}
11151 printf %s "(cached) " >&6
11153 ac_wine_try_cflags_saved=$CFLAGS
11154 ac_wine_try_cflags_saved_exeext=$ac_exeext
11155 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wunused-but-set-parameter"
11157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11158 /* end confdefs.h. */
11159 int __cdecl mainCRTStartup(void) { return 0; }
11161 if ac_fn_c_try_link "$LINENO"
11163 eval "$as_ac_var=yes"
11165 eval "$as_ac_var=no"
11167 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11168 conftest$ac_exeext conftest.$ac_ext
11169 CFLAGS=$ac_wine_try_cflags_saved
11170 ac_exeext=$ac_wine_try_cflags_saved_exeext
11172 eval ac_res=\$$as_ac_var
11173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11174 printf "%s\n" "$ac_res" >&6; }
11175 if eval test \"x\$"$as_ac_var"\" = x"yes"
11177 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11179 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" |
$as_tr_sh`
11180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11181 printf %s "checking whether $CC supports -Wvla... " >&6; }
11182 if eval test \${$as_ac_var+y}
11184 printf %s "(cached) " >&6
11186 ac_wine_try_cflags_saved=$CFLAGS
11187 ac_wine_try_cflags_saved_exeext=$ac_exeext
11188 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wvla"
11190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11191 /* end confdefs.h. */
11192 int __cdecl mainCRTStartup(void) { return 0; }
11194 if ac_fn_c_try_link "$LINENO"
11196 eval "$as_ac_var=yes"
11198 eval "$as_ac_var=no"
11200 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11201 conftest$ac_exeext conftest.$ac_ext
11202 CFLAGS=$ac_wine_try_cflags_saved
11203 ac_exeext=$ac_wine_try_cflags_saved_exeext
11205 eval ac_res=\$$as_ac_var
11206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11207 printf "%s\n" "$ac_res" >&6; }
11208 if eval test \"x\$"$as_ac_var"\" = x"yes"
11210 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11212 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" |
$as_tr_sh`
11213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11214 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11215 if eval test \${$as_ac_var+y}
11217 printf %s "(cached) " >&6
11219 ac_wine_try_cflags_saved=$CFLAGS
11220 ac_wine_try_cflags_saved_exeext=$ac_exeext
11221 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wwrite-strings"
11223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11224 /* end confdefs.h. */
11225 int __cdecl mainCRTStartup(void) { return 0; }
11227 if ac_fn_c_try_link "$LINENO"
11229 eval "$as_ac_var=yes"
11231 eval "$as_ac_var=no"
11233 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11234 conftest$ac_exeext conftest.$ac_ext
11235 CFLAGS=$ac_wine_try_cflags_saved
11236 ac_exeext=$ac_wine_try_cflags_saved_exeext
11238 eval ac_res=\$$as_ac_var
11239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11240 printf "%s\n" "$ac_res" >&6; }
11241 if eval test \"x\$"$as_ac_var"\" = x"yes"
11243 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11245 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" |
$as_tr_sh`
11246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11247 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11248 if eval test \${$as_ac_var+y}
11250 printf %s "(cached) " >&6
11252 ac_wine_try_cflags_saved=$CFLAGS
11253 ac_wine_try_cflags_saved_exeext=$ac_exeext
11254 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpointer-arith"
11256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11257 /* end confdefs.h. */
11258 int __cdecl mainCRTStartup(void) { return 0; }
11260 if ac_fn_c_try_link "$LINENO"
11262 eval "$as_ac_var=yes"
11264 eval "$as_ac_var=no"
11266 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11267 conftest$ac_exeext conftest.$ac_ext
11268 CFLAGS=$ac_wine_try_cflags_saved
11269 ac_exeext=$ac_wine_try_cflags_saved_exeext
11271 eval ac_res=\$$as_ac_var
11272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11273 printf "%s\n" "$ac_res" >&6; }
11274 if eval test \"x\$"$as_ac_var"\" = x"yes"
11276 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11278 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" |
$as_tr_sh`
11279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11280 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11281 if eval test \${$as_ac_var+y}
11283 printf %s "(cached) " >&6
11285 ac_wine_try_cflags_saved=$CFLAGS
11286 ac_wine_try_cflags_saved_exeext=$ac_exeext
11287 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wlogical-op"
11289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11290 /* end confdefs.h. */
11291 int __cdecl mainCRTStartup(void) { return 0; }
11293 if ac_fn_c_try_link "$LINENO"
11295 eval "$as_ac_var=yes"
11297 eval "$as_ac_var=no"
11299 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11300 conftest$ac_exeext conftest.$ac_ext
11301 CFLAGS=$ac_wine_try_cflags_saved
11302 ac_exeext=$ac_wine_try_cflags_saved_exeext
11304 eval ac_res=\$$as_ac_var
11305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11306 printf "%s\n" "$ac_res" >&6; }
11307 if eval test \"x\$"$as_ac_var"\" = x"yes"
11309 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11311 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" |
$as_tr_sh`
11312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11313 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11314 if eval test \${$as_ac_var+y}
11316 printf %s "(cached) " >&6
11318 ac_wine_try_cflags_saved=$CFLAGS
11319 ac_wine_try_cflags_saved_exeext=$ac_exeext
11320 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wabsolute-value"
11322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11323 /* end confdefs.h. */
11324 int __cdecl mainCRTStartup(void) { return 0; }
11326 if ac_fn_c_try_link "$LINENO"
11328 eval "$as_ac_var=yes"
11330 eval "$as_ac_var=no"
11332 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11333 conftest$ac_exeext conftest.$ac_ext
11334 CFLAGS=$ac_wine_try_cflags_saved
11335 ac_exeext=$ac_wine_try_cflags_saved_exeext
11337 eval ac_res=\$$as_ac_var
11338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11339 printf "%s\n" "$ac_res" >&6; }
11340 if eval test \"x\$"$as_ac_var"\" = x"yes"
11342 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11346 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" |
$as_tr_sh`
11347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11348 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11349 if eval test \${$as_ac_var+y}
11351 printf %s "(cached) " >&6
11353 ac_wine_try_cflags_saved=$CFLAGS
11354 ac_wine_try_cflags_saved_exeext=$ac_exeext
11355 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-omit-frame-pointer"
11357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11358 /* end confdefs.h. */
11359 int __cdecl mainCRTStartup(void) { return 0; }
11361 if ac_fn_c_try_link "$LINENO"
11363 eval "$as_ac_var=yes"
11365 eval "$as_ac_var=no"
11367 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11368 conftest$ac_exeext conftest.$ac_ext
11369 CFLAGS=$ac_wine_try_cflags_saved
11370 ac_exeext=$ac_wine_try_cflags_saved_exeext
11372 eval ac_res=\$$as_ac_var
11373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11374 printf "%s\n" "$ac_res" >&6; }
11375 if eval test \"x\$"$as_ac_var"\" = x"yes"
11377 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11379 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" |
$as_tr_sh`
11380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11381 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11382 if eval test \${$as_ac_var+y}
11384 printf %s "(cached) " >&6
11386 ac_wine_try_cflags_saved=$CFLAGS
11387 ac_wine_try_cflags_saved_exeext=$ac_exeext
11388 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--disable-stdcall-fixup"
11390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11391 /* end confdefs.h. */
11392 int __cdecl mainCRTStartup(void) { return 0; }
11394 if ac_fn_c_try_link "$LINENO"
11396 eval "$as_ac_var=yes"
11398 eval "$as_ac_var=no"
11400 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11401 conftest$ac_exeext conftest.$ac_ext
11402 CFLAGS=$ac_wine_try_cflags_saved
11403 ac_exeext=$ac_wine_try_cflags_saved_exeext
11405 eval ac_res=\$$as_ac_var
11406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11407 printf "%s\n" "$ac_res" >&6; }
11408 if eval test \"x\$"$as_ac_var"\" = x"yes"
11410 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11412 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" |
$as_tr_sh`
11413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11414 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11415 if eval test \${$as_ac_var+y}
11417 printf %s "(cached) " >&6
11419 ac_wine_try_cflags_saved=$CFLAGS
11420 ac_wine_try_cflags_saved_exeext=$ac_exeext
11421 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wformat-overflow"
11423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11424 /* end confdefs.h. */
11425 int __cdecl mainCRTStartup(void) { return 0; }
11427 if ac_fn_c_try_link "$LINENO"
11429 eval "$as_ac_var=yes"
11431 eval "$as_ac_var=no"
11433 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11434 conftest$ac_exeext conftest.$ac_ext
11435 CFLAGS=$ac_wine_try_cflags_saved
11436 ac_exeext=$ac_wine_try_cflags_saved_exeext
11438 eval ac_res=\$$as_ac_var
11439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11440 printf "%s\n" "$ac_res" >&6; }
11441 if eval test \"x\$"$as_ac_var"\" = x"yes"
11443 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11445 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" |
$as_tr_sh`
11446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11447 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11448 if eval test \${$as_ac_var+y}
11450 printf %s "(cached) " >&6
11452 ac_wine_try_cflags_saved=$CFLAGS
11453 ac_wine_try_cflags_saved_exeext=$ac_exeext
11454 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wnonnull"
11456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11457 /* end confdefs.h. */
11458 int __cdecl mainCRTStartup(void) { return 0; }
11460 if ac_fn_c_try_link "$LINENO"
11462 eval "$as_ac_var=yes"
11464 eval "$as_ac_var=no"
11466 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11467 conftest$ac_exeext conftest.$ac_ext
11468 CFLAGS=$ac_wine_try_cflags_saved
11469 ac_exeext=$ac_wine_try_cflags_saved_exeext
11471 eval ac_res=\$$as_ac_var
11472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11473 printf "%s\n" "$ac_res" >&6; }
11474 if eval test \"x\$"$as_ac_var"\" = x"yes"
11476 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11478 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" |
$as_tr_sh`
11479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11480 printf %s "checking whether $CC supports -mcx16... " >&6; }
11481 if eval test \${$as_ac_var+y}
11483 printf %s "(cached) " >&6
11485 ac_wine_try_cflags_saved=$CFLAGS
11486 ac_wine_try_cflags_saved_exeext=$ac_exeext
11487 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcx16"
11489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11490 /* end confdefs.h. */
11491 int __cdecl mainCRTStartup(void) { return 0; }
11493 if ac_fn_c_try_link "$LINENO"
11495 eval "$as_ac_var=yes"
11497 eval "$as_ac_var=no"
11499 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11500 conftest$ac_exeext conftest.$ac_ext
11501 CFLAGS=$ac_wine_try_cflags_saved
11502 ac_exeext=$ac_wine_try_cflags_saved_exeext
11504 eval ac_res=\$$as_ac_var
11505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11506 printf "%s\n" "$ac_res" >&6; }
11507 if eval test \"x\$"$as_ac_var"\" = x"yes"
11509 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11513 wine_crossdebug=$CROSSDEBUG
11514 if test -z "$wine_crossdebug"
11516 for ac_flag in $CFLAGS; do
11518 -gdwarf*) wine_crossdebug=dwarf ;;
11519 -gcodeview) wine_crossdebug=pdb ;;
11520 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11525 ac_debug_format_seen=""
11526 for ac_flag in $CFLAGS; do
11528 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11531 if test "x$ac_debug_format_seen" = x
11533 case $wine_crossdebug in
11534 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" |
$as_tr_sh`
11535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11536 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11537 if eval test \${$as_ac_var+y}
11539 printf %s "(cached) " >&6
11541 ac_wine_try_cflags_saved=$CFLAGS
11542 ac_wine_try_cflags_saved_exeext=$ac_exeext
11543 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gdwarf-4"
11545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11546 /* end confdefs.h. */
11547 int __cdecl mainCRTStartup(void) { return 0; }
11549 if ac_fn_c_try_link "$LINENO"
11551 eval "$as_ac_var=yes"
11553 eval "$as_ac_var=no"
11555 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11556 conftest$ac_exeext conftest.$ac_ext
11557 CFLAGS=$ac_wine_try_cflags_saved
11558 ac_exeext=$ac_wine_try_cflags_saved_exeext
11560 eval ac_res=\$$as_ac_var
11561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11562 printf "%s\n" "$ac_res" >&6; }
11563 if eval test \"x\$"$as_ac_var"\" = x"yes"
11565 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11567 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" |
$as_tr_sh`
11568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11569 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11570 if eval test \${$as_ac_var+y}
11572 printf %s "(cached) " >&6
11574 ac_wine_try_cflags_saved=$CFLAGS
11575 ac_wine_try_cflags_saved_exeext=$ac_exeext
11576 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gcodeview"
11578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11579 /* end confdefs.h. */
11580 int __cdecl mainCRTStartup(void) { return 0; }
11582 if ac_fn_c_try_link "$LINENO"
11584 eval "$as_ac_var=yes"
11586 eval "$as_ac_var=no"
11588 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11589 conftest$ac_exeext conftest.$ac_ext
11590 CFLAGS=$ac_wine_try_cflags_saved
11591 ac_exeext=$ac_wine_try_cflags_saved_exeext
11593 eval ac_res=\$$as_ac_var
11594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11595 printf "%s\n" "$ac_res" >&6; }
11596 if eval test \"x\$"$as_ac_var"\" = x"yes"
11598 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11602 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11604 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" |
$as_tr_sh`
11605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11606 printf %s "checking whether $CC supports -Werror... " >&6; }
11607 if eval test \${$as_ac_var+y}
11609 printf %s "(cached) " >&6
11611 ac_wine_try_cflags_saved=$CFLAGS
11612 ac_wine_try_cflags_saved_exeext=$ac_exeext
11613 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror"
11615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11616 /* end confdefs.h. */
11617 int __cdecl mainCRTStartup(void) { return 0; }
11619 if ac_fn_c_try_link "$LINENO"
11621 eval "$as_ac_var=yes"
11623 eval "$as_ac_var=no"
11625 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11626 conftest$ac_exeext conftest.$ac_ext
11627 CFLAGS=$ac_wine_try_cflags_saved
11628 ac_exeext=$ac_wine_try_cflags_saved_exeext
11630 eval ac_res=\$$as_ac_var
11631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11632 printf "%s\n" "$ac_res" >&6; }
11633 if eval test \"x\$"$as_ac_var"\" = x"yes"
11635 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11637 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" |
$as_tr_sh`
11638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11639 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11640 if eval test \${$as_ac_var+y}
11642 printf %s "(cached) " >&6
11644 ac_wine_try_cflags_saved=$CFLAGS
11645 ac_wine_try_cflags_saved_exeext=$ac_exeext
11646 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--build-id"
11648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11649 /* end confdefs.h. */
11650 int __cdecl mainCRTStartup(void) { return 0; }
11652 if ac_fn_c_try_link "$LINENO"
11654 eval "$as_ac_var=yes"
11656 eval "$as_ac_var=no"
11658 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11659 conftest$ac_exeext conftest.$ac_ext
11660 CFLAGS=$ac_wine_try_cflags_saved
11661 ac_exeext=$ac_wine_try_cflags_saved_exeext
11663 eval ac_res=\$$as_ac_var
11664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11665 printf "%s\n" "$ac_res" >&6; }
11666 if eval test \"x\$"$as_ac_var"\" = x"yes"
11668 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
11669 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
11673 CFLAGS=$saved_CFLAGS
11676 if test $HOST_ARCH = aarch64 -a "x$PE_ARCHS" = x
11678 as_fn_error $? "PE cross-compilation is required for ARM64, please install clang/llvm-dlltool/lld, or llvm-mingw." "$LINENO" 5
11681 if test "x$PE_ARCHS" = "x"
11683 case "x$with_mingw" in
11684 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
11686 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
11687 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
11693 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
11695 case "$host_cpu" in
11697 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11699 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11701 for ac_prog in $ac_prefix_list
11703 # Extract the first word of "$ac_prog", so it can be a program name with args.
11704 set dummy $ac_prog; ac_word=$2
11705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11706 printf %s "checking for $ac_word... " >&6; }
11707 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11709 printf %s "(cached) " >&6
11711 if test -n "$MINGW_PKG_CONFIG"; then
11712 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11715 for as_dir in $PATH
11718 case $as_dir in #(((
11721 *) as_dir=$as_dir/ ;;
11723 for ac_exec_ext in '' $ac_executable_extensions; do
11724 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11725 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11726 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11735 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11736 if test -n "$MINGW_PKG_CONFIG"; then
11737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11738 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
11740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11741 printf "%s\n" "no" >&6; }
11745 test -n "$MINGW_PKG_CONFIG" && break
11747 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
11749 if ${FAUDIO_PE_CFLAGS:+false} :
11751 if test ${MINGW_PKG_CONFIG+y}
11753 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio
2>/dev
/null
`
11756 if ${FAUDIO_PE_LIBS:+false} :
11758 if test ${MINGW_PKG_CONFIG+y}
11760 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio
2>/dev
/null
`
11763 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
11764 ac_save_CPPFLAGS=$CPPFLAGS
11765 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
11766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
11767 printf %s "checking for MinGW FAudio.h... " >&6; }
11768 if test ${ac_cv_mingw_header_FAudio_h+y}
11770 printf %s "(cached) " >&6
11772 ac_wine_check_headers_saved_cc=$CC
11773 ac_wine_check_headers_saved_exeext=$ac_exeext
11774 eval CC=\$${wine_arch}_CC
11776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11777 /* end confdefs.h. */
11779 #include <FAudio.h>
11788 if ac_fn_c_try_compile "$LINENO"
11790 ac_cv_mingw_header_FAudio_h=yes
11792 ac_cv_mingw_header_FAudio_h=no
11794 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11795 CC=$ac_wine_check_headers_saved_cc
11796 ac_exeext=$ac_wine_check_headers_saved_exeext
11798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
11799 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
11800 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
11802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
11803 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
11804 if test ${ac_cv_mingw_lib_FAudio+y}
11806 printf %s "(cached) " >&6
11808 ac_wine_check_headers_saved_cc=$CC
11809 ac_wine_check_headers_saved_exeext=$ac_exeext
11810 ac_wine_check_headers_saved_libs=$LIBS
11811 eval CC=\$${wine_arch}_CC
11813 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
11814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11815 /* end confdefs.h. */
11817 /* Override any GCC internal prototype to avoid an error.
11818 Use char because int might match the return type of a GCC
11819 builtin and then its argument prototype would still apply. */
11820 char FAudio_CommitOperationSet ();
11824 return FAudio_CommitOperationSet ();
11829 if ac_fn_c_try_link "$LINENO"
11831 ac_cv_mingw_lib_FAudio=yes
11833 ac_cv_mingw_lib_FAudio=no
11835 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11836 conftest$ac_exeext conftest.$ac_ext
11837 CC=$ac_wine_check_headers_saved_cc
11838 ac_exeext=$ac_wine_check_headers_saved_exeext
11839 LIBS=$ac_wine_check_headers_saved_libs
11841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
11842 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
11843 if test "x$ac_cv_mingw_lib_FAudio" = xyes
11847 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11850 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11852 CPPFLAGS=$ac_save_CPPFLAGS
11854 if test "x$FAUDIO_PE_LIBS" = "x"
11856 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
11859 if ${JPEG_PE_CFLAGS:+false} :
11861 if test ${MINGW_PKG_CONFIG+y}
11863 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg
2>/dev
/null
`
11866 if ${JPEG_PE_LIBS:+false} :
11868 if test ${MINGW_PKG_CONFIG+y}
11870 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg
2>/dev
/null
`
11874 ac_save_CPPFLAGS=$CPPFLAGS
11875 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
11876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
11877 printf %s "checking for MinGW jpeglib.h... " >&6; }
11878 if test ${ac_cv_mingw_header_jpeglib_h+y}
11880 printf %s "(cached) " >&6
11882 ac_wine_check_headers_saved_cc=$CC
11883 ac_wine_check_headers_saved_exeext=$ac_exeext
11884 eval CC=\$${wine_arch}_CC
11886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11887 /* end confdefs.h. */
11888 #include <stddef.h>
11890 #include <jpeglib.h>
11899 if ac_fn_c_try_compile "$LINENO"
11901 ac_cv_mingw_header_jpeglib_h=yes
11903 ac_cv_mingw_header_jpeglib_h=no
11905 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11906 CC=$ac_wine_check_headers_saved_cc
11907 ac_exeext=$ac_wine_check_headers_saved_exeext
11909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
11910 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
11911 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
11913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
11914 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
11915 if test ${ac_cv_mingw_lib_jpeg+y}
11917 printf %s "(cached) " >&6
11919 ac_wine_check_headers_saved_cc=$CC
11920 ac_wine_check_headers_saved_exeext=$ac_exeext
11921 ac_wine_check_headers_saved_libs=$LIBS
11922 eval CC=\$${wine_arch}_CC
11924 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
11925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11926 /* end confdefs.h. */
11928 /* Override any GCC internal prototype to avoid an error.
11929 Use char because int might match the return type of a GCC
11930 builtin and then its argument prototype would still apply. */
11931 char jpeg_start_decompress ();
11935 return jpeg_start_decompress ();
11940 if ac_fn_c_try_link "$LINENO"
11942 ac_cv_mingw_lib_jpeg=yes
11944 ac_cv_mingw_lib_jpeg=no
11946 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11947 conftest$ac_exeext conftest.$ac_ext
11948 CC=$ac_wine_check_headers_saved_cc
11949 ac_exeext=$ac_wine_check_headers_saved_exeext
11950 LIBS=$ac_wine_check_headers_saved_libs
11952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
11953 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
11954 if test "x$ac_cv_mingw_lib_jpeg" = xyes
11958 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
11961 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
11963 CPPFLAGS=$ac_save_CPPFLAGS
11965 if test "x$JPEG_PE_LIBS" = "x"
11967 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
11970 if ${LCMS2_PE_CFLAGS:+false} :
11972 if test ${MINGW_PKG_CONFIG+y}
11974 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2
2>/dev
/null
`
11977 if ${LCMS2_PE_LIBS:+false} :
11979 if test ${MINGW_PKG_CONFIG+y}
11981 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2
2>/dev
/null
`
11984 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
11985 ac_save_CPPFLAGS=$CPPFLAGS
11986 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
11987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
11988 printf %s "checking for MinGW lcms2.h... " >&6; }
11989 if test ${ac_cv_mingw_header_lcms2_h+y}
11991 printf %s "(cached) " >&6
11993 ac_wine_check_headers_saved_cc=$CC
11994 ac_wine_check_headers_saved_exeext=$ac_exeext
11995 eval CC=\$${wine_arch}_CC
11997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11998 /* end confdefs.h. */
12009 if ac_fn_c_try_compile "$LINENO"
12011 ac_cv_mingw_header_lcms2_h=yes
12013 ac_cv_mingw_header_lcms2_h=no
12015 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12016 CC=$ac_wine_check_headers_saved_cc
12017 ac_exeext=$ac_wine_check_headers_saved_exeext
12019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12020 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12021 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12024 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12025 if test ${ac_cv_mingw_lib_lcms2+y}
12027 printf %s "(cached) " >&6
12029 ac_wine_check_headers_saved_cc=$CC
12030 ac_wine_check_headers_saved_exeext=$ac_exeext
12031 ac_wine_check_headers_saved_libs=$LIBS
12032 eval CC=\$${wine_arch}_CC
12034 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12036 /* end confdefs.h. */
12038 /* Override any GCC internal prototype to avoid an error.
12039 Use char because int might match the return type of a GCC
12040 builtin and then its argument prototype would still apply. */
12041 char cmsOpenProfileFromFile ();
12045 return cmsOpenProfileFromFile ();
12050 if ac_fn_c_try_link "$LINENO"
12052 ac_cv_mingw_lib_lcms2=yes
12054 ac_cv_mingw_lib_lcms2=no
12056 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12057 conftest$ac_exeext conftest.$ac_ext
12058 CC=$ac_wine_check_headers_saved_cc
12059 ac_exeext=$ac_wine_check_headers_saved_exeext
12060 LIBS=$ac_wine_check_headers_saved_libs
12062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12063 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12064 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12068 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12071 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12073 CPPFLAGS=$ac_save_CPPFLAGS
12075 if test "x$LCMS2_PE_LIBS" = "x"
12077 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12080 if ${MPG123_PE_CFLAGS:+false} :
12082 if test ${MINGW_PKG_CONFIG+y}
12084 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123
2>/dev
/null
`
12087 if ${MPG123_PE_LIBS:+false} :
12089 if test ${MINGW_PKG_CONFIG+y}
12091 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123
2>/dev
/null
`
12094 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12095 ac_save_CPPFLAGS=$CPPFLAGS
12096 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12098 printf %s "checking for MinGW mpg123.h... " >&6; }
12099 if test ${ac_cv_mingw_header_mpg123_h+y}
12101 printf %s "(cached) " >&6
12103 ac_wine_check_headers_saved_cc=$CC
12104 ac_wine_check_headers_saved_exeext=$ac_exeext
12105 eval CC=\$${wine_arch}_CC
12107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12108 /* end confdefs.h. */
12110 #include <mpg123.h>
12119 if ac_fn_c_try_compile "$LINENO"
12121 ac_cv_mingw_header_mpg123_h=yes
12123 ac_cv_mingw_header_mpg123_h=no
12125 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12126 CC=$ac_wine_check_headers_saved_cc
12127 ac_exeext=$ac_wine_check_headers_saved_exeext
12129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12130 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12131 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12134 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12135 if test ${ac_cv_mingw_lib_mpg123+y}
12137 printf %s "(cached) " >&6
12139 ac_wine_check_headers_saved_cc=$CC
12140 ac_wine_check_headers_saved_exeext=$ac_exeext
12141 ac_wine_check_headers_saved_libs=$LIBS
12142 eval CC=\$${wine_arch}_CC
12144 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12146 /* end confdefs.h. */
12148 /* Override any GCC internal prototype to avoid an error.
12149 Use char because int might match the return type of a GCC
12150 builtin and then its argument prototype would still apply. */
12151 char mpg123_feed ();
12155 return mpg123_feed ();
12160 if ac_fn_c_try_link "$LINENO"
12162 ac_cv_mingw_lib_mpg123=yes
12164 ac_cv_mingw_lib_mpg123=no
12166 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12167 conftest$ac_exeext conftest.$ac_ext
12168 CC=$ac_wine_check_headers_saved_cc
12169 ac_exeext=$ac_wine_check_headers_saved_exeext
12170 LIBS=$ac_wine_check_headers_saved_libs
12172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12173 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12174 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12178 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12181 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12183 CPPFLAGS=$ac_save_CPPFLAGS
12185 if test "x$MPG123_PE_LIBS" = "x"
12187 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12190 if ${PNG_PE_CFLAGS:+false} :
12192 if test ${MINGW_PKG_CONFIG+y}
12194 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng
2>/dev
/null
`
12197 if ${PNG_PE_LIBS:+false} :
12199 if test ${MINGW_PKG_CONFIG+y}
12201 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng
2>/dev
/null
`
12205 ac_save_CPPFLAGS=$CPPFLAGS
12206 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12208 printf %s "checking for MinGW png.h... " >&6; }
12209 if test ${ac_cv_mingw_header_png_h+y}
12211 printf %s "(cached) " >&6
12213 ac_wine_check_headers_saved_cc=$CC
12214 ac_wine_check_headers_saved_exeext=$ac_exeext
12215 eval CC=\$${wine_arch}_CC
12217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12218 /* end confdefs.h. */
12229 if ac_fn_c_try_compile "$LINENO"
12231 ac_cv_mingw_header_png_h=yes
12233 ac_cv_mingw_header_png_h=no
12235 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12236 CC=$ac_wine_check_headers_saved_cc
12237 ac_exeext=$ac_wine_check_headers_saved_exeext
12239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12240 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12241 if test "x$ac_cv_mingw_header_png_h" = xyes
12243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12244 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12245 if test ${ac_cv_mingw_lib_png+y}
12247 printf %s "(cached) " >&6
12249 ac_wine_check_headers_saved_cc=$CC
12250 ac_wine_check_headers_saved_exeext=$ac_exeext
12251 ac_wine_check_headers_saved_libs=$LIBS
12252 eval CC=\$${wine_arch}_CC
12254 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12256 /* end confdefs.h. */
12258 /* Override any GCC internal prototype to avoid an error.
12259 Use char because int might match the return type of a GCC
12260 builtin and then its argument prototype would still apply. */
12261 char png_create_read_struct ();
12265 return png_create_read_struct ();
12270 if ac_fn_c_try_link "$LINENO"
12272 ac_cv_mingw_lib_png=yes
12274 ac_cv_mingw_lib_png=no
12276 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12277 conftest$ac_exeext conftest.$ac_ext
12278 CC=$ac_wine_check_headers_saved_cc
12279 ac_exeext=$ac_wine_check_headers_saved_exeext
12280 LIBS=$ac_wine_check_headers_saved_libs
12282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12283 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12284 if test "x$ac_cv_mingw_lib_png" = xyes
12288 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12291 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12293 CPPFLAGS=$ac_save_CPPFLAGS
12295 if test "x$PNG_PE_LIBS" = "x"
12297 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12300 if ${TIFF_PE_CFLAGS:+false} :
12302 if test ${MINGW_PKG_CONFIG+y}
12304 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4
2>/dev
/null
`
12307 if ${TIFF_PE_LIBS:+false} :
12309 if test ${MINGW_PKG_CONFIG+y}
12311 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4
2>/dev
/null
`
12315 ac_save_CPPFLAGS=$CPPFLAGS
12316 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12318 printf %s "checking for MinGW tiffio.h... " >&6; }
12319 if test ${ac_cv_mingw_header_tiffio_h+y}
12321 printf %s "(cached) " >&6
12323 ac_wine_check_headers_saved_cc=$CC
12324 ac_wine_check_headers_saved_exeext=$ac_exeext
12325 eval CC=\$${wine_arch}_CC
12327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12328 /* end confdefs.h. */
12330 #include <tiffio.h>
12339 if ac_fn_c_try_compile "$LINENO"
12341 ac_cv_mingw_header_tiffio_h=yes
12343 ac_cv_mingw_header_tiffio_h=no
12345 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12346 CC=$ac_wine_check_headers_saved_cc
12347 ac_exeext=$ac_wine_check_headers_saved_exeext
12349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12350 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12351 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12354 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12355 if test ${ac_cv_mingw_lib_tiff+y}
12357 printf %s "(cached) " >&6
12359 ac_wine_check_headers_saved_cc=$CC
12360 ac_wine_check_headers_saved_exeext=$ac_exeext
12361 ac_wine_check_headers_saved_libs=$LIBS
12362 eval CC=\$${wine_arch}_CC
12364 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12366 /* end confdefs.h. */
12368 /* Override any GCC internal prototype to avoid an error.
12369 Use char because int might match the return type of a GCC
12370 builtin and then its argument prototype would still apply. */
12371 char TIFFClientOpen ();
12375 return TIFFClientOpen ();
12380 if ac_fn_c_try_link "$LINENO"
12382 ac_cv_mingw_lib_tiff=yes
12384 ac_cv_mingw_lib_tiff=no
12386 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12387 conftest$ac_exeext conftest.$ac_ext
12388 CC=$ac_wine_check_headers_saved_cc
12389 ac_exeext=$ac_wine_check_headers_saved_exeext
12390 LIBS=$ac_wine_check_headers_saved_libs
12392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12393 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12394 if test "x$ac_cv_mingw_lib_tiff" = xyes
12398 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12401 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12403 CPPFLAGS=$ac_save_CPPFLAGS
12405 if test "x$TIFF_PE_LIBS" = "x"
12407 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12410 if ${XML2_PE_CFLAGS:+false} :
12412 if test ${MINGW_PKG_CONFIG+y}
12414 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0
2>/dev
/null
`
12417 if ${XML2_PE_LIBS:+false} :
12419 if test ${MINGW_PKG_CONFIG+y}
12421 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0
2>/dev
/null
`
12424 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12425 ac_save_CPPFLAGS=$CPPFLAGS
12426 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12428 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12429 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12431 printf %s "(cached) " >&6
12433 ac_wine_check_headers_saved_cc=$CC
12434 ac_wine_check_headers_saved_exeext=$ac_exeext
12435 eval CC=\$${wine_arch}_CC
12437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12438 /* end confdefs.h. */
12440 #include <libxml/parser.h>
12449 if ac_fn_c_try_compile "$LINENO"
12451 ac_cv_mingw_header_libxml_parser_h=yes
12453 ac_cv_mingw_header_libxml_parser_h=no
12455 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12456 CC=$ac_wine_check_headers_saved_cc
12457 ac_exeext=$ac_wine_check_headers_saved_exeext
12459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12460 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12461 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12466 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12467 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12469 printf %s "(cached) " >&6
12471 ac_wine_check_headers_saved_cc=$CC
12472 ac_wine_check_headers_saved_exeext=$ac_exeext
12473 eval CC=\$${wine_arch}_CC
12475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12476 /* end confdefs.h. */
12478 #include <libxml/xmlsave.h>
12487 if ac_fn_c_try_compile "$LINENO"
12489 ac_cv_mingw_header_libxml_xmlsave_h=yes
12491 ac_cv_mingw_header_libxml_xmlsave_h=no
12493 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12494 CC=$ac_wine_check_headers_saved_cc
12495 ac_exeext=$ac_wine_check_headers_saved_exeext
12497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12498 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12499 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12504 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12505 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12507 printf %s "(cached) " >&6
12509 ac_wine_check_headers_saved_cc=$CC
12510 ac_wine_check_headers_saved_exeext=$ac_exeext
12511 eval CC=\$${wine_arch}_CC
12513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12514 /* end confdefs.h. */
12516 #include <libxml/SAX2.h>
12525 if ac_fn_c_try_compile "$LINENO"
12527 ac_cv_mingw_header_libxml_SAX2_h=yes
12529 ac_cv_mingw_header_libxml_SAX2_h=no
12531 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12532 CC=$ac_wine_check_headers_saved_cc
12533 ac_exeext=$ac_wine_check_headers_saved_exeext
12535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12536 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12537 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12541 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"
12543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12544 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12545 if test ${ac_cv_mingw_lib_xml2+y}
12547 printf %s "(cached) " >&6
12549 ac_wine_check_headers_saved_cc=$CC
12550 ac_wine_check_headers_saved_exeext=$ac_exeext
12551 ac_wine_check_headers_saved_libs=$LIBS
12552 eval CC=\$${wine_arch}_CC
12554 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12556 /* end confdefs.h. */
12558 /* Override any GCC internal prototype to avoid an error.
12559 Use char because int might match the return type of a GCC
12560 builtin and then its argument prototype would still apply. */
12561 char xmlFirstElementChild ();
12565 return xmlFirstElementChild ();
12570 if ac_fn_c_try_link "$LINENO"
12572 ac_cv_mingw_lib_xml2=yes
12574 ac_cv_mingw_lib_xml2=no
12576 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12577 conftest$ac_exeext conftest.$ac_ext
12578 CC=$ac_wine_check_headers_saved_cc
12579 ac_exeext=$ac_wine_check_headers_saved_exeext
12580 LIBS=$ac_wine_check_headers_saved_libs
12582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12583 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12584 if test "x$ac_cv_mingw_lib_xml2" = xyes
12588 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12594 CPPFLAGS=$ac_save_CPPFLAGS
12596 if test "x$XML2_PE_LIBS" = "x"
12598 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12601 if ${XSLT_PE_CFLAGS:+false} :
12603 if test ${MINGW_PKG_CONFIG+y}
12605 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt
2>/dev
/null
`
12608 if ${XSLT_PE_LIBS:+false} :
12610 if test ${MINGW_PKG_CONFIG+y}
12612 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt
2>/dev
/null
`
12615 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12616 ac_save_CPPFLAGS=$CPPFLAGS
12617 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12619 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12620 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12622 printf %s "(cached) " >&6
12624 ac_wine_check_headers_saved_cc=$CC
12625 ac_wine_check_headers_saved_exeext=$ac_exeext
12626 eval CC=\$${wine_arch}_CC
12628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12629 /* end confdefs.h. */
12631 #include <libxslt/pattern.h>
12640 if ac_fn_c_try_compile "$LINENO"
12642 ac_cv_mingw_header_libxslt_pattern_h=yes
12644 ac_cv_mingw_header_libxslt_pattern_h=no
12646 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12647 CC=$ac_wine_check_headers_saved_cc
12648 ac_exeext=$ac_wine_check_headers_saved_exeext
12650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12651 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12652 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12657 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12658 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12660 printf %s "(cached) " >&6
12662 ac_wine_check_headers_saved_cc=$CC
12663 ac_wine_check_headers_saved_exeext=$ac_exeext
12664 eval CC=\$${wine_arch}_CC
12666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12667 /* end confdefs.h. */
12669 #include <libxslt/transform.h>
12678 if ac_fn_c_try_compile "$LINENO"
12680 ac_cv_mingw_header_libxslt_transform_h=yes
12682 ac_cv_mingw_header_libxslt_transform_h=no
12684 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12685 CC=$ac_wine_check_headers_saved_cc
12686 ac_exeext=$ac_wine_check_headers_saved_exeext
12688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12689 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12690 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12694 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12697 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12698 if test ${ac_cv_mingw_lib_xslt+y}
12700 printf %s "(cached) " >&6
12702 ac_wine_check_headers_saved_cc=$CC
12703 ac_wine_check_headers_saved_exeext=$ac_exeext
12704 ac_wine_check_headers_saved_libs=$LIBS
12705 eval CC=\$${wine_arch}_CC
12707 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12709 /* end confdefs.h. */
12711 /* Override any GCC internal prototype to avoid an error.
12712 Use char because int might match the return type of a GCC
12713 builtin and then its argument prototype would still apply. */
12714 char xsltCompilePattern ();
12718 return xsltCompilePattern ();
12723 if ac_fn_c_try_link "$LINENO"
12725 ac_cv_mingw_lib_xslt=yes
12727 ac_cv_mingw_lib_xslt=no
12729 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12730 conftest$ac_exeext conftest.$ac_ext
12731 CC=$ac_wine_check_headers_saved_cc
12732 ac_exeext=$ac_wine_check_headers_saved_exeext
12733 LIBS=$ac_wine_check_headers_saved_libs
12735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12736 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12737 if test "x$ac_cv_mingw_lib_xslt" = xyes
12741 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
12747 CPPFLAGS=$ac_save_CPPFLAGS
12749 if test "x$XSLT_PE_LIBS" = "x"
12751 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
12754 if ${VKD3D_PE_CFLAGS:+false} :
12756 if test ${MINGW_PKG_CONFIG+y}
12758 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader
2>/dev
/null
`
12761 if ${VKD3D_PE_LIBS:+false} :
12763 if test ${MINGW_PKG_CONFIG+y}
12765 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader
2>/dev
/null
`
12768 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
12769 ac_save_CPPFLAGS=$CPPFLAGS
12770 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
12771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
12772 printf %s "checking for MinGW vkd3d.h... " >&6; }
12773 if test ${ac_cv_mingw_header_vkd3d_h+y}
12775 printf %s "(cached) " >&6
12777 ac_wine_check_headers_saved_cc=$CC
12778 ac_wine_check_headers_saved_exeext=$ac_exeext
12779 eval CC=\$${wine_arch}_CC
12781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12782 /* end confdefs.h. */
12793 if ac_fn_c_try_compile "$LINENO"
12795 ac_cv_mingw_header_vkd3d_h=yes
12797 ac_cv_mingw_header_vkd3d_h=no
12799 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12800 CC=$ac_wine_check_headers_saved_cc
12801 ac_exeext=$ac_wine_check_headers_saved_exeext
12803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
12804 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
12805 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
12809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
12810 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
12811 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
12813 printf %s "(cached) " >&6
12815 ac_wine_check_headers_saved_cc=$CC
12816 ac_wine_check_headers_saved_exeext=$ac_exeext
12817 eval CC=\$${wine_arch}_CC
12819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12820 /* end confdefs.h. */
12822 #include <vkd3d_shader.h>
12831 if ac_fn_c_try_compile "$LINENO"
12833 ac_cv_mingw_header_vkd3d_shader_h=yes
12835 ac_cv_mingw_header_vkd3d_shader_h=no
12837 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12838 CC=$ac_wine_check_headers_saved_cc
12839 ac_exeext=$ac_wine_check_headers_saved_exeext
12841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
12842 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
12843 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
12847 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
12849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
12850 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
12851 if test ${ac_cv_mingw_lib_vkd3d+y}
12853 printf %s "(cached) " >&6
12855 ac_wine_check_headers_saved_cc=$CC
12856 ac_wine_check_headers_saved_exeext=$ac_exeext
12857 ac_wine_check_headers_saved_libs=$LIBS
12858 eval CC=\$${wine_arch}_CC
12860 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
12861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12862 /* end confdefs.h. */
12864 /* Override any GCC internal prototype to avoid an error.
12865 Use char because int might match the return type of a GCC
12866 builtin and then its argument prototype would still apply. */
12867 char vkd3d_set_log_callback ();
12871 return vkd3d_set_log_callback ();
12876 if ac_fn_c_try_link "$LINENO"
12878 ac_cv_mingw_lib_vkd3d=yes
12880 ac_cv_mingw_lib_vkd3d=no
12882 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12883 conftest$ac_exeext conftest.$ac_ext
12884 CC=$ac_wine_check_headers_saved_cc
12885 ac_exeext=$ac_wine_check_headers_saved_exeext
12886 LIBS=$ac_wine_check_headers_saved_libs
12888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
12889 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
12890 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
12896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_serialize_dxbc in MinGW -lvkd3d-shader" >&5
12897 printf %s "checking for vkd3d_shader_serialize_dxbc in MinGW -lvkd3d-shader... " >&6; }
12898 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
12900 printf %s "(cached) " >&6
12902 ac_wine_check_headers_saved_cc=$CC
12903 ac_wine_check_headers_saved_exeext=$ac_exeext
12904 ac_wine_check_headers_saved_libs=$LIBS
12905 eval CC=\$${wine_arch}_CC
12907 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
12908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12909 /* end confdefs.h. */
12911 /* Override any GCC internal prototype to avoid an error.
12912 Use char because int might match the return type of a GCC
12913 builtin and then its argument prototype would still apply. */
12914 char vkd3d_shader_serialize_dxbc ();
12918 return vkd3d_shader_serialize_dxbc ();
12923 if ac_fn_c_try_link "$LINENO"
12925 ac_cv_mingw_lib_vkd3d_shader=yes
12927 ac_cv_mingw_lib_vkd3d_shader=no
12929 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12930 conftest$ac_exeext conftest.$ac_ext
12931 CC=$ac_wine_check_headers_saved_cc
12932 ac_exeext=$ac_wine_check_headers_saved_exeext
12933 LIBS=$ac_wine_check_headers_saved_libs
12935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
12936 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
12937 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
12943 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
12952 CPPFLAGS=$ac_save_CPPFLAGS
12954 if test "x$VKD3D_PE_LIBS" = "x"
12956 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
12959 if ${ZLIB_PE_CFLAGS:+false} :
12961 if test ${MINGW_PKG_CONFIG+y}
12963 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib
2>/dev
/null
`
12966 if ${ZLIB_PE_LIBS:+false} :
12968 if test ${MINGW_PKG_CONFIG+y}
12970 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib
2>/dev
/null
`
12973 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
12974 ac_save_CPPFLAGS=$CPPFLAGS
12975 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
12976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
12977 printf %s "checking for MinGW zlib.h... " >&6; }
12978 if test ${ac_cv_mingw_header_zlib_h+y}
12980 printf %s "(cached) " >&6
12982 ac_wine_check_headers_saved_cc=$CC
12983 ac_wine_check_headers_saved_exeext=$ac_exeext
12984 eval CC=\$${wine_arch}_CC
12986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12987 /* end confdefs.h. */
12998 if ac_fn_c_try_compile "$LINENO"
13000 ac_cv_mingw_header_zlib_h=yes
13002 ac_cv_mingw_header_zlib_h=no
13004 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13005 CC=$ac_wine_check_headers_saved_cc
13006 ac_exeext=$ac_wine_check_headers_saved_exeext
13008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13009 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13010 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13013 printf %s "checking for inflate in MinGW -lz... " >&6; }
13014 if test ${ac_cv_mingw_lib_z+y}
13016 printf %s "(cached) " >&6
13018 ac_wine_check_headers_saved_cc=$CC
13019 ac_wine_check_headers_saved_exeext=$ac_exeext
13020 ac_wine_check_headers_saved_libs=$LIBS
13021 eval CC=\$${wine_arch}_CC
13023 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13025 /* end confdefs.h. */
13027 /* Override any GCC internal prototype to avoid an error.
13028 Use char because int might match the return type of a GCC
13029 builtin and then its argument prototype would still apply. */
13039 if ac_fn_c_try_link "$LINENO"
13041 ac_cv_mingw_lib_z=yes
13043 ac_cv_mingw_lib_z=no
13045 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13046 conftest$ac_exeext conftest.$ac_ext
13047 CC=$ac_wine_check_headers_saved_cc
13048 ac_exeext=$ac_wine_check_headers_saved_exeext
13049 LIBS=$ac_wine_check_headers_saved_libs
13051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13052 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13053 if test "x$ac_cv_mingw_lib_z" = xyes
13057 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13060 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13062 CPPFLAGS=$ac_save_CPPFLAGS
13064 if test "x$ZLIB_PE_LIBS" = "x"
13066 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13070 if ${FAUDIO_PE_LIBS:+false} :
13072 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13073 if ${FAUDIO_PE_CFLAGS:+false} :
13075 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13082 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13083 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13085 if ${GSM_PE_LIBS:+false} :
13088 if ${GSM_PE_CFLAGS:+false} :
13090 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13097 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13098 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13100 if ${JPEG_PE_LIBS:+false} :
13103 if ${JPEG_PE_CFLAGS:+false} :
13105 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13112 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13113 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13115 if ${JXR_PE_LIBS:+false} :
13118 if ${JXR_PE_CFLAGS:+false} :
13120 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13127 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13128 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13130 if ${LCMS2_PE_LIBS:+false} :
13132 LCMS2_PE_LIBS=lcms2
13133 if ${LCMS2_PE_CFLAGS:+false} :
13135 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13142 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13143 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13145 if ${LDAP_PE_LIBS:+false} :
13148 if ${LDAP_PE_CFLAGS:+false} :
13150 LDAP_PE_CFLAGS="-I\$(top_srcdir)/libs/ldap/include"
13157 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap cflags: $LDAP_PE_CFLAGS" >&5
13158 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap libs: $LDAP_PE_LIBS" >&5
13160 if ${MPG123_PE_LIBS:+false} :
13162 MPG123_PE_LIBS=mpg123
13163 if ${MPG123_PE_CFLAGS:+false} :
13165 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13172 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13173 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13175 if ${MUSL_PE_LIBS:+false} :
13178 if ${MUSL_PE_CFLAGS:+false} :
13187 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl cflags: $MUSL_PE_CFLAGS" >&5
13188 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl libs: $MUSL_PE_LIBS" >&5
13190 if ${PNG_PE_LIBS:+false} :
13192 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13193 if ${PNG_PE_CFLAGS:+false} :
13195 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13202 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13203 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13205 if ${TIFF_PE_LIBS:+false} :
13207 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13208 if ${TIFF_PE_CFLAGS:+false} :
13210 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13217 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13218 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13220 if ${VKD3D_PE_LIBS:+false} :
13222 VKD3D_PE_LIBS=vkd3d
13223 if ${VKD3D_PE_CFLAGS:+false} :
13225 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13232 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13233 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13235 if ${XML2_PE_LIBS:+false} :
13238 if ${XML2_PE_CFLAGS:+false} :
13240 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13247 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13248 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13250 if ${XSLT_PE_LIBS:+false} :
13253 if ${XSLT_PE_CFLAGS:+false} :
13255 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13262 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13263 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13265 if ${ZLIB_PE_LIBS:+false} :
13268 if ${ZLIB_PE_CFLAGS:+false} :
13270 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13277 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13278 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13280 if ${ZYDIS_PE_LIBS:+false} :
13282 ZYDIS_PE_LIBS=zydis
13283 if ${ZYDIS_PE_CFLAGS:+false} :
13285 ZYDIS_PE_CFLAGS="-I\$(top_srcdir)/libs/zydis/include"
13292 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis cflags: $ZYDIS_PE_CFLAGS" >&5
13293 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis libs: $ZYDIS_PE_LIBS" >&5
13297 if test "$ac_cv_header_pthread_h" = "yes"
13299 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13300 if test "x$ac_cv_func_pthread_create" = xyes
13304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13305 printf %s "checking for pthread_create in -lpthread... " >&6; }
13306 if test ${ac_cv_lib_pthread_pthread_create+y}
13308 printf %s "(cached) " >&6
13310 ac_check_lib_save_LIBS=$LIBS
13311 LIBS="-lpthread $LIBS"
13312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13313 /* end confdefs.h. */
13315 /* Override any GCC internal prototype to avoid an error.
13316 Use char because int might match the return type of a GCC
13317 builtin and then its argument prototype would still apply. */
13318 char pthread_create ();
13322 return pthread_create ();
13327 if ac_fn_c_try_link "$LINENO"
13329 ac_cv_lib_pthread_pthread_create=yes
13331 ac_cv_lib_pthread_pthread_create=no
13333 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13334 conftest$ac_exeext conftest.$ac_ext
13335 LIBS=$ac_check_lib_save_LIBS
13337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13338 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13339 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13341 PTHREAD_LIBS="-lpthread"
13348 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13350 case "x$with_pthread" in
13352 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13353 Wine cannot support threads without libpthread.
13354 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13361 ac_cpp='$CPP $CPPFLAGS'
13362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13366 printf %s "checking how to run the C preprocessor... " >&6; }
13367 # On Suns, sometimes $CPP names a directory.
13368 if test -n "$CPP" && test -d "$CPP"; then
13371 if test -z "$CPP"; then
13372 if test ${ac_cv_prog_CPP+y}
13374 printf %s "(cached) " >&6
13376 # Double quotes because $CC needs to be expanded
13377 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13379 ac_preproc_ok=false
13380 for ac_c_preproc_warn_flag in '' yes
13382 # Use a header file that comes with gcc, so configuring glibc
13383 # with a fresh cross-compiler works.
13384 # On the NeXT, cc -E runs the code through the compiler's parser,
13385 # not just through cpp. "Syntax error" is here to catch this case.
13386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13387 /* end confdefs.h. */
13388 #include <limits.h>
13391 if ac_fn_c_try_cpp "$LINENO"
13395 # Broken: fails on valid input.
13398 rm -f conftest.err conftest.i conftest.$ac_ext
13400 # OK, works on sane cases. Now check whether nonexistent headers
13401 # can be detected and how.
13402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13403 /* end confdefs.h. */
13404 #include <ac_nonexistent.h>
13406 if ac_fn_c_try_cpp "$LINENO"
13408 # Broken: success on invalid input.
13411 # Passes both tests.
13415 rm -f conftest.err conftest.i conftest.$ac_ext
13418 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13419 rm -f conftest.i conftest.err conftest.
$ac_ext
13426 ac_cv_prog_CPP
=$CPP
13429 CPP
=$ac_cv_prog_CPP
13431 ac_cv_prog_CPP
=$CPP
13433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13434 printf "%s\n" "$CPP" >&6; }
13435 ac_preproc_ok
=false
13436 for ac_c_preproc_warn_flag
in '' yes
13438 # Use a header file that comes with gcc, so configuring glibc
13439 # with a fresh cross-compiler works.
13440 # On the NeXT, cc -E runs the code through the compiler's parser,
13441 # not just through cpp. "Syntax error" is here to catch this case.
13442 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13443 /* end confdefs.h. */
13444 #include <limits.h>
13447 if ac_fn_c_try_cpp
"$LINENO"
13451 # Broken: fails on valid input.
13454 rm -f conftest.err conftest.i conftest.
$ac_ext
13456 # OK, works on sane cases. Now check whether nonexistent headers
13457 # can be detected and how.
13458 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13459 /* end confdefs.h. */
13460 #include <ac_nonexistent.h>
13462 if ac_fn_c_try_cpp
"$LINENO"
13464 # Broken: success on invalid input.
13467 # Passes both tests.
13471 rm -f conftest.err conftest.i conftest.
$ac_ext
13474 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13475 rm -f conftest.i conftest.err conftest.
$ac_ext
13480 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13481 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13482 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
13483 See \`config.log' for more details" "$LINENO" 5; }
13487 ac_cpp
='$CPP $CPPFLAGS'
13488 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13489 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13490 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13494 printf %s
"checking for X... " >&6; }
13497 # Check whether --with-x was given.
13498 if test ${with_x+y}
13503 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13504 if test "x$with_x" = xno
; then
13505 # The user explicitly disabled X.
13508 case $x_includes,$x_libraries in #(
13509 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
13510 *,NONE | NONE
,*) if test ${ac_cv_have_x+y}
13512 printf %s
"(cached) " >&6
13514 # One or both of the vars are not set, and there is no cached value.
13517 # Do we need to do anything special at all?
13520 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13521 /* end confdefs.h. */
13522 #include <X11/Xlib.h>
13531 if ac_fn_c_try_link
"$LINENO"
13533 # We can compile and link X programs with no special options.
13537 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13538 conftest
$ac_exeext conftest.
$ac_ext
13539 LIBS
="$ac_save_LIBS"
13540 # If that didn't work, only try xmkmf and file system searches
13541 # for native compilation.
13542 if test x
"$ac_x_includes" = xno
&& test "$cross_compiling" = no
13544 rm -f -r conftest.dir
13545 if mkdir conftest.dir
; then
13547 cat >Imakefile
<<'_ACEOF'
13549 @echo incroot='${INCROOT}'
13551 @echo usrlibdir='${USRLIBDIR}'
13553 @echo libdir='${LIBDIR}'
13555 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
13556 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13557 for ac_var
in incroot usrlibdir libdir
; do
13558 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13560 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13561 for ac_extension
in a so sl dylib la dll
; do
13562 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13563 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13564 ac_im_usrlibdir
=$ac_im_libdir; break
13567 # Screen out bogus values from the imake configuration. They are
13568 # bogus both because they are the default anyway, and because
13569 # using them would break gcc on systems where it needs fixed includes.
13570 case $ac_im_incroot in
13571 /usr
/include
) ac_x_includes
= ;;
13572 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
13574 case $ac_im_usrlibdir in
13575 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
13576 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
13580 rm -f -r conftest.dir
13583 # Standard set of common directories for X headers.
13584 # Check X11 before X11Rn because it is often a symlink to the current release.
13598 /usr/local/X11/include
13599 /usr/local/X11R7/include
13600 /usr/local/X11R6/include
13601 /usr/local/X11R5/include
13602 /usr/local/X11R4/include
13604 /usr/local/include/X11
13605 /usr/local/include/X11R7
13606 /usr/local/include/X11R6
13607 /usr/local/include/X11R5
13608 /usr/local/include/X11R4
13614 /usr/XFree86/include/X11
13618 /usr/unsupported/include
13619 /usr/athena/include
13620 /usr/local/x11r5/include
13621 /usr/lpp/Xamples/include
13623 /usr/openwin/include
13624 /usr/openwin/share/include'
13626 if test "$ac_x_includes" = no
; then
13627 # Guess where to find include files, by looking for Xlib.h.
13628 # First, try using that file with no special directory specified.
13629 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13630 /* end confdefs.h. */
13631 #include <X11/Xlib.h>
13633 if ac_fn_c_try_cpp
"$LINENO"
13635 # We can compile using X headers with no special include directory.
13638 for ac_dir
in $ac_x_header_dirs; do
13639 if test -r "$ac_dir/X11/Xlib.h"; then
13640 ac_x_includes
=$ac_dir
13645 rm -f conftest.err conftest.i conftest.
$ac_ext
13646 fi # $ac_x_includes = no
13648 if test "$ac_x_libraries" = no
; then
13649 # Check for the libraries.
13650 # See if we find them without any special options.
13651 # Don't add to $LIBS permanently.
13654 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13655 /* end confdefs.h. */
13656 #include <X11/Xlib.h>
13665 if ac_fn_c_try_link
"$LINENO"
13668 # We can link X programs with no special library path.
13672 for ac_dir
in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13674 # Don't even attempt the hair of trying to link an X program!
13675 for ac_extension
in a so sl dylib la dll
; do
13676 if test -r "$ac_dir/libX11.$ac_extension"; then
13677 ac_x_libraries
=$ac_dir
13683 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13684 conftest
$ac_exeext conftest.
$ac_ext
13685 fi # $ac_x_libraries = no
13688 # Record the results.
13689 case $ac_x_includes,$ac_x_libraries in #(
13690 no
,* |
*,no |
*\'*) :
13691 # Didn't find X, or a directory has "'" in its name.
13692 ac_cv_have_x
="have_x=no" ;; #(
13694 # Record where we found X for the cache.
13695 ac_cv_have_x
="have_x=yes\
13696 ac_x_includes='$ac_x_includes'\
13697 ac_x_libraries='$ac_x_libraries'" ;;
13703 eval "$ac_cv_have_x"
13706 if test "$have_x" != yes; then
13707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13708 printf "%s\n" "$have_x" >&6; }
13711 # If each of the values was on the command line, it overrides each guess.
13712 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
13713 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
13714 # Update the cache value to reflect the command line values.
13715 ac_cv_have_x
="have_x=yes\
13716 ac_x_includes='$x_includes'\
13717 ac_x_libraries='$x_libraries'"
13718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13719 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13722 if test "$no_x" = yes; then
13723 # Not all programs may use this symbol, but it does not hurt to define it.
13725 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13727 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
13729 if test -n "$x_includes"; then
13730 X_CFLAGS
="$X_CFLAGS -I$x_includes"
13733 # It would also be nice to do this for all -L options, not just this one.
13734 if test -n "$x_libraries"; then
13735 X_LIBS
="$X_LIBS -L$x_libraries"
13736 # For Solaris; some versions of Sun CC require a space after -R and
13737 # others require no space. Words are not sufficient . . . .
13738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13739 printf %s
"checking whether -R must be followed by a space... " >&6; }
13740 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
13741 ac_xsave_c_werror_flag
=$ac_c_werror_flag
13742 ac_c_werror_flag
=yes
13743 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13744 /* end confdefs.h. */
13754 if ac_fn_c_try_link
"$LINENO"
13756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13757 printf "%s\n" "no" >&6; }
13758 X_LIBS
="$X_LIBS -R$x_libraries"
13760 LIBS
="$ac_xsave_LIBS -R $x_libraries"
13761 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13762 /* end confdefs.h. */
13772 if ac_fn_c_try_link
"$LINENO"
13774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13775 printf "%s\n" "yes" >&6; }
13776 X_LIBS
="$X_LIBS -R $x_libraries"
13778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13779 printf "%s\n" "neither works" >&6; }
13781 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13782 conftest
$ac_exeext conftest.
$ac_ext
13784 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13785 conftest
$ac_exeext conftest.
$ac_ext
13786 ac_c_werror_flag
=$ac_xsave_c_werror_flag
13787 LIBS
=$ac_xsave_LIBS
13790 # Check for system-dependent libraries X programs must link with.
13791 # Do this before checking for the system-independent R6 libraries
13792 # (-lICE), since we may need -lsocket or whatever for X linking.
13794 if test "$ISC" = yes; then
13795 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
13797 # Martyn Johnson says this is needed for Ultrix, if the X
13798 # libraries were built with DECnet support. And Karl Berry says
13799 # the Alpha needs dnet_stub (dnet does not exist).
13800 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
13801 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13802 /* end confdefs.h. */
13804 /* Override any GCC internal prototype to avoid an error.
13805 Use char because int might match the return type of a GCC
13806 builtin and then its argument prototype would still apply. */
13807 char XOpenDisplay ();
13811 return XOpenDisplay ();
13816 if ac_fn_c_try_link
"$LINENO"
13820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13821 printf %s
"checking for dnet_ntoa in -ldnet... " >&6; }
13822 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13824 printf %s
"(cached) " >&6
13826 ac_check_lib_save_LIBS
=$LIBS
13827 LIBS
="-ldnet $LIBS"
13828 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13829 /* end confdefs.h. */
13831 /* Override any GCC internal prototype to avoid an error.
13832 Use char because int might match the return type of a GCC
13833 builtin and then its argument prototype would still apply. */
13838 return dnet_ntoa ();
13843 if ac_fn_c_try_link
"$LINENO"
13845 ac_cv_lib_dnet_dnet_ntoa
=yes
13847 ac_cv_lib_dnet_dnet_ntoa
=no
13849 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13850 conftest
$ac_exeext conftest.
$ac_ext
13851 LIBS
=$ac_check_lib_save_LIBS
13853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13854 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13855 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13857 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
13860 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
13861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13862 printf %s
"checking for dnet_ntoa in -ldnet_stub... " >&6; }
13863 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
13865 printf %s
"(cached) " >&6
13867 ac_check_lib_save_LIBS
=$LIBS
13868 LIBS
="-ldnet_stub $LIBS"
13869 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13870 /* end confdefs.h. */
13872 /* Override any GCC internal prototype to avoid an error.
13873 Use char because int might match the return type of a GCC
13874 builtin and then its argument prototype would still apply. */
13879 return dnet_ntoa ();
13884 if ac_fn_c_try_link
"$LINENO"
13886 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
13888 ac_cv_lib_dnet_stub_dnet_ntoa
=no
13890 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13891 conftest
$ac_exeext conftest.
$ac_ext
13892 LIBS
=$ac_check_lib_save_LIBS
13894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
13895 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
13896 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
13898 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
13903 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13904 conftest
$ac_exeext conftest.
$ac_ext
13905 LIBS
="$ac_xsave_LIBS"
13907 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13908 # to get the SysV transport functions.
13909 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
13911 # The nsl library prevents programs from opening the X display
13912 # on Irix 5.2, according to T.E. Dickey.
13913 # The functions gethostbyname, getservbyname, and inet_addr are
13914 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
13915 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
13916 if test "x$ac_cv_func_gethostbyname" = xyes
13921 if test $ac_cv_func_gethostbyname = no
; then
13922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
13923 printf %s
"checking for gethostbyname in -lnsl... " >&6; }
13924 if test ${ac_cv_lib_nsl_gethostbyname+y}
13926 printf %s
"(cached) " >&6
13928 ac_check_lib_save_LIBS
=$LIBS
13930 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13931 /* end confdefs.h. */
13933 /* Override any GCC internal prototype to avoid an error.
13934 Use char because int might match the return type of a GCC
13935 builtin and then its argument prototype would still apply. */
13936 char gethostbyname ();
13940 return gethostbyname ();
13945 if ac_fn_c_try_link
"$LINENO"
13947 ac_cv_lib_nsl_gethostbyname
=yes
13949 ac_cv_lib_nsl_gethostbyname
=no
13951 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13952 conftest
$ac_exeext conftest.
$ac_ext
13953 LIBS
=$ac_check_lib_save_LIBS
13955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
13956 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
13957 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
13959 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
13962 if test $ac_cv_lib_nsl_gethostbyname = no
; then
13963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
13964 printf %s
"checking for gethostbyname in -lbsd... " >&6; }
13965 if test ${ac_cv_lib_bsd_gethostbyname+y}
13967 printf %s
"(cached) " >&6
13969 ac_check_lib_save_LIBS
=$LIBS
13971 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13972 /* end confdefs.h. */
13974 /* Override any GCC internal prototype to avoid an error.
13975 Use char because int might match the return type of a GCC
13976 builtin and then its argument prototype would still apply. */
13977 char gethostbyname ();
13981 return gethostbyname ();
13986 if ac_fn_c_try_link
"$LINENO"
13988 ac_cv_lib_bsd_gethostbyname
=yes
13990 ac_cv_lib_bsd_gethostbyname
=no
13992 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13993 conftest
$ac_exeext conftest.
$ac_ext
13994 LIBS
=$ac_check_lib_save_LIBS
13996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
13997 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
13998 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14000 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
14006 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14007 # socket/setsockopt and other routines are undefined under SCO ODT
14008 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14009 # on later versions), says Simon Leinen: it contains gethostby*
14010 # variants that don't use the name server (or something). -lsocket
14011 # must be given before -lnsl if both are needed. We assume that
14012 # if connect needs -lnsl, so does gethostbyname.
14013 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
14014 if test "x$ac_cv_func_connect" = xyes
14019 if test $ac_cv_func_connect = no
; then
14020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14021 printf %s
"checking for connect in -lsocket... " >&6; }
14022 if test ${ac_cv_lib_socket_connect+y}
14024 printf %s
"(cached) " >&6
14026 ac_check_lib_save_LIBS
=$LIBS
14027 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
14028 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14029 /* end confdefs.h. */
14031 /* Override any GCC internal prototype to avoid an error.
14032 Use char because int might match the return type of a GCC
14033 builtin and then its argument prototype would still apply. */
14043 if ac_fn_c_try_link
"$LINENO"
14045 ac_cv_lib_socket_connect
=yes
14047 ac_cv_lib_socket_connect
=no
14049 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14050 conftest
$ac_exeext conftest.
$ac_ext
14051 LIBS
=$ac_check_lib_save_LIBS
14053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14054 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14055 if test "x$ac_cv_lib_socket_connect" = xyes
14057 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
14062 # Guillermo Gomez says -lposix is necessary on A/UX.
14063 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
14064 if test "x$ac_cv_func_remove" = xyes
14069 if test $ac_cv_func_remove = no
; then
14070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14071 printf %s
"checking for remove in -lposix... " >&6; }
14072 if test ${ac_cv_lib_posix_remove+y}
14074 printf %s
"(cached) " >&6
14076 ac_check_lib_save_LIBS
=$LIBS
14077 LIBS
="-lposix $LIBS"
14078 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14079 /* end confdefs.h. */
14081 /* Override any GCC internal prototype to avoid an error.
14082 Use char because int might match the return type of a GCC
14083 builtin and then its argument prototype would still apply. */
14093 if ac_fn_c_try_link
"$LINENO"
14095 ac_cv_lib_posix_remove
=yes
14097 ac_cv_lib_posix_remove
=no
14099 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14100 conftest
$ac_exeext conftest.
$ac_ext
14101 LIBS
=$ac_check_lib_save_LIBS
14103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14104 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14105 if test "x$ac_cv_lib_posix_remove" = xyes
14107 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
14112 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14113 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
14114 if test "x$ac_cv_func_shmat" = xyes
14119 if test $ac_cv_func_shmat = no
; then
14120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14121 printf %s
"checking for shmat in -lipc... " >&6; }
14122 if test ${ac_cv_lib_ipc_shmat+y}
14124 printf %s
"(cached) " >&6
14126 ac_check_lib_save_LIBS
=$LIBS
14128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14129 /* end confdefs.h. */
14131 /* Override any GCC internal prototype to avoid an error.
14132 Use char because int might match the return type of a GCC
14133 builtin and then its argument prototype would still apply. */
14143 if ac_fn_c_try_link
"$LINENO"
14145 ac_cv_lib_ipc_shmat
=yes
14147 ac_cv_lib_ipc_shmat
=no
14149 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14150 conftest
$ac_exeext conftest.
$ac_ext
14151 LIBS
=$ac_check_lib_save_LIBS
14153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14154 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14155 if test "x$ac_cv_lib_ipc_shmat" = xyes
14157 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
14163 # Check for libraries that X11R6 Xt/Xaw programs need.
14164 ac_save_LDFLAGS
=$LDFLAGS
14165 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
14166 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14167 # check for ICE first), but we must link in the order -lSM -lICE or
14168 # we get undefined symbols. So assume we have SM if we have ICE.
14169 # These have to be linked with before -lX11, unlike the other
14170 # libraries we check for below, so use a different variable.
14171 # John Interrante, Karl Berry
14172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14173 printf %s
"checking for IceConnectionNumber in -lICE... " >&6; }
14174 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14176 printf %s
"(cached) " >&6
14178 ac_check_lib_save_LIBS
=$LIBS
14179 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
14180 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14181 /* end confdefs.h. */
14183 /* Override any GCC internal prototype to avoid an error.
14184 Use char because int might match the return type of a GCC
14185 builtin and then its argument prototype would still apply. */
14186 char IceConnectionNumber ();
14190 return IceConnectionNumber ();
14195 if ac_fn_c_try_link
"$LINENO"
14197 ac_cv_lib_ICE_IceConnectionNumber
=yes
14199 ac_cv_lib_ICE_IceConnectionNumber
=no
14201 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14202 conftest
$ac_exeext conftest.
$ac_ext
14203 LIBS
=$ac_check_lib_save_LIBS
14205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14206 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14207 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14209 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
14212 LDFLAGS
=$ac_save_LDFLAGS
14217 if test "$have_x" = "yes"
14219 ac_save_CPPFLAGS
="$CPPFLAGS"
14220 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
14222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14223 printf %s
"checking for -lX11... " >&6; }
14224 if test ${ac_cv_lib_soname_X11+y}
14226 printf %s
"(cached) " >&6
14228 ac_check_soname_save_LIBS
=$LIBS
14229 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14230 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14231 /* end confdefs.h. */
14233 /* Override any GCC internal prototype to avoid an error.
14234 Use char because int might match the return type of a GCC
14235 builtin and then its argument prototype would still apply. */
14236 char XCreateWindow ();
14240 return XCreateWindow ();
14245 if ac_fn_c_try_link
"$LINENO"
14248 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14249 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'` ;;
14250 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14251 if ${ac_cv_lib_soname_X11:+false} :
14253 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14257 ac_cv_lib_soname_X11
=
14259 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14260 conftest
$ac_exeext conftest.
$ac_ext
14261 LIBS
=$ac_check_soname_save_LIBS
14263 if ${ac_cv_lib_soname_X11:+false} :
14265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14266 printf "%s\n" "not found" >&6; }
14269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14270 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14272 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14277 printf %s
"checking for -lXext... " >&6; }
14278 if test ${ac_cv_lib_soname_Xext+y}
14280 printf %s
"(cached) " >&6
14282 ac_check_soname_save_LIBS
=$LIBS
14283 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14284 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14285 /* end confdefs.h. */
14287 /* Override any GCC internal prototype to avoid an error.
14288 Use char because int might match the return type of a GCC
14289 builtin and then its argument prototype would still apply. */
14290 char XextCreateExtension ();
14294 return XextCreateExtension ();
14299 if ac_fn_c_try_link
"$LINENO"
14302 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14303 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'` ;;
14304 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14305 if ${ac_cv_lib_soname_Xext:+false} :
14307 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14311 ac_cv_lib_soname_Xext
=
14313 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14314 conftest
$ac_exeext conftest.
$ac_ext
14315 LIBS
=$ac_check_soname_save_LIBS
14317 if ${ac_cv_lib_soname_Xext:+false} :
14319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14320 printf "%s\n" "not found" >&6; }
14323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14324 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14326 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14328 X_LIBS
="$X_LIBS -lXext"
14330 X_LIBS
="$X_LIBS -lX11"
14332 ac_fn_c_check_header_compile
"$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
14333 # include <X11/Xlib.h>
14335 #ifdef HAVE_X11_XUTIL_H
14336 # include <X11/Xutil.h>
14339 if test "x$ac_cv_header_X11_Xlib_h" = xyes
14341 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14344 ac_fn_c_check_header_compile
"$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
14345 # include <X11/Xlib.h>
14347 #ifdef HAVE_X11_XUTIL_H
14348 # include <X11/Xutil.h>
14351 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
14353 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14356 ac_fn_c_check_header_compile
"$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
14357 # include <X11/Xlib.h>
14359 #ifdef HAVE_X11_XUTIL_H
14360 # include <X11/Xutil.h>
14363 if test "x$ac_cv_header_X11_Xutil_h" = xyes
14365 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14368 ac_fn_c_check_header_compile
"$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
14369 # include <X11/Xlib.h>
14371 #ifdef HAVE_X11_XUTIL_H
14372 # include <X11/Xutil.h>
14375 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14377 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14380 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
14381 # include <X11/Xlib.h>
14383 #ifdef HAVE_X11_XUTIL_H
14384 # include <X11/Xutil.h>
14387 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14389 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14392 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
14393 # include <X11/Xlib.h>
14395 #ifdef HAVE_X11_XUTIL_H
14396 # include <X11/Xutil.h>
14399 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14401 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14404 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
14405 # include <X11/Xlib.h>
14407 #ifdef HAVE_X11_XUTIL_H
14408 # include <X11/Xutil.h>
14411 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14413 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14416 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
14417 # include <X11/Xlib.h>
14419 #ifdef HAVE_X11_XUTIL_H
14420 # include <X11/Xutil.h>
14423 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14425 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14428 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
14429 # include <X11/Xlib.h>
14431 #ifdef HAVE_X11_XUTIL_H
14432 # include <X11/Xutil.h>
14435 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
14437 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14440 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
14441 # include <X11/Xlib.h>
14443 #ifdef HAVE_X11_XUTIL_H
14444 # include <X11/Xutil.h>
14447 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14449 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14452 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
14453 # include <X11/Xlib.h>
14455 #ifdef HAVE_X11_XUTIL_H
14456 # include <X11/Xutil.h>
14459 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14461 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14464 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
14465 # include <X11/Xlib.h>
14467 #ifdef HAVE_X11_XUTIL_H
14468 # include <X11/Xutil.h>
14471 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14473 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14476 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
14477 # include <X11/Xlib.h>
14479 #ifdef HAVE_X11_XUTIL_H
14480 # include <X11/Xutil.h>
14483 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14485 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14488 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
14489 # include <X11/Xlib.h>
14491 #ifdef HAVE_X11_XUTIL_H
14492 # include <X11/Xutil.h>
14495 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14497 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14500 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
14501 # include <X11/Xlib.h>
14503 #ifdef HAVE_X11_XUTIL_H
14504 # include <X11/Xutil.h>
14507 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14509 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14514 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14517 printf %s
"checking for -lXcursor... " >&6; }
14518 if test ${ac_cv_lib_soname_Xcursor+y}
14520 printf %s
"(cached) " >&6
14522 ac_check_soname_save_LIBS
=$LIBS
14523 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14524 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14525 /* end confdefs.h. */
14527 /* Override any GCC internal prototype to avoid an error.
14528 Use char because int might match the return type of a GCC
14529 builtin and then its argument prototype would still apply. */
14530 char XcursorImageLoadCursor ();
14534 return XcursorImageLoadCursor ();
14539 if ac_fn_c_try_link
"$LINENO"
14542 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14543 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'` ;;
14544 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14545 if ${ac_cv_lib_soname_Xcursor:+false} :
14547 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14551 ac_cv_lib_soname_Xcursor
=
14553 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14554 conftest
$ac_exeext conftest.
$ac_ext
14555 LIBS
=$ac_check_soname_save_LIBS
14557 if ${ac_cv_lib_soname_Xcursor:+false} :
14559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14560 printf "%s\n" "not found" >&6; }
14563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14564 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14566 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14571 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14573 case "x$with_xcursor" in
14574 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14576 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14577 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14582 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14585 printf %s
"checking for -lXi... " >&6; }
14586 if test ${ac_cv_lib_soname_Xi+y}
14588 printf %s
"(cached) " >&6
14590 ac_check_soname_save_LIBS
=$LIBS
14591 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14592 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14593 /* end confdefs.h. */
14595 /* Override any GCC internal prototype to avoid an error.
14596 Use char because int might match the return type of a GCC
14597 builtin and then its argument prototype would still apply. */
14598 char XOpenDevice ();
14602 return XOpenDevice ();
14607 if ac_fn_c_try_link
"$LINENO"
14610 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14611 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'` ;;
14612 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14613 if ${ac_cv_lib_soname_Xi:+false} :
14615 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14619 ac_cv_lib_soname_Xi
=
14621 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14622 conftest
$ac_exeext conftest.
$ac_ext
14623 LIBS
=$ac_check_soname_save_LIBS
14625 if ${ac_cv_lib_soname_Xi:+false} :
14627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14628 printf "%s\n" "not found" >&6; }
14631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14632 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14634 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14639 if test "x$ac_cv_lib_soname_Xi" = "x"
14641 case "x$with_xinput" in
14642 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14644 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14645 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14650 if test "x$ac_cv_lib_soname_Xi" != x
14652 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14654 case "x$with_xinput2" in
14655 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14657 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
14658 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14664 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14667 printf %s
"checking for XShmQueryExtension in -lXext... " >&6; }
14668 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14670 printf %s
"(cached) " >&6
14672 ac_check_lib_save_LIBS
=$LIBS
14673 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14674 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14675 /* end confdefs.h. */
14677 /* Override any GCC internal prototype to avoid an error.
14678 Use char because int might match the return type of a GCC
14679 builtin and then its argument prototype would still apply. */
14680 char XShmQueryExtension ();
14684 return XShmQueryExtension ();
14689 if ac_fn_c_try_link
"$LINENO"
14691 ac_cv_lib_Xext_XShmQueryExtension
=yes
14693 ac_cv_lib_Xext_XShmQueryExtension
=no
14695 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14696 conftest
$ac_exeext conftest.
$ac_ext
14697 LIBS
=$ac_check_lib_save_LIBS
14699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14700 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14701 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14704 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14709 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14711 case "x$with_xshm" in
14712 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14714 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14715 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14720 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14723 printf %s
"checking for XShapeQueryExtension in -lXext... " >&6; }
14724 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14726 printf %s
"(cached) " >&6
14728 ac_check_lib_save_LIBS
=$LIBS
14729 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14731 /* end confdefs.h. */
14733 /* Override any GCC internal prototype to avoid an error.
14734 Use char because int might match the return type of a GCC
14735 builtin and then its argument prototype would still apply. */
14736 char XShapeQueryExtension ();
14740 return XShapeQueryExtension ();
14745 if ac_fn_c_try_link
"$LINENO"
14747 ac_cv_lib_Xext_XShapeQueryExtension
=yes
14749 ac_cv_lib_Xext_XShapeQueryExtension
=no
14751 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14752 conftest
$ac_exeext conftest.
$ac_ext
14753 LIBS
=$ac_check_lib_save_LIBS
14755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14756 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14757 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14760 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14765 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14767 case "x$with_xshape" in
14768 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14770 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
14771 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14776 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14779 printf %s
"checking for -lXxf86vm... " >&6; }
14780 if test ${ac_cv_lib_soname_Xxf86vm+y}
14782 printf %s
"(cached) " >&6
14784 ac_check_soname_save_LIBS
=$LIBS
14785 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14786 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14787 /* end confdefs.h. */
14789 /* Override any GCC internal prototype to avoid an error.
14790 Use char because int might match the return type of a GCC
14791 builtin and then its argument prototype would still apply. */
14792 char XF86VidModeQueryExtension ();
14796 return XF86VidModeQueryExtension ();
14801 if ac_fn_c_try_link
"$LINENO"
14804 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14805 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'` ;;
14806 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14807 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14809 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14813 ac_cv_lib_soname_Xxf86vm
=
14815 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14816 conftest
$ac_exeext conftest.
$ac_ext
14817 LIBS
=$ac_check_soname_save_LIBS
14819 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14822 printf "%s\n" "not found" >&6; }
14825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
14826 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
14828 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
14833 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
14835 case "x$with_xxf86vm" in
14836 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
14838 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
14839 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
14844 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
14846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
14847 printf %s
"checking for -lXrender... " >&6; }
14848 if test ${ac_cv_lib_soname_Xrender+y}
14850 printf %s
"(cached) " >&6
14852 ac_check_soname_save_LIBS
=$LIBS
14853 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14854 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14855 /* end confdefs.h. */
14857 /* Override any GCC internal prototype to avoid an error.
14858 Use char because int might match the return type of a GCC
14859 builtin and then its argument prototype would still apply. */
14860 char XRenderQueryExtension ();
14864 return XRenderQueryExtension ();
14869 if ac_fn_c_try_link
"$LINENO"
14872 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14873 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'` ;;
14874 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14875 if ${ac_cv_lib_soname_Xrender:+false} :
14877 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14881 ac_cv_lib_soname_Xrender
=
14883 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14884 conftest
$ac_exeext conftest.
$ac_ext
14885 LIBS
=$ac_check_soname_save_LIBS
14887 if ${ac_cv_lib_soname_Xrender:+false} :
14889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14890 printf "%s\n" "not found" >&6; }
14893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
14894 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
14896 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
14898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
14899 printf %s
"checking for XRenderSetPictureTransform in -lXrender... " >&6; }
14900 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
14902 printf %s
"(cached) " >&6
14904 ac_check_lib_save_LIBS
=$LIBS
14905 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14906 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14907 /* end confdefs.h. */
14909 /* Override any GCC internal prototype to avoid an error.
14910 Use char because int might match the return type of a GCC
14911 builtin and then its argument prototype would still apply. */
14912 char XRenderSetPictureTransform ();
14916 return XRenderSetPictureTransform ();
14921 if ac_fn_c_try_link
"$LINENO"
14923 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
14925 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
14927 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14928 conftest
$ac_exeext conftest.
$ac_ext
14929 LIBS
=$ac_check_lib_save_LIBS
14931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
14932 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
14933 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
14936 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
14940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
14941 printf %s
"checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
14942 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
14944 printf %s
"(cached) " >&6
14946 ac_check_lib_save_LIBS
=$LIBS
14947 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14948 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14949 /* end confdefs.h. */
14951 /* Override any GCC internal prototype to avoid an error.
14952 Use char because int might match the return type of a GCC
14953 builtin and then its argument prototype would still apply. */
14954 char XRenderCreateLinearGradient ();
14958 return XRenderCreateLinearGradient ();
14963 if ac_fn_c_try_link
"$LINENO"
14965 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
14967 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
14969 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14970 conftest
$ac_exeext conftest.
$ac_ext
14971 LIBS
=$ac_check_lib_save_LIBS
14973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
14974 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
14975 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
14978 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
14985 if test "x$ac_cv_lib_soname_Xrender" = "x"
14987 case "x$with_xrender" in
14988 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
14990 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
14991 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
14996 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
14998 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14999 /* end confdefs.h. */
15000 #include <X11/Xlib.h>
15001 #include <X11/extensions/Xrandr.h>
15005 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15010 if ac_fn_c_try_compile
"$LINENO"
15012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15013 printf %s
"checking for -lXrandr... " >&6; }
15014 if test ${ac_cv_lib_soname_Xrandr+y}
15016 printf %s
"(cached) " >&6
15018 ac_check_soname_save_LIBS
=$LIBS
15019 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15020 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15021 /* end confdefs.h. */
15023 /* Override any GCC internal prototype to avoid an error.
15024 Use char because int might match the return type of a GCC
15025 builtin and then its argument prototype would still apply. */
15026 char XRRQueryExtension ();
15030 return XRRQueryExtension ();
15035 if ac_fn_c_try_link
"$LINENO"
15038 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15039 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'` ;;
15040 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15041 if ${ac_cv_lib_soname_Xrandr:+false} :
15043 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15047 ac_cv_lib_soname_Xrandr
=
15049 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15050 conftest
$ac_exeext conftest.
$ac_ext
15051 LIBS
=$ac_check_soname_save_LIBS
15053 if ${ac_cv_lib_soname_Xrandr:+false} :
15055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15056 printf "%s\n" "not found" >&6; }
15059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15060 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15062 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15064 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15065 /* end confdefs.h. */
15066 #include <X11/Xlib.h>
15067 #include <X11/extensions/Xrandr.h>
15071 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15076 if ac_fn_c_try_compile
"$LINENO"
15079 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15082 as_fn_append wine_notices
"|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15084 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15087 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15089 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15091 case "x$with_xrandr" in
15092 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15094 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15095 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15100 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15102 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15103 /* end confdefs.h. */
15104 #include <X11/Xlib.h>
15105 #include <X11/extensions/Xfixes.h>
15109 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15114 if ac_fn_c_try_compile
"$LINENO"
15116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15117 printf %s
"checking for -lXfixes... " >&6; }
15118 if test ${ac_cv_lib_soname_Xfixes+y}
15120 printf %s
"(cached) " >&6
15122 ac_check_soname_save_LIBS
=$LIBS
15123 LIBS
="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15124 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15125 /* end confdefs.h. */
15127 /* Override any GCC internal prototype to avoid an error.
15128 Use char because int might match the return type of a GCC
15129 builtin and then its argument prototype would still apply. */
15130 char XFixesQueryVersion ();
15134 return XFixesQueryVersion ();
15139 if ac_fn_c_try_link
"$LINENO"
15142 dll
) ac_cv_lib_soname_Xfixes
=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15143 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'` ;;
15144 *) ac_cv_lib_soname_Xfixes
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15145 if ${ac_cv_lib_soname_Xfixes:+false} :
15147 ac_cv_lib_soname_Xfixes
=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15151 ac_cv_lib_soname_Xfixes
=
15153 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15154 conftest
$ac_exeext conftest.
$ac_ext
15155 LIBS
=$ac_check_soname_save_LIBS
15157 if ${ac_cv_lib_soname_Xfixes:+false} :
15159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15160 printf "%s\n" "not found" >&6; }
15163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15164 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15166 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15171 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15173 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15175 case "x$with_xfixes" in
15176 x
) as_fn_append wine_notices
"|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15178 *) as_fn_error $?
"libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15179 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15184 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15186 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15187 /* end confdefs.h. */
15188 #include <X11/Xlib.h>
15189 #include <X11/extensions/Xinerama.h>
15193 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15198 if ac_fn_c_try_compile
"$LINENO"
15200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15201 printf %s
"checking for -lXinerama... " >&6; }
15202 if test ${ac_cv_lib_soname_Xinerama+y}
15204 printf %s
"(cached) " >&6
15206 ac_check_soname_save_LIBS
=$LIBS
15207 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15208 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15209 /* end confdefs.h. */
15211 /* Override any GCC internal prototype to avoid an error.
15212 Use char because int might match the return type of a GCC
15213 builtin and then its argument prototype would still apply. */
15214 char XineramaQueryScreens ();
15218 return XineramaQueryScreens ();
15223 if ac_fn_c_try_link
"$LINENO"
15226 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15227 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'` ;;
15228 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15229 if ${ac_cv_lib_soname_Xinerama:+false} :
15231 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15235 ac_cv_lib_soname_Xinerama
=
15237 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15238 conftest
$ac_exeext conftest.
$ac_ext
15239 LIBS
=$ac_check_soname_save_LIBS
15241 if ${ac_cv_lib_soname_Xinerama:+false} :
15243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15244 printf "%s\n" "not found" >&6; }
15247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15248 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15250 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15255 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15257 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15259 case "x$with_xinerama" in
15260 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15262 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15263 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15268 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15271 printf %s
"checking for -lXcomposite... " >&6; }
15272 if test ${ac_cv_lib_soname_Xcomposite+y}
15274 printf %s
"(cached) " >&6
15276 ac_check_soname_save_LIBS
=$LIBS
15277 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15278 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15279 /* end confdefs.h. */
15281 /* Override any GCC internal prototype to avoid an error.
15282 Use char because int might match the return type of a GCC
15283 builtin and then its argument prototype would still apply. */
15284 char XCompositeRedirectWindow ();
15288 return XCompositeRedirectWindow ();
15293 if ac_fn_c_try_link
"$LINENO"
15296 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15297 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'` ;;
15298 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15299 if ${ac_cv_lib_soname_Xcomposite:+false} :
15301 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15305 ac_cv_lib_soname_Xcomposite
=
15307 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15308 conftest
$ac_exeext conftest.
$ac_ext
15309 LIBS
=$ac_check_soname_save_LIBS
15311 if ${ac_cv_lib_soname_Xcomposite:+false} :
15313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15314 printf "%s\n" "not found" >&6; }
15317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15318 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15320 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15325 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15327 case "x$with_xcomposite" in
15328 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15330 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15331 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15336 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
15337 #include <X11/Xlib.h>
15340 if test "x$ac_cv_member_XICCallback_callback" = xyes
15343 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15347 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15348 #include <X11/Xlib.h>
15351 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15354 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15362 if test "x$with_opengl" != "xno"
15364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15365 printf %s
"checking for -lGL... " >&6; }
15366 if test ${ac_cv_lib_soname_GL+y}
15368 printf %s
"(cached) " >&6
15370 ac_check_soname_save_LIBS
=$LIBS
15371 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15372 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15373 /* end confdefs.h. */
15375 /* Override any GCC internal prototype to avoid an error.
15376 Use char because int might match the return type of a GCC
15377 builtin and then its argument prototype would still apply. */
15378 char glXCreateContext ();
15382 return glXCreateContext ();
15387 if ac_fn_c_try_link
"$LINENO"
15390 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15391 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'` ;;
15392 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15393 if ${ac_cv_lib_soname_GL:+false} :
15395 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15399 ac_cv_lib_soname_GL
=
15401 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15402 conftest
$ac_exeext conftest.
$ac_ext
15403 LIBS
=$ac_check_soname_save_LIBS
15405 if ${ac_cv_lib_soname_GL:+false} :
15407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15408 printf "%s\n" "not found" >&6; }
15409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15410 printf %s
"checking for -lGL... " >&6; }
15411 if test ${ac_cv_lib_soname_GL+y}
15413 printf %s
"(cached) " >&6
15415 ac_check_soname_save_LIBS
=$LIBS
15416 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"
15417 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15418 /* end confdefs.h. */
15420 /* Override any GCC internal prototype to avoid an error.
15421 Use char because int might match the return type of a GCC
15422 builtin and then its argument prototype would still apply. */
15423 char glXCreateContext ();
15427 return glXCreateContext ();
15432 if ac_fn_c_try_link
"$LINENO"
15435 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15436 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'` ;;
15437 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15438 if ${ac_cv_lib_soname_GL:+false} :
15440 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15444 ac_cv_lib_soname_GL
=
15446 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15447 conftest
$ac_exeext conftest.
$ac_ext
15448 LIBS
=$ac_check_soname_save_LIBS
15450 if ${ac_cv_lib_soname_GL:+false} :
15452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15453 printf "%s\n" "not found" >&6; }
15454 if test -f /usr
/X11R
6/lib
/libGL.a
15456 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
15457 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15459 opengl_msg
="No OpenGL library found on this system."
15462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15463 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15465 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15467 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"
15470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15471 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15473 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15477 if test "x$with_osmesa" != "xno"
15479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15480 printf %s
"checking for -lOSMesa... " >&6; }
15481 if test ${ac_cv_lib_soname_OSMesa+y}
15483 printf %s
"(cached) " >&6
15485 ac_check_soname_save_LIBS
=$LIBS
15486 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15487 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15488 /* end confdefs.h. */
15490 /* Override any GCC internal prototype to avoid an error.
15491 Use char because int might match the return type of a GCC
15492 builtin and then its argument prototype would still apply. */
15493 char OSMesaGetProcAddress ();
15497 return OSMesaGetProcAddress ();
15502 if ac_fn_c_try_link
"$LINENO"
15505 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15506 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'` ;;
15507 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15508 if ${ac_cv_lib_soname_OSMesa:+false} :
15510 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15514 ac_cv_lib_soname_OSMesa
=
15516 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15517 conftest
$ac_exeext conftest.
$ac_ext
15518 LIBS
=$ac_check_soname_save_LIBS
15520 if ${ac_cv_lib_soname_OSMesa:+false} :
15522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15523 printf "%s\n" "not found" >&6; }
15526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15527 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15529 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15533 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15535 case "x$with_osmesa" in
15536 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15538 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15539 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15545 if test -n "$opengl_msg"
15547 case "x$with_opengl" in
15548 x
) as_fn_append wine_warnings
"|$opengl_msg
15549 OpenGL and Direct3D won't be supported." ;;
15551 *) as_fn_error $?
"$opengl_msg
15552 OpenGL and Direct3D won't be supported.
15553 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15558 CPPFLAGS
="$ac_save_CPPFLAGS"
15564 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15566 if test "x$X_LIBS" = "x"
15570 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
15571 without X support, which probably isn't what you want. You will need
15572 to install ${notice_platform}development packages of Xlib at the very least.
15573 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15575 enable_winex11_drv
=${enable_winex11_drv:-no}
15578 if test "x$X_LIBS" = "x"
15581 x
) as_fn_append wine_notices
"|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15583 *) as_fn_error $?
"X ${notice_platform}development files not found, the X11 driver won't be supported.
15584 This is an error since --with-x was requested." "$LINENO" 5 ;;
15586 enable_winex11_drv
=${enable_winex11_drv:-no}
15590 if test "x$with_wayland" != "xno"
15593 if ${WAYLAND_CLIENT_CFLAGS:+false} :
15595 if test ${PKG_CONFIG+y}
15597 WAYLAND_CLIENT_CFLAGS
=`$PKG_CONFIG --cflags wayland-client 2>conftest.err`
15601 if ${WAYLAND_CLIENT_LIBS:+false} :
15603 if test ${PKG_CONFIG+y}
15605 WAYLAND_CLIENT_LIBS
=`$PKG_CONFIG --libs wayland-client 2>/dev/null`
15610 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client cflags: $WAYLAND_CLIENT_CFLAGS" >&5
15611 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client libs: $WAYLAND_CLIENT_LIBS" >&5
15612 if test -s conftest.err
; then
15613 printf %s
"$as_me:${as_lineno-$LINENO}: wayland-client errors: " >&5
15614 cat conftest.err
>&5
15617 ac_save_CPPFLAGS
=$CPPFLAGS
15618 CPPFLAGS
="$CPPFLAGS $WAYLAND_CLIENT_CFLAGS"
15619 for ac_header
in wayland-client.h
15621 ac_fn_c_check_header_compile
"$LINENO" "wayland-client.h" "ac_cv_header_wayland_client_h" "$ac_includes_default"
15622 if test "x$ac_cv_header_wayland_client_h" = xyes
15624 printf "%s\n" "#define HAVE_WAYLAND_CLIENT_H 1" >>confdefs.h
15625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wl_display_connect in -lwayland-client" >&5
15626 printf %s
"checking for wl_display_connect in -lwayland-client... " >&6; }
15627 if test ${ac_cv_lib_wayland_client_wl_display_connect+y}
15629 printf %s
"(cached) " >&6
15631 ac_check_lib_save_LIBS
=$LIBS
15632 LIBS
="-lwayland-client $WAYLAND_CLIENT_LIBS $LIBS"
15633 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15634 /* end confdefs.h. */
15636 /* Override any GCC internal prototype to avoid an error.
15637 Use char because int might match the return type of a GCC
15638 builtin and then its argument prototype would still apply. */
15639 char wl_display_connect ();
15643 return wl_display_connect ();
15648 if ac_fn_c_try_link
"$LINENO"
15650 ac_cv_lib_wayland_client_wl_display_connect
=yes
15652 ac_cv_lib_wayland_client_wl_display_connect
=no
15654 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15655 conftest
$ac_exeext conftest.
$ac_ext
15656 LIBS
=$ac_check_lib_save_LIBS
15658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wayland_client_wl_display_connect" >&5
15659 printf "%s\n" "$ac_cv_lib_wayland_client_wl_display_connect" >&6; }
15660 if test "x$ac_cv_lib_wayland_client_wl_display_connect" = xyes
15662 # Extract the first word of "wayland-scanner", so it can be a program name with args.
15663 set dummy wayland-scanner
; ac_word
=$2
15664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15665 printf %s
"checking for $ac_word... " >&6; }
15666 if test ${ac_cv_path_WAYLAND_SCANNER+y}
15668 printf %s
"(cached) " >&6
15670 case $WAYLAND_SCANNER in
15672 ac_cv_path_WAYLAND_SCANNER
="$WAYLAND_SCANNER" # Let the user override the test with a path.
15675 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15676 for as_dir
in $PATH
15679 case $as_dir in #(((
15682 *) as_dir
=$as_dir/ ;;
15684 for ac_exec_ext
in '' $ac_executable_extensions; do
15685 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
15686 ac_cv_path_WAYLAND_SCANNER
="$as_dir$ac_word$ac_exec_ext"
15687 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
15694 test -z "$ac_cv_path_WAYLAND_SCANNER" && ac_cv_path_WAYLAND_SCANNER
="`test -n "$PKG_CONFIG" && $PKG_CONFIG --variable=wayland_scanner wayland-scanner 2>/dev/null`"
15698 WAYLAND_SCANNER
=$ac_cv_path_WAYLAND_SCANNER
15699 if test -n "$WAYLAND_SCANNER"; then
15700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $WAYLAND_SCANNER" >&5
15701 printf "%s\n" "$WAYLAND_SCANNER" >&6; }
15703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15704 printf "%s\n" "no" >&6; }
15709 WAYLAND_CLIENT_LIBS
=""
15715 CPPFLAGS
=$ac_save_CPPFLAGS
15718 if test -z "$WAYLAND_CLIENT_LIBS" -o -z "$WAYLAND_SCANNER"
15720 case "x$with_wayland" in
15721 x
) as_fn_append wine_notices
"|Wayland ${notice_platform}development files not found, the Wayland driver won't be supported." ;;
15723 *) as_fn_error $?
"Wayland ${notice_platform}development files not found, the Wayland driver won't be supported.
15724 This is an error since --with-wayland was requested." "$LINENO" 5 ;;
15726 enable_winewayland_drv
=${enable_winewayland_drv:-no}
15729 if test "$ac_cv_header_CL_cl_h" = "yes"
15731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15732 printf %s
"checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15733 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15735 printf %s
"(cached) " >&6
15737 ac_check_lib_save_LIBS
=$LIBS
15738 LIBS
="-lOpenCL $LIBS"
15739 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15740 /* end confdefs.h. */
15742 /* Override any GCC internal prototype to avoid an error.
15743 Use char because int might match the return type of a GCC
15744 builtin and then its argument prototype would still apply. */
15745 char clGetPlatformInfo ();
15749 return clGetPlatformInfo ();
15754 if ac_fn_c_try_link
"$LINENO"
15756 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
15758 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
15760 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15761 conftest
$ac_exeext conftest.
$ac_ext
15762 LIBS
=$ac_check_lib_save_LIBS
15764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15765 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15766 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15768 OPENCL_LIBS
="-lOpenCL"
15773 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15775 case "x$with_opencl" in
15776 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15778 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15779 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15781 enable_opencl
=${enable_opencl:-no}
15784 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_init in -lpcap" >&5
15787 printf %s
"checking for pcap_init in -lpcap... " >&6; }
15788 if test ${ac_cv_lib_pcap_pcap_init+y}
15790 printf %s
"(cached) " >&6
15792 ac_check_lib_save_LIBS
=$LIBS
15793 LIBS
="-lpcap $LIBS"
15794 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15795 /* end confdefs.h. */
15797 /* Override any GCC internal prototype to avoid an error.
15798 Use char because int might match the return type of a GCC
15799 builtin and then its argument prototype would still apply. */
15804 return pcap_init ();
15809 if ac_fn_c_try_link
"$LINENO"
15811 ac_cv_lib_pcap_pcap_init
=yes
15813 ac_cv_lib_pcap_pcap_init
=no
15815 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15816 conftest
$ac_exeext conftest.
$ac_ext
15817 LIBS
=$ac_check_lib_save_LIBS
15819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_init" >&5
15820 printf "%s\n" "$ac_cv_lib_pcap_pcap_init" >&6; }
15821 if test "x$ac_cv_lib_pcap_pcap_init" = xyes
15828 if test "x$ac_cv_lib_pcap_pcap_init" != xyes
15830 case "x$with_pcap" in
15831 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15833 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
15834 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15836 enable_wpcap
=${enable_wpcap:-no}
15839 if test "x$with_pcsclite" != "xno"
15841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SCardEstablishContext in -lpcsclite" >&5
15842 printf %s
"checking for SCardEstablishContext in -lpcsclite... " >&6; }
15843 if test ${ac_cv_lib_pcsclite_SCardEstablishContext+y}
15845 printf %s
"(cached) " >&6
15847 ac_check_lib_save_LIBS
=$LIBS
15848 LIBS
="-lpcsclite $LIBS"
15849 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15850 /* end confdefs.h. */
15852 /* Override any GCC internal prototype to avoid an error.
15853 Use char because int might match the return type of a GCC
15854 builtin and then its argument prototype would still apply. */
15855 char SCardEstablishContext ();
15859 return SCardEstablishContext ();
15864 if ac_fn_c_try_link
"$LINENO"
15866 ac_cv_lib_pcsclite_SCardEstablishContext
=yes
15868 ac_cv_lib_pcsclite_SCardEstablishContext
=no
15870 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15871 conftest
$ac_exeext conftest.
$ac_ext
15872 LIBS
=$ac_check_lib_save_LIBS
15874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcsclite_SCardEstablishContext" >&5
15875 printf "%s\n" "$ac_cv_lib_pcsclite_SCardEstablishContext" >&6; }
15876 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" = xyes
15878 PCSCLITE_LIBS
="-lpcsclite"
15883 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" != xyes
15885 case "x$with_pcsclite" in
15886 x
) as_fn_append wine_notices
"|libpcsclite not found, smart cards won't be supported." ;;
15888 *) as_fn_error $?
"libpcsclite not found, smart cards won't be supported.
15889 This is an error since --with-pcsclite was requested." "$LINENO" 5 ;;
15891 enable_winscard
=${enable_winscard:-no}
15894 if test "x$with_inotify" != "xno"
15897 if ${INOTIFY_CFLAGS:+false} :
15899 if test ${PKG_CONFIG+y}
15901 INOTIFY_CFLAGS
=`$PKG_CONFIG --cflags libinotify 2>conftest.err`
15905 if ${INOTIFY_LIBS:+false} :
15907 if test ${PKG_CONFIG+y}
15909 INOTIFY_LIBS
=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15914 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15915 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15916 if test -s conftest.err
; then
15917 printf %s
"$as_me:${as_lineno-$LINENO}: libinotify errors: " >&5
15918 cat conftest.err
>&5
15921 ac_save_CPPFLAGS
=$CPPFLAGS
15922 CPPFLAGS
="$CPPFLAGS $INOTIFY_CFLAGS"
15923 ac_fn_c_check_header_compile
"$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15924 if test "x$ac_cv_header_sys_inotify_h" = xyes
15926 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15931 printf %s
"checking for inotify_add_watch in -linotify... " >&6; }
15932 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15934 printf %s
"(cached) " >&6
15936 ac_check_lib_save_LIBS
=$LIBS
15937 LIBS
="-linotify $INOTIFY_LIBS $LIBS"
15938 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15939 /* end confdefs.h. */
15941 /* Override any GCC internal prototype to avoid an error.
15942 Use char because int might match the return type of a GCC
15943 builtin and then its argument prototype would still apply. */
15944 char inotify_add_watch ();
15948 return inotify_add_watch ();
15953 if ac_fn_c_try_link
"$LINENO"
15955 ac_cv_lib_inotify_inotify_add_watch
=yes
15957 ac_cv_lib_inotify_inotify_add_watch
=no
15959 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15960 conftest
$ac_exeext conftest.
$ac_ext
15961 LIBS
=$ac_check_lib_save_LIBS
15963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15964 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
15965 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
15972 CPPFLAGS
=$ac_save_CPPFLAGS
15975 if test "$ac_cv_header_sys_inotify_h" != "yes"
15977 case "x$with_inotify" in
15978 x
) as_fn_append wine_notices
"|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
15980 *) as_fn_error $?
"libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
15981 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
15986 if test "x$with_dbus" != "xno"
15989 if ${DBUS_CFLAGS:+false} :
15991 if test ${PKG_CONFIG+y}
15993 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>conftest.err`
15997 if ${DBUS_LIBS:+false} :
15999 if test ${PKG_CONFIG+y}
16001 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
16006 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
16007 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
16008 if test -s conftest.err
; then
16009 printf %s
"$as_me:${as_lineno-$LINENO}: dbus-1 errors: " >&5
16010 cat conftest.err
>&5
16013 ac_save_CPPFLAGS
=$CPPFLAGS
16014 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
16015 ac_fn_c_check_header_compile
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
16016 if test "x$ac_cv_header_dbus_dbus_h" = xyes
16018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
16019 printf %s
"checking for -ldbus-1... " >&6; }
16020 if test ${ac_cv_lib_soname_dbus_1+y}
16022 printf %s
"(cached) " >&6
16024 ac_check_soname_save_LIBS
=$LIBS
16025 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
16026 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16027 /* end confdefs.h. */
16029 /* Override any GCC internal prototype to avoid an error.
16030 Use char because int might match the return type of a GCC
16031 builtin and then its argument prototype would still apply. */
16032 char dbus_connection_close ();
16036 return dbus_connection_close ();
16041 if ac_fn_c_try_link
"$LINENO"
16044 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16045 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'` ;;
16046 *) 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'`
16047 if ${ac_cv_lib_soname_dbus_1:+false} :
16049 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16053 ac_cv_lib_soname_dbus_1
=
16055 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16056 conftest
$ac_exeext conftest.
$ac_ext
16057 LIBS
=$ac_check_soname_save_LIBS
16059 if ${ac_cv_lib_soname_dbus_1:+false} :
16061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16062 printf "%s\n" "not found" >&6; }
16065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16066 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16068 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16076 CPPFLAGS
=$ac_save_CPPFLAGS
16080 darwin
*|macosx
*) ;;
16081 *) if test "x$ac_cv_lib_soname_dbus_1" = "x"
16083 case "x$with_dbus" in
16084 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16086 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
16087 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16093 if test "x$with_gnutls" != "xno"
16096 if ${GNUTLS_CFLAGS:+false} :
16098 if test ${PKG_CONFIG+y}
16100 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>conftest.err`
16104 if ${GNUTLS_LIBS:+false} :
16106 if test ${PKG_CONFIG+y}
16108 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16112 GNUTLS_LIBS
=${GNUTLS_LIBS:-"-lgnutls"}
16113 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16114 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16115 if test -s conftest.err
; then
16116 printf %s
"$as_me:${as_lineno-$LINENO}: gnutls errors: " >&5
16117 cat conftest.err
>&5
16120 ac_save_CPPFLAGS
=$CPPFLAGS
16121 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
16122 ac_fn_c_check_header_compile
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16123 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16125 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16126 /* end confdefs.h. */
16127 #include <gnutls/gnutls.h>
16128 #include <gnutls/crypto.h>
16132 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16137 if ac_fn_c_try_compile
"$LINENO"
16139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16140 printf %s
"checking for -lgnutls... " >&6; }
16141 if test ${ac_cv_lib_soname_gnutls+y}
16143 printf %s
"(cached) " >&6
16145 ac_check_soname_save_LIBS
=$LIBS
16146 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
16147 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16148 /* end confdefs.h. */
16150 /* Override any GCC internal prototype to avoid an error.
16151 Use char because int might match the return type of a GCC
16152 builtin and then its argument prototype would still apply. */
16153 char gnutls_global_init ();
16157 return gnutls_global_init ();
16162 if ac_fn_c_try_link
"$LINENO"
16165 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16166 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'` ;;
16167 *) 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'`
16168 if ${ac_cv_lib_soname_gnutls:+false} :
16170 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'`
16174 ac_cv_lib_soname_gnutls
=
16176 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16177 conftest
$ac_exeext conftest.
$ac_ext
16178 LIBS
=$ac_check_soname_save_LIBS
16180 if ${ac_cv_lib_soname_gnutls:+false} :
16182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16183 printf "%s\n" "not found" >&6; }
16186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16187 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16189 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16193 ac_wine_check_funcs_save_LIBS
="$LIBS"
16194 LIBS
="$LIBS $GNUTLS_LIBS"
16196 for ac_func
in gnutls_cipher_init
16198 ac_fn_c_check_func
"$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16199 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16201 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16204 as_fn_append wine_notices
"|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16208 LIBS
="$ac_wine_check_funcs_save_LIBS"
16210 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16215 CPPFLAGS
=$ac_save_CPPFLAGS
16218 if test "x$ac_cv_lib_soname_gnutls" = "x"
16220 case "x$with_gnutls" in
16221 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16223 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
16224 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16229 if test "x$with_sane" != "xno"
16232 if ${SANE_CFLAGS:+false} :
16234 if test ${PKG_CONFIG+y}
16236 SANE_CFLAGS
=`$PKG_CONFIG --cflags sane-backends 2>conftest.err`
16239 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16240 if ${SANE_LIBS:+false} :
16242 if test ${PKG_CONFIG+y}
16244 SANE_LIBS
=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16247 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16249 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16250 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16251 if test -s conftest.err
; then
16252 printf %s
"$as_me:${as_lineno-$LINENO}: sane-backends errors: " >&5
16253 cat conftest.err
>&5
16256 ac_save_CPPFLAGS
=$CPPFLAGS
16257 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
16258 ac_fn_c_check_header_compile
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16259 if test "x$ac_cv_header_sane_sane_h" = xyes
16261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16262 printf %s
"checking for sane_init in -lsane... " >&6; }
16263 if test ${ac_cv_lib_sane_sane_init+y}
16265 printf %s
"(cached) " >&6
16267 ac_check_lib_save_LIBS
=$LIBS
16268 LIBS
="-lsane $SANE_LIBS $LIBS"
16269 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16270 /* end confdefs.h. */
16272 /* Override any GCC internal prototype to avoid an error.
16273 Use char because int might match the return type of a GCC
16274 builtin and then its argument prototype would still apply. */
16279 return sane_init ();
16284 if ac_fn_c_try_link
"$LINENO"
16286 ac_cv_lib_sane_sane_init
=yes
16288 ac_cv_lib_sane_sane_init
=no
16290 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16291 conftest
$ac_exeext conftest.
$ac_ext
16292 LIBS
=$ac_check_lib_save_LIBS
16294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16295 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16296 if test "x$ac_cv_lib_sane_sane_init" = xyes
16303 CPPFLAGS
=$ac_save_CPPFLAGS
16306 if test "$ac_cv_lib_sane_sane_init" != "yes"
16308 case "x$with_sane" in
16309 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16311 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
16312 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16314 enable_sane_ds
=${enable_sane_ds:-no}
16317 if test "x$with_usb" != "xno"
16320 if ${USB_CFLAGS:+false} :
16322 if test ${PKG_CONFIG+y}
16324 USB_CFLAGS
=`$PKG_CONFIG --cflags libusb-1.0 2>conftest.err`
16328 if ${USB_LIBS:+false} :
16330 if test ${PKG_CONFIG+y}
16332 USB_LIBS
=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16336 USB_LIBS
=${USB_LIBS:-"-lusb-1.0"}
16337 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16338 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16339 if test -s conftest.err
; then
16340 printf %s
"$as_me:${as_lineno-$LINENO}: libusb-1.0 errors: " >&5
16341 cat conftest.err
>&5
16344 ac_save_CPPFLAGS
=$CPPFLAGS
16345 CPPFLAGS
="$CPPFLAGS $USB_CFLAGS"
16346 ac_fn_c_check_header_compile
"$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16347 if test "x$ac_cv_header_libusb_h" = xyes
16349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16350 printf %s
"checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16351 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16353 printf %s
"(cached) " >&6
16355 ac_check_lib_save_LIBS
=$LIBS
16356 LIBS
="-lusb-1.0 $USB_LIBS $LIBS"
16357 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16358 /* end confdefs.h. */
16360 /* Override any GCC internal prototype to avoid an error.
16361 Use char because int might match the return type of a GCC
16362 builtin and then its argument prototype would still apply. */
16363 char libusb_interrupt_event_handler ();
16367 return libusb_interrupt_event_handler ();
16372 if ac_fn_c_try_link
"$LINENO"
16374 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler
=yes
16376 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler
=no
16378 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16379 conftest
$ac_exeext conftest.
$ac_ext
16380 LIBS
=$ac_check_lib_save_LIBS
16382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16383 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16384 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16395 CPPFLAGS
=$ac_save_CPPFLAGS
16398 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16400 case "x$with_usb" in
16401 x
) as_fn_append wine_notices
"|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16403 *) as_fn_error $?
"libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16404 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16406 enable_wineusb_sys
=${enable_wineusb_sys:-no}
16409 if test "x$with_v4l2" != "xno"
16411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16412 printf %s
"checking for -lv4l2... " >&6; }
16413 if test ${ac_cv_lib_soname_v4l2+y}
16415 printf %s
"(cached) " >&6
16417 ac_check_soname_save_LIBS
=$LIBS
16418 LIBS
="-lv4l2 $LIBS"
16419 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16420 /* end confdefs.h. */
16422 /* Override any GCC internal prototype to avoid an error.
16423 Use char because int might match the return type of a GCC
16424 builtin and then its argument prototype would still apply. */
16429 return v4l2_open ();
16434 if ac_fn_c_try_link
"$LINENO"
16437 dll
) ac_cv_lib_soname_v4l2
=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16438 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'` ;;
16439 *) ac_cv_lib_soname_v4l2
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16440 if ${ac_cv_lib_soname_v4l2:+false} :
16442 ac_cv_lib_soname_v4l2
=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16446 ac_cv_lib_soname_v4l2
=
16448 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16449 conftest
$ac_exeext conftest.
$ac_ext
16450 LIBS
=$ac_check_soname_save_LIBS
16452 if ${ac_cv_lib_soname_v4l2:+false} :
16454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16455 printf "%s\n" "not found" >&6; }
16458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16459 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16461 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16466 if test "x$ac_cv_lib_soname_v4l2" = "x"
16468 case "x$with_v4l2" in
16469 x
) as_fn_append wine_notices
"|libv4l2 ${notice_platform}development files not found." ;;
16471 *) as_fn_error $?
"libv4l2 ${notice_platform}development files not found.
16472 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16477 if test "x$with_gphoto" != "xno"
16480 if ${GPHOTO2_CFLAGS:+false} :
16482 if test ${PKG_CONFIG+y}
16484 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>conftest.err`
16487 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16488 if ${GPHOTO2_LIBS:+false} :
16490 if test ${PKG_CONFIG+y}
16492 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16495 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16496 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
16497 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16498 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16499 if test -s conftest.err
; then
16500 printf %s
"$as_me:${as_lineno-$LINENO}: libgphoto2 errors: " >&5
16501 cat conftest.err
>&5
16504 ac_save_CPPFLAGS
=$CPPFLAGS
16505 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
16506 ac_fn_c_check_header_compile
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16507 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16510 printf %s
"checking for gp_camera_new in -lgphoto2... " >&6; }
16511 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16513 printf %s
"(cached) " >&6
16515 ac_check_lib_save_LIBS
=$LIBS
16516 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16517 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16518 /* end confdefs.h. */
16520 /* Override any GCC internal prototype to avoid an error.
16521 Use char because int might match the return type of a GCC
16522 builtin and then its argument prototype would still apply. */
16523 char gp_camera_new ();
16527 return gp_camera_new ();
16532 if ac_fn_c_try_link
"$LINENO"
16534 ac_cv_lib_gphoto2_gp_camera_new
=yes
16536 ac_cv_lib_gphoto2_gp_camera_new
=no
16538 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16539 conftest
$ac_exeext conftest.
$ac_ext
16540 LIBS
=$ac_check_lib_save_LIBS
16542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16543 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16544 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16551 CPPFLAGS
=$ac_save_CPPFLAGS
16554 if ${GPHOTO2_PORT_CFLAGS:+false} :
16556 if test ${PKG_CONFIG+y}
16558 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>conftest.err`
16561 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16562 if ${GPHOTO2_PORT_LIBS:+false} :
16564 if test ${PKG_CONFIG+y}
16566 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16569 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16570 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16571 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16572 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16573 if test -s conftest.err
; then
16574 printf %s
"$as_me:${as_lineno-$LINENO}: libgphoto2_port errors: " >&5
16575 cat conftest.err
>&5
16578 ac_save_CPPFLAGS
=$CPPFLAGS
16579 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16580 ac_fn_c_check_header_compile
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16581 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16584 printf %s
"checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16585 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16587 printf %s
"(cached) " >&6
16589 ac_check_lib_save_LIBS
=$LIBS
16590 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16592 /* end confdefs.h. */
16594 /* Override any GCC internal prototype to avoid an error.
16595 Use char because int might match the return type of a GCC
16596 builtin and then its argument prototype would still apply. */
16597 char gp_port_info_list_new ();
16601 return gp_port_info_list_new ();
16606 if ac_fn_c_try_link
"$LINENO"
16608 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
16610 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
16612 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16613 conftest
$ac_exeext conftest.
$ac_ext
16614 LIBS
=$ac_check_lib_save_LIBS
16616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16617 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16618 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16621 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16624 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
16628 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
16631 CPPFLAGS
=$ac_save_CPPFLAGS
16634 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16636 case "x$with_gphoto" in
16637 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16639 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16640 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16642 enable_gphoto2_ds
=${enable_gphoto2_ds:-no}
16644 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16646 case "x$with_gphoto" in
16647 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16649 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16650 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16656 if test "$ac_cv_header_resolv_h" = "yes"
16658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16659 printf %s
"checking for resolver library... " >&6; }
16660 if test ${ac_cv_have_resolv+y}
16662 printf %s
"(cached) " >&6
16664 ac_save_LIBS
="$LIBS"
16665 for lib
in '' -lresolv
16667 LIBS
="$lib $ac_save_LIBS"
16668 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16669 /* end confdefs.h. */
16670 #ifdef HAVE_NETINET_IN_H
16671 #include <netinet/in.h>
16673 #include <resolv.h>
16677 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16682 if ac_fn_c_try_link
"$LINENO"
16684 ac_cv_have_resolv
=${lib:-"none required"}
16686 ac_cv_have_resolv
="not found"
16688 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16689 conftest
$ac_exeext conftest.
$ac_ext
16690 test "x$ac_cv_have_resolv" = "xnot found" ||
break
16692 LIBS
="$ac_save_LIBS"
16694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16695 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16697 case "$ac_cv_have_resolv" in
16701 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16704 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16706 RESOLV_LIBS
=$ac_cv_have_resolv
16710 if test "x$ac_cv_have_resolv" != "xnot found"
16712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16713 printf %s
"checking for res_getservers... " >&6; }
16714 if test ${ac_cv_have_res_getservers+y}
16716 printf %s
"(cached) " >&6
16718 ac_save_LIBS
="$LIBS"
16719 LIBS
="$RESOLV_LIBS $LIBS"
16720 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16721 /* end confdefs.h. */
16722 #include <resolv.h>
16726 res_getservers(NULL, NULL, 0);
16731 if ac_fn_c_try_link
"$LINENO"
16733 ac_cv_have_res_getservers
=yes
16735 ac_cv_have_res_getservers
=no
16737 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16738 conftest
$ac_exeext conftest.
$ac_ext
16739 LIBS
="$ac_save_LIBS"
16741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16742 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16743 if test "$ac_cv_have_res_getservers" = "yes"
16746 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16752 if test "x$with_freetype" != "xno"
16755 if ${FREETYPE_CFLAGS:+false} :
16757 if test ${PKG_CONFIG+y}
16759 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>conftest.err`
16762 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16763 if ${FREETYPE_LIBS:+false} :
16765 if test ${PKG_CONFIG+y}
16767 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16770 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16771 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
16772 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16773 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16774 if test -s conftest.err
; then
16775 printf %s
"$as_me:${as_lineno-$LINENO}: freetype2 errors: " >&5
16776 cat conftest.err
>&5
16779 ac_save_CPPFLAGS
=$CPPFLAGS
16780 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
16781 ac_fn_c_check_header_compile
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16782 if test "x$ac_cv_header_ft2build_h" = xyes
16784 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16788 if test "$ac_cv_header_ft2build_h" = "yes"
16790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16791 printf %s
"checking for -lfreetype... " >&6; }
16792 if test ${ac_cv_lib_soname_freetype+y}
16794 printf %s
"(cached) " >&6
16796 ac_check_soname_save_LIBS
=$LIBS
16797 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
16798 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16799 /* end confdefs.h. */
16801 /* Override any GCC internal prototype to avoid an error.
16802 Use char because int might match the return type of a GCC
16803 builtin and then its argument prototype would still apply. */
16804 char FT_Init_FreeType ();
16808 return FT_Init_FreeType ();
16813 if ac_fn_c_try_link
"$LINENO"
16816 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16817 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'` ;;
16818 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16819 if ${ac_cv_lib_soname_freetype:+false} :
16821 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16825 ac_cv_lib_soname_freetype
=
16827 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16828 conftest
$ac_exeext conftest.
$ac_ext
16829 LIBS
=$ac_check_soname_save_LIBS
16831 if ${ac_cv_lib_soname_freetype:+false} :
16833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16834 printf "%s\n" "not found" >&6; }
16837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16838 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16840 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16843 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16845 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16846 #include FT_MODULE_H
16848 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16851 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16861 CPPFLAGS
=$ac_save_CPPFLAGS
16864 if test "x$ac_cv_lib_soname_freetype" = x
16866 case "x$with_freetype" in
16868 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
16869 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16871 enable_fonts
=${enable_fonts:-no}
16874 ac_wine_check_funcs_save_LIBS
="$LIBS"
16875 LIBS
="$LIBS $PTHREAD_LIBS"
16876 ac_fn_c_check_func
"$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16877 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16879 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16883 LIBS
="$ac_wine_check_funcs_save_LIBS"
16885 if test "x$enable_tools" != xno
-a "x$with_gettextpo" = xyes
16887 if test "$ac_cv_header_gettext_po_h" = "yes"
16889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16890 printf %s
"checking for po_message_msgctxt in -lgettextpo... " >&6; }
16891 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16893 printf %s
"(cached) " >&6
16895 ac_check_lib_save_LIBS
=$LIBS
16896 LIBS
="-lgettextpo $LIBS"
16897 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16898 /* end confdefs.h. */
16900 /* Override any GCC internal prototype to avoid an error.
16901 Use char because int might match the return type of a GCC
16902 builtin and then its argument prototype would still apply. */
16903 char po_message_msgctxt ();
16907 return po_message_msgctxt ();
16912 if ac_fn_c_try_link
"$LINENO"
16914 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
16916 ac_cv_lib_gettextpo_po_message_msgctxt
=no
16918 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16919 conftest
$ac_exeext conftest.
$ac_ext
16920 LIBS
=$ac_check_lib_save_LIBS
16922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16923 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16924 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16927 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16929 GETTEXTPO_LIBS
="-lgettextpo"
16934 if test "x$GETTEXTPO_LIBS" = "x"
16936 case "x$with_gettextpo" in
16937 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16939 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16940 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16944 if test "$srcdir" != .
16946 case "x$with_gettextpo" in
16947 x
) as_fn_append wine_notices
"|Rebuilding po files is not supported for out of tree builds." ;;
16949 *) as_fn_error $?
"Rebuilding po files is not supported for out of tree builds.
16950 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16956 if test "x$with_pulse" != "xno";
16959 if ${PULSE_CFLAGS:+false} :
16961 if test ${PKG_CONFIG+y}
16963 PULSE_CFLAGS
=`$PKG_CONFIG --cflags libpulse 2>conftest.err`
16967 if ${PULSE_LIBS:+false} :
16969 if test ${PKG_CONFIG+y}
16971 PULSE_LIBS
=`$PKG_CONFIG --libs libpulse 2>/dev/null`
16976 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
16977 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
16978 if test -s conftest.err
; then
16979 printf %s
"$as_me:${as_lineno-$LINENO}: libpulse errors: " >&5
16980 cat conftest.err
>&5
16983 ac_save_CPPFLAGS
=$CPPFLAGS
16984 CPPFLAGS
="$CPPFLAGS $PULSE_CFLAGS"
16985 for ac_header
in pulse
/pulseaudio.h
16987 ac_fn_c_check_header_compile
"$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
16988 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
16990 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
16991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
16992 printf %s
"checking for pa_stream_is_corked in -lpulse... " >&6; }
16993 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
16995 printf %s
"(cached) " >&6
16997 ac_check_lib_save_LIBS
=$LIBS
16998 LIBS
="-lpulse $PULSE_LIBS $LIBS"
16999 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17000 /* end confdefs.h. */
17002 /* Override any GCC internal prototype to avoid an error.
17003 Use char because int might match the return type of a GCC
17004 builtin and then its argument prototype would still apply. */
17005 char pa_stream_is_corked ();
17009 return pa_stream_is_corked ();
17014 if ac_fn_c_try_link
"$LINENO"
17016 ac_cv_lib_pulse_pa_stream_is_corked
=yes
17018 ac_cv_lib_pulse_pa_stream_is_corked
=no
17020 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17021 conftest
$ac_exeext conftest.
$ac_ext
17022 LIBS
=$ac_check_lib_save_LIBS
17024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
17025 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
17026 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
17038 CPPFLAGS
=$ac_save_CPPFLAGS
17041 if test -z "$PULSE_LIBS"
17043 case "x$with_pulse" in
17044 x
) as_fn_append wine_notices
"|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
17046 *) as_fn_error $?
"libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
17047 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
17049 enable_winepulse_drv
=${enable_winepulse_drv:-no}
17052 if test "x$with_gstreamer" != "xno"
17055 if ${GSTREAMER_CFLAGS:+false} :
17057 if test ${PKG_CONFIG+y}
17059 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>conftest.err`
17063 if ${GSTREAMER_LIBS:+false} :
17065 if test ${PKG_CONFIG+y}
17067 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>/dev/null`
17072 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
17073 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
17074 if test -s conftest.err
; then
17075 printf %s
"$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 errors: " >&5
17076 cat conftest.err
>&5
17079 ac_save_CPPFLAGS
=$CPPFLAGS
17080 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
17081 ac_fn_c_check_header_compile
"$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
17082 if test "x$ac_cv_header_gst_gst_h" = xyes
17084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
17085 printf %s
"checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
17086 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17087 /* end confdefs.h. */
17088 #include <gst/gst.h>
17092 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17097 if ac_fn_c_try_compile
"$LINENO"
17099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17100 printf "%s\n" "yes" >&6; }
17101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17102 printf %s
"checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17103 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17105 printf %s
"(cached) " >&6
17107 ac_check_lib_save_LIBS
=$LIBS
17108 LIBS
="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17110 /* end confdefs.h. */
17112 /* Override any GCC internal prototype to avoid an error.
17113 Use char because int might match the return type of a GCC
17114 builtin and then its argument prototype would still apply. */
17115 char gst_pad_new ();
17119 return gst_pad_new ();
17124 if ac_fn_c_try_link
"$LINENO"
17126 ac_cv_lib_gstreamer_1_0_gst_pad_new
=yes
17128 ac_cv_lib_gstreamer_1_0_gst_pad_new
=no
17130 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17131 conftest
$ac_exeext conftest.
$ac_ext
17132 LIBS
=$ac_check_lib_save_LIBS
17134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17135 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17136 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17143 printf "%s\n" "no" >&6; }
17144 ac_glib2_broken
=yes
17145 as_fn_append wine_notices
"|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17147 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17150 CPPFLAGS
=$ac_save_CPPFLAGS
17153 if test "x$ac_glib2_broken" != xyes
-a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17155 case "x$with_gstreamer" in
17156 x
) as_fn_append wine_notices
"|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17158 *) as_fn_error $?
"gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17159 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17161 enable_winegstreamer
=${enable_winegstreamer:-no}
17166 if test "x$with_alsa" != "xno"
17168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17169 printf %s
"checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17170 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17172 printf %s
"(cached) " >&6
17174 ac_check_lib_save_LIBS
=$LIBS
17175 LIBS
="-lasound $LIBS"
17176 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17177 /* end confdefs.h. */
17179 /* Override any GCC internal prototype to avoid an error.
17180 Use char because int might match the return type of a GCC
17181 builtin and then its argument prototype would still apply. */
17182 char snd_pcm_hw_params_get_access_mask ();
17186 return snd_pcm_hw_params_get_access_mask ();
17191 if ac_fn_c_try_link
"$LINENO"
17193 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
17195 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
17197 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17198 conftest
$ac_exeext conftest.
$ac_ext
17199 LIBS
=$ac_check_lib_save_LIBS
17201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17202 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17203 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17205 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17206 /* end confdefs.h. */
17207 #include <alsa/asoundlib.h>
17211 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17216 if ac_fn_c_try_compile
"$LINENO"
17218 ALSA_LIBS
="-lasound"
17220 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17224 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
17226 if test "x$with_oss" != xno
17228 ac_save_CPPFLAGS
="$CPPFLAGS"
17229 if test -f /etc
/oss.conf
17233 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17234 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
17235 ac_fn_c_check_header_compile
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17236 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17238 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17240 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17243 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17245 OSS4_CFLAGS
="$ac_oss_incl"
17247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17248 printf %s
"checking for _oss_ioctl in -lossaudio... " >&6; }
17249 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17251 printf %s
"(cached) " >&6
17253 ac_check_lib_save_LIBS
=$LIBS
17254 LIBS
="-lossaudio $LIBS"
17255 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17256 /* end confdefs.h. */
17258 /* Override any GCC internal prototype to avoid an error.
17259 Use char because int might match the return type of a GCC
17260 builtin and then its argument prototype would still apply. */
17261 char _oss_ioctl ();
17265 return _oss_ioctl ();
17270 if ac_fn_c_try_link
"$LINENO"
17272 ac_cv_lib_ossaudio__oss_ioctl
=yes
17274 ac_cv_lib_ossaudio__oss_ioctl
=no
17276 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17277 conftest
$ac_exeext conftest.
$ac_ext
17278 LIBS
=$ac_check_lib_save_LIBS
17280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17281 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17282 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17284 OSS4_LIBS
="-lossaudio"
17292 CPPFLAGS
="$ac_save_CPPFLAGS"
17294 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17296 case "x$with_oss" in
17297 x
) as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17299 *) as_fn_error $?
"OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17300 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17302 enable_wineoss_drv
=${enable_wineoss_drv:-no}
17305 if test "x$with_udev" != "xno"
17308 if ${UDEV_CFLAGS:+false} :
17310 if test ${PKG_CONFIG+y}
17312 UDEV_CFLAGS
=`$PKG_CONFIG --cflags libudev 2>conftest.err`
17316 if ${UDEV_LIBS:+false} :
17318 if test ${PKG_CONFIG+y}
17320 UDEV_LIBS
=`$PKG_CONFIG --libs libudev 2>/dev/null`
17324 UDEV_LIBS
=${UDEV_LIBS:-"-ludev"}
17325 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17326 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17327 if test -s conftest.err
; then
17328 printf %s
"$as_me:${as_lineno-$LINENO}: libudev errors: " >&5
17329 cat conftest.err
>&5
17332 ac_save_CPPFLAGS
=$CPPFLAGS
17333 CPPFLAGS
="$CPPFLAGS $UDEV_CFLAGS"
17334 for ac_header
in libudev.h
17336 ac_fn_c_check_header_compile
"$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17337 if test "x$ac_cv_header_libudev_h" = xyes
17339 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17341 printf %s
"checking for udev_new in -ludev... " >&6; }
17342 if test ${ac_cv_lib_udev_udev_new+y}
17344 printf %s
"(cached) " >&6
17346 ac_check_lib_save_LIBS
=$LIBS
17347 LIBS
="-ludev $UDEV_LIBS $LIBS"
17348 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17349 /* end confdefs.h. */
17351 /* Override any GCC internal prototype to avoid an error.
17352 Use char because int might match the return type of a GCC
17353 builtin and then its argument prototype would still apply. */
17358 return udev_new ();
17363 if ac_fn_c_try_link
"$LINENO"
17365 ac_cv_lib_udev_udev_new
=yes
17367 ac_cv_lib_udev_udev_new
=no
17369 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17370 conftest
$ac_exeext conftest.
$ac_ext
17371 LIBS
=$ac_check_lib_save_LIBS
17373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17374 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17375 if test "x$ac_cv_lib_udev_udev_new" = xyes
17378 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17389 CPPFLAGS
=$ac_save_CPPFLAGS
17392 if test "x$UDEV_LIBS" = "x"
17394 case "x$with_udev" in
17395 x
) as_fn_append wine_notices
"|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17397 *) as_fn_error $?
"libudev ${notice_platform}development files not found, plug and play won't be supported.
17398 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17403 if test "x$with_unwind" != xno
17406 if ${UNWIND_CFLAGS:+false} :
17408 if test ${PKG_CONFIG+y}
17410 UNWIND_CFLAGS
=`$PKG_CONFIG --cflags libunwind 2>conftest.err`
17414 if ${UNWIND_LIBS:+false} :
17416 if test ${PKG_CONFIG+y}
17418 UNWIND_LIBS
=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17422 UNWIND_LIBS
=${UNWIND_LIBS:-"-lunwind"}
17423 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17424 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17425 if test -s conftest.err
; then
17426 printf %s
"$as_me:${as_lineno-$LINENO}: libunwind errors: " >&5
17427 cat conftest.err
>&5
17430 ac_save_CPPFLAGS
=$CPPFLAGS
17431 CPPFLAGS
="$CPPFLAGS $UNWIND_CFLAGS"
17432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17433 printf %s
"checking for unw_step... " >&6; }
17434 if test ${wine_cv_have_unw_step+y}
17436 printf %s
"(cached) " >&6
17438 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17439 /* end confdefs.h. */
17440 #define UNW_LOCAL_ONLY
17441 #include <libunwind.h>
17445 unw_cursor_t cursor; unw_step( &cursor );
17450 if ac_fn_c_try_link
"$LINENO"
17452 wine_cv_have_unw_step
="yes"
17454 wine_cv_have_unw_step
="no"
17456 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17457 conftest
$ac_exeext conftest.
$ac_ext
17459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17460 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17461 if test "$wine_cv_have_unw_step" = no
-a -n "$UNWIND_LIBS"
17464 UNWIND_LIBS
="-static-libgcc $UNWIND_LIBS"
17465 LIBS
="$UNWIND_LIBS $LIBS"
17466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17467 printf %s
"checking for unw_step in libunwind... " >&6; }
17468 if test ${wine_cv_have_libunwind_unw_step+y}
17470 printf %s
"(cached) " >&6
17472 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17473 /* end confdefs.h. */
17474 #define UNW_LOCAL_ONLY
17475 #include <libunwind.h>
17479 unw_cursor_t cursor; unw_step( &cursor );
17484 if ac_fn_c_try_link
"$LINENO"
17486 wine_cv_have_libunwind_unw_step
="yes"
17488 wine_cv_have_libunwind_unw_step
="no"
17490 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17491 conftest
$ac_exeext conftest.
$ac_ext
17493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17494 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17497 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS
=""
17498 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17501 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17504 CPPFLAGS
=$ac_save_CPPFLAGS
17508 aarch64
*|
*-darwin*)
17509 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17511 case "x$with_unwind" in
17512 x
) as_fn_append wine_notices
"|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17514 *) as_fn_error $?
"libunwind ${notice_platform}development files not found, stack unwinding won't work.
17515 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17521 if test "x$with_sdl" != "xno"
17524 if ${SDL2_CFLAGS:+false} :
17526 if test ${PKG_CONFIG+y}
17528 SDL2_CFLAGS
=`$PKG_CONFIG --cflags sdl2 2>conftest.err`
17532 if ${SDL2_LIBS:+false} :
17534 if test ${PKG_CONFIG+y}
17536 SDL2_LIBS
=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17540 SDL2_LIBS
=${SDL2_LIBS:-"-lSDL2"}
17541 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17542 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17543 if test -s conftest.err
; then
17544 printf %s
"$as_me:${as_lineno-$LINENO}: sdl2 errors: " >&5
17545 cat conftest.err
>&5
17548 ac_save_CPPFLAGS
=$CPPFLAGS
17549 CPPFLAGS
="$CPPFLAGS $SDL2_CFLAGS"
17550 for ac_header
in SDL.h
17552 ac_fn_c_check_header_compile
"$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17553 if test "x$ac_cv_header_SDL_h" = xyes
17555 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17557 printf %s
"checking for -lSDL2... " >&6; }
17558 if test ${ac_cv_lib_soname_SDL2+y}
17560 printf %s
"(cached) " >&6
17562 ac_check_soname_save_LIBS
=$LIBS
17563 LIBS
="-lSDL2 $SDL2_LIBS $LIBS"
17564 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17565 /* end confdefs.h. */
17567 /* Override any GCC internal prototype to avoid an error.
17568 Use char because int might match the return type of a GCC
17569 builtin and then its argument prototype would still apply. */
17574 return SDL_Init ();
17579 if ac_fn_c_try_link
"$LINENO"
17582 dll
) ac_cv_lib_soname_SDL2
=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17583 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'` ;;
17584 *) 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'`
17585 if ${ac_cv_lib_soname_SDL2:+false} :
17587 ac_cv_lib_soname_SDL2
=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17591 ac_cv_lib_soname_SDL2
=
17593 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17594 conftest
$ac_exeext conftest.
$ac_ext
17595 LIBS
=$ac_check_soname_save_LIBS
17597 if ${ac_cv_lib_soname_SDL2:+false} :
17599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17600 printf "%s\n" "not found" >&6; }
17603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17604 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17606 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17613 CPPFLAGS
=$ac_save_CPPFLAGS
17616 if test "x$ac_cv_lib_soname_SDL2" = "x"
17618 case "x$with_sdl" in
17619 x
) as_fn_append wine_notices
"|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17621 *) as_fn_error $?
"libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17622 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17627 if test "x$with_capi" != "xno"
17630 if ${CAPI20_CFLAGS:+false} :
17632 if test ${PKG_CONFIG+y}
17634 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>conftest.err`
17638 if ${CAPI20_LIBS:+false} :
17640 if test ${PKG_CONFIG+y}
17642 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
17647 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17648 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17649 if test -s conftest.err
; then
17650 printf %s
"$as_me:${as_lineno-$LINENO}: capi20 errors: " >&5
17651 cat conftest.err
>&5
17654 ac_save_CPPFLAGS
=$CPPFLAGS
17655 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
17656 ac_fn_c_check_header_compile
"$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17658 if test "x$ac_cv_header_capi20_h" = xyes
17660 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17663 ac_fn_c_check_header_compile
"$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17665 if test "x$ac_cv_header_linux_capi_h" = xyes
17667 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17671 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17674 printf %s
"checking for capi20_register in -lcapi20... " >&6; }
17675 if test ${ac_cv_lib_capi20_capi20_register+y}
17677 printf %s
"(cached) " >&6
17679 ac_check_lib_save_LIBS
=$LIBS
17680 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
17681 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17682 /* end confdefs.h. */
17684 /* Override any GCC internal prototype to avoid an error.
17685 Use char because int might match the return type of a GCC
17686 builtin and then its argument prototype would still apply. */
17687 char capi20_register ();
17691 return capi20_register ();
17696 if ac_fn_c_try_link
"$LINENO"
17698 ac_cv_lib_capi20_capi20_register
=yes
17700 ac_cv_lib_capi20_capi20_register
=no
17702 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17703 conftest
$ac_exeext conftest.
$ac_ext
17704 LIBS
=$ac_check_lib_save_LIBS
17706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17707 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17708 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17716 CPPFLAGS
=$ac_save_CPPFLAGS
17719 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17721 case "x$with_capi" in
17722 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17724 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17725 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17727 enable_capi2032
=${enable_capi2032:-no}
17730 if test "x$with_cups" != "xno"
17733 if ${CUPS_CFLAGS:+false} :
17735 if test ${PKG_CONFIG+y}
17737 CUPS_CFLAGS
=`$PKG_CONFIG --cflags cups 2>conftest.err`
17740 test "$cross_compiling" = yes || CUPS_CFLAGS
=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17741 if ${CUPS_LIBS:+false} :
17743 if test ${PKG_CONFIG+y}
17745 CUPS_LIBS
=`$PKG_CONFIG --libs cups 2>/dev/null`
17748 test "$cross_compiling" = yes || CUPS_LIBS
=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17749 CUPS_LIBS
=${CUPS_LIBS:-"-lcups"}
17750 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17751 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17752 if test -s conftest.err
; then
17753 printf %s
"$as_me:${as_lineno-$LINENO}: cups errors: " >&5
17754 cat conftest.err
>&5
17757 ac_save_CPPFLAGS
=$CPPFLAGS
17758 CPPFLAGS
="$CPPFLAGS $CUPS_CFLAGS"
17759 ac_fn_c_check_header_compile
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17760 if test "x$ac_cv_header_cups_cups_h" = xyes
17762 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17765 ac_fn_c_check_header_compile
"$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17766 if test "x$ac_cv_header_cups_ppd_h" = xyes
17768 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17772 if test "$ac_cv_header_cups_cups_h" = "yes"
17774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17775 printf %s
"checking for -lcups... " >&6; }
17776 if test ${ac_cv_lib_soname_cups+y}
17778 printf %s
"(cached) " >&6
17780 ac_check_soname_save_LIBS
=$LIBS
17781 LIBS
="-lcups $CUPS_LIBS $LIBS"
17782 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17783 /* end confdefs.h. */
17785 /* Override any GCC internal prototype to avoid an error.
17786 Use char because int might match the return type of a GCC
17787 builtin and then its argument prototype would still apply. */
17788 char cupsGetDefault ();
17792 return cupsGetDefault ();
17797 if ac_fn_c_try_link
"$LINENO"
17800 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17801 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'` ;;
17802 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17803 if ${ac_cv_lib_soname_cups:+false} :
17805 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17809 ac_cv_lib_soname_cups
=
17811 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17812 conftest
$ac_exeext conftest.
$ac_ext
17813 LIBS
=$ac_check_soname_save_LIBS
17815 if ${ac_cv_lib_soname_cups:+false} :
17817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17818 printf "%s\n" "not found" >&6; }
17821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17822 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17824 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17832 CPPFLAGS
=$ac_save_CPPFLAGS
17835 if test "x$ac_cv_lib_soname_cups" = "x"
17837 case "x$with_cups" in
17838 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17840 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
17841 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17846 if test "x$with_fontconfig" != "xno"
17849 if ${FONTCONFIG_CFLAGS:+false} :
17851 if test ${PKG_CONFIG+y}
17853 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>conftest.err`
17856 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17857 if ${FONTCONFIG_LIBS:+false} :
17859 if test ${PKG_CONFIG+y}
17861 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17864 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
17866 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17867 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17868 if test -s conftest.err
; then
17869 printf %s
"$as_me:${as_lineno-$LINENO}: fontconfig errors: " >&5
17870 cat conftest.err
>&5
17873 ac_save_CPPFLAGS
=$CPPFLAGS
17874 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
17875 ac_fn_c_check_header_compile
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17876 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17878 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17882 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17885 printf %s
"checking for -lfontconfig... " >&6; }
17886 if test ${ac_cv_lib_soname_fontconfig+y}
17888 printf %s
"(cached) " >&6
17890 ac_check_soname_save_LIBS
=$LIBS
17891 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17892 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17893 /* end confdefs.h. */
17895 /* Override any GCC internal prototype to avoid an error.
17896 Use char because int might match the return type of a GCC
17897 builtin and then its argument prototype would still apply. */
17907 if ac_fn_c_try_link
"$LINENO"
17910 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17911 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'` ;;
17912 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17913 if ${ac_cv_lib_soname_fontconfig:+false} :
17915 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17919 ac_cv_lib_soname_fontconfig
=
17921 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17922 conftest
$ac_exeext conftest.
$ac_ext
17923 LIBS
=$ac_check_soname_save_LIBS
17925 if ${ac_cv_lib_soname_fontconfig:+false} :
17927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17928 printf "%s\n" "not found" >&6; }
17929 FONTCONFIG_CFLAGS
=""
17931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17932 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17934 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17939 FONTCONFIG_CFLAGS
=""
17941 CPPFLAGS
=$ac_save_CPPFLAGS
17944 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17946 case "x$with_fontconfig" in
17947 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17949 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17950 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17955 if test "x$with_krb5" != "xno"
17958 if ${KRB5_CFLAGS:+false} :
17960 if test ${PKG_CONFIG+y}
17962 KRB5_CFLAGS
=`$PKG_CONFIG --cflags krb5 2>conftest.err`
17965 test "$cross_compiling" = yes || KRB5_CFLAGS
=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17966 if ${KRB5_LIBS:+false} :
17968 if test ${PKG_CONFIG+y}
17970 KRB5_LIBS
=`$PKG_CONFIG --libs krb5 2>/dev/null`
17973 test "$cross_compiling" = yes || KRB5_LIBS
=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17975 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17976 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17977 if test -s conftest.err
; then
17978 printf %s
"$as_me:${as_lineno-$LINENO}: krb5 errors: " >&5
17979 cat conftest.err
>&5
17982 ac_save_CPPFLAGS
=$CPPFLAGS
17983 CPPFLAGS
="$CPPFLAGS $KRB5_CFLAGS"
17984 ac_fn_c_check_header_compile
"$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17985 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17987 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17991 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17994 printf %s
"checking for -lkrb5... " >&6; }
17995 if test ${ac_cv_lib_soname_krb5+y}
17997 printf %s
"(cached) " >&6
17999 ac_check_soname_save_LIBS
=$LIBS
18000 LIBS
="-lkrb5 $KRB5_LIBS $LIBS"
18001 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18002 /* end confdefs.h. */
18004 /* Override any GCC internal prototype to avoid an error.
18005 Use char because int might match the return type of a GCC
18006 builtin and then its argument prototype would still apply. */
18007 char krb5_is_config_principal ();
18011 return krb5_is_config_principal ();
18016 if ac_fn_c_try_link
"$LINENO"
18019 dll
) ac_cv_lib_soname_krb5
=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18020 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'` ;;
18021 *) ac_cv_lib_soname_krb5
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18022 if ${ac_cv_lib_soname_krb5:+false} :
18024 ac_cv_lib_soname_krb5
=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18028 ac_cv_lib_soname_krb5
=
18030 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18031 conftest
$ac_exeext conftest.
$ac_ext
18032 LIBS
=$ac_check_soname_save_LIBS
18034 if ${ac_cv_lib_soname_krb5:+false} :
18036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18037 printf "%s\n" "not found" >&6; }
18040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
18041 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
18043 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
18050 CPPFLAGS
=$ac_save_CPPFLAGS
18053 if test "x$ac_cv_lib_soname_krb5" = "x"
18055 case "x$with_krb5" in
18056 x
) as_fn_append wine_notices
"|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
18058 *) as_fn_error $?
"libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
18059 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
18063 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi
=${with_gssapi:-no}
18065 if test "x$with_gssapi" != "xno"
18068 if ${GSSAPI_CFLAGS:+false} :
18070 if test ${PKG_CONFIG+y}
18072 GSSAPI_CFLAGS
=`$PKG_CONFIG --cflags krb5-gssapi 2>conftest.err`
18075 test "$cross_compiling" = yes || GSSAPI_CFLAGS
=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
18076 if ${GSSAPI_LIBS:+false} :
18078 if test ${PKG_CONFIG+y}
18080 GSSAPI_LIBS
=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
18083 test "$cross_compiling" = yes || GSSAPI_LIBS
=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
18085 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
18086 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
18087 if test -s conftest.err
; then
18088 printf %s
"$as_me:${as_lineno-$LINENO}: krb5-gssapi errors: " >&5
18089 cat conftest.err
>&5
18092 ac_save_CPPFLAGS
=$CPPFLAGS
18093 CPPFLAGS
="$CPPFLAGS $GSSAPI_CFLAGS"
18094 ac_fn_c_check_header_compile
"$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
18095 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
18097 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
18100 ac_fn_c_check_header_compile
"$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
18101 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
18103 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
18107 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
18109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
18110 printf %s
"checking for -lgssapi_krb5... " >&6; }
18111 if test ${ac_cv_lib_soname_gssapi_krb5+y}
18113 printf %s
"(cached) " >&6
18115 ac_check_soname_save_LIBS
=$LIBS
18116 LIBS
="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
18117 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18118 /* end confdefs.h. */
18120 /* Override any GCC internal prototype to avoid an error.
18121 Use char because int might match the return type of a GCC
18122 builtin and then its argument prototype would still apply. */
18123 char gss_init_sec_context ();
18127 return gss_init_sec_context ();
18132 if ac_fn_c_try_link
"$LINENO"
18135 dll
) ac_cv_lib_soname_gssapi_krb5
=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18136 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'` ;;
18137 *) 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'`
18138 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18140 ac_cv_lib_soname_gssapi_krb5
=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18144 ac_cv_lib_soname_gssapi_krb5
=
18146 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18147 conftest
$ac_exeext conftest.
$ac_ext
18148 LIBS
=$ac_check_soname_save_LIBS
18150 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18153 printf "%s\n" "not found" >&6; }
18156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18157 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18159 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18166 CPPFLAGS
=$ac_save_CPPFLAGS
18169 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18171 case "x$with_gssapi" in
18172 x
) as_fn_append wine_notices
"|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18174 *) as_fn_error $?
"libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18175 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18180 if test "$ac_cv_header_libprocstat_h" = "yes"
18182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18183 printf %s
"checking for procstat_open_sysctl in -lprocstat... " >&6; }
18184 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18186 printf %s
"(cached) " >&6
18188 ac_check_lib_save_LIBS
=$LIBS
18189 LIBS
="-lprocstat $LIBS"
18190 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18191 /* end confdefs.h. */
18193 /* Override any GCC internal prototype to avoid an error.
18194 Use char because int might match the return type of a GCC
18195 builtin and then its argument prototype would still apply. */
18196 char procstat_open_sysctl ();
18200 return procstat_open_sysctl ();
18205 if ac_fn_c_try_link
"$LINENO"
18207 ac_cv_lib_procstat_procstat_open_sysctl
=yes
18209 ac_cv_lib_procstat_procstat_open_sysctl
=no
18211 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18212 conftest
$ac_exeext conftest.
$ac_ext
18213 LIBS
=$ac_check_lib_save_LIBS
18215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18216 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18217 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18220 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18222 PROCSTAT_LIBS
="-lprocstat"
18228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18229 printf %s
"checking for -lodbc... " >&6; }
18230 if test ${ac_cv_lib_soname_odbc+y}
18232 printf %s
"(cached) " >&6
18234 ac_check_soname_save_LIBS
=$LIBS
18235 LIBS
="-lodbc $LIBS"
18236 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18237 /* end confdefs.h. */
18239 /* Override any GCC internal prototype to avoid an error.
18240 Use char because int might match the return type of a GCC
18241 builtin and then its argument prototype would still apply. */
18242 char SQLConnect ();
18246 return SQLConnect ();
18251 if ac_fn_c_try_link
"$LINENO"
18254 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18255 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'` ;;
18256 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18257 if ${ac_cv_lib_soname_odbc:+false} :
18259 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18263 ac_cv_lib_soname_odbc
=
18265 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18266 conftest
$ac_exeext conftest.
$ac_ext
18267 LIBS
=$ac_check_soname_save_LIBS
18269 if ${ac_cv_lib_soname_odbc:+false} :
18271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18272 printf "%s\n" "not found" >&6; }
18273 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18277 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18279 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18284 if test "x$with_netapi" != "xno"
18287 if ${NETAPI_CFLAGS:+false} :
18289 if test ${PKG_CONFIG+y}
18291 NETAPI_CFLAGS
=`$PKG_CONFIG --cflags netapi 2>conftest.err`
18295 if ${NETAPI_LIBS:+false} :
18297 if test ${PKG_CONFIG+y}
18299 NETAPI_LIBS
=`$PKG_CONFIG --libs netapi 2>/dev/null`
18304 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18305 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18306 if test -s conftest.err
; then
18307 printf %s
"$as_me:${as_lineno-$LINENO}: netapi errors: " >&5
18308 cat conftest.err
>&5
18311 ac_save_CPPFLAGS
=$CPPFLAGS
18312 CPPFLAGS
="$CPPFLAGS $NETAPI_CFLAGS"
18313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18314 printf %s
"checking for -lnetapi... " >&6; }
18315 if test ${ac_cv_lib_soname_netapi+y}
18317 printf %s
"(cached) " >&6
18319 ac_check_soname_save_LIBS
=$LIBS
18320 LIBS
="-lnetapi $NETAPI_LIBS $LIBS"
18321 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18322 /* end confdefs.h. */
18324 /* Override any GCC internal prototype to avoid an error.
18325 Use char because int might match the return type of a GCC
18326 builtin and then its argument prototype would still apply. */
18327 char libnetapi_init ();
18331 return libnetapi_init ();
18336 if ac_fn_c_try_link
"$LINENO"
18339 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18340 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'` ;;
18341 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18342 if ${ac_cv_lib_soname_netapi:+false} :
18344 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18348 ac_cv_lib_soname_netapi
=
18350 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18351 conftest
$ac_exeext conftest.
$ac_ext
18352 LIBS
=$ac_check_soname_save_LIBS
18354 if ${ac_cv_lib_soname_netapi:+false} :
18356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18357 printf "%s\n" "not found" >&6; }
18358 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18362 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18364 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18368 CPPFLAGS
=$ac_save_CPPFLAGS
18371 if test "x$ac_cv_lib_soname_netapi" = "x"
18373 case "x$with_netapi" in
18374 x
) as_fn_append wine_notices
"|libnetapi not found, Samba NetAPI won't be supported." ;;
18376 *) as_fn_error $?
"libnetapi not found, Samba NetAPI won't be supported.
18377 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18379 enable_netapi
=${enable_netapi:-no}
18383 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono
-a \
18384 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18386 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
18389 if test "x$with_vulkan" != "xno"
18391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18392 printf %s
"checking for -lvulkan... " >&6; }
18393 if test ${ac_cv_lib_soname_vulkan+y}
18395 printf %s
"(cached) " >&6
18397 ac_check_soname_save_LIBS
=$LIBS
18398 LIBS
="-lvulkan $LIBS"
18399 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18400 /* end confdefs.h. */
18402 /* Override any GCC internal prototype to avoid an error.
18403 Use char because int might match the return type of a GCC
18404 builtin and then its argument prototype would still apply. */
18405 char vkGetInstanceProcAddr ();
18409 return vkGetInstanceProcAddr ();
18414 if ac_fn_c_try_link
"$LINENO"
18417 dll
) ac_cv_lib_soname_vulkan
=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18418 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'` ;;
18419 *) ac_cv_lib_soname_vulkan
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18420 if ${ac_cv_lib_soname_vulkan:+false} :
18422 ac_cv_lib_soname_vulkan
=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18426 ac_cv_lib_soname_vulkan
=
18428 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18429 conftest
$ac_exeext conftest.
$ac_ext
18430 LIBS
=$ac_check_soname_save_LIBS
18432 if ${ac_cv_lib_soname_vulkan:+false} :
18434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18435 printf "%s\n" "not found" >&6; }
18438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18439 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18441 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18445 if test "x$ac_cv_lib_soname_vulkan" = "x"
18447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18448 printf %s
"checking for -lMoltenVK... " >&6; }
18449 if test ${ac_cv_lib_soname_MoltenVK+y}
18451 printf %s
"(cached) " >&6
18453 ac_check_soname_save_LIBS
=$LIBS
18454 LIBS
="-lMoltenVK $LIBS"
18455 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18456 /* end confdefs.h. */
18458 /* Override any GCC internal prototype to avoid an error.
18459 Use char because int might match the return type of a GCC
18460 builtin and then its argument prototype would still apply. */
18461 char vkGetInstanceProcAddr ();
18465 return vkGetInstanceProcAddr ();
18470 if ac_fn_c_try_link
"$LINENO"
18473 dll
) ac_cv_lib_soname_MoltenVK
=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18474 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'` ;;
18475 *) ac_cv_lib_soname_MoltenVK
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18476 if ${ac_cv_lib_soname_MoltenVK:+false} :
18478 ac_cv_lib_soname_MoltenVK
=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18482 ac_cv_lib_soname_MoltenVK
=
18484 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18485 conftest
$ac_exeext conftest.
$ac_ext
18486 LIBS
=$ac_check_soname_save_LIBS
18488 if ${ac_cv_lib_soname_MoltenVK:+false} :
18490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18491 printf "%s\n" "not found" >&6; }
18494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18495 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18497 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18503 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18505 case "x$with_vulkan" in
18506 x
) as_fn_append wine_notices
"|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18508 *) as_fn_error $?
"libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18509 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18515 if test "x${GCC}" = "xyes"
18517 EXTRACFLAGS
="$EXTRACFLAGS -Wall -pipe"
18519 saved_CFLAGS
=$CFLAGS
18520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18521 printf %s
"checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18522 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18524 printf %s
"(cached) " >&6
18526 ac_wine_try_cflags_saved
=$CFLAGS
18527 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
18528 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18529 /* end confdefs.h. */
18530 int main(int argc, char **argv) { return 0; }
18532 if ac_fn_c_try_link
"$LINENO"
18534 ac_cv_cflags__Werror_unknown_warning_option
=yes
18536 ac_cv_cflags__Werror_unknown_warning_option
=no
18538 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18539 conftest
$ac_exeext conftest.
$ac_ext
18540 CFLAGS
=$ac_wine_try_cflags_saved
18542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18543 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18544 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18546 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
18548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18549 printf %s
"checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18550 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18552 printf %s
"(cached) " >&6
18554 ac_wine_try_cflags_saved
=$CFLAGS
18555 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
18556 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18557 /* end confdefs.h. */
18558 int main(int argc, char **argv) { return 0; }
18560 if ac_fn_c_try_link
"$LINENO"
18562 ac_cv_cflags__Werror_unused_command_line_argument
=yes
18564 ac_cv_cflags__Werror_unused_command_line_argument
=no
18566 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18567 conftest
$ac_exeext conftest.
$ac_ext
18568 CFLAGS
=$ac_wine_try_cflags_saved
18570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18571 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18572 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18574 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
18576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18577 printf %s
"checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18578 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18580 printf %s
"(cached) " >&6
18582 ac_wine_try_cflags_saved
=$CFLAGS
18583 CFLAGS
="$CFLAGS -Werror=ignored-optimization-argument"
18584 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18585 /* end confdefs.h. */
18586 int main(int argc, char **argv) { return 0; }
18588 if ac_fn_c_try_link
"$LINENO"
18590 ac_cv_cflags__Werror_ignored_optimization_argument
=yes
18592 ac_cv_cflags__Werror_ignored_optimization_argument
=no
18594 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18595 conftest
$ac_exeext conftest.
$ac_ext
18596 CFLAGS
=$ac_wine_try_cflags_saved
18598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18599 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18600 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18602 CFLAGS
="$CFLAGS -Werror=ignored-optimization-argument"
18604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18605 printf %s
"checking whether the compiler supports -fcf-protection=none... " >&6; }
18606 if test ${ac_cv_cflags__fcf_protection_none+y}
18608 printf %s
"(cached) " >&6
18610 ac_wine_try_cflags_saved
=$CFLAGS
18611 CFLAGS
="$CFLAGS -fcf-protection=none"
18612 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18613 /* end confdefs.h. */
18614 int main(int argc, char **argv) { return 0; }
18616 if ac_fn_c_try_link
"$LINENO"
18618 ac_cv_cflags__fcf_protection_none
=yes
18620 ac_cv_cflags__fcf_protection_none
=no
18622 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18623 conftest
$ac_exeext conftest.
$ac_ext
18624 CFLAGS
=$ac_wine_try_cflags_saved
18626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18627 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18628 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18630 EXTRACFLAGS
="$EXTRACFLAGS -fcf-protection=none"
18632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18633 printf %s
"checking whether the compiler supports -fno-stack-protector... " >&6; }
18634 if test ${ac_cv_cflags__fno_stack_protector+y}
18636 printf %s
"(cached) " >&6
18638 ac_wine_try_cflags_saved
=$CFLAGS
18639 CFLAGS
="$CFLAGS -fno-stack-protector"
18640 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18641 /* end confdefs.h. */
18642 int main(int argc, char **argv) { return 0; }
18644 if ac_fn_c_try_link
"$LINENO"
18646 ac_cv_cflags__fno_stack_protector
=yes
18648 ac_cv_cflags__fno_stack_protector
=no
18650 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18651 conftest
$ac_exeext conftest.
$ac_ext
18652 CFLAGS
=$ac_wine_try_cflags_saved
18654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18655 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18656 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18658 EXTRACFLAGS
="$EXTRACFLAGS -fno-stack-protector"
18660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18661 printf %s
"checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18662 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18664 printf %s
"(cached) " >&6
18666 ac_wine_try_cflags_saved
=$CFLAGS
18667 CFLAGS
="$CFLAGS -fno-strict-aliasing"
18668 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18669 /* end confdefs.h. */
18670 int main(int argc, char **argv) { return 0; }
18672 if ac_fn_c_try_link
"$LINENO"
18674 ac_cv_cflags__fno_strict_aliasing
=yes
18676 ac_cv_cflags__fno_strict_aliasing
=no
18678 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18679 conftest
$ac_exeext conftest.
$ac_ext
18680 CFLAGS
=$ac_wine_try_cflags_saved
18682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18683 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18684 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18686 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
18688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18689 printf %s
"checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18690 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18692 printf %s
"(cached) " >&6
18694 ac_wine_try_cflags_saved
=$CFLAGS
18695 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
18696 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18697 /* end confdefs.h. */
18698 int main(int argc, char **argv) { return 0; }
18700 if ac_fn_c_try_link
"$LINENO"
18702 ac_cv_cflags__Wdeclaration_after_statement
=yes
18704 ac_cv_cflags__Wdeclaration_after_statement
=no
18706 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18707 conftest
$ac_exeext conftest.
$ac_ext
18708 CFLAGS
=$ac_wine_try_cflags_saved
18710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18711 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18712 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18714 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
18716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18717 printf %s
"checking whether the compiler supports -Wempty-body... " >&6; }
18718 if test ${ac_cv_cflags__Wempty_body+y}
18720 printf %s
"(cached) " >&6
18722 ac_wine_try_cflags_saved
=$CFLAGS
18723 CFLAGS
="$CFLAGS -Wempty-body"
18724 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18725 /* end confdefs.h. */
18726 int main(int argc, char **argv) { return 0; }
18728 if ac_fn_c_try_link
"$LINENO"
18730 ac_cv_cflags__Wempty_body
=yes
18732 ac_cv_cflags__Wempty_body
=no
18734 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18735 conftest
$ac_exeext conftest.
$ac_ext
18736 CFLAGS
=$ac_wine_try_cflags_saved
18738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18739 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18740 if test "x$ac_cv_cflags__Wempty_body" = xyes
18742 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
18744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18745 printf %s
"checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18746 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18748 printf %s
"(cached) " >&6
18750 ac_wine_try_cflags_saved
=$CFLAGS
18751 CFLAGS
="$CFLAGS -Wignored-qualifiers"
18752 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18753 /* end confdefs.h. */
18754 int main(int argc, char **argv) { return 0; }
18756 if ac_fn_c_try_link
"$LINENO"
18758 ac_cv_cflags__Wignored_qualifiers
=yes
18760 ac_cv_cflags__Wignored_qualifiers
=no
18762 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18763 conftest
$ac_exeext conftest.
$ac_ext
18764 CFLAGS
=$ac_wine_try_cflags_saved
18766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18767 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18768 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18770 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
18772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18773 printf %s
"checking whether the compiler supports -Winit-self... " >&6; }
18774 if test ${ac_cv_cflags__Winit_self+y}
18776 printf %s
"(cached) " >&6
18778 ac_wine_try_cflags_saved
=$CFLAGS
18779 CFLAGS
="$CFLAGS -Winit-self"
18780 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18781 /* end confdefs.h. */
18782 int main(int argc, char **argv) { return 0; }
18784 if ac_fn_c_try_link
"$LINENO"
18786 ac_cv_cflags__Winit_self
=yes
18788 ac_cv_cflags__Winit_self
=no
18790 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18791 conftest
$ac_exeext conftest.
$ac_ext
18792 CFLAGS
=$ac_wine_try_cflags_saved
18794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18795 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18796 if test "x$ac_cv_cflags__Winit_self" = xyes
18798 EXTRACFLAGS
="$EXTRACFLAGS -Winit-self"
18800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18801 printf %s
"checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18802 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18804 printf %s
"(cached) " >&6
18806 ac_wine_try_cflags_saved
=$CFLAGS
18807 CFLAGS
="$CFLAGS -Wpacked-not-aligned"
18808 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18809 /* end confdefs.h. */
18810 int main(int argc, char **argv) { return 0; }
18812 if ac_fn_c_try_link
"$LINENO"
18814 ac_cv_cflags__Wpacked_not_aligned
=yes
18816 ac_cv_cflags__Wpacked_not_aligned
=no
18818 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18819 conftest
$ac_exeext conftest.
$ac_ext
18820 CFLAGS
=$ac_wine_try_cflags_saved
18822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18823 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18824 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18826 EXTRACFLAGS
="$EXTRACFLAGS -Wno-packed-not-aligned"
18828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18829 printf %s
"checking whether the compiler supports -Wpragma-pack... " >&6; }
18830 if test ${ac_cv_cflags__Wpragma_pack+y}
18832 printf %s
"(cached) " >&6
18834 ac_wine_try_cflags_saved
=$CFLAGS
18835 CFLAGS
="$CFLAGS -Wpragma-pack"
18836 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18837 /* end confdefs.h. */
18838 int main(int argc, char **argv) { return 0; }
18840 if ac_fn_c_try_link
"$LINENO"
18842 ac_cv_cflags__Wpragma_pack
=yes
18844 ac_cv_cflags__Wpragma_pack
=no
18846 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18847 conftest
$ac_exeext conftest.
$ac_ext
18848 CFLAGS
=$ac_wine_try_cflags_saved
18850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18851 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18852 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18854 EXTRACFLAGS
="$EXTRACFLAGS -Wno-pragma-pack"
18856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18857 printf %s
"checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18858 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18860 printf %s
"(cached) " >&6
18862 ac_wine_try_cflags_saved
=$CFLAGS
18863 CFLAGS
="$CFLAGS -Wshift-overflow=2"
18864 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18865 /* end confdefs.h. */
18866 int main(int argc, char **argv) { return 0; }
18868 if ac_fn_c_try_link
"$LINENO"
18870 ac_cv_cflags__Wshift_overflow_2
=yes
18872 ac_cv_cflags__Wshift_overflow_2
=no
18874 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18875 conftest
$ac_exeext conftest.
$ac_ext
18876 CFLAGS
=$ac_wine_try_cflags_saved
18878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18879 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18880 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18882 EXTRACFLAGS
="$EXTRACFLAGS -Wshift-overflow=2"
18884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18885 printf %s
"checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18886 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18888 printf %s
"(cached) " >&6
18890 ac_wine_try_cflags_saved
=$CFLAGS
18891 CFLAGS
="$CFLAGS -Wstrict-prototypes"
18892 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18893 /* end confdefs.h. */
18894 int main(int argc, char **argv) { return 0; }
18896 if ac_fn_c_try_link
"$LINENO"
18898 ac_cv_cflags__Wstrict_prototypes
=yes
18900 ac_cv_cflags__Wstrict_prototypes
=no
18902 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18903 conftest
$ac_exeext conftest.
$ac_ext
18904 CFLAGS
=$ac_wine_try_cflags_saved
18906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18907 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18908 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18910 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
18912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18913 printf %s
"checking whether the compiler supports -Wtype-limits... " >&6; }
18914 if test ${ac_cv_cflags__Wtype_limits+y}
18916 printf %s
"(cached) " >&6
18918 ac_wine_try_cflags_saved
=$CFLAGS
18919 CFLAGS
="$CFLAGS -Wtype-limits"
18920 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18921 /* end confdefs.h. */
18922 int main(int argc, char **argv) { return 0; }
18924 if ac_fn_c_try_link
"$LINENO"
18926 ac_cv_cflags__Wtype_limits
=yes
18928 ac_cv_cflags__Wtype_limits
=no
18930 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18931 conftest
$ac_exeext conftest.
$ac_ext
18932 CFLAGS
=$ac_wine_try_cflags_saved
18934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18935 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18936 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18938 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
18940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18941 printf %s
"checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18942 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18944 printf %s
"(cached) " >&6
18946 ac_wine_try_cflags_saved
=$CFLAGS
18947 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
18948 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18949 /* end confdefs.h. */
18950 int main(int argc, char **argv) { return 0; }
18952 if ac_fn_c_try_link
"$LINENO"
18954 ac_cv_cflags__Wunused_but_set_parameter
=yes
18956 ac_cv_cflags__Wunused_but_set_parameter
=no
18958 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18959 conftest
$ac_exeext conftest.
$ac_ext
18960 CFLAGS
=$ac_wine_try_cflags_saved
18962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
18963 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
18964 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
18966 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
18968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
18969 printf %s
"checking whether the compiler supports -Wvla... " >&6; }
18970 if test ${ac_cv_cflags__Wvla+y}
18972 printf %s
"(cached) " >&6
18974 ac_wine_try_cflags_saved
=$CFLAGS
18975 CFLAGS
="$CFLAGS -Wvla"
18976 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18977 /* end confdefs.h. */
18978 int main(int argc, char **argv) { return 0; }
18980 if ac_fn_c_try_link
"$LINENO"
18982 ac_cv_cflags__Wvla
=yes
18984 ac_cv_cflags__Wvla
=no
18986 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18987 conftest
$ac_exeext conftest.
$ac_ext
18988 CFLAGS
=$ac_wine_try_cflags_saved
18990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
18991 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
18992 if test "x$ac_cv_cflags__Wvla" = xyes
18994 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
18996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
18997 printf %s
"checking whether the compiler supports -Wwrite-strings... " >&6; }
18998 if test ${ac_cv_cflags__Wwrite_strings+y}
19000 printf %s
"(cached) " >&6
19002 ac_wine_try_cflags_saved
=$CFLAGS
19003 CFLAGS
="$CFLAGS -Wwrite-strings"
19004 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19005 /* end confdefs.h. */
19006 int main(int argc, char **argv) { return 0; }
19008 if ac_fn_c_try_link
"$LINENO"
19010 ac_cv_cflags__Wwrite_strings
=yes
19012 ac_cv_cflags__Wwrite_strings
=no
19014 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19015 conftest
$ac_exeext conftest.
$ac_ext
19016 CFLAGS
=$ac_wine_try_cflags_saved
19018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
19019 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
19020 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
19022 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
19025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
19026 printf %s
"checking whether the compiler supports -Wpointer-arith... " >&6; }
19027 if test ${ac_cv_cflags__Wpointer_arith+y}
19029 printf %s
"(cached) " >&6
19031 ac_wine_try_cflags_saved
=$CFLAGS
19032 CFLAGS
="$CFLAGS -Wpointer-arith"
19033 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19034 /* end confdefs.h. */
19035 int main(int argc, char **argv) { return 0; }
19037 if ac_fn_c_try_link
"$LINENO"
19039 ac_cv_cflags__Wpointer_arith
=yes
19041 ac_cv_cflags__Wpointer_arith
=no
19043 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19044 conftest
$ac_exeext conftest.
$ac_ext
19045 CFLAGS
=$ac_wine_try_cflags_saved
19047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
19048 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19049 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19051 saved_string_h_CFLAGS
=$CFLAGS
19052 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
19053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19054 printf %s
"checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19055 if test ${ac_cv_c_string_h_warnings+y}
19057 printf %s
"(cached) " >&6
19059 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19060 /* end confdefs.h. */
19061 #include <string.h>
19070 if ac_fn_c_try_compile
"$LINENO"
19072 ac_cv_c_string_h_warnings
=no
19074 ac_cv_c_string_h_warnings
=yes
19076 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19079 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19080 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
19081 CFLAGS
=$saved_string_h_CFLAGS
19084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19085 printf %s
"checking whether the compiler supports -Wlogical-op... " >&6; }
19086 if test ${ac_cv_cflags__Wlogical_op+y}
19088 printf %s
"(cached) " >&6
19090 ac_wine_try_cflags_saved
=$CFLAGS
19091 CFLAGS
="$CFLAGS -Wlogical-op"
19092 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19093 /* end confdefs.h. */
19094 int main(int argc, char **argv) { return 0; }
19096 if ac_fn_c_try_link
"$LINENO"
19098 ac_cv_cflags__Wlogical_op
=yes
19100 ac_cv_cflags__Wlogical_op
=no
19102 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19103 conftest
$ac_exeext conftest.
$ac_ext
19104 CFLAGS
=$ac_wine_try_cflags_saved
19106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19107 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19108 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19110 saved_string_h_CFLAGS
=$CFLAGS
19111 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
19112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19113 printf %s
"checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19114 if test ${ac_cv_c_logicalop_noisy+y}
19116 printf %s
"(cached) " >&6
19118 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19119 /* end confdefs.h. */
19120 #include <string.h>
19121 char*f(const char *h,char n) {return strchr(h,n);}
19130 if ac_fn_c_try_compile
"$LINENO"
19132 ac_cv_c_logicalop_noisy
=no
19134 ac_cv_c_logicalop_noisy
=yes
19136 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19139 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19140 CFLAGS
=$saved_string_h_CFLAGS
19141 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
19144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19145 printf %s
"checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19146 if test ${wine_cv_64bit_compare_swap+y}
19148 printf %s
"(cached) " >&6
19150 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19151 /* end confdefs.h. */
19152 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19163 if ac_fn_c_try_compile
"$LINENO"
19165 wine_cv_64bit_compare_swap
="none needed"
19168 *i
[3456]86*) wine_cv_64bit_compare_swap
="-march=i586" ;;
19169 *arm
*) wine_cv_64bit_compare_swap
="-march=armv7-a" ;;
19170 *) wine_cv_64bit_compare_swap
="unknown" ;;
19172 if test "x$wine_cv_64bit_compare_swap" != xunknown
19174 CFLAGS
="$CFLAGS $wine_cv_64bit_compare_swap"
19175 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19176 /* end confdefs.h. */
19177 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19188 if ac_fn_c_try_compile
"$LINENO"
19192 wine_cv_64bit_compare_swap
="unknown"
19194 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19195 CFLAGS
=$saved_CFLAGS
19198 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19201 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19202 case "$wine_cv_64bit_compare_swap" in
19203 unknown
) as_fn_error $?
"gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19205 *) EXTRACFLAGS
="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19208 ac_debug_format_seen
=""
19209 for ac_flag
in $CFLAGS; do
19211 -gdwarf*) ac_debug_format_seen
=yes ;;
19212 -g) ac_debug_format_seen
=${ac_debug_format_seen:-default} ;;
19215 if test "x$ac_debug_format_seen" = xdefault
19217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19218 printf %s
"checking whether the compiler supports -gdwarf-4... " >&6; }
19219 if test ${ac_cv_cflags__gdwarf_4+y}
19221 printf %s
"(cached) " >&6
19223 ac_wine_try_cflags_saved
=$CFLAGS
19224 CFLAGS
="$CFLAGS -gdwarf-4"
19225 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19226 /* end confdefs.h. */
19227 int main(int argc, char **argv) { return 0; }
19229 if ac_fn_c_try_link
"$LINENO"
19231 ac_cv_cflags__gdwarf_4
=yes
19233 ac_cv_cflags__gdwarf_4
=no
19235 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19236 conftest
$ac_exeext conftest.
$ac_ext
19237 CFLAGS
=$ac_wine_try_cflags_saved
19239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19240 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19241 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19243 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-4"
19250 mingw32
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19251 printf %s
"checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19252 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19254 printf %s
"(cached) " >&6
19256 ac_wine_try_cflags_saved
=$CFLAGS
19257 CFLAGS
="$CFLAGS -Wl,-delayload,autoconftest.dll"
19258 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19259 /* end confdefs.h. */
19260 int main(int argc, char **argv) { return 0; }
19262 if ac_fn_c_try_link
"$LINENO"
19264 ac_cv_cflags__Wl__delayload_autoconftest_dll
=yes
19266 ac_cv_cflags__Wl__delayload_autoconftest_dll
=no
19268 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19269 conftest
$ac_exeext conftest.
$ac_ext
19270 CFLAGS
=$ac_wine_try_cflags_saved
19272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19273 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19274 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19276 DELAYLOADFLAG
="-Wl,-delayload,"
19279 *) MSVCRTFLAGS
="-D_WIN32"
19280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19281 printf %s
"checking whether the compiler supports -fno-builtin... " >&6; }
19282 if test ${ac_cv_cflags__fno_builtin+y}
19284 printf %s
"(cached) " >&6
19286 ac_wine_try_cflags_saved
=$CFLAGS
19287 CFLAGS
="$CFLAGS -fno-builtin"
19288 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19289 /* end confdefs.h. */
19290 int main(int argc, char **argv) { return 0; }
19292 if ac_fn_c_try_link
"$LINENO"
19294 ac_cv_cflags__fno_builtin
=yes
19296 ac_cv_cflags__fno_builtin
=no
19298 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19299 conftest
$ac_exeext conftest.
$ac_ext
19300 CFLAGS
=$ac_wine_try_cflags_saved
19302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19303 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19304 if test "x$ac_cv_cflags__fno_builtin" = xyes
19306 MSVCRTFLAGS
="$MSVCRTFLAGS -fno-builtin"
19308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19309 printf %s
"checking whether the compiler supports -fshort-wchar... " >&6; }
19310 if test ${ac_cv_cflags__fshort_wchar+y}
19312 printf %s
"(cached) " >&6
19314 ac_wine_try_cflags_saved
=$CFLAGS
19315 CFLAGS
="$CFLAGS -fshort-wchar"
19316 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19317 /* end confdefs.h. */
19318 int main(int argc, char **argv) { return 0; }
19320 if ac_fn_c_try_link
"$LINENO"
19322 ac_cv_cflags__fshort_wchar
=yes
19324 ac_cv_cflags__fshort_wchar
=no
19326 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19327 conftest
$ac_exeext conftest.
$ac_ext
19328 CFLAGS
=$ac_wine_try_cflags_saved
19330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19331 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19332 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19334 MSVCRTFLAGS
="$MSVCRTFLAGS -fshort-wchar"
19336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19337 printf %s
"checking whether the compiler supports -Wno-format... " >&6; }
19338 if test ${ac_cv_cflags__Wno_format+y}
19340 printf %s
"(cached) " >&6
19342 ac_wine_try_cflags_saved
=$CFLAGS
19343 CFLAGS
="$CFLAGS -Wno-format"
19344 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19345 /* end confdefs.h. */
19346 int main(int argc, char **argv) { return 0; }
19348 if ac_fn_c_try_link
"$LINENO"
19350 ac_cv_cflags__Wno_format
=yes
19352 ac_cv_cflags__Wno_format
=no
19354 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19355 conftest
$ac_exeext conftest.
$ac_ext
19356 CFLAGS
=$ac_wine_try_cflags_saved
19358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19359 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19360 if test "x$ac_cv_cflags__Wno_format" = xyes
19362 MSVCRTFLAGS
="$MSVCRTFLAGS -Wno-format"
19367 *i
[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19368 printf %s
"checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19369 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19371 printf %s
"(cached) " >&6
19373 ac_wine_try_cflags_saved
=$CFLAGS
19374 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
19375 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19376 /* end confdefs.h. */
19377 int main(int argc, char **argv) { return 0; }
19379 if ac_fn_c_try_link
"$LINENO"
19381 ac_cv_cflags__fno_omit_frame_pointer
=yes
19383 ac_cv_cflags__fno_omit_frame_pointer
=no
19385 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19386 conftest
$ac_exeext conftest.
$ac_ext
19387 CFLAGS
=$ac_wine_try_cflags_saved
19389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19390 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19391 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19393 MSVCRTFLAGS
="$MSVCRTFLAGS -fno-omit-frame-pointer"
19397 cygwin
*|mingw32
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19398 printf %s
"checking whether the compiler supports -Wno-format... " >&6; }
19399 if test ${ac_cv_cflags__Wno_format+y}
19401 printf %s
"(cached) " >&6
19403 ac_wine_try_cflags_saved
=$CFLAGS
19404 CFLAGS
="$CFLAGS -Wno-format"
19405 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19406 /* end confdefs.h. */
19407 int main(int argc, char **argv) { return 0; }
19409 if ac_fn_c_try_link
"$LINENO"
19411 ac_cv_cflags__Wno_format
=yes
19413 ac_cv_cflags__Wno_format
=no
19415 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19416 conftest
$ac_exeext conftest.
$ac_ext
19417 CFLAGS
=$ac_wine_try_cflags_saved
19419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19420 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19421 if test "x$ac_cv_cflags__Wno_format" = xyes
19423 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
19425 *) if test -z "$PE_ARCHS"
19427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19428 printf %s
"checking for working -mabi=ms... " >&6; }
19429 if test ${ac_cv_mabi_ms+y}
19431 printf %s
"(cached) " >&6
19433 CFLAGS
="$CFLAGS -mabi=ms"
19434 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19435 /* end confdefs.h. */
19436 #include <stdarg.h>
19437 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19446 if ac_fn_c_try_compile
"$LINENO"
19452 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19453 CFLAGS
=$saved_CFLAGS
19455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19456 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19457 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
19459 MSVCRTFLAGS
="$MSVCRTFLAGS -mabi=ms" ;;
19462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19463 printf %s
"checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19464 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19466 printf %s
"(cached) " >&6
19468 ac_wine_try_cflags_saved
=$CFLAGS
19469 CFLAGS
="$CFLAGS -Wincompatible-function-pointer-types"
19470 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19471 /* end confdefs.h. */
19472 int main(int argc, char **argv) { return 0; }
19474 if ac_fn_c_try_link
"$LINENO"
19476 ac_cv_cflags__Wincompatible_function_pointer_types
=yes
19478 ac_cv_cflags__Wincompatible_function_pointer_types
=no
19480 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19481 conftest
$ac_exeext conftest.
$ac_ext
19482 CFLAGS
=$ac_wine_try_cflags_saved
19484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
19485 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19486 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19488 EXTRACFLAGS
="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19492 CFLAGS
=$saved_CFLAGS
19494 if test "x$enable_werror" = "xyes"
19496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19497 printf %s
"checking whether the compiler supports -Werror... " >&6; }
19498 if test ${ac_cv_cflags__Werror+y}
19500 printf %s
"(cached) " >&6
19502 ac_wine_try_cflags_saved
=$CFLAGS
19503 CFLAGS
="$CFLAGS -Werror"
19504 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19505 /* end confdefs.h. */
19506 int main(int argc, char **argv) { return 0; }
19508 if ac_fn_c_try_link
"$LINENO"
19510 ac_cv_cflags__Werror
=yes
19512 ac_cv_cflags__Werror
=no
19514 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19515 conftest
$ac_exeext conftest.
$ac_ext
19516 CFLAGS
=$ac_wine_try_cflags_saved
19518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19519 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19520 if test "x$ac_cv_cflags__Werror" = xyes
19522 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
19525 if test "x$enable_build_id" = "xyes"
19527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19528 printf %s
"checking whether the compiler supports -Wl,--build-id... " >&6; }
19529 if test ${ac_cv_cflags__Wl___build_id+y}
19531 printf %s
"(cached) " >&6
19533 ac_wine_try_cflags_saved
=$CFLAGS
19534 CFLAGS
="$CFLAGS -Wl,--build-id"
19535 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19536 /* end confdefs.h. */
19537 int main(int argc, char **argv) { return 0; }
19539 if ac_fn_c_try_link
"$LINENO"
19541 ac_cv_cflags__Wl___build_id
=yes
19543 ac_cv_cflags__Wl___build_id
=no
19545 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19546 conftest
$ac_exeext conftest.
$ac_ext
19547 CFLAGS
=$ac_wine_try_cflags_saved
19549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19550 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19551 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19553 CFLAGS
="$CFLAGS -Wl,--build-id"
19554 LDFLAGS
="$LDFLAGS -Wl,--build-id"
19560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19561 printf %s
"checking for the need to disable Fortify... " >&6; }
19562 if test ${ac_cv_c_fortify_enabled+y}
19564 printf %s
"(cached) " >&6
19566 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19567 /* end confdefs.h. */
19568 #include <string.h>
19572 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19573 #error Fortify enabled
19579 if ac_fn_c_try_compile
"$LINENO"
19581 ac_cv_c_fortify_enabled
=no
19583 ac_cv_c_fortify_enabled
=yes
19585 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19588 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19589 if test "$ac_cv_c_fortify_enabled" = yes
19591 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19596 printf %s
"checking whether CFI directives are supported in assembly code... " >&6; }
19597 if test ${ac_cv_c_cfi_support+y}
19599 printf %s
"(cached) " >&6
19601 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19602 /* end confdefs.h. */
19603 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19612 if ac_fn_c_try_compile
"$LINENO"
19614 ac_cv_c_cfi_support
="yes"
19616 ac_cv_c_cfi_support
="no"
19618 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19621 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19622 if test "$ac_cv_c_cfi_support" = "yes"
19624 DLLFLAGS
="$DLLFLAGS -fasynchronous-unwind-tables"
19625 LDDLLFLAGS
="$LDDLLFLAGS -fasynchronous-unwind-tables"
19626 UNIXDLLFLAGS
="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19627 elif test $HOST_ARCH = x86_64
19629 as_fn_append wine_warnings
"|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19633 case "$HOST_ARCH,$PE_ARCHS" in
19634 x86_64
,*i386
*) wine_binary
="wine" ;;
19635 x86_64
,*) wine_binary
="wine64" ;;
19636 *) wine_binary
="wine" ;;
19638 WINELOADER_PROGRAMS
="$wine_binary"
19644 *i
[3456789]86*|x86_64
*|
*aarch64
*|arm
*)
19645 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine-preloader"
19646 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
19651 if test "$wine_can_build_preloader" = "yes"
19653 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine-preloader"
19654 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
19660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19661 printf %s
"checking for library containing dlopen... " >&6; }
19662 if test ${ac_cv_search_dlopen+y}
19664 printf %s
"(cached) " >&6
19666 ac_func_search_save_LIBS
=$LIBS
19667 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19668 /* end confdefs.h. */
19670 /* Override any GCC internal prototype to avoid an error.
19671 Use char because int might match the return type of a GCC
19672 builtin and then its argument prototype would still apply. */
19682 for ac_lib
in '' dl
19684 if test -z "$ac_lib"; then
19685 ac_res
="none required"
19688 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19690 if ac_fn_c_try_link
"$LINENO"
19692 ac_cv_search_dlopen
=$ac_res
19694 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19696 if test ${ac_cv_search_dlopen+y}
19701 if test ${ac_cv_search_dlopen+y}
19705 ac_cv_search_dlopen
=no
19707 rm conftest.
$ac_ext
19708 LIBS
=$ac_func_search_save_LIBS
19710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19711 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19712 ac_res
=$ac_cv_search_dlopen
19713 if test "$ac_res" != no
19715 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19721 printf %s
"checking for library containing gethostbyname... " >&6; }
19722 if test ${ac_cv_search_gethostbyname+y}
19724 printf %s
"(cached) " >&6
19726 ac_func_search_save_LIBS
=$LIBS
19727 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19728 /* end confdefs.h. */
19730 /* Override any GCC internal prototype to avoid an error.
19731 Use char because int might match the return type of a GCC
19732 builtin and then its argument prototype would still apply. */
19733 char gethostbyname ();
19737 return gethostbyname ();
19742 for ac_lib
in '' nsl
19744 if test -z "$ac_lib"; then
19745 ac_res
="none required"
19748 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19750 if ac_fn_c_try_link
"$LINENO"
19752 ac_cv_search_gethostbyname
=$ac_res
19754 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19756 if test ${ac_cv_search_gethostbyname+y}
19761 if test ${ac_cv_search_gethostbyname+y}
19765 ac_cv_search_gethostbyname
=no
19767 rm conftest.
$ac_ext
19768 LIBS
=$ac_func_search_save_LIBS
19770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19771 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19772 ac_res
=$ac_cv_search_gethostbyname
19773 if test "$ac_res" != no
19775 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19781 printf %s
"checking for library containing connect... " >&6; }
19782 if test ${ac_cv_search_connect+y}
19784 printf %s
"(cached) " >&6
19786 ac_func_search_save_LIBS
=$LIBS
19787 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19788 /* end confdefs.h. */
19790 /* Override any GCC internal prototype to avoid an error.
19791 Use char because int might match the return type of a GCC
19792 builtin and then its argument prototype would still apply. */
19802 for ac_lib
in '' socket
19804 if test -z "$ac_lib"; then
19805 ac_res
="none required"
19808 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19810 if ac_fn_c_try_link
"$LINENO"
19812 ac_cv_search_connect
=$ac_res
19814 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19816 if test ${ac_cv_search_connect+y}
19821 if test ${ac_cv_search_connect+y}
19825 ac_cv_search_connect
=no
19827 rm conftest.
$ac_ext
19828 LIBS
=$ac_func_search_save_LIBS
19830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19831 printf "%s\n" "$ac_cv_search_connect" >&6; }
19832 ac_res
=$ac_cv_search_connect
19833 if test "$ac_res" != no
19835 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19841 printf %s
"checking for library containing inet_aton... " >&6; }
19842 if test ${ac_cv_search_inet_aton+y}
19844 printf %s
"(cached) " >&6
19846 ac_func_search_save_LIBS
=$LIBS
19847 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19848 /* end confdefs.h. */
19850 /* Override any GCC internal prototype to avoid an error.
19851 Use char because int might match the return type of a GCC
19852 builtin and then its argument prototype would still apply. */
19857 return inet_aton ();
19862 for ac_lib
in '' resolv
19864 if test -z "$ac_lib"; then
19865 ac_res
="none required"
19868 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19870 if ac_fn_c_try_link
"$LINENO"
19872 ac_cv_search_inet_aton
=$ac_res
19874 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19876 if test ${ac_cv_search_inet_aton+y}
19881 if test ${ac_cv_search_inet_aton+y}
19885 ac_cv_search_inet_aton
=no
19887 rm conftest.
$ac_ext
19888 LIBS
=$ac_func_search_save_LIBS
19890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
19891 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
19892 ac_res
=$ac_cv_search_inet_aton
19893 if test "$ac_res" != no
19895 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19900 ac_save_CFLAGS
="$CFLAGS"
19901 CFLAGS
="$CFLAGS $BUILTINFLAG"
19902 ac_fn_c_check_func
"$LINENO" "dladdr1" "ac_cv_func_dladdr1"
19903 if test "x$ac_cv_func_dladdr1" = xyes
19905 printf "%s\n" "#define HAVE_DLADDR1 1" >>confdefs.h
19908 ac_fn_c_check_func
"$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19909 if test "x$ac_cv_func_dlinfo" = xyes
19911 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19914 ac_fn_c_check_func
"$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19915 if test "x$ac_cv_func_epoll_create" = xyes
19917 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19920 ac_fn_c_check_func
"$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19921 if test "x$ac_cv_func_fstatfs" = xyes
19923 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19926 ac_fn_c_check_func
"$LINENO" "futimens" "ac_cv_func_futimens"
19927 if test "x$ac_cv_func_futimens" = xyes
19929 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19932 ac_fn_c_check_func
"$LINENO" "futimes" "ac_cv_func_futimes"
19933 if test "x$ac_cv_func_futimes" = xyes
19935 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19938 ac_fn_c_check_func
"$LINENO" "futimesat" "ac_cv_func_futimesat"
19939 if test "x$ac_cv_func_futimesat" = xyes
19941 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19944 ac_fn_c_check_func
"$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
19945 if test "x$ac_cv_func_getaddrinfo" = xyes
19947 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
19950 ac_fn_c_check_func
"$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19951 if test "x$ac_cv_func_getattrlist" = xyes
19953 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19956 ac_fn_c_check_func
"$LINENO" "getauxval" "ac_cv_func_getauxval"
19957 if test "x$ac_cv_func_getauxval" = xyes
19959 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19962 ac_fn_c_check_func
"$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19963 if test "x$ac_cv_func_getifaddrs" = xyes
19965 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19968 ac_fn_c_check_func
"$LINENO" "getrandom" "ac_cv_func_getrandom"
19969 if test "x$ac_cv_func_getrandom" = xyes
19971 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19974 ac_fn_c_check_func
"$LINENO" "kqueue" "ac_cv_func_kqueue"
19975 if test "x$ac_cv_func_kqueue" = xyes
19977 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19980 ac_fn_c_check_func
"$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19981 if test "x$ac_cv_func_mach_continuous_time" = xyes
19983 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19986 ac_fn_c_check_func
"$LINENO" "pipe2" "ac_cv_func_pipe2"
19987 if test "x$ac_cv_func_pipe2" = xyes
19989 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19992 ac_fn_c_check_func
"$LINENO" "port_create" "ac_cv_func_port_create"
19993 if test "x$ac_cv_func_port_create" = xyes
19995 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
19998 ac_fn_c_check_func
"$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
19999 if test "x$ac_cv_func_posix_fadvise" = xyes
20001 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
20004 ac_fn_c_check_func
"$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
20005 if test "x$ac_cv_func_posix_fallocate" = xyes
20007 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
20010 ac_fn_c_check_func
"$LINENO" "prctl" "ac_cv_func_prctl"
20011 if test "x$ac_cv_func_prctl" = xyes
20013 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
20016 ac_fn_c_check_func
"$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
20017 if test "x$ac_cv_func_proc_pidinfo" = xyes
20019 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
20022 ac_fn_c_check_func
"$LINENO" "sched_yield" "ac_cv_func_sched_yield"
20023 if test "x$ac_cv_func_sched_yield" = xyes
20025 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
20028 ac_fn_c_check_func
"$LINENO" "setproctitle" "ac_cv_func_setproctitle"
20029 if test "x$ac_cv_func_setproctitle" = xyes
20031 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
20034 ac_fn_c_check_func
"$LINENO" "setprogname" "ac_cv_func_setprogname"
20035 if test "x$ac_cv_func_setprogname" = xyes
20037 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
20040 ac_fn_c_check_func
"$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
20041 if test "x$ac_cv_func_sigprocmask" = xyes
20043 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
20046 ac_fn_c_check_func
"$LINENO" "sysinfo" "ac_cv_func_sysinfo"
20047 if test "x$ac_cv_func_sysinfo" = xyes
20049 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
20052 ac_fn_c_check_func
"$LINENO" "tcdrain" "ac_cv_func_tcdrain"
20053 if test "x$ac_cv_func_tcdrain" = xyes
20055 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
20058 ac_fn_c_check_func
"$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
20059 if test "x$ac_cv_func_thr_kill2" = xyes
20061 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
20065 CFLAGS
="$ac_save_CFLAGS"
20068 darwin
*|macosx
*) ;;
20069 *) ac_save_LIBS
=$LIBS
20070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20071 printf %s
"checking for library containing clock_gettime... " >&6; }
20072 if test ${ac_cv_search_clock_gettime+y}
20074 printf %s
"(cached) " >&6
20076 ac_func_search_save_LIBS
=$LIBS
20077 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20078 /* end confdefs.h. */
20080 /* Override any GCC internal prototype to avoid an error.
20081 Use char because int might match the return type of a GCC
20082 builtin and then its argument prototype would still apply. */
20083 char clock_gettime ();
20087 return clock_gettime ();
20092 for ac_lib
in '' rt
20094 if test -z "$ac_lib"; then
20095 ac_res
="none required"
20098 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20100 if ac_fn_c_try_link
"$LINENO"
20102 ac_cv_search_clock_gettime
=$ac_res
20104 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20106 if test ${ac_cv_search_clock_gettime+y}
20111 if test ${ac_cv_search_clock_gettime+y}
20115 ac_cv_search_clock_gettime
=no
20117 rm conftest.
$ac_ext
20118 LIBS
=$ac_func_search_save_LIBS
20120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20121 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20122 ac_res
=$ac_cv_search_clock_gettime
20123 if test "$ac_res" != no
20125 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20127 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20129 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
20137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20138 printf %s
"checking for sched_setaffinity... " >&6; }
20139 if test ${wine_cv_have_sched_setaffinity+y}
20141 printf %s
"(cached) " >&6
20143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20144 /* end confdefs.h. */
20149 sched_setaffinity(0, 0, 0);
20154 if ac_fn_c_try_link
"$LINENO"
20156 wine_cv_have_sched_setaffinity
=yes
20158 wine_cv_have_sched_setaffinity
=no
20160 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20161 conftest
$ac_exeext conftest.
$ac_ext
20163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20164 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20165 if test "$wine_cv_have_sched_setaffinity" = "yes"
20168 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20174 printf %s
"checking for inline... " >&6; }
20175 if test ${ac_cv_c_inline+y}
20177 printf %s
"(cached) " >&6
20180 for ac_kw
in inline __inline__ __inline
; do
20181 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20182 /* end confdefs.h. */
20183 #ifndef __cplusplus
20185 static $ac_kw foo_t static_foo (void) {return 0; }
20186 $ac_kw foo_t foo (void) {return 0; }
20190 if ac_fn_c_try_compile
"$LINENO"
20192 ac_cv_c_inline
=$ac_kw
20194 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20195 test "$ac_cv_c_inline" != no
&& break
20199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20200 printf "%s\n" "$ac_cv_c_inline" >&6; }
20202 case $ac_cv_c_inline in
20205 case $ac_cv_c_inline in
20207 *) ac_val
=$ac_cv_c_inline;;
20209 cat >>confdefs.h
<<_ACEOF
20210 #ifndef __cplusplus
20211 #define inline $ac_val
20217 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20219 if test "x$ac_cv_type_request_sense" = xyes
20222 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20228 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20229 #include <sys/socket.h>
20230 #ifdef HAVE_SYS_SOCKETVAR_H
20231 #include <sys/socketvar.h>
20233 #ifdef HAVE_NET_ROUTE_H
20234 #include <net/route.h>
20236 #ifdef HAVE_NETINET_IN_H
20237 #include <netinet/in.h>
20239 #ifdef HAVE_NETINET_IN_SYSTM_H
20240 #include <netinet/in_systm.h>
20242 #ifdef HAVE_NETINET_IP_H
20243 #include <netinet/ip.h>
20245 #ifdef HAVE_NETINET_IN_PCB_H
20246 #include <netinet/in_pcb.h>
20249 if test "x$ac_cv_type_struct_xinpgen" = xyes
20252 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20259 printf %s
"checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20260 if test ${wine_cv_linux_gethostbyname_r_6+y}
20262 printf %s
"(cached) " >&6
20264 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20265 /* end confdefs.h. */
20273 struct hostent *result;
20280 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20281 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20287 if ac_fn_c_try_link
"$LINENO"
20289 wine_cv_linux_gethostbyname_r_6
=yes
20291 wine_cv_linux_gethostbyname_r_6
=no
20294 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20295 conftest
$ac_exeext conftest.
$ac_ext
20298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20299 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20300 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20303 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20307 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20308 #include <sys/socket.h>
20309 #ifdef HAVE_SYS_UN_H
20310 # include <sys/un.h>
20313 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20316 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20320 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20321 #include <sys/socket.h>
20322 #ifdef HAVE_SYS_UN_H
20323 # include <sys/un.h>
20326 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20329 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20335 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20336 #ifdef HAVE_SCSI_SG_H
20337 #include <scsi/sg.h>
20340 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20343 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20347 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>
20348 #ifdef HAVE_SCSI_SG_H
20349 #include <scsi/sg.h>
20352 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20355 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20361 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20363 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20366 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20372 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20373 #ifdef HAVE_SYS_MTIO_H
20374 #include <sys/mtio.h>
20377 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20380 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20384 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20385 #ifdef HAVE_SYS_MTIO_H
20386 #include <sys/mtio.h>
20389 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20392 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20396 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20397 #ifdef HAVE_SYS_MTIO_H
20398 #include <sys/mtio.h>
20401 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20404 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20410 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20411 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20414 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20418 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20419 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20422 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20426 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20427 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20430 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20434 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20435 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20438 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20442 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20443 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20446 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20450 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20451 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20454 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20458 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20459 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20462 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20466 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20467 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20470 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20474 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20475 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20478 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20482 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20483 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20486 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20490 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20491 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20494 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20500 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>
20501 #ifdef HAVE_NETINET_IN_H
20502 #include <netinet/in.h>
20505 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20508 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20514 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
20515 #include <resolv.h>
20518 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20521 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20527 ac_fn_c_check_member
"$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20528 #include <netinet/in.h>
20531 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20534 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20540 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20541 #ifdef HAVE_SYS_SOCKETVAR_H
20542 #include <sys/socketvar.h>
20544 #ifdef HAVE_NETINET_IN_H
20545 #include <netinet/in.h>
20547 #ifdef HAVE_NETINET_IP_VAR_H
20548 #include <netinet/ip_var.h>
20551 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20554 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20560 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
20561 #include <netinet/ip_var.h>
20564 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20567 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20573 ac_fn_c_check_member
"$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20574 #ifdef HAVE_SYS_SOCKETVAR_H
20575 #include <sys/socketvar.h>
20577 #ifdef HAVE_NETINET_IN_H
20578 #include <netinet/in.h>
20580 #ifdef HAVE_NETINET6_IP6_VAR_H
20581 #include <netinet6/ip6_var.h>
20584 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20587 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20593 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20594 #ifdef HAVE_SYS_SOCKETVAR_H
20595 #include <sys/socketvar.h>
20597 #ifdef HAVE_NETINET_IN_H
20598 #include <netinet/in.h>
20600 #ifdef HAVE_NETINET_IP_H
20601 #include <netinet/ip.h>
20603 #ifdef HAVE_NETINET_IP_ICMP_H
20604 #include <netinet/ip_icmp.h>
20606 #ifdef HAVE_NETINET_ICMP_VAR_H
20607 #include <netinet/icmp_var.h>
20610 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20613 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20619 ac_fn_c_check_member
"$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20620 #ifdef HAVE_SYS_SOCKETVAR_H
20621 #include <sys/socketvar.h>
20623 #ifdef HAVE_NETINET_IN_H
20624 #include <netinet/in.h>
20626 #ifdef HAVE_NETINET_ICMP6_H
20627 #include <netinet/icmp6.h>
20630 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20633 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20639 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20640 #ifdef HAVE_SYS_SOCKETVAR_H
20641 #include <sys/socketvar.h>
20643 #ifdef HAVE_NETINET_IN_H
20644 #include <netinet/in.h>
20646 #ifdef HAVE_NETINET_TCP_H
20647 #include <netinet/tcp.h>
20649 #ifdef HAVE_NETINET_TCP_VAR_H
20650 #include <netinet/tcp_var.h>
20653 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20656 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20662 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
20663 #include <netinet/tcp_var.h>
20666 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20669 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20675 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20676 #ifdef HAVE_NETINET_IN_H
20677 #include <netinet/in.h>
20679 #ifdef HAVE_NETINET_IP_VAR_H
20680 #include <netinet/ip_var.h>
20682 #ifdef HAVE_NETINET_UDP_H
20683 #include <netinet/udp.h>
20685 #ifdef HAVE_NETINET_UDP_VAR_H
20686 #include <netinet/udp_var.h>
20689 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20692 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20698 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20699 #ifdef HAVE_NET_IF_H
20700 # include <net/if.h>
20703 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20706 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20712 ac_fn_c_check_member
"$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20713 # include <sys/sysinfo.h>
20716 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20719 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20723 ac_fn_c_check_member
"$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20724 # include <sys/sysinfo.h>
20727 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20730 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20736 LIBS
="$ac_save_LIBS"
20738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20739 printf %s
"checking for __builtin_popcount... " >&6; }
20740 if test ${ac_cv_have___builtin_popcount+y}
20742 printf %s
"(cached) " >&6
20744 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20745 /* end confdefs.h. */
20750 return __builtin_popcount(1)
20755 if ac_fn_c_try_link
"$LINENO"
20757 ac_cv_have___builtin_popcount
="yes"
20759 ac_cv_have___builtin_popcount
="no"
20761 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20762 conftest
$ac_exeext conftest.
$ac_ext
20764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20765 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20766 if test "$ac_cv_have___builtin_popcount" = "yes"
20769 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20774 printf %s
"checking for __clear_cache... " >&6; }
20775 if test ${ac_cv_have___clear_cache+y}
20777 printf %s
"(cached) " >&6
20779 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20780 /* end confdefs.h. */
20785 __clear_cache((void*)0, (void*)0); return 0;
20790 if ac_fn_c_try_link
"$LINENO"
20792 ac_cv_have___clear_cache
="yes"
20794 ac_cv_have___clear_cache
="no"
20796 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20797 conftest
$ac_exeext conftest.
$ac_ext
20799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20800 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20801 if test "$ac_cv_have___clear_cache" = "yes"
20804 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20810 *i
[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20811 printf %s
"checking whether we need to define __i386__... " >&6; }
20812 if test ${ac_cv_cpp_def___i386__+y}
20814 printf %s
"(cached) " >&6
20816 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20817 /* end confdefs.h. */
20822 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20823 $EGREP "yes" >/dev
/null
2>&1
20825 ac_cv_cpp_def___i386__
=yes
20827 ac_cv_cpp_def___i386__
=no
20832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20833 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20834 if test "x$ac_cv_cpp_def___i386__" = xyes
20836 CFLAGS
="$CFLAGS -D__i386__"
20837 LINTFLAGS
="$LINTFLAGS -D__i386__"
20839 *x86_64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20840 printf %s
"checking whether we need to define __x86_64__... " >&6; }
20841 if test ${ac_cv_cpp_def___x86_64__+y}
20843 printf %s
"(cached) " >&6
20845 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20846 /* end confdefs.h. */
20851 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20852 $EGREP "yes" >/dev
/null
2>&1
20854 ac_cv_cpp_def___x86_64__
=yes
20856 ac_cv_cpp_def___x86_64__
=no
20861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20862 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20863 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20865 CFLAGS
="$CFLAGS -D__x86_64__"
20866 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
20868 *sparc64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
20869 printf %s
"checking whether we need to define __sparc64__... " >&6; }
20870 if test ${ac_cv_cpp_def___sparc64__+y}
20872 printf %s
"(cached) " >&6
20874 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20875 /* end confdefs.h. */
20876 #ifndef __sparc64__
20880 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20881 $EGREP "yes" >/dev
/null
2>&1
20883 ac_cv_cpp_def___sparc64__
=yes
20885 ac_cv_cpp_def___sparc64__
=no
20890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
20891 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
20892 if test "x$ac_cv_cpp_def___sparc64__" = xyes
20894 CFLAGS
="$CFLAGS -D__sparc64__"
20895 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
20897 *sparc
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
20898 printf %s
"checking whether we need to define __sparc__... " >&6; }
20899 if test ${ac_cv_cpp_def___sparc__+y}
20901 printf %s
"(cached) " >&6
20903 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20904 /* end confdefs.h. */
20909 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20910 $EGREP "yes" >/dev
/null
2>&1
20912 ac_cv_cpp_def___sparc__
=yes
20914 ac_cv_cpp_def___sparc__
=no
20919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
20920 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
20921 if test "x$ac_cv_cpp_def___sparc__" = xyes
20923 CFLAGS
="$CFLAGS -D__sparc__"
20924 LINTFLAGS
="$LINTFLAGS -D__sparc__"
20926 *powerpc64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
20927 printf %s
"checking whether we need to define __powerpc64__... " >&6; }
20928 if test ${ac_cv_cpp_def___powerpc64__+y}
20930 printf %s
"(cached) " >&6
20932 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20933 /* end confdefs.h. */
20934 #ifndef __powerpc64__
20938 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20939 $EGREP "yes" >/dev
/null
2>&1
20941 ac_cv_cpp_def___powerpc64__
=yes
20943 ac_cv_cpp_def___powerpc64__
=no
20948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
20949 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
20950 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
20952 CFLAGS
="$CFLAGS -D__powerpc64__"
20953 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
20955 *powerpc
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
20956 printf %s
"checking whether we need to define __powerpc__... " >&6; }
20957 if test ${ac_cv_cpp_def___powerpc__+y}
20959 printf %s
"(cached) " >&6
20961 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20962 /* end confdefs.h. */
20963 #ifndef __powerpc__
20967 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20968 $EGREP "yes" >/dev
/null
2>&1
20970 ac_cv_cpp_def___powerpc__
=yes
20972 ac_cv_cpp_def___powerpc__
=no
20977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
20978 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
20979 if test "x$ac_cv_cpp_def___powerpc__" = xyes
20981 CFLAGS
="$CFLAGS -D__powerpc__"
20982 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
20984 *aarch64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
20985 printf %s
"checking whether we need to define __aarch64__... " >&6; }
20986 if test ${ac_cv_cpp_def___aarch64__+y}
20988 printf %s
"(cached) " >&6
20990 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20991 /* end confdefs.h. */
20992 #ifndef __aarch64__
20996 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20997 $EGREP "yes" >/dev
/null
2>&1
20999 ac_cv_cpp_def___aarch64__
=yes
21001 ac_cv_cpp_def___aarch64__
=no
21006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
21007 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
21008 if test "x$ac_cv_cpp_def___aarch64__" = xyes
21010 CFLAGS
="$CFLAGS -D__aarch64__"
21011 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
21013 *arm
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
21014 printf %s
"checking whether we need to define __arm__... " >&6; }
21015 if test ${ac_cv_cpp_def___arm__+y}
21017 printf %s
"(cached) " >&6
21019 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21020 /* end confdefs.h. */
21025 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21026 $EGREP "yes" >/dev
/null
2>&1
21028 ac_cv_cpp_def___arm__
=yes
21030 ac_cv_cpp_def___arm__
=no
21035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21036 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21037 if test "x$ac_cv_cpp_def___arm__" = xyes
21039 CFLAGS
="$CFLAGS -D__arm__"
21040 LINTFLAGS
="$LINTFLAGS -D__arm__"
21044 case $host_vendor in
21045 *sun
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21046 printf %s
"checking whether we need to define __sun__... " >&6; }
21047 if test ${ac_cv_cpp_def___sun__+y}
21049 printf %s
"(cached) " >&6
21051 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21052 /* end confdefs.h. */
21057 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21058 $EGREP "yes" >/dev
/null
2>&1
21060 ac_cv_cpp_def___sun__
=yes
21062 ac_cv_cpp_def___sun__
=no
21067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21068 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21069 if test "x$ac_cv_cpp_def___sun__" = xyes
21071 CFLAGS
="$CFLAGS -D__sun__"
21072 LINTFLAGS
="$LINTFLAGS -D__sun__"
21080 ac_config_commands
="$ac_config_commands include/stamp-h"
21082 printf %s
"creating Makefile rules..." >&6
21085 test "x$enable_silent_rules" = xyes
&& makedep_flags
="$makedep_flags -S"
21088 test "$srcdir" = . || wine_srcdir
="$srcdir/"
21090 ac_config_links
="$ac_config_links wine:tools/winewrapper"
21091 wine_fn_config_symlink wine
21092 if test "$HOST_ARCH" = x86_64
-o -n "$with_wine64"; then
21093 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
21094 wine_fn_config_symlink wine64
21097 wine_fn_config_makefile dlls
/acledit enable_acledit
21098 wine_fn_config_makefile dlls
/aclui enable_aclui
21099 wine_fn_config_makefile dlls
/activeds.tlb enable_activeds_tlb
21100 wine_fn_config_makefile dlls
/activeds enable_activeds
21101 wine_fn_config_makefile dlls
/activeds
/tests enable_tests
21102 wine_fn_config_makefile dlls
/actxprxy enable_actxprxy
21103 wine_fn_config_makefile dlls
/adsldp enable_adsldp
21104 wine_fn_config_makefile dlls
/adsldp
/tests enable_tests
21105 wine_fn_config_makefile dlls
/adsldpc enable_adsldpc
21106 wine_fn_config_makefile dlls
/advapi32 enable_advapi32
21107 wine_fn_config_makefile dlls
/advapi32
/tests enable_tests
21108 wine_fn_config_makefile dlls
/advpack enable_advpack
21109 wine_fn_config_makefile dlls
/advpack
/tests enable_tests
21110 wine_fn_config_makefile dlls
/amsi enable_amsi
21111 wine_fn_config_makefile dlls
/amstream enable_amstream
21112 wine_fn_config_makefile dlls
/amstream
/tests enable_tests
21113 wine_fn_config_makefile dlls
/apisetschema enable_apisetschema
21114 wine_fn_config_makefile dlls
/apphelp enable_apphelp
21115 wine_fn_config_makefile dlls
/apphelp
/tests enable_tests
21116 wine_fn_config_makefile dlls
/appwiz.cpl enable_appwiz_cpl
21117 wine_fn_config_makefile dlls
/atl enable_atl
21118 wine_fn_config_makefile dlls
/atl
/tests enable_tests
21119 wine_fn_config_makefile dlls
/atl100 enable_atl100
21120 wine_fn_config_makefile dlls
/atl100
/tests enable_tests
21121 wine_fn_config_makefile dlls
/atl110 enable_atl110
21122 wine_fn_config_makefile dlls
/atl110
/tests enable_tests
21123 wine_fn_config_makefile dlls
/atl80 enable_atl80
21124 wine_fn_config_makefile dlls
/atl80
/tests enable_tests
21125 wine_fn_config_makefile dlls
/atl90 enable_atl90
21126 wine_fn_config_makefile dlls
/atlthunk enable_atlthunk
21127 wine_fn_config_makefile dlls
/atlthunk
/tests enable_tests
21128 wine_fn_config_makefile dlls
/atmlib enable_atmlib
21129 wine_fn_config_makefile dlls
/authz enable_authz
21130 wine_fn_config_makefile dlls
/avicap32 enable_avicap32
21131 wine_fn_config_makefile dlls
/avifil32 enable_avifil32
21132 wine_fn_config_makefile dlls
/avifil32
/tests enable_tests
21133 wine_fn_config_makefile dlls
/avifile.dll16 enable_win16
21134 wine_fn_config_makefile dlls
/avrt enable_avrt
21135 wine_fn_config_makefile dlls
/bcrypt enable_bcrypt
21136 wine_fn_config_makefile dlls
/bcrypt
/tests enable_tests
21137 wine_fn_config_makefile dlls
/bluetoothapis enable_bluetoothapis
21138 wine_fn_config_makefile dlls
/browseui enable_browseui
21139 wine_fn_config_makefile dlls
/browseui
/tests enable_tests
21140 wine_fn_config_makefile dlls
/bthprops.cpl enable_bthprops_cpl
21141 wine_fn_config_makefile dlls
/cabinet enable_cabinet
21142 wine_fn_config_makefile dlls
/cabinet
/tests enable_tests
21143 wine_fn_config_makefile dlls
/capi2032 enable_capi2032
21144 wine_fn_config_makefile dlls
/cards enable_cards
21145 wine_fn_config_makefile dlls
/cdosys enable_cdosys
21146 wine_fn_config_makefile dlls
/cfgmgr32 enable_cfgmgr32
21147 wine_fn_config_makefile dlls
/cfgmgr32
/tests enable_tests
21148 wine_fn_config_makefile dlls
/clusapi enable_clusapi
21149 wine_fn_config_makefile dlls
/cng.sys enable_cng_sys
21150 wine_fn_config_makefile dlls
/combase enable_combase
21151 wine_fn_config_makefile dlls
/combase
/tests enable_tests
21152 wine_fn_config_makefile dlls
/comcat enable_comcat
21153 wine_fn_config_makefile dlls
/comcat
/tests enable_tests
21154 wine_fn_config_makefile dlls
/comctl32 enable_comctl32
21155 wine_fn_config_makefile dlls
/comctl32
/tests enable_tests
21156 wine_fn_config_makefile dlls
/comdlg32 enable_comdlg32
21157 wine_fn_config_makefile dlls
/comdlg32
/tests enable_tests
21158 wine_fn_config_makefile dlls
/comm.drv16 enable_win16
21159 wine_fn_config_makefile dlls
/commdlg.dll16 enable_win16
21160 wine_fn_config_makefile dlls
/compobj.dll16 enable_win16
21161 wine_fn_config_makefile dlls
/compstui enable_compstui
21162 wine_fn_config_makefile dlls
/compstui
/tests enable_tests
21163 wine_fn_config_makefile dlls
/comsvcs enable_comsvcs
21164 wine_fn_config_makefile dlls
/comsvcs
/tests enable_tests
21165 wine_fn_config_makefile dlls
/concrt140 enable_concrt140
21166 wine_fn_config_makefile dlls
/concrt140
/tests enable_tests
21167 wine_fn_config_makefile dlls
/connect enable_connect
21168 wine_fn_config_makefile dlls
/credui enable_credui
21169 wine_fn_config_makefile dlls
/credui
/tests enable_tests
21170 wine_fn_config_makefile dlls
/crtdll enable_crtdll
21171 wine_fn_config_makefile dlls
/crypt32 enable_crypt32
21172 wine_fn_config_makefile dlls
/crypt32
/tests enable_tests
21173 wine_fn_config_makefile dlls
/cryptdlg enable_cryptdlg
21174 wine_fn_config_makefile dlls
/cryptdll enable_cryptdll
21175 wine_fn_config_makefile dlls
/cryptext enable_cryptext
21176 wine_fn_config_makefile dlls
/cryptnet enable_cryptnet
21177 wine_fn_config_makefile dlls
/cryptnet
/tests enable_tests
21178 wine_fn_config_makefile dlls
/cryptowinrt enable_cryptowinrt
21179 wine_fn_config_makefile dlls
/cryptowinrt
/tests enable_tests
21180 wine_fn_config_makefile dlls
/cryptsp enable_cryptsp
21181 wine_fn_config_makefile dlls
/cryptui enable_cryptui
21182 wine_fn_config_makefile dlls
/cryptui
/tests enable_tests
21183 wine_fn_config_makefile dlls
/ctapi32 enable_ctapi32
21184 wine_fn_config_makefile dlls
/ctl3d.dll16 enable_win16
21185 wine_fn_config_makefile dlls
/ctl3d32 enable_ctl3d32
21186 wine_fn_config_makefile dlls
/ctl3dv2.dll16 enable_win16
21187 wine_fn_config_makefile dlls
/d2d1 enable_d2d1
21188 wine_fn_config_makefile dlls
/d2d
1/tests enable_tests
21189 wine_fn_config_makefile dlls
/d3d10 enable_d3d10
21190 wine_fn_config_makefile dlls
/d3d10
/tests enable_tests
21191 wine_fn_config_makefile dlls
/d3d10_1 enable_d3d10_1
21192 wine_fn_config_makefile dlls
/d3d10_
1/tests enable_tests
21193 wine_fn_config_makefile dlls
/d3d10core enable_d3d10core
21194 wine_fn_config_makefile dlls
/d3d10core
/tests enable_tests
21195 wine_fn_config_makefile dlls
/d3d11 enable_d3d11
21196 wine_fn_config_makefile dlls
/d3d11
/tests enable_tests
21197 wine_fn_config_makefile dlls
/d3d12 enable_d3d12
21198 wine_fn_config_makefile dlls
/d3d12
/tests enable_tests
21199 wine_fn_config_makefile dlls
/d3d12core enable_d3d12core
21200 wine_fn_config_makefile dlls
/d3d8 enable_d3d8
21201 wine_fn_config_makefile dlls
/d3d
8/tests enable_tests
21202 wine_fn_config_makefile dlls
/d3d8thk enable_d3d8thk
21203 wine_fn_config_makefile dlls
/d3d9 enable_d3d9
21204 wine_fn_config_makefile dlls
/d3d
9/tests enable_tests
21205 wine_fn_config_makefile dlls
/d3dcompiler_33 enable_d3dcompiler_33
21206 wine_fn_config_makefile dlls
/d3dcompiler_34 enable_d3dcompiler_34
21207 wine_fn_config_makefile dlls
/d3dcompiler_35 enable_d3dcompiler_35
21208 wine_fn_config_makefile dlls
/d3dcompiler_36 enable_d3dcompiler_36
21209 wine_fn_config_makefile dlls
/d3dcompiler_37 enable_d3dcompiler_37
21210 wine_fn_config_makefile dlls
/d3dcompiler_38 enable_d3dcompiler_38
21211 wine_fn_config_makefile dlls
/d3dcompiler_39 enable_d3dcompiler_39
21212 wine_fn_config_makefile dlls
/d3dcompiler_40 enable_d3dcompiler_40
21213 wine_fn_config_makefile dlls
/d3dcompiler_41 enable_d3dcompiler_41
21214 wine_fn_config_makefile dlls
/d3dcompiler_42 enable_d3dcompiler_42
21215 wine_fn_config_makefile dlls
/d3dcompiler_43 enable_d3dcompiler_43
21216 wine_fn_config_makefile dlls
/d3dcompiler_43
/tests enable_tests
21217 wine_fn_config_makefile dlls
/d3dcompiler_46 enable_d3dcompiler_46
21218 wine_fn_config_makefile dlls
/d3dcompiler_46
/tests enable_tests
21219 wine_fn_config_makefile dlls
/d3dcompiler_47 enable_d3dcompiler_47
21220 wine_fn_config_makefile dlls
/d3dcompiler_47
/tests enable_tests
21221 wine_fn_config_makefile dlls
/d3dim enable_d3dim
21222 wine_fn_config_makefile dlls
/d3dim700 enable_d3dim700
21223 wine_fn_config_makefile dlls
/d3drm enable_d3drm
21224 wine_fn_config_makefile dlls
/d3drm
/tests enable_tests
21225 wine_fn_config_makefile dlls
/d3dx10_33 enable_d3dx10_33
21226 wine_fn_config_makefile dlls
/d3dx10_34 enable_d3dx10_34
21227 wine_fn_config_makefile dlls
/d3dx10_34
/tests enable_tests
21228 wine_fn_config_makefile dlls
/d3dx10_35 enable_d3dx10_35
21229 wine_fn_config_makefile dlls
/d3dx10_35
/tests enable_tests
21230 wine_fn_config_makefile dlls
/d3dx10_36 enable_d3dx10_36
21231 wine_fn_config_makefile dlls
/d3dx10_36
/tests enable_tests
21232 wine_fn_config_makefile dlls
/d3dx10_37 enable_d3dx10_37
21233 wine_fn_config_makefile dlls
/d3dx10_37
/tests enable_tests
21234 wine_fn_config_makefile dlls
/d3dx10_38 enable_d3dx10_38
21235 wine_fn_config_makefile dlls
/d3dx10_38
/tests enable_tests
21236 wine_fn_config_makefile dlls
/d3dx10_39 enable_d3dx10_39
21237 wine_fn_config_makefile dlls
/d3dx10_39
/tests enable_tests
21238 wine_fn_config_makefile dlls
/d3dx10_40 enable_d3dx10_40
21239 wine_fn_config_makefile dlls
/d3dx10_40
/tests enable_tests
21240 wine_fn_config_makefile dlls
/d3dx10_41 enable_d3dx10_41
21241 wine_fn_config_makefile dlls
/d3dx10_41
/tests enable_tests
21242 wine_fn_config_makefile dlls
/d3dx10_42 enable_d3dx10_42
21243 wine_fn_config_makefile dlls
/d3dx10_42
/tests enable_tests
21244 wine_fn_config_makefile dlls
/d3dx10_43 enable_d3dx10_43
21245 wine_fn_config_makefile dlls
/d3dx10_43
/tests enable_tests
21246 wine_fn_config_makefile dlls
/d3dx11_42 enable_d3dx11_42
21247 wine_fn_config_makefile dlls
/d3dx11_42
/tests enable_tests
21248 wine_fn_config_makefile dlls
/d3dx11_43 enable_d3dx11_43
21249 wine_fn_config_makefile dlls
/d3dx11_43
/tests enable_tests
21250 wine_fn_config_makefile dlls
/d3dx9_24 enable_d3dx9_24
21251 wine_fn_config_makefile dlls
/d3dx9_25 enable_d3dx9_25
21252 wine_fn_config_makefile dlls
/d3dx9_26 enable_d3dx9_26
21253 wine_fn_config_makefile dlls
/d3dx9_27 enable_d3dx9_27
21254 wine_fn_config_makefile dlls
/d3dx9_28 enable_d3dx9_28
21255 wine_fn_config_makefile dlls
/d3dx9_29 enable_d3dx9_29
21256 wine_fn_config_makefile dlls
/d3dx9_30 enable_d3dx9_30
21257 wine_fn_config_makefile dlls
/d3dx9_31 enable_d3dx9_31
21258 wine_fn_config_makefile dlls
/d3dx9_32 enable_d3dx9_32
21259 wine_fn_config_makefile dlls
/d3dx9_33 enable_d3dx9_33
21260 wine_fn_config_makefile dlls
/d3dx9_34 enable_d3dx9_34
21261 wine_fn_config_makefile dlls
/d3dx9_35 enable_d3dx9_35
21262 wine_fn_config_makefile dlls
/d3dx9_36 enable_d3dx9_36
21263 wine_fn_config_makefile dlls
/d3dx9_36
/tests enable_tests
21264 wine_fn_config_makefile dlls
/d3dx9_37 enable_d3dx9_37
21265 wine_fn_config_makefile dlls
/d3dx9_38 enable_d3dx9_38
21266 wine_fn_config_makefile dlls
/d3dx9_39 enable_d3dx9_39
21267 wine_fn_config_makefile dlls
/d3dx9_40 enable_d3dx9_40
21268 wine_fn_config_makefile dlls
/d3dx9_41 enable_d3dx9_41
21269 wine_fn_config_makefile dlls
/d3dx9_42 enable_d3dx9_42
21270 wine_fn_config_makefile dlls
/d3dx9_43 enable_d3dx9_43
21271 wine_fn_config_makefile dlls
/d3dxof enable_d3dxof
21272 wine_fn_config_makefile dlls
/d3dxof
/tests enable_tests
21273 wine_fn_config_makefile dlls
/davclnt enable_davclnt
21274 wine_fn_config_makefile dlls
/dbgeng enable_dbgeng
21275 wine_fn_config_makefile dlls
/dbgeng
/tests enable_tests
21276 wine_fn_config_makefile dlls
/dbghelp enable_dbghelp
21277 wine_fn_config_makefile dlls
/dbghelp
/tests enable_tests
21278 wine_fn_config_makefile dlls
/dciman32 enable_dciman32
21279 wine_fn_config_makefile dlls
/dcomp enable_dcomp
21280 wine_fn_config_makefile dlls
/ddeml.dll16 enable_win16
21281 wine_fn_config_makefile dlls
/ddraw enable_ddraw
21282 wine_fn_config_makefile dlls
/ddraw
/tests enable_tests
21283 wine_fn_config_makefile dlls
/ddrawex enable_ddrawex
21284 wine_fn_config_makefile dlls
/ddrawex
/tests enable_tests
21285 wine_fn_config_makefile dlls
/devenum enable_devenum
21286 wine_fn_config_makefile dlls
/devenum
/tests enable_tests
21287 wine_fn_config_makefile dlls
/dhcpcsvc enable_dhcpcsvc
21288 wine_fn_config_makefile dlls
/dhcpcsvc
/tests enable_tests
21289 wine_fn_config_makefile dlls
/dhcpcsvc6 enable_dhcpcsvc6
21290 wine_fn_config_makefile dlls
/dhtmled.ocx enable_dhtmled_ocx
21291 wine_fn_config_makefile dlls
/diasymreader enable_diasymreader
21292 wine_fn_config_makefile dlls
/difxapi enable_difxapi
21293 wine_fn_config_makefile dlls
/dinput enable_dinput
21294 wine_fn_config_makefile dlls
/dinput
/tests enable_tests
21295 wine_fn_config_makefile dlls
/dinput8 enable_dinput8
21296 wine_fn_config_makefile dlls
/directmanipulation enable_directmanipulation
21297 wine_fn_config_makefile dlls
/directmanipulation
/tests enable_tests
21298 wine_fn_config_makefile dlls
/dispdib.dll16 enable_win16
21299 wine_fn_config_makefile dlls
/dispex enable_dispex
21300 wine_fn_config_makefile dlls
/dispex
/tests enable_tests
21301 wine_fn_config_makefile dlls
/display.drv16 enable_win16
21302 wine_fn_config_makefile dlls
/dmband enable_dmband
21303 wine_fn_config_makefile dlls
/dmband
/tests enable_tests
21304 wine_fn_config_makefile dlls
/dmcompos enable_dmcompos
21305 wine_fn_config_makefile dlls
/dmcompos
/tests enable_tests
21306 wine_fn_config_makefile dlls
/dmime enable_dmime
21307 wine_fn_config_makefile dlls
/dmime
/tests enable_tests
21308 wine_fn_config_makefile dlls
/dmloader enable_dmloader
21309 wine_fn_config_makefile dlls
/dmloader
/tests enable_tests
21310 wine_fn_config_makefile dlls
/dmscript enable_dmscript
21311 wine_fn_config_makefile dlls
/dmscript
/tests enable_tests
21312 wine_fn_config_makefile dlls
/dmstyle enable_dmstyle
21313 wine_fn_config_makefile dlls
/dmstyle
/tests enable_tests
21314 wine_fn_config_makefile dlls
/dmsynth enable_dmsynth
21315 wine_fn_config_makefile dlls
/dmsynth
/tests enable_tests
21316 wine_fn_config_makefile dlls
/dmusic enable_dmusic
21317 wine_fn_config_makefile dlls
/dmusic
/tests enable_tests
21318 wine_fn_config_makefile dlls
/dmusic32 enable_dmusic32
21319 wine_fn_config_makefile dlls
/dnsapi enable_dnsapi
21320 wine_fn_config_makefile dlls
/dnsapi
/tests enable_tests
21321 wine_fn_config_makefile dlls
/dplay enable_dplay
21322 wine_fn_config_makefile dlls
/dplayx enable_dplayx
21323 wine_fn_config_makefile dlls
/dplayx
/tests enable_tests
21324 wine_fn_config_makefile dlls
/dpnaddr enable_dpnaddr
21325 wine_fn_config_makefile dlls
/dpnet enable_dpnet
21326 wine_fn_config_makefile dlls
/dpnet
/tests enable_tests
21327 wine_fn_config_makefile dlls
/dpnhpast enable_dpnhpast
21328 wine_fn_config_makefile dlls
/dpnhupnp enable_dpnhupnp
21329 wine_fn_config_makefile dlls
/dpnlobby enable_dpnlobby
21330 wine_fn_config_makefile dlls
/dpvoice enable_dpvoice
21331 wine_fn_config_makefile dlls
/dpvoice
/tests enable_tests
21332 wine_fn_config_makefile dlls
/dpwsockx enable_dpwsockx
21333 wine_fn_config_makefile dlls
/drmclien enable_drmclien
21334 wine_fn_config_makefile dlls
/dsdmo enable_dsdmo
21335 wine_fn_config_makefile dlls
/dsdmo
/tests enable_tests
21336 wine_fn_config_makefile dlls
/dsound enable_dsound
21337 wine_fn_config_makefile dlls
/dsound
/tests enable_tests
21338 wine_fn_config_makefile dlls
/dsquery enable_dsquery
21339 wine_fn_config_makefile dlls
/dssenh enable_dssenh
21340 wine_fn_config_makefile dlls
/dssenh
/tests enable_tests
21341 wine_fn_config_makefile dlls
/dsuiext enable_dsuiext
21342 wine_fn_config_makefile dlls
/dswave enable_dswave
21343 wine_fn_config_makefile dlls
/dswave
/tests enable_tests
21344 wine_fn_config_makefile dlls
/dwmapi enable_dwmapi
21345 wine_fn_config_makefile dlls
/dwmapi
/tests enable_tests
21346 wine_fn_config_makefile dlls
/dwrite enable_dwrite
21347 wine_fn_config_makefile dlls
/dwrite
/tests enable_tests
21348 wine_fn_config_makefile dlls
/dx8vb enable_dx8vb
21349 wine_fn_config_makefile dlls
/dxdiagn enable_dxdiagn
21350 wine_fn_config_makefile dlls
/dxdiagn
/tests enable_tests
21351 wine_fn_config_makefile dlls
/dxgi enable_dxgi
21352 wine_fn_config_makefile dlls
/dxgi
/tests enable_tests
21353 wine_fn_config_makefile dlls
/dxtrans enable_dxtrans
21354 wine_fn_config_makefile dlls
/dxva2 enable_dxva2
21355 wine_fn_config_makefile dlls
/dxva
2/tests enable_tests
21356 wine_fn_config_makefile dlls
/esent enable_esent
21357 wine_fn_config_makefile dlls
/evr enable_evr
21358 wine_fn_config_makefile dlls
/evr
/tests enable_tests
21359 wine_fn_config_makefile dlls
/explorerframe enable_explorerframe
21360 wine_fn_config_makefile dlls
/explorerframe
/tests enable_tests
21361 wine_fn_config_makefile dlls
/faultrep enable_faultrep
21362 wine_fn_config_makefile dlls
/faultrep
/tests enable_tests
21363 wine_fn_config_makefile dlls
/feclient enable_feclient
21364 wine_fn_config_makefile dlls
/fltlib enable_fltlib
21365 wine_fn_config_makefile dlls
/fltmgr.sys enable_fltmgr_sys
21366 wine_fn_config_makefile dlls
/fntcache enable_fntcache
21367 wine_fn_config_makefile dlls
/fontsub enable_fontsub
21368 wine_fn_config_makefile dlls
/fusion enable_fusion
21369 wine_fn_config_makefile dlls
/fusion
/tests enable_tests
21370 wine_fn_config_makefile dlls
/fwpuclnt enable_fwpuclnt
21371 wine_fn_config_makefile dlls
/gameux enable_gameux
21372 wine_fn_config_makefile dlls
/gameux
/tests enable_tests
21373 wine_fn_config_makefile dlls
/gamingtcui enable_gamingtcui
21374 wine_fn_config_makefile dlls
/gdi.exe16 enable_win16
21375 wine_fn_config_makefile dlls
/gdi32 enable_gdi32
21376 wine_fn_config_makefile dlls
/gdi32
/tests enable_tests
21377 wine_fn_config_makefile dlls
/gdiplus enable_gdiplus
21378 wine_fn_config_makefile dlls
/gdiplus
/tests enable_tests
21379 wine_fn_config_makefile dlls
/glu32 enable_glu32
21380 wine_fn_config_makefile dlls
/gphoto2.ds enable_gphoto2_ds
21381 wine_fn_config_makefile dlls
/gpkcsp enable_gpkcsp
21382 wine_fn_config_makefile dlls
/graphicscapture enable_graphicscapture
21383 wine_fn_config_makefile dlls
/graphicscapture
/tests enable_tests
21384 wine_fn_config_makefile dlls
/hal enable_hal
21385 wine_fn_config_makefile dlls
/hhctrl.ocx enable_hhctrl_ocx
21386 wine_fn_config_makefile dlls
/hid enable_hid
21387 wine_fn_config_makefile dlls
/hid
/tests enable_tests
21388 wine_fn_config_makefile dlls
/hidclass.sys enable_hidclass_sys
21389 wine_fn_config_makefile dlls
/hidparse.sys enable_hidparse_sys
21390 wine_fn_config_makefile dlls
/hlink enable_hlink
21391 wine_fn_config_makefile dlls
/hlink
/tests enable_tests
21392 wine_fn_config_makefile dlls
/hnetcfg enable_hnetcfg
21393 wine_fn_config_makefile dlls
/hnetcfg
/tests enable_tests
21394 wine_fn_config_makefile dlls
/http.sys enable_http_sys
21395 wine_fn_config_makefile dlls
/httpapi enable_httpapi
21396 wine_fn_config_makefile dlls
/httpapi
/tests enable_tests
21397 wine_fn_config_makefile dlls
/ia2comproxy enable_ia2comproxy
21398 wine_fn_config_makefile dlls
/iccvid enable_iccvid
21399 wine_fn_config_makefile dlls
/icmp enable_icmp
21400 wine_fn_config_makefile dlls
/ieframe enable_ieframe
21401 wine_fn_config_makefile dlls
/ieframe
/tests enable_tests
21402 wine_fn_config_makefile dlls
/ieproxy enable_ieproxy
21403 wine_fn_config_makefile dlls
/ifsmgr.vxd enable_win16
21404 wine_fn_config_makefile dlls
/imaadp32.acm enable_imaadp32_acm
21405 wine_fn_config_makefile dlls
/imagehlp enable_imagehlp
21406 wine_fn_config_makefile dlls
/imagehlp
/tests enable_tests
21407 wine_fn_config_makefile dlls
/imm.dll16 enable_win16
21408 wine_fn_config_makefile dlls
/imm32 enable_imm32
21409 wine_fn_config_makefile dlls
/imm32
/tests enable_tests
21410 wine_fn_config_makefile dlls
/inetcomm enable_inetcomm
21411 wine_fn_config_makefile dlls
/inetcomm
/tests enable_tests
21412 wine_fn_config_makefile dlls
/inetcpl.cpl enable_inetcpl_cpl
21413 wine_fn_config_makefile dlls
/inetmib1 enable_inetmib1
21414 wine_fn_config_makefile dlls
/inetmib
1/tests enable_tests
21415 wine_fn_config_makefile dlls
/infosoft enable_infosoft
21416 wine_fn_config_makefile dlls
/infosoft
/tests enable_tests
21417 wine_fn_config_makefile dlls
/initpki enable_initpki
21418 wine_fn_config_makefile dlls
/inkobj enable_inkobj
21419 wine_fn_config_makefile dlls
/inseng enable_inseng
21420 wine_fn_config_makefile dlls
/iphlpapi enable_iphlpapi
21421 wine_fn_config_makefile dlls
/iphlpapi
/tests enable_tests
21422 wine_fn_config_makefile dlls
/iprop enable_iprop
21423 wine_fn_config_makefile dlls
/ir50_32 enable_ir50_32
21424 wine_fn_config_makefile dlls
/irprops.cpl enable_irprops_cpl
21425 wine_fn_config_makefile dlls
/itircl enable_itircl
21426 wine_fn_config_makefile dlls
/itss enable_itss
21427 wine_fn_config_makefile dlls
/itss
/tests enable_tests
21428 wine_fn_config_makefile dlls
/joy.cpl enable_joy_cpl
21429 wine_fn_config_makefile dlls
/jscript enable_jscript
21430 wine_fn_config_makefile dlls
/jscript
/tests enable_tests
21431 wine_fn_config_makefile dlls
/jsproxy enable_jsproxy
21432 wine_fn_config_makefile dlls
/jsproxy
/tests enable_tests
21433 wine_fn_config_makefile dlls
/kerberos enable_kerberos
21434 wine_fn_config_makefile dlls
/kernel32 enable_kernel32
21435 wine_fn_config_makefile dlls
/kernel32
/tests enable_tests
21436 wine_fn_config_makefile dlls
/kernelbase enable_kernelbase
21437 wine_fn_config_makefile dlls
/kernelbase
/tests enable_tests
21438 wine_fn_config_makefile dlls
/keyboard.drv16 enable_win16
21439 wine_fn_config_makefile dlls
/krnl386.exe16 enable_win16
21440 wine_fn_config_makefile dlls
/ksecdd.sys enable_ksecdd_sys
21441 wine_fn_config_makefile dlls
/ksproxy.ax enable_ksproxy_ax
21442 wine_fn_config_makefile dlls
/ksuser enable_ksuser
21443 wine_fn_config_makefile dlls
/ktmw32 enable_ktmw32
21444 wine_fn_config_makefile dlls
/l3codeca.acm enable_l3codeca_acm
21445 wine_fn_config_makefile dlls
/light.msstyles enable_light_msstyles
21446 wine_fn_config_makefile dlls
/loadperf enable_loadperf
21447 wine_fn_config_makefile dlls
/localspl enable_localspl
21448 wine_fn_config_makefile dlls
/localspl
/tests enable_tests
21449 wine_fn_config_makefile dlls
/localui enable_localui
21450 wine_fn_config_makefile dlls
/localui
/tests enable_tests
21451 wine_fn_config_makefile dlls
/lz32 enable_lz32
21452 wine_fn_config_makefile dlls
/lz32
/tests enable_tests
21453 wine_fn_config_makefile dlls
/lzexpand.dll16 enable_win16
21454 wine_fn_config_makefile dlls
/mapi32 enable_mapi32
21455 wine_fn_config_makefile dlls
/mapi32
/tests enable_tests
21456 wine_fn_config_makefile dlls
/mapistub enable_mapistub
21457 wine_fn_config_makefile dlls
/mciavi32 enable_mciavi32
21458 wine_fn_config_makefile dlls
/mcicda enable_mcicda
21459 wine_fn_config_makefile dlls
/mciqtz32 enable_mciqtz32
21460 wine_fn_config_makefile dlls
/mciseq enable_mciseq
21461 wine_fn_config_makefile dlls
/mciwave enable_mciwave
21462 wine_fn_config_makefile dlls
/mf enable_mf
21463 wine_fn_config_makefile dlls
/mf
/tests enable_tests
21464 wine_fn_config_makefile dlls
/mf3216 enable_mf3216
21465 wine_fn_config_makefile dlls
/mferror enable_mferror
21466 wine_fn_config_makefile dlls
/mfmediaengine enable_mfmediaengine
21467 wine_fn_config_makefile dlls
/mfmediaengine
/tests enable_tests
21468 wine_fn_config_makefile dlls
/mfplat enable_mfplat
21469 wine_fn_config_makefile dlls
/mfplat
/tests enable_tests
21470 wine_fn_config_makefile dlls
/mfplay enable_mfplay
21471 wine_fn_config_makefile dlls
/mfplay
/tests enable_tests
21472 wine_fn_config_makefile dlls
/mfreadwrite enable_mfreadwrite
21473 wine_fn_config_makefile dlls
/mfreadwrite
/tests enable_tests
21474 wine_fn_config_makefile dlls
/mfsrcsnk enable_mfsrcsnk
21475 wine_fn_config_makefile dlls
/mfsrcsnk
/tests enable_tests
21476 wine_fn_config_makefile dlls
/mgmtapi enable_mgmtapi
21477 wine_fn_config_makefile dlls
/midimap enable_midimap
21478 wine_fn_config_makefile dlls
/mlang enable_mlang
21479 wine_fn_config_makefile dlls
/mlang
/tests enable_tests
21480 wine_fn_config_makefile dlls
/mmcndmgr enable_mmcndmgr
21481 wine_fn_config_makefile dlls
/mmcndmgr
/tests enable_tests
21482 wine_fn_config_makefile dlls
/mmdevapi enable_mmdevapi
21483 wine_fn_config_makefile dlls
/mmdevapi
/tests enable_tests
21484 wine_fn_config_makefile dlls
/mmdevldr.vxd enable_win16
21485 wine_fn_config_makefile dlls
/mmsystem.dll16 enable_win16
21486 wine_fn_config_makefile dlls
/monodebg.vxd enable_win16
21487 wine_fn_config_makefile dlls
/mountmgr.sys enable_mountmgr_sys
21488 wine_fn_config_makefile dlls
/mouse.drv16 enable_win16
21489 wine_fn_config_makefile dlls
/mp3dmod enable_mp3dmod
21490 wine_fn_config_makefile dlls
/mp3dmod
/tests enable_tests
21491 wine_fn_config_makefile dlls
/mpr enable_mpr
21492 wine_fn_config_makefile dlls
/mpr
/tests enable_tests
21493 wine_fn_config_makefile dlls
/mprapi enable_mprapi
21494 wine_fn_config_makefile dlls
/msacm.dll16 enable_win16
21495 wine_fn_config_makefile dlls
/msacm32.drv enable_msacm32_drv
21496 wine_fn_config_makefile dlls
/msacm32 enable_msacm32
21497 wine_fn_config_makefile dlls
/msacm32
/tests enable_tests
21498 wine_fn_config_makefile dlls
/msado15 enable_msado15
21499 wine_fn_config_makefile dlls
/msado15
/tests enable_tests
21500 wine_fn_config_makefile dlls
/msadp32.acm enable_msadp32_acm
21501 wine_fn_config_makefile dlls
/msasn1 enable_msasn1
21502 wine_fn_config_makefile dlls
/msasn
1/tests enable_tests
21503 wine_fn_config_makefile dlls
/msauddecmft enable_msauddecmft
21504 wine_fn_config_makefile dlls
/mscat32 enable_mscat32
21505 wine_fn_config_makefile dlls
/mscms enable_mscms
21506 wine_fn_config_makefile dlls
/mscms
/tests enable_tests
21507 wine_fn_config_makefile dlls
/mscoree enable_mscoree
21508 wine_fn_config_makefile dlls
/mscoree
/tests enable_tests
21509 wine_fn_config_makefile dlls
/mscorwks enable_mscorwks
21510 wine_fn_config_makefile dlls
/msctf enable_msctf
21511 wine_fn_config_makefile dlls
/msctf
/tests enable_tests
21512 wine_fn_config_makefile dlls
/msctfmonitor enable_msctfmonitor
21513 wine_fn_config_makefile dlls
/msctfp enable_msctfp
21514 wine_fn_config_makefile dlls
/msdaps enable_msdaps
21515 wine_fn_config_makefile dlls
/msdasql enable_msdasql
21516 wine_fn_config_makefile dlls
/msdasql
/tests enable_tests
21517 wine_fn_config_makefile dlls
/msdelta enable_msdelta
21518 wine_fn_config_makefile dlls
/msdmo enable_msdmo
21519 wine_fn_config_makefile dlls
/msdmo
/tests enable_tests
21520 wine_fn_config_makefile dlls
/msdrm enable_msdrm
21521 wine_fn_config_makefile dlls
/msftedit enable_msftedit
21522 wine_fn_config_makefile dlls
/msftedit
/tests enable_tests
21523 wine_fn_config_makefile dlls
/msg711.acm enable_msg711_acm
21524 wine_fn_config_makefile dlls
/msgsm32.acm enable_msgsm32_acm
21525 wine_fn_config_makefile dlls
/mshtml.tlb enable_mshtml_tlb
21526 wine_fn_config_makefile dlls
/mshtml enable_mshtml
21527 wine_fn_config_makefile dlls
/mshtml
/tests enable_tests
21528 wine_fn_config_makefile dlls
/msi enable_msi
21529 wine_fn_config_makefile dlls
/msi
/tests enable_tests
21530 wine_fn_config_makefile dlls
/msident enable_msident
21531 wine_fn_config_makefile dlls
/msimg32 enable_msimg32
21532 wine_fn_config_makefile dlls
/msimsg enable_msimsg
21533 wine_fn_config_makefile dlls
/msimtf enable_msimtf
21534 wine_fn_config_makefile dlls
/msisip enable_msisip
21535 wine_fn_config_makefile dlls
/msisys.ocx enable_msisys_ocx
21536 wine_fn_config_makefile dlls
/msls31 enable_msls31
21537 wine_fn_config_makefile dlls
/msmpeg2vdec enable_msmpeg2vdec
21538 wine_fn_config_makefile dlls
/msnet32 enable_msnet32
21539 wine_fn_config_makefile dlls
/mspatcha enable_mspatcha
21540 wine_fn_config_makefile dlls
/mspatcha
/tests enable_tests
21541 wine_fn_config_makefile dlls
/msports enable_msports
21542 wine_fn_config_makefile dlls
/msrle32 enable_msrle32
21543 wine_fn_config_makefile dlls
/msrle32
/tests enable_tests
21544 wine_fn_config_makefile dlls
/msscript.ocx enable_msscript_ocx
21545 wine_fn_config_makefile dlls
/msscript.ocx
/tests enable_tests
21546 wine_fn_config_makefile dlls
/mssign32 enable_mssign32
21547 wine_fn_config_makefile dlls
/mssip32 enable_mssip32
21548 wine_fn_config_makefile dlls
/mstask enable_mstask
21549 wine_fn_config_makefile dlls
/mstask
/tests enable_tests
21550 wine_fn_config_makefile dlls
/msv1_0 enable_msv1_0
21551 wine_fn_config_makefile dlls
/msvcirt enable_msvcirt
21552 wine_fn_config_makefile dlls
/msvcirt
/tests enable_tests
21553 wine_fn_config_makefile dlls
/msvcm80 enable_msvcm80
21554 wine_fn_config_makefile dlls
/msvcm90 enable_msvcm90
21555 wine_fn_config_makefile dlls
/msvcp100 enable_msvcp100
21556 wine_fn_config_makefile dlls
/msvcp100
/tests enable_tests
21557 wine_fn_config_makefile dlls
/msvcp110 enable_msvcp110
21558 wine_fn_config_makefile dlls
/msvcp110
/tests enable_tests
21559 wine_fn_config_makefile dlls
/msvcp120 enable_msvcp120
21560 wine_fn_config_makefile dlls
/msvcp120
/tests enable_tests
21561 wine_fn_config_makefile dlls
/msvcp120_app enable_msvcp120_app
21562 wine_fn_config_makefile dlls
/msvcp140 enable_msvcp140
21563 wine_fn_config_makefile dlls
/msvcp140
/tests enable_tests
21564 wine_fn_config_makefile dlls
/msvcp140_1 enable_msvcp140_1
21565 wine_fn_config_makefile dlls
/msvcp140_
1/tests enable_tests
21566 wine_fn_config_makefile dlls
/msvcp140_2 enable_msvcp140_2
21567 wine_fn_config_makefile dlls
/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21568 wine_fn_config_makefile dlls
/msvcp140_atomic_wait
/tests enable_tests
21569 wine_fn_config_makefile dlls
/msvcp60 enable_msvcp60
21570 wine_fn_config_makefile dlls
/msvcp60
/tests enable_tests
21571 wine_fn_config_makefile dlls
/msvcp70 enable_msvcp70
21572 wine_fn_config_makefile dlls
/msvcp71 enable_msvcp71
21573 wine_fn_config_makefile dlls
/msvcp80 enable_msvcp80
21574 wine_fn_config_makefile dlls
/msvcp90 enable_msvcp90
21575 wine_fn_config_makefile dlls
/msvcp90
/tests enable_tests
21576 wine_fn_config_makefile dlls
/msvcp_win enable_msvcp_win
21577 wine_fn_config_makefile dlls
/msvcr100 enable_msvcr100
21578 wine_fn_config_makefile dlls
/msvcr100
/tests enable_tests
21579 wine_fn_config_makefile dlls
/msvcr110 enable_msvcr110
21580 wine_fn_config_makefile dlls
/msvcr110
/tests enable_tests
21581 wine_fn_config_makefile dlls
/msvcr120 enable_msvcr120
21582 wine_fn_config_makefile dlls
/msvcr120
/tests enable_tests
21583 wine_fn_config_makefile dlls
/msvcr120_app enable_msvcr120_app
21584 wine_fn_config_makefile dlls
/msvcr70 enable_msvcr70
21585 wine_fn_config_makefile dlls
/msvcr70
/tests enable_tests
21586 wine_fn_config_makefile dlls
/msvcr71 enable_msvcr71
21587 wine_fn_config_makefile dlls
/msvcr71
/tests enable_tests
21588 wine_fn_config_makefile dlls
/msvcr80 enable_msvcr80
21589 wine_fn_config_makefile dlls
/msvcr80
/tests enable_tests
21590 wine_fn_config_makefile dlls
/msvcr90 enable_msvcr90
21591 wine_fn_config_makefile dlls
/msvcr90
/tests enable_tests
21592 wine_fn_config_makefile dlls
/msvcrt enable_msvcrt
21593 wine_fn_config_makefile dlls
/msvcrt
/tests enable_tests
21594 wine_fn_config_makefile dlls
/msvcrt20 enable_msvcrt20
21595 wine_fn_config_makefile dlls
/msvcrt40 enable_msvcrt40
21596 wine_fn_config_makefile dlls
/msvcrtd enable_msvcrtd
21597 wine_fn_config_makefile dlls
/msvcrtd
/tests enable_tests
21598 wine_fn_config_makefile dlls
/msvfw32 enable_msvfw32
21599 wine_fn_config_makefile dlls
/msvfw32
/tests enable_tests
21600 wine_fn_config_makefile dlls
/msvidc32 enable_msvidc32
21601 wine_fn_config_makefile dlls
/msvideo.dll16 enable_win16
21602 wine_fn_config_makefile dlls
/mswsock enable_mswsock
21603 wine_fn_config_makefile dlls
/msxml enable_msxml
21604 wine_fn_config_makefile dlls
/msxml2 enable_msxml2
21605 wine_fn_config_makefile dlls
/msxml3 enable_msxml3
21606 wine_fn_config_makefile dlls
/msxml
3/tests enable_tests
21607 wine_fn_config_makefile dlls
/msxml4 enable_msxml4
21608 wine_fn_config_makefile dlls
/msxml6 enable_msxml6
21609 wine_fn_config_makefile dlls
/mtxdm enable_mtxdm
21610 wine_fn_config_makefile dlls
/ncrypt enable_ncrypt
21611 wine_fn_config_makefile dlls
/ncrypt
/tests enable_tests
21612 wine_fn_config_makefile dlls
/nddeapi enable_nddeapi
21613 wine_fn_config_makefile dlls
/ndis.sys enable_ndis_sys
21614 wine_fn_config_makefile dlls
/ndis.sys
/tests enable_tests
21615 wine_fn_config_makefile dlls
/netapi32 enable_netapi32
21616 wine_fn_config_makefile dlls
/netapi32
/tests enable_tests
21617 wine_fn_config_makefile dlls
/netcfgx enable_netcfgx
21618 wine_fn_config_makefile dlls
/netcfgx
/tests enable_tests
21619 wine_fn_config_makefile dlls
/netio.sys enable_netio_sys
21620 wine_fn_config_makefile dlls
/netprofm enable_netprofm
21621 wine_fn_config_makefile dlls
/netprofm
/tests enable_tests
21622 wine_fn_config_makefile dlls
/netutils enable_netutils
21623 wine_fn_config_makefile dlls
/newdev enable_newdev
21624 wine_fn_config_makefile dlls
/ninput enable_ninput
21625 wine_fn_config_makefile dlls
/ninput
/tests enable_tests
21626 wine_fn_config_makefile dlls
/normaliz enable_normaliz
21627 wine_fn_config_makefile dlls
/npmshtml enable_npmshtml
21628 wine_fn_config_makefile dlls
/npptools enable_npptools
21629 wine_fn_config_makefile dlls
/nsi enable_nsi
21630 wine_fn_config_makefile dlls
/nsi
/tests enable_tests
21631 wine_fn_config_makefile dlls
/nsiproxy.sys enable_nsiproxy_sys
21632 wine_fn_config_makefile dlls
/ntdll enable_ntdll
21633 wine_fn_config_makefile dlls
/ntdll
/tests enable_tests
21634 wine_fn_config_makefile dlls
/ntdsapi enable_ntdsapi
21635 wine_fn_config_makefile dlls
/ntdsapi
/tests enable_tests
21636 wine_fn_config_makefile dlls
/ntoskrnl.exe enable_ntoskrnl_exe
21637 wine_fn_config_makefile dlls
/ntoskrnl.exe
/tests enable_tests
21638 wine_fn_config_makefile dlls
/ntprint enable_ntprint
21639 wine_fn_config_makefile dlls
/ntprint
/tests enable_tests
21640 wine_fn_config_makefile dlls
/objsel enable_objsel
21641 wine_fn_config_makefile dlls
/odbc32 enable_odbc32
21642 wine_fn_config_makefile dlls
/odbcbcp enable_odbcbcp
21643 wine_fn_config_makefile dlls
/odbccp32 enable_odbccp32
21644 wine_fn_config_makefile dlls
/odbccp32
/tests enable_tests
21645 wine_fn_config_makefile dlls
/odbccu32 enable_odbccu32
21646 wine_fn_config_makefile dlls
/ole2.dll16 enable_win16
21647 wine_fn_config_makefile dlls
/ole2conv.dll16 enable_win16
21648 wine_fn_config_makefile dlls
/ole2disp.dll16 enable_win16
21649 wine_fn_config_makefile dlls
/ole2nls.dll16 enable_win16
21650 wine_fn_config_makefile dlls
/ole2prox.dll16 enable_win16
21651 wine_fn_config_makefile dlls
/ole2thk.dll16 enable_win16
21652 wine_fn_config_makefile dlls
/ole32 enable_ole32
21653 wine_fn_config_makefile dlls
/ole32
/tests enable_tests
21654 wine_fn_config_makefile dlls
/oleacc enable_oleacc
21655 wine_fn_config_makefile dlls
/oleacc
/tests enable_tests
21656 wine_fn_config_makefile dlls
/oleaut32 enable_oleaut32
21657 wine_fn_config_makefile dlls
/oleaut32
/tests enable_tests
21658 wine_fn_config_makefile dlls
/olecli.dll16 enable_win16
21659 wine_fn_config_makefile dlls
/olecli32 enable_olecli32
21660 wine_fn_config_makefile dlls
/oledb32 enable_oledb32
21661 wine_fn_config_makefile dlls
/oledb32
/tests enable_tests
21662 wine_fn_config_makefile dlls
/oledlg enable_oledlg
21663 wine_fn_config_makefile dlls
/oledlg
/tests enable_tests
21664 wine_fn_config_makefile dlls
/olepro32 enable_olepro32
21665 wine_fn_config_makefile dlls
/olesvr.dll16 enable_win16
21666 wine_fn_config_makefile dlls
/olesvr32 enable_olesvr32
21667 wine_fn_config_makefile dlls
/olethk32 enable_olethk32
21668 wine_fn_config_makefile dlls
/opcservices enable_opcservices
21669 wine_fn_config_makefile dlls
/opcservices
/tests enable_tests
21670 wine_fn_config_makefile dlls
/opencl enable_opencl
21671 wine_fn_config_makefile dlls
/opengl32 enable_opengl32
21672 wine_fn_config_makefile dlls
/opengl32
/tests enable_tests
21673 wine_fn_config_makefile dlls
/packager enable_packager
21674 wine_fn_config_makefile dlls
/packager
/tests enable_tests
21675 wine_fn_config_makefile dlls
/pdh enable_pdh
21676 wine_fn_config_makefile dlls
/pdh
/tests enable_tests
21677 wine_fn_config_makefile dlls
/photometadatahandler enable_photometadatahandler
21678 wine_fn_config_makefile dlls
/pidgen enable_pidgen
21679 wine_fn_config_makefile dlls
/powrprof enable_powrprof
21680 wine_fn_config_makefile dlls
/printui enable_printui
21681 wine_fn_config_makefile dlls
/prntvpt enable_prntvpt
21682 wine_fn_config_makefile dlls
/prntvpt
/tests enable_tests
21683 wine_fn_config_makefile dlls
/propsys enable_propsys
21684 wine_fn_config_makefile dlls
/propsys
/tests enable_tests
21685 wine_fn_config_makefile dlls
/psapi enable_psapi
21686 wine_fn_config_makefile dlls
/psapi
/tests enable_tests
21687 wine_fn_config_makefile dlls
/pstorec enable_pstorec
21688 wine_fn_config_makefile dlls
/pstorec
/tests enable_tests
21689 wine_fn_config_makefile dlls
/pwrshplugin enable_pwrshplugin
21690 wine_fn_config_makefile dlls
/qasf enable_qasf
21691 wine_fn_config_makefile dlls
/qasf
/tests enable_tests
21692 wine_fn_config_makefile dlls
/qcap enable_qcap
21693 wine_fn_config_makefile dlls
/qcap
/tests enable_tests
21694 wine_fn_config_makefile dlls
/qdvd enable_qdvd
21695 wine_fn_config_makefile dlls
/qdvd
/tests enable_tests
21696 wine_fn_config_makefile dlls
/qedit enable_qedit
21697 wine_fn_config_makefile dlls
/qedit
/tests enable_tests
21698 wine_fn_config_makefile dlls
/qmgr enable_qmgr
21699 wine_fn_config_makefile dlls
/qmgr
/tests enable_tests
21700 wine_fn_config_makefile dlls
/qmgrprxy enable_qmgrprxy
21701 wine_fn_config_makefile dlls
/quartz enable_quartz
21702 wine_fn_config_makefile dlls
/quartz
/tests enable_tests
21703 wine_fn_config_makefile dlls
/query enable_query
21704 wine_fn_config_makefile dlls
/qwave enable_qwave
21705 wine_fn_config_makefile dlls
/qwave
/tests enable_tests
21706 wine_fn_config_makefile dlls
/rasapi16.dll16 enable_win16
21707 wine_fn_config_makefile dlls
/rasapi32 enable_rasapi32
21708 wine_fn_config_makefile dlls
/rasapi32
/tests enable_tests
21709 wine_fn_config_makefile dlls
/rasdlg enable_rasdlg
21710 wine_fn_config_makefile dlls
/regapi enable_regapi
21711 wine_fn_config_makefile dlls
/resutils enable_resutils
21712 wine_fn_config_makefile dlls
/riched20 enable_riched20
21713 wine_fn_config_makefile dlls
/riched20
/tests enable_tests
21714 wine_fn_config_makefile dlls
/riched32 enable_riched32
21715 wine_fn_config_makefile dlls
/riched32
/tests enable_tests
21716 wine_fn_config_makefile dlls
/rpcrt4 enable_rpcrt4
21717 wine_fn_config_makefile dlls
/rpcrt
4/tests enable_tests
21718 wine_fn_config_makefile dlls
/rsabase enable_rsabase
21719 wine_fn_config_makefile dlls
/rsaenh enable_rsaenh
21720 wine_fn_config_makefile dlls
/rsaenh
/tests enable_tests
21721 wine_fn_config_makefile dlls
/rstrtmgr enable_rstrtmgr
21722 wine_fn_config_makefile dlls
/rtutils enable_rtutils
21723 wine_fn_config_makefile dlls
/rtworkq enable_rtworkq
21724 wine_fn_config_makefile dlls
/rtworkq
/tests enable_tests
21725 wine_fn_config_makefile dlls
/samlib enable_samlib
21726 wine_fn_config_makefile dlls
/sane.ds enable_sane_ds
21727 wine_fn_config_makefile dlls
/sapi enable_sapi
21728 wine_fn_config_makefile dlls
/sapi
/tests enable_tests
21729 wine_fn_config_makefile dlls
/sas enable_sas
21730 wine_fn_config_makefile dlls
/scarddlg enable_scarddlg
21731 wine_fn_config_makefile dlls
/scardsvr enable_scardsvr
21732 wine_fn_config_makefile dlls
/sccbase enable_sccbase
21733 wine_fn_config_makefile dlls
/schannel enable_schannel
21734 wine_fn_config_makefile dlls
/schannel
/tests enable_tests
21735 wine_fn_config_makefile dlls
/schedsvc enable_schedsvc
21736 wine_fn_config_makefile dlls
/schedsvc
/tests enable_tests
21737 wine_fn_config_makefile dlls
/scrobj enable_scrobj
21738 wine_fn_config_makefile dlls
/scrobj
/tests enable_tests
21739 wine_fn_config_makefile dlls
/scrrun enable_scrrun
21740 wine_fn_config_makefile dlls
/scrrun
/tests enable_tests
21741 wine_fn_config_makefile dlls
/scsiport.sys enable_scsiport_sys
21742 wine_fn_config_makefile dlls
/sechost enable_sechost
21743 wine_fn_config_makefile dlls
/secur32 enable_secur32
21744 wine_fn_config_makefile dlls
/secur32
/tests enable_tests
21745 wine_fn_config_makefile dlls
/security enable_security
21746 wine_fn_config_makefile dlls
/sensapi enable_sensapi
21747 wine_fn_config_makefile dlls
/serialui enable_serialui
21748 wine_fn_config_makefile dlls
/serialui
/tests enable_tests
21749 wine_fn_config_makefile dlls
/setupapi enable_setupapi
21750 wine_fn_config_makefile dlls
/setupapi
/tests enable_tests
21751 wine_fn_config_makefile dlls
/setupx.dll16 enable_win16
21752 wine_fn_config_makefile dlls
/sfc enable_sfc
21753 wine_fn_config_makefile dlls
/sfc_os enable_sfc_os
21754 wine_fn_config_makefile dlls
/shcore enable_shcore
21755 wine_fn_config_makefile dlls
/shcore
/tests enable_tests
21756 wine_fn_config_makefile dlls
/shdoclc enable_shdoclc
21757 wine_fn_config_makefile dlls
/shdocvw enable_shdocvw
21758 wine_fn_config_makefile dlls
/shdocvw
/tests enable_tests
21759 wine_fn_config_makefile dlls
/shell.dll16 enable_win16
21760 wine_fn_config_makefile dlls
/shell32 enable_shell32
21761 wine_fn_config_makefile dlls
/shell32
/tests enable_tests
21762 wine_fn_config_makefile dlls
/shfolder enable_shfolder
21763 wine_fn_config_makefile dlls
/shlwapi enable_shlwapi
21764 wine_fn_config_makefile dlls
/shlwapi
/tests enable_tests
21765 wine_fn_config_makefile dlls
/slbcsp enable_slbcsp
21766 wine_fn_config_makefile dlls
/slc enable_slc
21767 wine_fn_config_makefile dlls
/slc
/tests enable_tests
21768 wine_fn_config_makefile dlls
/snmpapi enable_snmpapi
21769 wine_fn_config_makefile dlls
/snmpapi
/tests enable_tests
21770 wine_fn_config_makefile dlls
/softpub enable_softpub
21771 wine_fn_config_makefile dlls
/sound.drv16 enable_win16
21772 wine_fn_config_makefile dlls
/spoolss enable_spoolss
21773 wine_fn_config_makefile dlls
/spoolss
/tests enable_tests
21774 wine_fn_config_makefile dlls
/sppc enable_sppc
21775 wine_fn_config_makefile dlls
/srclient enable_srclient
21776 wine_fn_config_makefile dlls
/srvcli enable_srvcli
21777 wine_fn_config_makefile dlls
/sspicli enable_sspicli
21778 wine_fn_config_makefile dlls
/stdole2.tlb enable_stdole2_tlb
21779 wine_fn_config_makefile dlls
/stdole32.tlb enable_stdole32_tlb
21780 wine_fn_config_makefile dlls
/sti enable_sti
21781 wine_fn_config_makefile dlls
/sti
/tests enable_tests
21782 wine_fn_config_makefile dlls
/storage.dll16 enable_win16
21783 wine_fn_config_makefile dlls
/stress.dll16 enable_win16
21784 wine_fn_config_makefile dlls
/strmdll enable_strmdll
21785 wine_fn_config_makefile dlls
/svrapi enable_svrapi
21786 wine_fn_config_makefile dlls
/sxs enable_sxs
21787 wine_fn_config_makefile dlls
/sxs
/tests enable_tests
21788 wine_fn_config_makefile dlls
/system.drv16 enable_win16
21789 wine_fn_config_makefile dlls
/t2embed enable_t2embed
21790 wine_fn_config_makefile dlls
/t2embed
/tests enable_tests
21791 wine_fn_config_makefile dlls
/tapi32 enable_tapi32
21792 wine_fn_config_makefile dlls
/tapi32
/tests enable_tests
21793 wine_fn_config_makefile dlls
/taskschd enable_taskschd
21794 wine_fn_config_makefile dlls
/taskschd
/tests enable_tests
21795 wine_fn_config_makefile dlls
/tbs enable_tbs
21796 wine_fn_config_makefile dlls
/tdh enable_tdh
21797 wine_fn_config_makefile dlls
/tdi.sys enable_tdi_sys
21798 wine_fn_config_makefile dlls
/threadpoolwinrt enable_threadpoolwinrt
21799 wine_fn_config_makefile dlls
/threadpoolwinrt
/tests enable_tests
21800 wine_fn_config_makefile dlls
/toolhelp.dll16 enable_win16
21801 wine_fn_config_makefile dlls
/traffic enable_traffic
21802 wine_fn_config_makefile dlls
/twain.dll16 enable_win16
21803 wine_fn_config_makefile dlls
/twain_32 enable_twain_32
21804 wine_fn_config_makefile dlls
/twain_32
/tests enable_tests
21805 wine_fn_config_makefile dlls
/twinapi.appcore enable_twinapi_appcore
21806 wine_fn_config_makefile dlls
/typelib.dll16 enable_win16
21807 wine_fn_config_makefile dlls
/tzres enable_tzres
21808 wine_fn_config_makefile dlls
/ucrtbase enable_ucrtbase
21809 wine_fn_config_makefile dlls
/ucrtbase
/tests enable_tests
21810 wine_fn_config_makefile dlls
/uianimation enable_uianimation
21811 wine_fn_config_makefile dlls
/uianimation
/tests enable_tests
21812 wine_fn_config_makefile dlls
/uiautomationcore enable_uiautomationcore
21813 wine_fn_config_makefile dlls
/uiautomationcore
/tests enable_tests
21814 wine_fn_config_makefile dlls
/uiribbon enable_uiribbon
21815 wine_fn_config_makefile dlls
/unicows enable_unicows
21816 wine_fn_config_makefile dlls
/updspapi enable_updspapi
21817 wine_fn_config_makefile dlls
/url enable_url
21818 wine_fn_config_makefile dlls
/urlmon enable_urlmon
21819 wine_fn_config_makefile dlls
/urlmon
/tests enable_tests
21820 wine_fn_config_makefile dlls
/usbd.sys enable_usbd_sys
21821 wine_fn_config_makefile dlls
/user.exe16 enable_win16
21822 wine_fn_config_makefile dlls
/user32 enable_user32
21823 wine_fn_config_makefile dlls
/user32
/tests enable_tests
21824 wine_fn_config_makefile dlls
/userenv enable_userenv
21825 wine_fn_config_makefile dlls
/userenv
/tests enable_tests
21826 wine_fn_config_makefile dlls
/usp10 enable_usp10
21827 wine_fn_config_makefile dlls
/usp10
/tests enable_tests
21828 wine_fn_config_makefile dlls
/utildll enable_utildll
21829 wine_fn_config_makefile dlls
/uxtheme enable_uxtheme
21830 wine_fn_config_makefile dlls
/uxtheme
/tests enable_tests
21831 wine_fn_config_makefile dlls
/vbscript enable_vbscript
21832 wine_fn_config_makefile dlls
/vbscript
/tests enable_tests
21833 wine_fn_config_makefile dlls
/vcomp enable_vcomp
21834 wine_fn_config_makefile dlls
/vcomp
/tests enable_tests
21835 wine_fn_config_makefile dlls
/vcomp100 enable_vcomp100
21836 wine_fn_config_makefile dlls
/vcomp110 enable_vcomp110
21837 wine_fn_config_makefile dlls
/vcomp110
/tests enable_tests
21838 wine_fn_config_makefile dlls
/vcomp120 enable_vcomp120
21839 wine_fn_config_makefile dlls
/vcomp140 enable_vcomp140
21840 wine_fn_config_makefile dlls
/vcomp90 enable_vcomp90
21841 wine_fn_config_makefile dlls
/vcruntime140 enable_vcruntime140
21842 wine_fn_config_makefile dlls
/vcruntime140_1 enable_vcruntime140_1
21843 wine_fn_config_makefile dlls
/vdhcp.vxd enable_win16
21844 wine_fn_config_makefile dlls
/vdmdbg enable_vdmdbg
21845 wine_fn_config_makefile dlls
/ver.dll16 enable_win16
21846 wine_fn_config_makefile dlls
/version enable_version
21847 wine_fn_config_makefile dlls
/version
/tests enable_tests
21848 wine_fn_config_makefile dlls
/vga enable_vga
21849 wine_fn_config_makefile dlls
/virtdisk enable_virtdisk
21850 wine_fn_config_makefile dlls
/virtdisk
/tests enable_tests
21851 wine_fn_config_makefile dlls
/vmm.vxd enable_win16
21852 wine_fn_config_makefile dlls
/vnbt.vxd enable_win16
21853 wine_fn_config_makefile dlls
/vnetbios.vxd enable_win16
21854 wine_fn_config_makefile dlls
/vssapi enable_vssapi
21855 wine_fn_config_makefile dlls
/vtdapi.vxd enable_win16
21856 wine_fn_config_makefile dlls
/vulkan-1 enable_vulkan_1
21857 wine_fn_config_makefile dlls
/vulkan-
1/tests enable_tests
21858 wine_fn_config_makefile dlls
/vwin32.vxd enable_win16
21859 wine_fn_config_makefile dlls
/w32skrnl enable_win16
21860 wine_fn_config_makefile dlls
/w32sys.dll16 enable_win16
21861 wine_fn_config_makefile dlls
/wbemdisp enable_wbemdisp
21862 wine_fn_config_makefile dlls
/wbemdisp
/tests enable_tests
21863 wine_fn_config_makefile dlls
/wbemprox enable_wbemprox
21864 wine_fn_config_makefile dlls
/wbemprox
/tests enable_tests
21865 wine_fn_config_makefile dlls
/wdscore enable_wdscore
21866 wine_fn_config_makefile dlls
/webservices enable_webservices
21867 wine_fn_config_makefile dlls
/webservices
/tests enable_tests
21868 wine_fn_config_makefile dlls
/websocket enable_websocket
21869 wine_fn_config_makefile dlls
/wer enable_wer
21870 wine_fn_config_makefile dlls
/wer
/tests enable_tests
21871 wine_fn_config_makefile dlls
/wevtapi enable_wevtapi
21872 wine_fn_config_makefile dlls
/wevtapi
/tests enable_tests
21873 wine_fn_config_makefile dlls
/wevtsvc enable_wevtsvc
21874 wine_fn_config_makefile dlls
/wiaservc enable_wiaservc
21875 wine_fn_config_makefile dlls
/wiaservc
/tests enable_tests
21876 wine_fn_config_makefile dlls
/wimgapi enable_wimgapi
21877 wine_fn_config_makefile dlls
/win32s16.dll16 enable_win16
21878 wine_fn_config_makefile dlls
/win32u enable_win32u
21879 wine_fn_config_makefile dlls
/win32u
/tests enable_tests
21880 wine_fn_config_makefile dlls
/win87em.dll16 enable_win16
21881 wine_fn_config_makefile dlls
/winaspi.dll16 enable_win16
21882 wine_fn_config_makefile dlls
/windebug.dll16 enable_win16
21883 wine_fn_config_makefile dlls
/windows.devices.enumeration enable_windows_devices_enumeration
21884 wine_fn_config_makefile dlls
/windows.devices.enumeration
/tests enable_tests
21885 wine_fn_config_makefile dlls
/windows.gaming.input enable_windows_gaming_input
21886 wine_fn_config_makefile dlls
/windows.gaming.input
/tests enable_tests
21887 wine_fn_config_makefile dlls
/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
21888 wine_fn_config_makefile dlls
/windows.gaming.ui.gamebar
/tests enable_tests
21889 wine_fn_config_makefile dlls
/windows.globalization enable_windows_globalization
21890 wine_fn_config_makefile dlls
/windows.globalization
/tests enable_tests
21891 wine_fn_config_makefile dlls
/windows.media.devices enable_windows_media_devices
21892 wine_fn_config_makefile dlls
/windows.media.devices
/tests enable_tests
21893 wine_fn_config_makefile dlls
/windows.media.speech enable_windows_media_speech
21894 wine_fn_config_makefile dlls
/windows.media.speech
/tests enable_tests
21895 wine_fn_config_makefile dlls
/windows.media enable_windows_media
21896 wine_fn_config_makefile dlls
/windows.media
/tests enable_tests
21897 wine_fn_config_makefile dlls
/windows.networking enable_windows_networking
21898 wine_fn_config_makefile dlls
/windows.perception.stub enable_windows_perception_stub
21899 wine_fn_config_makefile dlls
/windows.perception.stub
/tests enable_tests
21900 wine_fn_config_makefile dlls
/windows.system.profile.systemmanufacturers enable_windows_system_profile_systemmanufacturers
21901 wine_fn_config_makefile dlls
/windows.system.profile.systemmanufacturers
/tests enable_tests
21902 wine_fn_config_makefile dlls
/windows.ui enable_windows_ui
21903 wine_fn_config_makefile dlls
/windows.ui
/tests enable_tests
21904 wine_fn_config_makefile dlls
/windowscodecs enable_windowscodecs
21905 wine_fn_config_makefile dlls
/windowscodecs
/tests enable_tests
21906 wine_fn_config_makefile dlls
/windowscodecsext enable_windowscodecsext
21907 wine_fn_config_makefile dlls
/windowscodecsext
/tests enable_tests
21908 wine_fn_config_makefile dlls
/winealsa.drv enable_winealsa_drv
21909 wine_fn_config_makefile dlls
/wineandroid.drv enable_wineandroid_drv
21910 wine_fn_config_makefile dlls
/winebus.sys enable_winebus_sys
21911 wine_fn_config_makefile dlls
/winecoreaudio.drv enable_winecoreaudio_drv
21912 wine_fn_config_makefile dlls
/winecrt0 enable_winecrt0
21913 wine_fn_config_makefile dlls
/wined3d enable_wined3d
21914 wine_fn_config_makefile dlls
/winegstreamer enable_winegstreamer
21915 wine_fn_config_makefile dlls
/winehid.sys enable_winehid_sys
21916 wine_fn_config_makefile dlls
/winemac.drv enable_winemac_drv
21917 wine_fn_config_makefile dlls
/winemapi enable_winemapi
21918 wine_fn_config_makefile dlls
/wineoss.drv enable_wineoss_drv
21919 wine_fn_config_makefile dlls
/wineps.drv enable_wineps_drv
21920 wine_fn_config_makefile dlls
/wineps16.drv16 enable_win16
21921 wine_fn_config_makefile dlls
/winepulse.drv enable_winepulse_drv
21922 wine_fn_config_makefile dlls
/wineusb.sys enable_wineusb_sys
21923 wine_fn_config_makefile dlls
/winevulkan enable_winevulkan
21924 wine_fn_config_makefile dlls
/winewayland.drv enable_winewayland_drv
21925 wine_fn_config_makefile dlls
/winex11.drv enable_winex11_drv
21926 wine_fn_config_makefile dlls
/winexinput.sys enable_winexinput_sys
21927 wine_fn_config_makefile dlls
/wing.dll16 enable_win16
21928 wine_fn_config_makefile dlls
/wing32 enable_wing32
21929 wine_fn_config_makefile dlls
/winhttp enable_winhttp
21930 wine_fn_config_makefile dlls
/winhttp
/tests enable_tests
21931 wine_fn_config_makefile dlls
/wininet enable_wininet
21932 wine_fn_config_makefile dlls
/wininet
/tests enable_tests
21933 wine_fn_config_makefile dlls
/winmm enable_winmm
21934 wine_fn_config_makefile dlls
/winmm
/tests enable_tests
21935 wine_fn_config_makefile dlls
/winnls.dll16 enable_win16
21936 wine_fn_config_makefile dlls
/winnls32 enable_winnls32
21937 wine_fn_config_makefile dlls
/winprint enable_winprint
21938 wine_fn_config_makefile dlls
/winscard enable_winscard
21939 wine_fn_config_makefile dlls
/winscard
/tests enable_tests
21940 wine_fn_config_makefile dlls
/winsock.dll16 enable_win16
21941 wine_fn_config_makefile dlls
/winspool.drv enable_winspool_drv
21942 wine_fn_config_makefile dlls
/winspool.drv
/tests enable_tests
21943 wine_fn_config_makefile dlls
/winsta enable_winsta
21944 wine_fn_config_makefile dlls
/wintab.dll16 enable_win16
21945 wine_fn_config_makefile dlls
/wintab32 enable_wintab32
21946 wine_fn_config_makefile dlls
/wintab32
/tests enable_tests
21947 wine_fn_config_makefile dlls
/wintrust enable_wintrust
21948 wine_fn_config_makefile dlls
/wintrust
/tests enable_tests
21949 wine_fn_config_makefile dlls
/wintypes enable_wintypes
21950 wine_fn_config_makefile dlls
/wintypes
/tests enable_tests
21951 wine_fn_config_makefile dlls
/winusb enable_winusb
21952 wine_fn_config_makefile dlls
/wlanapi enable_wlanapi
21953 wine_fn_config_makefile dlls
/wlanapi
/tests enable_tests
21954 wine_fn_config_makefile dlls
/wlanui enable_wlanui
21955 wine_fn_config_makefile dlls
/wldap32 enable_wldap32
21956 wine_fn_config_makefile dlls
/wldap32
/tests enable_tests
21957 wine_fn_config_makefile dlls
/wmasf enable_wmasf
21958 wine_fn_config_makefile dlls
/wmi enable_wmi
21959 wine_fn_config_makefile dlls
/wmiutils enable_wmiutils
21960 wine_fn_config_makefile dlls
/wmiutils
/tests enable_tests
21961 wine_fn_config_makefile dlls
/wmp enable_wmp
21962 wine_fn_config_makefile dlls
/wmp
/tests enable_tests
21963 wine_fn_config_makefile dlls
/wmphoto enable_wmphoto
21964 wine_fn_config_makefile dlls
/wmvcore enable_wmvcore
21965 wine_fn_config_makefile dlls
/wmvcore
/tests enable_tests
21966 wine_fn_config_makefile dlls
/wnaspi32 enable_wnaspi32
21967 wine_fn_config_makefile dlls
/wofutil enable_wofutil
21968 wine_fn_config_makefile dlls
/wow32 enable_win16
21969 wine_fn_config_makefile dlls
/wow64 enable_wow64
21970 wine_fn_config_makefile dlls
/wow64cpu enable_wow64cpu
21971 wine_fn_config_makefile dlls
/wow64win enable_wow64win
21972 wine_fn_config_makefile dlls
/wpc enable_wpc
21973 wine_fn_config_makefile dlls
/wpc
/tests enable_tests
21974 wine_fn_config_makefile dlls
/wpcap enable_wpcap
21975 wine_fn_config_makefile dlls
/wpcap
/tests enable_tests
21976 wine_fn_config_makefile dlls
/ws2_32 enable_ws2_32
21977 wine_fn_config_makefile dlls
/ws2_32
/tests enable_tests
21978 wine_fn_config_makefile dlls
/wsdapi enable_wsdapi
21979 wine_fn_config_makefile dlls
/wsdapi
/tests enable_tests
21980 wine_fn_config_makefile dlls
/wshom.ocx enable_wshom_ocx
21981 wine_fn_config_makefile dlls
/wshom.ocx
/tests enable_tests
21982 wine_fn_config_makefile dlls
/wsnmp32 enable_wsnmp32
21983 wine_fn_config_makefile dlls
/wsnmp32
/tests enable_tests
21984 wine_fn_config_makefile dlls
/wsock32 enable_wsock32
21985 wine_fn_config_makefile dlls
/wtsapi32 enable_wtsapi32
21986 wine_fn_config_makefile dlls
/wtsapi32
/tests enable_tests
21987 wine_fn_config_makefile dlls
/wuapi enable_wuapi
21988 wine_fn_config_makefile dlls
/wuaueng enable_wuaueng
21989 wine_fn_config_makefile dlls
/x3daudio1_0 enable_x3daudio1_0
21990 wine_fn_config_makefile dlls
/x3daudio1_1 enable_x3daudio1_1
21991 wine_fn_config_makefile dlls
/x3daudio1_2 enable_x3daudio1_2
21992 wine_fn_config_makefile dlls
/x3daudio1_3 enable_x3daudio1_3
21993 wine_fn_config_makefile dlls
/x3daudio1_4 enable_x3daudio1_4
21994 wine_fn_config_makefile dlls
/x3daudio1_5 enable_x3daudio1_5
21995 wine_fn_config_makefile dlls
/x3daudio1_6 enable_x3daudio1_6
21996 wine_fn_config_makefile dlls
/x3daudio1_7 enable_x3daudio1_7
21997 wine_fn_config_makefile dlls
/xactengine2_0 enable_xactengine2_0
21998 wine_fn_config_makefile dlls
/xactengine2_4 enable_xactengine2_4
21999 wine_fn_config_makefile dlls
/xactengine2_7 enable_xactengine2_7
22000 wine_fn_config_makefile dlls
/xactengine2_9 enable_xactengine2_9
22001 wine_fn_config_makefile dlls
/xactengine3_0 enable_xactengine3_0
22002 wine_fn_config_makefile dlls
/xactengine3_1 enable_xactengine3_1
22003 wine_fn_config_makefile dlls
/xactengine3_2 enable_xactengine3_2
22004 wine_fn_config_makefile dlls
/xactengine3_3 enable_xactengine3_3
22005 wine_fn_config_makefile dlls
/xactengine3_4 enable_xactengine3_4
22006 wine_fn_config_makefile dlls
/xactengine3_5 enable_xactengine3_5
22007 wine_fn_config_makefile dlls
/xactengine3_6 enable_xactengine3_6
22008 wine_fn_config_makefile dlls
/xactengine3_7 enable_xactengine3_7
22009 wine_fn_config_makefile dlls
/xactengine3_
7/tests enable_tests
22010 wine_fn_config_makefile dlls
/xapofx1_1 enable_xapofx1_1
22011 wine_fn_config_makefile dlls
/xapofx1_2 enable_xapofx1_2
22012 wine_fn_config_makefile dlls
/xapofx1_3 enable_xapofx1_3
22013 wine_fn_config_makefile dlls
/xapofx1_4 enable_xapofx1_4
22014 wine_fn_config_makefile dlls
/xapofx1_5 enable_xapofx1_5
22015 wine_fn_config_makefile dlls
/xaudio2_0 enable_xaudio2_0
22016 wine_fn_config_makefile dlls
/xaudio2_1 enable_xaudio2_1
22017 wine_fn_config_makefile dlls
/xaudio2_2 enable_xaudio2_2
22018 wine_fn_config_makefile dlls
/xaudio2_3 enable_xaudio2_3
22019 wine_fn_config_makefile dlls
/xaudio2_4 enable_xaudio2_4
22020 wine_fn_config_makefile dlls
/xaudio2_5 enable_xaudio2_5
22021 wine_fn_config_makefile dlls
/xaudio2_6 enable_xaudio2_6
22022 wine_fn_config_makefile dlls
/xaudio2_7 enable_xaudio2_7
22023 wine_fn_config_makefile dlls
/xaudio2_
7/tests enable_tests
22024 wine_fn_config_makefile dlls
/xaudio2_8 enable_xaudio2_8
22025 wine_fn_config_makefile dlls
/xaudio2_9 enable_xaudio2_9
22026 wine_fn_config_makefile dlls
/xinput1_1 enable_xinput1_1
22027 wine_fn_config_makefile dlls
/xinput1_2 enable_xinput1_2
22028 wine_fn_config_makefile dlls
/xinput1_3 enable_xinput1_3
22029 wine_fn_config_makefile dlls
/xinput1_
3/tests enable_tests
22030 wine_fn_config_makefile dlls
/xinput1_4 enable_xinput1_4
22031 wine_fn_config_makefile dlls
/xinput9_1_0 enable_xinput9_1_0
22032 wine_fn_config_makefile dlls
/xinputuap enable_xinputuap
22033 wine_fn_config_makefile dlls
/xmllite enable_xmllite
22034 wine_fn_config_makefile dlls
/xmllite
/tests enable_tests
22035 wine_fn_config_makefile dlls
/xolehlp enable_xolehlp
22036 wine_fn_config_makefile dlls
/xpsprint enable_xpsprint
22037 wine_fn_config_makefile dlls
/xpssvcs enable_xpssvcs
22038 wine_fn_config_makefile fonts enable_fonts
22039 wine_fn_config_makefile include enable_include
22040 wine_fn_config_makefile libs
/adsiid enable_adsiid
22041 wine_fn_config_makefile libs
/dmoguids enable_dmoguids
22042 wine_fn_config_makefile libs
/dxerr8 enable_dxerr8
22043 wine_fn_config_makefile libs
/dxerr9 enable_dxerr9
22044 wine_fn_config_makefile libs
/dxguid enable_dxguid
22045 wine_fn_config_makefile libs
/faudio enable_faudio
22046 wine_fn_config_makefile libs
/gsm enable_gsm
22047 wine_fn_config_makefile libs
/jpeg enable_jpeg
22048 wine_fn_config_makefile libs
/jxr enable_jxr
22049 wine_fn_config_makefile libs
/lcms2 enable_lcms2
22050 wine_fn_config_makefile libs
/ldap enable_ldap
22051 wine_fn_config_makefile libs
/mfuuid enable_mfuuid
22052 wine_fn_config_makefile libs
/mpg123 enable_mpg123
22053 wine_fn_config_makefile libs
/musl enable_musl
22054 wine_fn_config_makefile libs
/png enable_png
22055 wine_fn_config_makefile libs
/strmbase enable_strmbase
22056 wine_fn_config_makefile libs
/strmiids enable_strmiids
22057 wine_fn_config_makefile libs
/tiff enable_tiff
22058 wine_fn_config_makefile libs
/uuid enable_uuid
22059 wine_fn_config_makefile libs
/vkd3d enable_vkd3d
22060 wine_fn_config_makefile libs
/wbemuuid enable_wbemuuid
22061 wine_fn_config_makefile libs
/wmcodecdspuuid enable_wmcodecdspuuid
22062 wine_fn_config_makefile libs
/xml2 enable_xml2
22063 wine_fn_config_makefile libs
/xslt enable_xslt
22064 wine_fn_config_makefile libs
/zlib enable_zlib
22065 wine_fn_config_makefile libs
/zydis enable_zydis
22066 wine_fn_config_makefile loader enable_loader
22067 wine_fn_config_makefile nls enable_nls
22068 wine_fn_config_makefile po enable_po
22069 wine_fn_config_makefile programs
/arp enable_arp
22070 wine_fn_config_makefile programs
/aspnet_regiis enable_aspnet_regiis
22071 wine_fn_config_makefile programs
/attrib enable_attrib
22072 wine_fn_config_makefile programs
/cabarc enable_cabarc
22073 wine_fn_config_makefile programs
/cacls enable_cacls
22074 wine_fn_config_makefile programs
/certutil enable_certutil
22075 wine_fn_config_makefile programs
/chcp.com enable_chcp_com
22076 wine_fn_config_makefile programs
/clock enable_clock
22077 wine_fn_config_makefile programs
/cmd enable_cmd
22078 wine_fn_config_makefile programs
/cmd
/tests enable_tests
22079 wine_fn_config_makefile programs
/conhost enable_conhost
22080 wine_fn_config_makefile programs
/conhost
/tests enable_tests
22081 wine_fn_config_makefile programs
/control enable_control
22082 wine_fn_config_makefile programs
/cscript enable_cscript
22083 wine_fn_config_makefile programs
/dism enable_dism
22084 wine_fn_config_makefile programs
/dllhost enable_dllhost
22085 wine_fn_config_makefile programs
/dplaysvr enable_dplaysvr
22086 wine_fn_config_makefile programs
/dpnsvr enable_dpnsvr
22087 wine_fn_config_makefile programs
/dpvsetup enable_dpvsetup
22088 wine_fn_config_makefile programs
/dxdiag enable_dxdiag
22089 wine_fn_config_makefile programs
/eject enable_eject
22090 wine_fn_config_makefile programs
/expand enable_expand
22091 wine_fn_config_makefile programs
/explorer enable_explorer
22092 wine_fn_config_makefile programs
/explorer
/tests enable_tests
22093 wine_fn_config_makefile programs
/extrac32 enable_extrac32
22094 wine_fn_config_makefile programs
/fc enable_fc
22095 wine_fn_config_makefile programs
/find enable_find
22096 wine_fn_config_makefile programs
/find
/tests enable_tests
22097 wine_fn_config_makefile programs
/findstr enable_findstr
22098 wine_fn_config_makefile programs
/fsutil enable_fsutil
22099 wine_fn_config_makefile programs
/fsutil
/tests enable_tests
22100 wine_fn_config_makefile programs
/hh enable_hh
22101 wine_fn_config_makefile programs
/hostname enable_hostname
22102 wine_fn_config_makefile programs
/icacls enable_icacls
22103 wine_fn_config_makefile programs
/icinfo enable_icinfo
22104 wine_fn_config_makefile programs
/iexplore enable_iexplore
22105 wine_fn_config_makefile programs
/ipconfig enable_ipconfig
22106 wine_fn_config_makefile programs
/lodctr enable_lodctr
22107 wine_fn_config_makefile programs
/mofcomp enable_mofcomp
22108 wine_fn_config_makefile programs
/mshta enable_mshta
22109 wine_fn_config_makefile programs
/msidb enable_msidb
22110 wine_fn_config_makefile programs
/msiexec enable_msiexec
22111 wine_fn_config_makefile programs
/msinfo32 enable_msinfo32
22112 wine_fn_config_makefile programs
/net enable_net
22113 wine_fn_config_makefile programs
/netsh enable_netsh
22114 wine_fn_config_makefile programs
/netstat enable_netstat
22115 wine_fn_config_makefile programs
/ngen enable_ngen
22116 wine_fn_config_makefile programs
/notepad enable_notepad
22117 wine_fn_config_makefile programs
/oleview enable_oleview
22118 wine_fn_config_makefile programs
/ping enable_ping
22119 wine_fn_config_makefile programs
/plugplay enable_plugplay
22120 wine_fn_config_makefile programs
/powershell enable_powershell
22121 wine_fn_config_makefile programs
/presentationfontcache enable_presentationfontcache
22122 wine_fn_config_makefile programs
/progman enable_progman
22123 wine_fn_config_makefile programs
/reg enable_reg
22124 wine_fn_config_makefile programs
/reg
/tests enable_tests
22125 wine_fn_config_makefile programs
/regasm enable_regasm
22126 wine_fn_config_makefile programs
/regedit enable_regedit
22127 wine_fn_config_makefile programs
/regedit
/tests enable_tests
22128 wine_fn_config_makefile programs
/regini enable_regini
22129 wine_fn_config_makefile programs
/regsvcs enable_regsvcs
22130 wine_fn_config_makefile programs
/regsvr32 enable_regsvr32
22131 wine_fn_config_makefile programs
/robocopy enable_robocopy
22132 wine_fn_config_makefile programs
/rpcss enable_rpcss
22133 wine_fn_config_makefile programs
/rundll.exe16 enable_win16
22134 wine_fn_config_makefile programs
/rundll32 enable_rundll32
22135 wine_fn_config_makefile programs
/sc enable_sc
22136 wine_fn_config_makefile programs
/sc
/tests enable_tests
22137 wine_fn_config_makefile programs
/schtasks enable_schtasks
22138 wine_fn_config_makefile programs
/schtasks
/tests enable_tests
22139 wine_fn_config_makefile programs
/sdbinst enable_sdbinst
22140 wine_fn_config_makefile programs
/secedit enable_secedit
22141 wine_fn_config_makefile programs
/servicemodelreg enable_servicemodelreg
22142 wine_fn_config_makefile programs
/services enable_services
22143 wine_fn_config_makefile programs
/services
/tests enable_tests
22144 wine_fn_config_makefile programs
/setx enable_setx
22145 wine_fn_config_makefile programs
/shutdown enable_shutdown
22146 wine_fn_config_makefile programs
/spoolsv enable_spoolsv
22147 wine_fn_config_makefile programs
/start enable_start
22148 wine_fn_config_makefile programs
/subst enable_subst
22149 wine_fn_config_makefile programs
/svchost enable_svchost
22150 wine_fn_config_makefile programs
/systeminfo enable_systeminfo
22151 wine_fn_config_makefile programs
/taskkill enable_taskkill
22152 wine_fn_config_makefile programs
/tasklist enable_tasklist
22153 wine_fn_config_makefile programs
/taskmgr enable_taskmgr
22154 wine_fn_config_makefile programs
/termsv enable_termsv
22155 wine_fn_config_makefile programs
/uninstaller enable_uninstaller
22156 wine_fn_config_makefile programs
/unlodctr enable_unlodctr
22157 wine_fn_config_makefile programs
/view enable_view
22158 wine_fn_config_makefile programs
/wevtutil enable_wevtutil
22159 wine_fn_config_makefile programs
/where enable_where
22160 wine_fn_config_makefile programs
/whoami enable_whoami
22161 wine_fn_config_makefile programs
/wineboot enable_wineboot
22162 wine_fn_config_makefile programs
/winebrowser enable_winebrowser
22163 wine_fn_config_makefile programs
/winecfg enable_winecfg
22164 wine_fn_config_makefile programs
/wineconsole enable_wineconsole
22165 wine_fn_config_makefile programs
/winedbg enable_winedbg
22166 wine_fn_config_makefile programs
/winedevice enable_winedevice
22167 wine_fn_config_makefile programs
/winefile enable_winefile
22168 wine_fn_config_makefile programs
/winemenubuilder enable_winemenubuilder
22169 wine_fn_config_makefile programs
/winemine enable_winemine
22170 wine_fn_config_makefile programs
/winemsibuilder enable_winemsibuilder
22171 wine_fn_config_makefile programs
/winepath enable_winepath
22172 wine_fn_config_makefile programs
/winetest enable_winetest
22173 wine_fn_config_makefile programs
/winevdm enable_win16
22174 wine_fn_config_makefile programs
/winhelp.exe16 enable_win16
22175 wine_fn_config_makefile programs
/winhlp32 enable_winhlp32
22176 wine_fn_config_makefile programs
/winmgmt enable_winmgmt
22177 wine_fn_config_makefile programs
/winoldap.mod16 enable_win16
22178 wine_fn_config_makefile programs
/winver enable_winver
22179 wine_fn_config_makefile programs
/wmic enable_wmic
22180 wine_fn_config_makefile programs
/wmplayer enable_wmplayer
22181 wine_fn_config_makefile programs
/wordpad enable_wordpad
22182 wine_fn_config_makefile programs
/write enable_write
22183 wine_fn_config_makefile programs
/wscript enable_wscript
22184 wine_fn_config_makefile programs
/wscript
/tests enable_tests
22185 wine_fn_config_makefile programs
/wuauserv enable_wuauserv
22186 wine_fn_config_makefile programs
/wusa enable_wusa
22187 wine_fn_config_makefile programs
/xcopy enable_xcopy
22188 wine_fn_config_makefile programs
/xcopy
/tests enable_tests
22189 wine_fn_config_makefile server enable_server
22190 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22191 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/sfnt2fon enable_sfnt2fon
22192 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/widl enable_widl
22193 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winebuild enable_winebuild
22194 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winedump enable_winedump
22195 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winegcc enable_winegcc
22196 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winemaker enable_winemaker
22197 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/wmc enable_wmc
22198 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/wrc enable_wrc
22201 as_fn_append CONFIGURE_TARGETS
" TAGS"
22202 as_fn_append CONFIGURE_TARGETS
" tags"
22203 as_fn_append CONFIGURE_TARGETS
" autom4te.cache"
22204 as_fn_append CONFIGURE_TARGETS
" config.log"
22205 as_fn_append CONFIGURE_TARGETS
" config.status"
22206 as_fn_append CONFIGURE_TARGETS
" include/config.h"
22207 as_fn_append CONFIGURE_TARGETS
" include/stamp-h"
22208 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine"
22210 if test "x$enable_tools" != xno
22212 as_fn_append CONFIGURE_TARGETS
" tools/makedep$ac_exeext"
22213 ac_config_commands
="$ac_config_commands tools/makedep"
22217 ac_config_commands
="$ac_config_commands Makefile"
22224 as_fn_append wine_rules
"
22226 @echo \"Wine build complete.\"
22230 Makefile: config.status \$(MAKEDEP)
22231 @./config.status Makefile
22232 depend: \$(MAKEDEP)
22233 \$(MAKEDEP)$makedep_flags"
22236 as_fn_append wine_rules
"
22237 config.status: ${wine_srcdir}configure
22238 @./config.status --recheck
22239 include/config.h: include/stamp-h
22240 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22241 @./config.status include/config.h include/stamp-h"
22243 if test "x$enable_maintainer_mode" = xyes
22245 as_fn_append wine_rules
"
22246 configure: configure.ac aclocal.m4
22247 autoconf --warnings=all
22248 include/config.h.in: include/stamp-h.in
22249 include/stamp-h.in: configure.ac aclocal.m4
22250 autoheader --warnings=all
22251 @echo timestamp > \$@"
22254 if test "x$enable_tools" != xno
22256 as_fn_append wine_rules
"
22257 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22258 @./config.status tools/makedep
22259 Makefile: tools/makedep$ac_exeext"
22261 as_fn_append wine_rules
"
22263 @echo \"You need to run make in $toolsdir first\" && false"
22267 if test -n "$with_wine64"
22269 case "$with_wine64" in
22273 rm -f fonts server
2>/dev
/null
22274 as_fn_append wine_rules
"
22275 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22276 loader/wine64 loader/wine64-preloader:
22277 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22278 $with_wine64/loader/wine:
22279 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22280 $with_wine64/loader/wine-preloader:
22281 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22283 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22285 TOP_INSTALL_DEV
="$TOP_INSTALL_DEV include"
22286 TOP_INSTALL_LIB
="$TOP_INSTALL_LIB \
22290 programs/msidb/msidb \
22291 programs/msiexec/msiexec \
22292 programs/notepad/notepad \
22293 programs/regedit/regedit \
22294 programs/regsvr32/regsvr32 \
22295 programs/wineboot/wineboot \
22296 programs/winecfg/winecfg \
22297 programs/wineconsole/wineconsole \
22298 programs/winedbg/winedbg \
22299 programs/winefile/winefile \
22300 programs/winemine/winemine \
22301 programs/winepath/winepath \
22305 cygwin
*|mingw32
*|darwin
*|macosx
*|linux-android
*) ;;
22306 *) TOP_INSTALL_LIB
="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22311 as_fn_append wine_rules
"
22313 rm -rf autom4te.cache
22315 rm -f configure include/config.h.in"
22318 as_fn_append wine_rules
"
22319 dlls/ntdll/unix/version.c: dummy
22320 @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)
22321 programs/winetest/build.rc: dummy
22322 @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)
22323 programs/winetest/build.nfo:
22325 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
22326 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22327 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22330 TAGSFLAGS
="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22332 as_fn_append wine_rules
"
22335 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22338 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22340 .PHONY: depend dummy install-manpages"
22342 printf "%s\n" " done" >&6
22343 cat >confcache
<<\_ACEOF
22344 # This file is a shell script that caches the results of configure
22345 # tests run on this system so they can be shared between configure
22346 # scripts and configure runs, see configure's option --config-cache.
22347 # It is not useful on other systems. If it contains results you don't
22348 # want to keep, you may remove or edit it.
22350 # config.status only pays attention to the cache file if you give it
22351 # the --recheck option to rerun configure.
22353 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22354 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22355 # following values.
22359 # The following way of writing the cache mishandles newlines in values,
22360 # but we know of no workaround that is simple, portable, and efficient.
22361 # So, we kill variables containing newlines.
22362 # Ultrix sh set writes to stderr and can't be redirected directly,
22363 # and sets the high bit in the cache file unless we assign to the vars.
22365 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22366 eval ac_val
=\$
$ac_var
22370 *_cv_
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22371 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22374 _ | IFS | as_nl
) ;; #(
22375 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
22376 *) { eval $ac_var=; unset $ac_var;} ;;
22382 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22383 *${as_nl}ac_space
=\
*)
22384 # `set' does not quote correctly, so add quotes: double-quote
22385 # substitution turns \\\\ into \\, and sed turns \\ into \.
22388 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22391 # `set' quotes correctly as required by POSIX, so do not add quotes.
22392 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22401 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22403 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22405 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22406 if test -w "$cache_file"; then
22407 if test "x$cache_file" != "x/dev/null"; then
22408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22409 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22410 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
22411 cat confcache
>"$cache_file"
22413 case $cache_file in #(
22415 mv -f confcache
"$cache_file"$$
&&
22416 mv -f "$cache_file"$$
"$cache_file" ;; #(
22418 mv -f confcache
"$cache_file" ;;
22423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22424 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22429 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22430 # Let make expand exec_prefix.
22431 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22433 DEFS
=-DHAVE_CONFIG_H
22438 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22439 # 1. Remove the extension, and $U if already installed.
22440 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
22441 ac_i
=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22442 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22443 # will be set to the directory where LIBOBJS objects are built.
22444 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22445 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
22447 LIBOBJS
=$ac_libobjs
22449 LTLIBOBJS
=$ac_ltlibobjs
22453 : "${CONFIG_STATUS=./config.status}"
22455 ac_clean_files_save
=$ac_clean_files
22456 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22458 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22460 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22462 # Generated by $as_me.
22463 # Run this file to recreate the current configuration.
22464 # Compiler output produced by configure, useful for debugging
22465 # configure, is in config.log if it exists.
22468 ac_cs_recheck=false
22471 SHELL=\${CONFIG_SHELL-$SHELL}
22474 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
22475 ## -------------------- ##
22476 ## M4sh Initialization. ##
22477 ## -------------------- ##
22479 # Be more Bourne compatible
22480 DUALCASE
=1; export DUALCASE
# for MKS sh
22482 if test ${ZSH_VERSION+y} && (emulate sh
) >/dev
/null
2>&1
22486 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22487 # is contrary to our usage. Disable this feature.
22488 alias -g '${1+"$@"}'='"$@"'
22489 setopt NO_GLOB_SUBST
22491 case `(set -o) 2>/dev/null` in #(
22501 # Reset variables that may have inherited troublesome values from
22504 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22505 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22506 # side effect of setting IFS to empty, thus disabling word splitting.)
22507 # Quoting is to prevent editors from complaining about space-tab.
22517 # Ensure predictable behavior from utilities with locale-dependent output.
22523 # We cannot yet rely on "unset" to work, but we need these variables
22524 # to be unset--not just set to an empty or harmless value--now, to
22525 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22526 # also avoids known problems related to "unset" and subshell syntax
22527 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22528 for as_var
in BASH_ENV ENV MAIL MAILPATH CDPATH
22529 do eval test \
${$as_var+y} \
22530 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
22533 # Ensure that fds 0, 1, and 2 are open.
22534 if (exec 3>&0) 2>/dev
/null
; then :; else exec 0</dev
/null
; fi
22535 if (exec 3>&1) 2>/dev
/null
; then :; else exec 1>/dev
/null
; fi
22536 if (exec 3>&2) ; then :; else exec 2>/dev
/null
; fi
22538 # The user is always right.
22539 if ${PATH_SEPARATOR+false} :; then
22541 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
22542 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
22548 # Find who we are. Look in the path if we contain no directory separator.
22551 *[\\/]* ) as_myself
=$0 ;;
22552 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22553 for as_dir
in $PATH
22556 case $as_dir in #(((
22559 *) as_dir
=$as_dir/ ;;
22561 test -r "$as_dir$0" && as_myself
=$as_dir$0 && break
22567 # We did not find ourselves, most probably we were run as `sh COMMAND'
22568 # in which case we are not to be found in the path.
22569 if test "x$as_myself" = x
; then
22572 if test ! -f "$as_myself"; then
22573 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22579 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22580 # ----------------------------------------
22581 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22582 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22583 # script with STATUS, using 1 if that was 0.
22586 as_status
=$1; test $as_status -eq 0 && as_status
=1
22588 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
22589 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22591 printf "%s\n" "$as_me: error: $2" >&2
22592 as_fn_exit
$as_status
22597 # as_fn_set_status STATUS
22598 # -----------------------
22599 # Set $? to STATUS, without forking.
22600 as_fn_set_status
()
22603 } # as_fn_set_status
22605 # as_fn_exit STATUS
22606 # -----------------
22607 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22611 as_fn_set_status
$1
22617 # Portably unset VAR.
22620 { eval $1=; unset $1;}
22622 as_unset
=as_fn_unset
22624 # as_fn_append VAR VALUE
22625 # ----------------------
22626 # Append the text in VALUE to the end of the definition contained in VAR. Take
22627 # advantage of any shell optimizations that allow amortized linear growth over
22628 # repeated appends, instead of the typical quadratic growth present in naive
22630 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
22632 eval 'as_fn_append ()
22643 # as_fn_arith ARG...
22644 # ------------------
22645 # Perform arithmetic evaluation on the ARGs, and store the result in the
22646 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22647 # must be portable across $(()) and expr.
22648 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
22650 eval 'as_fn_arith ()
22657 as_val
=`expr "$@" || test $? -eq 1`
22662 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22663 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22669 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22670 as_basename
=basename
22675 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
22681 as_me
=`$as_basename -- "$0" ||
22682 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22683 X"$0" : 'X\(//\)$' \| \
22684 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22685 printf "%s\n" X/"$0" |
22686 sed '/^.*\/\([^/][^/]*\)\/*$/{
22700 # Avoid depending upon Character Ranges.
22701 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22702 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22703 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22704 as_cr_digits
='0123456789'
22705 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22708 # Determine whether it's possible to make 'echo' print without a newline.
22709 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22710 # for compatibility with existing Makefiles.
22711 ECHO_C
= ECHO_N
= ECHO_T
=
22712 case `echo -n x` in #(((((
22714 case `echo 'xy\c'` in
22715 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
22717 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
22724 # For backward compatibility with old third-party macros, we provide
22725 # the shell variables $as_echo and $as_echo_n. New code should use
22726 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22727 as_echo
='printf %s\n'
22728 as_echo_n
='printf %s'
22730 rm -f conf$$ conf$$.exe conf$$.
file
22731 if test -d conf$$.dir
; then
22732 rm -f conf$$.dir
/conf$$.
file
22735 mkdir conf$$.dir
2>/dev
/null
22737 if (echo >conf$$.
file) 2>/dev
/null
; then
22738 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22740 # ... but there are two gotchas:
22741 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22742 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22743 # In both cases, we have to default to `cp -pR'.
22744 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
22746 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22754 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
22755 rmdir conf$$.dir
2>/dev
/null
22760 # Create "$as_dir" as a directory, including parents if necessary.
22765 -*) as_dir
=.
/$as_dir;;
22767 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
22771 *\'*) as_qdir
=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22772 *) as_qdir
=$as_dir;;
22774 as_dirs
="'$as_qdir' $as_dirs"
22775 as_dir
=`$as_dirname -- "$as_dir" ||
22776 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22777 X"$as_dir" : 'X\(//\)[^/]' \| \
22778 X"$as_dir" : 'X\(//\)$' \| \
22779 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22780 printf "%s\n" X"$as_dir" |
22781 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22785 /^X\(\/\/\)[^/].*/{
22798 test -d "$as_dir" && break
22800 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22801 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
22805 if mkdir
-p .
2>/dev
/null
; then
22806 as_mkdir_p
='mkdir -p "$as_dir"'
22808 test -d .
/-p && rmdir .
/-p
22813 # as_fn_executable_p FILE
22814 # -----------------------
22815 # Test if FILE is an executable regular file.
22816 as_fn_executable_p
()
22818 test -f "$1" && test -x "$1"
22819 } # as_fn_executable_p
22820 as_test_x
='test -x'
22821 as_executable_p
=as_fn_executable_p
22823 # Sed expression to map a string onto a valid CPP name.
22824 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22826 # Sed expression to map a string onto a valid variable name.
22827 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22831 ## ----------------------------------- ##
22832 ## Main body of $CONFIG_STATUS script. ##
22833 ## ----------------------------------- ##
22835 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
22837 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22838 # Save the log message, to keep $0 and so on meaningful, and to
22839 # report actual input values of CONFIG_FILES etc. instead of their
22840 # values after options handling.
22842 This file was extended by Wine $as_me 8.6, which was
22843 generated by GNU Autoconf 2.71. Invocation command line was
22845 CONFIG_FILES = $CONFIG_FILES
22846 CONFIG_HEADERS = $CONFIG_HEADERS
22847 CONFIG_LINKS = $CONFIG_LINKS
22848 CONFIG_COMMANDS = $CONFIG_COMMANDS
22851 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22857 case $ac_config_headers in *"
22858 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
22862 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22863 # Files that config.status was made for.
22864 config_headers="$ac_config_headers"
22865 config_links="$ac_config_links"
22866 config_commands="$ac_config_commands"
22870 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22872 \`$as_me' instantiates files and other configuration actions
22873 from templates according to the current configuration. Unless the files
22874 and actions are specified as TAGs, all are instantiated by default.
22876 Usage: $0 [OPTION]... [TAG]...
22878 -h, --help print this help, then exit
22879 -V, --version print version number and configuration settings, then exit
22880 --config print configuration, then exit
22881 -q, --quiet, --silent
22882 do not print progress messages
22883 -d, --debug don't remove temporary files
22884 --recheck update $as_me by reconfiguring in the same conditions
22885 --header=FILE[:TEMPLATE]
22886 instantiate the configuration header FILE
22888 Configuration headers:
22891 Configuration links:
22894 Configuration commands:
22897 Report bugs to <wine-devel@winehq.org>.
22898 Wine home page: <https://www.winehq.org>."
22901 ac_cs_config
=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
22902 ac_cs_config_escaped
=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
22903 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22904 ac_cs_config='$ac_cs_config_escaped'
22906 Wine config.status 8.6
22907 configured by $0, generated by GNU Autoconf 2.71,
22908 with options \\"\$ac_cs_config\\"
22910 Copyright (C) 2021 Free Software Foundation, Inc.
22911 This config.status script is free software; the Free Software Foundation
22912 gives unlimited permission to copy, distribute and modify it."
22916 test -n "\$AWK" || AWK=awk
22919 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22920 # The default lists apply if the user does not specify any file.
22926 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22927 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
22931 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22943 # Handling of the options.
22944 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
22946 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
22947 printf "%s\n" "$ac_cs_version"; exit ;;
22948 --config |
--confi |
--conf |
--con |
--co |
--c )
22949 printf "%s\n" "$ac_cs_config"; exit ;;
22950 --debug |
--debu |
--deb |
--de |
--d |
-d )
22952 --header |
--heade |
--head |
--hea )
22955 *\'*) ac_optarg
=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22957 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
22958 ac_need_defaults
=false
;;
22960 # Conflict between --help and --header
22961 as_fn_error $?
"ambiguous option: \`$1'
22962 Try \`$0 --help' for more information.";;
22963 --help |
--hel |
-h )
22964 printf "%s\n" "$ac_cs_usage"; exit ;;
22965 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
22966 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
22969 # This is an error.
22970 -*) as_fn_error $?
"unrecognized option: \`$1'
22971 Try \`$0 --help' for more information." ;;
22973 *) as_fn_append ac_config_targets
" $1"
22974 ac_need_defaults
=false
;;
22980 ac_configure_extra_args
=
22982 if $ac_cs_silent; then
22984 ac_configure_extra_args
="$ac_configure_extra_args --silent"
22988 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22989 if \$ac_cs_recheck; then
22990 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22992 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
22993 CONFIG_SHELL='$SHELL'
22994 export CONFIG_SHELL
22999 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23003 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23004 ## Running $as_me. ##
23006 printf "%s\n" "$ac_log"
23010 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23014 wine_fn_output_makedep ()
23016 as_dir=tools; as_fn_mkdir_p
23017 $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
23019 wine_fn_output_makefile ()
23021 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
23022 # This Makefile understands the following targets:
23024 # all (default): build wine
23025 # clean: remove all intermediate files
23026 # distclean: also remove all files created by configure
23028 # testclean: clean test results to force running all tests again
23029 # install-lib: install libraries needed to run applications
23030 # install-dev: install development environment
23031 # install: install everything
23032 # uninstall: uninstall everything
23033 # ctags: create a tags file for vim and others.
23034 # etags: create a TAGS file for Emacs.
23037 PATH_SEPARATOR = $PATH_SEPARATOR
23038 PACKAGE_NAME = $PACKAGE_NAME
23039 PACKAGE_TARNAME = $PACKAGE_TARNAME
23040 PACKAGE_VERSION = $PACKAGE_VERSION
23041 PACKAGE_STRING = $PACKAGE_STRING
23042 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23043 PACKAGE_URL = $PACKAGE_URL
23044 exec_prefix = $exec_prefix
23046 program_transform_name = $program_transform_name
23049 libexecdir = $libexecdir
23050 datarootdir = $datarootdir
23052 sysconfdir = $sysconfdir
23053 sharedstatedir = $sharedstatedir
23054 localstatedir = $localstatedir
23055 runstatedir = $runstatedir
23056 includedir = $includedir
23057 oldincludedir = $oldincludedir
23065 localedir = $localedir
23072 build_alias = $build_alias
23073 host_alias = $host_alias
23074 target_alias = $target_alias
23075 system_dllpath = $system_dllpath
23077 build_cpu = $build_cpu
23078 build_vendor = $build_vendor
23079 build_os = $build_os
23081 host_cpu = $host_cpu
23082 host_vendor = $host_vendor
23088 SET_MAKE = $SET_MAKE
23092 CPPFLAGS = $CPPFLAGS
23093 ac_ct_CC = $ac_ct_CC
23097 CXXFLAGS = $CXXFLAGS
23098 ac_ct_CXX = $ac_ct_CXX
23101 TARGETFLAGS = $TARGETFLAGS
23102 toolsext = $toolsext
23103 HOST_ARCH = $HOST_ARCH
23104 aarch64_CC = $aarch64_CC
23105 aarch64_CFLAGS = $aarch64_CFLAGS
23106 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
23107 aarch64_LDFLAGS = $aarch64_LDFLAGS
23108 aarch64_DEBUG = $aarch64_DEBUG
23109 aarch64_TARGET = $aarch64_TARGET
23110 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
23111 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
23113 arm_CFLAGS = $arm_CFLAGS
23114 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
23115 arm_LDFLAGS = $arm_LDFLAGS
23116 arm_DEBUG = $arm_DEBUG
23117 arm_TARGET = $arm_TARGET
23118 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
23119 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
23121 i386_CFLAGS = $i386_CFLAGS
23122 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
23123 i386_LDFLAGS = $i386_LDFLAGS
23124 i386_DEBUG = $i386_DEBUG
23125 i386_TARGET = $i386_TARGET
23126 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
23127 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
23128 x86_64_CC = $x86_64_CC
23129 x86_64_CFLAGS = $x86_64_CFLAGS
23130 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
23131 x86_64_LDFLAGS = $x86_64_LDFLAGS
23132 x86_64_DEBUG = $x86_64_DEBUG
23133 x86_64_TARGET = $x86_64_TARGET
23134 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
23135 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
23136 toolsdir = $toolsdir
23138 RUNTESTFLAGS = $RUNTESTFLAGS
23143 ac_ct_AR = $ac_ct_AR
23149 LDCONFIG = $LDCONFIG
23151 PKG_CONFIG = $PKG_CONFIG
23152 FONTFORGE = $FONTFORGE
23156 I386_LIBS = $I386_LIBS
23157 OPENGL_LIBS = $OPENGL_LIBS
23158 DLLFLAGS = $DLLFLAGS
23159 LDDLLFLAGS = $LDDLLFLAGS
23160 LDEXECFLAGS = $LDEXECFLAGS
23161 EXTRACFLAGS = $EXTRACFLAGS
23162 UNIXDLLFLAGS = $UNIXDLLFLAGS
23163 UNIXLDFLAGS = $UNIXLDFLAGS
23164 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23165 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23166 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23167 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23172 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23173 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23174 CARBON_LIBS = $CARBON_LIBS
23175 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23176 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23177 IOKIT_LIBS = $IOKIT_LIBS
23178 METAL_LIBS = $METAL_LIBS
23179 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23180 CORESERVICES_LIBS = $CORESERVICES_LIBS
23181 APPKIT_LIBS = $APPKIT_LIBS
23182 SECURITY_LIBS = $SECURITY_LIBS
23183 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23184 COREAUDIO_LIBS = $COREAUDIO_LIBS
23185 OPENCL_LIBS = $OPENCL_LIBS
23187 OBJCFLAGS = $OBJCFLAGS
23188 ac_ct_OBJC = $ac_ct_OBJC
23189 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23190 PE_ARCHS = $PE_ARCHS
23191 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23192 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23193 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23194 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23195 GSM_PE_LIBS = $GSM_PE_LIBS
23196 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23197 JPEG_PE_LIBS = $JPEG_PE_LIBS
23198 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23199 JXR_PE_LIBS = $JXR_PE_LIBS
23200 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23201 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23202 LDAP_PE_CFLAGS = $LDAP_PE_CFLAGS
23203 LDAP_PE_LIBS = $LDAP_PE_LIBS
23204 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23205 MPG123_PE_LIBS = $MPG123_PE_LIBS
23206 MUSL_PE_CFLAGS = $MUSL_PE_CFLAGS
23207 MUSL_PE_LIBS = $MUSL_PE_LIBS
23208 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23209 PNG_PE_LIBS = $PNG_PE_LIBS
23210 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23211 TIFF_PE_LIBS = $TIFF_PE_LIBS
23212 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23213 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23214 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23215 XML2_PE_LIBS = $XML2_PE_LIBS
23216 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23217 XSLT_PE_LIBS = $XSLT_PE_LIBS
23218 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23219 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23220 ZYDIS_PE_CFLAGS = $ZYDIS_PE_CFLAGS
23221 ZYDIS_PE_LIBS = $ZYDIS_PE_LIBS
23222 PTHREAD_LIBS = $PTHREAD_LIBS
23225 X_CFLAGS = $X_CFLAGS
23226 X_PRE_LIBS = $X_PRE_LIBS
23228 X_EXTRA_LIBS = $X_EXTRA_LIBS
23229 WAYLAND_CLIENT_CFLAGS = $WAYLAND_CLIENT_CFLAGS
23230 WAYLAND_CLIENT_LIBS = $WAYLAND_CLIENT_LIBS
23231 WAYLAND_SCANNER = $WAYLAND_SCANNER
23232 PCAP_LIBS = $PCAP_LIBS
23233 PCSCLITE_LIBS = $PCSCLITE_LIBS
23234 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23235 INOTIFY_LIBS = $INOTIFY_LIBS
23236 DBUS_CFLAGS = $DBUS_CFLAGS
23237 DBUS_LIBS = $DBUS_LIBS
23238 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23239 GNUTLS_LIBS = $GNUTLS_LIBS
23240 SANE_CFLAGS = $SANE_CFLAGS
23241 SANE_LIBS = $SANE_LIBS
23242 USB_CFLAGS = $USB_CFLAGS
23243 USB_LIBS = $USB_LIBS
23244 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23245 GPHOTO2_LIBS = $GPHOTO2_LIBS
23246 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23247 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23248 RESOLV_LIBS = $RESOLV_LIBS
23249 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23250 FREETYPE_LIBS = $FREETYPE_LIBS
23251 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23252 PULSE_CFLAGS = $PULSE_CFLAGS
23253 PULSE_LIBS = $PULSE_LIBS
23254 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23255 GSTREAMER_LIBS = $GSTREAMER_LIBS
23256 ALSA_LIBS = $ALSA_LIBS
23257 OSS4_CFLAGS = $OSS4_CFLAGS
23258 OSS4_LIBS = $OSS4_LIBS
23259 UDEV_CFLAGS = $UDEV_CFLAGS
23260 UDEV_LIBS = $UDEV_LIBS
23261 UNWIND_CFLAGS = $UNWIND_CFLAGS
23262 UNWIND_LIBS = $UNWIND_LIBS
23263 SDL2_CFLAGS = $SDL2_CFLAGS
23264 SDL2_LIBS = $SDL2_LIBS
23265 CAPI20_CFLAGS = $CAPI20_CFLAGS
23266 CAPI20_LIBS = $CAPI20_LIBS
23267 CUPS_CFLAGS = $CUPS_CFLAGS
23268 CUPS_LIBS = $CUPS_LIBS
23269 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23270 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23271 KRB5_CFLAGS = $KRB5_CFLAGS
23272 KRB5_LIBS = $KRB5_LIBS
23273 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23274 GSSAPI_LIBS = $GSSAPI_LIBS
23275 PROCSTAT_LIBS = $PROCSTAT_LIBS
23276 NETAPI_CFLAGS = $NETAPI_CFLAGS
23277 NETAPI_LIBS = $NETAPI_LIBS
23278 MSVCRTFLAGS = $MSVCRTFLAGS
23279 DELAYLOADFLAG = $DELAYLOADFLAG
23280 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23282 TAGSFLAGS = $TAGSFLAGS
23284 LTLIBOBJS = $LTLIBOBJS
23288 as_fn_error $? "could not create Makefile" "$LINENO" 5
23293 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23295 # Handling of arguments.
23296 for ac_config_target
in $ac_config_targets
23298 case $ac_config_target in
23299 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
23300 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
23301 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
23302 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23303 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
23304 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
23306 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23311 # If the user did not use the arguments to specify the items to instantiate,
23312 # then the envvar interface is used. Set only those that are not.
23313 # We use the long form for the default assignment because of an extremely
23314 # bizarre bug on SunOS 4.1.3.
23315 if $ac_need_defaults; then
23316 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS
=$config_headers
23317 test ${CONFIG_LINKS+y} || CONFIG_LINKS
=$config_links
23318 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS
=$config_commands
23321 # Have a temporary directory for convenience. Make it in the build tree
23322 # simply because there is no reason against having it here, and in addition,
23323 # creating and moving files from /tmp can sometimes cause problems.
23324 # Hook for its removal unless debugging.
23325 # Note that there is a small window in which the directory will not be cleaned:
23326 # after its creation but before its name has been assigned to `$tmp'.
23330 trap 'exit_status=$?
23331 : "${ac_tmp:=$tmp}"
23332 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23334 trap 'as_fn_exit 1' 1 2 13 15
23336 # Create a (secure) tmp directory for tmp files.
23339 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23343 tmp
=.
/conf$$
-$RANDOM
23344 (umask 077 && mkdir
"$tmp")
23345 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
23348 # Set up the scripts for CONFIG_HEADERS section.
23349 # No need to generate them if there are no CONFIG_HEADERS.
23350 # This happens for instance with `./config.status Makefile'.
23351 if test -n "$CONFIG_HEADERS"; then
23352 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23356 # Transform confdefs.h into an awk script `defines.awk', embedded as
23357 # here-document in config.status, that substitutes the proper values into
23358 # config.h.in to produce config.h.
23360 # Create a delimiter string that does not exist in confdefs.h, to ease
23361 # handling of long lines.
23363 for ac_last_try
in false false
:; do
23364 ac_tt
=`sed -n "/$ac_delim/p" confdefs.h`
23365 if test -z "$ac_tt"; then
23367 elif $ac_last_try; then
23368 as_fn_error $?
"could not make $CONFIG_HEADERS" "$LINENO" 5
23370 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
23374 # For the awk script, D is an array of macro values keyed by name,
23375 # likewise P contains macro parameters if any. Preserve backslash
23376 # newline sequences.
23378 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
23380 s/.\{148\}/&'"$ac_delim"'/g
23383 s/^[ ]*#[ ]*define[ ][ ]*/ /
23390 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23392 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23396 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23397 D["\1"]=" \3\\\\\\n"\\/p
23399 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23404 s/.\{148\}/&'"$ac_delim"'/g
23409 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23412 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23414 ' <confdefs.h |
sed '
23415 s/'"$ac_delim"'/"\\\
23416 "/g' >>$CONFIG_STATUS || ac_write_fail
=1
23418 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23419 for (key in D) D_is_set[key] = 1
23422 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23424 split(line, arg, " ")
23425 if (arg[1] == "#") {
23429 defundef = substr(arg[1], 2)
23432 split(mac1, mac2, "(") #)
23434 prefix = substr(line, 1, index(line, defundef) - 1)
23435 if (D_is_set[macro]) {
23436 # Preserve the white space surrounding the "#".
23437 print prefix "define", macro P[macro] D[macro]
23440 # Replace #undef with comments. This is necessary, for example,
23441 # in the case of _POSIX_SOURCE, which is predefined and required
23442 # on some systems where configure will not decide to define it.
23443 if (defundef == "undef") {
23444 print "/*", prefix defundef, macro, "*/"
23452 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23453 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
23454 fi # test -n "$CONFIG_HEADERS"
23457 eval set X
" :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23462 :[FHLC
]) ac_mode
=$ac_tag; continue;;
23464 case $ac_mode$ac_tag in
23466 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
23467 :[FH
]-) ac_tag
=-:-;;
23468 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
23485 -) ac_f
="$ac_tmp/stdin";;
23486 *) # Look for the file first in the build tree, then in the source tree
23487 # (if the path is not absolute). The absolute path cannot be DOS-style,
23488 # because $ac_f cannot contain `:'.
23492 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
23494 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23496 case $ac_f in *\'*) ac_f
=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23497 as_fn_append ac_file_inputs
" '$ac_f'"
23500 # Let's still pretend it is `configure' which instantiates (i.e., don't
23501 # use $as_me), people would be surprised to read:
23502 # /* config.h. Generated by config.status. */
23503 configure_input
='Generated from '`
23504 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23506 if test x
"$ac_file" != x-
; then
23507 configure_input
="$ac_file. $configure_input"
23508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23509 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23511 # Neutralize special characters interpreted by sed in replacement strings.
23512 case $configure_input in #(
23513 *\
&* |
*\|
* |
*\\* )
23514 ac_sed_conf_input
=`printf "%s\n" "$configure_input" |
23515 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23516 *) ac_sed_conf_input
=$configure_input;;
23520 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
23521 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
23526 ac_dir
=`$as_dirname -- "$ac_file" ||
23527 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23528 X"$ac_file" : 'X\(//\)[^/]' \| \
23529 X"$ac_file" : 'X\(//\)$' \| \
23530 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23531 printf "%s\n" X"$ac_file" |
23532 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23536 /^X\(\/\/\)[^/].*/{
23549 as_dir
="$ac_dir"; as_fn_mkdir_p
23553 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23555 ac_dir_suffix
=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23556 # A ".." for each directory in $ac_dir_suffix.
23557 ac_top_builddir_sub
=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23558 case $ac_top_builddir_sub in
23559 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23560 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
23563 ac_abs_top_builddir
=$ac_pwd
23564 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
23565 # for backward compatibility:
23566 ac_top_builddir
=$ac_top_build_prefix
23569 .
) # We are building in place.
23571 ac_top_srcdir
=$ac_top_builddir_sub
23572 ac_abs_top_srcdir
=$ac_pwd ;;
23573 [\\/]* | ?
:[\\/]* ) # Absolute name.
23574 ac_srcdir
=$srcdir$ac_dir_suffix;
23575 ac_top_srcdir
=$srcdir
23576 ac_abs_top_srcdir
=$srcdir ;;
23577 *) # Relative name.
23578 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
23579 ac_top_srcdir
=$ac_top_build_prefix$srcdir
23580 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
23582 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
23591 if test x
"$ac_file" != x-
; then
23593 printf "%s\n" "/* $configure_input */" >&1 \
23594 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23595 } >"$ac_tmp/config.h" \
23596 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5
23597 if diff "$ac_file" "$ac_tmp/config.h" >/dev
/null
2>&1; then
23598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23599 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23602 mv "$ac_tmp/config.h" "$ac_file" \
23603 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5
23606 printf "%s\n" "/* $configure_input */" >&1 \
23607 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23608 || as_fn_error $?
"could not create -" "$LINENO" 5
23616 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23619 # Prefer the file from the source tree if names are identical.
23620 if test "$ac_source" = "$ac_file" ||
test ! -r "$ac_source"; then
23621 ac_source
=$srcdir/$ac_source
23624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23625 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23627 if test ! -r "$ac_source"; then
23628 as_fn_error $?
"$ac_source: file not found" "$LINENO" 5
23632 # Try a relative symlink, then a hard link, then a copy.
23634 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$ac_source ;;
23635 *) ac_rel_source
=$ac_top_build_prefix$ac_source ;;
23637 ln -s "$ac_rel_source" "$ac_file" 2>/dev
/null ||
23638 ln "$ac_source" "$ac_file" 2>/dev
/null ||
23639 cp -p "$ac_source" "$ac_file" ||
23640 as_fn_error $?
"cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23643 :C
) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23644 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23649 case $ac_file$ac_mode in
23650 "include/stamp-h":C
) echo timestamp
> include
/stamp-h
;;
23651 "tools/makedep":C
) wine_fn_output_makedep || as_fn_exit $?
;;
23652 "Makefile":C
) wine_fn_output_makefile Makefile
;;
23660 ac_clean_files
=$ac_clean_files_save
23662 test $ac_write_fail = 0 ||
23663 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
23666 # configure is writing to config.log, and then calls config.status.
23667 # config.status does its own redirection, appending to config.log.
23668 # Unfortunately, on DOS this fails, as config.log is still kept open
23669 # by configure, so config.status won't be able to write to it; its
23670 # output is simply discarded. So we exec the FD to /dev/null,
23671 # effectively closing config.log, so it can be properly (re)opened and
23672 # appended to by config.status. When coming back to configure, we
23673 # need to make the FD available again.
23674 if test "$no_create" != yes; then
23676 ac_config_status_args
=
23677 test "$silent" = yes &&
23678 ac_config_status_args
="$ac_config_status_args --quiet"
23680 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23682 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23683 # would make configure fail if this is the last instruction.
23684 $ac_cs_success || as_fn_exit
1
23686 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
23687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23688 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23692 if test "$no_create" = "yes"
23698 if test "x$wine_notices" != x
; then
23701 for msg
in $wine_notices; do
23707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23708 printf "%s\n" "$as_me: $msg" >&6;}
23713 for msg
in $wine_warnings; do
23720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23721 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23727 $as_me: Finished. Do '${ac_make}' to compile Wine.