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_LIBDIR
=${PKG_CONFIG_LIBDIR:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6243 export PKG_CONFIG_LIBDIR
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"
9949 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -mmacosx-version-min=10.7"
9951 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
9954 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
9956 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
9959 if test "$ac_cv_header_Security_Security_h" = "yes"
9961 SECURITY_LIBS="-framework Security -framework CoreFoundation"
9964 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes"
9966 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9968 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
9970 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9972 OPENCL_LIBS="-framework OpenCL"
9974 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9976 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
9978 ac_save_LIBS="$LIBS"
9979 LIBS="$LIBS $IOKIT_LIBS"
9980 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
9981 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
9983 printf "%s\n" "#define HAVE_IOHIDMANAGERCREATE 1" >>confdefs.h
9987 LIBS="$ac_save_LIBS"
9990 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
9992 CARBON_LIBS="-framework Carbon"
9995 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9997 METAL_LIBS="-framework Metal"
10001 if test "$ac_cv_header_Metal_Metal_h" = "yes"
10003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
10004 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
10006 ac_cpp='$OBJCPP $CPPFLAGS'
10007 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10008 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10009 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10012 /* end confdefs.h. */
10013 #include <Metal/Metal.h>
10017 id<MTLDevice> device; device.registryID;
10022 if ac_fn_objc_try_compile "$LINENO"
10024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10025 printf "%s\n" "yes" >&6; }
10027 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
10030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10031 printf "%s\n" "no" >&6; }
10033 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10035 ac_cpp='$CPP $CPPFLAGS'
10036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10042 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
10044 ac_save_LIBS="$LIBS"
10045 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
10046 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
10047 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
10049 enable_winemac_drv=${enable_winemac_drv:-yes}
10052 LIBS="$ac_save_LIBS"
10055 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
10056 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
10058 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
10060 WINELOADER_DEPENDS="wine_info.plist"
10062 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
10067 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10069 DLLFLAGS="$DLLFLAGS -fPIC"
10071 LDEXECFLAGS="-Wl,-pie"
10072 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
10073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10074 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10075 if test ${ac_cv_cflags__Wl__z_defs+y}
10077 printf %s "(cached) " >&6
10079 ac_wine_try_cflags_saved=$CFLAGS
10080 CFLAGS="$CFLAGS -Wl,-z,defs"
10081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10082 /* end confdefs.h. */
10083 int main(int argc, char **argv) { return 0; }
10085 if ac_fn_c_try_link "$LINENO"
10087 ac_cv_cflags__Wl__z_defs=yes
10089 ac_cv_cflags__Wl__z_defs=no
10091 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10092 conftest$ac_exeext conftest.$ac_ext
10093 CFLAGS=$ac_wine_try_cflags_saved
10095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10096 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10097 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10099 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
10102 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
10103 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
10105 printf %s "(cached) " >&6
10107 ac_wine_try_cflags_saved=$CFLAGS
10108 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
10109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10110 /* end confdefs.h. */
10111 int main(int argc, char **argv) { return 0; }
10113 if ac_fn_c_try_link "$LINENO"
10115 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
10117 ac_cv_cflags__fPIC__Wl___export_dynamic=no
10119 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10120 conftest$ac_exeext conftest.$ac_ext
10121 CFLAGS=$ac_wine_try_cflags_saved
10123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
10124 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
10125 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
10127 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10129 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
10132 printf %s "checking for -lEGL... " >&6; }
10133 if test ${ac_cv_lib_soname_EGL+y}
10135 printf %s "(cached) " >&6
10137 ac_check_soname_save_LIBS=$LIBS
10139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10140 /* end confdefs.h. */
10142 /* Override any GCC internal prototype to avoid an error.
10143 Use char because int might match the return type of a GCC
10144 builtin and then its argument prototype would still apply. */
10145 char eglGetProcAddress ();
10149 return eglGetProcAddress ();
10154 if ac_fn_c_try_link "$LINENO"
10157 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe |
grep "EGL" |
sed -e "s/dll.*/dll/"';2,$d'` ;;
10158 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'` ;;
10159 *) ac_cv_lib_soname_EGL=`$READELF -d conftest
$ac_exeext |
grep "NEEDED.*libEGL\\.$LIBEXT" |
sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10160 if ${ac_cv_lib_soname_EGL:+false} :
10162 ac_cv_lib_soname_EGL=`$LDD conftest
$ac_exeext |
grep "libEGL\\.$LIBEXT" |
sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10166 ac_cv_lib_soname_EGL=
10168 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10169 conftest$ac_exeext conftest.$ac_ext
10170 LIBS=$ac_check_soname_save_LIBS
10172 if ${ac_cv_lib_soname_EGL:+false} :
10174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10175 printf "%s\n" "not found" >&6; }
10178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10179 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10181 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10186 printf %s "checking for -lGLESv2... " >&6; }
10187 if test ${ac_cv_lib_soname_GLESv2+y}
10189 printf %s "(cached) " >&6
10191 ac_check_soname_save_LIBS=$LIBS
10192 LIBS="-lGLESv2 $LIBS"
10193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10194 /* end confdefs.h. */
10196 /* Override any GCC internal prototype to avoid an error.
10197 Use char because int might match the return type of a GCC
10198 builtin and then its argument prototype would still apply. */
10208 if ac_fn_c_try_link "$LINENO"
10211 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe |
grep "GLESv2" |
sed -e "s/dll.*/dll/"';2,$d'` ;;
10212 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'` ;;
10213 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest
$ac_exeext |
grep "NEEDED.*libGLESv2\\.$LIBEXT" |
sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10214 if ${ac_cv_lib_soname_GLESv2:+false} :
10216 ac_cv_lib_soname_GLESv2=`$LDD conftest
$ac_exeext |
grep "libGLESv2\\.$LIBEXT" |
sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10220 ac_cv_lib_soname_GLESv2=
10222 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10223 conftest$ac_exeext conftest.$ac_ext
10224 LIBS=$ac_check_soname_save_LIBS
10226 if ${ac_cv_lib_soname_GLESv2:+false} :
10228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10229 printf "%s\n" "not found" >&6; }
10232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10233 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10235 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10240 if test "x$exec_prefix" = xNONE
10243 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10244 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10245 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10246 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10253 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10255 test "$ac_cv_sys_file_offset_bits" = 64 &&
10256 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10260 DLLFLAGS="$DLLFLAGS -fno-PIC"
10261 LDDLLFLAGS="-fno-PIC"
10262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10263 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10264 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10266 printf %s "(cached) " >&6
10268 ac_wine_try_cflags_saved=$CFLAGS
10269 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10271 /* end confdefs.h. */
10272 int main(int argc, char **argv) { return 0; }
10274 if ac_fn_c_try_link "$LINENO"
10276 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10278 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10280 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10281 conftest$ac_exeext conftest.$ac_ext
10282 CFLAGS=$ac_wine_try_cflags_saved
10284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10285 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10286 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10288 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10292 DLLFLAGS="$DLLFLAGS -fPIC"
10293 LDDLLFLAGS="-fPIC" ;;
10295 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
10297 echo '{ global: *; };' >conftest.map
10298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
10299 printf %s "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
10300 if test ${ac_cv_cflags__shared__Wl___version_script_conftest_map+y}
10302 printf %s "(cached) " >&6
10304 ac_wine_try_cflags_saved=$CFLAGS
10305 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
10306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10307 /* end confdefs.h. */
10308 int main(int argc, char **argv) { return 0; }
10310 if ac_fn_c_try_link "$LINENO"
10312 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
10314 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
10316 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10317 conftest$ac_exeext conftest.$ac_ext
10318 CFLAGS=$ac_wine_try_cflags_saved
10320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
10321 printf "%s\n" "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
10322 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes
10324 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
10328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10329 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10330 if test ${ac_cv_cflags__Wl__z_defs+y}
10332 printf %s "(cached) " >&6
10334 ac_wine_try_cflags_saved=$CFLAGS
10335 CFLAGS="$CFLAGS -Wl,-z,defs"
10336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10337 /* end confdefs.h. */
10338 int main(int argc, char **argv) { return 0; }
10340 if ac_fn_c_try_link "$LINENO"
10342 ac_cv_cflags__Wl__z_defs=yes
10344 ac_cv_cflags__Wl__z_defs=no
10346 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10347 conftest$ac_exeext conftest.$ac_ext
10348 CFLAGS=$ac_wine_try_cflags_saved
10350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10351 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10352 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10354 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10357 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10358 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10360 printf %s "(cached) " >&6
10362 ac_wine_try_cflags_saved=$CFLAGS
10363 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10365 /* end confdefs.h. */
10366 int main(int argc, char **argv) { return 0; }
10368 if ac_fn_c_try_link "$LINENO"
10370 ac_cv_cflags__Wl___export_dynamic=yes
10372 ac_cv_cflags__Wl___export_dynamic=no
10374 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10375 conftest$ac_exeext conftest.$ac_ext
10376 CFLAGS=$ac_wine_try_cflags_saved
10378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10379 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10380 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10382 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10384 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10387 *i[3456789]86* | x86_64 | *aarch64* | arm*)
10388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
10389 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
10390 if test ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+y}
10392 printf %s "(cached) " >&6
10394 ac_wine_try_cflags_saved=$CFLAGS
10395 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
10396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10397 /* end confdefs.h. */
10398 int main(int argc, char **argv) { return 0; }
10400 if ac_fn_c_try_link "$LINENO"
10402 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
10404 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
10406 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10407 conftest$ac_exeext conftest.$ac_ext
10408 CFLAGS=$ac_wine_try_cflags_saved
10410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
10411 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
10412 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
10415 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
10416 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
10419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
10420 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
10421 if test ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+y}
10423 printf %s "(cached) " >&6
10425 ac_wine_try_cflags_saved=$CFLAGS
10426 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
10427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10428 /* end confdefs.h. */
10429 int main(int argc, char **argv) { return 0; }
10431 if ac_fn_c_try_link "$LINENO"
10433 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
10435 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
10437 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10438 conftest$ac_exeext conftest.$ac_ext
10439 CFLAGS=$ac_wine_try_cflags_saved
10441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
10442 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
10443 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes
10446 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
10447 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
10450 # Extract the first word of "prelink", so it can be a program name with args.
10451 set dummy prelink; ac_word=$2
10452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10453 printf %s "checking for $ac_word... " >&6; }
10454 if test ${ac_cv_path_PRELINK+y}
10456 printf %s "(cached) " >&6
10460 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
10463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10464 for as_dir in /sbin /usr/sbin $PATH
10467 case $as_dir in #(((
10470 *) as_dir=$as_dir/ ;;
10472 for ac_exec_ext in '' $ac_executable_extensions; do
10473 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10474 ac_cv_path_PRELINK="$as_dir$ac_word$ac_exec_ext"
10475 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10482 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
10486 PRELINK=$ac_cv_path_PRELINK
10487 if test -n "$PRELINK"; then
10488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
10489 printf "%s\n" "$PRELINK" >&6; }
10491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10492 printf "%s\n" "no" >&6; }
10496 if test "x$PRELINK" = xfalse
10498 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
10501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
10502 printf %s "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
10503 if test ${ac_cv_cflags__Wl__z_max_page_size_0x1000+y}
10505 printf %s "(cached) " >&6
10507 ac_wine_try_cflags_saved=$CFLAGS
10508 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
10509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10510 /* end confdefs.h. */
10511 int main(int argc, char **argv) { return 0; }
10513 if ac_fn_c_try_link "$LINENO"
10515 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
10517 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
10519 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10520 conftest$ac_exeext conftest.$ac_ext
10521 CFLAGS=$ac_wine_try_cflags_saved
10523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
10524 printf "%s\n" "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
10525 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
10527 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
10531 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
10533 LIBWINE_DEPENDS="wine.map"
10535 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
10539 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10540 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10541 enable_winemac_drv=${enable_winemac_drv:-no}
10546 if test ${enable_archs+y}
10548 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10551 set x $enable_archs
10557 i386|x86_64|arm|aarch64) cross_archs="$cross_archs $arch" ;;
10558 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10562 if test "x$with_mingw" != xno
10564 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10565 case "x$with_mingw" in
10567 *) eval "${cross_archs}_CC=\$with_mingw" ;;
10572 for wine_arch in $cross_archs
10574 if eval \${${wine_arch}_CC:+false} :
10578 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10580 # Extract the first word of "$ac_prog", so it can be a program name with args.
10581 set dummy $ac_prog; ac_word=$2
10582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10583 printf %s "checking for $ac_word... " >&6; }
10584 if test ${ac_cv_prog_aarch64_CC+y}
10586 printf %s "(cached) " >&6
10588 if test -n "$aarch64_CC"; then
10589 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10592 for as_dir in $PATH
10595 case $as_dir in #(((
10598 *) as_dir=$as_dir/ ;;
10600 for ac_exec_ext in '' $ac_executable_extensions; do
10601 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10602 ac_cv_prog_aarch64_CC="$ac_prog"
10603 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10612 aarch64_CC=$ac_cv_prog_aarch64_CC
10613 if test -n "$aarch64_CC"; then
10614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10615 printf "%s\n" "$aarch64_CC" >&6; }
10617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10618 printf "%s\n" "no" >&6; }
10622 test -n "$aarch64_CC" && break
10624 test -n "$aarch64_CC" || aarch64_CC="false"
10628 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10630 # Extract the first word of "$ac_prog", so it can be a program name with args.
10631 set dummy $ac_prog; ac_word=$2
10632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10633 printf %s "checking for $ac_word... " >&6; }
10634 if test ${ac_cv_prog_arm_CC+y}
10636 printf %s "(cached) " >&6
10638 if test -n "$arm_CC"; then
10639 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10642 for as_dir in $PATH
10645 case $as_dir in #(((
10648 *) as_dir=$as_dir/ ;;
10650 for ac_exec_ext in '' $ac_executable_extensions; do
10651 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10652 ac_cv_prog_arm_CC="$ac_prog"
10653 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10662 arm_CC=$ac_cv_prog_arm_CC
10663 if test -n "$arm_CC"; then
10664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10665 printf "%s\n" "$arm_CC" >&6; }
10667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10668 printf "%s\n" "no" >&6; }
10672 test -n "$arm_CC" && break
10674 test -n "$arm_CC" || arm_CC="false"
10678 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 "
10679 for ac_prog in $ac_prefix_list clang
10681 # Extract the first word of "$ac_prog", so it can be a program name with args.
10682 set dummy $ac_prog; ac_word=$2
10683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10684 printf %s "checking for $ac_word... " >&6; }
10685 if test ${ac_cv_prog_i386_CC+y}
10687 printf %s "(cached) " >&6
10689 if test -n "$i386_CC"; then
10690 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10693 for as_dir in $PATH
10696 case $as_dir in #(((
10699 *) as_dir=$as_dir/ ;;
10701 for ac_exec_ext in '' $ac_executable_extensions; do
10702 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10703 ac_cv_prog_i386_CC="$ac_prog"
10704 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10713 i386_CC=$ac_cv_prog_i386_CC
10714 if test -n "$i386_CC"; then
10715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10716 printf "%s\n" "$i386_CC" >&6; }
10718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10719 printf "%s\n" "no" >&6; }
10723 test -n "$i386_CC" && break
10725 test -n "$i386_CC" || i386_CC="false"
10729 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10730 for ac_prog in $ac_prefix_list clang
10732 # Extract the first word of "$ac_prog", so it can be a program name with args.
10733 set dummy $ac_prog; ac_word=$2
10734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10735 printf %s "checking for $ac_word... " >&6; }
10736 if test ${ac_cv_prog_x86_64_CC+y}
10738 printf %s "(cached) " >&6
10740 if test -n "$x86_64_CC"; then
10741 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10744 for as_dir in $PATH
10747 case $as_dir in #(((
10750 *) as_dir=$as_dir/ ;;
10752 for ac_exec_ext in '' $ac_executable_extensions; do
10753 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10754 ac_cv_prog_x86_64_CC="$ac_prog"
10755 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10764 x86_64_CC=$ac_cv_prog_x86_64_CC
10765 if test -n "$x86_64_CC"; then
10766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10767 printf "%s\n" "$x86_64_CC" >&6; }
10769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10770 printf "%s\n" "no" >&6; }
10774 test -n "$x86_64_CC" && break
10776 test -n "$x86_64_CC" || x86_64_CC="false"
10782 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10788 saved_CFLAGS=$CFLAGS
10790 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10791 eval CC=\$${wine_arch}_CC
10792 eval ${wine_arch}_CFLAGS=\$CFLAGS
10793 eval ${wine_arch}_LDFLAGS=\$CROSSLDFLAGS
10794 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10797 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" |
$as_tr_sh`
10799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10800 printf %s "checking whether $CC works... " >&6; }
10801 if eval test \${$as_wine_cv_crosscc+y}
10803 printf %s "(cached) " >&6
10805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10806 /* end confdefs.h. */
10816 if ac_fn_c_try_compile "$LINENO"
10818 eval "$as_wine_cv_crosscc=yes"
10820 eval "$as_wine_cv_crosscc=no"
10822 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10824 eval ac_res=\$$as_wine_cv_crosscc
10825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10826 printf "%s\n" "$ac_res" >&6; }
10827 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10831 while test $# -ge 1
10834 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10835 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10840 llvm_target=$target
10841 llvm_cflags="-fuse-ld=lld"
10842 if test -z "$llvm_target"
10845 i386) llvm_target=i686-windows ;;
10846 arm) llvm_target=armv7-windows ;;
10847 *) llvm_target=$wine_arch-windows ;;
10850 case $llvm_target in
10851 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
10853 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-target $llvm_target $llvm_cflags" |
$as_tr_sh`
10854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -target $llvm_target $llvm_cflags" >&5
10855 printf %s "checking whether $CC supports -target $llvm_target $llvm_cflags... " >&6; }
10856 if eval test \${$as_ac_var+y}
10858 printf %s "(cached) " >&6
10860 ac_wine_try_cflags_saved=$CFLAGS
10861 ac_wine_try_cflags_saved_exeext=$ac_exeext
10862 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
10864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10865 /* end confdefs.h. */
10866 int __cdecl mainCRTStartup(void) { return 0; }
10868 if ac_fn_c_try_link "$LINENO"
10870 eval "$as_ac_var=yes"
10872 eval "$as_ac_var=no"
10874 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10875 conftest$ac_exeext conftest.$ac_ext
10876 CFLAGS=$ac_wine_try_cflags_saved
10877 ac_exeext=$ac_wine_try_cflags_saved_exeext
10879 eval ac_res=\$$as_ac_var
10880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10881 printf "%s\n" "$ac_res" >&6; }
10882 if eval test \"x\$"$as_ac_var"\" = x"yes"
10884 target=$llvm_target
10885 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10886 as_fn_append ${wine_arch}_EXTRACFLAGS " -target $target"
10887 CFLAGS="$CFLAGS -target $target $llvm_cflags"
10889 eval "${wine_arch}_TARGET=\$target"
10893 if test -z "$target"
10896 CFLAGS=$saved_CFLAGS
10899 as_fn_append PE_ARCHS " $wine_arch"
10901 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" |
$as_tr_sh`
10903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10904 printf %s "checking for $CC option to enable C99 features... " >&6; }
10905 if eval test \${$as_wine_cv_crosscc_c99+y}
10907 printf %s "(cached) " >&6
10909 eval "$as_wine_cv_crosscc_c99=no"
10910 for arg in '' '-std=gnu99'
10912 test -z "$arg" || CC="$CC $arg"
10913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10914 /* end confdefs.h. */
10915 $ac_c_conftest_c99_program
10917 if ac_fn_c_try_compile "$LINENO"
10919 eval "$as_wine_cv_crosscc_c99=\$arg"
10921 eval "$as_wine_cv_crosscc_c99=no"
10923 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10924 eval CC=\$${wine_arch}_CC
10925 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10934 eval res=\$$as_wine_cv_crosscc_c99
10936 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10937 printf "%s\n" "none needed" >&6; } ;;
10938 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10939 printf "%s\n" "unsupported" >&6; } ;;
10940 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10941 printf "%s\n" "$res" >&6; }
10942 as_fn_append ${wine_arch}_CC " $res" ;;
10946 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" |
$as_tr_sh`
10947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10948 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10949 if eval test \${$as_ac_var+y}
10951 printf %s "(cached) " >&6
10953 ac_wine_try_cflags_saved=$CFLAGS
10954 ac_wine_try_cflags_saved_exeext=$ac_exeext
10955 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
10957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10958 /* end confdefs.h. */
10959 int __cdecl mainCRTStartup(void) { return 0; }
10961 if ac_fn_c_try_link "$LINENO"
10963 eval "$as_ac_var=yes"
10965 eval "$as_ac_var=no"
10967 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10968 conftest$ac_exeext conftest.$ac_ext
10969 CFLAGS=$ac_wine_try_cflags_saved
10970 ac_exeext=$ac_wine_try_cflags_saved_exeext
10972 eval ac_res=\$$as_ac_var
10973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10974 printf "%s\n" "$ac_res" >&6; }
10975 if eval test \"x\$"$as_ac_var"\" = x"yes"
10977 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10979 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" |
$as_tr_sh`
10980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10981 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10982 if eval test \${$as_ac_var+y}
10984 printf %s "(cached) " >&6
10986 ac_wine_try_cflags_saved=$CFLAGS
10987 ac_wine_try_cflags_saved_exeext=$ac_exeext
10988 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
10990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10991 /* end confdefs.h. */
10992 int __cdecl mainCRTStartup(void) { return 0; }
10994 if ac_fn_c_try_link "$LINENO"
10996 eval "$as_ac_var=yes"
10998 eval "$as_ac_var=no"
11000 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11001 conftest$ac_exeext conftest.$ac_ext
11002 CFLAGS=$ac_wine_try_cflags_saved
11003 ac_exeext=$ac_wine_try_cflags_saved_exeext
11005 eval ac_res=\$$as_ac_var
11006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11007 printf "%s\n" "$ac_res" >&6; }
11008 if eval test \"x\$"$as_ac_var"\" = x"yes"
11010 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
11012 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" |
$as_tr_sh`
11013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
11014 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
11015 if eval test \${$as_ac_var+y}
11017 printf %s "(cached) " >&6
11019 ac_wine_try_cflags_saved=$CFLAGS
11020 ac_wine_try_cflags_saved_exeext=$ac_exeext
11021 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
11023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11024 /* end confdefs.h. */
11025 int __cdecl mainCRTStartup(void) { return 0; }
11027 if ac_fn_c_try_link "$LINENO"
11029 eval "$as_ac_var=yes"
11031 eval "$as_ac_var=no"
11033 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11034 conftest$ac_exeext conftest.$ac_ext
11035 CFLAGS=$ac_wine_try_cflags_saved
11036 ac_exeext=$ac_wine_try_cflags_saved_exeext
11038 eval ac_res=\$$as_ac_var
11039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11040 printf "%s\n" "$ac_res" >&6; }
11041 if eval test \"x\$"$as_ac_var"\" = x"yes"
11043 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
11045 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" |
$as_tr_sh`
11046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
11047 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
11048 if eval test \${$as_ac_var+y}
11050 printf %s "(cached) " >&6
11052 ac_wine_try_cflags_saved=$CFLAGS
11053 ac_wine_try_cflags_saved_exeext=$ac_exeext
11054 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
11056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11057 /* end confdefs.h. */
11058 int __cdecl mainCRTStartup(void) { return 0; }
11060 if ac_fn_c_try_link "$LINENO"
11062 eval "$as_ac_var=yes"
11064 eval "$as_ac_var=no"
11066 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11067 conftest$ac_exeext conftest.$ac_ext
11068 CFLAGS=$ac_wine_try_cflags_saved
11069 ac_exeext=$ac_wine_try_cflags_saved_exeext
11071 eval ac_res=\$$as_ac_var
11072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11073 printf "%s\n" "$ac_res" >&6; }
11074 if eval test \"x\$"$as_ac_var"\" = x"yes"
11076 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
11078 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" |
$as_tr_sh`
11079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
11080 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
11081 if eval test \${$as_ac_var+y}
11083 printf %s "(cached) " >&6
11085 ac_wine_try_cflags_saved=$CFLAGS
11086 ac_wine_try_cflags_saved_exeext=$ac_exeext
11087 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
11089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11090 /* end confdefs.h. */
11091 int __cdecl mainCRTStartup(void) { return 0; }
11093 if ac_fn_c_try_link "$LINENO"
11095 eval "$as_ac_var=yes"
11097 eval "$as_ac_var=no"
11099 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11100 conftest$ac_exeext conftest.$ac_ext
11101 CFLAGS=$ac_wine_try_cflags_saved
11102 ac_exeext=$ac_wine_try_cflags_saved_exeext
11104 eval ac_res=\$$as_ac_var
11105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11106 printf "%s\n" "$ac_res" >&6; }
11107 if eval test \"x\$"$as_ac_var"\" = x"yes"
11109 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
11111 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" |
$as_tr_sh`
11112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
11113 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
11114 if eval test \${$as_ac_var+y}
11116 printf %s "(cached) " >&6
11118 ac_wine_try_cflags_saved=$CFLAGS
11119 ac_wine_try_cflags_saved_exeext=$ac_exeext
11120 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
11122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11123 /* end confdefs.h. */
11124 int __cdecl mainCRTStartup(void) { return 0; }
11126 if ac_fn_c_try_link "$LINENO"
11128 eval "$as_ac_var=yes"
11130 eval "$as_ac_var=no"
11132 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11133 conftest$ac_exeext conftest.$ac_ext
11134 CFLAGS=$ac_wine_try_cflags_saved
11135 ac_exeext=$ac_wine_try_cflags_saved_exeext
11137 eval ac_res=\$$as_ac_var
11138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11139 printf "%s\n" "$ac_res" >&6; }
11140 if eval test \"x\$"$as_ac_var"\" = x"yes"
11142 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
11144 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" |
$as_tr_sh`
11145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
11146 printf %s "checking whether $CC supports -Winit-self... " >&6; }
11147 if eval test \${$as_ac_var+y}
11149 printf %s "(cached) " >&6
11151 ac_wine_try_cflags_saved=$CFLAGS
11152 ac_wine_try_cflags_saved_exeext=$ac_exeext
11153 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Winit-self"
11155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11156 /* end confdefs.h. */
11157 int __cdecl mainCRTStartup(void) { return 0; }
11159 if ac_fn_c_try_link "$LINENO"
11161 eval "$as_ac_var=yes"
11163 eval "$as_ac_var=no"
11165 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11166 conftest$ac_exeext conftest.$ac_ext
11167 CFLAGS=$ac_wine_try_cflags_saved
11168 ac_exeext=$ac_wine_try_cflags_saved_exeext
11170 eval ac_res=\$$as_ac_var
11171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11172 printf "%s\n" "$ac_res" >&6; }
11173 if eval test \"x\$"$as_ac_var"\" = x"yes"
11175 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
11177 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" |
$as_tr_sh`
11178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
11179 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
11180 if eval test \${$as_ac_var+y}
11182 printf %s "(cached) " >&6
11184 ac_wine_try_cflags_saved=$CFLAGS
11185 ac_wine_try_cflags_saved_exeext=$ac_exeext
11186 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
11188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11189 /* end confdefs.h. */
11190 int __cdecl mainCRTStartup(void) { return 0; }
11192 if ac_fn_c_try_link "$LINENO"
11194 eval "$as_ac_var=yes"
11196 eval "$as_ac_var=no"
11198 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11199 conftest$ac_exeext conftest.$ac_ext
11200 CFLAGS=$ac_wine_try_cflags_saved
11201 ac_exeext=$ac_wine_try_cflags_saved_exeext
11203 eval ac_res=\$$as_ac_var
11204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11205 printf "%s\n" "$ac_res" >&6; }
11206 if eval test \"x\$"$as_ac_var"\" = x"yes"
11208 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
11210 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" |
$as_tr_sh`
11211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
11212 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
11213 if eval test \${$as_ac_var+y}
11215 printf %s "(cached) " >&6
11217 ac_wine_try_cflags_saved=$CFLAGS
11218 ac_wine_try_cflags_saved_exeext=$ac_exeext
11219 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
11221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11222 /* end confdefs.h. */
11223 int __cdecl mainCRTStartup(void) { return 0; }
11225 if ac_fn_c_try_link "$LINENO"
11227 eval "$as_ac_var=yes"
11229 eval "$as_ac_var=no"
11231 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11232 conftest$ac_exeext conftest.$ac_ext
11233 CFLAGS=$ac_wine_try_cflags_saved
11234 ac_exeext=$ac_wine_try_cflags_saved_exeext
11236 eval ac_res=\$$as_ac_var
11237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11238 printf "%s\n" "$ac_res" >&6; }
11239 if eval test \"x\$"$as_ac_var"\" = x"yes"
11241 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
11243 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" |
$as_tr_sh`
11244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
11245 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
11246 if eval test \${$as_ac_var+y}
11248 printf %s "(cached) " >&6
11250 ac_wine_try_cflags_saved=$CFLAGS
11251 ac_wine_try_cflags_saved_exeext=$ac_exeext
11252 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
11254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11255 /* end confdefs.h. */
11256 int __cdecl mainCRTStartup(void) { return 0; }
11258 if ac_fn_c_try_link "$LINENO"
11260 eval "$as_ac_var=yes"
11262 eval "$as_ac_var=no"
11264 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11265 conftest$ac_exeext conftest.$ac_ext
11266 CFLAGS=$ac_wine_try_cflags_saved
11267 ac_exeext=$ac_wine_try_cflags_saved_exeext
11269 eval ac_res=\$$as_ac_var
11270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11271 printf "%s\n" "$ac_res" >&6; }
11272 if eval test \"x\$"$as_ac_var"\" = x"yes"
11274 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11276 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" |
$as_tr_sh`
11277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11278 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11279 if eval test \${$as_ac_var+y}
11281 printf %s "(cached) " >&6
11283 ac_wine_try_cflags_saved=$CFLAGS
11284 ac_wine_try_cflags_saved_exeext=$ac_exeext
11285 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
11287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11288 /* end confdefs.h. */
11289 int __cdecl mainCRTStartup(void) { return 0; }
11291 if ac_fn_c_try_link "$LINENO"
11293 eval "$as_ac_var=yes"
11295 eval "$as_ac_var=no"
11297 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11298 conftest$ac_exeext conftest.$ac_ext
11299 CFLAGS=$ac_wine_try_cflags_saved
11300 ac_exeext=$ac_wine_try_cflags_saved_exeext
11302 eval ac_res=\$$as_ac_var
11303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11304 printf "%s\n" "$ac_res" >&6; }
11305 if eval test \"x\$"$as_ac_var"\" = x"yes"
11307 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11309 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" |
$as_tr_sh`
11310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11311 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11312 if eval test \${$as_ac_var+y}
11314 printf %s "(cached) " >&6
11316 ac_wine_try_cflags_saved=$CFLAGS
11317 ac_wine_try_cflags_saved_exeext=$ac_exeext
11318 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
11320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11321 /* end confdefs.h. */
11322 int __cdecl mainCRTStartup(void) { return 0; }
11324 if ac_fn_c_try_link "$LINENO"
11326 eval "$as_ac_var=yes"
11328 eval "$as_ac_var=no"
11330 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11331 conftest$ac_exeext conftest.$ac_ext
11332 CFLAGS=$ac_wine_try_cflags_saved
11333 ac_exeext=$ac_wine_try_cflags_saved_exeext
11335 eval ac_res=\$$as_ac_var
11336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11337 printf "%s\n" "$ac_res" >&6; }
11338 if eval test \"x\$"$as_ac_var"\" = x"yes"
11340 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11342 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" |
$as_tr_sh`
11343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11344 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11345 if eval test \${$as_ac_var+y}
11347 printf %s "(cached) " >&6
11349 ac_wine_try_cflags_saved=$CFLAGS
11350 ac_wine_try_cflags_saved_exeext=$ac_exeext
11351 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
11353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11354 /* end confdefs.h. */
11355 int __cdecl mainCRTStartup(void) { return 0; }
11357 if ac_fn_c_try_link "$LINENO"
11359 eval "$as_ac_var=yes"
11361 eval "$as_ac_var=no"
11363 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11364 conftest$ac_exeext conftest.$ac_ext
11365 CFLAGS=$ac_wine_try_cflags_saved
11366 ac_exeext=$ac_wine_try_cflags_saved_exeext
11368 eval ac_res=\$$as_ac_var
11369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11370 printf "%s\n" "$ac_res" >&6; }
11371 if eval test \"x\$"$as_ac_var"\" = x"yes"
11373 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11375 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" |
$as_tr_sh`
11376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11377 printf %s "checking whether $CC supports -Wvla... " >&6; }
11378 if eval test \${$as_ac_var+y}
11380 printf %s "(cached) " >&6
11382 ac_wine_try_cflags_saved=$CFLAGS
11383 ac_wine_try_cflags_saved_exeext=$ac_exeext
11384 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wvla"
11386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11387 /* end confdefs.h. */
11388 int __cdecl mainCRTStartup(void) { return 0; }
11390 if ac_fn_c_try_link "$LINENO"
11392 eval "$as_ac_var=yes"
11394 eval "$as_ac_var=no"
11396 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11397 conftest$ac_exeext conftest.$ac_ext
11398 CFLAGS=$ac_wine_try_cflags_saved
11399 ac_exeext=$ac_wine_try_cflags_saved_exeext
11401 eval ac_res=\$$as_ac_var
11402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11403 printf "%s\n" "$ac_res" >&6; }
11404 if eval test \"x\$"$as_ac_var"\" = x"yes"
11406 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11408 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" |
$as_tr_sh`
11409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11410 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11411 if eval test \${$as_ac_var+y}
11413 printf %s "(cached) " >&6
11415 ac_wine_try_cflags_saved=$CFLAGS
11416 ac_wine_try_cflags_saved_exeext=$ac_exeext
11417 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
11419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11420 /* end confdefs.h. */
11421 int __cdecl mainCRTStartup(void) { return 0; }
11423 if ac_fn_c_try_link "$LINENO"
11425 eval "$as_ac_var=yes"
11427 eval "$as_ac_var=no"
11429 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11430 conftest$ac_exeext conftest.$ac_ext
11431 CFLAGS=$ac_wine_try_cflags_saved
11432 ac_exeext=$ac_wine_try_cflags_saved_exeext
11434 eval ac_res=\$$as_ac_var
11435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11436 printf "%s\n" "$ac_res" >&6; }
11437 if eval test \"x\$"$as_ac_var"\" = x"yes"
11439 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11441 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" |
$as_tr_sh`
11442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11443 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11444 if eval test \${$as_ac_var+y}
11446 printf %s "(cached) " >&6
11448 ac_wine_try_cflags_saved=$CFLAGS
11449 ac_wine_try_cflags_saved_exeext=$ac_exeext
11450 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
11452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11453 /* end confdefs.h. */
11454 int __cdecl mainCRTStartup(void) { return 0; }
11456 if ac_fn_c_try_link "$LINENO"
11458 eval "$as_ac_var=yes"
11460 eval "$as_ac_var=no"
11462 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11463 conftest$ac_exeext conftest.$ac_ext
11464 CFLAGS=$ac_wine_try_cflags_saved
11465 ac_exeext=$ac_wine_try_cflags_saved_exeext
11467 eval ac_res=\$$as_ac_var
11468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11469 printf "%s\n" "$ac_res" >&6; }
11470 if eval test \"x\$"$as_ac_var"\" = x"yes"
11472 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11474 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" |
$as_tr_sh`
11475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11476 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11477 if eval test \${$as_ac_var+y}
11479 printf %s "(cached) " >&6
11481 ac_wine_try_cflags_saved=$CFLAGS
11482 ac_wine_try_cflags_saved_exeext=$ac_exeext
11483 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
11485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11486 /* end confdefs.h. */
11487 int __cdecl mainCRTStartup(void) { return 0; }
11489 if ac_fn_c_try_link "$LINENO"
11491 eval "$as_ac_var=yes"
11493 eval "$as_ac_var=no"
11495 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11496 conftest$ac_exeext conftest.$ac_ext
11497 CFLAGS=$ac_wine_try_cflags_saved
11498 ac_exeext=$ac_wine_try_cflags_saved_exeext
11500 eval ac_res=\$$as_ac_var
11501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11502 printf "%s\n" "$ac_res" >&6; }
11503 if eval test \"x\$"$as_ac_var"\" = x"yes"
11505 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11507 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" |
$as_tr_sh`
11508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11509 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11510 if eval test \${$as_ac_var+y}
11512 printf %s "(cached) " >&6
11514 ac_wine_try_cflags_saved=$CFLAGS
11515 ac_wine_try_cflags_saved_exeext=$ac_exeext
11516 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
11518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11519 /* end confdefs.h. */
11520 int __cdecl mainCRTStartup(void) { return 0; }
11522 if ac_fn_c_try_link "$LINENO"
11524 eval "$as_ac_var=yes"
11526 eval "$as_ac_var=no"
11528 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11529 conftest$ac_exeext conftest.$ac_ext
11530 CFLAGS=$ac_wine_try_cflags_saved
11531 ac_exeext=$ac_wine_try_cflags_saved_exeext
11533 eval ac_res=\$$as_ac_var
11534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11535 printf "%s\n" "$ac_res" >&6; }
11536 if eval test \"x\$"$as_ac_var"\" = x"yes"
11538 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11542 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" |
$as_tr_sh`
11543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11544 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11545 if eval test \${$as_ac_var+y}
11547 printf %s "(cached) " >&6
11549 ac_wine_try_cflags_saved=$CFLAGS
11550 ac_wine_try_cflags_saved_exeext=$ac_exeext
11551 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
11553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11554 /* end confdefs.h. */
11555 int __cdecl mainCRTStartup(void) { return 0; }
11557 if ac_fn_c_try_link "$LINENO"
11559 eval "$as_ac_var=yes"
11561 eval "$as_ac_var=no"
11563 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11564 conftest$ac_exeext conftest.$ac_ext
11565 CFLAGS=$ac_wine_try_cflags_saved
11566 ac_exeext=$ac_wine_try_cflags_saved_exeext
11568 eval ac_res=\$$as_ac_var
11569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11570 printf "%s\n" "$ac_res" >&6; }
11571 if eval test \"x\$"$as_ac_var"\" = x"yes"
11573 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11575 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" |
$as_tr_sh`
11576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11577 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11578 if eval test \${$as_ac_var+y}
11580 printf %s "(cached) " >&6
11582 ac_wine_try_cflags_saved=$CFLAGS
11583 ac_wine_try_cflags_saved_exeext=$ac_exeext
11584 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wl,--disable-stdcall-fixup"
11586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11587 /* end confdefs.h. */
11588 int __cdecl mainCRTStartup(void) { return 0; }
11590 if ac_fn_c_try_link "$LINENO"
11592 eval "$as_ac_var=yes"
11594 eval "$as_ac_var=no"
11596 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11597 conftest$ac_exeext conftest.$ac_ext
11598 CFLAGS=$ac_wine_try_cflags_saved
11599 ac_exeext=$ac_wine_try_cflags_saved_exeext
11601 eval ac_res=\$$as_ac_var
11602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11603 printf "%s\n" "$ac_res" >&6; }
11604 if eval test \"x\$"$as_ac_var"\" = x"yes"
11606 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11608 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wno-format" |
$as_tr_sh`
11609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wno-format" >&5
11610 printf %s "checking whether $CC supports -Wno-format... " >&6; }
11611 if eval test \${$as_ac_var+y}
11613 printf %s "(cached) " >&6
11615 ac_wine_try_cflags_saved=$CFLAGS
11616 ac_wine_try_cflags_saved_exeext=$ac_exeext
11617 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wno-format"
11619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11620 /* end confdefs.h. */
11621 int __cdecl mainCRTStartup(void) { return 0; }
11623 if ac_fn_c_try_link "$LINENO"
11625 eval "$as_ac_var=yes"
11627 eval "$as_ac_var=no"
11629 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11630 conftest$ac_exeext conftest.$ac_ext
11631 CFLAGS=$ac_wine_try_cflags_saved
11632 ac_exeext=$ac_wine_try_cflags_saved_exeext
11634 eval ac_res=\$$as_ac_var
11635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11636 printf "%s\n" "$ac_res" >&6; }
11637 if eval test \"x\$"$as_ac_var"\" = x"yes"
11639 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-format"
11641 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" |
$as_tr_sh`
11642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11643 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11644 if eval test \${$as_ac_var+y}
11646 printf %s "(cached) " >&6
11648 ac_wine_try_cflags_saved=$CFLAGS
11649 ac_wine_try_cflags_saved_exeext=$ac_exeext
11650 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
11652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11653 /* end confdefs.h. */
11654 int __cdecl mainCRTStartup(void) { return 0; }
11656 if ac_fn_c_try_link "$LINENO"
11658 eval "$as_ac_var=yes"
11660 eval "$as_ac_var=no"
11662 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11663 conftest$ac_exeext conftest.$ac_ext
11664 CFLAGS=$ac_wine_try_cflags_saved
11665 ac_exeext=$ac_wine_try_cflags_saved_exeext
11667 eval ac_res=\$$as_ac_var
11668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11669 printf "%s\n" "$ac_res" >&6; }
11670 if eval test \"x\$"$as_ac_var"\" = x"yes"
11672 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11674 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" |
$as_tr_sh`
11675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11676 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11677 if eval test \${$as_ac_var+y}
11679 printf %s "(cached) " >&6
11681 ac_wine_try_cflags_saved=$CFLAGS
11682 ac_wine_try_cflags_saved_exeext=$ac_exeext
11683 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
11685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11686 /* end confdefs.h. */
11687 int __cdecl mainCRTStartup(void) { return 0; }
11689 if ac_fn_c_try_link "$LINENO"
11691 eval "$as_ac_var=yes"
11693 eval "$as_ac_var=no"
11695 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11696 conftest$ac_exeext conftest.$ac_ext
11697 CFLAGS=$ac_wine_try_cflags_saved
11698 ac_exeext=$ac_wine_try_cflags_saved_exeext
11700 eval ac_res=\$$as_ac_var
11701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11702 printf "%s\n" "$ac_res" >&6; }
11703 if eval test \"x\$"$as_ac_var"\" = x"yes"
11705 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11707 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" |
$as_tr_sh`
11708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11709 printf %s "checking whether $CC supports -mcx16... " >&6; }
11710 if eval test \${$as_ac_var+y}
11712 printf %s "(cached) " >&6
11714 ac_wine_try_cflags_saved=$CFLAGS
11715 ac_wine_try_cflags_saved_exeext=$ac_exeext
11716 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -mcx16"
11718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11719 /* end confdefs.h. */
11720 int __cdecl mainCRTStartup(void) { return 0; }
11722 if ac_fn_c_try_link "$LINENO"
11724 eval "$as_ac_var=yes"
11726 eval "$as_ac_var=no"
11728 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11729 conftest$ac_exeext conftest.$ac_ext
11730 CFLAGS=$ac_wine_try_cflags_saved
11731 ac_exeext=$ac_wine_try_cflags_saved_exeext
11733 eval ac_res=\$$as_ac_var
11734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11735 printf "%s\n" "$ac_res" >&6; }
11736 if eval test \"x\$"$as_ac_var"\" = x"yes"
11738 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11740 aarch64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wno-format" |
$as_tr_sh`
11741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wno-format" >&5
11742 printf %s "checking whether $CC supports -Wno-format... " >&6; }
11743 if eval test \${$as_ac_var+y}
11745 printf %s "(cached) " >&6
11747 ac_wine_try_cflags_saved=$CFLAGS
11748 ac_wine_try_cflags_saved_exeext=$ac_exeext
11749 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wno-format"
11751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11752 /* end confdefs.h. */
11753 int __cdecl mainCRTStartup(void) { return 0; }
11755 if ac_fn_c_try_link "$LINENO"
11757 eval "$as_ac_var=yes"
11759 eval "$as_ac_var=no"
11761 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11762 conftest$ac_exeext conftest.$ac_ext
11763 CFLAGS=$ac_wine_try_cflags_saved
11764 ac_exeext=$ac_wine_try_cflags_saved_exeext
11766 eval ac_res=\$$as_ac_var
11767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11768 printf "%s\n" "$ac_res" >&6; }
11769 if eval test \"x\$"$as_ac_var"\" = x"yes"
11771 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-format"
11775 wine_crossdebug=$CROSSDEBUG
11776 if test -z "$wine_crossdebug"
11778 for ac_flag in $CFLAGS; do
11780 -gdwarf*) wine_crossdebug=dwarf ;;
11781 -gcodeview) wine_crossdebug=pdb ;;
11782 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11787 ac_debug_format_seen=""
11788 for ac_flag in $CFLAGS; do
11790 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11793 if test "x$ac_debug_format_seen" = x
11795 case $wine_crossdebug in
11796 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" |
$as_tr_sh`
11797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11798 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11799 if eval test \${$as_ac_var+y}
11801 printf %s "(cached) " >&6
11803 ac_wine_try_cflags_saved=$CFLAGS
11804 ac_wine_try_cflags_saved_exeext=$ac_exeext
11805 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -gdwarf-4"
11807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11808 /* end confdefs.h. */
11809 int __cdecl mainCRTStartup(void) { return 0; }
11811 if ac_fn_c_try_link "$LINENO"
11813 eval "$as_ac_var=yes"
11815 eval "$as_ac_var=no"
11817 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11818 conftest$ac_exeext conftest.$ac_ext
11819 CFLAGS=$ac_wine_try_cflags_saved
11820 ac_exeext=$ac_wine_try_cflags_saved_exeext
11822 eval ac_res=\$$as_ac_var
11823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11824 printf "%s\n" "$ac_res" >&6; }
11825 if eval test \"x\$"$as_ac_var"\" = x"yes"
11827 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11829 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" |
$as_tr_sh`
11830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11831 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11832 if eval test \${$as_ac_var+y}
11834 printf %s "(cached) " >&6
11836 ac_wine_try_cflags_saved=$CFLAGS
11837 ac_wine_try_cflags_saved_exeext=$ac_exeext
11838 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -gcodeview"
11840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11841 /* end confdefs.h. */
11842 int __cdecl mainCRTStartup(void) { return 0; }
11844 if ac_fn_c_try_link "$LINENO"
11846 eval "$as_ac_var=yes"
11848 eval "$as_ac_var=no"
11850 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11851 conftest$ac_exeext conftest.$ac_ext
11852 CFLAGS=$ac_wine_try_cflags_saved
11853 ac_exeext=$ac_wine_try_cflags_saved_exeext
11855 eval ac_res=\$$as_ac_var
11856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11857 printf "%s\n" "$ac_res" >&6; }
11858 if eval test \"x\$"$as_ac_var"\" = x"yes"
11860 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11864 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11866 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" |
$as_tr_sh`
11867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11868 printf %s "checking whether $CC supports -Werror... " >&6; }
11869 if eval test \${$as_ac_var+y}
11871 printf %s "(cached) " >&6
11873 ac_wine_try_cflags_saved=$CFLAGS
11874 ac_wine_try_cflags_saved_exeext=$ac_exeext
11875 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Werror"
11877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11878 /* end confdefs.h. */
11879 int __cdecl mainCRTStartup(void) { return 0; }
11881 if ac_fn_c_try_link "$LINENO"
11883 eval "$as_ac_var=yes"
11885 eval "$as_ac_var=no"
11887 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11888 conftest$ac_exeext conftest.$ac_ext
11889 CFLAGS=$ac_wine_try_cflags_saved
11890 ac_exeext=$ac_wine_try_cflags_saved_exeext
11892 eval ac_res=\$$as_ac_var
11893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11894 printf "%s\n" "$ac_res" >&6; }
11895 if eval test \"x\$"$as_ac_var"\" = x"yes"
11897 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11899 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" |
$as_tr_sh`
11900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11901 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11902 if eval test \${$as_ac_var+y}
11904 printf %s "(cached) " >&6
11906 ac_wine_try_cflags_saved=$CFLAGS
11907 ac_wine_try_cflags_saved_exeext=$ac_exeext
11908 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
11910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11911 /* end confdefs.h. */
11912 int __cdecl mainCRTStartup(void) { return 0; }
11914 if ac_fn_c_try_link "$LINENO"
11916 eval "$as_ac_var=yes"
11918 eval "$as_ac_var=no"
11920 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11921 conftest$ac_exeext conftest.$ac_ext
11922 CFLAGS=$ac_wine_try_cflags_saved
11923 ac_exeext=$ac_wine_try_cflags_saved_exeext
11925 eval ac_res=\$$as_ac_var
11926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11927 printf "%s\n" "$ac_res" >&6; }
11928 if eval test \"x\$"$as_ac_var"\" = x"yes"
11930 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
11931 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
11935 CFLAGS=$saved_CFLAGS
11938 if test $HOST_ARCH = aarch64 -a "x$PE_ARCHS" = x
11940 as_fn_error $? "PE cross-compilation is required for ARM64, please install clang/llvm-dlltool/lld, or llvm-mingw." "$LINENO" 5
11943 if test "x$PE_ARCHS" = "x"
11945 case "x$with_mingw" in
11946 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
11948 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
11949 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
11955 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
11957 case "$host_cpu" in
11959 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11961 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11963 for ac_prog in $ac_prefix_list
11965 # Extract the first word of "$ac_prog", so it can be a program name with args.
11966 set dummy $ac_prog; ac_word=$2
11967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11968 printf %s "checking for $ac_word... " >&6; }
11969 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11971 printf %s "(cached) " >&6
11973 if test -n "$MINGW_PKG_CONFIG"; then
11974 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11977 for as_dir in $PATH
11980 case $as_dir in #(((
11983 *) as_dir=$as_dir/ ;;
11985 for ac_exec_ext in '' $ac_executable_extensions; do
11986 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11987 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11988 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11997 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11998 if test -n "$MINGW_PKG_CONFIG"; then
11999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
12000 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
12002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12003 printf "%s\n" "no" >&6; }
12007 test -n "$MINGW_PKG_CONFIG" && break
12009 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
12011 if ${FAUDIO_PE_CFLAGS:+false} :
12013 if test ${MINGW_PKG_CONFIG+y}
12015 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio
2>/dev
/null
`
12018 if ${FAUDIO_PE_LIBS:+false} :
12020 if test ${MINGW_PKG_CONFIG+y}
12022 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio
2>/dev
/null
`
12025 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
12026 ac_save_CPPFLAGS=$CPPFLAGS
12027 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
12028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
12029 printf %s "checking for MinGW FAudio.h... " >&6; }
12030 if test ${ac_cv_mingw_header_FAudio_h+y}
12032 printf %s "(cached) " >&6
12034 ac_wine_check_headers_saved_cc=$CC
12035 ac_wine_check_headers_saved_exeext=$ac_exeext
12036 eval CC=\$${wine_arch}_CC
12038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12039 /* end confdefs.h. */
12041 #include <FAudio.h>
12050 if ac_fn_c_try_compile "$LINENO"
12052 ac_cv_mingw_header_FAudio_h=yes
12054 ac_cv_mingw_header_FAudio_h=no
12056 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12057 CC=$ac_wine_check_headers_saved_cc
12058 ac_exeext=$ac_wine_check_headers_saved_exeext
12060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
12061 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
12062 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
12064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
12065 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
12066 if test ${ac_cv_mingw_lib_FAudio+y}
12068 printf %s "(cached) " >&6
12070 ac_wine_check_headers_saved_cc=$CC
12071 ac_wine_check_headers_saved_exeext=$ac_exeext
12072 ac_wine_check_headers_saved_libs=$LIBS
12073 eval CC=\$${wine_arch}_CC
12075 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
12076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12077 /* end confdefs.h. */
12079 /* Override any GCC internal prototype to avoid an error.
12080 Use char because int might match the return type of a GCC
12081 builtin and then its argument prototype would still apply. */
12082 char FAudio_CommitOperationSet ();
12086 return FAudio_CommitOperationSet ();
12091 if ac_fn_c_try_link "$LINENO"
12093 ac_cv_mingw_lib_FAudio=yes
12095 ac_cv_mingw_lib_FAudio=no
12097 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12098 conftest$ac_exeext conftest.$ac_ext
12099 CC=$ac_wine_check_headers_saved_cc
12100 ac_exeext=$ac_wine_check_headers_saved_exeext
12101 LIBS=$ac_wine_check_headers_saved_libs
12103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
12104 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
12105 if test "x$ac_cv_mingw_lib_FAudio" = xyes
12109 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12112 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12114 CPPFLAGS=$ac_save_CPPFLAGS
12116 if test "x$FAUDIO_PE_LIBS" = "x"
12118 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
12121 if ${JPEG_PE_CFLAGS:+false} :
12123 if test ${MINGW_PKG_CONFIG+y}
12125 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg
2>/dev
/null
`
12128 if ${JPEG_PE_LIBS:+false} :
12130 if test ${MINGW_PKG_CONFIG+y}
12132 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg
2>/dev
/null
`
12136 ac_save_CPPFLAGS=$CPPFLAGS
12137 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
12138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
12139 printf %s "checking for MinGW jpeglib.h... " >&6; }
12140 if test ${ac_cv_mingw_header_jpeglib_h+y}
12142 printf %s "(cached) " >&6
12144 ac_wine_check_headers_saved_cc=$CC
12145 ac_wine_check_headers_saved_exeext=$ac_exeext
12146 eval CC=\$${wine_arch}_CC
12148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12149 /* end confdefs.h. */
12150 #include <stddef.h>
12152 #include <jpeglib.h>
12161 if ac_fn_c_try_compile "$LINENO"
12163 ac_cv_mingw_header_jpeglib_h=yes
12165 ac_cv_mingw_header_jpeglib_h=no
12167 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12168 CC=$ac_wine_check_headers_saved_cc
12169 ac_exeext=$ac_wine_check_headers_saved_exeext
12171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
12172 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
12173 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
12175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
12176 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
12177 if test ${ac_cv_mingw_lib_jpeg+y}
12179 printf %s "(cached) " >&6
12181 ac_wine_check_headers_saved_cc=$CC
12182 ac_wine_check_headers_saved_exeext=$ac_exeext
12183 ac_wine_check_headers_saved_libs=$LIBS
12184 eval CC=\$${wine_arch}_CC
12186 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
12187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12188 /* end confdefs.h. */
12190 /* Override any GCC internal prototype to avoid an error.
12191 Use char because int might match the return type of a GCC
12192 builtin and then its argument prototype would still apply. */
12193 char jpeg_start_decompress ();
12197 return jpeg_start_decompress ();
12202 if ac_fn_c_try_link "$LINENO"
12204 ac_cv_mingw_lib_jpeg=yes
12206 ac_cv_mingw_lib_jpeg=no
12208 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12209 conftest$ac_exeext conftest.$ac_ext
12210 CC=$ac_wine_check_headers_saved_cc
12211 ac_exeext=$ac_wine_check_headers_saved_exeext
12212 LIBS=$ac_wine_check_headers_saved_libs
12214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
12215 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
12216 if test "x$ac_cv_mingw_lib_jpeg" = xyes
12220 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12223 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12225 CPPFLAGS=$ac_save_CPPFLAGS
12227 if test "x$JPEG_PE_LIBS" = "x"
12229 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
12232 if ${LCMS2_PE_CFLAGS:+false} :
12234 if test ${MINGW_PKG_CONFIG+y}
12236 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2
2>/dev
/null
`
12239 if ${LCMS2_PE_LIBS:+false} :
12241 if test ${MINGW_PKG_CONFIG+y}
12243 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2
2>/dev
/null
`
12246 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12247 ac_save_CPPFLAGS=$CPPFLAGS
12248 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12250 printf %s "checking for MinGW lcms2.h... " >&6; }
12251 if test ${ac_cv_mingw_header_lcms2_h+y}
12253 printf %s "(cached) " >&6
12255 ac_wine_check_headers_saved_cc=$CC
12256 ac_wine_check_headers_saved_exeext=$ac_exeext
12257 eval CC=\$${wine_arch}_CC
12259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12260 /* end confdefs.h. */
12271 if ac_fn_c_try_compile "$LINENO"
12273 ac_cv_mingw_header_lcms2_h=yes
12275 ac_cv_mingw_header_lcms2_h=no
12277 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12278 CC=$ac_wine_check_headers_saved_cc
12279 ac_exeext=$ac_wine_check_headers_saved_exeext
12281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12282 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12283 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12286 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12287 if test ${ac_cv_mingw_lib_lcms2+y}
12289 printf %s "(cached) " >&6
12291 ac_wine_check_headers_saved_cc=$CC
12292 ac_wine_check_headers_saved_exeext=$ac_exeext
12293 ac_wine_check_headers_saved_libs=$LIBS
12294 eval CC=\$${wine_arch}_CC
12296 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12298 /* end confdefs.h. */
12300 /* Override any GCC internal prototype to avoid an error.
12301 Use char because int might match the return type of a GCC
12302 builtin and then its argument prototype would still apply. */
12303 char cmsOpenProfileFromFile ();
12307 return cmsOpenProfileFromFile ();
12312 if ac_fn_c_try_link "$LINENO"
12314 ac_cv_mingw_lib_lcms2=yes
12316 ac_cv_mingw_lib_lcms2=no
12318 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12319 conftest$ac_exeext conftest.$ac_ext
12320 CC=$ac_wine_check_headers_saved_cc
12321 ac_exeext=$ac_wine_check_headers_saved_exeext
12322 LIBS=$ac_wine_check_headers_saved_libs
12324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12325 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12326 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12330 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12333 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12335 CPPFLAGS=$ac_save_CPPFLAGS
12337 if test "x$LCMS2_PE_LIBS" = "x"
12339 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12342 if ${MPG123_PE_CFLAGS:+false} :
12344 if test ${MINGW_PKG_CONFIG+y}
12346 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123
2>/dev
/null
`
12349 if ${MPG123_PE_LIBS:+false} :
12351 if test ${MINGW_PKG_CONFIG+y}
12353 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123
2>/dev
/null
`
12356 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12357 ac_save_CPPFLAGS=$CPPFLAGS
12358 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12360 printf %s "checking for MinGW mpg123.h... " >&6; }
12361 if test ${ac_cv_mingw_header_mpg123_h+y}
12363 printf %s "(cached) " >&6
12365 ac_wine_check_headers_saved_cc=$CC
12366 ac_wine_check_headers_saved_exeext=$ac_exeext
12367 eval CC=\$${wine_arch}_CC
12369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12370 /* end confdefs.h. */
12372 #include <mpg123.h>
12381 if ac_fn_c_try_compile "$LINENO"
12383 ac_cv_mingw_header_mpg123_h=yes
12385 ac_cv_mingw_header_mpg123_h=no
12387 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12388 CC=$ac_wine_check_headers_saved_cc
12389 ac_exeext=$ac_wine_check_headers_saved_exeext
12391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12392 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12393 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12396 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12397 if test ${ac_cv_mingw_lib_mpg123+y}
12399 printf %s "(cached) " >&6
12401 ac_wine_check_headers_saved_cc=$CC
12402 ac_wine_check_headers_saved_exeext=$ac_exeext
12403 ac_wine_check_headers_saved_libs=$LIBS
12404 eval CC=\$${wine_arch}_CC
12406 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12408 /* end confdefs.h. */
12410 /* Override any GCC internal prototype to avoid an error.
12411 Use char because int might match the return type of a GCC
12412 builtin and then its argument prototype would still apply. */
12413 char mpg123_feed ();
12417 return mpg123_feed ();
12422 if ac_fn_c_try_link "$LINENO"
12424 ac_cv_mingw_lib_mpg123=yes
12426 ac_cv_mingw_lib_mpg123=no
12428 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12429 conftest$ac_exeext conftest.$ac_ext
12430 CC=$ac_wine_check_headers_saved_cc
12431 ac_exeext=$ac_wine_check_headers_saved_exeext
12432 LIBS=$ac_wine_check_headers_saved_libs
12434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12435 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12436 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12440 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12443 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12445 CPPFLAGS=$ac_save_CPPFLAGS
12447 if test "x$MPG123_PE_LIBS" = "x"
12449 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12452 if ${PNG_PE_CFLAGS:+false} :
12454 if test ${MINGW_PKG_CONFIG+y}
12456 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng
2>/dev
/null
`
12459 if ${PNG_PE_LIBS:+false} :
12461 if test ${MINGW_PKG_CONFIG+y}
12463 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng
2>/dev
/null
`
12467 ac_save_CPPFLAGS=$CPPFLAGS
12468 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12470 printf %s "checking for MinGW png.h... " >&6; }
12471 if test ${ac_cv_mingw_header_png_h+y}
12473 printf %s "(cached) " >&6
12475 ac_wine_check_headers_saved_cc=$CC
12476 ac_wine_check_headers_saved_exeext=$ac_exeext
12477 eval CC=\$${wine_arch}_CC
12479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12480 /* end confdefs.h. */
12491 if ac_fn_c_try_compile "$LINENO"
12493 ac_cv_mingw_header_png_h=yes
12495 ac_cv_mingw_header_png_h=no
12497 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12498 CC=$ac_wine_check_headers_saved_cc
12499 ac_exeext=$ac_wine_check_headers_saved_exeext
12501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12502 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12503 if test "x$ac_cv_mingw_header_png_h" = xyes
12505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12506 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12507 if test ${ac_cv_mingw_lib_png+y}
12509 printf %s "(cached) " >&6
12511 ac_wine_check_headers_saved_cc=$CC
12512 ac_wine_check_headers_saved_exeext=$ac_exeext
12513 ac_wine_check_headers_saved_libs=$LIBS
12514 eval CC=\$${wine_arch}_CC
12516 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12518 /* end confdefs.h. */
12520 /* Override any GCC internal prototype to avoid an error.
12521 Use char because int might match the return type of a GCC
12522 builtin and then its argument prototype would still apply. */
12523 char png_create_read_struct ();
12527 return png_create_read_struct ();
12532 if ac_fn_c_try_link "$LINENO"
12534 ac_cv_mingw_lib_png=yes
12536 ac_cv_mingw_lib_png=no
12538 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12539 conftest$ac_exeext conftest.$ac_ext
12540 CC=$ac_wine_check_headers_saved_cc
12541 ac_exeext=$ac_wine_check_headers_saved_exeext
12542 LIBS=$ac_wine_check_headers_saved_libs
12544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12545 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12546 if test "x$ac_cv_mingw_lib_png" = xyes
12550 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12553 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12555 CPPFLAGS=$ac_save_CPPFLAGS
12557 if test "x$PNG_PE_LIBS" = "x"
12559 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12562 if ${TIFF_PE_CFLAGS:+false} :
12564 if test ${MINGW_PKG_CONFIG+y}
12566 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4
2>/dev
/null
`
12569 if ${TIFF_PE_LIBS:+false} :
12571 if test ${MINGW_PKG_CONFIG+y}
12573 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4
2>/dev
/null
`
12577 ac_save_CPPFLAGS=$CPPFLAGS
12578 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12580 printf %s "checking for MinGW tiffio.h... " >&6; }
12581 if test ${ac_cv_mingw_header_tiffio_h+y}
12583 printf %s "(cached) " >&6
12585 ac_wine_check_headers_saved_cc=$CC
12586 ac_wine_check_headers_saved_exeext=$ac_exeext
12587 eval CC=\$${wine_arch}_CC
12589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12590 /* end confdefs.h. */
12592 #include <tiffio.h>
12601 if ac_fn_c_try_compile "$LINENO"
12603 ac_cv_mingw_header_tiffio_h=yes
12605 ac_cv_mingw_header_tiffio_h=no
12607 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12608 CC=$ac_wine_check_headers_saved_cc
12609 ac_exeext=$ac_wine_check_headers_saved_exeext
12611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12612 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12613 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12616 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12617 if test ${ac_cv_mingw_lib_tiff+y}
12619 printf %s "(cached) " >&6
12621 ac_wine_check_headers_saved_cc=$CC
12622 ac_wine_check_headers_saved_exeext=$ac_exeext
12623 ac_wine_check_headers_saved_libs=$LIBS
12624 eval CC=\$${wine_arch}_CC
12626 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12628 /* end confdefs.h. */
12630 /* Override any GCC internal prototype to avoid an error.
12631 Use char because int might match the return type of a GCC
12632 builtin and then its argument prototype would still apply. */
12633 char TIFFClientOpen ();
12637 return TIFFClientOpen ();
12642 if ac_fn_c_try_link "$LINENO"
12644 ac_cv_mingw_lib_tiff=yes
12646 ac_cv_mingw_lib_tiff=no
12648 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12649 conftest$ac_exeext conftest.$ac_ext
12650 CC=$ac_wine_check_headers_saved_cc
12651 ac_exeext=$ac_wine_check_headers_saved_exeext
12652 LIBS=$ac_wine_check_headers_saved_libs
12654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12655 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12656 if test "x$ac_cv_mingw_lib_tiff" = xyes
12660 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12663 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12665 CPPFLAGS=$ac_save_CPPFLAGS
12667 if test "x$TIFF_PE_LIBS" = "x"
12669 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12672 if ${XML2_PE_CFLAGS:+false} :
12674 if test ${MINGW_PKG_CONFIG+y}
12676 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0
2>/dev
/null
`
12679 if ${XML2_PE_LIBS:+false} :
12681 if test ${MINGW_PKG_CONFIG+y}
12683 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0
2>/dev
/null
`
12686 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12687 ac_save_CPPFLAGS=$CPPFLAGS
12688 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12690 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12691 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12693 printf %s "(cached) " >&6
12695 ac_wine_check_headers_saved_cc=$CC
12696 ac_wine_check_headers_saved_exeext=$ac_exeext
12697 eval CC=\$${wine_arch}_CC
12699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12700 /* end confdefs.h. */
12702 #include <libxml/parser.h>
12711 if ac_fn_c_try_compile "$LINENO"
12713 ac_cv_mingw_header_libxml_parser_h=yes
12715 ac_cv_mingw_header_libxml_parser_h=no
12717 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12718 CC=$ac_wine_check_headers_saved_cc
12719 ac_exeext=$ac_wine_check_headers_saved_exeext
12721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12722 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12723 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12728 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12729 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12731 printf %s "(cached) " >&6
12733 ac_wine_check_headers_saved_cc=$CC
12734 ac_wine_check_headers_saved_exeext=$ac_exeext
12735 eval CC=\$${wine_arch}_CC
12737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12738 /* end confdefs.h. */
12740 #include <libxml/xmlsave.h>
12749 if ac_fn_c_try_compile "$LINENO"
12751 ac_cv_mingw_header_libxml_xmlsave_h=yes
12753 ac_cv_mingw_header_libxml_xmlsave_h=no
12755 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12756 CC=$ac_wine_check_headers_saved_cc
12757 ac_exeext=$ac_wine_check_headers_saved_exeext
12759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12760 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12761 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12766 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12767 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12769 printf %s "(cached) " >&6
12771 ac_wine_check_headers_saved_cc=$CC
12772 ac_wine_check_headers_saved_exeext=$ac_exeext
12773 eval CC=\$${wine_arch}_CC
12775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12776 /* end confdefs.h. */
12778 #include <libxml/SAX2.h>
12787 if ac_fn_c_try_compile "$LINENO"
12789 ac_cv_mingw_header_libxml_SAX2_h=yes
12791 ac_cv_mingw_header_libxml_SAX2_h=no
12793 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12794 CC=$ac_wine_check_headers_saved_cc
12795 ac_exeext=$ac_wine_check_headers_saved_exeext
12797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12798 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12799 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12803 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"
12805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12806 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12807 if test ${ac_cv_mingw_lib_xml2+y}
12809 printf %s "(cached) " >&6
12811 ac_wine_check_headers_saved_cc=$CC
12812 ac_wine_check_headers_saved_exeext=$ac_exeext
12813 ac_wine_check_headers_saved_libs=$LIBS
12814 eval CC=\$${wine_arch}_CC
12816 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12818 /* end confdefs.h. */
12820 /* Override any GCC internal prototype to avoid an error.
12821 Use char because int might match the return type of a GCC
12822 builtin and then its argument prototype would still apply. */
12823 char xmlFirstElementChild ();
12827 return xmlFirstElementChild ();
12832 if ac_fn_c_try_link "$LINENO"
12834 ac_cv_mingw_lib_xml2=yes
12836 ac_cv_mingw_lib_xml2=no
12838 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12839 conftest$ac_exeext conftest.$ac_ext
12840 CC=$ac_wine_check_headers_saved_cc
12841 ac_exeext=$ac_wine_check_headers_saved_exeext
12842 LIBS=$ac_wine_check_headers_saved_libs
12844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12845 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12846 if test "x$ac_cv_mingw_lib_xml2" = xyes
12850 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12856 CPPFLAGS=$ac_save_CPPFLAGS
12858 if test "x$XML2_PE_LIBS" = "x"
12860 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12863 if ${XSLT_PE_CFLAGS:+false} :
12865 if test ${MINGW_PKG_CONFIG+y}
12867 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt
2>/dev
/null
`
12870 if ${XSLT_PE_LIBS:+false} :
12872 if test ${MINGW_PKG_CONFIG+y}
12874 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt
2>/dev
/null
`
12877 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12878 ac_save_CPPFLAGS=$CPPFLAGS
12879 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12881 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12882 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12884 printf %s "(cached) " >&6
12886 ac_wine_check_headers_saved_cc=$CC
12887 ac_wine_check_headers_saved_exeext=$ac_exeext
12888 eval CC=\$${wine_arch}_CC
12890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12891 /* end confdefs.h. */
12893 #include <libxslt/pattern.h>
12902 if ac_fn_c_try_compile "$LINENO"
12904 ac_cv_mingw_header_libxslt_pattern_h=yes
12906 ac_cv_mingw_header_libxslt_pattern_h=no
12908 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12909 CC=$ac_wine_check_headers_saved_cc
12910 ac_exeext=$ac_wine_check_headers_saved_exeext
12912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12913 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12914 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12919 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12920 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12922 printf %s "(cached) " >&6
12924 ac_wine_check_headers_saved_cc=$CC
12925 ac_wine_check_headers_saved_exeext=$ac_exeext
12926 eval CC=\$${wine_arch}_CC
12928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12929 /* end confdefs.h. */
12931 #include <libxslt/transform.h>
12940 if ac_fn_c_try_compile "$LINENO"
12942 ac_cv_mingw_header_libxslt_transform_h=yes
12944 ac_cv_mingw_header_libxslt_transform_h=no
12946 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12947 CC=$ac_wine_check_headers_saved_cc
12948 ac_exeext=$ac_wine_check_headers_saved_exeext
12950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12951 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12952 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12956 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12959 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12960 if test ${ac_cv_mingw_lib_xslt+y}
12962 printf %s "(cached) " >&6
12964 ac_wine_check_headers_saved_cc=$CC
12965 ac_wine_check_headers_saved_exeext=$ac_exeext
12966 ac_wine_check_headers_saved_libs=$LIBS
12967 eval CC=\$${wine_arch}_CC
12969 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12971 /* end confdefs.h. */
12973 /* Override any GCC internal prototype to avoid an error.
12974 Use char because int might match the return type of a GCC
12975 builtin and then its argument prototype would still apply. */
12976 char xsltCompilePattern ();
12980 return xsltCompilePattern ();
12985 if ac_fn_c_try_link "$LINENO"
12987 ac_cv_mingw_lib_xslt=yes
12989 ac_cv_mingw_lib_xslt=no
12991 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12992 conftest$ac_exeext conftest.$ac_ext
12993 CC=$ac_wine_check_headers_saved_cc
12994 ac_exeext=$ac_wine_check_headers_saved_exeext
12995 LIBS=$ac_wine_check_headers_saved_libs
12997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12998 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12999 if test "x$ac_cv_mingw_lib_xslt" = xyes
13003 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
13009 CPPFLAGS=$ac_save_CPPFLAGS
13011 if test "x$XSLT_PE_LIBS" = "x"
13013 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
13016 if ${VKD3D_PE_CFLAGS:+false} :
13018 if test ${MINGW_PKG_CONFIG+y}
13020 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader
2>/dev
/null
`
13023 if ${VKD3D_PE_LIBS:+false} :
13025 if test ${MINGW_PKG_CONFIG+y}
13027 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader
2>/dev
/null
`
13030 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
13031 ac_save_CPPFLAGS=$CPPFLAGS
13032 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
13033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
13034 printf %s "checking for MinGW vkd3d.h... " >&6; }
13035 if test ${ac_cv_mingw_header_vkd3d_h+y}
13037 printf %s "(cached) " >&6
13039 ac_wine_check_headers_saved_cc=$CC
13040 ac_wine_check_headers_saved_exeext=$ac_exeext
13041 eval CC=\$${wine_arch}_CC
13043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13044 /* end confdefs.h. */
13055 if ac_fn_c_try_compile "$LINENO"
13057 ac_cv_mingw_header_vkd3d_h=yes
13059 ac_cv_mingw_header_vkd3d_h=no
13061 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13062 CC=$ac_wine_check_headers_saved_cc
13063 ac_exeext=$ac_wine_check_headers_saved_exeext
13065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
13066 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
13067 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
13071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
13072 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
13073 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
13075 printf %s "(cached) " >&6
13077 ac_wine_check_headers_saved_cc=$CC
13078 ac_wine_check_headers_saved_exeext=$ac_exeext
13079 eval CC=\$${wine_arch}_CC
13081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13082 /* end confdefs.h. */
13084 #include <vkd3d_shader.h>
13093 if ac_fn_c_try_compile "$LINENO"
13095 ac_cv_mingw_header_vkd3d_shader_h=yes
13097 ac_cv_mingw_header_vkd3d_shader_h=no
13099 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13100 CC=$ac_wine_check_headers_saved_cc
13101 ac_exeext=$ac_wine_check_headers_saved_exeext
13103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
13104 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
13105 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
13109 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
13111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
13112 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
13113 if test ${ac_cv_mingw_lib_vkd3d+y}
13115 printf %s "(cached) " >&6
13117 ac_wine_check_headers_saved_cc=$CC
13118 ac_wine_check_headers_saved_exeext=$ac_exeext
13119 ac_wine_check_headers_saved_libs=$LIBS
13120 eval CC=\$${wine_arch}_CC
13122 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
13123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13124 /* end confdefs.h. */
13126 /* Override any GCC internal prototype to avoid an error.
13127 Use char because int might match the return type of a GCC
13128 builtin and then its argument prototype would still apply. */
13129 char vkd3d_set_log_callback ();
13133 return vkd3d_set_log_callback ();
13138 if ac_fn_c_try_link "$LINENO"
13140 ac_cv_mingw_lib_vkd3d=yes
13142 ac_cv_mingw_lib_vkd3d=no
13144 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13145 conftest$ac_exeext conftest.$ac_ext
13146 CC=$ac_wine_check_headers_saved_cc
13147 ac_exeext=$ac_wine_check_headers_saved_exeext
13148 LIBS=$ac_wine_check_headers_saved_libs
13150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
13151 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
13152 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
13158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_compile in MinGW -lvkd3d-shader" >&5
13159 printf %s "checking for vkd3d_shader_compile in MinGW -lvkd3d-shader... " >&6; }
13160 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
13162 printf %s "(cached) " >&6
13164 ac_wine_check_headers_saved_cc=$CC
13165 ac_wine_check_headers_saved_exeext=$ac_exeext
13166 ac_wine_check_headers_saved_libs=$LIBS
13167 eval CC=\$${wine_arch}_CC
13169 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
13170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13171 /* end confdefs.h. */
13173 /* Override any GCC internal prototype to avoid an error.
13174 Use char because int might match the return type of a GCC
13175 builtin and then its argument prototype would still apply. */
13176 char vkd3d_shader_compile ();
13180 return vkd3d_shader_compile ();
13185 if ac_fn_c_try_link "$LINENO"
13187 ac_cv_mingw_lib_vkd3d_shader=yes
13189 ac_cv_mingw_lib_vkd3d_shader=no
13191 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13192 conftest$ac_exeext conftest.$ac_ext
13193 CC=$ac_wine_check_headers_saved_cc
13194 ac_exeext=$ac_wine_check_headers_saved_exeext
13195 LIBS=$ac_wine_check_headers_saved_libs
13197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
13198 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
13199 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
13205 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
13214 CPPFLAGS=$ac_save_CPPFLAGS
13216 if test "x$VKD3D_PE_LIBS" = "x"
13218 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
13221 if ${ZLIB_PE_CFLAGS:+false} :
13223 if test ${MINGW_PKG_CONFIG+y}
13225 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib
2>/dev
/null
`
13228 if ${ZLIB_PE_LIBS:+false} :
13230 if test ${MINGW_PKG_CONFIG+y}
13232 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib
2>/dev
/null
`
13235 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13236 ac_save_CPPFLAGS=$CPPFLAGS
13237 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13239 printf %s "checking for MinGW zlib.h... " >&6; }
13240 if test ${ac_cv_mingw_header_zlib_h+y}
13242 printf %s "(cached) " >&6
13244 ac_wine_check_headers_saved_cc=$CC
13245 ac_wine_check_headers_saved_exeext=$ac_exeext
13246 eval CC=\$${wine_arch}_CC
13248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13249 /* end confdefs.h. */
13260 if ac_fn_c_try_compile "$LINENO"
13262 ac_cv_mingw_header_zlib_h=yes
13264 ac_cv_mingw_header_zlib_h=no
13266 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13267 CC=$ac_wine_check_headers_saved_cc
13268 ac_exeext=$ac_wine_check_headers_saved_exeext
13270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13271 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13272 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13275 printf %s "checking for inflate in MinGW -lz... " >&6; }
13276 if test ${ac_cv_mingw_lib_z+y}
13278 printf %s "(cached) " >&6
13280 ac_wine_check_headers_saved_cc=$CC
13281 ac_wine_check_headers_saved_exeext=$ac_exeext
13282 ac_wine_check_headers_saved_libs=$LIBS
13283 eval CC=\$${wine_arch}_CC
13285 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13287 /* end confdefs.h. */
13289 /* Override any GCC internal prototype to avoid an error.
13290 Use char because int might match the return type of a GCC
13291 builtin and then its argument prototype would still apply. */
13301 if ac_fn_c_try_link "$LINENO"
13303 ac_cv_mingw_lib_z=yes
13305 ac_cv_mingw_lib_z=no
13307 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13308 conftest$ac_exeext conftest.$ac_ext
13309 CC=$ac_wine_check_headers_saved_cc
13310 ac_exeext=$ac_wine_check_headers_saved_exeext
13311 LIBS=$ac_wine_check_headers_saved_libs
13313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13314 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13315 if test "x$ac_cv_mingw_lib_z" = xyes
13319 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13322 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13324 CPPFLAGS=$ac_save_CPPFLAGS
13326 if test "x$ZLIB_PE_LIBS" = "x"
13328 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13332 if ${FAUDIO_PE_LIBS:+false} :
13334 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13335 if ${FAUDIO_PE_CFLAGS:+false} :
13337 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13344 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13345 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13347 if ${GSM_PE_LIBS:+false} :
13350 if ${GSM_PE_CFLAGS:+false} :
13352 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13359 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13360 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13362 if ${JPEG_PE_LIBS:+false} :
13365 if ${JPEG_PE_CFLAGS:+false} :
13367 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13374 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13375 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13377 if ${JXR_PE_LIBS:+false} :
13380 if ${JXR_PE_CFLAGS:+false} :
13382 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13389 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13390 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13392 if ${LCMS2_PE_LIBS:+false} :
13394 LCMS2_PE_LIBS=lcms2
13395 if ${LCMS2_PE_CFLAGS:+false} :
13397 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13404 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13405 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13407 if ${LDAP_PE_LIBS:+false} :
13410 if ${LDAP_PE_CFLAGS:+false} :
13412 LDAP_PE_CFLAGS="-I\$(top_srcdir)/libs/ldap/include"
13419 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap cflags: $LDAP_PE_CFLAGS" >&5
13420 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap libs: $LDAP_PE_LIBS" >&5
13422 if ${MPG123_PE_LIBS:+false} :
13424 MPG123_PE_LIBS=mpg123
13425 if ${MPG123_PE_CFLAGS:+false} :
13427 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13434 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13435 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13437 if ${PNG_PE_LIBS:+false} :
13439 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13440 if ${PNG_PE_CFLAGS:+false} :
13442 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13449 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13450 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13452 if ${TIFF_PE_LIBS:+false} :
13454 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13455 if ${TIFF_PE_CFLAGS:+false} :
13457 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13464 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13465 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13467 if ${VKD3D_PE_LIBS:+false} :
13469 VKD3D_PE_LIBS=vkd3d
13470 if ${VKD3D_PE_CFLAGS:+false} :
13472 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13479 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13480 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13482 if ${XML2_PE_LIBS:+false} :
13485 if ${XML2_PE_CFLAGS:+false} :
13487 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13494 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13495 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13497 if ${XSLT_PE_LIBS:+false} :
13500 if ${XSLT_PE_CFLAGS:+false} :
13502 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13509 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13510 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13512 if ${ZLIB_PE_LIBS:+false} :
13515 if ${ZLIB_PE_CFLAGS:+false} :
13517 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13524 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13525 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13529 if test "$ac_cv_header_pthread_h" = "yes"
13531 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13532 if test "x$ac_cv_func_pthread_create" = xyes
13536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13537 printf %s "checking for pthread_create in -lpthread... " >&6; }
13538 if test ${ac_cv_lib_pthread_pthread_create+y}
13540 printf %s "(cached) " >&6
13542 ac_check_lib_save_LIBS=$LIBS
13543 LIBS="-lpthread $LIBS"
13544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13545 /* end confdefs.h. */
13547 /* Override any GCC internal prototype to avoid an error.
13548 Use char because int might match the return type of a GCC
13549 builtin and then its argument prototype would still apply. */
13550 char pthread_create ();
13554 return pthread_create ();
13559 if ac_fn_c_try_link "$LINENO"
13561 ac_cv_lib_pthread_pthread_create=yes
13563 ac_cv_lib_pthread_pthread_create=no
13565 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13566 conftest$ac_exeext conftest.$ac_ext
13567 LIBS=$ac_check_lib_save_LIBS
13569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13570 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13571 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13573 PTHREAD_LIBS="-lpthread"
13580 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13582 case "x$with_pthread" in
13584 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13585 Wine cannot support threads without libpthread.
13586 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13593 ac_cpp='$CPP $CPPFLAGS'
13594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13598 printf %s "checking how to run the C preprocessor... " >&6; }
13599 # On Suns, sometimes $CPP names a directory.
13600 if test -n "$CPP" && test -d "$CPP"; then
13603 if test -z "$CPP"; then
13604 if test ${ac_cv_prog_CPP+y}
13606 printf %s "(cached) " >&6
13608 # Double quotes because $CC needs to be expanded
13609 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13611 ac_preproc_ok=false
13612 for ac_c_preproc_warn_flag in '' yes
13614 # Use a header file that comes with gcc, so configuring glibc
13615 # with a fresh cross-compiler works.
13616 # On the NeXT, cc -E runs the code through the compiler's parser,
13617 # not just through cpp. "Syntax error" is here to catch this case.
13618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13619 /* end confdefs.h. */
13620 #include <limits.h>
13623 if ac_fn_c_try_cpp "$LINENO"
13627 # Broken: fails on valid input.
13630 rm -f conftest.err conftest.i conftest.$ac_ext
13632 # OK, works on sane cases. Now check whether nonexistent headers
13633 # can be detected and how.
13634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13635 /* end confdefs.h. */
13636 #include <ac_nonexistent.h>
13638 if ac_fn_c_try_cpp "$LINENO"
13640 # Broken: success on invalid input.
13643 # Passes both tests.
13647 rm -f conftest.err conftest.i conftest.$ac_ext
13650 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13651 rm -f conftest.i conftest.err conftest.
$ac_ext
13658 ac_cv_prog_CPP
=$CPP
13661 CPP
=$ac_cv_prog_CPP
13663 ac_cv_prog_CPP
=$CPP
13665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13666 printf "%s\n" "$CPP" >&6; }
13667 ac_preproc_ok
=false
13668 for ac_c_preproc_warn_flag
in '' yes
13670 # Use a header file that comes with gcc, so configuring glibc
13671 # with a fresh cross-compiler works.
13672 # On the NeXT, cc -E runs the code through the compiler's parser,
13673 # not just through cpp. "Syntax error" is here to catch this case.
13674 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13675 /* end confdefs.h. */
13676 #include <limits.h>
13679 if ac_fn_c_try_cpp
"$LINENO"
13683 # Broken: fails on valid input.
13686 rm -f conftest.err conftest.i conftest.
$ac_ext
13688 # OK, works on sane cases. Now check whether nonexistent headers
13689 # can be detected and how.
13690 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13691 /* end confdefs.h. */
13692 #include <ac_nonexistent.h>
13694 if ac_fn_c_try_cpp
"$LINENO"
13696 # Broken: success on invalid input.
13699 # Passes both tests.
13703 rm -f conftest.err conftest.i conftest.
$ac_ext
13706 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13707 rm -f conftest.i conftest.err conftest.
$ac_ext
13712 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13713 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13714 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
13715 See \`config.log' for more details" "$LINENO" 5; }
13719 ac_cpp
='$CPP $CPPFLAGS'
13720 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13721 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13722 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13726 printf %s
"checking for X... " >&6; }
13729 # Check whether --with-x was given.
13730 if test ${with_x+y}
13735 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13736 if test "x$with_x" = xno
; then
13737 # The user explicitly disabled X.
13740 case $x_includes,$x_libraries in #(
13741 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
13742 *,NONE | NONE
,*) if test ${ac_cv_have_x+y}
13744 printf %s
"(cached) " >&6
13746 # One or both of the vars are not set, and there is no cached value.
13749 # Do we need to do anything special at all?
13752 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13753 /* end confdefs.h. */
13754 #include <X11/Xlib.h>
13763 if ac_fn_c_try_link
"$LINENO"
13765 # We can compile and link X programs with no special options.
13769 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13770 conftest
$ac_exeext conftest.
$ac_ext
13771 LIBS
="$ac_save_LIBS"
13772 # If that didn't work, only try xmkmf and file system searches
13773 # for native compilation.
13774 if test x
"$ac_x_includes" = xno
&& test "$cross_compiling" = no
13776 rm -f -r conftest.dir
13777 if mkdir conftest.dir
; then
13779 cat >Imakefile
<<'_ACEOF'
13781 @echo incroot='${INCROOT}'
13783 @echo usrlibdir='${USRLIBDIR}'
13785 @echo libdir='${LIBDIR}'
13787 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
13788 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13789 for ac_var
in incroot usrlibdir libdir
; do
13790 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13792 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13793 for ac_extension
in a so sl dylib la dll
; do
13794 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13795 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13796 ac_im_usrlibdir
=$ac_im_libdir; break
13799 # Screen out bogus values from the imake configuration. They are
13800 # bogus both because they are the default anyway, and because
13801 # using them would break gcc on systems where it needs fixed includes.
13802 case $ac_im_incroot in
13803 /usr
/include
) ac_x_includes
= ;;
13804 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
13806 case $ac_im_usrlibdir in
13807 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
13808 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
13812 rm -f -r conftest.dir
13815 # Standard set of common directories for X headers.
13816 # Check X11 before X11Rn because it is often a symlink to the current release.
13830 /usr/local/X11/include
13831 /usr/local/X11R7/include
13832 /usr/local/X11R6/include
13833 /usr/local/X11R5/include
13834 /usr/local/X11R4/include
13836 /usr/local/include/X11
13837 /usr/local/include/X11R7
13838 /usr/local/include/X11R6
13839 /usr/local/include/X11R5
13840 /usr/local/include/X11R4
13846 /usr/XFree86/include/X11
13850 /usr/unsupported/include
13851 /usr/athena/include
13852 /usr/local/x11r5/include
13853 /usr/lpp/Xamples/include
13855 /usr/openwin/include
13856 /usr/openwin/share/include'
13858 if test "$ac_x_includes" = no
; then
13859 # Guess where to find include files, by looking for Xlib.h.
13860 # First, try using that file with no special directory specified.
13861 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13862 /* end confdefs.h. */
13863 #include <X11/Xlib.h>
13865 if ac_fn_c_try_cpp
"$LINENO"
13867 # We can compile using X headers with no special include directory.
13870 for ac_dir
in $ac_x_header_dirs; do
13871 if test -r "$ac_dir/X11/Xlib.h"; then
13872 ac_x_includes
=$ac_dir
13877 rm -f conftest.err conftest.i conftest.
$ac_ext
13878 fi # $ac_x_includes = no
13880 if test "$ac_x_libraries" = no
; then
13881 # Check for the libraries.
13882 # See if we find them without any special options.
13883 # Don't add to $LIBS permanently.
13886 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13887 /* end confdefs.h. */
13888 #include <X11/Xlib.h>
13897 if ac_fn_c_try_link
"$LINENO"
13900 # We can link X programs with no special library path.
13904 for ac_dir
in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13906 # Don't even attempt the hair of trying to link an X program!
13907 for ac_extension
in a so sl dylib la dll
; do
13908 if test -r "$ac_dir/libX11.$ac_extension"; then
13909 ac_x_libraries
=$ac_dir
13915 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13916 conftest
$ac_exeext conftest.
$ac_ext
13917 fi # $ac_x_libraries = no
13920 # Record the results.
13921 case $ac_x_includes,$ac_x_libraries in #(
13922 no
,* |
*,no |
*\'*) :
13923 # Didn't find X, or a directory has "'" in its name.
13924 ac_cv_have_x
="have_x=no" ;; #(
13926 # Record where we found X for the cache.
13927 ac_cv_have_x
="have_x=yes\
13928 ac_x_includes='$ac_x_includes'\
13929 ac_x_libraries='$ac_x_libraries'" ;;
13935 eval "$ac_cv_have_x"
13938 if test "$have_x" != yes; then
13939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13940 printf "%s\n" "$have_x" >&6; }
13943 # If each of the values was on the command line, it overrides each guess.
13944 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
13945 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
13946 # Update the cache value to reflect the command line values.
13947 ac_cv_have_x
="have_x=yes\
13948 ac_x_includes='$x_includes'\
13949 ac_x_libraries='$x_libraries'"
13950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13951 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13954 if test "$no_x" = yes; then
13955 # Not all programs may use this symbol, but it does not hurt to define it.
13957 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13959 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
13961 if test -n "$x_includes"; then
13962 X_CFLAGS
="$X_CFLAGS -I$x_includes"
13965 # It would also be nice to do this for all -L options, not just this one.
13966 if test -n "$x_libraries"; then
13967 X_LIBS
="$X_LIBS -L$x_libraries"
13968 # For Solaris; some versions of Sun CC require a space after -R and
13969 # others require no space. Words are not sufficient . . . .
13970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13971 printf %s
"checking whether -R must be followed by a space... " >&6; }
13972 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
13973 ac_xsave_c_werror_flag
=$ac_c_werror_flag
13974 ac_c_werror_flag
=yes
13975 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13976 /* end confdefs.h. */
13986 if ac_fn_c_try_link
"$LINENO"
13988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13989 printf "%s\n" "no" >&6; }
13990 X_LIBS
="$X_LIBS -R$x_libraries"
13992 LIBS
="$ac_xsave_LIBS -R $x_libraries"
13993 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13994 /* end confdefs.h. */
14004 if ac_fn_c_try_link
"$LINENO"
14006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14007 printf "%s\n" "yes" >&6; }
14008 X_LIBS
="$X_LIBS -R $x_libraries"
14010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
14011 printf "%s\n" "neither works" >&6; }
14013 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14014 conftest
$ac_exeext conftest.
$ac_ext
14016 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14017 conftest
$ac_exeext conftest.
$ac_ext
14018 ac_c_werror_flag
=$ac_xsave_c_werror_flag
14019 LIBS
=$ac_xsave_LIBS
14022 # Check for system-dependent libraries X programs must link with.
14023 # Do this before checking for the system-independent R6 libraries
14024 # (-lICE), since we may need -lsocket or whatever for X linking.
14026 if test "$ISC" = yes; then
14027 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
14029 # Martyn Johnson says this is needed for Ultrix, if the X
14030 # libraries were built with DECnet support. And Karl Berry says
14031 # the Alpha needs dnet_stub (dnet does not exist).
14032 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
14033 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14034 /* end confdefs.h. */
14036 /* Override any GCC internal prototype to avoid an error.
14037 Use char because int might match the return type of a GCC
14038 builtin and then its argument prototype would still apply. */
14039 char XOpenDisplay ();
14043 return XOpenDisplay ();
14048 if ac_fn_c_try_link
"$LINENO"
14052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
14053 printf %s
"checking for dnet_ntoa in -ldnet... " >&6; }
14054 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
14056 printf %s
"(cached) " >&6
14058 ac_check_lib_save_LIBS
=$LIBS
14059 LIBS
="-ldnet $LIBS"
14060 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14061 /* end confdefs.h. */
14063 /* Override any GCC internal prototype to avoid an error.
14064 Use char because int might match the return type of a GCC
14065 builtin and then its argument prototype would still apply. */
14070 return dnet_ntoa ();
14075 if ac_fn_c_try_link
"$LINENO"
14077 ac_cv_lib_dnet_dnet_ntoa
=yes
14079 ac_cv_lib_dnet_dnet_ntoa
=no
14081 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14082 conftest
$ac_exeext conftest.
$ac_ext
14083 LIBS
=$ac_check_lib_save_LIBS
14085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
14086 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
14087 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
14089 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
14092 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
14093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
14094 printf %s
"checking for dnet_ntoa in -ldnet_stub... " >&6; }
14095 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
14097 printf %s
"(cached) " >&6
14099 ac_check_lib_save_LIBS
=$LIBS
14100 LIBS
="-ldnet_stub $LIBS"
14101 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14102 /* end confdefs.h. */
14104 /* Override any GCC internal prototype to avoid an error.
14105 Use char because int might match the return type of a GCC
14106 builtin and then its argument prototype would still apply. */
14111 return dnet_ntoa ();
14116 if ac_fn_c_try_link
"$LINENO"
14118 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
14120 ac_cv_lib_dnet_stub_dnet_ntoa
=no
14122 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14123 conftest
$ac_exeext conftest.
$ac_ext
14124 LIBS
=$ac_check_lib_save_LIBS
14126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
14127 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
14128 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
14130 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
14135 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14136 conftest
$ac_exeext conftest.
$ac_ext
14137 LIBS
="$ac_xsave_LIBS"
14139 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14140 # to get the SysV transport functions.
14141 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
14143 # The nsl library prevents programs from opening the X display
14144 # on Irix 5.2, according to T.E. Dickey.
14145 # The functions gethostbyname, getservbyname, and inet_addr are
14146 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
14147 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
14148 if test "x$ac_cv_func_gethostbyname" = xyes
14153 if test $ac_cv_func_gethostbyname = no
; then
14154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
14155 printf %s
"checking for gethostbyname in -lnsl... " >&6; }
14156 if test ${ac_cv_lib_nsl_gethostbyname+y}
14158 printf %s
"(cached) " >&6
14160 ac_check_lib_save_LIBS
=$LIBS
14162 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14163 /* end confdefs.h. */
14165 /* Override any GCC internal prototype to avoid an error.
14166 Use char because int might match the return type of a GCC
14167 builtin and then its argument prototype would still apply. */
14168 char gethostbyname ();
14172 return gethostbyname ();
14177 if ac_fn_c_try_link
"$LINENO"
14179 ac_cv_lib_nsl_gethostbyname
=yes
14181 ac_cv_lib_nsl_gethostbyname
=no
14183 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14184 conftest
$ac_exeext conftest.
$ac_ext
14185 LIBS
=$ac_check_lib_save_LIBS
14187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
14188 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
14189 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
14191 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
14194 if test $ac_cv_lib_nsl_gethostbyname = no
; then
14195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
14196 printf %s
"checking for gethostbyname in -lbsd... " >&6; }
14197 if test ${ac_cv_lib_bsd_gethostbyname+y}
14199 printf %s
"(cached) " >&6
14201 ac_check_lib_save_LIBS
=$LIBS
14203 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14204 /* end confdefs.h. */
14206 /* Override any GCC internal prototype to avoid an error.
14207 Use char because int might match the return type of a GCC
14208 builtin and then its argument prototype would still apply. */
14209 char gethostbyname ();
14213 return gethostbyname ();
14218 if ac_fn_c_try_link
"$LINENO"
14220 ac_cv_lib_bsd_gethostbyname
=yes
14222 ac_cv_lib_bsd_gethostbyname
=no
14224 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14225 conftest
$ac_exeext conftest.
$ac_ext
14226 LIBS
=$ac_check_lib_save_LIBS
14228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14229 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14230 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14232 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
14238 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14239 # socket/setsockopt and other routines are undefined under SCO ODT
14240 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14241 # on later versions), says Simon Leinen: it contains gethostby*
14242 # variants that don't use the name server (or something). -lsocket
14243 # must be given before -lnsl if both are needed. We assume that
14244 # if connect needs -lnsl, so does gethostbyname.
14245 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
14246 if test "x$ac_cv_func_connect" = xyes
14251 if test $ac_cv_func_connect = no
; then
14252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14253 printf %s
"checking for connect in -lsocket... " >&6; }
14254 if test ${ac_cv_lib_socket_connect+y}
14256 printf %s
"(cached) " >&6
14258 ac_check_lib_save_LIBS
=$LIBS
14259 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
14260 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14261 /* end confdefs.h. */
14263 /* Override any GCC internal prototype to avoid an error.
14264 Use char because int might match the return type of a GCC
14265 builtin and then its argument prototype would still apply. */
14275 if ac_fn_c_try_link
"$LINENO"
14277 ac_cv_lib_socket_connect
=yes
14279 ac_cv_lib_socket_connect
=no
14281 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14282 conftest
$ac_exeext conftest.
$ac_ext
14283 LIBS
=$ac_check_lib_save_LIBS
14285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14286 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14287 if test "x$ac_cv_lib_socket_connect" = xyes
14289 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
14294 # Guillermo Gomez says -lposix is necessary on A/UX.
14295 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
14296 if test "x$ac_cv_func_remove" = xyes
14301 if test $ac_cv_func_remove = no
; then
14302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14303 printf %s
"checking for remove in -lposix... " >&6; }
14304 if test ${ac_cv_lib_posix_remove+y}
14306 printf %s
"(cached) " >&6
14308 ac_check_lib_save_LIBS
=$LIBS
14309 LIBS
="-lposix $LIBS"
14310 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14311 /* end confdefs.h. */
14313 /* Override any GCC internal prototype to avoid an error.
14314 Use char because int might match the return type of a GCC
14315 builtin and then its argument prototype would still apply. */
14325 if ac_fn_c_try_link
"$LINENO"
14327 ac_cv_lib_posix_remove
=yes
14329 ac_cv_lib_posix_remove
=no
14331 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14332 conftest
$ac_exeext conftest.
$ac_ext
14333 LIBS
=$ac_check_lib_save_LIBS
14335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14336 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14337 if test "x$ac_cv_lib_posix_remove" = xyes
14339 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
14344 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14345 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
14346 if test "x$ac_cv_func_shmat" = xyes
14351 if test $ac_cv_func_shmat = no
; then
14352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14353 printf %s
"checking for shmat in -lipc... " >&6; }
14354 if test ${ac_cv_lib_ipc_shmat+y}
14356 printf %s
"(cached) " >&6
14358 ac_check_lib_save_LIBS
=$LIBS
14360 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14361 /* end confdefs.h. */
14363 /* Override any GCC internal prototype to avoid an error.
14364 Use char because int might match the return type of a GCC
14365 builtin and then its argument prototype would still apply. */
14375 if ac_fn_c_try_link
"$LINENO"
14377 ac_cv_lib_ipc_shmat
=yes
14379 ac_cv_lib_ipc_shmat
=no
14381 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14382 conftest
$ac_exeext conftest.
$ac_ext
14383 LIBS
=$ac_check_lib_save_LIBS
14385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14386 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14387 if test "x$ac_cv_lib_ipc_shmat" = xyes
14389 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
14395 # Check for libraries that X11R6 Xt/Xaw programs need.
14396 ac_save_LDFLAGS
=$LDFLAGS
14397 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
14398 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14399 # check for ICE first), but we must link in the order -lSM -lICE or
14400 # we get undefined symbols. So assume we have SM if we have ICE.
14401 # These have to be linked with before -lX11, unlike the other
14402 # libraries we check for below, so use a different variable.
14403 # John Interrante, Karl Berry
14404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14405 printf %s
"checking for IceConnectionNumber in -lICE... " >&6; }
14406 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14408 printf %s
"(cached) " >&6
14410 ac_check_lib_save_LIBS
=$LIBS
14411 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
14412 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14413 /* end confdefs.h. */
14415 /* Override any GCC internal prototype to avoid an error.
14416 Use char because int might match the return type of a GCC
14417 builtin and then its argument prototype would still apply. */
14418 char IceConnectionNumber ();
14422 return IceConnectionNumber ();
14427 if ac_fn_c_try_link
"$LINENO"
14429 ac_cv_lib_ICE_IceConnectionNumber
=yes
14431 ac_cv_lib_ICE_IceConnectionNumber
=no
14433 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14434 conftest
$ac_exeext conftest.
$ac_ext
14435 LIBS
=$ac_check_lib_save_LIBS
14437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14438 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14439 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14441 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
14444 LDFLAGS
=$ac_save_LDFLAGS
14449 if test "$have_x" = "yes"
14451 ac_save_CPPFLAGS
="$CPPFLAGS"
14452 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
14454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14455 printf %s
"checking for -lX11... " >&6; }
14456 if test ${ac_cv_lib_soname_X11+y}
14458 printf %s
"(cached) " >&6
14460 ac_check_soname_save_LIBS
=$LIBS
14461 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14462 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14463 /* end confdefs.h. */
14465 /* Override any GCC internal prototype to avoid an error.
14466 Use char because int might match the return type of a GCC
14467 builtin and then its argument prototype would still apply. */
14468 char XCreateWindow ();
14472 return XCreateWindow ();
14477 if ac_fn_c_try_link
"$LINENO"
14480 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14481 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'` ;;
14482 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14483 if ${ac_cv_lib_soname_X11:+false} :
14485 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14489 ac_cv_lib_soname_X11
=
14491 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14492 conftest
$ac_exeext conftest.
$ac_ext
14493 LIBS
=$ac_check_soname_save_LIBS
14495 if ${ac_cv_lib_soname_X11:+false} :
14497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14498 printf "%s\n" "not found" >&6; }
14501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14502 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14504 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14509 printf %s
"checking for -lXext... " >&6; }
14510 if test ${ac_cv_lib_soname_Xext+y}
14512 printf %s
"(cached) " >&6
14514 ac_check_soname_save_LIBS
=$LIBS
14515 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14516 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14517 /* end confdefs.h. */
14519 /* Override any GCC internal prototype to avoid an error.
14520 Use char because int might match the return type of a GCC
14521 builtin and then its argument prototype would still apply. */
14522 char XextCreateExtension ();
14526 return XextCreateExtension ();
14531 if ac_fn_c_try_link
"$LINENO"
14534 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14535 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'` ;;
14536 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14537 if ${ac_cv_lib_soname_Xext:+false} :
14539 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14543 ac_cv_lib_soname_Xext
=
14545 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14546 conftest
$ac_exeext conftest.
$ac_ext
14547 LIBS
=$ac_check_soname_save_LIBS
14549 if ${ac_cv_lib_soname_Xext:+false} :
14551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14552 printf "%s\n" "not found" >&6; }
14555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14556 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14558 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14560 X_LIBS
="$X_LIBS -lXext"
14562 X_LIBS
="$X_LIBS -lX11"
14564 ac_fn_c_check_header_compile
"$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
14565 # include <X11/Xlib.h>
14567 #ifdef HAVE_X11_XUTIL_H
14568 # include <X11/Xutil.h>
14571 if test "x$ac_cv_header_X11_Xlib_h" = xyes
14573 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14576 ac_fn_c_check_header_compile
"$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
14577 # include <X11/Xlib.h>
14579 #ifdef HAVE_X11_XUTIL_H
14580 # include <X11/Xutil.h>
14583 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
14585 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14588 ac_fn_c_check_header_compile
"$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
14589 # include <X11/Xlib.h>
14591 #ifdef HAVE_X11_XUTIL_H
14592 # include <X11/Xutil.h>
14595 if test "x$ac_cv_header_X11_Xutil_h" = xyes
14597 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14600 ac_fn_c_check_header_compile
"$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
14601 # include <X11/Xlib.h>
14603 #ifdef HAVE_X11_XUTIL_H
14604 # include <X11/Xutil.h>
14607 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14609 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14612 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
14613 # include <X11/Xlib.h>
14615 #ifdef HAVE_X11_XUTIL_H
14616 # include <X11/Xutil.h>
14619 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14621 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14624 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
14625 # include <X11/Xlib.h>
14627 #ifdef HAVE_X11_XUTIL_H
14628 # include <X11/Xutil.h>
14631 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14633 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14636 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
14637 # include <X11/Xlib.h>
14639 #ifdef HAVE_X11_XUTIL_H
14640 # include <X11/Xutil.h>
14643 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14645 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14648 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
14649 # include <X11/Xlib.h>
14651 #ifdef HAVE_X11_XUTIL_H
14652 # include <X11/Xutil.h>
14655 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14657 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14660 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
14661 # include <X11/Xlib.h>
14663 #ifdef HAVE_X11_XUTIL_H
14664 # include <X11/Xutil.h>
14667 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
14669 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14672 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
14673 # include <X11/Xlib.h>
14675 #ifdef HAVE_X11_XUTIL_H
14676 # include <X11/Xutil.h>
14679 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14681 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14684 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
14685 # include <X11/Xlib.h>
14687 #ifdef HAVE_X11_XUTIL_H
14688 # include <X11/Xutil.h>
14691 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14693 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14696 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
14697 # include <X11/Xlib.h>
14699 #ifdef HAVE_X11_XUTIL_H
14700 # include <X11/Xutil.h>
14703 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14705 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14708 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
14709 # include <X11/Xlib.h>
14711 #ifdef HAVE_X11_XUTIL_H
14712 # include <X11/Xutil.h>
14715 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14717 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14720 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
14721 # include <X11/Xlib.h>
14723 #ifdef HAVE_X11_XUTIL_H
14724 # include <X11/Xutil.h>
14727 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14729 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14732 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
14733 # include <X11/Xlib.h>
14735 #ifdef HAVE_X11_XUTIL_H
14736 # include <X11/Xutil.h>
14739 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14741 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14746 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
14748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
14749 printf %s
"checking for XkbQueryExtension in -lX11... " >&6; }
14750 if test ${ac_cv_lib_X11_XkbQueryExtension+y}
14752 printf %s
"(cached) " >&6
14754 ac_check_lib_save_LIBS
=$LIBS
14755 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14756 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14757 /* end confdefs.h. */
14759 /* Override any GCC internal prototype to avoid an error.
14760 Use char because int might match the return type of a GCC
14761 builtin and then its argument prototype would still apply. */
14762 char XkbQueryExtension ();
14766 return XkbQueryExtension ();
14771 if ac_fn_c_try_link
"$LINENO"
14773 ac_cv_lib_X11_XkbQueryExtension
=yes
14775 ac_cv_lib_X11_XkbQueryExtension
=no
14777 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14778 conftest
$ac_exeext conftest.
$ac_ext
14779 LIBS
=$ac_check_lib_save_LIBS
14781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
14782 printf "%s\n" "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
14783 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
14786 printf "%s\n" "#define HAVE_XKB 1" >>confdefs.h
14792 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14795 printf %s
"checking for -lXcursor... " >&6; }
14796 if test ${ac_cv_lib_soname_Xcursor+y}
14798 printf %s
"(cached) " >&6
14800 ac_check_soname_save_LIBS
=$LIBS
14801 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14802 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14803 /* end confdefs.h. */
14805 /* Override any GCC internal prototype to avoid an error.
14806 Use char because int might match the return type of a GCC
14807 builtin and then its argument prototype would still apply. */
14808 char XcursorImageLoadCursor ();
14812 return XcursorImageLoadCursor ();
14817 if ac_fn_c_try_link
"$LINENO"
14820 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14821 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'` ;;
14822 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14823 if ${ac_cv_lib_soname_Xcursor:+false} :
14825 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14829 ac_cv_lib_soname_Xcursor
=
14831 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14832 conftest
$ac_exeext conftest.
$ac_ext
14833 LIBS
=$ac_check_soname_save_LIBS
14835 if ${ac_cv_lib_soname_Xcursor:+false} :
14837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14838 printf "%s\n" "not found" >&6; }
14841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14842 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14844 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14849 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14851 case "x$with_xcursor" in
14852 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14854 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14855 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14860 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14863 printf %s
"checking for -lXi... " >&6; }
14864 if test ${ac_cv_lib_soname_Xi+y}
14866 printf %s
"(cached) " >&6
14868 ac_check_soname_save_LIBS
=$LIBS
14869 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14870 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14871 /* end confdefs.h. */
14873 /* Override any GCC internal prototype to avoid an error.
14874 Use char because int might match the return type of a GCC
14875 builtin and then its argument prototype would still apply. */
14876 char XOpenDevice ();
14880 return XOpenDevice ();
14885 if ac_fn_c_try_link
"$LINENO"
14888 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14889 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'` ;;
14890 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14891 if ${ac_cv_lib_soname_Xi:+false} :
14893 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14897 ac_cv_lib_soname_Xi
=
14899 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14900 conftest
$ac_exeext conftest.
$ac_ext
14901 LIBS
=$ac_check_soname_save_LIBS
14903 if ${ac_cv_lib_soname_Xi:+false} :
14905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14906 printf "%s\n" "not found" >&6; }
14909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14910 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14912 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14917 if test "x$ac_cv_lib_soname_Xi" = "x"
14919 case "x$with_xinput" in
14920 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14922 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14923 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14928 if test "x$ac_cv_lib_soname_Xi" != x
14930 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14932 case "x$with_xinput2" in
14933 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14935 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
14936 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14942 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14945 printf %s
"checking for XShmQueryExtension in -lXext... " >&6; }
14946 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14948 printf %s
"(cached) " >&6
14950 ac_check_lib_save_LIBS
=$LIBS
14951 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14952 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14953 /* end confdefs.h. */
14955 /* Override any GCC internal prototype to avoid an error.
14956 Use char because int might match the return type of a GCC
14957 builtin and then its argument prototype would still apply. */
14958 char XShmQueryExtension ();
14962 return XShmQueryExtension ();
14967 if ac_fn_c_try_link
"$LINENO"
14969 ac_cv_lib_Xext_XShmQueryExtension
=yes
14971 ac_cv_lib_Xext_XShmQueryExtension
=no
14973 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14974 conftest
$ac_exeext conftest.
$ac_ext
14975 LIBS
=$ac_check_lib_save_LIBS
14977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14978 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14979 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14982 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14987 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14989 case "x$with_xshm" in
14990 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14992 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14993 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14998 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
15000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
15001 printf %s
"checking for XShapeQueryExtension in -lXext... " >&6; }
15002 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
15004 printf %s
"(cached) " >&6
15006 ac_check_lib_save_LIBS
=$LIBS
15007 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
15008 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15009 /* end confdefs.h. */
15011 /* Override any GCC internal prototype to avoid an error.
15012 Use char because int might match the return type of a GCC
15013 builtin and then its argument prototype would still apply. */
15014 char XShapeQueryExtension ();
15018 return XShapeQueryExtension ();
15023 if ac_fn_c_try_link
"$LINENO"
15025 ac_cv_lib_Xext_XShapeQueryExtension
=yes
15027 ac_cv_lib_Xext_XShapeQueryExtension
=no
15029 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15030 conftest
$ac_exeext conftest.
$ac_ext
15031 LIBS
=$ac_check_lib_save_LIBS
15033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
15034 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
15035 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
15038 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
15043 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
15045 case "x$with_xshape" in
15046 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
15048 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
15049 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
15054 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
15056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
15057 printf %s
"checking for -lXxf86vm... " >&6; }
15058 if test ${ac_cv_lib_soname_Xxf86vm+y}
15060 printf %s
"(cached) " >&6
15062 ac_check_soname_save_LIBS
=$LIBS
15063 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
15064 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15065 /* end confdefs.h. */
15067 /* Override any GCC internal prototype to avoid an error.
15068 Use char because int might match the return type of a GCC
15069 builtin and then its argument prototype would still apply. */
15070 char XF86VidModeQueryExtension ();
15074 return XF86VidModeQueryExtension ();
15079 if ac_fn_c_try_link
"$LINENO"
15082 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15083 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'` ;;
15084 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15085 if ${ac_cv_lib_soname_Xxf86vm:+false} :
15087 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15091 ac_cv_lib_soname_Xxf86vm
=
15093 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15094 conftest
$ac_exeext conftest.
$ac_ext
15095 LIBS
=$ac_check_soname_save_LIBS
15097 if ${ac_cv_lib_soname_Xxf86vm:+false} :
15099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15100 printf "%s\n" "not found" >&6; }
15103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
15104 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
15106 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
15111 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
15113 case "x$with_xxf86vm" in
15114 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
15116 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
15117 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
15122 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
15124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
15125 printf %s
"checking for -lXrender... " >&6; }
15126 if test ${ac_cv_lib_soname_Xrender+y}
15128 printf %s
"(cached) " >&6
15130 ac_check_soname_save_LIBS
=$LIBS
15131 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15132 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15133 /* end confdefs.h. */
15135 /* Override any GCC internal prototype to avoid an error.
15136 Use char because int might match the return type of a GCC
15137 builtin and then its argument prototype would still apply. */
15138 char XRenderQueryExtension ();
15142 return XRenderQueryExtension ();
15147 if ac_fn_c_try_link
"$LINENO"
15150 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15151 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'` ;;
15152 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15153 if ${ac_cv_lib_soname_Xrender:+false} :
15155 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15159 ac_cv_lib_soname_Xrender
=
15161 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15162 conftest
$ac_exeext conftest.
$ac_ext
15163 LIBS
=$ac_check_soname_save_LIBS
15165 if ${ac_cv_lib_soname_Xrender:+false} :
15167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15168 printf "%s\n" "not found" >&6; }
15171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
15172 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
15174 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
15176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
15177 printf %s
"checking for XRenderSetPictureTransform in -lXrender... " >&6; }
15178 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
15180 printf %s
"(cached) " >&6
15182 ac_check_lib_save_LIBS
=$LIBS
15183 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15184 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15185 /* end confdefs.h. */
15187 /* Override any GCC internal prototype to avoid an error.
15188 Use char because int might match the return type of a GCC
15189 builtin and then its argument prototype would still apply. */
15190 char XRenderSetPictureTransform ();
15194 return XRenderSetPictureTransform ();
15199 if ac_fn_c_try_link
"$LINENO"
15201 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
15203 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
15205 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15206 conftest
$ac_exeext conftest.
$ac_ext
15207 LIBS
=$ac_check_lib_save_LIBS
15209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
15210 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
15211 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
15214 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
15218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
15219 printf %s
"checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
15220 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
15222 printf %s
"(cached) " >&6
15224 ac_check_lib_save_LIBS
=$LIBS
15225 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15226 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15227 /* end confdefs.h. */
15229 /* Override any GCC internal prototype to avoid an error.
15230 Use char because int might match the return type of a GCC
15231 builtin and then its argument prototype would still apply. */
15232 char XRenderCreateLinearGradient ();
15236 return XRenderCreateLinearGradient ();
15241 if ac_fn_c_try_link
"$LINENO"
15243 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
15245 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
15247 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15248 conftest
$ac_exeext conftest.
$ac_ext
15249 LIBS
=$ac_check_lib_save_LIBS
15251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15252 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15253 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15256 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15263 if test "x$ac_cv_lib_soname_Xrender" = "x"
15265 case "x$with_xrender" in
15266 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15268 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
15269 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15274 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15276 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15277 /* end confdefs.h. */
15278 #include <X11/Xlib.h>
15279 #include <X11/extensions/Xrandr.h>
15283 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15288 if ac_fn_c_try_compile
"$LINENO"
15290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15291 printf %s
"checking for -lXrandr... " >&6; }
15292 if test ${ac_cv_lib_soname_Xrandr+y}
15294 printf %s
"(cached) " >&6
15296 ac_check_soname_save_LIBS
=$LIBS
15297 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15298 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15299 /* end confdefs.h. */
15301 /* Override any GCC internal prototype to avoid an error.
15302 Use char because int might match the return type of a GCC
15303 builtin and then its argument prototype would still apply. */
15304 char XRRQueryExtension ();
15308 return XRRQueryExtension ();
15313 if ac_fn_c_try_link
"$LINENO"
15316 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15317 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'` ;;
15318 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15319 if ${ac_cv_lib_soname_Xrandr:+false} :
15321 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15325 ac_cv_lib_soname_Xrandr
=
15327 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15328 conftest
$ac_exeext conftest.
$ac_ext
15329 LIBS
=$ac_check_soname_save_LIBS
15331 if ${ac_cv_lib_soname_Xrandr:+false} :
15333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15334 printf "%s\n" "not found" >&6; }
15337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15338 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15340 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15342 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15343 /* end confdefs.h. */
15344 #include <X11/Xlib.h>
15345 #include <X11/extensions/Xrandr.h>
15349 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15354 if ac_fn_c_try_compile
"$LINENO"
15357 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15360 as_fn_append wine_notices
"|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15362 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15365 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15367 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15369 case "x$with_xrandr" in
15370 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15372 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15373 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15378 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15380 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15381 /* end confdefs.h. */
15382 #include <X11/Xlib.h>
15383 #include <X11/extensions/Xfixes.h>
15387 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15392 if ac_fn_c_try_compile
"$LINENO"
15394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15395 printf %s
"checking for -lXfixes... " >&6; }
15396 if test ${ac_cv_lib_soname_Xfixes+y}
15398 printf %s
"(cached) " >&6
15400 ac_check_soname_save_LIBS
=$LIBS
15401 LIBS
="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15402 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15403 /* end confdefs.h. */
15405 /* Override any GCC internal prototype to avoid an error.
15406 Use char because int might match the return type of a GCC
15407 builtin and then its argument prototype would still apply. */
15408 char XFixesQueryVersion ();
15412 return XFixesQueryVersion ();
15417 if ac_fn_c_try_link
"$LINENO"
15420 dll
) ac_cv_lib_soname_Xfixes
=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15421 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'` ;;
15422 *) ac_cv_lib_soname_Xfixes
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15423 if ${ac_cv_lib_soname_Xfixes:+false} :
15425 ac_cv_lib_soname_Xfixes
=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15429 ac_cv_lib_soname_Xfixes
=
15431 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15432 conftest
$ac_exeext conftest.
$ac_ext
15433 LIBS
=$ac_check_soname_save_LIBS
15435 if ${ac_cv_lib_soname_Xfixes:+false} :
15437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15438 printf "%s\n" "not found" >&6; }
15441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15442 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15444 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15449 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15451 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15453 case "x$with_xfixes" in
15454 x
) as_fn_append wine_notices
"|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15456 *) as_fn_error $?
"libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15457 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15462 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15464 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15465 /* end confdefs.h. */
15466 #include <X11/Xlib.h>
15467 #include <X11/extensions/Xinerama.h>
15471 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15476 if ac_fn_c_try_compile
"$LINENO"
15478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15479 printf %s
"checking for -lXinerama... " >&6; }
15480 if test ${ac_cv_lib_soname_Xinerama+y}
15482 printf %s
"(cached) " >&6
15484 ac_check_soname_save_LIBS
=$LIBS
15485 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15487 /* end confdefs.h. */
15489 /* Override any GCC internal prototype to avoid an error.
15490 Use char because int might match the return type of a GCC
15491 builtin and then its argument prototype would still apply. */
15492 char XineramaQueryScreens ();
15496 return XineramaQueryScreens ();
15501 if ac_fn_c_try_link
"$LINENO"
15504 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15505 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'` ;;
15506 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15507 if ${ac_cv_lib_soname_Xinerama:+false} :
15509 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15513 ac_cv_lib_soname_Xinerama
=
15515 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15516 conftest
$ac_exeext conftest.
$ac_ext
15517 LIBS
=$ac_check_soname_save_LIBS
15519 if ${ac_cv_lib_soname_Xinerama:+false} :
15521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15522 printf "%s\n" "not found" >&6; }
15525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15526 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15528 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15533 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15535 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15537 case "x$with_xinerama" in
15538 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15540 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15541 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15546 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15549 printf %s
"checking for -lXcomposite... " >&6; }
15550 if test ${ac_cv_lib_soname_Xcomposite+y}
15552 printf %s
"(cached) " >&6
15554 ac_check_soname_save_LIBS
=$LIBS
15555 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15556 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15557 /* end confdefs.h. */
15559 /* Override any GCC internal prototype to avoid an error.
15560 Use char because int might match the return type of a GCC
15561 builtin and then its argument prototype would still apply. */
15562 char XCompositeRedirectWindow ();
15566 return XCompositeRedirectWindow ();
15571 if ac_fn_c_try_link
"$LINENO"
15574 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15575 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'` ;;
15576 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15577 if ${ac_cv_lib_soname_Xcomposite:+false} :
15579 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15583 ac_cv_lib_soname_Xcomposite
=
15585 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15586 conftest
$ac_exeext conftest.
$ac_ext
15587 LIBS
=$ac_check_soname_save_LIBS
15589 if ${ac_cv_lib_soname_Xcomposite:+false} :
15591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15592 printf "%s\n" "not found" >&6; }
15595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15596 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15598 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15603 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15605 case "x$with_xcomposite" in
15606 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15608 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15609 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15614 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
15615 #include <X11/Xlib.h>
15618 if test "x$ac_cv_member_XICCallback_callback" = xyes
15621 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15625 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15626 #include <X11/Xlib.h>
15629 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15632 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15640 if test "x$with_opengl" != "xno"
15642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15643 printf %s
"checking for -lGL... " >&6; }
15644 if test ${ac_cv_lib_soname_GL+y}
15646 printf %s
"(cached) " >&6
15648 ac_check_soname_save_LIBS
=$LIBS
15649 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15650 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15651 /* end confdefs.h. */
15653 /* Override any GCC internal prototype to avoid an error.
15654 Use char because int might match the return type of a GCC
15655 builtin and then its argument prototype would still apply. */
15656 char glXCreateContext ();
15660 return glXCreateContext ();
15665 if ac_fn_c_try_link
"$LINENO"
15668 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15669 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'` ;;
15670 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15671 if ${ac_cv_lib_soname_GL:+false} :
15673 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15677 ac_cv_lib_soname_GL
=
15679 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15680 conftest
$ac_exeext conftest.
$ac_ext
15681 LIBS
=$ac_check_soname_save_LIBS
15683 if ${ac_cv_lib_soname_GL:+false} :
15685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15686 printf "%s\n" "not found" >&6; }
15687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15688 printf %s
"checking for -lGL... " >&6; }
15689 if test ${ac_cv_lib_soname_GL+y}
15691 printf %s
"(cached) " >&6
15693 ac_check_soname_save_LIBS
=$LIBS
15694 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"
15695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15696 /* end confdefs.h. */
15698 /* Override any GCC internal prototype to avoid an error.
15699 Use char because int might match the return type of a GCC
15700 builtin and then its argument prototype would still apply. */
15701 char glXCreateContext ();
15705 return glXCreateContext ();
15710 if ac_fn_c_try_link
"$LINENO"
15713 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15714 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'` ;;
15715 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15716 if ${ac_cv_lib_soname_GL:+false} :
15718 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15722 ac_cv_lib_soname_GL
=
15724 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15725 conftest
$ac_exeext conftest.
$ac_ext
15726 LIBS
=$ac_check_soname_save_LIBS
15728 if ${ac_cv_lib_soname_GL:+false} :
15730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15731 printf "%s\n" "not found" >&6; }
15732 if test -f /usr
/X11R
6/lib
/libGL.a
15734 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
15735 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15737 opengl_msg
="No OpenGL library found on this system."
15740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15741 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15743 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15745 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"
15748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15749 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15751 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15755 if test "x$with_osmesa" != "xno"
15757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15758 printf %s
"checking for -lOSMesa... " >&6; }
15759 if test ${ac_cv_lib_soname_OSMesa+y}
15761 printf %s
"(cached) " >&6
15763 ac_check_soname_save_LIBS
=$LIBS
15764 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15765 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15766 /* end confdefs.h. */
15768 /* Override any GCC internal prototype to avoid an error.
15769 Use char because int might match the return type of a GCC
15770 builtin and then its argument prototype would still apply. */
15771 char OSMesaGetProcAddress ();
15775 return OSMesaGetProcAddress ();
15780 if ac_fn_c_try_link
"$LINENO"
15783 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15784 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'` ;;
15785 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15786 if ${ac_cv_lib_soname_OSMesa:+false} :
15788 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15792 ac_cv_lib_soname_OSMesa
=
15794 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15795 conftest
$ac_exeext conftest.
$ac_ext
15796 LIBS
=$ac_check_soname_save_LIBS
15798 if ${ac_cv_lib_soname_OSMesa:+false} :
15800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15801 printf "%s\n" "not found" >&6; }
15804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15805 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15807 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15811 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15813 case "x$with_osmesa" in
15814 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15816 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15817 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15823 if test -n "$opengl_msg"
15825 case "x$with_opengl" in
15826 x
) as_fn_append wine_warnings
"|$opengl_msg
15827 OpenGL and Direct3D won't be supported." ;;
15829 *) as_fn_error $?
"$opengl_msg
15830 OpenGL and Direct3D won't be supported.
15831 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15836 CPPFLAGS
="$ac_save_CPPFLAGS"
15842 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15844 if test "x$X_LIBS" = "x"
15848 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
15849 without X support, which probably isn't what you want. You will need
15850 to install ${notice_platform}development packages of Xlib at the very least.
15851 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15853 enable_winex11_drv
=${enable_winex11_drv:-no}
15856 if test "x$X_LIBS" = "x"
15859 x
) as_fn_append wine_notices
"|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15861 *) as_fn_error $?
"X ${notice_platform}development files not found, the X11 driver won't be supported.
15862 This is an error since --with-x was requested." "$LINENO" 5 ;;
15864 enable_winex11_drv
=${enable_winex11_drv:-no}
15868 if test "$ac_cv_header_CL_cl_h" = "yes"
15870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15871 printf %s
"checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15872 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15874 printf %s
"(cached) " >&6
15876 ac_check_lib_save_LIBS
=$LIBS
15877 LIBS
="-lOpenCL $LIBS"
15878 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15879 /* end confdefs.h. */
15881 /* Override any GCC internal prototype to avoid an error.
15882 Use char because int might match the return type of a GCC
15883 builtin and then its argument prototype would still apply. */
15884 char clGetPlatformInfo ();
15888 return clGetPlatformInfo ();
15893 if ac_fn_c_try_link
"$LINENO"
15895 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
15897 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
15899 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15900 conftest
$ac_exeext conftest.
$ac_ext
15901 LIBS
=$ac_check_lib_save_LIBS
15903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15904 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15905 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15907 OPENCL_LIBS
="-lOpenCL"
15912 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15914 case "x$with_opencl" in
15915 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15917 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15918 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15920 enable_opencl
=${enable_opencl:-no}
15923 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
15926 printf %s
"checking for pcap_create in -lpcap... " >&6; }
15927 if test ${ac_cv_lib_pcap_pcap_create+y}
15929 printf %s
"(cached) " >&6
15931 ac_check_lib_save_LIBS
=$LIBS
15932 LIBS
="-lpcap $LIBS"
15933 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15934 /* end confdefs.h. */
15936 /* Override any GCC internal prototype to avoid an error.
15937 Use char because int might match the return type of a GCC
15938 builtin and then its argument prototype would still apply. */
15939 char pcap_create ();
15943 return pcap_create ();
15948 if ac_fn_c_try_link
"$LINENO"
15950 ac_cv_lib_pcap_pcap_create
=yes
15952 ac_cv_lib_pcap_pcap_create
=no
15954 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15955 conftest
$ac_exeext conftest.
$ac_ext
15956 LIBS
=$ac_check_lib_save_LIBS
15958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
15959 printf "%s\n" "$ac_cv_lib_pcap_pcap_create" >&6; }
15960 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
15967 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
15969 case "x$with_pcap" in
15970 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15972 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
15973 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15975 enable_wpcap
=${enable_wpcap:-no}
15978 if test "x$with_inotify" != "xno"
15980 if ${INOTIFY_CFLAGS:+false} :
15982 if test ${PKG_CONFIG+y}
15984 INOTIFY_CFLAGS
=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
15988 if ${INOTIFY_LIBS:+false} :
15990 if test ${PKG_CONFIG+y}
15992 INOTIFY_LIBS
=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15997 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15998 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15999 ac_save_CPPFLAGS
=$CPPFLAGS
16000 CPPFLAGS
="$CPPFLAGS $INOTIFY_CFLAGS"
16001 ac_fn_c_check_header_compile
"$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
16002 if test "x$ac_cv_header_sys_inotify_h" = xyes
16004 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
16008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
16009 printf %s
"checking for inotify_add_watch in -linotify... " >&6; }
16010 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
16012 printf %s
"(cached) " >&6
16014 ac_check_lib_save_LIBS
=$LIBS
16015 LIBS
="-linotify $INOTIFY_LIBS $LIBS"
16016 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16017 /* end confdefs.h. */
16019 /* Override any GCC internal prototype to avoid an error.
16020 Use char because int might match the return type of a GCC
16021 builtin and then its argument prototype would still apply. */
16022 char inotify_add_watch ();
16026 return inotify_add_watch ();
16031 if ac_fn_c_try_link
"$LINENO"
16033 ac_cv_lib_inotify_inotify_add_watch
=yes
16035 ac_cv_lib_inotify_inotify_add_watch
=no
16037 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16038 conftest
$ac_exeext conftest.
$ac_ext
16039 LIBS
=$ac_check_lib_save_LIBS
16041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
16042 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
16043 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
16050 CPPFLAGS
=$ac_save_CPPFLAGS
16053 if test "$ac_cv_header_sys_inotify_h" != "yes"
16055 case "x$with_inotify" in
16056 x
) as_fn_append wine_notices
"|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
16058 *) as_fn_error $?
"libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
16059 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
16064 if test "x$with_dbus" != "xno"
16066 if ${DBUS_CFLAGS:+false} :
16068 if test ${PKG_CONFIG+y}
16070 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
16074 if ${DBUS_LIBS:+false} :
16076 if test ${PKG_CONFIG+y}
16078 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
16083 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
16084 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
16085 ac_save_CPPFLAGS
=$CPPFLAGS
16086 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
16087 ac_fn_c_check_header_compile
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
16088 if test "x$ac_cv_header_dbus_dbus_h" = xyes
16090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
16091 printf %s
"checking for -ldbus-1... " >&6; }
16092 if test ${ac_cv_lib_soname_dbus_1+y}
16094 printf %s
"(cached) " >&6
16096 ac_check_soname_save_LIBS
=$LIBS
16097 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
16098 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16099 /* end confdefs.h. */
16101 /* Override any GCC internal prototype to avoid an error.
16102 Use char because int might match the return type of a GCC
16103 builtin and then its argument prototype would still apply. */
16104 char dbus_connection_close ();
16108 return dbus_connection_close ();
16113 if ac_fn_c_try_link
"$LINENO"
16116 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16117 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'` ;;
16118 *) 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'`
16119 if ${ac_cv_lib_soname_dbus_1:+false} :
16121 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16125 ac_cv_lib_soname_dbus_1
=
16127 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16128 conftest
$ac_exeext conftest.
$ac_ext
16129 LIBS
=$ac_check_soname_save_LIBS
16131 if ${ac_cv_lib_soname_dbus_1:+false} :
16133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16134 printf "%s\n" "not found" >&6; }
16137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16138 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16140 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16148 CPPFLAGS
=$ac_save_CPPFLAGS
16151 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
16152 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"
16154 case "x$with_dbus" in
16155 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16157 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
16158 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16163 if test "x$with_gnutls" != "xno"
16165 if ${GNUTLS_CFLAGS:+false} :
16167 if test ${PKG_CONFIG+y}
16169 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
16173 if ${GNUTLS_LIBS:+false} :
16175 if test ${PKG_CONFIG+y}
16177 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16181 GNUTLS_LIBS
=${GNUTLS_LIBS:-"-lgnutls"}
16182 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16183 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16184 ac_save_CPPFLAGS
=$CPPFLAGS
16185 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
16186 ac_fn_c_check_header_compile
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16187 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16189 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16190 /* end confdefs.h. */
16191 #include <gnutls/gnutls.h>
16192 #include <gnutls/crypto.h>
16196 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16201 if ac_fn_c_try_compile
"$LINENO"
16203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16204 printf %s
"checking for -lgnutls... " >&6; }
16205 if test ${ac_cv_lib_soname_gnutls+y}
16207 printf %s
"(cached) " >&6
16209 ac_check_soname_save_LIBS
=$LIBS
16210 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
16211 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16212 /* end confdefs.h. */
16214 /* Override any GCC internal prototype to avoid an error.
16215 Use char because int might match the return type of a GCC
16216 builtin and then its argument prototype would still apply. */
16217 char gnutls_global_init ();
16221 return gnutls_global_init ();
16226 if ac_fn_c_try_link
"$LINENO"
16229 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16230 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'` ;;
16231 *) 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'`
16232 if ${ac_cv_lib_soname_gnutls:+false} :
16234 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'`
16238 ac_cv_lib_soname_gnutls
=
16240 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16241 conftest
$ac_exeext conftest.
$ac_ext
16242 LIBS
=$ac_check_soname_save_LIBS
16244 if ${ac_cv_lib_soname_gnutls:+false} :
16246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16247 printf "%s\n" "not found" >&6; }
16250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16251 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16253 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16257 ac_wine_check_funcs_save_LIBS
="$LIBS"
16258 LIBS
="$LIBS $GNUTLS_LIBS"
16260 for ac_func
in gnutls_cipher_init
16262 ac_fn_c_check_func
"$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16263 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16265 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16268 as_fn_append wine_notices
"|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16272 LIBS
="$ac_wine_check_funcs_save_LIBS"
16274 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16279 CPPFLAGS
=$ac_save_CPPFLAGS
16282 if test "x$ac_cv_lib_soname_gnutls" = "x"
16284 case "x$with_gnutls" in
16285 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16287 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
16288 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16293 if test "x$with_sane" != "xno"
16295 if ${SANE_CFLAGS:+false} :
16297 if test ${PKG_CONFIG+y}
16299 SANE_CFLAGS
=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
16302 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16303 if ${SANE_LIBS:+false} :
16305 if test ${PKG_CONFIG+y}
16307 SANE_LIBS
=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16310 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16312 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16313 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16314 ac_save_CPPFLAGS
=$CPPFLAGS
16315 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
16316 ac_fn_c_check_header_compile
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16317 if test "x$ac_cv_header_sane_sane_h" = xyes
16319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16320 printf %s
"checking for sane_init in -lsane... " >&6; }
16321 if test ${ac_cv_lib_sane_sane_init+y}
16323 printf %s
"(cached) " >&6
16325 ac_check_lib_save_LIBS
=$LIBS
16326 LIBS
="-lsane $SANE_LIBS $LIBS"
16327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16328 /* end confdefs.h. */
16330 /* Override any GCC internal prototype to avoid an error.
16331 Use char because int might match the return type of a GCC
16332 builtin and then its argument prototype would still apply. */
16337 return sane_init ();
16342 if ac_fn_c_try_link
"$LINENO"
16344 ac_cv_lib_sane_sane_init
=yes
16346 ac_cv_lib_sane_sane_init
=no
16348 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16349 conftest
$ac_exeext conftest.
$ac_ext
16350 LIBS
=$ac_check_lib_save_LIBS
16352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16353 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16354 if test "x$ac_cv_lib_sane_sane_init" = xyes
16361 CPPFLAGS
=$ac_save_CPPFLAGS
16364 if test "$ac_cv_lib_sane_sane_init" != "yes"
16366 case "x$with_sane" in
16367 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16369 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
16370 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16372 enable_sane_ds
=${enable_sane_ds:-no}
16375 if test "x$with_usb" != "xno"
16377 if ${USB_CFLAGS:+false} :
16379 if test ${PKG_CONFIG+y}
16381 USB_CFLAGS
=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
16385 if ${USB_LIBS:+false} :
16387 if test ${PKG_CONFIG+y}
16389 USB_LIBS
=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16393 USB_LIBS
=${USB_LIBS:-"-lusb-1.0"}
16394 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16395 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16396 ac_save_CPPFLAGS
=$CPPFLAGS
16397 CPPFLAGS
="$CPPFLAGS $USB_CFLAGS"
16398 ac_fn_c_check_header_compile
"$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16399 if test "x$ac_cv_header_libusb_h" = xyes
16401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16402 printf %s
"checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16403 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16405 printf %s
"(cached) " >&6
16407 ac_check_lib_save_LIBS
=$LIBS
16408 LIBS
="-lusb-1.0 $USB_LIBS $LIBS"
16409 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16410 /* end confdefs.h. */
16412 /* Override any GCC internal prototype to avoid an error.
16413 Use char because int might match the return type of a GCC
16414 builtin and then its argument prototype would still apply. */
16415 char libusb_interrupt_event_handler ();
16419 return libusb_interrupt_event_handler ();
16424 if ac_fn_c_try_link
"$LINENO"
16426 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler
=yes
16428 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler
=no
16430 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16431 conftest
$ac_exeext conftest.
$ac_ext
16432 LIBS
=$ac_check_lib_save_LIBS
16434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16435 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16436 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16447 CPPFLAGS
=$ac_save_CPPFLAGS
16450 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16452 case "x$with_usb" in
16453 x
) as_fn_append wine_notices
"|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16455 *) as_fn_error $?
"libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16456 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16458 enable_wineusb_sys
=${enable_wineusb_sys:-no}
16461 if test "x$with_v4l2" != "xno"
16463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16464 printf %s
"checking for -lv4l2... " >&6; }
16465 if test ${ac_cv_lib_soname_v4l2+y}
16467 printf %s
"(cached) " >&6
16469 ac_check_soname_save_LIBS
=$LIBS
16470 LIBS
="-lv4l2 $LIBS"
16471 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16472 /* end confdefs.h. */
16474 /* Override any GCC internal prototype to avoid an error.
16475 Use char because int might match the return type of a GCC
16476 builtin and then its argument prototype would still apply. */
16481 return v4l2_open ();
16486 if ac_fn_c_try_link
"$LINENO"
16489 dll
) ac_cv_lib_soname_v4l2
=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16490 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'` ;;
16491 *) ac_cv_lib_soname_v4l2
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16492 if ${ac_cv_lib_soname_v4l2:+false} :
16494 ac_cv_lib_soname_v4l2
=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16498 ac_cv_lib_soname_v4l2
=
16500 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16501 conftest
$ac_exeext conftest.
$ac_ext
16502 LIBS
=$ac_check_soname_save_LIBS
16504 if ${ac_cv_lib_soname_v4l2:+false} :
16506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16507 printf "%s\n" "not found" >&6; }
16510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16511 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16513 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16518 if test "x$ac_cv_lib_soname_v4l2" = "x"
16520 case "x$with_v4l2" in
16521 x
) as_fn_append wine_notices
"|libv4l2 ${notice_platform}development files not found." ;;
16523 *) as_fn_error $?
"libv4l2 ${notice_platform}development files not found.
16524 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16529 if test "x$with_gphoto" != "xno"
16531 if ${GPHOTO2_CFLAGS:+false} :
16533 if test ${PKG_CONFIG+y}
16535 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
16538 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16539 if ${GPHOTO2_LIBS:+false} :
16541 if test ${PKG_CONFIG+y}
16543 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16546 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16547 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
16548 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16549 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16550 ac_save_CPPFLAGS
=$CPPFLAGS
16551 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
16552 ac_fn_c_check_header_compile
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16553 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16556 printf %s
"checking for gp_camera_new in -lgphoto2... " >&6; }
16557 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16559 printf %s
"(cached) " >&6
16561 ac_check_lib_save_LIBS
=$LIBS
16562 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16563 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16564 /* end confdefs.h. */
16566 /* Override any GCC internal prototype to avoid an error.
16567 Use char because int might match the return type of a GCC
16568 builtin and then its argument prototype would still apply. */
16569 char gp_camera_new ();
16573 return gp_camera_new ();
16578 if ac_fn_c_try_link
"$LINENO"
16580 ac_cv_lib_gphoto2_gp_camera_new
=yes
16582 ac_cv_lib_gphoto2_gp_camera_new
=no
16584 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16585 conftest
$ac_exeext conftest.
$ac_ext
16586 LIBS
=$ac_check_lib_save_LIBS
16588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16589 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16590 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16597 CPPFLAGS
=$ac_save_CPPFLAGS
16599 if ${GPHOTO2_PORT_CFLAGS:+false} :
16601 if test ${PKG_CONFIG+y}
16603 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
16606 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16607 if ${GPHOTO2_PORT_LIBS:+false} :
16609 if test ${PKG_CONFIG+y}
16611 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16614 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16615 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16616 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16617 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16618 ac_save_CPPFLAGS
=$CPPFLAGS
16619 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16620 ac_fn_c_check_header_compile
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16621 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16624 printf %s
"checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16625 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16627 printf %s
"(cached) " >&6
16629 ac_check_lib_save_LIBS
=$LIBS
16630 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16631 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16632 /* end confdefs.h. */
16634 /* Override any GCC internal prototype to avoid an error.
16635 Use char because int might match the return type of a GCC
16636 builtin and then its argument prototype would still apply. */
16637 char gp_port_info_list_new ();
16641 return gp_port_info_list_new ();
16646 if ac_fn_c_try_link
"$LINENO"
16648 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
16650 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
16652 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16653 conftest
$ac_exeext conftest.
$ac_ext
16654 LIBS
=$ac_check_lib_save_LIBS
16656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16657 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16658 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16661 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16664 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
16668 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
16671 CPPFLAGS
=$ac_save_CPPFLAGS
16674 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16676 case "x$with_gphoto" in
16677 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16679 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16680 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16682 enable_gphoto2_ds
=${enable_gphoto2_ds:-no}
16684 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16686 case "x$with_gphoto" in
16687 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16689 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16690 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16696 if test "$ac_cv_header_resolv_h" = "yes"
16698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16699 printf %s
"checking for resolver library... " >&6; }
16700 if test ${ac_cv_have_resolv+y}
16702 printf %s
"(cached) " >&6
16704 ac_save_LIBS
="$LIBS"
16705 for lib
in '' -lresolv
16707 LIBS
="$lib $ac_save_LIBS"
16708 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16709 /* end confdefs.h. */
16710 #ifdef HAVE_NETINET_IN_H
16711 #include <netinet/in.h>
16713 #include <resolv.h>
16717 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16722 if ac_fn_c_try_link
"$LINENO"
16724 ac_cv_have_resolv
=${lib:-"none required"}
16726 ac_cv_have_resolv
="not found"
16728 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16729 conftest
$ac_exeext conftest.
$ac_ext
16730 test "x$ac_cv_have_resolv" = "xnot found" ||
break
16732 LIBS
="$ac_save_LIBS"
16734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16735 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16737 case "$ac_cv_have_resolv" in
16741 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16744 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16746 RESOLV_LIBS
=$ac_cv_have_resolv
16750 if test "x$ac_cv_have_resolv" != "xnot found"
16752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16753 printf %s
"checking for res_getservers... " >&6; }
16754 if test ${ac_cv_have_res_getservers+y}
16756 printf %s
"(cached) " >&6
16758 ac_save_LIBS
="$LIBS"
16759 LIBS
="$RESOLV_LIBS $LIBS"
16760 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16761 /* end confdefs.h. */
16762 #include <resolv.h>
16766 res_getservers(NULL, NULL, 0);
16771 if ac_fn_c_try_link
"$LINENO"
16773 ac_cv_have_res_getservers
=yes
16775 ac_cv_have_res_getservers
=no
16777 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16778 conftest
$ac_exeext conftest.
$ac_ext
16779 LIBS
="$ac_save_LIBS"
16781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16782 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16783 if test "$ac_cv_have_res_getservers" = "yes"
16786 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16792 if test "x$with_freetype" != "xno"
16794 if ${FREETYPE_CFLAGS:+false} :
16796 if test ${PKG_CONFIG+y}
16798 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
16801 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16802 if ${FREETYPE_LIBS:+false} :
16804 if test ${PKG_CONFIG+y}
16806 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16809 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16810 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
16811 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16812 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16813 ac_save_CPPFLAGS
=$CPPFLAGS
16814 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
16815 ac_fn_c_check_header_compile
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16816 if test "x$ac_cv_header_ft2build_h" = xyes
16818 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16822 if test "$ac_cv_header_ft2build_h" = "yes"
16824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16825 printf %s
"checking for -lfreetype... " >&6; }
16826 if test ${ac_cv_lib_soname_freetype+y}
16828 printf %s
"(cached) " >&6
16830 ac_check_soname_save_LIBS
=$LIBS
16831 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
16832 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16833 /* end confdefs.h. */
16835 /* Override any GCC internal prototype to avoid an error.
16836 Use char because int might match the return type of a GCC
16837 builtin and then its argument prototype would still apply. */
16838 char FT_Init_FreeType ();
16842 return FT_Init_FreeType ();
16847 if ac_fn_c_try_link
"$LINENO"
16850 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16851 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'` ;;
16852 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16853 if ${ac_cv_lib_soname_freetype:+false} :
16855 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16859 ac_cv_lib_soname_freetype
=
16861 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16862 conftest
$ac_exeext conftest.
$ac_ext
16863 LIBS
=$ac_check_soname_save_LIBS
16865 if ${ac_cv_lib_soname_freetype:+false} :
16867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16868 printf "%s\n" "not found" >&6; }
16871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16872 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16874 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16877 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16879 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16880 #include FT_MODULE_H
16882 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16885 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16895 CPPFLAGS
=$ac_save_CPPFLAGS
16898 if test "x$ac_cv_lib_soname_freetype" = x
16900 case "x$with_freetype" in
16902 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
16903 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16905 enable_fonts
=${enable_fonts:-no}
16908 ac_wine_check_funcs_save_LIBS
="$LIBS"
16909 LIBS
="$LIBS $PTHREAD_LIBS"
16910 ac_fn_c_check_func
"$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16911 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16913 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16917 LIBS
="$ac_wine_check_funcs_save_LIBS"
16919 if test "x$enable_tools" != xno
-a "x$with_gettextpo" = xyes
16921 if test "$ac_cv_header_gettext_po_h" = "yes"
16923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16924 printf %s
"checking for po_message_msgctxt in -lgettextpo... " >&6; }
16925 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16927 printf %s
"(cached) " >&6
16929 ac_check_lib_save_LIBS
=$LIBS
16930 LIBS
="-lgettextpo $LIBS"
16931 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16932 /* end confdefs.h. */
16934 /* Override any GCC internal prototype to avoid an error.
16935 Use char because int might match the return type of a GCC
16936 builtin and then its argument prototype would still apply. */
16937 char po_message_msgctxt ();
16941 return po_message_msgctxt ();
16946 if ac_fn_c_try_link
"$LINENO"
16948 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
16950 ac_cv_lib_gettextpo_po_message_msgctxt
=no
16952 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16953 conftest
$ac_exeext conftest.
$ac_ext
16954 LIBS
=$ac_check_lib_save_LIBS
16956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16957 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16958 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16961 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16963 GETTEXTPO_LIBS
="-lgettextpo"
16968 if test "x$GETTEXTPO_LIBS" = "x"
16970 case "x$with_gettextpo" in
16971 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16973 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16974 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16978 if test "$srcdir" != .
16980 case "x$with_gettextpo" in
16981 x
) as_fn_append wine_notices
"|Rebuilding po files is not supported for out of tree builds." ;;
16983 *) as_fn_error $?
"Rebuilding po files is not supported for out of tree builds.
16984 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16990 if test "x$with_pulse" != "xno";
16992 if ${PULSE_CFLAGS:+false} :
16994 if test ${PKG_CONFIG+y}
16996 PULSE_CFLAGS
=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
17000 if ${PULSE_LIBS:+false} :
17002 if test ${PKG_CONFIG+y}
17004 PULSE_LIBS
=`$PKG_CONFIG --libs libpulse 2>/dev/null`
17009 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
17010 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
17011 ac_save_CPPFLAGS
=$CPPFLAGS
17012 CPPFLAGS
="$CPPFLAGS $PULSE_CFLAGS"
17013 for ac_header
in pulse
/pulseaudio.h
17015 ac_fn_c_check_header_compile
"$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
17016 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
17018 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
17019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
17020 printf %s
"checking for pa_stream_is_corked in -lpulse... " >&6; }
17021 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
17023 printf %s
"(cached) " >&6
17025 ac_check_lib_save_LIBS
=$LIBS
17026 LIBS
="-lpulse $PULSE_LIBS $LIBS"
17027 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17028 /* end confdefs.h. */
17030 /* Override any GCC internal prototype to avoid an error.
17031 Use char because int might match the return type of a GCC
17032 builtin and then its argument prototype would still apply. */
17033 char pa_stream_is_corked ();
17037 return pa_stream_is_corked ();
17042 if ac_fn_c_try_link
"$LINENO"
17044 ac_cv_lib_pulse_pa_stream_is_corked
=yes
17046 ac_cv_lib_pulse_pa_stream_is_corked
=no
17048 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17049 conftest
$ac_exeext conftest.
$ac_ext
17050 LIBS
=$ac_check_lib_save_LIBS
17052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
17053 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
17054 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
17066 CPPFLAGS
=$ac_save_CPPFLAGS
17069 if test -z "$PULSE_LIBS"
17071 case "x$with_pulse" in
17072 x
) as_fn_append wine_notices
"|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
17074 *) as_fn_error $?
"libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
17075 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
17077 enable_winepulse_drv
=${enable_winepulse_drv:-no}
17080 if test "x$with_gstreamer" != "xno"
17082 if ${GSTREAMER_CFLAGS:+false} :
17084 if test ${PKG_CONFIG+y}
17086 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
17090 if ${GSTREAMER_LIBS:+false} :
17092 if test ${PKG_CONFIG+y}
17094 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
17099 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
17100 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
17101 ac_save_CPPFLAGS
=$CPPFLAGS
17102 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
17103 ac_fn_c_check_header_compile
"$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
17104 if test "x$ac_cv_header_gst_gst_h" = xyes
17106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
17107 printf %s
"checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
17108 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17109 /* end confdefs.h. */
17110 #include <gst/gst.h>
17114 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17119 if ac_fn_c_try_compile
"$LINENO"
17121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17122 printf "%s\n" "yes" >&6; }
17123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17124 printf %s
"checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17125 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17127 printf %s
"(cached) " >&6
17129 ac_check_lib_save_LIBS
=$LIBS
17130 LIBS
="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17131 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17132 /* end confdefs.h. */
17134 /* Override any GCC internal prototype to avoid an error.
17135 Use char because int might match the return type of a GCC
17136 builtin and then its argument prototype would still apply. */
17137 char gst_pad_new ();
17141 return gst_pad_new ();
17146 if ac_fn_c_try_link
"$LINENO"
17148 ac_cv_lib_gstreamer_1_0_gst_pad_new
=yes
17150 ac_cv_lib_gstreamer_1_0_gst_pad_new
=no
17152 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17153 conftest
$ac_exeext conftest.
$ac_ext
17154 LIBS
=$ac_check_lib_save_LIBS
17156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17157 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17158 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17165 printf "%s\n" "no" >&6; }
17166 ac_glib2_broken
=yes
17167 as_fn_append wine_notices
"|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17169 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17172 CPPFLAGS
=$ac_save_CPPFLAGS
17175 if test "x$ac_glib2_broken" != xyes
-a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17177 case "x$with_gstreamer" in
17178 x
) as_fn_append wine_notices
"|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17180 *) as_fn_error $?
"gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17181 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17183 enable_winegstreamer
=${enable_winegstreamer:-no}
17188 if test "x$with_alsa" != "xno"
17190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17191 printf %s
"checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17192 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17194 printf %s
"(cached) " >&6
17196 ac_check_lib_save_LIBS
=$LIBS
17197 LIBS
="-lasound $LIBS"
17198 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17199 /* end confdefs.h. */
17201 /* Override any GCC internal prototype to avoid an error.
17202 Use char because int might match the return type of a GCC
17203 builtin and then its argument prototype would still apply. */
17204 char snd_pcm_hw_params_get_access_mask ();
17208 return snd_pcm_hw_params_get_access_mask ();
17213 if ac_fn_c_try_link
"$LINENO"
17215 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
17217 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
17219 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17220 conftest
$ac_exeext conftest.
$ac_ext
17221 LIBS
=$ac_check_lib_save_LIBS
17223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17224 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17225 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17227 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17228 /* end confdefs.h. */
17229 #include <alsa/asoundlib.h>
17233 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17238 if ac_fn_c_try_compile
"$LINENO"
17240 ALSA_LIBS
="-lasound"
17242 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17246 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
17248 if test "x$with_oss" != xno
17250 ac_save_CPPFLAGS
="$CPPFLAGS"
17251 if test -f /etc
/oss.conf
17255 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17256 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
17257 ac_fn_c_check_header_compile
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17258 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17260 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17262 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17265 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17267 OSS4_CFLAGS
="$ac_oss_incl"
17269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17270 printf %s
"checking for _oss_ioctl in -lossaudio... " >&6; }
17271 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17273 printf %s
"(cached) " >&6
17275 ac_check_lib_save_LIBS
=$LIBS
17276 LIBS
="-lossaudio $LIBS"
17277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17278 /* end confdefs.h. */
17280 /* Override any GCC internal prototype to avoid an error.
17281 Use char because int might match the return type of a GCC
17282 builtin and then its argument prototype would still apply. */
17283 char _oss_ioctl ();
17287 return _oss_ioctl ();
17292 if ac_fn_c_try_link
"$LINENO"
17294 ac_cv_lib_ossaudio__oss_ioctl
=yes
17296 ac_cv_lib_ossaudio__oss_ioctl
=no
17298 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17299 conftest
$ac_exeext conftest.
$ac_ext
17300 LIBS
=$ac_check_lib_save_LIBS
17302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17303 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17304 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17306 OSS4_LIBS
="-lossaudio"
17314 CPPFLAGS
="$ac_save_CPPFLAGS"
17316 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17318 case "x$with_oss" in
17319 x
) as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17321 *) as_fn_error $?
"OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17322 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17324 enable_wineoss_drv
=${enable_wineoss_drv:-no}
17327 if test "x$with_udev" != "xno"
17329 if ${UDEV_CFLAGS:+false} :
17331 if test ${PKG_CONFIG+y}
17333 UDEV_CFLAGS
=`$PKG_CONFIG --cflags libudev 2>/dev/null`
17337 if ${UDEV_LIBS:+false} :
17339 if test ${PKG_CONFIG+y}
17341 UDEV_LIBS
=`$PKG_CONFIG --libs libudev 2>/dev/null`
17345 UDEV_LIBS
=${UDEV_LIBS:-"-ludev"}
17346 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17347 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17348 ac_save_CPPFLAGS
=$CPPFLAGS
17349 CPPFLAGS
="$CPPFLAGS $UDEV_CFLAGS"
17350 for ac_header
in libudev.h
17352 ac_fn_c_check_header_compile
"$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17353 if test "x$ac_cv_header_libudev_h" = xyes
17355 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17357 printf %s
"checking for udev_new in -ludev... " >&6; }
17358 if test ${ac_cv_lib_udev_udev_new+y}
17360 printf %s
"(cached) " >&6
17362 ac_check_lib_save_LIBS
=$LIBS
17363 LIBS
="-ludev $UDEV_LIBS $LIBS"
17364 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17365 /* end confdefs.h. */
17367 /* Override any GCC internal prototype to avoid an error.
17368 Use char because int might match the return type of a GCC
17369 builtin and then its argument prototype would still apply. */
17374 return udev_new ();
17379 if ac_fn_c_try_link
"$LINENO"
17381 ac_cv_lib_udev_udev_new
=yes
17383 ac_cv_lib_udev_udev_new
=no
17385 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17386 conftest
$ac_exeext conftest.
$ac_ext
17387 LIBS
=$ac_check_lib_save_LIBS
17389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17390 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17391 if test "x$ac_cv_lib_udev_udev_new" = xyes
17394 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17405 CPPFLAGS
=$ac_save_CPPFLAGS
17408 if test "x$UDEV_LIBS" = "x"
17410 case "x$with_udev" in
17411 x
) as_fn_append wine_notices
"|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17413 *) as_fn_error $?
"libudev ${notice_platform}development files not found, plug and play won't be supported.
17414 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17419 if test "x$with_unwind" != xno
17421 if ${UNWIND_CFLAGS:+false} :
17423 if test ${PKG_CONFIG+y}
17425 UNWIND_CFLAGS
=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
17429 if ${UNWIND_LIBS:+false} :
17431 if test ${PKG_CONFIG+y}
17433 UNWIND_LIBS
=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17437 UNWIND_LIBS
=${UNWIND_LIBS:-"-lunwind"}
17438 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17439 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17440 ac_save_CPPFLAGS
=$CPPFLAGS
17441 CPPFLAGS
="$CPPFLAGS $UNWIND_CFLAGS"
17442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17443 printf %s
"checking for unw_step... " >&6; }
17444 if test ${wine_cv_have_unw_step+y}
17446 printf %s
"(cached) " >&6
17448 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17449 /* end confdefs.h. */
17450 #define UNW_LOCAL_ONLY
17451 #include <libunwind.h>
17455 unw_cursor_t cursor; unw_step( &cursor );
17460 if ac_fn_c_try_link
"$LINENO"
17462 wine_cv_have_unw_step
="yes"
17464 wine_cv_have_unw_step
="no"
17466 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17467 conftest
$ac_exeext conftest.
$ac_ext
17469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17470 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17471 if test "$wine_cv_have_unw_step" = no
-a -n "$UNWIND_LIBS"
17474 UNWIND_LIBS
="-static-libgcc $UNWIND_LIBS"
17475 LIBS
="$UNWIND_LIBS $LIBS"
17476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17477 printf %s
"checking for unw_step in libunwind... " >&6; }
17478 if test ${wine_cv_have_libunwind_unw_step+y}
17480 printf %s
"(cached) " >&6
17482 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17483 /* end confdefs.h. */
17484 #define UNW_LOCAL_ONLY
17485 #include <libunwind.h>
17489 unw_cursor_t cursor; unw_step( &cursor );
17494 if ac_fn_c_try_link
"$LINENO"
17496 wine_cv_have_libunwind_unw_step
="yes"
17498 wine_cv_have_libunwind_unw_step
="no"
17500 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17501 conftest
$ac_exeext conftest.
$ac_ext
17503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17504 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17507 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS
=""
17508 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17511 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17514 CPPFLAGS
=$ac_save_CPPFLAGS
17518 aarch64
*|
*-darwin*)
17519 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17521 case "x$with_unwind" in
17522 x
) as_fn_append wine_notices
"|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17524 *) as_fn_error $?
"libunwind ${notice_platform}development files not found, stack unwinding won't work.
17525 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17531 if test "x$with_sdl" != "xno"
17533 if ${SDL2_CFLAGS:+false} :
17535 if test ${PKG_CONFIG+y}
17537 SDL2_CFLAGS
=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
17541 if ${SDL2_LIBS:+false} :
17543 if test ${PKG_CONFIG+y}
17545 SDL2_LIBS
=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17549 SDL2_LIBS
=${SDL2_LIBS:-"-lSDL2"}
17550 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17551 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17552 ac_save_CPPFLAGS
=$CPPFLAGS
17553 CPPFLAGS
="$CPPFLAGS $SDL2_CFLAGS"
17554 for ac_header
in SDL.h
17556 ac_fn_c_check_header_compile
"$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17557 if test "x$ac_cv_header_SDL_h" = xyes
17559 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17561 printf %s
"checking for -lSDL2... " >&6; }
17562 if test ${ac_cv_lib_soname_SDL2+y}
17564 printf %s
"(cached) " >&6
17566 ac_check_soname_save_LIBS
=$LIBS
17567 LIBS
="-lSDL2 $SDL2_LIBS $LIBS"
17568 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17569 /* end confdefs.h. */
17571 /* Override any GCC internal prototype to avoid an error.
17572 Use char because int might match the return type of a GCC
17573 builtin and then its argument prototype would still apply. */
17578 return SDL_Init ();
17583 if ac_fn_c_try_link
"$LINENO"
17586 dll
) ac_cv_lib_soname_SDL2
=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17587 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'` ;;
17588 *) 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'`
17589 if ${ac_cv_lib_soname_SDL2:+false} :
17591 ac_cv_lib_soname_SDL2
=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17595 ac_cv_lib_soname_SDL2
=
17597 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17598 conftest
$ac_exeext conftest.
$ac_ext
17599 LIBS
=$ac_check_soname_save_LIBS
17601 if ${ac_cv_lib_soname_SDL2:+false} :
17603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17604 printf "%s\n" "not found" >&6; }
17607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17608 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17610 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17617 CPPFLAGS
=$ac_save_CPPFLAGS
17620 if test "x$ac_cv_lib_soname_SDL2" = "x"
17622 case "x$with_sdl" in
17623 x
) as_fn_append wine_notices
"|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17625 *) as_fn_error $?
"libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17626 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17631 if test "x$with_capi" != "xno"
17633 if ${CAPI20_CFLAGS:+false} :
17635 if test ${PKG_CONFIG+y}
17637 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
17641 if ${CAPI20_LIBS:+false} :
17643 if test ${PKG_CONFIG+y}
17645 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
17650 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17651 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17652 ac_save_CPPFLAGS
=$CPPFLAGS
17653 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
17654 ac_fn_c_check_header_compile
"$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17656 if test "x$ac_cv_header_capi20_h" = xyes
17658 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17661 ac_fn_c_check_header_compile
"$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17663 if test "x$ac_cv_header_linux_capi_h" = xyes
17665 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17669 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17672 printf %s
"checking for capi20_register in -lcapi20... " >&6; }
17673 if test ${ac_cv_lib_capi20_capi20_register+y}
17675 printf %s
"(cached) " >&6
17677 ac_check_lib_save_LIBS
=$LIBS
17678 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
17679 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17680 /* end confdefs.h. */
17682 /* Override any GCC internal prototype to avoid an error.
17683 Use char because int might match the return type of a GCC
17684 builtin and then its argument prototype would still apply. */
17685 char capi20_register ();
17689 return capi20_register ();
17694 if ac_fn_c_try_link
"$LINENO"
17696 ac_cv_lib_capi20_capi20_register
=yes
17698 ac_cv_lib_capi20_capi20_register
=no
17700 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17701 conftest
$ac_exeext conftest.
$ac_ext
17702 LIBS
=$ac_check_lib_save_LIBS
17704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17705 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17706 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17714 CPPFLAGS
=$ac_save_CPPFLAGS
17717 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17719 case "x$with_capi" in
17720 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17722 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17723 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17725 enable_capi2032
=${enable_capi2032:-no}
17728 if test "x$with_cups" != "xno"
17730 if ${CUPS_CFLAGS:+false} :
17732 if test ${PKG_CONFIG+y}
17734 CUPS_CFLAGS
=`$PKG_CONFIG --cflags cups 2>/dev/null`
17737 test "$cross_compiling" = yes || CUPS_CFLAGS
=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17738 if ${CUPS_LIBS:+false} :
17740 if test ${PKG_CONFIG+y}
17742 CUPS_LIBS
=`$PKG_CONFIG --libs cups 2>/dev/null`
17745 test "$cross_compiling" = yes || CUPS_LIBS
=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17746 CUPS_LIBS
=${CUPS_LIBS:-"-lcups"}
17747 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17748 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17749 ac_save_CPPFLAGS
=$CPPFLAGS
17750 CPPFLAGS
="$CPPFLAGS $CUPS_CFLAGS"
17751 ac_fn_c_check_header_compile
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17752 if test "x$ac_cv_header_cups_cups_h" = xyes
17754 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17757 ac_fn_c_check_header_compile
"$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17758 if test "x$ac_cv_header_cups_ppd_h" = xyes
17760 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17764 if test "$ac_cv_header_cups_cups_h" = "yes"
17766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17767 printf %s
"checking for -lcups... " >&6; }
17768 if test ${ac_cv_lib_soname_cups+y}
17770 printf %s
"(cached) " >&6
17772 ac_check_soname_save_LIBS
=$LIBS
17773 LIBS
="-lcups $CUPS_LIBS $LIBS"
17774 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17775 /* end confdefs.h. */
17777 /* Override any GCC internal prototype to avoid an error.
17778 Use char because int might match the return type of a GCC
17779 builtin and then its argument prototype would still apply. */
17780 char cupsGetDefault ();
17784 return cupsGetDefault ();
17789 if ac_fn_c_try_link
"$LINENO"
17792 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17793 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'` ;;
17794 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17795 if ${ac_cv_lib_soname_cups:+false} :
17797 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17801 ac_cv_lib_soname_cups
=
17803 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17804 conftest
$ac_exeext conftest.
$ac_ext
17805 LIBS
=$ac_check_soname_save_LIBS
17807 if ${ac_cv_lib_soname_cups:+false} :
17809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17810 printf "%s\n" "not found" >&6; }
17813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17814 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17816 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17824 CPPFLAGS
=$ac_save_CPPFLAGS
17827 if test "x$ac_cv_lib_soname_cups" = "x"
17829 case "x$with_cups" in
17830 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17832 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
17833 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17838 if test "x$with_fontconfig" != "xno"
17840 if ${FONTCONFIG_CFLAGS:+false} :
17842 if test ${PKG_CONFIG+y}
17844 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
17847 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17848 if ${FONTCONFIG_LIBS:+false} :
17850 if test ${PKG_CONFIG+y}
17852 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17855 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
17857 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17858 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17859 ac_save_CPPFLAGS
=$CPPFLAGS
17860 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
17861 ac_fn_c_check_header_compile
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17862 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17864 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17868 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17871 printf %s
"checking for -lfontconfig... " >&6; }
17872 if test ${ac_cv_lib_soname_fontconfig+y}
17874 printf %s
"(cached) " >&6
17876 ac_check_soname_save_LIBS
=$LIBS
17877 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17878 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17879 /* end confdefs.h. */
17881 /* Override any GCC internal prototype to avoid an error.
17882 Use char because int might match the return type of a GCC
17883 builtin and then its argument prototype would still apply. */
17893 if ac_fn_c_try_link
"$LINENO"
17896 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17897 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'` ;;
17898 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17899 if ${ac_cv_lib_soname_fontconfig:+false} :
17901 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17905 ac_cv_lib_soname_fontconfig
=
17907 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17908 conftest
$ac_exeext conftest.
$ac_ext
17909 LIBS
=$ac_check_soname_save_LIBS
17911 if ${ac_cv_lib_soname_fontconfig:+false} :
17913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17914 printf "%s\n" "not found" >&6; }
17915 FONTCONFIG_CFLAGS
=""
17917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17918 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17920 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17925 FONTCONFIG_CFLAGS
=""
17927 CPPFLAGS
=$ac_save_CPPFLAGS
17930 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17932 case "x$with_fontconfig" in
17933 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17935 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17936 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17941 if test "x$with_krb5" != "xno"
17943 if ${KRB5_CFLAGS:+false} :
17945 if test ${PKG_CONFIG+y}
17947 KRB5_CFLAGS
=`$PKG_CONFIG --cflags krb5 2>/dev/null`
17950 test "$cross_compiling" = yes || KRB5_CFLAGS
=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17951 if ${KRB5_LIBS:+false} :
17953 if test ${PKG_CONFIG+y}
17955 KRB5_LIBS
=`$PKG_CONFIG --libs krb5 2>/dev/null`
17958 test "$cross_compiling" = yes || KRB5_LIBS
=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17960 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17961 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17962 ac_save_CPPFLAGS
=$CPPFLAGS
17963 CPPFLAGS
="$CPPFLAGS $KRB5_CFLAGS"
17964 ac_fn_c_check_header_compile
"$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17965 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17967 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17971 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17974 printf %s
"checking for -lkrb5... " >&6; }
17975 if test ${ac_cv_lib_soname_krb5+y}
17977 printf %s
"(cached) " >&6
17979 ac_check_soname_save_LIBS
=$LIBS
17980 LIBS
="-lkrb5 $KRB5_LIBS $LIBS"
17981 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17982 /* end confdefs.h. */
17984 /* Override any GCC internal prototype to avoid an error.
17985 Use char because int might match the return type of a GCC
17986 builtin and then its argument prototype would still apply. */
17987 char krb5_is_config_principal ();
17991 return krb5_is_config_principal ();
17996 if ac_fn_c_try_link
"$LINENO"
17999 dll
) ac_cv_lib_soname_krb5
=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18000 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'` ;;
18001 *) ac_cv_lib_soname_krb5
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18002 if ${ac_cv_lib_soname_krb5:+false} :
18004 ac_cv_lib_soname_krb5
=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18008 ac_cv_lib_soname_krb5
=
18010 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18011 conftest
$ac_exeext conftest.
$ac_ext
18012 LIBS
=$ac_check_soname_save_LIBS
18014 if ${ac_cv_lib_soname_krb5:+false} :
18016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18017 printf "%s\n" "not found" >&6; }
18020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
18021 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
18023 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
18030 CPPFLAGS
=$ac_save_CPPFLAGS
18033 if test "x$ac_cv_lib_soname_krb5" = "x"
18035 case "x$with_krb5" in
18036 x
) as_fn_append wine_notices
"|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
18038 *) as_fn_error $?
"libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
18039 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
18043 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi
=${with_gssapi:-no}
18045 if test "x$with_gssapi" != "xno"
18047 if ${GSSAPI_CFLAGS:+false} :
18049 if test ${PKG_CONFIG+y}
18051 GSSAPI_CFLAGS
=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
18054 test "$cross_compiling" = yes || GSSAPI_CFLAGS
=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
18055 if ${GSSAPI_LIBS:+false} :
18057 if test ${PKG_CONFIG+y}
18059 GSSAPI_LIBS
=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
18062 test "$cross_compiling" = yes || GSSAPI_LIBS
=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
18064 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
18065 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
18066 ac_save_CPPFLAGS
=$CPPFLAGS
18067 CPPFLAGS
="$CPPFLAGS $GSSAPI_CFLAGS"
18068 ac_fn_c_check_header_compile
"$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
18069 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
18071 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
18074 ac_fn_c_check_header_compile
"$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
18075 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
18077 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
18081 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
18083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
18084 printf %s
"checking for -lgssapi_krb5... " >&6; }
18085 if test ${ac_cv_lib_soname_gssapi_krb5+y}
18087 printf %s
"(cached) " >&6
18089 ac_check_soname_save_LIBS
=$LIBS
18090 LIBS
="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
18091 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18092 /* end confdefs.h. */
18094 /* Override any GCC internal prototype to avoid an error.
18095 Use char because int might match the return type of a GCC
18096 builtin and then its argument prototype would still apply. */
18097 char gss_init_sec_context ();
18101 return gss_init_sec_context ();
18106 if ac_fn_c_try_link
"$LINENO"
18109 dll
) ac_cv_lib_soname_gssapi_krb5
=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18110 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'` ;;
18111 *) 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'`
18112 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18114 ac_cv_lib_soname_gssapi_krb5
=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18118 ac_cv_lib_soname_gssapi_krb5
=
18120 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18121 conftest
$ac_exeext conftest.
$ac_ext
18122 LIBS
=$ac_check_soname_save_LIBS
18124 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18127 printf "%s\n" "not found" >&6; }
18130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18131 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18133 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18140 CPPFLAGS
=$ac_save_CPPFLAGS
18143 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18145 case "x$with_gssapi" in
18146 x
) as_fn_append wine_notices
"|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18148 *) as_fn_error $?
"libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18149 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18154 if test "$ac_cv_header_libprocstat_h" = "yes"
18156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18157 printf %s
"checking for procstat_open_sysctl in -lprocstat... " >&6; }
18158 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18160 printf %s
"(cached) " >&6
18162 ac_check_lib_save_LIBS
=$LIBS
18163 LIBS
="-lprocstat $LIBS"
18164 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18165 /* end confdefs.h. */
18167 /* Override any GCC internal prototype to avoid an error.
18168 Use char because int might match the return type of a GCC
18169 builtin and then its argument prototype would still apply. */
18170 char procstat_open_sysctl ();
18174 return procstat_open_sysctl ();
18179 if ac_fn_c_try_link
"$LINENO"
18181 ac_cv_lib_procstat_procstat_open_sysctl
=yes
18183 ac_cv_lib_procstat_procstat_open_sysctl
=no
18185 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18186 conftest
$ac_exeext conftest.
$ac_ext
18187 LIBS
=$ac_check_lib_save_LIBS
18189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18190 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18191 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18194 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18196 PROCSTAT_LIBS
="-lprocstat"
18202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18203 printf %s
"checking for -lodbc... " >&6; }
18204 if test ${ac_cv_lib_soname_odbc+y}
18206 printf %s
"(cached) " >&6
18208 ac_check_soname_save_LIBS
=$LIBS
18209 LIBS
="-lodbc $LIBS"
18210 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18211 /* end confdefs.h. */
18213 /* Override any GCC internal prototype to avoid an error.
18214 Use char because int might match the return type of a GCC
18215 builtin and then its argument prototype would still apply. */
18216 char SQLConnect ();
18220 return SQLConnect ();
18225 if ac_fn_c_try_link
"$LINENO"
18228 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18229 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'` ;;
18230 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18231 if ${ac_cv_lib_soname_odbc:+false} :
18233 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18237 ac_cv_lib_soname_odbc
=
18239 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18240 conftest
$ac_exeext conftest.
$ac_ext
18241 LIBS
=$ac_check_soname_save_LIBS
18243 if ${ac_cv_lib_soname_odbc:+false} :
18245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18246 printf "%s\n" "not found" >&6; }
18247 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18251 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18253 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18258 if test "x$with_netapi" != "xno"
18260 if ${NETAPI_CFLAGS:+false} :
18262 if test ${PKG_CONFIG+y}
18264 NETAPI_CFLAGS
=`$PKG_CONFIG --cflags netapi 2>/dev/null`
18268 if ${NETAPI_LIBS:+false} :
18270 if test ${PKG_CONFIG+y}
18272 NETAPI_LIBS
=`$PKG_CONFIG --libs netapi 2>/dev/null`
18277 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18278 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18279 ac_save_CPPFLAGS
=$CPPFLAGS
18280 CPPFLAGS
="$CPPFLAGS $NETAPI_CFLAGS"
18281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18282 printf %s
"checking for -lnetapi... " >&6; }
18283 if test ${ac_cv_lib_soname_netapi+y}
18285 printf %s
"(cached) " >&6
18287 ac_check_soname_save_LIBS
=$LIBS
18288 LIBS
="-lnetapi $NETAPI_LIBS $LIBS"
18289 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18290 /* end confdefs.h. */
18292 /* Override any GCC internal prototype to avoid an error.
18293 Use char because int might match the return type of a GCC
18294 builtin and then its argument prototype would still apply. */
18295 char libnetapi_init ();
18299 return libnetapi_init ();
18304 if ac_fn_c_try_link
"$LINENO"
18307 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18308 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'` ;;
18309 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18310 if ${ac_cv_lib_soname_netapi:+false} :
18312 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18316 ac_cv_lib_soname_netapi
=
18318 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18319 conftest
$ac_exeext conftest.
$ac_ext
18320 LIBS
=$ac_check_soname_save_LIBS
18322 if ${ac_cv_lib_soname_netapi:+false} :
18324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18325 printf "%s\n" "not found" >&6; }
18326 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18330 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18332 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18336 CPPFLAGS
=$ac_save_CPPFLAGS
18339 if test "x$ac_cv_lib_soname_netapi" = "x"
18341 case "x$with_netapi" in
18342 x
) as_fn_append wine_notices
"|libnetapi not found, Samba NetAPI won't be supported." ;;
18344 *) as_fn_error $?
"libnetapi not found, Samba NetAPI won't be supported.
18345 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18347 enable_netapi
=${enable_netapi:-no}
18351 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono
-a \
18352 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18354 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
18357 if test "x$with_vulkan" != "xno"
18359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18360 printf %s
"checking for -lvulkan... " >&6; }
18361 if test ${ac_cv_lib_soname_vulkan+y}
18363 printf %s
"(cached) " >&6
18365 ac_check_soname_save_LIBS
=$LIBS
18366 LIBS
="-lvulkan $LIBS"
18367 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18368 /* end confdefs.h. */
18370 /* Override any GCC internal prototype to avoid an error.
18371 Use char because int might match the return type of a GCC
18372 builtin and then its argument prototype would still apply. */
18373 char vkGetInstanceProcAddr ();
18377 return vkGetInstanceProcAddr ();
18382 if ac_fn_c_try_link
"$LINENO"
18385 dll
) ac_cv_lib_soname_vulkan
=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18386 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'` ;;
18387 *) ac_cv_lib_soname_vulkan
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18388 if ${ac_cv_lib_soname_vulkan:+false} :
18390 ac_cv_lib_soname_vulkan
=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18394 ac_cv_lib_soname_vulkan
=
18396 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18397 conftest
$ac_exeext conftest.
$ac_ext
18398 LIBS
=$ac_check_soname_save_LIBS
18400 if ${ac_cv_lib_soname_vulkan:+false} :
18402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18403 printf "%s\n" "not found" >&6; }
18406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18407 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18409 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18413 if test "x$ac_cv_lib_soname_vulkan" = "x"
18415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18416 printf %s
"checking for -lMoltenVK... " >&6; }
18417 if test ${ac_cv_lib_soname_MoltenVK+y}
18419 printf %s
"(cached) " >&6
18421 ac_check_soname_save_LIBS
=$LIBS
18422 LIBS
="-lMoltenVK $LIBS"
18423 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18424 /* end confdefs.h. */
18426 /* Override any GCC internal prototype to avoid an error.
18427 Use char because int might match the return type of a GCC
18428 builtin and then its argument prototype would still apply. */
18429 char vkGetInstanceProcAddr ();
18433 return vkGetInstanceProcAddr ();
18438 if ac_fn_c_try_link
"$LINENO"
18441 dll
) ac_cv_lib_soname_MoltenVK
=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18442 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'` ;;
18443 *) ac_cv_lib_soname_MoltenVK
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18444 if ${ac_cv_lib_soname_MoltenVK:+false} :
18446 ac_cv_lib_soname_MoltenVK
=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18450 ac_cv_lib_soname_MoltenVK
=
18452 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18453 conftest
$ac_exeext conftest.
$ac_ext
18454 LIBS
=$ac_check_soname_save_LIBS
18456 if ${ac_cv_lib_soname_MoltenVK:+false} :
18458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18459 printf "%s\n" "not found" >&6; }
18462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18463 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18465 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18471 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18473 case "x$with_vulkan" in
18474 x
) as_fn_append wine_notices
"|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18476 *) as_fn_error $?
"libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18477 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18483 if test "x${GCC}" = "xyes"
18485 EXTRACFLAGS
="$EXTRACFLAGS -Wall -pipe"
18487 saved_CFLAGS
=$CFLAGS
18488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18489 printf %s
"checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18490 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18492 printf %s
"(cached) " >&6
18494 ac_wine_try_cflags_saved
=$CFLAGS
18495 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
18496 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18497 /* end confdefs.h. */
18498 int main(int argc, char **argv) { return 0; }
18500 if ac_fn_c_try_link
"$LINENO"
18502 ac_cv_cflags__Werror_unknown_warning_option
=yes
18504 ac_cv_cflags__Werror_unknown_warning_option
=no
18506 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18507 conftest
$ac_exeext conftest.
$ac_ext
18508 CFLAGS
=$ac_wine_try_cflags_saved
18510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18511 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18512 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18514 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
18516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18517 printf %s
"checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18518 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18520 printf %s
"(cached) " >&6
18522 ac_wine_try_cflags_saved
=$CFLAGS
18523 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
18524 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18525 /* end confdefs.h. */
18526 int main(int argc, char **argv) { return 0; }
18528 if ac_fn_c_try_link
"$LINENO"
18530 ac_cv_cflags__Werror_unused_command_line_argument
=yes
18532 ac_cv_cflags__Werror_unused_command_line_argument
=no
18534 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18535 conftest
$ac_exeext conftest.
$ac_ext
18536 CFLAGS
=$ac_wine_try_cflags_saved
18538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18539 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18540 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18542 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
18544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18545 printf %s
"checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18546 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18548 printf %s
"(cached) " >&6
18550 ac_wine_try_cflags_saved
=$CFLAGS
18551 CFLAGS
="$CFLAGS -Werror=ignored-optimization-argument"
18552 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18553 /* end confdefs.h. */
18554 int main(int argc, char **argv) { return 0; }
18556 if ac_fn_c_try_link
"$LINENO"
18558 ac_cv_cflags__Werror_ignored_optimization_argument
=yes
18560 ac_cv_cflags__Werror_ignored_optimization_argument
=no
18562 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18563 conftest
$ac_exeext conftest.
$ac_ext
18564 CFLAGS
=$ac_wine_try_cflags_saved
18566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18567 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18568 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18570 CFLAGS
="$CFLAGS -Werror=ignored-optimization-argument"
18572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18573 printf %s
"checking whether the compiler supports -fcf-protection=none... " >&6; }
18574 if test ${ac_cv_cflags__fcf_protection_none+y}
18576 printf %s
"(cached) " >&6
18578 ac_wine_try_cflags_saved
=$CFLAGS
18579 CFLAGS
="$CFLAGS -fcf-protection=none"
18580 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18581 /* end confdefs.h. */
18582 int main(int argc, char **argv) { return 0; }
18584 if ac_fn_c_try_link
"$LINENO"
18586 ac_cv_cflags__fcf_protection_none
=yes
18588 ac_cv_cflags__fcf_protection_none
=no
18590 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18591 conftest
$ac_exeext conftest.
$ac_ext
18592 CFLAGS
=$ac_wine_try_cflags_saved
18594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18595 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18596 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18598 EXTRACFLAGS
="$EXTRACFLAGS -fcf-protection=none"
18600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18601 printf %s
"checking whether the compiler supports -fno-stack-protector... " >&6; }
18602 if test ${ac_cv_cflags__fno_stack_protector+y}
18604 printf %s
"(cached) " >&6
18606 ac_wine_try_cflags_saved
=$CFLAGS
18607 CFLAGS
="$CFLAGS -fno-stack-protector"
18608 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18609 /* end confdefs.h. */
18610 int main(int argc, char **argv) { return 0; }
18612 if ac_fn_c_try_link
"$LINENO"
18614 ac_cv_cflags__fno_stack_protector
=yes
18616 ac_cv_cflags__fno_stack_protector
=no
18618 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18619 conftest
$ac_exeext conftest.
$ac_ext
18620 CFLAGS
=$ac_wine_try_cflags_saved
18622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18623 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18624 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18626 EXTRACFLAGS
="$EXTRACFLAGS -fno-stack-protector"
18628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18629 printf %s
"checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18630 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18632 printf %s
"(cached) " >&6
18634 ac_wine_try_cflags_saved
=$CFLAGS
18635 CFLAGS
="$CFLAGS -fno-strict-aliasing"
18636 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18637 /* end confdefs.h. */
18638 int main(int argc, char **argv) { return 0; }
18640 if ac_fn_c_try_link
"$LINENO"
18642 ac_cv_cflags__fno_strict_aliasing
=yes
18644 ac_cv_cflags__fno_strict_aliasing
=no
18646 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18647 conftest
$ac_exeext conftest.
$ac_ext
18648 CFLAGS
=$ac_wine_try_cflags_saved
18650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18651 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18652 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18654 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
18656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18657 printf %s
"checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18658 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18660 printf %s
"(cached) " >&6
18662 ac_wine_try_cflags_saved
=$CFLAGS
18663 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
18664 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18665 /* end confdefs.h. */
18666 int main(int argc, char **argv) { return 0; }
18668 if ac_fn_c_try_link
"$LINENO"
18670 ac_cv_cflags__Wdeclaration_after_statement
=yes
18672 ac_cv_cflags__Wdeclaration_after_statement
=no
18674 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18675 conftest
$ac_exeext conftest.
$ac_ext
18676 CFLAGS
=$ac_wine_try_cflags_saved
18678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18679 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18680 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18682 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
18684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18685 printf %s
"checking whether the compiler supports -Wempty-body... " >&6; }
18686 if test ${ac_cv_cflags__Wempty_body+y}
18688 printf %s
"(cached) " >&6
18690 ac_wine_try_cflags_saved
=$CFLAGS
18691 CFLAGS
="$CFLAGS -Wempty-body"
18692 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18693 /* end confdefs.h. */
18694 int main(int argc, char **argv) { return 0; }
18696 if ac_fn_c_try_link
"$LINENO"
18698 ac_cv_cflags__Wempty_body
=yes
18700 ac_cv_cflags__Wempty_body
=no
18702 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18703 conftest
$ac_exeext conftest.
$ac_ext
18704 CFLAGS
=$ac_wine_try_cflags_saved
18706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18707 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18708 if test "x$ac_cv_cflags__Wempty_body" = xyes
18710 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
18712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18713 printf %s
"checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18714 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18716 printf %s
"(cached) " >&6
18718 ac_wine_try_cflags_saved
=$CFLAGS
18719 CFLAGS
="$CFLAGS -Wignored-qualifiers"
18720 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18721 /* end confdefs.h. */
18722 int main(int argc, char **argv) { return 0; }
18724 if ac_fn_c_try_link
"$LINENO"
18726 ac_cv_cflags__Wignored_qualifiers
=yes
18728 ac_cv_cflags__Wignored_qualifiers
=no
18730 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18731 conftest
$ac_exeext conftest.
$ac_ext
18732 CFLAGS
=$ac_wine_try_cflags_saved
18734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18735 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18736 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18738 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
18740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18741 printf %s
"checking whether the compiler supports -Winit-self... " >&6; }
18742 if test ${ac_cv_cflags__Winit_self+y}
18744 printf %s
"(cached) " >&6
18746 ac_wine_try_cflags_saved
=$CFLAGS
18747 CFLAGS
="$CFLAGS -Winit-self"
18748 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18749 /* end confdefs.h. */
18750 int main(int argc, char **argv) { return 0; }
18752 if ac_fn_c_try_link
"$LINENO"
18754 ac_cv_cflags__Winit_self
=yes
18756 ac_cv_cflags__Winit_self
=no
18758 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18759 conftest
$ac_exeext conftest.
$ac_ext
18760 CFLAGS
=$ac_wine_try_cflags_saved
18762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18763 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18764 if test "x$ac_cv_cflags__Winit_self" = xyes
18766 EXTRACFLAGS
="$EXTRACFLAGS -Winit-self"
18768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18769 printf %s
"checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18770 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18772 printf %s
"(cached) " >&6
18774 ac_wine_try_cflags_saved
=$CFLAGS
18775 CFLAGS
="$CFLAGS -Wpacked-not-aligned"
18776 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18777 /* end confdefs.h. */
18778 int main(int argc, char **argv) { return 0; }
18780 if ac_fn_c_try_link
"$LINENO"
18782 ac_cv_cflags__Wpacked_not_aligned
=yes
18784 ac_cv_cflags__Wpacked_not_aligned
=no
18786 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18787 conftest
$ac_exeext conftest.
$ac_ext
18788 CFLAGS
=$ac_wine_try_cflags_saved
18790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18791 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18792 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18794 EXTRACFLAGS
="$EXTRACFLAGS -Wno-packed-not-aligned"
18796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18797 printf %s
"checking whether the compiler supports -Wpragma-pack... " >&6; }
18798 if test ${ac_cv_cflags__Wpragma_pack+y}
18800 printf %s
"(cached) " >&6
18802 ac_wine_try_cflags_saved
=$CFLAGS
18803 CFLAGS
="$CFLAGS -Wpragma-pack"
18804 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18805 /* end confdefs.h. */
18806 int main(int argc, char **argv) { return 0; }
18808 if ac_fn_c_try_link
"$LINENO"
18810 ac_cv_cflags__Wpragma_pack
=yes
18812 ac_cv_cflags__Wpragma_pack
=no
18814 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18815 conftest
$ac_exeext conftest.
$ac_ext
18816 CFLAGS
=$ac_wine_try_cflags_saved
18818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18819 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18820 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18822 EXTRACFLAGS
="$EXTRACFLAGS -Wno-pragma-pack"
18824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18825 printf %s
"checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18826 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18828 printf %s
"(cached) " >&6
18830 ac_wine_try_cflags_saved
=$CFLAGS
18831 CFLAGS
="$CFLAGS -Wshift-overflow=2"
18832 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18833 /* end confdefs.h. */
18834 int main(int argc, char **argv) { return 0; }
18836 if ac_fn_c_try_link
"$LINENO"
18838 ac_cv_cflags__Wshift_overflow_2
=yes
18840 ac_cv_cflags__Wshift_overflow_2
=no
18842 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18843 conftest
$ac_exeext conftest.
$ac_ext
18844 CFLAGS
=$ac_wine_try_cflags_saved
18846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18847 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18848 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18850 EXTRACFLAGS
="$EXTRACFLAGS -Wshift-overflow=2"
18852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18853 printf %s
"checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18854 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18856 printf %s
"(cached) " >&6
18858 ac_wine_try_cflags_saved
=$CFLAGS
18859 CFLAGS
="$CFLAGS -Wstrict-prototypes"
18860 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18861 /* end confdefs.h. */
18862 int main(int argc, char **argv) { return 0; }
18864 if ac_fn_c_try_link
"$LINENO"
18866 ac_cv_cflags__Wstrict_prototypes
=yes
18868 ac_cv_cflags__Wstrict_prototypes
=no
18870 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18871 conftest
$ac_exeext conftest.
$ac_ext
18872 CFLAGS
=$ac_wine_try_cflags_saved
18874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18875 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18876 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18878 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
18880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18881 printf %s
"checking whether the compiler supports -Wtype-limits... " >&6; }
18882 if test ${ac_cv_cflags__Wtype_limits+y}
18884 printf %s
"(cached) " >&6
18886 ac_wine_try_cflags_saved
=$CFLAGS
18887 CFLAGS
="$CFLAGS -Wtype-limits"
18888 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18889 /* end confdefs.h. */
18890 int main(int argc, char **argv) { return 0; }
18892 if ac_fn_c_try_link
"$LINENO"
18894 ac_cv_cflags__Wtype_limits
=yes
18896 ac_cv_cflags__Wtype_limits
=no
18898 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18899 conftest
$ac_exeext conftest.
$ac_ext
18900 CFLAGS
=$ac_wine_try_cflags_saved
18902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18903 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18904 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18906 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
18908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18909 printf %s
"checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18910 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18912 printf %s
"(cached) " >&6
18914 ac_wine_try_cflags_saved
=$CFLAGS
18915 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
18916 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18917 /* end confdefs.h. */
18918 int main(int argc, char **argv) { return 0; }
18920 if ac_fn_c_try_link
"$LINENO"
18922 ac_cv_cflags__Wunused_but_set_parameter
=yes
18924 ac_cv_cflags__Wunused_but_set_parameter
=no
18926 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18927 conftest
$ac_exeext conftest.
$ac_ext
18928 CFLAGS
=$ac_wine_try_cflags_saved
18930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
18931 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
18932 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
18934 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
18936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
18937 printf %s
"checking whether the compiler supports -Wvla... " >&6; }
18938 if test ${ac_cv_cflags__Wvla+y}
18940 printf %s
"(cached) " >&6
18942 ac_wine_try_cflags_saved
=$CFLAGS
18943 CFLAGS
="$CFLAGS -Wvla"
18944 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18945 /* end confdefs.h. */
18946 int main(int argc, char **argv) { return 0; }
18948 if ac_fn_c_try_link
"$LINENO"
18950 ac_cv_cflags__Wvla
=yes
18952 ac_cv_cflags__Wvla
=no
18954 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18955 conftest
$ac_exeext conftest.
$ac_ext
18956 CFLAGS
=$ac_wine_try_cflags_saved
18958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
18959 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
18960 if test "x$ac_cv_cflags__Wvla" = xyes
18962 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
18964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
18965 printf %s
"checking whether the compiler supports -Wwrite-strings... " >&6; }
18966 if test ${ac_cv_cflags__Wwrite_strings+y}
18968 printf %s
"(cached) " >&6
18970 ac_wine_try_cflags_saved
=$CFLAGS
18971 CFLAGS
="$CFLAGS -Wwrite-strings"
18972 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18973 /* end confdefs.h. */
18974 int main(int argc, char **argv) { return 0; }
18976 if ac_fn_c_try_link
"$LINENO"
18978 ac_cv_cflags__Wwrite_strings
=yes
18980 ac_cv_cflags__Wwrite_strings
=no
18982 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18983 conftest
$ac_exeext conftest.
$ac_ext
18984 CFLAGS
=$ac_wine_try_cflags_saved
18986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
18987 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
18988 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
18990 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
18993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
18994 printf %s
"checking whether the compiler supports -Wpointer-arith... " >&6; }
18995 if test ${ac_cv_cflags__Wpointer_arith+y}
18997 printf %s
"(cached) " >&6
18999 ac_wine_try_cflags_saved
=$CFLAGS
19000 CFLAGS
="$CFLAGS -Wpointer-arith"
19001 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19002 /* end confdefs.h. */
19003 int main(int argc, char **argv) { return 0; }
19005 if ac_fn_c_try_link
"$LINENO"
19007 ac_cv_cflags__Wpointer_arith
=yes
19009 ac_cv_cflags__Wpointer_arith
=no
19011 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19012 conftest
$ac_exeext conftest.
$ac_ext
19013 CFLAGS
=$ac_wine_try_cflags_saved
19015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
19016 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19017 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19019 saved_string_h_CFLAGS
=$CFLAGS
19020 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
19021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19022 printf %s
"checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19023 if test ${ac_cv_c_string_h_warnings+y}
19025 printf %s
"(cached) " >&6
19027 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19028 /* end confdefs.h. */
19029 #include <string.h>
19038 if ac_fn_c_try_compile
"$LINENO"
19040 ac_cv_c_string_h_warnings
=no
19042 ac_cv_c_string_h_warnings
=yes
19044 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19047 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19048 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
19049 CFLAGS
=$saved_string_h_CFLAGS
19052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19053 printf %s
"checking whether the compiler supports -Wlogical-op... " >&6; }
19054 if test ${ac_cv_cflags__Wlogical_op+y}
19056 printf %s
"(cached) " >&6
19058 ac_wine_try_cflags_saved
=$CFLAGS
19059 CFLAGS
="$CFLAGS -Wlogical-op"
19060 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19061 /* end confdefs.h. */
19062 int main(int argc, char **argv) { return 0; }
19064 if ac_fn_c_try_link
"$LINENO"
19066 ac_cv_cflags__Wlogical_op
=yes
19068 ac_cv_cflags__Wlogical_op
=no
19070 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19071 conftest
$ac_exeext conftest.
$ac_ext
19072 CFLAGS
=$ac_wine_try_cflags_saved
19074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19075 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19076 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19078 saved_string_h_CFLAGS
=$CFLAGS
19079 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
19080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19081 printf %s
"checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19082 if test ${ac_cv_c_logicalop_noisy+y}
19084 printf %s
"(cached) " >&6
19086 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19087 /* end confdefs.h. */
19088 #include <string.h>
19089 char*f(const char *h,char n) {return strchr(h,n);}
19098 if ac_fn_c_try_compile
"$LINENO"
19100 ac_cv_c_logicalop_noisy
=no
19102 ac_cv_c_logicalop_noisy
=yes
19104 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19107 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19108 CFLAGS
=$saved_string_h_CFLAGS
19109 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
19112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19113 printf %s
"checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19114 if test ${wine_cv_64bit_compare_swap+y}
19116 printf %s
"(cached) " >&6
19118 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19119 /* end confdefs.h. */
19120 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19131 if ac_fn_c_try_compile
"$LINENO"
19133 wine_cv_64bit_compare_swap
="none needed"
19136 *i
[3456]86*) wine_cv_64bit_compare_swap
="-march=i586" ;;
19137 *arm
*) wine_cv_64bit_compare_swap
="-march=armv7-a" ;;
19138 *) wine_cv_64bit_compare_swap
="unknown" ;;
19140 if test "x$wine_cv_64bit_compare_swap" != xunknown
19142 CFLAGS
="$CFLAGS $wine_cv_64bit_compare_swap"
19143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19144 /* end confdefs.h. */
19145 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19156 if ac_fn_c_try_compile
"$LINENO"
19160 wine_cv_64bit_compare_swap
="unknown"
19162 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19163 CFLAGS
=$saved_CFLAGS
19166 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19169 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19170 case "$wine_cv_64bit_compare_swap" in
19171 unknown
) as_fn_error $?
"gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19173 *) EXTRACFLAGS
="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19176 ac_debug_format_seen
=""
19177 for ac_flag
in $CFLAGS; do
19179 -gdwarf*) ac_debug_format_seen
=yes ;;
19180 -g) ac_debug_format_seen
=${ac_debug_format_seen:-default} ;;
19183 if test "x$ac_debug_format_seen" = xdefault
19185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19186 printf %s
"checking whether the compiler supports -gdwarf-4... " >&6; }
19187 if test ${ac_cv_cflags__gdwarf_4+y}
19189 printf %s
"(cached) " >&6
19191 ac_wine_try_cflags_saved
=$CFLAGS
19192 CFLAGS
="$CFLAGS -gdwarf-4"
19193 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19194 /* end confdefs.h. */
19195 int main(int argc, char **argv) { return 0; }
19197 if ac_fn_c_try_link
"$LINENO"
19199 ac_cv_cflags__gdwarf_4
=yes
19201 ac_cv_cflags__gdwarf_4
=no
19203 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19204 conftest
$ac_exeext conftest.
$ac_ext
19205 CFLAGS
=$ac_wine_try_cflags_saved
19207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19208 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19209 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19211 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-4"
19218 mingw32
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19219 printf %s
"checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19220 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19222 printf %s
"(cached) " >&6
19224 ac_wine_try_cflags_saved
=$CFLAGS
19225 CFLAGS
="$CFLAGS -Wl,-delayload,autoconftest.dll"
19226 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19227 /* end confdefs.h. */
19228 int main(int argc, char **argv) { return 0; }
19230 if ac_fn_c_try_link
"$LINENO"
19232 ac_cv_cflags__Wl__delayload_autoconftest_dll
=yes
19234 ac_cv_cflags__Wl__delayload_autoconftest_dll
=no
19236 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19237 conftest
$ac_exeext conftest.
$ac_ext
19238 CFLAGS
=$ac_wine_try_cflags_saved
19240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19241 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19242 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19244 DELAYLOADFLAG
="-Wl,-delayload,"
19247 *) MSVCRTFLAGS
="-D_WIN32"
19248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19249 printf %s
"checking whether the compiler supports -fno-builtin... " >&6; }
19250 if test ${ac_cv_cflags__fno_builtin+y}
19252 printf %s
"(cached) " >&6
19254 ac_wine_try_cflags_saved
=$CFLAGS
19255 CFLAGS
="$CFLAGS -fno-builtin"
19256 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19257 /* end confdefs.h. */
19258 int main(int argc, char **argv) { return 0; }
19260 if ac_fn_c_try_link
"$LINENO"
19262 ac_cv_cflags__fno_builtin
=yes
19264 ac_cv_cflags__fno_builtin
=no
19266 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19267 conftest
$ac_exeext conftest.
$ac_ext
19268 CFLAGS
=$ac_wine_try_cflags_saved
19270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19271 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19272 if test "x$ac_cv_cflags__fno_builtin" = xyes
19274 MSVCRTFLAGS
="$MSVCRTFLAGS -fno-builtin"
19276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19277 printf %s
"checking whether the compiler supports -fshort-wchar... " >&6; }
19278 if test ${ac_cv_cflags__fshort_wchar+y}
19280 printf %s
"(cached) " >&6
19282 ac_wine_try_cflags_saved
=$CFLAGS
19283 CFLAGS
="$CFLAGS -fshort-wchar"
19284 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19285 /* end confdefs.h. */
19286 int main(int argc, char **argv) { return 0; }
19288 if ac_fn_c_try_link
"$LINENO"
19290 ac_cv_cflags__fshort_wchar
=yes
19292 ac_cv_cflags__fshort_wchar
=no
19294 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19295 conftest
$ac_exeext conftest.
$ac_ext
19296 CFLAGS
=$ac_wine_try_cflags_saved
19298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19299 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19300 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19302 MSVCRTFLAGS
="$MSVCRTFLAGS -fshort-wchar"
19304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19305 printf %s
"checking whether the compiler supports -Wno-format... " >&6; }
19306 if test ${ac_cv_cflags__Wno_format+y}
19308 printf %s
"(cached) " >&6
19310 ac_wine_try_cflags_saved
=$CFLAGS
19311 CFLAGS
="$CFLAGS -Wno-format"
19312 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19313 /* end confdefs.h. */
19314 int main(int argc, char **argv) { return 0; }
19316 if ac_fn_c_try_link
"$LINENO"
19318 ac_cv_cflags__Wno_format
=yes
19320 ac_cv_cflags__Wno_format
=no
19322 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19323 conftest
$ac_exeext conftest.
$ac_ext
19324 CFLAGS
=$ac_wine_try_cflags_saved
19326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19327 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19328 if test "x$ac_cv_cflags__Wno_format" = xyes
19330 MSVCRTFLAGS
="$MSVCRTFLAGS -Wno-format"
19335 *i
[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19336 printf %s
"checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19337 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19339 printf %s
"(cached) " >&6
19341 ac_wine_try_cflags_saved
=$CFLAGS
19342 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
19343 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19344 /* end confdefs.h. */
19345 int main(int argc, char **argv) { return 0; }
19347 if ac_fn_c_try_link
"$LINENO"
19349 ac_cv_cflags__fno_omit_frame_pointer
=yes
19351 ac_cv_cflags__fno_omit_frame_pointer
=no
19353 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19354 conftest
$ac_exeext conftest.
$ac_ext
19355 CFLAGS
=$ac_wine_try_cflags_saved
19357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19358 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19359 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19361 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
19365 cygwin
*|mingw32
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19366 printf %s
"checking whether the compiler supports -Wno-format... " >&6; }
19367 if test ${ac_cv_cflags__Wno_format+y}
19369 printf %s
"(cached) " >&6
19371 ac_wine_try_cflags_saved
=$CFLAGS
19372 CFLAGS
="$CFLAGS -Wno-format"
19373 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19374 /* end confdefs.h. */
19375 int main(int argc, char **argv) { return 0; }
19377 if ac_fn_c_try_link
"$LINENO"
19379 ac_cv_cflags__Wno_format
=yes
19381 ac_cv_cflags__Wno_format
=no
19383 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19384 conftest
$ac_exeext conftest.
$ac_ext
19385 CFLAGS
=$ac_wine_try_cflags_saved
19387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19388 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19389 if test "x$ac_cv_cflags__Wno_format" = xyes
19391 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
19393 *) if test -z "$PE_ARCHS"
19395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19396 printf %s
"checking for working -mabi=ms... " >&6; }
19397 if test ${ac_cv_mabi_ms+y}
19399 printf %s
"(cached) " >&6
19401 CFLAGS
="$CFLAGS -mabi=ms"
19402 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19403 /* end confdefs.h. */
19404 #include <stdarg.h>
19405 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19414 if ac_fn_c_try_compile
"$LINENO"
19420 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19421 CFLAGS
=$saved_CFLAGS
19423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19424 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19425 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
19427 MSVCRTFLAGS
="$MSVCRTFLAGS -mabi=ms" ;;
19430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19431 printf %s
"checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19432 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19434 printf %s
"(cached) " >&6
19436 ac_wine_try_cflags_saved
=$CFLAGS
19437 CFLAGS
="$CFLAGS -Wincompatible-function-pointer-types"
19438 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19439 /* end confdefs.h. */
19440 int main(int argc, char **argv) { return 0; }
19442 if ac_fn_c_try_link
"$LINENO"
19444 ac_cv_cflags__Wincompatible_function_pointer_types
=yes
19446 ac_cv_cflags__Wincompatible_function_pointer_types
=no
19448 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19449 conftest
$ac_exeext conftest.
$ac_ext
19450 CFLAGS
=$ac_wine_try_cflags_saved
19452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
19453 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19454 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19456 EXTRACFLAGS
="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19460 CFLAGS
=$saved_CFLAGS
19462 if test "x$enable_werror" = "xyes"
19464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19465 printf %s
"checking whether the compiler supports -Werror... " >&6; }
19466 if test ${ac_cv_cflags__Werror+y}
19468 printf %s
"(cached) " >&6
19470 ac_wine_try_cflags_saved
=$CFLAGS
19471 CFLAGS
="$CFLAGS -Werror"
19472 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19473 /* end confdefs.h. */
19474 int main(int argc, char **argv) { return 0; }
19476 if ac_fn_c_try_link
"$LINENO"
19478 ac_cv_cflags__Werror
=yes
19480 ac_cv_cflags__Werror
=no
19482 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19483 conftest
$ac_exeext conftest.
$ac_ext
19484 CFLAGS
=$ac_wine_try_cflags_saved
19486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19487 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19488 if test "x$ac_cv_cflags__Werror" = xyes
19490 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
19493 if test "x$enable_build_id" = "xyes"
19495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19496 printf %s
"checking whether the compiler supports -Wl,--build-id... " >&6; }
19497 if test ${ac_cv_cflags__Wl___build_id+y}
19499 printf %s
"(cached) " >&6
19501 ac_wine_try_cflags_saved
=$CFLAGS
19502 CFLAGS
="$CFLAGS -Wl,--build-id"
19503 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19504 /* end confdefs.h. */
19505 int main(int argc, char **argv) { return 0; }
19507 if ac_fn_c_try_link
"$LINENO"
19509 ac_cv_cflags__Wl___build_id
=yes
19511 ac_cv_cflags__Wl___build_id
=no
19513 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19514 conftest
$ac_exeext conftest.
$ac_ext
19515 CFLAGS
=$ac_wine_try_cflags_saved
19517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19518 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19519 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19521 CFLAGS
="$CFLAGS -Wl,--build-id"
19522 LDFLAGS
="$LDFLAGS -Wl,--build-id"
19528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19529 printf %s
"checking for the need to disable Fortify... " >&6; }
19530 if test ${ac_cv_c_fortify_enabled+y}
19532 printf %s
"(cached) " >&6
19534 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19535 /* end confdefs.h. */
19536 #include <string.h>
19540 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19541 #error Fortify enabled
19547 if ac_fn_c_try_compile
"$LINENO"
19549 ac_cv_c_fortify_enabled
=no
19551 ac_cv_c_fortify_enabled
=yes
19553 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19556 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19557 if test "$ac_cv_c_fortify_enabled" = yes
19559 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19564 printf %s
"checking whether CFI directives are supported in assembly code... " >&6; }
19565 if test ${ac_cv_c_cfi_support+y}
19567 printf %s
"(cached) " >&6
19569 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19570 /* end confdefs.h. */
19571 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19580 if ac_fn_c_try_compile
"$LINENO"
19582 ac_cv_c_cfi_support
="yes"
19584 ac_cv_c_cfi_support
="no"
19586 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19589 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19590 if test "$ac_cv_c_cfi_support" = "yes"
19592 DLLFLAGS
="$DLLFLAGS -fasynchronous-unwind-tables"
19593 LDDLLFLAGS
="$LDDLLFLAGS -fasynchronous-unwind-tables"
19594 UNIXDLLFLAGS
="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19595 elif test $HOST_ARCH = x86_64
19597 as_fn_append wine_warnings
"|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19604 *i
[3456789]86*|x86_64
*|
*aarch64
*|arm
*)
19605 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine-preloader"
19606 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
19613 ac_save_CFLAGS
="$CFLAGS"
19614 CFLAGS
="$CFLAGS $BUILTINFLAG"
19615 ac_fn_c_check_func
"$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19616 if test "x$ac_cv_func_epoll_create" = xyes
19618 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19621 ac_fn_c_check_func
"$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19622 if test "x$ac_cv_func_fstatfs" = xyes
19624 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19627 ac_fn_c_check_func
"$LINENO" "futimens" "ac_cv_func_futimens"
19628 if test "x$ac_cv_func_futimens" = xyes
19630 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19633 ac_fn_c_check_func
"$LINENO" "futimes" "ac_cv_func_futimes"
19634 if test "x$ac_cv_func_futimes" = xyes
19636 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19639 ac_fn_c_check_func
"$LINENO" "futimesat" "ac_cv_func_futimesat"
19640 if test "x$ac_cv_func_futimesat" = xyes
19642 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19645 ac_fn_c_check_func
"$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19646 if test "x$ac_cv_func_getattrlist" = xyes
19648 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19651 ac_fn_c_check_func
"$LINENO" "getauxval" "ac_cv_func_getauxval"
19652 if test "x$ac_cv_func_getauxval" = xyes
19654 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19657 ac_fn_c_check_func
"$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19658 if test "x$ac_cv_func_getifaddrs" = xyes
19660 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19663 ac_fn_c_check_func
"$LINENO" "getrandom" "ac_cv_func_getrandom"
19664 if test "x$ac_cv_func_getrandom" = xyes
19666 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19669 ac_fn_c_check_func
"$LINENO" "kqueue" "ac_cv_func_kqueue"
19670 if test "x$ac_cv_func_kqueue" = xyes
19672 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19675 ac_fn_c_check_func
"$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19676 if test "x$ac_cv_func_mach_continuous_time" = xyes
19678 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19681 ac_fn_c_check_func
"$LINENO" "pipe2" "ac_cv_func_pipe2"
19682 if test "x$ac_cv_func_pipe2" = xyes
19684 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19687 ac_fn_c_check_func
"$LINENO" "port_create" "ac_cv_func_port_create"
19688 if test "x$ac_cv_func_port_create" = xyes
19690 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
19693 ac_fn_c_check_func
"$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
19694 if test "x$ac_cv_func_posix_fadvise" = xyes
19696 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
19699 ac_fn_c_check_func
"$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
19700 if test "x$ac_cv_func_posix_fallocate" = xyes
19702 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
19705 ac_fn_c_check_func
"$LINENO" "prctl" "ac_cv_func_prctl"
19706 if test "x$ac_cv_func_prctl" = xyes
19708 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
19711 ac_fn_c_check_func
"$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
19712 if test "x$ac_cv_func_proc_pidinfo" = xyes
19714 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
19717 ac_fn_c_check_func
"$LINENO" "sched_yield" "ac_cv_func_sched_yield"
19718 if test "x$ac_cv_func_sched_yield" = xyes
19720 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
19723 ac_fn_c_check_func
"$LINENO" "setproctitle" "ac_cv_func_setproctitle"
19724 if test "x$ac_cv_func_setproctitle" = xyes
19726 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
19729 ac_fn_c_check_func
"$LINENO" "setprogname" "ac_cv_func_setprogname"
19730 if test "x$ac_cv_func_setprogname" = xyes
19732 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
19735 ac_fn_c_check_func
"$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
19736 if test "x$ac_cv_func_sigprocmask" = xyes
19738 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
19741 ac_fn_c_check_func
"$LINENO" "sysinfo" "ac_cv_func_sysinfo"
19742 if test "x$ac_cv_func_sysinfo" = xyes
19744 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
19747 ac_fn_c_check_func
"$LINENO" "tcdrain" "ac_cv_func_tcdrain"
19748 if test "x$ac_cv_func_tcdrain" = xyes
19750 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
19753 ac_fn_c_check_func
"$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
19754 if test "x$ac_cv_func_thr_kill2" = xyes
19756 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
19760 CFLAGS
="$ac_save_CFLAGS"
19762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19763 printf %s
"checking for library containing dlopen... " >&6; }
19764 if test ${ac_cv_search_dlopen+y}
19766 printf %s
"(cached) " >&6
19768 ac_func_search_save_LIBS
=$LIBS
19769 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19770 /* end confdefs.h. */
19772 /* Override any GCC internal prototype to avoid an error.
19773 Use char because int might match the return type of a GCC
19774 builtin and then its argument prototype would still apply. */
19784 for ac_lib
in '' dl
19786 if test -z "$ac_lib"; then
19787 ac_res
="none required"
19790 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19792 if ac_fn_c_try_link
"$LINENO"
19794 ac_cv_search_dlopen
=$ac_res
19796 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19798 if test ${ac_cv_search_dlopen+y}
19803 if test ${ac_cv_search_dlopen+y}
19807 ac_cv_search_dlopen
=no
19809 rm conftest.
$ac_ext
19810 LIBS
=$ac_func_search_save_LIBS
19812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19813 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19814 ac_res
=$ac_cv_search_dlopen
19815 if test "$ac_res" != no
19817 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19821 ac_wine_check_funcs_save_LIBS
="$LIBS"
19822 LIBS
="$LIBS $DL_LIBS"
19823 ac_fn_c_check_func
"$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19824 if test "x$ac_cv_func_dlinfo" = xyes
19826 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19830 LIBS
="$ac_wine_check_funcs_save_LIBS"
19832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19833 printf %s
"checking for library containing gethostbyname... " >&6; }
19834 if test ${ac_cv_search_gethostbyname+y}
19836 printf %s
"(cached) " >&6
19838 ac_func_search_save_LIBS
=$LIBS
19839 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19840 /* end confdefs.h. */
19842 /* Override any GCC internal prototype to avoid an error.
19843 Use char because int might match the return type of a GCC
19844 builtin and then its argument prototype would still apply. */
19845 char gethostbyname ();
19849 return gethostbyname ();
19854 for ac_lib
in '' nsl
19856 if test -z "$ac_lib"; then
19857 ac_res
="none required"
19860 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19862 if ac_fn_c_try_link
"$LINENO"
19864 ac_cv_search_gethostbyname
=$ac_res
19866 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19868 if test ${ac_cv_search_gethostbyname+y}
19873 if test ${ac_cv_search_gethostbyname+y}
19877 ac_cv_search_gethostbyname
=no
19879 rm conftest.
$ac_ext
19880 LIBS
=$ac_func_search_save_LIBS
19882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19883 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19884 ac_res
=$ac_cv_search_gethostbyname
19885 if test "$ac_res" != no
19887 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19893 printf %s
"checking for library containing connect... " >&6; }
19894 if test ${ac_cv_search_connect+y}
19896 printf %s
"(cached) " >&6
19898 ac_func_search_save_LIBS
=$LIBS
19899 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19900 /* end confdefs.h. */
19902 /* Override any GCC internal prototype to avoid an error.
19903 Use char because int might match the return type of a GCC
19904 builtin and then its argument prototype would still apply. */
19914 for ac_lib
in '' socket
19916 if test -z "$ac_lib"; then
19917 ac_res
="none required"
19920 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19922 if ac_fn_c_try_link
"$LINENO"
19924 ac_cv_search_connect
=$ac_res
19926 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19928 if test ${ac_cv_search_connect+y}
19933 if test ${ac_cv_search_connect+y}
19937 ac_cv_search_connect
=no
19939 rm conftest.
$ac_ext
19940 LIBS
=$ac_func_search_save_LIBS
19942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19943 printf "%s\n" "$ac_cv_search_connect" >&6; }
19944 ac_res
=$ac_cv_search_connect
19945 if test "$ac_res" != no
19947 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19953 printf %s
"checking for library containing inet_aton... " >&6; }
19954 if test ${ac_cv_search_inet_aton+y}
19956 printf %s
"(cached) " >&6
19958 ac_func_search_save_LIBS
=$LIBS
19959 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19960 /* end confdefs.h. */
19962 /* Override any GCC internal prototype to avoid an error.
19963 Use char because int might match the return type of a GCC
19964 builtin and then its argument prototype would still apply. */
19969 return inet_aton ();
19974 for ac_lib
in '' resolv
19976 if test -z "$ac_lib"; then
19977 ac_res
="none required"
19980 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19982 if ac_fn_c_try_link
"$LINENO"
19984 ac_cv_search_inet_aton
=$ac_res
19986 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19988 if test ${ac_cv_search_inet_aton+y}
19993 if test ${ac_cv_search_inet_aton+y}
19997 ac_cv_search_inet_aton
=no
19999 rm conftest.
$ac_ext
20000 LIBS
=$ac_func_search_save_LIBS
20002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
20003 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
20004 ac_res
=$ac_cv_search_inet_aton
20005 if test "$ac_res" != no
20007 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20012 ac_fn_c_check_func
"$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
20013 if test "x$ac_cv_func_getaddrinfo" = xyes
20015 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
20021 darwin
*|macosx
*) ;;
20022 *) ac_save_LIBS
=$LIBS
20023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20024 printf %s
"checking for library containing clock_gettime... " >&6; }
20025 if test ${ac_cv_search_clock_gettime+y}
20027 printf %s
"(cached) " >&6
20029 ac_func_search_save_LIBS
=$LIBS
20030 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20031 /* end confdefs.h. */
20033 /* Override any GCC internal prototype to avoid an error.
20034 Use char because int might match the return type of a GCC
20035 builtin and then its argument prototype would still apply. */
20036 char clock_gettime ();
20040 return clock_gettime ();
20045 for ac_lib
in '' rt
20047 if test -z "$ac_lib"; then
20048 ac_res
="none required"
20051 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20053 if ac_fn_c_try_link
"$LINENO"
20055 ac_cv_search_clock_gettime
=$ac_res
20057 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20059 if test ${ac_cv_search_clock_gettime+y}
20064 if test ${ac_cv_search_clock_gettime+y}
20068 ac_cv_search_clock_gettime
=no
20070 rm conftest.
$ac_ext
20071 LIBS
=$ac_func_search_save_LIBS
20073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20074 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20075 ac_res
=$ac_cv_search_clock_gettime
20076 if test "$ac_res" != no
20078 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20080 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20082 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
20090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20091 printf %s
"checking for sched_setaffinity... " >&6; }
20092 if test ${wine_cv_have_sched_setaffinity+y}
20094 printf %s
"(cached) " >&6
20096 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20097 /* end confdefs.h. */
20102 sched_setaffinity(0, 0, 0);
20107 if ac_fn_c_try_link
"$LINENO"
20109 wine_cv_have_sched_setaffinity
=yes
20111 wine_cv_have_sched_setaffinity
=no
20113 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20114 conftest
$ac_exeext conftest.
$ac_ext
20116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20117 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20118 if test "$wine_cv_have_sched_setaffinity" = "yes"
20121 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20127 printf %s
"checking for inline... " >&6; }
20128 if test ${ac_cv_c_inline+y}
20130 printf %s
"(cached) " >&6
20133 for ac_kw
in inline __inline__ __inline
; do
20134 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20135 /* end confdefs.h. */
20136 #ifndef __cplusplus
20138 static $ac_kw foo_t static_foo (void) {return 0; }
20139 $ac_kw foo_t foo (void) {return 0; }
20143 if ac_fn_c_try_compile
"$LINENO"
20145 ac_cv_c_inline
=$ac_kw
20147 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20148 test "$ac_cv_c_inline" != no
&& break
20152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20153 printf "%s\n" "$ac_cv_c_inline" >&6; }
20155 case $ac_cv_c_inline in
20158 case $ac_cv_c_inline in
20160 *) ac_val
=$ac_cv_c_inline;;
20162 cat >>confdefs.h
<<_ACEOF
20163 #ifndef __cplusplus
20164 #define inline $ac_val
20170 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
20171 #include <signal.h>
20173 if test "x$ac_cv_type_sigset_t" = xyes
20176 printf "%s\n" "#define HAVE_SIGSET_T 1" >>confdefs.h
20181 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20183 if test "x$ac_cv_type_request_sense" = xyes
20186 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20192 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20193 #include <sys/socket.h>
20194 #ifdef HAVE_SYS_SOCKETVAR_H
20195 #include <sys/socketvar.h>
20197 #ifdef HAVE_NET_ROUTE_H
20198 #include <net/route.h>
20200 #ifdef HAVE_NETINET_IN_H
20201 #include <netinet/in.h>
20203 #ifdef HAVE_NETINET_IN_SYSTM_H
20204 #include <netinet/in_systm.h>
20206 #ifdef HAVE_NETINET_IP_H
20207 #include <netinet/ip.h>
20209 #ifdef HAVE_NETINET_IN_PCB_H
20210 #include <netinet/in_pcb.h>
20213 if test "x$ac_cv_type_struct_xinpgen" = xyes
20216 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
20223 printf %s
"checking for sigaddset... " >&6; }
20224 if test ${wine_cv_have_sigaddset+y}
20226 printf %s
"(cached) " >&6
20228 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20229 /* end confdefs.h. */
20230 #include <signal.h>
20234 sigset_t set; sigaddset(&set,SIGTERM);
20239 if ac_fn_c_try_link
"$LINENO"
20241 wine_cv_have_sigaddset
=yes
20243 wine_cv_have_sigaddset
=no
20245 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20246 conftest
$ac_exeext conftest.
$ac_ext
20248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
20249 printf "%s\n" "$wine_cv_have_sigaddset" >&6; }
20250 if test "$wine_cv_have_sigaddset" = "yes"
20253 printf "%s\n" "#define HAVE_SIGADDSET 1" >>confdefs.h
20258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20259 printf %s
"checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20260 if test ${wine_cv_linux_gethostbyname_r_6+y}
20262 printf %s
"(cached) " >&6
20264 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20265 /* end confdefs.h. */
20273 struct hostent *result;
20280 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20281 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20287 if ac_fn_c_try_link
"$LINENO"
20289 wine_cv_linux_gethostbyname_r_6
=yes
20291 wine_cv_linux_gethostbyname_r_6
=no
20294 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20295 conftest
$ac_exeext conftest.
$ac_ext
20298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20299 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20300 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20303 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20307 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20308 #include <sys/socket.h>
20309 #ifdef HAVE_SYS_UN_H
20310 # include <sys/un.h>
20313 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20316 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20320 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20321 #include <sys/socket.h>
20322 #ifdef HAVE_SYS_UN_H
20323 # include <sys/un.h>
20326 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20329 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20335 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20336 #ifdef HAVE_SCSI_SG_H
20337 #include <scsi/sg.h>
20340 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20343 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20347 ac_fn_c_check_member
"$LINENO" "sg_io_hdr_t" "interface_id" "ac_cv_member_sg_io_hdr_t_interface_id" "#include <sys/types.h>
20348 #ifdef HAVE_SCSI_SG_H
20349 #include <scsi/sg.h>
20352 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20355 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20361 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20363 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20366 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20372 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20373 #ifdef HAVE_SYS_MTIO_H
20374 #include <sys/mtio.h>
20377 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20380 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20384 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20385 #ifdef HAVE_SYS_MTIO_H
20386 #include <sys/mtio.h>
20389 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20392 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20396 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20397 #ifdef HAVE_SYS_MTIO_H
20398 #include <sys/mtio.h>
20401 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20404 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20410 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20411 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20414 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20418 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20419 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20422 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20426 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20427 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20430 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20434 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20435 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20438 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20442 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20443 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20446 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20450 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20451 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20454 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20458 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20459 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20462 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20466 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20467 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20470 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20474 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20475 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20478 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20482 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20483 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20486 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20490 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20491 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20494 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20500 ac_fn_c_check_member
"$LINENO" "struct sockaddr_in6" "sin6_scope_id" "ac_cv_member_struct_sockaddr_in6_sin6_scope_id" "#include <sys/types.h>
20501 #ifdef HAVE_NETINET_IN_H
20502 #include <netinet/in.h>
20505 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20508 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20514 ac_fn_c_check_member
"$LINENO" "struct __res_state" "_u._ext.nscount6" "ac_cv_member_struct___res_state__u__ext_nscount6" "#ifdef HAVE_RESOLV_H
20515 #include <resolv.h>
20518 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20521 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20527 ac_fn_c_check_member
"$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20528 #include <netinet/in.h>
20531 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20534 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20540 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20541 #ifdef HAVE_SYS_SOCKETVAR_H
20542 #include <sys/socketvar.h>
20544 #ifdef HAVE_NETINET_IN_H
20545 #include <netinet/in.h>
20547 #ifdef HAVE_NETINET_IP_VAR_H
20548 #include <netinet/ip_var.h>
20551 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20554 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20560 ac_fn_c_check_member
"$LINENO" "struct ip_stats" "ips_total" "ac_cv_member_struct_ip_stats_ips_total" "#ifdef HAVE_NETINET_IP_VAR_H
20561 #include <netinet/ip_var.h>
20564 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20567 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20573 ac_fn_c_check_member
"$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20574 #ifdef HAVE_SYS_SOCKETVAR_H
20575 #include <sys/socketvar.h>
20577 #ifdef HAVE_NETINET_IN_H
20578 #include <netinet/in.h>
20580 #ifdef HAVE_NETINET6_IP6_VAR_H
20581 #include <netinet6/ip6_var.h>
20584 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20587 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20593 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20594 #ifdef HAVE_SYS_SOCKETVAR_H
20595 #include <sys/socketvar.h>
20597 #ifdef HAVE_NETINET_IN_H
20598 #include <netinet/in.h>
20600 #ifdef HAVE_NETINET_IP_H
20601 #include <netinet/ip.h>
20603 #ifdef HAVE_NETINET_IP_ICMP_H
20604 #include <netinet/ip_icmp.h>
20606 #ifdef HAVE_NETINET_ICMP_VAR_H
20607 #include <netinet/icmp_var.h>
20610 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20613 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20619 ac_fn_c_check_member
"$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20620 #ifdef HAVE_SYS_SOCKETVAR_H
20621 #include <sys/socketvar.h>
20623 #ifdef HAVE_NETINET_IN_H
20624 #include <netinet/in.h>
20626 #ifdef HAVE_NETINET_ICMP6_H
20627 #include <netinet/icmp6.h>
20630 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20633 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20639 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20640 #ifdef HAVE_SYS_SOCKETVAR_H
20641 #include <sys/socketvar.h>
20643 #ifdef HAVE_NETINET_IN_H
20644 #include <netinet/in.h>
20646 #ifdef HAVE_NETINET_TCP_H
20647 #include <netinet/tcp.h>
20649 #ifdef HAVE_NETINET_TCP_VAR_H
20650 #include <netinet/tcp_var.h>
20653 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20656 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20662 ac_fn_c_check_member
"$LINENO" "struct tcp_stats" "tcps_connattempt" "ac_cv_member_struct_tcp_stats_tcps_connattempt" "#ifdef HAVE_NETINET_TCP_VAR_H
20663 #include <netinet/tcp_var.h>
20666 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20669 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20675 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20676 #ifdef HAVE_NETINET_IN_H
20677 #include <netinet/in.h>
20679 #ifdef HAVE_NETINET_IP_VAR_H
20680 #include <netinet/ip_var.h>
20682 #ifdef HAVE_NETINET_UDP_H
20683 #include <netinet/udp.h>
20685 #ifdef HAVE_NETINET_UDP_VAR_H
20686 #include <netinet/udp_var.h>
20689 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20692 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20698 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20699 #ifdef HAVE_NET_IF_H
20700 # include <net/if.h>
20703 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20706 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20712 ac_fn_c_check_member
"$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20713 # include <sys/sysinfo.h>
20716 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20719 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20723 ac_fn_c_check_member
"$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20724 # include <sys/sysinfo.h>
20727 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20730 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20736 LIBS
="$ac_save_LIBS"
20738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20739 printf %s
"checking for __builtin_popcount... " >&6; }
20740 if test ${ac_cv_have___builtin_popcount+y}
20742 printf %s
"(cached) " >&6
20744 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20745 /* end confdefs.h. */
20750 return __builtin_popcount(1)
20755 if ac_fn_c_try_link
"$LINENO"
20757 ac_cv_have___builtin_popcount
="yes"
20759 ac_cv_have___builtin_popcount
="no"
20761 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20762 conftest
$ac_exeext conftest.
$ac_ext
20764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20765 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20766 if test "$ac_cv_have___builtin_popcount" = "yes"
20769 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20774 printf %s
"checking for __clear_cache... " >&6; }
20775 if test ${ac_cv_have___clear_cache+y}
20777 printf %s
"(cached) " >&6
20779 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20780 /* end confdefs.h. */
20785 __clear_cache((void*)0, (void*)0); return 0;
20790 if ac_fn_c_try_link
"$LINENO"
20792 ac_cv_have___clear_cache
="yes"
20794 ac_cv_have___clear_cache
="no"
20796 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20797 conftest
$ac_exeext conftest.
$ac_ext
20799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20800 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20801 if test "$ac_cv_have___clear_cache" = "yes"
20804 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20810 *i
[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20811 printf %s
"checking whether we need to define __i386__... " >&6; }
20812 if test ${ac_cv_cpp_def___i386__+y}
20814 printf %s
"(cached) " >&6
20816 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20817 /* end confdefs.h. */
20822 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20823 $EGREP "yes" >/dev
/null
2>&1
20825 ac_cv_cpp_def___i386__
=yes
20827 ac_cv_cpp_def___i386__
=no
20832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20833 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20834 if test "x$ac_cv_cpp_def___i386__" = xyes
20836 CFLAGS
="$CFLAGS -D__i386__"
20837 LINTFLAGS
="$LINTFLAGS -D__i386__"
20839 *x86_64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20840 printf %s
"checking whether we need to define __x86_64__... " >&6; }
20841 if test ${ac_cv_cpp_def___x86_64__+y}
20843 printf %s
"(cached) " >&6
20845 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20846 /* end confdefs.h. */
20851 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20852 $EGREP "yes" >/dev
/null
2>&1
20854 ac_cv_cpp_def___x86_64__
=yes
20856 ac_cv_cpp_def___x86_64__
=no
20861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20862 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20863 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20865 CFLAGS
="$CFLAGS -D__x86_64__"
20866 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
20868 *sparc64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
20869 printf %s
"checking whether we need to define __sparc64__... " >&6; }
20870 if test ${ac_cv_cpp_def___sparc64__+y}
20872 printf %s
"(cached) " >&6
20874 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20875 /* end confdefs.h. */
20876 #ifndef __sparc64__
20880 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20881 $EGREP "yes" >/dev
/null
2>&1
20883 ac_cv_cpp_def___sparc64__
=yes
20885 ac_cv_cpp_def___sparc64__
=no
20890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
20891 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
20892 if test "x$ac_cv_cpp_def___sparc64__" = xyes
20894 CFLAGS
="$CFLAGS -D__sparc64__"
20895 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
20897 *sparc
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
20898 printf %s
"checking whether we need to define __sparc__... " >&6; }
20899 if test ${ac_cv_cpp_def___sparc__+y}
20901 printf %s
"(cached) " >&6
20903 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20904 /* end confdefs.h. */
20909 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20910 $EGREP "yes" >/dev
/null
2>&1
20912 ac_cv_cpp_def___sparc__
=yes
20914 ac_cv_cpp_def___sparc__
=no
20919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
20920 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
20921 if test "x$ac_cv_cpp_def___sparc__" = xyes
20923 CFLAGS
="$CFLAGS -D__sparc__"
20924 LINTFLAGS
="$LINTFLAGS -D__sparc__"
20926 *powerpc64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
20927 printf %s
"checking whether we need to define __powerpc64__... " >&6; }
20928 if test ${ac_cv_cpp_def___powerpc64__+y}
20930 printf %s
"(cached) " >&6
20932 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20933 /* end confdefs.h. */
20934 #ifndef __powerpc64__
20938 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20939 $EGREP "yes" >/dev
/null
2>&1
20941 ac_cv_cpp_def___powerpc64__
=yes
20943 ac_cv_cpp_def___powerpc64__
=no
20948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
20949 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
20950 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
20952 CFLAGS
="$CFLAGS -D__powerpc64__"
20953 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
20955 *powerpc
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
20956 printf %s
"checking whether we need to define __powerpc__... " >&6; }
20957 if test ${ac_cv_cpp_def___powerpc__+y}
20959 printf %s
"(cached) " >&6
20961 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20962 /* end confdefs.h. */
20963 #ifndef __powerpc__
20967 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20968 $EGREP "yes" >/dev
/null
2>&1
20970 ac_cv_cpp_def___powerpc__
=yes
20972 ac_cv_cpp_def___powerpc__
=no
20977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
20978 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
20979 if test "x$ac_cv_cpp_def___powerpc__" = xyes
20981 CFLAGS
="$CFLAGS -D__powerpc__"
20982 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
20984 *aarch64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
20985 printf %s
"checking whether we need to define __aarch64__... " >&6; }
20986 if test ${ac_cv_cpp_def___aarch64__+y}
20988 printf %s
"(cached) " >&6
20990 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20991 /* end confdefs.h. */
20992 #ifndef __aarch64__
20996 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20997 $EGREP "yes" >/dev
/null
2>&1
20999 ac_cv_cpp_def___aarch64__
=yes
21001 ac_cv_cpp_def___aarch64__
=no
21006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
21007 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
21008 if test "x$ac_cv_cpp_def___aarch64__" = xyes
21010 CFLAGS
="$CFLAGS -D__aarch64__"
21011 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
21013 *arm
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
21014 printf %s
"checking whether we need to define __arm__... " >&6; }
21015 if test ${ac_cv_cpp_def___arm__+y}
21017 printf %s
"(cached) " >&6
21019 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21020 /* end confdefs.h. */
21025 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21026 $EGREP "yes" >/dev
/null
2>&1
21028 ac_cv_cpp_def___arm__
=yes
21030 ac_cv_cpp_def___arm__
=no
21035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21036 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21037 if test "x$ac_cv_cpp_def___arm__" = xyes
21039 CFLAGS
="$CFLAGS -D__arm__"
21040 LINTFLAGS
="$LINTFLAGS -D__arm__"
21044 case $host_vendor in
21045 *sun
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21046 printf %s
"checking whether we need to define __sun__... " >&6; }
21047 if test ${ac_cv_cpp_def___sun__+y}
21049 printf %s
"(cached) " >&6
21051 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21052 /* end confdefs.h. */
21057 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21058 $EGREP "yes" >/dev
/null
2>&1
21060 ac_cv_cpp_def___sun__
=yes
21062 ac_cv_cpp_def___sun__
=no
21067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21068 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21069 if test "x$ac_cv_cpp_def___sun__" = xyes
21071 CFLAGS
="$CFLAGS -D__sun__"
21072 LINTFLAGS
="$LINTFLAGS -D__sun__"
21080 ac_config_commands
="$ac_config_commands include/stamp-h"
21082 printf %s
"creating Makefile rules..." >&6
21085 test "x$enable_silent_rules" = xyes
&& makedep_flags
="$makedep_flags -S"
21088 test "$srcdir" = . || wine_srcdir
="$srcdir/"
21090 ac_config_links
="$ac_config_links wine:tools/winewrapper"
21091 wine_fn_config_symlink wine
21092 if test "$HOST_ARCH" = x86_64
-o -n "$with_wine64"; then
21093 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
21094 wine_fn_config_symlink wine64
21097 wine_fn_config_makefile dlls
/acledit enable_acledit
21098 wine_fn_config_makefile dlls
/aclui enable_aclui
21099 wine_fn_config_makefile dlls
/activeds.tlb enable_activeds_tlb
21100 wine_fn_config_makefile dlls
/activeds enable_activeds
21101 wine_fn_config_makefile dlls
/activeds
/tests enable_tests
21102 wine_fn_config_makefile dlls
/actxprxy enable_actxprxy
21103 wine_fn_config_makefile dlls
/adsldp enable_adsldp
21104 wine_fn_config_makefile dlls
/adsldp
/tests enable_tests
21105 wine_fn_config_makefile dlls
/adsldpc enable_adsldpc
21106 wine_fn_config_makefile dlls
/advapi32 enable_advapi32
21107 wine_fn_config_makefile dlls
/advapi32
/tests enable_tests
21108 wine_fn_config_makefile dlls
/advpack enable_advpack
21109 wine_fn_config_makefile dlls
/advpack
/tests enable_tests
21110 wine_fn_config_makefile dlls
/amsi enable_amsi
21111 wine_fn_config_makefile dlls
/amstream enable_amstream
21112 wine_fn_config_makefile dlls
/amstream
/tests enable_tests
21113 wine_fn_config_makefile dlls
/apisetschema enable_apisetschema
21114 wine_fn_config_makefile dlls
/apphelp enable_apphelp
21115 wine_fn_config_makefile dlls
/apphelp
/tests enable_tests
21116 wine_fn_config_makefile dlls
/appwiz.cpl enable_appwiz_cpl
21117 wine_fn_config_makefile dlls
/atl enable_atl
21118 wine_fn_config_makefile dlls
/atl
/tests enable_tests
21119 wine_fn_config_makefile dlls
/atl100 enable_atl100
21120 wine_fn_config_makefile dlls
/atl100
/tests enable_tests
21121 wine_fn_config_makefile dlls
/atl110 enable_atl110
21122 wine_fn_config_makefile dlls
/atl110
/tests enable_tests
21123 wine_fn_config_makefile dlls
/atl80 enable_atl80
21124 wine_fn_config_makefile dlls
/atl80
/tests enable_tests
21125 wine_fn_config_makefile dlls
/atl90 enable_atl90
21126 wine_fn_config_makefile dlls
/atlthunk enable_atlthunk
21127 wine_fn_config_makefile dlls
/atlthunk
/tests enable_tests
21128 wine_fn_config_makefile dlls
/atmlib enable_atmlib
21129 wine_fn_config_makefile dlls
/authz enable_authz
21130 wine_fn_config_makefile dlls
/avicap32 enable_avicap32
21131 wine_fn_config_makefile dlls
/avifil32 enable_avifil32
21132 wine_fn_config_makefile dlls
/avifil32
/tests enable_tests
21133 wine_fn_config_makefile dlls
/avifile.dll16 enable_win16
21134 wine_fn_config_makefile dlls
/avrt enable_avrt
21135 wine_fn_config_makefile dlls
/bcrypt enable_bcrypt
21136 wine_fn_config_makefile dlls
/bcrypt
/tests enable_tests
21137 wine_fn_config_makefile dlls
/bluetoothapis enable_bluetoothapis
21138 wine_fn_config_makefile dlls
/browseui enable_browseui
21139 wine_fn_config_makefile dlls
/browseui
/tests enable_tests
21140 wine_fn_config_makefile dlls
/bthprops.cpl enable_bthprops_cpl
21141 wine_fn_config_makefile dlls
/cabinet enable_cabinet
21142 wine_fn_config_makefile dlls
/cabinet
/tests enable_tests
21143 wine_fn_config_makefile dlls
/capi2032 enable_capi2032
21144 wine_fn_config_makefile dlls
/cards enable_cards
21145 wine_fn_config_makefile dlls
/cdosys enable_cdosys
21146 wine_fn_config_makefile dlls
/cfgmgr32 enable_cfgmgr32
21147 wine_fn_config_makefile dlls
/clusapi enable_clusapi
21148 wine_fn_config_makefile dlls
/cng.sys enable_cng_sys
21149 wine_fn_config_makefile dlls
/combase enable_combase
21150 wine_fn_config_makefile dlls
/combase
/tests enable_tests
21151 wine_fn_config_makefile dlls
/comcat enable_comcat
21152 wine_fn_config_makefile dlls
/comcat
/tests enable_tests
21153 wine_fn_config_makefile dlls
/comctl32 enable_comctl32
21154 wine_fn_config_makefile dlls
/comctl32
/tests enable_tests
21155 wine_fn_config_makefile dlls
/comdlg32 enable_comdlg32
21156 wine_fn_config_makefile dlls
/comdlg32
/tests enable_tests
21157 wine_fn_config_makefile dlls
/comm.drv16 enable_win16
21158 wine_fn_config_makefile dlls
/commdlg.dll16 enable_win16
21159 wine_fn_config_makefile dlls
/compobj.dll16 enable_win16
21160 wine_fn_config_makefile dlls
/compstui enable_compstui
21161 wine_fn_config_makefile dlls
/compstui
/tests enable_tests
21162 wine_fn_config_makefile dlls
/comsvcs enable_comsvcs
21163 wine_fn_config_makefile dlls
/comsvcs
/tests enable_tests
21164 wine_fn_config_makefile dlls
/concrt140 enable_concrt140
21165 wine_fn_config_makefile dlls
/concrt140
/tests enable_tests
21166 wine_fn_config_makefile dlls
/connect enable_connect
21167 wine_fn_config_makefile dlls
/credui enable_credui
21168 wine_fn_config_makefile dlls
/credui
/tests enable_tests
21169 wine_fn_config_makefile dlls
/crtdll enable_crtdll
21170 wine_fn_config_makefile dlls
/crypt32 enable_crypt32
21171 wine_fn_config_makefile dlls
/crypt32
/tests enable_tests
21172 wine_fn_config_makefile dlls
/cryptdlg enable_cryptdlg
21173 wine_fn_config_makefile dlls
/cryptdll enable_cryptdll
21174 wine_fn_config_makefile dlls
/cryptext enable_cryptext
21175 wine_fn_config_makefile dlls
/cryptnet enable_cryptnet
21176 wine_fn_config_makefile dlls
/cryptnet
/tests enable_tests
21177 wine_fn_config_makefile dlls
/cryptowinrt enable_cryptowinrt
21178 wine_fn_config_makefile dlls
/cryptsp enable_cryptsp
21179 wine_fn_config_makefile dlls
/cryptui enable_cryptui
21180 wine_fn_config_makefile dlls
/cryptui
/tests enable_tests
21181 wine_fn_config_makefile dlls
/ctapi32 enable_ctapi32
21182 wine_fn_config_makefile dlls
/ctl3d.dll16 enable_win16
21183 wine_fn_config_makefile dlls
/ctl3d32 enable_ctl3d32
21184 wine_fn_config_makefile dlls
/ctl3dv2.dll16 enable_win16
21185 wine_fn_config_makefile dlls
/d2d1 enable_d2d1
21186 wine_fn_config_makefile dlls
/d2d
1/tests enable_tests
21187 wine_fn_config_makefile dlls
/d3d10 enable_d3d10
21188 wine_fn_config_makefile dlls
/d3d10
/tests enable_tests
21189 wine_fn_config_makefile dlls
/d3d10_1 enable_d3d10_1
21190 wine_fn_config_makefile dlls
/d3d10_
1/tests enable_tests
21191 wine_fn_config_makefile dlls
/d3d10core enable_d3d10core
21192 wine_fn_config_makefile dlls
/d3d10core
/tests enable_tests
21193 wine_fn_config_makefile dlls
/d3d11 enable_d3d11
21194 wine_fn_config_makefile dlls
/d3d11
/tests enable_tests
21195 wine_fn_config_makefile dlls
/d3d12 enable_d3d12
21196 wine_fn_config_makefile dlls
/d3d12
/tests enable_tests
21197 wine_fn_config_makefile dlls
/d3d8 enable_d3d8
21198 wine_fn_config_makefile dlls
/d3d
8/tests enable_tests
21199 wine_fn_config_makefile dlls
/d3d8thk enable_d3d8thk
21200 wine_fn_config_makefile dlls
/d3d9 enable_d3d9
21201 wine_fn_config_makefile dlls
/d3d
9/tests enable_tests
21202 wine_fn_config_makefile dlls
/d3dcompiler_33 enable_d3dcompiler_33
21203 wine_fn_config_makefile dlls
/d3dcompiler_34 enable_d3dcompiler_34
21204 wine_fn_config_makefile dlls
/d3dcompiler_35 enable_d3dcompiler_35
21205 wine_fn_config_makefile dlls
/d3dcompiler_36 enable_d3dcompiler_36
21206 wine_fn_config_makefile dlls
/d3dcompiler_37 enable_d3dcompiler_37
21207 wine_fn_config_makefile dlls
/d3dcompiler_38 enable_d3dcompiler_38
21208 wine_fn_config_makefile dlls
/d3dcompiler_39 enable_d3dcompiler_39
21209 wine_fn_config_makefile dlls
/d3dcompiler_40 enable_d3dcompiler_40
21210 wine_fn_config_makefile dlls
/d3dcompiler_41 enable_d3dcompiler_41
21211 wine_fn_config_makefile dlls
/d3dcompiler_42 enable_d3dcompiler_42
21212 wine_fn_config_makefile dlls
/d3dcompiler_43 enable_d3dcompiler_43
21213 wine_fn_config_makefile dlls
/d3dcompiler_43
/tests enable_tests
21214 wine_fn_config_makefile dlls
/d3dcompiler_46 enable_d3dcompiler_46
21215 wine_fn_config_makefile dlls
/d3dcompiler_46
/tests enable_tests
21216 wine_fn_config_makefile dlls
/d3dcompiler_47 enable_d3dcompiler_47
21217 wine_fn_config_makefile dlls
/d3dcompiler_47
/tests enable_tests
21218 wine_fn_config_makefile dlls
/d3dim enable_d3dim
21219 wine_fn_config_makefile dlls
/d3dim700 enable_d3dim700
21220 wine_fn_config_makefile dlls
/d3drm enable_d3drm
21221 wine_fn_config_makefile dlls
/d3drm
/tests enable_tests
21222 wine_fn_config_makefile dlls
/d3dx10_33 enable_d3dx10_33
21223 wine_fn_config_makefile dlls
/d3dx10_34 enable_d3dx10_34
21224 wine_fn_config_makefile dlls
/d3dx10_34
/tests enable_tests
21225 wine_fn_config_makefile dlls
/d3dx10_35 enable_d3dx10_35
21226 wine_fn_config_makefile dlls
/d3dx10_35
/tests enable_tests
21227 wine_fn_config_makefile dlls
/d3dx10_36 enable_d3dx10_36
21228 wine_fn_config_makefile dlls
/d3dx10_36
/tests enable_tests
21229 wine_fn_config_makefile dlls
/d3dx10_37 enable_d3dx10_37
21230 wine_fn_config_makefile dlls
/d3dx10_37
/tests enable_tests
21231 wine_fn_config_makefile dlls
/d3dx10_38 enable_d3dx10_38
21232 wine_fn_config_makefile dlls
/d3dx10_38
/tests enable_tests
21233 wine_fn_config_makefile dlls
/d3dx10_39 enable_d3dx10_39
21234 wine_fn_config_makefile dlls
/d3dx10_39
/tests enable_tests
21235 wine_fn_config_makefile dlls
/d3dx10_40 enable_d3dx10_40
21236 wine_fn_config_makefile dlls
/d3dx10_40
/tests enable_tests
21237 wine_fn_config_makefile dlls
/d3dx10_41 enable_d3dx10_41
21238 wine_fn_config_makefile dlls
/d3dx10_41
/tests enable_tests
21239 wine_fn_config_makefile dlls
/d3dx10_42 enable_d3dx10_42
21240 wine_fn_config_makefile dlls
/d3dx10_42
/tests enable_tests
21241 wine_fn_config_makefile dlls
/d3dx10_43 enable_d3dx10_43
21242 wine_fn_config_makefile dlls
/d3dx10_43
/tests enable_tests
21243 wine_fn_config_makefile dlls
/d3dx11_42 enable_d3dx11_42
21244 wine_fn_config_makefile dlls
/d3dx11_42
/tests enable_tests
21245 wine_fn_config_makefile dlls
/d3dx11_43 enable_d3dx11_43
21246 wine_fn_config_makefile dlls
/d3dx11_43
/tests enable_tests
21247 wine_fn_config_makefile dlls
/d3dx9_24 enable_d3dx9_24
21248 wine_fn_config_makefile dlls
/d3dx9_25 enable_d3dx9_25
21249 wine_fn_config_makefile dlls
/d3dx9_26 enable_d3dx9_26
21250 wine_fn_config_makefile dlls
/d3dx9_27 enable_d3dx9_27
21251 wine_fn_config_makefile dlls
/d3dx9_28 enable_d3dx9_28
21252 wine_fn_config_makefile dlls
/d3dx9_29 enable_d3dx9_29
21253 wine_fn_config_makefile dlls
/d3dx9_30 enable_d3dx9_30
21254 wine_fn_config_makefile dlls
/d3dx9_31 enable_d3dx9_31
21255 wine_fn_config_makefile dlls
/d3dx9_32 enable_d3dx9_32
21256 wine_fn_config_makefile dlls
/d3dx9_33 enable_d3dx9_33
21257 wine_fn_config_makefile dlls
/d3dx9_34 enable_d3dx9_34
21258 wine_fn_config_makefile dlls
/d3dx9_35 enable_d3dx9_35
21259 wine_fn_config_makefile dlls
/d3dx9_36 enable_d3dx9_36
21260 wine_fn_config_makefile dlls
/d3dx9_36
/tests enable_tests
21261 wine_fn_config_makefile dlls
/d3dx9_37 enable_d3dx9_37
21262 wine_fn_config_makefile dlls
/d3dx9_38 enable_d3dx9_38
21263 wine_fn_config_makefile dlls
/d3dx9_39 enable_d3dx9_39
21264 wine_fn_config_makefile dlls
/d3dx9_40 enable_d3dx9_40
21265 wine_fn_config_makefile dlls
/d3dx9_41 enable_d3dx9_41
21266 wine_fn_config_makefile dlls
/d3dx9_42 enable_d3dx9_42
21267 wine_fn_config_makefile dlls
/d3dx9_43 enable_d3dx9_43
21268 wine_fn_config_makefile dlls
/d3dxof enable_d3dxof
21269 wine_fn_config_makefile dlls
/d3dxof
/tests enable_tests
21270 wine_fn_config_makefile dlls
/davclnt enable_davclnt
21271 wine_fn_config_makefile dlls
/dbgeng enable_dbgeng
21272 wine_fn_config_makefile dlls
/dbgeng
/tests enable_tests
21273 wine_fn_config_makefile dlls
/dbghelp enable_dbghelp
21274 wine_fn_config_makefile dlls
/dbghelp
/tests enable_tests
21275 wine_fn_config_makefile dlls
/dciman32 enable_dciman32
21276 wine_fn_config_makefile dlls
/dcomp enable_dcomp
21277 wine_fn_config_makefile dlls
/ddeml.dll16 enable_win16
21278 wine_fn_config_makefile dlls
/ddraw enable_ddraw
21279 wine_fn_config_makefile dlls
/ddraw
/tests enable_tests
21280 wine_fn_config_makefile dlls
/ddrawex enable_ddrawex
21281 wine_fn_config_makefile dlls
/ddrawex
/tests enable_tests
21282 wine_fn_config_makefile dlls
/devenum enable_devenum
21283 wine_fn_config_makefile dlls
/devenum
/tests enable_tests
21284 wine_fn_config_makefile dlls
/dhcpcsvc enable_dhcpcsvc
21285 wine_fn_config_makefile dlls
/dhcpcsvc
/tests enable_tests
21286 wine_fn_config_makefile dlls
/dhcpcsvc6 enable_dhcpcsvc6
21287 wine_fn_config_makefile dlls
/dhtmled.ocx enable_dhtmled_ocx
21288 wine_fn_config_makefile dlls
/diasymreader enable_diasymreader
21289 wine_fn_config_makefile dlls
/difxapi enable_difxapi
21290 wine_fn_config_makefile dlls
/dinput enable_dinput
21291 wine_fn_config_makefile dlls
/dinput
/tests enable_tests
21292 wine_fn_config_makefile dlls
/dinput8 enable_dinput8
21293 wine_fn_config_makefile dlls
/directmanipulation enable_directmanipulation
21294 wine_fn_config_makefile dlls
/directmanipulation
/tests enable_tests
21295 wine_fn_config_makefile dlls
/dispdib.dll16 enable_win16
21296 wine_fn_config_makefile dlls
/dispex enable_dispex
21297 wine_fn_config_makefile dlls
/dispex
/tests enable_tests
21298 wine_fn_config_makefile dlls
/display.drv16 enable_win16
21299 wine_fn_config_makefile dlls
/dmband enable_dmband
21300 wine_fn_config_makefile dlls
/dmband
/tests enable_tests
21301 wine_fn_config_makefile dlls
/dmcompos enable_dmcompos
21302 wine_fn_config_makefile dlls
/dmcompos
/tests enable_tests
21303 wine_fn_config_makefile dlls
/dmime enable_dmime
21304 wine_fn_config_makefile dlls
/dmime
/tests enable_tests
21305 wine_fn_config_makefile dlls
/dmloader enable_dmloader
21306 wine_fn_config_makefile dlls
/dmloader
/tests enable_tests
21307 wine_fn_config_makefile dlls
/dmscript enable_dmscript
21308 wine_fn_config_makefile dlls
/dmscript
/tests enable_tests
21309 wine_fn_config_makefile dlls
/dmstyle enable_dmstyle
21310 wine_fn_config_makefile dlls
/dmstyle
/tests enable_tests
21311 wine_fn_config_makefile dlls
/dmsynth enable_dmsynth
21312 wine_fn_config_makefile dlls
/dmsynth
/tests enable_tests
21313 wine_fn_config_makefile dlls
/dmusic enable_dmusic
21314 wine_fn_config_makefile dlls
/dmusic
/tests enable_tests
21315 wine_fn_config_makefile dlls
/dmusic32 enable_dmusic32
21316 wine_fn_config_makefile dlls
/dnsapi enable_dnsapi
21317 wine_fn_config_makefile dlls
/dnsapi
/tests enable_tests
21318 wine_fn_config_makefile dlls
/dplay enable_dplay
21319 wine_fn_config_makefile dlls
/dplayx enable_dplayx
21320 wine_fn_config_makefile dlls
/dplayx
/tests enable_tests
21321 wine_fn_config_makefile dlls
/dpnaddr enable_dpnaddr
21322 wine_fn_config_makefile dlls
/dpnet enable_dpnet
21323 wine_fn_config_makefile dlls
/dpnet
/tests enable_tests
21324 wine_fn_config_makefile dlls
/dpnhpast enable_dpnhpast
21325 wine_fn_config_makefile dlls
/dpnhupnp enable_dpnhupnp
21326 wine_fn_config_makefile dlls
/dpnlobby enable_dpnlobby
21327 wine_fn_config_makefile dlls
/dpvoice enable_dpvoice
21328 wine_fn_config_makefile dlls
/dpvoice
/tests enable_tests
21329 wine_fn_config_makefile dlls
/dpwsockx enable_dpwsockx
21330 wine_fn_config_makefile dlls
/drmclien enable_drmclien
21331 wine_fn_config_makefile dlls
/dsdmo enable_dsdmo
21332 wine_fn_config_makefile dlls
/dsdmo
/tests enable_tests
21333 wine_fn_config_makefile dlls
/dsound enable_dsound
21334 wine_fn_config_makefile dlls
/dsound
/tests enable_tests
21335 wine_fn_config_makefile dlls
/dsquery enable_dsquery
21336 wine_fn_config_makefile dlls
/dssenh enable_dssenh
21337 wine_fn_config_makefile dlls
/dssenh
/tests enable_tests
21338 wine_fn_config_makefile dlls
/dsuiext enable_dsuiext
21339 wine_fn_config_makefile dlls
/dswave enable_dswave
21340 wine_fn_config_makefile dlls
/dswave
/tests enable_tests
21341 wine_fn_config_makefile dlls
/dwmapi enable_dwmapi
21342 wine_fn_config_makefile dlls
/dwmapi
/tests enable_tests
21343 wine_fn_config_makefile dlls
/dwrite enable_dwrite
21344 wine_fn_config_makefile dlls
/dwrite
/tests enable_tests
21345 wine_fn_config_makefile dlls
/dx8vb enable_dx8vb
21346 wine_fn_config_makefile dlls
/dxdiagn enable_dxdiagn
21347 wine_fn_config_makefile dlls
/dxdiagn
/tests enable_tests
21348 wine_fn_config_makefile dlls
/dxgi enable_dxgi
21349 wine_fn_config_makefile dlls
/dxgi
/tests enable_tests
21350 wine_fn_config_makefile dlls
/dxtrans enable_dxtrans
21351 wine_fn_config_makefile dlls
/dxva2 enable_dxva2
21352 wine_fn_config_makefile dlls
/dxva
2/tests enable_tests
21353 wine_fn_config_makefile dlls
/esent enable_esent
21354 wine_fn_config_makefile dlls
/evr enable_evr
21355 wine_fn_config_makefile dlls
/evr
/tests enable_tests
21356 wine_fn_config_makefile dlls
/explorerframe enable_explorerframe
21357 wine_fn_config_makefile dlls
/explorerframe
/tests enable_tests
21358 wine_fn_config_makefile dlls
/faultrep enable_faultrep
21359 wine_fn_config_makefile dlls
/faultrep
/tests enable_tests
21360 wine_fn_config_makefile dlls
/feclient enable_feclient
21361 wine_fn_config_makefile dlls
/fltlib enable_fltlib
21362 wine_fn_config_makefile dlls
/fltmgr.sys enable_fltmgr_sys
21363 wine_fn_config_makefile dlls
/fntcache enable_fntcache
21364 wine_fn_config_makefile dlls
/fontsub enable_fontsub
21365 wine_fn_config_makefile dlls
/fusion enable_fusion
21366 wine_fn_config_makefile dlls
/fusion
/tests enable_tests
21367 wine_fn_config_makefile dlls
/fwpuclnt enable_fwpuclnt
21368 wine_fn_config_makefile dlls
/gameux enable_gameux
21369 wine_fn_config_makefile dlls
/gameux
/tests enable_tests
21370 wine_fn_config_makefile dlls
/gamingtcui enable_gamingtcui
21371 wine_fn_config_makefile dlls
/gdi.exe16 enable_win16
21372 wine_fn_config_makefile dlls
/gdi32 enable_gdi32
21373 wine_fn_config_makefile dlls
/gdi32
/tests enable_tests
21374 wine_fn_config_makefile dlls
/gdiplus enable_gdiplus
21375 wine_fn_config_makefile dlls
/gdiplus
/tests enable_tests
21376 wine_fn_config_makefile dlls
/glu32 enable_glu32
21377 wine_fn_config_makefile dlls
/gphoto2.ds enable_gphoto2_ds
21378 wine_fn_config_makefile dlls
/gpkcsp enable_gpkcsp
21379 wine_fn_config_makefile dlls
/hal enable_hal
21380 wine_fn_config_makefile dlls
/hhctrl.ocx enable_hhctrl_ocx
21381 wine_fn_config_makefile dlls
/hid enable_hid
21382 wine_fn_config_makefile dlls
/hid
/tests enable_tests
21383 wine_fn_config_makefile dlls
/hidclass.sys enable_hidclass_sys
21384 wine_fn_config_makefile dlls
/hidparse.sys enable_hidparse_sys
21385 wine_fn_config_makefile dlls
/hlink enable_hlink
21386 wine_fn_config_makefile dlls
/hlink
/tests enable_tests
21387 wine_fn_config_makefile dlls
/hnetcfg enable_hnetcfg
21388 wine_fn_config_makefile dlls
/hnetcfg
/tests enable_tests
21389 wine_fn_config_makefile dlls
/http.sys enable_http_sys
21390 wine_fn_config_makefile dlls
/httpapi enable_httpapi
21391 wine_fn_config_makefile dlls
/httpapi
/tests enable_tests
21392 wine_fn_config_makefile dlls
/ia2comproxy enable_ia2comproxy
21393 wine_fn_config_makefile dlls
/iccvid enable_iccvid
21394 wine_fn_config_makefile dlls
/icmp enable_icmp
21395 wine_fn_config_makefile dlls
/ieframe enable_ieframe
21396 wine_fn_config_makefile dlls
/ieframe
/tests enable_tests
21397 wine_fn_config_makefile dlls
/ieproxy enable_ieproxy
21398 wine_fn_config_makefile dlls
/ifsmgr.vxd enable_win16
21399 wine_fn_config_makefile dlls
/imaadp32.acm enable_imaadp32_acm
21400 wine_fn_config_makefile dlls
/imagehlp enable_imagehlp
21401 wine_fn_config_makefile dlls
/imagehlp
/tests enable_tests
21402 wine_fn_config_makefile dlls
/imm.dll16 enable_win16
21403 wine_fn_config_makefile dlls
/imm32 enable_imm32
21404 wine_fn_config_makefile dlls
/imm32
/tests enable_tests
21405 wine_fn_config_makefile dlls
/inetcomm enable_inetcomm
21406 wine_fn_config_makefile dlls
/inetcomm
/tests enable_tests
21407 wine_fn_config_makefile dlls
/inetcpl.cpl enable_inetcpl_cpl
21408 wine_fn_config_makefile dlls
/inetmib1 enable_inetmib1
21409 wine_fn_config_makefile dlls
/inetmib
1/tests enable_tests
21410 wine_fn_config_makefile dlls
/infosoft enable_infosoft
21411 wine_fn_config_makefile dlls
/infosoft
/tests enable_tests
21412 wine_fn_config_makefile dlls
/initpki enable_initpki
21413 wine_fn_config_makefile dlls
/inkobj enable_inkobj
21414 wine_fn_config_makefile dlls
/inseng enable_inseng
21415 wine_fn_config_makefile dlls
/iphlpapi enable_iphlpapi
21416 wine_fn_config_makefile dlls
/iphlpapi
/tests enable_tests
21417 wine_fn_config_makefile dlls
/iprop enable_iprop
21418 wine_fn_config_makefile dlls
/irprops.cpl enable_irprops_cpl
21419 wine_fn_config_makefile dlls
/itircl enable_itircl
21420 wine_fn_config_makefile dlls
/itss enable_itss
21421 wine_fn_config_makefile dlls
/itss
/tests enable_tests
21422 wine_fn_config_makefile dlls
/joy.cpl enable_joy_cpl
21423 wine_fn_config_makefile dlls
/jscript enable_jscript
21424 wine_fn_config_makefile dlls
/jscript
/tests enable_tests
21425 wine_fn_config_makefile dlls
/jsproxy enable_jsproxy
21426 wine_fn_config_makefile dlls
/jsproxy
/tests enable_tests
21427 wine_fn_config_makefile dlls
/kerberos enable_kerberos
21428 wine_fn_config_makefile dlls
/kernel32 enable_kernel32
21429 wine_fn_config_makefile dlls
/kernel32
/tests enable_tests
21430 wine_fn_config_makefile dlls
/kernelbase enable_kernelbase
21431 wine_fn_config_makefile dlls
/kernelbase
/tests enable_tests
21432 wine_fn_config_makefile dlls
/keyboard.drv16 enable_win16
21433 wine_fn_config_makefile dlls
/krnl386.exe16 enable_win16
21434 wine_fn_config_makefile dlls
/ksecdd.sys enable_ksecdd_sys
21435 wine_fn_config_makefile dlls
/ksproxy.ax enable_ksproxy_ax
21436 wine_fn_config_makefile dlls
/ksuser enable_ksuser
21437 wine_fn_config_makefile dlls
/ktmw32 enable_ktmw32
21438 wine_fn_config_makefile dlls
/l3codeca.acm enable_l3codeca_acm
21439 wine_fn_config_makefile dlls
/light.msstyles enable_light_msstyles
21440 wine_fn_config_makefile dlls
/loadperf enable_loadperf
21441 wine_fn_config_makefile dlls
/localspl enable_localspl
21442 wine_fn_config_makefile dlls
/localspl
/tests enable_tests
21443 wine_fn_config_makefile dlls
/localui enable_localui
21444 wine_fn_config_makefile dlls
/localui
/tests enable_tests
21445 wine_fn_config_makefile dlls
/lz32 enable_lz32
21446 wine_fn_config_makefile dlls
/lz32
/tests enable_tests
21447 wine_fn_config_makefile dlls
/lzexpand.dll16 enable_win16
21448 wine_fn_config_makefile dlls
/mapi32 enable_mapi32
21449 wine_fn_config_makefile dlls
/mapi32
/tests enable_tests
21450 wine_fn_config_makefile dlls
/mapistub enable_mapistub
21451 wine_fn_config_makefile dlls
/mciavi32 enable_mciavi32
21452 wine_fn_config_makefile dlls
/mcicda enable_mcicda
21453 wine_fn_config_makefile dlls
/mciqtz32 enable_mciqtz32
21454 wine_fn_config_makefile dlls
/mciseq enable_mciseq
21455 wine_fn_config_makefile dlls
/mciwave enable_mciwave
21456 wine_fn_config_makefile dlls
/mf enable_mf
21457 wine_fn_config_makefile dlls
/mf
/tests enable_tests
21458 wine_fn_config_makefile dlls
/mf3216 enable_mf3216
21459 wine_fn_config_makefile dlls
/mferror enable_mferror
21460 wine_fn_config_makefile dlls
/mfmediaengine enable_mfmediaengine
21461 wine_fn_config_makefile dlls
/mfmediaengine
/tests enable_tests
21462 wine_fn_config_makefile dlls
/mfplat enable_mfplat
21463 wine_fn_config_makefile dlls
/mfplat
/tests enable_tests
21464 wine_fn_config_makefile dlls
/mfplay enable_mfplay
21465 wine_fn_config_makefile dlls
/mfplay
/tests enable_tests
21466 wine_fn_config_makefile dlls
/mfreadwrite enable_mfreadwrite
21467 wine_fn_config_makefile dlls
/mfreadwrite
/tests enable_tests
21468 wine_fn_config_makefile dlls
/mfsrcsnk enable_mfsrcsnk
21469 wine_fn_config_makefile dlls
/mfsrcsnk
/tests enable_tests
21470 wine_fn_config_makefile dlls
/mgmtapi enable_mgmtapi
21471 wine_fn_config_makefile dlls
/midimap enable_midimap
21472 wine_fn_config_makefile dlls
/mlang enable_mlang
21473 wine_fn_config_makefile dlls
/mlang
/tests enable_tests
21474 wine_fn_config_makefile dlls
/mmcndmgr enable_mmcndmgr
21475 wine_fn_config_makefile dlls
/mmcndmgr
/tests enable_tests
21476 wine_fn_config_makefile dlls
/mmdevapi enable_mmdevapi
21477 wine_fn_config_makefile dlls
/mmdevapi
/tests enable_tests
21478 wine_fn_config_makefile dlls
/mmdevldr.vxd enable_win16
21479 wine_fn_config_makefile dlls
/mmsystem.dll16 enable_win16
21480 wine_fn_config_makefile dlls
/monodebg.vxd enable_win16
21481 wine_fn_config_makefile dlls
/mountmgr.sys enable_mountmgr_sys
21482 wine_fn_config_makefile dlls
/mouse.drv16 enable_win16
21483 wine_fn_config_makefile dlls
/mp3dmod enable_mp3dmod
21484 wine_fn_config_makefile dlls
/mp3dmod
/tests enable_tests
21485 wine_fn_config_makefile dlls
/mpr enable_mpr
21486 wine_fn_config_makefile dlls
/mpr
/tests enable_tests
21487 wine_fn_config_makefile dlls
/mprapi enable_mprapi
21488 wine_fn_config_makefile dlls
/msacm.dll16 enable_win16
21489 wine_fn_config_makefile dlls
/msacm32.drv enable_msacm32_drv
21490 wine_fn_config_makefile dlls
/msacm32 enable_msacm32
21491 wine_fn_config_makefile dlls
/msacm32
/tests enable_tests
21492 wine_fn_config_makefile dlls
/msado15 enable_msado15
21493 wine_fn_config_makefile dlls
/msado15
/tests enable_tests
21494 wine_fn_config_makefile dlls
/msadp32.acm enable_msadp32_acm
21495 wine_fn_config_makefile dlls
/msasn1 enable_msasn1
21496 wine_fn_config_makefile dlls
/msasn
1/tests enable_tests
21497 wine_fn_config_makefile dlls
/mscat32 enable_mscat32
21498 wine_fn_config_makefile dlls
/mscms enable_mscms
21499 wine_fn_config_makefile dlls
/mscms
/tests enable_tests
21500 wine_fn_config_makefile dlls
/mscoree enable_mscoree
21501 wine_fn_config_makefile dlls
/mscoree
/tests enable_tests
21502 wine_fn_config_makefile dlls
/mscorwks enable_mscorwks
21503 wine_fn_config_makefile dlls
/msctf enable_msctf
21504 wine_fn_config_makefile dlls
/msctf
/tests enable_tests
21505 wine_fn_config_makefile dlls
/msctfmonitor enable_msctfmonitor
21506 wine_fn_config_makefile dlls
/msctfp enable_msctfp
21507 wine_fn_config_makefile dlls
/msdaps enable_msdaps
21508 wine_fn_config_makefile dlls
/msdasql enable_msdasql
21509 wine_fn_config_makefile dlls
/msdasql
/tests enable_tests
21510 wine_fn_config_makefile dlls
/msdelta enable_msdelta
21511 wine_fn_config_makefile dlls
/msdmo enable_msdmo
21512 wine_fn_config_makefile dlls
/msdmo
/tests enable_tests
21513 wine_fn_config_makefile dlls
/msdrm enable_msdrm
21514 wine_fn_config_makefile dlls
/msftedit enable_msftedit
21515 wine_fn_config_makefile dlls
/msftedit
/tests enable_tests
21516 wine_fn_config_makefile dlls
/msg711.acm enable_msg711_acm
21517 wine_fn_config_makefile dlls
/msgsm32.acm enable_msgsm32_acm
21518 wine_fn_config_makefile dlls
/mshtml.tlb enable_mshtml_tlb
21519 wine_fn_config_makefile dlls
/mshtml enable_mshtml
21520 wine_fn_config_makefile dlls
/mshtml
/tests enable_tests
21521 wine_fn_config_makefile dlls
/msi enable_msi
21522 wine_fn_config_makefile dlls
/msi
/tests enable_tests
21523 wine_fn_config_makefile dlls
/msident enable_msident
21524 wine_fn_config_makefile dlls
/msimg32 enable_msimg32
21525 wine_fn_config_makefile dlls
/msimsg enable_msimsg
21526 wine_fn_config_makefile dlls
/msimtf enable_msimtf
21527 wine_fn_config_makefile dlls
/msisip enable_msisip
21528 wine_fn_config_makefile dlls
/msisys.ocx enable_msisys_ocx
21529 wine_fn_config_makefile dlls
/msls31 enable_msls31
21530 wine_fn_config_makefile dlls
/msnet32 enable_msnet32
21531 wine_fn_config_makefile dlls
/mspatcha enable_mspatcha
21532 wine_fn_config_makefile dlls
/mspatcha
/tests enable_tests
21533 wine_fn_config_makefile dlls
/msports enable_msports
21534 wine_fn_config_makefile dlls
/msrle32 enable_msrle32
21535 wine_fn_config_makefile dlls
/msrle32
/tests enable_tests
21536 wine_fn_config_makefile dlls
/msscript.ocx enable_msscript_ocx
21537 wine_fn_config_makefile dlls
/msscript.ocx
/tests enable_tests
21538 wine_fn_config_makefile dlls
/mssign32 enable_mssign32
21539 wine_fn_config_makefile dlls
/mssip32 enable_mssip32
21540 wine_fn_config_makefile dlls
/mstask enable_mstask
21541 wine_fn_config_makefile dlls
/mstask
/tests enable_tests
21542 wine_fn_config_makefile dlls
/msv1_0 enable_msv1_0
21543 wine_fn_config_makefile dlls
/msvcirt enable_msvcirt
21544 wine_fn_config_makefile dlls
/msvcirt
/tests enable_tests
21545 wine_fn_config_makefile dlls
/msvcm80 enable_msvcm80
21546 wine_fn_config_makefile dlls
/msvcm90 enable_msvcm90
21547 wine_fn_config_makefile dlls
/msvcp100 enable_msvcp100
21548 wine_fn_config_makefile dlls
/msvcp100
/tests enable_tests
21549 wine_fn_config_makefile dlls
/msvcp110 enable_msvcp110
21550 wine_fn_config_makefile dlls
/msvcp110
/tests enable_tests
21551 wine_fn_config_makefile dlls
/msvcp120 enable_msvcp120
21552 wine_fn_config_makefile dlls
/msvcp120
/tests enable_tests
21553 wine_fn_config_makefile dlls
/msvcp120_app enable_msvcp120_app
21554 wine_fn_config_makefile dlls
/msvcp140 enable_msvcp140
21555 wine_fn_config_makefile dlls
/msvcp140
/tests enable_tests
21556 wine_fn_config_makefile dlls
/msvcp140_1 enable_msvcp140_1
21557 wine_fn_config_makefile dlls
/msvcp140_
1/tests enable_tests
21558 wine_fn_config_makefile dlls
/msvcp140_2 enable_msvcp140_2
21559 wine_fn_config_makefile dlls
/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21560 wine_fn_config_makefile dlls
/msvcp140_atomic_wait
/tests enable_tests
21561 wine_fn_config_makefile dlls
/msvcp60 enable_msvcp60
21562 wine_fn_config_makefile dlls
/msvcp60
/tests enable_tests
21563 wine_fn_config_makefile dlls
/msvcp70 enable_msvcp70
21564 wine_fn_config_makefile dlls
/msvcp71 enable_msvcp71
21565 wine_fn_config_makefile dlls
/msvcp80 enable_msvcp80
21566 wine_fn_config_makefile dlls
/msvcp90 enable_msvcp90
21567 wine_fn_config_makefile dlls
/msvcp90
/tests enable_tests
21568 wine_fn_config_makefile dlls
/msvcp_win enable_msvcp_win
21569 wine_fn_config_makefile dlls
/msvcr100 enable_msvcr100
21570 wine_fn_config_makefile dlls
/msvcr100
/tests enable_tests
21571 wine_fn_config_makefile dlls
/msvcr110 enable_msvcr110
21572 wine_fn_config_makefile dlls
/msvcr110
/tests enable_tests
21573 wine_fn_config_makefile dlls
/msvcr120 enable_msvcr120
21574 wine_fn_config_makefile dlls
/msvcr120
/tests enable_tests
21575 wine_fn_config_makefile dlls
/msvcr120_app enable_msvcr120_app
21576 wine_fn_config_makefile dlls
/msvcr70 enable_msvcr70
21577 wine_fn_config_makefile dlls
/msvcr70
/tests enable_tests
21578 wine_fn_config_makefile dlls
/msvcr71 enable_msvcr71
21579 wine_fn_config_makefile dlls
/msvcr71
/tests enable_tests
21580 wine_fn_config_makefile dlls
/msvcr80 enable_msvcr80
21581 wine_fn_config_makefile dlls
/msvcr80
/tests enable_tests
21582 wine_fn_config_makefile dlls
/msvcr90 enable_msvcr90
21583 wine_fn_config_makefile dlls
/msvcr90
/tests enable_tests
21584 wine_fn_config_makefile dlls
/msvcrt enable_msvcrt
21585 wine_fn_config_makefile dlls
/msvcrt
/tests enable_tests
21586 wine_fn_config_makefile dlls
/msvcrt20 enable_msvcrt20
21587 wine_fn_config_makefile dlls
/msvcrt40 enable_msvcrt40
21588 wine_fn_config_makefile dlls
/msvcrtd enable_msvcrtd
21589 wine_fn_config_makefile dlls
/msvcrtd
/tests enable_tests
21590 wine_fn_config_makefile dlls
/msvfw32 enable_msvfw32
21591 wine_fn_config_makefile dlls
/msvfw32
/tests enable_tests
21592 wine_fn_config_makefile dlls
/msvidc32 enable_msvidc32
21593 wine_fn_config_makefile dlls
/msvideo.dll16 enable_win16
21594 wine_fn_config_makefile dlls
/mswsock enable_mswsock
21595 wine_fn_config_makefile dlls
/msxml enable_msxml
21596 wine_fn_config_makefile dlls
/msxml2 enable_msxml2
21597 wine_fn_config_makefile dlls
/msxml3 enable_msxml3
21598 wine_fn_config_makefile dlls
/msxml
3/tests enable_tests
21599 wine_fn_config_makefile dlls
/msxml4 enable_msxml4
21600 wine_fn_config_makefile dlls
/msxml6 enable_msxml6
21601 wine_fn_config_makefile dlls
/mtxdm enable_mtxdm
21602 wine_fn_config_makefile dlls
/ncrypt enable_ncrypt
21603 wine_fn_config_makefile dlls
/ncrypt
/tests enable_tests
21604 wine_fn_config_makefile dlls
/nddeapi enable_nddeapi
21605 wine_fn_config_makefile dlls
/ndis.sys enable_ndis_sys
21606 wine_fn_config_makefile dlls
/ndis.sys
/tests enable_tests
21607 wine_fn_config_makefile dlls
/netapi32 enable_netapi32
21608 wine_fn_config_makefile dlls
/netapi32
/tests enable_tests
21609 wine_fn_config_makefile dlls
/netcfgx enable_netcfgx
21610 wine_fn_config_makefile dlls
/netcfgx
/tests enable_tests
21611 wine_fn_config_makefile dlls
/netio.sys enable_netio_sys
21612 wine_fn_config_makefile dlls
/netprofm enable_netprofm
21613 wine_fn_config_makefile dlls
/netprofm
/tests enable_tests
21614 wine_fn_config_makefile dlls
/netutils enable_netutils
21615 wine_fn_config_makefile dlls
/newdev enable_newdev
21616 wine_fn_config_makefile dlls
/ninput enable_ninput
21617 wine_fn_config_makefile dlls
/ninput
/tests enable_tests
21618 wine_fn_config_makefile dlls
/normaliz enable_normaliz
21619 wine_fn_config_makefile dlls
/npmshtml enable_npmshtml
21620 wine_fn_config_makefile dlls
/npptools enable_npptools
21621 wine_fn_config_makefile dlls
/nsi enable_nsi
21622 wine_fn_config_makefile dlls
/nsi
/tests enable_tests
21623 wine_fn_config_makefile dlls
/nsiproxy.sys enable_nsiproxy_sys
21624 wine_fn_config_makefile dlls
/ntdll enable_ntdll
21625 wine_fn_config_makefile dlls
/ntdll
/tests enable_tests
21626 wine_fn_config_makefile dlls
/ntdsapi enable_ntdsapi
21627 wine_fn_config_makefile dlls
/ntdsapi
/tests enable_tests
21628 wine_fn_config_makefile dlls
/ntoskrnl.exe enable_ntoskrnl_exe
21629 wine_fn_config_makefile dlls
/ntoskrnl.exe
/tests enable_tests
21630 wine_fn_config_makefile dlls
/ntprint enable_ntprint
21631 wine_fn_config_makefile dlls
/ntprint
/tests enable_tests
21632 wine_fn_config_makefile dlls
/objsel enable_objsel
21633 wine_fn_config_makefile dlls
/odbc32 enable_odbc32
21634 wine_fn_config_makefile dlls
/odbcbcp enable_odbcbcp
21635 wine_fn_config_makefile dlls
/odbccp32 enable_odbccp32
21636 wine_fn_config_makefile dlls
/odbccp32
/tests enable_tests
21637 wine_fn_config_makefile dlls
/odbccu32 enable_odbccu32
21638 wine_fn_config_makefile dlls
/ole2.dll16 enable_win16
21639 wine_fn_config_makefile dlls
/ole2conv.dll16 enable_win16
21640 wine_fn_config_makefile dlls
/ole2disp.dll16 enable_win16
21641 wine_fn_config_makefile dlls
/ole2nls.dll16 enable_win16
21642 wine_fn_config_makefile dlls
/ole2prox.dll16 enable_win16
21643 wine_fn_config_makefile dlls
/ole2thk.dll16 enable_win16
21644 wine_fn_config_makefile dlls
/ole32 enable_ole32
21645 wine_fn_config_makefile dlls
/ole32
/tests enable_tests
21646 wine_fn_config_makefile dlls
/oleacc enable_oleacc
21647 wine_fn_config_makefile dlls
/oleacc
/tests enable_tests
21648 wine_fn_config_makefile dlls
/oleaut32 enable_oleaut32
21649 wine_fn_config_makefile dlls
/oleaut32
/tests enable_tests
21650 wine_fn_config_makefile dlls
/olecli.dll16 enable_win16
21651 wine_fn_config_makefile dlls
/olecli32 enable_olecli32
21652 wine_fn_config_makefile dlls
/oledb32 enable_oledb32
21653 wine_fn_config_makefile dlls
/oledb32
/tests enable_tests
21654 wine_fn_config_makefile dlls
/oledlg enable_oledlg
21655 wine_fn_config_makefile dlls
/oledlg
/tests enable_tests
21656 wine_fn_config_makefile dlls
/olepro32 enable_olepro32
21657 wine_fn_config_makefile dlls
/olesvr.dll16 enable_win16
21658 wine_fn_config_makefile dlls
/olesvr32 enable_olesvr32
21659 wine_fn_config_makefile dlls
/olethk32 enable_olethk32
21660 wine_fn_config_makefile dlls
/opcservices enable_opcservices
21661 wine_fn_config_makefile dlls
/opcservices
/tests enable_tests
21662 wine_fn_config_makefile dlls
/opencl enable_opencl
21663 wine_fn_config_makefile dlls
/opengl32 enable_opengl32
21664 wine_fn_config_makefile dlls
/opengl32
/tests enable_tests
21665 wine_fn_config_makefile dlls
/packager enable_packager
21666 wine_fn_config_makefile dlls
/packager
/tests enable_tests
21667 wine_fn_config_makefile dlls
/pdh enable_pdh
21668 wine_fn_config_makefile dlls
/pdh
/tests enable_tests
21669 wine_fn_config_makefile dlls
/photometadatahandler enable_photometadatahandler
21670 wine_fn_config_makefile dlls
/pidgen enable_pidgen
21671 wine_fn_config_makefile dlls
/powrprof enable_powrprof
21672 wine_fn_config_makefile dlls
/printui enable_printui
21673 wine_fn_config_makefile dlls
/prntvpt enable_prntvpt
21674 wine_fn_config_makefile dlls
/prntvpt
/tests enable_tests
21675 wine_fn_config_makefile dlls
/propsys enable_propsys
21676 wine_fn_config_makefile dlls
/propsys
/tests enable_tests
21677 wine_fn_config_makefile dlls
/psapi enable_psapi
21678 wine_fn_config_makefile dlls
/psapi
/tests enable_tests
21679 wine_fn_config_makefile dlls
/pstorec enable_pstorec
21680 wine_fn_config_makefile dlls
/pstorec
/tests enable_tests
21681 wine_fn_config_makefile dlls
/pwrshplugin enable_pwrshplugin
21682 wine_fn_config_makefile dlls
/qasf enable_qasf
21683 wine_fn_config_makefile dlls
/qasf
/tests enable_tests
21684 wine_fn_config_makefile dlls
/qcap enable_qcap
21685 wine_fn_config_makefile dlls
/qcap
/tests enable_tests
21686 wine_fn_config_makefile dlls
/qdvd enable_qdvd
21687 wine_fn_config_makefile dlls
/qdvd
/tests enable_tests
21688 wine_fn_config_makefile dlls
/qedit enable_qedit
21689 wine_fn_config_makefile dlls
/qedit
/tests enable_tests
21690 wine_fn_config_makefile dlls
/qmgr enable_qmgr
21691 wine_fn_config_makefile dlls
/qmgr
/tests enable_tests
21692 wine_fn_config_makefile dlls
/qmgrprxy enable_qmgrprxy
21693 wine_fn_config_makefile dlls
/quartz enable_quartz
21694 wine_fn_config_makefile dlls
/quartz
/tests enable_tests
21695 wine_fn_config_makefile dlls
/query enable_query
21696 wine_fn_config_makefile dlls
/qwave enable_qwave
21697 wine_fn_config_makefile dlls
/qwave
/tests enable_tests
21698 wine_fn_config_makefile dlls
/rasapi16.dll16 enable_win16
21699 wine_fn_config_makefile dlls
/rasapi32 enable_rasapi32
21700 wine_fn_config_makefile dlls
/rasapi32
/tests enable_tests
21701 wine_fn_config_makefile dlls
/rasdlg enable_rasdlg
21702 wine_fn_config_makefile dlls
/regapi enable_regapi
21703 wine_fn_config_makefile dlls
/resutils enable_resutils
21704 wine_fn_config_makefile dlls
/riched20 enable_riched20
21705 wine_fn_config_makefile dlls
/riched20
/tests enable_tests
21706 wine_fn_config_makefile dlls
/riched32 enable_riched32
21707 wine_fn_config_makefile dlls
/riched32
/tests enable_tests
21708 wine_fn_config_makefile dlls
/rpcrt4 enable_rpcrt4
21709 wine_fn_config_makefile dlls
/rpcrt
4/tests enable_tests
21710 wine_fn_config_makefile dlls
/rsabase enable_rsabase
21711 wine_fn_config_makefile dlls
/rsaenh enable_rsaenh
21712 wine_fn_config_makefile dlls
/rsaenh
/tests enable_tests
21713 wine_fn_config_makefile dlls
/rstrtmgr enable_rstrtmgr
21714 wine_fn_config_makefile dlls
/rtutils enable_rtutils
21715 wine_fn_config_makefile dlls
/rtworkq enable_rtworkq
21716 wine_fn_config_makefile dlls
/rtworkq
/tests enable_tests
21717 wine_fn_config_makefile dlls
/samlib enable_samlib
21718 wine_fn_config_makefile dlls
/sane.ds enable_sane_ds
21719 wine_fn_config_makefile dlls
/sapi enable_sapi
21720 wine_fn_config_makefile dlls
/sapi
/tests enable_tests
21721 wine_fn_config_makefile dlls
/sas enable_sas
21722 wine_fn_config_makefile dlls
/scarddlg enable_scarddlg
21723 wine_fn_config_makefile dlls
/sccbase enable_sccbase
21724 wine_fn_config_makefile dlls
/schannel enable_schannel
21725 wine_fn_config_makefile dlls
/schannel
/tests enable_tests
21726 wine_fn_config_makefile dlls
/schedsvc enable_schedsvc
21727 wine_fn_config_makefile dlls
/schedsvc
/tests enable_tests
21728 wine_fn_config_makefile dlls
/scrobj enable_scrobj
21729 wine_fn_config_makefile dlls
/scrobj
/tests enable_tests
21730 wine_fn_config_makefile dlls
/scrrun enable_scrrun
21731 wine_fn_config_makefile dlls
/scrrun
/tests enable_tests
21732 wine_fn_config_makefile dlls
/scsiport.sys enable_scsiport_sys
21733 wine_fn_config_makefile dlls
/sechost enable_sechost
21734 wine_fn_config_makefile dlls
/secur32 enable_secur32
21735 wine_fn_config_makefile dlls
/secur32
/tests enable_tests
21736 wine_fn_config_makefile dlls
/security enable_security
21737 wine_fn_config_makefile dlls
/sensapi enable_sensapi
21738 wine_fn_config_makefile dlls
/serialui enable_serialui
21739 wine_fn_config_makefile dlls
/serialui
/tests enable_tests
21740 wine_fn_config_makefile dlls
/setupapi enable_setupapi
21741 wine_fn_config_makefile dlls
/setupapi
/tests enable_tests
21742 wine_fn_config_makefile dlls
/setupx.dll16 enable_win16
21743 wine_fn_config_makefile dlls
/sfc enable_sfc
21744 wine_fn_config_makefile dlls
/sfc_os enable_sfc_os
21745 wine_fn_config_makefile dlls
/shcore enable_shcore
21746 wine_fn_config_makefile dlls
/shcore
/tests enable_tests
21747 wine_fn_config_makefile dlls
/shdoclc enable_shdoclc
21748 wine_fn_config_makefile dlls
/shdocvw enable_shdocvw
21749 wine_fn_config_makefile dlls
/shdocvw
/tests enable_tests
21750 wine_fn_config_makefile dlls
/shell.dll16 enable_win16
21751 wine_fn_config_makefile dlls
/shell32 enable_shell32
21752 wine_fn_config_makefile dlls
/shell32
/tests enable_tests
21753 wine_fn_config_makefile dlls
/shfolder enable_shfolder
21754 wine_fn_config_makefile dlls
/shlwapi enable_shlwapi
21755 wine_fn_config_makefile dlls
/shlwapi
/tests enable_tests
21756 wine_fn_config_makefile dlls
/slbcsp enable_slbcsp
21757 wine_fn_config_makefile dlls
/slc enable_slc
21758 wine_fn_config_makefile dlls
/slc
/tests enable_tests
21759 wine_fn_config_makefile dlls
/snmpapi enable_snmpapi
21760 wine_fn_config_makefile dlls
/snmpapi
/tests enable_tests
21761 wine_fn_config_makefile dlls
/softpub enable_softpub
21762 wine_fn_config_makefile dlls
/sound.drv16 enable_win16
21763 wine_fn_config_makefile dlls
/spoolss enable_spoolss
21764 wine_fn_config_makefile dlls
/spoolss
/tests enable_tests
21765 wine_fn_config_makefile dlls
/sppc enable_sppc
21766 wine_fn_config_makefile dlls
/srclient enable_srclient
21767 wine_fn_config_makefile dlls
/srvcli enable_srvcli
21768 wine_fn_config_makefile dlls
/sspicli enable_sspicli
21769 wine_fn_config_makefile dlls
/stdole2.tlb enable_stdole2_tlb
21770 wine_fn_config_makefile dlls
/stdole32.tlb enable_stdole32_tlb
21771 wine_fn_config_makefile dlls
/sti enable_sti
21772 wine_fn_config_makefile dlls
/sti
/tests enable_tests
21773 wine_fn_config_makefile dlls
/storage.dll16 enable_win16
21774 wine_fn_config_makefile dlls
/stress.dll16 enable_win16
21775 wine_fn_config_makefile dlls
/strmdll enable_strmdll
21776 wine_fn_config_makefile dlls
/svrapi enable_svrapi
21777 wine_fn_config_makefile dlls
/sxs enable_sxs
21778 wine_fn_config_makefile dlls
/sxs
/tests enable_tests
21779 wine_fn_config_makefile dlls
/system.drv16 enable_win16
21780 wine_fn_config_makefile dlls
/t2embed enable_t2embed
21781 wine_fn_config_makefile dlls
/t2embed
/tests enable_tests
21782 wine_fn_config_makefile dlls
/tapi32 enable_tapi32
21783 wine_fn_config_makefile dlls
/tapi32
/tests enable_tests
21784 wine_fn_config_makefile dlls
/taskschd enable_taskschd
21785 wine_fn_config_makefile dlls
/taskschd
/tests enable_tests
21786 wine_fn_config_makefile dlls
/tbs enable_tbs
21787 wine_fn_config_makefile dlls
/tdh enable_tdh
21788 wine_fn_config_makefile dlls
/tdi.sys enable_tdi_sys
21789 wine_fn_config_makefile dlls
/threadpoolwinrt enable_threadpoolwinrt
21790 wine_fn_config_makefile dlls
/threadpoolwinrt
/tests enable_tests
21791 wine_fn_config_makefile dlls
/toolhelp.dll16 enable_win16
21792 wine_fn_config_makefile dlls
/traffic enable_traffic
21793 wine_fn_config_makefile dlls
/twain.dll16 enable_win16
21794 wine_fn_config_makefile dlls
/twain_32 enable_twain_32
21795 wine_fn_config_makefile dlls
/twain_32
/tests enable_tests
21796 wine_fn_config_makefile dlls
/typelib.dll16 enable_win16
21797 wine_fn_config_makefile dlls
/tzres enable_tzres
21798 wine_fn_config_makefile dlls
/ucrtbase enable_ucrtbase
21799 wine_fn_config_makefile dlls
/ucrtbase
/tests enable_tests
21800 wine_fn_config_makefile dlls
/uianimation enable_uianimation
21801 wine_fn_config_makefile dlls
/uianimation
/tests enable_tests
21802 wine_fn_config_makefile dlls
/uiautomationcore enable_uiautomationcore
21803 wine_fn_config_makefile dlls
/uiautomationcore
/tests enable_tests
21804 wine_fn_config_makefile dlls
/uiribbon enable_uiribbon
21805 wine_fn_config_makefile dlls
/unicows enable_unicows
21806 wine_fn_config_makefile dlls
/updspapi enable_updspapi
21807 wine_fn_config_makefile dlls
/url enable_url
21808 wine_fn_config_makefile dlls
/urlmon enable_urlmon
21809 wine_fn_config_makefile dlls
/urlmon
/tests enable_tests
21810 wine_fn_config_makefile dlls
/usbd.sys enable_usbd_sys
21811 wine_fn_config_makefile dlls
/user.exe16 enable_win16
21812 wine_fn_config_makefile dlls
/user32 enable_user32
21813 wine_fn_config_makefile dlls
/user32
/tests enable_tests
21814 wine_fn_config_makefile dlls
/userenv enable_userenv
21815 wine_fn_config_makefile dlls
/userenv
/tests enable_tests
21816 wine_fn_config_makefile dlls
/usp10 enable_usp10
21817 wine_fn_config_makefile dlls
/usp10
/tests enable_tests
21818 wine_fn_config_makefile dlls
/utildll enable_utildll
21819 wine_fn_config_makefile dlls
/uxtheme enable_uxtheme
21820 wine_fn_config_makefile dlls
/uxtheme
/tests enable_tests
21821 wine_fn_config_makefile dlls
/vbscript enable_vbscript
21822 wine_fn_config_makefile dlls
/vbscript
/tests enable_tests
21823 wine_fn_config_makefile dlls
/vcomp enable_vcomp
21824 wine_fn_config_makefile dlls
/vcomp
/tests enable_tests
21825 wine_fn_config_makefile dlls
/vcomp100 enable_vcomp100
21826 wine_fn_config_makefile dlls
/vcomp110 enable_vcomp110
21827 wine_fn_config_makefile dlls
/vcomp110
/tests enable_tests
21828 wine_fn_config_makefile dlls
/vcomp120 enable_vcomp120
21829 wine_fn_config_makefile dlls
/vcomp140 enable_vcomp140
21830 wine_fn_config_makefile dlls
/vcomp90 enable_vcomp90
21831 wine_fn_config_makefile dlls
/vcruntime140 enable_vcruntime140
21832 wine_fn_config_makefile dlls
/vcruntime140_1 enable_vcruntime140_1
21833 wine_fn_config_makefile dlls
/vdhcp.vxd enable_win16
21834 wine_fn_config_makefile dlls
/vdmdbg enable_vdmdbg
21835 wine_fn_config_makefile dlls
/ver.dll16 enable_win16
21836 wine_fn_config_makefile dlls
/version enable_version
21837 wine_fn_config_makefile dlls
/version
/tests enable_tests
21838 wine_fn_config_makefile dlls
/vga enable_vga
21839 wine_fn_config_makefile dlls
/virtdisk enable_virtdisk
21840 wine_fn_config_makefile dlls
/virtdisk
/tests enable_tests
21841 wine_fn_config_makefile dlls
/vmm.vxd enable_win16
21842 wine_fn_config_makefile dlls
/vnbt.vxd enable_win16
21843 wine_fn_config_makefile dlls
/vnetbios.vxd enable_win16
21844 wine_fn_config_makefile dlls
/vssapi enable_vssapi
21845 wine_fn_config_makefile dlls
/vtdapi.vxd enable_win16
21846 wine_fn_config_makefile dlls
/vulkan-1 enable_vulkan_1
21847 wine_fn_config_makefile dlls
/vulkan-
1/tests enable_tests
21848 wine_fn_config_makefile dlls
/vwin32.vxd enable_win16
21849 wine_fn_config_makefile dlls
/w32skrnl enable_win16
21850 wine_fn_config_makefile dlls
/w32sys.dll16 enable_win16
21851 wine_fn_config_makefile dlls
/wbemdisp enable_wbemdisp
21852 wine_fn_config_makefile dlls
/wbemdisp
/tests enable_tests
21853 wine_fn_config_makefile dlls
/wbemprox enable_wbemprox
21854 wine_fn_config_makefile dlls
/wbemprox
/tests enable_tests
21855 wine_fn_config_makefile dlls
/wdscore enable_wdscore
21856 wine_fn_config_makefile dlls
/webservices enable_webservices
21857 wine_fn_config_makefile dlls
/webservices
/tests enable_tests
21858 wine_fn_config_makefile dlls
/websocket enable_websocket
21859 wine_fn_config_makefile dlls
/wer enable_wer
21860 wine_fn_config_makefile dlls
/wer
/tests enable_tests
21861 wine_fn_config_makefile dlls
/wevtapi enable_wevtapi
21862 wine_fn_config_makefile dlls
/wevtapi
/tests enable_tests
21863 wine_fn_config_makefile dlls
/wevtsvc enable_wevtsvc
21864 wine_fn_config_makefile dlls
/wiaservc enable_wiaservc
21865 wine_fn_config_makefile dlls
/wiaservc
/tests enable_tests
21866 wine_fn_config_makefile dlls
/wimgapi enable_wimgapi
21867 wine_fn_config_makefile dlls
/win32s16.dll16 enable_win16
21868 wine_fn_config_makefile dlls
/win32u enable_win32u
21869 wine_fn_config_makefile dlls
/win32u
/tests enable_tests
21870 wine_fn_config_makefile dlls
/win87em.dll16 enable_win16
21871 wine_fn_config_makefile dlls
/winaspi.dll16 enable_win16
21872 wine_fn_config_makefile dlls
/windebug.dll16 enable_win16
21873 wine_fn_config_makefile dlls
/windows.devices.enumeration enable_windows_devices_enumeration
21874 wine_fn_config_makefile dlls
/windows.devices.enumeration
/tests enable_tests
21875 wine_fn_config_makefile dlls
/windows.gaming.input enable_windows_gaming_input
21876 wine_fn_config_makefile dlls
/windows.gaming.input
/tests enable_tests
21877 wine_fn_config_makefile dlls
/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
21878 wine_fn_config_makefile dlls
/windows.gaming.ui.gamebar
/tests enable_tests
21879 wine_fn_config_makefile dlls
/windows.globalization enable_windows_globalization
21880 wine_fn_config_makefile dlls
/windows.globalization
/tests enable_tests
21881 wine_fn_config_makefile dlls
/windows.media.devices enable_windows_media_devices
21882 wine_fn_config_makefile dlls
/windows.media.devices
/tests enable_tests
21883 wine_fn_config_makefile dlls
/windows.media.speech enable_windows_media_speech
21884 wine_fn_config_makefile dlls
/windows.media.speech
/tests enable_tests
21885 wine_fn_config_makefile dlls
/windows.networking enable_windows_networking
21886 wine_fn_config_makefile dlls
/windowscodecs enable_windowscodecs
21887 wine_fn_config_makefile dlls
/windowscodecs
/tests enable_tests
21888 wine_fn_config_makefile dlls
/windowscodecsext enable_windowscodecsext
21889 wine_fn_config_makefile dlls
/windowscodecsext
/tests enable_tests
21890 wine_fn_config_makefile dlls
/winealsa.drv enable_winealsa_drv
21891 wine_fn_config_makefile dlls
/wineandroid.drv enable_wineandroid_drv
21892 wine_fn_config_makefile dlls
/winebus.sys enable_winebus_sys
21893 wine_fn_config_makefile dlls
/winecoreaudio.drv enable_winecoreaudio_drv
21894 wine_fn_config_makefile dlls
/winecrt0 enable_winecrt0
21895 wine_fn_config_makefile dlls
/wined3d enable_wined3d
21896 wine_fn_config_makefile dlls
/winegstreamer enable_winegstreamer
21897 wine_fn_config_makefile dlls
/winehid.sys enable_winehid_sys
21898 wine_fn_config_makefile dlls
/winemac.drv enable_winemac_drv
21899 wine_fn_config_makefile dlls
/winemapi enable_winemapi
21900 wine_fn_config_makefile dlls
/wineoss.drv enable_wineoss_drv
21901 wine_fn_config_makefile dlls
/wineps.drv enable_wineps_drv
21902 wine_fn_config_makefile dlls
/wineps16.drv16 enable_win16
21903 wine_fn_config_makefile dlls
/winepulse.drv enable_winepulse_drv
21904 wine_fn_config_makefile dlls
/wineusb.sys enable_wineusb_sys
21905 wine_fn_config_makefile dlls
/winevulkan enable_winevulkan
21906 wine_fn_config_makefile dlls
/winex11.drv enable_winex11_drv
21907 wine_fn_config_makefile dlls
/winexinput.sys enable_winexinput_sys
21908 wine_fn_config_makefile dlls
/wing.dll16 enable_win16
21909 wine_fn_config_makefile dlls
/wing32 enable_wing32
21910 wine_fn_config_makefile dlls
/winhttp enable_winhttp
21911 wine_fn_config_makefile dlls
/winhttp
/tests enable_tests
21912 wine_fn_config_makefile dlls
/wininet enable_wininet
21913 wine_fn_config_makefile dlls
/wininet
/tests enable_tests
21914 wine_fn_config_makefile dlls
/winmm enable_winmm
21915 wine_fn_config_makefile dlls
/winmm
/tests enable_tests
21916 wine_fn_config_makefile dlls
/winnls.dll16 enable_win16
21917 wine_fn_config_makefile dlls
/winnls32 enable_winnls32
21918 wine_fn_config_makefile dlls
/winscard enable_winscard
21919 wine_fn_config_makefile dlls
/winsock.dll16 enable_win16
21920 wine_fn_config_makefile dlls
/winspool.drv enable_winspool_drv
21921 wine_fn_config_makefile dlls
/winspool.drv
/tests enable_tests
21922 wine_fn_config_makefile dlls
/winsta enable_winsta
21923 wine_fn_config_makefile dlls
/wintab.dll16 enable_win16
21924 wine_fn_config_makefile dlls
/wintab32 enable_wintab32
21925 wine_fn_config_makefile dlls
/wintab32
/tests enable_tests
21926 wine_fn_config_makefile dlls
/wintrust enable_wintrust
21927 wine_fn_config_makefile dlls
/wintrust
/tests enable_tests
21928 wine_fn_config_makefile dlls
/wintypes enable_wintypes
21929 wine_fn_config_makefile dlls
/wintypes
/tests enable_tests
21930 wine_fn_config_makefile dlls
/winusb enable_winusb
21931 wine_fn_config_makefile dlls
/wlanapi enable_wlanapi
21932 wine_fn_config_makefile dlls
/wlanapi
/tests enable_tests
21933 wine_fn_config_makefile dlls
/wlanui enable_wlanui
21934 wine_fn_config_makefile dlls
/wldap32 enable_wldap32
21935 wine_fn_config_makefile dlls
/wldap32
/tests enable_tests
21936 wine_fn_config_makefile dlls
/wmasf enable_wmasf
21937 wine_fn_config_makefile dlls
/wmi enable_wmi
21938 wine_fn_config_makefile dlls
/wmiutils enable_wmiutils
21939 wine_fn_config_makefile dlls
/wmiutils
/tests enable_tests
21940 wine_fn_config_makefile dlls
/wmp enable_wmp
21941 wine_fn_config_makefile dlls
/wmp
/tests enable_tests
21942 wine_fn_config_makefile dlls
/wmphoto enable_wmphoto
21943 wine_fn_config_makefile dlls
/wmvcore enable_wmvcore
21944 wine_fn_config_makefile dlls
/wmvcore
/tests enable_tests
21945 wine_fn_config_makefile dlls
/wnaspi32 enable_wnaspi32
21946 wine_fn_config_makefile dlls
/wow32 enable_win16
21947 wine_fn_config_makefile dlls
/wow64 enable_wow64
21948 wine_fn_config_makefile dlls
/wow64cpu enable_wow64cpu
21949 wine_fn_config_makefile dlls
/wow64win enable_wow64win
21950 wine_fn_config_makefile dlls
/wpc enable_wpc
21951 wine_fn_config_makefile dlls
/wpc
/tests enable_tests
21952 wine_fn_config_makefile dlls
/wpcap enable_wpcap
21953 wine_fn_config_makefile dlls
/ws2_32 enable_ws2_32
21954 wine_fn_config_makefile dlls
/ws2_32
/tests enable_tests
21955 wine_fn_config_makefile dlls
/wsdapi enable_wsdapi
21956 wine_fn_config_makefile dlls
/wsdapi
/tests enable_tests
21957 wine_fn_config_makefile dlls
/wshom.ocx enable_wshom_ocx
21958 wine_fn_config_makefile dlls
/wshom.ocx
/tests enable_tests
21959 wine_fn_config_makefile dlls
/wsnmp32 enable_wsnmp32
21960 wine_fn_config_makefile dlls
/wsnmp32
/tests enable_tests
21961 wine_fn_config_makefile dlls
/wsock32 enable_wsock32
21962 wine_fn_config_makefile dlls
/wtsapi32 enable_wtsapi32
21963 wine_fn_config_makefile dlls
/wtsapi32
/tests enable_tests
21964 wine_fn_config_makefile dlls
/wuapi enable_wuapi
21965 wine_fn_config_makefile dlls
/wuaueng enable_wuaueng
21966 wine_fn_config_makefile dlls
/x3daudio1_0 enable_x3daudio1_0
21967 wine_fn_config_makefile dlls
/x3daudio1_1 enable_x3daudio1_1
21968 wine_fn_config_makefile dlls
/x3daudio1_2 enable_x3daudio1_2
21969 wine_fn_config_makefile dlls
/x3daudio1_3 enable_x3daudio1_3
21970 wine_fn_config_makefile dlls
/x3daudio1_4 enable_x3daudio1_4
21971 wine_fn_config_makefile dlls
/x3daudio1_5 enable_x3daudio1_5
21972 wine_fn_config_makefile dlls
/x3daudio1_6 enable_x3daudio1_6
21973 wine_fn_config_makefile dlls
/x3daudio1_7 enable_x3daudio1_7
21974 wine_fn_config_makefile dlls
/xactengine2_0 enable_xactengine2_0
21975 wine_fn_config_makefile dlls
/xactengine2_4 enable_xactengine2_4
21976 wine_fn_config_makefile dlls
/xactengine2_7 enable_xactengine2_7
21977 wine_fn_config_makefile dlls
/xactengine2_9 enable_xactengine2_9
21978 wine_fn_config_makefile dlls
/xactengine3_0 enable_xactengine3_0
21979 wine_fn_config_makefile dlls
/xactengine3_1 enable_xactengine3_1
21980 wine_fn_config_makefile dlls
/xactengine3_2 enable_xactengine3_2
21981 wine_fn_config_makefile dlls
/xactengine3_3 enable_xactengine3_3
21982 wine_fn_config_makefile dlls
/xactengine3_4 enable_xactengine3_4
21983 wine_fn_config_makefile dlls
/xactengine3_5 enable_xactengine3_5
21984 wine_fn_config_makefile dlls
/xactengine3_6 enable_xactengine3_6
21985 wine_fn_config_makefile dlls
/xactengine3_7 enable_xactengine3_7
21986 wine_fn_config_makefile dlls
/xactengine3_
7/tests enable_tests
21987 wine_fn_config_makefile dlls
/xapofx1_1 enable_xapofx1_1
21988 wine_fn_config_makefile dlls
/xapofx1_2 enable_xapofx1_2
21989 wine_fn_config_makefile dlls
/xapofx1_3 enable_xapofx1_3
21990 wine_fn_config_makefile dlls
/xapofx1_4 enable_xapofx1_4
21991 wine_fn_config_makefile dlls
/xapofx1_5 enable_xapofx1_5
21992 wine_fn_config_makefile dlls
/xaudio2_0 enable_xaudio2_0
21993 wine_fn_config_makefile dlls
/xaudio2_1 enable_xaudio2_1
21994 wine_fn_config_makefile dlls
/xaudio2_2 enable_xaudio2_2
21995 wine_fn_config_makefile dlls
/xaudio2_3 enable_xaudio2_3
21996 wine_fn_config_makefile dlls
/xaudio2_4 enable_xaudio2_4
21997 wine_fn_config_makefile dlls
/xaudio2_5 enable_xaudio2_5
21998 wine_fn_config_makefile dlls
/xaudio2_6 enable_xaudio2_6
21999 wine_fn_config_makefile dlls
/xaudio2_7 enable_xaudio2_7
22000 wine_fn_config_makefile dlls
/xaudio2_
7/tests enable_tests
22001 wine_fn_config_makefile dlls
/xaudio2_8 enable_xaudio2_8
22002 wine_fn_config_makefile dlls
/xaudio2_9 enable_xaudio2_9
22003 wine_fn_config_makefile dlls
/xinput1_1 enable_xinput1_1
22004 wine_fn_config_makefile dlls
/xinput1_2 enable_xinput1_2
22005 wine_fn_config_makefile dlls
/xinput1_3 enable_xinput1_3
22006 wine_fn_config_makefile dlls
/xinput1_
3/tests enable_tests
22007 wine_fn_config_makefile dlls
/xinput1_4 enable_xinput1_4
22008 wine_fn_config_makefile dlls
/xinput9_1_0 enable_xinput9_1_0
22009 wine_fn_config_makefile dlls
/xmllite enable_xmllite
22010 wine_fn_config_makefile dlls
/xmllite
/tests enable_tests
22011 wine_fn_config_makefile dlls
/xolehlp enable_xolehlp
22012 wine_fn_config_makefile dlls
/xpsprint enable_xpsprint
22013 wine_fn_config_makefile dlls
/xpssvcs enable_xpssvcs
22014 wine_fn_config_makefile fonts enable_fonts
22015 wine_fn_config_makefile include enable_include
22016 wine_fn_config_makefile libs
/adsiid enable_adsiid
22017 wine_fn_config_makefile libs
/dmoguids enable_dmoguids
22018 wine_fn_config_makefile libs
/dxerr8 enable_dxerr8
22019 wine_fn_config_makefile libs
/dxerr9 enable_dxerr9
22020 wine_fn_config_makefile libs
/dxguid enable_dxguid
22021 wine_fn_config_makefile libs
/faudio enable_faudio
22022 wine_fn_config_makefile libs
/gsm enable_gsm
22023 wine_fn_config_makefile libs
/jpeg enable_jpeg
22024 wine_fn_config_makefile libs
/jxr enable_jxr
22025 wine_fn_config_makefile libs
/lcms2 enable_lcms2
22026 wine_fn_config_makefile libs
/ldap enable_ldap
22027 wine_fn_config_makefile libs
/mfuuid enable_mfuuid
22028 wine_fn_config_makefile libs
/mpg123 enable_mpg123
22029 wine_fn_config_makefile libs
/png enable_png
22030 wine_fn_config_makefile libs
/strmbase enable_strmbase
22031 wine_fn_config_makefile libs
/strmiids enable_strmiids
22032 wine_fn_config_makefile libs
/tiff enable_tiff
22033 wine_fn_config_makefile libs
/uuid enable_uuid
22034 wine_fn_config_makefile libs
/vkd3d enable_vkd3d
22035 wine_fn_config_makefile libs
/wbemuuid enable_wbemuuid
22036 wine_fn_config_makefile libs
/wine enable_wine
22037 wine_fn_config_makefile libs
/wmcodecdspuuid enable_wmcodecdspuuid
22038 wine_fn_config_makefile libs
/xml2 enable_xml2
22039 wine_fn_config_makefile libs
/xslt enable_xslt
22040 wine_fn_config_makefile libs
/zlib enable_zlib
22041 wine_fn_config_makefile loader enable_loader
22042 wine_fn_config_makefile nls enable_nls
22043 wine_fn_config_makefile po enable_po
22044 wine_fn_config_makefile programs
/arp enable_arp
22045 wine_fn_config_makefile programs
/aspnet_regiis enable_aspnet_regiis
22046 wine_fn_config_makefile programs
/attrib enable_attrib
22047 wine_fn_config_makefile programs
/cabarc enable_cabarc
22048 wine_fn_config_makefile programs
/cacls enable_cacls
22049 wine_fn_config_makefile programs
/certutil enable_certutil
22050 wine_fn_config_makefile programs
/chcp.com enable_chcp_com
22051 wine_fn_config_makefile programs
/clock enable_clock
22052 wine_fn_config_makefile programs
/cmd enable_cmd
22053 wine_fn_config_makefile programs
/cmd
/tests enable_tests
22054 wine_fn_config_makefile programs
/conhost enable_conhost
22055 wine_fn_config_makefile programs
/conhost
/tests enable_tests
22056 wine_fn_config_makefile programs
/control enable_control
22057 wine_fn_config_makefile programs
/cscript enable_cscript
22058 wine_fn_config_makefile programs
/dism enable_dism
22059 wine_fn_config_makefile programs
/dllhost enable_dllhost
22060 wine_fn_config_makefile programs
/dplaysvr enable_dplaysvr
22061 wine_fn_config_makefile programs
/dpnsvr enable_dpnsvr
22062 wine_fn_config_makefile programs
/dpvsetup enable_dpvsetup
22063 wine_fn_config_makefile programs
/dxdiag enable_dxdiag
22064 wine_fn_config_makefile programs
/eject enable_eject
22065 wine_fn_config_makefile programs
/expand enable_expand
22066 wine_fn_config_makefile programs
/explorer enable_explorer
22067 wine_fn_config_makefile programs
/explorer
/tests enable_tests
22068 wine_fn_config_makefile programs
/extrac32 enable_extrac32
22069 wine_fn_config_makefile programs
/fc enable_fc
22070 wine_fn_config_makefile programs
/find enable_find
22071 wine_fn_config_makefile programs
/find
/tests enable_tests
22072 wine_fn_config_makefile programs
/findstr enable_findstr
22073 wine_fn_config_makefile programs
/fsutil enable_fsutil
22074 wine_fn_config_makefile programs
/fsutil
/tests enable_tests
22075 wine_fn_config_makefile programs
/hh enable_hh
22076 wine_fn_config_makefile programs
/hostname enable_hostname
22077 wine_fn_config_makefile programs
/icacls enable_icacls
22078 wine_fn_config_makefile programs
/icinfo enable_icinfo
22079 wine_fn_config_makefile programs
/iexplore enable_iexplore
22080 wine_fn_config_makefile programs
/ipconfig enable_ipconfig
22081 wine_fn_config_makefile programs
/lodctr enable_lodctr
22082 wine_fn_config_makefile programs
/mofcomp enable_mofcomp
22083 wine_fn_config_makefile programs
/mshta enable_mshta
22084 wine_fn_config_makefile programs
/msidb enable_msidb
22085 wine_fn_config_makefile programs
/msiexec enable_msiexec
22086 wine_fn_config_makefile programs
/msinfo32 enable_msinfo32
22087 wine_fn_config_makefile programs
/net enable_net
22088 wine_fn_config_makefile programs
/netsh enable_netsh
22089 wine_fn_config_makefile programs
/netstat enable_netstat
22090 wine_fn_config_makefile programs
/ngen enable_ngen
22091 wine_fn_config_makefile programs
/notepad enable_notepad
22092 wine_fn_config_makefile programs
/oleview enable_oleview
22093 wine_fn_config_makefile programs
/ping enable_ping
22094 wine_fn_config_makefile programs
/plugplay enable_plugplay
22095 wine_fn_config_makefile programs
/powershell enable_powershell
22096 wine_fn_config_makefile programs
/presentationfontcache enable_presentationfontcache
22097 wine_fn_config_makefile programs
/progman enable_progman
22098 wine_fn_config_makefile programs
/reg enable_reg
22099 wine_fn_config_makefile programs
/reg
/tests enable_tests
22100 wine_fn_config_makefile programs
/regasm enable_regasm
22101 wine_fn_config_makefile programs
/regedit enable_regedit
22102 wine_fn_config_makefile programs
/regedit
/tests enable_tests
22103 wine_fn_config_makefile programs
/regini enable_regini
22104 wine_fn_config_makefile programs
/regsvcs enable_regsvcs
22105 wine_fn_config_makefile programs
/regsvr32 enable_regsvr32
22106 wine_fn_config_makefile programs
/robocopy enable_robocopy
22107 wine_fn_config_makefile programs
/rpcss enable_rpcss
22108 wine_fn_config_makefile programs
/rundll.exe16 enable_win16
22109 wine_fn_config_makefile programs
/rundll32 enable_rundll32
22110 wine_fn_config_makefile programs
/sc enable_sc
22111 wine_fn_config_makefile programs
/sc
/tests enable_tests
22112 wine_fn_config_makefile programs
/schtasks enable_schtasks
22113 wine_fn_config_makefile programs
/schtasks
/tests enable_tests
22114 wine_fn_config_makefile programs
/sdbinst enable_sdbinst
22115 wine_fn_config_makefile programs
/secedit enable_secedit
22116 wine_fn_config_makefile programs
/servicemodelreg enable_servicemodelreg
22117 wine_fn_config_makefile programs
/services enable_services
22118 wine_fn_config_makefile programs
/services
/tests enable_tests
22119 wine_fn_config_makefile programs
/setx enable_setx
22120 wine_fn_config_makefile programs
/shutdown enable_shutdown
22121 wine_fn_config_makefile programs
/spoolsv enable_spoolsv
22122 wine_fn_config_makefile programs
/start enable_start
22123 wine_fn_config_makefile programs
/subst enable_subst
22124 wine_fn_config_makefile programs
/svchost enable_svchost
22125 wine_fn_config_makefile programs
/systeminfo enable_systeminfo
22126 wine_fn_config_makefile programs
/taskkill enable_taskkill
22127 wine_fn_config_makefile programs
/tasklist enable_tasklist
22128 wine_fn_config_makefile programs
/taskmgr enable_taskmgr
22129 wine_fn_config_makefile programs
/termsv enable_termsv
22130 wine_fn_config_makefile programs
/uninstaller enable_uninstaller
22131 wine_fn_config_makefile programs
/unlodctr enable_unlodctr
22132 wine_fn_config_makefile programs
/view enable_view
22133 wine_fn_config_makefile programs
/wevtutil enable_wevtutil
22134 wine_fn_config_makefile programs
/where enable_where
22135 wine_fn_config_makefile programs
/whoami enable_whoami
22136 wine_fn_config_makefile programs
/wineboot enable_wineboot
22137 wine_fn_config_makefile programs
/winebrowser enable_winebrowser
22138 wine_fn_config_makefile programs
/winecfg enable_winecfg
22139 wine_fn_config_makefile programs
/wineconsole enable_wineconsole
22140 wine_fn_config_makefile programs
/winedbg enable_winedbg
22141 wine_fn_config_makefile programs
/winedevice enable_winedevice
22142 wine_fn_config_makefile programs
/winefile enable_winefile
22143 wine_fn_config_makefile programs
/winemenubuilder enable_winemenubuilder
22144 wine_fn_config_makefile programs
/winemine enable_winemine
22145 wine_fn_config_makefile programs
/winemsibuilder enable_winemsibuilder
22146 wine_fn_config_makefile programs
/winepath enable_winepath
22147 wine_fn_config_makefile programs
/winetest enable_winetest
22148 wine_fn_config_makefile programs
/winevdm enable_win16
22149 wine_fn_config_makefile programs
/winhelp.exe16 enable_win16
22150 wine_fn_config_makefile programs
/winhlp32 enable_winhlp32
22151 wine_fn_config_makefile programs
/winmgmt enable_winmgmt
22152 wine_fn_config_makefile programs
/winoldap.mod16 enable_win16
22153 wine_fn_config_makefile programs
/winver enable_winver
22154 wine_fn_config_makefile programs
/wmic enable_wmic
22155 wine_fn_config_makefile programs
/wmplayer enable_wmplayer
22156 wine_fn_config_makefile programs
/wordpad enable_wordpad
22157 wine_fn_config_makefile programs
/write enable_write
22158 wine_fn_config_makefile programs
/wscript enable_wscript
22159 wine_fn_config_makefile programs
/wscript
/tests enable_tests
22160 wine_fn_config_makefile programs
/wuauserv enable_wuauserv
22161 wine_fn_config_makefile programs
/wusa enable_wusa
22162 wine_fn_config_makefile programs
/xcopy enable_xcopy
22163 wine_fn_config_makefile programs
/xcopy
/tests enable_tests
22164 wine_fn_config_makefile server enable_server
22165 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22166 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/sfnt2fon enable_sfnt2fon
22167 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/widl enable_widl
22168 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winebuild enable_winebuild
22169 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winedump enable_winedump
22170 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winegcc enable_winegcc
22171 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winemaker enable_winemaker
22172 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/wmc enable_wmc
22173 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/wrc enable_wrc
22176 as_fn_append CONFIGURE_TARGETS
" TAGS"
22177 as_fn_append CONFIGURE_TARGETS
" tags"
22178 as_fn_append CONFIGURE_TARGETS
" autom4te.cache"
22179 as_fn_append CONFIGURE_TARGETS
" config.log"
22180 as_fn_append CONFIGURE_TARGETS
" config.status"
22181 as_fn_append CONFIGURE_TARGETS
" include/config.h"
22182 as_fn_append CONFIGURE_TARGETS
" include/stamp-h"
22183 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine"
22185 if test "x$enable_tools" != xno
22187 as_fn_append CONFIGURE_TARGETS
" tools/makedep$ac_exeext"
22188 ac_config_commands
="$ac_config_commands tools/makedep"
22192 ac_config_commands
="$ac_config_commands Makefile"
22199 as_fn_append wine_rules
"
22201 @echo \"Wine build complete.\"
22205 Makefile: config.status \$(MAKEDEP)
22206 @./config.status Makefile
22207 depend: \$(MAKEDEP)
22208 \$(MAKEDEP)$makedep_flags"
22211 as_fn_append wine_rules
"
22212 config.status: ${wine_srcdir}configure
22213 @./config.status --recheck
22214 include/config.h: include/stamp-h
22215 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22216 @./config.status include/config.h include/stamp-h"
22218 if test "x$enable_maintainer_mode" = xyes
22220 as_fn_append wine_rules
"
22221 configure: configure.ac aclocal.m4
22222 autoconf --warnings=all
22223 include/config.h.in: include/stamp-h.in
22224 include/stamp-h.in: configure.ac aclocal.m4
22225 autoheader --warnings=all
22226 @echo timestamp > \$@"
22229 if test "x$enable_tools" != xno
22231 as_fn_append wine_rules
"
22232 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22233 @./config.status tools/makedep
22234 Makefile: tools/makedep$ac_exeext"
22236 as_fn_append wine_rules
"
22238 @echo \"You need to run make in $toolsdir first\" && false"
22242 if test -n "$with_wine64"
22244 case "$with_wine64" in
22248 rm -f fonts server
2>/dev
/null
22249 as_fn_append wine_rules
"
22250 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22251 loader/wine64 loader/wine64-preloader:
22252 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22253 $with_wine64/loader/wine:
22254 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22255 $with_wine64/loader/wine-preloader:
22256 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22258 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22260 TOP_INSTALL_DEV
="$TOP_INSTALL_DEV include"
22261 TOP_INSTALL_LIB
="$TOP_INSTALL_LIB \
22265 programs/msidb/msidb \
22266 programs/msiexec/msiexec \
22267 programs/notepad/notepad \
22268 programs/regedit/regedit \
22269 programs/regsvr32/regsvr32 \
22270 programs/wineboot/wineboot \
22271 programs/winecfg/winecfg \
22272 programs/wineconsole/wineconsole \
22273 programs/winedbg/winedbg \
22274 programs/winefile/winefile \
22275 programs/winemine/winemine \
22276 programs/winepath/winepath \
22280 cygwin
*|mingw32
*|darwin
*|macosx
*|linux-android
*) ;;
22281 *) TOP_INSTALL_LIB
="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22286 as_fn_append wine_rules
"
22288 rm -rf autom4te.cache
22290 rm -f configure include/config.h.in"
22293 as_fn_append wine_rules
"
22294 dlls/ntdll/unix/version.c: dummy
22295 @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)
22296 programs/winetest/build.rc: dummy
22297 @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)
22298 programs/winetest/build.nfo:
22300 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
22301 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22302 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22305 TAGSFLAGS
="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22307 as_fn_append wine_rules
"
22310 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22313 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22315 .PHONY: depend dummy install-manpages"
22317 printf "%s\n" " done" >&6
22318 cat >confcache
<<\_ACEOF
22319 # This file is a shell script that caches the results of configure
22320 # tests run on this system so they can be shared between configure
22321 # scripts and configure runs, see configure's option --config-cache.
22322 # It is not useful on other systems. If it contains results you don't
22323 # want to keep, you may remove or edit it.
22325 # config.status only pays attention to the cache file if you give it
22326 # the --recheck option to rerun configure.
22328 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22329 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22330 # following values.
22334 # The following way of writing the cache mishandles newlines in values,
22335 # but we know of no workaround that is simple, portable, and efficient.
22336 # So, we kill variables containing newlines.
22337 # Ultrix sh set writes to stderr and can't be redirected directly,
22338 # and sets the high bit in the cache file unless we assign to the vars.
22340 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22341 eval ac_val
=\$
$ac_var
22345 *_cv_
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22346 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22349 _ | IFS | as_nl
) ;; #(
22350 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
22351 *) { eval $ac_var=; unset $ac_var;} ;;
22357 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22358 *${as_nl}ac_space
=\
*)
22359 # `set' does not quote correctly, so add quotes: double-quote
22360 # substitution turns \\\\ into \\, and sed turns \\ into \.
22363 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22366 # `set' quotes correctly as required by POSIX, so do not add quotes.
22367 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22376 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22378 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22380 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22381 if test -w "$cache_file"; then
22382 if test "x$cache_file" != "x/dev/null"; then
22383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22384 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22385 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
22386 cat confcache
>"$cache_file"
22388 case $cache_file in #(
22390 mv -f confcache
"$cache_file"$$
&&
22391 mv -f "$cache_file"$$
"$cache_file" ;; #(
22393 mv -f confcache
"$cache_file" ;;
22398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22399 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22404 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22405 # Let make expand exec_prefix.
22406 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22408 DEFS
=-DHAVE_CONFIG_H
22413 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22414 # 1. Remove the extension, and $U if already installed.
22415 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
22416 ac_i
=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22417 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22418 # will be set to the directory where LIBOBJS objects are built.
22419 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22420 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
22422 LIBOBJS
=$ac_libobjs
22424 LTLIBOBJS
=$ac_ltlibobjs
22428 : "${CONFIG_STATUS=./config.status}"
22430 ac_clean_files_save
=$ac_clean_files
22431 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22433 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22435 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22437 # Generated by $as_me.
22438 # Run this file to recreate the current configuration.
22439 # Compiler output produced by configure, useful for debugging
22440 # configure, is in config.log if it exists.
22443 ac_cs_recheck=false
22446 SHELL=\${CONFIG_SHELL-$SHELL}
22449 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
22450 ## -------------------- ##
22451 ## M4sh Initialization. ##
22452 ## -------------------- ##
22454 # Be more Bourne compatible
22455 DUALCASE
=1; export DUALCASE
# for MKS sh
22457 if test ${ZSH_VERSION+y} && (emulate sh
) >/dev
/null
2>&1
22461 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22462 # is contrary to our usage. Disable this feature.
22463 alias -g '${1+"$@"}'='"$@"'
22464 setopt NO_GLOB_SUBST
22466 case `(set -o) 2>/dev/null` in #(
22476 # Reset variables that may have inherited troublesome values from
22479 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22480 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22481 # side effect of setting IFS to empty, thus disabling word splitting.)
22482 # Quoting is to prevent editors from complaining about space-tab.
22492 # Ensure predictable behavior from utilities with locale-dependent output.
22498 # We cannot yet rely on "unset" to work, but we need these variables
22499 # to be unset--not just set to an empty or harmless value--now, to
22500 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22501 # also avoids known problems related to "unset" and subshell syntax
22502 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22503 for as_var
in BASH_ENV ENV MAIL MAILPATH CDPATH
22504 do eval test \
${$as_var+y} \
22505 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
22508 # Ensure that fds 0, 1, and 2 are open.
22509 if (exec 3>&0) 2>/dev
/null
; then :; else exec 0</dev
/null
; fi
22510 if (exec 3>&1) 2>/dev
/null
; then :; else exec 1>/dev
/null
; fi
22511 if (exec 3>&2) ; then :; else exec 2>/dev
/null
; fi
22513 # The user is always right.
22514 if ${PATH_SEPARATOR+false} :; then
22516 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
22517 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
22523 # Find who we are. Look in the path if we contain no directory separator.
22526 *[\\/]* ) as_myself
=$0 ;;
22527 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22528 for as_dir
in $PATH
22531 case $as_dir in #(((
22534 *) as_dir
=$as_dir/ ;;
22536 test -r "$as_dir$0" && as_myself
=$as_dir$0 && break
22542 # We did not find ourselves, most probably we were run as `sh COMMAND'
22543 # in which case we are not to be found in the path.
22544 if test "x$as_myself" = x
; then
22547 if test ! -f "$as_myself"; then
22548 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22554 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22555 # ----------------------------------------
22556 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22557 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22558 # script with STATUS, using 1 if that was 0.
22561 as_status
=$1; test $as_status -eq 0 && as_status
=1
22563 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
22564 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22566 printf "%s\n" "$as_me: error: $2" >&2
22567 as_fn_exit
$as_status
22572 # as_fn_set_status STATUS
22573 # -----------------------
22574 # Set $? to STATUS, without forking.
22575 as_fn_set_status
()
22578 } # as_fn_set_status
22580 # as_fn_exit STATUS
22581 # -----------------
22582 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22586 as_fn_set_status
$1
22592 # Portably unset VAR.
22595 { eval $1=; unset $1;}
22597 as_unset
=as_fn_unset
22599 # as_fn_append VAR VALUE
22600 # ----------------------
22601 # Append the text in VALUE to the end of the definition contained in VAR. Take
22602 # advantage of any shell optimizations that allow amortized linear growth over
22603 # repeated appends, instead of the typical quadratic growth present in naive
22605 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
22607 eval 'as_fn_append ()
22618 # as_fn_arith ARG...
22619 # ------------------
22620 # Perform arithmetic evaluation on the ARGs, and store the result in the
22621 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22622 # must be portable across $(()) and expr.
22623 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
22625 eval 'as_fn_arith ()
22632 as_val
=`expr "$@" || test $? -eq 1`
22637 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22638 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22644 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22645 as_basename
=basename
22650 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
22656 as_me
=`$as_basename -- "$0" ||
22657 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22658 X"$0" : 'X\(//\)$' \| \
22659 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22660 printf "%s\n" X/"$0" |
22661 sed '/^.*\/\([^/][^/]*\)\/*$/{
22675 # Avoid depending upon Character Ranges.
22676 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22677 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22678 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22679 as_cr_digits
='0123456789'
22680 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22683 # Determine whether it's possible to make 'echo' print without a newline.
22684 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22685 # for compatibility with existing Makefiles.
22686 ECHO_C
= ECHO_N
= ECHO_T
=
22687 case `echo -n x` in #(((((
22689 case `echo 'xy\c'` in
22690 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
22692 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
22699 # For backward compatibility with old third-party macros, we provide
22700 # the shell variables $as_echo and $as_echo_n. New code should use
22701 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22702 as_echo
='printf %s\n'
22703 as_echo_n
='printf %s'
22705 rm -f conf$$ conf$$.exe conf$$.
file
22706 if test -d conf$$.dir
; then
22707 rm -f conf$$.dir
/conf$$.
file
22710 mkdir conf$$.dir
2>/dev
/null
22712 if (echo >conf$$.
file) 2>/dev
/null
; then
22713 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22715 # ... but there are two gotchas:
22716 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22717 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22718 # In both cases, we have to default to `cp -pR'.
22719 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
22721 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22729 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
22730 rmdir conf$$.dir
2>/dev
/null
22735 # Create "$as_dir" as a directory, including parents if necessary.
22740 -*) as_dir
=.
/$as_dir;;
22742 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
22746 *\'*) as_qdir
=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22747 *) as_qdir
=$as_dir;;
22749 as_dirs
="'$as_qdir' $as_dirs"
22750 as_dir
=`$as_dirname -- "$as_dir" ||
22751 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22752 X"$as_dir" : 'X\(//\)[^/]' \| \
22753 X"$as_dir" : 'X\(//\)$' \| \
22754 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22755 printf "%s\n" X"$as_dir" |
22756 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22760 /^X\(\/\/\)[^/].*/{
22773 test -d "$as_dir" && break
22775 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22776 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
22780 if mkdir
-p .
2>/dev
/null
; then
22781 as_mkdir_p
='mkdir -p "$as_dir"'
22783 test -d .
/-p && rmdir .
/-p
22788 # as_fn_executable_p FILE
22789 # -----------------------
22790 # Test if FILE is an executable regular file.
22791 as_fn_executable_p
()
22793 test -f "$1" && test -x "$1"
22794 } # as_fn_executable_p
22795 as_test_x
='test -x'
22796 as_executable_p
=as_fn_executable_p
22798 # Sed expression to map a string onto a valid CPP name.
22799 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22801 # Sed expression to map a string onto a valid variable name.
22802 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22806 ## ----------------------------------- ##
22807 ## Main body of $CONFIG_STATUS script. ##
22808 ## ----------------------------------- ##
22810 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
22812 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22813 # Save the log message, to keep $0 and so on meaningful, and to
22814 # report actual input values of CONFIG_FILES etc. instead of their
22815 # values after options handling.
22817 This file was extended by Wine $as_me 7.21, which was
22818 generated by GNU Autoconf 2.71. Invocation command line was
22820 CONFIG_FILES = $CONFIG_FILES
22821 CONFIG_HEADERS = $CONFIG_HEADERS
22822 CONFIG_LINKS = $CONFIG_LINKS
22823 CONFIG_COMMANDS = $CONFIG_COMMANDS
22826 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22832 case $ac_config_headers in *"
22833 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
22837 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22838 # Files that config.status was made for.
22839 config_headers="$ac_config_headers"
22840 config_links="$ac_config_links"
22841 config_commands="$ac_config_commands"
22845 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22847 \`$as_me' instantiates files and other configuration actions
22848 from templates according to the current configuration. Unless the files
22849 and actions are specified as TAGs, all are instantiated by default.
22851 Usage: $0 [OPTION]... [TAG]...
22853 -h, --help print this help, then exit
22854 -V, --version print version number and configuration settings, then exit
22855 --config print configuration, then exit
22856 -q, --quiet, --silent
22857 do not print progress messages
22858 -d, --debug don't remove temporary files
22859 --recheck update $as_me by reconfiguring in the same conditions
22860 --header=FILE[:TEMPLATE]
22861 instantiate the configuration header FILE
22863 Configuration headers:
22866 Configuration links:
22869 Configuration commands:
22872 Report bugs to <wine-devel@winehq.org>.
22873 Wine home page: <https://www.winehq.org>."
22876 ac_cs_config
=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
22877 ac_cs_config_escaped
=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
22878 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22879 ac_cs_config='$ac_cs_config_escaped'
22881 Wine config.status 7.21
22882 configured by $0, generated by GNU Autoconf 2.71,
22883 with options \\"\$ac_cs_config\\"
22885 Copyright (C) 2021 Free Software Foundation, Inc.
22886 This config.status script is free software; the Free Software Foundation
22887 gives unlimited permission to copy, distribute and modify it."
22891 test -n "\$AWK" || AWK=awk
22894 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22895 # The default lists apply if the user does not specify any file.
22901 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22902 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
22906 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22918 # Handling of the options.
22919 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
22921 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
22922 printf "%s\n" "$ac_cs_version"; exit ;;
22923 --config |
--confi |
--conf |
--con |
--co |
--c )
22924 printf "%s\n" "$ac_cs_config"; exit ;;
22925 --debug |
--debu |
--deb |
--de |
--d |
-d )
22927 --header |
--heade |
--head |
--hea )
22930 *\'*) ac_optarg
=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22932 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
22933 ac_need_defaults
=false
;;
22935 # Conflict between --help and --header
22936 as_fn_error $?
"ambiguous option: \`$1'
22937 Try \`$0 --help' for more information.";;
22938 --help |
--hel |
-h )
22939 printf "%s\n" "$ac_cs_usage"; exit ;;
22940 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
22941 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
22944 # This is an error.
22945 -*) as_fn_error $?
"unrecognized option: \`$1'
22946 Try \`$0 --help' for more information." ;;
22948 *) as_fn_append ac_config_targets
" $1"
22949 ac_need_defaults
=false
;;
22955 ac_configure_extra_args
=
22957 if $ac_cs_silent; then
22959 ac_configure_extra_args
="$ac_configure_extra_args --silent"
22963 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22964 if \$ac_cs_recheck; then
22965 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22967 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
22968 CONFIG_SHELL='$SHELL'
22969 export CONFIG_SHELL
22974 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22978 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22979 ## Running $as_me. ##
22981 printf "%s\n" "$ac_log"
22985 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22989 wine_fn_output_makedep ()
22991 as_dir=tools; as_fn_mkdir_p
22992 $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
22994 wine_fn_output_makefile ()
22996 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
22997 # This Makefile understands the following targets:
22999 # all (default): build wine
23000 # clean: remove all intermediate files
23001 # distclean: also remove all files created by configure
23003 # testclean: clean test results to force running all tests again
23004 # install-lib: install libraries needed to run applications
23005 # install-dev: install development environment
23006 # install: install everything
23007 # uninstall: uninstall everything
23008 # ctags: create a tags file for vim and others.
23009 # etags: create a TAGS file for Emacs.
23012 PATH_SEPARATOR = $PATH_SEPARATOR
23013 PACKAGE_NAME = $PACKAGE_NAME
23014 PACKAGE_TARNAME = $PACKAGE_TARNAME
23015 PACKAGE_VERSION = $PACKAGE_VERSION
23016 PACKAGE_STRING = $PACKAGE_STRING
23017 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23018 PACKAGE_URL = $PACKAGE_URL
23019 exec_prefix = $exec_prefix
23021 program_transform_name = $program_transform_name
23024 libexecdir = $libexecdir
23025 datarootdir = $datarootdir
23027 sysconfdir = $sysconfdir
23028 sharedstatedir = $sharedstatedir
23029 localstatedir = $localstatedir
23030 runstatedir = $runstatedir
23031 includedir = $includedir
23032 oldincludedir = $oldincludedir
23040 localedir = $localedir
23047 build_alias = $build_alias
23048 host_alias = $host_alias
23049 target_alias = $target_alias
23050 system_dllpath = $system_dllpath
23052 build_cpu = $build_cpu
23053 build_vendor = $build_vendor
23054 build_os = $build_os
23056 host_cpu = $host_cpu
23057 host_vendor = $host_vendor
23063 SET_MAKE = $SET_MAKE
23067 CPPFLAGS = $CPPFLAGS
23068 ac_ct_CC = $ac_ct_CC
23072 CXXFLAGS = $CXXFLAGS
23073 ac_ct_CXX = $ac_ct_CXX
23076 TARGETFLAGS = $TARGETFLAGS
23077 toolsext = $toolsext
23078 HOST_ARCH = $HOST_ARCH
23079 aarch64_CC = $aarch64_CC
23080 aarch64_CFLAGS = $aarch64_CFLAGS
23081 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
23082 aarch64_LDFLAGS = $aarch64_LDFLAGS
23083 aarch64_DEBUG = $aarch64_DEBUG
23084 aarch64_TARGET = $aarch64_TARGET
23085 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
23086 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
23088 arm_CFLAGS = $arm_CFLAGS
23089 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
23090 arm_LDFLAGS = $arm_LDFLAGS
23091 arm_DEBUG = $arm_DEBUG
23092 arm_TARGET = $arm_TARGET
23093 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
23094 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
23096 i386_CFLAGS = $i386_CFLAGS
23097 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
23098 i386_LDFLAGS = $i386_LDFLAGS
23099 i386_DEBUG = $i386_DEBUG
23100 i386_TARGET = $i386_TARGET
23101 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
23102 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
23103 x86_64_CC = $x86_64_CC
23104 x86_64_CFLAGS = $x86_64_CFLAGS
23105 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
23106 x86_64_LDFLAGS = $x86_64_LDFLAGS
23107 x86_64_DEBUG = $x86_64_DEBUG
23108 x86_64_TARGET = $x86_64_TARGET
23109 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
23110 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
23111 toolsdir = $toolsdir
23113 RUNTESTFLAGS = $RUNTESTFLAGS
23118 ac_ct_AR = $ac_ct_AR
23124 LDCONFIG = $LDCONFIG
23126 PKG_CONFIG = $PKG_CONFIG
23127 FONTFORGE = $FONTFORGE
23131 I386_LIBS = $I386_LIBS
23132 OPENGL_LIBS = $OPENGL_LIBS
23133 DLLFLAGS = $DLLFLAGS
23134 LDDLLFLAGS = $LDDLLFLAGS
23135 LDEXECFLAGS = $LDEXECFLAGS
23136 EXTRACFLAGS = $EXTRACFLAGS
23137 UNIXDLLFLAGS = $UNIXDLLFLAGS
23138 UNIXLDFLAGS = $UNIXLDFLAGS
23139 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23140 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23141 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23142 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23147 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23148 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23149 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23151 OBJCFLAGS = $OBJCFLAGS
23152 ac_ct_OBJC = $ac_ct_OBJC
23153 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23154 IOKIT_LIBS = $IOKIT_LIBS
23155 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23156 CORESERVICES_LIBS = $CORESERVICES_LIBS
23157 APPKIT_LIBS = $APPKIT_LIBS
23158 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23159 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23160 SECURITY_LIBS = $SECURITY_LIBS
23161 COREAUDIO_LIBS = $COREAUDIO_LIBS
23162 OPENCL_LIBS = $OPENCL_LIBS
23163 CARBON_LIBS = $CARBON_LIBS
23164 METAL_LIBS = $METAL_LIBS
23165 LIBWINE_SHAREDLIB = $LIBWINE_SHAREDLIB
23166 LIBWINE_LDFLAGS = $LIBWINE_LDFLAGS
23167 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23169 LIBWINE_DEPENDS = $LIBWINE_DEPENDS
23170 PE_ARCHS = $PE_ARCHS
23171 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23172 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23173 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23174 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23175 GSM_PE_LIBS = $GSM_PE_LIBS
23176 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23177 JPEG_PE_LIBS = $JPEG_PE_LIBS
23178 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23179 JXR_PE_LIBS = $JXR_PE_LIBS
23180 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23181 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23182 LDAP_PE_CFLAGS = $LDAP_PE_CFLAGS
23183 LDAP_PE_LIBS = $LDAP_PE_LIBS
23184 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23185 MPG123_PE_LIBS = $MPG123_PE_LIBS
23186 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23187 PNG_PE_LIBS = $PNG_PE_LIBS
23188 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23189 TIFF_PE_LIBS = $TIFF_PE_LIBS
23190 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23191 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23192 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23193 XML2_PE_LIBS = $XML2_PE_LIBS
23194 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23195 XSLT_PE_LIBS = $XSLT_PE_LIBS
23196 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23197 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23198 PTHREAD_LIBS = $PTHREAD_LIBS
23201 X_CFLAGS = $X_CFLAGS
23202 X_PRE_LIBS = $X_PRE_LIBS
23204 X_EXTRA_LIBS = $X_EXTRA_LIBS
23205 PCAP_LIBS = $PCAP_LIBS
23206 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23207 INOTIFY_LIBS = $INOTIFY_LIBS
23208 DBUS_CFLAGS = $DBUS_CFLAGS
23209 DBUS_LIBS = $DBUS_LIBS
23210 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23211 GNUTLS_LIBS = $GNUTLS_LIBS
23212 SANE_CFLAGS = $SANE_CFLAGS
23213 SANE_LIBS = $SANE_LIBS
23214 USB_CFLAGS = $USB_CFLAGS
23215 USB_LIBS = $USB_LIBS
23216 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23217 GPHOTO2_LIBS = $GPHOTO2_LIBS
23218 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23219 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23220 RESOLV_LIBS = $RESOLV_LIBS
23221 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23222 FREETYPE_LIBS = $FREETYPE_LIBS
23223 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23224 PULSE_CFLAGS = $PULSE_CFLAGS
23225 PULSE_LIBS = $PULSE_LIBS
23226 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23227 GSTREAMER_LIBS = $GSTREAMER_LIBS
23228 ALSA_LIBS = $ALSA_LIBS
23229 OSS4_CFLAGS = $OSS4_CFLAGS
23230 OSS4_LIBS = $OSS4_LIBS
23231 UDEV_CFLAGS = $UDEV_CFLAGS
23232 UDEV_LIBS = $UDEV_LIBS
23233 UNWIND_CFLAGS = $UNWIND_CFLAGS
23234 UNWIND_LIBS = $UNWIND_LIBS
23235 SDL2_CFLAGS = $SDL2_CFLAGS
23236 SDL2_LIBS = $SDL2_LIBS
23237 CAPI20_CFLAGS = $CAPI20_CFLAGS
23238 CAPI20_LIBS = $CAPI20_LIBS
23239 CUPS_CFLAGS = $CUPS_CFLAGS
23240 CUPS_LIBS = $CUPS_LIBS
23241 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23242 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23243 KRB5_CFLAGS = $KRB5_CFLAGS
23244 KRB5_LIBS = $KRB5_LIBS
23245 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23246 GSSAPI_LIBS = $GSSAPI_LIBS
23247 PROCSTAT_LIBS = $PROCSTAT_LIBS
23248 NETAPI_CFLAGS = $NETAPI_CFLAGS
23249 NETAPI_LIBS = $NETAPI_LIBS
23250 MSVCRTFLAGS = $MSVCRTFLAGS
23251 DELAYLOADFLAG = $DELAYLOADFLAG
23253 TAGSFLAGS = $TAGSFLAGS
23255 LTLIBOBJS = $LTLIBOBJS
23259 as_fn_error $? "could not create Makefile" "$LINENO" 5
23264 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23266 # Handling of arguments.
23267 for ac_config_target
in $ac_config_targets
23269 case $ac_config_target in
23270 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
23271 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
23272 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
23273 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23274 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
23275 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
23277 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23282 # If the user did not use the arguments to specify the items to instantiate,
23283 # then the envvar interface is used. Set only those that are not.
23284 # We use the long form for the default assignment because of an extremely
23285 # bizarre bug on SunOS 4.1.3.
23286 if $ac_need_defaults; then
23287 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS
=$config_headers
23288 test ${CONFIG_LINKS+y} || CONFIG_LINKS
=$config_links
23289 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS
=$config_commands
23292 # Have a temporary directory for convenience. Make it in the build tree
23293 # simply because there is no reason against having it here, and in addition,
23294 # creating and moving files from /tmp can sometimes cause problems.
23295 # Hook for its removal unless debugging.
23296 # Note that there is a small window in which the directory will not be cleaned:
23297 # after its creation but before its name has been assigned to `$tmp'.
23301 trap 'exit_status=$?
23302 : "${ac_tmp:=$tmp}"
23303 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23305 trap 'as_fn_exit 1' 1 2 13 15
23307 # Create a (secure) tmp directory for tmp files.
23310 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23314 tmp
=.
/conf$$
-$RANDOM
23315 (umask 077 && mkdir
"$tmp")
23316 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
23319 # Set up the scripts for CONFIG_HEADERS section.
23320 # No need to generate them if there are no CONFIG_HEADERS.
23321 # This happens for instance with `./config.status Makefile'.
23322 if test -n "$CONFIG_HEADERS"; then
23323 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23327 # Transform confdefs.h into an awk script `defines.awk', embedded as
23328 # here-document in config.status, that substitutes the proper values into
23329 # config.h.in to produce config.h.
23331 # Create a delimiter string that does not exist in confdefs.h, to ease
23332 # handling of long lines.
23334 for ac_last_try
in false false
:; do
23335 ac_tt
=`sed -n "/$ac_delim/p" confdefs.h`
23336 if test -z "$ac_tt"; then
23338 elif $ac_last_try; then
23339 as_fn_error $?
"could not make $CONFIG_HEADERS" "$LINENO" 5
23341 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
23345 # For the awk script, D is an array of macro values keyed by name,
23346 # likewise P contains macro parameters if any. Preserve backslash
23347 # newline sequences.
23349 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
23351 s/.\{148\}/&'"$ac_delim"'/g
23354 s/^[ ]*#[ ]*define[ ][ ]*/ /
23361 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23363 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23367 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23368 D["\1"]=" \3\\\\\\n"\\/p
23370 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23375 s/.\{148\}/&'"$ac_delim"'/g
23380 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23383 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23385 ' <confdefs.h |
sed '
23386 s/'"$ac_delim"'/"\\\
23387 "/g' >>$CONFIG_STATUS || ac_write_fail
=1
23389 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23390 for (key in D) D_is_set[key] = 1
23393 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23395 split(line, arg, " ")
23396 if (arg[1] == "#") {
23400 defundef = substr(arg[1], 2)
23403 split(mac1, mac2, "(") #)
23405 prefix = substr(line, 1, index(line, defundef) - 1)
23406 if (D_is_set[macro]) {
23407 # Preserve the white space surrounding the "#".
23408 print prefix "define", macro P[macro] D[macro]
23411 # Replace #undef with comments. This is necessary, for example,
23412 # in the case of _POSIX_SOURCE, which is predefined and required
23413 # on some systems where configure will not decide to define it.
23414 if (defundef == "undef") {
23415 print "/*", prefix defundef, macro, "*/"
23423 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23424 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
23425 fi # test -n "$CONFIG_HEADERS"
23428 eval set X
" :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23433 :[FHLC
]) ac_mode
=$ac_tag; continue;;
23435 case $ac_mode$ac_tag in
23437 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
23438 :[FH
]-) ac_tag
=-:-;;
23439 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
23456 -) ac_f
="$ac_tmp/stdin";;
23457 *) # Look for the file first in the build tree, then in the source tree
23458 # (if the path is not absolute). The absolute path cannot be DOS-style,
23459 # because $ac_f cannot contain `:'.
23463 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
23465 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23467 case $ac_f in *\'*) ac_f
=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23468 as_fn_append ac_file_inputs
" '$ac_f'"
23471 # Let's still pretend it is `configure' which instantiates (i.e., don't
23472 # use $as_me), people would be surprised to read:
23473 # /* config.h. Generated by config.status. */
23474 configure_input
='Generated from '`
23475 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23477 if test x
"$ac_file" != x-
; then
23478 configure_input
="$ac_file. $configure_input"
23479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23480 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23482 # Neutralize special characters interpreted by sed in replacement strings.
23483 case $configure_input in #(
23484 *\
&* |
*\|
* |
*\\* )
23485 ac_sed_conf_input
=`printf "%s\n" "$configure_input" |
23486 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23487 *) ac_sed_conf_input
=$configure_input;;
23491 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
23492 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
23497 ac_dir
=`$as_dirname -- "$ac_file" ||
23498 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23499 X"$ac_file" : 'X\(//\)[^/]' \| \
23500 X"$ac_file" : 'X\(//\)$' \| \
23501 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23502 printf "%s\n" X"$ac_file" |
23503 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23507 /^X\(\/\/\)[^/].*/{
23520 as_dir
="$ac_dir"; as_fn_mkdir_p
23524 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23526 ac_dir_suffix
=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23527 # A ".." for each directory in $ac_dir_suffix.
23528 ac_top_builddir_sub
=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23529 case $ac_top_builddir_sub in
23530 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23531 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
23534 ac_abs_top_builddir
=$ac_pwd
23535 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
23536 # for backward compatibility:
23537 ac_top_builddir
=$ac_top_build_prefix
23540 .
) # We are building in place.
23542 ac_top_srcdir
=$ac_top_builddir_sub
23543 ac_abs_top_srcdir
=$ac_pwd ;;
23544 [\\/]* | ?
:[\\/]* ) # Absolute name.
23545 ac_srcdir
=$srcdir$ac_dir_suffix;
23546 ac_top_srcdir
=$srcdir
23547 ac_abs_top_srcdir
=$srcdir ;;
23548 *) # Relative name.
23549 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
23550 ac_top_srcdir
=$ac_top_build_prefix$srcdir
23551 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
23553 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
23562 if test x
"$ac_file" != x-
; then
23564 printf "%s\n" "/* $configure_input */" >&1 \
23565 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23566 } >"$ac_tmp/config.h" \
23567 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5
23568 if diff "$ac_file" "$ac_tmp/config.h" >/dev
/null
2>&1; then
23569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23570 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23573 mv "$ac_tmp/config.h" "$ac_file" \
23574 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5
23577 printf "%s\n" "/* $configure_input */" >&1 \
23578 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23579 || as_fn_error $?
"could not create -" "$LINENO" 5
23587 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23590 # Prefer the file from the source tree if names are identical.
23591 if test "$ac_source" = "$ac_file" ||
test ! -r "$ac_source"; then
23592 ac_source
=$srcdir/$ac_source
23595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23596 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23598 if test ! -r "$ac_source"; then
23599 as_fn_error $?
"$ac_source: file not found" "$LINENO" 5
23603 # Try a relative symlink, then a hard link, then a copy.
23605 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$ac_source ;;
23606 *) ac_rel_source
=$ac_top_build_prefix$ac_source ;;
23608 ln -s "$ac_rel_source" "$ac_file" 2>/dev
/null ||
23609 ln "$ac_source" "$ac_file" 2>/dev
/null ||
23610 cp -p "$ac_source" "$ac_file" ||
23611 as_fn_error $?
"cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23614 :C
) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23615 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23620 case $ac_file$ac_mode in
23621 "include/stamp-h":C
) echo timestamp
> include
/stamp-h
;;
23622 "tools/makedep":C
) wine_fn_output_makedep || as_fn_exit $?
;;
23623 "Makefile":C
) wine_fn_output_makefile Makefile
;;
23631 ac_clean_files
=$ac_clean_files_save
23633 test $ac_write_fail = 0 ||
23634 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
23637 # configure is writing to config.log, and then calls config.status.
23638 # config.status does its own redirection, appending to config.log.
23639 # Unfortunately, on DOS this fails, as config.log is still kept open
23640 # by configure, so config.status won't be able to write to it; its
23641 # output is simply discarded. So we exec the FD to /dev/null,
23642 # effectively closing config.log, so it can be properly (re)opened and
23643 # appended to by config.status. When coming back to configure, we
23644 # need to make the FD available again.
23645 if test "$no_create" != yes; then
23647 ac_config_status_args
=
23648 test "$silent" = yes &&
23649 ac_config_status_args
="$ac_config_status_args --quiet"
23651 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23653 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23654 # would make configure fail if this is the last instruction.
23655 $ac_cs_success || as_fn_exit
1
23657 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
23658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23659 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23663 if test "$no_create" = "yes"
23669 if test "x$wine_notices" != x
; then
23672 for msg
in $wine_notices; do
23678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23679 printf "%s\n" "$as_me: $msg" >&6;}
23684 for msg
in $wine_warnings; do
23691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23692 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23698 $as_me: Finished. Do '${ac_make}' to compile Wine.