2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 7.20.
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.20'
615 PACKAGE_STRING
='Wine 7.20'
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
750 SYSTEMCONFIGURATION_LIBS
753 APPLICATIONSERVICES_LIBS
766 WINEPRELOADER_LDFLAGS
798 x86_64_DISABLED_SUBDIRS
806 i386_DISABLED_SUBDIRS
822 aarch64_DISABLED_SUBDIRS
823 aarch64_DELAYLOADFLAG
887 program_transform_name
900 enable_option_checking
906 enable_maintainer_mode
1024 enable_d3dcompiler_33
1025 enable_d3dcompiler_34
1026 enable_d3dcompiler_35
1027 enable_d3dcompiler_36
1028 enable_d3dcompiler_37
1029 enable_d3dcompiler_38
1030 enable_d3dcompiler_39
1031 enable_d3dcompiler_40
1032 enable_d3dcompiler_41
1033 enable_d3dcompiler_42
1034 enable_d3dcompiler_43
1035 enable_d3dcompiler_46
1036 enable_d3dcompiler_47
1089 enable_directmanipulation
1126 enable_explorerframe
1182 enable_light_msstyles
1197 enable_mfmediaengine
1260 enable_msvcp140_atomic_wait
1327 enable_photometadatahandler
1403 enable_threadpoolwinrt
1409 enable_uiautomationcore
1429 enable_vcruntime140_1
1447 enable_windows_devices_enumeration
1448 enable_windows_gaming_input
1449 enable_windows_globalization
1450 enable_windows_media_devices
1451 enable_windows_media_speech
1452 enable_windows_networking
1453 enable_windowscodecs
1454 enable_windowscodecsext
1456 enable_wineandroid_drv
1458 enable_winecoreaudio_drv
1461 enable_winegstreamer
1467 enable_winepulse_drv
1471 enable_winexinput_sys
1515 enable_xactengine2_0
1516 enable_xactengine2_4
1517 enable_xactengine2_7
1518 enable_xactengine2_9
1519 enable_xactengine3_0
1520 enable_xactengine3_1
1521 enable_xactengine3_2
1522 enable_xactengine3_3
1523 enable_xactengine3_4
1524 enable_xactengine3_5
1525 enable_xactengine3_6
1526 enable_xactengine3_7
1573 enable_wmcodecdspuuid
1581 enable_aspnet_regiis
1626 enable_presentationfontcache
1641 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.20 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.20:";;
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-ldap do not use LDAP
2431 --without-mingw do not use the MinGW cross-compiler
2432 --without-netapi do not use the Samba NetAPI library
2433 --without-openal do not use OpenAL
2434 --without-opencl do not use OpenCL
2435 --without-opengl do not use OpenGL
2436 --without-osmesa do not use the OSMesa library
2437 --without-oss do not use the OSS sound support
2438 --without-pcap do not use the Packet Capture library
2439 --without-pthread do not use the pthread library
2440 --without-pulse do not use PulseAudio sound support
2441 --without-sane do not use SANE (scanner support)
2442 --without-sdl do not use SDL
2443 --without-udev do not use udev (plug and play support)
2444 --without-unwind do not use the libunwind library (exception
2446 --without-usb do not use the libusb library
2447 --without-v4l2 do not use v4l2 (video capture)
2448 --without-vulkan do not use Vulkan
2449 --without-xcomposite do not use the Xcomposite extension
2450 --without-xcursor do not use the Xcursor extension
2451 --without-xfixes do not use Xfixes for clipboard change notifications
2452 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2453 --without-xinput do not use the Xinput extension
2454 --without-xinput2 do not use the Xinput 2 extension
2455 --without-xrandr do not use Xrandr (multi-monitor support)
2456 --without-xrender do not use the Xrender extension
2457 --without-xshape do not use the Xshape extension
2458 --without-xshm do not use XShm (shared memory extension)
2459 --without-xxf86vm do not use XFree video mode extension
2460 --with-system-dllpath=PATH
2461 load external PE dependencies from colon-separated
2463 --with-wine-tools=DIR use Wine tools from directory DIR
2464 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2465 --with-x use the X Window System
2467 Some influential environment variables:
2468 CC C compiler command
2469 CFLAGS C compiler flags
2470 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2471 nonstandard directory <lib dir>
2472 LIBS libraries to pass to the linker, e.g. -l<library>
2473 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2474 you have headers in a nonstandard directory <include dir>
2475 CXX C++ compiler command
2476 CXXFLAGS C++ compiler flags
2477 OBJC Objective C compiler command
2478 OBJCFLAGS Objective C compiler flags
2480 C compiler flags for the PE faudio, overriding the bundled
2483 Linker flags for the PE faudio, overriding the bundled version
2485 C compiler flags for the PE gsm, overriding the bundled version
2486 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2488 C compiler flags for the PE jpeg, overriding the bundled version
2490 Linker flags for the PE jpeg, overriding the bundled version
2492 C compiler flags for the PE jxr, overriding the bundled version
2493 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2495 C compiler flags for the PE lcms2, overriding the bundled
2498 Linker flags for the PE lcms2, overriding the bundled version
2500 C compiler flags for the PE mpg123, overriding the bundled
2503 Linker flags for the PE mpg123, overriding the bundled version
2505 C compiler flags for the PE png, overriding the bundled version
2506 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2508 C compiler flags for the PE tiff, overriding the bundled version
2510 Linker flags for the PE tiff, overriding the bundled version
2512 C compiler flags for the PE vkd3d, overriding the bundled
2515 Linker flags for the PE vkd3d, overriding the bundled version
2517 C compiler flags for the PE xml2, overriding the bundled version
2519 Linker flags for the PE xml2, overriding the bundled version
2521 C compiler flags for the PE xslt, overriding the bundled version
2523 Linker flags for the PE xslt, overriding the bundled version
2525 C compiler flags for the PE zlib, overriding the bundled version
2527 Linker flags for the PE zlib, overriding the bundled version
2528 XMKMF Path to xmkmf, Makefile generator for X Window System
2531 C compiler flags for libinotify, overriding pkg-config
2533 Linker flags for libinotify, overriding pkg-config
2534 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2535 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2537 C compiler flags for gnutls, overriding pkg-config
2538 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2539 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2540 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2541 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2542 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2544 C compiler flags for libgphoto2, overriding pkg-config
2546 Linker flags for libgphoto2, overriding pkg-config
2548 C compiler flags for libgphoto2_port, overriding pkg-config
2550 Linker flags for libgphoto2_port, overriding pkg-config
2552 C compiler flags for freetype2, overriding pkg-config
2554 Linker flags for freetype2, overriding pkg-config
2556 C compiler flags for libpulse, overriding pkg-config
2557 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2559 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2560 gstreamer-audio-1.0, overriding pkg-config
2562 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2563 gstreamer-audio-1.0, overriding pkg-config
2564 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2565 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2567 C compiler flags for libunwind, overriding pkg-config
2568 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2569 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2570 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2572 C compiler flags for capi20, overriding pkg-config
2573 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2574 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2575 CUPS_LIBS Linker flags for cups, overriding pkg-config
2577 C compiler flags for fontconfig, overriding pkg-config
2579 Linker flags for fontconfig, overriding pkg-config
2580 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2581 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2583 C compiler flags for krb5-gssapi, overriding pkg-config
2584 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2586 C compiler flags for netapi, overriding pkg-config
2587 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2588 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2589 LDAP_LIBS Linker flags for openldap, 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.20, 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-ldap was given.
4285 if test ${with_ldap+y}
4287 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
4291 # Check whether --with-mingw was given.
4292 if test ${with_mingw+y}
4294 withval
=$with_mingw;
4298 # Check whether --with-netapi was given.
4299 if test ${with_netapi+y}
4301 withval
=$with_netapi;
4305 # Check whether --with-openal was given.
4306 if test ${with_openal+y}
4308 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
4312 # Check whether --with-opencl was given.
4313 if test ${with_opencl+y}
4315 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
4319 # Check whether --with-opengl was given.
4320 if test ${with_opengl+y}
4322 withval
=$with_opengl;
4326 # Check whether --with-osmesa was given.
4327 if test ${with_osmesa+y}
4329 withval
=$with_osmesa;
4333 # Check whether --with-oss was given.
4334 if test ${with_oss+y}
4340 # Check whether --with-pcap was given.
4341 if test ${with_pcap+y}
4343 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
4347 # Check whether --with-pthread was given.
4348 if test ${with_pthread+y}
4350 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
4354 # Check whether --with-pulse was given.
4355 if test ${with_pulse+y}
4357 withval
=$with_pulse;
4361 # Check whether --with-sane was given.
4362 if test ${with_sane+y}
4368 # Check whether --with-sdl was given.
4369 if test ${with_sdl+y}
4375 # Check whether --with-udev was given.
4376 if test ${with_udev+y}
4382 # Check whether --with-unwind was given.
4383 if test ${with_unwind+y}
4385 withval
=$with_unwind;
4389 # Check whether --with-usb was given.
4390 if test ${with_usb+y}
4396 # Check whether --with-v4l2 was given.
4397 if test ${with_v4l2+y}
4403 # Check whether --with-vulkan was given.
4404 if test ${with_vulkan+y}
4406 withval
=$with_vulkan;
4410 # Check whether --with-xcomposite was given.
4411 if test ${with_xcomposite+y}
4413 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
4417 # Check whether --with-xcursor was given.
4418 if test ${with_xcursor+y}
4420 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
4424 # Check whether --with-xfixes was given.
4425 if test ${with_xfixes+y}
4427 withval
=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h
=no
; fi
4431 # Check whether --with-xinerama was given.
4432 if test ${with_xinerama+y}
4434 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
4438 # Check whether --with-xinput was given.
4439 if test ${with_xinput+y}
4441 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
4445 # Check whether --with-xinput2 was given.
4446 if test ${with_xinput2+y}
4448 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
4452 # Check whether --with-xrandr was given.
4453 if test ${with_xrandr+y}
4455 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
4459 # Check whether --with-xrender was given.
4460 if test ${with_xrender+y}
4462 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
4466 # Check whether --with-xshape was given.
4467 if test ${with_xshape+y}
4469 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
4473 # Check whether --with-xshm was given.
4474 if test ${with_xshm+y}
4476 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
4480 # Check whether --with-xxf86vm was given.
4481 if test ${with_xxf86vm+y}
4483 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
4488 # Check whether --with-system-dllpath was given.
4489 if test ${with_system_dllpath+y}
4491 withval
=$with_system_dllpath; system_dllpath
=$withval
4496 # Check whether --with-wine-tools was given.
4497 if test ${with_wine_tools+y}
4499 withval
=$with_wine_tools;
4503 # Check whether --with-wine64 was given.
4504 if test ${with_wine64+y}
4506 withval
=$with_wine64;
4513 # Make sure we can run config.sub.
4514 $SHELL "${ac_aux_dir}config.sub" sun4
>/dev
/null
2>&1 ||
4515 as_fn_error $?
"cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4518 printf %s
"checking build system type... " >&6; }
4519 if test ${ac_cv_build+y}
4521 printf %s
"(cached) " >&6
4523 ac_build_alias
=$build_alias
4524 test "x$ac_build_alias" = x
&&
4525 ac_build_alias
=`$SHELL "${ac_aux_dir}config.guess"`
4526 test "x$ac_build_alias" = x
&&
4527 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
4528 ac_cv_build
=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4529 as_fn_error $?
"$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4533 printf "%s\n" "$ac_cv_build" >&6; }
4534 case $ac_cv_build in
4536 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
4539 ac_save_IFS
=$IFS; IFS
='-'
4545 # Remember, the first character of IFS is used to create $*,
4546 # except with old shells:
4549 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
4552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4553 printf %s
"checking host system type... " >&6; }
4554 if test ${ac_cv_host+y}
4556 printf %s
"(cached) " >&6
4558 if test "x$host_alias" = x
; then
4559 ac_cv_host
=$ac_cv_build
4561 ac_cv_host
=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4562 as_fn_error $?
"$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4567 printf "%s\n" "$ac_cv_host" >&6; }
4570 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
4573 ac_save_IFS
=$IFS; IFS
='-'
4579 # Remember, the first character of IFS is used to create $*,
4580 # except with old shells:
4583 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4587 dlldir
=\
${libdir}/wine
4589 fontdir
=\
${datadir}/wine
/fonts
4591 nlsdir
=\
${datadir}/wine
/nls
4596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4597 printf %s
"checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4599 ac_make
=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4600 if eval test \
${ac_cv_prog_make_${ac_make}_set+y}
4602 printf %s
"(cached) " >&6
4604 cat >conftest.
make <<\_ACEOF
4607 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4609 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4610 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4612 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4614 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4618 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4620 printf "%s\n" "yes" >&6; }
4623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4624 printf "%s\n" "no" >&6; }
4625 SET_MAKE
="MAKE=${MAKE-make}"
4638 ac_cpp
='$CPP $CPPFLAGS'
4639 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4640 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4641 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4642 if test -n "$ac_tool_prefix"; then
4643 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4644 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4646 printf %s
"checking for $ac_word... " >&6; }
4647 if test ${ac_cv_prog_CC+y}
4649 printf %s
"(cached) " >&6
4651 if test -n "$CC"; then
4652 ac_cv_prog_CC
="$CC" # Let the user override the test.
4654 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4658 case $as_dir in #(((
4661 *) as_dir
=$as_dir/ ;;
4663 for ac_exec_ext
in '' $ac_executable_extensions; do
4664 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4665 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4666 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4676 if test -n "$CC"; then
4677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4678 printf "%s\n" "$CC" >&6; }
4680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4681 printf "%s\n" "no" >&6; }
4686 if test -z "$ac_cv_prog_CC"; then
4688 # Extract the first word of "gcc", so it can be a program name with args.
4689 set dummy gcc
; ac_word
=$2
4690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4691 printf %s
"checking for $ac_word... " >&6; }
4692 if test ${ac_cv_prog_ac_ct_CC+y}
4694 printf %s
"(cached) " >&6
4696 if test -n "$ac_ct_CC"; then
4697 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4699 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4703 case $as_dir in #(((
4706 *) as_dir
=$as_dir/ ;;
4708 for ac_exec_ext
in '' $ac_executable_extensions; do
4709 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4710 ac_cv_prog_ac_ct_CC
="gcc"
4711 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4720 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4721 if test -n "$ac_ct_CC"; then
4722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4723 printf "%s\n" "$ac_ct_CC" >&6; }
4725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4726 printf "%s\n" "no" >&6; }
4729 if test "x$ac_ct_CC" = x
; then
4732 case $cross_compiling:$ac_tool_warned in
4734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4735 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4736 ac_tool_warned
=yes ;;
4744 if test -z "$CC"; then
4745 if test -n "$ac_tool_prefix"; then
4746 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4747 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4749 printf %s
"checking for $ac_word... " >&6; }
4750 if test ${ac_cv_prog_CC+y}
4752 printf %s
"(cached) " >&6
4754 if test -n "$CC"; then
4755 ac_cv_prog_CC
="$CC" # Let the user override the test.
4757 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4761 case $as_dir in #(((
4764 *) as_dir
=$as_dir/ ;;
4766 for ac_exec_ext
in '' $ac_executable_extensions; do
4767 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4768 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4769 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4779 if test -n "$CC"; then
4780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4781 printf "%s\n" "$CC" >&6; }
4783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4784 printf "%s\n" "no" >&6; }
4790 if test -z "$CC"; then
4791 # Extract the first word of "cc", so it can be a program name with args.
4792 set dummy cc
; ac_word
=$2
4793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4794 printf %s
"checking for $ac_word... " >&6; }
4795 if test ${ac_cv_prog_CC+y}
4797 printf %s
"(cached) " >&6
4799 if test -n "$CC"; then
4800 ac_cv_prog_CC
="$CC" # Let the user override the test.
4803 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4807 case $as_dir in #(((
4810 *) as_dir
=$as_dir/ ;;
4812 for ac_exec_ext
in '' $ac_executable_extensions; do
4813 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4814 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4815 ac_prog_rejected
=yes
4819 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4826 if test $ac_prog_rejected = yes; then
4827 # We found a bogon in the path, so make sure we never use it.
4828 set dummy
$ac_cv_prog_CC
4830 if test $# != 0; then
4831 # We chose a different compiler from the bogus one.
4832 # However, it has the same basename, so the bogon will be chosen
4833 # first if we set CC to just the basename; use the full file name.
4835 ac_cv_prog_CC
="$as_dir$ac_word${1+' '}$@"
4841 if test -n "$CC"; then
4842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4843 printf "%s\n" "$CC" >&6; }
4845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4846 printf "%s\n" "no" >&6; }
4851 if test -z "$CC"; then
4852 if test -n "$ac_tool_prefix"; then
4853 for ac_prog
in cl.exe
4855 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4856 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4858 printf %s
"checking for $ac_word... " >&6; }
4859 if test ${ac_cv_prog_CC+y}
4861 printf %s
"(cached) " >&6
4863 if test -n "$CC"; then
4864 ac_cv_prog_CC
="$CC" # Let the user override the test.
4866 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4870 case $as_dir in #(((
4873 *) as_dir
=$as_dir/ ;;
4875 for ac_exec_ext
in '' $ac_executable_extensions; do
4876 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4877 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4878 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4888 if test -n "$CC"; then
4889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4890 printf "%s\n" "$CC" >&6; }
4892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4893 printf "%s\n" "no" >&6; }
4897 test -n "$CC" && break
4900 if test -z "$CC"; then
4902 for ac_prog
in cl.exe
4904 # Extract the first word of "$ac_prog", so it can be a program name with args.
4905 set dummy
$ac_prog; ac_word
=$2
4906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4907 printf %s
"checking for $ac_word... " >&6; }
4908 if test ${ac_cv_prog_ac_ct_CC+y}
4910 printf %s
"(cached) " >&6
4912 if test -n "$ac_ct_CC"; then
4913 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4915 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4919 case $as_dir in #(((
4922 *) as_dir
=$as_dir/ ;;
4924 for ac_exec_ext
in '' $ac_executable_extensions; do
4925 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4926 ac_cv_prog_ac_ct_CC
="$ac_prog"
4927 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4936 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4937 if test -n "$ac_ct_CC"; then
4938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4939 printf "%s\n" "$ac_ct_CC" >&6; }
4941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4942 printf "%s\n" "no" >&6; }
4946 test -n "$ac_ct_CC" && break
4949 if test "x$ac_ct_CC" = x
; then
4952 case $cross_compiling:$ac_tool_warned in
4954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4955 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4956 ac_tool_warned
=yes ;;
4963 if test -z "$CC"; then
4964 if test -n "$ac_tool_prefix"; then
4965 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4966 set dummy
${ac_tool_prefix}clang
; ac_word
=$2
4967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4968 printf %s
"checking for $ac_word... " >&6; }
4969 if test ${ac_cv_prog_CC+y}
4971 printf %s
"(cached) " >&6
4973 if test -n "$CC"; then
4974 ac_cv_prog_CC
="$CC" # Let the user override the test.
4976 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4980 case $as_dir in #(((
4983 *) as_dir
=$as_dir/ ;;
4985 for ac_exec_ext
in '' $ac_executable_extensions; do
4986 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4987 ac_cv_prog_CC
="${ac_tool_prefix}clang"
4988 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4998 if test -n "$CC"; then
4999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5000 printf "%s\n" "$CC" >&6; }
5002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5003 printf "%s\n" "no" >&6; }
5008 if test -z "$ac_cv_prog_CC"; then
5010 # Extract the first word of "clang", so it can be a program name with args.
5011 set dummy clang
; ac_word
=$2
5012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5013 printf %s
"checking for $ac_word... " >&6; }
5014 if test ${ac_cv_prog_ac_ct_CC+y}
5016 printf %s
"(cached) " >&6
5018 if test -n "$ac_ct_CC"; then
5019 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5021 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5025 case $as_dir in #(((
5028 *) as_dir
=$as_dir/ ;;
5030 for ac_exec_ext
in '' $ac_executable_extensions; do
5031 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
5032 ac_cv_prog_ac_ct_CC
="clang"
5033 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5042 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5043 if test -n "$ac_ct_CC"; then
5044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5045 printf "%s\n" "$ac_ct_CC" >&6; }
5047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5048 printf "%s\n" "no" >&6; }
5051 if test "x$ac_ct_CC" = x
; then
5054 case $cross_compiling:$ac_tool_warned in
5056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5057 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5058 ac_tool_warned
=yes ;;
5069 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5070 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5071 as_fn_error $?
"no acceptable C compiler found in \$PATH
5072 See \`config.log' for more details" "$LINENO" 5; }
5074 # Provide some information about the compiler.
5075 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5078 for ac_option
in --version -v -V -qversion -version; do
5079 { { ac_try
="$ac_compiler $ac_option >&5"
5081 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5082 *) ac_try_echo=$ac_try;;
5084 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5085 printf "%s\n" "$ac_try_echo"; } >&5
5086 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5088 if test -s conftest.err; then
5090 ... rest of stderr output deleted ...
5091 10q' conftest.err >conftest.er1
5092 cat conftest.er1 >&5
5094 rm -f conftest.er1 conftest.err
5095 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5096 test $ac_status = 0; }
5099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5100 /* end confdefs.h. */
5110 ac_clean_files_save=$ac_clean_files
5111 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5112 # Try to create an executable without -o first, disregard a.out.
5113 # It will help us diagnose broken compilers, and finding out an intuition
5115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5116 printf %s "checking whether the C compiler works... " >&6; }
5117 ac_link_default=`printf "%s\n" "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
5119 # The possible output files:
5120 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5123 for ac_file in $ac_files
5126 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5127 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5132 if { { ac_try="$ac_link_default"
5134 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5135 *) ac_try_echo
=$ac_try;;
5137 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5138 printf "%s\n" "$ac_try_echo"; } >&5
5139 (eval "$ac_link_default") 2>&5
5141 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5142 test $ac_status = 0; }
5144 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5145 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5146 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5147 # so that the user can short-circuit this test for compilers unknown to
5149 for ac_file
in $ac_files ''
5151 test -f "$ac_file" ||
continue
5153 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
5156 # We found the default executable, but exeext='' is most
5160 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no
;
5162 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
5164 # We set ac_cv_exeext here because the later test for it is not
5165 # safe: cross compilers may not add the suffix if given an `-o'
5166 # argument, so we may need to know it at that point already.
5167 # Even if this section looks crufty: it has the advantage of
5174 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
5179 if test -z "$ac_file"
5181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5182 printf "%s\n" "no" >&6; }
5183 printf "%s\n" "$as_me: failed program was:" >&5
5184 sed 's/^/| /' conftest.
$ac_ext >&5
5186 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5187 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5188 as_fn_error
77 "C compiler cannot create executables
5189 See \`config.log' for more details" "$LINENO" 5; }
5191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5192 printf "%s\n" "yes" >&6; }
5194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5195 printf %s
"checking for C compiler default output file name... " >&6; }
5196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5197 printf "%s\n" "$ac_file" >&6; }
5198 ac_exeext
=$ac_cv_exeext
5200 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
5201 ac_clean_files
=$ac_clean_files_save
5202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5203 printf %s
"checking for suffix of executables... " >&6; }
5204 if { { ac_try
="$ac_link"
5206 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5207 *) ac_try_echo=$ac_try;;
5209 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5210 printf "%s\n" "$ac_try_echo"; } >&5
5211 (eval "$ac_link") 2>&5
5213 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5214 test $ac_status = 0; }
5216 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
5217 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
5218 # work properly (i.e., refer to `conftest.exe'), while it won't with
5220 for ac_file
in conftest.exe conftest conftest.
*; do
5221 test -f "$ac_file" ||
continue
5223 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
5224 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
5230 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5231 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5232 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
5233 See \`config.log' for more details" "$LINENO" 5; }
5235 rm -f conftest conftest
$ac_cv_exeext
5236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5237 printf "%s\n" "$ac_cv_exeext" >&6; }
5239 rm -f conftest.
$ac_ext
5240 EXEEXT
=$ac_cv_exeext
5242 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5243 /* end confdefs.h. */
5248 FILE *f = fopen ("conftest.out", "w");
5249 return ferror (f) || fclose (f) != 0;
5255 ac_clean_files
="$ac_clean_files conftest.out"
5256 # Check that the compiler produces executables we can run. If not, either
5257 # the compiler is broken, or we cross compile.
5258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5259 printf %s
"checking whether we are cross compiling... " >&6; }
5260 if test "$cross_compiling" != yes; then
5261 { { ac_try
="$ac_link"
5263 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5264 *) ac_try_echo=$ac_try;;
5266 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5267 printf "%s\n" "$ac_try_echo"; } >&5
5268 (eval "$ac_link") 2>&5
5270 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5271 test $ac_status = 0; }
5272 if { ac_try='./conftest$ac_cv_exeext'
5273 { { case "(($ac_try" in
5274 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5275 *) ac_try_echo
=$ac_try;;
5277 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5278 printf "%s\n" "$ac_try_echo"; } >&5
5279 (eval "$ac_try") 2>&5
5281 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5282 test $ac_status = 0; }; }; then
5285 if test "$cross_compiling" = maybe
; then
5288 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5289 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5290 as_fn_error
77 "cannot run C compiled programs.
5291 If you meant to cross compile, use \`--host'.
5292 See \`config.log' for more details" "$LINENO" 5; }
5296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5297 printf "%s\n" "$cross_compiling" >&6; }
5299 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
5300 ac_clean_files
=$ac_clean_files_save
5301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5302 printf %s
"checking for suffix of object files... " >&6; }
5303 if test ${ac_cv_objext+y}
5305 printf %s
"(cached) " >&6
5307 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5308 /* end confdefs.h. */
5318 rm -f conftest.o conftest.obj
5319 if { { ac_try
="$ac_compile"
5321 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5322 *) ac_try_echo=$ac_try;;
5324 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5325 printf "%s\n" "$ac_try_echo"; } >&5
5326 (eval "$ac_compile") 2>&5
5328 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5329 test $ac_status = 0; }
5331 for ac_file in conftest.o conftest.obj conftest.*; do
5332 test -f "$ac_file" || continue;
5334 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5335 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5340 printf "%s\n" "$as_me: failed program was:" >&5
5341 sed 's/^/| /' conftest.$ac_ext >&5
5343 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5344 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5345 as_fn_error $? "cannot compute suffix of object files
: cannot compile
5346 See \
`config.log' for more details" "$LINENO" 5; }
5348 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5351 printf "%s\n" "$ac_cv_objext" >&6; }
5352 OBJEXT=$ac_cv_objext
5354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5355 printf %s "checking whether the compiler supports GNU C... " >&6; }
5356 if test ${ac_cv_c_compiler_gnu+y}
5358 printf %s "(cached) " >&6
5360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5361 /* end confdefs.h. */
5374 if ac_fn_c_try_compile "$LINENO"
5380 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5381 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5385 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5388 if test $ac_compiler_gnu = yes; then
5393 ac_test_CFLAGS=${CFLAGS+y}
5394 ac_save_CFLAGS=$CFLAGS
5395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5396 printf %s "checking whether $CC accepts -g... " >&6; }
5397 if test ${ac_cv_prog_cc_g+y}
5399 printf %s "(cached) " >&6
5401 ac_save_c_werror_flag=$ac_c_werror_flag
5402 ac_c_werror_flag=yes
5405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5406 /* end confdefs.h. */
5416 if ac_fn_c_try_compile "$LINENO"
5421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5422 /* end confdefs.h. */
5432 if ac_fn_c_try_compile "$LINENO"
5436 ac_c_werror_flag=$ac_save_c_werror_flag
5438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5439 /* end confdefs.h. */
5449 if ac_fn_c_try_compile "$LINENO"
5453 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5455 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5457 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5458 ac_c_werror_flag=$ac_save_c_werror_flag
5460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5461 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5462 if test $ac_test_CFLAGS; then
5463 CFLAGS=$ac_save_CFLAGS
5464 elif test $ac_cv_prog_cc_g = yes; then
5465 if test "$GCC" = yes; then
5471 if test "$GCC" = yes; then
5478 if test x$ac_prog_cc_stdc = xno
5480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5481 printf %s "checking for $CC option to enable C11 features... " >&6; }
5482 if test ${ac_cv_prog_cc_c11+y}
5484 printf %s "(cached) " >&6
5486 ac_cv_prog_cc_c11=no
5488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5489 /* end confdefs.h. */
5490 $ac_c_conftest_c11_program
5492 for ac_arg in '' -std=gnu11
5494 CC="$ac_save_CC $ac_arg"
5495 if ac_fn_c_try_compile "$LINENO"
5497 ac_cv_prog_cc_c11=$ac_arg
5499 rm -f core conftest.err conftest.$ac_objext conftest.beam
5500 test "x$ac_cv_prog_cc_c11" != "xno" && break
5502 rm -f conftest.$ac_ext
5506 if test "x$ac_cv_prog_cc_c11" = xno
5508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5509 printf "%s\n" "unsupported" >&6; }
5511 if test "x$ac_cv_prog_cc_c11" = x
5513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5514 printf "%s\n" "none needed" >&6; }
5516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5517 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5518 CC="$CC $ac_cv_prog_cc_c11"
5520 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5524 if test x$ac_prog_cc_stdc = xno
5526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5527 printf %s "checking for $CC option to enable C99 features... " >&6; }
5528 if test ${ac_cv_prog_cc_c99+y}
5530 printf %s "(cached) " >&6
5532 ac_cv_prog_cc_c99=no
5534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5535 /* end confdefs.h. */
5536 $ac_c_conftest_c99_program
5538 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5540 CC="$ac_save_CC $ac_arg"
5541 if ac_fn_c_try_compile "$LINENO"
5543 ac_cv_prog_cc_c99=$ac_arg
5545 rm -f core conftest.err conftest.$ac_objext conftest.beam
5546 test "x$ac_cv_prog_cc_c99" != "xno" && break
5548 rm -f conftest.$ac_ext
5552 if test "x$ac_cv_prog_cc_c99" = xno
5554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5555 printf "%s\n" "unsupported" >&6; }
5557 if test "x$ac_cv_prog_cc_c99" = x
5559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5560 printf "%s\n" "none needed" >&6; }
5562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5563 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5564 CC="$CC $ac_cv_prog_cc_c99"
5566 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5570 if test x$ac_prog_cc_stdc = xno
5572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5573 printf %s "checking for $CC option to enable C89 features... " >&6; }
5574 if test ${ac_cv_prog_cc_c89+y}
5576 printf %s "(cached) " >&6
5578 ac_cv_prog_cc_c89=no
5580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5581 /* end confdefs.h. */
5582 $ac_c_conftest_c89_program
5584 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5586 CC="$ac_save_CC $ac_arg"
5587 if ac_fn_c_try_compile "$LINENO"
5589 ac_cv_prog_cc_c89=$ac_arg
5591 rm -f core conftest.err conftest.$ac_objext conftest.beam
5592 test "x$ac_cv_prog_cc_c89" != "xno" && break
5594 rm -f conftest.$ac_ext
5598 if test "x$ac_cv_prog_cc_c89" = xno
5600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5601 printf "%s\n" "unsupported" >&6; }
5603 if test "x$ac_cv_prog_cc_c89" = x
5605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5606 printf "%s\n" "none needed" >&6; }
5608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5609 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5610 CC="$CC $ac_cv_prog_cc_c89"
5612 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5618 ac_cpp='$CPP $CPPFLAGS'
5619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5630 ac_cpp='$CXXCPP $CPPFLAGS'
5631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5634 if test -z "$CXX"; then
5635 if test -n "$CCC"; then
5638 if test -n "$ac_tool_prefix"; then
5639 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5641 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5642 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5644 printf %s "checking for $ac_word... " >&6; }
5645 if test ${ac_cv_prog_CXX+y}
5647 printf %s "(cached) " >&6
5649 if test -n "$CXX"; then
5650 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5656 case $as_dir in #(((
5659 *) as_dir=$as_dir/ ;;
5661 for ac_exec_ext in '' $ac_executable_extensions; do
5662 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5663 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5664 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5674 if test -n "$CXX"; then
5675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5676 printf "%s\n" "$CXX" >&6; }
5678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5679 printf "%s\n" "no" >&6; }
5683 test -n "$CXX" && break
5686 if test -z "$CXX"; then
5688 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5690 # Extract the first word of "$ac_prog", so it can be a program name with args.
5691 set dummy $ac_prog; ac_word=$2
5692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5693 printf %s "checking for $ac_word... " >&6; }
5694 if test ${ac_cv_prog_ac_ct_CXX+y}
5696 printf %s "(cached) " >&6
5698 if test -n "$ac_ct_CXX"; then
5699 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5705 case $as_dir in #(((
5708 *) as_dir=$as_dir/ ;;
5710 for ac_exec_ext in '' $ac_executable_extensions; do
5711 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5712 ac_cv_prog_ac_ct_CXX="$ac_prog"
5713 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5722 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5723 if test -n "$ac_ct_CXX"; then
5724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5725 printf "%s\n" "$ac_ct_CXX" >&6; }
5727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5728 printf "%s\n" "no" >&6; }
5732 test -n "$ac_ct_CXX" && break
5735 if test "x$ac_ct_CXX" = x; then
5738 case $cross_compiling:$ac_tool_warned in
5740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5741 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5742 ac_tool_warned=yes ;;
5750 # Provide some information about the compiler.
5751 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5754 for ac_option in --version -v -V -qversion; do
5755 { { ac_try="$ac_compiler $ac_option >&5"
5757 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5758 *) ac_try_echo
=$ac_try;;
5760 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5761 printf "%s\n" "$ac_try_echo"; } >&5
5762 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5764 if test -s conftest.err
; then
5766 ... rest of stderr output deleted ...
5767 10q' conftest.err
>conftest.er1
5768 cat conftest.er1
>&5
5770 rm -f conftest.er1 conftest.err
5771 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5772 test $ac_status = 0; }
5775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5776 printf %s
"checking whether the compiler supports GNU C++... " >&6; }
5777 if test ${ac_cv_cxx_compiler_gnu+y}
5779 printf %s
"(cached) " >&6
5781 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5782 /* end confdefs.h. */
5795 if ac_fn_cxx_try_compile
"$LINENO"
5801 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5802 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5806 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5807 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5809 if test $ac_compiler_gnu = yes; then
5814 ac_test_CXXFLAGS
=${CXXFLAGS+y}
5815 ac_save_CXXFLAGS
=$CXXFLAGS
5816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5817 printf %s
"checking whether $CXX accepts -g... " >&6; }
5818 if test ${ac_cv_prog_cxx_g+y}
5820 printf %s
"(cached) " >&6
5822 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5823 ac_cxx_werror_flag
=yes
5826 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5827 /* end confdefs.h. */
5837 if ac_fn_cxx_try_compile
"$LINENO"
5839 ac_cv_prog_cxx_g
=yes
5842 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5843 /* end confdefs.h. */
5853 if ac_fn_cxx_try_compile
"$LINENO"
5857 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5859 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5860 /* end confdefs.h. */
5870 if ac_fn_cxx_try_compile
"$LINENO"
5872 ac_cv_prog_cxx_g
=yes
5874 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5876 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5878 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5879 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5882 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5883 if test $ac_test_CXXFLAGS; then
5884 CXXFLAGS
=$ac_save_CXXFLAGS
5885 elif test $ac_cv_prog_cxx_g = yes; then
5886 if test "$GXX" = yes; then
5892 if test "$GXX" = yes; then
5898 ac_prog_cxx_stdcxx
=no
5899 if test x
$ac_prog_cxx_stdcxx = xno
5901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5902 printf %s
"checking for $CXX option to enable C++11 features... " >&6; }
5903 if test ${ac_cv_prog_cxx_11+y}
5905 printf %s
"(cached) " >&6
5907 ac_cv_prog_cxx_11
=no
5909 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5910 /* end confdefs.h. */
5911 $ac_cxx_conftest_cxx11_program
5913 for ac_arg
in '' -std=gnu
++11 -std=gnu
++0x
-std=c
++11 -std=c
++0x
-qlanglvl=extended0x
-AA
5915 CXX
="$ac_save_CXX $ac_arg"
5916 if ac_fn_cxx_try_compile
"$LINENO"
5918 ac_cv_prog_cxx_cxx11
=$ac_arg
5920 rm -f core conftest.err conftest.
$ac_objext conftest.beam
5921 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5923 rm -f conftest.
$ac_ext
5927 if test "x$ac_cv_prog_cxx_cxx11" = xno
5929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5930 printf "%s\n" "unsupported" >&6; }
5932 if test "x$ac_cv_prog_cxx_cxx11" = x
5934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5935 printf "%s\n" "none needed" >&6; }
5937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5938 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5939 CXX
="$CXX $ac_cv_prog_cxx_cxx11"
5941 ac_cv_prog_cxx_stdcxx
=$ac_cv_prog_cxx_cxx11
5942 ac_prog_cxx_stdcxx
=cxx11
5945 if test x
$ac_prog_cxx_stdcxx = xno
5947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5948 printf %s
"checking for $CXX option to enable C++98 features... " >&6; }
5949 if test ${ac_cv_prog_cxx_98+y}
5951 printf %s
"(cached) " >&6
5953 ac_cv_prog_cxx_98
=no
5955 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5956 /* end confdefs.h. */
5957 $ac_cxx_conftest_cxx98_program
5959 for ac_arg
in '' -std=gnu
++98 -std=c
++98 -qlanglvl=extended
-AA
5961 CXX
="$ac_save_CXX $ac_arg"
5962 if ac_fn_cxx_try_compile
"$LINENO"
5964 ac_cv_prog_cxx_cxx98
=$ac_arg
5966 rm -f core conftest.err conftest.
$ac_objext conftest.beam
5967 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
5969 rm -f conftest.
$ac_ext
5973 if test "x$ac_cv_prog_cxx_cxx98" = xno
5975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5976 printf "%s\n" "unsupported" >&6; }
5978 if test "x$ac_cv_prog_cxx_cxx98" = x
5980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5981 printf "%s\n" "none needed" >&6; }
5983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
5984 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
5985 CXX
="$CXX $ac_cv_prog_cxx_cxx98"
5987 ac_cv_prog_cxx_stdcxx
=$ac_cv_prog_cxx_cxx98
5988 ac_prog_cxx_stdcxx
=cxx98
5993 ac_cpp
='$CPP $CPPFLAGS'
5994 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5995 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5996 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5998 if test -n "$ac_tool_prefix"; then
5999 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
6000 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
6001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6002 printf %s
"checking for $ac_word... " >&6; }
6003 if test ${ac_cv_prog_CPPBIN+y}
6005 printf %s
"(cached) " >&6
6007 if test -n "$CPPBIN"; then
6008 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
6010 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6014 case $as_dir in #(((
6017 *) as_dir
=$as_dir/ ;;
6019 for ac_exec_ext
in '' $ac_executable_extensions; do
6020 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6021 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
6022 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6031 CPPBIN
=$ac_cv_prog_CPPBIN
6032 if test -n "$CPPBIN"; then
6033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6034 printf "%s\n" "$CPPBIN" >&6; }
6036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6037 printf "%s\n" "no" >&6; }
6042 if test -z "$ac_cv_prog_CPPBIN"; then
6043 ac_ct_CPPBIN
=$CPPBIN
6044 # Extract the first word of "cpp", so it can be a program name with args.
6045 set dummy cpp
; ac_word
=$2
6046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6047 printf %s
"checking for $ac_word... " >&6; }
6048 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6050 printf %s
"(cached) " >&6
6052 if test -n "$ac_ct_CPPBIN"; then
6053 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
6055 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6059 case $as_dir in #(((
6062 *) as_dir
=$as_dir/ ;;
6064 for ac_exec_ext
in '' $ac_executable_extensions; do
6065 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6066 ac_cv_prog_ac_ct_CPPBIN
="cpp"
6067 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6076 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
6077 if test -n "$ac_ct_CPPBIN"; then
6078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6079 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6082 printf "%s\n" "no" >&6; }
6085 if test "x$ac_ct_CPPBIN" = x
; then
6088 case $cross_compiling:$ac_tool_warned in
6090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6091 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6092 ac_tool_warned
=yes ;;
6094 CPPBIN
=$ac_ct_CPPBIN
6097 CPPBIN
="$ac_cv_prog_CPPBIN"
6101 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6103 if test -n "$ac_tool_prefix"; then
6104 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6105 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
6106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6107 printf %s
"checking for $ac_word... " >&6; }
6108 if test ${ac_cv_prog_LD+y}
6110 printf %s
"(cached) " >&6
6112 if test -n "$LD"; then
6113 ac_cv_prog_LD
="$LD" # Let the user override the test.
6115 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6119 case $as_dir in #(((
6122 *) as_dir
=$as_dir/ ;;
6124 for ac_exec_ext
in '' $ac_executable_extensions; do
6125 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6126 ac_cv_prog_LD
="${ac_tool_prefix}ld"
6127 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6137 if test -n "$LD"; then
6138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6139 printf "%s\n" "$LD" >&6; }
6141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6142 printf "%s\n" "no" >&6; }
6147 if test -z "$ac_cv_prog_LD"; then
6149 # Extract the first word of "ld", so it can be a program name with args.
6150 set dummy ld
; ac_word
=$2
6151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6152 printf %s
"checking for $ac_word... " >&6; }
6153 if test ${ac_cv_prog_ac_ct_LD+y}
6155 printf %s
"(cached) " >&6
6157 if test -n "$ac_ct_LD"; then
6158 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
6160 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6164 case $as_dir in #(((
6167 *) as_dir
=$as_dir/ ;;
6169 for ac_exec_ext
in '' $ac_executable_extensions; do
6170 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6171 ac_cv_prog_ac_ct_LD
="ld"
6172 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6181 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
6182 if test -n "$ac_ct_LD"; then
6183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6184 printf "%s\n" "$ac_ct_LD" >&6; }
6186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6187 printf "%s\n" "no" >&6; }
6190 if test "x$ac_ct_LD" = x
; then
6193 case $cross_compiling:$ac_tool_warned in
6195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6196 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6197 ac_tool_warned
=yes ;;
6208 with_fontconfig
=${with_fontconfig:-no}
6210 *-mingw32*|
*-cygwin*)
6211 enable_win16
=${enable_win16:-no}
6212 with_mingw
=${with_mingw:-no}
6219 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x
"$enable_archs" = x
6224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6225 printf %s
"checking whether $CC works... " >&6; }
6226 if test ${wine_cv_cc_m32+y}
6228 printf %s
"(cached) " >&6
6230 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6231 /* end confdefs.h. */
6241 if ac_fn_c_try_link
"$LINENO"
6247 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6248 conftest
$ac_exeext conftest.
$ac_ext
6250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6251 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6252 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
6254 notice_platform
="32-bit "
6255 TARGETFLAGS
="$TARGETFLAGS -m32"
6256 PKG_CONFIG_PATH
=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6257 export PKG_CONFIG_PATH
6258 with_unwind
=${with_unwind:-no}
6260 if test "x${GCC}" = "xyes"
6262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6263 printf %s
"checking whether $CC supports __builtin_ms_va_list... " >&6; }
6264 if test ${wine_cv_builtin_ms_va_list+y}
6266 printf %s
"(cached) " >&6
6268 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6269 /* end confdefs.h. */
6274 void func(__builtin_ms_va_list *args);
6279 if ac_fn_c_try_compile
"$LINENO"
6281 wine_cv_builtin_ms_va_list
=yes
6283 wine_cv_builtin_ms_va_list
=no
6285 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6288 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6289 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
6294 notice_platform
="64-bit "
6295 TARGETFLAGS
="$TARGETFLAGS -m64"
6299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6300 printf %s
"checking whether $CC supports Thumb-2... " >&6; }
6301 if test ${wine_cv_thumb2+y}
6303 printf %s
"(cached) " >&6
6305 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6306 /* end confdefs.h. */
6311 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6316 if ac_fn_c_try_link
"$LINENO"
6322 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6323 conftest
$ac_exeext conftest.
$ac_ext
6325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6326 printf "%s\n" "$wine_cv_thumb2" >&6; }
6327 if test x
"$wine_cv_thumb2" = xyes
6329 CFLAGS
="$CFLAGS -mthumb"
6330 TARGETFLAGS
="$TARGETFLAGS -mthumb"
6332 CFLAGS
="$CFLAGS -marm"
6333 TARGETFLAGS
="$TARGETFLAGS -marm"
6335 case $with_float_abi in
6337 float_abi
=$with_float_abi ;;
6344 saved_CFLAGS
=$CFLAGS
6345 CFLAGS
="$CFLAGS -mfloat-abi=$float_abi"
6346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6347 printf %s
"checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6348 if test ${wine_cv_float_abi+y}
6350 printf %s
"(cached) " >&6
6352 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6353 /* end confdefs.h. */
6358 asm("vmrs r2,fpscr");
6363 if ac_fn_c_try_link
"$LINENO"
6365 wine_cv_float_abi
=yes
6367 wine_cv_float_abi
=no
6369 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6370 conftest
$ac_exeext conftest.
$ac_ext
6372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6373 printf "%s\n" "$wine_cv_float_abi" >&6; }
6374 if test $wine_cv_float_abi = no
6377 as_fn_append wine_warnings
"|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6379 CFLAGS
=$saved_CFLAGS
6383 CFLAGS
="$CFLAGS -mfloat-abi=$float_abi"
6384 TARGETFLAGS
="$TARGETFLAGS -mfloat-abi=$float_abi"
6387 with_unwind
=${with_unwind:-no}
6391 enable_win16
=${enable_win16:-i386}
6392 enable_win64
=${enable_win64:-no}
6393 enable_wow64
=${enable_wow64:-aarch64,x86_64}
6394 enable_wow64win
=${enable_wow64win:-aarch64,x86_64}
6395 enable_wow64cpu
=${enable_wow64cpu:-x86_64}
6397 enable_winetest
=${enable_winetest:-$enable_tests}
6399 if test "x$enable_win64" = "xyes"
6401 test -z "$with_wine64" || as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
6402 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6406 cygwin
*|mingw32
*) toolsext
=".exe"
6414 aarch64
*) HOST_ARCH
=aarch64
;;
6415 arm
*) HOST_ARCH
=arm
;;
6416 i
[3456789]86*) HOST_ARCH
=i386
;;
6417 x86_64
) HOST_ARCH
=x86_64
;;
6421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6422 printf %s
"checking for the directory containing the Wine tools... " >&6; }
6423 if test ${wine_cv_toolsdir+y}
6425 printf %s
"(cached) " >&6
6427 wine_cv_toolsdir
="$with_wine_tools"
6428 if test -z "$with_wine_tools"; then
6429 if test "$cross_compiling" = "yes"; then
6430 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6431 elif test -n "$with_wine64"; then
6432 wine_cv_toolsdir
="$with_wine64"
6436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6437 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6438 if test -z "$wine_cv_toolsdir"; then
6439 wine_makedep
=tools
/makedep
$toolsext
6440 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6441 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
$toolsext
6442 enable_tools
=${enable_tools:-no}
6443 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6445 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6447 toolsdir
=$wine_cv_toolsdir
6449 MAKEDEP
=$wine_makedep
6451 RUNTESTFLAGS
="-q -P wine"
6453 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'"
6456 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6458 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
6463 # Extract the first word of "$ac_prog", so it can be a program name with args.
6464 set dummy
$ac_prog; ac_word
=$2
6465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6466 printf %s
"checking for $ac_word... " >&6; }
6467 if test ${ac_cv_prog_FLEX+y}
6469 printf %s
"(cached) " >&6
6471 if test -n "$FLEX"; then
6472 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
6474 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6478 case $as_dir in #(((
6481 *) as_dir
=$as_dir/ ;;
6483 for ac_exec_ext
in '' $ac_executable_extensions; do
6484 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6485 ac_cv_prog_FLEX
="$ac_prog"
6486 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6495 FLEX
=$ac_cv_prog_FLEX
6496 if test -n "$FLEX"; then
6497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6498 printf "%s\n" "$FLEX" >&6; }
6500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6501 printf "%s\n" "no" >&6; }
6505 test -n "$FLEX" && break
6507 test -n "$FLEX" || FLEX
="none"
6509 if test "$FLEX" = "none"
6511 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6514 printf %s
"checking whether flex is recent enough... " >&6; }
6515 if test ${wine_cv_recent_flex+y}
6517 printf %s
"(cached) " >&6
6519 cat >conftest.l
<<EOF
6521 #include "prediluvian.h"
6525 if $FLEX -t conftest.l
>/dev
/null
2>&5
6527 wine_cv_recent_flex
=yes
6529 wine_cv_recent_flex
=no
6532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6533 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6534 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
6536 for ac_prog
in bison
6538 # Extract the first word of "$ac_prog", so it can be a program name with args.
6539 set dummy
$ac_prog; ac_word
=$2
6540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6541 printf %s
"checking for $ac_word... " >&6; }
6542 if test ${ac_cv_prog_BISON+y}
6544 printf %s
"(cached) " >&6
6546 if test -n "$BISON"; then
6547 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
6549 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6553 case $as_dir in #(((
6556 *) as_dir
=$as_dir/ ;;
6558 for ac_exec_ext
in '' $ac_executable_extensions; do
6559 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6560 ac_cv_prog_BISON
="$ac_prog"
6561 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6570 BISON
=$ac_cv_prog_BISON
6571 if test -n "$BISON"; then
6572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6573 printf "%s\n" "$BISON" >&6; }
6575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6576 printf "%s\n" "no" >&6; }
6580 test -n "$BISON" && break
6582 test -n "$BISON" || BISON
="none"
6584 if test "$BISON" = "none"
6586 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6589 printf %s
"checking whether bison is recent enough... " >&6; }
6590 if test ${wine_cv_recent_bison+y}
6592 printf %s
"(cached) " >&6
6594 cat >conftest.y
<<EOF
6595 %define parse.error verbose
6599 if $BISON conftest.y
>/dev
/null
2>&5
6601 wine_cv_recent_bison
=yes
6603 wine_cv_recent_bison
=no
6606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6607 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6608 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
6610 if test -n "$ac_tool_prefix"; then
6611 for ac_prog
in ar gar
6613 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6614 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6616 printf %s
"checking for $ac_word... " >&6; }
6617 if test ${ac_cv_prog_AR+y}
6619 printf %s
"(cached) " >&6
6621 if test -n "$AR"; then
6622 ac_cv_prog_AR
="$AR" # Let the user override the test.
6624 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6628 case $as_dir in #(((
6631 *) as_dir
=$as_dir/ ;;
6633 for ac_exec_ext
in '' $ac_executable_extensions; do
6634 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6635 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
6636 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6646 if test -n "$AR"; then
6647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6648 printf "%s\n" "$AR" >&6; }
6650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6651 printf "%s\n" "no" >&6; }
6655 test -n "$AR" && break
6658 if test -z "$AR"; then
6660 for ac_prog
in ar gar
6662 # Extract the first word of "$ac_prog", so it can be a program name with args.
6663 set dummy
$ac_prog; ac_word
=$2
6664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6665 printf %s
"checking for $ac_word... " >&6; }
6666 if test ${ac_cv_prog_ac_ct_AR+y}
6668 printf %s
"(cached) " >&6
6670 if test -n "$ac_ct_AR"; then
6671 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6673 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6677 case $as_dir in #(((
6680 *) as_dir
=$as_dir/ ;;
6682 for ac_exec_ext
in '' $ac_executable_extensions; do
6683 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6684 ac_cv_prog_ac_ct_AR
="$ac_prog"
6685 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6694 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6695 if test -n "$ac_ct_AR"; then
6696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6697 printf "%s\n" "$ac_ct_AR" >&6; }
6699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6700 printf "%s\n" "no" >&6; }
6704 test -n "$ac_ct_AR" && break
6707 if test "x$ac_ct_AR" = x
; then
6710 case $cross_compiling:$ac_tool_warned in
6712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6713 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6714 ac_tool_warned
=yes ;;
6720 if test -n "$ac_tool_prefix"; then
6721 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6722 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6724 printf %s
"checking for $ac_word... " >&6; }
6725 if test ${ac_cv_prog_STRIP+y}
6727 printf %s
"(cached) " >&6
6729 if test -n "$STRIP"; then
6730 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6732 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6736 case $as_dir in #(((
6739 *) as_dir
=$as_dir/ ;;
6741 for ac_exec_ext
in '' $ac_executable_extensions; do
6742 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6743 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6744 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6753 STRIP
=$ac_cv_prog_STRIP
6754 if test -n "$STRIP"; then
6755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6756 printf "%s\n" "$STRIP" >&6; }
6758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6759 printf "%s\n" "no" >&6; }
6764 if test -z "$ac_cv_prog_STRIP"; then
6766 # Extract the first word of "strip", so it can be a program name with args.
6767 set dummy strip
; ac_word
=$2
6768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6769 printf %s
"checking for $ac_word... " >&6; }
6770 if test ${ac_cv_prog_ac_ct_STRIP+y}
6772 printf %s
"(cached) " >&6
6774 if test -n "$ac_ct_STRIP"; then
6775 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6777 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6781 case $as_dir in #(((
6784 *) as_dir
=$as_dir/ ;;
6786 for ac_exec_ext
in '' $ac_executable_extensions; do
6787 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6788 ac_cv_prog_ac_ct_STRIP
="strip"
6789 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6798 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6799 if test -n "$ac_ct_STRIP"; then
6800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6801 printf "%s\n" "$ac_ct_STRIP" >&6; }
6803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6804 printf "%s\n" "no" >&6; }
6807 if test "x$ac_ct_STRIP" = x
; then
6810 case $cross_compiling:$ac_tool_warned in
6812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6813 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6814 ac_tool_warned
=yes ;;
6819 STRIP
="$ac_cv_prog_STRIP"
6822 if test -n "$ac_tool_prefix"; then
6823 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6824 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6826 printf %s
"checking for $ac_word... " >&6; }
6827 if test ${ac_cv_prog_RANLIB+y}
6829 printf %s
"(cached) " >&6
6831 if test -n "$RANLIB"; then
6832 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6834 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6838 case $as_dir in #(((
6841 *) as_dir
=$as_dir/ ;;
6843 for ac_exec_ext
in '' $ac_executable_extensions; do
6844 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6845 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6846 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6855 RANLIB
=$ac_cv_prog_RANLIB
6856 if test -n "$RANLIB"; then
6857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6858 printf "%s\n" "$RANLIB" >&6; }
6860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6861 printf "%s\n" "no" >&6; }
6866 if test -z "$ac_cv_prog_RANLIB"; then
6867 ac_ct_RANLIB
=$RANLIB
6868 # Extract the first word of "ranlib", so it can be a program name with args.
6869 set dummy ranlib
; ac_word
=$2
6870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6871 printf %s
"checking for $ac_word... " >&6; }
6872 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6874 printf %s
"(cached) " >&6
6876 if test -n "$ac_ct_RANLIB"; then
6877 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6879 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6883 case $as_dir in #(((
6886 *) as_dir
=$as_dir/ ;;
6888 for ac_exec_ext
in '' $ac_executable_extensions; do
6889 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6890 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6891 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6900 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6901 if test -n "$ac_ct_RANLIB"; then
6902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6903 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6906 printf "%s\n" "no" >&6; }
6909 if test "x$ac_ct_RANLIB" = x
; then
6912 case $cross_compiling:$ac_tool_warned in
6914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6915 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6916 ac_tool_warned
=yes ;;
6918 RANLIB
=$ac_ct_RANLIB
6921 RANLIB
="$ac_cv_prog_RANLIB"
6924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6925 printf %s
"checking whether ln -s works... " >&6; }
6927 if test "$LN_S" = "ln -s"; then
6928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6929 printf "%s\n" "yes" >&6; }
6931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6932 printf "%s\n" "no, using $LN_S" >&6; }
6935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6936 printf %s
"checking for grep that handles long lines and -e... " >&6; }
6937 if test ${ac_cv_path_GREP+y}
6939 printf %s
"(cached) " >&6
6941 if test -z "$GREP"; then
6942 ac_path_GREP_found
=false
6943 # Loop through the user's path and test for each of PROGNAME-LIST
6944 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6945 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6948 case $as_dir in #(((
6951 *) as_dir
=$as_dir/ ;;
6953 for ac_prog
in grep ggrep
6955 for ac_exec_ext
in '' $ac_executable_extensions; do
6956 ac_path_GREP
="$as_dir$ac_prog$ac_exec_ext"
6957 as_fn_executable_p
"$ac_path_GREP" ||
continue
6958 # Check for GNU ac_path_GREP and select it if it is found.
6959 # Check for GNU $ac_path_GREP
6960 case `"$ac_path_GREP" --version 2>&1` in
6962 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6965 printf %s
0123456789 >"conftest.in"
6968 cat "conftest.in" "conftest.in" >"conftest.tmp"
6969 mv "conftest.tmp" "conftest.in"
6970 cp "conftest.in" "conftest.nl"
6971 printf "%s\n" 'GREP' >> "conftest.nl"
6972 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6973 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6974 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6975 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6976 # Best one so far, save it but keep looking for a better one
6977 ac_cv_path_GREP
="$ac_path_GREP"
6978 ac_path_GREP_max
=$ac_count
6980 # 10*(2^10) chars as input seems more than enough
6981 test $ac_count -gt 10 && break
6983 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6986 $ac_path_GREP_found && break 3
6991 if test -z "$ac_cv_path_GREP"; then
6992 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6995 ac_cv_path_GREP
=$GREP
6999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7000 printf "%s\n" "$ac_cv_path_GREP" >&6; }
7001 GREP
="$ac_cv_path_GREP"
7004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7005 printf %s
"checking for egrep... " >&6; }
7006 if test ${ac_cv_path_EGREP+y}
7008 printf %s
"(cached) " >&6
7010 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
7011 then ac_cv_path_EGREP
="$GREP -E"
7013 if test -z "$EGREP"; then
7014 ac_path_EGREP_found
=false
7015 # Loop through the user's path and test for each of PROGNAME-LIST
7016 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7017 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7020 case $as_dir in #(((
7023 *) as_dir
=$as_dir/ ;;
7025 for ac_prog
in egrep
7027 for ac_exec_ext
in '' $ac_executable_extensions; do
7028 ac_path_EGREP
="$as_dir$ac_prog$ac_exec_ext"
7029 as_fn_executable_p
"$ac_path_EGREP" ||
continue
7030 # Check for GNU ac_path_EGREP and select it if it is found.
7031 # Check for GNU $ac_path_EGREP
7032 case `"$ac_path_EGREP" --version 2>&1` in
7034 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
7037 printf %s
0123456789 >"conftest.in"
7040 cat "conftest.in" "conftest.in" >"conftest.tmp"
7041 mv "conftest.tmp" "conftest.in"
7042 cp "conftest.in" "conftest.nl"
7043 printf "%s\n" 'EGREP' >> "conftest.nl"
7044 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7045 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7046 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7047 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7048 # Best one so far, save it but keep looking for a better one
7049 ac_cv_path_EGREP
="$ac_path_EGREP"
7050 ac_path_EGREP_max
=$ac_count
7052 # 10*(2^10) chars as input seems more than enough
7053 test $ac_count -gt 10 && break
7055 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7058 $ac_path_EGREP_found && break 3
7063 if test -z "$ac_cv_path_EGREP"; then
7064 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7067 ac_cv_path_EGREP
=$EGREP
7072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7073 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7074 EGREP
="$ac_cv_path_EGREP"
7077 # Extract the first word of "ldconfig", so it can be a program name with args.
7078 set dummy ldconfig
; ac_word
=$2
7079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7080 printf %s
"checking for $ac_word... " >&6; }
7081 if test ${ac_cv_path_LDCONFIG+y}
7083 printf %s
"(cached) " >&6
7087 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
7090 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7091 for as_dir
in /sbin
/usr
/sbin
$PATH
7094 case $as_dir in #(((
7097 *) as_dir
=$as_dir/ ;;
7099 for ac_exec_ext
in '' $ac_executable_extensions; do
7100 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7101 ac_cv_path_LDCONFIG
="$as_dir$ac_word$ac_exec_ext"
7102 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7109 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
7113 LDCONFIG
=$ac_cv_path_LDCONFIG
7114 if test -n "$LDCONFIG"; then
7115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7116 printf "%s\n" "$LDCONFIG" >&6; }
7118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7119 printf "%s\n" "no" >&6; }
7123 for ac_prog
in msgfmt
7125 # Extract the first word of "$ac_prog", so it can be a program name with args.
7126 set dummy
$ac_prog; ac_word
=$2
7127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7128 printf %s
"checking for $ac_word... " >&6; }
7129 if test ${ac_cv_prog_MSGFMT+y}
7131 printf %s
"(cached) " >&6
7133 if test -n "$MSGFMT"; then
7134 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
7136 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7140 case $as_dir in #(((
7143 *) as_dir
=$as_dir/ ;;
7145 for ac_exec_ext
in '' $ac_executable_extensions; do
7146 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7147 ac_cv_prog_MSGFMT
="$ac_prog"
7148 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7157 MSGFMT
=$ac_cv_prog_MSGFMT
7158 if test -n "$MSGFMT"; then
7159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7160 printf "%s\n" "$MSGFMT" >&6; }
7162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7163 printf "%s\n" "no" >&6; }
7167 test -n "$MSGFMT" && break
7169 test -n "$MSGFMT" || MSGFMT
="false"
7171 if test ${ac_tool_prefix+y}
7173 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7174 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
7175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7176 printf %s
"checking for $ac_word... " >&6; }
7177 if test ${ac_cv_prog_PKG_CONFIG+y}
7179 printf %s
"(cached) " >&6
7181 if test -n "$PKG_CONFIG"; then
7182 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
7184 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7188 case $as_dir in #(((
7191 *) as_dir
=$as_dir/ ;;
7193 for ac_exec_ext
in '' $ac_executable_extensions; do
7194 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7195 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
7196 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7205 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7206 if test -n "$PKG_CONFIG"; then
7207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7208 printf "%s\n" "$PKG_CONFIG" >&6; }
7210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7211 printf "%s\n" "no" >&6; }
7216 if ${ac_cv_prog_PKG_CONFIG:+false} :
7218 if test "x$cross_compiling" = xyes
7222 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
7223 # Extract the first word of "pkg-config", so it can be a program name with args.
7224 set dummy pkg-config
; ac_word
=$2
7225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7226 printf %s
"checking for $ac_word... " >&6; }
7227 if test ${ac_cv_prog_PKG_CONFIG+y}
7229 printf %s
"(cached) " >&6
7231 if test -n "$PKG_CONFIG"; then
7232 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
7234 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7238 case $as_dir in #(((
7241 *) as_dir
=$as_dir/ ;;
7243 for ac_exec_ext
in '' $ac_executable_extensions; do
7244 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7245 ac_cv_prog_PKG_CONFIG
="pkg-config"
7246 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7255 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7256 if test -n "$PKG_CONFIG"; then
7257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7258 printf "%s\n" "$PKG_CONFIG" >&6; }
7260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7261 printf "%s\n" "no" >&6; }
7267 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7270 if test "x$enable_maintainer_mode" != "xyes"
7277 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
7278 for ac_prog
in fontforge
7280 # Extract the first word of "$ac_prog", so it can be a program name with args.
7281 set dummy
$ac_prog; ac_word
=$2
7282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7283 printf %s
"checking for $ac_word... " >&6; }
7284 if test ${ac_cv_prog_FONTFORGE+y}
7286 printf %s
"(cached) " >&6
7288 if test -n "$FONTFORGE"; then
7289 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
7291 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7295 case $as_dir in #(((
7298 *) as_dir
=$as_dir/ ;;
7300 for ac_exec_ext
in '' $ac_executable_extensions; do
7301 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7302 ac_cv_prog_FONTFORGE
="$ac_prog"
7303 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7312 FONTFORGE
=$ac_cv_prog_FONTFORGE
7313 if test -n "$FONTFORGE"; then
7314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7315 printf "%s\n" "$FONTFORGE" >&6; }
7317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7318 printf "%s\n" "no" >&6; }
7322 test -n "$FONTFORGE" && break
7324 test -n "$FONTFORGE" || FONTFORGE
="false"
7326 for ac_prog
in rsvg-convert rsvg
7328 # Extract the first word of "$ac_prog", so it can be a program name with args.
7329 set dummy
$ac_prog; ac_word
=$2
7330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7331 printf %s
"checking for $ac_word... " >&6; }
7332 if test ${ac_cv_prog_RSVG+y}
7334 printf %s
"(cached) " >&6
7336 if test -n "$RSVG"; then
7337 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
7339 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7343 case $as_dir in #(((
7346 *) as_dir
=$as_dir/ ;;
7348 for ac_exec_ext
in '' $ac_executable_extensions; do
7349 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7350 ac_cv_prog_RSVG
="$ac_prog"
7351 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7360 RSVG
=$ac_cv_prog_RSVG
7361 if test -n "$RSVG"; then
7362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7363 printf "%s\n" "$RSVG" >&6; }
7365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7366 printf "%s\n" "no" >&6; }
7370 test -n "$RSVG" && break
7372 test -n "$RSVG" || RSVG
="false"
7374 for ac_prog
in convert
7376 # Extract the first word of "$ac_prog", so it can be a program name with args.
7377 set dummy
$ac_prog; ac_word
=$2
7378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7379 printf %s
"checking for $ac_word... " >&6; }
7380 if test ${ac_cv_prog_CONVERT+y}
7382 printf %s
"(cached) " >&6
7384 if test -n "$CONVERT"; then
7385 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
7387 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7391 case $as_dir in #(((
7394 *) as_dir
=$as_dir/ ;;
7396 for ac_exec_ext
in '' $ac_executable_extensions; do
7397 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7398 ac_cv_prog_CONVERT
="$ac_prog"
7399 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7408 CONVERT
=$ac_cv_prog_CONVERT
7409 if test -n "$CONVERT"; then
7410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7411 printf "%s\n" "$CONVERT" >&6; }
7413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7414 printf "%s\n" "no" >&6; }
7418 test -n "$CONVERT" && break
7420 test -n "$CONVERT" || CONVERT
="false"
7422 for ac_prog
in icotool
7424 # Extract the first word of "$ac_prog", so it can be a program name with args.
7425 set dummy
$ac_prog; ac_word
=$2
7426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7427 printf %s
"checking for $ac_word... " >&6; }
7428 if test ${ac_cv_prog_ICOTOOL+y}
7430 printf %s
"(cached) " >&6
7432 if test -n "$ICOTOOL"; then
7433 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
7435 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7439 case $as_dir in #(((
7442 *) as_dir
=$as_dir/ ;;
7444 for ac_exec_ext
in '' $ac_executable_extensions; do
7445 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7446 ac_cv_prog_ICOTOOL
="$ac_prog"
7447 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7456 ICOTOOL
=$ac_cv_prog_ICOTOOL
7457 if test -n "$ICOTOOL"; then
7458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7459 printf "%s\n" "$ICOTOOL" >&6; }
7461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7462 printf "%s\n" "no" >&6; }
7466 test -n "$ICOTOOL" && break
7468 test -n "$ICOTOOL" || ICOTOOL
="false"
7470 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7471 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7473 if test "$CONVERT" = false
7475 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7478 printf %s
"checking for recent enough imagemagick... " >&6; }
7479 convert_version
=`convert --version | head -n1`
7480 if test "x$convert_version" != "x"
7482 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7483 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7484 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7489 if test "$CONVERT" = false
7491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7492 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7493 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7496 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7500 if test "$ICOTOOL" = false
7502 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7505 printf %s
"checking for recent enough icotool... " >&6; }
7506 icotool_version
=`icotool --version | head -n1`
7507 if test "x$icotool_version" != "x"
7509 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7510 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7511 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7514 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
7517 if test "$ICOTOOL" = false
7519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7520 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7521 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7524 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7534 test "x$with_gettext" != xno || MSGFMT
=false
7535 if test "$MSGFMT" != "false"
7537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7538 printf %s
"checking whether msgfmt supports contexts... " >&6; }
7539 if test ${wine_cv_msgfmt_contexts+y}
7541 printf %s
"(cached) " >&6
7543 cat >conftest.po
<<EOF
7549 if $MSGFMT -o /dev
/null conftest.po
2>&5
7551 wine_cv_msgfmt_contexts
=yes
7553 wine_cv_msgfmt_contexts
=no
7556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7557 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7558 test $wine_cv_msgfmt_contexts != no || MSGFMT
=false
7560 if test "$MSGFMT" = false
7562 case "x$with_gettext" in
7563 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
7565 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
7566 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7568 enable_po
=${enable_po:-no}
7572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7573 printf %s
"checking for i386_set_ldt in -li386... " >&6; }
7574 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7576 printf %s
"(cached) " >&6
7578 ac_check_lib_save_LIBS
=$LIBS
7580 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7581 /* end confdefs.h. */
7583 /* Override any GCC internal prototype to avoid an error.
7584 Use char because int might match the return type of a GCC
7585 builtin and then its argument prototype would still apply. */
7586 char i386_set_ldt ();
7590 return i386_set_ldt ();
7595 if ac_fn_c_try_link
"$LINENO"
7597 ac_cv_lib_i386_i386_set_ldt
=yes
7599 ac_cv_lib_i386_i386_set_ldt
=no
7601 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
7602 conftest
$ac_exeext conftest.
$ac_ext
7603 LIBS
=$ac_check_lib_save_LIBS
7605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7606 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7607 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7618 # Check whether --enable-largefile was given.
7619 if test ${enable_largefile+y}
7621 enableval
=$enable_largefile;
7624 if test "$enable_largefile" != no
; then
7626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7627 printf %s
"checking for special C compiler options needed for large files... " >&6; }
7628 if test ${ac_cv_sys_largefile_CC+y}
7630 printf %s
"(cached) " >&6
7632 ac_cv_sys_largefile_CC
=no
7633 if test "$GCC" != yes; then
7636 # IRIX 6.2 and later do not support large files by default,
7637 # so use the C compiler's -n32 option if that helps.
7638 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7639 /* end confdefs.h. */
7640 #include <sys/types.h>
7641 /* Check that off_t can represent 2**63 - 1 correctly.
7642 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7643 since some C++ compilers masquerading as C compilers
7644 incorrectly reject 9223372036854775807. */
7645 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7646 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7647 && LARGE_OFF_T % 2147483647 == 1)
7657 if ac_fn_c_try_compile
"$LINENO"
7661 rm -f core conftest.err conftest.
$ac_objext conftest.beam
7663 if ac_fn_c_try_compile
"$LINENO"
7665 ac_cv_sys_largefile_CC
=' -n32'; break
7667 rm -f core conftest.err conftest.
$ac_objext conftest.beam
7671 rm -f conftest.
$ac_ext
7674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7675 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7676 if test "$ac_cv_sys_largefile_CC" != no
; then
7677 CC
=$CC$ac_cv_sys_largefile_CC
7680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7681 printf %s
"checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7682 if test ${ac_cv_sys_file_offset_bits+y}
7684 printf %s
"(cached) " >&6
7687 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7688 /* end confdefs.h. */
7689 #include <sys/types.h>
7690 /* Check that off_t can represent 2**63 - 1 correctly.
7691 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7692 since some C++ compilers masquerading as C compilers
7693 incorrectly reject 9223372036854775807. */
7694 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7695 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7696 && LARGE_OFF_T % 2147483647 == 1)
7706 if ac_fn_c_try_compile
"$LINENO"
7708 ac_cv_sys_file_offset_bits
=no
; break
7710 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7711 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7712 /* end confdefs.h. */
7713 #define _FILE_OFFSET_BITS 64
7714 #include <sys/types.h>
7715 /* Check that off_t can represent 2**63 - 1 correctly.
7716 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7717 since some C++ compilers masquerading as C compilers
7718 incorrectly reject 9223372036854775807. */
7719 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7720 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7721 && LARGE_OFF_T % 2147483647 == 1)
7731 if ac_fn_c_try_compile
"$LINENO"
7733 ac_cv_sys_file_offset_bits
=64; break
7735 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7736 ac_cv_sys_file_offset_bits
=unknown
7740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7741 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7742 case $ac_cv_sys_file_offset_bits in #(
7745 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7749 if test $ac_cv_sys_file_offset_bits = unknown
; then
7750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7751 printf %s
"checking for _LARGE_FILES value needed for large files... " >&6; }
7752 if test ${ac_cv_sys_large_files+y}
7754 printf %s
"(cached) " >&6
7757 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7758 /* end confdefs.h. */
7759 #include <sys/types.h>
7760 /* Check that off_t can represent 2**63 - 1 correctly.
7761 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7762 since some C++ compilers masquerading as C compilers
7763 incorrectly reject 9223372036854775807. */
7764 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7765 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7766 && LARGE_OFF_T % 2147483647 == 1)
7776 if ac_fn_c_try_compile
"$LINENO"
7778 ac_cv_sys_large_files
=no
; break
7780 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7781 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7782 /* end confdefs.h. */
7783 #define _LARGE_FILES 1
7784 #include <sys/types.h>
7785 /* Check that off_t can represent 2**63 - 1 correctly.
7786 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7787 since some C++ compilers masquerading as C compilers
7788 incorrectly reject 9223372036854775807. */
7789 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7790 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7791 && LARGE_OFF_T % 2147483647 == 1)
7801 if ac_fn_c_try_compile
"$LINENO"
7803 ac_cv_sys_large_files
=1; break
7805 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7806 ac_cv_sys_large_files
=unknown
7810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7811 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7812 case $ac_cv_sys_large_files in #(
7815 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7823 ac_header
= ac_cache
=
7824 for ac_item
in $ac_header_c_list
7826 if test $ac_cache; then
7827 ac_fn_c_check_header_compile
"$LINENO" $ac_header ac_cv_header_
$ac_cache "$ac_includes_default"
7828 if eval test \"x\
$ac_cv_header_$ac_cache\" = xyes
; then
7829 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7831 ac_header
= ac_cache
=
7832 elif test $ac_header; then
7846 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7849 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7852 ac_fn_c_check_header_compile
"$LINENO" "AL/al.h" "ac_cv_header_AL_al_h" "$ac_includes_default"
7853 if test "x$ac_cv_header_AL_al_h" = xyes
7855 printf "%s\n" "#define HAVE_AL_AL_H 1" >>confdefs.h
7858 ac_fn_c_check_header_compile
"$LINENO" "ApplicationServices/ApplicationServices.h" "ac_cv_header_ApplicationServices_ApplicationServices_h" "$ac_includes_default"
7859 if test "x$ac_cv_header_ApplicationServices_ApplicationServices_h" = xyes
7861 printf "%s\n" "#define HAVE_APPLICATIONSERVICES_APPLICATIONSERVICES_H 1" >>confdefs.h
7864 ac_fn_c_check_header_compile
"$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7865 if test "x$ac_cv_header_CL_cl_h" = xyes
7867 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7870 ac_fn_c_check_header_compile
"$LINENO" "Carbon/Carbon.h" "ac_cv_header_Carbon_Carbon_h" "$ac_includes_default"
7871 if test "x$ac_cv_header_Carbon_Carbon_h" = xyes
7873 printf "%s\n" "#define HAVE_CARBON_CARBON_H 1" >>confdefs.h
7876 ac_fn_c_check_header_compile
"$LINENO" "CoreAudio/CoreAudio.h" "ac_cv_header_CoreAudio_CoreAudio_h" "$ac_includes_default"
7877 if test "x$ac_cv_header_CoreAudio_CoreAudio_h" = xyes
7879 printf "%s\n" "#define HAVE_COREAUDIO_COREAUDIO_H 1" >>confdefs.h
7882 ac_fn_c_check_header_compile
"$LINENO" "DiskArbitration/DiskArbitration.h" "ac_cv_header_DiskArbitration_DiskArbitration_h" "$ac_includes_default"
7883 if test "x$ac_cv_header_DiskArbitration_DiskArbitration_h" = xyes
7885 printf "%s\n" "#define HAVE_DISKARBITRATION_DISKARBITRATION_H 1" >>confdefs.h
7888 ac_fn_c_check_header_compile
"$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7889 if test "x$ac_cv_header_EGL_egl_h" = xyes
7891 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7894 ac_fn_c_check_header_compile
"$LINENO" "IOKit/IOKitLib.h" "ac_cv_header_IOKit_IOKitLib_h" "$ac_includes_default"
7895 if test "x$ac_cv_header_IOKit_IOKitLib_h" = xyes
7897 printf "%s\n" "#define HAVE_IOKIT_IOKITLIB_H 1" >>confdefs.h
7900 ac_fn_c_check_header_compile
"$LINENO" "IOKit/hid/IOHIDLib.h" "ac_cv_header_IOKit_hid_IOHIDLib_h" "$ac_includes_default"
7901 if test "x$ac_cv_header_IOKit_hid_IOHIDLib_h" = xyes
7903 printf "%s\n" "#define HAVE_IOKIT_HID_IOHIDLIB_H 1" >>confdefs.h
7906 ac_fn_c_check_header_compile
"$LINENO" "OpenAL/al.h" "ac_cv_header_OpenAL_al_h" "$ac_includes_default"
7907 if test "x$ac_cv_header_OpenAL_al_h" = xyes
7909 printf "%s\n" "#define HAVE_OPENAL_AL_H 1" >>confdefs.h
7912 ac_fn_c_check_header_compile
"$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7913 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7915 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7918 ac_fn_c_check_header_compile
"$LINENO" "Security/Security.h" "ac_cv_header_Security_Security_h" "$ac_includes_default"
7919 if test "x$ac_cv_header_Security_Security_h" = xyes
7921 printf "%s\n" "#define HAVE_SECURITY_SECURITY_H 1" >>confdefs.h
7924 ac_fn_c_check_header_compile
"$LINENO" "SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h" "ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" "$ac_includes_default"
7925 if test "x$ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" = xyes
7927 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCDYNAMICSTORECOPYDHCPINFO_H 1" >>confdefs.h
7930 ac_fn_c_check_header_compile
"$LINENO" "SystemConfiguration/SCNetworkConfiguration.h" "ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" "$ac_includes_default"
7931 if test "x$ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" = xyes
7933 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCNETWORKCONFIGURATION_H 1" >>confdefs.h
7936 ac_fn_c_check_header_compile
"$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7937 if test "x$ac_cv_header_arpa_inet_h" = xyes
7939 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7942 ac_fn_c_check_header_compile
"$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7943 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7945 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7948 ac_fn_c_check_header_compile
"$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7949 if test "x$ac_cv_header_asm_types_h" = xyes
7951 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7954 ac_fn_c_check_header_compile
"$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7955 if test "x$ac_cv_header_asm_user_h" = xyes
7957 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7960 ac_fn_c_check_header_compile
"$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7961 if test "x$ac_cv_header_elf_h" = xyes
7963 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7966 ac_fn_c_check_header_compile
"$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7967 if test "x$ac_cv_header_float_h" = xyes
7969 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7972 ac_fn_c_check_header_compile
"$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7973 if test "x$ac_cv_header_gettext_po_h" = xyes
7975 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7978 ac_fn_c_check_header_compile
"$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7979 if test "x$ac_cv_header_libproc_h" = xyes
7981 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7984 ac_fn_c_check_header_compile
"$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7985 if test "x$ac_cv_header_link_h" = xyes
7987 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7990 ac_fn_c_check_header_compile
"$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7991 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7993 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7996 ac_fn_c_check_header_compile
"$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7997 if test "x$ac_cv_header_linux_filter_h" = xyes
7999 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
8002 ac_fn_c_check_header_compile
"$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
8003 if test "x$ac_cv_header_linux_hdreg_h" = xyes
8005 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
8008 ac_fn_c_check_header_compile
"$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
8009 if test "x$ac_cv_header_linux_hidraw_h" = xyes
8011 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
8014 ac_fn_c_check_header_compile
"$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
8015 if test "x$ac_cv_header_linux_input_h" = xyes
8017 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
8020 ac_fn_c_check_header_compile
"$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
8021 if test "x$ac_cv_header_linux_ioctl_h" = xyes
8023 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
8026 ac_fn_c_check_header_compile
"$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
8027 if test "x$ac_cv_header_linux_major_h" = xyes
8029 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
8032 ac_fn_c_check_header_compile
"$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
8033 if test "x$ac_cv_header_linux_param_h" = xyes
8035 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
8038 ac_fn_c_check_header_compile
"$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
8039 if test "x$ac_cv_header_linux_serial_h" = xyes
8041 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
8044 ac_fn_c_check_header_compile
"$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
8045 if test "x$ac_cv_header_linux_types_h" = xyes
8047 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
8050 ac_fn_c_check_header_compile
"$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
8051 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
8053 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
8056 ac_fn_c_check_header_compile
"$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
8057 if test "x$ac_cv_header_lwp_h" = xyes
8059 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
8062 ac_fn_c_check_header_compile
"$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
8063 if test "x$ac_cv_header_mach_o_loader_h" = xyes
8065 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8068 ac_fn_c_check_header_compile
"$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8069 if test "x$ac_cv_header_mach_mach_h" = xyes
8071 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8074 ac_fn_c_check_header_compile
"$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8075 if test "x$ac_cv_header_machine_cpu_h" = xyes
8077 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8080 ac_fn_c_check_header_compile
"$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8081 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8083 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8086 ac_fn_c_check_header_compile
"$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8087 if test "x$ac_cv_header_mntent_h" = xyes
8089 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8092 ac_fn_c_check_header_compile
"$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8093 if test "x$ac_cv_header_netdb_h" = xyes
8095 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8098 ac_fn_c_check_header_compile
"$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8099 if test "x$ac_cv_header_netinet_in_h" = xyes
8101 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8104 ac_fn_c_check_header_compile
"$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8105 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8107 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8110 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8111 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8113 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8116 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8117 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8119 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8122 ac_fn_c_check_header_compile
"$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8123 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8125 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8128 ac_fn_c_check_header_compile
"$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8129 if test "x$ac_cv_header_port_h" = xyes
8131 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8134 ac_fn_c_check_header_compile
"$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8135 if test "x$ac_cv_header_pthread_h" = xyes
8137 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8140 ac_fn_c_check_header_compile
"$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8141 if test "x$ac_cv_header_pwd_h" = xyes
8143 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8146 ac_fn_c_check_header_compile
"$LINENO" "sasl/sasl.h" "ac_cv_header_sasl_sasl_h" "$ac_includes_default"
8147 if test "x$ac_cv_header_sasl_sasl_h" = xyes
8149 printf "%s\n" "#define HAVE_SASL_SASL_H 1" >>confdefs.h
8152 ac_fn_c_check_header_compile
"$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8153 if test "x$ac_cv_header_sched_h" = xyes
8155 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8158 ac_fn_c_check_header_compile
"$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8159 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8161 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8164 ac_fn_c_check_header_compile
"$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8165 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8167 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8170 ac_fn_c_check_header_compile
"$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8171 if test "x$ac_cv_header_scsi_sg_h" = xyes
8173 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8176 ac_fn_c_check_header_compile
"$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8177 if test "x$ac_cv_header_stdint_h" = xyes
8179 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8182 ac_fn_c_check_header_compile
"$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8183 if test "x$ac_cv_header_sys_attr_h" = xyes
8185 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8188 ac_fn_c_check_header_compile
"$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8189 if test "x$ac_cv_header_sys_auxv_h" = xyes
8191 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8194 ac_fn_c_check_header_compile
"$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8195 if test "x$ac_cv_header_sys_cdio_h" = xyes
8197 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8200 ac_fn_c_check_header_compile
"$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8201 if test "x$ac_cv_header_sys_epoll_h" = xyes
8203 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8206 ac_fn_c_check_header_compile
"$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8207 if test "x$ac_cv_header_sys_event_h" = xyes
8209 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8212 ac_fn_c_check_header_compile
"$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8213 if test "x$ac_cv_header_sys_filio_h" = xyes
8215 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8218 ac_fn_c_check_header_compile
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8219 if test "x$ac_cv_header_sys_ipc_h" = xyes
8221 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8224 ac_fn_c_check_header_compile
"$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8225 if test "x$ac_cv_header_sys_link_h" = xyes
8227 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8230 ac_fn_c_check_header_compile
"$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8231 if test "x$ac_cv_header_sys_modem_h" = xyes
8233 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8236 ac_fn_c_check_header_compile
"$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8237 if test "x$ac_cv_header_sys_mtio_h" = xyes
8239 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8242 ac_fn_c_check_header_compile
"$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8243 if test "x$ac_cv_header_sys_param_h" = xyes
8245 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8248 ac_fn_c_check_header_compile
"$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8249 if test "x$ac_cv_header_sys_prctl_h" = xyes
8251 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8254 ac_fn_c_check_header_compile
"$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8255 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8257 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8260 ac_fn_c_check_header_compile
"$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8261 if test "x$ac_cv_header_sys_queue_h" = xyes
8263 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8266 ac_fn_c_check_header_compile
"$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8267 if test "x$ac_cv_header_sys_random_h" = xyes
8269 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8272 ac_fn_c_check_header_compile
"$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8273 if test "x$ac_cv_header_sys_resource_h" = xyes
8275 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8278 ac_fn_c_check_header_compile
"$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8279 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8281 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8284 ac_fn_c_check_header_compile
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8285 if test "x$ac_cv_header_sys_shm_h" = xyes
8287 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8290 ac_fn_c_check_header_compile
"$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8291 if test "x$ac_cv_header_sys_signal_h" = xyes
8293 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8296 ac_fn_c_check_header_compile
"$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8297 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8299 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8302 ac_fn_c_check_header_compile
"$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8303 if test "x$ac_cv_header_sys_sockio_h" = xyes
8305 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8308 ac_fn_c_check_header_compile
"$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8309 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8311 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8314 ac_fn_c_check_header_compile
"$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8315 if test "x$ac_cv_header_sys_strtio_h" = xyes
8317 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8320 ac_fn_c_check_header_compile
"$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8321 if test "x$ac_cv_header_sys_syscall_h" = xyes
8323 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8326 ac_fn_c_check_header_compile
"$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8327 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8329 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8332 ac_fn_c_check_header_compile
"$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8333 if test "x$ac_cv_header_sys_times_h" = xyes
8335 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8338 ac_fn_c_check_header_compile
"$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8339 if test "x$ac_cv_header_sys_uio_h" = xyes
8341 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8344 ac_fn_c_check_header_compile
"$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8345 if test "x$ac_cv_header_sys_user_h" = xyes
8347 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8350 ac_fn_c_check_header_compile
"$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8351 if test "x$ac_cv_header_sys_utsname_h" = xyes
8353 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8356 ac_fn_c_check_header_compile
"$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8357 if test "x$ac_cv_header_sys_vnode_h" = xyes
8359 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8362 ac_fn_c_check_header_compile
"$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8363 if test "x$ac_cv_header_sys_xattr_h" = xyes
8365 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8368 ac_fn_c_check_header_compile
"$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8369 if test "x$ac_cv_header_syscall_h" = xyes
8371 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8374 ac_fn_c_check_header_compile
"$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8375 if test "x$ac_cv_header_utime_h" = xyes
8377 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8380 ac_fn_c_check_header_compile
"$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8381 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8383 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8386 ac_fn_c_check_header_compile
"$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8387 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8389 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8393 ac_fn_c_check_header_compile
"$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8394 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8397 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8401 if test $ac_cv_header_sys_mkdev_h = no
; then
8402 ac_fn_c_check_header_compile
"$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8403 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8406 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8412 printf %s
"checking whether stat file-mode macros are broken... " >&6; }
8413 if test ${ac_cv_header_stat_broken+y}
8415 printf %s
"(cached) " >&6
8417 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8418 /* end confdefs.h. */
8419 #include <sys/types.h>
8420 #include <sys/stat.h>
8422 #if defined S_ISBLK && defined S_IFDIR
8423 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8426 #if defined S_ISBLK && defined S_IFCHR
8427 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8430 #if defined S_ISLNK && defined S_IFREG
8431 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8434 #if defined S_ISSOCK && defined S_IFREG
8435 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8439 if ac_fn_c_try_compile
"$LINENO"
8441 ac_cv_header_stat_broken
=no
8443 ac_cv_header_stat_broken
=yes
8445 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8448 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8449 if test $ac_cv_header_stat_broken = yes; then
8451 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8457 ac_fn_c_check_header_compile
"$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8458 #ifdef HAVE_SYS_PARAM_H
8459 # include <sys/param.h>
8462 if test "x$ac_cv_header_sys_conf_h" = xyes
8464 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8467 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8468 #ifdef HAVE_SYS_PARAM_H
8469 # include <sys/param.h>
8472 if test "x$ac_cv_header_sys_mount_h" = xyes
8474 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8477 ac_fn_c_check_header_compile
"$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8478 #ifdef HAVE_SYS_PARAM_H
8479 # include <sys/param.h>
8482 if test "x$ac_cv_header_sys_statfs_h" = xyes
8484 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8487 ac_fn_c_check_header_compile
"$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8488 #ifdef HAVE_SYS_PARAM_H
8489 # include <sys/param.h>
8492 if test "x$ac_cv_header_sys_user_h" = xyes
8494 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8497 ac_fn_c_check_header_compile
"$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8498 #ifdef HAVE_SYS_PARAM_H
8499 # include <sys/param.h>
8502 if test "x$ac_cv_header_sys_vfs_h" = xyes
8504 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8509 saved_sysctl_h_CFLAGS
=$CFLAGS
8510 test "x${GCC}" != xyes || CFLAGS
="$CFLAGS -Werror"
8511 ac_fn_c_check_header_compile
"$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8512 #ifdef HAVE_SYS_PARAM_H
8513 # include <sys/param.h>
8516 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8518 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8522 CFLAGS
=$saved_sysctl_h_CFLAGS
8524 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8525 #include <sys/socket.h>
8526 #ifdef HAVE_SYS_SOCKETVAR_H
8527 # include <sys/socketvar.h>
8529 #ifdef HAVE_NET_ROUTE_H
8530 # include <net/route.h>
8532 #ifdef HAVE_NETINET_IN_H
8533 # include <netinet/in.h>
8535 #ifdef HAVE_NETINET_IN_SYSTM_H
8536 # include <netinet/in_systm.h>
8538 #ifdef HAVE_NET_IF_H
8539 # include <net/if.h>
8541 #ifdef HAVE_NETINET_IP_H
8542 # include <netinet/ip.h>
8545 if test "x$ac_cv_header_netinet_ip_h" = xyes
8547 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8550 ac_fn_c_check_header_compile
"$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8551 #include <sys/socket.h>
8552 #ifdef HAVE_SYS_SOCKETVAR_H
8553 # include <sys/socketvar.h>
8555 #ifdef HAVE_NET_ROUTE_H
8556 # include <net/route.h>
8558 #ifdef HAVE_NETINET_IN_H
8559 # include <netinet/in.h>
8561 #ifdef HAVE_NETINET_IN_SYSTM_H
8562 # include <netinet/in_systm.h>
8564 #ifdef HAVE_NET_IF_H
8565 # include <net/if.h>
8567 #ifdef HAVE_NETINET_IP_H
8568 # include <netinet/ip.h>
8571 if test "x$ac_cv_header_net_if_h" = xyes
8573 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8576 ac_fn_c_check_header_compile
"$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8577 #include <sys/socket.h>
8578 #ifdef HAVE_SYS_SOCKETVAR_H
8579 # include <sys/socketvar.h>
8581 #ifdef HAVE_NET_ROUTE_H
8582 # include <net/route.h>
8584 #ifdef HAVE_NETINET_IN_H
8585 # include <netinet/in.h>
8587 #ifdef HAVE_NETINET_IN_SYSTM_H
8588 # include <netinet/in_systm.h>
8590 #ifdef HAVE_NET_IF_H
8591 # include <net/if.h>
8593 #ifdef HAVE_NETINET_IP_H
8594 # include <netinet/ip.h>
8597 if test "x$ac_cv_header_net_if_arp_h" = xyes
8599 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8602 ac_fn_c_check_header_compile
"$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8603 #include <sys/socket.h>
8604 #ifdef HAVE_SYS_SOCKETVAR_H
8605 # include <sys/socketvar.h>
8607 #ifdef HAVE_NET_ROUTE_H
8608 # include <net/route.h>
8610 #ifdef HAVE_NETINET_IN_H
8611 # include <netinet/in.h>
8613 #ifdef HAVE_NETINET_IN_SYSTM_H
8614 # include <netinet/in_systm.h>
8616 #ifdef HAVE_NET_IF_H
8617 # include <net/if.h>
8619 #ifdef HAVE_NETINET_IP_H
8620 # include <netinet/ip.h>
8623 if test "x$ac_cv_header_net_if_dl_h" = xyes
8625 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8628 ac_fn_c_check_header_compile
"$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8629 #include <sys/socket.h>
8630 #ifdef HAVE_SYS_SOCKETVAR_H
8631 # include <sys/socketvar.h>
8633 #ifdef HAVE_NET_ROUTE_H
8634 # include <net/route.h>
8636 #ifdef HAVE_NETINET_IN_H
8637 # include <netinet/in.h>
8639 #ifdef HAVE_NETINET_IN_SYSTM_H
8640 # include <netinet/in_systm.h>
8642 #ifdef HAVE_NET_IF_H
8643 # include <net/if.h>
8645 #ifdef HAVE_NETINET_IP_H
8646 # include <netinet/ip.h>
8649 if test "x$ac_cv_header_net_if_types_h" = xyes
8651 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8654 ac_fn_c_check_header_compile
"$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8655 #include <sys/socket.h>
8656 #ifdef HAVE_SYS_SOCKETVAR_H
8657 # include <sys/socketvar.h>
8659 #ifdef HAVE_NET_ROUTE_H
8660 # include <net/route.h>
8662 #ifdef HAVE_NETINET_IN_H
8663 # include <netinet/in.h>
8665 #ifdef HAVE_NETINET_IN_SYSTM_H
8666 # include <netinet/in_systm.h>
8668 #ifdef HAVE_NET_IF_H
8669 # include <net/if.h>
8671 #ifdef HAVE_NETINET_IP_H
8672 # include <netinet/ip.h>
8675 if test "x$ac_cv_header_net_route_h" = xyes
8677 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8680 ac_fn_c_check_header_compile
"$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8681 #include <sys/socket.h>
8682 #ifdef HAVE_SYS_SOCKETVAR_H
8683 # include <sys/socketvar.h>
8685 #ifdef HAVE_NET_ROUTE_H
8686 # include <net/route.h>
8688 #ifdef HAVE_NETINET_IN_H
8689 # include <netinet/in.h>
8691 #ifdef HAVE_NETINET_IN_SYSTM_H
8692 # include <netinet/in_systm.h>
8694 #ifdef HAVE_NET_IF_H
8695 # include <net/if.h>
8697 #ifdef HAVE_NETINET_IP_H
8698 # include <netinet/ip.h>
8701 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8703 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8706 ac_fn_c_check_header_compile
"$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8707 #include <sys/socket.h>
8708 #ifdef HAVE_SYS_SOCKETVAR_H
8709 # include <sys/socketvar.h>
8711 #ifdef HAVE_NET_ROUTE_H
8712 # include <net/route.h>
8714 #ifdef HAVE_NETINET_IN_H
8715 # include <netinet/in.h>
8717 #ifdef HAVE_NETINET_IN_SYSTM_H
8718 # include <netinet/in_systm.h>
8720 #ifdef HAVE_NET_IF_H
8721 # include <net/if.h>
8723 #ifdef HAVE_NETINET_IP_H
8724 # include <netinet/ip.h>
8727 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8729 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8732 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8733 #include <sys/socket.h>
8734 #ifdef HAVE_SYS_SOCKETVAR_H
8735 # include <sys/socketvar.h>
8737 #ifdef HAVE_NET_ROUTE_H
8738 # include <net/route.h>
8740 #ifdef HAVE_NETINET_IN_H
8741 # include <netinet/in.h>
8743 #ifdef HAVE_NETINET_IN_SYSTM_H
8744 # include <netinet/in_systm.h>
8746 #ifdef HAVE_NET_IF_H
8747 # include <net/if.h>
8749 #ifdef HAVE_NETINET_IP_H
8750 # include <netinet/ip.h>
8753 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8755 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8758 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8759 #include <sys/socket.h>
8760 #ifdef HAVE_SYS_SOCKETVAR_H
8761 # include <sys/socketvar.h>
8763 #ifdef HAVE_NET_ROUTE_H
8764 # include <net/route.h>
8766 #ifdef HAVE_NETINET_IN_H
8767 # include <netinet/in.h>
8769 #ifdef HAVE_NETINET_IN_SYSTM_H
8770 # include <netinet/in_systm.h>
8772 #ifdef HAVE_NET_IF_H
8773 # include <net/if.h>
8775 #ifdef HAVE_NETINET_IP_H
8776 # include <netinet/ip.h>
8779 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8781 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8784 ac_fn_c_check_header_compile
"$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8785 #include <sys/socket.h>
8786 #ifdef HAVE_SYS_SOCKETVAR_H
8787 # include <sys/socketvar.h>
8789 #ifdef HAVE_NET_ROUTE_H
8790 # include <net/route.h>
8792 #ifdef HAVE_NETINET_IN_H
8793 # include <netinet/in.h>
8795 #ifdef HAVE_NETINET_IN_SYSTM_H
8796 # include <netinet/in_systm.h>
8798 #ifdef HAVE_NET_IF_H
8799 # include <net/if.h>
8801 #ifdef HAVE_NETINET_IP_H
8802 # include <netinet/ip.h>
8805 if test "x$ac_cv_header_netinet_udp_h" = xyes
8807 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8810 ac_fn_c_check_header_compile
"$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8811 #include <sys/socket.h>
8812 #ifdef HAVE_SYS_SOCKETVAR_H
8813 # include <sys/socketvar.h>
8815 #ifdef HAVE_NET_ROUTE_H
8816 # include <net/route.h>
8818 #ifdef HAVE_NETINET_IN_H
8819 # include <netinet/in.h>
8821 #ifdef HAVE_NETINET_IN_SYSTM_H
8822 # include <netinet/in_systm.h>
8824 #ifdef HAVE_NET_IF_H
8825 # include <net/if.h>
8827 #ifdef HAVE_NETINET_IP_H
8828 # include <netinet/ip.h>
8831 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8833 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8836 ac_fn_c_check_header_compile
"$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8837 #include <sys/socket.h>
8838 #ifdef HAVE_SYS_SOCKETVAR_H
8839 # include <sys/socketvar.h>
8841 #ifdef HAVE_NET_ROUTE_H
8842 # include <net/route.h>
8844 #ifdef HAVE_NETINET_IN_H
8845 # include <netinet/in.h>
8847 #ifdef HAVE_NETINET_IN_SYSTM_H
8848 # include <netinet/in_systm.h>
8850 #ifdef HAVE_NET_IF_H
8851 # include <net/if.h>
8853 #ifdef HAVE_NETINET_IP_H
8854 # include <netinet/ip.h>
8857 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8859 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8862 ac_fn_c_check_header_compile
"$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8863 #include <sys/socket.h>
8864 #ifdef HAVE_SYS_SOCKETVAR_H
8865 # include <sys/socketvar.h>
8867 #ifdef HAVE_NET_ROUTE_H
8868 # include <net/route.h>
8870 #ifdef HAVE_NETINET_IN_H
8871 # include <netinet/in.h>
8873 #ifdef HAVE_NETINET_IN_SYSTM_H
8874 # include <netinet/in_systm.h>
8876 #ifdef HAVE_NET_IF_H
8877 # include <net/if.h>
8879 #ifdef HAVE_NETINET_IP_H
8880 # include <netinet/ip.h>
8883 if test "x$ac_cv_header_sys_un_h" = xyes
8885 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8890 ac_fn_c_check_header_compile
"$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8891 #include <sys/socket.h>
8892 #ifdef HAVE_SYS_SOCKETVAR_H
8893 # include <sys/socketvar.h>
8895 #ifdef HAVE_NETINET_IN_H
8896 # include <netinet/in.h>
8898 #ifdef HAVE_NETINET_IN_SYSTM_H
8899 # include <netinet/in_systm.h>
8901 #ifdef HAVE_NETINET_IP_H
8902 # include <netinet/ip.h>
8904 #ifdef HAVE_NETINET_IP_VAR_H
8905 # include <netinet/ip_var.h>
8907 #ifdef HAVE_NETINET_IP_ICMP_H
8908 # include <netinet/ip_icmp.h>
8910 #ifdef HAVE_NETINET_UDP_H
8911 # include <netinet/udp.h>
8913 #ifdef HAVE_NETINET_TCP_H
8914 # include <netinet/tcp.h>
8917 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8919 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8922 ac_fn_c_check_header_compile
"$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8923 #include <sys/socket.h>
8924 #ifdef HAVE_SYS_SOCKETVAR_H
8925 # include <sys/socketvar.h>
8927 #ifdef HAVE_NETINET_IN_H
8928 # include <netinet/in.h>
8930 #ifdef HAVE_NETINET_IN_SYSTM_H
8931 # include <netinet/in_systm.h>
8933 #ifdef HAVE_NETINET_IP_H
8934 # include <netinet/ip.h>
8936 #ifdef HAVE_NETINET_IP_VAR_H
8937 # include <netinet/ip_var.h>
8939 #ifdef HAVE_NETINET_IP_ICMP_H
8940 # include <netinet/ip_icmp.h>
8942 #ifdef HAVE_NETINET_UDP_H
8943 # include <netinet/udp.h>
8945 #ifdef HAVE_NETINET_TCP_H
8946 # include <netinet/tcp.h>
8949 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8951 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8954 ac_fn_c_check_header_compile
"$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8955 #include <sys/socket.h>
8956 #ifdef HAVE_SYS_SOCKETVAR_H
8957 # include <sys/socketvar.h>
8959 #ifdef HAVE_NETINET_IN_H
8960 # include <netinet/in.h>
8962 #ifdef HAVE_NETINET_IN_SYSTM_H
8963 # include <netinet/in_systm.h>
8965 #ifdef HAVE_NETINET_IP_H
8966 # include <netinet/ip.h>
8968 #ifdef HAVE_NETINET_IP_VAR_H
8969 # include <netinet/ip_var.h>
8971 #ifdef HAVE_NETINET_IP_ICMP_H
8972 # include <netinet/ip_icmp.h>
8974 #ifdef HAVE_NETINET_UDP_H
8975 # include <netinet/udp.h>
8977 #ifdef HAVE_NETINET_TCP_H
8978 # include <netinet/tcp.h>
8981 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8983 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8986 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8987 #include <sys/socket.h>
8988 #ifdef HAVE_SYS_SOCKETVAR_H
8989 # include <sys/socketvar.h>
8991 #ifdef HAVE_NETINET_IN_H
8992 # include <netinet/in.h>
8994 #ifdef HAVE_NETINET_IN_SYSTM_H
8995 # include <netinet/in_systm.h>
8997 #ifdef HAVE_NETINET_IP_H
8998 # include <netinet/ip.h>
9000 #ifdef HAVE_NETINET_IP_VAR_H
9001 # include <netinet/ip_var.h>
9003 #ifdef HAVE_NETINET_IP_ICMP_H
9004 # include <netinet/ip_icmp.h>
9006 #ifdef HAVE_NETINET_UDP_H
9007 # include <netinet/udp.h>
9009 #ifdef HAVE_NETINET_TCP_H
9010 # include <netinet/tcp.h>
9013 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
9015 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
9020 ac_fn_c_check_header_compile
"$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
9021 #include <sys/socket.h>
9022 #ifdef HAVE_ASM_TYPES_H
9023 # include <asm/types.h>
9025 #ifdef HAVE_LINUX_TYPES_H
9026 # include <linux/types.h>
9029 if test "x$ac_cv_header_linux_ipx_h" = xyes
9031 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
9034 ac_fn_c_check_header_compile
"$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
9035 #include <sys/socket.h>
9036 #ifdef HAVE_ASM_TYPES_H
9037 # include <asm/types.h>
9039 #ifdef HAVE_LINUX_TYPES_H
9040 # include <linux/types.h>
9043 if test "x$ac_cv_header_linux_irda_h" = xyes
9045 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
9048 ac_fn_c_check_header_compile
"$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
9049 #include <sys/socket.h>
9050 #ifdef HAVE_ASM_TYPES_H
9051 # include <asm/types.h>
9053 #ifdef HAVE_LINUX_TYPES_H
9054 # include <linux/types.h>
9057 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
9059 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
9064 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
9065 #include <sys/socket.h>
9066 #ifdef HAVE_NETINET_IN_H
9067 # include <netinet/in.h>
9069 #ifdef HAVE_ARPA_NAMESER_H
9070 # include <arpa/nameser.h>
9073 if test "x$ac_cv_header_resolv_h" = xyes
9075 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9080 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9082 if test "x$ac_cv_header_ifaddrs_h" = xyes
9084 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9089 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9091 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9093 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9098 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9099 #ifdef HAVE_SYS_UCONTEXT_H
9100 #include <sys/ucontext.h>
9103 if test "x$ac_cv_header_sys_thr_h" = xyes
9105 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9110 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9111 #include <pthread.h>
9114 if test "x$ac_cv_header_pthread_np_h" = xyes
9116 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9121 ac_fn_c_check_header_compile
"$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9122 #include <sys/types.h>
9123 #ifdef HAVE_ASM_TYPES_H
9124 #include <asm/types.h>
9127 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9129 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9134 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9135 #include <sys/param.h>
9137 #include <sys/socket.h>
9138 #ifdef HAVE_SYS_QUEUE_H
9139 #include <sys/queue.h>
9142 if test "x$ac_cv_header_libprocstat_h" = xyes
9144 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9149 if test "x$ac_cv_header_sys_xattr_h" = xyes
9151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9152 printf %s
"checking whether getxattr takes additional arguments... " >&6; }
9153 if test ${wine_cv_xattr_extra_args+y}
9155 printf %s
"(cached) " >&6
9157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9158 /* end confdefs.h. */
9159 #include <sys/xattr.h>
9163 getxattr("", "", "", 0, 0, 0);
9168 if ac_fn_c_try_compile
"$LINENO"
9170 wine_cv_xattr_extra_args
=yes
9172 wine_cv_xattr_extra_args
=no
9174 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
9176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9177 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9178 test $wine_cv_xattr_extra_args != yes ||
9179 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9192 UNIXDLLFLAGS
="-fPIC"
9194 UNIXLDFLAGS
="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9200 WINELOADER_LDFLAGS
=""
9202 WINEPRELOADER_LDFLAGS
=""
9205 # Extract the first word of "ldd", so it can be a program name with args.
9206 set dummy ldd
; ac_word
=$2
9207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9208 printf %s
"checking for $ac_word... " >&6; }
9209 if test ${ac_cv_path_LDD+y}
9211 printf %s
"(cached) " >&6
9215 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
9218 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9219 as_dummy
="/sbin:/usr/sbin:$PATH"
9220 for as_dir
in $as_dummy
9223 case $as_dir in #(((
9226 *) as_dir
=$as_dir/ ;;
9228 for ac_exec_ext
in '' $ac_executable_extensions; do
9229 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9230 ac_cv_path_LDD
="$as_dir$ac_word$ac_exec_ext"
9231 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9238 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
9243 if test -n "$LDD"; then
9244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9245 printf "%s\n" "$LDD" >&6; }
9247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9248 printf "%s\n" "no" >&6; }
9252 if test -n "$ac_tool_prefix"; then
9253 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9254 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
9255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9256 printf %s
"checking for $ac_word... " >&6; }
9257 if test ${ac_cv_prog_OTOOL+y}
9259 printf %s
"(cached) " >&6
9261 if test -n "$OTOOL"; then
9262 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
9264 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9268 case $as_dir in #(((
9271 *) as_dir
=$as_dir/ ;;
9273 for ac_exec_ext
in '' $ac_executable_extensions; do
9274 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9275 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
9276 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9285 OTOOL
=$ac_cv_prog_OTOOL
9286 if test -n "$OTOOL"; then
9287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9288 printf "%s\n" "$OTOOL" >&6; }
9290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9291 printf "%s\n" "no" >&6; }
9296 if test -z "$ac_cv_prog_OTOOL"; then
9298 # Extract the first word of "otool", so it can be a program name with args.
9299 set dummy otool
; ac_word
=$2
9300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9301 printf %s
"checking for $ac_word... " >&6; }
9302 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9304 printf %s
"(cached) " >&6
9306 if test -n "$ac_ct_OTOOL"; then
9307 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
9309 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9313 case $as_dir in #(((
9316 *) as_dir
=$as_dir/ ;;
9318 for ac_exec_ext
in '' $ac_executable_extensions; do
9319 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9320 ac_cv_prog_ac_ct_OTOOL
="otool"
9321 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9330 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
9331 if test -n "$ac_ct_OTOOL"; then
9332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9333 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9336 printf "%s\n" "no" >&6; }
9339 if test "x$ac_ct_OTOOL" = x
; then
9342 case $cross_compiling:$ac_tool_warned in
9344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9345 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9346 ac_tool_warned
=yes ;;
9351 OTOOL
="$ac_cv_prog_OTOOL"
9354 if test -n "$ac_tool_prefix"; then
9355 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9356 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
9357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9358 printf %s
"checking for $ac_word... " >&6; }
9359 if test ${ac_cv_prog_READELF+y}
9361 printf %s
"(cached) " >&6
9363 if test -n "$READELF"; then
9364 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
9366 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9370 case $as_dir in #(((
9373 *) as_dir
=$as_dir/ ;;
9375 for ac_exec_ext
in '' $ac_executable_extensions; do
9376 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9377 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
9378 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9387 READELF
=$ac_cv_prog_READELF
9388 if test -n "$READELF"; then
9389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9390 printf "%s\n" "$READELF" >&6; }
9392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9393 printf "%s\n" "no" >&6; }
9398 if test -z "$ac_cv_prog_READELF"; then
9399 ac_ct_READELF
=$READELF
9400 # Extract the first word of "readelf", so it can be a program name with args.
9401 set dummy readelf
; ac_word
=$2
9402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9403 printf %s
"checking for $ac_word... " >&6; }
9404 if test ${ac_cv_prog_ac_ct_READELF+y}
9406 printf %s
"(cached) " >&6
9408 if test -n "$ac_ct_READELF"; then
9409 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
9411 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9415 case $as_dir in #(((
9418 *) as_dir
=$as_dir/ ;;
9420 for ac_exec_ext
in '' $ac_executable_extensions; do
9421 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9422 ac_cv_prog_ac_ct_READELF
="readelf"
9423 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9432 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
9433 if test -n "$ac_ct_READELF"; then
9434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9435 printf "%s\n" "$ac_ct_READELF" >&6; }
9437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9438 printf "%s\n" "no" >&6; }
9441 if test "x$ac_ct_READELF" = x
; then
9444 case $cross_compiling:$ac_tool_warned in
9446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9447 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9448 ac_tool_warned
=yes ;;
9450 READELF
=$ac_ct_READELF
9453 READELF
="$ac_cv_prog_READELF"
9461 CONFIGURE_TARGETS
=""
9464 wine_fn_config_makefile
()
9466 as_fn_append SUBDIRS
" \\$as_nl $1"
9469 no
) as_fn_append DISABLED_SUBDIRS
" $1" ;;
9470 *aarch64
*|
*arm
*|
*i386
*|
*x86_64
*)
9471 if test -n "$PE_ARCHS"
9475 test $
(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append
${i}_DISABLED_SUBDIRS
" $1"
9478 test $
(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS
" $1"
9483 wine_fn_config_symlink
()
9486 as_fn_append wine_rules
"
9488 @./config.status \$@"
9489 for f
in $ac_links; do as_fn_append CONFIGURE_TARGETS
" $f"; done
9493 test "$HOST_ARCH" != x86_64 || wine_binary
="wine64"
9494 WINELOADER_PROGRAMS
="$wine_binary"
9496 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
9501 EXTRACFLAGS
="-D__WINE_PE_BUILD"
9503 *i
[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9504 printf %s
"checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9505 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9507 printf %s
"(cached) " >&6
9509 ac_wine_try_cflags_saved
=$CFLAGS
9510 CFLAGS
="$CFLAGS -Wl,--disable-stdcall-fixup"
9511 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9512 /* end confdefs.h. */
9513 int main(int argc, char **argv) { return 0; }
9515 if ac_fn_c_try_link
"$LINENO"
9517 ac_cv_cflags__Wl___disable_stdcall_fixup
=yes
9519 ac_cv_cflags__Wl___disable_stdcall_fixup
=no
9521 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9522 conftest
$ac_exeext conftest.
$ac_ext
9523 CFLAGS
=$ac_wine_try_cflags_saved
9525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9526 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9527 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9529 LDDLLFLAGS
="-Wl,--disable-stdcall-fixup"
9532 enable_loader
=${enable_loader:-no}
9533 enable_server
=${enable_server:-no}
9534 with_x
=${with_x:-no}
9535 with_pthread
=${with_pthread:-no}
9540 ac_cpp
='$OBJCPP $CPPFLAGS'
9541 ac_compile
='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9542 ac_link
='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9543 ac_compiler_gnu
=$ac_cv_objc_compiler_gnu
9546 ac_cpp
='$OBJCPP $CPPFLAGS'
9547 ac_compile
='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9548 ac_link
='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9549 ac_compiler_gnu
=$ac_cv_objc_compiler_gnu
9550 if test -n "$ac_tool_prefix"; then
9551 for ac_prog
in gcc objcc objc cc CC clang
9553 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9554 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
9555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9556 printf %s
"checking for $ac_word... " >&6; }
9557 if test ${ac_cv_prog_OBJC+y}
9559 printf %s
"(cached) " >&6
9561 if test -n "$OBJC"; then
9562 ac_cv_prog_OBJC
="$OBJC" # Let the user override the test.
9564 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9568 case $as_dir in #(((
9571 *) as_dir
=$as_dir/ ;;
9573 for ac_exec_ext
in '' $ac_executable_extensions; do
9574 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9575 ac_cv_prog_OBJC
="$ac_tool_prefix$ac_prog"
9576 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9585 OBJC
=$ac_cv_prog_OBJC
9586 if test -n "$OBJC"; then
9587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9588 printf "%s\n" "$OBJC" >&6; }
9590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9591 printf "%s\n" "no" >&6; }
9595 test -n "$OBJC" && break
9598 if test -z "$OBJC"; then
9600 for ac_prog
in gcc objcc objc cc CC clang
9602 # Extract the first word of "$ac_prog", so it can be a program name with args.
9603 set dummy
$ac_prog; ac_word
=$2
9604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9605 printf %s
"checking for $ac_word... " >&6; }
9606 if test ${ac_cv_prog_ac_ct_OBJC+y}
9608 printf %s
"(cached) " >&6
9610 if test -n "$ac_ct_OBJC"; then
9611 ac_cv_prog_ac_ct_OBJC
="$ac_ct_OBJC" # Let the user override the test.
9613 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9617 case $as_dir in #(((
9620 *) as_dir
=$as_dir/ ;;
9622 for ac_exec_ext
in '' $ac_executable_extensions; do
9623 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9624 ac_cv_prog_ac_ct_OBJC
="$ac_prog"
9625 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9634 ac_ct_OBJC
=$ac_cv_prog_ac_ct_OBJC
9635 if test -n "$ac_ct_OBJC"; then
9636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9637 printf "%s\n" "$ac_ct_OBJC" >&6; }
9639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9640 printf "%s\n" "no" >&6; }
9644 test -n "$ac_ct_OBJC" && break
9647 if test "x$ac_ct_OBJC" = x
; then
9650 case $cross_compiling:$ac_tool_warned in
9652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9653 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9654 ac_tool_warned
=yes ;;
9660 # Provide some information about the compiler.
9661 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9664 for ac_option
in --version -v -V -qversion; do
9665 { { ac_try
="$ac_compiler $ac_option >&5"
9667 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9668 *) ac_try_echo=$ac_try;;
9670 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9671 printf "%s\n" "$ac_try_echo"; } >&5
9672 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9674 if test -s conftest.err; then
9676 ... rest of stderr output deleted ...
9677 10q' conftest.err >conftest.er1
9678 cat conftest.er1 >&5
9680 rm -f conftest.er1 conftest.err
9681 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9682 test $ac_status = 0; }
9685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9686 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9687 if test ${ac_cv_objc_compiler_gnu+y}
9689 printf %s "(cached) " >&6
9691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9692 /* end confdefs.h. */
9705 if ac_fn_objc_try_compile "$LINENO"
9711 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9712 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9716 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9717 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9719 if test $ac_compiler_gnu = yes; then
9724 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9725 ac_save_OBJCFLAGS=$OBJCFLAGS
9726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9727 printf %s "checking whether $OBJC accepts -g... " >&6; }
9728 if test ${ac_cv_prog_objc_g+y}
9730 printf %s "(cached) " >&6
9732 ac_save_objc_werror_flag=$ac_objc_werror_flag
9733 ac_objc_werror_flag=yes
9734 ac_cv_prog_objc_g=no
9736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9737 /* end confdefs.h. */
9747 if ac_fn_objc_try_compile "$LINENO"
9749 ac_cv_prog_objc_g=yes
9752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9753 /* end confdefs.h. */
9763 if ac_fn_objc_try_compile "$LINENO"
9767 ac_objc_werror_flag=$ac_save_objc_werror_flag
9769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9770 /* end confdefs.h. */
9780 if ac_fn_objc_try_compile "$LINENO"
9782 ac_cv_prog_objc_g=yes
9784 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9786 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9788 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9789 ac_objc_werror_flag=$ac_save_objc_werror_flag
9791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9792 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9793 if test $ac_test_OBJCFLAGS; then
9794 OBJCFLAGS=$ac_save_OBJCFLAGS
9795 elif test $ac_cv_prog_objc_g = yes; then
9796 if test "$GOBJC" = yes; then
9802 if test "$GOBJC" = yes; then
9809 ac_cpp='$OBJCPP $CPPFLAGS'
9810 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9811 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9812 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9815 ac_fn_objc_check_header_compile "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
9816 if test "x$ac_cv_header_Metal_Metal_h" = xyes
9818 printf "%s\n" "#define HAVE_METAL_METAL_H 1" >>confdefs.h
9823 ac_cpp='$CPP $CPPFLAGS'
9824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9829 DLLFLAGS="$DLLFLAGS -fPIC"
9831 COREFOUNDATION_LIBS="-framework CoreFoundation"
9833 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
9835 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
9837 CORESERVICES_LIBS="-framework CoreServices"
9839 APPKIT_LIBS="-framework AppKit"
9841 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
9844 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9846 wine_can_build_preloader=yes
9847 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"
9848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
9849 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
9850 if test ${ac_cv_cflags__Wl__no_new_main__e__main+y}
9852 printf %s "(cached) " >&6
9854 ac_wine_try_cflags_saved=$CFLAGS
9855 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
9856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9857 /* end confdefs.h. */
9858 int main(int argc, char **argv) { return 0; }
9860 if ac_fn_c_try_link "$LINENO"
9862 ac_cv_cflags__Wl__no_new_main__e__main=yes
9864 ac_cv_cflags__Wl__no_new_main__e__main=no
9866 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9867 conftest$ac_exeext conftest.$ac_ext
9868 CFLAGS=$ac_wine_try_cflags_saved
9870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
9871 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
9872 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes
9874 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
9875 { 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
9876 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9877 if test ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9879 printf %s "(cached) " >&6
9881 ac_wine_try_cflags_saved=$CFLAGS
9882 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9884 /* end confdefs.h. */
9885 int main(int argc, char **argv) { return 0; }
9887 if ac_fn_c_try_link "$LINENO"
9889 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9891 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9893 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9894 conftest$ac_exeext conftest.$ac_ext
9895 CFLAGS=$ac_wine_try_cflags_saved
9897 { 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
9898 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9899 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9901 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9903 wine_can_build_preloader=no
9906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
9907 printf %s "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9908 if test ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9910 printf %s "(cached) " >&6
9912 ac_wine_try_cflags_saved=$CFLAGS
9913 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9915 /* end confdefs.h. */
9916 int main(int argc, char **argv) { return 0; }
9918 if ac_fn_c_try_link "$LINENO"
9920 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9922 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9924 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9925 conftest$ac_exeext conftest.$ac_ext
9926 CFLAGS=$ac_wine_try_cflags_saved
9928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
9929 printf "%s\n" "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9930 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9932 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9934 wine_can_build_preloader=no
9937 if test "$wine_can_build_preloader" = "yes"
9939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9940 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
9941 if test ${ac_cv_cflags__Wl__no_pie+y}
9943 printf %s "(cached) " >&6
9945 ac_wine_try_cflags_saved=$CFLAGS
9946 CFLAGS="$CFLAGS -Wl,-no_pie"
9947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9948 /* end confdefs.h. */
9949 int main(int argc, char **argv) { return 0; }
9951 if ac_fn_c_try_link "$LINENO"
9953 ac_cv_cflags__Wl__no_pie=yes
9955 ac_cv_cflags__Wl__no_pie=no
9957 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9958 conftest$ac_exeext conftest.$ac_ext
9959 CFLAGS=$ac_wine_try_cflags_saved
9961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9962 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9963 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9965 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9967 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
9968 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
9970 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
9973 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
9975 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
9978 if test "$ac_cv_header_Security_Security_h" = "yes"
9980 SECURITY_LIBS="-framework Security -framework CoreFoundation"
9983 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes"
9985 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9987 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
9989 if test "$ac_cv_header_OpenAL_al_h" = "yes"
9991 OPENAL_LIBS="-framework OpenAL"
9994 printf "%s\n" "#define HAVE_OPENAL 1" >>confdefs.h
9996 ac_cv_lib_openal=yes
9998 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
10000 OPENCL_LIBS="-framework OpenCL"
10002 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10004 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
10006 ac_save_LIBS="$LIBS"
10007 LIBS="$LIBS $IOKIT_LIBS"
10008 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
10009 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
10011 printf "%s\n" "#define HAVE_IOHIDMANAGERCREATE 1" >>confdefs.h
10015 LIBS="$ac_save_LIBS"
10018 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
10020 CARBON_LIBS="-framework Carbon"
10023 if test "$ac_cv_header_Metal_Metal_h" = "yes"
10025 METAL_LIBS="-framework Metal"
10029 if test "$ac_cv_header_Metal_Metal_h" = "yes"
10031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
10032 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
10034 ac_cpp='$OBJCPP $CPPFLAGS'
10035 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10036 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10037 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10040 /* end confdefs.h. */
10041 #include <Metal/Metal.h>
10045 id<MTLDevice> device; device.registryID;
10050 if ac_fn_objc_try_compile "$LINENO"
10052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10053 printf "%s\n" "yes" >&6; }
10055 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
10058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10059 printf "%s\n" "no" >&6; }
10061 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10063 ac_cpp='$CPP $CPPFLAGS'
10064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10070 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
10072 ac_save_LIBS="$LIBS"
10073 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
10074 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
10075 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
10077 enable_winemac_drv=${enable_winemac_drv:-yes}
10080 LIBS="$ac_save_LIBS"
10083 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
10084 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
10086 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
10088 WINELOADER_DEPENDS="wine_info.plist"
10090 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
10095 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10097 DLLFLAGS="$DLLFLAGS -fPIC"
10099 LDEXECFLAGS="-Wl,-pie"
10100 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
10101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10102 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10103 if test ${ac_cv_cflags__Wl__z_defs+y}
10105 printf %s "(cached) " >&6
10107 ac_wine_try_cflags_saved=$CFLAGS
10108 CFLAGS="$CFLAGS -Wl,-z,defs"
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__Wl__z_defs=yes
10117 ac_cv_cflags__Wl__z_defs=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__Wl__z_defs" >&5
10124 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10125 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10127 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
10130 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
10131 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
10133 printf %s "(cached) " >&6
10135 ac_wine_try_cflags_saved=$CFLAGS
10136 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
10137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10138 /* end confdefs.h. */
10139 int main(int argc, char **argv) { return 0; }
10141 if ac_fn_c_try_link "$LINENO"
10143 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
10145 ac_cv_cflags__fPIC__Wl___export_dynamic=no
10147 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10148 conftest$ac_exeext conftest.$ac_ext
10149 CFLAGS=$ac_wine_try_cflags_saved
10151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
10152 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
10153 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
10155 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10157 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
10160 printf %s "checking for -lEGL... " >&6; }
10161 if test ${ac_cv_lib_soname_EGL+y}
10163 printf %s "(cached) " >&6
10165 ac_check_soname_save_LIBS=$LIBS
10167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10168 /* end confdefs.h. */
10170 /* Override any GCC internal prototype to avoid an error.
10171 Use char because int might match the return type of a GCC
10172 builtin and then its argument prototype would still apply. */
10173 char eglGetProcAddress ();
10177 return eglGetProcAddress ();
10182 if ac_fn_c_try_link "$LINENO"
10185 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe |
grep "EGL" |
sed -e "s/dll.*/dll/"';2,$d'` ;;
10186 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'` ;;
10187 *) ac_cv_lib_soname_EGL=`$READELF -d conftest
$ac_exeext |
grep "NEEDED.*libEGL\\.$LIBEXT" |
sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10188 if ${ac_cv_lib_soname_EGL:+false} :
10190 ac_cv_lib_soname_EGL=`$LDD conftest
$ac_exeext |
grep "libEGL\\.$LIBEXT" |
sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10194 ac_cv_lib_soname_EGL=
10196 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10197 conftest$ac_exeext conftest.$ac_ext
10198 LIBS=$ac_check_soname_save_LIBS
10200 if ${ac_cv_lib_soname_EGL:+false} :
10202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10203 printf "%s\n" "not found" >&6; }
10206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10207 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10209 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10214 printf %s "checking for -lGLESv2... " >&6; }
10215 if test ${ac_cv_lib_soname_GLESv2+y}
10217 printf %s "(cached) " >&6
10219 ac_check_soname_save_LIBS=$LIBS
10220 LIBS="-lGLESv2 $LIBS"
10221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10222 /* end confdefs.h. */
10224 /* Override any GCC internal prototype to avoid an error.
10225 Use char because int might match the return type of a GCC
10226 builtin and then its argument prototype would still apply. */
10236 if ac_fn_c_try_link "$LINENO"
10239 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe |
grep "GLESv2" |
sed -e "s/dll.*/dll/"';2,$d'` ;;
10240 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'` ;;
10241 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest
$ac_exeext |
grep "NEEDED.*libGLESv2\\.$LIBEXT" |
sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10242 if ${ac_cv_lib_soname_GLESv2:+false} :
10244 ac_cv_lib_soname_GLESv2=`$LDD conftest
$ac_exeext |
grep "libGLESv2\\.$LIBEXT" |
sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10248 ac_cv_lib_soname_GLESv2=
10250 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10251 conftest$ac_exeext conftest.$ac_ext
10252 LIBS=$ac_check_soname_save_LIBS
10254 if ${ac_cv_lib_soname_GLESv2:+false} :
10256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10257 printf "%s\n" "not found" >&6; }
10260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10261 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10263 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10268 if test "x$exec_prefix" = xNONE
10271 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10272 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10273 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10274 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10281 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10283 test "$ac_cv_sys_file_offset_bits" = 64 &&
10284 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10288 DLLFLAGS="$DLLFLAGS -fno-PIC"
10289 LDDLLFLAGS="-fno-PIC"
10290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10291 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10292 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10294 printf %s "(cached) " >&6
10296 ac_wine_try_cflags_saved=$CFLAGS
10297 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10299 /* end confdefs.h. */
10300 int main(int argc, char **argv) { return 0; }
10302 if ac_fn_c_try_link "$LINENO"
10304 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10306 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10308 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10309 conftest$ac_exeext conftest.$ac_ext
10310 CFLAGS=$ac_wine_try_cflags_saved
10312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10313 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10314 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10316 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10320 DLLFLAGS="$DLLFLAGS -fPIC"
10321 LDDLLFLAGS="-fPIC" ;;
10323 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
10325 echo '{ global: *; };' >conftest.map
10326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
10327 printf %s "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
10328 if test ${ac_cv_cflags__shared__Wl___version_script_conftest_map+y}
10330 printf %s "(cached) " >&6
10332 ac_wine_try_cflags_saved=$CFLAGS
10333 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
10334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10335 /* end confdefs.h. */
10336 int main(int argc, char **argv) { return 0; }
10338 if ac_fn_c_try_link "$LINENO"
10340 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
10342 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
10344 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10345 conftest$ac_exeext conftest.$ac_ext
10346 CFLAGS=$ac_wine_try_cflags_saved
10348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
10349 printf "%s\n" "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
10350 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes
10352 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
10356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10357 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10358 if test ${ac_cv_cflags__Wl__z_defs+y}
10360 printf %s "(cached) " >&6
10362 ac_wine_try_cflags_saved=$CFLAGS
10363 CFLAGS="$CFLAGS -Wl,-z,defs"
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__z_defs=yes
10372 ac_cv_cflags__Wl__z_defs=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__z_defs" >&5
10379 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10380 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10382 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10385 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10386 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10388 printf %s "(cached) " >&6
10390 ac_wine_try_cflags_saved=$CFLAGS
10391 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10393 /* end confdefs.h. */
10394 int main(int argc, char **argv) { return 0; }
10396 if ac_fn_c_try_link "$LINENO"
10398 ac_cv_cflags__Wl___export_dynamic=yes
10400 ac_cv_cflags__Wl___export_dynamic=no
10402 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10403 conftest$ac_exeext conftest.$ac_ext
10404 CFLAGS=$ac_wine_try_cflags_saved
10406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10407 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10408 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10410 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10412 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10415 *i[3456789]86* | x86_64 | *aarch64* | arm*)
10416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
10417 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
10418 if test ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+y}
10420 printf %s "(cached) " >&6
10422 ac_wine_try_cflags_saved=$CFLAGS
10423 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
10424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10425 /* end confdefs.h. */
10426 int main(int argc, char **argv) { return 0; }
10428 if ac_fn_c_try_link "$LINENO"
10430 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
10432 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
10434 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10435 conftest$ac_exeext conftest.$ac_ext
10436 CFLAGS=$ac_wine_try_cflags_saved
10438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
10439 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
10440 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
10443 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
10444 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
10447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
10448 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
10449 if test ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+y}
10451 printf %s "(cached) " >&6
10453 ac_wine_try_cflags_saved=$CFLAGS
10454 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
10455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10456 /* end confdefs.h. */
10457 int main(int argc, char **argv) { return 0; }
10459 if ac_fn_c_try_link "$LINENO"
10461 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
10463 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
10465 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10466 conftest$ac_exeext conftest.$ac_ext
10467 CFLAGS=$ac_wine_try_cflags_saved
10469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
10470 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
10471 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes
10474 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
10475 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
10478 # Extract the first word of "prelink", so it can be a program name with args.
10479 set dummy prelink; ac_word=$2
10480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10481 printf %s "checking for $ac_word... " >&6; }
10482 if test ${ac_cv_path_PRELINK+y}
10484 printf %s "(cached) " >&6
10488 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
10491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10492 for as_dir in /sbin /usr/sbin $PATH
10495 case $as_dir in #(((
10498 *) as_dir=$as_dir/ ;;
10500 for ac_exec_ext in '' $ac_executable_extensions; do
10501 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10502 ac_cv_path_PRELINK="$as_dir$ac_word$ac_exec_ext"
10503 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10510 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
10514 PRELINK=$ac_cv_path_PRELINK
10515 if test -n "$PRELINK"; then
10516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
10517 printf "%s\n" "$PRELINK" >&6; }
10519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10520 printf "%s\n" "no" >&6; }
10524 if test "x$PRELINK" = xfalse
10526 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
10529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
10530 printf %s "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
10531 if test ${ac_cv_cflags__Wl__z_max_page_size_0x1000+y}
10533 printf %s "(cached) " >&6
10535 ac_wine_try_cflags_saved=$CFLAGS
10536 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
10537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10538 /* end confdefs.h. */
10539 int main(int argc, char **argv) { return 0; }
10541 if ac_fn_c_try_link "$LINENO"
10543 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
10545 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
10547 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10548 conftest$ac_exeext conftest.$ac_ext
10549 CFLAGS=$ac_wine_try_cflags_saved
10551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
10552 printf "%s\n" "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
10553 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
10555 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
10559 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
10561 LIBWINE_DEPENDS="wine.map"
10563 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
10567 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10568 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10569 enable_winemac_drv=${enable_winemac_drv:-no}
10574 if test ${enable_archs+y}
10576 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10579 set x $enable_archs
10585 i386|x86_64|arm|aarch64) cross_archs="$cross_archs $arch" ;;
10586 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10590 if test "x$with_mingw" != xno
10592 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10593 case "x$with_mingw" in
10595 *) eval "${cross_archs}_CC=\$with_mingw" ;;
10600 for wine_arch in $cross_archs
10602 if eval \${${wine_arch}_CC:+false} :
10606 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10608 # Extract the first word of "$ac_prog", so it can be a program name with args.
10609 set dummy $ac_prog; ac_word=$2
10610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10611 printf %s "checking for $ac_word... " >&6; }
10612 if test ${ac_cv_prog_aarch64_CC+y}
10614 printf %s "(cached) " >&6
10616 if test -n "$aarch64_CC"; then
10617 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10620 for as_dir in $PATH
10623 case $as_dir in #(((
10626 *) as_dir=$as_dir/ ;;
10628 for ac_exec_ext in '' $ac_executable_extensions; do
10629 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10630 ac_cv_prog_aarch64_CC="$ac_prog"
10631 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10640 aarch64_CC=$ac_cv_prog_aarch64_CC
10641 if test -n "$aarch64_CC"; then
10642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10643 printf "%s\n" "$aarch64_CC" >&6; }
10645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10646 printf "%s\n" "no" >&6; }
10650 test -n "$aarch64_CC" && break
10652 test -n "$aarch64_CC" || aarch64_CC="false"
10656 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10658 # Extract the first word of "$ac_prog", so it can be a program name with args.
10659 set dummy $ac_prog; ac_word=$2
10660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10661 printf %s "checking for $ac_word... " >&6; }
10662 if test ${ac_cv_prog_arm_CC+y}
10664 printf %s "(cached) " >&6
10666 if test -n "$arm_CC"; then
10667 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10670 for as_dir in $PATH
10673 case $as_dir in #(((
10676 *) as_dir=$as_dir/ ;;
10678 for ac_exec_ext in '' $ac_executable_extensions; do
10679 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10680 ac_cv_prog_arm_CC="$ac_prog"
10681 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10690 arm_CC=$ac_cv_prog_arm_CC
10691 if test -n "$arm_CC"; then
10692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10693 printf "%s\n" "$arm_CC" >&6; }
10695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10696 printf "%s\n" "no" >&6; }
10700 test -n "$arm_CC" && break
10702 test -n "$arm_CC" || arm_CC="false"
10706 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 "
10707 for ac_prog in $ac_prefix_list clang
10709 # Extract the first word of "$ac_prog", so it can be a program name with args.
10710 set dummy $ac_prog; ac_word=$2
10711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10712 printf %s "checking for $ac_word... " >&6; }
10713 if test ${ac_cv_prog_i386_CC+y}
10715 printf %s "(cached) " >&6
10717 if test -n "$i386_CC"; then
10718 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10721 for as_dir in $PATH
10724 case $as_dir in #(((
10727 *) as_dir=$as_dir/ ;;
10729 for ac_exec_ext in '' $ac_executable_extensions; do
10730 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10731 ac_cv_prog_i386_CC="$ac_prog"
10732 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10741 i386_CC=$ac_cv_prog_i386_CC
10742 if test -n "$i386_CC"; then
10743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10744 printf "%s\n" "$i386_CC" >&6; }
10746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10747 printf "%s\n" "no" >&6; }
10751 test -n "$i386_CC" && break
10753 test -n "$i386_CC" || i386_CC="false"
10757 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10758 for ac_prog in $ac_prefix_list clang
10760 # Extract the first word of "$ac_prog", so it can be a program name with args.
10761 set dummy $ac_prog; ac_word=$2
10762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10763 printf %s "checking for $ac_word... " >&6; }
10764 if test ${ac_cv_prog_x86_64_CC+y}
10766 printf %s "(cached) " >&6
10768 if test -n "$x86_64_CC"; then
10769 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10772 for as_dir in $PATH
10775 case $as_dir in #(((
10778 *) as_dir=$as_dir/ ;;
10780 for ac_exec_ext in '' $ac_executable_extensions; do
10781 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10782 ac_cv_prog_x86_64_CC="$ac_prog"
10783 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10792 x86_64_CC=$ac_cv_prog_x86_64_CC
10793 if test -n "$x86_64_CC"; then
10794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10795 printf "%s\n" "$x86_64_CC" >&6; }
10797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10798 printf "%s\n" "no" >&6; }
10802 test -n "$x86_64_CC" && break
10804 test -n "$x86_64_CC" || x86_64_CC="false"
10810 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10816 saved_CFLAGS=$CFLAGS
10818 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10819 eval CC=\$${wine_arch}_CC
10820 eval ${wine_arch}_CFLAGS=\$CFLAGS
10821 eval ${wine_arch}_LDFLAGS=\$LDFLAGS
10822 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10825 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" |
$as_tr_sh`
10827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10828 printf %s "checking whether $CC works... " >&6; }
10829 if eval test \${$as_wine_cv_crosscc+y}
10831 printf %s "(cached) " >&6
10833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10834 /* end confdefs.h. */
10844 if ac_fn_c_try_compile "$LINENO"
10846 eval "$as_wine_cv_crosscc=yes"
10848 eval "$as_wine_cv_crosscc=no"
10850 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10852 eval ac_res=\$$as_wine_cv_crosscc
10853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10854 printf "%s\n" "$ac_res" >&6; }
10855 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10859 while test $# -ge 1
10862 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10863 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10868 llvm_target=$target
10869 llvm_cflags="-fuse-ld=lld"
10870 if test -z "$llvm_target"
10873 i386) llvm_target=i686-windows ;;
10874 arm) llvm_target=armv7-windows ;;
10875 *) llvm_target=$wine_arch-windows ;;
10878 case $llvm_target in
10879 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
10881 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-target $llvm_target $llvm_cflags" |
$as_tr_sh`
10882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -target $llvm_target $llvm_cflags" >&5
10883 printf %s "checking whether $CC supports -target $llvm_target $llvm_cflags... " >&6; }
10884 if eval test \${$as_ac_var+y}
10886 printf %s "(cached) " >&6
10888 ac_wine_try_cflags_saved=$CFLAGS
10889 ac_wine_try_cflags_saved_exeext=$ac_exeext
10890 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
10892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10893 /* end confdefs.h. */
10894 int __cdecl mainCRTStartup(void) { return 0; }
10896 if ac_fn_c_try_link "$LINENO"
10898 eval "$as_ac_var=yes"
10900 eval "$as_ac_var=no"
10902 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10903 conftest$ac_exeext conftest.$ac_ext
10904 CFLAGS=$ac_wine_try_cflags_saved
10905 ac_exeext=$ac_wine_try_cflags_saved_exeext
10907 eval ac_res=\$$as_ac_var
10908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10909 printf "%s\n" "$ac_res" >&6; }
10910 if eval test \"x\$"$as_ac_var"\" = x"yes"
10912 target=$llvm_target
10913 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10914 as_fn_append ${wine_arch}_EXTRACFLAGS " -target $target"
10915 CFLAGS="$CFLAGS -target $target $llvm_cflags"
10917 eval "${wine_arch}_TARGET=\$target"
10918 PE_ARCHS="$PE_ARCHS $wine_arch"
10922 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" |
$as_tr_sh`
10924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10925 printf %s "checking for $CC option to enable C99 features... " >&6; }
10926 if eval test \${$as_wine_cv_crosscc_c99+y}
10928 printf %s "(cached) " >&6
10930 eval "$as_wine_cv_crosscc_c99=no"
10931 for arg in '' '-std=gnu99'
10933 test -z "$arg" || CC="$CC $arg"
10934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10935 /* end confdefs.h. */
10936 $ac_c_conftest_c99_program
10938 if ac_fn_c_try_compile "$LINENO"
10940 eval "$as_wine_cv_crosscc_c99=\$arg"
10942 eval "$as_wine_cv_crosscc_c99=no"
10944 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10945 eval CC=\$${wine_arch}_CC
10946 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10955 eval res=\$$as_wine_cv_crosscc_c99
10957 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10958 printf "%s\n" "none needed" >&6; } ;;
10959 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10960 printf "%s\n" "unsupported" >&6; } ;;
10961 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10962 printf "%s\n" "$res" >&6; }
10963 as_fn_append ${wine_arch}_CC " $res" ;;
10967 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" |
$as_tr_sh`
10968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10969 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10970 if eval test \${$as_ac_var+y}
10972 printf %s "(cached) " >&6
10974 ac_wine_try_cflags_saved=$CFLAGS
10975 ac_wine_try_cflags_saved_exeext=$ac_exeext
10976 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
10978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10979 /* end confdefs.h. */
10980 int __cdecl mainCRTStartup(void) { return 0; }
10982 if ac_fn_c_try_link "$LINENO"
10984 eval "$as_ac_var=yes"
10986 eval "$as_ac_var=no"
10988 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10989 conftest$ac_exeext conftest.$ac_ext
10990 CFLAGS=$ac_wine_try_cflags_saved
10991 ac_exeext=$ac_wine_try_cflags_saved_exeext
10993 eval ac_res=\$$as_ac_var
10994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10995 printf "%s\n" "$ac_res" >&6; }
10996 if eval test \"x\$"$as_ac_var"\" = x"yes"
10998 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
11000 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" |
$as_tr_sh`
11001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
11002 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
11003 if eval test \${$as_ac_var+y}
11005 printf %s "(cached) " >&6
11007 ac_wine_try_cflags_saved=$CFLAGS
11008 ac_wine_try_cflags_saved_exeext=$ac_exeext
11009 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
11011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11012 /* end confdefs.h. */
11013 int __cdecl mainCRTStartup(void) { return 0; }
11015 if ac_fn_c_try_link "$LINENO"
11017 eval "$as_ac_var=yes"
11019 eval "$as_ac_var=no"
11021 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11022 conftest$ac_exeext conftest.$ac_ext
11023 CFLAGS=$ac_wine_try_cflags_saved
11024 ac_exeext=$ac_wine_try_cflags_saved_exeext
11026 eval ac_res=\$$as_ac_var
11027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11028 printf "%s\n" "$ac_res" >&6; }
11029 if eval test \"x\$"$as_ac_var"\" = x"yes"
11031 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
11033 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" |
$as_tr_sh`
11034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
11035 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
11036 if eval test \${$as_ac_var+y}
11038 printf %s "(cached) " >&6
11040 ac_wine_try_cflags_saved=$CFLAGS
11041 ac_wine_try_cflags_saved_exeext=$ac_exeext
11042 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
11044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11045 /* end confdefs.h. */
11046 int __cdecl mainCRTStartup(void) { return 0; }
11048 if ac_fn_c_try_link "$LINENO"
11050 eval "$as_ac_var=yes"
11052 eval "$as_ac_var=no"
11054 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11055 conftest$ac_exeext conftest.$ac_ext
11056 CFLAGS=$ac_wine_try_cflags_saved
11057 ac_exeext=$ac_wine_try_cflags_saved_exeext
11059 eval ac_res=\$$as_ac_var
11060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11061 printf "%s\n" "$ac_res" >&6; }
11062 if eval test \"x\$"$as_ac_var"\" = x"yes"
11064 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
11066 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" |
$as_tr_sh`
11067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
11068 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
11069 if eval test \${$as_ac_var+y}
11071 printf %s "(cached) " >&6
11073 ac_wine_try_cflags_saved=$CFLAGS
11074 ac_wine_try_cflags_saved_exeext=$ac_exeext
11075 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
11077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11078 /* end confdefs.h. */
11079 int __cdecl mainCRTStartup(void) { return 0; }
11081 if ac_fn_c_try_link "$LINENO"
11083 eval "$as_ac_var=yes"
11085 eval "$as_ac_var=no"
11087 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11088 conftest$ac_exeext conftest.$ac_ext
11089 CFLAGS=$ac_wine_try_cflags_saved
11090 ac_exeext=$ac_wine_try_cflags_saved_exeext
11092 eval ac_res=\$$as_ac_var
11093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11094 printf "%s\n" "$ac_res" >&6; }
11095 if eval test \"x\$"$as_ac_var"\" = x"yes"
11097 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
11099 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" |
$as_tr_sh`
11100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
11101 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
11102 if eval test \${$as_ac_var+y}
11104 printf %s "(cached) " >&6
11106 ac_wine_try_cflags_saved=$CFLAGS
11107 ac_wine_try_cflags_saved_exeext=$ac_exeext
11108 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
11110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11111 /* end confdefs.h. */
11112 int __cdecl mainCRTStartup(void) { return 0; }
11114 if ac_fn_c_try_link "$LINENO"
11116 eval "$as_ac_var=yes"
11118 eval "$as_ac_var=no"
11120 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11121 conftest$ac_exeext conftest.$ac_ext
11122 CFLAGS=$ac_wine_try_cflags_saved
11123 ac_exeext=$ac_wine_try_cflags_saved_exeext
11125 eval ac_res=\$$as_ac_var
11126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11127 printf "%s\n" "$ac_res" >&6; }
11128 if eval test \"x\$"$as_ac_var"\" = x"yes"
11130 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
11132 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" |
$as_tr_sh`
11133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
11134 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
11135 if eval test \${$as_ac_var+y}
11137 printf %s "(cached) " >&6
11139 ac_wine_try_cflags_saved=$CFLAGS
11140 ac_wine_try_cflags_saved_exeext=$ac_exeext
11141 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
11143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11144 /* end confdefs.h. */
11145 int __cdecl mainCRTStartup(void) { return 0; }
11147 if ac_fn_c_try_link "$LINENO"
11149 eval "$as_ac_var=yes"
11151 eval "$as_ac_var=no"
11153 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11154 conftest$ac_exeext conftest.$ac_ext
11155 CFLAGS=$ac_wine_try_cflags_saved
11156 ac_exeext=$ac_wine_try_cflags_saved_exeext
11158 eval ac_res=\$$as_ac_var
11159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11160 printf "%s\n" "$ac_res" >&6; }
11161 if eval test \"x\$"$as_ac_var"\" = x"yes"
11163 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
11165 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" |
$as_tr_sh`
11166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
11167 printf %s "checking whether $CC supports -Winit-self... " >&6; }
11168 if eval test \${$as_ac_var+y}
11170 printf %s "(cached) " >&6
11172 ac_wine_try_cflags_saved=$CFLAGS
11173 ac_wine_try_cflags_saved_exeext=$ac_exeext
11174 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Winit-self"
11176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11177 /* end confdefs.h. */
11178 int __cdecl mainCRTStartup(void) { return 0; }
11180 if ac_fn_c_try_link "$LINENO"
11182 eval "$as_ac_var=yes"
11184 eval "$as_ac_var=no"
11186 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11187 conftest$ac_exeext conftest.$ac_ext
11188 CFLAGS=$ac_wine_try_cflags_saved
11189 ac_exeext=$ac_wine_try_cflags_saved_exeext
11191 eval ac_res=\$$as_ac_var
11192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11193 printf "%s\n" "$ac_res" >&6; }
11194 if eval test \"x\$"$as_ac_var"\" = x"yes"
11196 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
11198 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" |
$as_tr_sh`
11199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
11200 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
11201 if eval test \${$as_ac_var+y}
11203 printf %s "(cached) " >&6
11205 ac_wine_try_cflags_saved=$CFLAGS
11206 ac_wine_try_cflags_saved_exeext=$ac_exeext
11207 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
11209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11210 /* end confdefs.h. */
11211 int __cdecl mainCRTStartup(void) { return 0; }
11213 if ac_fn_c_try_link "$LINENO"
11215 eval "$as_ac_var=yes"
11217 eval "$as_ac_var=no"
11219 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11220 conftest$ac_exeext conftest.$ac_ext
11221 CFLAGS=$ac_wine_try_cflags_saved
11222 ac_exeext=$ac_wine_try_cflags_saved_exeext
11224 eval ac_res=\$$as_ac_var
11225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11226 printf "%s\n" "$ac_res" >&6; }
11227 if eval test \"x\$"$as_ac_var"\" = x"yes"
11229 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
11231 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" |
$as_tr_sh`
11232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
11233 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
11234 if eval test \${$as_ac_var+y}
11236 printf %s "(cached) " >&6
11238 ac_wine_try_cflags_saved=$CFLAGS
11239 ac_wine_try_cflags_saved_exeext=$ac_exeext
11240 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
11242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11243 /* end confdefs.h. */
11244 int __cdecl mainCRTStartup(void) { return 0; }
11246 if ac_fn_c_try_link "$LINENO"
11248 eval "$as_ac_var=yes"
11250 eval "$as_ac_var=no"
11252 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11253 conftest$ac_exeext conftest.$ac_ext
11254 CFLAGS=$ac_wine_try_cflags_saved
11255 ac_exeext=$ac_wine_try_cflags_saved_exeext
11257 eval ac_res=\$$as_ac_var
11258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11259 printf "%s\n" "$ac_res" >&6; }
11260 if eval test \"x\$"$as_ac_var"\" = x"yes"
11262 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
11264 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" |
$as_tr_sh`
11265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
11266 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
11267 if eval test \${$as_ac_var+y}
11269 printf %s "(cached) " >&6
11271 ac_wine_try_cflags_saved=$CFLAGS
11272 ac_wine_try_cflags_saved_exeext=$ac_exeext
11273 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
11275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11276 /* end confdefs.h. */
11277 int __cdecl mainCRTStartup(void) { return 0; }
11279 if ac_fn_c_try_link "$LINENO"
11281 eval "$as_ac_var=yes"
11283 eval "$as_ac_var=no"
11285 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11286 conftest$ac_exeext conftest.$ac_ext
11287 CFLAGS=$ac_wine_try_cflags_saved
11288 ac_exeext=$ac_wine_try_cflags_saved_exeext
11290 eval ac_res=\$$as_ac_var
11291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11292 printf "%s\n" "$ac_res" >&6; }
11293 if eval test \"x\$"$as_ac_var"\" = x"yes"
11295 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11297 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" |
$as_tr_sh`
11298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11299 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11300 if eval test \${$as_ac_var+y}
11302 printf %s "(cached) " >&6
11304 ac_wine_try_cflags_saved=$CFLAGS
11305 ac_wine_try_cflags_saved_exeext=$ac_exeext
11306 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
11308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11309 /* end confdefs.h. */
11310 int __cdecl mainCRTStartup(void) { return 0; }
11312 if ac_fn_c_try_link "$LINENO"
11314 eval "$as_ac_var=yes"
11316 eval "$as_ac_var=no"
11318 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11319 conftest$ac_exeext conftest.$ac_ext
11320 CFLAGS=$ac_wine_try_cflags_saved
11321 ac_exeext=$ac_wine_try_cflags_saved_exeext
11323 eval ac_res=\$$as_ac_var
11324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11325 printf "%s\n" "$ac_res" >&6; }
11326 if eval test \"x\$"$as_ac_var"\" = x"yes"
11328 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11330 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" |
$as_tr_sh`
11331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11332 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11333 if eval test \${$as_ac_var+y}
11335 printf %s "(cached) " >&6
11337 ac_wine_try_cflags_saved=$CFLAGS
11338 ac_wine_try_cflags_saved_exeext=$ac_exeext
11339 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
11341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11342 /* end confdefs.h. */
11343 int __cdecl mainCRTStartup(void) { return 0; }
11345 if ac_fn_c_try_link "$LINENO"
11347 eval "$as_ac_var=yes"
11349 eval "$as_ac_var=no"
11351 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11352 conftest$ac_exeext conftest.$ac_ext
11353 CFLAGS=$ac_wine_try_cflags_saved
11354 ac_exeext=$ac_wine_try_cflags_saved_exeext
11356 eval ac_res=\$$as_ac_var
11357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11358 printf "%s\n" "$ac_res" >&6; }
11359 if eval test \"x\$"$as_ac_var"\" = x"yes"
11361 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11363 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" |
$as_tr_sh`
11364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11365 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11366 if eval test \${$as_ac_var+y}
11368 printf %s "(cached) " >&6
11370 ac_wine_try_cflags_saved=$CFLAGS
11371 ac_wine_try_cflags_saved_exeext=$ac_exeext
11372 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
11374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11375 /* end confdefs.h. */
11376 int __cdecl mainCRTStartup(void) { return 0; }
11378 if ac_fn_c_try_link "$LINENO"
11380 eval "$as_ac_var=yes"
11382 eval "$as_ac_var=no"
11384 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11385 conftest$ac_exeext conftest.$ac_ext
11386 CFLAGS=$ac_wine_try_cflags_saved
11387 ac_exeext=$ac_wine_try_cflags_saved_exeext
11389 eval ac_res=\$$as_ac_var
11390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11391 printf "%s\n" "$ac_res" >&6; }
11392 if eval test \"x\$"$as_ac_var"\" = x"yes"
11394 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11396 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" |
$as_tr_sh`
11397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11398 printf %s "checking whether $CC supports -Wvla... " >&6; }
11399 if eval test \${$as_ac_var+y}
11401 printf %s "(cached) " >&6
11403 ac_wine_try_cflags_saved=$CFLAGS
11404 ac_wine_try_cflags_saved_exeext=$ac_exeext
11405 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wvla"
11407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11408 /* end confdefs.h. */
11409 int __cdecl mainCRTStartup(void) { return 0; }
11411 if ac_fn_c_try_link "$LINENO"
11413 eval "$as_ac_var=yes"
11415 eval "$as_ac_var=no"
11417 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11418 conftest$ac_exeext conftest.$ac_ext
11419 CFLAGS=$ac_wine_try_cflags_saved
11420 ac_exeext=$ac_wine_try_cflags_saved_exeext
11422 eval ac_res=\$$as_ac_var
11423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11424 printf "%s\n" "$ac_res" >&6; }
11425 if eval test \"x\$"$as_ac_var"\" = x"yes"
11427 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11429 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" |
$as_tr_sh`
11430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11431 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11432 if eval test \${$as_ac_var+y}
11434 printf %s "(cached) " >&6
11436 ac_wine_try_cflags_saved=$CFLAGS
11437 ac_wine_try_cflags_saved_exeext=$ac_exeext
11438 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
11440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11441 /* end confdefs.h. */
11442 int __cdecl mainCRTStartup(void) { return 0; }
11444 if ac_fn_c_try_link "$LINENO"
11446 eval "$as_ac_var=yes"
11448 eval "$as_ac_var=no"
11450 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11451 conftest$ac_exeext conftest.$ac_ext
11452 CFLAGS=$ac_wine_try_cflags_saved
11453 ac_exeext=$ac_wine_try_cflags_saved_exeext
11455 eval ac_res=\$$as_ac_var
11456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11457 printf "%s\n" "$ac_res" >&6; }
11458 if eval test \"x\$"$as_ac_var"\" = x"yes"
11460 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11462 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" |
$as_tr_sh`
11463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11464 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11465 if eval test \${$as_ac_var+y}
11467 printf %s "(cached) " >&6
11469 ac_wine_try_cflags_saved=$CFLAGS
11470 ac_wine_try_cflags_saved_exeext=$ac_exeext
11471 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
11473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11474 /* end confdefs.h. */
11475 int __cdecl mainCRTStartup(void) { return 0; }
11477 if ac_fn_c_try_link "$LINENO"
11479 eval "$as_ac_var=yes"
11481 eval "$as_ac_var=no"
11483 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11484 conftest$ac_exeext conftest.$ac_ext
11485 CFLAGS=$ac_wine_try_cflags_saved
11486 ac_exeext=$ac_wine_try_cflags_saved_exeext
11488 eval ac_res=\$$as_ac_var
11489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11490 printf "%s\n" "$ac_res" >&6; }
11491 if eval test \"x\$"$as_ac_var"\" = x"yes"
11493 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11495 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" |
$as_tr_sh`
11496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11497 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11498 if eval test \${$as_ac_var+y}
11500 printf %s "(cached) " >&6
11502 ac_wine_try_cflags_saved=$CFLAGS
11503 ac_wine_try_cflags_saved_exeext=$ac_exeext
11504 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
11506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11507 /* end confdefs.h. */
11508 int __cdecl mainCRTStartup(void) { return 0; }
11510 if ac_fn_c_try_link "$LINENO"
11512 eval "$as_ac_var=yes"
11514 eval "$as_ac_var=no"
11516 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11517 conftest$ac_exeext conftest.$ac_ext
11518 CFLAGS=$ac_wine_try_cflags_saved
11519 ac_exeext=$ac_wine_try_cflags_saved_exeext
11521 eval ac_res=\$$as_ac_var
11522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11523 printf "%s\n" "$ac_res" >&6; }
11524 if eval test \"x\$"$as_ac_var"\" = x"yes"
11526 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11528 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" |
$as_tr_sh`
11529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11530 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11531 if eval test \${$as_ac_var+y}
11533 printf %s "(cached) " >&6
11535 ac_wine_try_cflags_saved=$CFLAGS
11536 ac_wine_try_cflags_saved_exeext=$ac_exeext
11537 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
11539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11540 /* end confdefs.h. */
11541 int __cdecl mainCRTStartup(void) { return 0; }
11543 if ac_fn_c_try_link "$LINENO"
11545 eval "$as_ac_var=yes"
11547 eval "$as_ac_var=no"
11549 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11550 conftest$ac_exeext conftest.$ac_ext
11551 CFLAGS=$ac_wine_try_cflags_saved
11552 ac_exeext=$ac_wine_try_cflags_saved_exeext
11554 eval ac_res=\$$as_ac_var
11555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11556 printf "%s\n" "$ac_res" >&6; }
11557 if eval test \"x\$"$as_ac_var"\" = x"yes"
11559 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11563 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" |
$as_tr_sh`
11564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11565 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11566 if eval test \${$as_ac_var+y}
11568 printf %s "(cached) " >&6
11570 ac_wine_try_cflags_saved=$CFLAGS
11571 ac_wine_try_cflags_saved_exeext=$ac_exeext
11572 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
11574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11575 /* end confdefs.h. */
11576 int __cdecl mainCRTStartup(void) { return 0; }
11578 if ac_fn_c_try_link "$LINENO"
11580 eval "$as_ac_var=yes"
11582 eval "$as_ac_var=no"
11584 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11585 conftest$ac_exeext conftest.$ac_ext
11586 CFLAGS=$ac_wine_try_cflags_saved
11587 ac_exeext=$ac_wine_try_cflags_saved_exeext
11589 eval ac_res=\$$as_ac_var
11590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11591 printf "%s\n" "$ac_res" >&6; }
11592 if eval test \"x\$"$as_ac_var"\" = x"yes"
11594 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11596 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" |
$as_tr_sh`
11597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11598 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11599 if eval test \${$as_ac_var+y}
11601 printf %s "(cached) " >&6
11603 ac_wine_try_cflags_saved=$CFLAGS
11604 ac_wine_try_cflags_saved_exeext=$ac_exeext
11605 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wl,--disable-stdcall-fixup"
11607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11608 /* end confdefs.h. */
11609 int __cdecl mainCRTStartup(void) { return 0; }
11611 if ac_fn_c_try_link "$LINENO"
11613 eval "$as_ac_var=yes"
11615 eval "$as_ac_var=no"
11617 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11618 conftest$ac_exeext conftest.$ac_ext
11619 CFLAGS=$ac_wine_try_cflags_saved
11620 ac_exeext=$ac_wine_try_cflags_saved_exeext
11622 eval ac_res=\$$as_ac_var
11623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11624 printf "%s\n" "$ac_res" >&6; }
11625 if eval test \"x\$"$as_ac_var"\" = x"yes"
11627 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11629 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wno-format" |
$as_tr_sh`
11630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wno-format" >&5
11631 printf %s "checking whether $CC supports -Wno-format... " >&6; }
11632 if eval test \${$as_ac_var+y}
11634 printf %s "(cached) " >&6
11636 ac_wine_try_cflags_saved=$CFLAGS
11637 ac_wine_try_cflags_saved_exeext=$ac_exeext
11638 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wno-format"
11640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11641 /* end confdefs.h. */
11642 int __cdecl mainCRTStartup(void) { return 0; }
11644 if ac_fn_c_try_link "$LINENO"
11646 eval "$as_ac_var=yes"
11648 eval "$as_ac_var=no"
11650 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11651 conftest$ac_exeext conftest.$ac_ext
11652 CFLAGS=$ac_wine_try_cflags_saved
11653 ac_exeext=$ac_wine_try_cflags_saved_exeext
11655 eval ac_res=\$$as_ac_var
11656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11657 printf "%s\n" "$ac_res" >&6; }
11658 if eval test \"x\$"$as_ac_var"\" = x"yes"
11660 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-format"
11662 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" |
$as_tr_sh`
11663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11664 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11665 if eval test \${$as_ac_var+y}
11667 printf %s "(cached) " >&6
11669 ac_wine_try_cflags_saved=$CFLAGS
11670 ac_wine_try_cflags_saved_exeext=$ac_exeext
11671 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
11673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11674 /* end confdefs.h. */
11675 int __cdecl mainCRTStartup(void) { return 0; }
11677 if ac_fn_c_try_link "$LINENO"
11679 eval "$as_ac_var=yes"
11681 eval "$as_ac_var=no"
11683 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11684 conftest$ac_exeext conftest.$ac_ext
11685 CFLAGS=$ac_wine_try_cflags_saved
11686 ac_exeext=$ac_wine_try_cflags_saved_exeext
11688 eval ac_res=\$$as_ac_var
11689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11690 printf "%s\n" "$ac_res" >&6; }
11691 if eval test \"x\$"$as_ac_var"\" = x"yes"
11693 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11695 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" |
$as_tr_sh`
11696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11697 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11698 if eval test \${$as_ac_var+y}
11700 printf %s "(cached) " >&6
11702 ac_wine_try_cflags_saved=$CFLAGS
11703 ac_wine_try_cflags_saved_exeext=$ac_exeext
11704 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
11706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11707 /* end confdefs.h. */
11708 int __cdecl mainCRTStartup(void) { return 0; }
11710 if ac_fn_c_try_link "$LINENO"
11712 eval "$as_ac_var=yes"
11714 eval "$as_ac_var=no"
11716 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11717 conftest$ac_exeext conftest.$ac_ext
11718 CFLAGS=$ac_wine_try_cflags_saved
11719 ac_exeext=$ac_wine_try_cflags_saved_exeext
11721 eval ac_res=\$$as_ac_var
11722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11723 printf "%s\n" "$ac_res" >&6; }
11724 if eval test \"x\$"$as_ac_var"\" = x"yes"
11726 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11728 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" |
$as_tr_sh`
11729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11730 printf %s "checking whether $CC supports -mcx16... " >&6; }
11731 if eval test \${$as_ac_var+y}
11733 printf %s "(cached) " >&6
11735 ac_wine_try_cflags_saved=$CFLAGS
11736 ac_wine_try_cflags_saved_exeext=$ac_exeext
11737 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -mcx16"
11739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11740 /* end confdefs.h. */
11741 int __cdecl mainCRTStartup(void) { return 0; }
11743 if ac_fn_c_try_link "$LINENO"
11745 eval "$as_ac_var=yes"
11747 eval "$as_ac_var=no"
11749 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11750 conftest$ac_exeext conftest.$ac_ext
11751 CFLAGS=$ac_wine_try_cflags_saved
11752 ac_exeext=$ac_wine_try_cflags_saved_exeext
11754 eval ac_res=\$$as_ac_var
11755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11756 printf "%s\n" "$ac_res" >&6; }
11757 if eval test \"x\$"$as_ac_var"\" = x"yes"
11759 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11761 aarch64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wno-format" |
$as_tr_sh`
11762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wno-format" >&5
11763 printf %s "checking whether $CC supports -Wno-format... " >&6; }
11764 if eval test \${$as_ac_var+y}
11766 printf %s "(cached) " >&6
11768 ac_wine_try_cflags_saved=$CFLAGS
11769 ac_wine_try_cflags_saved_exeext=$ac_exeext
11770 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wno-format"
11772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11773 /* end confdefs.h. */
11774 int __cdecl mainCRTStartup(void) { return 0; }
11776 if ac_fn_c_try_link "$LINENO"
11778 eval "$as_ac_var=yes"
11780 eval "$as_ac_var=no"
11782 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11783 conftest$ac_exeext conftest.$ac_ext
11784 CFLAGS=$ac_wine_try_cflags_saved
11785 ac_exeext=$ac_wine_try_cflags_saved_exeext
11787 eval ac_res=\$$as_ac_var
11788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11789 printf "%s\n" "$ac_res" >&6; }
11790 if eval test \"x\$"$as_ac_var"\" = x"yes"
11792 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-format"
11796 wine_crossdebug=$CROSSDEBUG
11797 if test -z "$wine_crossdebug"
11799 for ac_flag in $CFLAGS; do
11801 -gdwarf*) wine_crossdebug=dwarf ;;
11802 -gcodeview) wine_crossdebug=pdb ;;
11803 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11808 ac_debug_format_seen=""
11809 for ac_flag in $CFLAGS; do
11811 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11814 if test "x$ac_debug_format_seen" = x
11816 case $wine_crossdebug in
11817 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" |
$as_tr_sh`
11818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11819 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11820 if eval test \${$as_ac_var+y}
11822 printf %s "(cached) " >&6
11824 ac_wine_try_cflags_saved=$CFLAGS
11825 ac_wine_try_cflags_saved_exeext=$ac_exeext
11826 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -gdwarf-4"
11828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11829 /* end confdefs.h. */
11830 int __cdecl mainCRTStartup(void) { return 0; }
11832 if ac_fn_c_try_link "$LINENO"
11834 eval "$as_ac_var=yes"
11836 eval "$as_ac_var=no"
11838 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11839 conftest$ac_exeext conftest.$ac_ext
11840 CFLAGS=$ac_wine_try_cflags_saved
11841 ac_exeext=$ac_wine_try_cflags_saved_exeext
11843 eval ac_res=\$$as_ac_var
11844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11845 printf "%s\n" "$ac_res" >&6; }
11846 if eval test \"x\$"$as_ac_var"\" = x"yes"
11848 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11850 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" |
$as_tr_sh`
11851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11852 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11853 if eval test \${$as_ac_var+y}
11855 printf %s "(cached) " >&6
11857 ac_wine_try_cflags_saved=$CFLAGS
11858 ac_wine_try_cflags_saved_exeext=$ac_exeext
11859 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -gcodeview"
11861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11862 /* end confdefs.h. */
11863 int __cdecl mainCRTStartup(void) { return 0; }
11865 if ac_fn_c_try_link "$LINENO"
11867 eval "$as_ac_var=yes"
11869 eval "$as_ac_var=no"
11871 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11872 conftest$ac_exeext conftest.$ac_ext
11873 CFLAGS=$ac_wine_try_cflags_saved
11874 ac_exeext=$ac_wine_try_cflags_saved_exeext
11876 eval ac_res=\$$as_ac_var
11877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11878 printf "%s\n" "$ac_res" >&6; }
11879 if eval test \"x\$"$as_ac_var"\" = x"yes"
11881 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11885 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11887 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" |
$as_tr_sh`
11888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11889 printf %s "checking whether $CC supports -Werror... " >&6; }
11890 if eval test \${$as_ac_var+y}
11892 printf %s "(cached) " >&6
11894 ac_wine_try_cflags_saved=$CFLAGS
11895 ac_wine_try_cflags_saved_exeext=$ac_exeext
11896 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Werror"
11898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11899 /* end confdefs.h. */
11900 int __cdecl mainCRTStartup(void) { return 0; }
11902 if ac_fn_c_try_link "$LINENO"
11904 eval "$as_ac_var=yes"
11906 eval "$as_ac_var=no"
11908 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11909 conftest$ac_exeext conftest.$ac_ext
11910 CFLAGS=$ac_wine_try_cflags_saved
11911 ac_exeext=$ac_wine_try_cflags_saved_exeext
11913 eval ac_res=\$$as_ac_var
11914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11915 printf "%s\n" "$ac_res" >&6; }
11916 if eval test \"x\$"$as_ac_var"\" = x"yes"
11918 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11920 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" |
$as_tr_sh`
11921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11922 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11923 if eval test \${$as_ac_var+y}
11925 printf %s "(cached) " >&6
11927 ac_wine_try_cflags_saved=$CFLAGS
11928 ac_wine_try_cflags_saved_exeext=$ac_exeext
11929 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
11931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11932 /* end confdefs.h. */
11933 int __cdecl mainCRTStartup(void) { return 0; }
11935 if ac_fn_c_try_link "$LINENO"
11937 eval "$as_ac_var=yes"
11939 eval "$as_ac_var=no"
11941 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11942 conftest$ac_exeext conftest.$ac_ext
11943 CFLAGS=$ac_wine_try_cflags_saved
11944 ac_exeext=$ac_wine_try_cflags_saved_exeext
11946 eval ac_res=\$$as_ac_var
11947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11948 printf "%s\n" "$ac_res" >&6; }
11949 if eval test \"x\$"$as_ac_var"\" = x"yes"
11951 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
11952 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
11956 CFLAGS=$saved_CFLAGS
11959 if test $HOST_ARCH = aarch64 -a "x$PE_ARCHS" = x
11961 as_fn_error $? "PE cross-compilation is required for ARM64, please install clang/llvm-dlltool/lld, or llvm-mingw." "$LINENO" 5
11964 if test "x$PE_ARCHS" = "x"
11966 case "x$with_mingw" in
11967 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
11969 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
11970 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
11976 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
11978 case "$host_cpu" in
11980 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11982 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11984 for ac_prog in $ac_prefix_list
11986 # Extract the first word of "$ac_prog", so it can be a program name with args.
11987 set dummy $ac_prog; ac_word=$2
11988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11989 printf %s "checking for $ac_word... " >&6; }
11990 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11992 printf %s "(cached) " >&6
11994 if test -n "$MINGW_PKG_CONFIG"; then
11995 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11998 for as_dir in $PATH
12001 case $as_dir in #(((
12004 *) as_dir=$as_dir/ ;;
12006 for ac_exec_ext in '' $ac_executable_extensions; do
12007 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
12008 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
12009 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12018 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
12019 if test -n "$MINGW_PKG_CONFIG"; then
12020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
12021 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
12023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12024 printf "%s\n" "no" >&6; }
12028 test -n "$MINGW_PKG_CONFIG" && break
12030 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
12032 if ${FAUDIO_PE_CFLAGS:+false} :
12034 if test ${MINGW_PKG_CONFIG+y}
12036 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio
2>/dev
/null
`
12039 if ${FAUDIO_PE_LIBS:+false} :
12041 if test ${MINGW_PKG_CONFIG+y}
12043 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio
2>/dev
/null
`
12046 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
12047 ac_save_CPPFLAGS=$CPPFLAGS
12048 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
12049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
12050 printf %s "checking for MinGW FAudio.h... " >&6; }
12051 if test ${ac_cv_mingw_header_FAudio_h+y}
12053 printf %s "(cached) " >&6
12055 ac_wine_check_headers_saved_cc=$CC
12056 ac_wine_check_headers_saved_exeext=$ac_exeext
12057 eval CC=\$${wine_arch}_CC
12059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12060 /* end confdefs.h. */
12062 #include <FAudio.h>
12071 if ac_fn_c_try_compile "$LINENO"
12073 ac_cv_mingw_header_FAudio_h=yes
12075 ac_cv_mingw_header_FAudio_h=no
12077 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12078 CC=$ac_wine_check_headers_saved_cc
12079 ac_exeext=$ac_wine_check_headers_saved_exeext
12081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
12082 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
12083 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
12085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
12086 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
12087 if test ${ac_cv_mingw_lib_FAudio+y}
12089 printf %s "(cached) " >&6
12091 ac_wine_check_headers_saved_cc=$CC
12092 ac_wine_check_headers_saved_exeext=$ac_exeext
12093 ac_wine_check_headers_saved_libs=$LIBS
12094 eval CC=\$${wine_arch}_CC
12096 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
12097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12098 /* end confdefs.h. */
12100 /* Override any GCC internal prototype to avoid an error.
12101 Use char because int might match the return type of a GCC
12102 builtin and then its argument prototype would still apply. */
12103 char FAudio_CommitOperationSet ();
12107 return FAudio_CommitOperationSet ();
12112 if ac_fn_c_try_link "$LINENO"
12114 ac_cv_mingw_lib_FAudio=yes
12116 ac_cv_mingw_lib_FAudio=no
12118 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12119 conftest$ac_exeext conftest.$ac_ext
12120 CC=$ac_wine_check_headers_saved_cc
12121 ac_exeext=$ac_wine_check_headers_saved_exeext
12122 LIBS=$ac_wine_check_headers_saved_libs
12124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
12125 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
12126 if test "x$ac_cv_mingw_lib_FAudio" = xyes
12130 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12133 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12135 CPPFLAGS=$ac_save_CPPFLAGS
12137 if test "x$FAUDIO_PE_LIBS" = "x"
12139 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
12142 if ${JPEG_PE_CFLAGS:+false} :
12144 if test ${MINGW_PKG_CONFIG+y}
12146 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg
2>/dev
/null
`
12149 if ${JPEG_PE_LIBS:+false} :
12151 if test ${MINGW_PKG_CONFIG+y}
12153 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg
2>/dev
/null
`
12157 ac_save_CPPFLAGS=$CPPFLAGS
12158 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
12159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
12160 printf %s "checking for MinGW jpeglib.h... " >&6; }
12161 if test ${ac_cv_mingw_header_jpeglib_h+y}
12163 printf %s "(cached) " >&6
12165 ac_wine_check_headers_saved_cc=$CC
12166 ac_wine_check_headers_saved_exeext=$ac_exeext
12167 eval CC=\$${wine_arch}_CC
12169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12170 /* end confdefs.h. */
12171 #include <stddef.h>
12173 #include <jpeglib.h>
12182 if ac_fn_c_try_compile "$LINENO"
12184 ac_cv_mingw_header_jpeglib_h=yes
12186 ac_cv_mingw_header_jpeglib_h=no
12188 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12189 CC=$ac_wine_check_headers_saved_cc
12190 ac_exeext=$ac_wine_check_headers_saved_exeext
12192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
12193 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
12194 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
12196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
12197 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
12198 if test ${ac_cv_mingw_lib_jpeg+y}
12200 printf %s "(cached) " >&6
12202 ac_wine_check_headers_saved_cc=$CC
12203 ac_wine_check_headers_saved_exeext=$ac_exeext
12204 ac_wine_check_headers_saved_libs=$LIBS
12205 eval CC=\$${wine_arch}_CC
12207 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
12208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12209 /* end confdefs.h. */
12211 /* Override any GCC internal prototype to avoid an error.
12212 Use char because int might match the return type of a GCC
12213 builtin and then its argument prototype would still apply. */
12214 char jpeg_start_decompress ();
12218 return jpeg_start_decompress ();
12223 if ac_fn_c_try_link "$LINENO"
12225 ac_cv_mingw_lib_jpeg=yes
12227 ac_cv_mingw_lib_jpeg=no
12229 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12230 conftest$ac_exeext conftest.$ac_ext
12231 CC=$ac_wine_check_headers_saved_cc
12232 ac_exeext=$ac_wine_check_headers_saved_exeext
12233 LIBS=$ac_wine_check_headers_saved_libs
12235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
12236 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
12237 if test "x$ac_cv_mingw_lib_jpeg" = xyes
12241 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12244 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12246 CPPFLAGS=$ac_save_CPPFLAGS
12248 if test "x$JPEG_PE_LIBS" = "x"
12250 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
12253 if ${LCMS2_PE_CFLAGS:+false} :
12255 if test ${MINGW_PKG_CONFIG+y}
12257 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2
2>/dev
/null
`
12260 if ${LCMS2_PE_LIBS:+false} :
12262 if test ${MINGW_PKG_CONFIG+y}
12264 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2
2>/dev
/null
`
12267 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12268 ac_save_CPPFLAGS=$CPPFLAGS
12269 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12271 printf %s "checking for MinGW lcms2.h... " >&6; }
12272 if test ${ac_cv_mingw_header_lcms2_h+y}
12274 printf %s "(cached) " >&6
12276 ac_wine_check_headers_saved_cc=$CC
12277 ac_wine_check_headers_saved_exeext=$ac_exeext
12278 eval CC=\$${wine_arch}_CC
12280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12281 /* end confdefs.h. */
12292 if ac_fn_c_try_compile "$LINENO"
12294 ac_cv_mingw_header_lcms2_h=yes
12296 ac_cv_mingw_header_lcms2_h=no
12298 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12299 CC=$ac_wine_check_headers_saved_cc
12300 ac_exeext=$ac_wine_check_headers_saved_exeext
12302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12303 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12304 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12307 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12308 if test ${ac_cv_mingw_lib_lcms2+y}
12310 printf %s "(cached) " >&6
12312 ac_wine_check_headers_saved_cc=$CC
12313 ac_wine_check_headers_saved_exeext=$ac_exeext
12314 ac_wine_check_headers_saved_libs=$LIBS
12315 eval CC=\$${wine_arch}_CC
12317 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12319 /* end confdefs.h. */
12321 /* Override any GCC internal prototype to avoid an error.
12322 Use char because int might match the return type of a GCC
12323 builtin and then its argument prototype would still apply. */
12324 char cmsOpenProfileFromFile ();
12328 return cmsOpenProfileFromFile ();
12333 if ac_fn_c_try_link "$LINENO"
12335 ac_cv_mingw_lib_lcms2=yes
12337 ac_cv_mingw_lib_lcms2=no
12339 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12340 conftest$ac_exeext conftest.$ac_ext
12341 CC=$ac_wine_check_headers_saved_cc
12342 ac_exeext=$ac_wine_check_headers_saved_exeext
12343 LIBS=$ac_wine_check_headers_saved_libs
12345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12346 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12347 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12351 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12354 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12356 CPPFLAGS=$ac_save_CPPFLAGS
12358 if test "x$LCMS2_PE_LIBS" = "x"
12360 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12363 if ${MPG123_PE_CFLAGS:+false} :
12365 if test ${MINGW_PKG_CONFIG+y}
12367 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123
2>/dev
/null
`
12370 if ${MPG123_PE_LIBS:+false} :
12372 if test ${MINGW_PKG_CONFIG+y}
12374 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123
2>/dev
/null
`
12377 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12378 ac_save_CPPFLAGS=$CPPFLAGS
12379 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12381 printf %s "checking for MinGW mpg123.h... " >&6; }
12382 if test ${ac_cv_mingw_header_mpg123_h+y}
12384 printf %s "(cached) " >&6
12386 ac_wine_check_headers_saved_cc=$CC
12387 ac_wine_check_headers_saved_exeext=$ac_exeext
12388 eval CC=\$${wine_arch}_CC
12390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12391 /* end confdefs.h. */
12393 #include <mpg123.h>
12402 if ac_fn_c_try_compile "$LINENO"
12404 ac_cv_mingw_header_mpg123_h=yes
12406 ac_cv_mingw_header_mpg123_h=no
12408 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12409 CC=$ac_wine_check_headers_saved_cc
12410 ac_exeext=$ac_wine_check_headers_saved_exeext
12412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12413 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12414 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12417 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12418 if test ${ac_cv_mingw_lib_mpg123+y}
12420 printf %s "(cached) " >&6
12422 ac_wine_check_headers_saved_cc=$CC
12423 ac_wine_check_headers_saved_exeext=$ac_exeext
12424 ac_wine_check_headers_saved_libs=$LIBS
12425 eval CC=\$${wine_arch}_CC
12427 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12429 /* end confdefs.h. */
12431 /* Override any GCC internal prototype to avoid an error.
12432 Use char because int might match the return type of a GCC
12433 builtin and then its argument prototype would still apply. */
12434 char mpg123_feed ();
12438 return mpg123_feed ();
12443 if ac_fn_c_try_link "$LINENO"
12445 ac_cv_mingw_lib_mpg123=yes
12447 ac_cv_mingw_lib_mpg123=no
12449 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12450 conftest$ac_exeext conftest.$ac_ext
12451 CC=$ac_wine_check_headers_saved_cc
12452 ac_exeext=$ac_wine_check_headers_saved_exeext
12453 LIBS=$ac_wine_check_headers_saved_libs
12455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12456 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12457 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12461 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12464 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12466 CPPFLAGS=$ac_save_CPPFLAGS
12468 if test "x$MPG123_PE_LIBS" = "x"
12470 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12473 if ${PNG_PE_CFLAGS:+false} :
12475 if test ${MINGW_PKG_CONFIG+y}
12477 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng
2>/dev
/null
`
12480 if ${PNG_PE_LIBS:+false} :
12482 if test ${MINGW_PKG_CONFIG+y}
12484 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng
2>/dev
/null
`
12488 ac_save_CPPFLAGS=$CPPFLAGS
12489 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12491 printf %s "checking for MinGW png.h... " >&6; }
12492 if test ${ac_cv_mingw_header_png_h+y}
12494 printf %s "(cached) " >&6
12496 ac_wine_check_headers_saved_cc=$CC
12497 ac_wine_check_headers_saved_exeext=$ac_exeext
12498 eval CC=\$${wine_arch}_CC
12500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12501 /* end confdefs.h. */
12512 if ac_fn_c_try_compile "$LINENO"
12514 ac_cv_mingw_header_png_h=yes
12516 ac_cv_mingw_header_png_h=no
12518 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12519 CC=$ac_wine_check_headers_saved_cc
12520 ac_exeext=$ac_wine_check_headers_saved_exeext
12522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12523 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12524 if test "x$ac_cv_mingw_header_png_h" = xyes
12526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12527 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12528 if test ${ac_cv_mingw_lib_png+y}
12530 printf %s "(cached) " >&6
12532 ac_wine_check_headers_saved_cc=$CC
12533 ac_wine_check_headers_saved_exeext=$ac_exeext
12534 ac_wine_check_headers_saved_libs=$LIBS
12535 eval CC=\$${wine_arch}_CC
12537 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12539 /* end confdefs.h. */
12541 /* Override any GCC internal prototype to avoid an error.
12542 Use char because int might match the return type of a GCC
12543 builtin and then its argument prototype would still apply. */
12544 char png_create_read_struct ();
12548 return png_create_read_struct ();
12553 if ac_fn_c_try_link "$LINENO"
12555 ac_cv_mingw_lib_png=yes
12557 ac_cv_mingw_lib_png=no
12559 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12560 conftest$ac_exeext conftest.$ac_ext
12561 CC=$ac_wine_check_headers_saved_cc
12562 ac_exeext=$ac_wine_check_headers_saved_exeext
12563 LIBS=$ac_wine_check_headers_saved_libs
12565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12566 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12567 if test "x$ac_cv_mingw_lib_png" = xyes
12571 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12574 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12576 CPPFLAGS=$ac_save_CPPFLAGS
12578 if test "x$PNG_PE_LIBS" = "x"
12580 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12583 if ${TIFF_PE_CFLAGS:+false} :
12585 if test ${MINGW_PKG_CONFIG+y}
12587 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4
2>/dev
/null
`
12590 if ${TIFF_PE_LIBS:+false} :
12592 if test ${MINGW_PKG_CONFIG+y}
12594 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4
2>/dev
/null
`
12598 ac_save_CPPFLAGS=$CPPFLAGS
12599 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12601 printf %s "checking for MinGW tiffio.h... " >&6; }
12602 if test ${ac_cv_mingw_header_tiffio_h+y}
12604 printf %s "(cached) " >&6
12606 ac_wine_check_headers_saved_cc=$CC
12607 ac_wine_check_headers_saved_exeext=$ac_exeext
12608 eval CC=\$${wine_arch}_CC
12610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12611 /* end confdefs.h. */
12613 #include <tiffio.h>
12622 if ac_fn_c_try_compile "$LINENO"
12624 ac_cv_mingw_header_tiffio_h=yes
12626 ac_cv_mingw_header_tiffio_h=no
12628 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12629 CC=$ac_wine_check_headers_saved_cc
12630 ac_exeext=$ac_wine_check_headers_saved_exeext
12632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12633 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12634 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12637 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12638 if test ${ac_cv_mingw_lib_tiff+y}
12640 printf %s "(cached) " >&6
12642 ac_wine_check_headers_saved_cc=$CC
12643 ac_wine_check_headers_saved_exeext=$ac_exeext
12644 ac_wine_check_headers_saved_libs=$LIBS
12645 eval CC=\$${wine_arch}_CC
12647 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12649 /* end confdefs.h. */
12651 /* Override any GCC internal prototype to avoid an error.
12652 Use char because int might match the return type of a GCC
12653 builtin and then its argument prototype would still apply. */
12654 char TIFFClientOpen ();
12658 return TIFFClientOpen ();
12663 if ac_fn_c_try_link "$LINENO"
12665 ac_cv_mingw_lib_tiff=yes
12667 ac_cv_mingw_lib_tiff=no
12669 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12670 conftest$ac_exeext conftest.$ac_ext
12671 CC=$ac_wine_check_headers_saved_cc
12672 ac_exeext=$ac_wine_check_headers_saved_exeext
12673 LIBS=$ac_wine_check_headers_saved_libs
12675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12676 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12677 if test "x$ac_cv_mingw_lib_tiff" = xyes
12681 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12684 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12686 CPPFLAGS=$ac_save_CPPFLAGS
12688 if test "x$TIFF_PE_LIBS" = "x"
12690 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12693 if ${XML2_PE_CFLAGS:+false} :
12695 if test ${MINGW_PKG_CONFIG+y}
12697 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0
2>/dev
/null
`
12700 if ${XML2_PE_LIBS:+false} :
12702 if test ${MINGW_PKG_CONFIG+y}
12704 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0
2>/dev
/null
`
12707 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12708 ac_save_CPPFLAGS=$CPPFLAGS
12709 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12711 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12712 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12714 printf %s "(cached) " >&6
12716 ac_wine_check_headers_saved_cc=$CC
12717 ac_wine_check_headers_saved_exeext=$ac_exeext
12718 eval CC=\$${wine_arch}_CC
12720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12721 /* end confdefs.h. */
12723 #include <libxml/parser.h>
12732 if ac_fn_c_try_compile "$LINENO"
12734 ac_cv_mingw_header_libxml_parser_h=yes
12736 ac_cv_mingw_header_libxml_parser_h=no
12738 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12739 CC=$ac_wine_check_headers_saved_cc
12740 ac_exeext=$ac_wine_check_headers_saved_exeext
12742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12743 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12744 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12749 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12750 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12752 printf %s "(cached) " >&6
12754 ac_wine_check_headers_saved_cc=$CC
12755 ac_wine_check_headers_saved_exeext=$ac_exeext
12756 eval CC=\$${wine_arch}_CC
12758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12759 /* end confdefs.h. */
12761 #include <libxml/xmlsave.h>
12770 if ac_fn_c_try_compile "$LINENO"
12772 ac_cv_mingw_header_libxml_xmlsave_h=yes
12774 ac_cv_mingw_header_libxml_xmlsave_h=no
12776 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12777 CC=$ac_wine_check_headers_saved_cc
12778 ac_exeext=$ac_wine_check_headers_saved_exeext
12780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12781 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12782 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12787 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12788 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12790 printf %s "(cached) " >&6
12792 ac_wine_check_headers_saved_cc=$CC
12793 ac_wine_check_headers_saved_exeext=$ac_exeext
12794 eval CC=\$${wine_arch}_CC
12796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12797 /* end confdefs.h. */
12799 #include <libxml/SAX2.h>
12808 if ac_fn_c_try_compile "$LINENO"
12810 ac_cv_mingw_header_libxml_SAX2_h=yes
12812 ac_cv_mingw_header_libxml_SAX2_h=no
12814 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12815 CC=$ac_wine_check_headers_saved_cc
12816 ac_exeext=$ac_wine_check_headers_saved_exeext
12818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12819 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12820 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12824 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"
12826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12827 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12828 if test ${ac_cv_mingw_lib_xml2+y}
12830 printf %s "(cached) " >&6
12832 ac_wine_check_headers_saved_cc=$CC
12833 ac_wine_check_headers_saved_exeext=$ac_exeext
12834 ac_wine_check_headers_saved_libs=$LIBS
12835 eval CC=\$${wine_arch}_CC
12837 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12839 /* end confdefs.h. */
12841 /* Override any GCC internal prototype to avoid an error.
12842 Use char because int might match the return type of a GCC
12843 builtin and then its argument prototype would still apply. */
12844 char xmlFirstElementChild ();
12848 return xmlFirstElementChild ();
12853 if ac_fn_c_try_link "$LINENO"
12855 ac_cv_mingw_lib_xml2=yes
12857 ac_cv_mingw_lib_xml2=no
12859 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12860 conftest$ac_exeext conftest.$ac_ext
12861 CC=$ac_wine_check_headers_saved_cc
12862 ac_exeext=$ac_wine_check_headers_saved_exeext
12863 LIBS=$ac_wine_check_headers_saved_libs
12865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12866 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12867 if test "x$ac_cv_mingw_lib_xml2" = xyes
12871 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12877 CPPFLAGS=$ac_save_CPPFLAGS
12879 if test "x$XML2_PE_LIBS" = "x"
12881 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12884 if ${XSLT_PE_CFLAGS:+false} :
12886 if test ${MINGW_PKG_CONFIG+y}
12888 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt
2>/dev
/null
`
12891 if ${XSLT_PE_LIBS:+false} :
12893 if test ${MINGW_PKG_CONFIG+y}
12895 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt
2>/dev
/null
`
12898 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12899 ac_save_CPPFLAGS=$CPPFLAGS
12900 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12902 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12903 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12905 printf %s "(cached) " >&6
12907 ac_wine_check_headers_saved_cc=$CC
12908 ac_wine_check_headers_saved_exeext=$ac_exeext
12909 eval CC=\$${wine_arch}_CC
12911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12912 /* end confdefs.h. */
12914 #include <libxslt/pattern.h>
12923 if ac_fn_c_try_compile "$LINENO"
12925 ac_cv_mingw_header_libxslt_pattern_h=yes
12927 ac_cv_mingw_header_libxslt_pattern_h=no
12929 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12930 CC=$ac_wine_check_headers_saved_cc
12931 ac_exeext=$ac_wine_check_headers_saved_exeext
12933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12934 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12935 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12940 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12941 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12943 printf %s "(cached) " >&6
12945 ac_wine_check_headers_saved_cc=$CC
12946 ac_wine_check_headers_saved_exeext=$ac_exeext
12947 eval CC=\$${wine_arch}_CC
12949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12950 /* end confdefs.h. */
12952 #include <libxslt/transform.h>
12961 if ac_fn_c_try_compile "$LINENO"
12963 ac_cv_mingw_header_libxslt_transform_h=yes
12965 ac_cv_mingw_header_libxslt_transform_h=no
12967 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12968 CC=$ac_wine_check_headers_saved_cc
12969 ac_exeext=$ac_wine_check_headers_saved_exeext
12971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12972 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12973 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12977 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12980 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12981 if test ${ac_cv_mingw_lib_xslt+y}
12983 printf %s "(cached) " >&6
12985 ac_wine_check_headers_saved_cc=$CC
12986 ac_wine_check_headers_saved_exeext=$ac_exeext
12987 ac_wine_check_headers_saved_libs=$LIBS
12988 eval CC=\$${wine_arch}_CC
12990 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12992 /* end confdefs.h. */
12994 /* Override any GCC internal prototype to avoid an error.
12995 Use char because int might match the return type of a GCC
12996 builtin and then its argument prototype would still apply. */
12997 char xsltCompilePattern ();
13001 return xsltCompilePattern ();
13006 if ac_fn_c_try_link "$LINENO"
13008 ac_cv_mingw_lib_xslt=yes
13010 ac_cv_mingw_lib_xslt=no
13012 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13013 conftest$ac_exeext conftest.$ac_ext
13014 CC=$ac_wine_check_headers_saved_cc
13015 ac_exeext=$ac_wine_check_headers_saved_exeext
13016 LIBS=$ac_wine_check_headers_saved_libs
13018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
13019 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
13020 if test "x$ac_cv_mingw_lib_xslt" = xyes
13024 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
13030 CPPFLAGS=$ac_save_CPPFLAGS
13032 if test "x$XSLT_PE_LIBS" = "x"
13034 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
13037 if ${VKD3D_PE_CFLAGS:+false} :
13039 if test ${MINGW_PKG_CONFIG+y}
13041 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader
2>/dev
/null
`
13044 if ${VKD3D_PE_LIBS:+false} :
13046 if test ${MINGW_PKG_CONFIG+y}
13048 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader
2>/dev
/null
`
13051 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
13052 ac_save_CPPFLAGS=$CPPFLAGS
13053 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
13054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
13055 printf %s "checking for MinGW vkd3d.h... " >&6; }
13056 if test ${ac_cv_mingw_header_vkd3d_h+y}
13058 printf %s "(cached) " >&6
13060 ac_wine_check_headers_saved_cc=$CC
13061 ac_wine_check_headers_saved_exeext=$ac_exeext
13062 eval CC=\$${wine_arch}_CC
13064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13065 /* end confdefs.h. */
13076 if ac_fn_c_try_compile "$LINENO"
13078 ac_cv_mingw_header_vkd3d_h=yes
13080 ac_cv_mingw_header_vkd3d_h=no
13082 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13083 CC=$ac_wine_check_headers_saved_cc
13084 ac_exeext=$ac_wine_check_headers_saved_exeext
13086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
13087 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
13088 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
13092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
13093 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
13094 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
13096 printf %s "(cached) " >&6
13098 ac_wine_check_headers_saved_cc=$CC
13099 ac_wine_check_headers_saved_exeext=$ac_exeext
13100 eval CC=\$${wine_arch}_CC
13102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13103 /* end confdefs.h. */
13105 #include <vkd3d_shader.h>
13114 if ac_fn_c_try_compile "$LINENO"
13116 ac_cv_mingw_header_vkd3d_shader_h=yes
13118 ac_cv_mingw_header_vkd3d_shader_h=no
13120 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13121 CC=$ac_wine_check_headers_saved_cc
13122 ac_exeext=$ac_wine_check_headers_saved_exeext
13124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
13125 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
13126 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
13130 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
13132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
13133 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
13134 if test ${ac_cv_mingw_lib_vkd3d+y}
13136 printf %s "(cached) " >&6
13138 ac_wine_check_headers_saved_cc=$CC
13139 ac_wine_check_headers_saved_exeext=$ac_exeext
13140 ac_wine_check_headers_saved_libs=$LIBS
13141 eval CC=\$${wine_arch}_CC
13143 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
13144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13145 /* end confdefs.h. */
13147 /* Override any GCC internal prototype to avoid an error.
13148 Use char because int might match the return type of a GCC
13149 builtin and then its argument prototype would still apply. */
13150 char vkd3d_set_log_callback ();
13154 return vkd3d_set_log_callback ();
13159 if ac_fn_c_try_link "$LINENO"
13161 ac_cv_mingw_lib_vkd3d=yes
13163 ac_cv_mingw_lib_vkd3d=no
13165 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13166 conftest$ac_exeext conftest.$ac_ext
13167 CC=$ac_wine_check_headers_saved_cc
13168 ac_exeext=$ac_wine_check_headers_saved_exeext
13169 LIBS=$ac_wine_check_headers_saved_libs
13171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
13172 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
13173 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
13179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_compile in MinGW -lvkd3d-shader" >&5
13180 printf %s "checking for vkd3d_shader_compile in MinGW -lvkd3d-shader... " >&6; }
13181 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
13183 printf %s "(cached) " >&6
13185 ac_wine_check_headers_saved_cc=$CC
13186 ac_wine_check_headers_saved_exeext=$ac_exeext
13187 ac_wine_check_headers_saved_libs=$LIBS
13188 eval CC=\$${wine_arch}_CC
13190 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
13191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13192 /* end confdefs.h. */
13194 /* Override any GCC internal prototype to avoid an error.
13195 Use char because int might match the return type of a GCC
13196 builtin and then its argument prototype would still apply. */
13197 char vkd3d_shader_compile ();
13201 return vkd3d_shader_compile ();
13206 if ac_fn_c_try_link "$LINENO"
13208 ac_cv_mingw_lib_vkd3d_shader=yes
13210 ac_cv_mingw_lib_vkd3d_shader=no
13212 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13213 conftest$ac_exeext conftest.$ac_ext
13214 CC=$ac_wine_check_headers_saved_cc
13215 ac_exeext=$ac_wine_check_headers_saved_exeext
13216 LIBS=$ac_wine_check_headers_saved_libs
13218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
13219 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
13220 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
13226 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
13235 CPPFLAGS=$ac_save_CPPFLAGS
13237 if test "x$VKD3D_PE_LIBS" = "x"
13239 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
13242 if ${ZLIB_PE_CFLAGS:+false} :
13244 if test ${MINGW_PKG_CONFIG+y}
13246 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib
2>/dev
/null
`
13249 if ${ZLIB_PE_LIBS:+false} :
13251 if test ${MINGW_PKG_CONFIG+y}
13253 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib
2>/dev
/null
`
13256 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13257 ac_save_CPPFLAGS=$CPPFLAGS
13258 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13260 printf %s "checking for MinGW zlib.h... " >&6; }
13261 if test ${ac_cv_mingw_header_zlib_h+y}
13263 printf %s "(cached) " >&6
13265 ac_wine_check_headers_saved_cc=$CC
13266 ac_wine_check_headers_saved_exeext=$ac_exeext
13267 eval CC=\$${wine_arch}_CC
13269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13270 /* end confdefs.h. */
13281 if ac_fn_c_try_compile "$LINENO"
13283 ac_cv_mingw_header_zlib_h=yes
13285 ac_cv_mingw_header_zlib_h=no
13287 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13288 CC=$ac_wine_check_headers_saved_cc
13289 ac_exeext=$ac_wine_check_headers_saved_exeext
13291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13292 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13293 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13296 printf %s "checking for inflate in MinGW -lz... " >&6; }
13297 if test ${ac_cv_mingw_lib_z+y}
13299 printf %s "(cached) " >&6
13301 ac_wine_check_headers_saved_cc=$CC
13302 ac_wine_check_headers_saved_exeext=$ac_exeext
13303 ac_wine_check_headers_saved_libs=$LIBS
13304 eval CC=\$${wine_arch}_CC
13306 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13308 /* end confdefs.h. */
13310 /* Override any GCC internal prototype to avoid an error.
13311 Use char because int might match the return type of a GCC
13312 builtin and then its argument prototype would still apply. */
13322 if ac_fn_c_try_link "$LINENO"
13324 ac_cv_mingw_lib_z=yes
13326 ac_cv_mingw_lib_z=no
13328 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13329 conftest$ac_exeext conftest.$ac_ext
13330 CC=$ac_wine_check_headers_saved_cc
13331 ac_exeext=$ac_wine_check_headers_saved_exeext
13332 LIBS=$ac_wine_check_headers_saved_libs
13334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13335 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13336 if test "x$ac_cv_mingw_lib_z" = xyes
13340 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13343 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13345 CPPFLAGS=$ac_save_CPPFLAGS
13347 if test "x$ZLIB_PE_LIBS" = "x"
13349 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13353 if ${FAUDIO_PE_LIBS:+false} :
13355 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13356 if ${FAUDIO_PE_CFLAGS:+false} :
13358 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13365 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13366 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13368 if ${GSM_PE_LIBS:+false} :
13371 if ${GSM_PE_CFLAGS:+false} :
13373 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13380 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13381 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13383 if ${JPEG_PE_LIBS:+false} :
13386 if ${JPEG_PE_CFLAGS:+false} :
13388 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13395 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13396 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13398 if ${JXR_PE_LIBS:+false} :
13401 if ${JXR_PE_CFLAGS:+false} :
13403 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13410 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13411 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13413 if ${LCMS2_PE_LIBS:+false} :
13415 LCMS2_PE_LIBS=lcms2
13416 if ${LCMS2_PE_CFLAGS:+false} :
13418 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13425 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13426 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13428 if ${MPG123_PE_LIBS:+false} :
13430 MPG123_PE_LIBS=mpg123
13431 if ${MPG123_PE_CFLAGS:+false} :
13433 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13440 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13441 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13443 if ${PNG_PE_LIBS:+false} :
13445 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13446 if ${PNG_PE_CFLAGS:+false} :
13448 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13455 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13456 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13458 if ${TIFF_PE_LIBS:+false} :
13460 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13461 if ${TIFF_PE_CFLAGS:+false} :
13463 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13470 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13471 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13473 if ${VKD3D_PE_LIBS:+false} :
13475 VKD3D_PE_LIBS=vkd3d
13476 if ${VKD3D_PE_CFLAGS:+false} :
13478 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13485 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13486 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13488 if ${XML2_PE_LIBS:+false} :
13491 if ${XML2_PE_CFLAGS:+false} :
13493 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13500 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13501 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13503 if ${XSLT_PE_LIBS:+false} :
13506 if ${XSLT_PE_CFLAGS:+false} :
13508 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13515 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13516 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13518 if ${ZLIB_PE_LIBS:+false} :
13521 if ${ZLIB_PE_CFLAGS:+false} :
13523 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13530 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13531 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13535 if test "$ac_cv_header_pthread_h" = "yes"
13537 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13538 if test "x$ac_cv_func_pthread_create" = xyes
13542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13543 printf %s "checking for pthread_create in -lpthread... " >&6; }
13544 if test ${ac_cv_lib_pthread_pthread_create+y}
13546 printf %s "(cached) " >&6
13548 ac_check_lib_save_LIBS=$LIBS
13549 LIBS="-lpthread $LIBS"
13550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13551 /* end confdefs.h. */
13553 /* Override any GCC internal prototype to avoid an error.
13554 Use char because int might match the return type of a GCC
13555 builtin and then its argument prototype would still apply. */
13556 char pthread_create ();
13560 return pthread_create ();
13565 if ac_fn_c_try_link "$LINENO"
13567 ac_cv_lib_pthread_pthread_create=yes
13569 ac_cv_lib_pthread_pthread_create=no
13571 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13572 conftest$ac_exeext conftest.$ac_ext
13573 LIBS=$ac_check_lib_save_LIBS
13575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13576 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13577 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13579 PTHREAD_LIBS="-lpthread"
13586 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13588 case "x$with_pthread" in
13590 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13591 Wine cannot support threads without libpthread.
13592 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13599 ac_cpp='$CPP $CPPFLAGS'
13600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13604 printf %s "checking how to run the C preprocessor... " >&6; }
13605 # On Suns, sometimes $CPP names a directory.
13606 if test -n "$CPP" && test -d "$CPP"; then
13609 if test -z "$CPP"; then
13610 if test ${ac_cv_prog_CPP+y}
13612 printf %s "(cached) " >&6
13614 # Double quotes because $CC needs to be expanded
13615 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13617 ac_preproc_ok=false
13618 for ac_c_preproc_warn_flag in '' yes
13620 # Use a header file that comes with gcc, so configuring glibc
13621 # with a fresh cross-compiler works.
13622 # On the NeXT, cc -E runs the code through the compiler's parser,
13623 # not just through cpp. "Syntax error" is here to catch this case.
13624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13625 /* end confdefs.h. */
13626 #include <limits.h>
13629 if ac_fn_c_try_cpp "$LINENO"
13633 # Broken: fails on valid input.
13636 rm -f conftest.err conftest.i conftest.$ac_ext
13638 # OK, works on sane cases. Now check whether nonexistent headers
13639 # can be detected and how.
13640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13641 /* end confdefs.h. */
13642 #include <ac_nonexistent.h>
13644 if ac_fn_c_try_cpp "$LINENO"
13646 # Broken: success on invalid input.
13649 # Passes both tests.
13653 rm -f conftest.err conftest.i conftest.$ac_ext
13656 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13657 rm -f conftest.i conftest.err conftest.
$ac_ext
13664 ac_cv_prog_CPP
=$CPP
13667 CPP
=$ac_cv_prog_CPP
13669 ac_cv_prog_CPP
=$CPP
13671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13672 printf "%s\n" "$CPP" >&6; }
13673 ac_preproc_ok
=false
13674 for ac_c_preproc_warn_flag
in '' yes
13676 # Use a header file that comes with gcc, so configuring glibc
13677 # with a fresh cross-compiler works.
13678 # On the NeXT, cc -E runs the code through the compiler's parser,
13679 # not just through cpp. "Syntax error" is here to catch this case.
13680 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13681 /* end confdefs.h. */
13682 #include <limits.h>
13685 if ac_fn_c_try_cpp
"$LINENO"
13689 # Broken: fails on valid input.
13692 rm -f conftest.err conftest.i conftest.
$ac_ext
13694 # OK, works on sane cases. Now check whether nonexistent headers
13695 # can be detected and how.
13696 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13697 /* end confdefs.h. */
13698 #include <ac_nonexistent.h>
13700 if ac_fn_c_try_cpp
"$LINENO"
13702 # Broken: success on invalid input.
13705 # Passes both tests.
13709 rm -f conftest.err conftest.i conftest.
$ac_ext
13712 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13713 rm -f conftest.i conftest.err conftest.
$ac_ext
13718 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13719 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13720 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
13721 See \`config.log' for more details" "$LINENO" 5; }
13725 ac_cpp
='$CPP $CPPFLAGS'
13726 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13727 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13728 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13732 printf %s
"checking for X... " >&6; }
13735 # Check whether --with-x was given.
13736 if test ${with_x+y}
13741 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13742 if test "x$with_x" = xno
; then
13743 # The user explicitly disabled X.
13746 case $x_includes,$x_libraries in #(
13747 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
13748 *,NONE | NONE
,*) if test ${ac_cv_have_x+y}
13750 printf %s
"(cached) " >&6
13752 # One or both of the vars are not set, and there is no cached value.
13755 # Do we need to do anything special at all?
13758 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13759 /* end confdefs.h. */
13760 #include <X11/Xlib.h>
13769 if ac_fn_c_try_link
"$LINENO"
13771 # We can compile and link X programs with no special options.
13775 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13776 conftest
$ac_exeext conftest.
$ac_ext
13777 LIBS
="$ac_save_LIBS"
13778 # If that didn't work, only try xmkmf and file system searches
13779 # for native compilation.
13780 if test x
"$ac_x_includes" = xno
&& test "$cross_compiling" = no
13782 rm -f -r conftest.dir
13783 if mkdir conftest.dir
; then
13785 cat >Imakefile
<<'_ACEOF'
13787 @echo incroot='${INCROOT}'
13789 @echo usrlibdir='${USRLIBDIR}'
13791 @echo libdir='${LIBDIR}'
13793 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
13794 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13795 for ac_var
in incroot usrlibdir libdir
; do
13796 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13798 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13799 for ac_extension
in a so sl dylib la dll
; do
13800 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13801 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13802 ac_im_usrlibdir
=$ac_im_libdir; break
13805 # Screen out bogus values from the imake configuration. They are
13806 # bogus both because they are the default anyway, and because
13807 # using them would break gcc on systems where it needs fixed includes.
13808 case $ac_im_incroot in
13809 /usr
/include
) ac_x_includes
= ;;
13810 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
13812 case $ac_im_usrlibdir in
13813 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
13814 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
13818 rm -f -r conftest.dir
13821 # Standard set of common directories for X headers.
13822 # Check X11 before X11Rn because it is often a symlink to the current release.
13836 /usr/local/X11/include
13837 /usr/local/X11R7/include
13838 /usr/local/X11R6/include
13839 /usr/local/X11R5/include
13840 /usr/local/X11R4/include
13842 /usr/local/include/X11
13843 /usr/local/include/X11R7
13844 /usr/local/include/X11R6
13845 /usr/local/include/X11R5
13846 /usr/local/include/X11R4
13852 /usr/XFree86/include/X11
13856 /usr/unsupported/include
13857 /usr/athena/include
13858 /usr/local/x11r5/include
13859 /usr/lpp/Xamples/include
13861 /usr/openwin/include
13862 /usr/openwin/share/include'
13864 if test "$ac_x_includes" = no
; then
13865 # Guess where to find include files, by looking for Xlib.h.
13866 # First, try using that file with no special directory specified.
13867 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13868 /* end confdefs.h. */
13869 #include <X11/Xlib.h>
13871 if ac_fn_c_try_cpp
"$LINENO"
13873 # We can compile using X headers with no special include directory.
13876 for ac_dir
in $ac_x_header_dirs; do
13877 if test -r "$ac_dir/X11/Xlib.h"; then
13878 ac_x_includes
=$ac_dir
13883 rm -f conftest.err conftest.i conftest.
$ac_ext
13884 fi # $ac_x_includes = no
13886 if test "$ac_x_libraries" = no
; then
13887 # Check for the libraries.
13888 # See if we find them without any special options.
13889 # Don't add to $LIBS permanently.
13892 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13893 /* end confdefs.h. */
13894 #include <X11/Xlib.h>
13903 if ac_fn_c_try_link
"$LINENO"
13906 # We can link X programs with no special library path.
13910 for ac_dir
in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13912 # Don't even attempt the hair of trying to link an X program!
13913 for ac_extension
in a so sl dylib la dll
; do
13914 if test -r "$ac_dir/libX11.$ac_extension"; then
13915 ac_x_libraries
=$ac_dir
13921 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13922 conftest
$ac_exeext conftest.
$ac_ext
13923 fi # $ac_x_libraries = no
13926 # Record the results.
13927 case $ac_x_includes,$ac_x_libraries in #(
13928 no
,* |
*,no |
*\'*) :
13929 # Didn't find X, or a directory has "'" in its name.
13930 ac_cv_have_x
="have_x=no" ;; #(
13932 # Record where we found X for the cache.
13933 ac_cv_have_x
="have_x=yes\
13934 ac_x_includes='$ac_x_includes'\
13935 ac_x_libraries='$ac_x_libraries'" ;;
13941 eval "$ac_cv_have_x"
13944 if test "$have_x" != yes; then
13945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13946 printf "%s\n" "$have_x" >&6; }
13949 # If each of the values was on the command line, it overrides each guess.
13950 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
13951 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
13952 # Update the cache value to reflect the command line values.
13953 ac_cv_have_x
="have_x=yes\
13954 ac_x_includes='$x_includes'\
13955 ac_x_libraries='$x_libraries'"
13956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13957 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13960 if test "$no_x" = yes; then
13961 # Not all programs may use this symbol, but it does not hurt to define it.
13963 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13965 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
13967 if test -n "$x_includes"; then
13968 X_CFLAGS
="$X_CFLAGS -I$x_includes"
13971 # It would also be nice to do this for all -L options, not just this one.
13972 if test -n "$x_libraries"; then
13973 X_LIBS
="$X_LIBS -L$x_libraries"
13974 # For Solaris; some versions of Sun CC require a space after -R and
13975 # others require no space. Words are not sufficient . . . .
13976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13977 printf %s
"checking whether -R must be followed by a space... " >&6; }
13978 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
13979 ac_xsave_c_werror_flag
=$ac_c_werror_flag
13980 ac_c_werror_flag
=yes
13981 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13982 /* end confdefs.h. */
13992 if ac_fn_c_try_link
"$LINENO"
13994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13995 printf "%s\n" "no" >&6; }
13996 X_LIBS
="$X_LIBS -R$x_libraries"
13998 LIBS
="$ac_xsave_LIBS -R $x_libraries"
13999 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14000 /* end confdefs.h. */
14010 if ac_fn_c_try_link
"$LINENO"
14012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14013 printf "%s\n" "yes" >&6; }
14014 X_LIBS
="$X_LIBS -R $x_libraries"
14016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
14017 printf "%s\n" "neither works" >&6; }
14019 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14020 conftest
$ac_exeext conftest.
$ac_ext
14022 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14023 conftest
$ac_exeext conftest.
$ac_ext
14024 ac_c_werror_flag
=$ac_xsave_c_werror_flag
14025 LIBS
=$ac_xsave_LIBS
14028 # Check for system-dependent libraries X programs must link with.
14029 # Do this before checking for the system-independent R6 libraries
14030 # (-lICE), since we may need -lsocket or whatever for X linking.
14032 if test "$ISC" = yes; then
14033 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
14035 # Martyn Johnson says this is needed for Ultrix, if the X
14036 # libraries were built with DECnet support. And Karl Berry says
14037 # the Alpha needs dnet_stub (dnet does not exist).
14038 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
14039 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14040 /* end confdefs.h. */
14042 /* Override any GCC internal prototype to avoid an error.
14043 Use char because int might match the return type of a GCC
14044 builtin and then its argument prototype would still apply. */
14045 char XOpenDisplay ();
14049 return XOpenDisplay ();
14054 if ac_fn_c_try_link
"$LINENO"
14058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
14059 printf %s
"checking for dnet_ntoa in -ldnet... " >&6; }
14060 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
14062 printf %s
"(cached) " >&6
14064 ac_check_lib_save_LIBS
=$LIBS
14065 LIBS
="-ldnet $LIBS"
14066 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14067 /* end confdefs.h. */
14069 /* Override any GCC internal prototype to avoid an error.
14070 Use char because int might match the return type of a GCC
14071 builtin and then its argument prototype would still apply. */
14076 return dnet_ntoa ();
14081 if ac_fn_c_try_link
"$LINENO"
14083 ac_cv_lib_dnet_dnet_ntoa
=yes
14085 ac_cv_lib_dnet_dnet_ntoa
=no
14087 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14088 conftest
$ac_exeext conftest.
$ac_ext
14089 LIBS
=$ac_check_lib_save_LIBS
14091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
14092 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
14093 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
14095 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
14098 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
14099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
14100 printf %s
"checking for dnet_ntoa in -ldnet_stub... " >&6; }
14101 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
14103 printf %s
"(cached) " >&6
14105 ac_check_lib_save_LIBS
=$LIBS
14106 LIBS
="-ldnet_stub $LIBS"
14107 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14108 /* end confdefs.h. */
14110 /* Override any GCC internal prototype to avoid an error.
14111 Use char because int might match the return type of a GCC
14112 builtin and then its argument prototype would still apply. */
14117 return dnet_ntoa ();
14122 if ac_fn_c_try_link
"$LINENO"
14124 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
14126 ac_cv_lib_dnet_stub_dnet_ntoa
=no
14128 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14129 conftest
$ac_exeext conftest.
$ac_ext
14130 LIBS
=$ac_check_lib_save_LIBS
14132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
14133 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
14134 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
14136 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
14141 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14142 conftest
$ac_exeext conftest.
$ac_ext
14143 LIBS
="$ac_xsave_LIBS"
14145 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14146 # to get the SysV transport functions.
14147 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
14149 # The nsl library prevents programs from opening the X display
14150 # on Irix 5.2, according to T.E. Dickey.
14151 # The functions gethostbyname, getservbyname, and inet_addr are
14152 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
14153 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
14154 if test "x$ac_cv_func_gethostbyname" = xyes
14159 if test $ac_cv_func_gethostbyname = no
; then
14160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
14161 printf %s
"checking for gethostbyname in -lnsl... " >&6; }
14162 if test ${ac_cv_lib_nsl_gethostbyname+y}
14164 printf %s
"(cached) " >&6
14166 ac_check_lib_save_LIBS
=$LIBS
14168 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14169 /* end confdefs.h. */
14171 /* Override any GCC internal prototype to avoid an error.
14172 Use char because int might match the return type of a GCC
14173 builtin and then its argument prototype would still apply. */
14174 char gethostbyname ();
14178 return gethostbyname ();
14183 if ac_fn_c_try_link
"$LINENO"
14185 ac_cv_lib_nsl_gethostbyname
=yes
14187 ac_cv_lib_nsl_gethostbyname
=no
14189 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14190 conftest
$ac_exeext conftest.
$ac_ext
14191 LIBS
=$ac_check_lib_save_LIBS
14193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
14194 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
14195 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
14197 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
14200 if test $ac_cv_lib_nsl_gethostbyname = no
; then
14201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
14202 printf %s
"checking for gethostbyname in -lbsd... " >&6; }
14203 if test ${ac_cv_lib_bsd_gethostbyname+y}
14205 printf %s
"(cached) " >&6
14207 ac_check_lib_save_LIBS
=$LIBS
14209 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14210 /* end confdefs.h. */
14212 /* Override any GCC internal prototype to avoid an error.
14213 Use char because int might match the return type of a GCC
14214 builtin and then its argument prototype would still apply. */
14215 char gethostbyname ();
14219 return gethostbyname ();
14224 if ac_fn_c_try_link
"$LINENO"
14226 ac_cv_lib_bsd_gethostbyname
=yes
14228 ac_cv_lib_bsd_gethostbyname
=no
14230 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14231 conftest
$ac_exeext conftest.
$ac_ext
14232 LIBS
=$ac_check_lib_save_LIBS
14234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14235 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14236 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14238 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
14244 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14245 # socket/setsockopt and other routines are undefined under SCO ODT
14246 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14247 # on later versions), says Simon Leinen: it contains gethostby*
14248 # variants that don't use the name server (or something). -lsocket
14249 # must be given before -lnsl if both are needed. We assume that
14250 # if connect needs -lnsl, so does gethostbyname.
14251 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
14252 if test "x$ac_cv_func_connect" = xyes
14257 if test $ac_cv_func_connect = no
; then
14258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14259 printf %s
"checking for connect in -lsocket... " >&6; }
14260 if test ${ac_cv_lib_socket_connect+y}
14262 printf %s
"(cached) " >&6
14264 ac_check_lib_save_LIBS
=$LIBS
14265 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
14266 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14267 /* end confdefs.h. */
14269 /* Override any GCC internal prototype to avoid an error.
14270 Use char because int might match the return type of a GCC
14271 builtin and then its argument prototype would still apply. */
14281 if ac_fn_c_try_link
"$LINENO"
14283 ac_cv_lib_socket_connect
=yes
14285 ac_cv_lib_socket_connect
=no
14287 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14288 conftest
$ac_exeext conftest.
$ac_ext
14289 LIBS
=$ac_check_lib_save_LIBS
14291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14292 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14293 if test "x$ac_cv_lib_socket_connect" = xyes
14295 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
14300 # Guillermo Gomez says -lposix is necessary on A/UX.
14301 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
14302 if test "x$ac_cv_func_remove" = xyes
14307 if test $ac_cv_func_remove = no
; then
14308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14309 printf %s
"checking for remove in -lposix... " >&6; }
14310 if test ${ac_cv_lib_posix_remove+y}
14312 printf %s
"(cached) " >&6
14314 ac_check_lib_save_LIBS
=$LIBS
14315 LIBS
="-lposix $LIBS"
14316 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14317 /* end confdefs.h. */
14319 /* Override any GCC internal prototype to avoid an error.
14320 Use char because int might match the return type of a GCC
14321 builtin and then its argument prototype would still apply. */
14331 if ac_fn_c_try_link
"$LINENO"
14333 ac_cv_lib_posix_remove
=yes
14335 ac_cv_lib_posix_remove
=no
14337 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14338 conftest
$ac_exeext conftest.
$ac_ext
14339 LIBS
=$ac_check_lib_save_LIBS
14341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14342 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14343 if test "x$ac_cv_lib_posix_remove" = xyes
14345 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
14350 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14351 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
14352 if test "x$ac_cv_func_shmat" = xyes
14357 if test $ac_cv_func_shmat = no
; then
14358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14359 printf %s
"checking for shmat in -lipc... " >&6; }
14360 if test ${ac_cv_lib_ipc_shmat+y}
14362 printf %s
"(cached) " >&6
14364 ac_check_lib_save_LIBS
=$LIBS
14366 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14367 /* end confdefs.h. */
14369 /* Override any GCC internal prototype to avoid an error.
14370 Use char because int might match the return type of a GCC
14371 builtin and then its argument prototype would still apply. */
14381 if ac_fn_c_try_link
"$LINENO"
14383 ac_cv_lib_ipc_shmat
=yes
14385 ac_cv_lib_ipc_shmat
=no
14387 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14388 conftest
$ac_exeext conftest.
$ac_ext
14389 LIBS
=$ac_check_lib_save_LIBS
14391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14392 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14393 if test "x$ac_cv_lib_ipc_shmat" = xyes
14395 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
14401 # Check for libraries that X11R6 Xt/Xaw programs need.
14402 ac_save_LDFLAGS
=$LDFLAGS
14403 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
14404 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14405 # check for ICE first), but we must link in the order -lSM -lICE or
14406 # we get undefined symbols. So assume we have SM if we have ICE.
14407 # These have to be linked with before -lX11, unlike the other
14408 # libraries we check for below, so use a different variable.
14409 # John Interrante, Karl Berry
14410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14411 printf %s
"checking for IceConnectionNumber in -lICE... " >&6; }
14412 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14414 printf %s
"(cached) " >&6
14416 ac_check_lib_save_LIBS
=$LIBS
14417 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
14418 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14419 /* end confdefs.h. */
14421 /* Override any GCC internal prototype to avoid an error.
14422 Use char because int might match the return type of a GCC
14423 builtin and then its argument prototype would still apply. */
14424 char IceConnectionNumber ();
14428 return IceConnectionNumber ();
14433 if ac_fn_c_try_link
"$LINENO"
14435 ac_cv_lib_ICE_IceConnectionNumber
=yes
14437 ac_cv_lib_ICE_IceConnectionNumber
=no
14439 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14440 conftest
$ac_exeext conftest.
$ac_ext
14441 LIBS
=$ac_check_lib_save_LIBS
14443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14444 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14445 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14447 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
14450 LDFLAGS
=$ac_save_LDFLAGS
14455 if test "$have_x" = "yes"
14457 ac_save_CPPFLAGS
="$CPPFLAGS"
14458 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
14460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14461 printf %s
"checking for -lX11... " >&6; }
14462 if test ${ac_cv_lib_soname_X11+y}
14464 printf %s
"(cached) " >&6
14466 ac_check_soname_save_LIBS
=$LIBS
14467 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14468 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14469 /* end confdefs.h. */
14471 /* Override any GCC internal prototype to avoid an error.
14472 Use char because int might match the return type of a GCC
14473 builtin and then its argument prototype would still apply. */
14474 char XCreateWindow ();
14478 return XCreateWindow ();
14483 if ac_fn_c_try_link
"$LINENO"
14486 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14487 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'` ;;
14488 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14489 if ${ac_cv_lib_soname_X11:+false} :
14491 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14495 ac_cv_lib_soname_X11
=
14497 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14498 conftest
$ac_exeext conftest.
$ac_ext
14499 LIBS
=$ac_check_soname_save_LIBS
14501 if ${ac_cv_lib_soname_X11:+false} :
14503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14504 printf "%s\n" "not found" >&6; }
14507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14508 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14510 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14515 printf %s
"checking for -lXext... " >&6; }
14516 if test ${ac_cv_lib_soname_Xext+y}
14518 printf %s
"(cached) " >&6
14520 ac_check_soname_save_LIBS
=$LIBS
14521 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14522 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14523 /* end confdefs.h. */
14525 /* Override any GCC internal prototype to avoid an error.
14526 Use char because int might match the return type of a GCC
14527 builtin and then its argument prototype would still apply. */
14528 char XextCreateExtension ();
14532 return XextCreateExtension ();
14537 if ac_fn_c_try_link
"$LINENO"
14540 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14541 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'` ;;
14542 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14543 if ${ac_cv_lib_soname_Xext:+false} :
14545 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14549 ac_cv_lib_soname_Xext
=
14551 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14552 conftest
$ac_exeext conftest.
$ac_ext
14553 LIBS
=$ac_check_soname_save_LIBS
14555 if ${ac_cv_lib_soname_Xext:+false} :
14557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14558 printf "%s\n" "not found" >&6; }
14561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14562 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14564 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14566 X_LIBS
="$X_LIBS -lXext"
14568 X_LIBS
="$X_LIBS -lX11"
14570 ac_fn_c_check_header_compile
"$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
14571 # include <X11/Xlib.h>
14573 #ifdef HAVE_X11_XUTIL_H
14574 # include <X11/Xutil.h>
14577 if test "x$ac_cv_header_X11_Xlib_h" = xyes
14579 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14582 ac_fn_c_check_header_compile
"$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
14583 # include <X11/Xlib.h>
14585 #ifdef HAVE_X11_XUTIL_H
14586 # include <X11/Xutil.h>
14589 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
14591 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14594 ac_fn_c_check_header_compile
"$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
14595 # include <X11/Xlib.h>
14597 #ifdef HAVE_X11_XUTIL_H
14598 # include <X11/Xutil.h>
14601 if test "x$ac_cv_header_X11_Xutil_h" = xyes
14603 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14606 ac_fn_c_check_header_compile
"$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
14607 # include <X11/Xlib.h>
14609 #ifdef HAVE_X11_XUTIL_H
14610 # include <X11/Xutil.h>
14613 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14615 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14618 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
14619 # include <X11/Xlib.h>
14621 #ifdef HAVE_X11_XUTIL_H
14622 # include <X11/Xutil.h>
14625 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14627 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14630 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
14631 # include <X11/Xlib.h>
14633 #ifdef HAVE_X11_XUTIL_H
14634 # include <X11/Xutil.h>
14637 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14639 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14642 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
14643 # include <X11/Xlib.h>
14645 #ifdef HAVE_X11_XUTIL_H
14646 # include <X11/Xutil.h>
14649 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14651 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14654 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
14655 # include <X11/Xlib.h>
14657 #ifdef HAVE_X11_XUTIL_H
14658 # include <X11/Xutil.h>
14661 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14663 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14666 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
14667 # include <X11/Xlib.h>
14669 #ifdef HAVE_X11_XUTIL_H
14670 # include <X11/Xutil.h>
14673 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
14675 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14678 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
14679 # include <X11/Xlib.h>
14681 #ifdef HAVE_X11_XUTIL_H
14682 # include <X11/Xutil.h>
14685 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14687 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14690 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
14691 # include <X11/Xlib.h>
14693 #ifdef HAVE_X11_XUTIL_H
14694 # include <X11/Xutil.h>
14697 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14699 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14702 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
14703 # include <X11/Xlib.h>
14705 #ifdef HAVE_X11_XUTIL_H
14706 # include <X11/Xutil.h>
14709 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14711 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14714 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
14715 # include <X11/Xlib.h>
14717 #ifdef HAVE_X11_XUTIL_H
14718 # include <X11/Xutil.h>
14721 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14723 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14726 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
14727 # include <X11/Xlib.h>
14729 #ifdef HAVE_X11_XUTIL_H
14730 # include <X11/Xutil.h>
14733 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14735 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14738 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
14739 # include <X11/Xlib.h>
14741 #ifdef HAVE_X11_XUTIL_H
14742 # include <X11/Xutil.h>
14745 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14747 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14752 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
14754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
14755 printf %s
"checking for XkbQueryExtension in -lX11... " >&6; }
14756 if test ${ac_cv_lib_X11_XkbQueryExtension+y}
14758 printf %s
"(cached) " >&6
14760 ac_check_lib_save_LIBS
=$LIBS
14761 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14762 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14763 /* end confdefs.h. */
14765 /* Override any GCC internal prototype to avoid an error.
14766 Use char because int might match the return type of a GCC
14767 builtin and then its argument prototype would still apply. */
14768 char XkbQueryExtension ();
14772 return XkbQueryExtension ();
14777 if ac_fn_c_try_link
"$LINENO"
14779 ac_cv_lib_X11_XkbQueryExtension
=yes
14781 ac_cv_lib_X11_XkbQueryExtension
=no
14783 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14784 conftest
$ac_exeext conftest.
$ac_ext
14785 LIBS
=$ac_check_lib_save_LIBS
14787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
14788 printf "%s\n" "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
14789 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
14792 printf "%s\n" "#define HAVE_XKB 1" >>confdefs.h
14798 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14801 printf %s
"checking for -lXcursor... " >&6; }
14802 if test ${ac_cv_lib_soname_Xcursor+y}
14804 printf %s
"(cached) " >&6
14806 ac_check_soname_save_LIBS
=$LIBS
14807 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14808 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14809 /* end confdefs.h. */
14811 /* Override any GCC internal prototype to avoid an error.
14812 Use char because int might match the return type of a GCC
14813 builtin and then its argument prototype would still apply. */
14814 char XcursorImageLoadCursor ();
14818 return XcursorImageLoadCursor ();
14823 if ac_fn_c_try_link
"$LINENO"
14826 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14827 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'` ;;
14828 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14829 if ${ac_cv_lib_soname_Xcursor:+false} :
14831 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14835 ac_cv_lib_soname_Xcursor
=
14837 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14838 conftest
$ac_exeext conftest.
$ac_ext
14839 LIBS
=$ac_check_soname_save_LIBS
14841 if ${ac_cv_lib_soname_Xcursor:+false} :
14843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14844 printf "%s\n" "not found" >&6; }
14847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14848 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14850 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14855 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14857 case "x$with_xcursor" in
14858 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14860 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14861 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14866 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14869 printf %s
"checking for -lXi... " >&6; }
14870 if test ${ac_cv_lib_soname_Xi+y}
14872 printf %s
"(cached) " >&6
14874 ac_check_soname_save_LIBS
=$LIBS
14875 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14876 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14877 /* end confdefs.h. */
14879 /* Override any GCC internal prototype to avoid an error.
14880 Use char because int might match the return type of a GCC
14881 builtin and then its argument prototype would still apply. */
14882 char XOpenDevice ();
14886 return XOpenDevice ();
14891 if ac_fn_c_try_link
"$LINENO"
14894 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14895 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'` ;;
14896 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14897 if ${ac_cv_lib_soname_Xi:+false} :
14899 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14903 ac_cv_lib_soname_Xi
=
14905 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14906 conftest
$ac_exeext conftest.
$ac_ext
14907 LIBS
=$ac_check_soname_save_LIBS
14909 if ${ac_cv_lib_soname_Xi:+false} :
14911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14912 printf "%s\n" "not found" >&6; }
14915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14916 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14918 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14923 if test "x$ac_cv_lib_soname_Xi" = "x"
14925 case "x$with_xinput" in
14926 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14928 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14929 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14934 if test "x$ac_cv_lib_soname_Xi" != x
14936 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14938 case "x$with_xinput2" in
14939 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14941 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
14942 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14948 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14951 printf %s
"checking for XShmQueryExtension in -lXext... " >&6; }
14952 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14954 printf %s
"(cached) " >&6
14956 ac_check_lib_save_LIBS
=$LIBS
14957 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14958 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14959 /* end confdefs.h. */
14961 /* Override any GCC internal prototype to avoid an error.
14962 Use char because int might match the return type of a GCC
14963 builtin and then its argument prototype would still apply. */
14964 char XShmQueryExtension ();
14968 return XShmQueryExtension ();
14973 if ac_fn_c_try_link
"$LINENO"
14975 ac_cv_lib_Xext_XShmQueryExtension
=yes
14977 ac_cv_lib_Xext_XShmQueryExtension
=no
14979 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14980 conftest
$ac_exeext conftest.
$ac_ext
14981 LIBS
=$ac_check_lib_save_LIBS
14983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14984 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14985 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14988 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14993 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14995 case "x$with_xshm" in
14996 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14998 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14999 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
15004 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
15006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
15007 printf %s
"checking for XShapeQueryExtension in -lXext... " >&6; }
15008 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
15010 printf %s
"(cached) " >&6
15012 ac_check_lib_save_LIBS
=$LIBS
15013 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
15014 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15015 /* end confdefs.h. */
15017 /* Override any GCC internal prototype to avoid an error.
15018 Use char because int might match the return type of a GCC
15019 builtin and then its argument prototype would still apply. */
15020 char XShapeQueryExtension ();
15024 return XShapeQueryExtension ();
15029 if ac_fn_c_try_link
"$LINENO"
15031 ac_cv_lib_Xext_XShapeQueryExtension
=yes
15033 ac_cv_lib_Xext_XShapeQueryExtension
=no
15035 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15036 conftest
$ac_exeext conftest.
$ac_ext
15037 LIBS
=$ac_check_lib_save_LIBS
15039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
15040 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
15041 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
15044 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
15049 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
15051 case "x$with_xshape" in
15052 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
15054 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
15055 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
15060 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
15062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
15063 printf %s
"checking for -lXxf86vm... " >&6; }
15064 if test ${ac_cv_lib_soname_Xxf86vm+y}
15066 printf %s
"(cached) " >&6
15068 ac_check_soname_save_LIBS
=$LIBS
15069 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
15070 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15071 /* end confdefs.h. */
15073 /* Override any GCC internal prototype to avoid an error.
15074 Use char because int might match the return type of a GCC
15075 builtin and then its argument prototype would still apply. */
15076 char XF86VidModeQueryExtension ();
15080 return XF86VidModeQueryExtension ();
15085 if ac_fn_c_try_link
"$LINENO"
15088 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15089 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'` ;;
15090 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15091 if ${ac_cv_lib_soname_Xxf86vm:+false} :
15093 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15097 ac_cv_lib_soname_Xxf86vm
=
15099 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15100 conftest
$ac_exeext conftest.
$ac_ext
15101 LIBS
=$ac_check_soname_save_LIBS
15103 if ${ac_cv_lib_soname_Xxf86vm:+false} :
15105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15106 printf "%s\n" "not found" >&6; }
15109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
15110 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
15112 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
15117 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
15119 case "x$with_xxf86vm" in
15120 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
15122 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
15123 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
15128 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
15130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
15131 printf %s
"checking for -lXrender... " >&6; }
15132 if test ${ac_cv_lib_soname_Xrender+y}
15134 printf %s
"(cached) " >&6
15136 ac_check_soname_save_LIBS
=$LIBS
15137 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15138 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15139 /* end confdefs.h. */
15141 /* Override any GCC internal prototype to avoid an error.
15142 Use char because int might match the return type of a GCC
15143 builtin and then its argument prototype would still apply. */
15144 char XRenderQueryExtension ();
15148 return XRenderQueryExtension ();
15153 if ac_fn_c_try_link
"$LINENO"
15156 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15157 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'` ;;
15158 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15159 if ${ac_cv_lib_soname_Xrender:+false} :
15161 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15165 ac_cv_lib_soname_Xrender
=
15167 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15168 conftest
$ac_exeext conftest.
$ac_ext
15169 LIBS
=$ac_check_soname_save_LIBS
15171 if ${ac_cv_lib_soname_Xrender:+false} :
15173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15174 printf "%s\n" "not found" >&6; }
15177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
15178 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
15180 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
15182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
15183 printf %s
"checking for XRenderSetPictureTransform in -lXrender... " >&6; }
15184 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
15186 printf %s
"(cached) " >&6
15188 ac_check_lib_save_LIBS
=$LIBS
15189 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15190 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15191 /* end confdefs.h. */
15193 /* Override any GCC internal prototype to avoid an error.
15194 Use char because int might match the return type of a GCC
15195 builtin and then its argument prototype would still apply. */
15196 char XRenderSetPictureTransform ();
15200 return XRenderSetPictureTransform ();
15205 if ac_fn_c_try_link
"$LINENO"
15207 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
15209 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
15211 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15212 conftest
$ac_exeext conftest.
$ac_ext
15213 LIBS
=$ac_check_lib_save_LIBS
15215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
15216 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
15217 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
15220 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
15224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
15225 printf %s
"checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
15226 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
15228 printf %s
"(cached) " >&6
15230 ac_check_lib_save_LIBS
=$LIBS
15231 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15232 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15233 /* end confdefs.h. */
15235 /* Override any GCC internal prototype to avoid an error.
15236 Use char because int might match the return type of a GCC
15237 builtin and then its argument prototype would still apply. */
15238 char XRenderCreateLinearGradient ();
15242 return XRenderCreateLinearGradient ();
15247 if ac_fn_c_try_link
"$LINENO"
15249 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
15251 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
15253 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15254 conftest
$ac_exeext conftest.
$ac_ext
15255 LIBS
=$ac_check_lib_save_LIBS
15257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15258 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15259 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15262 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15269 if test "x$ac_cv_lib_soname_Xrender" = "x"
15271 case "x$with_xrender" in
15272 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15274 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
15275 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15280 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15282 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15283 /* end confdefs.h. */
15284 #include <X11/Xlib.h>
15285 #include <X11/extensions/Xrandr.h>
15289 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15294 if ac_fn_c_try_compile
"$LINENO"
15296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15297 printf %s
"checking for -lXrandr... " >&6; }
15298 if test ${ac_cv_lib_soname_Xrandr+y}
15300 printf %s
"(cached) " >&6
15302 ac_check_soname_save_LIBS
=$LIBS
15303 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15304 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15305 /* end confdefs.h. */
15307 /* Override any GCC internal prototype to avoid an error.
15308 Use char because int might match the return type of a GCC
15309 builtin and then its argument prototype would still apply. */
15310 char XRRQueryExtension ();
15314 return XRRQueryExtension ();
15319 if ac_fn_c_try_link
"$LINENO"
15322 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15323 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'` ;;
15324 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15325 if ${ac_cv_lib_soname_Xrandr:+false} :
15327 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15331 ac_cv_lib_soname_Xrandr
=
15333 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15334 conftest
$ac_exeext conftest.
$ac_ext
15335 LIBS
=$ac_check_soname_save_LIBS
15337 if ${ac_cv_lib_soname_Xrandr:+false} :
15339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15340 printf "%s\n" "not found" >&6; }
15343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15344 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15346 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15348 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15349 /* end confdefs.h. */
15350 #include <X11/Xlib.h>
15351 #include <X11/extensions/Xrandr.h>
15355 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15360 if ac_fn_c_try_compile
"$LINENO"
15363 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15366 as_fn_append wine_notices
"|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15368 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15371 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15373 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15375 case "x$with_xrandr" in
15376 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15378 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15379 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15384 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15386 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15387 /* end confdefs.h. */
15388 #include <X11/Xlib.h>
15389 #include <X11/extensions/Xfixes.h>
15393 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15398 if ac_fn_c_try_compile
"$LINENO"
15400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15401 printf %s
"checking for -lXfixes... " >&6; }
15402 if test ${ac_cv_lib_soname_Xfixes+y}
15404 printf %s
"(cached) " >&6
15406 ac_check_soname_save_LIBS
=$LIBS
15407 LIBS
="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15408 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15409 /* end confdefs.h. */
15411 /* Override any GCC internal prototype to avoid an error.
15412 Use char because int might match the return type of a GCC
15413 builtin and then its argument prototype would still apply. */
15414 char XFixesQueryVersion ();
15418 return XFixesQueryVersion ();
15423 if ac_fn_c_try_link
"$LINENO"
15426 dll
) ac_cv_lib_soname_Xfixes
=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15427 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'` ;;
15428 *) ac_cv_lib_soname_Xfixes
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15429 if ${ac_cv_lib_soname_Xfixes:+false} :
15431 ac_cv_lib_soname_Xfixes
=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15435 ac_cv_lib_soname_Xfixes
=
15437 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15438 conftest
$ac_exeext conftest.
$ac_ext
15439 LIBS
=$ac_check_soname_save_LIBS
15441 if ${ac_cv_lib_soname_Xfixes:+false} :
15443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15444 printf "%s\n" "not found" >&6; }
15447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15448 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15450 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15455 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15457 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15459 case "x$with_xfixes" in
15460 x
) as_fn_append wine_notices
"|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15462 *) as_fn_error $?
"libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15463 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15468 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15470 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15471 /* end confdefs.h. */
15472 #include <X11/Xlib.h>
15473 #include <X11/extensions/Xinerama.h>
15477 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15482 if ac_fn_c_try_compile
"$LINENO"
15484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15485 printf %s
"checking for -lXinerama... " >&6; }
15486 if test ${ac_cv_lib_soname_Xinerama+y}
15488 printf %s
"(cached) " >&6
15490 ac_check_soname_save_LIBS
=$LIBS
15491 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15492 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15493 /* end confdefs.h. */
15495 /* Override any GCC internal prototype to avoid an error.
15496 Use char because int might match the return type of a GCC
15497 builtin and then its argument prototype would still apply. */
15498 char XineramaQueryScreens ();
15502 return XineramaQueryScreens ();
15507 if ac_fn_c_try_link
"$LINENO"
15510 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15511 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'` ;;
15512 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15513 if ${ac_cv_lib_soname_Xinerama:+false} :
15515 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15519 ac_cv_lib_soname_Xinerama
=
15521 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15522 conftest
$ac_exeext conftest.
$ac_ext
15523 LIBS
=$ac_check_soname_save_LIBS
15525 if ${ac_cv_lib_soname_Xinerama:+false} :
15527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15528 printf "%s\n" "not found" >&6; }
15531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15532 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15534 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15539 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15541 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15543 case "x$with_xinerama" in
15544 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15546 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15547 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15552 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15555 printf %s
"checking for -lXcomposite... " >&6; }
15556 if test ${ac_cv_lib_soname_Xcomposite+y}
15558 printf %s
"(cached) " >&6
15560 ac_check_soname_save_LIBS
=$LIBS
15561 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15562 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15563 /* end confdefs.h. */
15565 /* Override any GCC internal prototype to avoid an error.
15566 Use char because int might match the return type of a GCC
15567 builtin and then its argument prototype would still apply. */
15568 char XCompositeRedirectWindow ();
15572 return XCompositeRedirectWindow ();
15577 if ac_fn_c_try_link
"$LINENO"
15580 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15581 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'` ;;
15582 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15583 if ${ac_cv_lib_soname_Xcomposite:+false} :
15585 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15589 ac_cv_lib_soname_Xcomposite
=
15591 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15592 conftest
$ac_exeext conftest.
$ac_ext
15593 LIBS
=$ac_check_soname_save_LIBS
15595 if ${ac_cv_lib_soname_Xcomposite:+false} :
15597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15598 printf "%s\n" "not found" >&6; }
15601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15602 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15604 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15609 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15611 case "x$with_xcomposite" in
15612 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15614 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15615 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15620 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
15621 #include <X11/Xlib.h>
15624 if test "x$ac_cv_member_XICCallback_callback" = xyes
15627 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15631 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15632 #include <X11/Xlib.h>
15635 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15638 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15646 if test "x$with_opengl" != "xno"
15648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15649 printf %s
"checking for -lGL... " >&6; }
15650 if test ${ac_cv_lib_soname_GL+y}
15652 printf %s
"(cached) " >&6
15654 ac_check_soname_save_LIBS
=$LIBS
15655 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15656 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15657 /* end confdefs.h. */
15659 /* Override any GCC internal prototype to avoid an error.
15660 Use char because int might match the return type of a GCC
15661 builtin and then its argument prototype would still apply. */
15662 char glXCreateContext ();
15666 return glXCreateContext ();
15671 if ac_fn_c_try_link
"$LINENO"
15674 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15675 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'` ;;
15676 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15677 if ${ac_cv_lib_soname_GL:+false} :
15679 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15683 ac_cv_lib_soname_GL
=
15685 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15686 conftest
$ac_exeext conftest.
$ac_ext
15687 LIBS
=$ac_check_soname_save_LIBS
15689 if ${ac_cv_lib_soname_GL:+false} :
15691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15692 printf "%s\n" "not found" >&6; }
15693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15694 printf %s
"checking for -lGL... " >&6; }
15695 if test ${ac_cv_lib_soname_GL+y}
15697 printf %s
"(cached) " >&6
15699 ac_check_soname_save_LIBS
=$LIBS
15700 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"
15701 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15702 /* end confdefs.h. */
15704 /* Override any GCC internal prototype to avoid an error.
15705 Use char because int might match the return type of a GCC
15706 builtin and then its argument prototype would still apply. */
15707 char glXCreateContext ();
15711 return glXCreateContext ();
15716 if ac_fn_c_try_link
"$LINENO"
15719 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15720 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'` ;;
15721 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15722 if ${ac_cv_lib_soname_GL:+false} :
15724 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15728 ac_cv_lib_soname_GL
=
15730 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15731 conftest
$ac_exeext conftest.
$ac_ext
15732 LIBS
=$ac_check_soname_save_LIBS
15734 if ${ac_cv_lib_soname_GL:+false} :
15736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15737 printf "%s\n" "not found" >&6; }
15738 if test -f /usr
/X11R
6/lib
/libGL.a
15740 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
15741 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15743 opengl_msg
="No OpenGL library found on this system."
15746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15747 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15749 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15751 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"
15754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15755 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15757 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15761 if test "x$with_osmesa" != "xno"
15763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15764 printf %s
"checking for -lOSMesa... " >&6; }
15765 if test ${ac_cv_lib_soname_OSMesa+y}
15767 printf %s
"(cached) " >&6
15769 ac_check_soname_save_LIBS
=$LIBS
15770 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15771 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15772 /* end confdefs.h. */
15774 /* Override any GCC internal prototype to avoid an error.
15775 Use char because int might match the return type of a GCC
15776 builtin and then its argument prototype would still apply. */
15777 char OSMesaGetProcAddress ();
15781 return OSMesaGetProcAddress ();
15786 if ac_fn_c_try_link
"$LINENO"
15789 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15790 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'` ;;
15791 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15792 if ${ac_cv_lib_soname_OSMesa:+false} :
15794 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15798 ac_cv_lib_soname_OSMesa
=
15800 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15801 conftest
$ac_exeext conftest.
$ac_ext
15802 LIBS
=$ac_check_soname_save_LIBS
15804 if ${ac_cv_lib_soname_OSMesa:+false} :
15806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15807 printf "%s\n" "not found" >&6; }
15810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15811 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15813 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15817 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15819 case "x$with_osmesa" in
15820 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15822 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15823 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15829 if test -n "$opengl_msg"
15831 case "x$with_opengl" in
15832 x
) as_fn_append wine_warnings
"|$opengl_msg
15833 OpenGL and Direct3D won't be supported." ;;
15835 *) as_fn_error $?
"$opengl_msg
15836 OpenGL and Direct3D won't be supported.
15837 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15842 CPPFLAGS
="$ac_save_CPPFLAGS"
15848 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15850 if test "x$X_LIBS" = "x"
15854 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
15855 without X support, which probably isn't what you want. You will need
15856 to install ${notice_platform}development packages of Xlib at the very least.
15857 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15859 enable_winex11_drv
=${enable_winex11_drv:-no}
15862 if test "x$X_LIBS" = "x"
15865 x
) as_fn_append wine_notices
"|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15867 *) as_fn_error $?
"X ${notice_platform}development files not found, the X11 driver won't be supported.
15868 This is an error since --with-x was requested." "$LINENO" 5 ;;
15870 enable_winex11_drv
=${enable_winex11_drv:-no}
15874 if test "$ac_cv_header_CL_cl_h" = "yes"
15876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15877 printf %s
"checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15878 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15880 printf %s
"(cached) " >&6
15882 ac_check_lib_save_LIBS
=$LIBS
15883 LIBS
="-lOpenCL $LIBS"
15884 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15885 /* end confdefs.h. */
15887 /* Override any GCC internal prototype to avoid an error.
15888 Use char because int might match the return type of a GCC
15889 builtin and then its argument prototype would still apply. */
15890 char clGetPlatformInfo ();
15894 return clGetPlatformInfo ();
15899 if ac_fn_c_try_link
"$LINENO"
15901 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
15903 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
15905 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15906 conftest
$ac_exeext conftest.
$ac_ext
15907 LIBS
=$ac_check_lib_save_LIBS
15909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15910 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15911 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15913 OPENCL_LIBS
="-lOpenCL"
15918 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15920 case "x$with_opencl" in
15921 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15923 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15924 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15926 enable_opencl
=${enable_opencl:-no}
15929 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
15932 printf %s
"checking for pcap_create in -lpcap... " >&6; }
15933 if test ${ac_cv_lib_pcap_pcap_create+y}
15935 printf %s
"(cached) " >&6
15937 ac_check_lib_save_LIBS
=$LIBS
15938 LIBS
="-lpcap $LIBS"
15939 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15940 /* end confdefs.h. */
15942 /* Override any GCC internal prototype to avoid an error.
15943 Use char because int might match the return type of a GCC
15944 builtin and then its argument prototype would still apply. */
15945 char pcap_create ();
15949 return pcap_create ();
15954 if ac_fn_c_try_link
"$LINENO"
15956 ac_cv_lib_pcap_pcap_create
=yes
15958 ac_cv_lib_pcap_pcap_create
=no
15960 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15961 conftest
$ac_exeext conftest.
$ac_ext
15962 LIBS
=$ac_check_lib_save_LIBS
15964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
15965 printf "%s\n" "$ac_cv_lib_pcap_pcap_create" >&6; }
15966 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
15973 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
15975 case "x$with_pcap" in
15976 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15978 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
15979 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15981 enable_wpcap
=${enable_wpcap:-no}
15984 if test "x$with_inotify" != "xno"
15986 if ${INOTIFY_CFLAGS:+false} :
15988 if test ${PKG_CONFIG+y}
15990 INOTIFY_CFLAGS
=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
15994 if ${INOTIFY_LIBS:+false} :
15996 if test ${PKG_CONFIG+y}
15998 INOTIFY_LIBS
=`$PKG_CONFIG --libs libinotify 2>/dev/null`
16003 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
16004 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
16005 ac_save_CPPFLAGS
=$CPPFLAGS
16006 CPPFLAGS
="$CPPFLAGS $INOTIFY_CFLAGS"
16007 ac_fn_c_check_header_compile
"$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
16008 if test "x$ac_cv_header_sys_inotify_h" = xyes
16010 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
16014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
16015 printf %s
"checking for inotify_add_watch in -linotify... " >&6; }
16016 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
16018 printf %s
"(cached) " >&6
16020 ac_check_lib_save_LIBS
=$LIBS
16021 LIBS
="-linotify $INOTIFY_LIBS $LIBS"
16022 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16023 /* end confdefs.h. */
16025 /* Override any GCC internal prototype to avoid an error.
16026 Use char because int might match the return type of a GCC
16027 builtin and then its argument prototype would still apply. */
16028 char inotify_add_watch ();
16032 return inotify_add_watch ();
16037 if ac_fn_c_try_link
"$LINENO"
16039 ac_cv_lib_inotify_inotify_add_watch
=yes
16041 ac_cv_lib_inotify_inotify_add_watch
=no
16043 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16044 conftest
$ac_exeext conftest.
$ac_ext
16045 LIBS
=$ac_check_lib_save_LIBS
16047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
16048 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
16049 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
16056 CPPFLAGS
=$ac_save_CPPFLAGS
16059 if test "$ac_cv_header_sys_inotify_h" != "yes"
16061 case "x$with_inotify" in
16062 x
) as_fn_append wine_notices
"|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
16064 *) as_fn_error $?
"libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
16065 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
16070 if test "x$with_dbus" != "xno"
16072 if ${DBUS_CFLAGS:+false} :
16074 if test ${PKG_CONFIG+y}
16076 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
16080 if ${DBUS_LIBS:+false} :
16082 if test ${PKG_CONFIG+y}
16084 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
16089 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
16090 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
16091 ac_save_CPPFLAGS
=$CPPFLAGS
16092 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
16093 ac_fn_c_check_header_compile
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
16094 if test "x$ac_cv_header_dbus_dbus_h" = xyes
16096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
16097 printf %s
"checking for -ldbus-1... " >&6; }
16098 if test ${ac_cv_lib_soname_dbus_1+y}
16100 printf %s
"(cached) " >&6
16102 ac_check_soname_save_LIBS
=$LIBS
16103 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
16104 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16105 /* end confdefs.h. */
16107 /* Override any GCC internal prototype to avoid an error.
16108 Use char because int might match the return type of a GCC
16109 builtin and then its argument prototype would still apply. */
16110 char dbus_connection_close ();
16114 return dbus_connection_close ();
16119 if ac_fn_c_try_link
"$LINENO"
16122 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16123 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'` ;;
16124 *) 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'`
16125 if ${ac_cv_lib_soname_dbus_1:+false} :
16127 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16131 ac_cv_lib_soname_dbus_1
=
16133 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16134 conftest
$ac_exeext conftest.
$ac_ext
16135 LIBS
=$ac_check_soname_save_LIBS
16137 if ${ac_cv_lib_soname_dbus_1:+false} :
16139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16140 printf "%s\n" "not found" >&6; }
16143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16144 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16146 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16154 CPPFLAGS
=$ac_save_CPPFLAGS
16157 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
16158 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"
16160 case "x$with_dbus" in
16161 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16163 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
16164 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16169 if test "x$with_gnutls" != "xno"
16171 if ${GNUTLS_CFLAGS:+false} :
16173 if test ${PKG_CONFIG+y}
16175 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
16179 if ${GNUTLS_LIBS:+false} :
16181 if test ${PKG_CONFIG+y}
16183 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16187 GNUTLS_LIBS
=${GNUTLS_LIBS:-"-lgnutls"}
16188 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16189 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16190 ac_save_CPPFLAGS
=$CPPFLAGS
16191 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
16192 ac_fn_c_check_header_compile
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16193 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16195 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16196 /* end confdefs.h. */
16197 #include <gnutls/gnutls.h>
16198 #include <gnutls/crypto.h>
16202 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16207 if ac_fn_c_try_compile
"$LINENO"
16209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16210 printf %s
"checking for -lgnutls... " >&6; }
16211 if test ${ac_cv_lib_soname_gnutls+y}
16213 printf %s
"(cached) " >&6
16215 ac_check_soname_save_LIBS
=$LIBS
16216 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
16217 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16218 /* end confdefs.h. */
16220 /* Override any GCC internal prototype to avoid an error.
16221 Use char because int might match the return type of a GCC
16222 builtin and then its argument prototype would still apply. */
16223 char gnutls_global_init ();
16227 return gnutls_global_init ();
16232 if ac_fn_c_try_link
"$LINENO"
16235 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16236 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'` ;;
16237 *) 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'`
16238 if ${ac_cv_lib_soname_gnutls:+false} :
16240 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'`
16244 ac_cv_lib_soname_gnutls
=
16246 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16247 conftest
$ac_exeext conftest.
$ac_ext
16248 LIBS
=$ac_check_soname_save_LIBS
16250 if ${ac_cv_lib_soname_gnutls:+false} :
16252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16253 printf "%s\n" "not found" >&6; }
16256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16257 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16259 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16263 ac_wine_check_funcs_save_LIBS
="$LIBS"
16264 LIBS
="$LIBS $GNUTLS_LIBS"
16266 for ac_func
in gnutls_cipher_init
16268 ac_fn_c_check_func
"$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16269 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16271 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16274 as_fn_append wine_notices
"|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16278 LIBS
="$ac_wine_check_funcs_save_LIBS"
16280 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16285 CPPFLAGS
=$ac_save_CPPFLAGS
16288 if test "x$ac_cv_lib_soname_gnutls" = "x"
16290 case "x$with_gnutls" in
16291 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16293 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
16294 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16299 if test "x$with_sane" != "xno"
16301 if ${SANE_CFLAGS:+false} :
16303 if test ${PKG_CONFIG+y}
16305 SANE_CFLAGS
=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
16308 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16309 if ${SANE_LIBS:+false} :
16311 if test ${PKG_CONFIG+y}
16313 SANE_LIBS
=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16316 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16318 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16319 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16320 ac_save_CPPFLAGS
=$CPPFLAGS
16321 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
16322 ac_fn_c_check_header_compile
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16323 if test "x$ac_cv_header_sane_sane_h" = xyes
16325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16326 printf %s
"checking for sane_init in -lsane... " >&6; }
16327 if test ${ac_cv_lib_sane_sane_init+y}
16329 printf %s
"(cached) " >&6
16331 ac_check_lib_save_LIBS
=$LIBS
16332 LIBS
="-lsane $SANE_LIBS $LIBS"
16333 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16334 /* end confdefs.h. */
16336 /* Override any GCC internal prototype to avoid an error.
16337 Use char because int might match the return type of a GCC
16338 builtin and then its argument prototype would still apply. */
16343 return sane_init ();
16348 if ac_fn_c_try_link
"$LINENO"
16350 ac_cv_lib_sane_sane_init
=yes
16352 ac_cv_lib_sane_sane_init
=no
16354 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16355 conftest
$ac_exeext conftest.
$ac_ext
16356 LIBS
=$ac_check_lib_save_LIBS
16358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16359 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16360 if test "x$ac_cv_lib_sane_sane_init" = xyes
16367 CPPFLAGS
=$ac_save_CPPFLAGS
16370 if test "$ac_cv_lib_sane_sane_init" != "yes"
16372 case "x$with_sane" in
16373 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16375 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
16376 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16378 enable_sane_ds
=${enable_sane_ds:-no}
16381 if test "x$with_usb" != "xno"
16383 if ${USB_CFLAGS:+false} :
16385 if test ${PKG_CONFIG+y}
16387 USB_CFLAGS
=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
16391 if ${USB_LIBS:+false} :
16393 if test ${PKG_CONFIG+y}
16395 USB_LIBS
=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16399 USB_LIBS
=${USB_LIBS:-"-lusb-1.0"}
16400 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16401 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16402 ac_save_CPPFLAGS
=$CPPFLAGS
16403 CPPFLAGS
="$CPPFLAGS $USB_CFLAGS"
16404 ac_fn_c_check_header_compile
"$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16405 if test "x$ac_cv_header_libusb_h" = xyes
16407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16408 printf %s
"checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16409 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16411 printf %s
"(cached) " >&6
16413 ac_check_lib_save_LIBS
=$LIBS
16414 LIBS
="-lusb-1.0 $USB_LIBS $LIBS"
16415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16416 /* end confdefs.h. */
16418 /* Override any GCC internal prototype to avoid an error.
16419 Use char because int might match the return type of a GCC
16420 builtin and then its argument prototype would still apply. */
16421 char libusb_interrupt_event_handler ();
16425 return libusb_interrupt_event_handler ();
16430 if ac_fn_c_try_link
"$LINENO"
16432 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler
=yes
16434 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler
=no
16436 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16437 conftest
$ac_exeext conftest.
$ac_ext
16438 LIBS
=$ac_check_lib_save_LIBS
16440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16441 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16442 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16453 CPPFLAGS
=$ac_save_CPPFLAGS
16456 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16458 case "x$with_usb" in
16459 x
) as_fn_append wine_notices
"|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16461 *) as_fn_error $?
"libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16462 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16464 enable_wineusb_sys
=${enable_wineusb_sys:-no}
16467 if test "x$with_v4l2" != "xno"
16469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16470 printf %s
"checking for -lv4l2... " >&6; }
16471 if test ${ac_cv_lib_soname_v4l2+y}
16473 printf %s
"(cached) " >&6
16475 ac_check_soname_save_LIBS
=$LIBS
16476 LIBS
="-lv4l2 $LIBS"
16477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16478 /* end confdefs.h. */
16480 /* Override any GCC internal prototype to avoid an error.
16481 Use char because int might match the return type of a GCC
16482 builtin and then its argument prototype would still apply. */
16487 return v4l2_open ();
16492 if ac_fn_c_try_link
"$LINENO"
16495 dll
) ac_cv_lib_soname_v4l2
=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16496 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'` ;;
16497 *) ac_cv_lib_soname_v4l2
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16498 if ${ac_cv_lib_soname_v4l2:+false} :
16500 ac_cv_lib_soname_v4l2
=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16504 ac_cv_lib_soname_v4l2
=
16506 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16507 conftest
$ac_exeext conftest.
$ac_ext
16508 LIBS
=$ac_check_soname_save_LIBS
16510 if ${ac_cv_lib_soname_v4l2:+false} :
16512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16513 printf "%s\n" "not found" >&6; }
16516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16517 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16519 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16524 if test "x$ac_cv_lib_soname_v4l2" = "x"
16526 case "x$with_v4l2" in
16527 x
) as_fn_append wine_notices
"|libv4l2 ${notice_platform}development files not found." ;;
16529 *) as_fn_error $?
"libv4l2 ${notice_platform}development files not found.
16530 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16535 if test "x$with_gphoto" != "xno"
16537 if ${GPHOTO2_CFLAGS:+false} :
16539 if test ${PKG_CONFIG+y}
16541 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
16544 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16545 if ${GPHOTO2_LIBS:+false} :
16547 if test ${PKG_CONFIG+y}
16549 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16552 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16553 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
16554 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16555 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16556 ac_save_CPPFLAGS
=$CPPFLAGS
16557 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
16558 ac_fn_c_check_header_compile
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16559 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16562 printf %s
"checking for gp_camera_new in -lgphoto2... " >&6; }
16563 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16565 printf %s
"(cached) " >&6
16567 ac_check_lib_save_LIBS
=$LIBS
16568 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16569 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16570 /* end confdefs.h. */
16572 /* Override any GCC internal prototype to avoid an error.
16573 Use char because int might match the return type of a GCC
16574 builtin and then its argument prototype would still apply. */
16575 char gp_camera_new ();
16579 return gp_camera_new ();
16584 if ac_fn_c_try_link
"$LINENO"
16586 ac_cv_lib_gphoto2_gp_camera_new
=yes
16588 ac_cv_lib_gphoto2_gp_camera_new
=no
16590 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16591 conftest
$ac_exeext conftest.
$ac_ext
16592 LIBS
=$ac_check_lib_save_LIBS
16594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16595 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16596 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16603 CPPFLAGS
=$ac_save_CPPFLAGS
16605 if ${GPHOTO2_PORT_CFLAGS:+false} :
16607 if test ${PKG_CONFIG+y}
16609 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
16612 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16613 if ${GPHOTO2_PORT_LIBS:+false} :
16615 if test ${PKG_CONFIG+y}
16617 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16620 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16621 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16622 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16623 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16624 ac_save_CPPFLAGS
=$CPPFLAGS
16625 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16626 ac_fn_c_check_header_compile
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16627 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16630 printf %s
"checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16631 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16633 printf %s
"(cached) " >&6
16635 ac_check_lib_save_LIBS
=$LIBS
16636 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16637 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16638 /* end confdefs.h. */
16640 /* Override any GCC internal prototype to avoid an error.
16641 Use char because int might match the return type of a GCC
16642 builtin and then its argument prototype would still apply. */
16643 char gp_port_info_list_new ();
16647 return gp_port_info_list_new ();
16652 if ac_fn_c_try_link
"$LINENO"
16654 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
16656 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
16658 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16659 conftest
$ac_exeext conftest.
$ac_ext
16660 LIBS
=$ac_check_lib_save_LIBS
16662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16663 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16664 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16667 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16670 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
16674 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
16677 CPPFLAGS
=$ac_save_CPPFLAGS
16680 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16682 case "x$with_gphoto" in
16683 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16685 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16686 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16688 enable_gphoto2_ds
=${enable_gphoto2_ds:-no}
16690 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16692 case "x$with_gphoto" in
16693 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16695 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16696 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16702 if test "$ac_cv_header_resolv_h" = "yes"
16704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16705 printf %s
"checking for resolver library... " >&6; }
16706 if test ${ac_cv_have_resolv+y}
16708 printf %s
"(cached) " >&6
16710 ac_save_LIBS
="$LIBS"
16711 for lib
in '' -lresolv
16713 LIBS
="$lib $ac_save_LIBS"
16714 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16715 /* end confdefs.h. */
16716 #ifdef HAVE_NETINET_IN_H
16717 #include <netinet/in.h>
16719 #include <resolv.h>
16723 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16728 if ac_fn_c_try_link
"$LINENO"
16730 ac_cv_have_resolv
=${lib:-"none required"}
16732 ac_cv_have_resolv
="not found"
16734 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16735 conftest
$ac_exeext conftest.
$ac_ext
16736 test "x$ac_cv_have_resolv" = "xnot found" ||
break
16738 LIBS
="$ac_save_LIBS"
16740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16741 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16743 case "$ac_cv_have_resolv" in
16747 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16750 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16752 RESOLV_LIBS
=$ac_cv_have_resolv
16756 if test "x$ac_cv_have_resolv" != "xnot found"
16758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16759 printf %s
"checking for res_getservers... " >&6; }
16760 if test ${ac_cv_have_res_getservers+y}
16762 printf %s
"(cached) " >&6
16764 ac_save_LIBS
="$LIBS"
16765 LIBS
="$RESOLV_LIBS $LIBS"
16766 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16767 /* end confdefs.h. */
16768 #include <resolv.h>
16772 res_getservers(NULL, NULL, 0);
16777 if ac_fn_c_try_link
"$LINENO"
16779 ac_cv_have_res_getservers
=yes
16781 ac_cv_have_res_getservers
=no
16783 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16784 conftest
$ac_exeext conftest.
$ac_ext
16785 LIBS
="$ac_save_LIBS"
16787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16788 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16789 if test "$ac_cv_have_res_getservers" = "yes"
16792 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16798 if test "x$with_freetype" != "xno"
16800 if ${FREETYPE_CFLAGS:+false} :
16802 if test ${PKG_CONFIG+y}
16804 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
16807 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16808 if ${FREETYPE_LIBS:+false} :
16810 if test ${PKG_CONFIG+y}
16812 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16815 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16816 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
16817 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16818 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16819 ac_save_CPPFLAGS
=$CPPFLAGS
16820 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
16821 ac_fn_c_check_header_compile
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16822 if test "x$ac_cv_header_ft2build_h" = xyes
16824 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16828 if test "$ac_cv_header_ft2build_h" = "yes"
16830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16831 printf %s
"checking for -lfreetype... " >&6; }
16832 if test ${ac_cv_lib_soname_freetype+y}
16834 printf %s
"(cached) " >&6
16836 ac_check_soname_save_LIBS
=$LIBS
16837 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
16838 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16839 /* end confdefs.h. */
16841 /* Override any GCC internal prototype to avoid an error.
16842 Use char because int might match the return type of a GCC
16843 builtin and then its argument prototype would still apply. */
16844 char FT_Init_FreeType ();
16848 return FT_Init_FreeType ();
16853 if ac_fn_c_try_link
"$LINENO"
16856 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16857 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'` ;;
16858 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16859 if ${ac_cv_lib_soname_freetype:+false} :
16861 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16865 ac_cv_lib_soname_freetype
=
16867 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16868 conftest
$ac_exeext conftest.
$ac_ext
16869 LIBS
=$ac_check_soname_save_LIBS
16871 if ${ac_cv_lib_soname_freetype:+false} :
16873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16874 printf "%s\n" "not found" >&6; }
16877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16878 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16880 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16883 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16885 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16886 #include FT_MODULE_H
16888 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16891 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16901 CPPFLAGS
=$ac_save_CPPFLAGS
16904 if test "x$ac_cv_lib_soname_freetype" = x
16906 case "x$with_freetype" in
16908 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
16909 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16911 enable_fonts
=${enable_fonts:-no}
16914 ac_wine_check_funcs_save_LIBS
="$LIBS"
16915 LIBS
="$LIBS $PTHREAD_LIBS"
16916 ac_fn_c_check_func
"$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16917 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16919 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16923 LIBS
="$ac_wine_check_funcs_save_LIBS"
16925 if test "x$enable_tools" != xno
-a "x$with_gettextpo" = xyes
16927 if test "$ac_cv_header_gettext_po_h" = "yes"
16929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16930 printf %s
"checking for po_message_msgctxt in -lgettextpo... " >&6; }
16931 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16933 printf %s
"(cached) " >&6
16935 ac_check_lib_save_LIBS
=$LIBS
16936 LIBS
="-lgettextpo $LIBS"
16937 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16938 /* end confdefs.h. */
16940 /* Override any GCC internal prototype to avoid an error.
16941 Use char because int might match the return type of a GCC
16942 builtin and then its argument prototype would still apply. */
16943 char po_message_msgctxt ();
16947 return po_message_msgctxt ();
16952 if ac_fn_c_try_link
"$LINENO"
16954 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
16956 ac_cv_lib_gettextpo_po_message_msgctxt
=no
16958 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16959 conftest
$ac_exeext conftest.
$ac_ext
16960 LIBS
=$ac_check_lib_save_LIBS
16962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16963 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16964 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16967 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16969 GETTEXTPO_LIBS
="-lgettextpo"
16974 if test "x$GETTEXTPO_LIBS" = "x"
16976 case "x$with_gettextpo" in
16977 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16979 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16980 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16984 if test "$srcdir" != .
16986 case "x$with_gettextpo" in
16987 x
) as_fn_append wine_notices
"|Rebuilding po files is not supported for out of tree builds." ;;
16989 *) as_fn_error $?
"Rebuilding po files is not supported for out of tree builds.
16990 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16996 if test "x$with_pulse" != "xno";
16998 if ${PULSE_CFLAGS:+false} :
17000 if test ${PKG_CONFIG+y}
17002 PULSE_CFLAGS
=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
17006 if ${PULSE_LIBS:+false} :
17008 if test ${PKG_CONFIG+y}
17010 PULSE_LIBS
=`$PKG_CONFIG --libs libpulse 2>/dev/null`
17015 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
17016 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
17017 ac_save_CPPFLAGS
=$CPPFLAGS
17018 CPPFLAGS
="$CPPFLAGS $PULSE_CFLAGS"
17019 for ac_header
in pulse
/pulseaudio.h
17021 ac_fn_c_check_header_compile
"$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
17022 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
17024 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
17025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
17026 printf %s
"checking for pa_stream_is_corked in -lpulse... " >&6; }
17027 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
17029 printf %s
"(cached) " >&6
17031 ac_check_lib_save_LIBS
=$LIBS
17032 LIBS
="-lpulse $PULSE_LIBS $LIBS"
17033 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17034 /* end confdefs.h. */
17036 /* Override any GCC internal prototype to avoid an error.
17037 Use char because int might match the return type of a GCC
17038 builtin and then its argument prototype would still apply. */
17039 char pa_stream_is_corked ();
17043 return pa_stream_is_corked ();
17048 if ac_fn_c_try_link
"$LINENO"
17050 ac_cv_lib_pulse_pa_stream_is_corked
=yes
17052 ac_cv_lib_pulse_pa_stream_is_corked
=no
17054 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17055 conftest
$ac_exeext conftest.
$ac_ext
17056 LIBS
=$ac_check_lib_save_LIBS
17058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
17059 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
17060 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
17072 CPPFLAGS
=$ac_save_CPPFLAGS
17075 if test -z "$PULSE_LIBS"
17077 case "x$with_pulse" in
17078 x
) as_fn_append wine_notices
"|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
17080 *) as_fn_error $?
"libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
17081 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
17083 enable_winepulse_drv
=${enable_winepulse_drv:-no}
17086 if test "x$with_gstreamer" != "xno"
17088 if ${GSTREAMER_CFLAGS:+false} :
17090 if test ${PKG_CONFIG+y}
17092 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
17096 if ${GSTREAMER_LIBS:+false} :
17098 if test ${PKG_CONFIG+y}
17100 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
17105 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
17106 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
17107 ac_save_CPPFLAGS
=$CPPFLAGS
17108 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
17109 ac_fn_c_check_header_compile
"$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
17110 if test "x$ac_cv_header_gst_gst_h" = xyes
17112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
17113 printf %s
"checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
17114 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17115 /* end confdefs.h. */
17116 #include <gst/gst.h>
17120 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17125 if ac_fn_c_try_compile
"$LINENO"
17127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17128 printf "%s\n" "yes" >&6; }
17129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17130 printf %s
"checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17131 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17133 printf %s
"(cached) " >&6
17135 ac_check_lib_save_LIBS
=$LIBS
17136 LIBS
="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17137 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17138 /* end confdefs.h. */
17140 /* Override any GCC internal prototype to avoid an error.
17141 Use char because int might match the return type of a GCC
17142 builtin and then its argument prototype would still apply. */
17143 char gst_pad_new ();
17147 return gst_pad_new ();
17152 if ac_fn_c_try_link
"$LINENO"
17154 ac_cv_lib_gstreamer_1_0_gst_pad_new
=yes
17156 ac_cv_lib_gstreamer_1_0_gst_pad_new
=no
17158 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17159 conftest
$ac_exeext conftest.
$ac_ext
17160 LIBS
=$ac_check_lib_save_LIBS
17162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17163 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17164 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17171 printf "%s\n" "no" >&6; }
17172 ac_glib2_broken
=yes
17173 as_fn_append wine_notices
"|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17175 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17178 CPPFLAGS
=$ac_save_CPPFLAGS
17181 if test "x$ac_glib2_broken" != xyes
-a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17183 case "x$with_gstreamer" in
17184 x
) as_fn_append wine_notices
"|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17186 *) as_fn_error $?
"gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17187 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17189 enable_winegstreamer
=${enable_winegstreamer:-no}
17194 if test "x$with_alsa" != "xno"
17196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17197 printf %s
"checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17198 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17200 printf %s
"(cached) " >&6
17202 ac_check_lib_save_LIBS
=$LIBS
17203 LIBS
="-lasound $LIBS"
17204 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17205 /* end confdefs.h. */
17207 /* Override any GCC internal prototype to avoid an error.
17208 Use char because int might match the return type of a GCC
17209 builtin and then its argument prototype would still apply. */
17210 char snd_pcm_hw_params_get_access_mask ();
17214 return snd_pcm_hw_params_get_access_mask ();
17219 if ac_fn_c_try_link
"$LINENO"
17221 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
17223 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
17225 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17226 conftest
$ac_exeext conftest.
$ac_ext
17227 LIBS
=$ac_check_lib_save_LIBS
17229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17230 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17231 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17233 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17234 /* end confdefs.h. */
17235 #include <alsa/asoundlib.h>
17239 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17244 if ac_fn_c_try_compile
"$LINENO"
17246 ALSA_LIBS
="-lasound"
17248 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17252 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
17254 if test "x$with_oss" != xno
17256 ac_save_CPPFLAGS
="$CPPFLAGS"
17257 if test -f /etc
/oss.conf
17261 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17262 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
17263 ac_fn_c_check_header_compile
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17264 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17266 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17268 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17271 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17273 OSS4_CFLAGS
="$ac_oss_incl"
17275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17276 printf %s
"checking for _oss_ioctl in -lossaudio... " >&6; }
17277 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17279 printf %s
"(cached) " >&6
17281 ac_check_lib_save_LIBS
=$LIBS
17282 LIBS
="-lossaudio $LIBS"
17283 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17284 /* end confdefs.h. */
17286 /* Override any GCC internal prototype to avoid an error.
17287 Use char because int might match the return type of a GCC
17288 builtin and then its argument prototype would still apply. */
17289 char _oss_ioctl ();
17293 return _oss_ioctl ();
17298 if ac_fn_c_try_link
"$LINENO"
17300 ac_cv_lib_ossaudio__oss_ioctl
=yes
17302 ac_cv_lib_ossaudio__oss_ioctl
=no
17304 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17305 conftest
$ac_exeext conftest.
$ac_ext
17306 LIBS
=$ac_check_lib_save_LIBS
17308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17309 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17310 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17312 OSS4_LIBS
="-lossaudio"
17320 CPPFLAGS
="$ac_save_CPPFLAGS"
17322 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17324 case "x$with_oss" in
17325 x
) as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17327 *) as_fn_error $?
"OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17328 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17330 enable_wineoss_drv
=${enable_wineoss_drv:-no}
17333 if test "x$with_udev" != "xno"
17335 if ${UDEV_CFLAGS:+false} :
17337 if test ${PKG_CONFIG+y}
17339 UDEV_CFLAGS
=`$PKG_CONFIG --cflags libudev 2>/dev/null`
17343 if ${UDEV_LIBS:+false} :
17345 if test ${PKG_CONFIG+y}
17347 UDEV_LIBS
=`$PKG_CONFIG --libs libudev 2>/dev/null`
17351 UDEV_LIBS
=${UDEV_LIBS:-"-ludev"}
17352 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17353 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17354 ac_save_CPPFLAGS
=$CPPFLAGS
17355 CPPFLAGS
="$CPPFLAGS $UDEV_CFLAGS"
17356 for ac_header
in libudev.h
17358 ac_fn_c_check_header_compile
"$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17359 if test "x$ac_cv_header_libudev_h" = xyes
17361 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17363 printf %s
"checking for udev_new in -ludev... " >&6; }
17364 if test ${ac_cv_lib_udev_udev_new+y}
17366 printf %s
"(cached) " >&6
17368 ac_check_lib_save_LIBS
=$LIBS
17369 LIBS
="-ludev $UDEV_LIBS $LIBS"
17370 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17371 /* end confdefs.h. */
17373 /* Override any GCC internal prototype to avoid an error.
17374 Use char because int might match the return type of a GCC
17375 builtin and then its argument prototype would still apply. */
17380 return udev_new ();
17385 if ac_fn_c_try_link
"$LINENO"
17387 ac_cv_lib_udev_udev_new
=yes
17389 ac_cv_lib_udev_udev_new
=no
17391 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17392 conftest
$ac_exeext conftest.
$ac_ext
17393 LIBS
=$ac_check_lib_save_LIBS
17395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17396 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17397 if test "x$ac_cv_lib_udev_udev_new" = xyes
17400 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17411 CPPFLAGS
=$ac_save_CPPFLAGS
17414 if test "x$UDEV_LIBS" = "x"
17416 case "x$with_udev" in
17417 x
) as_fn_append wine_notices
"|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17419 *) as_fn_error $?
"libudev ${notice_platform}development files not found, plug and play won't be supported.
17420 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17425 if test "x$with_unwind" != xno
17427 if ${UNWIND_CFLAGS:+false} :
17429 if test ${PKG_CONFIG+y}
17431 UNWIND_CFLAGS
=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
17435 if ${UNWIND_LIBS:+false} :
17437 if test ${PKG_CONFIG+y}
17439 UNWIND_LIBS
=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17443 UNWIND_LIBS
=${UNWIND_LIBS:-"-lunwind"}
17444 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17445 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17446 ac_save_CPPFLAGS
=$CPPFLAGS
17447 CPPFLAGS
="$CPPFLAGS $UNWIND_CFLAGS"
17448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17449 printf %s
"checking for unw_step... " >&6; }
17450 if test ${wine_cv_have_unw_step+y}
17452 printf %s
"(cached) " >&6
17454 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17455 /* end confdefs.h. */
17456 #define UNW_LOCAL_ONLY
17457 #include <libunwind.h>
17461 unw_cursor_t cursor; unw_step( &cursor );
17466 if ac_fn_c_try_link
"$LINENO"
17468 wine_cv_have_unw_step
="yes"
17470 wine_cv_have_unw_step
="no"
17472 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17473 conftest
$ac_exeext conftest.
$ac_ext
17475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17476 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17477 if test "$wine_cv_have_unw_step" = no
-a -n "$UNWIND_LIBS"
17480 UNWIND_LIBS
="-static-libgcc $UNWIND_LIBS"
17481 LIBS
="$UNWIND_LIBS $LIBS"
17482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17483 printf %s
"checking for unw_step in libunwind... " >&6; }
17484 if test ${wine_cv_have_libunwind_unw_step+y}
17486 printf %s
"(cached) " >&6
17488 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17489 /* end confdefs.h. */
17490 #define UNW_LOCAL_ONLY
17491 #include <libunwind.h>
17495 unw_cursor_t cursor; unw_step( &cursor );
17500 if ac_fn_c_try_link
"$LINENO"
17502 wine_cv_have_libunwind_unw_step
="yes"
17504 wine_cv_have_libunwind_unw_step
="no"
17506 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17507 conftest
$ac_exeext conftest.
$ac_ext
17509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17510 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17513 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS
=""
17514 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17517 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17520 CPPFLAGS
=$ac_save_CPPFLAGS
17524 aarch64
*|
*-darwin*)
17525 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17527 case "x$with_unwind" in
17528 x
) as_fn_append wine_notices
"|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17530 *) as_fn_error $?
"libunwind ${notice_platform}development files not found, stack unwinding won't work.
17531 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17537 if test "x$with_sdl" != "xno"
17539 if ${SDL2_CFLAGS:+false} :
17541 if test ${PKG_CONFIG+y}
17543 SDL2_CFLAGS
=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
17547 if ${SDL2_LIBS:+false} :
17549 if test ${PKG_CONFIG+y}
17551 SDL2_LIBS
=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17555 SDL2_LIBS
=${SDL2_LIBS:-"-lSDL2"}
17556 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17557 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17558 ac_save_CPPFLAGS
=$CPPFLAGS
17559 CPPFLAGS
="$CPPFLAGS $SDL2_CFLAGS"
17560 for ac_header
in SDL.h
17562 ac_fn_c_check_header_compile
"$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17563 if test "x$ac_cv_header_SDL_h" = xyes
17565 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17567 printf %s
"checking for -lSDL2... " >&6; }
17568 if test ${ac_cv_lib_soname_SDL2+y}
17570 printf %s
"(cached) " >&6
17572 ac_check_soname_save_LIBS
=$LIBS
17573 LIBS
="-lSDL2 $SDL2_LIBS $LIBS"
17574 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17575 /* end confdefs.h. */
17577 /* Override any GCC internal prototype to avoid an error.
17578 Use char because int might match the return type of a GCC
17579 builtin and then its argument prototype would still apply. */
17584 return SDL_Init ();
17589 if ac_fn_c_try_link
"$LINENO"
17592 dll
) ac_cv_lib_soname_SDL2
=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17593 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'` ;;
17594 *) 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'`
17595 if ${ac_cv_lib_soname_SDL2:+false} :
17597 ac_cv_lib_soname_SDL2
=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17601 ac_cv_lib_soname_SDL2
=
17603 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17604 conftest
$ac_exeext conftest.
$ac_ext
17605 LIBS
=$ac_check_soname_save_LIBS
17607 if ${ac_cv_lib_soname_SDL2:+false} :
17609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17610 printf "%s\n" "not found" >&6; }
17613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17614 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17616 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17623 CPPFLAGS
=$ac_save_CPPFLAGS
17626 if test "x$ac_cv_lib_soname_SDL2" = "x"
17628 case "x$with_sdl" in
17629 x
) as_fn_append wine_notices
"|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17631 *) as_fn_error $?
"libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17632 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17637 if test "x$with_capi" != "xno"
17639 if ${CAPI20_CFLAGS:+false} :
17641 if test ${PKG_CONFIG+y}
17643 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
17647 if ${CAPI20_LIBS:+false} :
17649 if test ${PKG_CONFIG+y}
17651 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
17656 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17657 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17658 ac_save_CPPFLAGS
=$CPPFLAGS
17659 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
17660 ac_fn_c_check_header_compile
"$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17662 if test "x$ac_cv_header_capi20_h" = xyes
17664 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17667 ac_fn_c_check_header_compile
"$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17669 if test "x$ac_cv_header_linux_capi_h" = xyes
17671 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17675 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17678 printf %s
"checking for capi20_register in -lcapi20... " >&6; }
17679 if test ${ac_cv_lib_capi20_capi20_register+y}
17681 printf %s
"(cached) " >&6
17683 ac_check_lib_save_LIBS
=$LIBS
17684 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
17685 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17686 /* end confdefs.h. */
17688 /* Override any GCC internal prototype to avoid an error.
17689 Use char because int might match the return type of a GCC
17690 builtin and then its argument prototype would still apply. */
17691 char capi20_register ();
17695 return capi20_register ();
17700 if ac_fn_c_try_link
"$LINENO"
17702 ac_cv_lib_capi20_capi20_register
=yes
17704 ac_cv_lib_capi20_capi20_register
=no
17706 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17707 conftest
$ac_exeext conftest.
$ac_ext
17708 LIBS
=$ac_check_lib_save_LIBS
17710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17711 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17712 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17720 CPPFLAGS
=$ac_save_CPPFLAGS
17723 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17725 case "x$with_capi" in
17726 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17728 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17729 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17731 enable_capi2032
=${enable_capi2032:-no}
17734 if test "x$with_cups" != "xno"
17736 if ${CUPS_CFLAGS:+false} :
17738 if test ${PKG_CONFIG+y}
17740 CUPS_CFLAGS
=`$PKG_CONFIG --cflags cups 2>/dev/null`
17743 test "$cross_compiling" = yes || CUPS_CFLAGS
=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17744 if ${CUPS_LIBS:+false} :
17746 if test ${PKG_CONFIG+y}
17748 CUPS_LIBS
=`$PKG_CONFIG --libs cups 2>/dev/null`
17751 test "$cross_compiling" = yes || CUPS_LIBS
=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17752 CUPS_LIBS
=${CUPS_LIBS:-"-lcups"}
17753 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17754 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17755 ac_save_CPPFLAGS
=$CPPFLAGS
17756 CPPFLAGS
="$CPPFLAGS $CUPS_CFLAGS"
17757 ac_fn_c_check_header_compile
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17758 if test "x$ac_cv_header_cups_cups_h" = xyes
17760 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17763 ac_fn_c_check_header_compile
"$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17764 if test "x$ac_cv_header_cups_ppd_h" = xyes
17766 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17770 if test "$ac_cv_header_cups_cups_h" = "yes"
17772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17773 printf %s
"checking for -lcups... " >&6; }
17774 if test ${ac_cv_lib_soname_cups+y}
17776 printf %s
"(cached) " >&6
17778 ac_check_soname_save_LIBS
=$LIBS
17779 LIBS
="-lcups $CUPS_LIBS $LIBS"
17780 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17781 /* end confdefs.h. */
17783 /* Override any GCC internal prototype to avoid an error.
17784 Use char because int might match the return type of a GCC
17785 builtin and then its argument prototype would still apply. */
17786 char cupsGetDefault ();
17790 return cupsGetDefault ();
17795 if ac_fn_c_try_link
"$LINENO"
17798 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17799 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'` ;;
17800 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17801 if ${ac_cv_lib_soname_cups:+false} :
17803 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17807 ac_cv_lib_soname_cups
=
17809 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17810 conftest
$ac_exeext conftest.
$ac_ext
17811 LIBS
=$ac_check_soname_save_LIBS
17813 if ${ac_cv_lib_soname_cups:+false} :
17815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17816 printf "%s\n" "not found" >&6; }
17819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17820 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17822 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17830 CPPFLAGS
=$ac_save_CPPFLAGS
17833 if test "x$ac_cv_lib_soname_cups" = "x"
17835 case "x$with_cups" in
17836 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17838 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
17839 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17844 if test "x$with_fontconfig" != "xno"
17846 if ${FONTCONFIG_CFLAGS:+false} :
17848 if test ${PKG_CONFIG+y}
17850 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
17853 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17854 if ${FONTCONFIG_LIBS:+false} :
17856 if test ${PKG_CONFIG+y}
17858 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17861 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
17863 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17864 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17865 ac_save_CPPFLAGS
=$CPPFLAGS
17866 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
17867 ac_fn_c_check_header_compile
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17868 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17870 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17874 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17877 printf %s
"checking for -lfontconfig... " >&6; }
17878 if test ${ac_cv_lib_soname_fontconfig+y}
17880 printf %s
"(cached) " >&6
17882 ac_check_soname_save_LIBS
=$LIBS
17883 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17884 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17885 /* end confdefs.h. */
17887 /* Override any GCC internal prototype to avoid an error.
17888 Use char because int might match the return type of a GCC
17889 builtin and then its argument prototype would still apply. */
17899 if ac_fn_c_try_link
"$LINENO"
17902 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17903 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'` ;;
17904 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17905 if ${ac_cv_lib_soname_fontconfig:+false} :
17907 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17911 ac_cv_lib_soname_fontconfig
=
17913 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17914 conftest
$ac_exeext conftest.
$ac_ext
17915 LIBS
=$ac_check_soname_save_LIBS
17917 if ${ac_cv_lib_soname_fontconfig:+false} :
17919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17920 printf "%s\n" "not found" >&6; }
17921 FONTCONFIG_CFLAGS
=""
17923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17924 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17926 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17931 FONTCONFIG_CFLAGS
=""
17933 CPPFLAGS
=$ac_save_CPPFLAGS
17936 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17938 case "x$with_fontconfig" in
17939 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17941 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17942 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17947 if test "x$with_krb5" != "xno"
17949 if ${KRB5_CFLAGS:+false} :
17951 if test ${PKG_CONFIG+y}
17953 KRB5_CFLAGS
=`$PKG_CONFIG --cflags krb5 2>/dev/null`
17956 test "$cross_compiling" = yes || KRB5_CFLAGS
=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17957 if ${KRB5_LIBS:+false} :
17959 if test ${PKG_CONFIG+y}
17961 KRB5_LIBS
=`$PKG_CONFIG --libs krb5 2>/dev/null`
17964 test "$cross_compiling" = yes || KRB5_LIBS
=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17966 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17967 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17968 ac_save_CPPFLAGS
=$CPPFLAGS
17969 CPPFLAGS
="$CPPFLAGS $KRB5_CFLAGS"
17970 ac_fn_c_check_header_compile
"$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17971 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17973 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17977 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17980 printf %s
"checking for -lkrb5... " >&6; }
17981 if test ${ac_cv_lib_soname_krb5+y}
17983 printf %s
"(cached) " >&6
17985 ac_check_soname_save_LIBS
=$LIBS
17986 LIBS
="-lkrb5 $KRB5_LIBS $LIBS"
17987 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17988 /* end confdefs.h. */
17990 /* Override any GCC internal prototype to avoid an error.
17991 Use char because int might match the return type of a GCC
17992 builtin and then its argument prototype would still apply. */
17993 char krb5_is_config_principal ();
17997 return krb5_is_config_principal ();
18002 if ac_fn_c_try_link
"$LINENO"
18005 dll
) ac_cv_lib_soname_krb5
=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18006 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'` ;;
18007 *) ac_cv_lib_soname_krb5
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18008 if ${ac_cv_lib_soname_krb5:+false} :
18010 ac_cv_lib_soname_krb5
=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18014 ac_cv_lib_soname_krb5
=
18016 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18017 conftest
$ac_exeext conftest.
$ac_ext
18018 LIBS
=$ac_check_soname_save_LIBS
18020 if ${ac_cv_lib_soname_krb5:+false} :
18022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18023 printf "%s\n" "not found" >&6; }
18026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
18027 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
18029 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
18036 CPPFLAGS
=$ac_save_CPPFLAGS
18039 if test "x$ac_cv_lib_soname_krb5" = "x"
18041 case "x$with_krb5" in
18042 x
) as_fn_append wine_notices
"|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
18044 *) as_fn_error $?
"libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
18045 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
18049 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi
=${with_gssapi:-no}
18051 if test "x$with_gssapi" != "xno"
18053 if ${GSSAPI_CFLAGS:+false} :
18055 if test ${PKG_CONFIG+y}
18057 GSSAPI_CFLAGS
=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
18060 test "$cross_compiling" = yes || GSSAPI_CFLAGS
=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
18061 if ${GSSAPI_LIBS:+false} :
18063 if test ${PKG_CONFIG+y}
18065 GSSAPI_LIBS
=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
18068 test "$cross_compiling" = yes || GSSAPI_LIBS
=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
18070 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
18071 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
18072 ac_save_CPPFLAGS
=$CPPFLAGS
18073 CPPFLAGS
="$CPPFLAGS $GSSAPI_CFLAGS"
18074 ac_fn_c_check_header_compile
"$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
18075 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
18077 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
18080 ac_fn_c_check_header_compile
"$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
18081 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
18083 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
18087 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
18089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
18090 printf %s
"checking for -lgssapi_krb5... " >&6; }
18091 if test ${ac_cv_lib_soname_gssapi_krb5+y}
18093 printf %s
"(cached) " >&6
18095 ac_check_soname_save_LIBS
=$LIBS
18096 LIBS
="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
18097 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18098 /* end confdefs.h. */
18100 /* Override any GCC internal prototype to avoid an error.
18101 Use char because int might match the return type of a GCC
18102 builtin and then its argument prototype would still apply. */
18103 char gss_init_sec_context ();
18107 return gss_init_sec_context ();
18112 if ac_fn_c_try_link
"$LINENO"
18115 dll
) ac_cv_lib_soname_gssapi_krb5
=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18116 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'` ;;
18117 *) 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'`
18118 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18120 ac_cv_lib_soname_gssapi_krb5
=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18124 ac_cv_lib_soname_gssapi_krb5
=
18126 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18127 conftest
$ac_exeext conftest.
$ac_ext
18128 LIBS
=$ac_check_soname_save_LIBS
18130 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18133 printf "%s\n" "not found" >&6; }
18136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18137 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18139 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18146 CPPFLAGS
=$ac_save_CPPFLAGS
18149 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18151 case "x$with_gssapi" in
18152 x
) as_fn_append wine_notices
"|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18154 *) as_fn_error $?
"libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18155 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18160 if test "$ac_cv_header_AL_al_h" = "yes"
18162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
18163 printf %s
"checking for -lopenal... " >&6; }
18164 if test ${ac_cv_lib_soname_openal+y}
18166 printf %s
"(cached) " >&6
18168 ac_check_soname_save_LIBS
=$LIBS
18169 LIBS
="-lopenal $LIBS"
18170 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18171 /* end confdefs.h. */
18173 /* Override any GCC internal prototype to avoid an error.
18174 Use char because int might match the return type of a GCC
18175 builtin and then its argument prototype would still apply. */
18176 char alGetSource3i ();
18180 return alGetSource3i ();
18185 if ac_fn_c_try_link
"$LINENO"
18188 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18189 dylib
) ac_cv_lib_soname_openal
=`$OTOOL -L conftest$ac_exeext | grep "libopenal\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libopenal\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
18190 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18191 if ${ac_cv_lib_soname_openal:+false} :
18193 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18197 ac_cv_lib_soname_openal
=
18199 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18200 conftest
$ac_exeext conftest.
$ac_ext
18201 LIBS
=$ac_check_soname_save_LIBS
18203 if ${ac_cv_lib_soname_openal:+false} :
18205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18206 printf "%s\n" "not found" >&6; }
18209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
18210 printf "%s\n" "$ac_cv_lib_soname_openal" >&6; }
18212 printf "%s\n" "#define SONAME_LIBOPENAL \"$ac_cv_lib_soname_openal\"" >>confdefs.h
18214 OPENAL_LIBS
="-lopenal"
18216 ac_cv_lib_openal
=yes
18218 printf "%s\n" "#define HAVE_OPENAL 1" >>confdefs.h
18222 if test "x$ac_cv_lib_openal" != xyes
18224 case "x$with_openal" in
18225 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
18227 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
18228 This is an error since --with-openal was requested." "$LINENO" 5 ;;
18230 enable_openal32
=${enable_openal32:-no}
18233 if test "$ac_cv_header_libprocstat_h" = "yes"
18235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18236 printf %s
"checking for procstat_open_sysctl in -lprocstat... " >&6; }
18237 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18239 printf %s
"(cached) " >&6
18241 ac_check_lib_save_LIBS
=$LIBS
18242 LIBS
="-lprocstat $LIBS"
18243 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18244 /* end confdefs.h. */
18246 /* Override any GCC internal prototype to avoid an error.
18247 Use char because int might match the return type of a GCC
18248 builtin and then its argument prototype would still apply. */
18249 char procstat_open_sysctl ();
18253 return procstat_open_sysctl ();
18258 if ac_fn_c_try_link
"$LINENO"
18260 ac_cv_lib_procstat_procstat_open_sysctl
=yes
18262 ac_cv_lib_procstat_procstat_open_sysctl
=no
18264 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18265 conftest
$ac_exeext conftest.
$ac_ext
18266 LIBS
=$ac_check_lib_save_LIBS
18268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18269 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18270 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18273 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18275 PROCSTAT_LIBS
="-lprocstat"
18281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18282 printf %s
"checking for -lodbc... " >&6; }
18283 if test ${ac_cv_lib_soname_odbc+y}
18285 printf %s
"(cached) " >&6
18287 ac_check_soname_save_LIBS
=$LIBS
18288 LIBS
="-lodbc $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 SQLConnect ();
18299 return SQLConnect ();
18304 if ac_fn_c_try_link
"$LINENO"
18307 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18308 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'` ;;
18309 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18310 if ${ac_cv_lib_soname_odbc:+false} :
18312 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18316 ac_cv_lib_soname_odbc
=
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_odbc:+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_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18330 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18332 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18337 if test "x$with_netapi" != "xno"
18339 if ${NETAPI_CFLAGS:+false} :
18341 if test ${PKG_CONFIG+y}
18343 NETAPI_CFLAGS
=`$PKG_CONFIG --cflags netapi 2>/dev/null`
18347 if ${NETAPI_LIBS:+false} :
18349 if test ${PKG_CONFIG+y}
18351 NETAPI_LIBS
=`$PKG_CONFIG --libs netapi 2>/dev/null`
18356 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18357 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18358 ac_save_CPPFLAGS
=$CPPFLAGS
18359 CPPFLAGS
="$CPPFLAGS $NETAPI_CFLAGS"
18360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18361 printf %s
"checking for -lnetapi... " >&6; }
18362 if test ${ac_cv_lib_soname_netapi+y}
18364 printf %s
"(cached) " >&6
18366 ac_check_soname_save_LIBS
=$LIBS
18367 LIBS
="-lnetapi $NETAPI_LIBS $LIBS"
18368 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18369 /* end confdefs.h. */
18371 /* Override any GCC internal prototype to avoid an error.
18372 Use char because int might match the return type of a GCC
18373 builtin and then its argument prototype would still apply. */
18374 char libnetapi_init ();
18378 return libnetapi_init ();
18383 if ac_fn_c_try_link
"$LINENO"
18386 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18387 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'` ;;
18388 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18389 if ${ac_cv_lib_soname_netapi:+false} :
18391 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18395 ac_cv_lib_soname_netapi
=
18397 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18398 conftest
$ac_exeext conftest.
$ac_ext
18399 LIBS
=$ac_check_soname_save_LIBS
18401 if ${ac_cv_lib_soname_netapi:+false} :
18403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18404 printf "%s\n" "not found" >&6; }
18405 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18409 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18411 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18415 CPPFLAGS
=$ac_save_CPPFLAGS
18418 if test "x$ac_cv_lib_soname_netapi" = "x"
18420 case "x$with_netapi" in
18421 x
) as_fn_append wine_notices
"|libnetapi not found, Samba NetAPI won't be supported." ;;
18423 *) as_fn_error $?
"libnetapi not found, Samba NetAPI won't be supported.
18424 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18426 enable_netapi
=${enable_netapi:-no}
18430 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono
-a \
18431 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18433 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
18436 if test "x$with_vulkan" != "xno"
18438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18439 printf %s
"checking for -lvulkan... " >&6; }
18440 if test ${ac_cv_lib_soname_vulkan+y}
18442 printf %s
"(cached) " >&6
18444 ac_check_soname_save_LIBS
=$LIBS
18445 LIBS
="-lvulkan $LIBS"
18446 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18447 /* end confdefs.h. */
18449 /* Override any GCC internal prototype to avoid an error.
18450 Use char because int might match the return type of a GCC
18451 builtin and then its argument prototype would still apply. */
18452 char vkGetInstanceProcAddr ();
18456 return vkGetInstanceProcAddr ();
18461 if ac_fn_c_try_link
"$LINENO"
18464 dll
) ac_cv_lib_soname_vulkan
=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18465 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'` ;;
18466 *) ac_cv_lib_soname_vulkan
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18467 if ${ac_cv_lib_soname_vulkan:+false} :
18469 ac_cv_lib_soname_vulkan
=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18473 ac_cv_lib_soname_vulkan
=
18475 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18476 conftest
$ac_exeext conftest.
$ac_ext
18477 LIBS
=$ac_check_soname_save_LIBS
18479 if ${ac_cv_lib_soname_vulkan:+false} :
18481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18482 printf "%s\n" "not found" >&6; }
18485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18486 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18488 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18492 if test "x$ac_cv_lib_soname_vulkan" = "x"
18494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18495 printf %s
"checking for -lMoltenVK... " >&6; }
18496 if test ${ac_cv_lib_soname_MoltenVK+y}
18498 printf %s
"(cached) " >&6
18500 ac_check_soname_save_LIBS
=$LIBS
18501 LIBS
="-lMoltenVK $LIBS"
18502 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18503 /* end confdefs.h. */
18505 /* Override any GCC internal prototype to avoid an error.
18506 Use char because int might match the return type of a GCC
18507 builtin and then its argument prototype would still apply. */
18508 char vkGetInstanceProcAddr ();
18512 return vkGetInstanceProcAddr ();
18517 if ac_fn_c_try_link
"$LINENO"
18520 dll
) ac_cv_lib_soname_MoltenVK
=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18521 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'` ;;
18522 *) ac_cv_lib_soname_MoltenVK
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18523 if ${ac_cv_lib_soname_MoltenVK:+false} :
18525 ac_cv_lib_soname_MoltenVK
=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18529 ac_cv_lib_soname_MoltenVK
=
18531 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18532 conftest
$ac_exeext conftest.
$ac_ext
18533 LIBS
=$ac_check_soname_save_LIBS
18535 if ${ac_cv_lib_soname_MoltenVK:+false} :
18537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18538 printf "%s\n" "not found" >&6; }
18541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18542 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18544 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18550 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18552 case "x$with_vulkan" in
18553 x
) as_fn_append wine_notices
"|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18555 *) as_fn_error $?
"libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18556 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18562 if test "x${GCC}" = "xyes"
18564 EXTRACFLAGS
="$EXTRACFLAGS -Wall -pipe"
18566 saved_CFLAGS
=$CFLAGS
18567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18568 printf %s
"checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18569 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18571 printf %s
"(cached) " >&6
18573 ac_wine_try_cflags_saved
=$CFLAGS
18574 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
18575 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18576 /* end confdefs.h. */
18577 int main(int argc, char **argv) { return 0; }
18579 if ac_fn_c_try_link
"$LINENO"
18581 ac_cv_cflags__Werror_unknown_warning_option
=yes
18583 ac_cv_cflags__Werror_unknown_warning_option
=no
18585 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18586 conftest
$ac_exeext conftest.
$ac_ext
18587 CFLAGS
=$ac_wine_try_cflags_saved
18589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18590 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18591 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18593 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
18595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18596 printf %s
"checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18597 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18599 printf %s
"(cached) " >&6
18601 ac_wine_try_cflags_saved
=$CFLAGS
18602 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
18603 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18604 /* end confdefs.h. */
18605 int main(int argc, char **argv) { return 0; }
18607 if ac_fn_c_try_link
"$LINENO"
18609 ac_cv_cflags__Werror_unused_command_line_argument
=yes
18611 ac_cv_cflags__Werror_unused_command_line_argument
=no
18613 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18614 conftest
$ac_exeext conftest.
$ac_ext
18615 CFLAGS
=$ac_wine_try_cflags_saved
18617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18618 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18619 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18621 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
18623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18624 printf %s
"checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18625 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18627 printf %s
"(cached) " >&6
18629 ac_wine_try_cflags_saved
=$CFLAGS
18630 CFLAGS
="$CFLAGS -Werror=ignored-optimization-argument"
18631 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18632 /* end confdefs.h. */
18633 int main(int argc, char **argv) { return 0; }
18635 if ac_fn_c_try_link
"$LINENO"
18637 ac_cv_cflags__Werror_ignored_optimization_argument
=yes
18639 ac_cv_cflags__Werror_ignored_optimization_argument
=no
18641 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18642 conftest
$ac_exeext conftest.
$ac_ext
18643 CFLAGS
=$ac_wine_try_cflags_saved
18645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18646 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18647 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18649 CFLAGS
="$CFLAGS -Werror=ignored-optimization-argument"
18651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18652 printf %s
"checking whether the compiler supports -fcf-protection=none... " >&6; }
18653 if test ${ac_cv_cflags__fcf_protection_none+y}
18655 printf %s
"(cached) " >&6
18657 ac_wine_try_cflags_saved
=$CFLAGS
18658 CFLAGS
="$CFLAGS -fcf-protection=none"
18659 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18660 /* end confdefs.h. */
18661 int main(int argc, char **argv) { return 0; }
18663 if ac_fn_c_try_link
"$LINENO"
18665 ac_cv_cflags__fcf_protection_none
=yes
18667 ac_cv_cflags__fcf_protection_none
=no
18669 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18670 conftest
$ac_exeext conftest.
$ac_ext
18671 CFLAGS
=$ac_wine_try_cflags_saved
18673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18674 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18675 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18677 EXTRACFLAGS
="$EXTRACFLAGS -fcf-protection=none"
18679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18680 printf %s
"checking whether the compiler supports -fno-stack-protector... " >&6; }
18681 if test ${ac_cv_cflags__fno_stack_protector+y}
18683 printf %s
"(cached) " >&6
18685 ac_wine_try_cflags_saved
=$CFLAGS
18686 CFLAGS
="$CFLAGS -fno-stack-protector"
18687 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18688 /* end confdefs.h. */
18689 int main(int argc, char **argv) { return 0; }
18691 if ac_fn_c_try_link
"$LINENO"
18693 ac_cv_cflags__fno_stack_protector
=yes
18695 ac_cv_cflags__fno_stack_protector
=no
18697 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18698 conftest
$ac_exeext conftest.
$ac_ext
18699 CFLAGS
=$ac_wine_try_cflags_saved
18701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18702 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18703 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18705 EXTRACFLAGS
="$EXTRACFLAGS -fno-stack-protector"
18707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18708 printf %s
"checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18709 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18711 printf %s
"(cached) " >&6
18713 ac_wine_try_cflags_saved
=$CFLAGS
18714 CFLAGS
="$CFLAGS -fno-strict-aliasing"
18715 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18716 /* end confdefs.h. */
18717 int main(int argc, char **argv) { return 0; }
18719 if ac_fn_c_try_link
"$LINENO"
18721 ac_cv_cflags__fno_strict_aliasing
=yes
18723 ac_cv_cflags__fno_strict_aliasing
=no
18725 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18726 conftest
$ac_exeext conftest.
$ac_ext
18727 CFLAGS
=$ac_wine_try_cflags_saved
18729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18730 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18731 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18733 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
18735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18736 printf %s
"checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18737 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18739 printf %s
"(cached) " >&6
18741 ac_wine_try_cflags_saved
=$CFLAGS
18742 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
18743 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18744 /* end confdefs.h. */
18745 int main(int argc, char **argv) { return 0; }
18747 if ac_fn_c_try_link
"$LINENO"
18749 ac_cv_cflags__Wdeclaration_after_statement
=yes
18751 ac_cv_cflags__Wdeclaration_after_statement
=no
18753 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18754 conftest
$ac_exeext conftest.
$ac_ext
18755 CFLAGS
=$ac_wine_try_cflags_saved
18757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18758 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18759 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18761 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
18763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18764 printf %s
"checking whether the compiler supports -Wempty-body... " >&6; }
18765 if test ${ac_cv_cflags__Wempty_body+y}
18767 printf %s
"(cached) " >&6
18769 ac_wine_try_cflags_saved
=$CFLAGS
18770 CFLAGS
="$CFLAGS -Wempty-body"
18771 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18772 /* end confdefs.h. */
18773 int main(int argc, char **argv) { return 0; }
18775 if ac_fn_c_try_link
"$LINENO"
18777 ac_cv_cflags__Wempty_body
=yes
18779 ac_cv_cflags__Wempty_body
=no
18781 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18782 conftest
$ac_exeext conftest.
$ac_ext
18783 CFLAGS
=$ac_wine_try_cflags_saved
18785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18786 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18787 if test "x$ac_cv_cflags__Wempty_body" = xyes
18789 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
18791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18792 printf %s
"checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18793 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18795 printf %s
"(cached) " >&6
18797 ac_wine_try_cflags_saved
=$CFLAGS
18798 CFLAGS
="$CFLAGS -Wignored-qualifiers"
18799 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18800 /* end confdefs.h. */
18801 int main(int argc, char **argv) { return 0; }
18803 if ac_fn_c_try_link
"$LINENO"
18805 ac_cv_cflags__Wignored_qualifiers
=yes
18807 ac_cv_cflags__Wignored_qualifiers
=no
18809 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18810 conftest
$ac_exeext conftest.
$ac_ext
18811 CFLAGS
=$ac_wine_try_cflags_saved
18813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18814 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18815 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18817 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
18819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18820 printf %s
"checking whether the compiler supports -Winit-self... " >&6; }
18821 if test ${ac_cv_cflags__Winit_self+y}
18823 printf %s
"(cached) " >&6
18825 ac_wine_try_cflags_saved
=$CFLAGS
18826 CFLAGS
="$CFLAGS -Winit-self"
18827 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18828 /* end confdefs.h. */
18829 int main(int argc, char **argv) { return 0; }
18831 if ac_fn_c_try_link
"$LINENO"
18833 ac_cv_cflags__Winit_self
=yes
18835 ac_cv_cflags__Winit_self
=no
18837 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18838 conftest
$ac_exeext conftest.
$ac_ext
18839 CFLAGS
=$ac_wine_try_cflags_saved
18841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18842 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18843 if test "x$ac_cv_cflags__Winit_self" = xyes
18845 EXTRACFLAGS
="$EXTRACFLAGS -Winit-self"
18847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18848 printf %s
"checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18849 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18851 printf %s
"(cached) " >&6
18853 ac_wine_try_cflags_saved
=$CFLAGS
18854 CFLAGS
="$CFLAGS -Wpacked-not-aligned"
18855 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18856 /* end confdefs.h. */
18857 int main(int argc, char **argv) { return 0; }
18859 if ac_fn_c_try_link
"$LINENO"
18861 ac_cv_cflags__Wpacked_not_aligned
=yes
18863 ac_cv_cflags__Wpacked_not_aligned
=no
18865 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18866 conftest
$ac_exeext conftest.
$ac_ext
18867 CFLAGS
=$ac_wine_try_cflags_saved
18869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18870 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18871 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18873 EXTRACFLAGS
="$EXTRACFLAGS -Wno-packed-not-aligned"
18875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18876 printf %s
"checking whether the compiler supports -Wpragma-pack... " >&6; }
18877 if test ${ac_cv_cflags__Wpragma_pack+y}
18879 printf %s
"(cached) " >&6
18881 ac_wine_try_cflags_saved
=$CFLAGS
18882 CFLAGS
="$CFLAGS -Wpragma-pack"
18883 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18884 /* end confdefs.h. */
18885 int main(int argc, char **argv) { return 0; }
18887 if ac_fn_c_try_link
"$LINENO"
18889 ac_cv_cflags__Wpragma_pack
=yes
18891 ac_cv_cflags__Wpragma_pack
=no
18893 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18894 conftest
$ac_exeext conftest.
$ac_ext
18895 CFLAGS
=$ac_wine_try_cflags_saved
18897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18898 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18899 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18901 EXTRACFLAGS
="$EXTRACFLAGS -Wno-pragma-pack"
18903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18904 printf %s
"checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18905 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18907 printf %s
"(cached) " >&6
18909 ac_wine_try_cflags_saved
=$CFLAGS
18910 CFLAGS
="$CFLAGS -Wshift-overflow=2"
18911 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18912 /* end confdefs.h. */
18913 int main(int argc, char **argv) { return 0; }
18915 if ac_fn_c_try_link
"$LINENO"
18917 ac_cv_cflags__Wshift_overflow_2
=yes
18919 ac_cv_cflags__Wshift_overflow_2
=no
18921 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18922 conftest
$ac_exeext conftest.
$ac_ext
18923 CFLAGS
=$ac_wine_try_cflags_saved
18925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18926 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18927 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18929 EXTRACFLAGS
="$EXTRACFLAGS -Wshift-overflow=2"
18931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18932 printf %s
"checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18933 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18935 printf %s
"(cached) " >&6
18937 ac_wine_try_cflags_saved
=$CFLAGS
18938 CFLAGS
="$CFLAGS -Wstrict-prototypes"
18939 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18940 /* end confdefs.h. */
18941 int main(int argc, char **argv) { return 0; }
18943 if ac_fn_c_try_link
"$LINENO"
18945 ac_cv_cflags__Wstrict_prototypes
=yes
18947 ac_cv_cflags__Wstrict_prototypes
=no
18949 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18950 conftest
$ac_exeext conftest.
$ac_ext
18951 CFLAGS
=$ac_wine_try_cflags_saved
18953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18954 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18955 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18957 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
18959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18960 printf %s
"checking whether the compiler supports -Wtype-limits... " >&6; }
18961 if test ${ac_cv_cflags__Wtype_limits+y}
18963 printf %s
"(cached) " >&6
18965 ac_wine_try_cflags_saved
=$CFLAGS
18966 CFLAGS
="$CFLAGS -Wtype-limits"
18967 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18968 /* end confdefs.h. */
18969 int main(int argc, char **argv) { return 0; }
18971 if ac_fn_c_try_link
"$LINENO"
18973 ac_cv_cflags__Wtype_limits
=yes
18975 ac_cv_cflags__Wtype_limits
=no
18977 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18978 conftest
$ac_exeext conftest.
$ac_ext
18979 CFLAGS
=$ac_wine_try_cflags_saved
18981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18982 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18983 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18985 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
18987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18988 printf %s
"checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18989 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18991 printf %s
"(cached) " >&6
18993 ac_wine_try_cflags_saved
=$CFLAGS
18994 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
18995 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18996 /* end confdefs.h. */
18997 int main(int argc, char **argv) { return 0; }
18999 if ac_fn_c_try_link
"$LINENO"
19001 ac_cv_cflags__Wunused_but_set_parameter
=yes
19003 ac_cv_cflags__Wunused_but_set_parameter
=no
19005 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19006 conftest
$ac_exeext conftest.
$ac_ext
19007 CFLAGS
=$ac_wine_try_cflags_saved
19009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
19010 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
19011 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
19013 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
19015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
19016 printf %s
"checking whether the compiler supports -Wvla... " >&6; }
19017 if test ${ac_cv_cflags__Wvla+y}
19019 printf %s
"(cached) " >&6
19021 ac_wine_try_cflags_saved
=$CFLAGS
19022 CFLAGS
="$CFLAGS -Wvla"
19023 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19024 /* end confdefs.h. */
19025 int main(int argc, char **argv) { return 0; }
19027 if ac_fn_c_try_link
"$LINENO"
19029 ac_cv_cflags__Wvla
=yes
19031 ac_cv_cflags__Wvla
=no
19033 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19034 conftest
$ac_exeext conftest.
$ac_ext
19035 CFLAGS
=$ac_wine_try_cflags_saved
19037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
19038 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
19039 if test "x$ac_cv_cflags__Wvla" = xyes
19041 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
19043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
19044 printf %s
"checking whether the compiler supports -Wwrite-strings... " >&6; }
19045 if test ${ac_cv_cflags__Wwrite_strings+y}
19047 printf %s
"(cached) " >&6
19049 ac_wine_try_cflags_saved
=$CFLAGS
19050 CFLAGS
="$CFLAGS -Wwrite-strings"
19051 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19052 /* end confdefs.h. */
19053 int main(int argc, char **argv) { return 0; }
19055 if ac_fn_c_try_link
"$LINENO"
19057 ac_cv_cflags__Wwrite_strings
=yes
19059 ac_cv_cflags__Wwrite_strings
=no
19061 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19062 conftest
$ac_exeext conftest.
$ac_ext
19063 CFLAGS
=$ac_wine_try_cflags_saved
19065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
19066 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
19067 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
19069 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
19072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
19073 printf %s
"checking whether the compiler supports -Wpointer-arith... " >&6; }
19074 if test ${ac_cv_cflags__Wpointer_arith+y}
19076 printf %s
"(cached) " >&6
19078 ac_wine_try_cflags_saved
=$CFLAGS
19079 CFLAGS
="$CFLAGS -Wpointer-arith"
19080 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19081 /* end confdefs.h. */
19082 int main(int argc, char **argv) { return 0; }
19084 if ac_fn_c_try_link
"$LINENO"
19086 ac_cv_cflags__Wpointer_arith
=yes
19088 ac_cv_cflags__Wpointer_arith
=no
19090 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19091 conftest
$ac_exeext conftest.
$ac_ext
19092 CFLAGS
=$ac_wine_try_cflags_saved
19094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
19095 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19096 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19098 saved_string_h_CFLAGS
=$CFLAGS
19099 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
19100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19101 printf %s
"checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19102 if test ${ac_cv_c_string_h_warnings+y}
19104 printf %s
"(cached) " >&6
19106 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19107 /* end confdefs.h. */
19108 #include <string.h>
19117 if ac_fn_c_try_compile
"$LINENO"
19119 ac_cv_c_string_h_warnings
=no
19121 ac_cv_c_string_h_warnings
=yes
19123 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19126 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19127 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
19128 CFLAGS
=$saved_string_h_CFLAGS
19131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19132 printf %s
"checking whether the compiler supports -Wlogical-op... " >&6; }
19133 if test ${ac_cv_cflags__Wlogical_op+y}
19135 printf %s
"(cached) " >&6
19137 ac_wine_try_cflags_saved
=$CFLAGS
19138 CFLAGS
="$CFLAGS -Wlogical-op"
19139 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19140 /* end confdefs.h. */
19141 int main(int argc, char **argv) { return 0; }
19143 if ac_fn_c_try_link
"$LINENO"
19145 ac_cv_cflags__Wlogical_op
=yes
19147 ac_cv_cflags__Wlogical_op
=no
19149 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19150 conftest
$ac_exeext conftest.
$ac_ext
19151 CFLAGS
=$ac_wine_try_cflags_saved
19153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19154 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19155 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19157 saved_string_h_CFLAGS
=$CFLAGS
19158 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
19159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19160 printf %s
"checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19161 if test ${ac_cv_c_logicalop_noisy+y}
19163 printf %s
"(cached) " >&6
19165 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19166 /* end confdefs.h. */
19167 #include <string.h>
19168 char*f(const char *h,char n) {return strchr(h,n);}
19177 if ac_fn_c_try_compile
"$LINENO"
19179 ac_cv_c_logicalop_noisy
=no
19181 ac_cv_c_logicalop_noisy
=yes
19183 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19186 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19187 CFLAGS
=$saved_string_h_CFLAGS
19188 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
19191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19192 printf %s
"checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19193 if test ${wine_cv_64bit_compare_swap+y}
19195 printf %s
"(cached) " >&6
19197 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19198 /* end confdefs.h. */
19199 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19210 if ac_fn_c_try_compile
"$LINENO"
19212 wine_cv_64bit_compare_swap
="none needed"
19215 *i
[3456]86*) wine_cv_64bit_compare_swap
="-march=i586" ;;
19216 *arm
*) wine_cv_64bit_compare_swap
="-march=armv7-a" ;;
19217 *) wine_cv_64bit_compare_swap
="unknown" ;;
19219 if test "x$wine_cv_64bit_compare_swap" != xunknown
19221 CFLAGS
="$CFLAGS $wine_cv_64bit_compare_swap"
19222 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19223 /* end confdefs.h. */
19224 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19235 if ac_fn_c_try_compile
"$LINENO"
19239 wine_cv_64bit_compare_swap
="unknown"
19241 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19242 CFLAGS
=$saved_CFLAGS
19245 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19248 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19249 case "$wine_cv_64bit_compare_swap" in
19250 unknown
) as_fn_error $?
"gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19252 *) EXTRACFLAGS
="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19255 ac_debug_format_seen
=""
19256 for ac_flag
in $CFLAGS; do
19258 -gdwarf*) ac_debug_format_seen
=yes ;;
19259 -g) ac_debug_format_seen
=${ac_debug_format_seen:-default} ;;
19262 if test "x$ac_debug_format_seen" = xdefault
19264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19265 printf %s
"checking whether the compiler supports -gdwarf-4... " >&6; }
19266 if test ${ac_cv_cflags__gdwarf_4+y}
19268 printf %s
"(cached) " >&6
19270 ac_wine_try_cflags_saved
=$CFLAGS
19271 CFLAGS
="$CFLAGS -gdwarf-4"
19272 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19273 /* end confdefs.h. */
19274 int main(int argc, char **argv) { return 0; }
19276 if ac_fn_c_try_link
"$LINENO"
19278 ac_cv_cflags__gdwarf_4
=yes
19280 ac_cv_cflags__gdwarf_4
=no
19282 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19283 conftest
$ac_exeext conftest.
$ac_ext
19284 CFLAGS
=$ac_wine_try_cflags_saved
19286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19287 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19288 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19290 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-4"
19297 mingw32
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19298 printf %s
"checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19299 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19301 printf %s
"(cached) " >&6
19303 ac_wine_try_cflags_saved
=$CFLAGS
19304 CFLAGS
="$CFLAGS -Wl,-delayload,autoconftest.dll"
19305 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19306 /* end confdefs.h. */
19307 int main(int argc, char **argv) { return 0; }
19309 if ac_fn_c_try_link
"$LINENO"
19311 ac_cv_cflags__Wl__delayload_autoconftest_dll
=yes
19313 ac_cv_cflags__Wl__delayload_autoconftest_dll
=no
19315 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19316 conftest
$ac_exeext conftest.
$ac_ext
19317 CFLAGS
=$ac_wine_try_cflags_saved
19319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19320 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19321 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19323 DELAYLOADFLAG
="-Wl,-delayload,"
19326 *) MSVCRTFLAGS
="-D_WIN32"
19327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19328 printf %s
"checking whether the compiler supports -fno-builtin... " >&6; }
19329 if test ${ac_cv_cflags__fno_builtin+y}
19331 printf %s
"(cached) " >&6
19333 ac_wine_try_cflags_saved
=$CFLAGS
19334 CFLAGS
="$CFLAGS -fno-builtin"
19335 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19336 /* end confdefs.h. */
19337 int main(int argc, char **argv) { return 0; }
19339 if ac_fn_c_try_link
"$LINENO"
19341 ac_cv_cflags__fno_builtin
=yes
19343 ac_cv_cflags__fno_builtin
=no
19345 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19346 conftest
$ac_exeext conftest.
$ac_ext
19347 CFLAGS
=$ac_wine_try_cflags_saved
19349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19350 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19351 if test "x$ac_cv_cflags__fno_builtin" = xyes
19353 MSVCRTFLAGS
="$MSVCRTFLAGS -fno-builtin"
19355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19356 printf %s
"checking whether the compiler supports -fshort-wchar... " >&6; }
19357 if test ${ac_cv_cflags__fshort_wchar+y}
19359 printf %s
"(cached) " >&6
19361 ac_wine_try_cflags_saved
=$CFLAGS
19362 CFLAGS
="$CFLAGS -fshort-wchar"
19363 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19364 /* end confdefs.h. */
19365 int main(int argc, char **argv) { return 0; }
19367 if ac_fn_c_try_link
"$LINENO"
19369 ac_cv_cflags__fshort_wchar
=yes
19371 ac_cv_cflags__fshort_wchar
=no
19373 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19374 conftest
$ac_exeext conftest.
$ac_ext
19375 CFLAGS
=$ac_wine_try_cflags_saved
19377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19378 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19379 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19381 MSVCRTFLAGS
="$MSVCRTFLAGS -fshort-wchar"
19383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19384 printf %s
"checking whether the compiler supports -Wno-format... " >&6; }
19385 if test ${ac_cv_cflags__Wno_format+y}
19387 printf %s
"(cached) " >&6
19389 ac_wine_try_cflags_saved
=$CFLAGS
19390 CFLAGS
="$CFLAGS -Wno-format"
19391 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19392 /* end confdefs.h. */
19393 int main(int argc, char **argv) { return 0; }
19395 if ac_fn_c_try_link
"$LINENO"
19397 ac_cv_cflags__Wno_format
=yes
19399 ac_cv_cflags__Wno_format
=no
19401 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19402 conftest
$ac_exeext conftest.
$ac_ext
19403 CFLAGS
=$ac_wine_try_cflags_saved
19405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19406 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19407 if test "x$ac_cv_cflags__Wno_format" = xyes
19409 MSVCRTFLAGS
="$MSVCRTFLAGS -Wno-format"
19414 *i
[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19415 printf %s
"checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19416 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19418 printf %s
"(cached) " >&6
19420 ac_wine_try_cflags_saved
=$CFLAGS
19421 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
19422 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19423 /* end confdefs.h. */
19424 int main(int argc, char **argv) { return 0; }
19426 if ac_fn_c_try_link
"$LINENO"
19428 ac_cv_cflags__fno_omit_frame_pointer
=yes
19430 ac_cv_cflags__fno_omit_frame_pointer
=no
19432 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19433 conftest
$ac_exeext conftest.
$ac_ext
19434 CFLAGS
=$ac_wine_try_cflags_saved
19436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19437 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19438 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19440 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
19444 cygwin
*|mingw32
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19445 printf %s
"checking whether the compiler supports -Wno-format... " >&6; }
19446 if test ${ac_cv_cflags__Wno_format+y}
19448 printf %s
"(cached) " >&6
19450 ac_wine_try_cflags_saved
=$CFLAGS
19451 CFLAGS
="$CFLAGS -Wno-format"
19452 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19453 /* end confdefs.h. */
19454 int main(int argc, char **argv) { return 0; }
19456 if ac_fn_c_try_link
"$LINENO"
19458 ac_cv_cflags__Wno_format
=yes
19460 ac_cv_cflags__Wno_format
=no
19462 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19463 conftest
$ac_exeext conftest.
$ac_ext
19464 CFLAGS
=$ac_wine_try_cflags_saved
19466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19467 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19468 if test "x$ac_cv_cflags__Wno_format" = xyes
19470 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
19472 *) if test -z "$PE_ARCHS"
19474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19475 printf %s
"checking for working -mabi=ms... " >&6; }
19476 if test ${ac_cv_mabi_ms+y}
19478 printf %s
"(cached) " >&6
19480 CFLAGS
="$CFLAGS -mabi=ms"
19481 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19482 /* end confdefs.h. */
19483 #include <stdarg.h>
19484 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19493 if ac_fn_c_try_compile
"$LINENO"
19499 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19500 CFLAGS
=$saved_CFLAGS
19502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19503 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19504 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
19506 MSVCRTFLAGS
="$MSVCRTFLAGS -mabi=ms" ;;
19509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19510 printf %s
"checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19511 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19513 printf %s
"(cached) " >&6
19515 ac_wine_try_cflags_saved
=$CFLAGS
19516 CFLAGS
="$CFLAGS -Wincompatible-function-pointer-types"
19517 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19518 /* end confdefs.h. */
19519 int main(int argc, char **argv) { return 0; }
19521 if ac_fn_c_try_link
"$LINENO"
19523 ac_cv_cflags__Wincompatible_function_pointer_types
=yes
19525 ac_cv_cflags__Wincompatible_function_pointer_types
=no
19527 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19528 conftest
$ac_exeext conftest.
$ac_ext
19529 CFLAGS
=$ac_wine_try_cflags_saved
19531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
19532 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19533 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19535 EXTRACFLAGS
="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19539 CFLAGS
=$saved_CFLAGS
19541 if test "x$enable_werror" = "xyes"
19543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19544 printf %s
"checking whether the compiler supports -Werror... " >&6; }
19545 if test ${ac_cv_cflags__Werror+y}
19547 printf %s
"(cached) " >&6
19549 ac_wine_try_cflags_saved
=$CFLAGS
19550 CFLAGS
="$CFLAGS -Werror"
19551 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19552 /* end confdefs.h. */
19553 int main(int argc, char **argv) { return 0; }
19555 if ac_fn_c_try_link
"$LINENO"
19557 ac_cv_cflags__Werror
=yes
19559 ac_cv_cflags__Werror
=no
19561 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19562 conftest
$ac_exeext conftest.
$ac_ext
19563 CFLAGS
=$ac_wine_try_cflags_saved
19565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19566 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19567 if test "x$ac_cv_cflags__Werror" = xyes
19569 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
19572 if test "x$enable_build_id" = "xyes"
19574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19575 printf %s
"checking whether the compiler supports -Wl,--build-id... " >&6; }
19576 if test ${ac_cv_cflags__Wl___build_id+y}
19578 printf %s
"(cached) " >&6
19580 ac_wine_try_cflags_saved
=$CFLAGS
19581 CFLAGS
="$CFLAGS -Wl,--build-id"
19582 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19583 /* end confdefs.h. */
19584 int main(int argc, char **argv) { return 0; }
19586 if ac_fn_c_try_link
"$LINENO"
19588 ac_cv_cflags__Wl___build_id
=yes
19590 ac_cv_cflags__Wl___build_id
=no
19592 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19593 conftest
$ac_exeext conftest.
$ac_ext
19594 CFLAGS
=$ac_wine_try_cflags_saved
19596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19597 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19598 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19600 CFLAGS
="$CFLAGS -Wl,--build-id"
19601 LDFLAGS
="$LDFLAGS -Wl,--build-id"
19607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19608 printf %s
"checking for the need to disable Fortify... " >&6; }
19609 if test ${ac_cv_c_fortify_enabled+y}
19611 printf %s
"(cached) " >&6
19613 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19614 /* end confdefs.h. */
19615 #include <string.h>
19619 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19620 #error Fortify enabled
19626 if ac_fn_c_try_compile
"$LINENO"
19628 ac_cv_c_fortify_enabled
=no
19630 ac_cv_c_fortify_enabled
=yes
19632 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19635 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19636 if test "$ac_cv_c_fortify_enabled" = yes
19638 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19643 printf %s
"checking whether CFI directives are supported in assembly code... " >&6; }
19644 if test ${ac_cv_c_cfi_support+y}
19646 printf %s
"(cached) " >&6
19648 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19649 /* end confdefs.h. */
19650 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19659 if ac_fn_c_try_compile
"$LINENO"
19661 ac_cv_c_cfi_support
="yes"
19663 ac_cv_c_cfi_support
="no"
19665 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19668 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19669 if test "$ac_cv_c_cfi_support" = "yes"
19671 DLLFLAGS
="$DLLFLAGS -fasynchronous-unwind-tables"
19672 LDDLLFLAGS
="$LDDLLFLAGS -fasynchronous-unwind-tables"
19673 UNIXDLLFLAGS
="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19674 elif test $HOST_ARCH = x86_64
19676 as_fn_append wine_warnings
"|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19683 *i
[3456789]86*|x86_64
*|
*aarch64
*|arm
*)
19684 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine-preloader"
19685 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
19692 ac_save_CFLAGS
="$CFLAGS"
19693 CFLAGS
="$CFLAGS $BUILTINFLAG"
19694 ac_fn_c_check_func
"$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19695 if test "x$ac_cv_func_epoll_create" = xyes
19697 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19700 ac_fn_c_check_func
"$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19701 if test "x$ac_cv_func_fstatfs" = xyes
19703 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19706 ac_fn_c_check_func
"$LINENO" "futimens" "ac_cv_func_futimens"
19707 if test "x$ac_cv_func_futimens" = xyes
19709 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19712 ac_fn_c_check_func
"$LINENO" "futimes" "ac_cv_func_futimes"
19713 if test "x$ac_cv_func_futimes" = xyes
19715 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19718 ac_fn_c_check_func
"$LINENO" "futimesat" "ac_cv_func_futimesat"
19719 if test "x$ac_cv_func_futimesat" = xyes
19721 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19724 ac_fn_c_check_func
"$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19725 if test "x$ac_cv_func_getattrlist" = xyes
19727 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19730 ac_fn_c_check_func
"$LINENO" "getauxval" "ac_cv_func_getauxval"
19731 if test "x$ac_cv_func_getauxval" = xyes
19733 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19736 ac_fn_c_check_func
"$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19737 if test "x$ac_cv_func_getifaddrs" = xyes
19739 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19742 ac_fn_c_check_func
"$LINENO" "getrandom" "ac_cv_func_getrandom"
19743 if test "x$ac_cv_func_getrandom" = xyes
19745 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19748 ac_fn_c_check_func
"$LINENO" "kqueue" "ac_cv_func_kqueue"
19749 if test "x$ac_cv_func_kqueue" = xyes
19751 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19754 ac_fn_c_check_func
"$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19755 if test "x$ac_cv_func_mach_continuous_time" = xyes
19757 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19760 ac_fn_c_check_func
"$LINENO" "pipe2" "ac_cv_func_pipe2"
19761 if test "x$ac_cv_func_pipe2" = xyes
19763 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19766 ac_fn_c_check_func
"$LINENO" "port_create" "ac_cv_func_port_create"
19767 if test "x$ac_cv_func_port_create" = xyes
19769 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
19772 ac_fn_c_check_func
"$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
19773 if test "x$ac_cv_func_posix_fadvise" = xyes
19775 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
19778 ac_fn_c_check_func
"$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
19779 if test "x$ac_cv_func_posix_fallocate" = xyes
19781 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
19784 ac_fn_c_check_func
"$LINENO" "prctl" "ac_cv_func_prctl"
19785 if test "x$ac_cv_func_prctl" = xyes
19787 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
19790 ac_fn_c_check_func
"$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
19791 if test "x$ac_cv_func_proc_pidinfo" = xyes
19793 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
19796 ac_fn_c_check_func
"$LINENO" "sched_yield" "ac_cv_func_sched_yield"
19797 if test "x$ac_cv_func_sched_yield" = xyes
19799 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
19802 ac_fn_c_check_func
"$LINENO" "setproctitle" "ac_cv_func_setproctitle"
19803 if test "x$ac_cv_func_setproctitle" = xyes
19805 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
19808 ac_fn_c_check_func
"$LINENO" "setprogname" "ac_cv_func_setprogname"
19809 if test "x$ac_cv_func_setprogname" = xyes
19811 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
19814 ac_fn_c_check_func
"$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
19815 if test "x$ac_cv_func_sigprocmask" = xyes
19817 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
19820 ac_fn_c_check_func
"$LINENO" "sysinfo" "ac_cv_func_sysinfo"
19821 if test "x$ac_cv_func_sysinfo" = xyes
19823 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
19826 ac_fn_c_check_func
"$LINENO" "tcdrain" "ac_cv_func_tcdrain"
19827 if test "x$ac_cv_func_tcdrain" = xyes
19829 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
19832 ac_fn_c_check_func
"$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
19833 if test "x$ac_cv_func_thr_kill2" = xyes
19835 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
19839 CFLAGS
="$ac_save_CFLAGS"
19841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19842 printf %s
"checking for library containing dlopen... " >&6; }
19843 if test ${ac_cv_search_dlopen+y}
19845 printf %s
"(cached) " >&6
19847 ac_func_search_save_LIBS
=$LIBS
19848 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19849 /* end confdefs.h. */
19851 /* Override any GCC internal prototype to avoid an error.
19852 Use char because int might match the return type of a GCC
19853 builtin and then its argument prototype would still apply. */
19863 for ac_lib
in '' dl
19865 if test -z "$ac_lib"; then
19866 ac_res
="none required"
19869 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19871 if ac_fn_c_try_link
"$LINENO"
19873 ac_cv_search_dlopen
=$ac_res
19875 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19877 if test ${ac_cv_search_dlopen+y}
19882 if test ${ac_cv_search_dlopen+y}
19886 ac_cv_search_dlopen
=no
19888 rm conftest.
$ac_ext
19889 LIBS
=$ac_func_search_save_LIBS
19891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19892 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19893 ac_res
=$ac_cv_search_dlopen
19894 if test "$ac_res" != no
19896 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19900 ac_wine_check_funcs_save_LIBS
="$LIBS"
19901 LIBS
="$LIBS $DL_LIBS"
19902 ac_fn_c_check_func
"$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19903 if test "x$ac_cv_func_dlinfo" = xyes
19905 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19909 LIBS
="$ac_wine_check_funcs_save_LIBS"
19911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19912 printf %s
"checking for library containing gethostbyname... " >&6; }
19913 if test ${ac_cv_search_gethostbyname+y}
19915 printf %s
"(cached) " >&6
19917 ac_func_search_save_LIBS
=$LIBS
19918 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19919 /* end confdefs.h. */
19921 /* Override any GCC internal prototype to avoid an error.
19922 Use char because int might match the return type of a GCC
19923 builtin and then its argument prototype would still apply. */
19924 char gethostbyname ();
19928 return gethostbyname ();
19933 for ac_lib
in '' nsl
19935 if test -z "$ac_lib"; then
19936 ac_res
="none required"
19939 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19941 if ac_fn_c_try_link
"$LINENO"
19943 ac_cv_search_gethostbyname
=$ac_res
19945 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19947 if test ${ac_cv_search_gethostbyname+y}
19952 if test ${ac_cv_search_gethostbyname+y}
19956 ac_cv_search_gethostbyname
=no
19958 rm conftest.
$ac_ext
19959 LIBS
=$ac_func_search_save_LIBS
19961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19962 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19963 ac_res
=$ac_cv_search_gethostbyname
19964 if test "$ac_res" != no
19966 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19972 printf %s
"checking for library containing connect... " >&6; }
19973 if test ${ac_cv_search_connect+y}
19975 printf %s
"(cached) " >&6
19977 ac_func_search_save_LIBS
=$LIBS
19978 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19979 /* end confdefs.h. */
19981 /* Override any GCC internal prototype to avoid an error.
19982 Use char because int might match the return type of a GCC
19983 builtin and then its argument prototype would still apply. */
19993 for ac_lib
in '' socket
19995 if test -z "$ac_lib"; then
19996 ac_res
="none required"
19999 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20001 if ac_fn_c_try_link
"$LINENO"
20003 ac_cv_search_connect
=$ac_res
20005 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20007 if test ${ac_cv_search_connect+y}
20012 if test ${ac_cv_search_connect+y}
20016 ac_cv_search_connect
=no
20018 rm conftest.
$ac_ext
20019 LIBS
=$ac_func_search_save_LIBS
20021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
20022 printf "%s\n" "$ac_cv_search_connect" >&6; }
20023 ac_res
=$ac_cv_search_connect
20024 if test "$ac_res" != no
20026 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
20032 printf %s
"checking for library containing inet_aton... " >&6; }
20033 if test ${ac_cv_search_inet_aton+y}
20035 printf %s
"(cached) " >&6
20037 ac_func_search_save_LIBS
=$LIBS
20038 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20039 /* end confdefs.h. */
20041 /* Override any GCC internal prototype to avoid an error.
20042 Use char because int might match the return type of a GCC
20043 builtin and then its argument prototype would still apply. */
20048 return inet_aton ();
20053 for ac_lib
in '' resolv
20055 if test -z "$ac_lib"; then
20056 ac_res
="none required"
20059 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20061 if ac_fn_c_try_link
"$LINENO"
20063 ac_cv_search_inet_aton
=$ac_res
20065 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20067 if test ${ac_cv_search_inet_aton+y}
20072 if test ${ac_cv_search_inet_aton+y}
20076 ac_cv_search_inet_aton
=no
20078 rm conftest.
$ac_ext
20079 LIBS
=$ac_func_search_save_LIBS
20081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
20082 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
20083 ac_res
=$ac_cv_search_inet_aton
20084 if test "$ac_res" != no
20086 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20091 ac_fn_c_check_func
"$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
20092 if test "x$ac_cv_func_getaddrinfo" = xyes
20094 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
20100 darwin
*|macosx
*) ;;
20101 *) ac_save_LIBS
=$LIBS
20102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20103 printf %s
"checking for library containing clock_gettime... " >&6; }
20104 if test ${ac_cv_search_clock_gettime+y}
20106 printf %s
"(cached) " >&6
20108 ac_func_search_save_LIBS
=$LIBS
20109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20110 /* end confdefs.h. */
20112 /* Override any GCC internal prototype to avoid an error.
20113 Use char because int might match the return type of a GCC
20114 builtin and then its argument prototype would still apply. */
20115 char clock_gettime ();
20119 return clock_gettime ();
20124 for ac_lib
in '' rt
20126 if test -z "$ac_lib"; then
20127 ac_res
="none required"
20130 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20132 if ac_fn_c_try_link
"$LINENO"
20134 ac_cv_search_clock_gettime
=$ac_res
20136 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20138 if test ${ac_cv_search_clock_gettime+y}
20143 if test ${ac_cv_search_clock_gettime+y}
20147 ac_cv_search_clock_gettime
=no
20149 rm conftest.
$ac_ext
20150 LIBS
=$ac_func_search_save_LIBS
20152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20153 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20154 ac_res
=$ac_cv_search_clock_gettime
20155 if test "$ac_res" != no
20157 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20159 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20161 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
20169 if test "x$with_ldap" != "xno"
20171 if ${LDAP_CFLAGS:+false} :
20173 if test ${PKG_CONFIG+y}
20175 LDAP_CFLAGS
=`$PKG_CONFIG --cflags openldap 2>/dev/null`
20179 if ${LDAP_LIBS:+false} :
20181 if test ${PKG_CONFIG+y}
20183 LDAP_LIBS
=`$PKG_CONFIG --libs openldap 2>/dev/null`
20187 LDAP_LIBS
=${LDAP_LIBS:-"-lldap -llber"}
20188 printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
20189 printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
20190 ac_save_CPPFLAGS
=$CPPFLAGS
20191 CPPFLAGS
="$CPPFLAGS $LDAP_CFLAGS"
20192 ac_fn_c_check_header_compile
"$LINENO" "ldap.h" "ac_cv_header_ldap_h" "$ac_includes_default"
20193 if test "x$ac_cv_header_ldap_h" = xyes
20195 printf "%s\n" "#define HAVE_LDAP_H 1" >>confdefs.h
20198 ac_fn_c_check_header_compile
"$LINENO" "lber.h" "ac_cv_header_lber_h" "$ac_includes_default"
20199 if test "x$ac_cv_header_lber_h" = xyes
20201 printf "%s\n" "#define HAVE_LBER_H 1" >>confdefs.h
20205 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
20207 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
20209 if test "x$ac_cv_type_LDAPSortKey" = xyes
20211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap" >&5
20212 printf %s
"checking for ldap_initialize in -lldap... " >&6; }
20213 if test ${ac_cv_lib_ldap_ldap_initialize+y}
20215 printf %s
"(cached) " >&6
20217 ac_check_lib_save_LIBS
=$LIBS
20218 LIBS
="-lldap $PTHREAD_LIBS $LDAP_LIBS $LIBS"
20219 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20220 /* end confdefs.h. */
20222 /* Override any GCC internal prototype to avoid an error.
20223 Use char because int might match the return type of a GCC
20224 builtin and then its argument prototype would still apply. */
20225 char ldap_initialize ();
20229 return ldap_initialize ();
20234 if ac_fn_c_try_link
"$LINENO"
20236 ac_cv_lib_ldap_ldap_initialize
=yes
20238 ac_cv_lib_ldap_ldap_initialize
=no
20240 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20241 conftest
$ac_exeext conftest.
$ac_ext
20242 LIBS
=$ac_check_lib_save_LIBS
20244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_ldap_initialize" >&5
20245 printf "%s\n" "$ac_cv_lib_ldap_ldap_initialize" >&6; }
20246 if test "x$ac_cv_lib_ldap_ldap_initialize" = xyes
20248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
20249 printf %s
"checking for ber_init in -llber... " >&6; }
20250 if test ${ac_cv_lib_lber_ber_init+y}
20252 printf %s
"(cached) " >&6
20254 ac_check_lib_save_LIBS
=$LIBS
20255 LIBS
="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
20256 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20257 /* end confdefs.h. */
20259 /* Override any GCC internal prototype to avoid an error.
20260 Use char because int might match the return type of a GCC
20261 builtin and then its argument prototype would still apply. */
20266 return ber_init ();
20271 if ac_fn_c_try_link
"$LINENO"
20273 ac_cv_lib_lber_ber_init
=yes
20275 ac_cv_lib_lber_ber_init
=no
20277 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20278 conftest
$ac_exeext conftest.
$ac_ext
20279 LIBS
=$ac_check_lib_save_LIBS
20281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
20282 printf "%s\n" "$ac_cv_lib_lber_ber_init" >&6; }
20283 if test "x$ac_cv_lib_lber_ber_init" = xyes
20286 printf "%s\n" "#define HAVE_LDAP 1" >>confdefs.h
20303 CPPFLAGS
=$ac_save_CPPFLAGS
20306 if test "x$LDAP_LIBS" = "x"
20308 case "x$with_ldap" in
20309 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
20311 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
20312 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
20317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20318 printf %s
"checking for sched_setaffinity... " >&6; }
20319 if test ${wine_cv_have_sched_setaffinity+y}
20321 printf %s
"(cached) " >&6
20323 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20324 /* end confdefs.h. */
20329 sched_setaffinity(0, 0, 0);
20334 if ac_fn_c_try_link
"$LINENO"
20336 wine_cv_have_sched_setaffinity
=yes
20338 wine_cv_have_sched_setaffinity
=no
20340 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20341 conftest
$ac_exeext conftest.
$ac_ext
20343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20344 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20345 if test "$wine_cv_have_sched_setaffinity" = "yes"
20348 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20354 printf %s
"checking for inline... " >&6; }
20355 if test ${ac_cv_c_inline+y}
20357 printf %s
"(cached) " >&6
20360 for ac_kw
in inline __inline__ __inline
; do
20361 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20362 /* end confdefs.h. */
20363 #ifndef __cplusplus
20365 static $ac_kw foo_t static_foo (void) {return 0; }
20366 $ac_kw foo_t foo (void) {return 0; }
20370 if ac_fn_c_try_compile
"$LINENO"
20372 ac_cv_c_inline
=$ac_kw
20374 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20375 test "$ac_cv_c_inline" != no
&& break
20379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20380 printf "%s\n" "$ac_cv_c_inline" >&6; }
20382 case $ac_cv_c_inline in
20385 case $ac_cv_c_inline in
20387 *) ac_val
=$ac_cv_c_inline;;
20389 cat >>confdefs.h
<<_ACEOF
20390 #ifndef __cplusplus
20391 #define inline $ac_val
20397 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
20398 #include <signal.h>
20400 if test "x$ac_cv_type_sigset_t" = xyes
20403 printf "%s\n" "#define HAVE_SIGSET_T 1" >>confdefs.h
20408 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20410 if test "x$ac_cv_type_request_sense" = xyes
20413 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20419 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20420 #include <sys/socket.h>
20421 #ifdef HAVE_SYS_SOCKETVAR_H
20422 #include <sys/socketvar.h>
20424 #ifdef HAVE_NET_ROUTE_H
20425 #include <net/route.h>
20427 #ifdef HAVE_NETINET_IN_H
20428 #include <netinet/in.h>
20430 #ifdef HAVE_NETINET_IN_SYSTM_H
20431 #include <netinet/in_systm.h>
20433 #ifdef HAVE_NETINET_IP_H
20434 #include <netinet/ip.h>
20436 #ifdef HAVE_NETINET_IN_PCB_H
20437 #include <netinet/in_pcb.h>
20440 if test "x$ac_cv_type_struct_xinpgen" = xyes
20443 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
20450 printf %s
"checking for sigaddset... " >&6; }
20451 if test ${wine_cv_have_sigaddset+y}
20453 printf %s
"(cached) " >&6
20455 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20456 /* end confdefs.h. */
20457 #include <signal.h>
20461 sigset_t set; sigaddset(&set,SIGTERM);
20466 if ac_fn_c_try_link
"$LINENO"
20468 wine_cv_have_sigaddset
=yes
20470 wine_cv_have_sigaddset
=no
20472 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20473 conftest
$ac_exeext conftest.
$ac_ext
20475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
20476 printf "%s\n" "$wine_cv_have_sigaddset" >&6; }
20477 if test "$wine_cv_have_sigaddset" = "yes"
20480 printf "%s\n" "#define HAVE_SIGADDSET 1" >>confdefs.h
20485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20486 printf %s
"checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20487 if test ${wine_cv_linux_gethostbyname_r_6+y}
20489 printf %s
"(cached) " >&6
20491 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20492 /* end confdefs.h. */
20500 struct hostent *result;
20507 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20508 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20514 if ac_fn_c_try_link
"$LINENO"
20516 wine_cv_linux_gethostbyname_r_6
=yes
20518 wine_cv_linux_gethostbyname_r_6
=no
20521 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20522 conftest
$ac_exeext conftest.
$ac_ext
20525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20526 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20527 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20530 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20534 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20535 #include <sys/socket.h>
20536 #ifdef HAVE_SYS_UN_H
20537 # include <sys/un.h>
20540 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20543 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20547 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20548 #include <sys/socket.h>
20549 #ifdef HAVE_SYS_UN_H
20550 # include <sys/un.h>
20553 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20556 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20562 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20563 #ifdef HAVE_SCSI_SG_H
20564 #include <scsi/sg.h>
20567 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20570 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20574 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>
20575 #ifdef HAVE_SCSI_SG_H
20576 #include <scsi/sg.h>
20579 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20582 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20588 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20590 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20593 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20599 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20600 #ifdef HAVE_SYS_MTIO_H
20601 #include <sys/mtio.h>
20604 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20607 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20611 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20612 #ifdef HAVE_SYS_MTIO_H
20613 #include <sys/mtio.h>
20616 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20619 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20623 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20624 #ifdef HAVE_SYS_MTIO_H
20625 #include <sys/mtio.h>
20628 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20631 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20637 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20638 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20641 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20645 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20646 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20649 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20653 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20654 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20657 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20661 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20662 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20665 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20669 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20670 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20673 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20677 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20678 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20681 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20685 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20686 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20689 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20693 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20694 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20697 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20701 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20702 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20705 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20709 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20710 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20713 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20717 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20718 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20721 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20727 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>
20728 #ifdef HAVE_NETINET_IN_H
20729 #include <netinet/in.h>
20732 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20735 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20741 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
20742 #include <resolv.h>
20745 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20748 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20754 ac_fn_c_check_member
"$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20755 #include <netinet/in.h>
20758 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20761 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20767 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20768 #ifdef HAVE_SYS_SOCKETVAR_H
20769 #include <sys/socketvar.h>
20771 #ifdef HAVE_NETINET_IN_H
20772 #include <netinet/in.h>
20774 #ifdef HAVE_NETINET_IP_VAR_H
20775 #include <netinet/ip_var.h>
20778 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20781 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20787 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
20788 #include <netinet/ip_var.h>
20791 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20794 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20800 ac_fn_c_check_member
"$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20801 #ifdef HAVE_SYS_SOCKETVAR_H
20802 #include <sys/socketvar.h>
20804 #ifdef HAVE_NETINET_IN_H
20805 #include <netinet/in.h>
20807 #ifdef HAVE_NETINET6_IP6_VAR_H
20808 #include <netinet6/ip6_var.h>
20811 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20814 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20820 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20821 #ifdef HAVE_SYS_SOCKETVAR_H
20822 #include <sys/socketvar.h>
20824 #ifdef HAVE_NETINET_IN_H
20825 #include <netinet/in.h>
20827 #ifdef HAVE_NETINET_IP_H
20828 #include <netinet/ip.h>
20830 #ifdef HAVE_NETINET_IP_ICMP_H
20831 #include <netinet/ip_icmp.h>
20833 #ifdef HAVE_NETINET_ICMP_VAR_H
20834 #include <netinet/icmp_var.h>
20837 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20840 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20846 ac_fn_c_check_member
"$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20847 #ifdef HAVE_SYS_SOCKETVAR_H
20848 #include <sys/socketvar.h>
20850 #ifdef HAVE_NETINET_IN_H
20851 #include <netinet/in.h>
20853 #ifdef HAVE_NETINET_ICMP6_H
20854 #include <netinet/icmp6.h>
20857 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20860 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20866 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20867 #ifdef HAVE_SYS_SOCKETVAR_H
20868 #include <sys/socketvar.h>
20870 #ifdef HAVE_NETINET_IN_H
20871 #include <netinet/in.h>
20873 #ifdef HAVE_NETINET_TCP_H
20874 #include <netinet/tcp.h>
20876 #ifdef HAVE_NETINET_TCP_VAR_H
20877 #include <netinet/tcp_var.h>
20880 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20883 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20889 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
20890 #include <netinet/tcp_var.h>
20893 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20896 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20902 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20903 #ifdef HAVE_NETINET_IN_H
20904 #include <netinet/in.h>
20906 #ifdef HAVE_NETINET_IP_VAR_H
20907 #include <netinet/ip_var.h>
20909 #ifdef HAVE_NETINET_UDP_H
20910 #include <netinet/udp.h>
20912 #ifdef HAVE_NETINET_UDP_VAR_H
20913 #include <netinet/udp_var.h>
20916 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20919 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20925 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20926 #ifdef HAVE_NET_IF_H
20927 # include <net/if.h>
20930 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20933 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20939 ac_fn_c_check_member
"$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20940 # include <sys/sysinfo.h>
20943 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20946 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20950 ac_fn_c_check_member
"$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20951 # include <sys/sysinfo.h>
20954 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20957 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20963 LIBS
="$ac_save_LIBS"
20965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20966 printf %s
"checking for __builtin_popcount... " >&6; }
20967 if test ${ac_cv_have___builtin_popcount+y}
20969 printf %s
"(cached) " >&6
20971 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20972 /* end confdefs.h. */
20977 return __builtin_popcount(1)
20982 if ac_fn_c_try_link
"$LINENO"
20984 ac_cv_have___builtin_popcount
="yes"
20986 ac_cv_have___builtin_popcount
="no"
20988 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20989 conftest
$ac_exeext conftest.
$ac_ext
20991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20992 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20993 if test "$ac_cv_have___builtin_popcount" = "yes"
20996 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
21000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
21001 printf %s
"checking for __clear_cache... " >&6; }
21002 if test ${ac_cv_have___clear_cache+y}
21004 printf %s
"(cached) " >&6
21006 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21007 /* end confdefs.h. */
21012 __clear_cache((void*)0, (void*)0); return 0;
21017 if ac_fn_c_try_link
"$LINENO"
21019 ac_cv_have___clear_cache
="yes"
21021 ac_cv_have___clear_cache
="no"
21023 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
21024 conftest
$ac_exeext conftest.
$ac_ext
21026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
21027 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
21028 if test "$ac_cv_have___clear_cache" = "yes"
21031 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
21037 *i
[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
21038 printf %s
"checking whether we need to define __i386__... " >&6; }
21039 if test ${ac_cv_cpp_def___i386__+y}
21041 printf %s
"(cached) " >&6
21043 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21044 /* end confdefs.h. */
21049 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21050 $EGREP "yes" >/dev
/null
2>&1
21052 ac_cv_cpp_def___i386__
=yes
21054 ac_cv_cpp_def___i386__
=no
21059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
21060 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
21061 if test "x$ac_cv_cpp_def___i386__" = xyes
21063 CFLAGS
="$CFLAGS -D__i386__"
21064 LINTFLAGS
="$LINTFLAGS -D__i386__"
21066 *x86_64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
21067 printf %s
"checking whether we need to define __x86_64__... " >&6; }
21068 if test ${ac_cv_cpp_def___x86_64__+y}
21070 printf %s
"(cached) " >&6
21072 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21073 /* end confdefs.h. */
21078 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21079 $EGREP "yes" >/dev
/null
2>&1
21081 ac_cv_cpp_def___x86_64__
=yes
21083 ac_cv_cpp_def___x86_64__
=no
21088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
21089 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
21090 if test "x$ac_cv_cpp_def___x86_64__" = xyes
21092 CFLAGS
="$CFLAGS -D__x86_64__"
21093 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
21095 *sparc64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
21096 printf %s
"checking whether we need to define __sparc64__... " >&6; }
21097 if test ${ac_cv_cpp_def___sparc64__+y}
21099 printf %s
"(cached) " >&6
21101 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21102 /* end confdefs.h. */
21103 #ifndef __sparc64__
21107 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21108 $EGREP "yes" >/dev
/null
2>&1
21110 ac_cv_cpp_def___sparc64__
=yes
21112 ac_cv_cpp_def___sparc64__
=no
21117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
21118 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
21119 if test "x$ac_cv_cpp_def___sparc64__" = xyes
21121 CFLAGS
="$CFLAGS -D__sparc64__"
21122 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
21124 *sparc
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
21125 printf %s
"checking whether we need to define __sparc__... " >&6; }
21126 if test ${ac_cv_cpp_def___sparc__+y}
21128 printf %s
"(cached) " >&6
21130 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21131 /* end confdefs.h. */
21136 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21137 $EGREP "yes" >/dev
/null
2>&1
21139 ac_cv_cpp_def___sparc__
=yes
21141 ac_cv_cpp_def___sparc__
=no
21146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
21147 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
21148 if test "x$ac_cv_cpp_def___sparc__" = xyes
21150 CFLAGS
="$CFLAGS -D__sparc__"
21151 LINTFLAGS
="$LINTFLAGS -D__sparc__"
21153 *powerpc64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
21154 printf %s
"checking whether we need to define __powerpc64__... " >&6; }
21155 if test ${ac_cv_cpp_def___powerpc64__+y}
21157 printf %s
"(cached) " >&6
21159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21160 /* end confdefs.h. */
21161 #ifndef __powerpc64__
21165 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21166 $EGREP "yes" >/dev
/null
2>&1
21168 ac_cv_cpp_def___powerpc64__
=yes
21170 ac_cv_cpp_def___powerpc64__
=no
21175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
21176 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
21177 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
21179 CFLAGS
="$CFLAGS -D__powerpc64__"
21180 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
21182 *powerpc
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
21183 printf %s
"checking whether we need to define __powerpc__... " >&6; }
21184 if test ${ac_cv_cpp_def___powerpc__+y}
21186 printf %s
"(cached) " >&6
21188 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21189 /* end confdefs.h. */
21190 #ifndef __powerpc__
21194 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21195 $EGREP "yes" >/dev
/null
2>&1
21197 ac_cv_cpp_def___powerpc__
=yes
21199 ac_cv_cpp_def___powerpc__
=no
21204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
21205 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
21206 if test "x$ac_cv_cpp_def___powerpc__" = xyes
21208 CFLAGS
="$CFLAGS -D__powerpc__"
21209 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
21211 *aarch64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
21212 printf %s
"checking whether we need to define __aarch64__... " >&6; }
21213 if test ${ac_cv_cpp_def___aarch64__+y}
21215 printf %s
"(cached) " >&6
21217 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21218 /* end confdefs.h. */
21219 #ifndef __aarch64__
21223 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21224 $EGREP "yes" >/dev
/null
2>&1
21226 ac_cv_cpp_def___aarch64__
=yes
21228 ac_cv_cpp_def___aarch64__
=no
21233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
21234 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
21235 if test "x$ac_cv_cpp_def___aarch64__" = xyes
21237 CFLAGS
="$CFLAGS -D__aarch64__"
21238 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
21240 *arm
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
21241 printf %s
"checking whether we need to define __arm__... " >&6; }
21242 if test ${ac_cv_cpp_def___arm__+y}
21244 printf %s
"(cached) " >&6
21246 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21247 /* end confdefs.h. */
21252 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21253 $EGREP "yes" >/dev
/null
2>&1
21255 ac_cv_cpp_def___arm__
=yes
21257 ac_cv_cpp_def___arm__
=no
21262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21263 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21264 if test "x$ac_cv_cpp_def___arm__" = xyes
21266 CFLAGS
="$CFLAGS -D__arm__"
21267 LINTFLAGS
="$LINTFLAGS -D__arm__"
21271 case $host_vendor in
21272 *sun
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21273 printf %s
"checking whether we need to define __sun__... " >&6; }
21274 if test ${ac_cv_cpp_def___sun__+y}
21276 printf %s
"(cached) " >&6
21278 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21279 /* end confdefs.h. */
21284 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21285 $EGREP "yes" >/dev
/null
2>&1
21287 ac_cv_cpp_def___sun__
=yes
21289 ac_cv_cpp_def___sun__
=no
21294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21295 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21296 if test "x$ac_cv_cpp_def___sun__" = xyes
21298 CFLAGS
="$CFLAGS -D__sun__"
21299 LINTFLAGS
="$LINTFLAGS -D__sun__"
21307 ac_config_commands
="$ac_config_commands include/stamp-h"
21309 printf %s
"creating Makefile rules..." >&6
21312 test "x$enable_silent_rules" = xyes
&& makedep_flags
="$makedep_flags -S"
21315 test "$srcdir" = . || wine_srcdir
="$srcdir/"
21317 ac_config_links
="$ac_config_links wine:tools/winewrapper"
21318 wine_fn_config_symlink wine
21319 if test "$HOST_ARCH" = x86_64
-o -n "$with_wine64"; then
21320 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
21321 wine_fn_config_symlink wine64
21324 wine_fn_config_makefile dlls
/acledit enable_acledit
21325 wine_fn_config_makefile dlls
/aclui enable_aclui
21326 wine_fn_config_makefile dlls
/activeds.tlb enable_activeds_tlb
21327 wine_fn_config_makefile dlls
/activeds enable_activeds
21328 wine_fn_config_makefile dlls
/activeds
/tests enable_tests
21329 wine_fn_config_makefile dlls
/actxprxy enable_actxprxy
21330 wine_fn_config_makefile dlls
/adsldp enable_adsldp
21331 wine_fn_config_makefile dlls
/adsldp
/tests enable_tests
21332 wine_fn_config_makefile dlls
/adsldpc enable_adsldpc
21333 wine_fn_config_makefile dlls
/advapi32 enable_advapi32
21334 wine_fn_config_makefile dlls
/advapi32
/tests enable_tests
21335 wine_fn_config_makefile dlls
/advpack enable_advpack
21336 wine_fn_config_makefile dlls
/advpack
/tests enable_tests
21337 wine_fn_config_makefile dlls
/amsi enable_amsi
21338 wine_fn_config_makefile dlls
/amstream enable_amstream
21339 wine_fn_config_makefile dlls
/amstream
/tests enable_tests
21340 wine_fn_config_makefile dlls
/apisetschema enable_apisetschema
21341 wine_fn_config_makefile dlls
/apphelp enable_apphelp
21342 wine_fn_config_makefile dlls
/apphelp
/tests enable_tests
21343 wine_fn_config_makefile dlls
/appwiz.cpl enable_appwiz_cpl
21344 wine_fn_config_makefile dlls
/atl enable_atl
21345 wine_fn_config_makefile dlls
/atl
/tests enable_tests
21346 wine_fn_config_makefile dlls
/atl100 enable_atl100
21347 wine_fn_config_makefile dlls
/atl100
/tests enable_tests
21348 wine_fn_config_makefile dlls
/atl110 enable_atl110
21349 wine_fn_config_makefile dlls
/atl110
/tests enable_tests
21350 wine_fn_config_makefile dlls
/atl80 enable_atl80
21351 wine_fn_config_makefile dlls
/atl80
/tests enable_tests
21352 wine_fn_config_makefile dlls
/atl90 enable_atl90
21353 wine_fn_config_makefile dlls
/atlthunk enable_atlthunk
21354 wine_fn_config_makefile dlls
/atlthunk
/tests enable_tests
21355 wine_fn_config_makefile dlls
/atmlib enable_atmlib
21356 wine_fn_config_makefile dlls
/authz enable_authz
21357 wine_fn_config_makefile dlls
/avicap32 enable_avicap32
21358 wine_fn_config_makefile dlls
/avifil32 enable_avifil32
21359 wine_fn_config_makefile dlls
/avifil32
/tests enable_tests
21360 wine_fn_config_makefile dlls
/avifile.dll16 enable_win16
21361 wine_fn_config_makefile dlls
/avrt enable_avrt
21362 wine_fn_config_makefile dlls
/bcrypt enable_bcrypt
21363 wine_fn_config_makefile dlls
/bcrypt
/tests enable_tests
21364 wine_fn_config_makefile dlls
/bluetoothapis enable_bluetoothapis
21365 wine_fn_config_makefile dlls
/browseui enable_browseui
21366 wine_fn_config_makefile dlls
/browseui
/tests enable_tests
21367 wine_fn_config_makefile dlls
/bthprops.cpl enable_bthprops_cpl
21368 wine_fn_config_makefile dlls
/cabinet enable_cabinet
21369 wine_fn_config_makefile dlls
/cabinet
/tests enable_tests
21370 wine_fn_config_makefile dlls
/capi2032 enable_capi2032
21371 wine_fn_config_makefile dlls
/cards enable_cards
21372 wine_fn_config_makefile dlls
/cdosys enable_cdosys
21373 wine_fn_config_makefile dlls
/cfgmgr32 enable_cfgmgr32
21374 wine_fn_config_makefile dlls
/clusapi enable_clusapi
21375 wine_fn_config_makefile dlls
/cng.sys enable_cng_sys
21376 wine_fn_config_makefile dlls
/combase enable_combase
21377 wine_fn_config_makefile dlls
/combase
/tests enable_tests
21378 wine_fn_config_makefile dlls
/comcat enable_comcat
21379 wine_fn_config_makefile dlls
/comcat
/tests enable_tests
21380 wine_fn_config_makefile dlls
/comctl32 enable_comctl32
21381 wine_fn_config_makefile dlls
/comctl32
/tests enable_tests
21382 wine_fn_config_makefile dlls
/comdlg32 enable_comdlg32
21383 wine_fn_config_makefile dlls
/comdlg32
/tests enable_tests
21384 wine_fn_config_makefile dlls
/comm.drv16 enable_win16
21385 wine_fn_config_makefile dlls
/commdlg.dll16 enable_win16
21386 wine_fn_config_makefile dlls
/compobj.dll16 enable_win16
21387 wine_fn_config_makefile dlls
/compstui enable_compstui
21388 wine_fn_config_makefile dlls
/compstui
/tests enable_tests
21389 wine_fn_config_makefile dlls
/comsvcs enable_comsvcs
21390 wine_fn_config_makefile dlls
/comsvcs
/tests enable_tests
21391 wine_fn_config_makefile dlls
/concrt140 enable_concrt140
21392 wine_fn_config_makefile dlls
/concrt140
/tests enable_tests
21393 wine_fn_config_makefile dlls
/connect enable_connect
21394 wine_fn_config_makefile dlls
/credui enable_credui
21395 wine_fn_config_makefile dlls
/credui
/tests enable_tests
21396 wine_fn_config_makefile dlls
/crtdll enable_crtdll
21397 wine_fn_config_makefile dlls
/crypt32 enable_crypt32
21398 wine_fn_config_makefile dlls
/crypt32
/tests enable_tests
21399 wine_fn_config_makefile dlls
/cryptdlg enable_cryptdlg
21400 wine_fn_config_makefile dlls
/cryptdll enable_cryptdll
21401 wine_fn_config_makefile dlls
/cryptext enable_cryptext
21402 wine_fn_config_makefile dlls
/cryptnet enable_cryptnet
21403 wine_fn_config_makefile dlls
/cryptnet
/tests enable_tests
21404 wine_fn_config_makefile dlls
/cryptowinrt enable_cryptowinrt
21405 wine_fn_config_makefile dlls
/cryptsp enable_cryptsp
21406 wine_fn_config_makefile dlls
/cryptui enable_cryptui
21407 wine_fn_config_makefile dlls
/cryptui
/tests enable_tests
21408 wine_fn_config_makefile dlls
/ctapi32 enable_ctapi32
21409 wine_fn_config_makefile dlls
/ctl3d.dll16 enable_win16
21410 wine_fn_config_makefile dlls
/ctl3d32 enable_ctl3d32
21411 wine_fn_config_makefile dlls
/ctl3dv2.dll16 enable_win16
21412 wine_fn_config_makefile dlls
/d2d1 enable_d2d1
21413 wine_fn_config_makefile dlls
/d2d
1/tests enable_tests
21414 wine_fn_config_makefile dlls
/d3d10 enable_d3d10
21415 wine_fn_config_makefile dlls
/d3d10
/tests enable_tests
21416 wine_fn_config_makefile dlls
/d3d10_1 enable_d3d10_1
21417 wine_fn_config_makefile dlls
/d3d10_
1/tests enable_tests
21418 wine_fn_config_makefile dlls
/d3d10core enable_d3d10core
21419 wine_fn_config_makefile dlls
/d3d10core
/tests enable_tests
21420 wine_fn_config_makefile dlls
/d3d11 enable_d3d11
21421 wine_fn_config_makefile dlls
/d3d11
/tests enable_tests
21422 wine_fn_config_makefile dlls
/d3d12 enable_d3d12
21423 wine_fn_config_makefile dlls
/d3d12
/tests enable_tests
21424 wine_fn_config_makefile dlls
/d3d8 enable_d3d8
21425 wine_fn_config_makefile dlls
/d3d
8/tests enable_tests
21426 wine_fn_config_makefile dlls
/d3d8thk enable_d3d8thk
21427 wine_fn_config_makefile dlls
/d3d9 enable_d3d9
21428 wine_fn_config_makefile dlls
/d3d
9/tests enable_tests
21429 wine_fn_config_makefile dlls
/d3dcompiler_33 enable_d3dcompiler_33
21430 wine_fn_config_makefile dlls
/d3dcompiler_34 enable_d3dcompiler_34
21431 wine_fn_config_makefile dlls
/d3dcompiler_35 enable_d3dcompiler_35
21432 wine_fn_config_makefile dlls
/d3dcompiler_36 enable_d3dcompiler_36
21433 wine_fn_config_makefile dlls
/d3dcompiler_37 enable_d3dcompiler_37
21434 wine_fn_config_makefile dlls
/d3dcompiler_38 enable_d3dcompiler_38
21435 wine_fn_config_makefile dlls
/d3dcompiler_39 enable_d3dcompiler_39
21436 wine_fn_config_makefile dlls
/d3dcompiler_40 enable_d3dcompiler_40
21437 wine_fn_config_makefile dlls
/d3dcompiler_41 enable_d3dcompiler_41
21438 wine_fn_config_makefile dlls
/d3dcompiler_42 enable_d3dcompiler_42
21439 wine_fn_config_makefile dlls
/d3dcompiler_43 enable_d3dcompiler_43
21440 wine_fn_config_makefile dlls
/d3dcompiler_43
/tests enable_tests
21441 wine_fn_config_makefile dlls
/d3dcompiler_46 enable_d3dcompiler_46
21442 wine_fn_config_makefile dlls
/d3dcompiler_46
/tests enable_tests
21443 wine_fn_config_makefile dlls
/d3dcompiler_47 enable_d3dcompiler_47
21444 wine_fn_config_makefile dlls
/d3dcompiler_47
/tests enable_tests
21445 wine_fn_config_makefile dlls
/d3dim enable_d3dim
21446 wine_fn_config_makefile dlls
/d3dim700 enable_d3dim700
21447 wine_fn_config_makefile dlls
/d3drm enable_d3drm
21448 wine_fn_config_makefile dlls
/d3drm
/tests enable_tests
21449 wine_fn_config_makefile dlls
/d3dx10_33 enable_d3dx10_33
21450 wine_fn_config_makefile dlls
/d3dx10_34 enable_d3dx10_34
21451 wine_fn_config_makefile dlls
/d3dx10_34
/tests enable_tests
21452 wine_fn_config_makefile dlls
/d3dx10_35 enable_d3dx10_35
21453 wine_fn_config_makefile dlls
/d3dx10_35
/tests enable_tests
21454 wine_fn_config_makefile dlls
/d3dx10_36 enable_d3dx10_36
21455 wine_fn_config_makefile dlls
/d3dx10_36
/tests enable_tests
21456 wine_fn_config_makefile dlls
/d3dx10_37 enable_d3dx10_37
21457 wine_fn_config_makefile dlls
/d3dx10_37
/tests enable_tests
21458 wine_fn_config_makefile dlls
/d3dx10_38 enable_d3dx10_38
21459 wine_fn_config_makefile dlls
/d3dx10_38
/tests enable_tests
21460 wine_fn_config_makefile dlls
/d3dx10_39 enable_d3dx10_39
21461 wine_fn_config_makefile dlls
/d3dx10_39
/tests enable_tests
21462 wine_fn_config_makefile dlls
/d3dx10_40 enable_d3dx10_40
21463 wine_fn_config_makefile dlls
/d3dx10_40
/tests enable_tests
21464 wine_fn_config_makefile dlls
/d3dx10_41 enable_d3dx10_41
21465 wine_fn_config_makefile dlls
/d3dx10_41
/tests enable_tests
21466 wine_fn_config_makefile dlls
/d3dx10_42 enable_d3dx10_42
21467 wine_fn_config_makefile dlls
/d3dx10_42
/tests enable_tests
21468 wine_fn_config_makefile dlls
/d3dx10_43 enable_d3dx10_43
21469 wine_fn_config_makefile dlls
/d3dx10_43
/tests enable_tests
21470 wine_fn_config_makefile dlls
/d3dx11_42 enable_d3dx11_42
21471 wine_fn_config_makefile dlls
/d3dx11_42
/tests enable_tests
21472 wine_fn_config_makefile dlls
/d3dx11_43 enable_d3dx11_43
21473 wine_fn_config_makefile dlls
/d3dx11_43
/tests enable_tests
21474 wine_fn_config_makefile dlls
/d3dx9_24 enable_d3dx9_24
21475 wine_fn_config_makefile dlls
/d3dx9_25 enable_d3dx9_25
21476 wine_fn_config_makefile dlls
/d3dx9_26 enable_d3dx9_26
21477 wine_fn_config_makefile dlls
/d3dx9_27 enable_d3dx9_27
21478 wine_fn_config_makefile dlls
/d3dx9_28 enable_d3dx9_28
21479 wine_fn_config_makefile dlls
/d3dx9_29 enable_d3dx9_29
21480 wine_fn_config_makefile dlls
/d3dx9_30 enable_d3dx9_30
21481 wine_fn_config_makefile dlls
/d3dx9_31 enable_d3dx9_31
21482 wine_fn_config_makefile dlls
/d3dx9_32 enable_d3dx9_32
21483 wine_fn_config_makefile dlls
/d3dx9_33 enable_d3dx9_33
21484 wine_fn_config_makefile dlls
/d3dx9_34 enable_d3dx9_34
21485 wine_fn_config_makefile dlls
/d3dx9_35 enable_d3dx9_35
21486 wine_fn_config_makefile dlls
/d3dx9_36 enable_d3dx9_36
21487 wine_fn_config_makefile dlls
/d3dx9_36
/tests enable_tests
21488 wine_fn_config_makefile dlls
/d3dx9_37 enable_d3dx9_37
21489 wine_fn_config_makefile dlls
/d3dx9_38 enable_d3dx9_38
21490 wine_fn_config_makefile dlls
/d3dx9_39 enable_d3dx9_39
21491 wine_fn_config_makefile dlls
/d3dx9_40 enable_d3dx9_40
21492 wine_fn_config_makefile dlls
/d3dx9_41 enable_d3dx9_41
21493 wine_fn_config_makefile dlls
/d3dx9_42 enable_d3dx9_42
21494 wine_fn_config_makefile dlls
/d3dx9_43 enable_d3dx9_43
21495 wine_fn_config_makefile dlls
/d3dxof enable_d3dxof
21496 wine_fn_config_makefile dlls
/d3dxof
/tests enable_tests
21497 wine_fn_config_makefile dlls
/davclnt enable_davclnt
21498 wine_fn_config_makefile dlls
/dbgeng enable_dbgeng
21499 wine_fn_config_makefile dlls
/dbgeng
/tests enable_tests
21500 wine_fn_config_makefile dlls
/dbghelp enable_dbghelp
21501 wine_fn_config_makefile dlls
/dbghelp
/tests enable_tests
21502 wine_fn_config_makefile dlls
/dciman32 enable_dciman32
21503 wine_fn_config_makefile dlls
/dcomp enable_dcomp
21504 wine_fn_config_makefile dlls
/ddeml.dll16 enable_win16
21505 wine_fn_config_makefile dlls
/ddraw enable_ddraw
21506 wine_fn_config_makefile dlls
/ddraw
/tests enable_tests
21507 wine_fn_config_makefile dlls
/ddrawex enable_ddrawex
21508 wine_fn_config_makefile dlls
/ddrawex
/tests enable_tests
21509 wine_fn_config_makefile dlls
/devenum enable_devenum
21510 wine_fn_config_makefile dlls
/devenum
/tests enable_tests
21511 wine_fn_config_makefile dlls
/dhcpcsvc enable_dhcpcsvc
21512 wine_fn_config_makefile dlls
/dhcpcsvc
/tests enable_tests
21513 wine_fn_config_makefile dlls
/dhcpcsvc6 enable_dhcpcsvc6
21514 wine_fn_config_makefile dlls
/dhtmled.ocx enable_dhtmled_ocx
21515 wine_fn_config_makefile dlls
/diasymreader enable_diasymreader
21516 wine_fn_config_makefile dlls
/difxapi enable_difxapi
21517 wine_fn_config_makefile dlls
/dinput enable_dinput
21518 wine_fn_config_makefile dlls
/dinput
/tests enable_tests
21519 wine_fn_config_makefile dlls
/dinput8 enable_dinput8
21520 wine_fn_config_makefile dlls
/directmanipulation enable_directmanipulation
21521 wine_fn_config_makefile dlls
/directmanipulation
/tests enable_tests
21522 wine_fn_config_makefile dlls
/dispdib.dll16 enable_win16
21523 wine_fn_config_makefile dlls
/dispex enable_dispex
21524 wine_fn_config_makefile dlls
/dispex
/tests enable_tests
21525 wine_fn_config_makefile dlls
/display.drv16 enable_win16
21526 wine_fn_config_makefile dlls
/dmband enable_dmband
21527 wine_fn_config_makefile dlls
/dmband
/tests enable_tests
21528 wine_fn_config_makefile dlls
/dmcompos enable_dmcompos
21529 wine_fn_config_makefile dlls
/dmcompos
/tests enable_tests
21530 wine_fn_config_makefile dlls
/dmime enable_dmime
21531 wine_fn_config_makefile dlls
/dmime
/tests enable_tests
21532 wine_fn_config_makefile dlls
/dmloader enable_dmloader
21533 wine_fn_config_makefile dlls
/dmloader
/tests enable_tests
21534 wine_fn_config_makefile dlls
/dmscript enable_dmscript
21535 wine_fn_config_makefile dlls
/dmscript
/tests enable_tests
21536 wine_fn_config_makefile dlls
/dmstyle enable_dmstyle
21537 wine_fn_config_makefile dlls
/dmstyle
/tests enable_tests
21538 wine_fn_config_makefile dlls
/dmsynth enable_dmsynth
21539 wine_fn_config_makefile dlls
/dmsynth
/tests enable_tests
21540 wine_fn_config_makefile dlls
/dmusic enable_dmusic
21541 wine_fn_config_makefile dlls
/dmusic
/tests enable_tests
21542 wine_fn_config_makefile dlls
/dmusic32 enable_dmusic32
21543 wine_fn_config_makefile dlls
/dnsapi enable_dnsapi
21544 wine_fn_config_makefile dlls
/dnsapi
/tests enable_tests
21545 wine_fn_config_makefile dlls
/dplay enable_dplay
21546 wine_fn_config_makefile dlls
/dplayx enable_dplayx
21547 wine_fn_config_makefile dlls
/dplayx
/tests enable_tests
21548 wine_fn_config_makefile dlls
/dpnaddr enable_dpnaddr
21549 wine_fn_config_makefile dlls
/dpnet enable_dpnet
21550 wine_fn_config_makefile dlls
/dpnet
/tests enable_tests
21551 wine_fn_config_makefile dlls
/dpnhpast enable_dpnhpast
21552 wine_fn_config_makefile dlls
/dpnhupnp enable_dpnhupnp
21553 wine_fn_config_makefile dlls
/dpnlobby enable_dpnlobby
21554 wine_fn_config_makefile dlls
/dpvoice enable_dpvoice
21555 wine_fn_config_makefile dlls
/dpvoice
/tests enable_tests
21556 wine_fn_config_makefile dlls
/dpwsockx enable_dpwsockx
21557 wine_fn_config_makefile dlls
/drmclien enable_drmclien
21558 wine_fn_config_makefile dlls
/dsdmo enable_dsdmo
21559 wine_fn_config_makefile dlls
/dsdmo
/tests enable_tests
21560 wine_fn_config_makefile dlls
/dsound enable_dsound
21561 wine_fn_config_makefile dlls
/dsound
/tests enable_tests
21562 wine_fn_config_makefile dlls
/dsquery enable_dsquery
21563 wine_fn_config_makefile dlls
/dssenh enable_dssenh
21564 wine_fn_config_makefile dlls
/dssenh
/tests enable_tests
21565 wine_fn_config_makefile dlls
/dsuiext enable_dsuiext
21566 wine_fn_config_makefile dlls
/dswave enable_dswave
21567 wine_fn_config_makefile dlls
/dswave
/tests enable_tests
21568 wine_fn_config_makefile dlls
/dwmapi enable_dwmapi
21569 wine_fn_config_makefile dlls
/dwmapi
/tests enable_tests
21570 wine_fn_config_makefile dlls
/dwrite enable_dwrite
21571 wine_fn_config_makefile dlls
/dwrite
/tests enable_tests
21572 wine_fn_config_makefile dlls
/dx8vb enable_dx8vb
21573 wine_fn_config_makefile dlls
/dxdiagn enable_dxdiagn
21574 wine_fn_config_makefile dlls
/dxdiagn
/tests enable_tests
21575 wine_fn_config_makefile dlls
/dxgi enable_dxgi
21576 wine_fn_config_makefile dlls
/dxgi
/tests enable_tests
21577 wine_fn_config_makefile dlls
/dxtrans enable_dxtrans
21578 wine_fn_config_makefile dlls
/dxva2 enable_dxva2
21579 wine_fn_config_makefile dlls
/dxva
2/tests enable_tests
21580 wine_fn_config_makefile dlls
/esent enable_esent
21581 wine_fn_config_makefile dlls
/evr enable_evr
21582 wine_fn_config_makefile dlls
/evr
/tests enable_tests
21583 wine_fn_config_makefile dlls
/explorerframe enable_explorerframe
21584 wine_fn_config_makefile dlls
/explorerframe
/tests enable_tests
21585 wine_fn_config_makefile dlls
/faultrep enable_faultrep
21586 wine_fn_config_makefile dlls
/faultrep
/tests enable_tests
21587 wine_fn_config_makefile dlls
/feclient enable_feclient
21588 wine_fn_config_makefile dlls
/fltlib enable_fltlib
21589 wine_fn_config_makefile dlls
/fltmgr.sys enable_fltmgr_sys
21590 wine_fn_config_makefile dlls
/fntcache enable_fntcache
21591 wine_fn_config_makefile dlls
/fontsub enable_fontsub
21592 wine_fn_config_makefile dlls
/fusion enable_fusion
21593 wine_fn_config_makefile dlls
/fusion
/tests enable_tests
21594 wine_fn_config_makefile dlls
/fwpuclnt enable_fwpuclnt
21595 wine_fn_config_makefile dlls
/gameux enable_gameux
21596 wine_fn_config_makefile dlls
/gameux
/tests enable_tests
21597 wine_fn_config_makefile dlls
/gamingtcui enable_gamingtcui
21598 wine_fn_config_makefile dlls
/gdi.exe16 enable_win16
21599 wine_fn_config_makefile dlls
/gdi32 enable_gdi32
21600 wine_fn_config_makefile dlls
/gdi32
/tests enable_tests
21601 wine_fn_config_makefile dlls
/gdiplus enable_gdiplus
21602 wine_fn_config_makefile dlls
/gdiplus
/tests enable_tests
21603 wine_fn_config_makefile dlls
/glu32 enable_glu32
21604 wine_fn_config_makefile dlls
/gphoto2.ds enable_gphoto2_ds
21605 wine_fn_config_makefile dlls
/gpkcsp enable_gpkcsp
21606 wine_fn_config_makefile dlls
/hal enable_hal
21607 wine_fn_config_makefile dlls
/hhctrl.ocx enable_hhctrl_ocx
21608 wine_fn_config_makefile dlls
/hid enable_hid
21609 wine_fn_config_makefile dlls
/hid
/tests enable_tests
21610 wine_fn_config_makefile dlls
/hidclass.sys enable_hidclass_sys
21611 wine_fn_config_makefile dlls
/hidparse.sys enable_hidparse_sys
21612 wine_fn_config_makefile dlls
/hlink enable_hlink
21613 wine_fn_config_makefile dlls
/hlink
/tests enable_tests
21614 wine_fn_config_makefile dlls
/hnetcfg enable_hnetcfg
21615 wine_fn_config_makefile dlls
/hnetcfg
/tests enable_tests
21616 wine_fn_config_makefile dlls
/http.sys enable_http_sys
21617 wine_fn_config_makefile dlls
/httpapi enable_httpapi
21618 wine_fn_config_makefile dlls
/httpapi
/tests enable_tests
21619 wine_fn_config_makefile dlls
/ia2comproxy enable_ia2comproxy
21620 wine_fn_config_makefile dlls
/iccvid enable_iccvid
21621 wine_fn_config_makefile dlls
/icmp enable_icmp
21622 wine_fn_config_makefile dlls
/ieframe enable_ieframe
21623 wine_fn_config_makefile dlls
/ieframe
/tests enable_tests
21624 wine_fn_config_makefile dlls
/ieproxy enable_ieproxy
21625 wine_fn_config_makefile dlls
/ifsmgr.vxd enable_win16
21626 wine_fn_config_makefile dlls
/imaadp32.acm enable_imaadp32_acm
21627 wine_fn_config_makefile dlls
/imagehlp enable_imagehlp
21628 wine_fn_config_makefile dlls
/imagehlp
/tests enable_tests
21629 wine_fn_config_makefile dlls
/imm.dll16 enable_win16
21630 wine_fn_config_makefile dlls
/imm32 enable_imm32
21631 wine_fn_config_makefile dlls
/imm32
/tests enable_tests
21632 wine_fn_config_makefile dlls
/inetcomm enable_inetcomm
21633 wine_fn_config_makefile dlls
/inetcomm
/tests enable_tests
21634 wine_fn_config_makefile dlls
/inetcpl.cpl enable_inetcpl_cpl
21635 wine_fn_config_makefile dlls
/inetmib1 enable_inetmib1
21636 wine_fn_config_makefile dlls
/inetmib
1/tests enable_tests
21637 wine_fn_config_makefile dlls
/infosoft enable_infosoft
21638 wine_fn_config_makefile dlls
/infosoft
/tests enable_tests
21639 wine_fn_config_makefile dlls
/initpki enable_initpki
21640 wine_fn_config_makefile dlls
/inkobj enable_inkobj
21641 wine_fn_config_makefile dlls
/inseng enable_inseng
21642 wine_fn_config_makefile dlls
/iphlpapi enable_iphlpapi
21643 wine_fn_config_makefile dlls
/iphlpapi
/tests enable_tests
21644 wine_fn_config_makefile dlls
/iprop enable_iprop
21645 wine_fn_config_makefile dlls
/irprops.cpl enable_irprops_cpl
21646 wine_fn_config_makefile dlls
/itircl enable_itircl
21647 wine_fn_config_makefile dlls
/itss enable_itss
21648 wine_fn_config_makefile dlls
/itss
/tests enable_tests
21649 wine_fn_config_makefile dlls
/joy.cpl enable_joy_cpl
21650 wine_fn_config_makefile dlls
/jscript enable_jscript
21651 wine_fn_config_makefile dlls
/jscript
/tests enable_tests
21652 wine_fn_config_makefile dlls
/jsproxy enable_jsproxy
21653 wine_fn_config_makefile dlls
/jsproxy
/tests enable_tests
21654 wine_fn_config_makefile dlls
/kerberos enable_kerberos
21655 wine_fn_config_makefile dlls
/kernel32 enable_kernel32
21656 wine_fn_config_makefile dlls
/kernel32
/tests enable_tests
21657 wine_fn_config_makefile dlls
/kernelbase enable_kernelbase
21658 wine_fn_config_makefile dlls
/kernelbase
/tests enable_tests
21659 wine_fn_config_makefile dlls
/keyboard.drv16 enable_win16
21660 wine_fn_config_makefile dlls
/krnl386.exe16 enable_win16
21661 wine_fn_config_makefile dlls
/ksecdd.sys enable_ksecdd_sys
21662 wine_fn_config_makefile dlls
/ksproxy.ax enable_ksproxy_ax
21663 wine_fn_config_makefile dlls
/ksuser enable_ksuser
21664 wine_fn_config_makefile dlls
/ktmw32 enable_ktmw32
21665 wine_fn_config_makefile dlls
/l3codeca.acm enable_l3codeca_acm
21666 wine_fn_config_makefile dlls
/light.msstyles enable_light_msstyles
21667 wine_fn_config_makefile dlls
/loadperf enable_loadperf
21668 wine_fn_config_makefile dlls
/localspl enable_localspl
21669 wine_fn_config_makefile dlls
/localspl
/tests enable_tests
21670 wine_fn_config_makefile dlls
/localui enable_localui
21671 wine_fn_config_makefile dlls
/localui
/tests enable_tests
21672 wine_fn_config_makefile dlls
/lz32 enable_lz32
21673 wine_fn_config_makefile dlls
/lz32
/tests enable_tests
21674 wine_fn_config_makefile dlls
/lzexpand.dll16 enable_win16
21675 wine_fn_config_makefile dlls
/mapi32 enable_mapi32
21676 wine_fn_config_makefile dlls
/mapi32
/tests enable_tests
21677 wine_fn_config_makefile dlls
/mapistub enable_mapistub
21678 wine_fn_config_makefile dlls
/mciavi32 enable_mciavi32
21679 wine_fn_config_makefile dlls
/mcicda enable_mcicda
21680 wine_fn_config_makefile dlls
/mciqtz32 enable_mciqtz32
21681 wine_fn_config_makefile dlls
/mciseq enable_mciseq
21682 wine_fn_config_makefile dlls
/mciwave enable_mciwave
21683 wine_fn_config_makefile dlls
/mf enable_mf
21684 wine_fn_config_makefile dlls
/mf
/tests enable_tests
21685 wine_fn_config_makefile dlls
/mf3216 enable_mf3216
21686 wine_fn_config_makefile dlls
/mferror enable_mferror
21687 wine_fn_config_makefile dlls
/mfmediaengine enable_mfmediaengine
21688 wine_fn_config_makefile dlls
/mfmediaengine
/tests enable_tests
21689 wine_fn_config_makefile dlls
/mfplat enable_mfplat
21690 wine_fn_config_makefile dlls
/mfplat
/tests enable_tests
21691 wine_fn_config_makefile dlls
/mfplay enable_mfplay
21692 wine_fn_config_makefile dlls
/mfplay
/tests enable_tests
21693 wine_fn_config_makefile dlls
/mfreadwrite enable_mfreadwrite
21694 wine_fn_config_makefile dlls
/mfreadwrite
/tests enable_tests
21695 wine_fn_config_makefile dlls
/mfsrcsnk enable_mfsrcsnk
21696 wine_fn_config_makefile dlls
/mfsrcsnk
/tests enable_tests
21697 wine_fn_config_makefile dlls
/mgmtapi enable_mgmtapi
21698 wine_fn_config_makefile dlls
/midimap enable_midimap
21699 wine_fn_config_makefile dlls
/mlang enable_mlang
21700 wine_fn_config_makefile dlls
/mlang
/tests enable_tests
21701 wine_fn_config_makefile dlls
/mmcndmgr enable_mmcndmgr
21702 wine_fn_config_makefile dlls
/mmcndmgr
/tests enable_tests
21703 wine_fn_config_makefile dlls
/mmdevapi enable_mmdevapi
21704 wine_fn_config_makefile dlls
/mmdevapi
/tests enable_tests
21705 wine_fn_config_makefile dlls
/mmdevldr.vxd enable_win16
21706 wine_fn_config_makefile dlls
/mmsystem.dll16 enable_win16
21707 wine_fn_config_makefile dlls
/monodebg.vxd enable_win16
21708 wine_fn_config_makefile dlls
/mountmgr.sys enable_mountmgr_sys
21709 wine_fn_config_makefile dlls
/mouse.drv16 enable_win16
21710 wine_fn_config_makefile dlls
/mp3dmod enable_mp3dmod
21711 wine_fn_config_makefile dlls
/mp3dmod
/tests enable_tests
21712 wine_fn_config_makefile dlls
/mpr enable_mpr
21713 wine_fn_config_makefile dlls
/mpr
/tests enable_tests
21714 wine_fn_config_makefile dlls
/mprapi enable_mprapi
21715 wine_fn_config_makefile dlls
/msacm.dll16 enable_win16
21716 wine_fn_config_makefile dlls
/msacm32.drv enable_msacm32_drv
21717 wine_fn_config_makefile dlls
/msacm32 enable_msacm32
21718 wine_fn_config_makefile dlls
/msacm32
/tests enable_tests
21719 wine_fn_config_makefile dlls
/msado15 enable_msado15
21720 wine_fn_config_makefile dlls
/msado15
/tests enable_tests
21721 wine_fn_config_makefile dlls
/msadp32.acm enable_msadp32_acm
21722 wine_fn_config_makefile dlls
/msasn1 enable_msasn1
21723 wine_fn_config_makefile dlls
/msasn
1/tests enable_tests
21724 wine_fn_config_makefile dlls
/mscat32 enable_mscat32
21725 wine_fn_config_makefile dlls
/mscms enable_mscms
21726 wine_fn_config_makefile dlls
/mscms
/tests enable_tests
21727 wine_fn_config_makefile dlls
/mscoree enable_mscoree
21728 wine_fn_config_makefile dlls
/mscoree
/tests enable_tests
21729 wine_fn_config_makefile dlls
/mscorwks enable_mscorwks
21730 wine_fn_config_makefile dlls
/msctf enable_msctf
21731 wine_fn_config_makefile dlls
/msctf
/tests enable_tests
21732 wine_fn_config_makefile dlls
/msctfmonitor enable_msctfmonitor
21733 wine_fn_config_makefile dlls
/msctfp enable_msctfp
21734 wine_fn_config_makefile dlls
/msdaps enable_msdaps
21735 wine_fn_config_makefile dlls
/msdasql enable_msdasql
21736 wine_fn_config_makefile dlls
/msdasql
/tests enable_tests
21737 wine_fn_config_makefile dlls
/msdelta enable_msdelta
21738 wine_fn_config_makefile dlls
/msdmo enable_msdmo
21739 wine_fn_config_makefile dlls
/msdmo
/tests enable_tests
21740 wine_fn_config_makefile dlls
/msdrm enable_msdrm
21741 wine_fn_config_makefile dlls
/msftedit enable_msftedit
21742 wine_fn_config_makefile dlls
/msftedit
/tests enable_tests
21743 wine_fn_config_makefile dlls
/msg711.acm enable_msg711_acm
21744 wine_fn_config_makefile dlls
/msgsm32.acm enable_msgsm32_acm
21745 wine_fn_config_makefile dlls
/mshtml.tlb enable_mshtml_tlb
21746 wine_fn_config_makefile dlls
/mshtml enable_mshtml
21747 wine_fn_config_makefile dlls
/mshtml
/tests enable_tests
21748 wine_fn_config_makefile dlls
/msi enable_msi
21749 wine_fn_config_makefile dlls
/msi
/tests enable_tests
21750 wine_fn_config_makefile dlls
/msident enable_msident
21751 wine_fn_config_makefile dlls
/msimg32 enable_msimg32
21752 wine_fn_config_makefile dlls
/msimsg enable_msimsg
21753 wine_fn_config_makefile dlls
/msimtf enable_msimtf
21754 wine_fn_config_makefile dlls
/msisip enable_msisip
21755 wine_fn_config_makefile dlls
/msisys.ocx enable_msisys_ocx
21756 wine_fn_config_makefile dlls
/msls31 enable_msls31
21757 wine_fn_config_makefile dlls
/msnet32 enable_msnet32
21758 wine_fn_config_makefile dlls
/mspatcha enable_mspatcha
21759 wine_fn_config_makefile dlls
/mspatcha
/tests enable_tests
21760 wine_fn_config_makefile dlls
/msports enable_msports
21761 wine_fn_config_makefile dlls
/msrle32 enable_msrle32
21762 wine_fn_config_makefile dlls
/msrle32
/tests enable_tests
21763 wine_fn_config_makefile dlls
/msscript.ocx enable_msscript_ocx
21764 wine_fn_config_makefile dlls
/msscript.ocx
/tests enable_tests
21765 wine_fn_config_makefile dlls
/mssign32 enable_mssign32
21766 wine_fn_config_makefile dlls
/mssip32 enable_mssip32
21767 wine_fn_config_makefile dlls
/mstask enable_mstask
21768 wine_fn_config_makefile dlls
/mstask
/tests enable_tests
21769 wine_fn_config_makefile dlls
/msv1_0 enable_msv1_0
21770 wine_fn_config_makefile dlls
/msvcirt enable_msvcirt
21771 wine_fn_config_makefile dlls
/msvcirt
/tests enable_tests
21772 wine_fn_config_makefile dlls
/msvcm80 enable_msvcm80
21773 wine_fn_config_makefile dlls
/msvcm90 enable_msvcm90
21774 wine_fn_config_makefile dlls
/msvcp100 enable_msvcp100
21775 wine_fn_config_makefile dlls
/msvcp100
/tests enable_tests
21776 wine_fn_config_makefile dlls
/msvcp110 enable_msvcp110
21777 wine_fn_config_makefile dlls
/msvcp110
/tests enable_tests
21778 wine_fn_config_makefile dlls
/msvcp120 enable_msvcp120
21779 wine_fn_config_makefile dlls
/msvcp120
/tests enable_tests
21780 wine_fn_config_makefile dlls
/msvcp120_app enable_msvcp120_app
21781 wine_fn_config_makefile dlls
/msvcp140 enable_msvcp140
21782 wine_fn_config_makefile dlls
/msvcp140
/tests enable_tests
21783 wine_fn_config_makefile dlls
/msvcp140_1 enable_msvcp140_1
21784 wine_fn_config_makefile dlls
/msvcp140_
1/tests enable_tests
21785 wine_fn_config_makefile dlls
/msvcp140_2 enable_msvcp140_2
21786 wine_fn_config_makefile dlls
/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21787 wine_fn_config_makefile dlls
/msvcp140_atomic_wait
/tests enable_tests
21788 wine_fn_config_makefile dlls
/msvcp60 enable_msvcp60
21789 wine_fn_config_makefile dlls
/msvcp60
/tests enable_tests
21790 wine_fn_config_makefile dlls
/msvcp70 enable_msvcp70
21791 wine_fn_config_makefile dlls
/msvcp71 enable_msvcp71
21792 wine_fn_config_makefile dlls
/msvcp80 enable_msvcp80
21793 wine_fn_config_makefile dlls
/msvcp90 enable_msvcp90
21794 wine_fn_config_makefile dlls
/msvcp90
/tests enable_tests
21795 wine_fn_config_makefile dlls
/msvcp_win enable_msvcp_win
21796 wine_fn_config_makefile dlls
/msvcr100 enable_msvcr100
21797 wine_fn_config_makefile dlls
/msvcr100
/tests enable_tests
21798 wine_fn_config_makefile dlls
/msvcr110 enable_msvcr110
21799 wine_fn_config_makefile dlls
/msvcr110
/tests enable_tests
21800 wine_fn_config_makefile dlls
/msvcr120 enable_msvcr120
21801 wine_fn_config_makefile dlls
/msvcr120
/tests enable_tests
21802 wine_fn_config_makefile dlls
/msvcr120_app enable_msvcr120_app
21803 wine_fn_config_makefile dlls
/msvcr70 enable_msvcr70
21804 wine_fn_config_makefile dlls
/msvcr70
/tests enable_tests
21805 wine_fn_config_makefile dlls
/msvcr71 enable_msvcr71
21806 wine_fn_config_makefile dlls
/msvcr71
/tests enable_tests
21807 wine_fn_config_makefile dlls
/msvcr80 enable_msvcr80
21808 wine_fn_config_makefile dlls
/msvcr80
/tests enable_tests
21809 wine_fn_config_makefile dlls
/msvcr90 enable_msvcr90
21810 wine_fn_config_makefile dlls
/msvcr90
/tests enable_tests
21811 wine_fn_config_makefile dlls
/msvcrt enable_msvcrt
21812 wine_fn_config_makefile dlls
/msvcrt
/tests enable_tests
21813 wine_fn_config_makefile dlls
/msvcrt20 enable_msvcrt20
21814 wine_fn_config_makefile dlls
/msvcrt40 enable_msvcrt40
21815 wine_fn_config_makefile dlls
/msvcrtd enable_msvcrtd
21816 wine_fn_config_makefile dlls
/msvcrtd
/tests enable_tests
21817 wine_fn_config_makefile dlls
/msvfw32 enable_msvfw32
21818 wine_fn_config_makefile dlls
/msvfw32
/tests enable_tests
21819 wine_fn_config_makefile dlls
/msvidc32 enable_msvidc32
21820 wine_fn_config_makefile dlls
/msvideo.dll16 enable_win16
21821 wine_fn_config_makefile dlls
/mswsock enable_mswsock
21822 wine_fn_config_makefile dlls
/msxml enable_msxml
21823 wine_fn_config_makefile dlls
/msxml2 enable_msxml2
21824 wine_fn_config_makefile dlls
/msxml3 enable_msxml3
21825 wine_fn_config_makefile dlls
/msxml
3/tests enable_tests
21826 wine_fn_config_makefile dlls
/msxml4 enable_msxml4
21827 wine_fn_config_makefile dlls
/msxml6 enable_msxml6
21828 wine_fn_config_makefile dlls
/mtxdm enable_mtxdm
21829 wine_fn_config_makefile dlls
/ncrypt enable_ncrypt
21830 wine_fn_config_makefile dlls
/ncrypt
/tests enable_tests
21831 wine_fn_config_makefile dlls
/nddeapi enable_nddeapi
21832 wine_fn_config_makefile dlls
/ndis.sys enable_ndis_sys
21833 wine_fn_config_makefile dlls
/ndis.sys
/tests enable_tests
21834 wine_fn_config_makefile dlls
/netapi32 enable_netapi32
21835 wine_fn_config_makefile dlls
/netapi32
/tests enable_tests
21836 wine_fn_config_makefile dlls
/netcfgx enable_netcfgx
21837 wine_fn_config_makefile dlls
/netcfgx
/tests enable_tests
21838 wine_fn_config_makefile dlls
/netio.sys enable_netio_sys
21839 wine_fn_config_makefile dlls
/netprofm enable_netprofm
21840 wine_fn_config_makefile dlls
/netprofm
/tests enable_tests
21841 wine_fn_config_makefile dlls
/netutils enable_netutils
21842 wine_fn_config_makefile dlls
/newdev enable_newdev
21843 wine_fn_config_makefile dlls
/ninput enable_ninput
21844 wine_fn_config_makefile dlls
/ninput
/tests enable_tests
21845 wine_fn_config_makefile dlls
/normaliz enable_normaliz
21846 wine_fn_config_makefile dlls
/npmshtml enable_npmshtml
21847 wine_fn_config_makefile dlls
/npptools enable_npptools
21848 wine_fn_config_makefile dlls
/nsi enable_nsi
21849 wine_fn_config_makefile dlls
/nsi
/tests enable_tests
21850 wine_fn_config_makefile dlls
/nsiproxy.sys enable_nsiproxy_sys
21851 wine_fn_config_makefile dlls
/ntdll enable_ntdll
21852 wine_fn_config_makefile dlls
/ntdll
/tests enable_tests
21853 wine_fn_config_makefile dlls
/ntdsapi enable_ntdsapi
21854 wine_fn_config_makefile dlls
/ntdsapi
/tests enable_tests
21855 wine_fn_config_makefile dlls
/ntoskrnl.exe enable_ntoskrnl_exe
21856 wine_fn_config_makefile dlls
/ntoskrnl.exe
/tests enable_tests
21857 wine_fn_config_makefile dlls
/ntprint enable_ntprint
21858 wine_fn_config_makefile dlls
/ntprint
/tests enable_tests
21859 wine_fn_config_makefile dlls
/objsel enable_objsel
21860 wine_fn_config_makefile dlls
/odbc32 enable_odbc32
21861 wine_fn_config_makefile dlls
/odbcbcp enable_odbcbcp
21862 wine_fn_config_makefile dlls
/odbccp32 enable_odbccp32
21863 wine_fn_config_makefile dlls
/odbccp32
/tests enable_tests
21864 wine_fn_config_makefile dlls
/odbccu32 enable_odbccu32
21865 wine_fn_config_makefile dlls
/ole2.dll16 enable_win16
21866 wine_fn_config_makefile dlls
/ole2conv.dll16 enable_win16
21867 wine_fn_config_makefile dlls
/ole2disp.dll16 enable_win16
21868 wine_fn_config_makefile dlls
/ole2nls.dll16 enable_win16
21869 wine_fn_config_makefile dlls
/ole2prox.dll16 enable_win16
21870 wine_fn_config_makefile dlls
/ole2thk.dll16 enable_win16
21871 wine_fn_config_makefile dlls
/ole32 enable_ole32
21872 wine_fn_config_makefile dlls
/ole32
/tests enable_tests
21873 wine_fn_config_makefile dlls
/oleacc enable_oleacc
21874 wine_fn_config_makefile dlls
/oleacc
/tests enable_tests
21875 wine_fn_config_makefile dlls
/oleaut32 enable_oleaut32
21876 wine_fn_config_makefile dlls
/oleaut32
/tests enable_tests
21877 wine_fn_config_makefile dlls
/olecli.dll16 enable_win16
21878 wine_fn_config_makefile dlls
/olecli32 enable_olecli32
21879 wine_fn_config_makefile dlls
/oledb32 enable_oledb32
21880 wine_fn_config_makefile dlls
/oledb32
/tests enable_tests
21881 wine_fn_config_makefile dlls
/oledlg enable_oledlg
21882 wine_fn_config_makefile dlls
/oledlg
/tests enable_tests
21883 wine_fn_config_makefile dlls
/olepro32 enable_olepro32
21884 wine_fn_config_makefile dlls
/olesvr.dll16 enable_win16
21885 wine_fn_config_makefile dlls
/olesvr32 enable_olesvr32
21886 wine_fn_config_makefile dlls
/olethk32 enable_olethk32
21887 wine_fn_config_makefile dlls
/opcservices enable_opcservices
21888 wine_fn_config_makefile dlls
/opcservices
/tests enable_tests
21889 wine_fn_config_makefile dlls
/openal32 enable_openal32
21890 wine_fn_config_makefile dlls
/opencl enable_opencl
21891 wine_fn_config_makefile dlls
/opengl32 enable_opengl32
21892 wine_fn_config_makefile dlls
/opengl32
/tests enable_tests
21893 wine_fn_config_makefile dlls
/packager enable_packager
21894 wine_fn_config_makefile dlls
/packager
/tests enable_tests
21895 wine_fn_config_makefile dlls
/pdh enable_pdh
21896 wine_fn_config_makefile dlls
/pdh
/tests enable_tests
21897 wine_fn_config_makefile dlls
/photometadatahandler enable_photometadatahandler
21898 wine_fn_config_makefile dlls
/pidgen enable_pidgen
21899 wine_fn_config_makefile dlls
/powrprof enable_powrprof
21900 wine_fn_config_makefile dlls
/printui enable_printui
21901 wine_fn_config_makefile dlls
/prntvpt enable_prntvpt
21902 wine_fn_config_makefile dlls
/prntvpt
/tests enable_tests
21903 wine_fn_config_makefile dlls
/propsys enable_propsys
21904 wine_fn_config_makefile dlls
/propsys
/tests enable_tests
21905 wine_fn_config_makefile dlls
/psapi enable_psapi
21906 wine_fn_config_makefile dlls
/psapi
/tests enable_tests
21907 wine_fn_config_makefile dlls
/pstorec enable_pstorec
21908 wine_fn_config_makefile dlls
/pstorec
/tests enable_tests
21909 wine_fn_config_makefile dlls
/pwrshplugin enable_pwrshplugin
21910 wine_fn_config_makefile dlls
/qasf enable_qasf
21911 wine_fn_config_makefile dlls
/qasf
/tests enable_tests
21912 wine_fn_config_makefile dlls
/qcap enable_qcap
21913 wine_fn_config_makefile dlls
/qcap
/tests enable_tests
21914 wine_fn_config_makefile dlls
/qdvd enable_qdvd
21915 wine_fn_config_makefile dlls
/qdvd
/tests enable_tests
21916 wine_fn_config_makefile dlls
/qedit enable_qedit
21917 wine_fn_config_makefile dlls
/qedit
/tests enable_tests
21918 wine_fn_config_makefile dlls
/qmgr enable_qmgr
21919 wine_fn_config_makefile dlls
/qmgr
/tests enable_tests
21920 wine_fn_config_makefile dlls
/qmgrprxy enable_qmgrprxy
21921 wine_fn_config_makefile dlls
/quartz enable_quartz
21922 wine_fn_config_makefile dlls
/quartz
/tests enable_tests
21923 wine_fn_config_makefile dlls
/query enable_query
21924 wine_fn_config_makefile dlls
/qwave enable_qwave
21925 wine_fn_config_makefile dlls
/qwave
/tests enable_tests
21926 wine_fn_config_makefile dlls
/rasapi16.dll16 enable_win16
21927 wine_fn_config_makefile dlls
/rasapi32 enable_rasapi32
21928 wine_fn_config_makefile dlls
/rasapi32
/tests enable_tests
21929 wine_fn_config_makefile dlls
/rasdlg enable_rasdlg
21930 wine_fn_config_makefile dlls
/regapi enable_regapi
21931 wine_fn_config_makefile dlls
/resutils enable_resutils
21932 wine_fn_config_makefile dlls
/riched20 enable_riched20
21933 wine_fn_config_makefile dlls
/riched20
/tests enable_tests
21934 wine_fn_config_makefile dlls
/riched32 enable_riched32
21935 wine_fn_config_makefile dlls
/riched32
/tests enable_tests
21936 wine_fn_config_makefile dlls
/rpcrt4 enable_rpcrt4
21937 wine_fn_config_makefile dlls
/rpcrt
4/tests enable_tests
21938 wine_fn_config_makefile dlls
/rsabase enable_rsabase
21939 wine_fn_config_makefile dlls
/rsaenh enable_rsaenh
21940 wine_fn_config_makefile dlls
/rsaenh
/tests enable_tests
21941 wine_fn_config_makefile dlls
/rstrtmgr enable_rstrtmgr
21942 wine_fn_config_makefile dlls
/rtutils enable_rtutils
21943 wine_fn_config_makefile dlls
/rtworkq enable_rtworkq
21944 wine_fn_config_makefile dlls
/rtworkq
/tests enable_tests
21945 wine_fn_config_makefile dlls
/samlib enable_samlib
21946 wine_fn_config_makefile dlls
/sane.ds enable_sane_ds
21947 wine_fn_config_makefile dlls
/sapi enable_sapi
21948 wine_fn_config_makefile dlls
/sapi
/tests enable_tests
21949 wine_fn_config_makefile dlls
/sas enable_sas
21950 wine_fn_config_makefile dlls
/scarddlg enable_scarddlg
21951 wine_fn_config_makefile dlls
/sccbase enable_sccbase
21952 wine_fn_config_makefile dlls
/schannel enable_schannel
21953 wine_fn_config_makefile dlls
/schannel
/tests enable_tests
21954 wine_fn_config_makefile dlls
/schedsvc enable_schedsvc
21955 wine_fn_config_makefile dlls
/schedsvc
/tests enable_tests
21956 wine_fn_config_makefile dlls
/scrobj enable_scrobj
21957 wine_fn_config_makefile dlls
/scrobj
/tests enable_tests
21958 wine_fn_config_makefile dlls
/scrrun enable_scrrun
21959 wine_fn_config_makefile dlls
/scrrun
/tests enable_tests
21960 wine_fn_config_makefile dlls
/scsiport.sys enable_scsiport_sys
21961 wine_fn_config_makefile dlls
/sechost enable_sechost
21962 wine_fn_config_makefile dlls
/secur32 enable_secur32
21963 wine_fn_config_makefile dlls
/secur32
/tests enable_tests
21964 wine_fn_config_makefile dlls
/security enable_security
21965 wine_fn_config_makefile dlls
/sensapi enable_sensapi
21966 wine_fn_config_makefile dlls
/serialui enable_serialui
21967 wine_fn_config_makefile dlls
/serialui
/tests enable_tests
21968 wine_fn_config_makefile dlls
/setupapi enable_setupapi
21969 wine_fn_config_makefile dlls
/setupapi
/tests enable_tests
21970 wine_fn_config_makefile dlls
/setupx.dll16 enable_win16
21971 wine_fn_config_makefile dlls
/sfc enable_sfc
21972 wine_fn_config_makefile dlls
/sfc_os enable_sfc_os
21973 wine_fn_config_makefile dlls
/shcore enable_shcore
21974 wine_fn_config_makefile dlls
/shcore
/tests enable_tests
21975 wine_fn_config_makefile dlls
/shdoclc enable_shdoclc
21976 wine_fn_config_makefile dlls
/shdocvw enable_shdocvw
21977 wine_fn_config_makefile dlls
/shdocvw
/tests enable_tests
21978 wine_fn_config_makefile dlls
/shell.dll16 enable_win16
21979 wine_fn_config_makefile dlls
/shell32 enable_shell32
21980 wine_fn_config_makefile dlls
/shell32
/tests enable_tests
21981 wine_fn_config_makefile dlls
/shfolder enable_shfolder
21982 wine_fn_config_makefile dlls
/shlwapi enable_shlwapi
21983 wine_fn_config_makefile dlls
/shlwapi
/tests enable_tests
21984 wine_fn_config_makefile dlls
/slbcsp enable_slbcsp
21985 wine_fn_config_makefile dlls
/slc enable_slc
21986 wine_fn_config_makefile dlls
/slc
/tests enable_tests
21987 wine_fn_config_makefile dlls
/snmpapi enable_snmpapi
21988 wine_fn_config_makefile dlls
/snmpapi
/tests enable_tests
21989 wine_fn_config_makefile dlls
/softpub enable_softpub
21990 wine_fn_config_makefile dlls
/sound.drv16 enable_win16
21991 wine_fn_config_makefile dlls
/spoolss enable_spoolss
21992 wine_fn_config_makefile dlls
/spoolss
/tests enable_tests
21993 wine_fn_config_makefile dlls
/sppc enable_sppc
21994 wine_fn_config_makefile dlls
/srclient enable_srclient
21995 wine_fn_config_makefile dlls
/srvcli enable_srvcli
21996 wine_fn_config_makefile dlls
/sspicli enable_sspicli
21997 wine_fn_config_makefile dlls
/stdole2.tlb enable_stdole2_tlb
21998 wine_fn_config_makefile dlls
/stdole32.tlb enable_stdole32_tlb
21999 wine_fn_config_makefile dlls
/sti enable_sti
22000 wine_fn_config_makefile dlls
/sti
/tests enable_tests
22001 wine_fn_config_makefile dlls
/storage.dll16 enable_win16
22002 wine_fn_config_makefile dlls
/stress.dll16 enable_win16
22003 wine_fn_config_makefile dlls
/strmdll enable_strmdll
22004 wine_fn_config_makefile dlls
/svrapi enable_svrapi
22005 wine_fn_config_makefile dlls
/sxs enable_sxs
22006 wine_fn_config_makefile dlls
/sxs
/tests enable_tests
22007 wine_fn_config_makefile dlls
/system.drv16 enable_win16
22008 wine_fn_config_makefile dlls
/t2embed enable_t2embed
22009 wine_fn_config_makefile dlls
/t2embed
/tests enable_tests
22010 wine_fn_config_makefile dlls
/tapi32 enable_tapi32
22011 wine_fn_config_makefile dlls
/tapi32
/tests enable_tests
22012 wine_fn_config_makefile dlls
/taskschd enable_taskschd
22013 wine_fn_config_makefile dlls
/taskschd
/tests enable_tests
22014 wine_fn_config_makefile dlls
/tbs enable_tbs
22015 wine_fn_config_makefile dlls
/tdh enable_tdh
22016 wine_fn_config_makefile dlls
/tdi.sys enable_tdi_sys
22017 wine_fn_config_makefile dlls
/threadpoolwinrt enable_threadpoolwinrt
22018 wine_fn_config_makefile dlls
/threadpoolwinrt
/tests enable_tests
22019 wine_fn_config_makefile dlls
/toolhelp.dll16 enable_win16
22020 wine_fn_config_makefile dlls
/traffic enable_traffic
22021 wine_fn_config_makefile dlls
/twain.dll16 enable_win16
22022 wine_fn_config_makefile dlls
/twain_32 enable_twain_32
22023 wine_fn_config_makefile dlls
/twain_32
/tests enable_tests
22024 wine_fn_config_makefile dlls
/typelib.dll16 enable_win16
22025 wine_fn_config_makefile dlls
/tzres enable_tzres
22026 wine_fn_config_makefile dlls
/ucrtbase enable_ucrtbase
22027 wine_fn_config_makefile dlls
/ucrtbase
/tests enable_tests
22028 wine_fn_config_makefile dlls
/uianimation enable_uianimation
22029 wine_fn_config_makefile dlls
/uianimation
/tests enable_tests
22030 wine_fn_config_makefile dlls
/uiautomationcore enable_uiautomationcore
22031 wine_fn_config_makefile dlls
/uiautomationcore
/tests enable_tests
22032 wine_fn_config_makefile dlls
/uiribbon enable_uiribbon
22033 wine_fn_config_makefile dlls
/unicows enable_unicows
22034 wine_fn_config_makefile dlls
/updspapi enable_updspapi
22035 wine_fn_config_makefile dlls
/url enable_url
22036 wine_fn_config_makefile dlls
/urlmon enable_urlmon
22037 wine_fn_config_makefile dlls
/urlmon
/tests enable_tests
22038 wine_fn_config_makefile dlls
/usbd.sys enable_usbd_sys
22039 wine_fn_config_makefile dlls
/user.exe16 enable_win16
22040 wine_fn_config_makefile dlls
/user32 enable_user32
22041 wine_fn_config_makefile dlls
/user32
/tests enable_tests
22042 wine_fn_config_makefile dlls
/userenv enable_userenv
22043 wine_fn_config_makefile dlls
/userenv
/tests enable_tests
22044 wine_fn_config_makefile dlls
/usp10 enable_usp10
22045 wine_fn_config_makefile dlls
/usp10
/tests enable_tests
22046 wine_fn_config_makefile dlls
/utildll enable_utildll
22047 wine_fn_config_makefile dlls
/uxtheme enable_uxtheme
22048 wine_fn_config_makefile dlls
/uxtheme
/tests enable_tests
22049 wine_fn_config_makefile dlls
/vbscript enable_vbscript
22050 wine_fn_config_makefile dlls
/vbscript
/tests enable_tests
22051 wine_fn_config_makefile dlls
/vcomp enable_vcomp
22052 wine_fn_config_makefile dlls
/vcomp
/tests enable_tests
22053 wine_fn_config_makefile dlls
/vcomp100 enable_vcomp100
22054 wine_fn_config_makefile dlls
/vcomp110 enable_vcomp110
22055 wine_fn_config_makefile dlls
/vcomp110
/tests enable_tests
22056 wine_fn_config_makefile dlls
/vcomp120 enable_vcomp120
22057 wine_fn_config_makefile dlls
/vcomp140 enable_vcomp140
22058 wine_fn_config_makefile dlls
/vcomp90 enable_vcomp90
22059 wine_fn_config_makefile dlls
/vcruntime140 enable_vcruntime140
22060 wine_fn_config_makefile dlls
/vcruntime140_1 enable_vcruntime140_1
22061 wine_fn_config_makefile dlls
/vdhcp.vxd enable_win16
22062 wine_fn_config_makefile dlls
/vdmdbg enable_vdmdbg
22063 wine_fn_config_makefile dlls
/ver.dll16 enable_win16
22064 wine_fn_config_makefile dlls
/version enable_version
22065 wine_fn_config_makefile dlls
/version
/tests enable_tests
22066 wine_fn_config_makefile dlls
/vga enable_vga
22067 wine_fn_config_makefile dlls
/virtdisk enable_virtdisk
22068 wine_fn_config_makefile dlls
/virtdisk
/tests enable_tests
22069 wine_fn_config_makefile dlls
/vmm.vxd enable_win16
22070 wine_fn_config_makefile dlls
/vnbt.vxd enable_win16
22071 wine_fn_config_makefile dlls
/vnetbios.vxd enable_win16
22072 wine_fn_config_makefile dlls
/vssapi enable_vssapi
22073 wine_fn_config_makefile dlls
/vtdapi.vxd enable_win16
22074 wine_fn_config_makefile dlls
/vulkan-1 enable_vulkan_1
22075 wine_fn_config_makefile dlls
/vulkan-
1/tests enable_tests
22076 wine_fn_config_makefile dlls
/vwin32.vxd enable_win16
22077 wine_fn_config_makefile dlls
/w32skrnl enable_win16
22078 wine_fn_config_makefile dlls
/w32sys.dll16 enable_win16
22079 wine_fn_config_makefile dlls
/wbemdisp enable_wbemdisp
22080 wine_fn_config_makefile dlls
/wbemdisp
/tests enable_tests
22081 wine_fn_config_makefile dlls
/wbemprox enable_wbemprox
22082 wine_fn_config_makefile dlls
/wbemprox
/tests enable_tests
22083 wine_fn_config_makefile dlls
/wdscore enable_wdscore
22084 wine_fn_config_makefile dlls
/webservices enable_webservices
22085 wine_fn_config_makefile dlls
/webservices
/tests enable_tests
22086 wine_fn_config_makefile dlls
/websocket enable_websocket
22087 wine_fn_config_makefile dlls
/wer enable_wer
22088 wine_fn_config_makefile dlls
/wer
/tests enable_tests
22089 wine_fn_config_makefile dlls
/wevtapi enable_wevtapi
22090 wine_fn_config_makefile dlls
/wevtapi
/tests enable_tests
22091 wine_fn_config_makefile dlls
/wevtsvc enable_wevtsvc
22092 wine_fn_config_makefile dlls
/wiaservc enable_wiaservc
22093 wine_fn_config_makefile dlls
/wiaservc
/tests enable_tests
22094 wine_fn_config_makefile dlls
/wimgapi enable_wimgapi
22095 wine_fn_config_makefile dlls
/win32s16.dll16 enable_win16
22096 wine_fn_config_makefile dlls
/win32u enable_win32u
22097 wine_fn_config_makefile dlls
/win32u
/tests enable_tests
22098 wine_fn_config_makefile dlls
/win87em.dll16 enable_win16
22099 wine_fn_config_makefile dlls
/winaspi.dll16 enable_win16
22100 wine_fn_config_makefile dlls
/windebug.dll16 enable_win16
22101 wine_fn_config_makefile dlls
/windows.devices.enumeration enable_windows_devices_enumeration
22102 wine_fn_config_makefile dlls
/windows.devices.enumeration
/tests enable_tests
22103 wine_fn_config_makefile dlls
/windows.gaming.input enable_windows_gaming_input
22104 wine_fn_config_makefile dlls
/windows.gaming.input
/tests enable_tests
22105 wine_fn_config_makefile dlls
/windows.globalization enable_windows_globalization
22106 wine_fn_config_makefile dlls
/windows.globalization
/tests enable_tests
22107 wine_fn_config_makefile dlls
/windows.media.devices enable_windows_media_devices
22108 wine_fn_config_makefile dlls
/windows.media.devices
/tests enable_tests
22109 wine_fn_config_makefile dlls
/windows.media.speech enable_windows_media_speech
22110 wine_fn_config_makefile dlls
/windows.media.speech
/tests enable_tests
22111 wine_fn_config_makefile dlls
/windows.networking enable_windows_networking
22112 wine_fn_config_makefile dlls
/windowscodecs enable_windowscodecs
22113 wine_fn_config_makefile dlls
/windowscodecs
/tests enable_tests
22114 wine_fn_config_makefile dlls
/windowscodecsext enable_windowscodecsext
22115 wine_fn_config_makefile dlls
/windowscodecsext
/tests enable_tests
22116 wine_fn_config_makefile dlls
/winealsa.drv enable_winealsa_drv
22117 wine_fn_config_makefile dlls
/wineandroid.drv enable_wineandroid_drv
22118 wine_fn_config_makefile dlls
/winebus.sys enable_winebus_sys
22119 wine_fn_config_makefile dlls
/winecoreaudio.drv enable_winecoreaudio_drv
22120 wine_fn_config_makefile dlls
/winecrt0 enable_winecrt0
22121 wine_fn_config_makefile dlls
/wined3d enable_wined3d
22122 wine_fn_config_makefile dlls
/winegstreamer enable_winegstreamer
22123 wine_fn_config_makefile dlls
/winehid.sys enable_winehid_sys
22124 wine_fn_config_makefile dlls
/winemac.drv enable_winemac_drv
22125 wine_fn_config_makefile dlls
/winemapi enable_winemapi
22126 wine_fn_config_makefile dlls
/wineoss.drv enable_wineoss_drv
22127 wine_fn_config_makefile dlls
/wineps.drv enable_wineps_drv
22128 wine_fn_config_makefile dlls
/wineps16.drv16 enable_win16
22129 wine_fn_config_makefile dlls
/winepulse.drv enable_winepulse_drv
22130 wine_fn_config_makefile dlls
/wineusb.sys enable_wineusb_sys
22131 wine_fn_config_makefile dlls
/winevulkan enable_winevulkan
22132 wine_fn_config_makefile dlls
/winex11.drv enable_winex11_drv
22133 wine_fn_config_makefile dlls
/winexinput.sys enable_winexinput_sys
22134 wine_fn_config_makefile dlls
/wing.dll16 enable_win16
22135 wine_fn_config_makefile dlls
/wing32 enable_wing32
22136 wine_fn_config_makefile dlls
/winhttp enable_winhttp
22137 wine_fn_config_makefile dlls
/winhttp
/tests enable_tests
22138 wine_fn_config_makefile dlls
/wininet enable_wininet
22139 wine_fn_config_makefile dlls
/wininet
/tests enable_tests
22140 wine_fn_config_makefile dlls
/winmm enable_winmm
22141 wine_fn_config_makefile dlls
/winmm
/tests enable_tests
22142 wine_fn_config_makefile dlls
/winnls.dll16 enable_win16
22143 wine_fn_config_makefile dlls
/winnls32 enable_winnls32
22144 wine_fn_config_makefile dlls
/winscard enable_winscard
22145 wine_fn_config_makefile dlls
/winsock.dll16 enable_win16
22146 wine_fn_config_makefile dlls
/winspool.drv enable_winspool_drv
22147 wine_fn_config_makefile dlls
/winspool.drv
/tests enable_tests
22148 wine_fn_config_makefile dlls
/winsta enable_winsta
22149 wine_fn_config_makefile dlls
/wintab.dll16 enable_win16
22150 wine_fn_config_makefile dlls
/wintab32 enable_wintab32
22151 wine_fn_config_makefile dlls
/wintab32
/tests enable_tests
22152 wine_fn_config_makefile dlls
/wintrust enable_wintrust
22153 wine_fn_config_makefile dlls
/wintrust
/tests enable_tests
22154 wine_fn_config_makefile dlls
/wintypes enable_wintypes
22155 wine_fn_config_makefile dlls
/wintypes
/tests enable_tests
22156 wine_fn_config_makefile dlls
/winusb enable_winusb
22157 wine_fn_config_makefile dlls
/wlanapi enable_wlanapi
22158 wine_fn_config_makefile dlls
/wlanapi
/tests enable_tests
22159 wine_fn_config_makefile dlls
/wlanui enable_wlanui
22160 wine_fn_config_makefile dlls
/wldap32 enable_wldap32
22161 wine_fn_config_makefile dlls
/wldap32
/tests enable_tests
22162 wine_fn_config_makefile dlls
/wmasf enable_wmasf
22163 wine_fn_config_makefile dlls
/wmi enable_wmi
22164 wine_fn_config_makefile dlls
/wmiutils enable_wmiutils
22165 wine_fn_config_makefile dlls
/wmiutils
/tests enable_tests
22166 wine_fn_config_makefile dlls
/wmp enable_wmp
22167 wine_fn_config_makefile dlls
/wmp
/tests enable_tests
22168 wine_fn_config_makefile dlls
/wmphoto enable_wmphoto
22169 wine_fn_config_makefile dlls
/wmvcore enable_wmvcore
22170 wine_fn_config_makefile dlls
/wmvcore
/tests enable_tests
22171 wine_fn_config_makefile dlls
/wnaspi32 enable_wnaspi32
22172 wine_fn_config_makefile dlls
/wow32 enable_win16
22173 wine_fn_config_makefile dlls
/wow64 enable_wow64
22174 wine_fn_config_makefile dlls
/wow64cpu enable_wow64cpu
22175 wine_fn_config_makefile dlls
/wow64win enable_wow64win
22176 wine_fn_config_makefile dlls
/wpc enable_wpc
22177 wine_fn_config_makefile dlls
/wpc
/tests enable_tests
22178 wine_fn_config_makefile dlls
/wpcap enable_wpcap
22179 wine_fn_config_makefile dlls
/ws2_32 enable_ws2_32
22180 wine_fn_config_makefile dlls
/ws2_32
/tests enable_tests
22181 wine_fn_config_makefile dlls
/wsdapi enable_wsdapi
22182 wine_fn_config_makefile dlls
/wsdapi
/tests enable_tests
22183 wine_fn_config_makefile dlls
/wshom.ocx enable_wshom_ocx
22184 wine_fn_config_makefile dlls
/wshom.ocx
/tests enable_tests
22185 wine_fn_config_makefile dlls
/wsnmp32 enable_wsnmp32
22186 wine_fn_config_makefile dlls
/wsnmp32
/tests enable_tests
22187 wine_fn_config_makefile dlls
/wsock32 enable_wsock32
22188 wine_fn_config_makefile dlls
/wtsapi32 enable_wtsapi32
22189 wine_fn_config_makefile dlls
/wtsapi32
/tests enable_tests
22190 wine_fn_config_makefile dlls
/wuapi enable_wuapi
22191 wine_fn_config_makefile dlls
/wuaueng enable_wuaueng
22192 wine_fn_config_makefile dlls
/x3daudio1_0 enable_x3daudio1_0
22193 wine_fn_config_makefile dlls
/x3daudio1_1 enable_x3daudio1_1
22194 wine_fn_config_makefile dlls
/x3daudio1_2 enable_x3daudio1_2
22195 wine_fn_config_makefile dlls
/x3daudio1_3 enable_x3daudio1_3
22196 wine_fn_config_makefile dlls
/x3daudio1_4 enable_x3daudio1_4
22197 wine_fn_config_makefile dlls
/x3daudio1_5 enable_x3daudio1_5
22198 wine_fn_config_makefile dlls
/x3daudio1_6 enable_x3daudio1_6
22199 wine_fn_config_makefile dlls
/x3daudio1_7 enable_x3daudio1_7
22200 wine_fn_config_makefile dlls
/xactengine2_0 enable_xactengine2_0
22201 wine_fn_config_makefile dlls
/xactengine2_4 enable_xactengine2_4
22202 wine_fn_config_makefile dlls
/xactengine2_7 enable_xactengine2_7
22203 wine_fn_config_makefile dlls
/xactengine2_9 enable_xactengine2_9
22204 wine_fn_config_makefile dlls
/xactengine3_0 enable_xactengine3_0
22205 wine_fn_config_makefile dlls
/xactengine3_1 enable_xactengine3_1
22206 wine_fn_config_makefile dlls
/xactengine3_2 enable_xactengine3_2
22207 wine_fn_config_makefile dlls
/xactengine3_3 enable_xactengine3_3
22208 wine_fn_config_makefile dlls
/xactengine3_4 enable_xactengine3_4
22209 wine_fn_config_makefile dlls
/xactengine3_5 enable_xactengine3_5
22210 wine_fn_config_makefile dlls
/xactengine3_6 enable_xactengine3_6
22211 wine_fn_config_makefile dlls
/xactengine3_7 enable_xactengine3_7
22212 wine_fn_config_makefile dlls
/xactengine3_
7/tests enable_tests
22213 wine_fn_config_makefile dlls
/xapofx1_1 enable_xapofx1_1
22214 wine_fn_config_makefile dlls
/xapofx1_2 enable_xapofx1_2
22215 wine_fn_config_makefile dlls
/xapofx1_3 enable_xapofx1_3
22216 wine_fn_config_makefile dlls
/xapofx1_4 enable_xapofx1_4
22217 wine_fn_config_makefile dlls
/xapofx1_5 enable_xapofx1_5
22218 wine_fn_config_makefile dlls
/xaudio2_0 enable_xaudio2_0
22219 wine_fn_config_makefile dlls
/xaudio2_1 enable_xaudio2_1
22220 wine_fn_config_makefile dlls
/xaudio2_2 enable_xaudio2_2
22221 wine_fn_config_makefile dlls
/xaudio2_3 enable_xaudio2_3
22222 wine_fn_config_makefile dlls
/xaudio2_4 enable_xaudio2_4
22223 wine_fn_config_makefile dlls
/xaudio2_5 enable_xaudio2_5
22224 wine_fn_config_makefile dlls
/xaudio2_6 enable_xaudio2_6
22225 wine_fn_config_makefile dlls
/xaudio2_7 enable_xaudio2_7
22226 wine_fn_config_makefile dlls
/xaudio2_
7/tests enable_tests
22227 wine_fn_config_makefile dlls
/xaudio2_8 enable_xaudio2_8
22228 wine_fn_config_makefile dlls
/xaudio2_9 enable_xaudio2_9
22229 wine_fn_config_makefile dlls
/xinput1_1 enable_xinput1_1
22230 wine_fn_config_makefile dlls
/xinput1_2 enable_xinput1_2
22231 wine_fn_config_makefile dlls
/xinput1_3 enable_xinput1_3
22232 wine_fn_config_makefile dlls
/xinput1_
3/tests enable_tests
22233 wine_fn_config_makefile dlls
/xinput1_4 enable_xinput1_4
22234 wine_fn_config_makefile dlls
/xinput9_1_0 enable_xinput9_1_0
22235 wine_fn_config_makefile dlls
/xmllite enable_xmllite
22236 wine_fn_config_makefile dlls
/xmllite
/tests enable_tests
22237 wine_fn_config_makefile dlls
/xolehlp enable_xolehlp
22238 wine_fn_config_makefile dlls
/xpsprint enable_xpsprint
22239 wine_fn_config_makefile dlls
/xpssvcs enable_xpssvcs
22240 wine_fn_config_makefile fonts enable_fonts
22241 wine_fn_config_makefile include enable_include
22242 wine_fn_config_makefile libs
/adsiid enable_adsiid
22243 wine_fn_config_makefile libs
/dmoguids enable_dmoguids
22244 wine_fn_config_makefile libs
/dxerr8 enable_dxerr8
22245 wine_fn_config_makefile libs
/dxerr9 enable_dxerr9
22246 wine_fn_config_makefile libs
/dxguid enable_dxguid
22247 wine_fn_config_makefile libs
/faudio enable_faudio
22248 wine_fn_config_makefile libs
/gsm enable_gsm
22249 wine_fn_config_makefile libs
/jpeg enable_jpeg
22250 wine_fn_config_makefile libs
/jxr enable_jxr
22251 wine_fn_config_makefile libs
/lcms2 enable_lcms2
22252 wine_fn_config_makefile libs
/mfuuid enable_mfuuid
22253 wine_fn_config_makefile libs
/mpg123 enable_mpg123
22254 wine_fn_config_makefile libs
/png enable_png
22255 wine_fn_config_makefile libs
/strmbase enable_strmbase
22256 wine_fn_config_makefile libs
/strmiids enable_strmiids
22257 wine_fn_config_makefile libs
/tiff enable_tiff
22258 wine_fn_config_makefile libs
/uuid enable_uuid
22259 wine_fn_config_makefile libs
/vkd3d enable_vkd3d
22260 wine_fn_config_makefile libs
/wbemuuid enable_wbemuuid
22261 wine_fn_config_makefile libs
/wine enable_wine
22262 wine_fn_config_makefile libs
/wmcodecdspuuid enable_wmcodecdspuuid
22263 wine_fn_config_makefile libs
/xml2 enable_xml2
22264 wine_fn_config_makefile libs
/xslt enable_xslt
22265 wine_fn_config_makefile libs
/zlib enable_zlib
22266 wine_fn_config_makefile loader enable_loader
22267 wine_fn_config_makefile nls enable_nls
22268 wine_fn_config_makefile po enable_po
22269 wine_fn_config_makefile programs
/arp enable_arp
22270 wine_fn_config_makefile programs
/aspnet_regiis enable_aspnet_regiis
22271 wine_fn_config_makefile programs
/attrib enable_attrib
22272 wine_fn_config_makefile programs
/cabarc enable_cabarc
22273 wine_fn_config_makefile programs
/cacls enable_cacls
22274 wine_fn_config_makefile programs
/chcp.com enable_chcp_com
22275 wine_fn_config_makefile programs
/clock enable_clock
22276 wine_fn_config_makefile programs
/cmd enable_cmd
22277 wine_fn_config_makefile programs
/cmd
/tests enable_tests
22278 wine_fn_config_makefile programs
/conhost enable_conhost
22279 wine_fn_config_makefile programs
/conhost
/tests enable_tests
22280 wine_fn_config_makefile programs
/control enable_control
22281 wine_fn_config_makefile programs
/cscript enable_cscript
22282 wine_fn_config_makefile programs
/dism enable_dism
22283 wine_fn_config_makefile programs
/dllhost enable_dllhost
22284 wine_fn_config_makefile programs
/dplaysvr enable_dplaysvr
22285 wine_fn_config_makefile programs
/dpnsvr enable_dpnsvr
22286 wine_fn_config_makefile programs
/dpvsetup enable_dpvsetup
22287 wine_fn_config_makefile programs
/dxdiag enable_dxdiag
22288 wine_fn_config_makefile programs
/eject enable_eject
22289 wine_fn_config_makefile programs
/expand enable_expand
22290 wine_fn_config_makefile programs
/explorer enable_explorer
22291 wine_fn_config_makefile programs
/extrac32 enable_extrac32
22292 wine_fn_config_makefile programs
/fc enable_fc
22293 wine_fn_config_makefile programs
/find enable_find
22294 wine_fn_config_makefile programs
/find
/tests enable_tests
22295 wine_fn_config_makefile programs
/findstr enable_findstr
22296 wine_fn_config_makefile programs
/fsutil enable_fsutil
22297 wine_fn_config_makefile programs
/fsutil
/tests enable_tests
22298 wine_fn_config_makefile programs
/hh enable_hh
22299 wine_fn_config_makefile programs
/hostname enable_hostname
22300 wine_fn_config_makefile programs
/icacls enable_icacls
22301 wine_fn_config_makefile programs
/icinfo enable_icinfo
22302 wine_fn_config_makefile programs
/iexplore enable_iexplore
22303 wine_fn_config_makefile programs
/ipconfig enable_ipconfig
22304 wine_fn_config_makefile programs
/lodctr enable_lodctr
22305 wine_fn_config_makefile programs
/mofcomp enable_mofcomp
22306 wine_fn_config_makefile programs
/mshta enable_mshta
22307 wine_fn_config_makefile programs
/msidb enable_msidb
22308 wine_fn_config_makefile programs
/msiexec enable_msiexec
22309 wine_fn_config_makefile programs
/msinfo32 enable_msinfo32
22310 wine_fn_config_makefile programs
/net enable_net
22311 wine_fn_config_makefile programs
/netsh enable_netsh
22312 wine_fn_config_makefile programs
/netstat enable_netstat
22313 wine_fn_config_makefile programs
/ngen enable_ngen
22314 wine_fn_config_makefile programs
/notepad enable_notepad
22315 wine_fn_config_makefile programs
/oleview enable_oleview
22316 wine_fn_config_makefile programs
/ping enable_ping
22317 wine_fn_config_makefile programs
/plugplay enable_plugplay
22318 wine_fn_config_makefile programs
/powershell enable_powershell
22319 wine_fn_config_makefile programs
/presentationfontcache enable_presentationfontcache
22320 wine_fn_config_makefile programs
/progman enable_progman
22321 wine_fn_config_makefile programs
/reg enable_reg
22322 wine_fn_config_makefile programs
/reg
/tests enable_tests
22323 wine_fn_config_makefile programs
/regasm enable_regasm
22324 wine_fn_config_makefile programs
/regedit enable_regedit
22325 wine_fn_config_makefile programs
/regedit
/tests enable_tests
22326 wine_fn_config_makefile programs
/regini enable_regini
22327 wine_fn_config_makefile programs
/regsvcs enable_regsvcs
22328 wine_fn_config_makefile programs
/regsvr32 enable_regsvr32
22329 wine_fn_config_makefile programs
/robocopy enable_robocopy
22330 wine_fn_config_makefile programs
/rpcss enable_rpcss
22331 wine_fn_config_makefile programs
/rundll.exe16 enable_win16
22332 wine_fn_config_makefile programs
/rundll32 enable_rundll32
22333 wine_fn_config_makefile programs
/sc enable_sc
22334 wine_fn_config_makefile programs
/sc
/tests enable_tests
22335 wine_fn_config_makefile programs
/schtasks enable_schtasks
22336 wine_fn_config_makefile programs
/schtasks
/tests enable_tests
22337 wine_fn_config_makefile programs
/sdbinst enable_sdbinst
22338 wine_fn_config_makefile programs
/secedit enable_secedit
22339 wine_fn_config_makefile programs
/servicemodelreg enable_servicemodelreg
22340 wine_fn_config_makefile programs
/services enable_services
22341 wine_fn_config_makefile programs
/services
/tests enable_tests
22342 wine_fn_config_makefile programs
/shutdown enable_shutdown
22343 wine_fn_config_makefile programs
/spoolsv enable_spoolsv
22344 wine_fn_config_makefile programs
/start enable_start
22345 wine_fn_config_makefile programs
/subst enable_subst
22346 wine_fn_config_makefile programs
/svchost enable_svchost
22347 wine_fn_config_makefile programs
/systeminfo enable_systeminfo
22348 wine_fn_config_makefile programs
/taskkill enable_taskkill
22349 wine_fn_config_makefile programs
/tasklist enable_tasklist
22350 wine_fn_config_makefile programs
/taskmgr enable_taskmgr
22351 wine_fn_config_makefile programs
/termsv enable_termsv
22352 wine_fn_config_makefile programs
/uninstaller enable_uninstaller
22353 wine_fn_config_makefile programs
/unlodctr enable_unlodctr
22354 wine_fn_config_makefile programs
/view enable_view
22355 wine_fn_config_makefile programs
/wevtutil enable_wevtutil
22356 wine_fn_config_makefile programs
/where enable_where
22357 wine_fn_config_makefile programs
/whoami enable_whoami
22358 wine_fn_config_makefile programs
/wineboot enable_wineboot
22359 wine_fn_config_makefile programs
/winebrowser enable_winebrowser
22360 wine_fn_config_makefile programs
/winecfg enable_winecfg
22361 wine_fn_config_makefile programs
/wineconsole enable_wineconsole
22362 wine_fn_config_makefile programs
/winedbg enable_winedbg
22363 wine_fn_config_makefile programs
/winedevice enable_winedevice
22364 wine_fn_config_makefile programs
/winefile enable_winefile
22365 wine_fn_config_makefile programs
/winemenubuilder enable_winemenubuilder
22366 wine_fn_config_makefile programs
/winemine enable_winemine
22367 wine_fn_config_makefile programs
/winemsibuilder enable_winemsibuilder
22368 wine_fn_config_makefile programs
/winepath enable_winepath
22369 wine_fn_config_makefile programs
/winetest enable_winetest
22370 wine_fn_config_makefile programs
/winevdm enable_win16
22371 wine_fn_config_makefile programs
/winhelp.exe16 enable_win16
22372 wine_fn_config_makefile programs
/winhlp32 enable_winhlp32
22373 wine_fn_config_makefile programs
/winmgmt enable_winmgmt
22374 wine_fn_config_makefile programs
/winoldap.mod16 enable_win16
22375 wine_fn_config_makefile programs
/winver enable_winver
22376 wine_fn_config_makefile programs
/wmic enable_wmic
22377 wine_fn_config_makefile programs
/wmplayer enable_wmplayer
22378 wine_fn_config_makefile programs
/wordpad enable_wordpad
22379 wine_fn_config_makefile programs
/write enable_write
22380 wine_fn_config_makefile programs
/wscript enable_wscript
22381 wine_fn_config_makefile programs
/wscript
/tests enable_tests
22382 wine_fn_config_makefile programs
/wuauserv enable_wuauserv
22383 wine_fn_config_makefile programs
/wusa enable_wusa
22384 wine_fn_config_makefile programs
/xcopy enable_xcopy
22385 wine_fn_config_makefile programs
/xcopy
/tests enable_tests
22386 wine_fn_config_makefile server enable_server
22387 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22388 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/sfnt2fon enable_sfnt2fon
22389 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/widl enable_widl
22390 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winebuild enable_winebuild
22391 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winedump enable_winedump
22392 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winegcc enable_winegcc
22393 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winemaker enable_winemaker
22394 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/wmc enable_wmc
22395 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/wrc enable_wrc
22398 as_fn_append CONFIGURE_TARGETS
" TAGS"
22399 as_fn_append CONFIGURE_TARGETS
" tags"
22400 as_fn_append CONFIGURE_TARGETS
" autom4te.cache"
22401 as_fn_append CONFIGURE_TARGETS
" config.log"
22402 as_fn_append CONFIGURE_TARGETS
" config.status"
22403 as_fn_append CONFIGURE_TARGETS
" include/config.h"
22404 as_fn_append CONFIGURE_TARGETS
" include/stamp-h"
22405 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine"
22407 if test "x$enable_tools" != xno
22409 as_fn_append CONFIGURE_TARGETS
" tools/makedep$ac_exeext"
22410 ac_config_commands
="$ac_config_commands tools/makedep"
22414 ac_config_commands
="$ac_config_commands Makefile"
22421 as_fn_append wine_rules
"
22423 @echo \"Wine build complete.\"
22427 Makefile: config.status \$(MAKEDEP)
22428 @./config.status Makefile
22429 depend: \$(MAKEDEP)
22430 \$(MAKEDEP)$makedep_flags"
22433 as_fn_append wine_rules
"
22434 config.status: ${wine_srcdir}configure
22435 @./config.status --recheck
22436 include/config.h: include/stamp-h
22437 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22438 @./config.status include/config.h include/stamp-h"
22440 if test "x$enable_maintainer_mode" = xyes
22442 as_fn_append wine_rules
"
22443 configure: configure.ac aclocal.m4
22444 autoconf --warnings=all
22445 include/config.h.in: include/stamp-h.in
22446 include/stamp-h.in: configure.ac aclocal.m4
22447 autoheader --warnings=all
22448 @echo timestamp > \$@"
22451 if test "x$enable_tools" != xno
22453 as_fn_append wine_rules
"
22454 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22455 @./config.status tools/makedep
22456 Makefile: tools/makedep$ac_exeext"
22458 as_fn_append wine_rules
"
22460 @echo \"You need to run make in $toolsdir first\" && false"
22464 if test -n "$with_wine64"
22466 case "$with_wine64" in
22470 rm -f fonts server
2>/dev
/null
22471 as_fn_append wine_rules
"
22472 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22473 loader/wine64 loader/wine64-preloader:
22474 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22475 $with_wine64/loader/wine:
22476 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22477 $with_wine64/loader/wine-preloader:
22478 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22480 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22482 TOP_INSTALL_DEV
="$TOP_INSTALL_DEV include"
22483 TOP_INSTALL_LIB
="$TOP_INSTALL_LIB \
22487 programs/msidb/msidb \
22488 programs/msiexec/msiexec \
22489 programs/notepad/notepad \
22490 programs/regedit/regedit \
22491 programs/regsvr32/regsvr32 \
22492 programs/wineboot/wineboot \
22493 programs/winecfg/winecfg \
22494 programs/wineconsole/wineconsole \
22495 programs/winedbg/winedbg \
22496 programs/winefile/winefile \
22497 programs/winemine/winemine \
22498 programs/winepath/winepath \
22502 cygwin
*|mingw32
*|darwin
*|macosx
*|linux-android
*) ;;
22503 *) TOP_INSTALL_LIB
="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22508 as_fn_append wine_rules
"
22510 rm -rf autom4te.cache
22512 rm -f configure include/config.h.in"
22515 as_fn_append wine_rules
"
22516 dlls/ntdll/unix/version.c: dummy
22517 @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)
22518 programs/winetest/build.rc: dummy
22519 @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)
22520 programs/winetest/build.nfo:
22522 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
22523 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22524 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22527 TAGSFLAGS
="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22529 as_fn_append wine_rules
"
22532 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22535 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22537 .PHONY: depend dummy install-manpages"
22539 printf "%s\n" " done" >&6
22540 cat >confcache
<<\_ACEOF
22541 # This file is a shell script that caches the results of configure
22542 # tests run on this system so they can be shared between configure
22543 # scripts and configure runs, see configure's option --config-cache.
22544 # It is not useful on other systems. If it contains results you don't
22545 # want to keep, you may remove or edit it.
22547 # config.status only pays attention to the cache file if you give it
22548 # the --recheck option to rerun configure.
22550 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22551 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22552 # following values.
22556 # The following way of writing the cache mishandles newlines in values,
22557 # but we know of no workaround that is simple, portable, and efficient.
22558 # So, we kill variables containing newlines.
22559 # Ultrix sh set writes to stderr and can't be redirected directly,
22560 # and sets the high bit in the cache file unless we assign to the vars.
22562 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22563 eval ac_val
=\$
$ac_var
22567 *_cv_
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22568 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22571 _ | IFS | as_nl
) ;; #(
22572 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
22573 *) { eval $ac_var=; unset $ac_var;} ;;
22579 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22580 *${as_nl}ac_space
=\
*)
22581 # `set' does not quote correctly, so add quotes: double-quote
22582 # substitution turns \\\\ into \\, and sed turns \\ into \.
22585 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22588 # `set' quotes correctly as required by POSIX, so do not add quotes.
22589 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22598 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22600 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22602 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22603 if test -w "$cache_file"; then
22604 if test "x$cache_file" != "x/dev/null"; then
22605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22606 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22607 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
22608 cat confcache
>"$cache_file"
22610 case $cache_file in #(
22612 mv -f confcache
"$cache_file"$$
&&
22613 mv -f "$cache_file"$$
"$cache_file" ;; #(
22615 mv -f confcache
"$cache_file" ;;
22620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22621 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22626 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22627 # Let make expand exec_prefix.
22628 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22630 DEFS
=-DHAVE_CONFIG_H
22635 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22636 # 1. Remove the extension, and $U if already installed.
22637 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
22638 ac_i
=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22639 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22640 # will be set to the directory where LIBOBJS objects are built.
22641 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22642 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
22644 LIBOBJS
=$ac_libobjs
22646 LTLIBOBJS
=$ac_ltlibobjs
22650 : "${CONFIG_STATUS=./config.status}"
22652 ac_clean_files_save
=$ac_clean_files
22653 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22655 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22657 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22659 # Generated by $as_me.
22660 # Run this file to recreate the current configuration.
22661 # Compiler output produced by configure, useful for debugging
22662 # configure, is in config.log if it exists.
22665 ac_cs_recheck=false
22668 SHELL=\${CONFIG_SHELL-$SHELL}
22671 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
22672 ## -------------------- ##
22673 ## M4sh Initialization. ##
22674 ## -------------------- ##
22676 # Be more Bourne compatible
22677 DUALCASE
=1; export DUALCASE
# for MKS sh
22679 if test ${ZSH_VERSION+y} && (emulate sh
) >/dev
/null
2>&1
22683 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22684 # is contrary to our usage. Disable this feature.
22685 alias -g '${1+"$@"}'='"$@"'
22686 setopt NO_GLOB_SUBST
22688 case `(set -o) 2>/dev/null` in #(
22698 # Reset variables that may have inherited troublesome values from
22701 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22702 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22703 # side effect of setting IFS to empty, thus disabling word splitting.)
22704 # Quoting is to prevent editors from complaining about space-tab.
22714 # Ensure predictable behavior from utilities with locale-dependent output.
22720 # We cannot yet rely on "unset" to work, but we need these variables
22721 # to be unset--not just set to an empty or harmless value--now, to
22722 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22723 # also avoids known problems related to "unset" and subshell syntax
22724 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22725 for as_var
in BASH_ENV ENV MAIL MAILPATH CDPATH
22726 do eval test \
${$as_var+y} \
22727 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
22730 # Ensure that fds 0, 1, and 2 are open.
22731 if (exec 3>&0) 2>/dev
/null
; then :; else exec 0</dev
/null
; fi
22732 if (exec 3>&1) 2>/dev
/null
; then :; else exec 1>/dev
/null
; fi
22733 if (exec 3>&2) ; then :; else exec 2>/dev
/null
; fi
22735 # The user is always right.
22736 if ${PATH_SEPARATOR+false} :; then
22738 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
22739 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
22745 # Find who we are. Look in the path if we contain no directory separator.
22748 *[\\/]* ) as_myself
=$0 ;;
22749 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22750 for as_dir
in $PATH
22753 case $as_dir in #(((
22756 *) as_dir
=$as_dir/ ;;
22758 test -r "$as_dir$0" && as_myself
=$as_dir$0 && break
22764 # We did not find ourselves, most probably we were run as `sh COMMAND'
22765 # in which case we are not to be found in the path.
22766 if test "x$as_myself" = x
; then
22769 if test ! -f "$as_myself"; then
22770 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22776 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22777 # ----------------------------------------
22778 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22779 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22780 # script with STATUS, using 1 if that was 0.
22783 as_status
=$1; test $as_status -eq 0 && as_status
=1
22785 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
22786 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22788 printf "%s\n" "$as_me: error: $2" >&2
22789 as_fn_exit
$as_status
22794 # as_fn_set_status STATUS
22795 # -----------------------
22796 # Set $? to STATUS, without forking.
22797 as_fn_set_status
()
22800 } # as_fn_set_status
22802 # as_fn_exit STATUS
22803 # -----------------
22804 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22808 as_fn_set_status
$1
22814 # Portably unset VAR.
22817 { eval $1=; unset $1;}
22819 as_unset
=as_fn_unset
22821 # as_fn_append VAR VALUE
22822 # ----------------------
22823 # Append the text in VALUE to the end of the definition contained in VAR. Take
22824 # advantage of any shell optimizations that allow amortized linear growth over
22825 # repeated appends, instead of the typical quadratic growth present in naive
22827 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
22829 eval 'as_fn_append ()
22840 # as_fn_arith ARG...
22841 # ------------------
22842 # Perform arithmetic evaluation on the ARGs, and store the result in the
22843 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22844 # must be portable across $(()) and expr.
22845 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
22847 eval 'as_fn_arith ()
22854 as_val
=`expr "$@" || test $? -eq 1`
22859 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22860 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22866 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22867 as_basename
=basename
22872 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
22878 as_me
=`$as_basename -- "$0" ||
22879 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22880 X"$0" : 'X\(//\)$' \| \
22881 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22882 printf "%s\n" X/"$0" |
22883 sed '/^.*\/\([^/][^/]*\)\/*$/{
22897 # Avoid depending upon Character Ranges.
22898 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22899 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22900 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22901 as_cr_digits
='0123456789'
22902 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22905 # Determine whether it's possible to make 'echo' print without a newline.
22906 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22907 # for compatibility with existing Makefiles.
22908 ECHO_C
= ECHO_N
= ECHO_T
=
22909 case `echo -n x` in #(((((
22911 case `echo 'xy\c'` in
22912 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
22914 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
22921 # For backward compatibility with old third-party macros, we provide
22922 # the shell variables $as_echo and $as_echo_n. New code should use
22923 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22924 as_echo
='printf %s\n'
22925 as_echo_n
='printf %s'
22927 rm -f conf$$ conf$$.exe conf$$.
file
22928 if test -d conf$$.dir
; then
22929 rm -f conf$$.dir
/conf$$.
file
22932 mkdir conf$$.dir
2>/dev
/null
22934 if (echo >conf$$.
file) 2>/dev
/null
; then
22935 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22937 # ... but there are two gotchas:
22938 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22939 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22940 # In both cases, we have to default to `cp -pR'.
22941 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
22943 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22951 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
22952 rmdir conf$$.dir
2>/dev
/null
22957 # Create "$as_dir" as a directory, including parents if necessary.
22962 -*) as_dir
=.
/$as_dir;;
22964 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
22968 *\'*) as_qdir
=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22969 *) as_qdir
=$as_dir;;
22971 as_dirs
="'$as_qdir' $as_dirs"
22972 as_dir
=`$as_dirname -- "$as_dir" ||
22973 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22974 X"$as_dir" : 'X\(//\)[^/]' \| \
22975 X"$as_dir" : 'X\(//\)$' \| \
22976 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22977 printf "%s\n" X"$as_dir" |
22978 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22982 /^X\(\/\/\)[^/].*/{
22995 test -d "$as_dir" && break
22997 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22998 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
23002 if mkdir
-p .
2>/dev
/null
; then
23003 as_mkdir_p
='mkdir -p "$as_dir"'
23005 test -d .
/-p && rmdir .
/-p
23010 # as_fn_executable_p FILE
23011 # -----------------------
23012 # Test if FILE is an executable regular file.
23013 as_fn_executable_p
()
23015 test -f "$1" && test -x "$1"
23016 } # as_fn_executable_p
23017 as_test_x
='test -x'
23018 as_executable_p
=as_fn_executable_p
23020 # Sed expression to map a string onto a valid CPP name.
23021 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23023 # Sed expression to map a string onto a valid variable name.
23024 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23028 ## ----------------------------------- ##
23029 ## Main body of $CONFIG_STATUS script. ##
23030 ## ----------------------------------- ##
23032 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
23034 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23035 # Save the log message, to keep $0 and so on meaningful, and to
23036 # report actual input values of CONFIG_FILES etc. instead of their
23037 # values after options handling.
23039 This file was extended by Wine $as_me 7.20, which was
23040 generated by GNU Autoconf 2.71. Invocation command line was
23042 CONFIG_FILES = $CONFIG_FILES
23043 CONFIG_HEADERS = $CONFIG_HEADERS
23044 CONFIG_LINKS = $CONFIG_LINKS
23045 CONFIG_COMMANDS = $CONFIG_COMMANDS
23048 on `(hostname || uname -n) 2>/dev/null | sed 1q`
23054 case $ac_config_headers in *"
23055 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
23059 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23060 # Files that config.status was made for.
23061 config_headers="$ac_config_headers"
23062 config_links="$ac_config_links"
23063 config_commands="$ac_config_commands"
23067 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23069 \`$as_me' instantiates files and other configuration actions
23070 from templates according to the current configuration. Unless the files
23071 and actions are specified as TAGs, all are instantiated by default.
23073 Usage: $0 [OPTION]... [TAG]...
23075 -h, --help print this help, then exit
23076 -V, --version print version number and configuration settings, then exit
23077 --config print configuration, then exit
23078 -q, --quiet, --silent
23079 do not print progress messages
23080 -d, --debug don't remove temporary files
23081 --recheck update $as_me by reconfiguring in the same conditions
23082 --header=FILE[:TEMPLATE]
23083 instantiate the configuration header FILE
23085 Configuration headers:
23088 Configuration links:
23091 Configuration commands:
23094 Report bugs to <wine-devel@winehq.org>.
23095 Wine home page: <https://www.winehq.org>."
23098 ac_cs_config
=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
23099 ac_cs_config_escaped
=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
23100 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23101 ac_cs_config='$ac_cs_config_escaped'
23103 Wine config.status 7.20
23104 configured by $0, generated by GNU Autoconf 2.71,
23105 with options \\"\$ac_cs_config\\"
23107 Copyright (C) 2021 Free Software Foundation, Inc.
23108 This config.status script is free software; the Free Software Foundation
23109 gives unlimited permission to copy, distribute and modify it."
23113 test -n "\$AWK" || AWK=awk
23116 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23117 # The default lists apply if the user does not specify any file.
23123 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
23124 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
23128 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
23140 # Handling of the options.
23141 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
23143 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
23144 printf "%s\n" "$ac_cs_version"; exit ;;
23145 --config |
--confi |
--conf |
--con |
--co |
--c )
23146 printf "%s\n" "$ac_cs_config"; exit ;;
23147 --debug |
--debu |
--deb |
--de |
--d |
-d )
23149 --header |
--heade |
--head |
--hea )
23152 *\'*) ac_optarg
=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23154 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
23155 ac_need_defaults
=false
;;
23157 # Conflict between --help and --header
23158 as_fn_error $?
"ambiguous option: \`$1'
23159 Try \`$0 --help' for more information.";;
23160 --help |
--hel |
-h )
23161 printf "%s\n" "$ac_cs_usage"; exit ;;
23162 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
23163 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
23166 # This is an error.
23167 -*) as_fn_error $?
"unrecognized option: \`$1'
23168 Try \`$0 --help' for more information." ;;
23170 *) as_fn_append ac_config_targets
" $1"
23171 ac_need_defaults
=false
;;
23177 ac_configure_extra_args
=
23179 if $ac_cs_silent; then
23181 ac_configure_extra_args
="$ac_configure_extra_args --silent"
23185 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23186 if \$ac_cs_recheck; then
23187 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23189 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
23190 CONFIG_SHELL='$SHELL'
23191 export CONFIG_SHELL
23196 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23200 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23201 ## Running $as_me. ##
23203 printf "%s\n" "$ac_log"
23207 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23211 wine_fn_output_makedep ()
23213 as_dir=tools; as_fn_mkdir_p
23214 $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
23216 wine_fn_output_makefile ()
23218 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
23219 # This Makefile understands the following targets:
23221 # all (default): build wine
23222 # clean: remove all intermediate files
23223 # distclean: also remove all files created by configure
23225 # testclean: clean test results to force running all tests again
23226 # install-lib: install libraries needed to run applications
23227 # install-dev: install development environment
23228 # install: install everything
23229 # uninstall: uninstall everything
23230 # ctags: create a tags file for vim and others.
23231 # etags: create a TAGS file for Emacs.
23234 PATH_SEPARATOR = $PATH_SEPARATOR
23235 PACKAGE_NAME = $PACKAGE_NAME
23236 PACKAGE_TARNAME = $PACKAGE_TARNAME
23237 PACKAGE_VERSION = $PACKAGE_VERSION
23238 PACKAGE_STRING = $PACKAGE_STRING
23239 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23240 PACKAGE_URL = $PACKAGE_URL
23241 exec_prefix = $exec_prefix
23243 program_transform_name = $program_transform_name
23246 libexecdir = $libexecdir
23247 datarootdir = $datarootdir
23249 sysconfdir = $sysconfdir
23250 sharedstatedir = $sharedstatedir
23251 localstatedir = $localstatedir
23252 runstatedir = $runstatedir
23253 includedir = $includedir
23254 oldincludedir = $oldincludedir
23262 localedir = $localedir
23269 build_alias = $build_alias
23270 host_alias = $host_alias
23271 target_alias = $target_alias
23272 system_dllpath = $system_dllpath
23274 build_cpu = $build_cpu
23275 build_vendor = $build_vendor
23276 build_os = $build_os
23278 host_cpu = $host_cpu
23279 host_vendor = $host_vendor
23285 SET_MAKE = $SET_MAKE
23289 CPPFLAGS = $CPPFLAGS
23290 ac_ct_CC = $ac_ct_CC
23294 CXXFLAGS = $CXXFLAGS
23295 ac_ct_CXX = $ac_ct_CXX
23298 TARGETFLAGS = $TARGETFLAGS
23299 toolsext = $toolsext
23300 HOST_ARCH = $HOST_ARCH
23301 aarch64_CC = $aarch64_CC
23302 aarch64_CFLAGS = $aarch64_CFLAGS
23303 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
23304 aarch64_LDFLAGS = $aarch64_LDFLAGS
23305 aarch64_DEBUG = $aarch64_DEBUG
23306 aarch64_TARGET = $aarch64_TARGET
23307 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
23308 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
23310 arm_CFLAGS = $arm_CFLAGS
23311 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
23312 arm_LDFLAGS = $arm_LDFLAGS
23313 arm_DEBUG = $arm_DEBUG
23314 arm_TARGET = $arm_TARGET
23315 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
23316 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
23318 i386_CFLAGS = $i386_CFLAGS
23319 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
23320 i386_LDFLAGS = $i386_LDFLAGS
23321 i386_DEBUG = $i386_DEBUG
23322 i386_TARGET = $i386_TARGET
23323 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
23324 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
23325 x86_64_CC = $x86_64_CC
23326 x86_64_CFLAGS = $x86_64_CFLAGS
23327 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
23328 x86_64_LDFLAGS = $x86_64_LDFLAGS
23329 x86_64_DEBUG = $x86_64_DEBUG
23330 x86_64_TARGET = $x86_64_TARGET
23331 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
23332 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
23333 toolsdir = $toolsdir
23335 RUNTESTFLAGS = $RUNTESTFLAGS
23340 ac_ct_AR = $ac_ct_AR
23346 LDCONFIG = $LDCONFIG
23348 PKG_CONFIG = $PKG_CONFIG
23349 FONTFORGE = $FONTFORGE
23353 I386_LIBS = $I386_LIBS
23354 OPENGL_LIBS = $OPENGL_LIBS
23355 DLLFLAGS = $DLLFLAGS
23356 LDDLLFLAGS = $LDDLLFLAGS
23357 LDEXECFLAGS = $LDEXECFLAGS
23358 EXTRACFLAGS = $EXTRACFLAGS
23359 UNIXDLLFLAGS = $UNIXDLLFLAGS
23360 UNIXLDFLAGS = $UNIXLDFLAGS
23361 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23362 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23363 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23364 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23369 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23370 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23371 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23373 OBJCFLAGS = $OBJCFLAGS
23374 ac_ct_OBJC = $ac_ct_OBJC
23375 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23376 IOKIT_LIBS = $IOKIT_LIBS
23377 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23378 CORESERVICES_LIBS = $CORESERVICES_LIBS
23379 APPKIT_LIBS = $APPKIT_LIBS
23380 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23381 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23382 SECURITY_LIBS = $SECURITY_LIBS
23383 COREAUDIO_LIBS = $COREAUDIO_LIBS
23384 OPENAL_LIBS = $OPENAL_LIBS
23385 OPENCL_LIBS = $OPENCL_LIBS
23386 CARBON_LIBS = $CARBON_LIBS
23387 METAL_LIBS = $METAL_LIBS
23388 LIBWINE_SHAREDLIB = $LIBWINE_SHAREDLIB
23389 LIBWINE_LDFLAGS = $LIBWINE_LDFLAGS
23390 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23392 LIBWINE_DEPENDS = $LIBWINE_DEPENDS
23393 PE_ARCHS = $PE_ARCHS
23394 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23395 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23396 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23397 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23398 GSM_PE_LIBS = $GSM_PE_LIBS
23399 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23400 JPEG_PE_LIBS = $JPEG_PE_LIBS
23401 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23402 JXR_PE_LIBS = $JXR_PE_LIBS
23403 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23404 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23405 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23406 MPG123_PE_LIBS = $MPG123_PE_LIBS
23407 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23408 PNG_PE_LIBS = $PNG_PE_LIBS
23409 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23410 TIFF_PE_LIBS = $TIFF_PE_LIBS
23411 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23412 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23413 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23414 XML2_PE_LIBS = $XML2_PE_LIBS
23415 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23416 XSLT_PE_LIBS = $XSLT_PE_LIBS
23417 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23418 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23419 PTHREAD_LIBS = $PTHREAD_LIBS
23422 X_CFLAGS = $X_CFLAGS
23423 X_PRE_LIBS = $X_PRE_LIBS
23425 X_EXTRA_LIBS = $X_EXTRA_LIBS
23426 PCAP_LIBS = $PCAP_LIBS
23427 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23428 INOTIFY_LIBS = $INOTIFY_LIBS
23429 DBUS_CFLAGS = $DBUS_CFLAGS
23430 DBUS_LIBS = $DBUS_LIBS
23431 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23432 GNUTLS_LIBS = $GNUTLS_LIBS
23433 SANE_CFLAGS = $SANE_CFLAGS
23434 SANE_LIBS = $SANE_LIBS
23435 USB_CFLAGS = $USB_CFLAGS
23436 USB_LIBS = $USB_LIBS
23437 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23438 GPHOTO2_LIBS = $GPHOTO2_LIBS
23439 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23440 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23441 RESOLV_LIBS = $RESOLV_LIBS
23442 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23443 FREETYPE_LIBS = $FREETYPE_LIBS
23444 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23445 PULSE_CFLAGS = $PULSE_CFLAGS
23446 PULSE_LIBS = $PULSE_LIBS
23447 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23448 GSTREAMER_LIBS = $GSTREAMER_LIBS
23449 ALSA_LIBS = $ALSA_LIBS
23450 OSS4_CFLAGS = $OSS4_CFLAGS
23451 OSS4_LIBS = $OSS4_LIBS
23452 UDEV_CFLAGS = $UDEV_CFLAGS
23453 UDEV_LIBS = $UDEV_LIBS
23454 UNWIND_CFLAGS = $UNWIND_CFLAGS
23455 UNWIND_LIBS = $UNWIND_LIBS
23456 SDL2_CFLAGS = $SDL2_CFLAGS
23457 SDL2_LIBS = $SDL2_LIBS
23458 CAPI20_CFLAGS = $CAPI20_CFLAGS
23459 CAPI20_LIBS = $CAPI20_LIBS
23460 CUPS_CFLAGS = $CUPS_CFLAGS
23461 CUPS_LIBS = $CUPS_LIBS
23462 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23463 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23464 KRB5_CFLAGS = $KRB5_CFLAGS
23465 KRB5_LIBS = $KRB5_LIBS
23466 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23467 GSSAPI_LIBS = $GSSAPI_LIBS
23468 PROCSTAT_LIBS = $PROCSTAT_LIBS
23469 NETAPI_CFLAGS = $NETAPI_CFLAGS
23470 NETAPI_LIBS = $NETAPI_LIBS
23471 MSVCRTFLAGS = $MSVCRTFLAGS
23472 DELAYLOADFLAG = $DELAYLOADFLAG
23474 LDAP_CFLAGS = $LDAP_CFLAGS
23475 LDAP_LIBS = $LDAP_LIBS
23476 TAGSFLAGS = $TAGSFLAGS
23478 LTLIBOBJS = $LTLIBOBJS
23482 as_fn_error $? "could not create Makefile" "$LINENO" 5
23487 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23489 # Handling of arguments.
23490 for ac_config_target
in $ac_config_targets
23492 case $ac_config_target in
23493 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
23494 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
23495 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
23496 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23497 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
23498 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
23500 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23505 # If the user did not use the arguments to specify the items to instantiate,
23506 # then the envvar interface is used. Set only those that are not.
23507 # We use the long form for the default assignment because of an extremely
23508 # bizarre bug on SunOS 4.1.3.
23509 if $ac_need_defaults; then
23510 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS
=$config_headers
23511 test ${CONFIG_LINKS+y} || CONFIG_LINKS
=$config_links
23512 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS
=$config_commands
23515 # Have a temporary directory for convenience. Make it in the build tree
23516 # simply because there is no reason against having it here, and in addition,
23517 # creating and moving files from /tmp can sometimes cause problems.
23518 # Hook for its removal unless debugging.
23519 # Note that there is a small window in which the directory will not be cleaned:
23520 # after its creation but before its name has been assigned to `$tmp'.
23524 trap 'exit_status=$?
23525 : "${ac_tmp:=$tmp}"
23526 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23528 trap 'as_fn_exit 1' 1 2 13 15
23530 # Create a (secure) tmp directory for tmp files.
23533 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23537 tmp
=.
/conf$$
-$RANDOM
23538 (umask 077 && mkdir
"$tmp")
23539 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
23542 # Set up the scripts for CONFIG_HEADERS section.
23543 # No need to generate them if there are no CONFIG_HEADERS.
23544 # This happens for instance with `./config.status Makefile'.
23545 if test -n "$CONFIG_HEADERS"; then
23546 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23550 # Transform confdefs.h into an awk script `defines.awk', embedded as
23551 # here-document in config.status, that substitutes the proper values into
23552 # config.h.in to produce config.h.
23554 # Create a delimiter string that does not exist in confdefs.h, to ease
23555 # handling of long lines.
23557 for ac_last_try
in false false
:; do
23558 ac_tt
=`sed -n "/$ac_delim/p" confdefs.h`
23559 if test -z "$ac_tt"; then
23561 elif $ac_last_try; then
23562 as_fn_error $?
"could not make $CONFIG_HEADERS" "$LINENO" 5
23564 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
23568 # For the awk script, D is an array of macro values keyed by name,
23569 # likewise P contains macro parameters if any. Preserve backslash
23570 # newline sequences.
23572 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
23574 s/.\{148\}/&'"$ac_delim"'/g
23577 s/^[ ]*#[ ]*define[ ][ ]*/ /
23584 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23586 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23590 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23591 D["\1"]=" \3\\\\\\n"\\/p
23593 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23598 s/.\{148\}/&'"$ac_delim"'/g
23603 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23606 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23608 ' <confdefs.h |
sed '
23609 s/'"$ac_delim"'/"\\\
23610 "/g' >>$CONFIG_STATUS || ac_write_fail
=1
23612 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23613 for (key in D) D_is_set[key] = 1
23616 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23618 split(line, arg, " ")
23619 if (arg[1] == "#") {
23623 defundef = substr(arg[1], 2)
23626 split(mac1, mac2, "(") #)
23628 prefix = substr(line, 1, index(line, defundef) - 1)
23629 if (D_is_set[macro]) {
23630 # Preserve the white space surrounding the "#".
23631 print prefix "define", macro P[macro] D[macro]
23634 # Replace #undef with comments. This is necessary, for example,
23635 # in the case of _POSIX_SOURCE, which is predefined and required
23636 # on some systems where configure will not decide to define it.
23637 if (defundef == "undef") {
23638 print "/*", prefix defundef, macro, "*/"
23646 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23647 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
23648 fi # test -n "$CONFIG_HEADERS"
23651 eval set X
" :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23656 :[FHLC
]) ac_mode
=$ac_tag; continue;;
23658 case $ac_mode$ac_tag in
23660 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
23661 :[FH
]-) ac_tag
=-:-;;
23662 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
23679 -) ac_f
="$ac_tmp/stdin";;
23680 *) # Look for the file first in the build tree, then in the source tree
23681 # (if the path is not absolute). The absolute path cannot be DOS-style,
23682 # because $ac_f cannot contain `:'.
23686 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
23688 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23690 case $ac_f in *\'*) ac_f
=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23691 as_fn_append ac_file_inputs
" '$ac_f'"
23694 # Let's still pretend it is `configure' which instantiates (i.e., don't
23695 # use $as_me), people would be surprised to read:
23696 # /* config.h. Generated by config.status. */
23697 configure_input
='Generated from '`
23698 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23700 if test x
"$ac_file" != x-
; then
23701 configure_input
="$ac_file. $configure_input"
23702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23703 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23705 # Neutralize special characters interpreted by sed in replacement strings.
23706 case $configure_input in #(
23707 *\
&* |
*\|
* |
*\\* )
23708 ac_sed_conf_input
=`printf "%s\n" "$configure_input" |
23709 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23710 *) ac_sed_conf_input
=$configure_input;;
23714 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
23715 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
23720 ac_dir
=`$as_dirname -- "$ac_file" ||
23721 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23722 X"$ac_file" : 'X\(//\)[^/]' \| \
23723 X"$ac_file" : 'X\(//\)$' \| \
23724 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23725 printf "%s\n" X"$ac_file" |
23726 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23730 /^X\(\/\/\)[^/].*/{
23743 as_dir
="$ac_dir"; as_fn_mkdir_p
23747 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23749 ac_dir_suffix
=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23750 # A ".." for each directory in $ac_dir_suffix.
23751 ac_top_builddir_sub
=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23752 case $ac_top_builddir_sub in
23753 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23754 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
23757 ac_abs_top_builddir
=$ac_pwd
23758 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
23759 # for backward compatibility:
23760 ac_top_builddir
=$ac_top_build_prefix
23763 .
) # We are building in place.
23765 ac_top_srcdir
=$ac_top_builddir_sub
23766 ac_abs_top_srcdir
=$ac_pwd ;;
23767 [\\/]* | ?
:[\\/]* ) # Absolute name.
23768 ac_srcdir
=$srcdir$ac_dir_suffix;
23769 ac_top_srcdir
=$srcdir
23770 ac_abs_top_srcdir
=$srcdir ;;
23771 *) # Relative name.
23772 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
23773 ac_top_srcdir
=$ac_top_build_prefix$srcdir
23774 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
23776 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
23785 if test x
"$ac_file" != x-
; then
23787 printf "%s\n" "/* $configure_input */" >&1 \
23788 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23789 } >"$ac_tmp/config.h" \
23790 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5
23791 if diff "$ac_file" "$ac_tmp/config.h" >/dev
/null
2>&1; then
23792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23793 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23796 mv "$ac_tmp/config.h" "$ac_file" \
23797 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5
23800 printf "%s\n" "/* $configure_input */" >&1 \
23801 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23802 || as_fn_error $?
"could not create -" "$LINENO" 5
23810 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23813 # Prefer the file from the source tree if names are identical.
23814 if test "$ac_source" = "$ac_file" ||
test ! -r "$ac_source"; then
23815 ac_source
=$srcdir/$ac_source
23818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23819 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23821 if test ! -r "$ac_source"; then
23822 as_fn_error $?
"$ac_source: file not found" "$LINENO" 5
23826 # Try a relative symlink, then a hard link, then a copy.
23828 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$ac_source ;;
23829 *) ac_rel_source
=$ac_top_build_prefix$ac_source ;;
23831 ln -s "$ac_rel_source" "$ac_file" 2>/dev
/null ||
23832 ln "$ac_source" "$ac_file" 2>/dev
/null ||
23833 cp -p "$ac_source" "$ac_file" ||
23834 as_fn_error $?
"cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23837 :C
) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23838 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23843 case $ac_file$ac_mode in
23844 "include/stamp-h":C
) echo timestamp
> include
/stamp-h
;;
23845 "tools/makedep":C
) wine_fn_output_makedep || as_fn_exit $?
;;
23846 "Makefile":C
) wine_fn_output_makefile Makefile
;;
23854 ac_clean_files
=$ac_clean_files_save
23856 test $ac_write_fail = 0 ||
23857 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
23860 # configure is writing to config.log, and then calls config.status.
23861 # config.status does its own redirection, appending to config.log.
23862 # Unfortunately, on DOS this fails, as config.log is still kept open
23863 # by configure, so config.status won't be able to write to it; its
23864 # output is simply discarded. So we exec the FD to /dev/null,
23865 # effectively closing config.log, so it can be properly (re)opened and
23866 # appended to by config.status. When coming back to configure, we
23867 # need to make the FD available again.
23868 if test "$no_create" != yes; then
23870 ac_config_status_args
=
23871 test "$silent" = yes &&
23872 ac_config_status_args
="$ac_config_status_args --quiet"
23874 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23876 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23877 # would make configure fail if this is the last instruction.
23878 $ac_cs_success || as_fn_exit
1
23880 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
23881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23882 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23886 if test "$no_create" = "yes"
23892 if test "x$wine_notices" != x
; then
23895 for msg
in $wine_notices; do
23901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23902 printf "%s\n" "$as_me: $msg" >&6;}
23907 for msg
in $wine_warnings; do
23914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23915 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23921 $as_me: Finished. Do '${ac_make}' to compile Wine.