2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 7.21.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
18 # Be more Bourne compatible
19 DUALCASE
=1; export DUALCASE
# for MKS sh
21 if test ${ZSH_VERSION+y} && (emulate sh
) >/dev
/null
2>&1
25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26 # is contrary to our usage. Disable this feature.
27 alias -g '${1+"$@"}'='"$@"'
30 case `(set -o) 2>/dev/null` in #(
40 # Reset variables that may have inherited troublesome values from
43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
45 # side effect of setting IFS to empty, thus disabling word splitting.)
46 # Quoting is to prevent editors from complaining about space-tab.
56 # Ensure predictable behavior from utilities with locale-dependent output.
62 # We cannot yet rely on "unset" to work, but we need these variables
63 # to be unset--not just set to an empty or harmless value--now, to
64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
65 # also avoids known problems related to "unset" and subshell syntax
66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
67 for as_var
in BASH_ENV ENV MAIL MAILPATH CDPATH
68 do eval test \
${$as_var+y} \
69 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
72 # Ensure that fds 0, 1, and 2 are open.
73 if (exec 3>&0) 2>/dev
/null
; then :; else exec 0</dev
/null
; fi
74 if (exec 3>&1) 2>/dev
/null
; then :; else exec 1>/dev
/null
; fi
75 if (exec 3>&2) ; then :; else exec 2>/dev
/null
; fi
77 # The user is always right.
78 if ${PATH_SEPARATOR+false} :; then
80 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
81 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
87 # Find who we are. Look in the path if we contain no directory separator.
90 *[\\/]* ) as_myself
=$0 ;;
91 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
100 test -r "$as_dir$0" && as_myself
=$as_dir$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Use a proper internal environment variable to ensure we don't fall
118 # into an infinite loop, continuously re-executing ourselves.
119 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
120 _as_can_reexec
=no
; export _as_can_reexec
;
121 # We cannot yet assume a decent shell, so we have to provide a
122 # neutralization value for shells without unset; and this also
123 # works around shells that cannot unset nonexistent variables.
124 # Preserve -v and -x to the replacement shell.
127 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
129 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
135 # Admittedly, this is quite paranoid, since all the known shells bail
136 # out after a failed `exec'.
137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
140 # We don't want this to propagate to other subprocesses.
141 { _as_can_reexec
=; unset _as_can_reexec
;}
142 if test "x$CONFIG_SHELL" = x
; then
143 as_bourne_compatible
="as_nop=:
144 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
148 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
149 # is contrary to our usage. Disable this feature.
150 alias -g '\${1+\"\$@\"}'='\"\$@\"'
153 case \`(set -o) 2>/dev/null\` in #(
161 as_required
="as_fn_return () { (exit \$1); }
162 as_fn_success () { as_fn_return 0; }
163 as_fn_failure () { as_fn_return 1; }
164 as_fn_ret_success () { return 0; }
165 as_fn_ret_failure () { return 1; }
168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
176 exitcode=1; echo positional parameters were not saved.
178 test x\$exitcode = x0 || exit 1
179 blah=\$(echo \$(echo blah))
180 test x\"\$blah\" = xblah || exit 1
182 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
183 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
184 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
185 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
186 test \$(( 1 + 1 )) = 2 || exit 1"
187 if (eval "$as_required") 2>/dev
/null
193 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
197 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
199 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
205 *) as_dir
=$as_dir/ ;;
210 for as_base
in sh bash ksh sh5
; do
211 # Try only shells that exist, to save several forks.
212 as_shell
=$as_dir$as_base
213 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
214 as_run
=a
"$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev
/null
216 CONFIG_SHELL
=$as_shell as_have_required
=yes
217 if as_run
=a
"$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev
/null
231 if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
232 as_run
=a
"$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev
/null
234 CONFIG_SHELL
=$SHELL as_have_required
=yes
239 if test "x$CONFIG_SHELL" != x
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
248 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
250 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
262 if test x
$as_have_required = xno
264 printf "%s\n" "$0: This script requires a shell more modern than all"
265 printf "%s\n" "$0: the shells that I found on your system."
266 if test ${ZSH_VERSION+y} ; then
267 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
268 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
270 printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and
271 $0: wine-devel@winehq.org about your system, including any
272 $0: error possibly output before this message. Then install
273 $0: a modern shell, or manually run the script under such a
274 $0: shell if you do have one."
280 SHELL
=${CONFIG_SHELL-/bin/sh}
282 # Unset more variables known to interfere with behavior of common tools.
283 CLICOLOR_FORCE
= GREP_OPTIONS
=
284 unset CLICOLOR_FORCE GREP_OPTIONS
286 ## --------------------- ##
287 ## M4sh Shell Functions. ##
288 ## --------------------- ##
291 # Portably unset VAR.
294 { eval $1=; unset $1;}
299 # as_fn_set_status STATUS
300 # -----------------------
301 # Set $? to STATUS, without forking.
309 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
318 # Do nothing but, unlike ":", preserve the value of $?.
327 # Create "$as_dir" as a directory, including parents if necessary.
332 -*) as_dir
=.
/$as_dir;;
334 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
338 *\'*) as_qdir
=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
341 as_dirs
="'$as_qdir' $as_dirs"
342 as_dir
=`$as_dirname -- "$as_dir" ||
343 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
344 X"$as_dir" : 'X\(//\)[^/]' \| \
345 X"$as_dir" : 'X\(//\)$' \| \
346 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
347 printf "%s\n" X"$as_dir" |
348 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
365 test -d "$as_dir" && break
367 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
368 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
373 # as_fn_executable_p FILE
374 # -----------------------
375 # Test if FILE is an executable regular file.
376 as_fn_executable_p
()
378 test -f "$1" && test -x "$1"
379 } # as_fn_executable_p
380 # as_fn_append VAR VALUE
381 # ----------------------
382 # Append the text in VALUE to the end of the definition contained in VAR. Take
383 # advantage of any shell optimizations that allow amortized linear growth over
384 # repeated appends, instead of the typical quadratic growth present in naive
386 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
388 eval 'as_fn_append ()
401 # Perform arithmetic evaluation on the ARGs, and store the result in the
402 # global $as_val. Take advantage of shells that can avoid forks. The arguments
403 # must be portable across $(()) and expr.
404 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
413 as_val
=`expr "$@" || test $? -eq 1`
419 # Do nothing but, unlike ":", preserve the value of $?.
426 # as_fn_error STATUS ERROR [LINENO LOG_FD]
427 # ----------------------------------------
428 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
429 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
430 # script with STATUS, using 1 if that was 0.
433 as_status
=$1; test $as_status -eq 0 && as_status
=1
435 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
436 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
438 printf "%s\n" "$as_me: error: $2" >&2
439 as_fn_exit
$as_status
442 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
443 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
449 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
455 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
461 as_me
=`$as_basename -- "$0" ||
462 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
463 X"$0" : 'X\(//\)$' \| \
464 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
465 printf "%s\n" X/"$0" |
466 sed '/^.*\/\([^/][^/]*\)\/*$/{
480 # Avoid depending upon Character Ranges.
481 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
482 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
483 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
484 as_cr_digits
='0123456789'
485 as_cr_alnum
=$as_cr_Letters$as_cr_digits
488 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
489 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
490 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
491 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
492 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
504 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
508 chmod +x
"$as_me.lineno" ||
509 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
511 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
512 # already done that, so ensure we don't try to do so again and fall
513 # in an infinite loop. This has already happened in practice.
514 _as_can_reexec
=no
; export _as_can_reexec
515 # Don't try to exec as it changes $[0], causing all sort of problems
516 # (the dirname of $[0] is not the place where we might find the
517 # original and so on. Autoconf is especially sensitive to this).
519 # Exit status is that of the last command.
524 # Determine whether it's possible to make 'echo' print without a newline.
525 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
526 # for compatibility with existing Makefiles.
527 ECHO_C
= ECHO_N
= ECHO_T
=
528 case `echo -n x` in #(((((
530 case `echo 'xy\c'` in
531 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
533 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
540 # For backward compatibility with old third-party macros, we provide
541 # the shell variables $as_echo and $as_echo_n. New code should use
542 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
543 as_echo
='printf %s\n'
544 as_echo_n
='printf %s'
547 rm -f conf$$ conf$$.exe conf$$.
file
548 if test -d conf$$.dir
; then
549 rm -f conf$$.dir
/conf$$.
file
552 mkdir conf$$.dir
2>/dev
/null
554 if (echo >conf$$.
file) 2>/dev
/null
; then
555 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
557 # ... but there are two gotchas:
558 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
559 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
560 # In both cases, we have to default to `cp -pR'.
561 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
563 elif ln conf$$.
file conf$$
2>/dev
/null
; then
571 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
572 rmdir conf$$.dir
2>/dev
/null
574 if mkdir
-p .
2>/dev
/null
; then
575 as_mkdir_p
='mkdir -p "$as_dir"'
577 test -d .
/-p && rmdir .
/-p
582 as_executable_p
=as_fn_executable_p
584 # Sed expression to map a string onto a valid CPP name.
585 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
587 # Sed expression to map a string onto a valid variable name.
588 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
591 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
595 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
596 # so uname gets run too.
597 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
602 ac_default_prefix
=/usr
/local
604 ac_config_libobj_dir
=.
611 # Identity of this package.
613 PACKAGE_TARNAME
='wine'
614 PACKAGE_VERSION
='7.21'
615 PACKAGE_STRING
='Wine 7.21'
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
749 SYSTEMCONFIGURATION_LIBS
752 APPLICATIONSERVICES_LIBS
765 WINEPRELOADER_LDFLAGS
797 x86_64_DISABLED_SUBDIRS
805 i386_DISABLED_SUBDIRS
821 aarch64_DISABLED_SUBDIRS
822 aarch64_DELAYLOADFLAG
886 program_transform_name
899 enable_option_checking
905 enable_maintainer_mode
1021 enable_d3dcompiler_33
1022 enable_d3dcompiler_34
1023 enable_d3dcompiler_35
1024 enable_d3dcompiler_36
1025 enable_d3dcompiler_37
1026 enable_d3dcompiler_38
1027 enable_d3dcompiler_39
1028 enable_d3dcompiler_40
1029 enable_d3dcompiler_41
1030 enable_d3dcompiler_42
1031 enable_d3dcompiler_43
1032 enable_d3dcompiler_46
1033 enable_d3dcompiler_47
1086 enable_directmanipulation
1123 enable_explorerframe
1179 enable_light_msstyles
1194 enable_mfmediaengine
1257 enable_msvcp140_atomic_wait
1323 enable_photometadatahandler
1399 enable_threadpoolwinrt
1405 enable_uiautomationcore
1425 enable_vcruntime140_1
1443 enable_windows_devices_enumeration
1444 enable_windows_gaming_input
1445 enable_windows_gaming_ui_gamebar
1446 enable_windows_globalization
1447 enable_windows_media_devices
1448 enable_windows_media_speech
1449 enable_windows_networking
1450 enable_windowscodecs
1451 enable_windowscodecsext
1453 enable_wineandroid_drv
1455 enable_winecoreaudio_drv
1458 enable_winegstreamer
1464 enable_winepulse_drv
1468 enable_winexinput_sys
1512 enable_xactengine2_0
1513 enable_xactengine2_4
1514 enable_xactengine2_7
1515 enable_xactengine2_9
1516 enable_xactengine3_0
1517 enable_xactengine3_1
1518 enable_xactengine3_2
1519 enable_xactengine3_3
1520 enable_xactengine3_4
1521 enable_xactengine3_5
1522 enable_xactengine3_6
1523 enable_xactengine3_7
1571 enable_wmcodecdspuuid
1579 enable_aspnet_regiis
1625 enable_presentationfontcache
1640 enable_servicemodelreg
1666 enable_winemenubuilder
1668 enable_winemsibuilder
1693 ac_precious_vars
='build_alias
1774 # Initialize some variables set by options.
1776 ac_init_version
=false
1777 ac_unrecognized_opts
=
1778 ac_unrecognized_sep
=
1779 # The variables have the same names as the options, with
1780 # dashes changed to underlines.
1781 cache_file
=/dev
/null
1788 program_transform_name
=s
,x
,x
,
1796 # Installation directory options.
1797 # These are left unexpanded so users can "make install exec_prefix=/foo"
1798 # and all the variables that are supposed to be based on exec_prefix
1799 # by default will actually change.
1800 # Use braces instead of parens because sh, perl, etc. also accept them.
1801 # (The list follows the same order as the GNU Coding Standards.)
1802 bindir
='${exec_prefix}/bin'
1803 sbindir
='${exec_prefix}/sbin'
1804 libexecdir
='${exec_prefix}/libexec'
1805 datarootdir
='${prefix}/share'
1806 datadir
='${datarootdir}'
1807 sysconfdir
='${prefix}/etc'
1808 sharedstatedir
='${prefix}/com'
1809 localstatedir
='${prefix}/var'
1810 runstatedir
='${localstatedir}/run'
1811 includedir
='${prefix}/include'
1812 oldincludedir
='/usr/include'
1813 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1814 infodir
='${datarootdir}/info'
1819 libdir
='${exec_prefix}/lib'
1820 localedir
='${datarootdir}/locale'
1821 mandir
='${datarootdir}/man'
1827 # If the previous option needs an argument, assign it.
1828 if test -n "$ac_prev"; then
1829 eval $ac_prev=\
$ac_option
1835 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1840 case $ac_dashdash$ac_option in
1844 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1846 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1847 bindir
=$ac_optarg ;;
1849 -build |
--build |
--buil |
--bui |
--bu)
1850 ac_prev
=build_alias
;;
1851 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1852 build_alias
=$ac_optarg ;;
1854 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1855 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1856 ac_prev
=cache_file
;;
1857 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1858 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1859 cache_file
=$ac_optarg ;;
1861 --config-cache |
-C)
1862 cache_file
=config.cache
;;
1864 -datadir |
--datadir |
--datadi |
--datad)
1866 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1867 datadir
=$ac_optarg ;;
1869 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1870 |
--dataroo |
--dataro |
--datar)
1871 ac_prev
=datarootdir
;;
1872 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1873 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1874 datarootdir
=$ac_optarg ;;
1876 -disable-* |
--disable-*)
1877 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1878 # Reject names that are not valid shell variable names.
1879 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1880 as_fn_error $?
"invalid feature name: \`$ac_useropt'"
1881 ac_useropt_orig
=$ac_useropt
1882 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1883 case $ac_user_opts in
1885 "enable_
$ac_useropt"
1887 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1888 ac_unrecognized_sep
=', ';;
1890 eval enable_
$ac_useropt=no
;;
1892 -docdir |
--docdir |
--docdi |
--doc |
--do)
1894 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1895 docdir
=$ac_optarg ;;
1897 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1899 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1900 dvidir
=$ac_optarg ;;
1902 -enable-* |
--enable-*)
1903 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1904 # Reject names that are not valid shell variable names.
1905 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1906 as_fn_error $?
"invalid feature name: \`$ac_useropt'"
1907 ac_useropt_orig
=$ac_useropt
1908 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1909 case $ac_user_opts in
1911 "enable_
$ac_useropt"
1913 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1914 ac_unrecognized_sep
=', ';;
1916 eval enable_
$ac_useropt=\
$ac_optarg ;;
1918 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1919 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1920 |
--exec |
--exe |
--ex)
1921 ac_prev
=exec_prefix
;;
1922 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1923 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1924 |
--exec=* |
--exe=* |
--ex=*)
1925 exec_prefix
=$ac_optarg ;;
1927 -gas |
--gas |
--ga |
--g)
1928 # Obsolete; use --with-gas.
1931 -help |
--help |
--hel |
--he |
-h)
1932 ac_init_help
=long
;;
1933 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1934 ac_init_help
=recursive
;;
1935 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1936 ac_init_help
=short
;;
1938 -host |
--host |
--hos |
--ho)
1939 ac_prev
=host_alias
;;
1940 -host=* |
--host=* |
--hos=* |
--ho=*)
1941 host_alias
=$ac_optarg ;;
1943 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1945 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1947 htmldir
=$ac_optarg ;;
1949 -includedir |
--includedir |
--includedi |
--included |
--include \
1950 |
--includ |
--inclu |
--incl |
--inc)
1951 ac_prev
=includedir
;;
1952 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1953 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1954 includedir
=$ac_optarg ;;
1956 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1958 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1959 infodir
=$ac_optarg ;;
1961 -libdir |
--libdir |
--libdi |
--libd)
1963 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1964 libdir
=$ac_optarg ;;
1966 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1967 |
--libexe |
--libex |
--libe)
1968 ac_prev
=libexecdir
;;
1969 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1970 |
--libexe=* |
--libex=* |
--libe=*)
1971 libexecdir
=$ac_optarg ;;
1973 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1974 ac_prev
=localedir
;;
1975 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1976 localedir
=$ac_optarg ;;
1978 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1979 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1980 ac_prev
=localstatedir
;;
1981 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1982 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1983 localstatedir
=$ac_optarg ;;
1985 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1987 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1988 mandir
=$ac_optarg ;;
1990 -nfp |
--nfp |
--nf)
1991 # Obsolete; use --without-fp.
1994 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1995 |
--no-cr |
--no-c |
-n)
1998 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1999 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
2002 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
2003 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
2004 |
--oldin |
--oldi |
--old |
--ol |
--o)
2005 ac_prev
=oldincludedir
;;
2006 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
2007 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
2008 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
2009 oldincludedir
=$ac_optarg ;;
2011 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
2013 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
2014 prefix
=$ac_optarg ;;
2016 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
2017 |
--program-pre |
--program-pr |
--program-p)
2018 ac_prev
=program_prefix
;;
2019 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
2020 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
2021 program_prefix
=$ac_optarg ;;
2023 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
2024 |
--program-suf |
--program-su |
--program-s)
2025 ac_prev
=program_suffix
;;
2026 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
2027 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
2028 program_suffix
=$ac_optarg ;;
2030 -program-transform-name |
--program-transform-name \
2031 |
--program-transform-nam |
--program-transform-na \
2032 |
--program-transform-n |
--program-transform- \
2033 |
--program-transform |
--program-transfor \
2034 |
--program-transfo |
--program-transf \
2035 |
--program-trans |
--program-tran \
2036 |
--progr-tra |
--program-tr |
--program-t)
2037 ac_prev
=program_transform_name
;;
2038 -program-transform-name=* |
--program-transform-name=* \
2039 |
--program-transform-nam=* |
--program-transform-na=* \
2040 |
--program-transform-n=* |
--program-transform-=* \
2041 |
--program-transform=* |
--program-transfor=* \
2042 |
--program-transfo=* |
--program-transf=* \
2043 |
--program-trans=* |
--program-tran=* \
2044 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
2045 program_transform_name
=$ac_optarg ;;
2047 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
2049 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
2050 pdfdir
=$ac_optarg ;;
2052 -psdir |
--psdir |
--psdi |
--psd |
--ps)
2054 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
2057 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2058 |
-silent |
--silent |
--silen |
--sile |
--sil)
2061 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
2062 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
2063 |
--run |
--ru |
--r)
2064 ac_prev
=runstatedir
;;
2065 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
2066 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
2067 |
--run=* |
--ru=* |
--r=*)
2068 runstatedir
=$ac_optarg ;;
2070 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
2072 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
2074 sbindir
=$ac_optarg ;;
2076 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
2077 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
2078 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
2080 ac_prev
=sharedstatedir
;;
2081 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
2082 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
2083 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
2085 sharedstatedir
=$ac_optarg ;;
2087 -site |
--site |
--sit)
2089 -site=* |
--site=* |
--sit=*)
2092 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
2094 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
2095 srcdir
=$ac_optarg ;;
2097 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
2098 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
2099 ac_prev
=sysconfdir
;;
2100 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
2101 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
2102 sysconfdir
=$ac_optarg ;;
2104 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
2105 ac_prev
=target_alias
;;
2106 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
2107 target_alias
=$ac_optarg ;;
2109 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
2112 -version |
--version |
--versio |
--versi |
--vers |
-V)
2113 ac_init_version
=: ;;
2116 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2117 # Reject names that are not valid shell variable names.
2118 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2119 as_fn_error $?
"invalid package name: \`$ac_useropt'"
2120 ac_useropt_orig
=$ac_useropt
2121 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2122 case $ac_user_opts in
2126 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2127 ac_unrecognized_sep
=', ';;
2129 eval with_
$ac_useropt=\
$ac_optarg ;;
2131 -without-* |
--without-*)
2132 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2133 # Reject names that are not valid shell variable names.
2134 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2135 as_fn_error $?
"invalid package name: \`$ac_useropt'"
2136 ac_useropt_orig
=$ac_useropt
2137 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2138 case $ac_user_opts in
2142 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2143 ac_unrecognized_sep
=', ';;
2145 eval with_
$ac_useropt=no
;;
2148 # Obsolete; use --with-x.
2151 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
2152 |
--x-incl |
--x-inc |
--x-in |
--x-i)
2153 ac_prev
=x_includes
;;
2154 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
2155 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
2156 x_includes
=$ac_optarg ;;
2158 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
2159 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
2160 ac_prev
=x_libraries
;;
2161 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
2162 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
2163 x_libraries
=$ac_optarg ;;
2165 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
2166 Try \`$0 --help' for more information"
2170 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
2171 # Reject names that are not valid shell variable names.
2172 case $ac_envvar in #(
2173 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
2174 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
2176 eval $ac_envvar=\
$ac_optarg
2177 export $ac_envvar ;;
2180 # FIXME: should be removed in autoconf 3.0.
2181 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2182 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
2183 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2184 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2190 if test -n "$ac_prev"; then
2191 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
2192 as_fn_error $?
"missing argument to $ac_option"
2195 if test -n "$ac_unrecognized_opts"; then
2196 case $enable_option_checking in
2198 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
2199 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2203 # Check all directory arguments for consistency.
2204 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2205 datadir sysconfdir sharedstatedir localstatedir includedir \
2206 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2207 libdir localedir mandir runstatedir
2209 eval ac_val
=\$
$ac_var
2210 # Remove trailing slashes.
2213 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2214 eval $ac_var=\
$ac_val;;
2216 # Be sure to have absolute directory names.
2218 [\\/$
]* | ?
:[\\/]* ) continue;;
2219 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
2221 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
2224 # There might be people who depend on the old broken behavior: `$host'
2225 # used to hold the argument of --host etc.
2226 # FIXME: To remove some day.
2229 target
=$target_alias
2231 # FIXME: To remove some day.
2232 if test "x$host_alias" != x
; then
2233 if test "x$build_alias" = x
; then
2234 cross_compiling
=maybe
2235 elif test "x$build_alias" != "x$host_alias"; then
2241 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
2243 test "$silent" = yes && exec 6>/dev
/null
2246 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
2247 ac_ls_di
=`ls -di .` &&
2248 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
2249 as_fn_error $?
"working directory cannot be determined"
2250 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2251 as_fn_error $?
"pwd does not report name of working directory"
2254 # Find the source files, if location was not specified.
2255 if test -z "$srcdir"; then
2256 ac_srcdir_defaulted
=yes
2257 # Try the directory containing this script, then the parent directory.
2258 ac_confdir
=`$as_dirname -- "$as_myself" ||
2259 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2260 X"$as_myself" : 'X\(//\)[^/]' \| \
2261 X"$as_myself" : 'X\(//\)$' \| \
2262 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2263 printf "%s\n" X"$as_myself" |
2264 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2282 if test ! -r "$srcdir/$ac_unique_file"; then
2286 ac_srcdir_defaulted
=no
2288 if test ! -r "$srcdir/$ac_unique_file"; then
2289 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
2290 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
2292 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
2294 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2296 # When building in place, set srcdir=.
2297 if test "$ac_abs_confdir" = "$ac_pwd"; then
2300 # Remove unnecessary trailing slashes from srcdir.
2301 # Double slashes in file names in object file debugging info
2302 # mess up M-x gdb in Emacs.
2304 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2306 for ac_var
in $ac_precious_vars; do
2307 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
2308 eval ac_env_
${ac_var}_value
=\$
${ac_var}
2309 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
2310 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2314 # Report the --help message.
2316 if test "$ac_init_help" = "long"; then
2317 # Omit some internal or obsolete options to make the list less imposing.
2318 # This message is too long to be a string in the A/UX 3.1 sh.
2320 \`configure' configures Wine 7.21 to adapt to many kinds of systems.
2322 Usage: $0 [OPTION]... [VAR=VALUE]...
2324 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2325 VAR=VALUE. See below for descriptions of some of the useful variables.
2327 Defaults for the options are specified in brackets.
2330 -h, --help display this help and exit
2331 --help=short display options specific to this package
2332 --help=recursive display the short help of all the included packages
2333 -V, --version display version information and exit
2334 -q, --quiet, --silent do not print \`checking ...' messages
2335 --cache-file=FILE cache test results in FILE [disabled]
2336 -C, --config-cache alias for \`--cache-file=config.cache'
2337 -n, --no-create do not create output files
2338 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2340 Installation directories:
2341 --prefix=PREFIX install architecture-independent files in PREFIX
2342 [$ac_default_prefix]
2343 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2346 By default, \`make install' will install all the files in
2347 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2348 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2349 for instance \`--prefix=\$HOME'.
2351 For better control, use the options below.
2353 Fine tuning of the installation directories:
2354 --bindir=DIR user executables [EPREFIX/bin]
2355 --sbindir=DIR system admin executables [EPREFIX/sbin]
2356 --libexecdir=DIR program executables [EPREFIX/libexec]
2357 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2358 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2359 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2360 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2361 --libdir=DIR object code libraries [EPREFIX/lib]
2362 --includedir=DIR C header files [PREFIX/include]
2363 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2364 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2365 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2366 --infodir=DIR info documentation [DATAROOTDIR/info]
2367 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2368 --mandir=DIR man documentation [DATAROOTDIR/man]
2369 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2370 --htmldir=DIR html documentation [DOCDIR]
2371 --dvidir=DIR dvi documentation [DOCDIR]
2372 --pdfdir=DIR pdf documentation [DOCDIR]
2373 --psdir=DIR ps documentation [DOCDIR]
2379 --x-includes=DIR X include files are
in DIR
2380 --x-libraries=DIR X library files are
in DIR
2383 --build=BUILD configure
for building on BUILD
[guessed
]
2384 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2388 if test -n "$ac_init_help"; then
2389 case $ac_init_help in
2390 short | recursive
) echo "Configuration of Wine 7.21:";;
2395 --disable-option-checking ignore unrecognized
--enable/--with options
2396 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2397 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2398 --enable-archs={i386
,x86_64
,arm
,aarch64
}
2399 enable multiple architectures
for PE compilation
2400 --disable-win16 do not include Win16 support
2401 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2403 --disable-tests do not build the regression tests
2404 --enable-build-id include .buildid section in output objects
2405 --enable-maintainer-mode
2406 enable maintainer-specific build rules
2407 --enable-silent-rules use silent build rules (override: "make V=1")
2408 --enable-werror treat compilation warnings as errors
2409 --disable-largefile omit support for large files
2412 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2413 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2414 --without-alsa do not use the Alsa sound support
2415 --without-capi do not use CAPI (ISDN support)
2416 --without-coreaudio do not use the CoreAudio sound support
2417 --without-cups do not use CUPS
2418 --without-dbus do not use DBus (dynamic device support)
2419 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2420 --without-fontconfig do not use fontconfig
2421 --without-freetype do not use the FreeType library
2422 --without-gettext do not use gettext
2423 --with-gettextpo use the GetTextPO library to rebuild po files
2424 --without-gphoto do not use gphoto (Digital Camera support)
2425 --without-gnutls do not use GnuTLS (schannel support)
2426 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2427 --without-gstreamer do not use GStreamer (codecs support)
2428 --without-inotify do not use inotify (filesystem change notifications)
2429 --without-krb5 do not use krb5 (Kerberos)
2430 --without-mingw do not use the MinGW cross-compiler
2431 --without-netapi do not use the Samba NetAPI library
2432 --without-opencl do not use OpenCL
2433 --without-opengl do not use OpenGL
2434 --without-osmesa do not use the OSMesa library
2435 --without-oss do not use the OSS sound support
2436 --without-pcap do not use the Packet Capture library
2437 --without-pthread do not use the pthread library
2438 --without-pulse do not use PulseAudio sound support
2439 --without-sane do not use SANE (scanner support)
2440 --without-sdl do not use SDL
2441 --without-udev do not use udev (plug and play support)
2442 --without-unwind do not use the libunwind library (exception
2444 --without-usb do not use the libusb library
2445 --without-v4l2 do not use v4l2 (video capture)
2446 --without-vulkan do not use Vulkan
2447 --without-xcomposite do not use the Xcomposite extension
2448 --without-xcursor do not use the Xcursor extension
2449 --without-xfixes do not use Xfixes for clipboard change notifications
2450 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2451 --without-xinput do not use the Xinput extension
2452 --without-xinput2 do not use the Xinput 2 extension
2453 --without-xrandr do not use Xrandr (multi-monitor support)
2454 --without-xrender do not use the Xrender extension
2455 --without-xshape do not use the Xshape extension
2456 --without-xshm do not use XShm (shared memory extension)
2457 --without-xxf86vm do not use XFree video mode extension
2458 --with-system-dllpath=PATH
2459 load external PE dependencies from colon-separated
2461 --with-wine-tools=DIR use Wine tools from directory DIR
2462 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2463 --with-x use the X Window System
2465 Some influential environment variables:
2466 CC C compiler command
2467 CFLAGS C compiler flags
2468 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2469 nonstandard directory <lib dir>
2470 LIBS libraries to pass to the linker, e.g. -l<library>
2471 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2472 you have headers in a nonstandard directory <include dir>
2473 CXX C++ compiler command
2474 CXXFLAGS C++ compiler flags
2475 OBJC Objective C compiler command
2476 OBJCFLAGS Objective C compiler flags
2478 C compiler flags for the PE faudio, overriding the bundled
2481 Linker flags for the PE faudio, overriding the bundled version
2483 C compiler flags for the PE gsm, overriding the bundled version
2484 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2486 C compiler flags for the PE jpeg, overriding the bundled version
2488 Linker flags for the PE jpeg, overriding the bundled version
2490 C compiler flags for the PE jxr, overriding the bundled version
2491 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2493 C compiler flags for the PE lcms2, overriding the bundled
2496 Linker flags for the PE lcms2, overriding the bundled version
2498 C compiler flags for the PE ldap, overriding the bundled version
2500 Linker flags for the PE ldap, overriding the bundled version
2502 C compiler flags for the PE mpg123, overriding the bundled
2505 Linker flags for the PE mpg123, overriding the bundled version
2507 C compiler flags for the PE png, overriding the bundled version
2508 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2510 C compiler flags for the PE tiff, overriding the bundled version
2512 Linker flags for the PE tiff, overriding the bundled version
2514 C compiler flags for the PE vkd3d, overriding the bundled
2517 Linker flags for the PE vkd3d, overriding the bundled version
2519 C compiler flags for the PE xml2, overriding the bundled version
2521 Linker flags for the PE xml2, overriding the bundled version
2523 C compiler flags for the PE xslt, overriding the bundled version
2525 Linker flags for the PE xslt, overriding the bundled version
2527 C compiler flags for the PE zlib, overriding the bundled version
2529 Linker flags for the PE zlib, overriding the bundled version
2530 XMKMF Path to xmkmf, Makefile generator for X Window System
2533 C compiler flags for libinotify, overriding pkg-config
2535 Linker flags for libinotify, overriding pkg-config
2536 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2537 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2539 C compiler flags for gnutls, overriding pkg-config
2540 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2541 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2542 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2543 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2544 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2546 C compiler flags for libgphoto2, overriding pkg-config
2548 Linker flags for libgphoto2, overriding pkg-config
2550 C compiler flags for libgphoto2_port, overriding pkg-config
2552 Linker flags for libgphoto2_port, overriding pkg-config
2554 C compiler flags for freetype2, overriding pkg-config
2556 Linker flags for freetype2, overriding pkg-config
2558 C compiler flags for libpulse, overriding pkg-config
2559 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2561 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2562 gstreamer-audio-1.0, overriding pkg-config
2564 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2565 gstreamer-audio-1.0, overriding pkg-config
2566 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2567 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2569 C compiler flags for libunwind, overriding pkg-config
2570 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2571 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2572 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2574 C compiler flags for capi20, overriding pkg-config
2575 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2576 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2577 CUPS_LIBS Linker flags for cups, overriding pkg-config
2579 C compiler flags for fontconfig, overriding pkg-config
2581 Linker flags for fontconfig, overriding pkg-config
2582 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2583 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2585 C compiler flags for krb5-gssapi, overriding pkg-config
2586 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2588 C compiler flags for netapi, overriding pkg-config
2589 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2591 Use these variables to override the choices made by `configure' or to
help
2592 it to
find libraries and programs with nonstandard names
/locations.
2594 Report bugs to
<wine-devel@winehq.org
>.
2595 Wine home page
: <https
://www.winehq.org
>.
2600 if test "$ac_init_help" = "recursive"; then
2601 # If there are subdirs, report their specific --help.
2602 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2603 test -d "$ac_dir" ||
2604 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2609 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2611 ac_dir_suffix
=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2612 # A ".." for each directory in $ac_dir_suffix.
2613 ac_top_builddir_sub
=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2614 case $ac_top_builddir_sub in
2615 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2616 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2619 ac_abs_top_builddir
=$ac_pwd
2620 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2621 # for backward compatibility:
2622 ac_top_builddir
=$ac_top_build_prefix
2625 .
) # We are building in place.
2627 ac_top_srcdir
=$ac_top_builddir_sub
2628 ac_abs_top_srcdir
=$ac_pwd ;;
2629 [\\/]* | ?
:[\\/]* ) # Absolute name.
2630 ac_srcdir
=$srcdir$ac_dir_suffix;
2631 ac_top_srcdir
=$srcdir
2632 ac_abs_top_srcdir
=$srcdir ;;
2634 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2635 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2636 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2638 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2640 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2641 # Check for configure.gnu first; this name is used for a wrapper for
2642 # Metaconfig's "Configure" on case-insensitive file systems.
2643 if test -f "$ac_srcdir/configure.gnu"; then
2645 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2646 elif test -f "$ac_srcdir/configure"; then
2648 $SHELL "$ac_srcdir/configure" --help=recursive
2650 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2652 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2656 test -n "$ac_init_help" && exit $ac_status
2657 if $ac_init_version; then
2660 generated by GNU Autoconf
2.71
2662 Copyright
(C
) 2021 Free Software Foundation
, Inc.
2663 This configure
script is free software
; the Free Software Foundation
2664 gives unlimited permission to copy
, distribute and modify it.
2669 ## ------------------------ ##
2670 ## Autoconf initialization. ##
2671 ## ------------------------ ##
2673 # ac_fn_c_try_compile LINENO
2674 # --------------------------
2675 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2676 ac_fn_c_try_compile
()
2678 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2679 rm -f conftest.
$ac_objext conftest.beam
2680 if { { ac_try
="$ac_compile"
2682 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2683 *) ac_try_echo=$ac_try;;
2685 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2686 printf "%s\n" "$ac_try_echo"; } >&5
2687 (eval "$ac_compile") 2>conftest.err
2689 if test -s conftest.err; then
2690 grep -v '^ *+' conftest.err >conftest.er1
2691 cat conftest.er1 >&5
2692 mv -f conftest.er1 conftest.err
2694 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2695 test $ac_status = 0; } && {
2696 test -z "$ac_c_werror_flag" ||
2697 test ! -s conftest.err
2698 } && test -s conftest.$ac_objext
2702 printf "%s\n" "$as_me: failed program was:" >&5
2703 sed 's/^/| /' conftest.$ac_ext >&5
2707 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2708 as_fn_set_status $ac_retval
2710 } # ac_fn_c_try_compile
2712 # ac_fn_cxx_try_compile LINENO
2713 # ----------------------------
2714 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2715 ac_fn_cxx_try_compile ()
2717 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2718 rm -f conftest.$ac_objext conftest.beam
2719 if { { ac_try="$ac_compile"
2721 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2722 *) ac_try_echo
=$ac_try;;
2724 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2725 printf "%s\n" "$ac_try_echo"; } >&5
2726 (eval "$ac_compile") 2>conftest.err
2728 if test -s conftest.err
; then
2729 grep -v '^ *+' conftest.err
>conftest.er1
2730 cat conftest.er1
>&5
2731 mv -f conftest.er1 conftest.err
2733 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2734 test $ac_status = 0; } && {
2735 test -z "$ac_cxx_werror_flag" ||
2736 test ! -s conftest.err
2737 } && test -s conftest.
$ac_objext
2741 printf "%s\n" "$as_me: failed program was:" >&5
2742 sed 's/^/| /' conftest.
$ac_ext >&5
2746 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2747 as_fn_set_status
$ac_retval
2749 } # ac_fn_cxx_try_compile
2751 # ac_fn_c_try_link LINENO
2752 # -----------------------
2753 # Try to link conftest.$ac_ext, and return whether this succeeded.
2756 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2757 rm -f conftest.
$ac_objext conftest.beam conftest
$ac_exeext
2758 if { { ac_try
="$ac_link"
2760 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2761 *) ac_try_echo=$ac_try;;
2763 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2764 printf "%s\n" "$ac_try_echo"; } >&5
2765 (eval "$ac_link") 2>conftest.err
2767 if test -s conftest.err; then
2768 grep -v '^ *+' conftest.err >conftest.er1
2769 cat conftest.er1 >&5
2770 mv -f conftest.er1 conftest.err
2772 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2773 test $ac_status = 0; } && {
2774 test -z "$ac_c_werror_flag" ||
2775 test ! -s conftest.err
2776 } && test -s conftest$ac_exeext && {
2777 test "$cross_compiling" = yes ||
2778 test -x conftest$ac_exeext
2783 printf "%s\n" "$as_me: failed program was:" >&5
2784 sed 's/^/| /' conftest.$ac_ext >&5
2788 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2789 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2790 # interfere with the next link command; also delete a directory that is
2791 # left behind by Apple's compiler. We do this before executing the actions.
2792 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2793 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2794 as_fn_set_status $ac_retval
2796 } # ac_fn_c_try_link
2798 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2799 # -------------------------------------------------------
2800 # Tests whether HEADER exists and can be compiled using the include files in
2801 # INCLUDES, setting the cache variable VAR accordingly.
2802 ac_fn_c_check_header_compile ()
2804 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2806 printf %s "checking for $2... " >&6; }
2807 if eval test \${$3+y}
2809 printf %s "(cached) " >&6
2811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2812 /* end confdefs.h. */
2816 if ac_fn_c_try_compile "$LINENO"
2822 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2826 printf "%s\n" "$ac_res" >&6; }
2827 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2829 } # ac_fn_c_check_header_compile
2831 # ac_fn_objc_try_compile LINENO
2832 # -----------------------------
2833 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2834 ac_fn_objc_try_compile ()
2836 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2837 rm -f conftest.$ac_objext conftest.beam
2838 if { { ac_try="$ac_compile"
2840 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2841 *) ac_try_echo
=$ac_try;;
2843 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2844 printf "%s\n" "$ac_try_echo"; } >&5
2845 (eval "$ac_compile") 2>conftest.err
2847 if test -s conftest.err
; then
2848 grep -v '^ *+' conftest.err
>conftest.er1
2849 cat conftest.er1
>&5
2850 mv -f conftest.er1 conftest.err
2852 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2853 test $ac_status = 0; } && {
2854 test -z "$ac_objc_werror_flag" ||
2855 test ! -s conftest.err
2856 } && test -s conftest.
$ac_objext
2860 printf "%s\n" "$as_me: failed program was:" >&5
2861 sed 's/^/| /' conftest.
$ac_ext >&5
2865 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2866 as_fn_set_status
$ac_retval
2868 } # ac_fn_objc_try_compile
2870 # ac_fn_objc_check_header_compile LINENO HEADER VAR INCLUDES
2871 # ----------------------------------------------------------
2872 # Tests whether HEADER exists and can be compiled using the include files in
2873 # INCLUDES, setting the cache variable VAR accordingly.
2874 ac_fn_objc_check_header_compile
()
2876 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2878 printf %s
"checking for $2... " >&6; }
2879 if eval test \
${$3+y}
2881 printf %s
"(cached) " >&6
2883 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2884 /* end confdefs.h. */
2888 if ac_fn_objc_try_compile
"$LINENO"
2894 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2898 printf "%s\n" "$ac_res" >&6; }
2899 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2901 } # ac_fn_objc_check_header_compile
2903 # ac_fn_c_check_func LINENO FUNC VAR
2904 # ----------------------------------
2905 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2906 ac_fn_c_check_func
()
2908 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2910 printf %s
"checking for $2... " >&6; }
2911 if eval test \
${$3+y}
2913 printf %s
"(cached) " >&6
2915 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2916 /* end confdefs.h. */
2917 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2918 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2919 #define $2 innocuous_$2
2921 /* System header to define __stub macros and hopefully few prototypes,
2922 which can conflict with char $2 (); below. */
2927 /* Override any GCC internal prototype to avoid an error.
2928 Use char because int might match the return type of a GCC
2929 builtin and then its argument prototype would still apply. */
2934 /* The GNU C library defines this for functions which it implements
2935 to always fail with ENOSYS. Some functions are actually named
2936 something starting with __ and the normal name is an alias. */
2937 #if defined __stub_$2 || defined __stub___$2
2949 if ac_fn_c_try_link
"$LINENO"
2955 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
2956 conftest
$ac_exeext conftest.
$ac_ext
2959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2960 printf "%s\n" "$ac_res" >&6; }
2961 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2963 } # ac_fn_c_check_func
2965 # ac_fn_c_try_cpp LINENO
2966 # ----------------------
2967 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2970 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2971 if { { ac_try
="$ac_cpp conftest.$ac_ext"
2973 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2974 *) ac_try_echo=$ac_try;;
2976 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2977 printf "%s\n" "$ac_try_echo"; } >&5
2978 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2980 if test -s conftest.err; then
2981 grep -v '^ *+' conftest.err >conftest.er1
2982 cat conftest.er1 >&5
2983 mv -f conftest.er1 conftest.err
2985 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2986 test $ac_status = 0; } > conftest.i && {
2987 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2988 test ! -s conftest.err
2993 printf "%s\n" "$as_me: failed program was:" >&5
2994 sed 's/^/| /' conftest.$ac_ext >&5
2998 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2999 as_fn_set_status $ac_retval
3003 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3004 # ----------------------------------------------------
3005 # Tries to find if the field MEMBER exists in type AGGR, after including
3006 # INCLUDES, setting cache variable VAR accordingly.
3007 ac_fn_c_check_member ()
3009 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3011 printf %s "checking for $2.$3... " >&6; }
3012 if eval test \${$4+y}
3014 printf %s "(cached) " >&6
3016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3017 /* end confdefs.h. */
3029 if ac_fn_c_try_compile "$LINENO"
3033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3034 /* end confdefs.h. */
3040 if (sizeof ac_aggr.$3)
3046 if ac_fn_c_try_compile "$LINENO"
3052 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3054 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3058 printf "%s\n" "$ac_res" >&6; }
3059 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3061 } # ac_fn_c_check_member
3063 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3064 # -------------------------------------------
3065 # Tests whether TYPE exists after having included INCLUDES, setting cache
3066 # variable VAR accordingly.
3067 ac_fn_c_check_type ()
3069 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3071 printf %s "checking for $2... " >&6; }
3072 if eval test \${$3+y}
3074 printf %s "(cached) " >&6
3077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3078 /* end confdefs.h. */
3089 if ac_fn_c_try_compile "$LINENO"
3091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3092 /* end confdefs.h. */
3103 if ac_fn_c_try_compile "$LINENO"
3109 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3111 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3115 printf "%s\n" "$ac_res" >&6; }
3116 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3118 } # ac_fn_c_check_type
3119 ac_configure_args_raw=
3124 ac_arg=`printf "%s\n" "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
3126 as_fn_append ac_configure_args_raw " '$ac_arg'"
3129 case $ac_configure_args_raw in
3133 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3134 ac_unsafe_a="$ac_unsafe_z#~
"
3135 ac_safe_unquote="s
/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g
"
3136 ac_configure_args_raw=` printf "%s
\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3139 cat >config.log <<_ACEOF
3140 This file contains any messages produced by compilers while
3141 running configure, to aid debugging if configure makes a mistake.
3143 It was created by Wine $as_me 7.21, which was
3144 generated by GNU Autoconf 2.71. Invocation command line was
3146 $ $0$ac_configure_args_raw
3156 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3157 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3158 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3159 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3160 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3162 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3163 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3165 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3166 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3167 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3168 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3169 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3170 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3171 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3179 case $as_dir in #(((
3182 *) as_dir=$as_dir/ ;;
3184 printf "%s
\n" "PATH
: $as_dir"
3200 # Keep a trace of the command line.
3201 # Strip out --no-create and --no-recursion so they do not pile up.
3202 # Strip out --silent because we don't want to record it for future runs.
3203 # Also quote any args containing shell meta-characters.
3204 # Make two passes to allow for proper duplicate-argument suppression.
3208 ac_must_keep_next=false
3214 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3215 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3216 | -silent | --silent | --silen | --sile | --sil)
3219 ac_arg=`printf "%s
\n" "$ac_arg" | sed "s
/'/'\\\\\\\\''/g
"` ;;
3222 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3224 as_fn_append ac_configure_args1 " '$ac_arg'"
3225 if test $ac_must_keep_next = true; then
3226 ac_must_keep_next=false # Got value, back to normal.
3229 *=* | --config-cache | -C | -disable-* | --disable-* \
3230 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3231 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3232 | -with-* | --with-* | -without-* | --without-* | --x)
3233 case "$ac_configure_args0 " in
3234 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3237 -* ) ac_must_keep_next=true ;;
3240 as_fn_append ac_configure_args " '$ac_arg'"
3245 { ac_configure_args0=; unset ac_configure_args0;}
3246 { ac_configure_args1=; unset ac_configure_args1;}
3248 # When interrupted or exit'd, cleanup temporary files, and complete
3249 # config.log. We remove comments because anyway the quotes in there
3250 # would cause problems or look ugly.
3251 # WARNING: Use '\'' to represent an apostrophe within the trap.
3252 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3253 trap 'exit_status=$?
3256 # Save into config.log some information that might help in debugging.
3260 printf "%s
\n" "## ---------------- ##
3261 ## Cache variables. ##
3262 ## ---------------- ##"
3264 # The following way of writing the cache mishandles newlines in values,
3266 for ac_var
in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3267 eval ac_val
=\$
$ac_var
3271 *_cv_
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3272 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3275 _ | IFS | as_nl
) ;; #(
3276 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
3277 *) { eval $ac_var=; unset $ac_var;} ;;
3282 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3283 *${as_nl}ac_space
=\
*)
3285 "s/'\''/'\''\\\\'\'''\''/g;
3286 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3289 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3296 printf "%s\n" "## ----------------- ##
3297 ## Output variables. ##
3298 ## ----------------- ##"
3300 for ac_var
in $ac_subst_vars
3302 eval ac_val
=\$
$ac_var
3304 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3306 printf "%s\n" "$ac_var='\''$ac_val'\''"
3310 if test -n "$ac_subst_files"; then
3311 printf "%s\n" "## ------------------- ##
3312 ## File substitutions. ##
3313 ## ------------------- ##"
3315 for ac_var in $ac_subst_files
3317 eval ac_val=\$$ac_var
3319 *\'\''*) ac_val
=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3321 printf "%s\n" "$ac_var='\''$ac_val'\''"
3326 if test -s confdefs.h
; then
3327 printf "%s\n" "## ----------- ##
3334 test "$ac_signal" != 0 &&
3335 printf "%s\n" "$as_me: caught signal $ac_signal"
3336 printf "%s\n" "$as_me: exit $exit_status"
3338 rm -f core
*.core core.conftest.
* &&
3339 rm -f -r conftest
* confdefs
* conf$$
* $ac_clean_files &&
3342 for ac_signal in 1 2 13 15; do
3343 trap 'ac_signal
='$ac_signal'; as_fn_exit
1' $ac_signal
3347 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3348 rm -f -r conftest* confdefs.h
3350 printf "%s\n" "/* confdefs.h */" > confdefs.h
3352 # Predefined preprocessor variables.
3354 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3356 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3358 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3360 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3362 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3364 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3367 # Let the site file select an alternate cache file if it wants to.
3368 # Prefer an explicitly selected file to automatically selected ones.
3369 if test -n "$CONFIG_SITE"; then
3370 ac_site_files="$CONFIG_SITE"
3371 elif test "x$prefix" != xNONE; then
3372 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3374 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3377 for ac_site_file in $ac_site_files
3379 case $ac_site_file in #(
3383 ac_site_file=./$ac_site_file ;;
3385 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3387 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3388 sed 's
/^
/|
/' "$ac_site_file" >&5
3390 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3391 printf "%s
\n" "$as_me: error
: in \
`$ac_pwd':" >&2;}
3392 as_fn_error $? "failed to load site script $ac_site_file
3393 See \`config.log
' for more details" "$LINENO" 5; }
3397 if test -r "$cache_file"; then
3398 # Some versions of bash will fail to source /dev/null (special files
3399 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3400 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3402 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3404 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3405 *) . "./$cache_file";;
3409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3410 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3414 # Test code for whether the C compiler supports C89 (global declarations)
3415 ac_c_conftest_c89_globals='
3416 /* Does the compiler advertise C89 conformance?
3417 Do not
test the value of __STDC__
, because some compilers
set it to
0
3418 while being otherwise adequately conformant.
*/
3419 #if !defined __STDC__
3420 # error "Compiler does not advertise C89 conformance"
3426 /* Most of the following tests are stolen from RCS
5.7 src
/conf.sh.
*/
3427 struct buf
{ int x
; };
3428 struct buf
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
3429 static char
*e
(p
, i
)
3435 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
3440 s
= g
(p
, va_arg
(v
,int
));
3445 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
3446 function prototypes and stuff
, but not \xHH hex character constants.
3447 These
do not provoke an error unfortunately
, instead are silently treated
3448 as an
"x". The following induces an error
, until -std is added to get
3449 proper ANSI mode. Curiously
\x00 != x always comes out true
, for an
3450 array size
at least. It is necessary to
write \x00 == 0 to get something
3451 that is true only with
-std.
*/
3452 int osf4_cc_array
['\''\x00'\'' == 0 ?
1 : -1];
3454 /* IBM C
6 for AIX is almost-ANSI by default
, but it replaces macro parameters
3455 inside
strings and character constants.
*/
3456 #define FOO(x) '\''x'\''
3457 int xlc6_cc_array
[FOO
(a
) == '\''x
'\'' ?
1 : -1];
3459 int
test (int i
, double x
);
3460 struct s1
{int
(*f
) (int a
);};
3461 struct s2
{int
(*f
) (double a
);};
3462 int pairnames
(int
, char
**, int
*(*)(struct buf
*, struct stat
*, int
),
3465 # Test code for whether the C compiler supports C89 (body of main).
3466 ac_c_conftest_c89_main='
3467 ok |
= (argc
== 0 || f
(e
, argv
, 0) != argv
[0] || f
(e
, argv
, 1) != argv
[1]);
3470 # Test code for whether the C compiler supports C99 (global declarations)
3471 ac_c_conftest_c99_globals='
3472 // Does the compiler advertise C99 conformance?
3473 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3474 # error "Compiler does not advertise C99 conformance"
3477 #include <stdbool.h>
3478 extern int puts
(const char
*);
3479 extern int
printf (const char
*, ...
);
3480 extern int dprintf
(int
, const char
*, ...
);
3481 extern void
*malloc
(size_t
);
3483 // Check varargs macros. These examples are taken from C99
6.10.3.5.
3484 // dprintf is used instead of fprintf to avoid needing to
declare
3486 #define debug(...) dprintf (2, __VA_ARGS__)
3487 #define showlist(...) puts (#__VA_ARGS__)
3488 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3490 test_varargs_macros
(void
)
3495 debug
("X = %d\n", x
);
3496 showlist
(The first
, second
, and third items.
);
3497 report
(x
>y
, "x is %d but y is %d", x
, y
);
3500 // Check long long types.
3501 #define BIG64 18446744073709551615ull
3502 #define BIG32 4294967295ul
3503 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3505 #error "your preprocessor is broken"
3509 #error "your preprocessor is broken"
3511 static long long int bignum
= -9223372036854775807LL;
3512 static unsigned long long int ubignum
= BIG64
;
3514 struct incomplete_array
3522 const wchar_t
*name
;
3526 typedef const char
*ccp
;
3529 test_restrict
(ccp restrict text
)
3531 // See
if C
++-style comments work.
3532 // Iterate through items via the restricted pointer.
3533 // Also check
for declarations
in for loops.
3534 for (unsigned int i
= 0; *(text
+i
) != '\''\
0'\''; ++i
)
3539 // Check varargs and va_copy.
3541 test_varargs
(const char
*format
, ...
)
3544 va_start
(args
, format
);
3546 va_copy
(args_copy
, args
);
3548 const char
*str
= "";
3556 case '\''s
'\'': // string
3557 str
= va_arg
(args_copy
, const char
*);
3559 case '\''d
'\'': // int
3560 number
= va_arg
(args_copy
, int
);
3562 case '\''f
'\'': // float
3563 fnumber
= va_arg
(args_copy
, double
);
3572 return *str
&& number
&& fnumber
;
3576 # Test code for whether the C compiler supports C99 (body of main).
3577 ac_c_conftest_c99_main='
3579 _Bool success
= false
;
3580 success |
= (argc
!= 0);
3583 if (test_restrict
("String literal") == 0)
3585 char
*restrict newvar
= "Another string";
3588 success
&= test_varargs
("s, d'\'' f .", "string", 65, 34.234);
3589 test_varargs_macros
();
3591 // Check flexible array members.
3592 struct incomplete_array
*ia
=
3593 malloc
(sizeof
(struct incomplete_array
) + (sizeof
(double
) * 10));
3595 for (int i
= 0; i
< ia-
>datasize
; ++i
)
3596 ia-
>data
[i
] = i
* 1.234;
3598 // Check named initializers.
3599 struct named_init ni
= {
3601 .name
= L
"Test wide string",
3602 .average
= 543.34343,
3607 int dynamic_array
[ni.number
];
3608 dynamic_array
[0] = argv
[0][0];
3609 dynamic_array
[ni.number
- 1] = 543;
3611 // work around unused variable warnings
3612 ok |
= (!success || bignum
== 0LL || ubignum
== 0uLL || newvar
[0] == '\''x
'\''
3613 || dynamic_array
[ni.number
- 1] != 543);
3616 # Test code for whether the C compiler supports C11 (global declarations)
3617 ac_c_conftest_c11_globals='
3618 // Does the compiler advertise C11 conformance?
3619 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3620 # error "Compiler does not advertise C11 conformance"
3624 char _Alignas
(double
) aligned_as_double
;
3625 char _Alignas
(0) no_special_alignment
;
3626 extern char aligned_as_int
;
3627 char _Alignas
(0) _Alignas
(int
) aligned_as_int
;
3632 int_alignment
= _Alignof
(int
),
3633 int_array_alignment
= _Alignof
(int
[100]),
3634 char_alignment
= _Alignof
(char
)
3636 _Static_assert
(0 < -_Alignof (int
), "_Alignof is signed");
3639 int _Noreturn does_not_return
(void
) { for (;;) continue; }
3641 // Check _Static_assert.
3642 struct test_static_assert
3645 _Static_assert
(sizeof
(int
) <= sizeof
(long int
),
3646 "_Static_assert does not work in struct");
3650 // Check UTF-8 literals.
3651 #define u8 syntax error!
3652 char const utf8_literal
[] = u8
"happens to be ASCII" "another string";
3654 // Check duplicate typedefs.
3655 typedef long
*long_ptr
;
3656 typedef long int
*long_ptr
;
3657 typedef long_ptr long_ptr
;
3659 // Anonymous structures and unions
-- taken from C11
6.7.2.1 Example
1.
3663 struct
{ int i
; int j
; };
3664 struct
{ int k
; long int l
; } w
;
3670 # Test code for whether the C compiler supports C11 (body of main).
3671 ac_c_conftest_c11_main='
3672 _Static_assert
((offsetof
(struct anonymous
, i
)
3673 == offsetof
(struct anonymous
, w.k
)),
3674 "Anonymous union alignment botch");
3680 # Test code for whether the C compiler supports C11 (complete).
3681 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3682 ${ac_c_conftest_c99_globals}
3683 ${ac_c_conftest_c11_globals}
3686 main (int argc, char **argv)
3689 ${ac_c_conftest_c89_main}
3690 ${ac_c_conftest_c99_main}
3691 ${ac_c_conftest_c11_main}
3696 # Test code for whether the C compiler supports C99 (complete).
3697 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3698 ${ac_c_conftest_c99_globals}
3701 main (int argc, char **argv)
3704 ${ac_c_conftest_c89_main}
3705 ${ac_c_conftest_c99_main}
3710 # Test code for whether the C compiler supports C89 (complete).
3711 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3714 main (int argc, char **argv)
3717 ${ac_c_conftest_c89_main}
3722 # Test code for whether the C++ compiler supports C++98 (global declarations)
3723 ac_cxx_conftest_cxx98_globals='
3724 // Does the compiler advertise C
++98 conformance?
3725 #if !defined __cplusplus || __cplusplus < 199711L
3726 # error "Compiler does not advertise C++98 conformance"
3729 // These inclusions are to reject old compilers that
3730 // lack the unsuffixed header files.
3732 #include <exception>
3734 // <cassert
> and
<cstring
> are
*not
* freestanding headers
in C
++98.
3735 extern void assert
(int
);
3737 extern int strcmp
(const char
*, const char
*);
3740 // Namespaces
, exceptions
, and templates were all added after
"C++ 2.0".
3741 using std
::exception
;
3746 void test_exception_syntax
()
3750 } catch
(const char
*s
) {
3751 // Extra parentheses suppress a warning when building autoconf itself
,
3752 // due to lint rules shared with
more typical C programs.
3753 assert
(!(strcmp
) (s
, "test"));
3757 template
<typename T
> struct test_template
3760 explicit test_template
(T t
) : val
(t
) {}
3761 template
<typename U
> T add
(U u
) { return static_cast
<T
>(u
) + val
; }
3764 } // anonymous namespace
3767 # Test code for whether the C++ compiler supports C++98 (body of main)
3768 ac_cxx_conftest_cxx98_main='
3772 test_exception_syntax
();
3773 test_template
<double
> tt
(2.0);
3774 assert
(tt.add
(4) == 6.0);
3775 assert
(true
&& !false
);
3779 # Test code for whether the C++ compiler supports C++11 (global declarations)
3780 ac_cxx_conftest_cxx11_globals='
3781 // Does the compiler advertise C
++ 2011 conformance?
3782 #if !defined __cplusplus || __cplusplus < 201103L
3783 # error "Compiler does not advertise C++11 conformance"
3788 constexpr int get_val
() { return 20; }
3799 delegate
(int n
) : n
(n
) {}
3800 delegate
(): delegate
(2354) {}
3802 virtual int getval
() { return this-
>n
; };
3807 class overridden
: public delegate
3810 overridden
(int n
): delegate
(n
) {}
3811 virtual int getval
() override final
{ return this-
>n
* 2; }
3817 nocopy
(int i
): i
(i
) {}
3819 nocopy
(const nocopy
&) = delete
;
3820 nocopy
& operator
=(const nocopy
&) = delete
;
3825 // for testing lambda expressions
3826 template
<typename Ret
, typename Fn
> Ret
eval(Fn f
, Ret v
)
3831 // for testing variadic templates and trailing
return types
3832 template
<typename V
> auto
sum(V first
) -> V
3836 template
<typename V
, typename... Args
> auto
sum(V first
, Args... rest
) -> V
3838 return first
+ sum(rest...
);
3843 # Test code for whether the C++ compiler supports C++11 (body of main)
3844 ac_cxx_conftest_cxx11_main='
3846 // Test auto and decltype
3848 auto a2
= 48573953.4;
3849 auto a3
= "String literal";
3852 for (auto i
= a3
; *i
; ++i
) { total
+= *i
; }
3854 decltype
(a2
) a4
= 34895.034;
3858 short sa
[cxx11test
::get_val
()] = { 0 };
3861 // Test initializer lists
3862 cxx11test
::testinit il
= { 4323, 435234.23544 };
3865 // Test range-based
for
3866 int array
[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3867 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3868 for (auto
&x
: array
) { x
+= 23; }
3871 // Test lambda expressions
3872 using cxx11test
::eval;
3873 assert
(eval ([](int x
) { return x
*2; }, 21) == 42);
3875 assert
(eval ([&](double x
) { return d
+= x
; }, 3.0) == 5.0);
3877 assert
(eval ([=](double x
) mutable
{ return d
+= x
; }, 4.0) == 9.0);
3881 // Test use of variadic templates
3882 using cxx11test
::sum;
3885 auto c
= sum(1.0, 2.0, 3.0);
3888 // Test constructor delegation
3889 cxx11test
::delegate d1
;
3890 cxx11test
::delegate d2
();
3891 cxx11test
::delegate d3
(45);
3894 // Test override and final
3895 cxx11test
::overridden o1
(55464);
3902 // Test template brackets
3903 test_template
<::test_template
<int
>> v
(test_template
<int
>(12));
3907 char const
*utf8
= u8
"UTF-8 string \u2500";
3908 char16_t const
*utf16
= u
"UTF-8 string \u2500";
3909 char32_t const
*utf32
= U
"UTF-32 string \u2500";
3913 # Test code for whether the C compiler supports C++11 (complete).
3914 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3915 ${ac_cxx_conftest_cxx11_globals}
3918 main (int argc, char **argv)
3921 ${ac_cxx_conftest_cxx98_main}
3922 ${ac_cxx_conftest_cxx11_main}
3927 # Test code for whether the C compiler supports C++98 (complete).
3928 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3930 main (int argc, char **argv)
3933 ${ac_cxx_conftest_cxx98_main}
3938 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3939 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3940 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3941 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3942 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3943 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3944 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3945 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3946 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3948 # Auxiliary files required by this configure script.
3949 ac_aux_files="config.guess config.sub"
3951 # Locations in which to look for auxiliary files.
3952 ac_aux_dir_candidates="${srcdir}/tools"
3954 # Search for a directory containing all of the required auxiliary files,
3955 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3956 # If we don't
find one directory that contains all the files we need
,
3957 # we report the set of missing files from the *first* directory in
3958 # $ac_aux_dir_candidates and give up.
3959 ac_missing_aux_files
=""
3960 ac_first_candidate
=:
3961 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3962 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3964 for as_dir
in $ac_aux_dir_candidates
3967 case $as_dir in #(((
3970 *) as_dir
=$as_dir/ ;;
3974 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3975 ac_aux_dir_found
=yes
3977 for ac_aux
in $ac_aux_files
3979 # As a special case, if "install-sh" is required, that requirement
3980 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3981 # and $ac_install_sh is set appropriately for whichever one is found.
3982 if test x
"$ac_aux" = x
"install-sh"
3984 if test -f "${as_dir}install-sh"; then
3985 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
3986 ac_install_sh
="${as_dir}install-sh -c"
3987 elif test -f "${as_dir}install.sh"; then
3988 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
3989 ac_install_sh
="${as_dir}install.sh -c"
3990 elif test -f "${as_dir}shtool"; then
3991 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
3992 ac_install_sh
="${as_dir}shtool install -c"
3995 if $ac_first_candidate; then
3996 ac_missing_aux_files
="${ac_missing_aux_files} install-sh"
4002 if test -f "${as_dir}${ac_aux}"; then
4003 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
4006 if $ac_first_candidate; then
4007 ac_missing_aux_files
="${ac_missing_aux_files} ${ac_aux}"
4014 if test "$ac_aux_dir_found" = yes; then
4015 ac_aux_dir
="$as_dir"
4018 ac_first_candidate
=false
4027 as_fn_error $?
"cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4031 # These three variables are undocumented and unsupported,
4032 # and are intended to be withdrawn in a future Autoconf release.
4033 # They can cause serious problems if a builder's source tree is in a directory
4034 # whose full name contains unusual characters.
4035 if test -f "${ac_aux_dir}config.guess"; then
4036 ac_config_guess
="$SHELL ${ac_aux_dir}config.guess"
4038 if test -f "${ac_aux_dir}config.sub"; then
4039 ac_config_sub
="$SHELL ${ac_aux_dir}config.sub"
4041 if test -f "$ac_aux_dir/configure"; then
4042 ac_configure
="$SHELL ${ac_aux_dir}configure"
4045 # Check that the precious variables saved in the cache have kept the same
4047 ac_cache_corrupted
=false
4048 for ac_var
in $ac_precious_vars; do
4049 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
4050 eval ac_new_set
=\
$ac_env_${ac_var}_set
4051 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
4052 eval ac_new_val
=\
$ac_env_${ac_var}_value
4053 case $ac_old_set,$ac_new_set in
4055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4056 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4057 ac_cache_corrupted
=: ;;
4059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4060 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4061 ac_cache_corrupted
=: ;;
4064 if test "x$ac_old_val" != "x$ac_new_val"; then
4065 # differences in whitespace do not lead to failure.
4066 ac_old_val_w
=`echo x $ac_old_val`
4067 ac_new_val_w
=`echo x $ac_new_val`
4068 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4070 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4071 ac_cache_corrupted
=:
4073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4074 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4075 eval $ac_var=\
$ac_old_val
4077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4078 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4080 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4083 # Pass precious variables to config.status.
4084 if test "$ac_new_set" = set; then
4086 *\'*) ac_arg
=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4087 *) ac_arg
=$ac_var=$ac_new_val ;;
4089 case " $ac_configure_args " in
4090 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4091 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
4095 if $ac_cache_corrupted; then
4096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4097 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4099 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4100 as_fn_error $?
"run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4101 and start over" "$LINENO" 5
4103 ## -------------------- ##
4104 ## Main body of script. ##
4105 ## -------------------- ##
4108 ac_cpp
='$CPP $CPPFLAGS'
4109 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4110 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4111 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4115 ac_config_headers
="$ac_config_headers include/config.h"
4119 libwine_version
="1.0"
4122 # Check whether --enable-archs was given.
4123 if test ${enable_archs+y}
4125 enableval
=$enable_archs;
4128 # Check whether --enable-win16 was given.
4129 if test ${enable_win16+y}
4131 enableval
=$enable_win16;
4134 # Check whether --enable-win64 was given.
4135 if test ${enable_win64+y}
4137 enableval
=$enable_win64;
4140 # Check whether --enable-tests was given.
4141 if test ${enable_tests+y}
4143 enableval
=$enable_tests;
4146 # Check whether --enable-build-id was given.
4147 if test ${enable_build_id+y}
4149 enableval
=$enable_build_id;
4152 # Check whether --enable-maintainer-mode was given.
4153 if test ${enable_maintainer_mode+y}
4155 enableval
=$enable_maintainer_mode;
4158 # Check whether --enable-silent-rules was given.
4159 if test ${enable_silent_rules+y}
4161 enableval
=$enable_silent_rules;
4164 # Check whether --enable-werror was given.
4165 if test ${enable_werror+y}
4167 enableval
=$enable_werror;
4172 # Check whether --with-alsa was given.
4173 if test ${with_alsa+y}
4179 # Check whether --with-capi was given.
4180 if test ${with_capi+y}
4186 # Check whether --with-coreaudio was given.
4187 if test ${with_coreaudio+y}
4189 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
4193 # Check whether --with-cups was given.
4194 if test ${with_cups+y}
4200 # Check whether --with-dbus was given.
4201 if test ${with_dbus+y}
4207 # Check whether --with-float-abi was given.
4208 if test ${with_float_abi+y}
4210 withval
=$with_float_abi;
4214 # Check whether --with-fontconfig was given.
4215 if test ${with_fontconfig+y}
4217 withval
=$with_fontconfig;
4221 # Check whether --with-freetype was given.
4222 if test ${with_freetype+y}
4224 withval
=$with_freetype;
4228 # Check whether --with-gettext was given.
4229 if test ${with_gettext+y}
4231 withval
=$with_gettext;
4235 # Check whether --with-gettextpo was given.
4236 if test ${with_gettextpo+y}
4238 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
4242 # Check whether --with-gphoto was given.
4243 if test ${with_gphoto+y}
4245 withval
=$with_gphoto;
4249 # Check whether --with-gnutls was given.
4250 if test ${with_gnutls+y}
4252 withval
=$with_gnutls;
4256 # Check whether --with-gssapi was given.
4257 if test ${with_gssapi+y}
4259 withval
=$with_gssapi;
4263 # Check whether --with-gstreamer was given.
4264 if test ${with_gstreamer+y}
4266 withval
=$with_gstreamer;
4270 # Check whether --with-inotify was given.
4271 if test ${with_inotify+y}
4273 withval
=$with_inotify;
4277 # Check whether --with-krb5 was given.
4278 if test ${with_krb5+y}
4284 # Check whether --with-mingw was given.
4285 if test ${with_mingw+y}
4287 withval
=$with_mingw;
4291 # Check whether --with-netapi was given.
4292 if test ${with_netapi+y}
4294 withval
=$with_netapi;
4298 # Check whether --with-opencl was given.
4299 if test ${with_opencl+y}
4301 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
4305 # Check whether --with-opengl was given.
4306 if test ${with_opengl+y}
4308 withval
=$with_opengl;
4312 # Check whether --with-osmesa was given.
4313 if test ${with_osmesa+y}
4315 withval
=$with_osmesa;
4319 # Check whether --with-oss was given.
4320 if test ${with_oss+y}
4326 # Check whether --with-pcap was given.
4327 if test ${with_pcap+y}
4329 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
4333 # Check whether --with-pthread was given.
4334 if test ${with_pthread+y}
4336 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
4340 # Check whether --with-pulse was given.
4341 if test ${with_pulse+y}
4343 withval
=$with_pulse;
4347 # Check whether --with-sane was given.
4348 if test ${with_sane+y}
4354 # Check whether --with-sdl was given.
4355 if test ${with_sdl+y}
4361 # Check whether --with-udev was given.
4362 if test ${with_udev+y}
4368 # Check whether --with-unwind was given.
4369 if test ${with_unwind+y}
4371 withval
=$with_unwind;
4375 # Check whether --with-usb was given.
4376 if test ${with_usb+y}
4382 # Check whether --with-v4l2 was given.
4383 if test ${with_v4l2+y}
4389 # Check whether --with-vulkan was given.
4390 if test ${with_vulkan+y}
4392 withval
=$with_vulkan;
4396 # Check whether --with-xcomposite was given.
4397 if test ${with_xcomposite+y}
4399 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
4403 # Check whether --with-xcursor was given.
4404 if test ${with_xcursor+y}
4406 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
4410 # Check whether --with-xfixes was given.
4411 if test ${with_xfixes+y}
4413 withval
=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h
=no
; fi
4417 # Check whether --with-xinerama was given.
4418 if test ${with_xinerama+y}
4420 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
4424 # Check whether --with-xinput was given.
4425 if test ${with_xinput+y}
4427 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
4431 # Check whether --with-xinput2 was given.
4432 if test ${with_xinput2+y}
4434 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
4438 # Check whether --with-xrandr was given.
4439 if test ${with_xrandr+y}
4441 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
4445 # Check whether --with-xrender was given.
4446 if test ${with_xrender+y}
4448 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
4452 # Check whether --with-xshape was given.
4453 if test ${with_xshape+y}
4455 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
4459 # Check whether --with-xshm was given.
4460 if test ${with_xshm+y}
4462 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
4466 # Check whether --with-xxf86vm was given.
4467 if test ${with_xxf86vm+y}
4469 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
4474 # Check whether --with-system-dllpath was given.
4475 if test ${with_system_dllpath+y}
4477 withval
=$with_system_dllpath; system_dllpath
=$withval
4482 # Check whether --with-wine-tools was given.
4483 if test ${with_wine_tools+y}
4485 withval
=$with_wine_tools;
4489 # Check whether --with-wine64 was given.
4490 if test ${with_wine64+y}
4492 withval
=$with_wine64;
4499 # Make sure we can run config.sub.
4500 $SHELL "${ac_aux_dir}config.sub" sun4
>/dev
/null
2>&1 ||
4501 as_fn_error $?
"cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4504 printf %s
"checking build system type... " >&6; }
4505 if test ${ac_cv_build+y}
4507 printf %s
"(cached) " >&6
4509 ac_build_alias
=$build_alias
4510 test "x$ac_build_alias" = x
&&
4511 ac_build_alias
=`$SHELL "${ac_aux_dir}config.guess"`
4512 test "x$ac_build_alias" = x
&&
4513 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
4514 ac_cv_build
=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4515 as_fn_error $?
"$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4519 printf "%s\n" "$ac_cv_build" >&6; }
4520 case $ac_cv_build in
4522 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
4525 ac_save_IFS
=$IFS; IFS
='-'
4531 # Remember, the first character of IFS is used to create $*,
4532 # except with old shells:
4535 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
4538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4539 printf %s
"checking host system type... " >&6; }
4540 if test ${ac_cv_host+y}
4542 printf %s
"(cached) " >&6
4544 if test "x$host_alias" = x
; then
4545 ac_cv_host
=$ac_cv_build
4547 ac_cv_host
=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4548 as_fn_error $?
"$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4553 printf "%s\n" "$ac_cv_host" >&6; }
4556 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
4559 ac_save_IFS
=$IFS; IFS
='-'
4565 # Remember, the first character of IFS is used to create $*,
4566 # except with old shells:
4569 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4573 dlldir
=\
${libdir}/wine
4575 fontdir
=\
${datadir}/wine
/fonts
4577 nlsdir
=\
${datadir}/wine
/nls
4582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4583 printf %s
"checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4585 ac_make
=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4586 if eval test \
${ac_cv_prog_make_${ac_make}_set+y}
4588 printf %s
"(cached) " >&6
4590 cat >conftest.
make <<\_ACEOF
4593 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4595 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4596 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4598 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4600 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4604 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4606 printf "%s\n" "yes" >&6; }
4609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4610 printf "%s\n" "no" >&6; }
4611 SET_MAKE
="MAKE=${MAKE-make}"
4624 ac_cpp
='$CPP $CPPFLAGS'
4625 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4626 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4627 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4628 if test -n "$ac_tool_prefix"; then
4629 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4630 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4632 printf %s
"checking for $ac_word... " >&6; }
4633 if test ${ac_cv_prog_CC+y}
4635 printf %s
"(cached) " >&6
4637 if test -n "$CC"; then
4638 ac_cv_prog_CC
="$CC" # Let the user override the test.
4640 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4644 case $as_dir in #(((
4647 *) as_dir
=$as_dir/ ;;
4649 for ac_exec_ext
in '' $ac_executable_extensions; do
4650 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4651 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4652 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4662 if test -n "$CC"; then
4663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4664 printf "%s\n" "$CC" >&6; }
4666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4667 printf "%s\n" "no" >&6; }
4672 if test -z "$ac_cv_prog_CC"; then
4674 # Extract the first word of "gcc", so it can be a program name with args.
4675 set dummy gcc
; ac_word
=$2
4676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4677 printf %s
"checking for $ac_word... " >&6; }
4678 if test ${ac_cv_prog_ac_ct_CC+y}
4680 printf %s
"(cached) " >&6
4682 if test -n "$ac_ct_CC"; then
4683 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4685 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4689 case $as_dir in #(((
4692 *) as_dir
=$as_dir/ ;;
4694 for ac_exec_ext
in '' $ac_executable_extensions; do
4695 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4696 ac_cv_prog_ac_ct_CC
="gcc"
4697 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4706 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4707 if test -n "$ac_ct_CC"; then
4708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4709 printf "%s\n" "$ac_ct_CC" >&6; }
4711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4712 printf "%s\n" "no" >&6; }
4715 if test "x$ac_ct_CC" = x
; then
4718 case $cross_compiling:$ac_tool_warned in
4720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4721 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4722 ac_tool_warned
=yes ;;
4730 if test -z "$CC"; then
4731 if test -n "$ac_tool_prefix"; then
4732 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4733 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4735 printf %s
"checking for $ac_word... " >&6; }
4736 if test ${ac_cv_prog_CC+y}
4738 printf %s
"(cached) " >&6
4740 if test -n "$CC"; then
4741 ac_cv_prog_CC
="$CC" # Let the user override the test.
4743 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4747 case $as_dir in #(((
4750 *) as_dir
=$as_dir/ ;;
4752 for ac_exec_ext
in '' $ac_executable_extensions; do
4753 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4754 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4755 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4765 if test -n "$CC"; then
4766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4767 printf "%s\n" "$CC" >&6; }
4769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4770 printf "%s\n" "no" >&6; }
4776 if test -z "$CC"; then
4777 # Extract the first word of "cc", so it can be a program name with args.
4778 set dummy cc
; ac_word
=$2
4779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4780 printf %s
"checking for $ac_word... " >&6; }
4781 if test ${ac_cv_prog_CC+y}
4783 printf %s
"(cached) " >&6
4785 if test -n "$CC"; then
4786 ac_cv_prog_CC
="$CC" # Let the user override the test.
4789 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4793 case $as_dir in #(((
4796 *) as_dir
=$as_dir/ ;;
4798 for ac_exec_ext
in '' $ac_executable_extensions; do
4799 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4800 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4801 ac_prog_rejected
=yes
4805 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4812 if test $ac_prog_rejected = yes; then
4813 # We found a bogon in the path, so make sure we never use it.
4814 set dummy
$ac_cv_prog_CC
4816 if test $# != 0; then
4817 # We chose a different compiler from the bogus one.
4818 # However, it has the same basename, so the bogon will be chosen
4819 # first if we set CC to just the basename; use the full file name.
4821 ac_cv_prog_CC
="$as_dir$ac_word${1+' '}$@"
4827 if test -n "$CC"; then
4828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4829 printf "%s\n" "$CC" >&6; }
4831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4832 printf "%s\n" "no" >&6; }
4837 if test -z "$CC"; then
4838 if test -n "$ac_tool_prefix"; then
4839 for ac_prog
in cl.exe
4841 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4842 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4844 printf %s
"checking for $ac_word... " >&6; }
4845 if test ${ac_cv_prog_CC+y}
4847 printf %s
"(cached) " >&6
4849 if test -n "$CC"; then
4850 ac_cv_prog_CC
="$CC" # Let the user override the test.
4852 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4856 case $as_dir in #(((
4859 *) as_dir
=$as_dir/ ;;
4861 for ac_exec_ext
in '' $ac_executable_extensions; do
4862 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4863 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4864 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4874 if test -n "$CC"; then
4875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4876 printf "%s\n" "$CC" >&6; }
4878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4879 printf "%s\n" "no" >&6; }
4883 test -n "$CC" && break
4886 if test -z "$CC"; then
4888 for ac_prog
in cl.exe
4890 # Extract the first word of "$ac_prog", so it can be a program name with args.
4891 set dummy
$ac_prog; ac_word
=$2
4892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4893 printf %s
"checking for $ac_word... " >&6; }
4894 if test ${ac_cv_prog_ac_ct_CC+y}
4896 printf %s
"(cached) " >&6
4898 if test -n "$ac_ct_CC"; then
4899 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4901 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4905 case $as_dir in #(((
4908 *) as_dir
=$as_dir/ ;;
4910 for ac_exec_ext
in '' $ac_executable_extensions; do
4911 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4912 ac_cv_prog_ac_ct_CC
="$ac_prog"
4913 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4922 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4923 if test -n "$ac_ct_CC"; then
4924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4925 printf "%s\n" "$ac_ct_CC" >&6; }
4927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4928 printf "%s\n" "no" >&6; }
4932 test -n "$ac_ct_CC" && break
4935 if test "x$ac_ct_CC" = x
; then
4938 case $cross_compiling:$ac_tool_warned in
4940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4941 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4942 ac_tool_warned
=yes ;;
4949 if test -z "$CC"; then
4950 if test -n "$ac_tool_prefix"; then
4951 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4952 set dummy
${ac_tool_prefix}clang
; ac_word
=$2
4953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4954 printf %s
"checking for $ac_word... " >&6; }
4955 if test ${ac_cv_prog_CC+y}
4957 printf %s
"(cached) " >&6
4959 if test -n "$CC"; then
4960 ac_cv_prog_CC
="$CC" # Let the user override the test.
4962 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4966 case $as_dir in #(((
4969 *) as_dir
=$as_dir/ ;;
4971 for ac_exec_ext
in '' $ac_executable_extensions; do
4972 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4973 ac_cv_prog_CC
="${ac_tool_prefix}clang"
4974 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4984 if test -n "$CC"; then
4985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4986 printf "%s\n" "$CC" >&6; }
4988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4989 printf "%s\n" "no" >&6; }
4994 if test -z "$ac_cv_prog_CC"; then
4996 # Extract the first word of "clang", so it can be a program name with args.
4997 set dummy clang
; ac_word
=$2
4998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4999 printf %s
"checking for $ac_word... " >&6; }
5000 if test ${ac_cv_prog_ac_ct_CC+y}
5002 printf %s
"(cached) " >&6
5004 if test -n "$ac_ct_CC"; then
5005 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5007 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5011 case $as_dir in #(((
5014 *) as_dir
=$as_dir/ ;;
5016 for ac_exec_ext
in '' $ac_executable_extensions; do
5017 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
5018 ac_cv_prog_ac_ct_CC
="clang"
5019 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5028 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5029 if test -n "$ac_ct_CC"; then
5030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5031 printf "%s\n" "$ac_ct_CC" >&6; }
5033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5034 printf "%s\n" "no" >&6; }
5037 if test "x$ac_ct_CC" = x
; then
5040 case $cross_compiling:$ac_tool_warned in
5042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5043 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5044 ac_tool_warned
=yes ;;
5055 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5056 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5057 as_fn_error $?
"no acceptable C compiler found in \$PATH
5058 See \`config.log' for more details" "$LINENO" 5; }
5060 # Provide some information about the compiler.
5061 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5064 for ac_option
in --version -v -V -qversion -version; do
5065 { { ac_try
="$ac_compiler $ac_option >&5"
5067 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5068 *) ac_try_echo=$ac_try;;
5070 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5071 printf "%s\n" "$ac_try_echo"; } >&5
5072 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5074 if test -s conftest.err; then
5076 ... rest of stderr output deleted ...
5077 10q' conftest.err >conftest.er1
5078 cat conftest.er1 >&5
5080 rm -f conftest.er1 conftest.err
5081 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5082 test $ac_status = 0; }
5085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5086 /* end confdefs.h. */
5096 ac_clean_files_save=$ac_clean_files
5097 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5098 # Try to create an executable without -o first, disregard a.out.
5099 # It will help us diagnose broken compilers, and finding out an intuition
5101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5102 printf %s "checking whether the C compiler works... " >&6; }
5103 ac_link_default=`printf "%s\n" "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
5105 # The possible output files:
5106 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5109 for ac_file in $ac_files
5112 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5113 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5118 if { { ac_try="$ac_link_default"
5120 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5121 *) ac_try_echo
=$ac_try;;
5123 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5124 printf "%s\n" "$ac_try_echo"; } >&5
5125 (eval "$ac_link_default") 2>&5
5127 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5128 test $ac_status = 0; }
5130 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5131 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5132 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5133 # so that the user can short-circuit this test for compilers unknown to
5135 for ac_file
in $ac_files ''
5137 test -f "$ac_file" ||
continue
5139 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
5142 # We found the default executable, but exeext='' is most
5146 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no
;
5148 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
5150 # We set ac_cv_exeext here because the later test for it is not
5151 # safe: cross compilers may not add the suffix if given an `-o'
5152 # argument, so we may need to know it at that point already.
5153 # Even if this section looks crufty: it has the advantage of
5160 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
5165 if test -z "$ac_file"
5167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5168 printf "%s\n" "no" >&6; }
5169 printf "%s\n" "$as_me: failed program was:" >&5
5170 sed 's/^/| /' conftest.
$ac_ext >&5
5172 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5173 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5174 as_fn_error
77 "C compiler cannot create executables
5175 See \`config.log' for more details" "$LINENO" 5; }
5177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5178 printf "%s\n" "yes" >&6; }
5180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5181 printf %s
"checking for C compiler default output file name... " >&6; }
5182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5183 printf "%s\n" "$ac_file" >&6; }
5184 ac_exeext
=$ac_cv_exeext
5186 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
5187 ac_clean_files
=$ac_clean_files_save
5188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5189 printf %s
"checking for suffix of executables... " >&6; }
5190 if { { ac_try
="$ac_link"
5192 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5193 *) ac_try_echo=$ac_try;;
5195 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5196 printf "%s\n" "$ac_try_echo"; } >&5
5197 (eval "$ac_link") 2>&5
5199 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5200 test $ac_status = 0; }
5202 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
5203 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
5204 # work properly (i.e., refer to `conftest.exe'), while it won't with
5206 for ac_file
in conftest.exe conftest conftest.
*; do
5207 test -f "$ac_file" ||
continue
5209 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
5210 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
5216 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5217 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5218 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
5219 See \`config.log' for more details" "$LINENO" 5; }
5221 rm -f conftest conftest
$ac_cv_exeext
5222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5223 printf "%s\n" "$ac_cv_exeext" >&6; }
5225 rm -f conftest.
$ac_ext
5226 EXEEXT
=$ac_cv_exeext
5228 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5229 /* end confdefs.h. */
5234 FILE *f = fopen ("conftest.out", "w");
5235 return ferror (f) || fclose (f) != 0;
5241 ac_clean_files
="$ac_clean_files conftest.out"
5242 # Check that the compiler produces executables we can run. If not, either
5243 # the compiler is broken, or we cross compile.
5244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5245 printf %s
"checking whether we are cross compiling... " >&6; }
5246 if test "$cross_compiling" != yes; then
5247 { { ac_try
="$ac_link"
5249 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5250 *) ac_try_echo=$ac_try;;
5252 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5253 printf "%s\n" "$ac_try_echo"; } >&5
5254 (eval "$ac_link") 2>&5
5256 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5257 test $ac_status = 0; }
5258 if { ac_try='./conftest$ac_cv_exeext'
5259 { { case "(($ac_try" in
5260 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5261 *) ac_try_echo
=$ac_try;;
5263 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5264 printf "%s\n" "$ac_try_echo"; } >&5
5265 (eval "$ac_try") 2>&5
5267 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5268 test $ac_status = 0; }; }; then
5271 if test "$cross_compiling" = maybe
; then
5274 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5275 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5276 as_fn_error
77 "cannot run C compiled programs.
5277 If you meant to cross compile, use \`--host'.
5278 See \`config.log' for more details" "$LINENO" 5; }
5282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5283 printf "%s\n" "$cross_compiling" >&6; }
5285 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
5286 ac_clean_files
=$ac_clean_files_save
5287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5288 printf %s
"checking for suffix of object files... " >&6; }
5289 if test ${ac_cv_objext+y}
5291 printf %s
"(cached) " >&6
5293 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5294 /* end confdefs.h. */
5304 rm -f conftest.o conftest.obj
5305 if { { ac_try
="$ac_compile"
5307 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5308 *) ac_try_echo=$ac_try;;
5310 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5311 printf "%s\n" "$ac_try_echo"; } >&5
5312 (eval "$ac_compile") 2>&5
5314 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5315 test $ac_status = 0; }
5317 for ac_file in conftest.o conftest.obj conftest.*; do
5318 test -f "$ac_file" || continue;
5320 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5321 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5326 printf "%s\n" "$as_me: failed program was:" >&5
5327 sed 's/^/| /' conftest.$ac_ext >&5
5329 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5330 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5331 as_fn_error $? "cannot compute suffix of object files
: cannot compile
5332 See \
`config.log' for more details" "$LINENO" 5; }
5334 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5337 printf "%s\n" "$ac_cv_objext" >&6; }
5338 OBJEXT=$ac_cv_objext
5340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5341 printf %s "checking whether the compiler supports GNU C... " >&6; }
5342 if test ${ac_cv_c_compiler_gnu+y}
5344 printf %s "(cached) " >&6
5346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5347 /* end confdefs.h. */
5360 if ac_fn_c_try_compile "$LINENO"
5366 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5367 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5371 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5374 if test $ac_compiler_gnu = yes; then
5379 ac_test_CFLAGS=${CFLAGS+y}
5380 ac_save_CFLAGS=$CFLAGS
5381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5382 printf %s "checking whether $CC accepts -g... " >&6; }
5383 if test ${ac_cv_prog_cc_g+y}
5385 printf %s "(cached) " >&6
5387 ac_save_c_werror_flag=$ac_c_werror_flag
5388 ac_c_werror_flag=yes
5391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5392 /* end confdefs.h. */
5402 if ac_fn_c_try_compile "$LINENO"
5407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5408 /* end confdefs.h. */
5418 if ac_fn_c_try_compile "$LINENO"
5422 ac_c_werror_flag=$ac_save_c_werror_flag
5424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5425 /* end confdefs.h. */
5435 if ac_fn_c_try_compile "$LINENO"
5439 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5441 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5443 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5444 ac_c_werror_flag=$ac_save_c_werror_flag
5446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5447 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5448 if test $ac_test_CFLAGS; then
5449 CFLAGS=$ac_save_CFLAGS
5450 elif test $ac_cv_prog_cc_g = yes; then
5451 if test "$GCC" = yes; then
5457 if test "$GCC" = yes; then
5464 if test x$ac_prog_cc_stdc = xno
5466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5467 printf %s "checking for $CC option to enable C11 features... " >&6; }
5468 if test ${ac_cv_prog_cc_c11+y}
5470 printf %s "(cached) " >&6
5472 ac_cv_prog_cc_c11=no
5474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5475 /* end confdefs.h. */
5476 $ac_c_conftest_c11_program
5478 for ac_arg in '' -std=gnu11
5480 CC="$ac_save_CC $ac_arg"
5481 if ac_fn_c_try_compile "$LINENO"
5483 ac_cv_prog_cc_c11=$ac_arg
5485 rm -f core conftest.err conftest.$ac_objext conftest.beam
5486 test "x$ac_cv_prog_cc_c11" != "xno" && break
5488 rm -f conftest.$ac_ext
5492 if test "x$ac_cv_prog_cc_c11" = xno
5494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5495 printf "%s\n" "unsupported" >&6; }
5497 if test "x$ac_cv_prog_cc_c11" = x
5499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5500 printf "%s\n" "none needed" >&6; }
5502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5503 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5504 CC="$CC $ac_cv_prog_cc_c11"
5506 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5510 if test x$ac_prog_cc_stdc = xno
5512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5513 printf %s "checking for $CC option to enable C99 features... " >&6; }
5514 if test ${ac_cv_prog_cc_c99+y}
5516 printf %s "(cached) " >&6
5518 ac_cv_prog_cc_c99=no
5520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5521 /* end confdefs.h. */
5522 $ac_c_conftest_c99_program
5524 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5526 CC="$ac_save_CC $ac_arg"
5527 if ac_fn_c_try_compile "$LINENO"
5529 ac_cv_prog_cc_c99=$ac_arg
5531 rm -f core conftest.err conftest.$ac_objext conftest.beam
5532 test "x$ac_cv_prog_cc_c99" != "xno" && break
5534 rm -f conftest.$ac_ext
5538 if test "x$ac_cv_prog_cc_c99" = xno
5540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5541 printf "%s\n" "unsupported" >&6; }
5543 if test "x$ac_cv_prog_cc_c99" = x
5545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5546 printf "%s\n" "none needed" >&6; }
5548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5549 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5550 CC="$CC $ac_cv_prog_cc_c99"
5552 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5556 if test x$ac_prog_cc_stdc = xno
5558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5559 printf %s "checking for $CC option to enable C89 features... " >&6; }
5560 if test ${ac_cv_prog_cc_c89+y}
5562 printf %s "(cached) " >&6
5564 ac_cv_prog_cc_c89=no
5566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5567 /* end confdefs.h. */
5568 $ac_c_conftest_c89_program
5570 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5572 CC="$ac_save_CC $ac_arg"
5573 if ac_fn_c_try_compile "$LINENO"
5575 ac_cv_prog_cc_c89=$ac_arg
5577 rm -f core conftest.err conftest.$ac_objext conftest.beam
5578 test "x$ac_cv_prog_cc_c89" != "xno" && break
5580 rm -f conftest.$ac_ext
5584 if test "x$ac_cv_prog_cc_c89" = xno
5586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5587 printf "%s\n" "unsupported" >&6; }
5589 if test "x$ac_cv_prog_cc_c89" = x
5591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5592 printf "%s\n" "none needed" >&6; }
5594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5595 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5596 CC="$CC $ac_cv_prog_cc_c89"
5598 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5604 ac_cpp='$CPP $CPPFLAGS'
5605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5616 ac_cpp='$CXXCPP $CPPFLAGS'
5617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5620 if test -z "$CXX"; then
5621 if test -n "$CCC"; then
5624 if test -n "$ac_tool_prefix"; then
5625 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5627 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5628 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5630 printf %s "checking for $ac_word... " >&6; }
5631 if test ${ac_cv_prog_CXX+y}
5633 printf %s "(cached) " >&6
5635 if test -n "$CXX"; then
5636 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5642 case $as_dir in #(((
5645 *) as_dir=$as_dir/ ;;
5647 for ac_exec_ext in '' $ac_executable_extensions; do
5648 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5649 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5650 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5660 if test -n "$CXX"; then
5661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5662 printf "%s\n" "$CXX" >&6; }
5664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5665 printf "%s\n" "no" >&6; }
5669 test -n "$CXX" && break
5672 if test -z "$CXX"; then
5674 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5676 # Extract the first word of "$ac_prog", so it can be a program name with args.
5677 set dummy $ac_prog; ac_word=$2
5678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5679 printf %s "checking for $ac_word... " >&6; }
5680 if test ${ac_cv_prog_ac_ct_CXX+y}
5682 printf %s "(cached) " >&6
5684 if test -n "$ac_ct_CXX"; then
5685 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5691 case $as_dir in #(((
5694 *) as_dir=$as_dir/ ;;
5696 for ac_exec_ext in '' $ac_executable_extensions; do
5697 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5698 ac_cv_prog_ac_ct_CXX="$ac_prog"
5699 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5708 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5709 if test -n "$ac_ct_CXX"; then
5710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5711 printf "%s\n" "$ac_ct_CXX" >&6; }
5713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5714 printf "%s\n" "no" >&6; }
5718 test -n "$ac_ct_CXX" && break
5721 if test "x$ac_ct_CXX" = x; then
5724 case $cross_compiling:$ac_tool_warned in
5726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5727 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5728 ac_tool_warned=yes ;;
5736 # Provide some information about the compiler.
5737 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5740 for ac_option in --version -v -V -qversion; do
5741 { { ac_try="$ac_compiler $ac_option >&5"
5743 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5744 *) ac_try_echo
=$ac_try;;
5746 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5747 printf "%s\n" "$ac_try_echo"; } >&5
5748 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5750 if test -s conftest.err
; then
5752 ... rest of stderr output deleted ...
5753 10q' conftest.err
>conftest.er1
5754 cat conftest.er1
>&5
5756 rm -f conftest.er1 conftest.err
5757 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5758 test $ac_status = 0; }
5761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5762 printf %s
"checking whether the compiler supports GNU C++... " >&6; }
5763 if test ${ac_cv_cxx_compiler_gnu+y}
5765 printf %s
"(cached) " >&6
5767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5768 /* end confdefs.h. */
5781 if ac_fn_cxx_try_compile
"$LINENO"
5787 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5788 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5792 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5793 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5795 if test $ac_compiler_gnu = yes; then
5800 ac_test_CXXFLAGS
=${CXXFLAGS+y}
5801 ac_save_CXXFLAGS
=$CXXFLAGS
5802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5803 printf %s
"checking whether $CXX accepts -g... " >&6; }
5804 if test ${ac_cv_prog_cxx_g+y}
5806 printf %s
"(cached) " >&6
5808 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5809 ac_cxx_werror_flag
=yes
5812 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5813 /* end confdefs.h. */
5823 if ac_fn_cxx_try_compile
"$LINENO"
5825 ac_cv_prog_cxx_g
=yes
5828 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5829 /* end confdefs.h. */
5839 if ac_fn_cxx_try_compile
"$LINENO"
5843 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5845 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5846 /* end confdefs.h. */
5856 if ac_fn_cxx_try_compile
"$LINENO"
5858 ac_cv_prog_cxx_g
=yes
5860 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5862 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5864 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5865 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5868 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5869 if test $ac_test_CXXFLAGS; then
5870 CXXFLAGS
=$ac_save_CXXFLAGS
5871 elif test $ac_cv_prog_cxx_g = yes; then
5872 if test "$GXX" = yes; then
5878 if test "$GXX" = yes; then
5884 ac_prog_cxx_stdcxx
=no
5885 if test x
$ac_prog_cxx_stdcxx = xno
5887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5888 printf %s
"checking for $CXX option to enable C++11 features... " >&6; }
5889 if test ${ac_cv_prog_cxx_11+y}
5891 printf %s
"(cached) " >&6
5893 ac_cv_prog_cxx_11
=no
5895 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5896 /* end confdefs.h. */
5897 $ac_cxx_conftest_cxx11_program
5899 for ac_arg
in '' -std=gnu
++11 -std=gnu
++0x
-std=c
++11 -std=c
++0x
-qlanglvl=extended0x
-AA
5901 CXX
="$ac_save_CXX $ac_arg"
5902 if ac_fn_cxx_try_compile
"$LINENO"
5904 ac_cv_prog_cxx_cxx11
=$ac_arg
5906 rm -f core conftest.err conftest.
$ac_objext conftest.beam
5907 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5909 rm -f conftest.
$ac_ext
5913 if test "x$ac_cv_prog_cxx_cxx11" = xno
5915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5916 printf "%s\n" "unsupported" >&6; }
5918 if test "x$ac_cv_prog_cxx_cxx11" = x
5920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5921 printf "%s\n" "none needed" >&6; }
5923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5924 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5925 CXX
="$CXX $ac_cv_prog_cxx_cxx11"
5927 ac_cv_prog_cxx_stdcxx
=$ac_cv_prog_cxx_cxx11
5928 ac_prog_cxx_stdcxx
=cxx11
5931 if test x
$ac_prog_cxx_stdcxx = xno
5933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5934 printf %s
"checking for $CXX option to enable C++98 features... " >&6; }
5935 if test ${ac_cv_prog_cxx_98+y}
5937 printf %s
"(cached) " >&6
5939 ac_cv_prog_cxx_98
=no
5941 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5942 /* end confdefs.h. */
5943 $ac_cxx_conftest_cxx98_program
5945 for ac_arg
in '' -std=gnu
++98 -std=c
++98 -qlanglvl=extended
-AA
5947 CXX
="$ac_save_CXX $ac_arg"
5948 if ac_fn_cxx_try_compile
"$LINENO"
5950 ac_cv_prog_cxx_cxx98
=$ac_arg
5952 rm -f core conftest.err conftest.
$ac_objext conftest.beam
5953 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
5955 rm -f conftest.
$ac_ext
5959 if test "x$ac_cv_prog_cxx_cxx98" = xno
5961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5962 printf "%s\n" "unsupported" >&6; }
5964 if test "x$ac_cv_prog_cxx_cxx98" = x
5966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5967 printf "%s\n" "none needed" >&6; }
5969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
5970 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
5971 CXX
="$CXX $ac_cv_prog_cxx_cxx98"
5973 ac_cv_prog_cxx_stdcxx
=$ac_cv_prog_cxx_cxx98
5974 ac_prog_cxx_stdcxx
=cxx98
5979 ac_cpp
='$CPP $CPPFLAGS'
5980 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5981 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5982 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5984 if test -n "$ac_tool_prefix"; then
5985 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5986 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
5987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5988 printf %s
"checking for $ac_word... " >&6; }
5989 if test ${ac_cv_prog_CPPBIN+y}
5991 printf %s
"(cached) " >&6
5993 if test -n "$CPPBIN"; then
5994 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
5996 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6000 case $as_dir in #(((
6003 *) as_dir
=$as_dir/ ;;
6005 for ac_exec_ext
in '' $ac_executable_extensions; do
6006 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6007 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
6008 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6017 CPPBIN
=$ac_cv_prog_CPPBIN
6018 if test -n "$CPPBIN"; then
6019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6020 printf "%s\n" "$CPPBIN" >&6; }
6022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6023 printf "%s\n" "no" >&6; }
6028 if test -z "$ac_cv_prog_CPPBIN"; then
6029 ac_ct_CPPBIN
=$CPPBIN
6030 # Extract the first word of "cpp", so it can be a program name with args.
6031 set dummy cpp
; ac_word
=$2
6032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6033 printf %s
"checking for $ac_word... " >&6; }
6034 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6036 printf %s
"(cached) " >&6
6038 if test -n "$ac_ct_CPPBIN"; then
6039 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
6041 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6045 case $as_dir in #(((
6048 *) as_dir
=$as_dir/ ;;
6050 for ac_exec_ext
in '' $ac_executable_extensions; do
6051 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6052 ac_cv_prog_ac_ct_CPPBIN
="cpp"
6053 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6062 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
6063 if test -n "$ac_ct_CPPBIN"; then
6064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6065 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6068 printf "%s\n" "no" >&6; }
6071 if test "x$ac_ct_CPPBIN" = x
; then
6074 case $cross_compiling:$ac_tool_warned in
6076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6077 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6078 ac_tool_warned
=yes ;;
6080 CPPBIN
=$ac_ct_CPPBIN
6083 CPPBIN
="$ac_cv_prog_CPPBIN"
6087 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6089 if test -n "$ac_tool_prefix"; then
6090 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6091 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
6092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6093 printf %s
"checking for $ac_word... " >&6; }
6094 if test ${ac_cv_prog_LD+y}
6096 printf %s
"(cached) " >&6
6098 if test -n "$LD"; then
6099 ac_cv_prog_LD
="$LD" # Let the user override the test.
6101 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6105 case $as_dir in #(((
6108 *) as_dir
=$as_dir/ ;;
6110 for ac_exec_ext
in '' $ac_executable_extensions; do
6111 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6112 ac_cv_prog_LD
="${ac_tool_prefix}ld"
6113 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6123 if test -n "$LD"; then
6124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6125 printf "%s\n" "$LD" >&6; }
6127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6128 printf "%s\n" "no" >&6; }
6133 if test -z "$ac_cv_prog_LD"; then
6135 # Extract the first word of "ld", so it can be a program name with args.
6136 set dummy ld
; ac_word
=$2
6137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6138 printf %s
"checking for $ac_word... " >&6; }
6139 if test ${ac_cv_prog_ac_ct_LD+y}
6141 printf %s
"(cached) " >&6
6143 if test -n "$ac_ct_LD"; then
6144 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
6146 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6150 case $as_dir in #(((
6153 *) as_dir
=$as_dir/ ;;
6155 for ac_exec_ext
in '' $ac_executable_extensions; do
6156 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6157 ac_cv_prog_ac_ct_LD
="ld"
6158 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6167 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
6168 if test -n "$ac_ct_LD"; then
6169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6170 printf "%s\n" "$ac_ct_LD" >&6; }
6172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6173 printf "%s\n" "no" >&6; }
6176 if test "x$ac_ct_LD" = x
; then
6179 case $cross_compiling:$ac_tool_warned in
6181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6182 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6183 ac_tool_warned
=yes ;;
6194 with_fontconfig
=${with_fontconfig:-no}
6196 *-mingw32*|
*-cygwin*)
6197 enable_win16
=${enable_win16:-no}
6198 with_mingw
=${with_mingw:-no}
6205 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x
"$enable_archs" = x
6210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6211 printf %s
"checking whether $CC works... " >&6; }
6212 if test ${wine_cv_cc_m32+y}
6214 printf %s
"(cached) " >&6
6216 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6217 /* end confdefs.h. */
6227 if ac_fn_c_try_link
"$LINENO"
6233 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6234 conftest
$ac_exeext conftest.
$ac_ext
6236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6237 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6238 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
6240 notice_platform
="32-bit "
6241 TARGETFLAGS
="$TARGETFLAGS -m32"
6242 PKG_CONFIG_PATH
=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6243 export PKG_CONFIG_PATH
6244 with_unwind
=${with_unwind:-no}
6246 if test "x${GCC}" = "xyes"
6248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6249 printf %s
"checking whether $CC supports __builtin_ms_va_list... " >&6; }
6250 if test ${wine_cv_builtin_ms_va_list+y}
6252 printf %s
"(cached) " >&6
6254 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6255 /* end confdefs.h. */
6260 void func(__builtin_ms_va_list *args);
6265 if ac_fn_c_try_compile
"$LINENO"
6267 wine_cv_builtin_ms_va_list
=yes
6269 wine_cv_builtin_ms_va_list
=no
6271 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6274 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6275 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
6280 notice_platform
="64-bit "
6281 TARGETFLAGS
="$TARGETFLAGS -m64"
6285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6286 printf %s
"checking whether $CC supports Thumb-2... " >&6; }
6287 if test ${wine_cv_thumb2+y}
6289 printf %s
"(cached) " >&6
6291 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6292 /* end confdefs.h. */
6297 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6302 if ac_fn_c_try_link
"$LINENO"
6308 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6309 conftest
$ac_exeext conftest.
$ac_ext
6311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6312 printf "%s\n" "$wine_cv_thumb2" >&6; }
6313 if test x
"$wine_cv_thumb2" = xyes
6315 CFLAGS
="$CFLAGS -mthumb"
6316 TARGETFLAGS
="$TARGETFLAGS -mthumb"
6318 CFLAGS
="$CFLAGS -marm"
6319 TARGETFLAGS
="$TARGETFLAGS -marm"
6321 case $with_float_abi in
6323 float_abi
=$with_float_abi ;;
6330 saved_CFLAGS
=$CFLAGS
6331 CFLAGS
="$CFLAGS -mfloat-abi=$float_abi"
6332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6333 printf %s
"checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6334 if test ${wine_cv_float_abi+y}
6336 printf %s
"(cached) " >&6
6338 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6339 /* end confdefs.h. */
6344 asm("vmrs r2,fpscr");
6349 if ac_fn_c_try_link
"$LINENO"
6351 wine_cv_float_abi
=yes
6353 wine_cv_float_abi
=no
6355 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6356 conftest
$ac_exeext conftest.
$ac_ext
6358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6359 printf "%s\n" "$wine_cv_float_abi" >&6; }
6360 if test $wine_cv_float_abi = no
6363 as_fn_append wine_warnings
"|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6365 CFLAGS
=$saved_CFLAGS
6369 CFLAGS
="$CFLAGS -mfloat-abi=$float_abi"
6370 TARGETFLAGS
="$TARGETFLAGS -mfloat-abi=$float_abi"
6373 with_unwind
=${with_unwind:-no}
6377 enable_win16
=${enable_win16:-i386}
6378 enable_win64
=${enable_win64:-no}
6379 enable_wow64
=${enable_wow64:-aarch64,x86_64}
6380 enable_wow64win
=${enable_wow64win:-aarch64,x86_64}
6381 enable_wow64cpu
=${enable_wow64cpu:-x86_64}
6383 enable_winetest
=${enable_winetest:-$enable_tests}
6385 if test "x$enable_win64" = "xyes"
6387 test -z "$with_wine64" || as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
6388 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6392 cygwin
*|mingw32
*) toolsext
=".exe"
6400 aarch64
*) HOST_ARCH
=aarch64
;;
6401 arm
*) HOST_ARCH
=arm
;;
6402 i
[3456789]86*) HOST_ARCH
=i386
;;
6403 x86_64
) HOST_ARCH
=x86_64
;;
6407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6408 printf %s
"checking for the directory containing the Wine tools... " >&6; }
6409 if test ${wine_cv_toolsdir+y}
6411 printf %s
"(cached) " >&6
6413 wine_cv_toolsdir
="$with_wine_tools"
6414 if test -z "$with_wine_tools"; then
6415 if test "$cross_compiling" = "yes"; then
6416 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6417 elif test -n "$with_wine64"; then
6418 wine_cv_toolsdir
="$with_wine64"
6422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6423 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6424 if test -z "$wine_cv_toolsdir"; then
6425 wine_makedep
=tools
/makedep
$toolsext
6426 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6427 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
$toolsext
6428 enable_tools
=${enable_tools:-no}
6429 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6431 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6433 toolsdir
=$wine_cv_toolsdir
6435 MAKEDEP
=$wine_makedep
6437 RUNTESTFLAGS
="-q -P wine"
6439 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'"
6442 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6444 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
6449 # Extract the first word of "$ac_prog", so it can be a program name with args.
6450 set dummy
$ac_prog; ac_word
=$2
6451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6452 printf %s
"checking for $ac_word... " >&6; }
6453 if test ${ac_cv_prog_FLEX+y}
6455 printf %s
"(cached) " >&6
6457 if test -n "$FLEX"; then
6458 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
6460 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6464 case $as_dir in #(((
6467 *) as_dir
=$as_dir/ ;;
6469 for ac_exec_ext
in '' $ac_executable_extensions; do
6470 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6471 ac_cv_prog_FLEX
="$ac_prog"
6472 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6481 FLEX
=$ac_cv_prog_FLEX
6482 if test -n "$FLEX"; then
6483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6484 printf "%s\n" "$FLEX" >&6; }
6486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6487 printf "%s\n" "no" >&6; }
6491 test -n "$FLEX" && break
6493 test -n "$FLEX" || FLEX
="none"
6495 if test "$FLEX" = "none"
6497 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6500 printf %s
"checking whether flex is recent enough... " >&6; }
6501 if test ${wine_cv_recent_flex+y}
6503 printf %s
"(cached) " >&6
6505 cat >conftest.l
<<EOF
6507 #include "prediluvian.h"
6511 if $FLEX -t conftest.l
>/dev
/null
2>&5
6513 wine_cv_recent_flex
=yes
6515 wine_cv_recent_flex
=no
6518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6519 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6520 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
6522 for ac_prog
in bison
6524 # Extract the first word of "$ac_prog", so it can be a program name with args.
6525 set dummy
$ac_prog; ac_word
=$2
6526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6527 printf %s
"checking for $ac_word... " >&6; }
6528 if test ${ac_cv_prog_BISON+y}
6530 printf %s
"(cached) " >&6
6532 if test -n "$BISON"; then
6533 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
6535 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6539 case $as_dir in #(((
6542 *) as_dir
=$as_dir/ ;;
6544 for ac_exec_ext
in '' $ac_executable_extensions; do
6545 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6546 ac_cv_prog_BISON
="$ac_prog"
6547 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6556 BISON
=$ac_cv_prog_BISON
6557 if test -n "$BISON"; then
6558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6559 printf "%s\n" "$BISON" >&6; }
6561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6562 printf "%s\n" "no" >&6; }
6566 test -n "$BISON" && break
6568 test -n "$BISON" || BISON
="none"
6570 if test "$BISON" = "none"
6572 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6575 printf %s
"checking whether bison is recent enough... " >&6; }
6576 if test ${wine_cv_recent_bison+y}
6578 printf %s
"(cached) " >&6
6580 cat >conftest.y
<<EOF
6581 %define parse.error verbose
6585 if $BISON conftest.y
>/dev
/null
2>&5
6587 wine_cv_recent_bison
=yes
6589 wine_cv_recent_bison
=no
6592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6593 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6594 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
6596 if test -n "$ac_tool_prefix"; then
6597 for ac_prog
in ar gar
6599 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6600 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6602 printf %s
"checking for $ac_word... " >&6; }
6603 if test ${ac_cv_prog_AR+y}
6605 printf %s
"(cached) " >&6
6607 if test -n "$AR"; then
6608 ac_cv_prog_AR
="$AR" # Let the user override the test.
6610 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6614 case $as_dir in #(((
6617 *) as_dir
=$as_dir/ ;;
6619 for ac_exec_ext
in '' $ac_executable_extensions; do
6620 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6621 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
6622 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6632 if test -n "$AR"; then
6633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6634 printf "%s\n" "$AR" >&6; }
6636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6637 printf "%s\n" "no" >&6; }
6641 test -n "$AR" && break
6644 if test -z "$AR"; then
6646 for ac_prog
in ar gar
6648 # Extract the first word of "$ac_prog", so it can be a program name with args.
6649 set dummy
$ac_prog; ac_word
=$2
6650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6651 printf %s
"checking for $ac_word... " >&6; }
6652 if test ${ac_cv_prog_ac_ct_AR+y}
6654 printf %s
"(cached) " >&6
6656 if test -n "$ac_ct_AR"; then
6657 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6659 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6663 case $as_dir in #(((
6666 *) as_dir
=$as_dir/ ;;
6668 for ac_exec_ext
in '' $ac_executable_extensions; do
6669 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6670 ac_cv_prog_ac_ct_AR
="$ac_prog"
6671 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6680 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6681 if test -n "$ac_ct_AR"; then
6682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6683 printf "%s\n" "$ac_ct_AR" >&6; }
6685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6686 printf "%s\n" "no" >&6; }
6690 test -n "$ac_ct_AR" && break
6693 if test "x$ac_ct_AR" = x
; then
6696 case $cross_compiling:$ac_tool_warned in
6698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6699 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6700 ac_tool_warned
=yes ;;
6706 if test -n "$ac_tool_prefix"; then
6707 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6708 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6710 printf %s
"checking for $ac_word... " >&6; }
6711 if test ${ac_cv_prog_STRIP+y}
6713 printf %s
"(cached) " >&6
6715 if test -n "$STRIP"; then
6716 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6718 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6722 case $as_dir in #(((
6725 *) as_dir
=$as_dir/ ;;
6727 for ac_exec_ext
in '' $ac_executable_extensions; do
6728 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6729 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6730 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6739 STRIP
=$ac_cv_prog_STRIP
6740 if test -n "$STRIP"; then
6741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6742 printf "%s\n" "$STRIP" >&6; }
6744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6745 printf "%s\n" "no" >&6; }
6750 if test -z "$ac_cv_prog_STRIP"; then
6752 # Extract the first word of "strip", so it can be a program name with args.
6753 set dummy strip
; ac_word
=$2
6754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6755 printf %s
"checking for $ac_word... " >&6; }
6756 if test ${ac_cv_prog_ac_ct_STRIP+y}
6758 printf %s
"(cached) " >&6
6760 if test -n "$ac_ct_STRIP"; then
6761 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6763 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6767 case $as_dir in #(((
6770 *) as_dir
=$as_dir/ ;;
6772 for ac_exec_ext
in '' $ac_executable_extensions; do
6773 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6774 ac_cv_prog_ac_ct_STRIP
="strip"
6775 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6784 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6785 if test -n "$ac_ct_STRIP"; then
6786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6787 printf "%s\n" "$ac_ct_STRIP" >&6; }
6789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6790 printf "%s\n" "no" >&6; }
6793 if test "x$ac_ct_STRIP" = x
; then
6796 case $cross_compiling:$ac_tool_warned in
6798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6799 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6800 ac_tool_warned
=yes ;;
6805 STRIP
="$ac_cv_prog_STRIP"
6808 if test -n "$ac_tool_prefix"; then
6809 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6810 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6812 printf %s
"checking for $ac_word... " >&6; }
6813 if test ${ac_cv_prog_RANLIB+y}
6815 printf %s
"(cached) " >&6
6817 if test -n "$RANLIB"; then
6818 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6820 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6824 case $as_dir in #(((
6827 *) as_dir
=$as_dir/ ;;
6829 for ac_exec_ext
in '' $ac_executable_extensions; do
6830 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6831 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6832 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6841 RANLIB
=$ac_cv_prog_RANLIB
6842 if test -n "$RANLIB"; then
6843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6844 printf "%s\n" "$RANLIB" >&6; }
6846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6847 printf "%s\n" "no" >&6; }
6852 if test -z "$ac_cv_prog_RANLIB"; then
6853 ac_ct_RANLIB
=$RANLIB
6854 # Extract the first word of "ranlib", so it can be a program name with args.
6855 set dummy ranlib
; ac_word
=$2
6856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6857 printf %s
"checking for $ac_word... " >&6; }
6858 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6860 printf %s
"(cached) " >&6
6862 if test -n "$ac_ct_RANLIB"; then
6863 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6865 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6869 case $as_dir in #(((
6872 *) as_dir
=$as_dir/ ;;
6874 for ac_exec_ext
in '' $ac_executable_extensions; do
6875 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6876 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6877 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6886 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6887 if test -n "$ac_ct_RANLIB"; then
6888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6889 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6892 printf "%s\n" "no" >&6; }
6895 if test "x$ac_ct_RANLIB" = x
; then
6898 case $cross_compiling:$ac_tool_warned in
6900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6901 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6902 ac_tool_warned
=yes ;;
6904 RANLIB
=$ac_ct_RANLIB
6907 RANLIB
="$ac_cv_prog_RANLIB"
6910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6911 printf %s
"checking whether ln -s works... " >&6; }
6913 if test "$LN_S" = "ln -s"; then
6914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6915 printf "%s\n" "yes" >&6; }
6917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6918 printf "%s\n" "no, using $LN_S" >&6; }
6921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6922 printf %s
"checking for grep that handles long lines and -e... " >&6; }
6923 if test ${ac_cv_path_GREP+y}
6925 printf %s
"(cached) " >&6
6927 if test -z "$GREP"; then
6928 ac_path_GREP_found
=false
6929 # Loop through the user's path and test for each of PROGNAME-LIST
6930 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6931 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6934 case $as_dir in #(((
6937 *) as_dir
=$as_dir/ ;;
6939 for ac_prog
in grep ggrep
6941 for ac_exec_ext
in '' $ac_executable_extensions; do
6942 ac_path_GREP
="$as_dir$ac_prog$ac_exec_ext"
6943 as_fn_executable_p
"$ac_path_GREP" ||
continue
6944 # Check for GNU ac_path_GREP and select it if it is found.
6945 # Check for GNU $ac_path_GREP
6946 case `"$ac_path_GREP" --version 2>&1` in
6948 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6951 printf %s
0123456789 >"conftest.in"
6954 cat "conftest.in" "conftest.in" >"conftest.tmp"
6955 mv "conftest.tmp" "conftest.in"
6956 cp "conftest.in" "conftest.nl"
6957 printf "%s\n" 'GREP' >> "conftest.nl"
6958 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6959 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6960 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6961 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6962 # Best one so far, save it but keep looking for a better one
6963 ac_cv_path_GREP
="$ac_path_GREP"
6964 ac_path_GREP_max
=$ac_count
6966 # 10*(2^10) chars as input seems more than enough
6967 test $ac_count -gt 10 && break
6969 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6972 $ac_path_GREP_found && break 3
6977 if test -z "$ac_cv_path_GREP"; then
6978 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6981 ac_cv_path_GREP
=$GREP
6985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6986 printf "%s\n" "$ac_cv_path_GREP" >&6; }
6987 GREP
="$ac_cv_path_GREP"
6990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6991 printf %s
"checking for egrep... " >&6; }
6992 if test ${ac_cv_path_EGREP+y}
6994 printf %s
"(cached) " >&6
6996 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6997 then ac_cv_path_EGREP
="$GREP -E"
6999 if test -z "$EGREP"; then
7000 ac_path_EGREP_found
=false
7001 # Loop through the user's path and test for each of PROGNAME-LIST
7002 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7003 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7006 case $as_dir in #(((
7009 *) as_dir
=$as_dir/ ;;
7011 for ac_prog
in egrep
7013 for ac_exec_ext
in '' $ac_executable_extensions; do
7014 ac_path_EGREP
="$as_dir$ac_prog$ac_exec_ext"
7015 as_fn_executable_p
"$ac_path_EGREP" ||
continue
7016 # Check for GNU ac_path_EGREP and select it if it is found.
7017 # Check for GNU $ac_path_EGREP
7018 case `"$ac_path_EGREP" --version 2>&1` in
7020 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
7023 printf %s
0123456789 >"conftest.in"
7026 cat "conftest.in" "conftest.in" >"conftest.tmp"
7027 mv "conftest.tmp" "conftest.in"
7028 cp "conftest.in" "conftest.nl"
7029 printf "%s\n" 'EGREP' >> "conftest.nl"
7030 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7031 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7032 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7033 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7034 # Best one so far, save it but keep looking for a better one
7035 ac_cv_path_EGREP
="$ac_path_EGREP"
7036 ac_path_EGREP_max
=$ac_count
7038 # 10*(2^10) chars as input seems more than enough
7039 test $ac_count -gt 10 && break
7041 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7044 $ac_path_EGREP_found && break 3
7049 if test -z "$ac_cv_path_EGREP"; then
7050 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7053 ac_cv_path_EGREP
=$EGREP
7058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7059 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7060 EGREP
="$ac_cv_path_EGREP"
7063 # Extract the first word of "ldconfig", so it can be a program name with args.
7064 set dummy ldconfig
; ac_word
=$2
7065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7066 printf %s
"checking for $ac_word... " >&6; }
7067 if test ${ac_cv_path_LDCONFIG+y}
7069 printf %s
"(cached) " >&6
7073 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
7076 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7077 for as_dir
in /sbin
/usr
/sbin
$PATH
7080 case $as_dir in #(((
7083 *) as_dir
=$as_dir/ ;;
7085 for ac_exec_ext
in '' $ac_executable_extensions; do
7086 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7087 ac_cv_path_LDCONFIG
="$as_dir$ac_word$ac_exec_ext"
7088 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7095 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
7099 LDCONFIG
=$ac_cv_path_LDCONFIG
7100 if test -n "$LDCONFIG"; then
7101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7102 printf "%s\n" "$LDCONFIG" >&6; }
7104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7105 printf "%s\n" "no" >&6; }
7109 for ac_prog
in msgfmt
7111 # Extract the first word of "$ac_prog", so it can be a program name with args.
7112 set dummy
$ac_prog; ac_word
=$2
7113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7114 printf %s
"checking for $ac_word... " >&6; }
7115 if test ${ac_cv_prog_MSGFMT+y}
7117 printf %s
"(cached) " >&6
7119 if test -n "$MSGFMT"; then
7120 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
7122 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7126 case $as_dir in #(((
7129 *) as_dir
=$as_dir/ ;;
7131 for ac_exec_ext
in '' $ac_executable_extensions; do
7132 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7133 ac_cv_prog_MSGFMT
="$ac_prog"
7134 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7143 MSGFMT
=$ac_cv_prog_MSGFMT
7144 if test -n "$MSGFMT"; then
7145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7146 printf "%s\n" "$MSGFMT" >&6; }
7148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7149 printf "%s\n" "no" >&6; }
7153 test -n "$MSGFMT" && break
7155 test -n "$MSGFMT" || MSGFMT
="false"
7157 if test ${ac_tool_prefix+y}
7159 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7160 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
7161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7162 printf %s
"checking for $ac_word... " >&6; }
7163 if test ${ac_cv_prog_PKG_CONFIG+y}
7165 printf %s
"(cached) " >&6
7167 if test -n "$PKG_CONFIG"; then
7168 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
7170 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7174 case $as_dir in #(((
7177 *) as_dir
=$as_dir/ ;;
7179 for ac_exec_ext
in '' $ac_executable_extensions; do
7180 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7181 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
7182 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7191 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7192 if test -n "$PKG_CONFIG"; then
7193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7194 printf "%s\n" "$PKG_CONFIG" >&6; }
7196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7197 printf "%s\n" "no" >&6; }
7202 if ${ac_cv_prog_PKG_CONFIG:+false} :
7204 if test "x$cross_compiling" = xyes
7208 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
7209 # Extract the first word of "pkg-config", so it can be a program name with args.
7210 set dummy pkg-config
; ac_word
=$2
7211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7212 printf %s
"checking for $ac_word... " >&6; }
7213 if test ${ac_cv_prog_PKG_CONFIG+y}
7215 printf %s
"(cached) " >&6
7217 if test -n "$PKG_CONFIG"; then
7218 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
7220 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7224 case $as_dir in #(((
7227 *) as_dir
=$as_dir/ ;;
7229 for ac_exec_ext
in '' $ac_executable_extensions; do
7230 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7231 ac_cv_prog_PKG_CONFIG
="pkg-config"
7232 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7241 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7242 if test -n "$PKG_CONFIG"; then
7243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7244 printf "%s\n" "$PKG_CONFIG" >&6; }
7246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7247 printf "%s\n" "no" >&6; }
7253 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7256 if test "x$enable_maintainer_mode" != "xyes"
7263 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
7264 for ac_prog
in fontforge
7266 # Extract the first word of "$ac_prog", so it can be a program name with args.
7267 set dummy
$ac_prog; ac_word
=$2
7268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7269 printf %s
"checking for $ac_word... " >&6; }
7270 if test ${ac_cv_prog_FONTFORGE+y}
7272 printf %s
"(cached) " >&6
7274 if test -n "$FONTFORGE"; then
7275 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
7277 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7281 case $as_dir in #(((
7284 *) as_dir
=$as_dir/ ;;
7286 for ac_exec_ext
in '' $ac_executable_extensions; do
7287 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7288 ac_cv_prog_FONTFORGE
="$ac_prog"
7289 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7298 FONTFORGE
=$ac_cv_prog_FONTFORGE
7299 if test -n "$FONTFORGE"; then
7300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7301 printf "%s\n" "$FONTFORGE" >&6; }
7303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7304 printf "%s\n" "no" >&6; }
7308 test -n "$FONTFORGE" && break
7310 test -n "$FONTFORGE" || FONTFORGE
="false"
7312 for ac_prog
in rsvg-convert rsvg
7314 # Extract the first word of "$ac_prog", so it can be a program name with args.
7315 set dummy
$ac_prog; ac_word
=$2
7316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7317 printf %s
"checking for $ac_word... " >&6; }
7318 if test ${ac_cv_prog_RSVG+y}
7320 printf %s
"(cached) " >&6
7322 if test -n "$RSVG"; then
7323 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
7325 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7329 case $as_dir in #(((
7332 *) as_dir
=$as_dir/ ;;
7334 for ac_exec_ext
in '' $ac_executable_extensions; do
7335 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7336 ac_cv_prog_RSVG
="$ac_prog"
7337 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7346 RSVG
=$ac_cv_prog_RSVG
7347 if test -n "$RSVG"; then
7348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7349 printf "%s\n" "$RSVG" >&6; }
7351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7352 printf "%s\n" "no" >&6; }
7356 test -n "$RSVG" && break
7358 test -n "$RSVG" || RSVG
="false"
7360 for ac_prog
in convert
7362 # Extract the first word of "$ac_prog", so it can be a program name with args.
7363 set dummy
$ac_prog; ac_word
=$2
7364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7365 printf %s
"checking for $ac_word... " >&6; }
7366 if test ${ac_cv_prog_CONVERT+y}
7368 printf %s
"(cached) " >&6
7370 if test -n "$CONVERT"; then
7371 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
7373 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7377 case $as_dir in #(((
7380 *) as_dir
=$as_dir/ ;;
7382 for ac_exec_ext
in '' $ac_executable_extensions; do
7383 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7384 ac_cv_prog_CONVERT
="$ac_prog"
7385 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7394 CONVERT
=$ac_cv_prog_CONVERT
7395 if test -n "$CONVERT"; then
7396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7397 printf "%s\n" "$CONVERT" >&6; }
7399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7400 printf "%s\n" "no" >&6; }
7404 test -n "$CONVERT" && break
7406 test -n "$CONVERT" || CONVERT
="false"
7408 for ac_prog
in icotool
7410 # Extract the first word of "$ac_prog", so it can be a program name with args.
7411 set dummy
$ac_prog; ac_word
=$2
7412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7413 printf %s
"checking for $ac_word... " >&6; }
7414 if test ${ac_cv_prog_ICOTOOL+y}
7416 printf %s
"(cached) " >&6
7418 if test -n "$ICOTOOL"; then
7419 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
7421 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7425 case $as_dir in #(((
7428 *) as_dir
=$as_dir/ ;;
7430 for ac_exec_ext
in '' $ac_executable_extensions; do
7431 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7432 ac_cv_prog_ICOTOOL
="$ac_prog"
7433 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7442 ICOTOOL
=$ac_cv_prog_ICOTOOL
7443 if test -n "$ICOTOOL"; then
7444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7445 printf "%s\n" "$ICOTOOL" >&6; }
7447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7448 printf "%s\n" "no" >&6; }
7452 test -n "$ICOTOOL" && break
7454 test -n "$ICOTOOL" || ICOTOOL
="false"
7456 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7457 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7459 if test "$CONVERT" = false
7461 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7464 printf %s
"checking for recent enough imagemagick... " >&6; }
7465 convert_version
=`convert --version | head -n1`
7466 if test "x$convert_version" != "x"
7468 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7469 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7470 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7475 if test "$CONVERT" = false
7477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7478 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7479 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7482 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7486 if test "$ICOTOOL" = false
7488 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7491 printf %s
"checking for recent enough icotool... " >&6; }
7492 icotool_version
=`icotool --version | head -n1`
7493 if test "x$icotool_version" != "x"
7495 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7496 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7497 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7500 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
7503 if test "$ICOTOOL" = false
7505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7506 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7507 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7510 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7520 test "x$with_gettext" != xno || MSGFMT
=false
7521 if test "$MSGFMT" != "false"
7523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7524 printf %s
"checking whether msgfmt supports contexts... " >&6; }
7525 if test ${wine_cv_msgfmt_contexts+y}
7527 printf %s
"(cached) " >&6
7529 cat >conftest.po
<<EOF
7535 if $MSGFMT -o /dev
/null conftest.po
2>&5
7537 wine_cv_msgfmt_contexts
=yes
7539 wine_cv_msgfmt_contexts
=no
7542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7543 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7544 test $wine_cv_msgfmt_contexts != no || MSGFMT
=false
7546 if test "$MSGFMT" = false
7548 case "x$with_gettext" in
7549 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
7551 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
7552 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7554 enable_po
=${enable_po:-no}
7558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7559 printf %s
"checking for i386_set_ldt in -li386... " >&6; }
7560 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7562 printf %s
"(cached) " >&6
7564 ac_check_lib_save_LIBS
=$LIBS
7566 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7567 /* end confdefs.h. */
7569 /* Override any GCC internal prototype to avoid an error.
7570 Use char because int might match the return type of a GCC
7571 builtin and then its argument prototype would still apply. */
7572 char i386_set_ldt ();
7576 return i386_set_ldt ();
7581 if ac_fn_c_try_link
"$LINENO"
7583 ac_cv_lib_i386_i386_set_ldt
=yes
7585 ac_cv_lib_i386_i386_set_ldt
=no
7587 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
7588 conftest
$ac_exeext conftest.
$ac_ext
7589 LIBS
=$ac_check_lib_save_LIBS
7591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7592 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7593 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7604 # Check whether --enable-largefile was given.
7605 if test ${enable_largefile+y}
7607 enableval
=$enable_largefile;
7610 if test "$enable_largefile" != no
; then
7612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7613 printf %s
"checking for special C compiler options needed for large files... " >&6; }
7614 if test ${ac_cv_sys_largefile_CC+y}
7616 printf %s
"(cached) " >&6
7618 ac_cv_sys_largefile_CC
=no
7619 if test "$GCC" != yes; then
7622 # IRIX 6.2 and later do not support large files by default,
7623 # so use the C compiler's -n32 option if that helps.
7624 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7625 /* end confdefs.h. */
7626 #include <sys/types.h>
7627 /* Check that off_t can represent 2**63 - 1 correctly.
7628 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7629 since some C++ compilers masquerading as C compilers
7630 incorrectly reject 9223372036854775807. */
7631 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7632 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7633 && LARGE_OFF_T % 2147483647 == 1)
7643 if ac_fn_c_try_compile
"$LINENO"
7647 rm -f core conftest.err conftest.
$ac_objext conftest.beam
7649 if ac_fn_c_try_compile
"$LINENO"
7651 ac_cv_sys_largefile_CC
=' -n32'; break
7653 rm -f core conftest.err conftest.
$ac_objext conftest.beam
7657 rm -f conftest.
$ac_ext
7660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7661 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7662 if test "$ac_cv_sys_largefile_CC" != no
; then
7663 CC
=$CC$ac_cv_sys_largefile_CC
7666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7667 printf %s
"checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7668 if test ${ac_cv_sys_file_offset_bits+y}
7670 printf %s
"(cached) " >&6
7673 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7674 /* end confdefs.h. */
7675 #include <sys/types.h>
7676 /* Check that off_t can represent 2**63 - 1 correctly.
7677 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7678 since some C++ compilers masquerading as C compilers
7679 incorrectly reject 9223372036854775807. */
7680 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7681 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7682 && LARGE_OFF_T % 2147483647 == 1)
7692 if ac_fn_c_try_compile
"$LINENO"
7694 ac_cv_sys_file_offset_bits
=no
; break
7696 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7697 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7698 /* end confdefs.h. */
7699 #define _FILE_OFFSET_BITS 64
7700 #include <sys/types.h>
7701 /* Check that off_t can represent 2**63 - 1 correctly.
7702 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7703 since some C++ compilers masquerading as C compilers
7704 incorrectly reject 9223372036854775807. */
7705 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7706 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7707 && LARGE_OFF_T % 2147483647 == 1)
7717 if ac_fn_c_try_compile
"$LINENO"
7719 ac_cv_sys_file_offset_bits
=64; break
7721 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7722 ac_cv_sys_file_offset_bits
=unknown
7726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7727 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7728 case $ac_cv_sys_file_offset_bits in #(
7731 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7735 if test $ac_cv_sys_file_offset_bits = unknown
; then
7736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7737 printf %s
"checking for _LARGE_FILES value needed for large files... " >&6; }
7738 if test ${ac_cv_sys_large_files+y}
7740 printf %s
"(cached) " >&6
7743 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7744 /* end confdefs.h. */
7745 #include <sys/types.h>
7746 /* Check that off_t can represent 2**63 - 1 correctly.
7747 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7748 since some C++ compilers masquerading as C compilers
7749 incorrectly reject 9223372036854775807. */
7750 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7751 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7752 && LARGE_OFF_T % 2147483647 == 1)
7762 if ac_fn_c_try_compile
"$LINENO"
7764 ac_cv_sys_large_files
=no
; break
7766 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7768 /* end confdefs.h. */
7769 #define _LARGE_FILES 1
7770 #include <sys/types.h>
7771 /* Check that off_t can represent 2**63 - 1 correctly.
7772 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7773 since some C++ compilers masquerading as C compilers
7774 incorrectly reject 9223372036854775807. */
7775 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7776 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7777 && LARGE_OFF_T % 2147483647 == 1)
7787 if ac_fn_c_try_compile
"$LINENO"
7789 ac_cv_sys_large_files
=1; break
7791 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7792 ac_cv_sys_large_files
=unknown
7796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7797 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7798 case $ac_cv_sys_large_files in #(
7801 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7809 ac_header
= ac_cache
=
7810 for ac_item
in $ac_header_c_list
7812 if test $ac_cache; then
7813 ac_fn_c_check_header_compile
"$LINENO" $ac_header ac_cv_header_
$ac_cache "$ac_includes_default"
7814 if eval test \"x\
$ac_cv_header_$ac_cache\" = xyes
; then
7815 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7817 ac_header
= ac_cache
=
7818 elif test $ac_header; then
7832 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7835 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7838 ac_fn_c_check_header_compile
"$LINENO" "AL/al.h" "ac_cv_header_AL_al_h" "$ac_includes_default"
7839 if test "x$ac_cv_header_AL_al_h" = xyes
7841 printf "%s\n" "#define HAVE_AL_AL_H 1" >>confdefs.h
7844 ac_fn_c_check_header_compile
"$LINENO" "ApplicationServices/ApplicationServices.h" "ac_cv_header_ApplicationServices_ApplicationServices_h" "$ac_includes_default"
7845 if test "x$ac_cv_header_ApplicationServices_ApplicationServices_h" = xyes
7847 printf "%s\n" "#define HAVE_APPLICATIONSERVICES_APPLICATIONSERVICES_H 1" >>confdefs.h
7850 ac_fn_c_check_header_compile
"$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7851 if test "x$ac_cv_header_CL_cl_h" = xyes
7853 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7856 ac_fn_c_check_header_compile
"$LINENO" "Carbon/Carbon.h" "ac_cv_header_Carbon_Carbon_h" "$ac_includes_default"
7857 if test "x$ac_cv_header_Carbon_Carbon_h" = xyes
7859 printf "%s\n" "#define HAVE_CARBON_CARBON_H 1" >>confdefs.h
7862 ac_fn_c_check_header_compile
"$LINENO" "CoreAudio/CoreAudio.h" "ac_cv_header_CoreAudio_CoreAudio_h" "$ac_includes_default"
7863 if test "x$ac_cv_header_CoreAudio_CoreAudio_h" = xyes
7865 printf "%s\n" "#define HAVE_COREAUDIO_COREAUDIO_H 1" >>confdefs.h
7868 ac_fn_c_check_header_compile
"$LINENO" "DiskArbitration/DiskArbitration.h" "ac_cv_header_DiskArbitration_DiskArbitration_h" "$ac_includes_default"
7869 if test "x$ac_cv_header_DiskArbitration_DiskArbitration_h" = xyes
7871 printf "%s\n" "#define HAVE_DISKARBITRATION_DISKARBITRATION_H 1" >>confdefs.h
7874 ac_fn_c_check_header_compile
"$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7875 if test "x$ac_cv_header_EGL_egl_h" = xyes
7877 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7880 ac_fn_c_check_header_compile
"$LINENO" "IOKit/IOKitLib.h" "ac_cv_header_IOKit_IOKitLib_h" "$ac_includes_default"
7881 if test "x$ac_cv_header_IOKit_IOKitLib_h" = xyes
7883 printf "%s\n" "#define HAVE_IOKIT_IOKITLIB_H 1" >>confdefs.h
7886 ac_fn_c_check_header_compile
"$LINENO" "IOKit/hid/IOHIDLib.h" "ac_cv_header_IOKit_hid_IOHIDLib_h" "$ac_includes_default"
7887 if test "x$ac_cv_header_IOKit_hid_IOHIDLib_h" = xyes
7889 printf "%s\n" "#define HAVE_IOKIT_HID_IOHIDLIB_H 1" >>confdefs.h
7892 ac_fn_c_check_header_compile
"$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7893 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7895 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7898 ac_fn_c_check_header_compile
"$LINENO" "Security/Security.h" "ac_cv_header_Security_Security_h" "$ac_includes_default"
7899 if test "x$ac_cv_header_Security_Security_h" = xyes
7901 printf "%s\n" "#define HAVE_SECURITY_SECURITY_H 1" >>confdefs.h
7904 ac_fn_c_check_header_compile
"$LINENO" "SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h" "ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" "$ac_includes_default"
7905 if test "x$ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" = xyes
7907 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCDYNAMICSTORECOPYDHCPINFO_H 1" >>confdefs.h
7910 ac_fn_c_check_header_compile
"$LINENO" "SystemConfiguration/SCNetworkConfiguration.h" "ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" "$ac_includes_default"
7911 if test "x$ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" = xyes
7913 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCNETWORKCONFIGURATION_H 1" >>confdefs.h
7916 ac_fn_c_check_header_compile
"$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7917 if test "x$ac_cv_header_arpa_inet_h" = xyes
7919 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7922 ac_fn_c_check_header_compile
"$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7923 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7925 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7928 ac_fn_c_check_header_compile
"$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7929 if test "x$ac_cv_header_asm_types_h" = xyes
7931 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7934 ac_fn_c_check_header_compile
"$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7935 if test "x$ac_cv_header_asm_user_h" = xyes
7937 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7940 ac_fn_c_check_header_compile
"$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7941 if test "x$ac_cv_header_elf_h" = xyes
7943 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7946 ac_fn_c_check_header_compile
"$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7947 if test "x$ac_cv_header_float_h" = xyes
7949 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7952 ac_fn_c_check_header_compile
"$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7953 if test "x$ac_cv_header_gettext_po_h" = xyes
7955 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7958 ac_fn_c_check_header_compile
"$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7959 if test "x$ac_cv_header_libproc_h" = xyes
7961 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7964 ac_fn_c_check_header_compile
"$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7965 if test "x$ac_cv_header_link_h" = xyes
7967 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7970 ac_fn_c_check_header_compile
"$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7971 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7973 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7976 ac_fn_c_check_header_compile
"$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7977 if test "x$ac_cv_header_linux_filter_h" = xyes
7979 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7982 ac_fn_c_check_header_compile
"$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7983 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7985 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7988 ac_fn_c_check_header_compile
"$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7989 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7991 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7994 ac_fn_c_check_header_compile
"$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7995 if test "x$ac_cv_header_linux_input_h" = xyes
7997 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
8000 ac_fn_c_check_header_compile
"$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
8001 if test "x$ac_cv_header_linux_ioctl_h" = xyes
8003 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
8006 ac_fn_c_check_header_compile
"$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
8007 if test "x$ac_cv_header_linux_major_h" = xyes
8009 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
8012 ac_fn_c_check_header_compile
"$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
8013 if test "x$ac_cv_header_linux_param_h" = xyes
8015 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
8018 ac_fn_c_check_header_compile
"$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
8019 if test "x$ac_cv_header_linux_serial_h" = xyes
8021 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
8024 ac_fn_c_check_header_compile
"$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
8025 if test "x$ac_cv_header_linux_types_h" = xyes
8027 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
8030 ac_fn_c_check_header_compile
"$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
8031 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
8033 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
8036 ac_fn_c_check_header_compile
"$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
8037 if test "x$ac_cv_header_lwp_h" = xyes
8039 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
8042 ac_fn_c_check_header_compile
"$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
8043 if test "x$ac_cv_header_mach_o_loader_h" = xyes
8045 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8048 ac_fn_c_check_header_compile
"$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8049 if test "x$ac_cv_header_mach_mach_h" = xyes
8051 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8054 ac_fn_c_check_header_compile
"$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8055 if test "x$ac_cv_header_machine_cpu_h" = xyes
8057 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8060 ac_fn_c_check_header_compile
"$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8061 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8063 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8066 ac_fn_c_check_header_compile
"$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8067 if test "x$ac_cv_header_mntent_h" = xyes
8069 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8072 ac_fn_c_check_header_compile
"$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8073 if test "x$ac_cv_header_netdb_h" = xyes
8075 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8078 ac_fn_c_check_header_compile
"$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8079 if test "x$ac_cv_header_netinet_in_h" = xyes
8081 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8084 ac_fn_c_check_header_compile
"$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8085 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8087 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8090 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8091 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8093 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8096 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8097 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8099 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8102 ac_fn_c_check_header_compile
"$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8103 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8105 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8108 ac_fn_c_check_header_compile
"$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8109 if test "x$ac_cv_header_port_h" = xyes
8111 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8114 ac_fn_c_check_header_compile
"$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8115 if test "x$ac_cv_header_pthread_h" = xyes
8117 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8120 ac_fn_c_check_header_compile
"$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8121 if test "x$ac_cv_header_pwd_h" = xyes
8123 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8126 ac_fn_c_check_header_compile
"$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8127 if test "x$ac_cv_header_sched_h" = xyes
8129 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8132 ac_fn_c_check_header_compile
"$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8133 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8135 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8138 ac_fn_c_check_header_compile
"$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8139 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8141 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8144 ac_fn_c_check_header_compile
"$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8145 if test "x$ac_cv_header_scsi_sg_h" = xyes
8147 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8150 ac_fn_c_check_header_compile
"$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8151 if test "x$ac_cv_header_stdint_h" = xyes
8153 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8156 ac_fn_c_check_header_compile
"$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8157 if test "x$ac_cv_header_sys_attr_h" = xyes
8159 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8162 ac_fn_c_check_header_compile
"$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8163 if test "x$ac_cv_header_sys_auxv_h" = xyes
8165 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8168 ac_fn_c_check_header_compile
"$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8169 if test "x$ac_cv_header_sys_cdio_h" = xyes
8171 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8174 ac_fn_c_check_header_compile
"$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8175 if test "x$ac_cv_header_sys_epoll_h" = xyes
8177 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8180 ac_fn_c_check_header_compile
"$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8181 if test "x$ac_cv_header_sys_event_h" = xyes
8183 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8186 ac_fn_c_check_header_compile
"$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
8187 if test "x$ac_cv_header_sys_extattr_h" = xyes
8189 printf "%s\n" "#define HAVE_SYS_EXTATTR_H 1" >>confdefs.h
8192 ac_fn_c_check_header_compile
"$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8193 if test "x$ac_cv_header_sys_filio_h" = xyes
8195 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8198 ac_fn_c_check_header_compile
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8199 if test "x$ac_cv_header_sys_ipc_h" = xyes
8201 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8204 ac_fn_c_check_header_compile
"$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8205 if test "x$ac_cv_header_sys_link_h" = xyes
8207 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8210 ac_fn_c_check_header_compile
"$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8211 if test "x$ac_cv_header_sys_modem_h" = xyes
8213 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8216 ac_fn_c_check_header_compile
"$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8217 if test "x$ac_cv_header_sys_mtio_h" = xyes
8219 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8222 ac_fn_c_check_header_compile
"$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8223 if test "x$ac_cv_header_sys_param_h" = xyes
8225 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8228 ac_fn_c_check_header_compile
"$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8229 if test "x$ac_cv_header_sys_prctl_h" = xyes
8231 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8234 ac_fn_c_check_header_compile
"$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8235 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8237 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8240 ac_fn_c_check_header_compile
"$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8241 if test "x$ac_cv_header_sys_queue_h" = xyes
8243 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8246 ac_fn_c_check_header_compile
"$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8247 if test "x$ac_cv_header_sys_random_h" = xyes
8249 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8252 ac_fn_c_check_header_compile
"$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8253 if test "x$ac_cv_header_sys_resource_h" = xyes
8255 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8258 ac_fn_c_check_header_compile
"$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8259 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8261 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8264 ac_fn_c_check_header_compile
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8265 if test "x$ac_cv_header_sys_shm_h" = xyes
8267 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8270 ac_fn_c_check_header_compile
"$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8271 if test "x$ac_cv_header_sys_signal_h" = xyes
8273 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8276 ac_fn_c_check_header_compile
"$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8277 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8279 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8282 ac_fn_c_check_header_compile
"$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8283 if test "x$ac_cv_header_sys_sockio_h" = xyes
8285 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8288 ac_fn_c_check_header_compile
"$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8289 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8291 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8294 ac_fn_c_check_header_compile
"$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8295 if test "x$ac_cv_header_sys_strtio_h" = xyes
8297 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8300 ac_fn_c_check_header_compile
"$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8301 if test "x$ac_cv_header_sys_syscall_h" = xyes
8303 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8306 ac_fn_c_check_header_compile
"$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8307 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8309 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8312 ac_fn_c_check_header_compile
"$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8313 if test "x$ac_cv_header_sys_times_h" = xyes
8315 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8318 ac_fn_c_check_header_compile
"$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8319 if test "x$ac_cv_header_sys_uio_h" = xyes
8321 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8324 ac_fn_c_check_header_compile
"$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8325 if test "x$ac_cv_header_sys_user_h" = xyes
8327 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8330 ac_fn_c_check_header_compile
"$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8331 if test "x$ac_cv_header_sys_utsname_h" = xyes
8333 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8336 ac_fn_c_check_header_compile
"$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8337 if test "x$ac_cv_header_sys_vnode_h" = xyes
8339 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8342 ac_fn_c_check_header_compile
"$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8343 if test "x$ac_cv_header_sys_xattr_h" = xyes
8345 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8348 ac_fn_c_check_header_compile
"$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8349 if test "x$ac_cv_header_syscall_h" = xyes
8351 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8354 ac_fn_c_check_header_compile
"$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8355 if test "x$ac_cv_header_utime_h" = xyes
8357 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8360 ac_fn_c_check_header_compile
"$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8361 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8363 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8366 ac_fn_c_check_header_compile
"$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8367 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8369 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8373 ac_fn_c_check_header_compile
"$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8374 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8377 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8381 if test $ac_cv_header_sys_mkdev_h = no
; then
8382 ac_fn_c_check_header_compile
"$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8383 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8386 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8392 printf %s
"checking whether stat file-mode macros are broken... " >&6; }
8393 if test ${ac_cv_header_stat_broken+y}
8395 printf %s
"(cached) " >&6
8397 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8398 /* end confdefs.h. */
8399 #include <sys/types.h>
8400 #include <sys/stat.h>
8402 #if defined S_ISBLK && defined S_IFDIR
8403 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8406 #if defined S_ISBLK && defined S_IFCHR
8407 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8410 #if defined S_ISLNK && defined S_IFREG
8411 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8414 #if defined S_ISSOCK && defined S_IFREG
8415 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8419 if ac_fn_c_try_compile
"$LINENO"
8421 ac_cv_header_stat_broken
=no
8423 ac_cv_header_stat_broken
=yes
8425 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8428 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8429 if test $ac_cv_header_stat_broken = yes; then
8431 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8437 ac_fn_c_check_header_compile
"$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8438 #ifdef HAVE_SYS_PARAM_H
8439 # include <sys/param.h>
8442 if test "x$ac_cv_header_sys_conf_h" = xyes
8444 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8447 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8448 #ifdef HAVE_SYS_PARAM_H
8449 # include <sys/param.h>
8452 if test "x$ac_cv_header_sys_mount_h" = xyes
8454 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8457 ac_fn_c_check_header_compile
"$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8458 #ifdef HAVE_SYS_PARAM_H
8459 # include <sys/param.h>
8462 if test "x$ac_cv_header_sys_statfs_h" = xyes
8464 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8467 ac_fn_c_check_header_compile
"$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8468 #ifdef HAVE_SYS_PARAM_H
8469 # include <sys/param.h>
8472 if test "x$ac_cv_header_sys_user_h" = xyes
8474 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8477 ac_fn_c_check_header_compile
"$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8478 #ifdef HAVE_SYS_PARAM_H
8479 # include <sys/param.h>
8482 if test "x$ac_cv_header_sys_vfs_h" = xyes
8484 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8489 saved_sysctl_h_CFLAGS
=$CFLAGS
8490 test "x${GCC}" != xyes || CFLAGS
="$CFLAGS -Werror"
8491 ac_fn_c_check_header_compile
"$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8492 #ifdef HAVE_SYS_PARAM_H
8493 # include <sys/param.h>
8496 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8498 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8502 CFLAGS
=$saved_sysctl_h_CFLAGS
8504 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8505 #include <sys/socket.h>
8506 #ifdef HAVE_SYS_SOCKETVAR_H
8507 # include <sys/socketvar.h>
8509 #ifdef HAVE_NET_ROUTE_H
8510 # include <net/route.h>
8512 #ifdef HAVE_NETINET_IN_H
8513 # include <netinet/in.h>
8515 #ifdef HAVE_NETINET_IN_SYSTM_H
8516 # include <netinet/in_systm.h>
8518 #ifdef HAVE_NET_IF_H
8519 # include <net/if.h>
8521 #ifdef HAVE_NETINET_IP_H
8522 # include <netinet/ip.h>
8525 if test "x$ac_cv_header_netinet_ip_h" = xyes
8527 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8530 ac_fn_c_check_header_compile
"$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8531 #include <sys/socket.h>
8532 #ifdef HAVE_SYS_SOCKETVAR_H
8533 # include <sys/socketvar.h>
8535 #ifdef HAVE_NET_ROUTE_H
8536 # include <net/route.h>
8538 #ifdef HAVE_NETINET_IN_H
8539 # include <netinet/in.h>
8541 #ifdef HAVE_NETINET_IN_SYSTM_H
8542 # include <netinet/in_systm.h>
8544 #ifdef HAVE_NET_IF_H
8545 # include <net/if.h>
8547 #ifdef HAVE_NETINET_IP_H
8548 # include <netinet/ip.h>
8551 if test "x$ac_cv_header_net_if_h" = xyes
8553 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8556 ac_fn_c_check_header_compile
"$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8557 #include <sys/socket.h>
8558 #ifdef HAVE_SYS_SOCKETVAR_H
8559 # include <sys/socketvar.h>
8561 #ifdef HAVE_NET_ROUTE_H
8562 # include <net/route.h>
8564 #ifdef HAVE_NETINET_IN_H
8565 # include <netinet/in.h>
8567 #ifdef HAVE_NETINET_IN_SYSTM_H
8568 # include <netinet/in_systm.h>
8570 #ifdef HAVE_NET_IF_H
8571 # include <net/if.h>
8573 #ifdef HAVE_NETINET_IP_H
8574 # include <netinet/ip.h>
8577 if test "x$ac_cv_header_net_if_arp_h" = xyes
8579 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8582 ac_fn_c_check_header_compile
"$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8583 #include <sys/socket.h>
8584 #ifdef HAVE_SYS_SOCKETVAR_H
8585 # include <sys/socketvar.h>
8587 #ifdef HAVE_NET_ROUTE_H
8588 # include <net/route.h>
8590 #ifdef HAVE_NETINET_IN_H
8591 # include <netinet/in.h>
8593 #ifdef HAVE_NETINET_IN_SYSTM_H
8594 # include <netinet/in_systm.h>
8596 #ifdef HAVE_NET_IF_H
8597 # include <net/if.h>
8599 #ifdef HAVE_NETINET_IP_H
8600 # include <netinet/ip.h>
8603 if test "x$ac_cv_header_net_if_dl_h" = xyes
8605 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8608 ac_fn_c_check_header_compile
"$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8609 #include <sys/socket.h>
8610 #ifdef HAVE_SYS_SOCKETVAR_H
8611 # include <sys/socketvar.h>
8613 #ifdef HAVE_NET_ROUTE_H
8614 # include <net/route.h>
8616 #ifdef HAVE_NETINET_IN_H
8617 # include <netinet/in.h>
8619 #ifdef HAVE_NETINET_IN_SYSTM_H
8620 # include <netinet/in_systm.h>
8622 #ifdef HAVE_NET_IF_H
8623 # include <net/if.h>
8625 #ifdef HAVE_NETINET_IP_H
8626 # include <netinet/ip.h>
8629 if test "x$ac_cv_header_net_if_types_h" = xyes
8631 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8634 ac_fn_c_check_header_compile
"$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8635 #include <sys/socket.h>
8636 #ifdef HAVE_SYS_SOCKETVAR_H
8637 # include <sys/socketvar.h>
8639 #ifdef HAVE_NET_ROUTE_H
8640 # include <net/route.h>
8642 #ifdef HAVE_NETINET_IN_H
8643 # include <netinet/in.h>
8645 #ifdef HAVE_NETINET_IN_SYSTM_H
8646 # include <netinet/in_systm.h>
8648 #ifdef HAVE_NET_IF_H
8649 # include <net/if.h>
8651 #ifdef HAVE_NETINET_IP_H
8652 # include <netinet/ip.h>
8655 if test "x$ac_cv_header_net_route_h" = xyes
8657 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8660 ac_fn_c_check_header_compile
"$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8661 #include <sys/socket.h>
8662 #ifdef HAVE_SYS_SOCKETVAR_H
8663 # include <sys/socketvar.h>
8665 #ifdef HAVE_NET_ROUTE_H
8666 # include <net/route.h>
8668 #ifdef HAVE_NETINET_IN_H
8669 # include <netinet/in.h>
8671 #ifdef HAVE_NETINET_IN_SYSTM_H
8672 # include <netinet/in_systm.h>
8674 #ifdef HAVE_NET_IF_H
8675 # include <net/if.h>
8677 #ifdef HAVE_NETINET_IP_H
8678 # include <netinet/ip.h>
8681 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8683 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8686 ac_fn_c_check_header_compile
"$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8687 #include <sys/socket.h>
8688 #ifdef HAVE_SYS_SOCKETVAR_H
8689 # include <sys/socketvar.h>
8691 #ifdef HAVE_NET_ROUTE_H
8692 # include <net/route.h>
8694 #ifdef HAVE_NETINET_IN_H
8695 # include <netinet/in.h>
8697 #ifdef HAVE_NETINET_IN_SYSTM_H
8698 # include <netinet/in_systm.h>
8700 #ifdef HAVE_NET_IF_H
8701 # include <net/if.h>
8703 #ifdef HAVE_NETINET_IP_H
8704 # include <netinet/ip.h>
8707 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8709 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8712 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8713 #include <sys/socket.h>
8714 #ifdef HAVE_SYS_SOCKETVAR_H
8715 # include <sys/socketvar.h>
8717 #ifdef HAVE_NET_ROUTE_H
8718 # include <net/route.h>
8720 #ifdef HAVE_NETINET_IN_H
8721 # include <netinet/in.h>
8723 #ifdef HAVE_NETINET_IN_SYSTM_H
8724 # include <netinet/in_systm.h>
8726 #ifdef HAVE_NET_IF_H
8727 # include <net/if.h>
8729 #ifdef HAVE_NETINET_IP_H
8730 # include <netinet/ip.h>
8733 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8735 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8738 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8739 #include <sys/socket.h>
8740 #ifdef HAVE_SYS_SOCKETVAR_H
8741 # include <sys/socketvar.h>
8743 #ifdef HAVE_NET_ROUTE_H
8744 # include <net/route.h>
8746 #ifdef HAVE_NETINET_IN_H
8747 # include <netinet/in.h>
8749 #ifdef HAVE_NETINET_IN_SYSTM_H
8750 # include <netinet/in_systm.h>
8752 #ifdef HAVE_NET_IF_H
8753 # include <net/if.h>
8755 #ifdef HAVE_NETINET_IP_H
8756 # include <netinet/ip.h>
8759 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8761 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8764 ac_fn_c_check_header_compile
"$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8765 #include <sys/socket.h>
8766 #ifdef HAVE_SYS_SOCKETVAR_H
8767 # include <sys/socketvar.h>
8769 #ifdef HAVE_NET_ROUTE_H
8770 # include <net/route.h>
8772 #ifdef HAVE_NETINET_IN_H
8773 # include <netinet/in.h>
8775 #ifdef HAVE_NETINET_IN_SYSTM_H
8776 # include <netinet/in_systm.h>
8778 #ifdef HAVE_NET_IF_H
8779 # include <net/if.h>
8781 #ifdef HAVE_NETINET_IP_H
8782 # include <netinet/ip.h>
8785 if test "x$ac_cv_header_netinet_udp_h" = xyes
8787 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8790 ac_fn_c_check_header_compile
"$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8791 #include <sys/socket.h>
8792 #ifdef HAVE_SYS_SOCKETVAR_H
8793 # include <sys/socketvar.h>
8795 #ifdef HAVE_NET_ROUTE_H
8796 # include <net/route.h>
8798 #ifdef HAVE_NETINET_IN_H
8799 # include <netinet/in.h>
8801 #ifdef HAVE_NETINET_IN_SYSTM_H
8802 # include <netinet/in_systm.h>
8804 #ifdef HAVE_NET_IF_H
8805 # include <net/if.h>
8807 #ifdef HAVE_NETINET_IP_H
8808 # include <netinet/ip.h>
8811 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8813 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8816 ac_fn_c_check_header_compile
"$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8817 #include <sys/socket.h>
8818 #ifdef HAVE_SYS_SOCKETVAR_H
8819 # include <sys/socketvar.h>
8821 #ifdef HAVE_NET_ROUTE_H
8822 # include <net/route.h>
8824 #ifdef HAVE_NETINET_IN_H
8825 # include <netinet/in.h>
8827 #ifdef HAVE_NETINET_IN_SYSTM_H
8828 # include <netinet/in_systm.h>
8830 #ifdef HAVE_NET_IF_H
8831 # include <net/if.h>
8833 #ifdef HAVE_NETINET_IP_H
8834 # include <netinet/ip.h>
8837 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8839 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8842 ac_fn_c_check_header_compile
"$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8843 #include <sys/socket.h>
8844 #ifdef HAVE_SYS_SOCKETVAR_H
8845 # include <sys/socketvar.h>
8847 #ifdef HAVE_NET_ROUTE_H
8848 # include <net/route.h>
8850 #ifdef HAVE_NETINET_IN_H
8851 # include <netinet/in.h>
8853 #ifdef HAVE_NETINET_IN_SYSTM_H
8854 # include <netinet/in_systm.h>
8856 #ifdef HAVE_NET_IF_H
8857 # include <net/if.h>
8859 #ifdef HAVE_NETINET_IP_H
8860 # include <netinet/ip.h>
8863 if test "x$ac_cv_header_sys_un_h" = xyes
8865 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8870 ac_fn_c_check_header_compile
"$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8871 #include <sys/socket.h>
8872 #ifdef HAVE_SYS_SOCKETVAR_H
8873 # include <sys/socketvar.h>
8875 #ifdef HAVE_NETINET_IN_H
8876 # include <netinet/in.h>
8878 #ifdef HAVE_NETINET_IN_SYSTM_H
8879 # include <netinet/in_systm.h>
8881 #ifdef HAVE_NETINET_IP_H
8882 # include <netinet/ip.h>
8884 #ifdef HAVE_NETINET_IP_VAR_H
8885 # include <netinet/ip_var.h>
8887 #ifdef HAVE_NETINET_IP_ICMP_H
8888 # include <netinet/ip_icmp.h>
8890 #ifdef HAVE_NETINET_UDP_H
8891 # include <netinet/udp.h>
8893 #ifdef HAVE_NETINET_TCP_H
8894 # include <netinet/tcp.h>
8897 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8899 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8902 ac_fn_c_check_header_compile
"$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8903 #include <sys/socket.h>
8904 #ifdef HAVE_SYS_SOCKETVAR_H
8905 # include <sys/socketvar.h>
8907 #ifdef HAVE_NETINET_IN_H
8908 # include <netinet/in.h>
8910 #ifdef HAVE_NETINET_IN_SYSTM_H
8911 # include <netinet/in_systm.h>
8913 #ifdef HAVE_NETINET_IP_H
8914 # include <netinet/ip.h>
8916 #ifdef HAVE_NETINET_IP_VAR_H
8917 # include <netinet/ip_var.h>
8919 #ifdef HAVE_NETINET_IP_ICMP_H
8920 # include <netinet/ip_icmp.h>
8922 #ifdef HAVE_NETINET_UDP_H
8923 # include <netinet/udp.h>
8925 #ifdef HAVE_NETINET_TCP_H
8926 # include <netinet/tcp.h>
8929 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8931 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8934 ac_fn_c_check_header_compile
"$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8935 #include <sys/socket.h>
8936 #ifdef HAVE_SYS_SOCKETVAR_H
8937 # include <sys/socketvar.h>
8939 #ifdef HAVE_NETINET_IN_H
8940 # include <netinet/in.h>
8942 #ifdef HAVE_NETINET_IN_SYSTM_H
8943 # include <netinet/in_systm.h>
8945 #ifdef HAVE_NETINET_IP_H
8946 # include <netinet/ip.h>
8948 #ifdef HAVE_NETINET_IP_VAR_H
8949 # include <netinet/ip_var.h>
8951 #ifdef HAVE_NETINET_IP_ICMP_H
8952 # include <netinet/ip_icmp.h>
8954 #ifdef HAVE_NETINET_UDP_H
8955 # include <netinet/udp.h>
8957 #ifdef HAVE_NETINET_TCP_H
8958 # include <netinet/tcp.h>
8961 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8963 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8966 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8967 #include <sys/socket.h>
8968 #ifdef HAVE_SYS_SOCKETVAR_H
8969 # include <sys/socketvar.h>
8971 #ifdef HAVE_NETINET_IN_H
8972 # include <netinet/in.h>
8974 #ifdef HAVE_NETINET_IN_SYSTM_H
8975 # include <netinet/in_systm.h>
8977 #ifdef HAVE_NETINET_IP_H
8978 # include <netinet/ip.h>
8980 #ifdef HAVE_NETINET_IP_VAR_H
8981 # include <netinet/ip_var.h>
8983 #ifdef HAVE_NETINET_IP_ICMP_H
8984 # include <netinet/ip_icmp.h>
8986 #ifdef HAVE_NETINET_UDP_H
8987 # include <netinet/udp.h>
8989 #ifdef HAVE_NETINET_TCP_H
8990 # include <netinet/tcp.h>
8993 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8995 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
9000 ac_fn_c_check_header_compile
"$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
9001 #include <sys/socket.h>
9002 #ifdef HAVE_ASM_TYPES_H
9003 # include <asm/types.h>
9005 #ifdef HAVE_LINUX_TYPES_H
9006 # include <linux/types.h>
9009 if test "x$ac_cv_header_linux_ipx_h" = xyes
9011 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
9014 ac_fn_c_check_header_compile
"$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
9015 #include <sys/socket.h>
9016 #ifdef HAVE_ASM_TYPES_H
9017 # include <asm/types.h>
9019 #ifdef HAVE_LINUX_TYPES_H
9020 # include <linux/types.h>
9023 if test "x$ac_cv_header_linux_irda_h" = xyes
9025 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
9028 ac_fn_c_check_header_compile
"$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
9029 #include <sys/socket.h>
9030 #ifdef HAVE_ASM_TYPES_H
9031 # include <asm/types.h>
9033 #ifdef HAVE_LINUX_TYPES_H
9034 # include <linux/types.h>
9037 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
9039 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
9044 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
9045 #include <sys/socket.h>
9046 #ifdef HAVE_NETINET_IN_H
9047 # include <netinet/in.h>
9049 #ifdef HAVE_ARPA_NAMESER_H
9050 # include <arpa/nameser.h>
9053 if test "x$ac_cv_header_resolv_h" = xyes
9055 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9060 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9062 if test "x$ac_cv_header_ifaddrs_h" = xyes
9064 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9069 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9071 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9073 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9078 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9079 #ifdef HAVE_SYS_UCONTEXT_H
9080 #include <sys/ucontext.h>
9083 if test "x$ac_cv_header_sys_thr_h" = xyes
9085 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9090 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9091 #include <pthread.h>
9094 if test "x$ac_cv_header_pthread_np_h" = xyes
9096 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9101 ac_fn_c_check_header_compile
"$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9102 #include <sys/types.h>
9103 #ifdef HAVE_ASM_TYPES_H
9104 #include <asm/types.h>
9107 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9109 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9114 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9115 #include <sys/param.h>
9117 #include <sys/socket.h>
9118 #ifdef HAVE_SYS_QUEUE_H
9119 #include <sys/queue.h>
9122 if test "x$ac_cv_header_libprocstat_h" = xyes
9124 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9129 if test "x$ac_cv_header_sys_xattr_h" = xyes
9131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9132 printf %s
"checking whether getxattr takes additional arguments... " >&6; }
9133 if test ${wine_cv_xattr_extra_args+y}
9135 printf %s
"(cached) " >&6
9137 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9138 /* end confdefs.h. */
9139 #include <sys/xattr.h>
9143 getxattr("", "", "", 0, 0, 0);
9148 if ac_fn_c_try_compile
"$LINENO"
9150 wine_cv_xattr_extra_args
=yes
9152 wine_cv_xattr_extra_args
=no
9154 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
9156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9157 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9158 test $wine_cv_xattr_extra_args != yes ||
9159 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9172 UNIXDLLFLAGS
="-fPIC"
9174 UNIXLDFLAGS
="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9180 WINELOADER_LDFLAGS
=""
9182 WINEPRELOADER_LDFLAGS
=""
9185 # Extract the first word of "ldd", so it can be a program name with args.
9186 set dummy ldd
; ac_word
=$2
9187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9188 printf %s
"checking for $ac_word... " >&6; }
9189 if test ${ac_cv_path_LDD+y}
9191 printf %s
"(cached) " >&6
9195 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
9198 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9199 as_dummy
="/sbin:/usr/sbin:$PATH"
9200 for as_dir
in $as_dummy
9203 case $as_dir in #(((
9206 *) as_dir
=$as_dir/ ;;
9208 for ac_exec_ext
in '' $ac_executable_extensions; do
9209 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9210 ac_cv_path_LDD
="$as_dir$ac_word$ac_exec_ext"
9211 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9218 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
9223 if test -n "$LDD"; then
9224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9225 printf "%s\n" "$LDD" >&6; }
9227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9228 printf "%s\n" "no" >&6; }
9232 if test -n "$ac_tool_prefix"; then
9233 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9234 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
9235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9236 printf %s
"checking for $ac_word... " >&6; }
9237 if test ${ac_cv_prog_OTOOL+y}
9239 printf %s
"(cached) " >&6
9241 if test -n "$OTOOL"; then
9242 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
9244 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9248 case $as_dir in #(((
9251 *) as_dir
=$as_dir/ ;;
9253 for ac_exec_ext
in '' $ac_executable_extensions; do
9254 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9255 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
9256 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9265 OTOOL
=$ac_cv_prog_OTOOL
9266 if test -n "$OTOOL"; then
9267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9268 printf "%s\n" "$OTOOL" >&6; }
9270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9271 printf "%s\n" "no" >&6; }
9276 if test -z "$ac_cv_prog_OTOOL"; then
9278 # Extract the first word of "otool", so it can be a program name with args.
9279 set dummy otool
; ac_word
=$2
9280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9281 printf %s
"checking for $ac_word... " >&6; }
9282 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9284 printf %s
"(cached) " >&6
9286 if test -n "$ac_ct_OTOOL"; then
9287 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
9289 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9293 case $as_dir in #(((
9296 *) as_dir
=$as_dir/ ;;
9298 for ac_exec_ext
in '' $ac_executable_extensions; do
9299 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9300 ac_cv_prog_ac_ct_OTOOL
="otool"
9301 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9310 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
9311 if test -n "$ac_ct_OTOOL"; then
9312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9313 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9316 printf "%s\n" "no" >&6; }
9319 if test "x$ac_ct_OTOOL" = x
; then
9322 case $cross_compiling:$ac_tool_warned in
9324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9325 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9326 ac_tool_warned
=yes ;;
9331 OTOOL
="$ac_cv_prog_OTOOL"
9334 if test -n "$ac_tool_prefix"; then
9335 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9336 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
9337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9338 printf %s
"checking for $ac_word... " >&6; }
9339 if test ${ac_cv_prog_READELF+y}
9341 printf %s
"(cached) " >&6
9343 if test -n "$READELF"; then
9344 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
9346 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9350 case $as_dir in #(((
9353 *) as_dir
=$as_dir/ ;;
9355 for ac_exec_ext
in '' $ac_executable_extensions; do
9356 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9357 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
9358 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9367 READELF
=$ac_cv_prog_READELF
9368 if test -n "$READELF"; then
9369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9370 printf "%s\n" "$READELF" >&6; }
9372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9373 printf "%s\n" "no" >&6; }
9378 if test -z "$ac_cv_prog_READELF"; then
9379 ac_ct_READELF
=$READELF
9380 # Extract the first word of "readelf", so it can be a program name with args.
9381 set dummy readelf
; ac_word
=$2
9382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9383 printf %s
"checking for $ac_word... " >&6; }
9384 if test ${ac_cv_prog_ac_ct_READELF+y}
9386 printf %s
"(cached) " >&6
9388 if test -n "$ac_ct_READELF"; then
9389 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
9391 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9395 case $as_dir in #(((
9398 *) as_dir
=$as_dir/ ;;
9400 for ac_exec_ext
in '' $ac_executable_extensions; do
9401 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9402 ac_cv_prog_ac_ct_READELF
="readelf"
9403 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9412 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
9413 if test -n "$ac_ct_READELF"; then
9414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9415 printf "%s\n" "$ac_ct_READELF" >&6; }
9417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9418 printf "%s\n" "no" >&6; }
9421 if test "x$ac_ct_READELF" = x
; then
9424 case $cross_compiling:$ac_tool_warned in
9426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9427 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9428 ac_tool_warned
=yes ;;
9430 READELF
=$ac_ct_READELF
9433 READELF
="$ac_cv_prog_READELF"
9441 CONFIGURE_TARGETS
=""
9444 wine_fn_config_makefile
()
9446 as_fn_append SUBDIRS
" \\$as_nl $1"
9449 no
) as_fn_append DISABLED_SUBDIRS
" $1" ;;
9450 *aarch64
*|
*arm
*|
*i386
*|
*x86_64
*)
9451 if test -n "$PE_ARCHS"
9455 test $
(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append
${i}_DISABLED_SUBDIRS
" $1"
9458 test $
(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS
" $1"
9463 wine_fn_config_symlink
()
9466 as_fn_append wine_rules
"
9468 @./config.status \$@"
9469 for f
in $ac_links; do as_fn_append CONFIGURE_TARGETS
" $f"; done
9473 test "$HOST_ARCH" != x86_64 || wine_binary
="wine64"
9474 WINELOADER_PROGRAMS
="$wine_binary"
9476 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
9481 EXTRACFLAGS
="-D__WINE_PE_BUILD"
9483 *i
[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9484 printf %s
"checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9485 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9487 printf %s
"(cached) " >&6
9489 ac_wine_try_cflags_saved
=$CFLAGS
9490 CFLAGS
="$CFLAGS -Wl,--disable-stdcall-fixup"
9491 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9492 /* end confdefs.h. */
9493 int main(int argc, char **argv) { return 0; }
9495 if ac_fn_c_try_link
"$LINENO"
9497 ac_cv_cflags__Wl___disable_stdcall_fixup
=yes
9499 ac_cv_cflags__Wl___disable_stdcall_fixup
=no
9501 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9502 conftest
$ac_exeext conftest.
$ac_ext
9503 CFLAGS
=$ac_wine_try_cflags_saved
9505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9506 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9507 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9509 LDDLLFLAGS
="-Wl,--disable-stdcall-fixup"
9512 enable_loader
=${enable_loader:-no}
9513 enable_server
=${enable_server:-no}
9514 with_x
=${with_x:-no}
9515 with_pthread
=${with_pthread:-no}
9520 ac_cpp
='$OBJCPP $CPPFLAGS'
9521 ac_compile
='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9522 ac_link
='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9523 ac_compiler_gnu
=$ac_cv_objc_compiler_gnu
9526 ac_cpp
='$OBJCPP $CPPFLAGS'
9527 ac_compile
='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9528 ac_link
='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9529 ac_compiler_gnu
=$ac_cv_objc_compiler_gnu
9530 if test -n "$ac_tool_prefix"; then
9531 for ac_prog
in gcc objcc objc cc CC clang
9533 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9534 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
9535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9536 printf %s
"checking for $ac_word... " >&6; }
9537 if test ${ac_cv_prog_OBJC+y}
9539 printf %s
"(cached) " >&6
9541 if test -n "$OBJC"; then
9542 ac_cv_prog_OBJC
="$OBJC" # Let the user override the test.
9544 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9548 case $as_dir in #(((
9551 *) as_dir
=$as_dir/ ;;
9553 for ac_exec_ext
in '' $ac_executable_extensions; do
9554 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9555 ac_cv_prog_OBJC
="$ac_tool_prefix$ac_prog"
9556 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9565 OBJC
=$ac_cv_prog_OBJC
9566 if test -n "$OBJC"; then
9567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9568 printf "%s\n" "$OBJC" >&6; }
9570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9571 printf "%s\n" "no" >&6; }
9575 test -n "$OBJC" && break
9578 if test -z "$OBJC"; then
9580 for ac_prog
in gcc objcc objc cc CC clang
9582 # Extract the first word of "$ac_prog", so it can be a program name with args.
9583 set dummy
$ac_prog; ac_word
=$2
9584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9585 printf %s
"checking for $ac_word... " >&6; }
9586 if test ${ac_cv_prog_ac_ct_OBJC+y}
9588 printf %s
"(cached) " >&6
9590 if test -n "$ac_ct_OBJC"; then
9591 ac_cv_prog_ac_ct_OBJC
="$ac_ct_OBJC" # Let the user override the test.
9593 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9597 case $as_dir in #(((
9600 *) as_dir
=$as_dir/ ;;
9602 for ac_exec_ext
in '' $ac_executable_extensions; do
9603 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9604 ac_cv_prog_ac_ct_OBJC
="$ac_prog"
9605 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9614 ac_ct_OBJC
=$ac_cv_prog_ac_ct_OBJC
9615 if test -n "$ac_ct_OBJC"; then
9616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9617 printf "%s\n" "$ac_ct_OBJC" >&6; }
9619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9620 printf "%s\n" "no" >&6; }
9624 test -n "$ac_ct_OBJC" && break
9627 if test "x$ac_ct_OBJC" = x
; then
9630 case $cross_compiling:$ac_tool_warned in
9632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9633 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9634 ac_tool_warned
=yes ;;
9640 # Provide some information about the compiler.
9641 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9644 for ac_option
in --version -v -V -qversion; do
9645 { { ac_try
="$ac_compiler $ac_option >&5"
9647 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9648 *) ac_try_echo=$ac_try;;
9650 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9651 printf "%s\n" "$ac_try_echo"; } >&5
9652 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9654 if test -s conftest.err; then
9656 ... rest of stderr output deleted ...
9657 10q' conftest.err >conftest.er1
9658 cat conftest.er1 >&5
9660 rm -f conftest.er1 conftest.err
9661 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9662 test $ac_status = 0; }
9665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9666 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9667 if test ${ac_cv_objc_compiler_gnu+y}
9669 printf %s "(cached) " >&6
9671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9672 /* end confdefs.h. */
9685 if ac_fn_objc_try_compile "$LINENO"
9691 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9692 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9696 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9697 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9699 if test $ac_compiler_gnu = yes; then
9704 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9705 ac_save_OBJCFLAGS=$OBJCFLAGS
9706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9707 printf %s "checking whether $OBJC accepts -g... " >&6; }
9708 if test ${ac_cv_prog_objc_g+y}
9710 printf %s "(cached) " >&6
9712 ac_save_objc_werror_flag=$ac_objc_werror_flag
9713 ac_objc_werror_flag=yes
9714 ac_cv_prog_objc_g=no
9716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9717 /* end confdefs.h. */
9727 if ac_fn_objc_try_compile "$LINENO"
9729 ac_cv_prog_objc_g=yes
9732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9733 /* end confdefs.h. */
9743 if ac_fn_objc_try_compile "$LINENO"
9747 ac_objc_werror_flag=$ac_save_objc_werror_flag
9749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9750 /* end confdefs.h. */
9760 if ac_fn_objc_try_compile "$LINENO"
9762 ac_cv_prog_objc_g=yes
9764 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9766 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9768 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9769 ac_objc_werror_flag=$ac_save_objc_werror_flag
9771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9772 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9773 if test $ac_test_OBJCFLAGS; then
9774 OBJCFLAGS=$ac_save_OBJCFLAGS
9775 elif test $ac_cv_prog_objc_g = yes; then
9776 if test "$GOBJC" = yes; then
9782 if test "$GOBJC" = yes; then
9789 ac_cpp='$OBJCPP $CPPFLAGS'
9790 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9791 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9792 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9795 ac_fn_objc_check_header_compile "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
9796 if test "x$ac_cv_header_Metal_Metal_h" = xyes
9798 printf "%s\n" "#define HAVE_METAL_METAL_H 1" >>confdefs.h
9803 ac_cpp='$CPP $CPPFLAGS'
9804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9809 DLLFLAGS="$DLLFLAGS -fPIC"
9811 COREFOUNDATION_LIBS="-framework CoreFoundation"
9813 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
9815 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
9817 CORESERVICES_LIBS="-framework CoreServices"
9819 APPKIT_LIBS="-framework AppKit"
9821 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
9824 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9826 wine_can_build_preloader=yes
9827 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"
9828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
9829 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
9830 if test ${ac_cv_cflags__Wl__no_new_main__e__main+y}
9832 printf %s "(cached) " >&6
9834 ac_wine_try_cflags_saved=$CFLAGS
9835 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
9836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9837 /* end confdefs.h. */
9838 int main(int argc, char **argv) { return 0; }
9840 if ac_fn_c_try_link "$LINENO"
9842 ac_cv_cflags__Wl__no_new_main__e__main=yes
9844 ac_cv_cflags__Wl__no_new_main__e__main=no
9846 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9847 conftest$ac_exeext conftest.$ac_ext
9848 CFLAGS=$ac_wine_try_cflags_saved
9850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
9851 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
9852 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes
9854 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
9855 { 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
9856 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9857 if test ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9859 printf %s "(cached) " >&6
9861 ac_wine_try_cflags_saved=$CFLAGS
9862 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9864 /* end confdefs.h. */
9865 int main(int argc, char **argv) { return 0; }
9867 if ac_fn_c_try_link "$LINENO"
9869 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9871 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9873 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9874 conftest$ac_exeext conftest.$ac_ext
9875 CFLAGS=$ac_wine_try_cflags_saved
9877 { 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
9878 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9879 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9881 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9883 wine_can_build_preloader=no
9886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
9887 printf %s "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9888 if test ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9890 printf %s "(cached) " >&6
9892 ac_wine_try_cflags_saved=$CFLAGS
9893 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9895 /* end confdefs.h. */
9896 int main(int argc, char **argv) { return 0; }
9898 if ac_fn_c_try_link "$LINENO"
9900 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9902 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9904 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9905 conftest$ac_exeext conftest.$ac_ext
9906 CFLAGS=$ac_wine_try_cflags_saved
9908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
9909 printf "%s\n" "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9910 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9912 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9914 wine_can_build_preloader=no
9917 if test "$wine_can_build_preloader" = "yes"
9919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9920 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
9921 if test ${ac_cv_cflags__Wl__no_pie+y}
9923 printf %s "(cached) " >&6
9925 ac_wine_try_cflags_saved=$CFLAGS
9926 CFLAGS="$CFLAGS -Wl,-no_pie"
9927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9928 /* end confdefs.h. */
9929 int main(int argc, char **argv) { return 0; }
9931 if ac_fn_c_try_link "$LINENO"
9933 ac_cv_cflags__Wl__no_pie=yes
9935 ac_cv_cflags__Wl__no_pie=no
9937 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9938 conftest$ac_exeext conftest.$ac_ext
9939 CFLAGS=$ac_wine_try_cflags_saved
9941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9942 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9943 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9945 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9947 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
9948 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
9950 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
9953 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
9955 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
9958 if test "$ac_cv_header_Security_Security_h" = "yes"
9960 SECURITY_LIBS="-framework Security -framework CoreFoundation"
9963 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes"
9965 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9967 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
9969 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9971 OPENCL_LIBS="-framework OpenCL"
9973 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9975 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
9977 ac_save_LIBS="$LIBS"
9978 LIBS="$LIBS $IOKIT_LIBS"
9979 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
9980 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
9982 printf "%s\n" "#define HAVE_IOHIDMANAGERCREATE 1" >>confdefs.h
9986 LIBS="$ac_save_LIBS"
9989 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
9991 CARBON_LIBS="-framework Carbon"
9994 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9996 METAL_LIBS="-framework Metal"
10000 if test "$ac_cv_header_Metal_Metal_h" = "yes"
10002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
10003 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
10005 ac_cpp='$OBJCPP $CPPFLAGS'
10006 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10007 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10008 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10011 /* end confdefs.h. */
10012 #include <Metal/Metal.h>
10016 id<MTLDevice> device; device.registryID;
10021 if ac_fn_objc_try_compile "$LINENO"
10023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10024 printf "%s\n" "yes" >&6; }
10026 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
10029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10030 printf "%s\n" "no" >&6; }
10032 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10034 ac_cpp='$CPP $CPPFLAGS'
10035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10041 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
10043 ac_save_LIBS="$LIBS"
10044 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
10045 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
10046 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
10048 enable_winemac_drv=${enable_winemac_drv:-yes}
10051 LIBS="$ac_save_LIBS"
10054 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
10055 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
10057 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
10059 WINELOADER_DEPENDS="wine_info.plist"
10061 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
10066 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10068 DLLFLAGS="$DLLFLAGS -fPIC"
10070 LDEXECFLAGS="-Wl,-pie"
10071 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
10072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10073 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10074 if test ${ac_cv_cflags__Wl__z_defs+y}
10076 printf %s "(cached) " >&6
10078 ac_wine_try_cflags_saved=$CFLAGS
10079 CFLAGS="$CFLAGS -Wl,-z,defs"
10080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10081 /* end confdefs.h. */
10082 int main(int argc, char **argv) { return 0; }
10084 if ac_fn_c_try_link "$LINENO"
10086 ac_cv_cflags__Wl__z_defs=yes
10088 ac_cv_cflags__Wl__z_defs=no
10090 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10091 conftest$ac_exeext conftest.$ac_ext
10092 CFLAGS=$ac_wine_try_cflags_saved
10094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10095 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10096 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10098 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
10101 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
10102 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
10104 printf %s "(cached) " >&6
10106 ac_wine_try_cflags_saved=$CFLAGS
10107 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
10108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10109 /* end confdefs.h. */
10110 int main(int argc, char **argv) { return 0; }
10112 if ac_fn_c_try_link "$LINENO"
10114 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
10116 ac_cv_cflags__fPIC__Wl___export_dynamic=no
10118 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10119 conftest$ac_exeext conftest.$ac_ext
10120 CFLAGS=$ac_wine_try_cflags_saved
10122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
10123 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
10124 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
10126 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10128 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
10131 printf %s "checking for -lEGL... " >&6; }
10132 if test ${ac_cv_lib_soname_EGL+y}
10134 printf %s "(cached) " >&6
10136 ac_check_soname_save_LIBS=$LIBS
10138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10139 /* end confdefs.h. */
10141 /* Override any GCC internal prototype to avoid an error.
10142 Use char because int might match the return type of a GCC
10143 builtin and then its argument prototype would still apply. */
10144 char eglGetProcAddress ();
10148 return eglGetProcAddress ();
10153 if ac_fn_c_try_link "$LINENO"
10156 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe |
grep "EGL" |
sed -e "s/dll.*/dll/"';2,$d'` ;;
10157 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'` ;;
10158 *) ac_cv_lib_soname_EGL=`$READELF -d conftest
$ac_exeext |
grep "NEEDED.*libEGL\\.$LIBEXT" |
sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10159 if ${ac_cv_lib_soname_EGL:+false} :
10161 ac_cv_lib_soname_EGL=`$LDD conftest
$ac_exeext |
grep "libEGL\\.$LIBEXT" |
sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10165 ac_cv_lib_soname_EGL=
10167 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10168 conftest$ac_exeext conftest.$ac_ext
10169 LIBS=$ac_check_soname_save_LIBS
10171 if ${ac_cv_lib_soname_EGL:+false} :
10173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10174 printf "%s\n" "not found" >&6; }
10177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10178 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10180 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10185 printf %s "checking for -lGLESv2... " >&6; }
10186 if test ${ac_cv_lib_soname_GLESv2+y}
10188 printf %s "(cached) " >&6
10190 ac_check_soname_save_LIBS=$LIBS
10191 LIBS="-lGLESv2 $LIBS"
10192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10193 /* end confdefs.h. */
10195 /* Override any GCC internal prototype to avoid an error.
10196 Use char because int might match the return type of a GCC
10197 builtin and then its argument prototype would still apply. */
10207 if ac_fn_c_try_link "$LINENO"
10210 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe |
grep "GLESv2" |
sed -e "s/dll.*/dll/"';2,$d'` ;;
10211 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'` ;;
10212 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest
$ac_exeext |
grep "NEEDED.*libGLESv2\\.$LIBEXT" |
sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10213 if ${ac_cv_lib_soname_GLESv2:+false} :
10215 ac_cv_lib_soname_GLESv2=`$LDD conftest
$ac_exeext |
grep "libGLESv2\\.$LIBEXT" |
sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10219 ac_cv_lib_soname_GLESv2=
10221 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10222 conftest$ac_exeext conftest.$ac_ext
10223 LIBS=$ac_check_soname_save_LIBS
10225 if ${ac_cv_lib_soname_GLESv2:+false} :
10227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10228 printf "%s\n" "not found" >&6; }
10231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10232 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10234 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10239 if test "x$exec_prefix" = xNONE
10242 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10243 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10244 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10245 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10252 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10254 test "$ac_cv_sys_file_offset_bits" = 64 &&
10255 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10259 DLLFLAGS="$DLLFLAGS -fno-PIC"
10260 LDDLLFLAGS="-fno-PIC"
10261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10262 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10263 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10265 printf %s "(cached) " >&6
10267 ac_wine_try_cflags_saved=$CFLAGS
10268 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10270 /* end confdefs.h. */
10271 int main(int argc, char **argv) { return 0; }
10273 if ac_fn_c_try_link "$LINENO"
10275 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10277 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10279 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10280 conftest$ac_exeext conftest.$ac_ext
10281 CFLAGS=$ac_wine_try_cflags_saved
10283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10284 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10285 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10287 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10291 DLLFLAGS="$DLLFLAGS -fPIC"
10292 LDDLLFLAGS="-fPIC" ;;
10294 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
10296 echo '{ global: *; };' >conftest.map
10297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
10298 printf %s "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
10299 if test ${ac_cv_cflags__shared__Wl___version_script_conftest_map+y}
10301 printf %s "(cached) " >&6
10303 ac_wine_try_cflags_saved=$CFLAGS
10304 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
10305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10306 /* end confdefs.h. */
10307 int main(int argc, char **argv) { return 0; }
10309 if ac_fn_c_try_link "$LINENO"
10311 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
10313 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
10315 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10316 conftest$ac_exeext conftest.$ac_ext
10317 CFLAGS=$ac_wine_try_cflags_saved
10319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
10320 printf "%s\n" "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
10321 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes
10323 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
10327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10328 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10329 if test ${ac_cv_cflags__Wl__z_defs+y}
10331 printf %s "(cached) " >&6
10333 ac_wine_try_cflags_saved=$CFLAGS
10334 CFLAGS="$CFLAGS -Wl,-z,defs"
10335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10336 /* end confdefs.h. */
10337 int main(int argc, char **argv) { return 0; }
10339 if ac_fn_c_try_link "$LINENO"
10341 ac_cv_cflags__Wl__z_defs=yes
10343 ac_cv_cflags__Wl__z_defs=no
10345 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10346 conftest$ac_exeext conftest.$ac_ext
10347 CFLAGS=$ac_wine_try_cflags_saved
10349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10350 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10351 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10353 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10356 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10357 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10359 printf %s "(cached) " >&6
10361 ac_wine_try_cflags_saved=$CFLAGS
10362 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10364 /* end confdefs.h. */
10365 int main(int argc, char **argv) { return 0; }
10367 if ac_fn_c_try_link "$LINENO"
10369 ac_cv_cflags__Wl___export_dynamic=yes
10371 ac_cv_cflags__Wl___export_dynamic=no
10373 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10374 conftest$ac_exeext conftest.$ac_ext
10375 CFLAGS=$ac_wine_try_cflags_saved
10377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10378 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10379 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10381 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10383 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10386 *i[3456789]86* | x86_64 | *aarch64* | arm*)
10387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
10388 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
10389 if test ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+y}
10391 printf %s "(cached) " >&6
10393 ac_wine_try_cflags_saved=$CFLAGS
10394 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
10395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10396 /* end confdefs.h. */
10397 int main(int argc, char **argv) { return 0; }
10399 if ac_fn_c_try_link "$LINENO"
10401 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
10403 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
10405 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10406 conftest$ac_exeext conftest.$ac_ext
10407 CFLAGS=$ac_wine_try_cflags_saved
10409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
10410 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
10411 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
10414 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
10415 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
10418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
10419 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
10420 if test ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+y}
10422 printf %s "(cached) " >&6
10424 ac_wine_try_cflags_saved=$CFLAGS
10425 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
10426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10427 /* end confdefs.h. */
10428 int main(int argc, char **argv) { return 0; }
10430 if ac_fn_c_try_link "$LINENO"
10432 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
10434 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
10436 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10437 conftest$ac_exeext conftest.$ac_ext
10438 CFLAGS=$ac_wine_try_cflags_saved
10440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
10441 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
10442 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes
10445 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
10446 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
10449 # Extract the first word of "prelink", so it can be a program name with args.
10450 set dummy prelink; ac_word=$2
10451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10452 printf %s "checking for $ac_word... " >&6; }
10453 if test ${ac_cv_path_PRELINK+y}
10455 printf %s "(cached) " >&6
10459 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
10462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10463 for as_dir in /sbin /usr/sbin $PATH
10466 case $as_dir in #(((
10469 *) as_dir=$as_dir/ ;;
10471 for ac_exec_ext in '' $ac_executable_extensions; do
10472 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10473 ac_cv_path_PRELINK="$as_dir$ac_word$ac_exec_ext"
10474 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10481 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
10485 PRELINK=$ac_cv_path_PRELINK
10486 if test -n "$PRELINK"; then
10487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
10488 printf "%s\n" "$PRELINK" >&6; }
10490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10491 printf "%s\n" "no" >&6; }
10495 if test "x$PRELINK" = xfalse
10497 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
10500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
10501 printf %s "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
10502 if test ${ac_cv_cflags__Wl__z_max_page_size_0x1000+y}
10504 printf %s "(cached) " >&6
10506 ac_wine_try_cflags_saved=$CFLAGS
10507 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
10508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10509 /* end confdefs.h. */
10510 int main(int argc, char **argv) { return 0; }
10512 if ac_fn_c_try_link "$LINENO"
10514 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
10516 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
10518 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10519 conftest$ac_exeext conftest.$ac_ext
10520 CFLAGS=$ac_wine_try_cflags_saved
10522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
10523 printf "%s\n" "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
10524 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
10526 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
10530 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
10532 LIBWINE_DEPENDS="wine.map"
10534 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
10538 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10539 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10540 enable_winemac_drv=${enable_winemac_drv:-no}
10545 if test ${enable_archs+y}
10547 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10550 set x $enable_archs
10556 i386|x86_64|arm|aarch64) cross_archs="$cross_archs $arch" ;;
10557 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10561 if test "x$with_mingw" != xno
10563 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10564 case "x$with_mingw" in
10566 *) eval "${cross_archs}_CC=\$with_mingw" ;;
10571 for wine_arch in $cross_archs
10573 if eval \${${wine_arch}_CC:+false} :
10577 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10579 # Extract the first word of "$ac_prog", so it can be a program name with args.
10580 set dummy $ac_prog; ac_word=$2
10581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10582 printf %s "checking for $ac_word... " >&6; }
10583 if test ${ac_cv_prog_aarch64_CC+y}
10585 printf %s "(cached) " >&6
10587 if test -n "$aarch64_CC"; then
10588 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10591 for as_dir in $PATH
10594 case $as_dir in #(((
10597 *) as_dir=$as_dir/ ;;
10599 for ac_exec_ext in '' $ac_executable_extensions; do
10600 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10601 ac_cv_prog_aarch64_CC="$ac_prog"
10602 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10611 aarch64_CC=$ac_cv_prog_aarch64_CC
10612 if test -n "$aarch64_CC"; then
10613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10614 printf "%s\n" "$aarch64_CC" >&6; }
10616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10617 printf "%s\n" "no" >&6; }
10621 test -n "$aarch64_CC" && break
10623 test -n "$aarch64_CC" || aarch64_CC="false"
10627 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10629 # Extract the first word of "$ac_prog", so it can be a program name with args.
10630 set dummy $ac_prog; ac_word=$2
10631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10632 printf %s "checking for $ac_word... " >&6; }
10633 if test ${ac_cv_prog_arm_CC+y}
10635 printf %s "(cached) " >&6
10637 if test -n "$arm_CC"; then
10638 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10641 for as_dir in $PATH
10644 case $as_dir in #(((
10647 *) as_dir=$as_dir/ ;;
10649 for ac_exec_ext in '' $ac_executable_extensions; do
10650 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10651 ac_cv_prog_arm_CC="$ac_prog"
10652 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10661 arm_CC=$ac_cv_prog_arm_CC
10662 if test -n "$arm_CC"; then
10663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10664 printf "%s\n" "$arm_CC" >&6; }
10666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10667 printf "%s\n" "no" >&6; }
10671 test -n "$arm_CC" && break
10673 test -n "$arm_CC" || arm_CC="false"
10677 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 "
10678 for ac_prog in $ac_prefix_list clang
10680 # Extract the first word of "$ac_prog", so it can be a program name with args.
10681 set dummy $ac_prog; ac_word=$2
10682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10683 printf %s "checking for $ac_word... " >&6; }
10684 if test ${ac_cv_prog_i386_CC+y}
10686 printf %s "(cached) " >&6
10688 if test -n "$i386_CC"; then
10689 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10692 for as_dir in $PATH
10695 case $as_dir in #(((
10698 *) as_dir=$as_dir/ ;;
10700 for ac_exec_ext in '' $ac_executable_extensions; do
10701 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10702 ac_cv_prog_i386_CC="$ac_prog"
10703 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10712 i386_CC=$ac_cv_prog_i386_CC
10713 if test -n "$i386_CC"; then
10714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10715 printf "%s\n" "$i386_CC" >&6; }
10717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10718 printf "%s\n" "no" >&6; }
10722 test -n "$i386_CC" && break
10724 test -n "$i386_CC" || i386_CC="false"
10728 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10729 for ac_prog in $ac_prefix_list clang
10731 # Extract the first word of "$ac_prog", so it can be a program name with args.
10732 set dummy $ac_prog; ac_word=$2
10733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10734 printf %s "checking for $ac_word... " >&6; }
10735 if test ${ac_cv_prog_x86_64_CC+y}
10737 printf %s "(cached) " >&6
10739 if test -n "$x86_64_CC"; then
10740 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10743 for as_dir in $PATH
10746 case $as_dir in #(((
10749 *) as_dir=$as_dir/ ;;
10751 for ac_exec_ext in '' $ac_executable_extensions; do
10752 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10753 ac_cv_prog_x86_64_CC="$ac_prog"
10754 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10763 x86_64_CC=$ac_cv_prog_x86_64_CC
10764 if test -n "$x86_64_CC"; then
10765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10766 printf "%s\n" "$x86_64_CC" >&6; }
10768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10769 printf "%s\n" "no" >&6; }
10773 test -n "$x86_64_CC" && break
10775 test -n "$x86_64_CC" || x86_64_CC="false"
10781 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10787 saved_CFLAGS=$CFLAGS
10789 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10790 eval CC=\$${wine_arch}_CC
10791 eval ${wine_arch}_CFLAGS=\$CFLAGS
10792 eval ${wine_arch}_LDFLAGS=\$CROSSLDFLAGS
10793 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10796 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" |
$as_tr_sh`
10798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10799 printf %s "checking whether $CC works... " >&6; }
10800 if eval test \${$as_wine_cv_crosscc+y}
10802 printf %s "(cached) " >&6
10804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10805 /* end confdefs.h. */
10815 if ac_fn_c_try_compile "$LINENO"
10817 eval "$as_wine_cv_crosscc=yes"
10819 eval "$as_wine_cv_crosscc=no"
10821 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10823 eval ac_res=\$$as_wine_cv_crosscc
10824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10825 printf "%s\n" "$ac_res" >&6; }
10826 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10830 while test $# -ge 1
10833 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10834 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10839 llvm_target=$target
10840 llvm_cflags="-fuse-ld=lld"
10841 if test -z "$llvm_target"
10844 i386) llvm_target=i686-windows ;;
10845 arm) llvm_target=armv7-windows ;;
10846 *) llvm_target=$wine_arch-windows ;;
10849 case $llvm_target in
10850 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
10852 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-target $llvm_target $llvm_cflags" |
$as_tr_sh`
10853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -target $llvm_target $llvm_cflags" >&5
10854 printf %s "checking whether $CC supports -target $llvm_target $llvm_cflags... " >&6; }
10855 if eval test \${$as_ac_var+y}
10857 printf %s "(cached) " >&6
10859 ac_wine_try_cflags_saved=$CFLAGS
10860 ac_wine_try_cflags_saved_exeext=$ac_exeext
10861 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
10863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10864 /* end confdefs.h. */
10865 int __cdecl mainCRTStartup(void) { return 0; }
10867 if ac_fn_c_try_link "$LINENO"
10869 eval "$as_ac_var=yes"
10871 eval "$as_ac_var=no"
10873 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10874 conftest$ac_exeext conftest.$ac_ext
10875 CFLAGS=$ac_wine_try_cflags_saved
10876 ac_exeext=$ac_wine_try_cflags_saved_exeext
10878 eval ac_res=\$$as_ac_var
10879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10880 printf "%s\n" "$ac_res" >&6; }
10881 if eval test \"x\$"$as_ac_var"\" = x"yes"
10883 target=$llvm_target
10884 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10885 as_fn_append ${wine_arch}_EXTRACFLAGS " -target $target"
10886 CFLAGS="$CFLAGS -target $target $llvm_cflags"
10888 eval "${wine_arch}_TARGET=\$target"
10892 if test -z "$target"
10895 CFLAGS=$saved_CFLAGS
10898 as_fn_append PE_ARCHS " $wine_arch"
10900 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" |
$as_tr_sh`
10902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10903 printf %s "checking for $CC option to enable C99 features... " >&6; }
10904 if eval test \${$as_wine_cv_crosscc_c99+y}
10906 printf %s "(cached) " >&6
10908 eval "$as_wine_cv_crosscc_c99=no"
10909 for arg in '' '-std=gnu99'
10911 test -z "$arg" || CC="$CC $arg"
10912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10913 /* end confdefs.h. */
10914 $ac_c_conftest_c99_program
10916 if ac_fn_c_try_compile "$LINENO"
10918 eval "$as_wine_cv_crosscc_c99=\$arg"
10920 eval "$as_wine_cv_crosscc_c99=no"
10922 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10923 eval CC=\$${wine_arch}_CC
10924 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10933 eval res=\$$as_wine_cv_crosscc_c99
10935 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10936 printf "%s\n" "none needed" >&6; } ;;
10937 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10938 printf "%s\n" "unsupported" >&6; } ;;
10939 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10940 printf "%s\n" "$res" >&6; }
10941 as_fn_append ${wine_arch}_CC " $res" ;;
10945 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" |
$as_tr_sh`
10946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10947 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10948 if eval test \${$as_ac_var+y}
10950 printf %s "(cached) " >&6
10952 ac_wine_try_cflags_saved=$CFLAGS
10953 ac_wine_try_cflags_saved_exeext=$ac_exeext
10954 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
10956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10957 /* end confdefs.h. */
10958 int __cdecl mainCRTStartup(void) { return 0; }
10960 if ac_fn_c_try_link "$LINENO"
10962 eval "$as_ac_var=yes"
10964 eval "$as_ac_var=no"
10966 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10967 conftest$ac_exeext conftest.$ac_ext
10968 CFLAGS=$ac_wine_try_cflags_saved
10969 ac_exeext=$ac_wine_try_cflags_saved_exeext
10971 eval ac_res=\$$as_ac_var
10972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10973 printf "%s\n" "$ac_res" >&6; }
10974 if eval test \"x\$"$as_ac_var"\" = x"yes"
10976 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10978 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" |
$as_tr_sh`
10979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10980 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10981 if eval test \${$as_ac_var+y}
10983 printf %s "(cached) " >&6
10985 ac_wine_try_cflags_saved=$CFLAGS
10986 ac_wine_try_cflags_saved_exeext=$ac_exeext
10987 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
10989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10990 /* end confdefs.h. */
10991 int __cdecl mainCRTStartup(void) { return 0; }
10993 if ac_fn_c_try_link "$LINENO"
10995 eval "$as_ac_var=yes"
10997 eval "$as_ac_var=no"
10999 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11000 conftest$ac_exeext conftest.$ac_ext
11001 CFLAGS=$ac_wine_try_cflags_saved
11002 ac_exeext=$ac_wine_try_cflags_saved_exeext
11004 eval ac_res=\$$as_ac_var
11005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11006 printf "%s\n" "$ac_res" >&6; }
11007 if eval test \"x\$"$as_ac_var"\" = x"yes"
11009 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
11011 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" |
$as_tr_sh`
11012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
11013 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
11014 if eval test \${$as_ac_var+y}
11016 printf %s "(cached) " >&6
11018 ac_wine_try_cflags_saved=$CFLAGS
11019 ac_wine_try_cflags_saved_exeext=$ac_exeext
11020 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
11022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11023 /* end confdefs.h. */
11024 int __cdecl mainCRTStartup(void) { return 0; }
11026 if ac_fn_c_try_link "$LINENO"
11028 eval "$as_ac_var=yes"
11030 eval "$as_ac_var=no"
11032 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11033 conftest$ac_exeext conftest.$ac_ext
11034 CFLAGS=$ac_wine_try_cflags_saved
11035 ac_exeext=$ac_wine_try_cflags_saved_exeext
11037 eval ac_res=\$$as_ac_var
11038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11039 printf "%s\n" "$ac_res" >&6; }
11040 if eval test \"x\$"$as_ac_var"\" = x"yes"
11042 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
11044 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" |
$as_tr_sh`
11045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
11046 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
11047 if eval test \${$as_ac_var+y}
11049 printf %s "(cached) " >&6
11051 ac_wine_try_cflags_saved=$CFLAGS
11052 ac_wine_try_cflags_saved_exeext=$ac_exeext
11053 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
11055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11056 /* end confdefs.h. */
11057 int __cdecl mainCRTStartup(void) { return 0; }
11059 if ac_fn_c_try_link "$LINENO"
11061 eval "$as_ac_var=yes"
11063 eval "$as_ac_var=no"
11065 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11066 conftest$ac_exeext conftest.$ac_ext
11067 CFLAGS=$ac_wine_try_cflags_saved
11068 ac_exeext=$ac_wine_try_cflags_saved_exeext
11070 eval ac_res=\$$as_ac_var
11071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11072 printf "%s\n" "$ac_res" >&6; }
11073 if eval test \"x\$"$as_ac_var"\" = x"yes"
11075 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
11077 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" |
$as_tr_sh`
11078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
11079 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
11080 if eval test \${$as_ac_var+y}
11082 printf %s "(cached) " >&6
11084 ac_wine_try_cflags_saved=$CFLAGS
11085 ac_wine_try_cflags_saved_exeext=$ac_exeext
11086 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
11088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11089 /* end confdefs.h. */
11090 int __cdecl mainCRTStartup(void) { return 0; }
11092 if ac_fn_c_try_link "$LINENO"
11094 eval "$as_ac_var=yes"
11096 eval "$as_ac_var=no"
11098 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11099 conftest$ac_exeext conftest.$ac_ext
11100 CFLAGS=$ac_wine_try_cflags_saved
11101 ac_exeext=$ac_wine_try_cflags_saved_exeext
11103 eval ac_res=\$$as_ac_var
11104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11105 printf "%s\n" "$ac_res" >&6; }
11106 if eval test \"x\$"$as_ac_var"\" = x"yes"
11108 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
11110 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" |
$as_tr_sh`
11111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
11112 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
11113 if eval test \${$as_ac_var+y}
11115 printf %s "(cached) " >&6
11117 ac_wine_try_cflags_saved=$CFLAGS
11118 ac_wine_try_cflags_saved_exeext=$ac_exeext
11119 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
11121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11122 /* end confdefs.h. */
11123 int __cdecl mainCRTStartup(void) { return 0; }
11125 if ac_fn_c_try_link "$LINENO"
11127 eval "$as_ac_var=yes"
11129 eval "$as_ac_var=no"
11131 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11132 conftest$ac_exeext conftest.$ac_ext
11133 CFLAGS=$ac_wine_try_cflags_saved
11134 ac_exeext=$ac_wine_try_cflags_saved_exeext
11136 eval ac_res=\$$as_ac_var
11137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11138 printf "%s\n" "$ac_res" >&6; }
11139 if eval test \"x\$"$as_ac_var"\" = x"yes"
11141 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
11143 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" |
$as_tr_sh`
11144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
11145 printf %s "checking whether $CC supports -Winit-self... " >&6; }
11146 if eval test \${$as_ac_var+y}
11148 printf %s "(cached) " >&6
11150 ac_wine_try_cflags_saved=$CFLAGS
11151 ac_wine_try_cflags_saved_exeext=$ac_exeext
11152 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Winit-self"
11154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11155 /* end confdefs.h. */
11156 int __cdecl mainCRTStartup(void) { return 0; }
11158 if ac_fn_c_try_link "$LINENO"
11160 eval "$as_ac_var=yes"
11162 eval "$as_ac_var=no"
11164 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11165 conftest$ac_exeext conftest.$ac_ext
11166 CFLAGS=$ac_wine_try_cflags_saved
11167 ac_exeext=$ac_wine_try_cflags_saved_exeext
11169 eval ac_res=\$$as_ac_var
11170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11171 printf "%s\n" "$ac_res" >&6; }
11172 if eval test \"x\$"$as_ac_var"\" = x"yes"
11174 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
11176 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" |
$as_tr_sh`
11177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
11178 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
11179 if eval test \${$as_ac_var+y}
11181 printf %s "(cached) " >&6
11183 ac_wine_try_cflags_saved=$CFLAGS
11184 ac_wine_try_cflags_saved_exeext=$ac_exeext
11185 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
11187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11188 /* end confdefs.h. */
11189 int __cdecl mainCRTStartup(void) { return 0; }
11191 if ac_fn_c_try_link "$LINENO"
11193 eval "$as_ac_var=yes"
11195 eval "$as_ac_var=no"
11197 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11198 conftest$ac_exeext conftest.$ac_ext
11199 CFLAGS=$ac_wine_try_cflags_saved
11200 ac_exeext=$ac_wine_try_cflags_saved_exeext
11202 eval ac_res=\$$as_ac_var
11203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11204 printf "%s\n" "$ac_res" >&6; }
11205 if eval test \"x\$"$as_ac_var"\" = x"yes"
11207 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
11209 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" |
$as_tr_sh`
11210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
11211 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
11212 if eval test \${$as_ac_var+y}
11214 printf %s "(cached) " >&6
11216 ac_wine_try_cflags_saved=$CFLAGS
11217 ac_wine_try_cflags_saved_exeext=$ac_exeext
11218 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
11220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11221 /* end confdefs.h. */
11222 int __cdecl mainCRTStartup(void) { return 0; }
11224 if ac_fn_c_try_link "$LINENO"
11226 eval "$as_ac_var=yes"
11228 eval "$as_ac_var=no"
11230 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11231 conftest$ac_exeext conftest.$ac_ext
11232 CFLAGS=$ac_wine_try_cflags_saved
11233 ac_exeext=$ac_wine_try_cflags_saved_exeext
11235 eval ac_res=\$$as_ac_var
11236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11237 printf "%s\n" "$ac_res" >&6; }
11238 if eval test \"x\$"$as_ac_var"\" = x"yes"
11240 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
11242 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" |
$as_tr_sh`
11243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
11244 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
11245 if eval test \${$as_ac_var+y}
11247 printf %s "(cached) " >&6
11249 ac_wine_try_cflags_saved=$CFLAGS
11250 ac_wine_try_cflags_saved_exeext=$ac_exeext
11251 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
11253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11254 /* end confdefs.h. */
11255 int __cdecl mainCRTStartup(void) { return 0; }
11257 if ac_fn_c_try_link "$LINENO"
11259 eval "$as_ac_var=yes"
11261 eval "$as_ac_var=no"
11263 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11264 conftest$ac_exeext conftest.$ac_ext
11265 CFLAGS=$ac_wine_try_cflags_saved
11266 ac_exeext=$ac_wine_try_cflags_saved_exeext
11268 eval ac_res=\$$as_ac_var
11269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11270 printf "%s\n" "$ac_res" >&6; }
11271 if eval test \"x\$"$as_ac_var"\" = x"yes"
11273 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11275 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" |
$as_tr_sh`
11276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11277 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11278 if eval test \${$as_ac_var+y}
11280 printf %s "(cached) " >&6
11282 ac_wine_try_cflags_saved=$CFLAGS
11283 ac_wine_try_cflags_saved_exeext=$ac_exeext
11284 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
11286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11287 /* end confdefs.h. */
11288 int __cdecl mainCRTStartup(void) { return 0; }
11290 if ac_fn_c_try_link "$LINENO"
11292 eval "$as_ac_var=yes"
11294 eval "$as_ac_var=no"
11296 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11297 conftest$ac_exeext conftest.$ac_ext
11298 CFLAGS=$ac_wine_try_cflags_saved
11299 ac_exeext=$ac_wine_try_cflags_saved_exeext
11301 eval ac_res=\$$as_ac_var
11302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11303 printf "%s\n" "$ac_res" >&6; }
11304 if eval test \"x\$"$as_ac_var"\" = x"yes"
11306 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11308 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" |
$as_tr_sh`
11309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11310 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11311 if eval test \${$as_ac_var+y}
11313 printf %s "(cached) " >&6
11315 ac_wine_try_cflags_saved=$CFLAGS
11316 ac_wine_try_cflags_saved_exeext=$ac_exeext
11317 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
11319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11320 /* end confdefs.h. */
11321 int __cdecl mainCRTStartup(void) { return 0; }
11323 if ac_fn_c_try_link "$LINENO"
11325 eval "$as_ac_var=yes"
11327 eval "$as_ac_var=no"
11329 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11330 conftest$ac_exeext conftest.$ac_ext
11331 CFLAGS=$ac_wine_try_cflags_saved
11332 ac_exeext=$ac_wine_try_cflags_saved_exeext
11334 eval ac_res=\$$as_ac_var
11335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11336 printf "%s\n" "$ac_res" >&6; }
11337 if eval test \"x\$"$as_ac_var"\" = x"yes"
11339 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11341 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" |
$as_tr_sh`
11342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11343 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11344 if eval test \${$as_ac_var+y}
11346 printf %s "(cached) " >&6
11348 ac_wine_try_cflags_saved=$CFLAGS
11349 ac_wine_try_cflags_saved_exeext=$ac_exeext
11350 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
11352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11353 /* end confdefs.h. */
11354 int __cdecl mainCRTStartup(void) { return 0; }
11356 if ac_fn_c_try_link "$LINENO"
11358 eval "$as_ac_var=yes"
11360 eval "$as_ac_var=no"
11362 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11363 conftest$ac_exeext conftest.$ac_ext
11364 CFLAGS=$ac_wine_try_cflags_saved
11365 ac_exeext=$ac_wine_try_cflags_saved_exeext
11367 eval ac_res=\$$as_ac_var
11368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11369 printf "%s\n" "$ac_res" >&6; }
11370 if eval test \"x\$"$as_ac_var"\" = x"yes"
11372 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11374 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" |
$as_tr_sh`
11375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11376 printf %s "checking whether $CC supports -Wvla... " >&6; }
11377 if eval test \${$as_ac_var+y}
11379 printf %s "(cached) " >&6
11381 ac_wine_try_cflags_saved=$CFLAGS
11382 ac_wine_try_cflags_saved_exeext=$ac_exeext
11383 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wvla"
11385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11386 /* end confdefs.h. */
11387 int __cdecl mainCRTStartup(void) { return 0; }
11389 if ac_fn_c_try_link "$LINENO"
11391 eval "$as_ac_var=yes"
11393 eval "$as_ac_var=no"
11395 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11396 conftest$ac_exeext conftest.$ac_ext
11397 CFLAGS=$ac_wine_try_cflags_saved
11398 ac_exeext=$ac_wine_try_cflags_saved_exeext
11400 eval ac_res=\$$as_ac_var
11401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11402 printf "%s\n" "$ac_res" >&6; }
11403 if eval test \"x\$"$as_ac_var"\" = x"yes"
11405 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11407 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" |
$as_tr_sh`
11408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11409 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11410 if eval test \${$as_ac_var+y}
11412 printf %s "(cached) " >&6
11414 ac_wine_try_cflags_saved=$CFLAGS
11415 ac_wine_try_cflags_saved_exeext=$ac_exeext
11416 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
11418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11419 /* end confdefs.h. */
11420 int __cdecl mainCRTStartup(void) { return 0; }
11422 if ac_fn_c_try_link "$LINENO"
11424 eval "$as_ac_var=yes"
11426 eval "$as_ac_var=no"
11428 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11429 conftest$ac_exeext conftest.$ac_ext
11430 CFLAGS=$ac_wine_try_cflags_saved
11431 ac_exeext=$ac_wine_try_cflags_saved_exeext
11433 eval ac_res=\$$as_ac_var
11434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11435 printf "%s\n" "$ac_res" >&6; }
11436 if eval test \"x\$"$as_ac_var"\" = x"yes"
11438 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11440 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" |
$as_tr_sh`
11441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11442 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11443 if eval test \${$as_ac_var+y}
11445 printf %s "(cached) " >&6
11447 ac_wine_try_cflags_saved=$CFLAGS
11448 ac_wine_try_cflags_saved_exeext=$ac_exeext
11449 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
11451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11452 /* end confdefs.h. */
11453 int __cdecl mainCRTStartup(void) { return 0; }
11455 if ac_fn_c_try_link "$LINENO"
11457 eval "$as_ac_var=yes"
11459 eval "$as_ac_var=no"
11461 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11462 conftest$ac_exeext conftest.$ac_ext
11463 CFLAGS=$ac_wine_try_cflags_saved
11464 ac_exeext=$ac_wine_try_cflags_saved_exeext
11466 eval ac_res=\$$as_ac_var
11467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11468 printf "%s\n" "$ac_res" >&6; }
11469 if eval test \"x\$"$as_ac_var"\" = x"yes"
11471 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11473 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" |
$as_tr_sh`
11474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11475 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11476 if eval test \${$as_ac_var+y}
11478 printf %s "(cached) " >&6
11480 ac_wine_try_cflags_saved=$CFLAGS
11481 ac_wine_try_cflags_saved_exeext=$ac_exeext
11482 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
11484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11485 /* end confdefs.h. */
11486 int __cdecl mainCRTStartup(void) { return 0; }
11488 if ac_fn_c_try_link "$LINENO"
11490 eval "$as_ac_var=yes"
11492 eval "$as_ac_var=no"
11494 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11495 conftest$ac_exeext conftest.$ac_ext
11496 CFLAGS=$ac_wine_try_cflags_saved
11497 ac_exeext=$ac_wine_try_cflags_saved_exeext
11499 eval ac_res=\$$as_ac_var
11500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11501 printf "%s\n" "$ac_res" >&6; }
11502 if eval test \"x\$"$as_ac_var"\" = x"yes"
11504 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11506 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" |
$as_tr_sh`
11507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11508 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11509 if eval test \${$as_ac_var+y}
11511 printf %s "(cached) " >&6
11513 ac_wine_try_cflags_saved=$CFLAGS
11514 ac_wine_try_cflags_saved_exeext=$ac_exeext
11515 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
11517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11518 /* end confdefs.h. */
11519 int __cdecl mainCRTStartup(void) { return 0; }
11521 if ac_fn_c_try_link "$LINENO"
11523 eval "$as_ac_var=yes"
11525 eval "$as_ac_var=no"
11527 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11528 conftest$ac_exeext conftest.$ac_ext
11529 CFLAGS=$ac_wine_try_cflags_saved
11530 ac_exeext=$ac_wine_try_cflags_saved_exeext
11532 eval ac_res=\$$as_ac_var
11533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11534 printf "%s\n" "$ac_res" >&6; }
11535 if eval test \"x\$"$as_ac_var"\" = x"yes"
11537 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11541 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" |
$as_tr_sh`
11542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11543 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11544 if eval test \${$as_ac_var+y}
11546 printf %s "(cached) " >&6
11548 ac_wine_try_cflags_saved=$CFLAGS
11549 ac_wine_try_cflags_saved_exeext=$ac_exeext
11550 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
11552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11553 /* end confdefs.h. */
11554 int __cdecl mainCRTStartup(void) { return 0; }
11556 if ac_fn_c_try_link "$LINENO"
11558 eval "$as_ac_var=yes"
11560 eval "$as_ac_var=no"
11562 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11563 conftest$ac_exeext conftest.$ac_ext
11564 CFLAGS=$ac_wine_try_cflags_saved
11565 ac_exeext=$ac_wine_try_cflags_saved_exeext
11567 eval ac_res=\$$as_ac_var
11568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11569 printf "%s\n" "$ac_res" >&6; }
11570 if eval test \"x\$"$as_ac_var"\" = x"yes"
11572 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11574 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" |
$as_tr_sh`
11575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11576 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11577 if eval test \${$as_ac_var+y}
11579 printf %s "(cached) " >&6
11581 ac_wine_try_cflags_saved=$CFLAGS
11582 ac_wine_try_cflags_saved_exeext=$ac_exeext
11583 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wl,--disable-stdcall-fixup"
11585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11586 /* end confdefs.h. */
11587 int __cdecl mainCRTStartup(void) { return 0; }
11589 if ac_fn_c_try_link "$LINENO"
11591 eval "$as_ac_var=yes"
11593 eval "$as_ac_var=no"
11595 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11596 conftest$ac_exeext conftest.$ac_ext
11597 CFLAGS=$ac_wine_try_cflags_saved
11598 ac_exeext=$ac_wine_try_cflags_saved_exeext
11600 eval ac_res=\$$as_ac_var
11601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11602 printf "%s\n" "$ac_res" >&6; }
11603 if eval test \"x\$"$as_ac_var"\" = x"yes"
11605 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11607 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wno-format" |
$as_tr_sh`
11608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wno-format" >&5
11609 printf %s "checking whether $CC supports -Wno-format... " >&6; }
11610 if eval test \${$as_ac_var+y}
11612 printf %s "(cached) " >&6
11614 ac_wine_try_cflags_saved=$CFLAGS
11615 ac_wine_try_cflags_saved_exeext=$ac_exeext
11616 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wno-format"
11618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11619 /* end confdefs.h. */
11620 int __cdecl mainCRTStartup(void) { return 0; }
11622 if ac_fn_c_try_link "$LINENO"
11624 eval "$as_ac_var=yes"
11626 eval "$as_ac_var=no"
11628 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11629 conftest$ac_exeext conftest.$ac_ext
11630 CFLAGS=$ac_wine_try_cflags_saved
11631 ac_exeext=$ac_wine_try_cflags_saved_exeext
11633 eval ac_res=\$$as_ac_var
11634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11635 printf "%s\n" "$ac_res" >&6; }
11636 if eval test \"x\$"$as_ac_var"\" = x"yes"
11638 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-format"
11640 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" |
$as_tr_sh`
11641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11642 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11643 if eval test \${$as_ac_var+y}
11645 printf %s "(cached) " >&6
11647 ac_wine_try_cflags_saved=$CFLAGS
11648 ac_wine_try_cflags_saved_exeext=$ac_exeext
11649 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
11651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11652 /* end confdefs.h. */
11653 int __cdecl mainCRTStartup(void) { return 0; }
11655 if ac_fn_c_try_link "$LINENO"
11657 eval "$as_ac_var=yes"
11659 eval "$as_ac_var=no"
11661 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11662 conftest$ac_exeext conftest.$ac_ext
11663 CFLAGS=$ac_wine_try_cflags_saved
11664 ac_exeext=$ac_wine_try_cflags_saved_exeext
11666 eval ac_res=\$$as_ac_var
11667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11668 printf "%s\n" "$ac_res" >&6; }
11669 if eval test \"x\$"$as_ac_var"\" = x"yes"
11671 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11673 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" |
$as_tr_sh`
11674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11675 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11676 if eval test \${$as_ac_var+y}
11678 printf %s "(cached) " >&6
11680 ac_wine_try_cflags_saved=$CFLAGS
11681 ac_wine_try_cflags_saved_exeext=$ac_exeext
11682 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
11684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11685 /* end confdefs.h. */
11686 int __cdecl mainCRTStartup(void) { return 0; }
11688 if ac_fn_c_try_link "$LINENO"
11690 eval "$as_ac_var=yes"
11692 eval "$as_ac_var=no"
11694 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11695 conftest$ac_exeext conftest.$ac_ext
11696 CFLAGS=$ac_wine_try_cflags_saved
11697 ac_exeext=$ac_wine_try_cflags_saved_exeext
11699 eval ac_res=\$$as_ac_var
11700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11701 printf "%s\n" "$ac_res" >&6; }
11702 if eval test \"x\$"$as_ac_var"\" = x"yes"
11704 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11706 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" |
$as_tr_sh`
11707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11708 printf %s "checking whether $CC supports -mcx16... " >&6; }
11709 if eval test \${$as_ac_var+y}
11711 printf %s "(cached) " >&6
11713 ac_wine_try_cflags_saved=$CFLAGS
11714 ac_wine_try_cflags_saved_exeext=$ac_exeext
11715 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -mcx16"
11717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11718 /* end confdefs.h. */
11719 int __cdecl mainCRTStartup(void) { return 0; }
11721 if ac_fn_c_try_link "$LINENO"
11723 eval "$as_ac_var=yes"
11725 eval "$as_ac_var=no"
11727 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11728 conftest$ac_exeext conftest.$ac_ext
11729 CFLAGS=$ac_wine_try_cflags_saved
11730 ac_exeext=$ac_wine_try_cflags_saved_exeext
11732 eval ac_res=\$$as_ac_var
11733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11734 printf "%s\n" "$ac_res" >&6; }
11735 if eval test \"x\$"$as_ac_var"\" = x"yes"
11737 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11739 aarch64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wno-format" |
$as_tr_sh`
11740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wno-format" >&5
11741 printf %s "checking whether $CC supports -Wno-format... " >&6; }
11742 if eval test \${$as_ac_var+y}
11744 printf %s "(cached) " >&6
11746 ac_wine_try_cflags_saved=$CFLAGS
11747 ac_wine_try_cflags_saved_exeext=$ac_exeext
11748 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wno-format"
11750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11751 /* end confdefs.h. */
11752 int __cdecl mainCRTStartup(void) { return 0; }
11754 if ac_fn_c_try_link "$LINENO"
11756 eval "$as_ac_var=yes"
11758 eval "$as_ac_var=no"
11760 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11761 conftest$ac_exeext conftest.$ac_ext
11762 CFLAGS=$ac_wine_try_cflags_saved
11763 ac_exeext=$ac_wine_try_cflags_saved_exeext
11765 eval ac_res=\$$as_ac_var
11766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11767 printf "%s\n" "$ac_res" >&6; }
11768 if eval test \"x\$"$as_ac_var"\" = x"yes"
11770 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-format"
11774 wine_crossdebug=$CROSSDEBUG
11775 if test -z "$wine_crossdebug"
11777 for ac_flag in $CFLAGS; do
11779 -gdwarf*) wine_crossdebug=dwarf ;;
11780 -gcodeview) wine_crossdebug=pdb ;;
11781 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11786 ac_debug_format_seen=""
11787 for ac_flag in $CFLAGS; do
11789 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11792 if test "x$ac_debug_format_seen" = x
11794 case $wine_crossdebug in
11795 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" |
$as_tr_sh`
11796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11797 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11798 if eval test \${$as_ac_var+y}
11800 printf %s "(cached) " >&6
11802 ac_wine_try_cflags_saved=$CFLAGS
11803 ac_wine_try_cflags_saved_exeext=$ac_exeext
11804 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -gdwarf-4"
11806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11807 /* end confdefs.h. */
11808 int __cdecl mainCRTStartup(void) { return 0; }
11810 if ac_fn_c_try_link "$LINENO"
11812 eval "$as_ac_var=yes"
11814 eval "$as_ac_var=no"
11816 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11817 conftest$ac_exeext conftest.$ac_ext
11818 CFLAGS=$ac_wine_try_cflags_saved
11819 ac_exeext=$ac_wine_try_cflags_saved_exeext
11821 eval ac_res=\$$as_ac_var
11822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11823 printf "%s\n" "$ac_res" >&6; }
11824 if eval test \"x\$"$as_ac_var"\" = x"yes"
11826 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11828 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" |
$as_tr_sh`
11829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11830 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11831 if eval test \${$as_ac_var+y}
11833 printf %s "(cached) " >&6
11835 ac_wine_try_cflags_saved=$CFLAGS
11836 ac_wine_try_cflags_saved_exeext=$ac_exeext
11837 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -gcodeview"
11839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11840 /* end confdefs.h. */
11841 int __cdecl mainCRTStartup(void) { return 0; }
11843 if ac_fn_c_try_link "$LINENO"
11845 eval "$as_ac_var=yes"
11847 eval "$as_ac_var=no"
11849 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11850 conftest$ac_exeext conftest.$ac_ext
11851 CFLAGS=$ac_wine_try_cflags_saved
11852 ac_exeext=$ac_wine_try_cflags_saved_exeext
11854 eval ac_res=\$$as_ac_var
11855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11856 printf "%s\n" "$ac_res" >&6; }
11857 if eval test \"x\$"$as_ac_var"\" = x"yes"
11859 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11863 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11865 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" |
$as_tr_sh`
11866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11867 printf %s "checking whether $CC supports -Werror... " >&6; }
11868 if eval test \${$as_ac_var+y}
11870 printf %s "(cached) " >&6
11872 ac_wine_try_cflags_saved=$CFLAGS
11873 ac_wine_try_cflags_saved_exeext=$ac_exeext
11874 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Werror"
11876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11877 /* end confdefs.h. */
11878 int __cdecl mainCRTStartup(void) { return 0; }
11880 if ac_fn_c_try_link "$LINENO"
11882 eval "$as_ac_var=yes"
11884 eval "$as_ac_var=no"
11886 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11887 conftest$ac_exeext conftest.$ac_ext
11888 CFLAGS=$ac_wine_try_cflags_saved
11889 ac_exeext=$ac_wine_try_cflags_saved_exeext
11891 eval ac_res=\$$as_ac_var
11892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11893 printf "%s\n" "$ac_res" >&6; }
11894 if eval test \"x\$"$as_ac_var"\" = x"yes"
11896 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11898 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" |
$as_tr_sh`
11899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11900 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11901 if eval test \${$as_ac_var+y}
11903 printf %s "(cached) " >&6
11905 ac_wine_try_cflags_saved=$CFLAGS
11906 ac_wine_try_cflags_saved_exeext=$ac_exeext
11907 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
11909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11910 /* end confdefs.h. */
11911 int __cdecl mainCRTStartup(void) { return 0; }
11913 if ac_fn_c_try_link "$LINENO"
11915 eval "$as_ac_var=yes"
11917 eval "$as_ac_var=no"
11919 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11920 conftest$ac_exeext conftest.$ac_ext
11921 CFLAGS=$ac_wine_try_cflags_saved
11922 ac_exeext=$ac_wine_try_cflags_saved_exeext
11924 eval ac_res=\$$as_ac_var
11925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11926 printf "%s\n" "$ac_res" >&6; }
11927 if eval test \"x\$"$as_ac_var"\" = x"yes"
11929 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
11930 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
11934 CFLAGS=$saved_CFLAGS
11937 if test $HOST_ARCH = aarch64 -a "x$PE_ARCHS" = x
11939 as_fn_error $? "PE cross-compilation is required for ARM64, please install clang/llvm-dlltool/lld, or llvm-mingw." "$LINENO" 5
11942 if test "x$PE_ARCHS" = "x"
11944 case "x$with_mingw" in
11945 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
11947 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
11948 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
11954 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
11956 case "$host_cpu" in
11958 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11960 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11962 for ac_prog in $ac_prefix_list
11964 # Extract the first word of "$ac_prog", so it can be a program name with args.
11965 set dummy $ac_prog; ac_word=$2
11966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11967 printf %s "checking for $ac_word... " >&6; }
11968 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11970 printf %s "(cached) " >&6
11972 if test -n "$MINGW_PKG_CONFIG"; then
11973 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11976 for as_dir in $PATH
11979 case $as_dir in #(((
11982 *) as_dir=$as_dir/ ;;
11984 for ac_exec_ext in '' $ac_executable_extensions; do
11985 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11986 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11987 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11996 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11997 if test -n "$MINGW_PKG_CONFIG"; then
11998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11999 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
12001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12002 printf "%s\n" "no" >&6; }
12006 test -n "$MINGW_PKG_CONFIG" && break
12008 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
12010 if ${FAUDIO_PE_CFLAGS:+false} :
12012 if test ${MINGW_PKG_CONFIG+y}
12014 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio
2>/dev
/null
`
12017 if ${FAUDIO_PE_LIBS:+false} :
12019 if test ${MINGW_PKG_CONFIG+y}
12021 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio
2>/dev
/null
`
12024 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
12025 ac_save_CPPFLAGS=$CPPFLAGS
12026 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
12027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
12028 printf %s "checking for MinGW FAudio.h... " >&6; }
12029 if test ${ac_cv_mingw_header_FAudio_h+y}
12031 printf %s "(cached) " >&6
12033 ac_wine_check_headers_saved_cc=$CC
12034 ac_wine_check_headers_saved_exeext=$ac_exeext
12035 eval CC=\$${wine_arch}_CC
12037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12038 /* end confdefs.h. */
12040 #include <FAudio.h>
12049 if ac_fn_c_try_compile "$LINENO"
12051 ac_cv_mingw_header_FAudio_h=yes
12053 ac_cv_mingw_header_FAudio_h=no
12055 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12056 CC=$ac_wine_check_headers_saved_cc
12057 ac_exeext=$ac_wine_check_headers_saved_exeext
12059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
12060 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
12061 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
12063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
12064 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
12065 if test ${ac_cv_mingw_lib_FAudio+y}
12067 printf %s "(cached) " >&6
12069 ac_wine_check_headers_saved_cc=$CC
12070 ac_wine_check_headers_saved_exeext=$ac_exeext
12071 ac_wine_check_headers_saved_libs=$LIBS
12072 eval CC=\$${wine_arch}_CC
12074 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
12075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12076 /* end confdefs.h. */
12078 /* Override any GCC internal prototype to avoid an error.
12079 Use char because int might match the return type of a GCC
12080 builtin and then its argument prototype would still apply. */
12081 char FAudio_CommitOperationSet ();
12085 return FAudio_CommitOperationSet ();
12090 if ac_fn_c_try_link "$LINENO"
12092 ac_cv_mingw_lib_FAudio=yes
12094 ac_cv_mingw_lib_FAudio=no
12096 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12097 conftest$ac_exeext conftest.$ac_ext
12098 CC=$ac_wine_check_headers_saved_cc
12099 ac_exeext=$ac_wine_check_headers_saved_exeext
12100 LIBS=$ac_wine_check_headers_saved_libs
12102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
12103 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
12104 if test "x$ac_cv_mingw_lib_FAudio" = xyes
12108 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12111 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12113 CPPFLAGS=$ac_save_CPPFLAGS
12115 if test "x$FAUDIO_PE_LIBS" = "x"
12117 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
12120 if ${JPEG_PE_CFLAGS:+false} :
12122 if test ${MINGW_PKG_CONFIG+y}
12124 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg
2>/dev
/null
`
12127 if ${JPEG_PE_LIBS:+false} :
12129 if test ${MINGW_PKG_CONFIG+y}
12131 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg
2>/dev
/null
`
12135 ac_save_CPPFLAGS=$CPPFLAGS
12136 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
12137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
12138 printf %s "checking for MinGW jpeglib.h... " >&6; }
12139 if test ${ac_cv_mingw_header_jpeglib_h+y}
12141 printf %s "(cached) " >&6
12143 ac_wine_check_headers_saved_cc=$CC
12144 ac_wine_check_headers_saved_exeext=$ac_exeext
12145 eval CC=\$${wine_arch}_CC
12147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12148 /* end confdefs.h. */
12149 #include <stddef.h>
12151 #include <jpeglib.h>
12160 if ac_fn_c_try_compile "$LINENO"
12162 ac_cv_mingw_header_jpeglib_h=yes
12164 ac_cv_mingw_header_jpeglib_h=no
12166 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12167 CC=$ac_wine_check_headers_saved_cc
12168 ac_exeext=$ac_wine_check_headers_saved_exeext
12170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
12171 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
12172 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
12174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
12175 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
12176 if test ${ac_cv_mingw_lib_jpeg+y}
12178 printf %s "(cached) " >&6
12180 ac_wine_check_headers_saved_cc=$CC
12181 ac_wine_check_headers_saved_exeext=$ac_exeext
12182 ac_wine_check_headers_saved_libs=$LIBS
12183 eval CC=\$${wine_arch}_CC
12185 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
12186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12187 /* end confdefs.h. */
12189 /* Override any GCC internal prototype to avoid an error.
12190 Use char because int might match the return type of a GCC
12191 builtin and then its argument prototype would still apply. */
12192 char jpeg_start_decompress ();
12196 return jpeg_start_decompress ();
12201 if ac_fn_c_try_link "$LINENO"
12203 ac_cv_mingw_lib_jpeg=yes
12205 ac_cv_mingw_lib_jpeg=no
12207 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12208 conftest$ac_exeext conftest.$ac_ext
12209 CC=$ac_wine_check_headers_saved_cc
12210 ac_exeext=$ac_wine_check_headers_saved_exeext
12211 LIBS=$ac_wine_check_headers_saved_libs
12213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
12214 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
12215 if test "x$ac_cv_mingw_lib_jpeg" = xyes
12219 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12222 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12224 CPPFLAGS=$ac_save_CPPFLAGS
12226 if test "x$JPEG_PE_LIBS" = "x"
12228 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
12231 if ${LCMS2_PE_CFLAGS:+false} :
12233 if test ${MINGW_PKG_CONFIG+y}
12235 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2
2>/dev
/null
`
12238 if ${LCMS2_PE_LIBS:+false} :
12240 if test ${MINGW_PKG_CONFIG+y}
12242 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2
2>/dev
/null
`
12245 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12246 ac_save_CPPFLAGS=$CPPFLAGS
12247 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12249 printf %s "checking for MinGW lcms2.h... " >&6; }
12250 if test ${ac_cv_mingw_header_lcms2_h+y}
12252 printf %s "(cached) " >&6
12254 ac_wine_check_headers_saved_cc=$CC
12255 ac_wine_check_headers_saved_exeext=$ac_exeext
12256 eval CC=\$${wine_arch}_CC
12258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12259 /* end confdefs.h. */
12270 if ac_fn_c_try_compile "$LINENO"
12272 ac_cv_mingw_header_lcms2_h=yes
12274 ac_cv_mingw_header_lcms2_h=no
12276 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12277 CC=$ac_wine_check_headers_saved_cc
12278 ac_exeext=$ac_wine_check_headers_saved_exeext
12280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12281 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12282 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12285 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12286 if test ${ac_cv_mingw_lib_lcms2+y}
12288 printf %s "(cached) " >&6
12290 ac_wine_check_headers_saved_cc=$CC
12291 ac_wine_check_headers_saved_exeext=$ac_exeext
12292 ac_wine_check_headers_saved_libs=$LIBS
12293 eval CC=\$${wine_arch}_CC
12295 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12297 /* end confdefs.h. */
12299 /* Override any GCC internal prototype to avoid an error.
12300 Use char because int might match the return type of a GCC
12301 builtin and then its argument prototype would still apply. */
12302 char cmsOpenProfileFromFile ();
12306 return cmsOpenProfileFromFile ();
12311 if ac_fn_c_try_link "$LINENO"
12313 ac_cv_mingw_lib_lcms2=yes
12315 ac_cv_mingw_lib_lcms2=no
12317 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12318 conftest$ac_exeext conftest.$ac_ext
12319 CC=$ac_wine_check_headers_saved_cc
12320 ac_exeext=$ac_wine_check_headers_saved_exeext
12321 LIBS=$ac_wine_check_headers_saved_libs
12323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12324 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12325 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12329 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12332 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12334 CPPFLAGS=$ac_save_CPPFLAGS
12336 if test "x$LCMS2_PE_LIBS" = "x"
12338 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12341 if ${MPG123_PE_CFLAGS:+false} :
12343 if test ${MINGW_PKG_CONFIG+y}
12345 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123
2>/dev
/null
`
12348 if ${MPG123_PE_LIBS:+false} :
12350 if test ${MINGW_PKG_CONFIG+y}
12352 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123
2>/dev
/null
`
12355 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12356 ac_save_CPPFLAGS=$CPPFLAGS
12357 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12359 printf %s "checking for MinGW mpg123.h... " >&6; }
12360 if test ${ac_cv_mingw_header_mpg123_h+y}
12362 printf %s "(cached) " >&6
12364 ac_wine_check_headers_saved_cc=$CC
12365 ac_wine_check_headers_saved_exeext=$ac_exeext
12366 eval CC=\$${wine_arch}_CC
12368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12369 /* end confdefs.h. */
12371 #include <mpg123.h>
12380 if ac_fn_c_try_compile "$LINENO"
12382 ac_cv_mingw_header_mpg123_h=yes
12384 ac_cv_mingw_header_mpg123_h=no
12386 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12387 CC=$ac_wine_check_headers_saved_cc
12388 ac_exeext=$ac_wine_check_headers_saved_exeext
12390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12391 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12392 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12395 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12396 if test ${ac_cv_mingw_lib_mpg123+y}
12398 printf %s "(cached) " >&6
12400 ac_wine_check_headers_saved_cc=$CC
12401 ac_wine_check_headers_saved_exeext=$ac_exeext
12402 ac_wine_check_headers_saved_libs=$LIBS
12403 eval CC=\$${wine_arch}_CC
12405 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12407 /* end confdefs.h. */
12409 /* Override any GCC internal prototype to avoid an error.
12410 Use char because int might match the return type of a GCC
12411 builtin and then its argument prototype would still apply. */
12412 char mpg123_feed ();
12416 return mpg123_feed ();
12421 if ac_fn_c_try_link "$LINENO"
12423 ac_cv_mingw_lib_mpg123=yes
12425 ac_cv_mingw_lib_mpg123=no
12427 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12428 conftest$ac_exeext conftest.$ac_ext
12429 CC=$ac_wine_check_headers_saved_cc
12430 ac_exeext=$ac_wine_check_headers_saved_exeext
12431 LIBS=$ac_wine_check_headers_saved_libs
12433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12434 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12435 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12439 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12442 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12444 CPPFLAGS=$ac_save_CPPFLAGS
12446 if test "x$MPG123_PE_LIBS" = "x"
12448 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12451 if ${PNG_PE_CFLAGS:+false} :
12453 if test ${MINGW_PKG_CONFIG+y}
12455 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng
2>/dev
/null
`
12458 if ${PNG_PE_LIBS:+false} :
12460 if test ${MINGW_PKG_CONFIG+y}
12462 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng
2>/dev
/null
`
12466 ac_save_CPPFLAGS=$CPPFLAGS
12467 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12469 printf %s "checking for MinGW png.h... " >&6; }
12470 if test ${ac_cv_mingw_header_png_h+y}
12472 printf %s "(cached) " >&6
12474 ac_wine_check_headers_saved_cc=$CC
12475 ac_wine_check_headers_saved_exeext=$ac_exeext
12476 eval CC=\$${wine_arch}_CC
12478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12479 /* end confdefs.h. */
12490 if ac_fn_c_try_compile "$LINENO"
12492 ac_cv_mingw_header_png_h=yes
12494 ac_cv_mingw_header_png_h=no
12496 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12497 CC=$ac_wine_check_headers_saved_cc
12498 ac_exeext=$ac_wine_check_headers_saved_exeext
12500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12501 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12502 if test "x$ac_cv_mingw_header_png_h" = xyes
12504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12505 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12506 if test ${ac_cv_mingw_lib_png+y}
12508 printf %s "(cached) " >&6
12510 ac_wine_check_headers_saved_cc=$CC
12511 ac_wine_check_headers_saved_exeext=$ac_exeext
12512 ac_wine_check_headers_saved_libs=$LIBS
12513 eval CC=\$${wine_arch}_CC
12515 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12517 /* end confdefs.h. */
12519 /* Override any GCC internal prototype to avoid an error.
12520 Use char because int might match the return type of a GCC
12521 builtin and then its argument prototype would still apply. */
12522 char png_create_read_struct ();
12526 return png_create_read_struct ();
12531 if ac_fn_c_try_link "$LINENO"
12533 ac_cv_mingw_lib_png=yes
12535 ac_cv_mingw_lib_png=no
12537 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12538 conftest$ac_exeext conftest.$ac_ext
12539 CC=$ac_wine_check_headers_saved_cc
12540 ac_exeext=$ac_wine_check_headers_saved_exeext
12541 LIBS=$ac_wine_check_headers_saved_libs
12543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12544 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12545 if test "x$ac_cv_mingw_lib_png" = xyes
12549 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12552 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12554 CPPFLAGS=$ac_save_CPPFLAGS
12556 if test "x$PNG_PE_LIBS" = "x"
12558 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12561 if ${TIFF_PE_CFLAGS:+false} :
12563 if test ${MINGW_PKG_CONFIG+y}
12565 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4
2>/dev
/null
`
12568 if ${TIFF_PE_LIBS:+false} :
12570 if test ${MINGW_PKG_CONFIG+y}
12572 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4
2>/dev
/null
`
12576 ac_save_CPPFLAGS=$CPPFLAGS
12577 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12579 printf %s "checking for MinGW tiffio.h... " >&6; }
12580 if test ${ac_cv_mingw_header_tiffio_h+y}
12582 printf %s "(cached) " >&6
12584 ac_wine_check_headers_saved_cc=$CC
12585 ac_wine_check_headers_saved_exeext=$ac_exeext
12586 eval CC=\$${wine_arch}_CC
12588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12589 /* end confdefs.h. */
12591 #include <tiffio.h>
12600 if ac_fn_c_try_compile "$LINENO"
12602 ac_cv_mingw_header_tiffio_h=yes
12604 ac_cv_mingw_header_tiffio_h=no
12606 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12607 CC=$ac_wine_check_headers_saved_cc
12608 ac_exeext=$ac_wine_check_headers_saved_exeext
12610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12611 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12612 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12615 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12616 if test ${ac_cv_mingw_lib_tiff+y}
12618 printf %s "(cached) " >&6
12620 ac_wine_check_headers_saved_cc=$CC
12621 ac_wine_check_headers_saved_exeext=$ac_exeext
12622 ac_wine_check_headers_saved_libs=$LIBS
12623 eval CC=\$${wine_arch}_CC
12625 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12627 /* end confdefs.h. */
12629 /* Override any GCC internal prototype to avoid an error.
12630 Use char because int might match the return type of a GCC
12631 builtin and then its argument prototype would still apply. */
12632 char TIFFClientOpen ();
12636 return TIFFClientOpen ();
12641 if ac_fn_c_try_link "$LINENO"
12643 ac_cv_mingw_lib_tiff=yes
12645 ac_cv_mingw_lib_tiff=no
12647 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12648 conftest$ac_exeext conftest.$ac_ext
12649 CC=$ac_wine_check_headers_saved_cc
12650 ac_exeext=$ac_wine_check_headers_saved_exeext
12651 LIBS=$ac_wine_check_headers_saved_libs
12653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12654 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12655 if test "x$ac_cv_mingw_lib_tiff" = xyes
12659 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12662 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12664 CPPFLAGS=$ac_save_CPPFLAGS
12666 if test "x$TIFF_PE_LIBS" = "x"
12668 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12671 if ${XML2_PE_CFLAGS:+false} :
12673 if test ${MINGW_PKG_CONFIG+y}
12675 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0
2>/dev
/null
`
12678 if ${XML2_PE_LIBS:+false} :
12680 if test ${MINGW_PKG_CONFIG+y}
12682 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0
2>/dev
/null
`
12685 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12686 ac_save_CPPFLAGS=$CPPFLAGS
12687 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12689 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12690 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12692 printf %s "(cached) " >&6
12694 ac_wine_check_headers_saved_cc=$CC
12695 ac_wine_check_headers_saved_exeext=$ac_exeext
12696 eval CC=\$${wine_arch}_CC
12698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12699 /* end confdefs.h. */
12701 #include <libxml/parser.h>
12710 if ac_fn_c_try_compile "$LINENO"
12712 ac_cv_mingw_header_libxml_parser_h=yes
12714 ac_cv_mingw_header_libxml_parser_h=no
12716 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12717 CC=$ac_wine_check_headers_saved_cc
12718 ac_exeext=$ac_wine_check_headers_saved_exeext
12720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12721 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12722 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12727 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12728 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12730 printf %s "(cached) " >&6
12732 ac_wine_check_headers_saved_cc=$CC
12733 ac_wine_check_headers_saved_exeext=$ac_exeext
12734 eval CC=\$${wine_arch}_CC
12736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12737 /* end confdefs.h. */
12739 #include <libxml/xmlsave.h>
12748 if ac_fn_c_try_compile "$LINENO"
12750 ac_cv_mingw_header_libxml_xmlsave_h=yes
12752 ac_cv_mingw_header_libxml_xmlsave_h=no
12754 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12755 CC=$ac_wine_check_headers_saved_cc
12756 ac_exeext=$ac_wine_check_headers_saved_exeext
12758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12759 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12760 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12765 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12766 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12768 printf %s "(cached) " >&6
12770 ac_wine_check_headers_saved_cc=$CC
12771 ac_wine_check_headers_saved_exeext=$ac_exeext
12772 eval CC=\$${wine_arch}_CC
12774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12775 /* end confdefs.h. */
12777 #include <libxml/SAX2.h>
12786 if ac_fn_c_try_compile "$LINENO"
12788 ac_cv_mingw_header_libxml_SAX2_h=yes
12790 ac_cv_mingw_header_libxml_SAX2_h=no
12792 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12793 CC=$ac_wine_check_headers_saved_cc
12794 ac_exeext=$ac_wine_check_headers_saved_exeext
12796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12797 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12798 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12802 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"
12804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12805 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12806 if test ${ac_cv_mingw_lib_xml2+y}
12808 printf %s "(cached) " >&6
12810 ac_wine_check_headers_saved_cc=$CC
12811 ac_wine_check_headers_saved_exeext=$ac_exeext
12812 ac_wine_check_headers_saved_libs=$LIBS
12813 eval CC=\$${wine_arch}_CC
12815 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12817 /* end confdefs.h. */
12819 /* Override any GCC internal prototype to avoid an error.
12820 Use char because int might match the return type of a GCC
12821 builtin and then its argument prototype would still apply. */
12822 char xmlFirstElementChild ();
12826 return xmlFirstElementChild ();
12831 if ac_fn_c_try_link "$LINENO"
12833 ac_cv_mingw_lib_xml2=yes
12835 ac_cv_mingw_lib_xml2=no
12837 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12838 conftest$ac_exeext conftest.$ac_ext
12839 CC=$ac_wine_check_headers_saved_cc
12840 ac_exeext=$ac_wine_check_headers_saved_exeext
12841 LIBS=$ac_wine_check_headers_saved_libs
12843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12844 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12845 if test "x$ac_cv_mingw_lib_xml2" = xyes
12849 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12855 CPPFLAGS=$ac_save_CPPFLAGS
12857 if test "x$XML2_PE_LIBS" = "x"
12859 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12862 if ${XSLT_PE_CFLAGS:+false} :
12864 if test ${MINGW_PKG_CONFIG+y}
12866 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt
2>/dev
/null
`
12869 if ${XSLT_PE_LIBS:+false} :
12871 if test ${MINGW_PKG_CONFIG+y}
12873 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt
2>/dev
/null
`
12876 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12877 ac_save_CPPFLAGS=$CPPFLAGS
12878 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12880 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12881 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12883 printf %s "(cached) " >&6
12885 ac_wine_check_headers_saved_cc=$CC
12886 ac_wine_check_headers_saved_exeext=$ac_exeext
12887 eval CC=\$${wine_arch}_CC
12889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12890 /* end confdefs.h. */
12892 #include <libxslt/pattern.h>
12901 if ac_fn_c_try_compile "$LINENO"
12903 ac_cv_mingw_header_libxslt_pattern_h=yes
12905 ac_cv_mingw_header_libxslt_pattern_h=no
12907 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12908 CC=$ac_wine_check_headers_saved_cc
12909 ac_exeext=$ac_wine_check_headers_saved_exeext
12911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12912 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12913 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12918 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12919 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12921 printf %s "(cached) " >&6
12923 ac_wine_check_headers_saved_cc=$CC
12924 ac_wine_check_headers_saved_exeext=$ac_exeext
12925 eval CC=\$${wine_arch}_CC
12927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12928 /* end confdefs.h. */
12930 #include <libxslt/transform.h>
12939 if ac_fn_c_try_compile "$LINENO"
12941 ac_cv_mingw_header_libxslt_transform_h=yes
12943 ac_cv_mingw_header_libxslt_transform_h=no
12945 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12946 CC=$ac_wine_check_headers_saved_cc
12947 ac_exeext=$ac_wine_check_headers_saved_exeext
12949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12950 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12951 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12955 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12958 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12959 if test ${ac_cv_mingw_lib_xslt+y}
12961 printf %s "(cached) " >&6
12963 ac_wine_check_headers_saved_cc=$CC
12964 ac_wine_check_headers_saved_exeext=$ac_exeext
12965 ac_wine_check_headers_saved_libs=$LIBS
12966 eval CC=\$${wine_arch}_CC
12968 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12970 /* end confdefs.h. */
12972 /* Override any GCC internal prototype to avoid an error.
12973 Use char because int might match the return type of a GCC
12974 builtin and then its argument prototype would still apply. */
12975 char xsltCompilePattern ();
12979 return xsltCompilePattern ();
12984 if ac_fn_c_try_link "$LINENO"
12986 ac_cv_mingw_lib_xslt=yes
12988 ac_cv_mingw_lib_xslt=no
12990 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12991 conftest$ac_exeext conftest.$ac_ext
12992 CC=$ac_wine_check_headers_saved_cc
12993 ac_exeext=$ac_wine_check_headers_saved_exeext
12994 LIBS=$ac_wine_check_headers_saved_libs
12996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12997 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12998 if test "x$ac_cv_mingw_lib_xslt" = xyes
13002 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
13008 CPPFLAGS=$ac_save_CPPFLAGS
13010 if test "x$XSLT_PE_LIBS" = "x"
13012 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
13015 if ${VKD3D_PE_CFLAGS:+false} :
13017 if test ${MINGW_PKG_CONFIG+y}
13019 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader
2>/dev
/null
`
13022 if ${VKD3D_PE_LIBS:+false} :
13024 if test ${MINGW_PKG_CONFIG+y}
13026 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader
2>/dev
/null
`
13029 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
13030 ac_save_CPPFLAGS=$CPPFLAGS
13031 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
13032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
13033 printf %s "checking for MinGW vkd3d.h... " >&6; }
13034 if test ${ac_cv_mingw_header_vkd3d_h+y}
13036 printf %s "(cached) " >&6
13038 ac_wine_check_headers_saved_cc=$CC
13039 ac_wine_check_headers_saved_exeext=$ac_exeext
13040 eval CC=\$${wine_arch}_CC
13042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13043 /* end confdefs.h. */
13054 if ac_fn_c_try_compile "$LINENO"
13056 ac_cv_mingw_header_vkd3d_h=yes
13058 ac_cv_mingw_header_vkd3d_h=no
13060 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13061 CC=$ac_wine_check_headers_saved_cc
13062 ac_exeext=$ac_wine_check_headers_saved_exeext
13064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
13065 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
13066 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
13070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
13071 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
13072 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
13074 printf %s "(cached) " >&6
13076 ac_wine_check_headers_saved_cc=$CC
13077 ac_wine_check_headers_saved_exeext=$ac_exeext
13078 eval CC=\$${wine_arch}_CC
13080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13081 /* end confdefs.h. */
13083 #include <vkd3d_shader.h>
13092 if ac_fn_c_try_compile "$LINENO"
13094 ac_cv_mingw_header_vkd3d_shader_h=yes
13096 ac_cv_mingw_header_vkd3d_shader_h=no
13098 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13099 CC=$ac_wine_check_headers_saved_cc
13100 ac_exeext=$ac_wine_check_headers_saved_exeext
13102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
13103 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
13104 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
13108 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
13110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
13111 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
13112 if test ${ac_cv_mingw_lib_vkd3d+y}
13114 printf %s "(cached) " >&6
13116 ac_wine_check_headers_saved_cc=$CC
13117 ac_wine_check_headers_saved_exeext=$ac_exeext
13118 ac_wine_check_headers_saved_libs=$LIBS
13119 eval CC=\$${wine_arch}_CC
13121 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
13122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13123 /* end confdefs.h. */
13125 /* Override any GCC internal prototype to avoid an error.
13126 Use char because int might match the return type of a GCC
13127 builtin and then its argument prototype would still apply. */
13128 char vkd3d_set_log_callback ();
13132 return vkd3d_set_log_callback ();
13137 if ac_fn_c_try_link "$LINENO"
13139 ac_cv_mingw_lib_vkd3d=yes
13141 ac_cv_mingw_lib_vkd3d=no
13143 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13144 conftest$ac_exeext conftest.$ac_ext
13145 CC=$ac_wine_check_headers_saved_cc
13146 ac_exeext=$ac_wine_check_headers_saved_exeext
13147 LIBS=$ac_wine_check_headers_saved_libs
13149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
13150 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
13151 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
13157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_compile in MinGW -lvkd3d-shader" >&5
13158 printf %s "checking for vkd3d_shader_compile in MinGW -lvkd3d-shader... " >&6; }
13159 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
13161 printf %s "(cached) " >&6
13163 ac_wine_check_headers_saved_cc=$CC
13164 ac_wine_check_headers_saved_exeext=$ac_exeext
13165 ac_wine_check_headers_saved_libs=$LIBS
13166 eval CC=\$${wine_arch}_CC
13168 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
13169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13170 /* end confdefs.h. */
13172 /* Override any GCC internal prototype to avoid an error.
13173 Use char because int might match the return type of a GCC
13174 builtin and then its argument prototype would still apply. */
13175 char vkd3d_shader_compile ();
13179 return vkd3d_shader_compile ();
13184 if ac_fn_c_try_link "$LINENO"
13186 ac_cv_mingw_lib_vkd3d_shader=yes
13188 ac_cv_mingw_lib_vkd3d_shader=no
13190 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13191 conftest$ac_exeext conftest.$ac_ext
13192 CC=$ac_wine_check_headers_saved_cc
13193 ac_exeext=$ac_wine_check_headers_saved_exeext
13194 LIBS=$ac_wine_check_headers_saved_libs
13196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
13197 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
13198 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
13204 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
13213 CPPFLAGS=$ac_save_CPPFLAGS
13215 if test "x$VKD3D_PE_LIBS" = "x"
13217 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
13220 if ${ZLIB_PE_CFLAGS:+false} :
13222 if test ${MINGW_PKG_CONFIG+y}
13224 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib
2>/dev
/null
`
13227 if ${ZLIB_PE_LIBS:+false} :
13229 if test ${MINGW_PKG_CONFIG+y}
13231 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib
2>/dev
/null
`
13234 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13235 ac_save_CPPFLAGS=$CPPFLAGS
13236 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13238 printf %s "checking for MinGW zlib.h... " >&6; }
13239 if test ${ac_cv_mingw_header_zlib_h+y}
13241 printf %s "(cached) " >&6
13243 ac_wine_check_headers_saved_cc=$CC
13244 ac_wine_check_headers_saved_exeext=$ac_exeext
13245 eval CC=\$${wine_arch}_CC
13247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13248 /* end confdefs.h. */
13259 if ac_fn_c_try_compile "$LINENO"
13261 ac_cv_mingw_header_zlib_h=yes
13263 ac_cv_mingw_header_zlib_h=no
13265 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13266 CC=$ac_wine_check_headers_saved_cc
13267 ac_exeext=$ac_wine_check_headers_saved_exeext
13269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13270 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13271 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13274 printf %s "checking for inflate in MinGW -lz... " >&6; }
13275 if test ${ac_cv_mingw_lib_z+y}
13277 printf %s "(cached) " >&6
13279 ac_wine_check_headers_saved_cc=$CC
13280 ac_wine_check_headers_saved_exeext=$ac_exeext
13281 ac_wine_check_headers_saved_libs=$LIBS
13282 eval CC=\$${wine_arch}_CC
13284 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13286 /* end confdefs.h. */
13288 /* Override any GCC internal prototype to avoid an error.
13289 Use char because int might match the return type of a GCC
13290 builtin and then its argument prototype would still apply. */
13300 if ac_fn_c_try_link "$LINENO"
13302 ac_cv_mingw_lib_z=yes
13304 ac_cv_mingw_lib_z=no
13306 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13307 conftest$ac_exeext conftest.$ac_ext
13308 CC=$ac_wine_check_headers_saved_cc
13309 ac_exeext=$ac_wine_check_headers_saved_exeext
13310 LIBS=$ac_wine_check_headers_saved_libs
13312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13313 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13314 if test "x$ac_cv_mingw_lib_z" = xyes
13318 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13321 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13323 CPPFLAGS=$ac_save_CPPFLAGS
13325 if test "x$ZLIB_PE_LIBS" = "x"
13327 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13331 if ${FAUDIO_PE_LIBS:+false} :
13333 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13334 if ${FAUDIO_PE_CFLAGS:+false} :
13336 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13343 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13344 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13346 if ${GSM_PE_LIBS:+false} :
13349 if ${GSM_PE_CFLAGS:+false} :
13351 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13358 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13359 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13361 if ${JPEG_PE_LIBS:+false} :
13364 if ${JPEG_PE_CFLAGS:+false} :
13366 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13373 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13374 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13376 if ${JXR_PE_LIBS:+false} :
13379 if ${JXR_PE_CFLAGS:+false} :
13381 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13388 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13389 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13391 if ${LCMS2_PE_LIBS:+false} :
13393 LCMS2_PE_LIBS=lcms2
13394 if ${LCMS2_PE_CFLAGS:+false} :
13396 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13403 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13404 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13406 if ${LDAP_PE_LIBS:+false} :
13409 if ${LDAP_PE_CFLAGS:+false} :
13411 LDAP_PE_CFLAGS="-I\$(top_srcdir)/libs/ldap/include"
13418 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap cflags: $LDAP_PE_CFLAGS" >&5
13419 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap libs: $LDAP_PE_LIBS" >&5
13421 if ${MPG123_PE_LIBS:+false} :
13423 MPG123_PE_LIBS=mpg123
13424 if ${MPG123_PE_CFLAGS:+false} :
13426 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13433 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13434 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13436 if ${PNG_PE_LIBS:+false} :
13438 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13439 if ${PNG_PE_CFLAGS:+false} :
13441 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13448 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13449 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13451 if ${TIFF_PE_LIBS:+false} :
13453 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13454 if ${TIFF_PE_CFLAGS:+false} :
13456 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13463 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13464 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13466 if ${VKD3D_PE_LIBS:+false} :
13468 VKD3D_PE_LIBS=vkd3d
13469 if ${VKD3D_PE_CFLAGS:+false} :
13471 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13478 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13479 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13481 if ${XML2_PE_LIBS:+false} :
13484 if ${XML2_PE_CFLAGS:+false} :
13486 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13493 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13494 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13496 if ${XSLT_PE_LIBS:+false} :
13499 if ${XSLT_PE_CFLAGS:+false} :
13501 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13508 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13509 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13511 if ${ZLIB_PE_LIBS:+false} :
13514 if ${ZLIB_PE_CFLAGS:+false} :
13516 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13523 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13524 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13528 if test "$ac_cv_header_pthread_h" = "yes"
13530 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13531 if test "x$ac_cv_func_pthread_create" = xyes
13535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13536 printf %s "checking for pthread_create in -lpthread... " >&6; }
13537 if test ${ac_cv_lib_pthread_pthread_create+y}
13539 printf %s "(cached) " >&6
13541 ac_check_lib_save_LIBS=$LIBS
13542 LIBS="-lpthread $LIBS"
13543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13544 /* end confdefs.h. */
13546 /* Override any GCC internal prototype to avoid an error.
13547 Use char because int might match the return type of a GCC
13548 builtin and then its argument prototype would still apply. */
13549 char pthread_create ();
13553 return pthread_create ();
13558 if ac_fn_c_try_link "$LINENO"
13560 ac_cv_lib_pthread_pthread_create=yes
13562 ac_cv_lib_pthread_pthread_create=no
13564 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13565 conftest$ac_exeext conftest.$ac_ext
13566 LIBS=$ac_check_lib_save_LIBS
13568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13569 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13570 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13572 PTHREAD_LIBS="-lpthread"
13579 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13581 case "x$with_pthread" in
13583 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13584 Wine cannot support threads without libpthread.
13585 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13592 ac_cpp='$CPP $CPPFLAGS'
13593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13597 printf %s "checking how to run the C preprocessor... " >&6; }
13598 # On Suns, sometimes $CPP names a directory.
13599 if test -n "$CPP" && test -d "$CPP"; then
13602 if test -z "$CPP"; then
13603 if test ${ac_cv_prog_CPP+y}
13605 printf %s "(cached) " >&6
13607 # Double quotes because $CC needs to be expanded
13608 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13610 ac_preproc_ok=false
13611 for ac_c_preproc_warn_flag in '' yes
13613 # Use a header file that comes with gcc, so configuring glibc
13614 # with a fresh cross-compiler works.
13615 # On the NeXT, cc -E runs the code through the compiler's parser,
13616 # not just through cpp. "Syntax error" is here to catch this case.
13617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13618 /* end confdefs.h. */
13619 #include <limits.h>
13622 if ac_fn_c_try_cpp "$LINENO"
13626 # Broken: fails on valid input.
13629 rm -f conftest.err conftest.i conftest.$ac_ext
13631 # OK, works on sane cases. Now check whether nonexistent headers
13632 # can be detected and how.
13633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13634 /* end confdefs.h. */
13635 #include <ac_nonexistent.h>
13637 if ac_fn_c_try_cpp "$LINENO"
13639 # Broken: success on invalid input.
13642 # Passes both tests.
13646 rm -f conftest.err conftest.i conftest.$ac_ext
13649 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13650 rm -f conftest.i conftest.err conftest.
$ac_ext
13657 ac_cv_prog_CPP
=$CPP
13660 CPP
=$ac_cv_prog_CPP
13662 ac_cv_prog_CPP
=$CPP
13664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13665 printf "%s\n" "$CPP" >&6; }
13666 ac_preproc_ok
=false
13667 for ac_c_preproc_warn_flag
in '' yes
13669 # Use a header file that comes with gcc, so configuring glibc
13670 # with a fresh cross-compiler works.
13671 # On the NeXT, cc -E runs the code through the compiler's parser,
13672 # not just through cpp. "Syntax error" is here to catch this case.
13673 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13674 /* end confdefs.h. */
13675 #include <limits.h>
13678 if ac_fn_c_try_cpp
"$LINENO"
13682 # Broken: fails on valid input.
13685 rm -f conftest.err conftest.i conftest.
$ac_ext
13687 # OK, works on sane cases. Now check whether nonexistent headers
13688 # can be detected and how.
13689 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13690 /* end confdefs.h. */
13691 #include <ac_nonexistent.h>
13693 if ac_fn_c_try_cpp
"$LINENO"
13695 # Broken: success on invalid input.
13698 # Passes both tests.
13702 rm -f conftest.err conftest.i conftest.
$ac_ext
13705 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13706 rm -f conftest.i conftest.err conftest.
$ac_ext
13711 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13712 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13713 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
13714 See \`config.log' for more details" "$LINENO" 5; }
13718 ac_cpp
='$CPP $CPPFLAGS'
13719 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13720 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13721 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13725 printf %s
"checking for X... " >&6; }
13728 # Check whether --with-x was given.
13729 if test ${with_x+y}
13734 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13735 if test "x$with_x" = xno
; then
13736 # The user explicitly disabled X.
13739 case $x_includes,$x_libraries in #(
13740 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
13741 *,NONE | NONE
,*) if test ${ac_cv_have_x+y}
13743 printf %s
"(cached) " >&6
13745 # One or both of the vars are not set, and there is no cached value.
13748 # Do we need to do anything special at all?
13751 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13752 /* end confdefs.h. */
13753 #include <X11/Xlib.h>
13762 if ac_fn_c_try_link
"$LINENO"
13764 # We can compile and link X programs with no special options.
13768 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13769 conftest
$ac_exeext conftest.
$ac_ext
13770 LIBS
="$ac_save_LIBS"
13771 # If that didn't work, only try xmkmf and file system searches
13772 # for native compilation.
13773 if test x
"$ac_x_includes" = xno
&& test "$cross_compiling" = no
13775 rm -f -r conftest.dir
13776 if mkdir conftest.dir
; then
13778 cat >Imakefile
<<'_ACEOF'
13780 @echo incroot='${INCROOT}'
13782 @echo usrlibdir='${USRLIBDIR}'
13784 @echo libdir='${LIBDIR}'
13786 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
13787 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13788 for ac_var
in incroot usrlibdir libdir
; do
13789 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13791 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13792 for ac_extension
in a so sl dylib la dll
; do
13793 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13794 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13795 ac_im_usrlibdir
=$ac_im_libdir; break
13798 # Screen out bogus values from the imake configuration. They are
13799 # bogus both because they are the default anyway, and because
13800 # using them would break gcc on systems where it needs fixed includes.
13801 case $ac_im_incroot in
13802 /usr
/include
) ac_x_includes
= ;;
13803 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
13805 case $ac_im_usrlibdir in
13806 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
13807 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
13811 rm -f -r conftest.dir
13814 # Standard set of common directories for X headers.
13815 # Check X11 before X11Rn because it is often a symlink to the current release.
13829 /usr/local/X11/include
13830 /usr/local/X11R7/include
13831 /usr/local/X11R6/include
13832 /usr/local/X11R5/include
13833 /usr/local/X11R4/include
13835 /usr/local/include/X11
13836 /usr/local/include/X11R7
13837 /usr/local/include/X11R6
13838 /usr/local/include/X11R5
13839 /usr/local/include/X11R4
13845 /usr/XFree86/include/X11
13849 /usr/unsupported/include
13850 /usr/athena/include
13851 /usr/local/x11r5/include
13852 /usr/lpp/Xamples/include
13854 /usr/openwin/include
13855 /usr/openwin/share/include'
13857 if test "$ac_x_includes" = no
; then
13858 # Guess where to find include files, by looking for Xlib.h.
13859 # First, try using that file with no special directory specified.
13860 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13861 /* end confdefs.h. */
13862 #include <X11/Xlib.h>
13864 if ac_fn_c_try_cpp
"$LINENO"
13866 # We can compile using X headers with no special include directory.
13869 for ac_dir
in $ac_x_header_dirs; do
13870 if test -r "$ac_dir/X11/Xlib.h"; then
13871 ac_x_includes
=$ac_dir
13876 rm -f conftest.err conftest.i conftest.
$ac_ext
13877 fi # $ac_x_includes = no
13879 if test "$ac_x_libraries" = no
; then
13880 # Check for the libraries.
13881 # See if we find them without any special options.
13882 # Don't add to $LIBS permanently.
13885 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13886 /* end confdefs.h. */
13887 #include <X11/Xlib.h>
13896 if ac_fn_c_try_link
"$LINENO"
13899 # We can link X programs with no special library path.
13903 for ac_dir
in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13905 # Don't even attempt the hair of trying to link an X program!
13906 for ac_extension
in a so sl dylib la dll
; do
13907 if test -r "$ac_dir/libX11.$ac_extension"; then
13908 ac_x_libraries
=$ac_dir
13914 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13915 conftest
$ac_exeext conftest.
$ac_ext
13916 fi # $ac_x_libraries = no
13919 # Record the results.
13920 case $ac_x_includes,$ac_x_libraries in #(
13921 no
,* |
*,no |
*\'*) :
13922 # Didn't find X, or a directory has "'" in its name.
13923 ac_cv_have_x
="have_x=no" ;; #(
13925 # Record where we found X for the cache.
13926 ac_cv_have_x
="have_x=yes\
13927 ac_x_includes='$ac_x_includes'\
13928 ac_x_libraries='$ac_x_libraries'" ;;
13934 eval "$ac_cv_have_x"
13937 if test "$have_x" != yes; then
13938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13939 printf "%s\n" "$have_x" >&6; }
13942 # If each of the values was on the command line, it overrides each guess.
13943 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
13944 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
13945 # Update the cache value to reflect the command line values.
13946 ac_cv_have_x
="have_x=yes\
13947 ac_x_includes='$x_includes'\
13948 ac_x_libraries='$x_libraries'"
13949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13950 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13953 if test "$no_x" = yes; then
13954 # Not all programs may use this symbol, but it does not hurt to define it.
13956 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13958 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
13960 if test -n "$x_includes"; then
13961 X_CFLAGS
="$X_CFLAGS -I$x_includes"
13964 # It would also be nice to do this for all -L options, not just this one.
13965 if test -n "$x_libraries"; then
13966 X_LIBS
="$X_LIBS -L$x_libraries"
13967 # For Solaris; some versions of Sun CC require a space after -R and
13968 # others require no space. Words are not sufficient . . . .
13969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13970 printf %s
"checking whether -R must be followed by a space... " >&6; }
13971 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
13972 ac_xsave_c_werror_flag
=$ac_c_werror_flag
13973 ac_c_werror_flag
=yes
13974 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13975 /* end confdefs.h. */
13985 if ac_fn_c_try_link
"$LINENO"
13987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13988 printf "%s\n" "no" >&6; }
13989 X_LIBS
="$X_LIBS -R$x_libraries"
13991 LIBS
="$ac_xsave_LIBS -R $x_libraries"
13992 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13993 /* end confdefs.h. */
14003 if ac_fn_c_try_link
"$LINENO"
14005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14006 printf "%s\n" "yes" >&6; }
14007 X_LIBS
="$X_LIBS -R $x_libraries"
14009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
14010 printf "%s\n" "neither works" >&6; }
14012 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14013 conftest
$ac_exeext conftest.
$ac_ext
14015 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14016 conftest
$ac_exeext conftest.
$ac_ext
14017 ac_c_werror_flag
=$ac_xsave_c_werror_flag
14018 LIBS
=$ac_xsave_LIBS
14021 # Check for system-dependent libraries X programs must link with.
14022 # Do this before checking for the system-independent R6 libraries
14023 # (-lICE), since we may need -lsocket or whatever for X linking.
14025 if test "$ISC" = yes; then
14026 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
14028 # Martyn Johnson says this is needed for Ultrix, if the X
14029 # libraries were built with DECnet support. And Karl Berry says
14030 # the Alpha needs dnet_stub (dnet does not exist).
14031 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
14032 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14033 /* end confdefs.h. */
14035 /* Override any GCC internal prototype to avoid an error.
14036 Use char because int might match the return type of a GCC
14037 builtin and then its argument prototype would still apply. */
14038 char XOpenDisplay ();
14042 return XOpenDisplay ();
14047 if ac_fn_c_try_link
"$LINENO"
14051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
14052 printf %s
"checking for dnet_ntoa in -ldnet... " >&6; }
14053 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
14055 printf %s
"(cached) " >&6
14057 ac_check_lib_save_LIBS
=$LIBS
14058 LIBS
="-ldnet $LIBS"
14059 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14060 /* end confdefs.h. */
14062 /* Override any GCC internal prototype to avoid an error.
14063 Use char because int might match the return type of a GCC
14064 builtin and then its argument prototype would still apply. */
14069 return dnet_ntoa ();
14074 if ac_fn_c_try_link
"$LINENO"
14076 ac_cv_lib_dnet_dnet_ntoa
=yes
14078 ac_cv_lib_dnet_dnet_ntoa
=no
14080 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14081 conftest
$ac_exeext conftest.
$ac_ext
14082 LIBS
=$ac_check_lib_save_LIBS
14084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
14085 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
14086 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
14088 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
14091 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
14092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
14093 printf %s
"checking for dnet_ntoa in -ldnet_stub... " >&6; }
14094 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
14096 printf %s
"(cached) " >&6
14098 ac_check_lib_save_LIBS
=$LIBS
14099 LIBS
="-ldnet_stub $LIBS"
14100 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14101 /* end confdefs.h. */
14103 /* Override any GCC internal prototype to avoid an error.
14104 Use char because int might match the return type of a GCC
14105 builtin and then its argument prototype would still apply. */
14110 return dnet_ntoa ();
14115 if ac_fn_c_try_link
"$LINENO"
14117 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
14119 ac_cv_lib_dnet_stub_dnet_ntoa
=no
14121 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14122 conftest
$ac_exeext conftest.
$ac_ext
14123 LIBS
=$ac_check_lib_save_LIBS
14125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
14126 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
14127 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
14129 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
14134 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14135 conftest
$ac_exeext conftest.
$ac_ext
14136 LIBS
="$ac_xsave_LIBS"
14138 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14139 # to get the SysV transport functions.
14140 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
14142 # The nsl library prevents programs from opening the X display
14143 # on Irix 5.2, according to T.E. Dickey.
14144 # The functions gethostbyname, getservbyname, and inet_addr are
14145 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
14146 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
14147 if test "x$ac_cv_func_gethostbyname" = xyes
14152 if test $ac_cv_func_gethostbyname = no
; then
14153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
14154 printf %s
"checking for gethostbyname in -lnsl... " >&6; }
14155 if test ${ac_cv_lib_nsl_gethostbyname+y}
14157 printf %s
"(cached) " >&6
14159 ac_check_lib_save_LIBS
=$LIBS
14161 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14162 /* end confdefs.h. */
14164 /* Override any GCC internal prototype to avoid an error.
14165 Use char because int might match the return type of a GCC
14166 builtin and then its argument prototype would still apply. */
14167 char gethostbyname ();
14171 return gethostbyname ();
14176 if ac_fn_c_try_link
"$LINENO"
14178 ac_cv_lib_nsl_gethostbyname
=yes
14180 ac_cv_lib_nsl_gethostbyname
=no
14182 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14183 conftest
$ac_exeext conftest.
$ac_ext
14184 LIBS
=$ac_check_lib_save_LIBS
14186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
14187 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
14188 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
14190 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
14193 if test $ac_cv_lib_nsl_gethostbyname = no
; then
14194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
14195 printf %s
"checking for gethostbyname in -lbsd... " >&6; }
14196 if test ${ac_cv_lib_bsd_gethostbyname+y}
14198 printf %s
"(cached) " >&6
14200 ac_check_lib_save_LIBS
=$LIBS
14202 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14203 /* end confdefs.h. */
14205 /* Override any GCC internal prototype to avoid an error.
14206 Use char because int might match the return type of a GCC
14207 builtin and then its argument prototype would still apply. */
14208 char gethostbyname ();
14212 return gethostbyname ();
14217 if ac_fn_c_try_link
"$LINENO"
14219 ac_cv_lib_bsd_gethostbyname
=yes
14221 ac_cv_lib_bsd_gethostbyname
=no
14223 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14224 conftest
$ac_exeext conftest.
$ac_ext
14225 LIBS
=$ac_check_lib_save_LIBS
14227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14228 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14229 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14231 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
14237 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14238 # socket/setsockopt and other routines are undefined under SCO ODT
14239 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14240 # on later versions), says Simon Leinen: it contains gethostby*
14241 # variants that don't use the name server (or something). -lsocket
14242 # must be given before -lnsl if both are needed. We assume that
14243 # if connect needs -lnsl, so does gethostbyname.
14244 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
14245 if test "x$ac_cv_func_connect" = xyes
14250 if test $ac_cv_func_connect = no
; then
14251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14252 printf %s
"checking for connect in -lsocket... " >&6; }
14253 if test ${ac_cv_lib_socket_connect+y}
14255 printf %s
"(cached) " >&6
14257 ac_check_lib_save_LIBS
=$LIBS
14258 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
14259 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14260 /* end confdefs.h. */
14262 /* Override any GCC internal prototype to avoid an error.
14263 Use char because int might match the return type of a GCC
14264 builtin and then its argument prototype would still apply. */
14274 if ac_fn_c_try_link
"$LINENO"
14276 ac_cv_lib_socket_connect
=yes
14278 ac_cv_lib_socket_connect
=no
14280 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14281 conftest
$ac_exeext conftest.
$ac_ext
14282 LIBS
=$ac_check_lib_save_LIBS
14284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14285 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14286 if test "x$ac_cv_lib_socket_connect" = xyes
14288 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
14293 # Guillermo Gomez says -lposix is necessary on A/UX.
14294 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
14295 if test "x$ac_cv_func_remove" = xyes
14300 if test $ac_cv_func_remove = no
; then
14301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14302 printf %s
"checking for remove in -lposix... " >&6; }
14303 if test ${ac_cv_lib_posix_remove+y}
14305 printf %s
"(cached) " >&6
14307 ac_check_lib_save_LIBS
=$LIBS
14308 LIBS
="-lposix $LIBS"
14309 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14310 /* end confdefs.h. */
14312 /* Override any GCC internal prototype to avoid an error.
14313 Use char because int might match the return type of a GCC
14314 builtin and then its argument prototype would still apply. */
14324 if ac_fn_c_try_link
"$LINENO"
14326 ac_cv_lib_posix_remove
=yes
14328 ac_cv_lib_posix_remove
=no
14330 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14331 conftest
$ac_exeext conftest.
$ac_ext
14332 LIBS
=$ac_check_lib_save_LIBS
14334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14335 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14336 if test "x$ac_cv_lib_posix_remove" = xyes
14338 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
14343 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14344 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
14345 if test "x$ac_cv_func_shmat" = xyes
14350 if test $ac_cv_func_shmat = no
; then
14351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14352 printf %s
"checking for shmat in -lipc... " >&6; }
14353 if test ${ac_cv_lib_ipc_shmat+y}
14355 printf %s
"(cached) " >&6
14357 ac_check_lib_save_LIBS
=$LIBS
14359 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14360 /* end confdefs.h. */
14362 /* Override any GCC internal prototype to avoid an error.
14363 Use char because int might match the return type of a GCC
14364 builtin and then its argument prototype would still apply. */
14374 if ac_fn_c_try_link
"$LINENO"
14376 ac_cv_lib_ipc_shmat
=yes
14378 ac_cv_lib_ipc_shmat
=no
14380 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14381 conftest
$ac_exeext conftest.
$ac_ext
14382 LIBS
=$ac_check_lib_save_LIBS
14384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14385 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14386 if test "x$ac_cv_lib_ipc_shmat" = xyes
14388 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
14394 # Check for libraries that X11R6 Xt/Xaw programs need.
14395 ac_save_LDFLAGS
=$LDFLAGS
14396 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
14397 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14398 # check for ICE first), but we must link in the order -lSM -lICE or
14399 # we get undefined symbols. So assume we have SM if we have ICE.
14400 # These have to be linked with before -lX11, unlike the other
14401 # libraries we check for below, so use a different variable.
14402 # John Interrante, Karl Berry
14403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14404 printf %s
"checking for IceConnectionNumber in -lICE... " >&6; }
14405 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14407 printf %s
"(cached) " >&6
14409 ac_check_lib_save_LIBS
=$LIBS
14410 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
14411 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14412 /* end confdefs.h. */
14414 /* Override any GCC internal prototype to avoid an error.
14415 Use char because int might match the return type of a GCC
14416 builtin and then its argument prototype would still apply. */
14417 char IceConnectionNumber ();
14421 return IceConnectionNumber ();
14426 if ac_fn_c_try_link
"$LINENO"
14428 ac_cv_lib_ICE_IceConnectionNumber
=yes
14430 ac_cv_lib_ICE_IceConnectionNumber
=no
14432 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14433 conftest
$ac_exeext conftest.
$ac_ext
14434 LIBS
=$ac_check_lib_save_LIBS
14436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14437 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14438 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14440 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
14443 LDFLAGS
=$ac_save_LDFLAGS
14448 if test "$have_x" = "yes"
14450 ac_save_CPPFLAGS
="$CPPFLAGS"
14451 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
14453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14454 printf %s
"checking for -lX11... " >&6; }
14455 if test ${ac_cv_lib_soname_X11+y}
14457 printf %s
"(cached) " >&6
14459 ac_check_soname_save_LIBS
=$LIBS
14460 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14461 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14462 /* end confdefs.h. */
14464 /* Override any GCC internal prototype to avoid an error.
14465 Use char because int might match the return type of a GCC
14466 builtin and then its argument prototype would still apply. */
14467 char XCreateWindow ();
14471 return XCreateWindow ();
14476 if ac_fn_c_try_link
"$LINENO"
14479 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14480 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'` ;;
14481 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14482 if ${ac_cv_lib_soname_X11:+false} :
14484 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14488 ac_cv_lib_soname_X11
=
14490 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14491 conftest
$ac_exeext conftest.
$ac_ext
14492 LIBS
=$ac_check_soname_save_LIBS
14494 if ${ac_cv_lib_soname_X11:+false} :
14496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14497 printf "%s\n" "not found" >&6; }
14500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14501 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14503 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14508 printf %s
"checking for -lXext... " >&6; }
14509 if test ${ac_cv_lib_soname_Xext+y}
14511 printf %s
"(cached) " >&6
14513 ac_check_soname_save_LIBS
=$LIBS
14514 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14515 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14516 /* end confdefs.h. */
14518 /* Override any GCC internal prototype to avoid an error.
14519 Use char because int might match the return type of a GCC
14520 builtin and then its argument prototype would still apply. */
14521 char XextCreateExtension ();
14525 return XextCreateExtension ();
14530 if ac_fn_c_try_link
"$LINENO"
14533 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14534 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'` ;;
14535 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14536 if ${ac_cv_lib_soname_Xext:+false} :
14538 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14542 ac_cv_lib_soname_Xext
=
14544 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14545 conftest
$ac_exeext conftest.
$ac_ext
14546 LIBS
=$ac_check_soname_save_LIBS
14548 if ${ac_cv_lib_soname_Xext:+false} :
14550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14551 printf "%s\n" "not found" >&6; }
14554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14555 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14557 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14559 X_LIBS
="$X_LIBS -lXext"
14561 X_LIBS
="$X_LIBS -lX11"
14563 ac_fn_c_check_header_compile
"$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
14564 # include <X11/Xlib.h>
14566 #ifdef HAVE_X11_XUTIL_H
14567 # include <X11/Xutil.h>
14570 if test "x$ac_cv_header_X11_Xlib_h" = xyes
14572 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14575 ac_fn_c_check_header_compile
"$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
14576 # include <X11/Xlib.h>
14578 #ifdef HAVE_X11_XUTIL_H
14579 # include <X11/Xutil.h>
14582 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
14584 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14587 ac_fn_c_check_header_compile
"$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
14588 # include <X11/Xlib.h>
14590 #ifdef HAVE_X11_XUTIL_H
14591 # include <X11/Xutil.h>
14594 if test "x$ac_cv_header_X11_Xutil_h" = xyes
14596 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14599 ac_fn_c_check_header_compile
"$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
14600 # include <X11/Xlib.h>
14602 #ifdef HAVE_X11_XUTIL_H
14603 # include <X11/Xutil.h>
14606 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14608 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14611 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
14612 # include <X11/Xlib.h>
14614 #ifdef HAVE_X11_XUTIL_H
14615 # include <X11/Xutil.h>
14618 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14620 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14623 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
14624 # include <X11/Xlib.h>
14626 #ifdef HAVE_X11_XUTIL_H
14627 # include <X11/Xutil.h>
14630 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14632 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14635 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
14636 # include <X11/Xlib.h>
14638 #ifdef HAVE_X11_XUTIL_H
14639 # include <X11/Xutil.h>
14642 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14644 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14647 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
14648 # include <X11/Xlib.h>
14650 #ifdef HAVE_X11_XUTIL_H
14651 # include <X11/Xutil.h>
14654 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14656 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14659 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
14660 # include <X11/Xlib.h>
14662 #ifdef HAVE_X11_XUTIL_H
14663 # include <X11/Xutil.h>
14666 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
14668 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14671 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
14672 # include <X11/Xlib.h>
14674 #ifdef HAVE_X11_XUTIL_H
14675 # include <X11/Xutil.h>
14678 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14680 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14683 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
14684 # include <X11/Xlib.h>
14686 #ifdef HAVE_X11_XUTIL_H
14687 # include <X11/Xutil.h>
14690 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14692 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14695 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
14696 # include <X11/Xlib.h>
14698 #ifdef HAVE_X11_XUTIL_H
14699 # include <X11/Xutil.h>
14702 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14704 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14707 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
14708 # include <X11/Xlib.h>
14710 #ifdef HAVE_X11_XUTIL_H
14711 # include <X11/Xutil.h>
14714 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14716 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14719 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
14720 # include <X11/Xlib.h>
14722 #ifdef HAVE_X11_XUTIL_H
14723 # include <X11/Xutil.h>
14726 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14728 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14731 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
14732 # include <X11/Xlib.h>
14734 #ifdef HAVE_X11_XUTIL_H
14735 # include <X11/Xutil.h>
14738 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14740 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14745 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
14747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
14748 printf %s
"checking for XkbQueryExtension in -lX11... " >&6; }
14749 if test ${ac_cv_lib_X11_XkbQueryExtension+y}
14751 printf %s
"(cached) " >&6
14753 ac_check_lib_save_LIBS
=$LIBS
14754 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14755 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14756 /* end confdefs.h. */
14758 /* Override any GCC internal prototype to avoid an error.
14759 Use char because int might match the return type of a GCC
14760 builtin and then its argument prototype would still apply. */
14761 char XkbQueryExtension ();
14765 return XkbQueryExtension ();
14770 if ac_fn_c_try_link
"$LINENO"
14772 ac_cv_lib_X11_XkbQueryExtension
=yes
14774 ac_cv_lib_X11_XkbQueryExtension
=no
14776 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14777 conftest
$ac_exeext conftest.
$ac_ext
14778 LIBS
=$ac_check_lib_save_LIBS
14780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
14781 printf "%s\n" "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
14782 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
14785 printf "%s\n" "#define HAVE_XKB 1" >>confdefs.h
14791 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14794 printf %s
"checking for -lXcursor... " >&6; }
14795 if test ${ac_cv_lib_soname_Xcursor+y}
14797 printf %s
"(cached) " >&6
14799 ac_check_soname_save_LIBS
=$LIBS
14800 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14801 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14802 /* end confdefs.h. */
14804 /* Override any GCC internal prototype to avoid an error.
14805 Use char because int might match the return type of a GCC
14806 builtin and then its argument prototype would still apply. */
14807 char XcursorImageLoadCursor ();
14811 return XcursorImageLoadCursor ();
14816 if ac_fn_c_try_link
"$LINENO"
14819 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14820 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'` ;;
14821 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14822 if ${ac_cv_lib_soname_Xcursor:+false} :
14824 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14828 ac_cv_lib_soname_Xcursor
=
14830 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14831 conftest
$ac_exeext conftest.
$ac_ext
14832 LIBS
=$ac_check_soname_save_LIBS
14834 if ${ac_cv_lib_soname_Xcursor:+false} :
14836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14837 printf "%s\n" "not found" >&6; }
14840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14841 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14843 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14848 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14850 case "x$with_xcursor" in
14851 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14853 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14854 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14859 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14862 printf %s
"checking for -lXi... " >&6; }
14863 if test ${ac_cv_lib_soname_Xi+y}
14865 printf %s
"(cached) " >&6
14867 ac_check_soname_save_LIBS
=$LIBS
14868 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14869 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14870 /* end confdefs.h. */
14872 /* Override any GCC internal prototype to avoid an error.
14873 Use char because int might match the return type of a GCC
14874 builtin and then its argument prototype would still apply. */
14875 char XOpenDevice ();
14879 return XOpenDevice ();
14884 if ac_fn_c_try_link
"$LINENO"
14887 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14888 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'` ;;
14889 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14890 if ${ac_cv_lib_soname_Xi:+false} :
14892 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14896 ac_cv_lib_soname_Xi
=
14898 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14899 conftest
$ac_exeext conftest.
$ac_ext
14900 LIBS
=$ac_check_soname_save_LIBS
14902 if ${ac_cv_lib_soname_Xi:+false} :
14904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14905 printf "%s\n" "not found" >&6; }
14908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14909 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14911 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14916 if test "x$ac_cv_lib_soname_Xi" = "x"
14918 case "x$with_xinput" in
14919 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14921 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14922 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14927 if test "x$ac_cv_lib_soname_Xi" != x
14929 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14931 case "x$with_xinput2" in
14932 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14934 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
14935 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14941 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14944 printf %s
"checking for XShmQueryExtension in -lXext... " >&6; }
14945 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14947 printf %s
"(cached) " >&6
14949 ac_check_lib_save_LIBS
=$LIBS
14950 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14951 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14952 /* end confdefs.h. */
14954 /* Override any GCC internal prototype to avoid an error.
14955 Use char because int might match the return type of a GCC
14956 builtin and then its argument prototype would still apply. */
14957 char XShmQueryExtension ();
14961 return XShmQueryExtension ();
14966 if ac_fn_c_try_link
"$LINENO"
14968 ac_cv_lib_Xext_XShmQueryExtension
=yes
14970 ac_cv_lib_Xext_XShmQueryExtension
=no
14972 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14973 conftest
$ac_exeext conftest.
$ac_ext
14974 LIBS
=$ac_check_lib_save_LIBS
14976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14977 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14978 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14981 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14986 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14988 case "x$with_xshm" in
14989 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14991 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14992 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14997 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
15000 printf %s
"checking for XShapeQueryExtension in -lXext... " >&6; }
15001 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
15003 printf %s
"(cached) " >&6
15005 ac_check_lib_save_LIBS
=$LIBS
15006 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
15007 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15008 /* end confdefs.h. */
15010 /* Override any GCC internal prototype to avoid an error.
15011 Use char because int might match the return type of a GCC
15012 builtin and then its argument prototype would still apply. */
15013 char XShapeQueryExtension ();
15017 return XShapeQueryExtension ();
15022 if ac_fn_c_try_link
"$LINENO"
15024 ac_cv_lib_Xext_XShapeQueryExtension
=yes
15026 ac_cv_lib_Xext_XShapeQueryExtension
=no
15028 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15029 conftest
$ac_exeext conftest.
$ac_ext
15030 LIBS
=$ac_check_lib_save_LIBS
15032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
15033 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
15034 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
15037 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
15042 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
15044 case "x$with_xshape" in
15045 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
15047 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
15048 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
15053 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
15055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
15056 printf %s
"checking for -lXxf86vm... " >&6; }
15057 if test ${ac_cv_lib_soname_Xxf86vm+y}
15059 printf %s
"(cached) " >&6
15061 ac_check_soname_save_LIBS
=$LIBS
15062 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
15063 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15064 /* end confdefs.h. */
15066 /* Override any GCC internal prototype to avoid an error.
15067 Use char because int might match the return type of a GCC
15068 builtin and then its argument prototype would still apply. */
15069 char XF86VidModeQueryExtension ();
15073 return XF86VidModeQueryExtension ();
15078 if ac_fn_c_try_link
"$LINENO"
15081 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15082 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'` ;;
15083 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15084 if ${ac_cv_lib_soname_Xxf86vm:+false} :
15086 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15090 ac_cv_lib_soname_Xxf86vm
=
15092 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15093 conftest
$ac_exeext conftest.
$ac_ext
15094 LIBS
=$ac_check_soname_save_LIBS
15096 if ${ac_cv_lib_soname_Xxf86vm:+false} :
15098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15099 printf "%s\n" "not found" >&6; }
15102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
15103 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
15105 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
15110 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
15112 case "x$with_xxf86vm" in
15113 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
15115 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
15116 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
15121 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
15123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
15124 printf %s
"checking for -lXrender... " >&6; }
15125 if test ${ac_cv_lib_soname_Xrender+y}
15127 printf %s
"(cached) " >&6
15129 ac_check_soname_save_LIBS
=$LIBS
15130 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15131 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15132 /* end confdefs.h. */
15134 /* Override any GCC internal prototype to avoid an error.
15135 Use char because int might match the return type of a GCC
15136 builtin and then its argument prototype would still apply. */
15137 char XRenderQueryExtension ();
15141 return XRenderQueryExtension ();
15146 if ac_fn_c_try_link
"$LINENO"
15149 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15150 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'` ;;
15151 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15152 if ${ac_cv_lib_soname_Xrender:+false} :
15154 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15158 ac_cv_lib_soname_Xrender
=
15160 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15161 conftest
$ac_exeext conftest.
$ac_ext
15162 LIBS
=$ac_check_soname_save_LIBS
15164 if ${ac_cv_lib_soname_Xrender:+false} :
15166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15167 printf "%s\n" "not found" >&6; }
15170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
15171 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
15173 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
15175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
15176 printf %s
"checking for XRenderSetPictureTransform in -lXrender... " >&6; }
15177 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
15179 printf %s
"(cached) " >&6
15181 ac_check_lib_save_LIBS
=$LIBS
15182 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15183 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15184 /* end confdefs.h. */
15186 /* Override any GCC internal prototype to avoid an error.
15187 Use char because int might match the return type of a GCC
15188 builtin and then its argument prototype would still apply. */
15189 char XRenderSetPictureTransform ();
15193 return XRenderSetPictureTransform ();
15198 if ac_fn_c_try_link
"$LINENO"
15200 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
15202 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
15204 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15205 conftest
$ac_exeext conftest.
$ac_ext
15206 LIBS
=$ac_check_lib_save_LIBS
15208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
15209 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
15210 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
15213 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
15217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
15218 printf %s
"checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
15219 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
15221 printf %s
"(cached) " >&6
15223 ac_check_lib_save_LIBS
=$LIBS
15224 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15225 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15226 /* end confdefs.h. */
15228 /* Override any GCC internal prototype to avoid an error.
15229 Use char because int might match the return type of a GCC
15230 builtin and then its argument prototype would still apply. */
15231 char XRenderCreateLinearGradient ();
15235 return XRenderCreateLinearGradient ();
15240 if ac_fn_c_try_link
"$LINENO"
15242 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
15244 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
15246 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15247 conftest
$ac_exeext conftest.
$ac_ext
15248 LIBS
=$ac_check_lib_save_LIBS
15250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15251 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15252 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15255 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15262 if test "x$ac_cv_lib_soname_Xrender" = "x"
15264 case "x$with_xrender" in
15265 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15267 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
15268 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15273 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15275 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15276 /* end confdefs.h. */
15277 #include <X11/Xlib.h>
15278 #include <X11/extensions/Xrandr.h>
15282 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15287 if ac_fn_c_try_compile
"$LINENO"
15289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15290 printf %s
"checking for -lXrandr... " >&6; }
15291 if test ${ac_cv_lib_soname_Xrandr+y}
15293 printf %s
"(cached) " >&6
15295 ac_check_soname_save_LIBS
=$LIBS
15296 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15297 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15298 /* end confdefs.h. */
15300 /* Override any GCC internal prototype to avoid an error.
15301 Use char because int might match the return type of a GCC
15302 builtin and then its argument prototype would still apply. */
15303 char XRRQueryExtension ();
15307 return XRRQueryExtension ();
15312 if ac_fn_c_try_link
"$LINENO"
15315 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15316 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'` ;;
15317 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15318 if ${ac_cv_lib_soname_Xrandr:+false} :
15320 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15324 ac_cv_lib_soname_Xrandr
=
15326 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15327 conftest
$ac_exeext conftest.
$ac_ext
15328 LIBS
=$ac_check_soname_save_LIBS
15330 if ${ac_cv_lib_soname_Xrandr:+false} :
15332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15333 printf "%s\n" "not found" >&6; }
15336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15337 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15339 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15341 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15342 /* end confdefs.h. */
15343 #include <X11/Xlib.h>
15344 #include <X11/extensions/Xrandr.h>
15348 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15353 if ac_fn_c_try_compile
"$LINENO"
15356 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15359 as_fn_append wine_notices
"|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15361 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15364 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15366 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15368 case "x$with_xrandr" in
15369 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15371 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15372 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15377 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15379 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15380 /* end confdefs.h. */
15381 #include <X11/Xlib.h>
15382 #include <X11/extensions/Xfixes.h>
15386 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15391 if ac_fn_c_try_compile
"$LINENO"
15393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15394 printf %s
"checking for -lXfixes... " >&6; }
15395 if test ${ac_cv_lib_soname_Xfixes+y}
15397 printf %s
"(cached) " >&6
15399 ac_check_soname_save_LIBS
=$LIBS
15400 LIBS
="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15401 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15402 /* end confdefs.h. */
15404 /* Override any GCC internal prototype to avoid an error.
15405 Use char because int might match the return type of a GCC
15406 builtin and then its argument prototype would still apply. */
15407 char XFixesQueryVersion ();
15411 return XFixesQueryVersion ();
15416 if ac_fn_c_try_link
"$LINENO"
15419 dll
) ac_cv_lib_soname_Xfixes
=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15420 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'` ;;
15421 *) ac_cv_lib_soname_Xfixes
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15422 if ${ac_cv_lib_soname_Xfixes:+false} :
15424 ac_cv_lib_soname_Xfixes
=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15428 ac_cv_lib_soname_Xfixes
=
15430 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15431 conftest
$ac_exeext conftest.
$ac_ext
15432 LIBS
=$ac_check_soname_save_LIBS
15434 if ${ac_cv_lib_soname_Xfixes:+false} :
15436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15437 printf "%s\n" "not found" >&6; }
15440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15441 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15443 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15448 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15450 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15452 case "x$with_xfixes" in
15453 x
) as_fn_append wine_notices
"|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15455 *) as_fn_error $?
"libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15456 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15461 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15463 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15464 /* end confdefs.h. */
15465 #include <X11/Xlib.h>
15466 #include <X11/extensions/Xinerama.h>
15470 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15475 if ac_fn_c_try_compile
"$LINENO"
15477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15478 printf %s
"checking for -lXinerama... " >&6; }
15479 if test ${ac_cv_lib_soname_Xinerama+y}
15481 printf %s
"(cached) " >&6
15483 ac_check_soname_save_LIBS
=$LIBS
15484 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15485 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15486 /* end confdefs.h. */
15488 /* Override any GCC internal prototype to avoid an error.
15489 Use char because int might match the return type of a GCC
15490 builtin and then its argument prototype would still apply. */
15491 char XineramaQueryScreens ();
15495 return XineramaQueryScreens ();
15500 if ac_fn_c_try_link
"$LINENO"
15503 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15504 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'` ;;
15505 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15506 if ${ac_cv_lib_soname_Xinerama:+false} :
15508 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15512 ac_cv_lib_soname_Xinerama
=
15514 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15515 conftest
$ac_exeext conftest.
$ac_ext
15516 LIBS
=$ac_check_soname_save_LIBS
15518 if ${ac_cv_lib_soname_Xinerama:+false} :
15520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15521 printf "%s\n" "not found" >&6; }
15524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15525 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15527 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15532 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15534 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15536 case "x$with_xinerama" in
15537 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15539 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15540 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15545 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15548 printf %s
"checking for -lXcomposite... " >&6; }
15549 if test ${ac_cv_lib_soname_Xcomposite+y}
15551 printf %s
"(cached) " >&6
15553 ac_check_soname_save_LIBS
=$LIBS
15554 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15555 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15556 /* end confdefs.h. */
15558 /* Override any GCC internal prototype to avoid an error.
15559 Use char because int might match the return type of a GCC
15560 builtin and then its argument prototype would still apply. */
15561 char XCompositeRedirectWindow ();
15565 return XCompositeRedirectWindow ();
15570 if ac_fn_c_try_link
"$LINENO"
15573 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15574 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'` ;;
15575 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15576 if ${ac_cv_lib_soname_Xcomposite:+false} :
15578 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15582 ac_cv_lib_soname_Xcomposite
=
15584 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15585 conftest
$ac_exeext conftest.
$ac_ext
15586 LIBS
=$ac_check_soname_save_LIBS
15588 if ${ac_cv_lib_soname_Xcomposite:+false} :
15590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15591 printf "%s\n" "not found" >&6; }
15594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15595 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15597 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15602 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15604 case "x$with_xcomposite" in
15605 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15607 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15608 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15613 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
15614 #include <X11/Xlib.h>
15617 if test "x$ac_cv_member_XICCallback_callback" = xyes
15620 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15624 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15625 #include <X11/Xlib.h>
15628 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15631 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15639 if test "x$with_opengl" != "xno"
15641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15642 printf %s
"checking for -lGL... " >&6; }
15643 if test ${ac_cv_lib_soname_GL+y}
15645 printf %s
"(cached) " >&6
15647 ac_check_soname_save_LIBS
=$LIBS
15648 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15649 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15650 /* end confdefs.h. */
15652 /* Override any GCC internal prototype to avoid an error.
15653 Use char because int might match the return type of a GCC
15654 builtin and then its argument prototype would still apply. */
15655 char glXCreateContext ();
15659 return glXCreateContext ();
15664 if ac_fn_c_try_link
"$LINENO"
15667 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15668 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'` ;;
15669 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15670 if ${ac_cv_lib_soname_GL:+false} :
15672 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15676 ac_cv_lib_soname_GL
=
15678 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15679 conftest
$ac_exeext conftest.
$ac_ext
15680 LIBS
=$ac_check_soname_save_LIBS
15682 if ${ac_cv_lib_soname_GL:+false} :
15684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15685 printf "%s\n" "not found" >&6; }
15686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15687 printf %s
"checking for -lGL... " >&6; }
15688 if test ${ac_cv_lib_soname_GL+y}
15690 printf %s
"(cached) " >&6
15692 ac_check_soname_save_LIBS
=$LIBS
15693 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"
15694 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15695 /* end confdefs.h. */
15697 /* Override any GCC internal prototype to avoid an error.
15698 Use char because int might match the return type of a GCC
15699 builtin and then its argument prototype would still apply. */
15700 char glXCreateContext ();
15704 return glXCreateContext ();
15709 if ac_fn_c_try_link
"$LINENO"
15712 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15713 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'` ;;
15714 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15715 if ${ac_cv_lib_soname_GL:+false} :
15717 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15721 ac_cv_lib_soname_GL
=
15723 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15724 conftest
$ac_exeext conftest.
$ac_ext
15725 LIBS
=$ac_check_soname_save_LIBS
15727 if ${ac_cv_lib_soname_GL:+false} :
15729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15730 printf "%s\n" "not found" >&6; }
15731 if test -f /usr
/X11R
6/lib
/libGL.a
15733 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
15734 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15736 opengl_msg
="No OpenGL library found on this system."
15739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15740 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15742 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15744 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"
15747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15748 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15750 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15754 if test "x$with_osmesa" != "xno"
15756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15757 printf %s
"checking for -lOSMesa... " >&6; }
15758 if test ${ac_cv_lib_soname_OSMesa+y}
15760 printf %s
"(cached) " >&6
15762 ac_check_soname_save_LIBS
=$LIBS
15763 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15764 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15765 /* end confdefs.h. */
15767 /* Override any GCC internal prototype to avoid an error.
15768 Use char because int might match the return type of a GCC
15769 builtin and then its argument prototype would still apply. */
15770 char OSMesaGetProcAddress ();
15774 return OSMesaGetProcAddress ();
15779 if ac_fn_c_try_link
"$LINENO"
15782 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15783 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'` ;;
15784 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15785 if ${ac_cv_lib_soname_OSMesa:+false} :
15787 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15791 ac_cv_lib_soname_OSMesa
=
15793 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15794 conftest
$ac_exeext conftest.
$ac_ext
15795 LIBS
=$ac_check_soname_save_LIBS
15797 if ${ac_cv_lib_soname_OSMesa:+false} :
15799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15800 printf "%s\n" "not found" >&6; }
15803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15804 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15806 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15810 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15812 case "x$with_osmesa" in
15813 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15815 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15816 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15822 if test -n "$opengl_msg"
15824 case "x$with_opengl" in
15825 x
) as_fn_append wine_warnings
"|$opengl_msg
15826 OpenGL and Direct3D won't be supported." ;;
15828 *) as_fn_error $?
"$opengl_msg
15829 OpenGL and Direct3D won't be supported.
15830 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15835 CPPFLAGS
="$ac_save_CPPFLAGS"
15841 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15843 if test "x$X_LIBS" = "x"
15847 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
15848 without X support, which probably isn't what you want. You will need
15849 to install ${notice_platform}development packages of Xlib at the very least.
15850 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15852 enable_winex11_drv
=${enable_winex11_drv:-no}
15855 if test "x$X_LIBS" = "x"
15858 x
) as_fn_append wine_notices
"|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15860 *) as_fn_error $?
"X ${notice_platform}development files not found, the X11 driver won't be supported.
15861 This is an error since --with-x was requested." "$LINENO" 5 ;;
15863 enable_winex11_drv
=${enable_winex11_drv:-no}
15867 if test "$ac_cv_header_CL_cl_h" = "yes"
15869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15870 printf %s
"checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15871 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15873 printf %s
"(cached) " >&6
15875 ac_check_lib_save_LIBS
=$LIBS
15876 LIBS
="-lOpenCL $LIBS"
15877 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15878 /* end confdefs.h. */
15880 /* Override any GCC internal prototype to avoid an error.
15881 Use char because int might match the return type of a GCC
15882 builtin and then its argument prototype would still apply. */
15883 char clGetPlatformInfo ();
15887 return clGetPlatformInfo ();
15892 if ac_fn_c_try_link
"$LINENO"
15894 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
15896 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
15898 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15899 conftest
$ac_exeext conftest.
$ac_ext
15900 LIBS
=$ac_check_lib_save_LIBS
15902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15903 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15904 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15906 OPENCL_LIBS
="-lOpenCL"
15911 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15913 case "x$with_opencl" in
15914 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15916 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15917 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15919 enable_opencl
=${enable_opencl:-no}
15922 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
15925 printf %s
"checking for pcap_create in -lpcap... " >&6; }
15926 if test ${ac_cv_lib_pcap_pcap_create+y}
15928 printf %s
"(cached) " >&6
15930 ac_check_lib_save_LIBS
=$LIBS
15931 LIBS
="-lpcap $LIBS"
15932 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15933 /* end confdefs.h. */
15935 /* Override any GCC internal prototype to avoid an error.
15936 Use char because int might match the return type of a GCC
15937 builtin and then its argument prototype would still apply. */
15938 char pcap_create ();
15942 return pcap_create ();
15947 if ac_fn_c_try_link
"$LINENO"
15949 ac_cv_lib_pcap_pcap_create
=yes
15951 ac_cv_lib_pcap_pcap_create
=no
15953 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15954 conftest
$ac_exeext conftest.
$ac_ext
15955 LIBS
=$ac_check_lib_save_LIBS
15957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
15958 printf "%s\n" "$ac_cv_lib_pcap_pcap_create" >&6; }
15959 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
15966 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
15968 case "x$with_pcap" in
15969 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15971 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
15972 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15974 enable_wpcap
=${enable_wpcap:-no}
15977 if test "x$with_inotify" != "xno"
15979 if ${INOTIFY_CFLAGS:+false} :
15981 if test ${PKG_CONFIG+y}
15983 INOTIFY_CFLAGS
=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
15987 if ${INOTIFY_LIBS:+false} :
15989 if test ${PKG_CONFIG+y}
15991 INOTIFY_LIBS
=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15996 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15997 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15998 ac_save_CPPFLAGS
=$CPPFLAGS
15999 CPPFLAGS
="$CPPFLAGS $INOTIFY_CFLAGS"
16000 ac_fn_c_check_header_compile
"$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
16001 if test "x$ac_cv_header_sys_inotify_h" = xyes
16003 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
16007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
16008 printf %s
"checking for inotify_add_watch in -linotify... " >&6; }
16009 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
16011 printf %s
"(cached) " >&6
16013 ac_check_lib_save_LIBS
=$LIBS
16014 LIBS
="-linotify $INOTIFY_LIBS $LIBS"
16015 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16016 /* end confdefs.h. */
16018 /* Override any GCC internal prototype to avoid an error.
16019 Use char because int might match the return type of a GCC
16020 builtin and then its argument prototype would still apply. */
16021 char inotify_add_watch ();
16025 return inotify_add_watch ();
16030 if ac_fn_c_try_link
"$LINENO"
16032 ac_cv_lib_inotify_inotify_add_watch
=yes
16034 ac_cv_lib_inotify_inotify_add_watch
=no
16036 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16037 conftest
$ac_exeext conftest.
$ac_ext
16038 LIBS
=$ac_check_lib_save_LIBS
16040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
16041 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
16042 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
16049 CPPFLAGS
=$ac_save_CPPFLAGS
16052 if test "$ac_cv_header_sys_inotify_h" != "yes"
16054 case "x$with_inotify" in
16055 x
) as_fn_append wine_notices
"|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
16057 *) as_fn_error $?
"libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
16058 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
16063 if test "x$with_dbus" != "xno"
16065 if ${DBUS_CFLAGS:+false} :
16067 if test ${PKG_CONFIG+y}
16069 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
16073 if ${DBUS_LIBS:+false} :
16075 if test ${PKG_CONFIG+y}
16077 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
16082 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
16083 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
16084 ac_save_CPPFLAGS
=$CPPFLAGS
16085 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
16086 ac_fn_c_check_header_compile
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
16087 if test "x$ac_cv_header_dbus_dbus_h" = xyes
16089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
16090 printf %s
"checking for -ldbus-1... " >&6; }
16091 if test ${ac_cv_lib_soname_dbus_1+y}
16093 printf %s
"(cached) " >&6
16095 ac_check_soname_save_LIBS
=$LIBS
16096 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
16097 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16098 /* end confdefs.h. */
16100 /* Override any GCC internal prototype to avoid an error.
16101 Use char because int might match the return type of a GCC
16102 builtin and then its argument prototype would still apply. */
16103 char dbus_connection_close ();
16107 return dbus_connection_close ();
16112 if ac_fn_c_try_link
"$LINENO"
16115 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16116 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'` ;;
16117 *) 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'`
16118 if ${ac_cv_lib_soname_dbus_1:+false} :
16120 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16124 ac_cv_lib_soname_dbus_1
=
16126 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16127 conftest
$ac_exeext conftest.
$ac_ext
16128 LIBS
=$ac_check_soname_save_LIBS
16130 if ${ac_cv_lib_soname_dbus_1:+false} :
16132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16133 printf "%s\n" "not found" >&6; }
16136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16137 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16139 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16147 CPPFLAGS
=$ac_save_CPPFLAGS
16150 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
16151 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"
16153 case "x$with_dbus" in
16154 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16156 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
16157 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16162 if test "x$with_gnutls" != "xno"
16164 if ${GNUTLS_CFLAGS:+false} :
16166 if test ${PKG_CONFIG+y}
16168 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
16172 if ${GNUTLS_LIBS:+false} :
16174 if test ${PKG_CONFIG+y}
16176 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16180 GNUTLS_LIBS
=${GNUTLS_LIBS:-"-lgnutls"}
16181 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16182 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16183 ac_save_CPPFLAGS
=$CPPFLAGS
16184 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
16185 ac_fn_c_check_header_compile
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16186 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16188 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16189 /* end confdefs.h. */
16190 #include <gnutls/gnutls.h>
16191 #include <gnutls/crypto.h>
16195 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16200 if ac_fn_c_try_compile
"$LINENO"
16202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16203 printf %s
"checking for -lgnutls... " >&6; }
16204 if test ${ac_cv_lib_soname_gnutls+y}
16206 printf %s
"(cached) " >&6
16208 ac_check_soname_save_LIBS
=$LIBS
16209 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
16210 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16211 /* end confdefs.h. */
16213 /* Override any GCC internal prototype to avoid an error.
16214 Use char because int might match the return type of a GCC
16215 builtin and then its argument prototype would still apply. */
16216 char gnutls_global_init ();
16220 return gnutls_global_init ();
16225 if ac_fn_c_try_link
"$LINENO"
16228 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16229 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'` ;;
16230 *) 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'`
16231 if ${ac_cv_lib_soname_gnutls:+false} :
16233 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'`
16237 ac_cv_lib_soname_gnutls
=
16239 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16240 conftest
$ac_exeext conftest.
$ac_ext
16241 LIBS
=$ac_check_soname_save_LIBS
16243 if ${ac_cv_lib_soname_gnutls:+false} :
16245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16246 printf "%s\n" "not found" >&6; }
16249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16250 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16252 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16256 ac_wine_check_funcs_save_LIBS
="$LIBS"
16257 LIBS
="$LIBS $GNUTLS_LIBS"
16259 for ac_func
in gnutls_cipher_init
16261 ac_fn_c_check_func
"$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16262 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16264 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16267 as_fn_append wine_notices
"|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16271 LIBS
="$ac_wine_check_funcs_save_LIBS"
16273 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16278 CPPFLAGS
=$ac_save_CPPFLAGS
16281 if test "x$ac_cv_lib_soname_gnutls" = "x"
16283 case "x$with_gnutls" in
16284 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16286 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
16287 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16292 if test "x$with_sane" != "xno"
16294 if ${SANE_CFLAGS:+false} :
16296 if test ${PKG_CONFIG+y}
16298 SANE_CFLAGS
=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
16301 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16302 if ${SANE_LIBS:+false} :
16304 if test ${PKG_CONFIG+y}
16306 SANE_LIBS
=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16309 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16311 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16312 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16313 ac_save_CPPFLAGS
=$CPPFLAGS
16314 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
16315 ac_fn_c_check_header_compile
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16316 if test "x$ac_cv_header_sane_sane_h" = xyes
16318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16319 printf %s
"checking for sane_init in -lsane... " >&6; }
16320 if test ${ac_cv_lib_sane_sane_init+y}
16322 printf %s
"(cached) " >&6
16324 ac_check_lib_save_LIBS
=$LIBS
16325 LIBS
="-lsane $SANE_LIBS $LIBS"
16326 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16327 /* end confdefs.h. */
16329 /* Override any GCC internal prototype to avoid an error.
16330 Use char because int might match the return type of a GCC
16331 builtin and then its argument prototype would still apply. */
16336 return sane_init ();
16341 if ac_fn_c_try_link
"$LINENO"
16343 ac_cv_lib_sane_sane_init
=yes
16345 ac_cv_lib_sane_sane_init
=no
16347 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16348 conftest
$ac_exeext conftest.
$ac_ext
16349 LIBS
=$ac_check_lib_save_LIBS
16351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16352 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16353 if test "x$ac_cv_lib_sane_sane_init" = xyes
16360 CPPFLAGS
=$ac_save_CPPFLAGS
16363 if test "$ac_cv_lib_sane_sane_init" != "yes"
16365 case "x$with_sane" in
16366 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16368 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
16369 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16371 enable_sane_ds
=${enable_sane_ds:-no}
16374 if test "x$with_usb" != "xno"
16376 if ${USB_CFLAGS:+false} :
16378 if test ${PKG_CONFIG+y}
16380 USB_CFLAGS
=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
16384 if ${USB_LIBS:+false} :
16386 if test ${PKG_CONFIG+y}
16388 USB_LIBS
=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16392 USB_LIBS
=${USB_LIBS:-"-lusb-1.0"}
16393 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16394 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16395 ac_save_CPPFLAGS
=$CPPFLAGS
16396 CPPFLAGS
="$CPPFLAGS $USB_CFLAGS"
16397 ac_fn_c_check_header_compile
"$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16398 if test "x$ac_cv_header_libusb_h" = xyes
16400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16401 printf %s
"checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16402 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16404 printf %s
"(cached) " >&6
16406 ac_check_lib_save_LIBS
=$LIBS
16407 LIBS
="-lusb-1.0 $USB_LIBS $LIBS"
16408 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16409 /* end confdefs.h. */
16411 /* Override any GCC internal prototype to avoid an error.
16412 Use char because int might match the return type of a GCC
16413 builtin and then its argument prototype would still apply. */
16414 char libusb_interrupt_event_handler ();
16418 return libusb_interrupt_event_handler ();
16423 if ac_fn_c_try_link
"$LINENO"
16425 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler
=yes
16427 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler
=no
16429 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16430 conftest
$ac_exeext conftest.
$ac_ext
16431 LIBS
=$ac_check_lib_save_LIBS
16433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16434 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16435 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16446 CPPFLAGS
=$ac_save_CPPFLAGS
16449 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16451 case "x$with_usb" in
16452 x
) as_fn_append wine_notices
"|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16454 *) as_fn_error $?
"libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16455 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16457 enable_wineusb_sys
=${enable_wineusb_sys:-no}
16460 if test "x$with_v4l2" != "xno"
16462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16463 printf %s
"checking for -lv4l2... " >&6; }
16464 if test ${ac_cv_lib_soname_v4l2+y}
16466 printf %s
"(cached) " >&6
16468 ac_check_soname_save_LIBS
=$LIBS
16469 LIBS
="-lv4l2 $LIBS"
16470 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16471 /* end confdefs.h. */
16473 /* Override any GCC internal prototype to avoid an error.
16474 Use char because int might match the return type of a GCC
16475 builtin and then its argument prototype would still apply. */
16480 return v4l2_open ();
16485 if ac_fn_c_try_link
"$LINENO"
16488 dll
) ac_cv_lib_soname_v4l2
=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16489 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'` ;;
16490 *) ac_cv_lib_soname_v4l2
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16491 if ${ac_cv_lib_soname_v4l2:+false} :
16493 ac_cv_lib_soname_v4l2
=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16497 ac_cv_lib_soname_v4l2
=
16499 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16500 conftest
$ac_exeext conftest.
$ac_ext
16501 LIBS
=$ac_check_soname_save_LIBS
16503 if ${ac_cv_lib_soname_v4l2:+false} :
16505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16506 printf "%s\n" "not found" >&6; }
16509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16510 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16512 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16517 if test "x$ac_cv_lib_soname_v4l2" = "x"
16519 case "x$with_v4l2" in
16520 x
) as_fn_append wine_notices
"|libv4l2 ${notice_platform}development files not found." ;;
16522 *) as_fn_error $?
"libv4l2 ${notice_platform}development files not found.
16523 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16528 if test "x$with_gphoto" != "xno"
16530 if ${GPHOTO2_CFLAGS:+false} :
16532 if test ${PKG_CONFIG+y}
16534 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
16537 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16538 if ${GPHOTO2_LIBS:+false} :
16540 if test ${PKG_CONFIG+y}
16542 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16545 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16546 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
16547 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16548 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16549 ac_save_CPPFLAGS
=$CPPFLAGS
16550 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
16551 ac_fn_c_check_header_compile
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16552 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16555 printf %s
"checking for gp_camera_new in -lgphoto2... " >&6; }
16556 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16558 printf %s
"(cached) " >&6
16560 ac_check_lib_save_LIBS
=$LIBS
16561 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16562 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16563 /* end confdefs.h. */
16565 /* Override any GCC internal prototype to avoid an error.
16566 Use char because int might match the return type of a GCC
16567 builtin and then its argument prototype would still apply. */
16568 char gp_camera_new ();
16572 return gp_camera_new ();
16577 if ac_fn_c_try_link
"$LINENO"
16579 ac_cv_lib_gphoto2_gp_camera_new
=yes
16581 ac_cv_lib_gphoto2_gp_camera_new
=no
16583 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16584 conftest
$ac_exeext conftest.
$ac_ext
16585 LIBS
=$ac_check_lib_save_LIBS
16587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16588 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16589 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16596 CPPFLAGS
=$ac_save_CPPFLAGS
16598 if ${GPHOTO2_PORT_CFLAGS:+false} :
16600 if test ${PKG_CONFIG+y}
16602 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
16605 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16606 if ${GPHOTO2_PORT_LIBS:+false} :
16608 if test ${PKG_CONFIG+y}
16610 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16613 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16614 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16615 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16616 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16617 ac_save_CPPFLAGS
=$CPPFLAGS
16618 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16619 ac_fn_c_check_header_compile
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16620 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16623 printf %s
"checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16624 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16626 printf %s
"(cached) " >&6
16628 ac_check_lib_save_LIBS
=$LIBS
16629 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16630 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16631 /* end confdefs.h. */
16633 /* Override any GCC internal prototype to avoid an error.
16634 Use char because int might match the return type of a GCC
16635 builtin and then its argument prototype would still apply. */
16636 char gp_port_info_list_new ();
16640 return gp_port_info_list_new ();
16645 if ac_fn_c_try_link
"$LINENO"
16647 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
16649 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
16651 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16652 conftest
$ac_exeext conftest.
$ac_ext
16653 LIBS
=$ac_check_lib_save_LIBS
16655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16656 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16657 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16660 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16663 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
16667 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
16670 CPPFLAGS
=$ac_save_CPPFLAGS
16673 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16675 case "x$with_gphoto" in
16676 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16678 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16679 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16681 enable_gphoto2_ds
=${enable_gphoto2_ds:-no}
16683 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16685 case "x$with_gphoto" in
16686 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16688 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16689 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16695 if test "$ac_cv_header_resolv_h" = "yes"
16697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16698 printf %s
"checking for resolver library... " >&6; }
16699 if test ${ac_cv_have_resolv+y}
16701 printf %s
"(cached) " >&6
16703 ac_save_LIBS
="$LIBS"
16704 for lib
in '' -lresolv
16706 LIBS
="$lib $ac_save_LIBS"
16707 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16708 /* end confdefs.h. */
16709 #ifdef HAVE_NETINET_IN_H
16710 #include <netinet/in.h>
16712 #include <resolv.h>
16716 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16721 if ac_fn_c_try_link
"$LINENO"
16723 ac_cv_have_resolv
=${lib:-"none required"}
16725 ac_cv_have_resolv
="not found"
16727 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16728 conftest
$ac_exeext conftest.
$ac_ext
16729 test "x$ac_cv_have_resolv" = "xnot found" ||
break
16731 LIBS
="$ac_save_LIBS"
16733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16734 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16736 case "$ac_cv_have_resolv" in
16740 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16743 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16745 RESOLV_LIBS
=$ac_cv_have_resolv
16749 if test "x$ac_cv_have_resolv" != "xnot found"
16751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16752 printf %s
"checking for res_getservers... " >&6; }
16753 if test ${ac_cv_have_res_getservers+y}
16755 printf %s
"(cached) " >&6
16757 ac_save_LIBS
="$LIBS"
16758 LIBS
="$RESOLV_LIBS $LIBS"
16759 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16760 /* end confdefs.h. */
16761 #include <resolv.h>
16765 res_getservers(NULL, NULL, 0);
16770 if ac_fn_c_try_link
"$LINENO"
16772 ac_cv_have_res_getservers
=yes
16774 ac_cv_have_res_getservers
=no
16776 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16777 conftest
$ac_exeext conftest.
$ac_ext
16778 LIBS
="$ac_save_LIBS"
16780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16781 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16782 if test "$ac_cv_have_res_getservers" = "yes"
16785 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16791 if test "x$with_freetype" != "xno"
16793 if ${FREETYPE_CFLAGS:+false} :
16795 if test ${PKG_CONFIG+y}
16797 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
16800 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16801 if ${FREETYPE_LIBS:+false} :
16803 if test ${PKG_CONFIG+y}
16805 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16808 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16809 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
16810 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16811 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16812 ac_save_CPPFLAGS
=$CPPFLAGS
16813 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
16814 ac_fn_c_check_header_compile
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16815 if test "x$ac_cv_header_ft2build_h" = xyes
16817 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16821 if test "$ac_cv_header_ft2build_h" = "yes"
16823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16824 printf %s
"checking for -lfreetype... " >&6; }
16825 if test ${ac_cv_lib_soname_freetype+y}
16827 printf %s
"(cached) " >&6
16829 ac_check_soname_save_LIBS
=$LIBS
16830 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
16831 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16832 /* end confdefs.h. */
16834 /* Override any GCC internal prototype to avoid an error.
16835 Use char because int might match the return type of a GCC
16836 builtin and then its argument prototype would still apply. */
16837 char FT_Init_FreeType ();
16841 return FT_Init_FreeType ();
16846 if ac_fn_c_try_link
"$LINENO"
16849 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16850 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'` ;;
16851 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16852 if ${ac_cv_lib_soname_freetype:+false} :
16854 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16858 ac_cv_lib_soname_freetype
=
16860 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16861 conftest
$ac_exeext conftest.
$ac_ext
16862 LIBS
=$ac_check_soname_save_LIBS
16864 if ${ac_cv_lib_soname_freetype:+false} :
16866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16867 printf "%s\n" "not found" >&6; }
16870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16871 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16873 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16876 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16878 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16879 #include FT_MODULE_H
16881 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16884 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16894 CPPFLAGS
=$ac_save_CPPFLAGS
16897 if test "x$ac_cv_lib_soname_freetype" = x
16899 case "x$with_freetype" in
16901 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
16902 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16904 enable_fonts
=${enable_fonts:-no}
16907 ac_wine_check_funcs_save_LIBS
="$LIBS"
16908 LIBS
="$LIBS $PTHREAD_LIBS"
16909 ac_fn_c_check_func
"$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16910 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16912 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16916 LIBS
="$ac_wine_check_funcs_save_LIBS"
16918 if test "x$enable_tools" != xno
-a "x$with_gettextpo" = xyes
16920 if test "$ac_cv_header_gettext_po_h" = "yes"
16922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16923 printf %s
"checking for po_message_msgctxt in -lgettextpo... " >&6; }
16924 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16926 printf %s
"(cached) " >&6
16928 ac_check_lib_save_LIBS
=$LIBS
16929 LIBS
="-lgettextpo $LIBS"
16930 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16931 /* end confdefs.h. */
16933 /* Override any GCC internal prototype to avoid an error.
16934 Use char because int might match the return type of a GCC
16935 builtin and then its argument prototype would still apply. */
16936 char po_message_msgctxt ();
16940 return po_message_msgctxt ();
16945 if ac_fn_c_try_link
"$LINENO"
16947 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
16949 ac_cv_lib_gettextpo_po_message_msgctxt
=no
16951 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16952 conftest
$ac_exeext conftest.
$ac_ext
16953 LIBS
=$ac_check_lib_save_LIBS
16955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16956 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16957 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16960 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16962 GETTEXTPO_LIBS
="-lgettextpo"
16967 if test "x$GETTEXTPO_LIBS" = "x"
16969 case "x$with_gettextpo" in
16970 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16972 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16973 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16977 if test "$srcdir" != .
16979 case "x$with_gettextpo" in
16980 x
) as_fn_append wine_notices
"|Rebuilding po files is not supported for out of tree builds." ;;
16982 *) as_fn_error $?
"Rebuilding po files is not supported for out of tree builds.
16983 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16989 if test "x$with_pulse" != "xno";
16991 if ${PULSE_CFLAGS:+false} :
16993 if test ${PKG_CONFIG+y}
16995 PULSE_CFLAGS
=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
16999 if ${PULSE_LIBS:+false} :
17001 if test ${PKG_CONFIG+y}
17003 PULSE_LIBS
=`$PKG_CONFIG --libs libpulse 2>/dev/null`
17008 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
17009 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
17010 ac_save_CPPFLAGS
=$CPPFLAGS
17011 CPPFLAGS
="$CPPFLAGS $PULSE_CFLAGS"
17012 for ac_header
in pulse
/pulseaudio.h
17014 ac_fn_c_check_header_compile
"$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
17015 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
17017 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
17018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
17019 printf %s
"checking for pa_stream_is_corked in -lpulse... " >&6; }
17020 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
17022 printf %s
"(cached) " >&6
17024 ac_check_lib_save_LIBS
=$LIBS
17025 LIBS
="-lpulse $PULSE_LIBS $LIBS"
17026 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17027 /* end confdefs.h. */
17029 /* Override any GCC internal prototype to avoid an error.
17030 Use char because int might match the return type of a GCC
17031 builtin and then its argument prototype would still apply. */
17032 char pa_stream_is_corked ();
17036 return pa_stream_is_corked ();
17041 if ac_fn_c_try_link
"$LINENO"
17043 ac_cv_lib_pulse_pa_stream_is_corked
=yes
17045 ac_cv_lib_pulse_pa_stream_is_corked
=no
17047 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17048 conftest
$ac_exeext conftest.
$ac_ext
17049 LIBS
=$ac_check_lib_save_LIBS
17051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
17052 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
17053 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
17065 CPPFLAGS
=$ac_save_CPPFLAGS
17068 if test -z "$PULSE_LIBS"
17070 case "x$with_pulse" in
17071 x
) as_fn_append wine_notices
"|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
17073 *) as_fn_error $?
"libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
17074 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
17076 enable_winepulse_drv
=${enable_winepulse_drv:-no}
17079 if test "x$with_gstreamer" != "xno"
17081 if ${GSTREAMER_CFLAGS:+false} :
17083 if test ${PKG_CONFIG+y}
17085 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
17089 if ${GSTREAMER_LIBS:+false} :
17091 if test ${PKG_CONFIG+y}
17093 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
17098 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
17099 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
17100 ac_save_CPPFLAGS
=$CPPFLAGS
17101 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
17102 ac_fn_c_check_header_compile
"$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
17103 if test "x$ac_cv_header_gst_gst_h" = xyes
17105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
17106 printf %s
"checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
17107 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17108 /* end confdefs.h. */
17109 #include <gst/gst.h>
17113 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17118 if ac_fn_c_try_compile
"$LINENO"
17120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17121 printf "%s\n" "yes" >&6; }
17122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17123 printf %s
"checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17124 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17126 printf %s
"(cached) " >&6
17128 ac_check_lib_save_LIBS
=$LIBS
17129 LIBS
="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17130 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17131 /* end confdefs.h. */
17133 /* Override any GCC internal prototype to avoid an error.
17134 Use char because int might match the return type of a GCC
17135 builtin and then its argument prototype would still apply. */
17136 char gst_pad_new ();
17140 return gst_pad_new ();
17145 if ac_fn_c_try_link
"$LINENO"
17147 ac_cv_lib_gstreamer_1_0_gst_pad_new
=yes
17149 ac_cv_lib_gstreamer_1_0_gst_pad_new
=no
17151 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17152 conftest
$ac_exeext conftest.
$ac_ext
17153 LIBS
=$ac_check_lib_save_LIBS
17155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17156 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17157 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17164 printf "%s\n" "no" >&6; }
17165 ac_glib2_broken
=yes
17166 as_fn_append wine_notices
"|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17168 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17171 CPPFLAGS
=$ac_save_CPPFLAGS
17174 if test "x$ac_glib2_broken" != xyes
-a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17176 case "x$with_gstreamer" in
17177 x
) as_fn_append wine_notices
"|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17179 *) as_fn_error $?
"gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17180 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17182 enable_winegstreamer
=${enable_winegstreamer:-no}
17187 if test "x$with_alsa" != "xno"
17189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17190 printf %s
"checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17191 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17193 printf %s
"(cached) " >&6
17195 ac_check_lib_save_LIBS
=$LIBS
17196 LIBS
="-lasound $LIBS"
17197 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17198 /* end confdefs.h. */
17200 /* Override any GCC internal prototype to avoid an error.
17201 Use char because int might match the return type of a GCC
17202 builtin and then its argument prototype would still apply. */
17203 char snd_pcm_hw_params_get_access_mask ();
17207 return snd_pcm_hw_params_get_access_mask ();
17212 if ac_fn_c_try_link
"$LINENO"
17214 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
17216 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
17218 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17219 conftest
$ac_exeext conftest.
$ac_ext
17220 LIBS
=$ac_check_lib_save_LIBS
17222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17223 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17224 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17226 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17227 /* end confdefs.h. */
17228 #include <alsa/asoundlib.h>
17232 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17237 if ac_fn_c_try_compile
"$LINENO"
17239 ALSA_LIBS
="-lasound"
17241 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17245 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
17247 if test "x$with_oss" != xno
17249 ac_save_CPPFLAGS
="$CPPFLAGS"
17250 if test -f /etc
/oss.conf
17254 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17255 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
17256 ac_fn_c_check_header_compile
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17257 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17259 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17261 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17264 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17266 OSS4_CFLAGS
="$ac_oss_incl"
17268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17269 printf %s
"checking for _oss_ioctl in -lossaudio... " >&6; }
17270 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17272 printf %s
"(cached) " >&6
17274 ac_check_lib_save_LIBS
=$LIBS
17275 LIBS
="-lossaudio $LIBS"
17276 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17277 /* end confdefs.h. */
17279 /* Override any GCC internal prototype to avoid an error.
17280 Use char because int might match the return type of a GCC
17281 builtin and then its argument prototype would still apply. */
17282 char _oss_ioctl ();
17286 return _oss_ioctl ();
17291 if ac_fn_c_try_link
"$LINENO"
17293 ac_cv_lib_ossaudio__oss_ioctl
=yes
17295 ac_cv_lib_ossaudio__oss_ioctl
=no
17297 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17298 conftest
$ac_exeext conftest.
$ac_ext
17299 LIBS
=$ac_check_lib_save_LIBS
17301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17302 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17303 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17305 OSS4_LIBS
="-lossaudio"
17313 CPPFLAGS
="$ac_save_CPPFLAGS"
17315 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17317 case "x$with_oss" in
17318 x
) as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17320 *) as_fn_error $?
"OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17321 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17323 enable_wineoss_drv
=${enable_wineoss_drv:-no}
17326 if test "x$with_udev" != "xno"
17328 if ${UDEV_CFLAGS:+false} :
17330 if test ${PKG_CONFIG+y}
17332 UDEV_CFLAGS
=`$PKG_CONFIG --cflags libudev 2>/dev/null`
17336 if ${UDEV_LIBS:+false} :
17338 if test ${PKG_CONFIG+y}
17340 UDEV_LIBS
=`$PKG_CONFIG --libs libudev 2>/dev/null`
17344 UDEV_LIBS
=${UDEV_LIBS:-"-ludev"}
17345 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17346 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17347 ac_save_CPPFLAGS
=$CPPFLAGS
17348 CPPFLAGS
="$CPPFLAGS $UDEV_CFLAGS"
17349 for ac_header
in libudev.h
17351 ac_fn_c_check_header_compile
"$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17352 if test "x$ac_cv_header_libudev_h" = xyes
17354 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17356 printf %s
"checking for udev_new in -ludev... " >&6; }
17357 if test ${ac_cv_lib_udev_udev_new+y}
17359 printf %s
"(cached) " >&6
17361 ac_check_lib_save_LIBS
=$LIBS
17362 LIBS
="-ludev $UDEV_LIBS $LIBS"
17363 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17364 /* end confdefs.h. */
17366 /* Override any GCC internal prototype to avoid an error.
17367 Use char because int might match the return type of a GCC
17368 builtin and then its argument prototype would still apply. */
17373 return udev_new ();
17378 if ac_fn_c_try_link
"$LINENO"
17380 ac_cv_lib_udev_udev_new
=yes
17382 ac_cv_lib_udev_udev_new
=no
17384 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17385 conftest
$ac_exeext conftest.
$ac_ext
17386 LIBS
=$ac_check_lib_save_LIBS
17388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17389 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17390 if test "x$ac_cv_lib_udev_udev_new" = xyes
17393 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17404 CPPFLAGS
=$ac_save_CPPFLAGS
17407 if test "x$UDEV_LIBS" = "x"
17409 case "x$with_udev" in
17410 x
) as_fn_append wine_notices
"|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17412 *) as_fn_error $?
"libudev ${notice_platform}development files not found, plug and play won't be supported.
17413 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17418 if test "x$with_unwind" != xno
17420 if ${UNWIND_CFLAGS:+false} :
17422 if test ${PKG_CONFIG+y}
17424 UNWIND_CFLAGS
=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
17428 if ${UNWIND_LIBS:+false} :
17430 if test ${PKG_CONFIG+y}
17432 UNWIND_LIBS
=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17436 UNWIND_LIBS
=${UNWIND_LIBS:-"-lunwind"}
17437 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17438 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17439 ac_save_CPPFLAGS
=$CPPFLAGS
17440 CPPFLAGS
="$CPPFLAGS $UNWIND_CFLAGS"
17441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17442 printf %s
"checking for unw_step... " >&6; }
17443 if test ${wine_cv_have_unw_step+y}
17445 printf %s
"(cached) " >&6
17447 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17448 /* end confdefs.h. */
17449 #define UNW_LOCAL_ONLY
17450 #include <libunwind.h>
17454 unw_cursor_t cursor; unw_step( &cursor );
17459 if ac_fn_c_try_link
"$LINENO"
17461 wine_cv_have_unw_step
="yes"
17463 wine_cv_have_unw_step
="no"
17465 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17466 conftest
$ac_exeext conftest.
$ac_ext
17468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17469 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17470 if test "$wine_cv_have_unw_step" = no
-a -n "$UNWIND_LIBS"
17473 UNWIND_LIBS
="-static-libgcc $UNWIND_LIBS"
17474 LIBS
="$UNWIND_LIBS $LIBS"
17475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17476 printf %s
"checking for unw_step in libunwind... " >&6; }
17477 if test ${wine_cv_have_libunwind_unw_step+y}
17479 printf %s
"(cached) " >&6
17481 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17482 /* end confdefs.h. */
17483 #define UNW_LOCAL_ONLY
17484 #include <libunwind.h>
17488 unw_cursor_t cursor; unw_step( &cursor );
17493 if ac_fn_c_try_link
"$LINENO"
17495 wine_cv_have_libunwind_unw_step
="yes"
17497 wine_cv_have_libunwind_unw_step
="no"
17499 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17500 conftest
$ac_exeext conftest.
$ac_ext
17502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17503 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17506 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS
=""
17507 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17510 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17513 CPPFLAGS
=$ac_save_CPPFLAGS
17517 aarch64
*|
*-darwin*)
17518 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17520 case "x$with_unwind" in
17521 x
) as_fn_append wine_notices
"|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17523 *) as_fn_error $?
"libunwind ${notice_platform}development files not found, stack unwinding won't work.
17524 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17530 if test "x$with_sdl" != "xno"
17532 if ${SDL2_CFLAGS:+false} :
17534 if test ${PKG_CONFIG+y}
17536 SDL2_CFLAGS
=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
17540 if ${SDL2_LIBS:+false} :
17542 if test ${PKG_CONFIG+y}
17544 SDL2_LIBS
=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17548 SDL2_LIBS
=${SDL2_LIBS:-"-lSDL2"}
17549 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17550 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17551 ac_save_CPPFLAGS
=$CPPFLAGS
17552 CPPFLAGS
="$CPPFLAGS $SDL2_CFLAGS"
17553 for ac_header
in SDL.h
17555 ac_fn_c_check_header_compile
"$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17556 if test "x$ac_cv_header_SDL_h" = xyes
17558 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17560 printf %s
"checking for -lSDL2... " >&6; }
17561 if test ${ac_cv_lib_soname_SDL2+y}
17563 printf %s
"(cached) " >&6
17565 ac_check_soname_save_LIBS
=$LIBS
17566 LIBS
="-lSDL2 $SDL2_LIBS $LIBS"
17567 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17568 /* end confdefs.h. */
17570 /* Override any GCC internal prototype to avoid an error.
17571 Use char because int might match the return type of a GCC
17572 builtin and then its argument prototype would still apply. */
17577 return SDL_Init ();
17582 if ac_fn_c_try_link
"$LINENO"
17585 dll
) ac_cv_lib_soname_SDL2
=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17586 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'` ;;
17587 *) 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'`
17588 if ${ac_cv_lib_soname_SDL2:+false} :
17590 ac_cv_lib_soname_SDL2
=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17594 ac_cv_lib_soname_SDL2
=
17596 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17597 conftest
$ac_exeext conftest.
$ac_ext
17598 LIBS
=$ac_check_soname_save_LIBS
17600 if ${ac_cv_lib_soname_SDL2:+false} :
17602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17603 printf "%s\n" "not found" >&6; }
17606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17607 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17609 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17616 CPPFLAGS
=$ac_save_CPPFLAGS
17619 if test "x$ac_cv_lib_soname_SDL2" = "x"
17621 case "x$with_sdl" in
17622 x
) as_fn_append wine_notices
"|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17624 *) as_fn_error $?
"libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17625 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17630 if test "x$with_capi" != "xno"
17632 if ${CAPI20_CFLAGS:+false} :
17634 if test ${PKG_CONFIG+y}
17636 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
17640 if ${CAPI20_LIBS:+false} :
17642 if test ${PKG_CONFIG+y}
17644 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
17649 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17650 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17651 ac_save_CPPFLAGS
=$CPPFLAGS
17652 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
17653 ac_fn_c_check_header_compile
"$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17655 if test "x$ac_cv_header_capi20_h" = xyes
17657 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17660 ac_fn_c_check_header_compile
"$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17662 if test "x$ac_cv_header_linux_capi_h" = xyes
17664 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17668 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17671 printf %s
"checking for capi20_register in -lcapi20... " >&6; }
17672 if test ${ac_cv_lib_capi20_capi20_register+y}
17674 printf %s
"(cached) " >&6
17676 ac_check_lib_save_LIBS
=$LIBS
17677 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
17678 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17679 /* end confdefs.h. */
17681 /* Override any GCC internal prototype to avoid an error.
17682 Use char because int might match the return type of a GCC
17683 builtin and then its argument prototype would still apply. */
17684 char capi20_register ();
17688 return capi20_register ();
17693 if ac_fn_c_try_link
"$LINENO"
17695 ac_cv_lib_capi20_capi20_register
=yes
17697 ac_cv_lib_capi20_capi20_register
=no
17699 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17700 conftest
$ac_exeext conftest.
$ac_ext
17701 LIBS
=$ac_check_lib_save_LIBS
17703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17704 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17705 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17713 CPPFLAGS
=$ac_save_CPPFLAGS
17716 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17718 case "x$with_capi" in
17719 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17721 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17722 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17724 enable_capi2032
=${enable_capi2032:-no}
17727 if test "x$with_cups" != "xno"
17729 if ${CUPS_CFLAGS:+false} :
17731 if test ${PKG_CONFIG+y}
17733 CUPS_CFLAGS
=`$PKG_CONFIG --cflags cups 2>/dev/null`
17736 test "$cross_compiling" = yes || CUPS_CFLAGS
=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17737 if ${CUPS_LIBS:+false} :
17739 if test ${PKG_CONFIG+y}
17741 CUPS_LIBS
=`$PKG_CONFIG --libs cups 2>/dev/null`
17744 test "$cross_compiling" = yes || CUPS_LIBS
=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17745 CUPS_LIBS
=${CUPS_LIBS:-"-lcups"}
17746 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17747 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17748 ac_save_CPPFLAGS
=$CPPFLAGS
17749 CPPFLAGS
="$CPPFLAGS $CUPS_CFLAGS"
17750 ac_fn_c_check_header_compile
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17751 if test "x$ac_cv_header_cups_cups_h" = xyes
17753 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17756 ac_fn_c_check_header_compile
"$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17757 if test "x$ac_cv_header_cups_ppd_h" = xyes
17759 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17763 if test "$ac_cv_header_cups_cups_h" = "yes"
17765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17766 printf %s
"checking for -lcups... " >&6; }
17767 if test ${ac_cv_lib_soname_cups+y}
17769 printf %s
"(cached) " >&6
17771 ac_check_soname_save_LIBS
=$LIBS
17772 LIBS
="-lcups $CUPS_LIBS $LIBS"
17773 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17774 /* end confdefs.h. */
17776 /* Override any GCC internal prototype to avoid an error.
17777 Use char because int might match the return type of a GCC
17778 builtin and then its argument prototype would still apply. */
17779 char cupsGetDefault ();
17783 return cupsGetDefault ();
17788 if ac_fn_c_try_link
"$LINENO"
17791 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17792 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'` ;;
17793 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17794 if ${ac_cv_lib_soname_cups:+false} :
17796 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17800 ac_cv_lib_soname_cups
=
17802 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17803 conftest
$ac_exeext conftest.
$ac_ext
17804 LIBS
=$ac_check_soname_save_LIBS
17806 if ${ac_cv_lib_soname_cups:+false} :
17808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17809 printf "%s\n" "not found" >&6; }
17812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17813 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17815 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17823 CPPFLAGS
=$ac_save_CPPFLAGS
17826 if test "x$ac_cv_lib_soname_cups" = "x"
17828 case "x$with_cups" in
17829 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17831 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
17832 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17837 if test "x$with_fontconfig" != "xno"
17839 if ${FONTCONFIG_CFLAGS:+false} :
17841 if test ${PKG_CONFIG+y}
17843 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
17846 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17847 if ${FONTCONFIG_LIBS:+false} :
17849 if test ${PKG_CONFIG+y}
17851 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17854 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
17856 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17857 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17858 ac_save_CPPFLAGS
=$CPPFLAGS
17859 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
17860 ac_fn_c_check_header_compile
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17861 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17863 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17867 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17870 printf %s
"checking for -lfontconfig... " >&6; }
17871 if test ${ac_cv_lib_soname_fontconfig+y}
17873 printf %s
"(cached) " >&6
17875 ac_check_soname_save_LIBS
=$LIBS
17876 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17877 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17878 /* end confdefs.h. */
17880 /* Override any GCC internal prototype to avoid an error.
17881 Use char because int might match the return type of a GCC
17882 builtin and then its argument prototype would still apply. */
17892 if ac_fn_c_try_link
"$LINENO"
17895 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17896 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'` ;;
17897 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17898 if ${ac_cv_lib_soname_fontconfig:+false} :
17900 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17904 ac_cv_lib_soname_fontconfig
=
17906 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17907 conftest
$ac_exeext conftest.
$ac_ext
17908 LIBS
=$ac_check_soname_save_LIBS
17910 if ${ac_cv_lib_soname_fontconfig:+false} :
17912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17913 printf "%s\n" "not found" >&6; }
17914 FONTCONFIG_CFLAGS
=""
17916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17917 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17919 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17924 FONTCONFIG_CFLAGS
=""
17926 CPPFLAGS
=$ac_save_CPPFLAGS
17929 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17931 case "x$with_fontconfig" in
17932 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17934 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17935 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17940 if test "x$with_krb5" != "xno"
17942 if ${KRB5_CFLAGS:+false} :
17944 if test ${PKG_CONFIG+y}
17946 KRB5_CFLAGS
=`$PKG_CONFIG --cflags krb5 2>/dev/null`
17949 test "$cross_compiling" = yes || KRB5_CFLAGS
=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17950 if ${KRB5_LIBS:+false} :
17952 if test ${PKG_CONFIG+y}
17954 KRB5_LIBS
=`$PKG_CONFIG --libs krb5 2>/dev/null`
17957 test "$cross_compiling" = yes || KRB5_LIBS
=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17959 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17960 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17961 ac_save_CPPFLAGS
=$CPPFLAGS
17962 CPPFLAGS
="$CPPFLAGS $KRB5_CFLAGS"
17963 ac_fn_c_check_header_compile
"$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17964 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17966 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17970 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17973 printf %s
"checking for -lkrb5... " >&6; }
17974 if test ${ac_cv_lib_soname_krb5+y}
17976 printf %s
"(cached) " >&6
17978 ac_check_soname_save_LIBS
=$LIBS
17979 LIBS
="-lkrb5 $KRB5_LIBS $LIBS"
17980 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17981 /* end confdefs.h. */
17983 /* Override any GCC internal prototype to avoid an error.
17984 Use char because int might match the return type of a GCC
17985 builtin and then its argument prototype would still apply. */
17986 char krb5_is_config_principal ();
17990 return krb5_is_config_principal ();
17995 if ac_fn_c_try_link
"$LINENO"
17998 dll
) ac_cv_lib_soname_krb5
=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17999 dylib
) ac_cv_lib_soname_krb5
=`$OTOOL -L conftest$ac_exeext | grep "libkrb5\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libkrb5\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
18000 *) ac_cv_lib_soname_krb5
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18001 if ${ac_cv_lib_soname_krb5:+false} :
18003 ac_cv_lib_soname_krb5
=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18007 ac_cv_lib_soname_krb5
=
18009 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18010 conftest
$ac_exeext conftest.
$ac_ext
18011 LIBS
=$ac_check_soname_save_LIBS
18013 if ${ac_cv_lib_soname_krb5:+false} :
18015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18016 printf "%s\n" "not found" >&6; }
18019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
18020 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
18022 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
18029 CPPFLAGS
=$ac_save_CPPFLAGS
18032 if test "x$ac_cv_lib_soname_krb5" = "x"
18034 case "x$with_krb5" in
18035 x
) as_fn_append wine_notices
"|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
18037 *) as_fn_error $?
"libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
18038 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
18042 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi
=${with_gssapi:-no}
18044 if test "x$with_gssapi" != "xno"
18046 if ${GSSAPI_CFLAGS:+false} :
18048 if test ${PKG_CONFIG+y}
18050 GSSAPI_CFLAGS
=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
18053 test "$cross_compiling" = yes || GSSAPI_CFLAGS
=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
18054 if ${GSSAPI_LIBS:+false} :
18056 if test ${PKG_CONFIG+y}
18058 GSSAPI_LIBS
=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
18061 test "$cross_compiling" = yes || GSSAPI_LIBS
=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
18063 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
18064 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
18065 ac_save_CPPFLAGS
=$CPPFLAGS
18066 CPPFLAGS
="$CPPFLAGS $GSSAPI_CFLAGS"
18067 ac_fn_c_check_header_compile
"$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
18068 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
18070 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
18073 ac_fn_c_check_header_compile
"$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
18074 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
18076 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
18080 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
18082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
18083 printf %s
"checking for -lgssapi_krb5... " >&6; }
18084 if test ${ac_cv_lib_soname_gssapi_krb5+y}
18086 printf %s
"(cached) " >&6
18088 ac_check_soname_save_LIBS
=$LIBS
18089 LIBS
="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
18090 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18091 /* end confdefs.h. */
18093 /* Override any GCC internal prototype to avoid an error.
18094 Use char because int might match the return type of a GCC
18095 builtin and then its argument prototype would still apply. */
18096 char gss_init_sec_context ();
18100 return gss_init_sec_context ();
18105 if ac_fn_c_try_link
"$LINENO"
18108 dll
) ac_cv_lib_soname_gssapi_krb5
=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18109 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'` ;;
18110 *) 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'`
18111 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18113 ac_cv_lib_soname_gssapi_krb5
=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18117 ac_cv_lib_soname_gssapi_krb5
=
18119 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18120 conftest
$ac_exeext conftest.
$ac_ext
18121 LIBS
=$ac_check_soname_save_LIBS
18123 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18126 printf "%s\n" "not found" >&6; }
18129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18130 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18132 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18139 CPPFLAGS
=$ac_save_CPPFLAGS
18142 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18144 case "x$with_gssapi" in
18145 x
) as_fn_append wine_notices
"|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18147 *) as_fn_error $?
"libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18148 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18153 if test "$ac_cv_header_libprocstat_h" = "yes"
18155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18156 printf %s
"checking for procstat_open_sysctl in -lprocstat... " >&6; }
18157 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18159 printf %s
"(cached) " >&6
18161 ac_check_lib_save_LIBS
=$LIBS
18162 LIBS
="-lprocstat $LIBS"
18163 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18164 /* end confdefs.h. */
18166 /* Override any GCC internal prototype to avoid an error.
18167 Use char because int might match the return type of a GCC
18168 builtin and then its argument prototype would still apply. */
18169 char procstat_open_sysctl ();
18173 return procstat_open_sysctl ();
18178 if ac_fn_c_try_link
"$LINENO"
18180 ac_cv_lib_procstat_procstat_open_sysctl
=yes
18182 ac_cv_lib_procstat_procstat_open_sysctl
=no
18184 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18185 conftest
$ac_exeext conftest.
$ac_ext
18186 LIBS
=$ac_check_lib_save_LIBS
18188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18189 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18190 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18193 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18195 PROCSTAT_LIBS
="-lprocstat"
18201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18202 printf %s
"checking for -lodbc... " >&6; }
18203 if test ${ac_cv_lib_soname_odbc+y}
18205 printf %s
"(cached) " >&6
18207 ac_check_soname_save_LIBS
=$LIBS
18208 LIBS
="-lodbc $LIBS"
18209 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18210 /* end confdefs.h. */
18212 /* Override any GCC internal prototype to avoid an error.
18213 Use char because int might match the return type of a GCC
18214 builtin and then its argument prototype would still apply. */
18215 char SQLConnect ();
18219 return SQLConnect ();
18224 if ac_fn_c_try_link
"$LINENO"
18227 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18228 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'` ;;
18229 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18230 if ${ac_cv_lib_soname_odbc:+false} :
18232 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18236 ac_cv_lib_soname_odbc
=
18238 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18239 conftest
$ac_exeext conftest.
$ac_ext
18240 LIBS
=$ac_check_soname_save_LIBS
18242 if ${ac_cv_lib_soname_odbc:+false} :
18244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18245 printf "%s\n" "not found" >&6; }
18246 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18250 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18252 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18257 if test "x$with_netapi" != "xno"
18259 if ${NETAPI_CFLAGS:+false} :
18261 if test ${PKG_CONFIG+y}
18263 NETAPI_CFLAGS
=`$PKG_CONFIG --cflags netapi 2>/dev/null`
18267 if ${NETAPI_LIBS:+false} :
18269 if test ${PKG_CONFIG+y}
18271 NETAPI_LIBS
=`$PKG_CONFIG --libs netapi 2>/dev/null`
18276 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18277 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18278 ac_save_CPPFLAGS
=$CPPFLAGS
18279 CPPFLAGS
="$CPPFLAGS $NETAPI_CFLAGS"
18280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18281 printf %s
"checking for -lnetapi... " >&6; }
18282 if test ${ac_cv_lib_soname_netapi+y}
18284 printf %s
"(cached) " >&6
18286 ac_check_soname_save_LIBS
=$LIBS
18287 LIBS
="-lnetapi $NETAPI_LIBS $LIBS"
18288 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18289 /* end confdefs.h. */
18291 /* Override any GCC internal prototype to avoid an error.
18292 Use char because int might match the return type of a GCC
18293 builtin and then its argument prototype would still apply. */
18294 char libnetapi_init ();
18298 return libnetapi_init ();
18303 if ac_fn_c_try_link
"$LINENO"
18306 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18307 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'` ;;
18308 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18309 if ${ac_cv_lib_soname_netapi:+false} :
18311 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18315 ac_cv_lib_soname_netapi
=
18317 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18318 conftest
$ac_exeext conftest.
$ac_ext
18319 LIBS
=$ac_check_soname_save_LIBS
18321 if ${ac_cv_lib_soname_netapi:+false} :
18323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18324 printf "%s\n" "not found" >&6; }
18325 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18329 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18331 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18335 CPPFLAGS
=$ac_save_CPPFLAGS
18338 if test "x$ac_cv_lib_soname_netapi" = "x"
18340 case "x$with_netapi" in
18341 x
) as_fn_append wine_notices
"|libnetapi not found, Samba NetAPI won't be supported." ;;
18343 *) as_fn_error $?
"libnetapi not found, Samba NetAPI won't be supported.
18344 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18346 enable_netapi
=${enable_netapi:-no}
18350 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono
-a \
18351 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18353 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
18356 if test "x$with_vulkan" != "xno"
18358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18359 printf %s
"checking for -lvulkan... " >&6; }
18360 if test ${ac_cv_lib_soname_vulkan+y}
18362 printf %s
"(cached) " >&6
18364 ac_check_soname_save_LIBS
=$LIBS
18365 LIBS
="-lvulkan $LIBS"
18366 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18367 /* end confdefs.h. */
18369 /* Override any GCC internal prototype to avoid an error.
18370 Use char because int might match the return type of a GCC
18371 builtin and then its argument prototype would still apply. */
18372 char vkGetInstanceProcAddr ();
18376 return vkGetInstanceProcAddr ();
18381 if ac_fn_c_try_link
"$LINENO"
18384 dll
) ac_cv_lib_soname_vulkan
=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18385 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'` ;;
18386 *) ac_cv_lib_soname_vulkan
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18387 if ${ac_cv_lib_soname_vulkan:+false} :
18389 ac_cv_lib_soname_vulkan
=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18393 ac_cv_lib_soname_vulkan
=
18395 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18396 conftest
$ac_exeext conftest.
$ac_ext
18397 LIBS
=$ac_check_soname_save_LIBS
18399 if ${ac_cv_lib_soname_vulkan:+false} :
18401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18402 printf "%s\n" "not found" >&6; }
18405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18406 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18408 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18412 if test "x$ac_cv_lib_soname_vulkan" = "x"
18414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18415 printf %s
"checking for -lMoltenVK... " >&6; }
18416 if test ${ac_cv_lib_soname_MoltenVK+y}
18418 printf %s
"(cached) " >&6
18420 ac_check_soname_save_LIBS
=$LIBS
18421 LIBS
="-lMoltenVK $LIBS"
18422 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18423 /* end confdefs.h. */
18425 /* Override any GCC internal prototype to avoid an error.
18426 Use char because int might match the return type of a GCC
18427 builtin and then its argument prototype would still apply. */
18428 char vkGetInstanceProcAddr ();
18432 return vkGetInstanceProcAddr ();
18437 if ac_fn_c_try_link
"$LINENO"
18440 dll
) ac_cv_lib_soname_MoltenVK
=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18441 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'` ;;
18442 *) ac_cv_lib_soname_MoltenVK
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18443 if ${ac_cv_lib_soname_MoltenVK:+false} :
18445 ac_cv_lib_soname_MoltenVK
=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18449 ac_cv_lib_soname_MoltenVK
=
18451 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18452 conftest
$ac_exeext conftest.
$ac_ext
18453 LIBS
=$ac_check_soname_save_LIBS
18455 if ${ac_cv_lib_soname_MoltenVK:+false} :
18457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18458 printf "%s\n" "not found" >&6; }
18461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18462 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18464 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18470 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18472 case "x$with_vulkan" in
18473 x
) as_fn_append wine_notices
"|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18475 *) as_fn_error $?
"libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18476 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18482 if test "x${GCC}" = "xyes"
18484 EXTRACFLAGS
="$EXTRACFLAGS -Wall -pipe"
18486 saved_CFLAGS
=$CFLAGS
18487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18488 printf %s
"checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18489 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18491 printf %s
"(cached) " >&6
18493 ac_wine_try_cflags_saved
=$CFLAGS
18494 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
18495 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18496 /* end confdefs.h. */
18497 int main(int argc, char **argv) { return 0; }
18499 if ac_fn_c_try_link
"$LINENO"
18501 ac_cv_cflags__Werror_unknown_warning_option
=yes
18503 ac_cv_cflags__Werror_unknown_warning_option
=no
18505 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18506 conftest
$ac_exeext conftest.
$ac_ext
18507 CFLAGS
=$ac_wine_try_cflags_saved
18509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18510 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18511 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18513 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
18515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18516 printf %s
"checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18517 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18519 printf %s
"(cached) " >&6
18521 ac_wine_try_cflags_saved
=$CFLAGS
18522 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
18523 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18524 /* end confdefs.h. */
18525 int main(int argc, char **argv) { return 0; }
18527 if ac_fn_c_try_link
"$LINENO"
18529 ac_cv_cflags__Werror_unused_command_line_argument
=yes
18531 ac_cv_cflags__Werror_unused_command_line_argument
=no
18533 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18534 conftest
$ac_exeext conftest.
$ac_ext
18535 CFLAGS
=$ac_wine_try_cflags_saved
18537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18538 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18539 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18541 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
18543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18544 printf %s
"checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18545 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18547 printf %s
"(cached) " >&6
18549 ac_wine_try_cflags_saved
=$CFLAGS
18550 CFLAGS
="$CFLAGS -Werror=ignored-optimization-argument"
18551 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18552 /* end confdefs.h. */
18553 int main(int argc, char **argv) { return 0; }
18555 if ac_fn_c_try_link
"$LINENO"
18557 ac_cv_cflags__Werror_ignored_optimization_argument
=yes
18559 ac_cv_cflags__Werror_ignored_optimization_argument
=no
18561 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18562 conftest
$ac_exeext conftest.
$ac_ext
18563 CFLAGS
=$ac_wine_try_cflags_saved
18565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18566 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18567 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18569 CFLAGS
="$CFLAGS -Werror=ignored-optimization-argument"
18571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18572 printf %s
"checking whether the compiler supports -fcf-protection=none... " >&6; }
18573 if test ${ac_cv_cflags__fcf_protection_none+y}
18575 printf %s
"(cached) " >&6
18577 ac_wine_try_cflags_saved
=$CFLAGS
18578 CFLAGS
="$CFLAGS -fcf-protection=none"
18579 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18580 /* end confdefs.h. */
18581 int main(int argc, char **argv) { return 0; }
18583 if ac_fn_c_try_link
"$LINENO"
18585 ac_cv_cflags__fcf_protection_none
=yes
18587 ac_cv_cflags__fcf_protection_none
=no
18589 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18590 conftest
$ac_exeext conftest.
$ac_ext
18591 CFLAGS
=$ac_wine_try_cflags_saved
18593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18594 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18595 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18597 EXTRACFLAGS
="$EXTRACFLAGS -fcf-protection=none"
18599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18600 printf %s
"checking whether the compiler supports -fno-stack-protector... " >&6; }
18601 if test ${ac_cv_cflags__fno_stack_protector+y}
18603 printf %s
"(cached) " >&6
18605 ac_wine_try_cflags_saved
=$CFLAGS
18606 CFLAGS
="$CFLAGS -fno-stack-protector"
18607 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18608 /* end confdefs.h. */
18609 int main(int argc, char **argv) { return 0; }
18611 if ac_fn_c_try_link
"$LINENO"
18613 ac_cv_cflags__fno_stack_protector
=yes
18615 ac_cv_cflags__fno_stack_protector
=no
18617 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18618 conftest
$ac_exeext conftest.
$ac_ext
18619 CFLAGS
=$ac_wine_try_cflags_saved
18621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18622 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18623 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18625 EXTRACFLAGS
="$EXTRACFLAGS -fno-stack-protector"
18627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18628 printf %s
"checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18629 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18631 printf %s
"(cached) " >&6
18633 ac_wine_try_cflags_saved
=$CFLAGS
18634 CFLAGS
="$CFLAGS -fno-strict-aliasing"
18635 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18636 /* end confdefs.h. */
18637 int main(int argc, char **argv) { return 0; }
18639 if ac_fn_c_try_link
"$LINENO"
18641 ac_cv_cflags__fno_strict_aliasing
=yes
18643 ac_cv_cflags__fno_strict_aliasing
=no
18645 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18646 conftest
$ac_exeext conftest.
$ac_ext
18647 CFLAGS
=$ac_wine_try_cflags_saved
18649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18650 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18651 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18653 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
18655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18656 printf %s
"checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18657 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18659 printf %s
"(cached) " >&6
18661 ac_wine_try_cflags_saved
=$CFLAGS
18662 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
18663 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18664 /* end confdefs.h. */
18665 int main(int argc, char **argv) { return 0; }
18667 if ac_fn_c_try_link
"$LINENO"
18669 ac_cv_cflags__Wdeclaration_after_statement
=yes
18671 ac_cv_cflags__Wdeclaration_after_statement
=no
18673 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18674 conftest
$ac_exeext conftest.
$ac_ext
18675 CFLAGS
=$ac_wine_try_cflags_saved
18677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18678 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18679 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18681 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
18683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18684 printf %s
"checking whether the compiler supports -Wempty-body... " >&6; }
18685 if test ${ac_cv_cflags__Wempty_body+y}
18687 printf %s
"(cached) " >&6
18689 ac_wine_try_cflags_saved
=$CFLAGS
18690 CFLAGS
="$CFLAGS -Wempty-body"
18691 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18692 /* end confdefs.h. */
18693 int main(int argc, char **argv) { return 0; }
18695 if ac_fn_c_try_link
"$LINENO"
18697 ac_cv_cflags__Wempty_body
=yes
18699 ac_cv_cflags__Wempty_body
=no
18701 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18702 conftest
$ac_exeext conftest.
$ac_ext
18703 CFLAGS
=$ac_wine_try_cflags_saved
18705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18706 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18707 if test "x$ac_cv_cflags__Wempty_body" = xyes
18709 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
18711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18712 printf %s
"checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18713 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18715 printf %s
"(cached) " >&6
18717 ac_wine_try_cflags_saved
=$CFLAGS
18718 CFLAGS
="$CFLAGS -Wignored-qualifiers"
18719 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18720 /* end confdefs.h. */
18721 int main(int argc, char **argv) { return 0; }
18723 if ac_fn_c_try_link
"$LINENO"
18725 ac_cv_cflags__Wignored_qualifiers
=yes
18727 ac_cv_cflags__Wignored_qualifiers
=no
18729 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18730 conftest
$ac_exeext conftest.
$ac_ext
18731 CFLAGS
=$ac_wine_try_cflags_saved
18733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18734 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18735 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18737 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
18739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18740 printf %s
"checking whether the compiler supports -Winit-self... " >&6; }
18741 if test ${ac_cv_cflags__Winit_self+y}
18743 printf %s
"(cached) " >&6
18745 ac_wine_try_cflags_saved
=$CFLAGS
18746 CFLAGS
="$CFLAGS -Winit-self"
18747 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18748 /* end confdefs.h. */
18749 int main(int argc, char **argv) { return 0; }
18751 if ac_fn_c_try_link
"$LINENO"
18753 ac_cv_cflags__Winit_self
=yes
18755 ac_cv_cflags__Winit_self
=no
18757 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18758 conftest
$ac_exeext conftest.
$ac_ext
18759 CFLAGS
=$ac_wine_try_cflags_saved
18761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18762 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18763 if test "x$ac_cv_cflags__Winit_self" = xyes
18765 EXTRACFLAGS
="$EXTRACFLAGS -Winit-self"
18767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18768 printf %s
"checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18769 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18771 printf %s
"(cached) " >&6
18773 ac_wine_try_cflags_saved
=$CFLAGS
18774 CFLAGS
="$CFLAGS -Wpacked-not-aligned"
18775 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18776 /* end confdefs.h. */
18777 int main(int argc, char **argv) { return 0; }
18779 if ac_fn_c_try_link
"$LINENO"
18781 ac_cv_cflags__Wpacked_not_aligned
=yes
18783 ac_cv_cflags__Wpacked_not_aligned
=no
18785 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18786 conftest
$ac_exeext conftest.
$ac_ext
18787 CFLAGS
=$ac_wine_try_cflags_saved
18789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18790 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18791 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18793 EXTRACFLAGS
="$EXTRACFLAGS -Wno-packed-not-aligned"
18795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18796 printf %s
"checking whether the compiler supports -Wpragma-pack... " >&6; }
18797 if test ${ac_cv_cflags__Wpragma_pack+y}
18799 printf %s
"(cached) " >&6
18801 ac_wine_try_cflags_saved
=$CFLAGS
18802 CFLAGS
="$CFLAGS -Wpragma-pack"
18803 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18804 /* end confdefs.h. */
18805 int main(int argc, char **argv) { return 0; }
18807 if ac_fn_c_try_link
"$LINENO"
18809 ac_cv_cflags__Wpragma_pack
=yes
18811 ac_cv_cflags__Wpragma_pack
=no
18813 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18814 conftest
$ac_exeext conftest.
$ac_ext
18815 CFLAGS
=$ac_wine_try_cflags_saved
18817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18818 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18819 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18821 EXTRACFLAGS
="$EXTRACFLAGS -Wno-pragma-pack"
18823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18824 printf %s
"checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18825 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18827 printf %s
"(cached) " >&6
18829 ac_wine_try_cflags_saved
=$CFLAGS
18830 CFLAGS
="$CFLAGS -Wshift-overflow=2"
18831 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18832 /* end confdefs.h. */
18833 int main(int argc, char **argv) { return 0; }
18835 if ac_fn_c_try_link
"$LINENO"
18837 ac_cv_cflags__Wshift_overflow_2
=yes
18839 ac_cv_cflags__Wshift_overflow_2
=no
18841 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18842 conftest
$ac_exeext conftest.
$ac_ext
18843 CFLAGS
=$ac_wine_try_cflags_saved
18845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18846 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18847 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18849 EXTRACFLAGS
="$EXTRACFLAGS -Wshift-overflow=2"
18851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18852 printf %s
"checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18853 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18855 printf %s
"(cached) " >&6
18857 ac_wine_try_cflags_saved
=$CFLAGS
18858 CFLAGS
="$CFLAGS -Wstrict-prototypes"
18859 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18860 /* end confdefs.h. */
18861 int main(int argc, char **argv) { return 0; }
18863 if ac_fn_c_try_link
"$LINENO"
18865 ac_cv_cflags__Wstrict_prototypes
=yes
18867 ac_cv_cflags__Wstrict_prototypes
=no
18869 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18870 conftest
$ac_exeext conftest.
$ac_ext
18871 CFLAGS
=$ac_wine_try_cflags_saved
18873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18874 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18875 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18877 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
18879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18880 printf %s
"checking whether the compiler supports -Wtype-limits... " >&6; }
18881 if test ${ac_cv_cflags__Wtype_limits+y}
18883 printf %s
"(cached) " >&6
18885 ac_wine_try_cflags_saved
=$CFLAGS
18886 CFLAGS
="$CFLAGS -Wtype-limits"
18887 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18888 /* end confdefs.h. */
18889 int main(int argc, char **argv) { return 0; }
18891 if ac_fn_c_try_link
"$LINENO"
18893 ac_cv_cflags__Wtype_limits
=yes
18895 ac_cv_cflags__Wtype_limits
=no
18897 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18898 conftest
$ac_exeext conftest.
$ac_ext
18899 CFLAGS
=$ac_wine_try_cflags_saved
18901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18902 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18903 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18905 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
18907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18908 printf %s
"checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18909 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18911 printf %s
"(cached) " >&6
18913 ac_wine_try_cflags_saved
=$CFLAGS
18914 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
18915 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18916 /* end confdefs.h. */
18917 int main(int argc, char **argv) { return 0; }
18919 if ac_fn_c_try_link
"$LINENO"
18921 ac_cv_cflags__Wunused_but_set_parameter
=yes
18923 ac_cv_cflags__Wunused_but_set_parameter
=no
18925 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18926 conftest
$ac_exeext conftest.
$ac_ext
18927 CFLAGS
=$ac_wine_try_cflags_saved
18929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
18930 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
18931 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
18933 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
18935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
18936 printf %s
"checking whether the compiler supports -Wvla... " >&6; }
18937 if test ${ac_cv_cflags__Wvla+y}
18939 printf %s
"(cached) " >&6
18941 ac_wine_try_cflags_saved
=$CFLAGS
18942 CFLAGS
="$CFLAGS -Wvla"
18943 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18944 /* end confdefs.h. */
18945 int main(int argc, char **argv) { return 0; }
18947 if ac_fn_c_try_link
"$LINENO"
18949 ac_cv_cflags__Wvla
=yes
18951 ac_cv_cflags__Wvla
=no
18953 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18954 conftest
$ac_exeext conftest.
$ac_ext
18955 CFLAGS
=$ac_wine_try_cflags_saved
18957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
18958 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
18959 if test "x$ac_cv_cflags__Wvla" = xyes
18961 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
18963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
18964 printf %s
"checking whether the compiler supports -Wwrite-strings... " >&6; }
18965 if test ${ac_cv_cflags__Wwrite_strings+y}
18967 printf %s
"(cached) " >&6
18969 ac_wine_try_cflags_saved
=$CFLAGS
18970 CFLAGS
="$CFLAGS -Wwrite-strings"
18971 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18972 /* end confdefs.h. */
18973 int main(int argc, char **argv) { return 0; }
18975 if ac_fn_c_try_link
"$LINENO"
18977 ac_cv_cflags__Wwrite_strings
=yes
18979 ac_cv_cflags__Wwrite_strings
=no
18981 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18982 conftest
$ac_exeext conftest.
$ac_ext
18983 CFLAGS
=$ac_wine_try_cflags_saved
18985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
18986 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
18987 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
18989 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
18992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
18993 printf %s
"checking whether the compiler supports -Wpointer-arith... " >&6; }
18994 if test ${ac_cv_cflags__Wpointer_arith+y}
18996 printf %s
"(cached) " >&6
18998 ac_wine_try_cflags_saved
=$CFLAGS
18999 CFLAGS
="$CFLAGS -Wpointer-arith"
19000 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19001 /* end confdefs.h. */
19002 int main(int argc, char **argv) { return 0; }
19004 if ac_fn_c_try_link
"$LINENO"
19006 ac_cv_cflags__Wpointer_arith
=yes
19008 ac_cv_cflags__Wpointer_arith
=no
19010 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19011 conftest
$ac_exeext conftest.
$ac_ext
19012 CFLAGS
=$ac_wine_try_cflags_saved
19014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
19015 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19016 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19018 saved_string_h_CFLAGS
=$CFLAGS
19019 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
19020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19021 printf %s
"checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19022 if test ${ac_cv_c_string_h_warnings+y}
19024 printf %s
"(cached) " >&6
19026 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19027 /* end confdefs.h. */
19028 #include <string.h>
19037 if ac_fn_c_try_compile
"$LINENO"
19039 ac_cv_c_string_h_warnings
=no
19041 ac_cv_c_string_h_warnings
=yes
19043 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19046 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19047 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
19048 CFLAGS
=$saved_string_h_CFLAGS
19051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19052 printf %s
"checking whether the compiler supports -Wlogical-op... " >&6; }
19053 if test ${ac_cv_cflags__Wlogical_op+y}
19055 printf %s
"(cached) " >&6
19057 ac_wine_try_cflags_saved
=$CFLAGS
19058 CFLAGS
="$CFLAGS -Wlogical-op"
19059 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19060 /* end confdefs.h. */
19061 int main(int argc, char **argv) { return 0; }
19063 if ac_fn_c_try_link
"$LINENO"
19065 ac_cv_cflags__Wlogical_op
=yes
19067 ac_cv_cflags__Wlogical_op
=no
19069 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19070 conftest
$ac_exeext conftest.
$ac_ext
19071 CFLAGS
=$ac_wine_try_cflags_saved
19073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19074 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19075 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19077 saved_string_h_CFLAGS
=$CFLAGS
19078 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
19079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19080 printf %s
"checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19081 if test ${ac_cv_c_logicalop_noisy+y}
19083 printf %s
"(cached) " >&6
19085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19086 /* end confdefs.h. */
19087 #include <string.h>
19088 char*f(const char *h,char n) {return strchr(h,n);}
19097 if ac_fn_c_try_compile
"$LINENO"
19099 ac_cv_c_logicalop_noisy
=no
19101 ac_cv_c_logicalop_noisy
=yes
19103 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19106 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19107 CFLAGS
=$saved_string_h_CFLAGS
19108 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
19111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19112 printf %s
"checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19113 if test ${wine_cv_64bit_compare_swap+y}
19115 printf %s
"(cached) " >&6
19117 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19118 /* end confdefs.h. */
19119 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19130 if ac_fn_c_try_compile
"$LINENO"
19132 wine_cv_64bit_compare_swap
="none needed"
19135 *i
[3456]86*) wine_cv_64bit_compare_swap
="-march=i586" ;;
19136 *arm
*) wine_cv_64bit_compare_swap
="-march=armv7-a" ;;
19137 *) wine_cv_64bit_compare_swap
="unknown" ;;
19139 if test "x$wine_cv_64bit_compare_swap" != xunknown
19141 CFLAGS
="$CFLAGS $wine_cv_64bit_compare_swap"
19142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19143 /* end confdefs.h. */
19144 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19155 if ac_fn_c_try_compile
"$LINENO"
19159 wine_cv_64bit_compare_swap
="unknown"
19161 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19162 CFLAGS
=$saved_CFLAGS
19165 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19168 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19169 case "$wine_cv_64bit_compare_swap" in
19170 unknown
) as_fn_error $?
"gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19172 *) EXTRACFLAGS
="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19175 ac_debug_format_seen
=""
19176 for ac_flag
in $CFLAGS; do
19178 -gdwarf*) ac_debug_format_seen
=yes ;;
19179 -g) ac_debug_format_seen
=${ac_debug_format_seen:-default} ;;
19182 if test "x$ac_debug_format_seen" = xdefault
19184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19185 printf %s
"checking whether the compiler supports -gdwarf-4... " >&6; }
19186 if test ${ac_cv_cflags__gdwarf_4+y}
19188 printf %s
"(cached) " >&6
19190 ac_wine_try_cflags_saved
=$CFLAGS
19191 CFLAGS
="$CFLAGS -gdwarf-4"
19192 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19193 /* end confdefs.h. */
19194 int main(int argc, char **argv) { return 0; }
19196 if ac_fn_c_try_link
"$LINENO"
19198 ac_cv_cflags__gdwarf_4
=yes
19200 ac_cv_cflags__gdwarf_4
=no
19202 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19203 conftest
$ac_exeext conftest.
$ac_ext
19204 CFLAGS
=$ac_wine_try_cflags_saved
19206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19207 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19208 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19210 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-4"
19217 mingw32
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19218 printf %s
"checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19219 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19221 printf %s
"(cached) " >&6
19223 ac_wine_try_cflags_saved
=$CFLAGS
19224 CFLAGS
="$CFLAGS -Wl,-delayload,autoconftest.dll"
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__Wl__delayload_autoconftest_dll
=yes
19233 ac_cv_cflags__Wl__delayload_autoconftest_dll
=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__Wl__delayload_autoconftest_dll" >&5
19240 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19241 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19243 DELAYLOADFLAG
="-Wl,-delayload,"
19246 *) MSVCRTFLAGS
="-D_WIN32"
19247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19248 printf %s
"checking whether the compiler supports -fno-builtin... " >&6; }
19249 if test ${ac_cv_cflags__fno_builtin+y}
19251 printf %s
"(cached) " >&6
19253 ac_wine_try_cflags_saved
=$CFLAGS
19254 CFLAGS
="$CFLAGS -fno-builtin"
19255 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19256 /* end confdefs.h. */
19257 int main(int argc, char **argv) { return 0; }
19259 if ac_fn_c_try_link
"$LINENO"
19261 ac_cv_cflags__fno_builtin
=yes
19263 ac_cv_cflags__fno_builtin
=no
19265 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19266 conftest
$ac_exeext conftest.
$ac_ext
19267 CFLAGS
=$ac_wine_try_cflags_saved
19269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19270 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19271 if test "x$ac_cv_cflags__fno_builtin" = xyes
19273 MSVCRTFLAGS
="$MSVCRTFLAGS -fno-builtin"
19275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19276 printf %s
"checking whether the compiler supports -fshort-wchar... " >&6; }
19277 if test ${ac_cv_cflags__fshort_wchar+y}
19279 printf %s
"(cached) " >&6
19281 ac_wine_try_cflags_saved
=$CFLAGS
19282 CFLAGS
="$CFLAGS -fshort-wchar"
19283 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19284 /* end confdefs.h. */
19285 int main(int argc, char **argv) { return 0; }
19287 if ac_fn_c_try_link
"$LINENO"
19289 ac_cv_cflags__fshort_wchar
=yes
19291 ac_cv_cflags__fshort_wchar
=no
19293 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19294 conftest
$ac_exeext conftest.
$ac_ext
19295 CFLAGS
=$ac_wine_try_cflags_saved
19297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19298 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19299 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19301 MSVCRTFLAGS
="$MSVCRTFLAGS -fshort-wchar"
19303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19304 printf %s
"checking whether the compiler supports -Wno-format... " >&6; }
19305 if test ${ac_cv_cflags__Wno_format+y}
19307 printf %s
"(cached) " >&6
19309 ac_wine_try_cflags_saved
=$CFLAGS
19310 CFLAGS
="$CFLAGS -Wno-format"
19311 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19312 /* end confdefs.h. */
19313 int main(int argc, char **argv) { return 0; }
19315 if ac_fn_c_try_link
"$LINENO"
19317 ac_cv_cflags__Wno_format
=yes
19319 ac_cv_cflags__Wno_format
=no
19321 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19322 conftest
$ac_exeext conftest.
$ac_ext
19323 CFLAGS
=$ac_wine_try_cflags_saved
19325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19326 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19327 if test "x$ac_cv_cflags__Wno_format" = xyes
19329 MSVCRTFLAGS
="$MSVCRTFLAGS -Wno-format"
19334 *i
[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19335 printf %s
"checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19336 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19338 printf %s
"(cached) " >&6
19340 ac_wine_try_cflags_saved
=$CFLAGS
19341 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
19342 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19343 /* end confdefs.h. */
19344 int main(int argc, char **argv) { return 0; }
19346 if ac_fn_c_try_link
"$LINENO"
19348 ac_cv_cflags__fno_omit_frame_pointer
=yes
19350 ac_cv_cflags__fno_omit_frame_pointer
=no
19352 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19353 conftest
$ac_exeext conftest.
$ac_ext
19354 CFLAGS
=$ac_wine_try_cflags_saved
19356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19357 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19358 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19360 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
19364 cygwin
*|mingw32
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19365 printf %s
"checking whether the compiler supports -Wno-format... " >&6; }
19366 if test ${ac_cv_cflags__Wno_format+y}
19368 printf %s
"(cached) " >&6
19370 ac_wine_try_cflags_saved
=$CFLAGS
19371 CFLAGS
="$CFLAGS -Wno-format"
19372 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19373 /* end confdefs.h. */
19374 int main(int argc, char **argv) { return 0; }
19376 if ac_fn_c_try_link
"$LINENO"
19378 ac_cv_cflags__Wno_format
=yes
19380 ac_cv_cflags__Wno_format
=no
19382 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19383 conftest
$ac_exeext conftest.
$ac_ext
19384 CFLAGS
=$ac_wine_try_cflags_saved
19386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19387 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19388 if test "x$ac_cv_cflags__Wno_format" = xyes
19390 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
19392 *) if test -z "$PE_ARCHS"
19394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19395 printf %s
"checking for working -mabi=ms... " >&6; }
19396 if test ${ac_cv_mabi_ms+y}
19398 printf %s
"(cached) " >&6
19400 CFLAGS
="$CFLAGS -mabi=ms"
19401 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19402 /* end confdefs.h. */
19403 #include <stdarg.h>
19404 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19413 if ac_fn_c_try_compile
"$LINENO"
19419 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19420 CFLAGS
=$saved_CFLAGS
19422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19423 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19424 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
19426 MSVCRTFLAGS
="$MSVCRTFLAGS -mabi=ms" ;;
19429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19430 printf %s
"checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19431 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19433 printf %s
"(cached) " >&6
19435 ac_wine_try_cflags_saved
=$CFLAGS
19436 CFLAGS
="$CFLAGS -Wincompatible-function-pointer-types"
19437 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19438 /* end confdefs.h. */
19439 int main(int argc, char **argv) { return 0; }
19441 if ac_fn_c_try_link
"$LINENO"
19443 ac_cv_cflags__Wincompatible_function_pointer_types
=yes
19445 ac_cv_cflags__Wincompatible_function_pointer_types
=no
19447 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19448 conftest
$ac_exeext conftest.
$ac_ext
19449 CFLAGS
=$ac_wine_try_cflags_saved
19451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
19452 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19453 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19455 EXTRACFLAGS
="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19459 CFLAGS
=$saved_CFLAGS
19461 if test "x$enable_werror" = "xyes"
19463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19464 printf %s
"checking whether the compiler supports -Werror... " >&6; }
19465 if test ${ac_cv_cflags__Werror+y}
19467 printf %s
"(cached) " >&6
19469 ac_wine_try_cflags_saved
=$CFLAGS
19470 CFLAGS
="$CFLAGS -Werror"
19471 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19472 /* end confdefs.h. */
19473 int main(int argc, char **argv) { return 0; }
19475 if ac_fn_c_try_link
"$LINENO"
19477 ac_cv_cflags__Werror
=yes
19479 ac_cv_cflags__Werror
=no
19481 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19482 conftest
$ac_exeext conftest.
$ac_ext
19483 CFLAGS
=$ac_wine_try_cflags_saved
19485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19486 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19487 if test "x$ac_cv_cflags__Werror" = xyes
19489 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
19492 if test "x$enable_build_id" = "xyes"
19494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19495 printf %s
"checking whether the compiler supports -Wl,--build-id... " >&6; }
19496 if test ${ac_cv_cflags__Wl___build_id+y}
19498 printf %s
"(cached) " >&6
19500 ac_wine_try_cflags_saved
=$CFLAGS
19501 CFLAGS
="$CFLAGS -Wl,--build-id"
19502 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19503 /* end confdefs.h. */
19504 int main(int argc, char **argv) { return 0; }
19506 if ac_fn_c_try_link
"$LINENO"
19508 ac_cv_cflags__Wl___build_id
=yes
19510 ac_cv_cflags__Wl___build_id
=no
19512 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19513 conftest
$ac_exeext conftest.
$ac_ext
19514 CFLAGS
=$ac_wine_try_cflags_saved
19516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19517 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19518 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19520 CFLAGS
="$CFLAGS -Wl,--build-id"
19521 LDFLAGS
="$LDFLAGS -Wl,--build-id"
19527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19528 printf %s
"checking for the need to disable Fortify... " >&6; }
19529 if test ${ac_cv_c_fortify_enabled+y}
19531 printf %s
"(cached) " >&6
19533 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19534 /* end confdefs.h. */
19535 #include <string.h>
19539 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19540 #error Fortify enabled
19546 if ac_fn_c_try_compile
"$LINENO"
19548 ac_cv_c_fortify_enabled
=no
19550 ac_cv_c_fortify_enabled
=yes
19552 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19555 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19556 if test "$ac_cv_c_fortify_enabled" = yes
19558 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19563 printf %s
"checking whether CFI directives are supported in assembly code... " >&6; }
19564 if test ${ac_cv_c_cfi_support+y}
19566 printf %s
"(cached) " >&6
19568 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19569 /* end confdefs.h. */
19570 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19579 if ac_fn_c_try_compile
"$LINENO"
19581 ac_cv_c_cfi_support
="yes"
19583 ac_cv_c_cfi_support
="no"
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_cfi_support" >&5
19588 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19589 if test "$ac_cv_c_cfi_support" = "yes"
19591 DLLFLAGS
="$DLLFLAGS -fasynchronous-unwind-tables"
19592 LDDLLFLAGS
="$LDDLLFLAGS -fasynchronous-unwind-tables"
19593 UNIXDLLFLAGS
="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19594 elif test $HOST_ARCH = x86_64
19596 as_fn_append wine_warnings
"|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19603 *i
[3456789]86*|x86_64
*|
*aarch64
*|arm
*)
19604 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine-preloader"
19605 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
19612 ac_save_CFLAGS
="$CFLAGS"
19613 CFLAGS
="$CFLAGS $BUILTINFLAG"
19614 ac_fn_c_check_func
"$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19615 if test "x$ac_cv_func_epoll_create" = xyes
19617 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19620 ac_fn_c_check_func
"$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19621 if test "x$ac_cv_func_fstatfs" = xyes
19623 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19626 ac_fn_c_check_func
"$LINENO" "futimens" "ac_cv_func_futimens"
19627 if test "x$ac_cv_func_futimens" = xyes
19629 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19632 ac_fn_c_check_func
"$LINENO" "futimes" "ac_cv_func_futimes"
19633 if test "x$ac_cv_func_futimes" = xyes
19635 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19638 ac_fn_c_check_func
"$LINENO" "futimesat" "ac_cv_func_futimesat"
19639 if test "x$ac_cv_func_futimesat" = xyes
19641 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19644 ac_fn_c_check_func
"$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19645 if test "x$ac_cv_func_getattrlist" = xyes
19647 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19650 ac_fn_c_check_func
"$LINENO" "getauxval" "ac_cv_func_getauxval"
19651 if test "x$ac_cv_func_getauxval" = xyes
19653 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19656 ac_fn_c_check_func
"$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19657 if test "x$ac_cv_func_getifaddrs" = xyes
19659 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19662 ac_fn_c_check_func
"$LINENO" "getrandom" "ac_cv_func_getrandom"
19663 if test "x$ac_cv_func_getrandom" = xyes
19665 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19668 ac_fn_c_check_func
"$LINENO" "kqueue" "ac_cv_func_kqueue"
19669 if test "x$ac_cv_func_kqueue" = xyes
19671 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19674 ac_fn_c_check_func
"$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19675 if test "x$ac_cv_func_mach_continuous_time" = xyes
19677 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19680 ac_fn_c_check_func
"$LINENO" "pipe2" "ac_cv_func_pipe2"
19681 if test "x$ac_cv_func_pipe2" = xyes
19683 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19686 ac_fn_c_check_func
"$LINENO" "port_create" "ac_cv_func_port_create"
19687 if test "x$ac_cv_func_port_create" = xyes
19689 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
19692 ac_fn_c_check_func
"$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
19693 if test "x$ac_cv_func_posix_fadvise" = xyes
19695 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
19698 ac_fn_c_check_func
"$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
19699 if test "x$ac_cv_func_posix_fallocate" = xyes
19701 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
19704 ac_fn_c_check_func
"$LINENO" "prctl" "ac_cv_func_prctl"
19705 if test "x$ac_cv_func_prctl" = xyes
19707 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
19710 ac_fn_c_check_func
"$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
19711 if test "x$ac_cv_func_proc_pidinfo" = xyes
19713 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
19716 ac_fn_c_check_func
"$LINENO" "sched_yield" "ac_cv_func_sched_yield"
19717 if test "x$ac_cv_func_sched_yield" = xyes
19719 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
19722 ac_fn_c_check_func
"$LINENO" "setproctitle" "ac_cv_func_setproctitle"
19723 if test "x$ac_cv_func_setproctitle" = xyes
19725 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
19728 ac_fn_c_check_func
"$LINENO" "setprogname" "ac_cv_func_setprogname"
19729 if test "x$ac_cv_func_setprogname" = xyes
19731 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
19734 ac_fn_c_check_func
"$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
19735 if test "x$ac_cv_func_sigprocmask" = xyes
19737 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
19740 ac_fn_c_check_func
"$LINENO" "sysinfo" "ac_cv_func_sysinfo"
19741 if test "x$ac_cv_func_sysinfo" = xyes
19743 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
19746 ac_fn_c_check_func
"$LINENO" "tcdrain" "ac_cv_func_tcdrain"
19747 if test "x$ac_cv_func_tcdrain" = xyes
19749 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
19752 ac_fn_c_check_func
"$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
19753 if test "x$ac_cv_func_thr_kill2" = xyes
19755 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
19759 CFLAGS
="$ac_save_CFLAGS"
19761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19762 printf %s
"checking for library containing dlopen... " >&6; }
19763 if test ${ac_cv_search_dlopen+y}
19765 printf %s
"(cached) " >&6
19767 ac_func_search_save_LIBS
=$LIBS
19768 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19769 /* end confdefs.h. */
19771 /* Override any GCC internal prototype to avoid an error.
19772 Use char because int might match the return type of a GCC
19773 builtin and then its argument prototype would still apply. */
19783 for ac_lib
in '' dl
19785 if test -z "$ac_lib"; then
19786 ac_res
="none required"
19789 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19791 if ac_fn_c_try_link
"$LINENO"
19793 ac_cv_search_dlopen
=$ac_res
19795 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19797 if test ${ac_cv_search_dlopen+y}
19802 if test ${ac_cv_search_dlopen+y}
19806 ac_cv_search_dlopen
=no
19808 rm conftest.
$ac_ext
19809 LIBS
=$ac_func_search_save_LIBS
19811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19812 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19813 ac_res
=$ac_cv_search_dlopen
19814 if test "$ac_res" != no
19816 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19820 ac_wine_check_funcs_save_LIBS
="$LIBS"
19821 LIBS
="$LIBS $DL_LIBS"
19822 ac_fn_c_check_func
"$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19823 if test "x$ac_cv_func_dlinfo" = xyes
19825 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19829 LIBS
="$ac_wine_check_funcs_save_LIBS"
19831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19832 printf %s
"checking for library containing gethostbyname... " >&6; }
19833 if test ${ac_cv_search_gethostbyname+y}
19835 printf %s
"(cached) " >&6
19837 ac_func_search_save_LIBS
=$LIBS
19838 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19839 /* end confdefs.h. */
19841 /* Override any GCC internal prototype to avoid an error.
19842 Use char because int might match the return type of a GCC
19843 builtin and then its argument prototype would still apply. */
19844 char gethostbyname ();
19848 return gethostbyname ();
19853 for ac_lib
in '' nsl
19855 if test -z "$ac_lib"; then
19856 ac_res
="none required"
19859 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19861 if ac_fn_c_try_link
"$LINENO"
19863 ac_cv_search_gethostbyname
=$ac_res
19865 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19867 if test ${ac_cv_search_gethostbyname+y}
19872 if test ${ac_cv_search_gethostbyname+y}
19876 ac_cv_search_gethostbyname
=no
19878 rm conftest.
$ac_ext
19879 LIBS
=$ac_func_search_save_LIBS
19881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19882 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19883 ac_res
=$ac_cv_search_gethostbyname
19884 if test "$ac_res" != no
19886 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19892 printf %s
"checking for library containing connect... " >&6; }
19893 if test ${ac_cv_search_connect+y}
19895 printf %s
"(cached) " >&6
19897 ac_func_search_save_LIBS
=$LIBS
19898 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19899 /* end confdefs.h. */
19901 /* Override any GCC internal prototype to avoid an error.
19902 Use char because int might match the return type of a GCC
19903 builtin and then its argument prototype would still apply. */
19913 for ac_lib
in '' socket
19915 if test -z "$ac_lib"; then
19916 ac_res
="none required"
19919 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19921 if ac_fn_c_try_link
"$LINENO"
19923 ac_cv_search_connect
=$ac_res
19925 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19927 if test ${ac_cv_search_connect+y}
19932 if test ${ac_cv_search_connect+y}
19936 ac_cv_search_connect
=no
19938 rm conftest.
$ac_ext
19939 LIBS
=$ac_func_search_save_LIBS
19941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19942 printf "%s\n" "$ac_cv_search_connect" >&6; }
19943 ac_res
=$ac_cv_search_connect
19944 if test "$ac_res" != no
19946 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19952 printf %s
"checking for library containing inet_aton... " >&6; }
19953 if test ${ac_cv_search_inet_aton+y}
19955 printf %s
"(cached) " >&6
19957 ac_func_search_save_LIBS
=$LIBS
19958 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19959 /* end confdefs.h. */
19961 /* Override any GCC internal prototype to avoid an error.
19962 Use char because int might match the return type of a GCC
19963 builtin and then its argument prototype would still apply. */
19968 return inet_aton ();
19973 for ac_lib
in '' resolv
19975 if test -z "$ac_lib"; then
19976 ac_res
="none required"
19979 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19981 if ac_fn_c_try_link
"$LINENO"
19983 ac_cv_search_inet_aton
=$ac_res
19985 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19987 if test ${ac_cv_search_inet_aton+y}
19992 if test ${ac_cv_search_inet_aton+y}
19996 ac_cv_search_inet_aton
=no
19998 rm conftest.
$ac_ext
19999 LIBS
=$ac_func_search_save_LIBS
20001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
20002 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
20003 ac_res
=$ac_cv_search_inet_aton
20004 if test "$ac_res" != no
20006 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20011 ac_fn_c_check_func
"$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
20012 if test "x$ac_cv_func_getaddrinfo" = xyes
20014 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
20020 darwin
*|macosx
*) ;;
20021 *) ac_save_LIBS
=$LIBS
20022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20023 printf %s
"checking for library containing clock_gettime... " >&6; }
20024 if test ${ac_cv_search_clock_gettime+y}
20026 printf %s
"(cached) " >&6
20028 ac_func_search_save_LIBS
=$LIBS
20029 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20030 /* end confdefs.h. */
20032 /* Override any GCC internal prototype to avoid an error.
20033 Use char because int might match the return type of a GCC
20034 builtin and then its argument prototype would still apply. */
20035 char clock_gettime ();
20039 return clock_gettime ();
20044 for ac_lib
in '' rt
20046 if test -z "$ac_lib"; then
20047 ac_res
="none required"
20050 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20052 if ac_fn_c_try_link
"$LINENO"
20054 ac_cv_search_clock_gettime
=$ac_res
20056 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20058 if test ${ac_cv_search_clock_gettime+y}
20063 if test ${ac_cv_search_clock_gettime+y}
20067 ac_cv_search_clock_gettime
=no
20069 rm conftest.
$ac_ext
20070 LIBS
=$ac_func_search_save_LIBS
20072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20073 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20074 ac_res
=$ac_cv_search_clock_gettime
20075 if test "$ac_res" != no
20077 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20079 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20081 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
20089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20090 printf %s
"checking for sched_setaffinity... " >&6; }
20091 if test ${wine_cv_have_sched_setaffinity+y}
20093 printf %s
"(cached) " >&6
20095 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20096 /* end confdefs.h. */
20101 sched_setaffinity(0, 0, 0);
20106 if ac_fn_c_try_link
"$LINENO"
20108 wine_cv_have_sched_setaffinity
=yes
20110 wine_cv_have_sched_setaffinity
=no
20112 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20113 conftest
$ac_exeext conftest.
$ac_ext
20115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20116 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20117 if test "$wine_cv_have_sched_setaffinity" = "yes"
20120 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20126 printf %s
"checking for inline... " >&6; }
20127 if test ${ac_cv_c_inline+y}
20129 printf %s
"(cached) " >&6
20132 for ac_kw
in inline __inline__ __inline
; do
20133 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20134 /* end confdefs.h. */
20135 #ifndef __cplusplus
20137 static $ac_kw foo_t static_foo (void) {return 0; }
20138 $ac_kw foo_t foo (void) {return 0; }
20142 if ac_fn_c_try_compile
"$LINENO"
20144 ac_cv_c_inline
=$ac_kw
20146 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20147 test "$ac_cv_c_inline" != no
&& break
20151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20152 printf "%s\n" "$ac_cv_c_inline" >&6; }
20154 case $ac_cv_c_inline in
20157 case $ac_cv_c_inline in
20159 *) ac_val
=$ac_cv_c_inline;;
20161 cat >>confdefs.h
<<_ACEOF
20162 #ifndef __cplusplus
20163 #define inline $ac_val
20169 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
20170 #include <signal.h>
20172 if test "x$ac_cv_type_sigset_t" = xyes
20175 printf "%s\n" "#define HAVE_SIGSET_T 1" >>confdefs.h
20180 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20182 if test "x$ac_cv_type_request_sense" = xyes
20185 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20191 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20192 #include <sys/socket.h>
20193 #ifdef HAVE_SYS_SOCKETVAR_H
20194 #include <sys/socketvar.h>
20196 #ifdef HAVE_NET_ROUTE_H
20197 #include <net/route.h>
20199 #ifdef HAVE_NETINET_IN_H
20200 #include <netinet/in.h>
20202 #ifdef HAVE_NETINET_IN_SYSTM_H
20203 #include <netinet/in_systm.h>
20205 #ifdef HAVE_NETINET_IP_H
20206 #include <netinet/ip.h>
20208 #ifdef HAVE_NETINET_IN_PCB_H
20209 #include <netinet/in_pcb.h>
20212 if test "x$ac_cv_type_struct_xinpgen" = xyes
20215 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
20222 printf %s
"checking for sigaddset... " >&6; }
20223 if test ${wine_cv_have_sigaddset+y}
20225 printf %s
"(cached) " >&6
20227 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20228 /* end confdefs.h. */
20229 #include <signal.h>
20233 sigset_t set; sigaddset(&set,SIGTERM);
20238 if ac_fn_c_try_link
"$LINENO"
20240 wine_cv_have_sigaddset
=yes
20242 wine_cv_have_sigaddset
=no
20244 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20245 conftest
$ac_exeext conftest.
$ac_ext
20247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
20248 printf "%s\n" "$wine_cv_have_sigaddset" >&6; }
20249 if test "$wine_cv_have_sigaddset" = "yes"
20252 printf "%s\n" "#define HAVE_SIGADDSET 1" >>confdefs.h
20257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20258 printf %s
"checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20259 if test ${wine_cv_linux_gethostbyname_r_6+y}
20261 printf %s
"(cached) " >&6
20263 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20264 /* end confdefs.h. */
20272 struct hostent *result;
20279 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20280 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20286 if ac_fn_c_try_link
"$LINENO"
20288 wine_cv_linux_gethostbyname_r_6
=yes
20290 wine_cv_linux_gethostbyname_r_6
=no
20293 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20294 conftest
$ac_exeext conftest.
$ac_ext
20297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20298 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20299 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20302 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20306 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20307 #include <sys/socket.h>
20308 #ifdef HAVE_SYS_UN_H
20309 # include <sys/un.h>
20312 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20315 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20319 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20320 #include <sys/socket.h>
20321 #ifdef HAVE_SYS_UN_H
20322 # include <sys/un.h>
20325 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20328 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20334 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20335 #ifdef HAVE_SCSI_SG_H
20336 #include <scsi/sg.h>
20339 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20342 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20346 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>
20347 #ifdef HAVE_SCSI_SG_H
20348 #include <scsi/sg.h>
20351 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20354 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20360 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20362 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20365 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20371 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20372 #ifdef HAVE_SYS_MTIO_H
20373 #include <sys/mtio.h>
20376 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20379 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20383 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20384 #ifdef HAVE_SYS_MTIO_H
20385 #include <sys/mtio.h>
20388 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20391 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20395 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20396 #ifdef HAVE_SYS_MTIO_H
20397 #include <sys/mtio.h>
20400 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20403 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20409 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20410 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20413 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20417 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20418 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20421 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20425 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20426 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20429 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20433 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20434 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20437 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20441 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20442 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20445 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20449 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20450 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20453 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20457 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20458 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20461 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20465 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20466 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20469 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20473 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20474 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20477 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20481 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20482 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20485 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20489 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20490 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20493 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20499 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>
20500 #ifdef HAVE_NETINET_IN_H
20501 #include <netinet/in.h>
20504 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20507 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20513 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
20514 #include <resolv.h>
20517 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20520 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20526 ac_fn_c_check_member
"$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20527 #include <netinet/in.h>
20530 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20533 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20539 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20540 #ifdef HAVE_SYS_SOCKETVAR_H
20541 #include <sys/socketvar.h>
20543 #ifdef HAVE_NETINET_IN_H
20544 #include <netinet/in.h>
20546 #ifdef HAVE_NETINET_IP_VAR_H
20547 #include <netinet/ip_var.h>
20550 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20553 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20559 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
20560 #include <netinet/ip_var.h>
20563 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20566 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20572 ac_fn_c_check_member
"$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20573 #ifdef HAVE_SYS_SOCKETVAR_H
20574 #include <sys/socketvar.h>
20576 #ifdef HAVE_NETINET_IN_H
20577 #include <netinet/in.h>
20579 #ifdef HAVE_NETINET6_IP6_VAR_H
20580 #include <netinet6/ip6_var.h>
20583 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20586 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20592 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20593 #ifdef HAVE_SYS_SOCKETVAR_H
20594 #include <sys/socketvar.h>
20596 #ifdef HAVE_NETINET_IN_H
20597 #include <netinet/in.h>
20599 #ifdef HAVE_NETINET_IP_H
20600 #include <netinet/ip.h>
20602 #ifdef HAVE_NETINET_IP_ICMP_H
20603 #include <netinet/ip_icmp.h>
20605 #ifdef HAVE_NETINET_ICMP_VAR_H
20606 #include <netinet/icmp_var.h>
20609 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20612 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20618 ac_fn_c_check_member
"$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20619 #ifdef HAVE_SYS_SOCKETVAR_H
20620 #include <sys/socketvar.h>
20622 #ifdef HAVE_NETINET_IN_H
20623 #include <netinet/in.h>
20625 #ifdef HAVE_NETINET_ICMP6_H
20626 #include <netinet/icmp6.h>
20629 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20632 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20638 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20639 #ifdef HAVE_SYS_SOCKETVAR_H
20640 #include <sys/socketvar.h>
20642 #ifdef HAVE_NETINET_IN_H
20643 #include <netinet/in.h>
20645 #ifdef HAVE_NETINET_TCP_H
20646 #include <netinet/tcp.h>
20648 #ifdef HAVE_NETINET_TCP_VAR_H
20649 #include <netinet/tcp_var.h>
20652 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20655 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20661 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
20662 #include <netinet/tcp_var.h>
20665 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20668 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20674 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20675 #ifdef HAVE_NETINET_IN_H
20676 #include <netinet/in.h>
20678 #ifdef HAVE_NETINET_IP_VAR_H
20679 #include <netinet/ip_var.h>
20681 #ifdef HAVE_NETINET_UDP_H
20682 #include <netinet/udp.h>
20684 #ifdef HAVE_NETINET_UDP_VAR_H
20685 #include <netinet/udp_var.h>
20688 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20691 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20697 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20698 #ifdef HAVE_NET_IF_H
20699 # include <net/if.h>
20702 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20705 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20711 ac_fn_c_check_member
"$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20712 # include <sys/sysinfo.h>
20715 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20718 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20722 ac_fn_c_check_member
"$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20723 # include <sys/sysinfo.h>
20726 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20729 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20735 LIBS
="$ac_save_LIBS"
20737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20738 printf %s
"checking for __builtin_popcount... " >&6; }
20739 if test ${ac_cv_have___builtin_popcount+y}
20741 printf %s
"(cached) " >&6
20743 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20744 /* end confdefs.h. */
20749 return __builtin_popcount(1)
20754 if ac_fn_c_try_link
"$LINENO"
20756 ac_cv_have___builtin_popcount
="yes"
20758 ac_cv_have___builtin_popcount
="no"
20760 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20761 conftest
$ac_exeext conftest.
$ac_ext
20763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20764 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20765 if test "$ac_cv_have___builtin_popcount" = "yes"
20768 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20773 printf %s
"checking for __clear_cache... " >&6; }
20774 if test ${ac_cv_have___clear_cache+y}
20776 printf %s
"(cached) " >&6
20778 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20779 /* end confdefs.h. */
20784 __clear_cache((void*)0, (void*)0); return 0;
20789 if ac_fn_c_try_link
"$LINENO"
20791 ac_cv_have___clear_cache
="yes"
20793 ac_cv_have___clear_cache
="no"
20795 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20796 conftest
$ac_exeext conftest.
$ac_ext
20798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20799 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20800 if test "$ac_cv_have___clear_cache" = "yes"
20803 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20809 *i
[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20810 printf %s
"checking whether we need to define __i386__... " >&6; }
20811 if test ${ac_cv_cpp_def___i386__+y}
20813 printf %s
"(cached) " >&6
20815 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20816 /* end confdefs.h. */
20821 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20822 $EGREP "yes" >/dev
/null
2>&1
20824 ac_cv_cpp_def___i386__
=yes
20826 ac_cv_cpp_def___i386__
=no
20831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20832 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20833 if test "x$ac_cv_cpp_def___i386__" = xyes
20835 CFLAGS
="$CFLAGS -D__i386__"
20836 LINTFLAGS
="$LINTFLAGS -D__i386__"
20838 *x86_64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20839 printf %s
"checking whether we need to define __x86_64__... " >&6; }
20840 if test ${ac_cv_cpp_def___x86_64__+y}
20842 printf %s
"(cached) " >&6
20844 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20845 /* end confdefs.h. */
20850 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20851 $EGREP "yes" >/dev
/null
2>&1
20853 ac_cv_cpp_def___x86_64__
=yes
20855 ac_cv_cpp_def___x86_64__
=no
20860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20861 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20862 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20864 CFLAGS
="$CFLAGS -D__x86_64__"
20865 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
20867 *sparc64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
20868 printf %s
"checking whether we need to define __sparc64__... " >&6; }
20869 if test ${ac_cv_cpp_def___sparc64__+y}
20871 printf %s
"(cached) " >&6
20873 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20874 /* end confdefs.h. */
20875 #ifndef __sparc64__
20879 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20880 $EGREP "yes" >/dev
/null
2>&1
20882 ac_cv_cpp_def___sparc64__
=yes
20884 ac_cv_cpp_def___sparc64__
=no
20889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
20890 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
20891 if test "x$ac_cv_cpp_def___sparc64__" = xyes
20893 CFLAGS
="$CFLAGS -D__sparc64__"
20894 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
20896 *sparc
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
20897 printf %s
"checking whether we need to define __sparc__... " >&6; }
20898 if test ${ac_cv_cpp_def___sparc__+y}
20900 printf %s
"(cached) " >&6
20902 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20903 /* end confdefs.h. */
20908 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20909 $EGREP "yes" >/dev
/null
2>&1
20911 ac_cv_cpp_def___sparc__
=yes
20913 ac_cv_cpp_def___sparc__
=no
20918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
20919 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
20920 if test "x$ac_cv_cpp_def___sparc__" = xyes
20922 CFLAGS
="$CFLAGS -D__sparc__"
20923 LINTFLAGS
="$LINTFLAGS -D__sparc__"
20925 *powerpc64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
20926 printf %s
"checking whether we need to define __powerpc64__... " >&6; }
20927 if test ${ac_cv_cpp_def___powerpc64__+y}
20929 printf %s
"(cached) " >&6
20931 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20932 /* end confdefs.h. */
20933 #ifndef __powerpc64__
20937 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20938 $EGREP "yes" >/dev
/null
2>&1
20940 ac_cv_cpp_def___powerpc64__
=yes
20942 ac_cv_cpp_def___powerpc64__
=no
20947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
20948 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
20949 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
20951 CFLAGS
="$CFLAGS -D__powerpc64__"
20952 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
20954 *powerpc
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
20955 printf %s
"checking whether we need to define __powerpc__... " >&6; }
20956 if test ${ac_cv_cpp_def___powerpc__+y}
20958 printf %s
"(cached) " >&6
20960 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20961 /* end confdefs.h. */
20962 #ifndef __powerpc__
20966 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20967 $EGREP "yes" >/dev
/null
2>&1
20969 ac_cv_cpp_def___powerpc__
=yes
20971 ac_cv_cpp_def___powerpc__
=no
20976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
20977 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
20978 if test "x$ac_cv_cpp_def___powerpc__" = xyes
20980 CFLAGS
="$CFLAGS -D__powerpc__"
20981 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
20983 *aarch64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
20984 printf %s
"checking whether we need to define __aarch64__... " >&6; }
20985 if test ${ac_cv_cpp_def___aarch64__+y}
20987 printf %s
"(cached) " >&6
20989 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20990 /* end confdefs.h. */
20991 #ifndef __aarch64__
20995 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20996 $EGREP "yes" >/dev
/null
2>&1
20998 ac_cv_cpp_def___aarch64__
=yes
21000 ac_cv_cpp_def___aarch64__
=no
21005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
21006 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
21007 if test "x$ac_cv_cpp_def___aarch64__" = xyes
21009 CFLAGS
="$CFLAGS -D__aarch64__"
21010 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
21012 *arm
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
21013 printf %s
"checking whether we need to define __arm__... " >&6; }
21014 if test ${ac_cv_cpp_def___arm__+y}
21016 printf %s
"(cached) " >&6
21018 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21019 /* end confdefs.h. */
21024 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21025 $EGREP "yes" >/dev
/null
2>&1
21027 ac_cv_cpp_def___arm__
=yes
21029 ac_cv_cpp_def___arm__
=no
21034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21035 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21036 if test "x$ac_cv_cpp_def___arm__" = xyes
21038 CFLAGS
="$CFLAGS -D__arm__"
21039 LINTFLAGS
="$LINTFLAGS -D__arm__"
21043 case $host_vendor in
21044 *sun
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21045 printf %s
"checking whether we need to define __sun__... " >&6; }
21046 if test ${ac_cv_cpp_def___sun__+y}
21048 printf %s
"(cached) " >&6
21050 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21051 /* end confdefs.h. */
21056 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21057 $EGREP "yes" >/dev
/null
2>&1
21059 ac_cv_cpp_def___sun__
=yes
21061 ac_cv_cpp_def___sun__
=no
21066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21067 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21068 if test "x$ac_cv_cpp_def___sun__" = xyes
21070 CFLAGS
="$CFLAGS -D__sun__"
21071 LINTFLAGS
="$LINTFLAGS -D__sun__"
21079 ac_config_commands
="$ac_config_commands include/stamp-h"
21081 printf %s
"creating Makefile rules..." >&6
21084 test "x$enable_silent_rules" = xyes
&& makedep_flags
="$makedep_flags -S"
21087 test "$srcdir" = . || wine_srcdir
="$srcdir/"
21089 ac_config_links
="$ac_config_links wine:tools/winewrapper"
21090 wine_fn_config_symlink wine
21091 if test "$HOST_ARCH" = x86_64
-o -n "$with_wine64"; then
21092 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
21093 wine_fn_config_symlink wine64
21096 wine_fn_config_makefile dlls
/acledit enable_acledit
21097 wine_fn_config_makefile dlls
/aclui enable_aclui
21098 wine_fn_config_makefile dlls
/activeds.tlb enable_activeds_tlb
21099 wine_fn_config_makefile dlls
/activeds enable_activeds
21100 wine_fn_config_makefile dlls
/activeds
/tests enable_tests
21101 wine_fn_config_makefile dlls
/actxprxy enable_actxprxy
21102 wine_fn_config_makefile dlls
/adsldp enable_adsldp
21103 wine_fn_config_makefile dlls
/adsldp
/tests enable_tests
21104 wine_fn_config_makefile dlls
/adsldpc enable_adsldpc
21105 wine_fn_config_makefile dlls
/advapi32 enable_advapi32
21106 wine_fn_config_makefile dlls
/advapi32
/tests enable_tests
21107 wine_fn_config_makefile dlls
/advpack enable_advpack
21108 wine_fn_config_makefile dlls
/advpack
/tests enable_tests
21109 wine_fn_config_makefile dlls
/amsi enable_amsi
21110 wine_fn_config_makefile dlls
/amstream enable_amstream
21111 wine_fn_config_makefile dlls
/amstream
/tests enable_tests
21112 wine_fn_config_makefile dlls
/apisetschema enable_apisetschema
21113 wine_fn_config_makefile dlls
/apphelp enable_apphelp
21114 wine_fn_config_makefile dlls
/apphelp
/tests enable_tests
21115 wine_fn_config_makefile dlls
/appwiz.cpl enable_appwiz_cpl
21116 wine_fn_config_makefile dlls
/atl enable_atl
21117 wine_fn_config_makefile dlls
/atl
/tests enable_tests
21118 wine_fn_config_makefile dlls
/atl100 enable_atl100
21119 wine_fn_config_makefile dlls
/atl100
/tests enable_tests
21120 wine_fn_config_makefile dlls
/atl110 enable_atl110
21121 wine_fn_config_makefile dlls
/atl110
/tests enable_tests
21122 wine_fn_config_makefile dlls
/atl80 enable_atl80
21123 wine_fn_config_makefile dlls
/atl80
/tests enable_tests
21124 wine_fn_config_makefile dlls
/atl90 enable_atl90
21125 wine_fn_config_makefile dlls
/atlthunk enable_atlthunk
21126 wine_fn_config_makefile dlls
/atlthunk
/tests enable_tests
21127 wine_fn_config_makefile dlls
/atmlib enable_atmlib
21128 wine_fn_config_makefile dlls
/authz enable_authz
21129 wine_fn_config_makefile dlls
/avicap32 enable_avicap32
21130 wine_fn_config_makefile dlls
/avifil32 enable_avifil32
21131 wine_fn_config_makefile dlls
/avifil32
/tests enable_tests
21132 wine_fn_config_makefile dlls
/avifile.dll16 enable_win16
21133 wine_fn_config_makefile dlls
/avrt enable_avrt
21134 wine_fn_config_makefile dlls
/bcrypt enable_bcrypt
21135 wine_fn_config_makefile dlls
/bcrypt
/tests enable_tests
21136 wine_fn_config_makefile dlls
/bluetoothapis enable_bluetoothapis
21137 wine_fn_config_makefile dlls
/browseui enable_browseui
21138 wine_fn_config_makefile dlls
/browseui
/tests enable_tests
21139 wine_fn_config_makefile dlls
/bthprops.cpl enable_bthprops_cpl
21140 wine_fn_config_makefile dlls
/cabinet enable_cabinet
21141 wine_fn_config_makefile dlls
/cabinet
/tests enable_tests
21142 wine_fn_config_makefile dlls
/capi2032 enable_capi2032
21143 wine_fn_config_makefile dlls
/cards enable_cards
21144 wine_fn_config_makefile dlls
/cdosys enable_cdosys
21145 wine_fn_config_makefile dlls
/cfgmgr32 enable_cfgmgr32
21146 wine_fn_config_makefile dlls
/clusapi enable_clusapi
21147 wine_fn_config_makefile dlls
/cng.sys enable_cng_sys
21148 wine_fn_config_makefile dlls
/combase enable_combase
21149 wine_fn_config_makefile dlls
/combase
/tests enable_tests
21150 wine_fn_config_makefile dlls
/comcat enable_comcat
21151 wine_fn_config_makefile dlls
/comcat
/tests enable_tests
21152 wine_fn_config_makefile dlls
/comctl32 enable_comctl32
21153 wine_fn_config_makefile dlls
/comctl32
/tests enable_tests
21154 wine_fn_config_makefile dlls
/comdlg32 enable_comdlg32
21155 wine_fn_config_makefile dlls
/comdlg32
/tests enable_tests
21156 wine_fn_config_makefile dlls
/comm.drv16 enable_win16
21157 wine_fn_config_makefile dlls
/commdlg.dll16 enable_win16
21158 wine_fn_config_makefile dlls
/compobj.dll16 enable_win16
21159 wine_fn_config_makefile dlls
/compstui enable_compstui
21160 wine_fn_config_makefile dlls
/compstui
/tests enable_tests
21161 wine_fn_config_makefile dlls
/comsvcs enable_comsvcs
21162 wine_fn_config_makefile dlls
/comsvcs
/tests enable_tests
21163 wine_fn_config_makefile dlls
/concrt140 enable_concrt140
21164 wine_fn_config_makefile dlls
/concrt140
/tests enable_tests
21165 wine_fn_config_makefile dlls
/connect enable_connect
21166 wine_fn_config_makefile dlls
/credui enable_credui
21167 wine_fn_config_makefile dlls
/credui
/tests enable_tests
21168 wine_fn_config_makefile dlls
/crtdll enable_crtdll
21169 wine_fn_config_makefile dlls
/crypt32 enable_crypt32
21170 wine_fn_config_makefile dlls
/crypt32
/tests enable_tests
21171 wine_fn_config_makefile dlls
/cryptdlg enable_cryptdlg
21172 wine_fn_config_makefile dlls
/cryptdll enable_cryptdll
21173 wine_fn_config_makefile dlls
/cryptext enable_cryptext
21174 wine_fn_config_makefile dlls
/cryptnet enable_cryptnet
21175 wine_fn_config_makefile dlls
/cryptnet
/tests enable_tests
21176 wine_fn_config_makefile dlls
/cryptowinrt enable_cryptowinrt
21177 wine_fn_config_makefile dlls
/cryptsp enable_cryptsp
21178 wine_fn_config_makefile dlls
/cryptui enable_cryptui
21179 wine_fn_config_makefile dlls
/cryptui
/tests enable_tests
21180 wine_fn_config_makefile dlls
/ctapi32 enable_ctapi32
21181 wine_fn_config_makefile dlls
/ctl3d.dll16 enable_win16
21182 wine_fn_config_makefile dlls
/ctl3d32 enable_ctl3d32
21183 wine_fn_config_makefile dlls
/ctl3dv2.dll16 enable_win16
21184 wine_fn_config_makefile dlls
/d2d1 enable_d2d1
21185 wine_fn_config_makefile dlls
/d2d
1/tests enable_tests
21186 wine_fn_config_makefile dlls
/d3d10 enable_d3d10
21187 wine_fn_config_makefile dlls
/d3d10
/tests enable_tests
21188 wine_fn_config_makefile dlls
/d3d10_1 enable_d3d10_1
21189 wine_fn_config_makefile dlls
/d3d10_
1/tests enable_tests
21190 wine_fn_config_makefile dlls
/d3d10core enable_d3d10core
21191 wine_fn_config_makefile dlls
/d3d10core
/tests enable_tests
21192 wine_fn_config_makefile dlls
/d3d11 enable_d3d11
21193 wine_fn_config_makefile dlls
/d3d11
/tests enable_tests
21194 wine_fn_config_makefile dlls
/d3d12 enable_d3d12
21195 wine_fn_config_makefile dlls
/d3d12
/tests enable_tests
21196 wine_fn_config_makefile dlls
/d3d8 enable_d3d8
21197 wine_fn_config_makefile dlls
/d3d
8/tests enable_tests
21198 wine_fn_config_makefile dlls
/d3d8thk enable_d3d8thk
21199 wine_fn_config_makefile dlls
/d3d9 enable_d3d9
21200 wine_fn_config_makefile dlls
/d3d
9/tests enable_tests
21201 wine_fn_config_makefile dlls
/d3dcompiler_33 enable_d3dcompiler_33
21202 wine_fn_config_makefile dlls
/d3dcompiler_34 enable_d3dcompiler_34
21203 wine_fn_config_makefile dlls
/d3dcompiler_35 enable_d3dcompiler_35
21204 wine_fn_config_makefile dlls
/d3dcompiler_36 enable_d3dcompiler_36
21205 wine_fn_config_makefile dlls
/d3dcompiler_37 enable_d3dcompiler_37
21206 wine_fn_config_makefile dlls
/d3dcompiler_38 enable_d3dcompiler_38
21207 wine_fn_config_makefile dlls
/d3dcompiler_39 enable_d3dcompiler_39
21208 wine_fn_config_makefile dlls
/d3dcompiler_40 enable_d3dcompiler_40
21209 wine_fn_config_makefile dlls
/d3dcompiler_41 enable_d3dcompiler_41
21210 wine_fn_config_makefile dlls
/d3dcompiler_42 enable_d3dcompiler_42
21211 wine_fn_config_makefile dlls
/d3dcompiler_43 enable_d3dcompiler_43
21212 wine_fn_config_makefile dlls
/d3dcompiler_43
/tests enable_tests
21213 wine_fn_config_makefile dlls
/d3dcompiler_46 enable_d3dcompiler_46
21214 wine_fn_config_makefile dlls
/d3dcompiler_46
/tests enable_tests
21215 wine_fn_config_makefile dlls
/d3dcompiler_47 enable_d3dcompiler_47
21216 wine_fn_config_makefile dlls
/d3dcompiler_47
/tests enable_tests
21217 wine_fn_config_makefile dlls
/d3dim enable_d3dim
21218 wine_fn_config_makefile dlls
/d3dim700 enable_d3dim700
21219 wine_fn_config_makefile dlls
/d3drm enable_d3drm
21220 wine_fn_config_makefile dlls
/d3drm
/tests enable_tests
21221 wine_fn_config_makefile dlls
/d3dx10_33 enable_d3dx10_33
21222 wine_fn_config_makefile dlls
/d3dx10_34 enable_d3dx10_34
21223 wine_fn_config_makefile dlls
/d3dx10_34
/tests enable_tests
21224 wine_fn_config_makefile dlls
/d3dx10_35 enable_d3dx10_35
21225 wine_fn_config_makefile dlls
/d3dx10_35
/tests enable_tests
21226 wine_fn_config_makefile dlls
/d3dx10_36 enable_d3dx10_36
21227 wine_fn_config_makefile dlls
/d3dx10_36
/tests enable_tests
21228 wine_fn_config_makefile dlls
/d3dx10_37 enable_d3dx10_37
21229 wine_fn_config_makefile dlls
/d3dx10_37
/tests enable_tests
21230 wine_fn_config_makefile dlls
/d3dx10_38 enable_d3dx10_38
21231 wine_fn_config_makefile dlls
/d3dx10_38
/tests enable_tests
21232 wine_fn_config_makefile dlls
/d3dx10_39 enable_d3dx10_39
21233 wine_fn_config_makefile dlls
/d3dx10_39
/tests enable_tests
21234 wine_fn_config_makefile dlls
/d3dx10_40 enable_d3dx10_40
21235 wine_fn_config_makefile dlls
/d3dx10_40
/tests enable_tests
21236 wine_fn_config_makefile dlls
/d3dx10_41 enable_d3dx10_41
21237 wine_fn_config_makefile dlls
/d3dx10_41
/tests enable_tests
21238 wine_fn_config_makefile dlls
/d3dx10_42 enable_d3dx10_42
21239 wine_fn_config_makefile dlls
/d3dx10_42
/tests enable_tests
21240 wine_fn_config_makefile dlls
/d3dx10_43 enable_d3dx10_43
21241 wine_fn_config_makefile dlls
/d3dx10_43
/tests enable_tests
21242 wine_fn_config_makefile dlls
/d3dx11_42 enable_d3dx11_42
21243 wine_fn_config_makefile dlls
/d3dx11_42
/tests enable_tests
21244 wine_fn_config_makefile dlls
/d3dx11_43 enable_d3dx11_43
21245 wine_fn_config_makefile dlls
/d3dx11_43
/tests enable_tests
21246 wine_fn_config_makefile dlls
/d3dx9_24 enable_d3dx9_24
21247 wine_fn_config_makefile dlls
/d3dx9_25 enable_d3dx9_25
21248 wine_fn_config_makefile dlls
/d3dx9_26 enable_d3dx9_26
21249 wine_fn_config_makefile dlls
/d3dx9_27 enable_d3dx9_27
21250 wine_fn_config_makefile dlls
/d3dx9_28 enable_d3dx9_28
21251 wine_fn_config_makefile dlls
/d3dx9_29 enable_d3dx9_29
21252 wine_fn_config_makefile dlls
/d3dx9_30 enable_d3dx9_30
21253 wine_fn_config_makefile dlls
/d3dx9_31 enable_d3dx9_31
21254 wine_fn_config_makefile dlls
/d3dx9_32 enable_d3dx9_32
21255 wine_fn_config_makefile dlls
/d3dx9_33 enable_d3dx9_33
21256 wine_fn_config_makefile dlls
/d3dx9_34 enable_d3dx9_34
21257 wine_fn_config_makefile dlls
/d3dx9_35 enable_d3dx9_35
21258 wine_fn_config_makefile dlls
/d3dx9_36 enable_d3dx9_36
21259 wine_fn_config_makefile dlls
/d3dx9_36
/tests enable_tests
21260 wine_fn_config_makefile dlls
/d3dx9_37 enable_d3dx9_37
21261 wine_fn_config_makefile dlls
/d3dx9_38 enable_d3dx9_38
21262 wine_fn_config_makefile dlls
/d3dx9_39 enable_d3dx9_39
21263 wine_fn_config_makefile dlls
/d3dx9_40 enable_d3dx9_40
21264 wine_fn_config_makefile dlls
/d3dx9_41 enable_d3dx9_41
21265 wine_fn_config_makefile dlls
/d3dx9_42 enable_d3dx9_42
21266 wine_fn_config_makefile dlls
/d3dx9_43 enable_d3dx9_43
21267 wine_fn_config_makefile dlls
/d3dxof enable_d3dxof
21268 wine_fn_config_makefile dlls
/d3dxof
/tests enable_tests
21269 wine_fn_config_makefile dlls
/davclnt enable_davclnt
21270 wine_fn_config_makefile dlls
/dbgeng enable_dbgeng
21271 wine_fn_config_makefile dlls
/dbgeng
/tests enable_tests
21272 wine_fn_config_makefile dlls
/dbghelp enable_dbghelp
21273 wine_fn_config_makefile dlls
/dbghelp
/tests enable_tests
21274 wine_fn_config_makefile dlls
/dciman32 enable_dciman32
21275 wine_fn_config_makefile dlls
/dcomp enable_dcomp
21276 wine_fn_config_makefile dlls
/ddeml.dll16 enable_win16
21277 wine_fn_config_makefile dlls
/ddraw enable_ddraw
21278 wine_fn_config_makefile dlls
/ddraw
/tests enable_tests
21279 wine_fn_config_makefile dlls
/ddrawex enable_ddrawex
21280 wine_fn_config_makefile dlls
/ddrawex
/tests enable_tests
21281 wine_fn_config_makefile dlls
/devenum enable_devenum
21282 wine_fn_config_makefile dlls
/devenum
/tests enable_tests
21283 wine_fn_config_makefile dlls
/dhcpcsvc enable_dhcpcsvc
21284 wine_fn_config_makefile dlls
/dhcpcsvc
/tests enable_tests
21285 wine_fn_config_makefile dlls
/dhcpcsvc6 enable_dhcpcsvc6
21286 wine_fn_config_makefile dlls
/dhtmled.ocx enable_dhtmled_ocx
21287 wine_fn_config_makefile dlls
/diasymreader enable_diasymreader
21288 wine_fn_config_makefile dlls
/difxapi enable_difxapi
21289 wine_fn_config_makefile dlls
/dinput enable_dinput
21290 wine_fn_config_makefile dlls
/dinput
/tests enable_tests
21291 wine_fn_config_makefile dlls
/dinput8 enable_dinput8
21292 wine_fn_config_makefile dlls
/directmanipulation enable_directmanipulation
21293 wine_fn_config_makefile dlls
/directmanipulation
/tests enable_tests
21294 wine_fn_config_makefile dlls
/dispdib.dll16 enable_win16
21295 wine_fn_config_makefile dlls
/dispex enable_dispex
21296 wine_fn_config_makefile dlls
/dispex
/tests enable_tests
21297 wine_fn_config_makefile dlls
/display.drv16 enable_win16
21298 wine_fn_config_makefile dlls
/dmband enable_dmband
21299 wine_fn_config_makefile dlls
/dmband
/tests enable_tests
21300 wine_fn_config_makefile dlls
/dmcompos enable_dmcompos
21301 wine_fn_config_makefile dlls
/dmcompos
/tests enable_tests
21302 wine_fn_config_makefile dlls
/dmime enable_dmime
21303 wine_fn_config_makefile dlls
/dmime
/tests enable_tests
21304 wine_fn_config_makefile dlls
/dmloader enable_dmloader
21305 wine_fn_config_makefile dlls
/dmloader
/tests enable_tests
21306 wine_fn_config_makefile dlls
/dmscript enable_dmscript
21307 wine_fn_config_makefile dlls
/dmscript
/tests enable_tests
21308 wine_fn_config_makefile dlls
/dmstyle enable_dmstyle
21309 wine_fn_config_makefile dlls
/dmstyle
/tests enable_tests
21310 wine_fn_config_makefile dlls
/dmsynth enable_dmsynth
21311 wine_fn_config_makefile dlls
/dmsynth
/tests enable_tests
21312 wine_fn_config_makefile dlls
/dmusic enable_dmusic
21313 wine_fn_config_makefile dlls
/dmusic
/tests enable_tests
21314 wine_fn_config_makefile dlls
/dmusic32 enable_dmusic32
21315 wine_fn_config_makefile dlls
/dnsapi enable_dnsapi
21316 wine_fn_config_makefile dlls
/dnsapi
/tests enable_tests
21317 wine_fn_config_makefile dlls
/dplay enable_dplay
21318 wine_fn_config_makefile dlls
/dplayx enable_dplayx
21319 wine_fn_config_makefile dlls
/dplayx
/tests enable_tests
21320 wine_fn_config_makefile dlls
/dpnaddr enable_dpnaddr
21321 wine_fn_config_makefile dlls
/dpnet enable_dpnet
21322 wine_fn_config_makefile dlls
/dpnet
/tests enable_tests
21323 wine_fn_config_makefile dlls
/dpnhpast enable_dpnhpast
21324 wine_fn_config_makefile dlls
/dpnhupnp enable_dpnhupnp
21325 wine_fn_config_makefile dlls
/dpnlobby enable_dpnlobby
21326 wine_fn_config_makefile dlls
/dpvoice enable_dpvoice
21327 wine_fn_config_makefile dlls
/dpvoice
/tests enable_tests
21328 wine_fn_config_makefile dlls
/dpwsockx enable_dpwsockx
21329 wine_fn_config_makefile dlls
/drmclien enable_drmclien
21330 wine_fn_config_makefile dlls
/dsdmo enable_dsdmo
21331 wine_fn_config_makefile dlls
/dsdmo
/tests enable_tests
21332 wine_fn_config_makefile dlls
/dsound enable_dsound
21333 wine_fn_config_makefile dlls
/dsound
/tests enable_tests
21334 wine_fn_config_makefile dlls
/dsquery enable_dsquery
21335 wine_fn_config_makefile dlls
/dssenh enable_dssenh
21336 wine_fn_config_makefile dlls
/dssenh
/tests enable_tests
21337 wine_fn_config_makefile dlls
/dsuiext enable_dsuiext
21338 wine_fn_config_makefile dlls
/dswave enable_dswave
21339 wine_fn_config_makefile dlls
/dswave
/tests enable_tests
21340 wine_fn_config_makefile dlls
/dwmapi enable_dwmapi
21341 wine_fn_config_makefile dlls
/dwmapi
/tests enable_tests
21342 wine_fn_config_makefile dlls
/dwrite enable_dwrite
21343 wine_fn_config_makefile dlls
/dwrite
/tests enable_tests
21344 wine_fn_config_makefile dlls
/dx8vb enable_dx8vb
21345 wine_fn_config_makefile dlls
/dxdiagn enable_dxdiagn
21346 wine_fn_config_makefile dlls
/dxdiagn
/tests enable_tests
21347 wine_fn_config_makefile dlls
/dxgi enable_dxgi
21348 wine_fn_config_makefile dlls
/dxgi
/tests enable_tests
21349 wine_fn_config_makefile dlls
/dxtrans enable_dxtrans
21350 wine_fn_config_makefile dlls
/dxva2 enable_dxva2
21351 wine_fn_config_makefile dlls
/dxva
2/tests enable_tests
21352 wine_fn_config_makefile dlls
/esent enable_esent
21353 wine_fn_config_makefile dlls
/evr enable_evr
21354 wine_fn_config_makefile dlls
/evr
/tests enable_tests
21355 wine_fn_config_makefile dlls
/explorerframe enable_explorerframe
21356 wine_fn_config_makefile dlls
/explorerframe
/tests enable_tests
21357 wine_fn_config_makefile dlls
/faultrep enable_faultrep
21358 wine_fn_config_makefile dlls
/faultrep
/tests enable_tests
21359 wine_fn_config_makefile dlls
/feclient enable_feclient
21360 wine_fn_config_makefile dlls
/fltlib enable_fltlib
21361 wine_fn_config_makefile dlls
/fltmgr.sys enable_fltmgr_sys
21362 wine_fn_config_makefile dlls
/fntcache enable_fntcache
21363 wine_fn_config_makefile dlls
/fontsub enable_fontsub
21364 wine_fn_config_makefile dlls
/fusion enable_fusion
21365 wine_fn_config_makefile dlls
/fusion
/tests enable_tests
21366 wine_fn_config_makefile dlls
/fwpuclnt enable_fwpuclnt
21367 wine_fn_config_makefile dlls
/gameux enable_gameux
21368 wine_fn_config_makefile dlls
/gameux
/tests enable_tests
21369 wine_fn_config_makefile dlls
/gamingtcui enable_gamingtcui
21370 wine_fn_config_makefile dlls
/gdi.exe16 enable_win16
21371 wine_fn_config_makefile dlls
/gdi32 enable_gdi32
21372 wine_fn_config_makefile dlls
/gdi32
/tests enable_tests
21373 wine_fn_config_makefile dlls
/gdiplus enable_gdiplus
21374 wine_fn_config_makefile dlls
/gdiplus
/tests enable_tests
21375 wine_fn_config_makefile dlls
/glu32 enable_glu32
21376 wine_fn_config_makefile dlls
/gphoto2.ds enable_gphoto2_ds
21377 wine_fn_config_makefile dlls
/gpkcsp enable_gpkcsp
21378 wine_fn_config_makefile dlls
/hal enable_hal
21379 wine_fn_config_makefile dlls
/hhctrl.ocx enable_hhctrl_ocx
21380 wine_fn_config_makefile dlls
/hid enable_hid
21381 wine_fn_config_makefile dlls
/hid
/tests enable_tests
21382 wine_fn_config_makefile dlls
/hidclass.sys enable_hidclass_sys
21383 wine_fn_config_makefile dlls
/hidparse.sys enable_hidparse_sys
21384 wine_fn_config_makefile dlls
/hlink enable_hlink
21385 wine_fn_config_makefile dlls
/hlink
/tests enable_tests
21386 wine_fn_config_makefile dlls
/hnetcfg enable_hnetcfg
21387 wine_fn_config_makefile dlls
/hnetcfg
/tests enable_tests
21388 wine_fn_config_makefile dlls
/http.sys enable_http_sys
21389 wine_fn_config_makefile dlls
/httpapi enable_httpapi
21390 wine_fn_config_makefile dlls
/httpapi
/tests enable_tests
21391 wine_fn_config_makefile dlls
/ia2comproxy enable_ia2comproxy
21392 wine_fn_config_makefile dlls
/iccvid enable_iccvid
21393 wine_fn_config_makefile dlls
/icmp enable_icmp
21394 wine_fn_config_makefile dlls
/ieframe enable_ieframe
21395 wine_fn_config_makefile dlls
/ieframe
/tests enable_tests
21396 wine_fn_config_makefile dlls
/ieproxy enable_ieproxy
21397 wine_fn_config_makefile dlls
/ifsmgr.vxd enable_win16
21398 wine_fn_config_makefile dlls
/imaadp32.acm enable_imaadp32_acm
21399 wine_fn_config_makefile dlls
/imagehlp enable_imagehlp
21400 wine_fn_config_makefile dlls
/imagehlp
/tests enable_tests
21401 wine_fn_config_makefile dlls
/imm.dll16 enable_win16
21402 wine_fn_config_makefile dlls
/imm32 enable_imm32
21403 wine_fn_config_makefile dlls
/imm32
/tests enable_tests
21404 wine_fn_config_makefile dlls
/inetcomm enable_inetcomm
21405 wine_fn_config_makefile dlls
/inetcomm
/tests enable_tests
21406 wine_fn_config_makefile dlls
/inetcpl.cpl enable_inetcpl_cpl
21407 wine_fn_config_makefile dlls
/inetmib1 enable_inetmib1
21408 wine_fn_config_makefile dlls
/inetmib
1/tests enable_tests
21409 wine_fn_config_makefile dlls
/infosoft enable_infosoft
21410 wine_fn_config_makefile dlls
/infosoft
/tests enable_tests
21411 wine_fn_config_makefile dlls
/initpki enable_initpki
21412 wine_fn_config_makefile dlls
/inkobj enable_inkobj
21413 wine_fn_config_makefile dlls
/inseng enable_inseng
21414 wine_fn_config_makefile dlls
/iphlpapi enable_iphlpapi
21415 wine_fn_config_makefile dlls
/iphlpapi
/tests enable_tests
21416 wine_fn_config_makefile dlls
/iprop enable_iprop
21417 wine_fn_config_makefile dlls
/irprops.cpl enable_irprops_cpl
21418 wine_fn_config_makefile dlls
/itircl enable_itircl
21419 wine_fn_config_makefile dlls
/itss enable_itss
21420 wine_fn_config_makefile dlls
/itss
/tests enable_tests
21421 wine_fn_config_makefile dlls
/joy.cpl enable_joy_cpl
21422 wine_fn_config_makefile dlls
/jscript enable_jscript
21423 wine_fn_config_makefile dlls
/jscript
/tests enable_tests
21424 wine_fn_config_makefile dlls
/jsproxy enable_jsproxy
21425 wine_fn_config_makefile dlls
/jsproxy
/tests enable_tests
21426 wine_fn_config_makefile dlls
/kerberos enable_kerberos
21427 wine_fn_config_makefile dlls
/kernel32 enable_kernel32
21428 wine_fn_config_makefile dlls
/kernel32
/tests enable_tests
21429 wine_fn_config_makefile dlls
/kernelbase enable_kernelbase
21430 wine_fn_config_makefile dlls
/kernelbase
/tests enable_tests
21431 wine_fn_config_makefile dlls
/keyboard.drv16 enable_win16
21432 wine_fn_config_makefile dlls
/krnl386.exe16 enable_win16
21433 wine_fn_config_makefile dlls
/ksecdd.sys enable_ksecdd_sys
21434 wine_fn_config_makefile dlls
/ksproxy.ax enable_ksproxy_ax
21435 wine_fn_config_makefile dlls
/ksuser enable_ksuser
21436 wine_fn_config_makefile dlls
/ktmw32 enable_ktmw32
21437 wine_fn_config_makefile dlls
/l3codeca.acm enable_l3codeca_acm
21438 wine_fn_config_makefile dlls
/light.msstyles enable_light_msstyles
21439 wine_fn_config_makefile dlls
/loadperf enable_loadperf
21440 wine_fn_config_makefile dlls
/localspl enable_localspl
21441 wine_fn_config_makefile dlls
/localspl
/tests enable_tests
21442 wine_fn_config_makefile dlls
/localui enable_localui
21443 wine_fn_config_makefile dlls
/localui
/tests enable_tests
21444 wine_fn_config_makefile dlls
/lz32 enable_lz32
21445 wine_fn_config_makefile dlls
/lz32
/tests enable_tests
21446 wine_fn_config_makefile dlls
/lzexpand.dll16 enable_win16
21447 wine_fn_config_makefile dlls
/mapi32 enable_mapi32
21448 wine_fn_config_makefile dlls
/mapi32
/tests enable_tests
21449 wine_fn_config_makefile dlls
/mapistub enable_mapistub
21450 wine_fn_config_makefile dlls
/mciavi32 enable_mciavi32
21451 wine_fn_config_makefile dlls
/mcicda enable_mcicda
21452 wine_fn_config_makefile dlls
/mciqtz32 enable_mciqtz32
21453 wine_fn_config_makefile dlls
/mciseq enable_mciseq
21454 wine_fn_config_makefile dlls
/mciwave enable_mciwave
21455 wine_fn_config_makefile dlls
/mf enable_mf
21456 wine_fn_config_makefile dlls
/mf
/tests enable_tests
21457 wine_fn_config_makefile dlls
/mf3216 enable_mf3216
21458 wine_fn_config_makefile dlls
/mferror enable_mferror
21459 wine_fn_config_makefile dlls
/mfmediaengine enable_mfmediaengine
21460 wine_fn_config_makefile dlls
/mfmediaengine
/tests enable_tests
21461 wine_fn_config_makefile dlls
/mfplat enable_mfplat
21462 wine_fn_config_makefile dlls
/mfplat
/tests enable_tests
21463 wine_fn_config_makefile dlls
/mfplay enable_mfplay
21464 wine_fn_config_makefile dlls
/mfplay
/tests enable_tests
21465 wine_fn_config_makefile dlls
/mfreadwrite enable_mfreadwrite
21466 wine_fn_config_makefile dlls
/mfreadwrite
/tests enable_tests
21467 wine_fn_config_makefile dlls
/mfsrcsnk enable_mfsrcsnk
21468 wine_fn_config_makefile dlls
/mfsrcsnk
/tests enable_tests
21469 wine_fn_config_makefile dlls
/mgmtapi enable_mgmtapi
21470 wine_fn_config_makefile dlls
/midimap enable_midimap
21471 wine_fn_config_makefile dlls
/mlang enable_mlang
21472 wine_fn_config_makefile dlls
/mlang
/tests enable_tests
21473 wine_fn_config_makefile dlls
/mmcndmgr enable_mmcndmgr
21474 wine_fn_config_makefile dlls
/mmcndmgr
/tests enable_tests
21475 wine_fn_config_makefile dlls
/mmdevapi enable_mmdevapi
21476 wine_fn_config_makefile dlls
/mmdevapi
/tests enable_tests
21477 wine_fn_config_makefile dlls
/mmdevldr.vxd enable_win16
21478 wine_fn_config_makefile dlls
/mmsystem.dll16 enable_win16
21479 wine_fn_config_makefile dlls
/monodebg.vxd enable_win16
21480 wine_fn_config_makefile dlls
/mountmgr.sys enable_mountmgr_sys
21481 wine_fn_config_makefile dlls
/mouse.drv16 enable_win16
21482 wine_fn_config_makefile dlls
/mp3dmod enable_mp3dmod
21483 wine_fn_config_makefile dlls
/mp3dmod
/tests enable_tests
21484 wine_fn_config_makefile dlls
/mpr enable_mpr
21485 wine_fn_config_makefile dlls
/mpr
/tests enable_tests
21486 wine_fn_config_makefile dlls
/mprapi enable_mprapi
21487 wine_fn_config_makefile dlls
/msacm.dll16 enable_win16
21488 wine_fn_config_makefile dlls
/msacm32.drv enable_msacm32_drv
21489 wine_fn_config_makefile dlls
/msacm32 enable_msacm32
21490 wine_fn_config_makefile dlls
/msacm32
/tests enable_tests
21491 wine_fn_config_makefile dlls
/msado15 enable_msado15
21492 wine_fn_config_makefile dlls
/msado15
/tests enable_tests
21493 wine_fn_config_makefile dlls
/msadp32.acm enable_msadp32_acm
21494 wine_fn_config_makefile dlls
/msasn1 enable_msasn1
21495 wine_fn_config_makefile dlls
/msasn
1/tests enable_tests
21496 wine_fn_config_makefile dlls
/mscat32 enable_mscat32
21497 wine_fn_config_makefile dlls
/mscms enable_mscms
21498 wine_fn_config_makefile dlls
/mscms
/tests enable_tests
21499 wine_fn_config_makefile dlls
/mscoree enable_mscoree
21500 wine_fn_config_makefile dlls
/mscoree
/tests enable_tests
21501 wine_fn_config_makefile dlls
/mscorwks enable_mscorwks
21502 wine_fn_config_makefile dlls
/msctf enable_msctf
21503 wine_fn_config_makefile dlls
/msctf
/tests enable_tests
21504 wine_fn_config_makefile dlls
/msctfmonitor enable_msctfmonitor
21505 wine_fn_config_makefile dlls
/msctfp enable_msctfp
21506 wine_fn_config_makefile dlls
/msdaps enable_msdaps
21507 wine_fn_config_makefile dlls
/msdasql enable_msdasql
21508 wine_fn_config_makefile dlls
/msdasql
/tests enable_tests
21509 wine_fn_config_makefile dlls
/msdelta enable_msdelta
21510 wine_fn_config_makefile dlls
/msdmo enable_msdmo
21511 wine_fn_config_makefile dlls
/msdmo
/tests enable_tests
21512 wine_fn_config_makefile dlls
/msdrm enable_msdrm
21513 wine_fn_config_makefile dlls
/msftedit enable_msftedit
21514 wine_fn_config_makefile dlls
/msftedit
/tests enable_tests
21515 wine_fn_config_makefile dlls
/msg711.acm enable_msg711_acm
21516 wine_fn_config_makefile dlls
/msgsm32.acm enable_msgsm32_acm
21517 wine_fn_config_makefile dlls
/mshtml.tlb enable_mshtml_tlb
21518 wine_fn_config_makefile dlls
/mshtml enable_mshtml
21519 wine_fn_config_makefile dlls
/mshtml
/tests enable_tests
21520 wine_fn_config_makefile dlls
/msi enable_msi
21521 wine_fn_config_makefile dlls
/msi
/tests enable_tests
21522 wine_fn_config_makefile dlls
/msident enable_msident
21523 wine_fn_config_makefile dlls
/msimg32 enable_msimg32
21524 wine_fn_config_makefile dlls
/msimsg enable_msimsg
21525 wine_fn_config_makefile dlls
/msimtf enable_msimtf
21526 wine_fn_config_makefile dlls
/msisip enable_msisip
21527 wine_fn_config_makefile dlls
/msisys.ocx enable_msisys_ocx
21528 wine_fn_config_makefile dlls
/msls31 enable_msls31
21529 wine_fn_config_makefile dlls
/msnet32 enable_msnet32
21530 wine_fn_config_makefile dlls
/mspatcha enable_mspatcha
21531 wine_fn_config_makefile dlls
/mspatcha
/tests enable_tests
21532 wine_fn_config_makefile dlls
/msports enable_msports
21533 wine_fn_config_makefile dlls
/msrle32 enable_msrle32
21534 wine_fn_config_makefile dlls
/msrle32
/tests enable_tests
21535 wine_fn_config_makefile dlls
/msscript.ocx enable_msscript_ocx
21536 wine_fn_config_makefile dlls
/msscript.ocx
/tests enable_tests
21537 wine_fn_config_makefile dlls
/mssign32 enable_mssign32
21538 wine_fn_config_makefile dlls
/mssip32 enable_mssip32
21539 wine_fn_config_makefile dlls
/mstask enable_mstask
21540 wine_fn_config_makefile dlls
/mstask
/tests enable_tests
21541 wine_fn_config_makefile dlls
/msv1_0 enable_msv1_0
21542 wine_fn_config_makefile dlls
/msvcirt enable_msvcirt
21543 wine_fn_config_makefile dlls
/msvcirt
/tests enable_tests
21544 wine_fn_config_makefile dlls
/msvcm80 enable_msvcm80
21545 wine_fn_config_makefile dlls
/msvcm90 enable_msvcm90
21546 wine_fn_config_makefile dlls
/msvcp100 enable_msvcp100
21547 wine_fn_config_makefile dlls
/msvcp100
/tests enable_tests
21548 wine_fn_config_makefile dlls
/msvcp110 enable_msvcp110
21549 wine_fn_config_makefile dlls
/msvcp110
/tests enable_tests
21550 wine_fn_config_makefile dlls
/msvcp120 enable_msvcp120
21551 wine_fn_config_makefile dlls
/msvcp120
/tests enable_tests
21552 wine_fn_config_makefile dlls
/msvcp120_app enable_msvcp120_app
21553 wine_fn_config_makefile dlls
/msvcp140 enable_msvcp140
21554 wine_fn_config_makefile dlls
/msvcp140
/tests enable_tests
21555 wine_fn_config_makefile dlls
/msvcp140_1 enable_msvcp140_1
21556 wine_fn_config_makefile dlls
/msvcp140_
1/tests enable_tests
21557 wine_fn_config_makefile dlls
/msvcp140_2 enable_msvcp140_2
21558 wine_fn_config_makefile dlls
/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21559 wine_fn_config_makefile dlls
/msvcp140_atomic_wait
/tests enable_tests
21560 wine_fn_config_makefile dlls
/msvcp60 enable_msvcp60
21561 wine_fn_config_makefile dlls
/msvcp60
/tests enable_tests
21562 wine_fn_config_makefile dlls
/msvcp70 enable_msvcp70
21563 wine_fn_config_makefile dlls
/msvcp71 enable_msvcp71
21564 wine_fn_config_makefile dlls
/msvcp80 enable_msvcp80
21565 wine_fn_config_makefile dlls
/msvcp90 enable_msvcp90
21566 wine_fn_config_makefile dlls
/msvcp90
/tests enable_tests
21567 wine_fn_config_makefile dlls
/msvcp_win enable_msvcp_win
21568 wine_fn_config_makefile dlls
/msvcr100 enable_msvcr100
21569 wine_fn_config_makefile dlls
/msvcr100
/tests enable_tests
21570 wine_fn_config_makefile dlls
/msvcr110 enable_msvcr110
21571 wine_fn_config_makefile dlls
/msvcr110
/tests enable_tests
21572 wine_fn_config_makefile dlls
/msvcr120 enable_msvcr120
21573 wine_fn_config_makefile dlls
/msvcr120
/tests enable_tests
21574 wine_fn_config_makefile dlls
/msvcr120_app enable_msvcr120_app
21575 wine_fn_config_makefile dlls
/msvcr70 enable_msvcr70
21576 wine_fn_config_makefile dlls
/msvcr70
/tests enable_tests
21577 wine_fn_config_makefile dlls
/msvcr71 enable_msvcr71
21578 wine_fn_config_makefile dlls
/msvcr71
/tests enable_tests
21579 wine_fn_config_makefile dlls
/msvcr80 enable_msvcr80
21580 wine_fn_config_makefile dlls
/msvcr80
/tests enable_tests
21581 wine_fn_config_makefile dlls
/msvcr90 enable_msvcr90
21582 wine_fn_config_makefile dlls
/msvcr90
/tests enable_tests
21583 wine_fn_config_makefile dlls
/msvcrt enable_msvcrt
21584 wine_fn_config_makefile dlls
/msvcrt
/tests enable_tests
21585 wine_fn_config_makefile dlls
/msvcrt20 enable_msvcrt20
21586 wine_fn_config_makefile dlls
/msvcrt40 enable_msvcrt40
21587 wine_fn_config_makefile dlls
/msvcrtd enable_msvcrtd
21588 wine_fn_config_makefile dlls
/msvcrtd
/tests enable_tests
21589 wine_fn_config_makefile dlls
/msvfw32 enable_msvfw32
21590 wine_fn_config_makefile dlls
/msvfw32
/tests enable_tests
21591 wine_fn_config_makefile dlls
/msvidc32 enable_msvidc32
21592 wine_fn_config_makefile dlls
/msvideo.dll16 enable_win16
21593 wine_fn_config_makefile dlls
/mswsock enable_mswsock
21594 wine_fn_config_makefile dlls
/msxml enable_msxml
21595 wine_fn_config_makefile dlls
/msxml2 enable_msxml2
21596 wine_fn_config_makefile dlls
/msxml3 enable_msxml3
21597 wine_fn_config_makefile dlls
/msxml
3/tests enable_tests
21598 wine_fn_config_makefile dlls
/msxml4 enable_msxml4
21599 wine_fn_config_makefile dlls
/msxml6 enable_msxml6
21600 wine_fn_config_makefile dlls
/mtxdm enable_mtxdm
21601 wine_fn_config_makefile dlls
/ncrypt enable_ncrypt
21602 wine_fn_config_makefile dlls
/ncrypt
/tests enable_tests
21603 wine_fn_config_makefile dlls
/nddeapi enable_nddeapi
21604 wine_fn_config_makefile dlls
/ndis.sys enable_ndis_sys
21605 wine_fn_config_makefile dlls
/ndis.sys
/tests enable_tests
21606 wine_fn_config_makefile dlls
/netapi32 enable_netapi32
21607 wine_fn_config_makefile dlls
/netapi32
/tests enable_tests
21608 wine_fn_config_makefile dlls
/netcfgx enable_netcfgx
21609 wine_fn_config_makefile dlls
/netcfgx
/tests enable_tests
21610 wine_fn_config_makefile dlls
/netio.sys enable_netio_sys
21611 wine_fn_config_makefile dlls
/netprofm enable_netprofm
21612 wine_fn_config_makefile dlls
/netprofm
/tests enable_tests
21613 wine_fn_config_makefile dlls
/netutils enable_netutils
21614 wine_fn_config_makefile dlls
/newdev enable_newdev
21615 wine_fn_config_makefile dlls
/ninput enable_ninput
21616 wine_fn_config_makefile dlls
/ninput
/tests enable_tests
21617 wine_fn_config_makefile dlls
/normaliz enable_normaliz
21618 wine_fn_config_makefile dlls
/npmshtml enable_npmshtml
21619 wine_fn_config_makefile dlls
/npptools enable_npptools
21620 wine_fn_config_makefile dlls
/nsi enable_nsi
21621 wine_fn_config_makefile dlls
/nsi
/tests enable_tests
21622 wine_fn_config_makefile dlls
/nsiproxy.sys enable_nsiproxy_sys
21623 wine_fn_config_makefile dlls
/ntdll enable_ntdll
21624 wine_fn_config_makefile dlls
/ntdll
/tests enable_tests
21625 wine_fn_config_makefile dlls
/ntdsapi enable_ntdsapi
21626 wine_fn_config_makefile dlls
/ntdsapi
/tests enable_tests
21627 wine_fn_config_makefile dlls
/ntoskrnl.exe enable_ntoskrnl_exe
21628 wine_fn_config_makefile dlls
/ntoskrnl.exe
/tests enable_tests
21629 wine_fn_config_makefile dlls
/ntprint enable_ntprint
21630 wine_fn_config_makefile dlls
/ntprint
/tests enable_tests
21631 wine_fn_config_makefile dlls
/objsel enable_objsel
21632 wine_fn_config_makefile dlls
/odbc32 enable_odbc32
21633 wine_fn_config_makefile dlls
/odbcbcp enable_odbcbcp
21634 wine_fn_config_makefile dlls
/odbccp32 enable_odbccp32
21635 wine_fn_config_makefile dlls
/odbccp32
/tests enable_tests
21636 wine_fn_config_makefile dlls
/odbccu32 enable_odbccu32
21637 wine_fn_config_makefile dlls
/ole2.dll16 enable_win16
21638 wine_fn_config_makefile dlls
/ole2conv.dll16 enable_win16
21639 wine_fn_config_makefile dlls
/ole2disp.dll16 enable_win16
21640 wine_fn_config_makefile dlls
/ole2nls.dll16 enable_win16
21641 wine_fn_config_makefile dlls
/ole2prox.dll16 enable_win16
21642 wine_fn_config_makefile dlls
/ole2thk.dll16 enable_win16
21643 wine_fn_config_makefile dlls
/ole32 enable_ole32
21644 wine_fn_config_makefile dlls
/ole32
/tests enable_tests
21645 wine_fn_config_makefile dlls
/oleacc enable_oleacc
21646 wine_fn_config_makefile dlls
/oleacc
/tests enable_tests
21647 wine_fn_config_makefile dlls
/oleaut32 enable_oleaut32
21648 wine_fn_config_makefile dlls
/oleaut32
/tests enable_tests
21649 wine_fn_config_makefile dlls
/olecli.dll16 enable_win16
21650 wine_fn_config_makefile dlls
/olecli32 enable_olecli32
21651 wine_fn_config_makefile dlls
/oledb32 enable_oledb32
21652 wine_fn_config_makefile dlls
/oledb32
/tests enable_tests
21653 wine_fn_config_makefile dlls
/oledlg enable_oledlg
21654 wine_fn_config_makefile dlls
/oledlg
/tests enable_tests
21655 wine_fn_config_makefile dlls
/olepro32 enable_olepro32
21656 wine_fn_config_makefile dlls
/olesvr.dll16 enable_win16
21657 wine_fn_config_makefile dlls
/olesvr32 enable_olesvr32
21658 wine_fn_config_makefile dlls
/olethk32 enable_olethk32
21659 wine_fn_config_makefile dlls
/opcservices enable_opcservices
21660 wine_fn_config_makefile dlls
/opcservices
/tests enable_tests
21661 wine_fn_config_makefile dlls
/opencl enable_opencl
21662 wine_fn_config_makefile dlls
/opengl32 enable_opengl32
21663 wine_fn_config_makefile dlls
/opengl32
/tests enable_tests
21664 wine_fn_config_makefile dlls
/packager enable_packager
21665 wine_fn_config_makefile dlls
/packager
/tests enable_tests
21666 wine_fn_config_makefile dlls
/pdh enable_pdh
21667 wine_fn_config_makefile dlls
/pdh
/tests enable_tests
21668 wine_fn_config_makefile dlls
/photometadatahandler enable_photometadatahandler
21669 wine_fn_config_makefile dlls
/pidgen enable_pidgen
21670 wine_fn_config_makefile dlls
/powrprof enable_powrprof
21671 wine_fn_config_makefile dlls
/printui enable_printui
21672 wine_fn_config_makefile dlls
/prntvpt enable_prntvpt
21673 wine_fn_config_makefile dlls
/prntvpt
/tests enable_tests
21674 wine_fn_config_makefile dlls
/propsys enable_propsys
21675 wine_fn_config_makefile dlls
/propsys
/tests enable_tests
21676 wine_fn_config_makefile dlls
/psapi enable_psapi
21677 wine_fn_config_makefile dlls
/psapi
/tests enable_tests
21678 wine_fn_config_makefile dlls
/pstorec enable_pstorec
21679 wine_fn_config_makefile dlls
/pstorec
/tests enable_tests
21680 wine_fn_config_makefile dlls
/pwrshplugin enable_pwrshplugin
21681 wine_fn_config_makefile dlls
/qasf enable_qasf
21682 wine_fn_config_makefile dlls
/qasf
/tests enable_tests
21683 wine_fn_config_makefile dlls
/qcap enable_qcap
21684 wine_fn_config_makefile dlls
/qcap
/tests enable_tests
21685 wine_fn_config_makefile dlls
/qdvd enable_qdvd
21686 wine_fn_config_makefile dlls
/qdvd
/tests enable_tests
21687 wine_fn_config_makefile dlls
/qedit enable_qedit
21688 wine_fn_config_makefile dlls
/qedit
/tests enable_tests
21689 wine_fn_config_makefile dlls
/qmgr enable_qmgr
21690 wine_fn_config_makefile dlls
/qmgr
/tests enable_tests
21691 wine_fn_config_makefile dlls
/qmgrprxy enable_qmgrprxy
21692 wine_fn_config_makefile dlls
/quartz enable_quartz
21693 wine_fn_config_makefile dlls
/quartz
/tests enable_tests
21694 wine_fn_config_makefile dlls
/query enable_query
21695 wine_fn_config_makefile dlls
/qwave enable_qwave
21696 wine_fn_config_makefile dlls
/qwave
/tests enable_tests
21697 wine_fn_config_makefile dlls
/rasapi16.dll16 enable_win16
21698 wine_fn_config_makefile dlls
/rasapi32 enable_rasapi32
21699 wine_fn_config_makefile dlls
/rasapi32
/tests enable_tests
21700 wine_fn_config_makefile dlls
/rasdlg enable_rasdlg
21701 wine_fn_config_makefile dlls
/regapi enable_regapi
21702 wine_fn_config_makefile dlls
/resutils enable_resutils
21703 wine_fn_config_makefile dlls
/riched20 enable_riched20
21704 wine_fn_config_makefile dlls
/riched20
/tests enable_tests
21705 wine_fn_config_makefile dlls
/riched32 enable_riched32
21706 wine_fn_config_makefile dlls
/riched32
/tests enable_tests
21707 wine_fn_config_makefile dlls
/rpcrt4 enable_rpcrt4
21708 wine_fn_config_makefile dlls
/rpcrt
4/tests enable_tests
21709 wine_fn_config_makefile dlls
/rsabase enable_rsabase
21710 wine_fn_config_makefile dlls
/rsaenh enable_rsaenh
21711 wine_fn_config_makefile dlls
/rsaenh
/tests enable_tests
21712 wine_fn_config_makefile dlls
/rstrtmgr enable_rstrtmgr
21713 wine_fn_config_makefile dlls
/rtutils enable_rtutils
21714 wine_fn_config_makefile dlls
/rtworkq enable_rtworkq
21715 wine_fn_config_makefile dlls
/rtworkq
/tests enable_tests
21716 wine_fn_config_makefile dlls
/samlib enable_samlib
21717 wine_fn_config_makefile dlls
/sane.ds enable_sane_ds
21718 wine_fn_config_makefile dlls
/sapi enable_sapi
21719 wine_fn_config_makefile dlls
/sapi
/tests enable_tests
21720 wine_fn_config_makefile dlls
/sas enable_sas
21721 wine_fn_config_makefile dlls
/scarddlg enable_scarddlg
21722 wine_fn_config_makefile dlls
/sccbase enable_sccbase
21723 wine_fn_config_makefile dlls
/schannel enable_schannel
21724 wine_fn_config_makefile dlls
/schannel
/tests enable_tests
21725 wine_fn_config_makefile dlls
/schedsvc enable_schedsvc
21726 wine_fn_config_makefile dlls
/schedsvc
/tests enable_tests
21727 wine_fn_config_makefile dlls
/scrobj enable_scrobj
21728 wine_fn_config_makefile dlls
/scrobj
/tests enable_tests
21729 wine_fn_config_makefile dlls
/scrrun enable_scrrun
21730 wine_fn_config_makefile dlls
/scrrun
/tests enable_tests
21731 wine_fn_config_makefile dlls
/scsiport.sys enable_scsiport_sys
21732 wine_fn_config_makefile dlls
/sechost enable_sechost
21733 wine_fn_config_makefile dlls
/secur32 enable_secur32
21734 wine_fn_config_makefile dlls
/secur32
/tests enable_tests
21735 wine_fn_config_makefile dlls
/security enable_security
21736 wine_fn_config_makefile dlls
/sensapi enable_sensapi
21737 wine_fn_config_makefile dlls
/serialui enable_serialui
21738 wine_fn_config_makefile dlls
/serialui
/tests enable_tests
21739 wine_fn_config_makefile dlls
/setupapi enable_setupapi
21740 wine_fn_config_makefile dlls
/setupapi
/tests enable_tests
21741 wine_fn_config_makefile dlls
/setupx.dll16 enable_win16
21742 wine_fn_config_makefile dlls
/sfc enable_sfc
21743 wine_fn_config_makefile dlls
/sfc_os enable_sfc_os
21744 wine_fn_config_makefile dlls
/shcore enable_shcore
21745 wine_fn_config_makefile dlls
/shcore
/tests enable_tests
21746 wine_fn_config_makefile dlls
/shdoclc enable_shdoclc
21747 wine_fn_config_makefile dlls
/shdocvw enable_shdocvw
21748 wine_fn_config_makefile dlls
/shdocvw
/tests enable_tests
21749 wine_fn_config_makefile dlls
/shell.dll16 enable_win16
21750 wine_fn_config_makefile dlls
/shell32 enable_shell32
21751 wine_fn_config_makefile dlls
/shell32
/tests enable_tests
21752 wine_fn_config_makefile dlls
/shfolder enable_shfolder
21753 wine_fn_config_makefile dlls
/shlwapi enable_shlwapi
21754 wine_fn_config_makefile dlls
/shlwapi
/tests enable_tests
21755 wine_fn_config_makefile dlls
/slbcsp enable_slbcsp
21756 wine_fn_config_makefile dlls
/slc enable_slc
21757 wine_fn_config_makefile dlls
/slc
/tests enable_tests
21758 wine_fn_config_makefile dlls
/snmpapi enable_snmpapi
21759 wine_fn_config_makefile dlls
/snmpapi
/tests enable_tests
21760 wine_fn_config_makefile dlls
/softpub enable_softpub
21761 wine_fn_config_makefile dlls
/sound.drv16 enable_win16
21762 wine_fn_config_makefile dlls
/spoolss enable_spoolss
21763 wine_fn_config_makefile dlls
/spoolss
/tests enable_tests
21764 wine_fn_config_makefile dlls
/sppc enable_sppc
21765 wine_fn_config_makefile dlls
/srclient enable_srclient
21766 wine_fn_config_makefile dlls
/srvcli enable_srvcli
21767 wine_fn_config_makefile dlls
/sspicli enable_sspicli
21768 wine_fn_config_makefile dlls
/stdole2.tlb enable_stdole2_tlb
21769 wine_fn_config_makefile dlls
/stdole32.tlb enable_stdole32_tlb
21770 wine_fn_config_makefile dlls
/sti enable_sti
21771 wine_fn_config_makefile dlls
/sti
/tests enable_tests
21772 wine_fn_config_makefile dlls
/storage.dll16 enable_win16
21773 wine_fn_config_makefile dlls
/stress.dll16 enable_win16
21774 wine_fn_config_makefile dlls
/strmdll enable_strmdll
21775 wine_fn_config_makefile dlls
/svrapi enable_svrapi
21776 wine_fn_config_makefile dlls
/sxs enable_sxs
21777 wine_fn_config_makefile dlls
/sxs
/tests enable_tests
21778 wine_fn_config_makefile dlls
/system.drv16 enable_win16
21779 wine_fn_config_makefile dlls
/t2embed enable_t2embed
21780 wine_fn_config_makefile dlls
/t2embed
/tests enable_tests
21781 wine_fn_config_makefile dlls
/tapi32 enable_tapi32
21782 wine_fn_config_makefile dlls
/tapi32
/tests enable_tests
21783 wine_fn_config_makefile dlls
/taskschd enable_taskschd
21784 wine_fn_config_makefile dlls
/taskschd
/tests enable_tests
21785 wine_fn_config_makefile dlls
/tbs enable_tbs
21786 wine_fn_config_makefile dlls
/tdh enable_tdh
21787 wine_fn_config_makefile dlls
/tdi.sys enable_tdi_sys
21788 wine_fn_config_makefile dlls
/threadpoolwinrt enable_threadpoolwinrt
21789 wine_fn_config_makefile dlls
/threadpoolwinrt
/tests enable_tests
21790 wine_fn_config_makefile dlls
/toolhelp.dll16 enable_win16
21791 wine_fn_config_makefile dlls
/traffic enable_traffic
21792 wine_fn_config_makefile dlls
/twain.dll16 enable_win16
21793 wine_fn_config_makefile dlls
/twain_32 enable_twain_32
21794 wine_fn_config_makefile dlls
/twain_32
/tests enable_tests
21795 wine_fn_config_makefile dlls
/typelib.dll16 enable_win16
21796 wine_fn_config_makefile dlls
/tzres enable_tzres
21797 wine_fn_config_makefile dlls
/ucrtbase enable_ucrtbase
21798 wine_fn_config_makefile dlls
/ucrtbase
/tests enable_tests
21799 wine_fn_config_makefile dlls
/uianimation enable_uianimation
21800 wine_fn_config_makefile dlls
/uianimation
/tests enable_tests
21801 wine_fn_config_makefile dlls
/uiautomationcore enable_uiautomationcore
21802 wine_fn_config_makefile dlls
/uiautomationcore
/tests enable_tests
21803 wine_fn_config_makefile dlls
/uiribbon enable_uiribbon
21804 wine_fn_config_makefile dlls
/unicows enable_unicows
21805 wine_fn_config_makefile dlls
/updspapi enable_updspapi
21806 wine_fn_config_makefile dlls
/url enable_url
21807 wine_fn_config_makefile dlls
/urlmon enable_urlmon
21808 wine_fn_config_makefile dlls
/urlmon
/tests enable_tests
21809 wine_fn_config_makefile dlls
/usbd.sys enable_usbd_sys
21810 wine_fn_config_makefile dlls
/user.exe16 enable_win16
21811 wine_fn_config_makefile dlls
/user32 enable_user32
21812 wine_fn_config_makefile dlls
/user32
/tests enable_tests
21813 wine_fn_config_makefile dlls
/userenv enable_userenv
21814 wine_fn_config_makefile dlls
/userenv
/tests enable_tests
21815 wine_fn_config_makefile dlls
/usp10 enable_usp10
21816 wine_fn_config_makefile dlls
/usp10
/tests enable_tests
21817 wine_fn_config_makefile dlls
/utildll enable_utildll
21818 wine_fn_config_makefile dlls
/uxtheme enable_uxtheme
21819 wine_fn_config_makefile dlls
/uxtheme
/tests enable_tests
21820 wine_fn_config_makefile dlls
/vbscript enable_vbscript
21821 wine_fn_config_makefile dlls
/vbscript
/tests enable_tests
21822 wine_fn_config_makefile dlls
/vcomp enable_vcomp
21823 wine_fn_config_makefile dlls
/vcomp
/tests enable_tests
21824 wine_fn_config_makefile dlls
/vcomp100 enable_vcomp100
21825 wine_fn_config_makefile dlls
/vcomp110 enable_vcomp110
21826 wine_fn_config_makefile dlls
/vcomp110
/tests enable_tests
21827 wine_fn_config_makefile dlls
/vcomp120 enable_vcomp120
21828 wine_fn_config_makefile dlls
/vcomp140 enable_vcomp140
21829 wine_fn_config_makefile dlls
/vcomp90 enable_vcomp90
21830 wine_fn_config_makefile dlls
/vcruntime140 enable_vcruntime140
21831 wine_fn_config_makefile dlls
/vcruntime140_1 enable_vcruntime140_1
21832 wine_fn_config_makefile dlls
/vdhcp.vxd enable_win16
21833 wine_fn_config_makefile dlls
/vdmdbg enable_vdmdbg
21834 wine_fn_config_makefile dlls
/ver.dll16 enable_win16
21835 wine_fn_config_makefile dlls
/version enable_version
21836 wine_fn_config_makefile dlls
/version
/tests enable_tests
21837 wine_fn_config_makefile dlls
/vga enable_vga
21838 wine_fn_config_makefile dlls
/virtdisk enable_virtdisk
21839 wine_fn_config_makefile dlls
/virtdisk
/tests enable_tests
21840 wine_fn_config_makefile dlls
/vmm.vxd enable_win16
21841 wine_fn_config_makefile dlls
/vnbt.vxd enable_win16
21842 wine_fn_config_makefile dlls
/vnetbios.vxd enable_win16
21843 wine_fn_config_makefile dlls
/vssapi enable_vssapi
21844 wine_fn_config_makefile dlls
/vtdapi.vxd enable_win16
21845 wine_fn_config_makefile dlls
/vulkan-1 enable_vulkan_1
21846 wine_fn_config_makefile dlls
/vulkan-
1/tests enable_tests
21847 wine_fn_config_makefile dlls
/vwin32.vxd enable_win16
21848 wine_fn_config_makefile dlls
/w32skrnl enable_win16
21849 wine_fn_config_makefile dlls
/w32sys.dll16 enable_win16
21850 wine_fn_config_makefile dlls
/wbemdisp enable_wbemdisp
21851 wine_fn_config_makefile dlls
/wbemdisp
/tests enable_tests
21852 wine_fn_config_makefile dlls
/wbemprox enable_wbemprox
21853 wine_fn_config_makefile dlls
/wbemprox
/tests enable_tests
21854 wine_fn_config_makefile dlls
/wdscore enable_wdscore
21855 wine_fn_config_makefile dlls
/webservices enable_webservices
21856 wine_fn_config_makefile dlls
/webservices
/tests enable_tests
21857 wine_fn_config_makefile dlls
/websocket enable_websocket
21858 wine_fn_config_makefile dlls
/wer enable_wer
21859 wine_fn_config_makefile dlls
/wer
/tests enable_tests
21860 wine_fn_config_makefile dlls
/wevtapi enable_wevtapi
21861 wine_fn_config_makefile dlls
/wevtapi
/tests enable_tests
21862 wine_fn_config_makefile dlls
/wevtsvc enable_wevtsvc
21863 wine_fn_config_makefile dlls
/wiaservc enable_wiaservc
21864 wine_fn_config_makefile dlls
/wiaservc
/tests enable_tests
21865 wine_fn_config_makefile dlls
/wimgapi enable_wimgapi
21866 wine_fn_config_makefile dlls
/win32s16.dll16 enable_win16
21867 wine_fn_config_makefile dlls
/win32u enable_win32u
21868 wine_fn_config_makefile dlls
/win32u
/tests enable_tests
21869 wine_fn_config_makefile dlls
/win87em.dll16 enable_win16
21870 wine_fn_config_makefile dlls
/winaspi.dll16 enable_win16
21871 wine_fn_config_makefile dlls
/windebug.dll16 enable_win16
21872 wine_fn_config_makefile dlls
/windows.devices.enumeration enable_windows_devices_enumeration
21873 wine_fn_config_makefile dlls
/windows.devices.enumeration
/tests enable_tests
21874 wine_fn_config_makefile dlls
/windows.gaming.input enable_windows_gaming_input
21875 wine_fn_config_makefile dlls
/windows.gaming.input
/tests enable_tests
21876 wine_fn_config_makefile dlls
/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
21877 wine_fn_config_makefile dlls
/windows.gaming.ui.gamebar
/tests enable_tests
21878 wine_fn_config_makefile dlls
/windows.globalization enable_windows_globalization
21879 wine_fn_config_makefile dlls
/windows.globalization
/tests enable_tests
21880 wine_fn_config_makefile dlls
/windows.media.devices enable_windows_media_devices
21881 wine_fn_config_makefile dlls
/windows.media.devices
/tests enable_tests
21882 wine_fn_config_makefile dlls
/windows.media.speech enable_windows_media_speech
21883 wine_fn_config_makefile dlls
/windows.media.speech
/tests enable_tests
21884 wine_fn_config_makefile dlls
/windows.networking enable_windows_networking
21885 wine_fn_config_makefile dlls
/windowscodecs enable_windowscodecs
21886 wine_fn_config_makefile dlls
/windowscodecs
/tests enable_tests
21887 wine_fn_config_makefile dlls
/windowscodecsext enable_windowscodecsext
21888 wine_fn_config_makefile dlls
/windowscodecsext
/tests enable_tests
21889 wine_fn_config_makefile dlls
/winealsa.drv enable_winealsa_drv
21890 wine_fn_config_makefile dlls
/wineandroid.drv enable_wineandroid_drv
21891 wine_fn_config_makefile dlls
/winebus.sys enable_winebus_sys
21892 wine_fn_config_makefile dlls
/winecoreaudio.drv enable_winecoreaudio_drv
21893 wine_fn_config_makefile dlls
/winecrt0 enable_winecrt0
21894 wine_fn_config_makefile dlls
/wined3d enable_wined3d
21895 wine_fn_config_makefile dlls
/winegstreamer enable_winegstreamer
21896 wine_fn_config_makefile dlls
/winehid.sys enable_winehid_sys
21897 wine_fn_config_makefile dlls
/winemac.drv enable_winemac_drv
21898 wine_fn_config_makefile dlls
/winemapi enable_winemapi
21899 wine_fn_config_makefile dlls
/wineoss.drv enable_wineoss_drv
21900 wine_fn_config_makefile dlls
/wineps.drv enable_wineps_drv
21901 wine_fn_config_makefile dlls
/wineps16.drv16 enable_win16
21902 wine_fn_config_makefile dlls
/winepulse.drv enable_winepulse_drv
21903 wine_fn_config_makefile dlls
/wineusb.sys enable_wineusb_sys
21904 wine_fn_config_makefile dlls
/winevulkan enable_winevulkan
21905 wine_fn_config_makefile dlls
/winex11.drv enable_winex11_drv
21906 wine_fn_config_makefile dlls
/winexinput.sys enable_winexinput_sys
21907 wine_fn_config_makefile dlls
/wing.dll16 enable_win16
21908 wine_fn_config_makefile dlls
/wing32 enable_wing32
21909 wine_fn_config_makefile dlls
/winhttp enable_winhttp
21910 wine_fn_config_makefile dlls
/winhttp
/tests enable_tests
21911 wine_fn_config_makefile dlls
/wininet enable_wininet
21912 wine_fn_config_makefile dlls
/wininet
/tests enable_tests
21913 wine_fn_config_makefile dlls
/winmm enable_winmm
21914 wine_fn_config_makefile dlls
/winmm
/tests enable_tests
21915 wine_fn_config_makefile dlls
/winnls.dll16 enable_win16
21916 wine_fn_config_makefile dlls
/winnls32 enable_winnls32
21917 wine_fn_config_makefile dlls
/winscard enable_winscard
21918 wine_fn_config_makefile dlls
/winsock.dll16 enable_win16
21919 wine_fn_config_makefile dlls
/winspool.drv enable_winspool_drv
21920 wine_fn_config_makefile dlls
/winspool.drv
/tests enable_tests
21921 wine_fn_config_makefile dlls
/winsta enable_winsta
21922 wine_fn_config_makefile dlls
/wintab.dll16 enable_win16
21923 wine_fn_config_makefile dlls
/wintab32 enable_wintab32
21924 wine_fn_config_makefile dlls
/wintab32
/tests enable_tests
21925 wine_fn_config_makefile dlls
/wintrust enable_wintrust
21926 wine_fn_config_makefile dlls
/wintrust
/tests enable_tests
21927 wine_fn_config_makefile dlls
/wintypes enable_wintypes
21928 wine_fn_config_makefile dlls
/wintypes
/tests enable_tests
21929 wine_fn_config_makefile dlls
/winusb enable_winusb
21930 wine_fn_config_makefile dlls
/wlanapi enable_wlanapi
21931 wine_fn_config_makefile dlls
/wlanapi
/tests enable_tests
21932 wine_fn_config_makefile dlls
/wlanui enable_wlanui
21933 wine_fn_config_makefile dlls
/wldap32 enable_wldap32
21934 wine_fn_config_makefile dlls
/wldap32
/tests enable_tests
21935 wine_fn_config_makefile dlls
/wmasf enable_wmasf
21936 wine_fn_config_makefile dlls
/wmi enable_wmi
21937 wine_fn_config_makefile dlls
/wmiutils enable_wmiutils
21938 wine_fn_config_makefile dlls
/wmiutils
/tests enable_tests
21939 wine_fn_config_makefile dlls
/wmp enable_wmp
21940 wine_fn_config_makefile dlls
/wmp
/tests enable_tests
21941 wine_fn_config_makefile dlls
/wmphoto enable_wmphoto
21942 wine_fn_config_makefile dlls
/wmvcore enable_wmvcore
21943 wine_fn_config_makefile dlls
/wmvcore
/tests enable_tests
21944 wine_fn_config_makefile dlls
/wnaspi32 enable_wnaspi32
21945 wine_fn_config_makefile dlls
/wow32 enable_win16
21946 wine_fn_config_makefile dlls
/wow64 enable_wow64
21947 wine_fn_config_makefile dlls
/wow64cpu enable_wow64cpu
21948 wine_fn_config_makefile dlls
/wow64win enable_wow64win
21949 wine_fn_config_makefile dlls
/wpc enable_wpc
21950 wine_fn_config_makefile dlls
/wpc
/tests enable_tests
21951 wine_fn_config_makefile dlls
/wpcap enable_wpcap
21952 wine_fn_config_makefile dlls
/ws2_32 enable_ws2_32
21953 wine_fn_config_makefile dlls
/ws2_32
/tests enable_tests
21954 wine_fn_config_makefile dlls
/wsdapi enable_wsdapi
21955 wine_fn_config_makefile dlls
/wsdapi
/tests enable_tests
21956 wine_fn_config_makefile dlls
/wshom.ocx enable_wshom_ocx
21957 wine_fn_config_makefile dlls
/wshom.ocx
/tests enable_tests
21958 wine_fn_config_makefile dlls
/wsnmp32 enable_wsnmp32
21959 wine_fn_config_makefile dlls
/wsnmp32
/tests enable_tests
21960 wine_fn_config_makefile dlls
/wsock32 enable_wsock32
21961 wine_fn_config_makefile dlls
/wtsapi32 enable_wtsapi32
21962 wine_fn_config_makefile dlls
/wtsapi32
/tests enable_tests
21963 wine_fn_config_makefile dlls
/wuapi enable_wuapi
21964 wine_fn_config_makefile dlls
/wuaueng enable_wuaueng
21965 wine_fn_config_makefile dlls
/x3daudio1_0 enable_x3daudio1_0
21966 wine_fn_config_makefile dlls
/x3daudio1_1 enable_x3daudio1_1
21967 wine_fn_config_makefile dlls
/x3daudio1_2 enable_x3daudio1_2
21968 wine_fn_config_makefile dlls
/x3daudio1_3 enable_x3daudio1_3
21969 wine_fn_config_makefile dlls
/x3daudio1_4 enable_x3daudio1_4
21970 wine_fn_config_makefile dlls
/x3daudio1_5 enable_x3daudio1_5
21971 wine_fn_config_makefile dlls
/x3daudio1_6 enable_x3daudio1_6
21972 wine_fn_config_makefile dlls
/x3daudio1_7 enable_x3daudio1_7
21973 wine_fn_config_makefile dlls
/xactengine2_0 enable_xactengine2_0
21974 wine_fn_config_makefile dlls
/xactengine2_4 enable_xactengine2_4
21975 wine_fn_config_makefile dlls
/xactengine2_7 enable_xactengine2_7
21976 wine_fn_config_makefile dlls
/xactengine2_9 enable_xactengine2_9
21977 wine_fn_config_makefile dlls
/xactengine3_0 enable_xactengine3_0
21978 wine_fn_config_makefile dlls
/xactengine3_1 enable_xactengine3_1
21979 wine_fn_config_makefile dlls
/xactengine3_2 enable_xactengine3_2
21980 wine_fn_config_makefile dlls
/xactengine3_3 enable_xactengine3_3
21981 wine_fn_config_makefile dlls
/xactengine3_4 enable_xactengine3_4
21982 wine_fn_config_makefile dlls
/xactengine3_5 enable_xactengine3_5
21983 wine_fn_config_makefile dlls
/xactengine3_6 enable_xactengine3_6
21984 wine_fn_config_makefile dlls
/xactengine3_7 enable_xactengine3_7
21985 wine_fn_config_makefile dlls
/xactengine3_
7/tests enable_tests
21986 wine_fn_config_makefile dlls
/xapofx1_1 enable_xapofx1_1
21987 wine_fn_config_makefile dlls
/xapofx1_2 enable_xapofx1_2
21988 wine_fn_config_makefile dlls
/xapofx1_3 enable_xapofx1_3
21989 wine_fn_config_makefile dlls
/xapofx1_4 enable_xapofx1_4
21990 wine_fn_config_makefile dlls
/xapofx1_5 enable_xapofx1_5
21991 wine_fn_config_makefile dlls
/xaudio2_0 enable_xaudio2_0
21992 wine_fn_config_makefile dlls
/xaudio2_1 enable_xaudio2_1
21993 wine_fn_config_makefile dlls
/xaudio2_2 enable_xaudio2_2
21994 wine_fn_config_makefile dlls
/xaudio2_3 enable_xaudio2_3
21995 wine_fn_config_makefile dlls
/xaudio2_4 enable_xaudio2_4
21996 wine_fn_config_makefile dlls
/xaudio2_5 enable_xaudio2_5
21997 wine_fn_config_makefile dlls
/xaudio2_6 enable_xaudio2_6
21998 wine_fn_config_makefile dlls
/xaudio2_7 enable_xaudio2_7
21999 wine_fn_config_makefile dlls
/xaudio2_
7/tests enable_tests
22000 wine_fn_config_makefile dlls
/xaudio2_8 enable_xaudio2_8
22001 wine_fn_config_makefile dlls
/xaudio2_9 enable_xaudio2_9
22002 wine_fn_config_makefile dlls
/xinput1_1 enable_xinput1_1
22003 wine_fn_config_makefile dlls
/xinput1_2 enable_xinput1_2
22004 wine_fn_config_makefile dlls
/xinput1_3 enable_xinput1_3
22005 wine_fn_config_makefile dlls
/xinput1_
3/tests enable_tests
22006 wine_fn_config_makefile dlls
/xinput1_4 enable_xinput1_4
22007 wine_fn_config_makefile dlls
/xinput9_1_0 enable_xinput9_1_0
22008 wine_fn_config_makefile dlls
/xmllite enable_xmllite
22009 wine_fn_config_makefile dlls
/xmllite
/tests enable_tests
22010 wine_fn_config_makefile dlls
/xolehlp enable_xolehlp
22011 wine_fn_config_makefile dlls
/xpsprint enable_xpsprint
22012 wine_fn_config_makefile dlls
/xpssvcs enable_xpssvcs
22013 wine_fn_config_makefile fonts enable_fonts
22014 wine_fn_config_makefile include enable_include
22015 wine_fn_config_makefile libs
/adsiid enable_adsiid
22016 wine_fn_config_makefile libs
/dmoguids enable_dmoguids
22017 wine_fn_config_makefile libs
/dxerr8 enable_dxerr8
22018 wine_fn_config_makefile libs
/dxerr9 enable_dxerr9
22019 wine_fn_config_makefile libs
/dxguid enable_dxguid
22020 wine_fn_config_makefile libs
/faudio enable_faudio
22021 wine_fn_config_makefile libs
/gsm enable_gsm
22022 wine_fn_config_makefile libs
/jpeg enable_jpeg
22023 wine_fn_config_makefile libs
/jxr enable_jxr
22024 wine_fn_config_makefile libs
/lcms2 enable_lcms2
22025 wine_fn_config_makefile libs
/ldap enable_ldap
22026 wine_fn_config_makefile libs
/mfuuid enable_mfuuid
22027 wine_fn_config_makefile libs
/mpg123 enable_mpg123
22028 wine_fn_config_makefile libs
/png enable_png
22029 wine_fn_config_makefile libs
/strmbase enable_strmbase
22030 wine_fn_config_makefile libs
/strmiids enable_strmiids
22031 wine_fn_config_makefile libs
/tiff enable_tiff
22032 wine_fn_config_makefile libs
/uuid enable_uuid
22033 wine_fn_config_makefile libs
/vkd3d enable_vkd3d
22034 wine_fn_config_makefile libs
/wbemuuid enable_wbemuuid
22035 wine_fn_config_makefile libs
/wine enable_wine
22036 wine_fn_config_makefile libs
/wmcodecdspuuid enable_wmcodecdspuuid
22037 wine_fn_config_makefile libs
/xml2 enable_xml2
22038 wine_fn_config_makefile libs
/xslt enable_xslt
22039 wine_fn_config_makefile libs
/zlib enable_zlib
22040 wine_fn_config_makefile loader enable_loader
22041 wine_fn_config_makefile nls enable_nls
22042 wine_fn_config_makefile po enable_po
22043 wine_fn_config_makefile programs
/arp enable_arp
22044 wine_fn_config_makefile programs
/aspnet_regiis enable_aspnet_regiis
22045 wine_fn_config_makefile programs
/attrib enable_attrib
22046 wine_fn_config_makefile programs
/cabarc enable_cabarc
22047 wine_fn_config_makefile programs
/cacls enable_cacls
22048 wine_fn_config_makefile programs
/certutil enable_certutil
22049 wine_fn_config_makefile programs
/chcp.com enable_chcp_com
22050 wine_fn_config_makefile programs
/clock enable_clock
22051 wine_fn_config_makefile programs
/cmd enable_cmd
22052 wine_fn_config_makefile programs
/cmd
/tests enable_tests
22053 wine_fn_config_makefile programs
/conhost enable_conhost
22054 wine_fn_config_makefile programs
/conhost
/tests enable_tests
22055 wine_fn_config_makefile programs
/control enable_control
22056 wine_fn_config_makefile programs
/cscript enable_cscript
22057 wine_fn_config_makefile programs
/dism enable_dism
22058 wine_fn_config_makefile programs
/dllhost enable_dllhost
22059 wine_fn_config_makefile programs
/dplaysvr enable_dplaysvr
22060 wine_fn_config_makefile programs
/dpnsvr enable_dpnsvr
22061 wine_fn_config_makefile programs
/dpvsetup enable_dpvsetup
22062 wine_fn_config_makefile programs
/dxdiag enable_dxdiag
22063 wine_fn_config_makefile programs
/eject enable_eject
22064 wine_fn_config_makefile programs
/expand enable_expand
22065 wine_fn_config_makefile programs
/explorer enable_explorer
22066 wine_fn_config_makefile programs
/extrac32 enable_extrac32
22067 wine_fn_config_makefile programs
/fc enable_fc
22068 wine_fn_config_makefile programs
/find enable_find
22069 wine_fn_config_makefile programs
/find
/tests enable_tests
22070 wine_fn_config_makefile programs
/findstr enable_findstr
22071 wine_fn_config_makefile programs
/fsutil enable_fsutil
22072 wine_fn_config_makefile programs
/fsutil
/tests enable_tests
22073 wine_fn_config_makefile programs
/hh enable_hh
22074 wine_fn_config_makefile programs
/hostname enable_hostname
22075 wine_fn_config_makefile programs
/icacls enable_icacls
22076 wine_fn_config_makefile programs
/icinfo enable_icinfo
22077 wine_fn_config_makefile programs
/iexplore enable_iexplore
22078 wine_fn_config_makefile programs
/ipconfig enable_ipconfig
22079 wine_fn_config_makefile programs
/lodctr enable_lodctr
22080 wine_fn_config_makefile programs
/mofcomp enable_mofcomp
22081 wine_fn_config_makefile programs
/mshta enable_mshta
22082 wine_fn_config_makefile programs
/msidb enable_msidb
22083 wine_fn_config_makefile programs
/msiexec enable_msiexec
22084 wine_fn_config_makefile programs
/msinfo32 enable_msinfo32
22085 wine_fn_config_makefile programs
/net enable_net
22086 wine_fn_config_makefile programs
/netsh enable_netsh
22087 wine_fn_config_makefile programs
/netstat enable_netstat
22088 wine_fn_config_makefile programs
/ngen enable_ngen
22089 wine_fn_config_makefile programs
/notepad enable_notepad
22090 wine_fn_config_makefile programs
/oleview enable_oleview
22091 wine_fn_config_makefile programs
/ping enable_ping
22092 wine_fn_config_makefile programs
/plugplay enable_plugplay
22093 wine_fn_config_makefile programs
/powershell enable_powershell
22094 wine_fn_config_makefile programs
/presentationfontcache enable_presentationfontcache
22095 wine_fn_config_makefile programs
/progman enable_progman
22096 wine_fn_config_makefile programs
/reg enable_reg
22097 wine_fn_config_makefile programs
/reg
/tests enable_tests
22098 wine_fn_config_makefile programs
/regasm enable_regasm
22099 wine_fn_config_makefile programs
/regedit enable_regedit
22100 wine_fn_config_makefile programs
/regedit
/tests enable_tests
22101 wine_fn_config_makefile programs
/regini enable_regini
22102 wine_fn_config_makefile programs
/regsvcs enable_regsvcs
22103 wine_fn_config_makefile programs
/regsvr32 enable_regsvr32
22104 wine_fn_config_makefile programs
/robocopy enable_robocopy
22105 wine_fn_config_makefile programs
/rpcss enable_rpcss
22106 wine_fn_config_makefile programs
/rundll.exe16 enable_win16
22107 wine_fn_config_makefile programs
/rundll32 enable_rundll32
22108 wine_fn_config_makefile programs
/sc enable_sc
22109 wine_fn_config_makefile programs
/sc
/tests enable_tests
22110 wine_fn_config_makefile programs
/schtasks enable_schtasks
22111 wine_fn_config_makefile programs
/schtasks
/tests enable_tests
22112 wine_fn_config_makefile programs
/sdbinst enable_sdbinst
22113 wine_fn_config_makefile programs
/secedit enable_secedit
22114 wine_fn_config_makefile programs
/servicemodelreg enable_servicemodelreg
22115 wine_fn_config_makefile programs
/services enable_services
22116 wine_fn_config_makefile programs
/services
/tests enable_tests
22117 wine_fn_config_makefile programs
/setx enable_setx
22118 wine_fn_config_makefile programs
/shutdown enable_shutdown
22119 wine_fn_config_makefile programs
/spoolsv enable_spoolsv
22120 wine_fn_config_makefile programs
/start enable_start
22121 wine_fn_config_makefile programs
/subst enable_subst
22122 wine_fn_config_makefile programs
/svchost enable_svchost
22123 wine_fn_config_makefile programs
/systeminfo enable_systeminfo
22124 wine_fn_config_makefile programs
/taskkill enable_taskkill
22125 wine_fn_config_makefile programs
/tasklist enable_tasklist
22126 wine_fn_config_makefile programs
/taskmgr enable_taskmgr
22127 wine_fn_config_makefile programs
/termsv enable_termsv
22128 wine_fn_config_makefile programs
/uninstaller enable_uninstaller
22129 wine_fn_config_makefile programs
/unlodctr enable_unlodctr
22130 wine_fn_config_makefile programs
/view enable_view
22131 wine_fn_config_makefile programs
/wevtutil enable_wevtutil
22132 wine_fn_config_makefile programs
/where enable_where
22133 wine_fn_config_makefile programs
/whoami enable_whoami
22134 wine_fn_config_makefile programs
/wineboot enable_wineboot
22135 wine_fn_config_makefile programs
/winebrowser enable_winebrowser
22136 wine_fn_config_makefile programs
/winecfg enable_winecfg
22137 wine_fn_config_makefile programs
/wineconsole enable_wineconsole
22138 wine_fn_config_makefile programs
/winedbg enable_winedbg
22139 wine_fn_config_makefile programs
/winedevice enable_winedevice
22140 wine_fn_config_makefile programs
/winefile enable_winefile
22141 wine_fn_config_makefile programs
/winemenubuilder enable_winemenubuilder
22142 wine_fn_config_makefile programs
/winemine enable_winemine
22143 wine_fn_config_makefile programs
/winemsibuilder enable_winemsibuilder
22144 wine_fn_config_makefile programs
/winepath enable_winepath
22145 wine_fn_config_makefile programs
/winetest enable_winetest
22146 wine_fn_config_makefile programs
/winevdm enable_win16
22147 wine_fn_config_makefile programs
/winhelp.exe16 enable_win16
22148 wine_fn_config_makefile programs
/winhlp32 enable_winhlp32
22149 wine_fn_config_makefile programs
/winmgmt enable_winmgmt
22150 wine_fn_config_makefile programs
/winoldap.mod16 enable_win16
22151 wine_fn_config_makefile programs
/winver enable_winver
22152 wine_fn_config_makefile programs
/wmic enable_wmic
22153 wine_fn_config_makefile programs
/wmplayer enable_wmplayer
22154 wine_fn_config_makefile programs
/wordpad enable_wordpad
22155 wine_fn_config_makefile programs
/write enable_write
22156 wine_fn_config_makefile programs
/wscript enable_wscript
22157 wine_fn_config_makefile programs
/wscript
/tests enable_tests
22158 wine_fn_config_makefile programs
/wuauserv enable_wuauserv
22159 wine_fn_config_makefile programs
/wusa enable_wusa
22160 wine_fn_config_makefile programs
/xcopy enable_xcopy
22161 wine_fn_config_makefile programs
/xcopy
/tests enable_tests
22162 wine_fn_config_makefile server enable_server
22163 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22164 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/sfnt2fon enable_sfnt2fon
22165 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/widl enable_widl
22166 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winebuild enable_winebuild
22167 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winedump enable_winedump
22168 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winegcc enable_winegcc
22169 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winemaker enable_winemaker
22170 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/wmc enable_wmc
22171 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/wrc enable_wrc
22174 as_fn_append CONFIGURE_TARGETS
" TAGS"
22175 as_fn_append CONFIGURE_TARGETS
" tags"
22176 as_fn_append CONFIGURE_TARGETS
" autom4te.cache"
22177 as_fn_append CONFIGURE_TARGETS
" config.log"
22178 as_fn_append CONFIGURE_TARGETS
" config.status"
22179 as_fn_append CONFIGURE_TARGETS
" include/config.h"
22180 as_fn_append CONFIGURE_TARGETS
" include/stamp-h"
22181 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine"
22183 if test "x$enable_tools" != xno
22185 as_fn_append CONFIGURE_TARGETS
" tools/makedep$ac_exeext"
22186 ac_config_commands
="$ac_config_commands tools/makedep"
22190 ac_config_commands
="$ac_config_commands Makefile"
22197 as_fn_append wine_rules
"
22199 @echo \"Wine build complete.\"
22203 Makefile: config.status \$(MAKEDEP)
22204 @./config.status Makefile
22205 depend: \$(MAKEDEP)
22206 \$(MAKEDEP)$makedep_flags"
22209 as_fn_append wine_rules
"
22210 config.status: ${wine_srcdir}configure
22211 @./config.status --recheck
22212 include/config.h: include/stamp-h
22213 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22214 @./config.status include/config.h include/stamp-h"
22216 if test "x$enable_maintainer_mode" = xyes
22218 as_fn_append wine_rules
"
22219 configure: configure.ac aclocal.m4
22220 autoconf --warnings=all
22221 include/config.h.in: include/stamp-h.in
22222 include/stamp-h.in: configure.ac aclocal.m4
22223 autoheader --warnings=all
22224 @echo timestamp > \$@"
22227 if test "x$enable_tools" != xno
22229 as_fn_append wine_rules
"
22230 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22231 @./config.status tools/makedep
22232 Makefile: tools/makedep$ac_exeext"
22234 as_fn_append wine_rules
"
22236 @echo \"You need to run make in $toolsdir first\" && false"
22240 if test -n "$with_wine64"
22242 case "$with_wine64" in
22246 rm -f fonts server
2>/dev
/null
22247 as_fn_append wine_rules
"
22248 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22249 loader/wine64 loader/wine64-preloader:
22250 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22251 $with_wine64/loader/wine:
22252 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22253 $with_wine64/loader/wine-preloader:
22254 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22256 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22258 TOP_INSTALL_DEV
="$TOP_INSTALL_DEV include"
22259 TOP_INSTALL_LIB
="$TOP_INSTALL_LIB \
22263 programs/msidb/msidb \
22264 programs/msiexec/msiexec \
22265 programs/notepad/notepad \
22266 programs/regedit/regedit \
22267 programs/regsvr32/regsvr32 \
22268 programs/wineboot/wineboot \
22269 programs/winecfg/winecfg \
22270 programs/wineconsole/wineconsole \
22271 programs/winedbg/winedbg \
22272 programs/winefile/winefile \
22273 programs/winemine/winemine \
22274 programs/winepath/winepath \
22278 cygwin
*|mingw32
*|darwin
*|macosx
*|linux-android
*) ;;
22279 *) TOP_INSTALL_LIB
="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22284 as_fn_append wine_rules
"
22286 rm -rf autom4te.cache
22288 rm -f configure include/config.h.in"
22291 as_fn_append wine_rules
"
22292 dlls/ntdll/unix/version.c: dummy
22293 @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)
22294 programs/winetest/build.rc: dummy
22295 @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)
22296 programs/winetest/build.nfo:
22298 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
22299 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22300 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22303 TAGSFLAGS
="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22305 as_fn_append wine_rules
"
22308 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22311 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22313 .PHONY: depend dummy install-manpages"
22315 printf "%s\n" " done" >&6
22316 cat >confcache
<<\_ACEOF
22317 # This file is a shell script that caches the results of configure
22318 # tests run on this system so they can be shared between configure
22319 # scripts and configure runs, see configure's option --config-cache.
22320 # It is not useful on other systems. If it contains results you don't
22321 # want to keep, you may remove or edit it.
22323 # config.status only pays attention to the cache file if you give it
22324 # the --recheck option to rerun configure.
22326 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22327 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22328 # following values.
22332 # The following way of writing the cache mishandles newlines in values,
22333 # but we know of no workaround that is simple, portable, and efficient.
22334 # So, we kill variables containing newlines.
22335 # Ultrix sh set writes to stderr and can't be redirected directly,
22336 # and sets the high bit in the cache file unless we assign to the vars.
22338 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22339 eval ac_val
=\$
$ac_var
22343 *_cv_
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22344 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22347 _ | IFS | as_nl
) ;; #(
22348 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
22349 *) { eval $ac_var=; unset $ac_var;} ;;
22355 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22356 *${as_nl}ac_space
=\
*)
22357 # `set' does not quote correctly, so add quotes: double-quote
22358 # substitution turns \\\\ into \\, and sed turns \\ into \.
22361 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22364 # `set' quotes correctly as required by POSIX, so do not add quotes.
22365 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22374 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22376 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22378 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22379 if test -w "$cache_file"; then
22380 if test "x$cache_file" != "x/dev/null"; then
22381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22382 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22383 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
22384 cat confcache
>"$cache_file"
22386 case $cache_file in #(
22388 mv -f confcache
"$cache_file"$$
&&
22389 mv -f "$cache_file"$$
"$cache_file" ;; #(
22391 mv -f confcache
"$cache_file" ;;
22396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22397 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22402 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22403 # Let make expand exec_prefix.
22404 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22406 DEFS
=-DHAVE_CONFIG_H
22411 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22412 # 1. Remove the extension, and $U if already installed.
22413 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
22414 ac_i
=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22415 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22416 # will be set to the directory where LIBOBJS objects are built.
22417 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22418 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
22420 LIBOBJS
=$ac_libobjs
22422 LTLIBOBJS
=$ac_ltlibobjs
22426 : "${CONFIG_STATUS=./config.status}"
22428 ac_clean_files_save
=$ac_clean_files
22429 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22431 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22433 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22435 # Generated by $as_me.
22436 # Run this file to recreate the current configuration.
22437 # Compiler output produced by configure, useful for debugging
22438 # configure, is in config.log if it exists.
22441 ac_cs_recheck=false
22444 SHELL=\${CONFIG_SHELL-$SHELL}
22447 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
22448 ## -------------------- ##
22449 ## M4sh Initialization. ##
22450 ## -------------------- ##
22452 # Be more Bourne compatible
22453 DUALCASE
=1; export DUALCASE
# for MKS sh
22455 if test ${ZSH_VERSION+y} && (emulate sh
) >/dev
/null
2>&1
22459 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22460 # is contrary to our usage. Disable this feature.
22461 alias -g '${1+"$@"}'='"$@"'
22462 setopt NO_GLOB_SUBST
22464 case `(set -o) 2>/dev/null` in #(
22474 # Reset variables that may have inherited troublesome values from
22477 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22478 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22479 # side effect of setting IFS to empty, thus disabling word splitting.)
22480 # Quoting is to prevent editors from complaining about space-tab.
22490 # Ensure predictable behavior from utilities with locale-dependent output.
22496 # We cannot yet rely on "unset" to work, but we need these variables
22497 # to be unset--not just set to an empty or harmless value--now, to
22498 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22499 # also avoids known problems related to "unset" and subshell syntax
22500 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22501 for as_var
in BASH_ENV ENV MAIL MAILPATH CDPATH
22502 do eval test \
${$as_var+y} \
22503 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
22506 # Ensure that fds 0, 1, and 2 are open.
22507 if (exec 3>&0) 2>/dev
/null
; then :; else exec 0</dev
/null
; fi
22508 if (exec 3>&1) 2>/dev
/null
; then :; else exec 1>/dev
/null
; fi
22509 if (exec 3>&2) ; then :; else exec 2>/dev
/null
; fi
22511 # The user is always right.
22512 if ${PATH_SEPARATOR+false} :; then
22514 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
22515 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
22521 # Find who we are. Look in the path if we contain no directory separator.
22524 *[\\/]* ) as_myself
=$0 ;;
22525 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22526 for as_dir
in $PATH
22529 case $as_dir in #(((
22532 *) as_dir
=$as_dir/ ;;
22534 test -r "$as_dir$0" && as_myself
=$as_dir$0 && break
22540 # We did not find ourselves, most probably we were run as `sh COMMAND'
22541 # in which case we are not to be found in the path.
22542 if test "x$as_myself" = x
; then
22545 if test ! -f "$as_myself"; then
22546 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22552 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22553 # ----------------------------------------
22554 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22555 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22556 # script with STATUS, using 1 if that was 0.
22559 as_status
=$1; test $as_status -eq 0 && as_status
=1
22561 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
22562 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22564 printf "%s\n" "$as_me: error: $2" >&2
22565 as_fn_exit
$as_status
22570 # as_fn_set_status STATUS
22571 # -----------------------
22572 # Set $? to STATUS, without forking.
22573 as_fn_set_status
()
22576 } # as_fn_set_status
22578 # as_fn_exit STATUS
22579 # -----------------
22580 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22584 as_fn_set_status
$1
22590 # Portably unset VAR.
22593 { eval $1=; unset $1;}
22595 as_unset
=as_fn_unset
22597 # as_fn_append VAR VALUE
22598 # ----------------------
22599 # Append the text in VALUE to the end of the definition contained in VAR. Take
22600 # advantage of any shell optimizations that allow amortized linear growth over
22601 # repeated appends, instead of the typical quadratic growth present in naive
22603 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
22605 eval 'as_fn_append ()
22616 # as_fn_arith ARG...
22617 # ------------------
22618 # Perform arithmetic evaluation on the ARGs, and store the result in the
22619 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22620 # must be portable across $(()) and expr.
22621 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
22623 eval 'as_fn_arith ()
22630 as_val
=`expr "$@" || test $? -eq 1`
22635 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22636 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22642 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22643 as_basename
=basename
22648 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
22654 as_me
=`$as_basename -- "$0" ||
22655 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22656 X"$0" : 'X\(//\)$' \| \
22657 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22658 printf "%s\n" X/"$0" |
22659 sed '/^.*\/\([^/][^/]*\)\/*$/{
22673 # Avoid depending upon Character Ranges.
22674 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22675 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22676 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22677 as_cr_digits
='0123456789'
22678 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22681 # Determine whether it's possible to make 'echo' print without a newline.
22682 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22683 # for compatibility with existing Makefiles.
22684 ECHO_C
= ECHO_N
= ECHO_T
=
22685 case `echo -n x` in #(((((
22687 case `echo 'xy\c'` in
22688 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
22690 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
22697 # For backward compatibility with old third-party macros, we provide
22698 # the shell variables $as_echo and $as_echo_n. New code should use
22699 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22700 as_echo
='printf %s\n'
22701 as_echo_n
='printf %s'
22703 rm -f conf$$ conf$$.exe conf$$.
file
22704 if test -d conf$$.dir
; then
22705 rm -f conf$$.dir
/conf$$.
file
22708 mkdir conf$$.dir
2>/dev
/null
22710 if (echo >conf$$.
file) 2>/dev
/null
; then
22711 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22713 # ... but there are two gotchas:
22714 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22715 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22716 # In both cases, we have to default to `cp -pR'.
22717 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
22719 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22727 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
22728 rmdir conf$$.dir
2>/dev
/null
22733 # Create "$as_dir" as a directory, including parents if necessary.
22738 -*) as_dir
=.
/$as_dir;;
22740 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
22744 *\'*) as_qdir
=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22745 *) as_qdir
=$as_dir;;
22747 as_dirs
="'$as_qdir' $as_dirs"
22748 as_dir
=`$as_dirname -- "$as_dir" ||
22749 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22750 X"$as_dir" : 'X\(//\)[^/]' \| \
22751 X"$as_dir" : 'X\(//\)$' \| \
22752 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22753 printf "%s\n" X"$as_dir" |
22754 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22758 /^X\(\/\/\)[^/].*/{
22771 test -d "$as_dir" && break
22773 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22774 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
22778 if mkdir
-p .
2>/dev
/null
; then
22779 as_mkdir_p
='mkdir -p "$as_dir"'
22781 test -d .
/-p && rmdir .
/-p
22786 # as_fn_executable_p FILE
22787 # -----------------------
22788 # Test if FILE is an executable regular file.
22789 as_fn_executable_p
()
22791 test -f "$1" && test -x "$1"
22792 } # as_fn_executable_p
22793 as_test_x
='test -x'
22794 as_executable_p
=as_fn_executable_p
22796 # Sed expression to map a string onto a valid CPP name.
22797 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22799 # Sed expression to map a string onto a valid variable name.
22800 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22804 ## ----------------------------------- ##
22805 ## Main body of $CONFIG_STATUS script. ##
22806 ## ----------------------------------- ##
22808 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
22810 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22811 # Save the log message, to keep $0 and so on meaningful, and to
22812 # report actual input values of CONFIG_FILES etc. instead of their
22813 # values after options handling.
22815 This file was extended by Wine $as_me 7.21, which was
22816 generated by GNU Autoconf 2.71. Invocation command line was
22818 CONFIG_FILES = $CONFIG_FILES
22819 CONFIG_HEADERS = $CONFIG_HEADERS
22820 CONFIG_LINKS = $CONFIG_LINKS
22821 CONFIG_COMMANDS = $CONFIG_COMMANDS
22824 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22830 case $ac_config_headers in *"
22831 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
22835 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22836 # Files that config.status was made for.
22837 config_headers="$ac_config_headers"
22838 config_links="$ac_config_links"
22839 config_commands="$ac_config_commands"
22843 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22845 \`$as_me' instantiates files and other configuration actions
22846 from templates according to the current configuration. Unless the files
22847 and actions are specified as TAGs, all are instantiated by default.
22849 Usage: $0 [OPTION]... [TAG]...
22851 -h, --help print this help, then exit
22852 -V, --version print version number and configuration settings, then exit
22853 --config print configuration, then exit
22854 -q, --quiet, --silent
22855 do not print progress messages
22856 -d, --debug don't remove temporary files
22857 --recheck update $as_me by reconfiguring in the same conditions
22858 --header=FILE[:TEMPLATE]
22859 instantiate the configuration header FILE
22861 Configuration headers:
22864 Configuration links:
22867 Configuration commands:
22870 Report bugs to <wine-devel@winehq.org>.
22871 Wine home page: <https://www.winehq.org>."
22874 ac_cs_config
=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
22875 ac_cs_config_escaped
=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
22876 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22877 ac_cs_config='$ac_cs_config_escaped'
22879 Wine config.status 7.21
22880 configured by $0, generated by GNU Autoconf 2.71,
22881 with options \\"\$ac_cs_config\\"
22883 Copyright (C) 2021 Free Software Foundation, Inc.
22884 This config.status script is free software; the Free Software Foundation
22885 gives unlimited permission to copy, distribute and modify it."
22889 test -n "\$AWK" || AWK=awk
22892 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22893 # The default lists apply if the user does not specify any file.
22899 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22900 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
22904 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22916 # Handling of the options.
22917 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
22919 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
22920 printf "%s\n" "$ac_cs_version"; exit ;;
22921 --config |
--confi |
--conf |
--con |
--co |
--c )
22922 printf "%s\n" "$ac_cs_config"; exit ;;
22923 --debug |
--debu |
--deb |
--de |
--d |
-d )
22925 --header |
--heade |
--head |
--hea )
22928 *\'*) ac_optarg
=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22930 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
22931 ac_need_defaults
=false
;;
22933 # Conflict between --help and --header
22934 as_fn_error $?
"ambiguous option: \`$1'
22935 Try \`$0 --help' for more information.";;
22936 --help |
--hel |
-h )
22937 printf "%s\n" "$ac_cs_usage"; exit ;;
22938 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
22939 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
22942 # This is an error.
22943 -*) as_fn_error $?
"unrecognized option: \`$1'
22944 Try \`$0 --help' for more information." ;;
22946 *) as_fn_append ac_config_targets
" $1"
22947 ac_need_defaults
=false
;;
22953 ac_configure_extra_args
=
22955 if $ac_cs_silent; then
22957 ac_configure_extra_args
="$ac_configure_extra_args --silent"
22961 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22962 if \$ac_cs_recheck; then
22963 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22965 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
22966 CONFIG_SHELL='$SHELL'
22967 export CONFIG_SHELL
22972 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22976 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22977 ## Running $as_me. ##
22979 printf "%s\n" "$ac_log"
22983 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22987 wine_fn_output_makedep ()
22989 as_dir=tools; as_fn_mkdir_p
22990 $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
22992 wine_fn_output_makefile ()
22994 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
22995 # This Makefile understands the following targets:
22997 # all (default): build wine
22998 # clean: remove all intermediate files
22999 # distclean: also remove all files created by configure
23001 # testclean: clean test results to force running all tests again
23002 # install-lib: install libraries needed to run applications
23003 # install-dev: install development environment
23004 # install: install everything
23005 # uninstall: uninstall everything
23006 # ctags: create a tags file for vim and others.
23007 # etags: create a TAGS file for Emacs.
23010 PATH_SEPARATOR = $PATH_SEPARATOR
23011 PACKAGE_NAME = $PACKAGE_NAME
23012 PACKAGE_TARNAME = $PACKAGE_TARNAME
23013 PACKAGE_VERSION = $PACKAGE_VERSION
23014 PACKAGE_STRING = $PACKAGE_STRING
23015 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23016 PACKAGE_URL = $PACKAGE_URL
23017 exec_prefix = $exec_prefix
23019 program_transform_name = $program_transform_name
23022 libexecdir = $libexecdir
23023 datarootdir = $datarootdir
23025 sysconfdir = $sysconfdir
23026 sharedstatedir = $sharedstatedir
23027 localstatedir = $localstatedir
23028 runstatedir = $runstatedir
23029 includedir = $includedir
23030 oldincludedir = $oldincludedir
23038 localedir = $localedir
23045 build_alias = $build_alias
23046 host_alias = $host_alias
23047 target_alias = $target_alias
23048 system_dllpath = $system_dllpath
23050 build_cpu = $build_cpu
23051 build_vendor = $build_vendor
23052 build_os = $build_os
23054 host_cpu = $host_cpu
23055 host_vendor = $host_vendor
23061 SET_MAKE = $SET_MAKE
23065 CPPFLAGS = $CPPFLAGS
23066 ac_ct_CC = $ac_ct_CC
23070 CXXFLAGS = $CXXFLAGS
23071 ac_ct_CXX = $ac_ct_CXX
23074 TARGETFLAGS = $TARGETFLAGS
23075 toolsext = $toolsext
23076 HOST_ARCH = $HOST_ARCH
23077 aarch64_CC = $aarch64_CC
23078 aarch64_CFLAGS = $aarch64_CFLAGS
23079 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
23080 aarch64_LDFLAGS = $aarch64_LDFLAGS
23081 aarch64_DEBUG = $aarch64_DEBUG
23082 aarch64_TARGET = $aarch64_TARGET
23083 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
23084 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
23086 arm_CFLAGS = $arm_CFLAGS
23087 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
23088 arm_LDFLAGS = $arm_LDFLAGS
23089 arm_DEBUG = $arm_DEBUG
23090 arm_TARGET = $arm_TARGET
23091 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
23092 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
23094 i386_CFLAGS = $i386_CFLAGS
23095 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
23096 i386_LDFLAGS = $i386_LDFLAGS
23097 i386_DEBUG = $i386_DEBUG
23098 i386_TARGET = $i386_TARGET
23099 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
23100 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
23101 x86_64_CC = $x86_64_CC
23102 x86_64_CFLAGS = $x86_64_CFLAGS
23103 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
23104 x86_64_LDFLAGS = $x86_64_LDFLAGS
23105 x86_64_DEBUG = $x86_64_DEBUG
23106 x86_64_TARGET = $x86_64_TARGET
23107 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
23108 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
23109 toolsdir = $toolsdir
23111 RUNTESTFLAGS = $RUNTESTFLAGS
23116 ac_ct_AR = $ac_ct_AR
23122 LDCONFIG = $LDCONFIG
23124 PKG_CONFIG = $PKG_CONFIG
23125 FONTFORGE = $FONTFORGE
23129 I386_LIBS = $I386_LIBS
23130 OPENGL_LIBS = $OPENGL_LIBS
23131 DLLFLAGS = $DLLFLAGS
23132 LDDLLFLAGS = $LDDLLFLAGS
23133 LDEXECFLAGS = $LDEXECFLAGS
23134 EXTRACFLAGS = $EXTRACFLAGS
23135 UNIXDLLFLAGS = $UNIXDLLFLAGS
23136 UNIXLDFLAGS = $UNIXLDFLAGS
23137 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23138 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23139 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23140 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23145 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23146 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23147 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23149 OBJCFLAGS = $OBJCFLAGS
23150 ac_ct_OBJC = $ac_ct_OBJC
23151 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23152 IOKIT_LIBS = $IOKIT_LIBS
23153 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23154 CORESERVICES_LIBS = $CORESERVICES_LIBS
23155 APPKIT_LIBS = $APPKIT_LIBS
23156 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23157 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23158 SECURITY_LIBS = $SECURITY_LIBS
23159 COREAUDIO_LIBS = $COREAUDIO_LIBS
23160 OPENCL_LIBS = $OPENCL_LIBS
23161 CARBON_LIBS = $CARBON_LIBS
23162 METAL_LIBS = $METAL_LIBS
23163 LIBWINE_SHAREDLIB = $LIBWINE_SHAREDLIB
23164 LIBWINE_LDFLAGS = $LIBWINE_LDFLAGS
23165 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23167 LIBWINE_DEPENDS = $LIBWINE_DEPENDS
23168 PE_ARCHS = $PE_ARCHS
23169 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23170 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23171 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23172 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23173 GSM_PE_LIBS = $GSM_PE_LIBS
23174 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23175 JPEG_PE_LIBS = $JPEG_PE_LIBS
23176 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23177 JXR_PE_LIBS = $JXR_PE_LIBS
23178 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23179 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23180 LDAP_PE_CFLAGS = $LDAP_PE_CFLAGS
23181 LDAP_PE_LIBS = $LDAP_PE_LIBS
23182 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23183 MPG123_PE_LIBS = $MPG123_PE_LIBS
23184 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23185 PNG_PE_LIBS = $PNG_PE_LIBS
23186 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23187 TIFF_PE_LIBS = $TIFF_PE_LIBS
23188 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23189 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23190 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23191 XML2_PE_LIBS = $XML2_PE_LIBS
23192 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23193 XSLT_PE_LIBS = $XSLT_PE_LIBS
23194 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23195 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23196 PTHREAD_LIBS = $PTHREAD_LIBS
23199 X_CFLAGS = $X_CFLAGS
23200 X_PRE_LIBS = $X_PRE_LIBS
23202 X_EXTRA_LIBS = $X_EXTRA_LIBS
23203 PCAP_LIBS = $PCAP_LIBS
23204 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23205 INOTIFY_LIBS = $INOTIFY_LIBS
23206 DBUS_CFLAGS = $DBUS_CFLAGS
23207 DBUS_LIBS = $DBUS_LIBS
23208 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23209 GNUTLS_LIBS = $GNUTLS_LIBS
23210 SANE_CFLAGS = $SANE_CFLAGS
23211 SANE_LIBS = $SANE_LIBS
23212 USB_CFLAGS = $USB_CFLAGS
23213 USB_LIBS = $USB_LIBS
23214 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23215 GPHOTO2_LIBS = $GPHOTO2_LIBS
23216 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23217 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23218 RESOLV_LIBS = $RESOLV_LIBS
23219 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23220 FREETYPE_LIBS = $FREETYPE_LIBS
23221 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23222 PULSE_CFLAGS = $PULSE_CFLAGS
23223 PULSE_LIBS = $PULSE_LIBS
23224 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23225 GSTREAMER_LIBS = $GSTREAMER_LIBS
23226 ALSA_LIBS = $ALSA_LIBS
23227 OSS4_CFLAGS = $OSS4_CFLAGS
23228 OSS4_LIBS = $OSS4_LIBS
23229 UDEV_CFLAGS = $UDEV_CFLAGS
23230 UDEV_LIBS = $UDEV_LIBS
23231 UNWIND_CFLAGS = $UNWIND_CFLAGS
23232 UNWIND_LIBS = $UNWIND_LIBS
23233 SDL2_CFLAGS = $SDL2_CFLAGS
23234 SDL2_LIBS = $SDL2_LIBS
23235 CAPI20_CFLAGS = $CAPI20_CFLAGS
23236 CAPI20_LIBS = $CAPI20_LIBS
23237 CUPS_CFLAGS = $CUPS_CFLAGS
23238 CUPS_LIBS = $CUPS_LIBS
23239 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23240 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23241 KRB5_CFLAGS = $KRB5_CFLAGS
23242 KRB5_LIBS = $KRB5_LIBS
23243 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23244 GSSAPI_LIBS = $GSSAPI_LIBS
23245 PROCSTAT_LIBS = $PROCSTAT_LIBS
23246 NETAPI_CFLAGS = $NETAPI_CFLAGS
23247 NETAPI_LIBS = $NETAPI_LIBS
23248 MSVCRTFLAGS = $MSVCRTFLAGS
23249 DELAYLOADFLAG = $DELAYLOADFLAG
23251 TAGSFLAGS = $TAGSFLAGS
23253 LTLIBOBJS = $LTLIBOBJS
23257 as_fn_error $? "could not create Makefile" "$LINENO" 5
23262 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23264 # Handling of arguments.
23265 for ac_config_target
in $ac_config_targets
23267 case $ac_config_target in
23268 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
23269 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
23270 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
23271 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23272 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
23273 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
23275 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23280 # If the user did not use the arguments to specify the items to instantiate,
23281 # then the envvar interface is used. Set only those that are not.
23282 # We use the long form for the default assignment because of an extremely
23283 # bizarre bug on SunOS 4.1.3.
23284 if $ac_need_defaults; then
23285 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS
=$config_headers
23286 test ${CONFIG_LINKS+y} || CONFIG_LINKS
=$config_links
23287 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS
=$config_commands
23290 # Have a temporary directory for convenience. Make it in the build tree
23291 # simply because there is no reason against having it here, and in addition,
23292 # creating and moving files from /tmp can sometimes cause problems.
23293 # Hook for its removal unless debugging.
23294 # Note that there is a small window in which the directory will not be cleaned:
23295 # after its creation but before its name has been assigned to `$tmp'.
23299 trap 'exit_status=$?
23300 : "${ac_tmp:=$tmp}"
23301 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23303 trap 'as_fn_exit 1' 1 2 13 15
23305 # Create a (secure) tmp directory for tmp files.
23308 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23312 tmp
=.
/conf$$
-$RANDOM
23313 (umask 077 && mkdir
"$tmp")
23314 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
23317 # Set up the scripts for CONFIG_HEADERS section.
23318 # No need to generate them if there are no CONFIG_HEADERS.
23319 # This happens for instance with `./config.status Makefile'.
23320 if test -n "$CONFIG_HEADERS"; then
23321 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23325 # Transform confdefs.h into an awk script `defines.awk', embedded as
23326 # here-document in config.status, that substitutes the proper values into
23327 # config.h.in to produce config.h.
23329 # Create a delimiter string that does not exist in confdefs.h, to ease
23330 # handling of long lines.
23332 for ac_last_try
in false false
:; do
23333 ac_tt
=`sed -n "/$ac_delim/p" confdefs.h`
23334 if test -z "$ac_tt"; then
23336 elif $ac_last_try; then
23337 as_fn_error $?
"could not make $CONFIG_HEADERS" "$LINENO" 5
23339 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
23343 # For the awk script, D is an array of macro values keyed by name,
23344 # likewise P contains macro parameters if any. Preserve backslash
23345 # newline sequences.
23347 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
23349 s/.\{148\}/&'"$ac_delim"'/g
23352 s/^[ ]*#[ ]*define[ ][ ]*/ /
23359 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23361 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23365 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23366 D["\1"]=" \3\\\\\\n"\\/p
23368 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23373 s/.\{148\}/&'"$ac_delim"'/g
23378 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23381 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23383 ' <confdefs.h |
sed '
23384 s/'"$ac_delim"'/"\\\
23385 "/g' >>$CONFIG_STATUS || ac_write_fail
=1
23387 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23388 for (key in D) D_is_set[key] = 1
23391 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23393 split(line, arg, " ")
23394 if (arg[1] == "#") {
23398 defundef = substr(arg[1], 2)
23401 split(mac1, mac2, "(") #)
23403 prefix = substr(line, 1, index(line, defundef) - 1)
23404 if (D_is_set[macro]) {
23405 # Preserve the white space surrounding the "#".
23406 print prefix "define", macro P[macro] D[macro]
23409 # Replace #undef with comments. This is necessary, for example,
23410 # in the case of _POSIX_SOURCE, which is predefined and required
23411 # on some systems where configure will not decide to define it.
23412 if (defundef == "undef") {
23413 print "/*", prefix defundef, macro, "*/"
23421 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23422 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
23423 fi # test -n "$CONFIG_HEADERS"
23426 eval set X
" :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23431 :[FHLC
]) ac_mode
=$ac_tag; continue;;
23433 case $ac_mode$ac_tag in
23435 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
23436 :[FH
]-) ac_tag
=-:-;;
23437 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
23454 -) ac_f
="$ac_tmp/stdin";;
23455 *) # Look for the file first in the build tree, then in the source tree
23456 # (if the path is not absolute). The absolute path cannot be DOS-style,
23457 # because $ac_f cannot contain `:'.
23461 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
23463 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23465 case $ac_f in *\'*) ac_f
=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23466 as_fn_append ac_file_inputs
" '$ac_f'"
23469 # Let's still pretend it is `configure' which instantiates (i.e., don't
23470 # use $as_me), people would be surprised to read:
23471 # /* config.h. Generated by config.status. */
23472 configure_input
='Generated from '`
23473 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23475 if test x
"$ac_file" != x-
; then
23476 configure_input
="$ac_file. $configure_input"
23477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23478 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23480 # Neutralize special characters interpreted by sed in replacement strings.
23481 case $configure_input in #(
23482 *\
&* |
*\|
* |
*\\* )
23483 ac_sed_conf_input
=`printf "%s\n" "$configure_input" |
23484 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23485 *) ac_sed_conf_input
=$configure_input;;
23489 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
23490 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
23495 ac_dir
=`$as_dirname -- "$ac_file" ||
23496 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23497 X"$ac_file" : 'X\(//\)[^/]' \| \
23498 X"$ac_file" : 'X\(//\)$' \| \
23499 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23500 printf "%s\n" X"$ac_file" |
23501 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23505 /^X\(\/\/\)[^/].*/{
23518 as_dir
="$ac_dir"; as_fn_mkdir_p
23522 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23524 ac_dir_suffix
=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23525 # A ".." for each directory in $ac_dir_suffix.
23526 ac_top_builddir_sub
=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23527 case $ac_top_builddir_sub in
23528 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23529 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
23532 ac_abs_top_builddir
=$ac_pwd
23533 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
23534 # for backward compatibility:
23535 ac_top_builddir
=$ac_top_build_prefix
23538 .
) # We are building in place.
23540 ac_top_srcdir
=$ac_top_builddir_sub
23541 ac_abs_top_srcdir
=$ac_pwd ;;
23542 [\\/]* | ?
:[\\/]* ) # Absolute name.
23543 ac_srcdir
=$srcdir$ac_dir_suffix;
23544 ac_top_srcdir
=$srcdir
23545 ac_abs_top_srcdir
=$srcdir ;;
23546 *) # Relative name.
23547 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
23548 ac_top_srcdir
=$ac_top_build_prefix$srcdir
23549 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
23551 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
23560 if test x
"$ac_file" != x-
; then
23562 printf "%s\n" "/* $configure_input */" >&1 \
23563 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23564 } >"$ac_tmp/config.h" \
23565 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5
23566 if diff "$ac_file" "$ac_tmp/config.h" >/dev
/null
2>&1; then
23567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23568 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23571 mv "$ac_tmp/config.h" "$ac_file" \
23572 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5
23575 printf "%s\n" "/* $configure_input */" >&1 \
23576 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23577 || as_fn_error $?
"could not create -" "$LINENO" 5
23585 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23588 # Prefer the file from the source tree if names are identical.
23589 if test "$ac_source" = "$ac_file" ||
test ! -r "$ac_source"; then
23590 ac_source
=$srcdir/$ac_source
23593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23594 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23596 if test ! -r "$ac_source"; then
23597 as_fn_error $?
"$ac_source: file not found" "$LINENO" 5
23601 # Try a relative symlink, then a hard link, then a copy.
23603 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$ac_source ;;
23604 *) ac_rel_source
=$ac_top_build_prefix$ac_source ;;
23606 ln -s "$ac_rel_source" "$ac_file" 2>/dev
/null ||
23607 ln "$ac_source" "$ac_file" 2>/dev
/null ||
23608 cp -p "$ac_source" "$ac_file" ||
23609 as_fn_error $?
"cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23612 :C
) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23613 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23618 case $ac_file$ac_mode in
23619 "include/stamp-h":C
) echo timestamp
> include
/stamp-h
;;
23620 "tools/makedep":C
) wine_fn_output_makedep || as_fn_exit $?
;;
23621 "Makefile":C
) wine_fn_output_makefile Makefile
;;
23629 ac_clean_files
=$ac_clean_files_save
23631 test $ac_write_fail = 0 ||
23632 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
23635 # configure is writing to config.log, and then calls config.status.
23636 # config.status does its own redirection, appending to config.log.
23637 # Unfortunately, on DOS this fails, as config.log is still kept open
23638 # by configure, so config.status won't be able to write to it; its
23639 # output is simply discarded. So we exec the FD to /dev/null,
23640 # effectively closing config.log, so it can be properly (re)opened and
23641 # appended to by config.status. When coming back to configure, we
23642 # need to make the FD available again.
23643 if test "$no_create" != yes; then
23645 ac_config_status_args
=
23646 test "$silent" = yes &&
23647 ac_config_status_args
="$ac_config_status_args --quiet"
23649 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23651 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23652 # would make configure fail if this is the last instruction.
23653 $ac_cs_success || as_fn_exit
1
23655 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
23656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23657 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23661 if test "$no_create" = "yes"
23667 if test "x$wine_notices" != x
; then
23670 for msg
in $wine_notices; do
23676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23677 printf "%s\n" "$as_me: $msg" >&6;}
23682 for msg
in $wine_warnings; do
23689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23690 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23696 $as_me: Finished. Do '${ac_make}' to compile Wine.