2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 8.2.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
18 # Be more Bourne compatible
19 DUALCASE
=1; export DUALCASE
# for MKS sh
21 if test ${ZSH_VERSION+y} && (emulate sh
) >/dev
/null
2>&1
25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26 # is contrary to our usage. Disable this feature.
27 alias -g '${1+"$@"}'='"$@"'
30 case `(set -o) 2>/dev/null` in #(
40 # Reset variables that may have inherited troublesome values from
43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
45 # side effect of setting IFS to empty, thus disabling word splitting.)
46 # Quoting is to prevent editors from complaining about space-tab.
56 # Ensure predictable behavior from utilities with locale-dependent output.
62 # We cannot yet rely on "unset" to work, but we need these variables
63 # to be unset--not just set to an empty or harmless value--now, to
64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
65 # also avoids known problems related to "unset" and subshell syntax
66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
67 for as_var
in BASH_ENV ENV MAIL MAILPATH CDPATH
68 do eval test \
${$as_var+y} \
69 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
72 # Ensure that fds 0, 1, and 2 are open.
73 if (exec 3>&0) 2>/dev
/null
; then :; else exec 0</dev
/null
; fi
74 if (exec 3>&1) 2>/dev
/null
; then :; else exec 1>/dev
/null
; fi
75 if (exec 3>&2) ; then :; else exec 2>/dev
/null
; fi
77 # The user is always right.
78 if ${PATH_SEPARATOR+false} :; then
80 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
81 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
87 # Find who we are. Look in the path if we contain no directory separator.
90 *[\\/]* ) as_myself
=$0 ;;
91 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
100 test -r "$as_dir$0" && as_myself
=$as_dir$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Use a proper internal environment variable to ensure we don't fall
118 # into an infinite loop, continuously re-executing ourselves.
119 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
120 _as_can_reexec
=no
; export _as_can_reexec
;
121 # We cannot yet assume a decent shell, so we have to provide a
122 # neutralization value for shells without unset; and this also
123 # works around shells that cannot unset nonexistent variables.
124 # Preserve -v and -x to the replacement shell.
127 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
129 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
135 # Admittedly, this is quite paranoid, since all the known shells bail
136 # out after a failed `exec'.
137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
140 # We don't want this to propagate to other subprocesses.
141 { _as_can_reexec
=; unset _as_can_reexec
;}
142 if test "x$CONFIG_SHELL" = x
; then
143 as_bourne_compatible
="as_nop=:
144 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
148 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
149 # is contrary to our usage. Disable this feature.
150 alias -g '\${1+\"\$@\"}'='\"\$@\"'
153 case \`(set -o) 2>/dev/null\` in #(
161 as_required
="as_fn_return () { (exit \$1); }
162 as_fn_success () { as_fn_return 0; }
163 as_fn_failure () { as_fn_return 1; }
164 as_fn_ret_success () { return 0; }
165 as_fn_ret_failure () { return 1; }
168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
176 exitcode=1; echo positional parameters were not saved.
178 test x\$exitcode = x0 || exit 1
179 blah=\$(echo \$(echo blah))
180 test x\"\$blah\" = xblah || exit 1
182 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
183 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
184 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
185 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
186 test \$(( 1 + 1 )) = 2 || exit 1"
187 if (eval "$as_required") 2>/dev
/null
193 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
197 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
199 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
205 *) as_dir
=$as_dir/ ;;
210 for as_base
in sh bash ksh sh5
; do
211 # Try only shells that exist, to save several forks.
212 as_shell
=$as_dir$as_base
213 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
214 as_run
=a
"$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev
/null
216 CONFIG_SHELL
=$as_shell as_have_required
=yes
217 if as_run
=a
"$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev
/null
231 if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
232 as_run
=a
"$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev
/null
234 CONFIG_SHELL
=$SHELL as_have_required
=yes
239 if test "x$CONFIG_SHELL" != x
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
248 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
250 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
262 if test x
$as_have_required = xno
264 printf "%s\n" "$0: This script requires a shell more modern than all"
265 printf "%s\n" "$0: the shells that I found on your system."
266 if test ${ZSH_VERSION+y} ; then
267 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
268 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
270 printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and
271 $0: wine-devel@winehq.org about your system, including any
272 $0: error possibly output before this message. Then install
273 $0: a modern shell, or manually run the script under such a
274 $0: shell if you do have one."
280 SHELL
=${CONFIG_SHELL-/bin/sh}
282 # Unset more variables known to interfere with behavior of common tools.
283 CLICOLOR_FORCE
= GREP_OPTIONS
=
284 unset CLICOLOR_FORCE GREP_OPTIONS
286 ## --------------------- ##
287 ## M4sh Shell Functions. ##
288 ## --------------------- ##
291 # Portably unset VAR.
294 { eval $1=; unset $1;}
299 # as_fn_set_status STATUS
300 # -----------------------
301 # Set $? to STATUS, without forking.
309 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
318 # Do nothing but, unlike ":", preserve the value of $?.
327 # Create "$as_dir" as a directory, including parents if necessary.
332 -*) as_dir
=.
/$as_dir;;
334 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
338 *\'*) as_qdir
=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
341 as_dirs
="'$as_qdir' $as_dirs"
342 as_dir
=`$as_dirname -- "$as_dir" ||
343 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
344 X"$as_dir" : 'X\(//\)[^/]' \| \
345 X"$as_dir" : 'X\(//\)$' \| \
346 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
347 printf "%s\n" X"$as_dir" |
348 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
365 test -d "$as_dir" && break
367 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
368 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
373 # as_fn_executable_p FILE
374 # -----------------------
375 # Test if FILE is an executable regular file.
376 as_fn_executable_p
()
378 test -f "$1" && test -x "$1"
379 } # as_fn_executable_p
380 # as_fn_append VAR VALUE
381 # ----------------------
382 # Append the text in VALUE to the end of the definition contained in VAR. Take
383 # advantage of any shell optimizations that allow amortized linear growth over
384 # repeated appends, instead of the typical quadratic growth present in naive
386 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
388 eval 'as_fn_append ()
401 # Perform arithmetic evaluation on the ARGs, and store the result in the
402 # global $as_val. Take advantage of shells that can avoid forks. The arguments
403 # must be portable across $(()) and expr.
404 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
413 as_val
=`expr "$@" || test $? -eq 1`
419 # Do nothing but, unlike ":", preserve the value of $?.
426 # as_fn_error STATUS ERROR [LINENO LOG_FD]
427 # ----------------------------------------
428 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
429 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
430 # script with STATUS, using 1 if that was 0.
433 as_status
=$1; test $as_status -eq 0 && as_status
=1
435 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
436 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
438 printf "%s\n" "$as_me: error: $2" >&2
439 as_fn_exit
$as_status
442 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
443 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
449 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
455 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
461 as_me
=`$as_basename -- "$0" ||
462 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
463 X"$0" : 'X\(//\)$' \| \
464 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
465 printf "%s\n" X/"$0" |
466 sed '/^.*\/\([^/][^/]*\)\/*$/{
480 # Avoid depending upon Character Ranges.
481 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
482 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
483 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
484 as_cr_digits
='0123456789'
485 as_cr_alnum
=$as_cr_Letters$as_cr_digits
488 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
489 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
490 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
491 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
492 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
504 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
508 chmod +x
"$as_me.lineno" ||
509 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
511 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
512 # already done that, so ensure we don't try to do so again and fall
513 # in an infinite loop. This has already happened in practice.
514 _as_can_reexec
=no
; export _as_can_reexec
515 # Don't try to exec as it changes $[0], causing all sort of problems
516 # (the dirname of $[0] is not the place where we might find the
517 # original and so on. Autoconf is especially sensitive to this).
519 # Exit status is that of the last command.
524 # Determine whether it's possible to make 'echo' print without a newline.
525 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
526 # for compatibility with existing Makefiles.
527 ECHO_C
= ECHO_N
= ECHO_T
=
528 case `echo -n x` in #(((((
530 case `echo 'xy\c'` in
531 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
533 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
540 # For backward compatibility with old third-party macros, we provide
541 # the shell variables $as_echo and $as_echo_n. New code should use
542 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
543 as_echo
='printf %s\n'
544 as_echo_n
='printf %s'
547 rm -f conf$$ conf$$.exe conf$$.
file
548 if test -d conf$$.dir
; then
549 rm -f conf$$.dir
/conf$$.
file
552 mkdir conf$$.dir
2>/dev
/null
554 if (echo >conf$$.
file) 2>/dev
/null
; then
555 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
557 # ... but there are two gotchas:
558 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
559 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
560 # In both cases, we have to default to `cp -pR'.
561 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
563 elif ln conf$$.
file conf$$
2>/dev
/null
; then
571 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
572 rmdir conf$$.dir
2>/dev
/null
574 if mkdir
-p .
2>/dev
/null
; then
575 as_mkdir_p
='mkdir -p "$as_dir"'
577 test -d .
/-p && rmdir .
/-p
582 as_executable_p
=as_fn_executable_p
584 # Sed expression to map a string onto a valid CPP name.
585 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
587 # Sed expression to map a string onto a valid variable name.
588 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
591 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
595 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
596 # so uname gets run too.
597 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
602 ac_default_prefix
=/usr
/local
604 ac_config_libobj_dir
=.
611 # Identity of this package.
613 PACKAGE_TARNAME
='wine'
614 PACKAGE_VERSION
='8.2'
615 PACKAGE_STRING
='Wine 8.2'
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
747 SYSTEMCONFIGURATION_LIBS
751 APPLICATIONSERVICES_LIBS
763 WINEPRELOADER_LDFLAGS
795 x86_64_DISABLED_SUBDIRS
803 i386_DISABLED_SUBDIRS
819 aarch64_DISABLED_SUBDIRS
820 aarch64_DELAYLOADFLAG
884 program_transform_name
897 enable_option_checking
903 enable_maintainer_mode
1021 enable_d3dcompiler_33
1022 enable_d3dcompiler_34
1023 enable_d3dcompiler_35
1024 enable_d3dcompiler_36
1025 enable_d3dcompiler_37
1026 enable_d3dcompiler_38
1027 enable_d3dcompiler_39
1028 enable_d3dcompiler_40
1029 enable_d3dcompiler_41
1030 enable_d3dcompiler_42
1031 enable_d3dcompiler_43
1032 enable_d3dcompiler_46
1033 enable_d3dcompiler_47
1086 enable_directmanipulation
1123 enable_explorerframe
1180 enable_light_msstyles
1195 enable_mfmediaengine
1260 enable_msvcp140_atomic_wait
1326 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_gaming_ui_gamebar
1450 enable_windows_globalization
1451 enable_windows_media_devices
1452 enable_windows_media_speech
1453 enable_windows_media
1454 enable_windows_networking
1455 enable_windows_system_profile_systemmanufacturers
1457 enable_windowscodecs
1458 enable_windowscodecsext
1460 enable_wineandroid_drv
1462 enable_winecoreaudio_drv
1465 enable_winegstreamer
1471 enable_winepulse_drv
1475 enable_winexinput_sys
1521 enable_xactengine2_0
1522 enable_xactengine2_4
1523 enable_xactengine2_7
1524 enable_xactengine2_9
1525 enable_xactengine3_0
1526 enable_xactengine3_1
1527 enable_xactengine3_2
1528 enable_xactengine3_3
1529 enable_xactengine3_4
1530 enable_xactengine3_5
1531 enable_xactengine3_6
1532 enable_xactengine3_7
1580 enable_wmcodecdspuuid
1588 enable_aspnet_regiis
1634 enable_presentationfontcache
1649 enable_servicemodelreg
1675 enable_winemenubuilder
1677 enable_winemsibuilder
1702 ac_precious_vars
='build_alias
1783 # Initialize some variables set by options.
1785 ac_init_version
=false
1786 ac_unrecognized_opts
=
1787 ac_unrecognized_sep
=
1788 # The variables have the same names as the options, with
1789 # dashes changed to underlines.
1790 cache_file
=/dev
/null
1797 program_transform_name
=s
,x
,x
,
1805 # Installation directory options.
1806 # These are left unexpanded so users can "make install exec_prefix=/foo"
1807 # and all the variables that are supposed to be based on exec_prefix
1808 # by default will actually change.
1809 # Use braces instead of parens because sh, perl, etc. also accept them.
1810 # (The list follows the same order as the GNU Coding Standards.)
1811 bindir
='${exec_prefix}/bin'
1812 sbindir
='${exec_prefix}/sbin'
1813 libexecdir
='${exec_prefix}/libexec'
1814 datarootdir
='${prefix}/share'
1815 datadir
='${datarootdir}'
1816 sysconfdir
='${prefix}/etc'
1817 sharedstatedir
='${prefix}/com'
1818 localstatedir
='${prefix}/var'
1819 runstatedir
='${localstatedir}/run'
1820 includedir
='${prefix}/include'
1821 oldincludedir
='/usr/include'
1822 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1823 infodir
='${datarootdir}/info'
1828 libdir
='${exec_prefix}/lib'
1829 localedir
='${datarootdir}/locale'
1830 mandir
='${datarootdir}/man'
1836 # If the previous option needs an argument, assign it.
1837 if test -n "$ac_prev"; then
1838 eval $ac_prev=\
$ac_option
1844 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1849 case $ac_dashdash$ac_option in
1853 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1855 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1856 bindir
=$ac_optarg ;;
1858 -build |
--build |
--buil |
--bui |
--bu)
1859 ac_prev
=build_alias
;;
1860 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1861 build_alias
=$ac_optarg ;;
1863 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1864 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1865 ac_prev
=cache_file
;;
1866 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1867 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1868 cache_file
=$ac_optarg ;;
1870 --config-cache |
-C)
1871 cache_file
=config.cache
;;
1873 -datadir |
--datadir |
--datadi |
--datad)
1875 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1876 datadir
=$ac_optarg ;;
1878 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1879 |
--dataroo |
--dataro |
--datar)
1880 ac_prev
=datarootdir
;;
1881 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1882 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1883 datarootdir
=$ac_optarg ;;
1885 -disable-* |
--disable-*)
1886 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1887 # Reject names that are not valid shell variable names.
1888 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1889 as_fn_error $?
"invalid feature name: \`$ac_useropt'"
1890 ac_useropt_orig
=$ac_useropt
1891 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1892 case $ac_user_opts in
1894 "enable_
$ac_useropt"
1896 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1897 ac_unrecognized_sep
=', ';;
1899 eval enable_
$ac_useropt=no
;;
1901 -docdir |
--docdir |
--docdi |
--doc |
--do)
1903 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1904 docdir
=$ac_optarg ;;
1906 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1908 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1909 dvidir
=$ac_optarg ;;
1911 -enable-* |
--enable-*)
1912 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1913 # Reject names that are not valid shell variable names.
1914 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1915 as_fn_error $?
"invalid feature name: \`$ac_useropt'"
1916 ac_useropt_orig
=$ac_useropt
1917 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1918 case $ac_user_opts in
1920 "enable_
$ac_useropt"
1922 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1923 ac_unrecognized_sep
=', ';;
1925 eval enable_
$ac_useropt=\
$ac_optarg ;;
1927 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1928 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1929 |
--exec |
--exe |
--ex)
1930 ac_prev
=exec_prefix
;;
1931 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1932 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1933 |
--exec=* |
--exe=* |
--ex=*)
1934 exec_prefix
=$ac_optarg ;;
1936 -gas |
--gas |
--ga |
--g)
1937 # Obsolete; use --with-gas.
1940 -help |
--help |
--hel |
--he |
-h)
1941 ac_init_help
=long
;;
1942 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1943 ac_init_help
=recursive
;;
1944 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1945 ac_init_help
=short
;;
1947 -host |
--host |
--hos |
--ho)
1948 ac_prev
=host_alias
;;
1949 -host=* |
--host=* |
--hos=* |
--ho=*)
1950 host_alias
=$ac_optarg ;;
1952 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1954 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1956 htmldir
=$ac_optarg ;;
1958 -includedir |
--includedir |
--includedi |
--included |
--include \
1959 |
--includ |
--inclu |
--incl |
--inc)
1960 ac_prev
=includedir
;;
1961 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1962 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1963 includedir
=$ac_optarg ;;
1965 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1967 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1968 infodir
=$ac_optarg ;;
1970 -libdir |
--libdir |
--libdi |
--libd)
1972 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1973 libdir
=$ac_optarg ;;
1975 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1976 |
--libexe |
--libex |
--libe)
1977 ac_prev
=libexecdir
;;
1978 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1979 |
--libexe=* |
--libex=* |
--libe=*)
1980 libexecdir
=$ac_optarg ;;
1982 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1983 ac_prev
=localedir
;;
1984 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1985 localedir
=$ac_optarg ;;
1987 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1988 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1989 ac_prev
=localstatedir
;;
1990 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1991 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1992 localstatedir
=$ac_optarg ;;
1994 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1996 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1997 mandir
=$ac_optarg ;;
1999 -nfp |
--nfp |
--nf)
2000 # Obsolete; use --without-fp.
2003 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
2004 |
--no-cr |
--no-c |
-n)
2007 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
2008 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
2011 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
2012 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
2013 |
--oldin |
--oldi |
--old |
--ol |
--o)
2014 ac_prev
=oldincludedir
;;
2015 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
2016 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
2017 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
2018 oldincludedir
=$ac_optarg ;;
2020 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
2022 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
2023 prefix
=$ac_optarg ;;
2025 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
2026 |
--program-pre |
--program-pr |
--program-p)
2027 ac_prev
=program_prefix
;;
2028 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
2029 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
2030 program_prefix
=$ac_optarg ;;
2032 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
2033 |
--program-suf |
--program-su |
--program-s)
2034 ac_prev
=program_suffix
;;
2035 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
2036 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
2037 program_suffix
=$ac_optarg ;;
2039 -program-transform-name |
--program-transform-name \
2040 |
--program-transform-nam |
--program-transform-na \
2041 |
--program-transform-n |
--program-transform- \
2042 |
--program-transform |
--program-transfor \
2043 |
--program-transfo |
--program-transf \
2044 |
--program-trans |
--program-tran \
2045 |
--progr-tra |
--program-tr |
--program-t)
2046 ac_prev
=program_transform_name
;;
2047 -program-transform-name=* |
--program-transform-name=* \
2048 |
--program-transform-nam=* |
--program-transform-na=* \
2049 |
--program-transform-n=* |
--program-transform-=* \
2050 |
--program-transform=* |
--program-transfor=* \
2051 |
--program-transfo=* |
--program-transf=* \
2052 |
--program-trans=* |
--program-tran=* \
2053 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
2054 program_transform_name
=$ac_optarg ;;
2056 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
2058 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
2059 pdfdir
=$ac_optarg ;;
2061 -psdir |
--psdir |
--psdi |
--psd |
--ps)
2063 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
2066 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2067 |
-silent |
--silent |
--silen |
--sile |
--sil)
2070 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
2071 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
2072 |
--run |
--ru |
--r)
2073 ac_prev
=runstatedir
;;
2074 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
2075 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
2076 |
--run=* |
--ru=* |
--r=*)
2077 runstatedir
=$ac_optarg ;;
2079 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
2081 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
2083 sbindir
=$ac_optarg ;;
2085 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
2086 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
2087 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
2089 ac_prev
=sharedstatedir
;;
2090 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
2091 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
2092 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
2094 sharedstatedir
=$ac_optarg ;;
2096 -site |
--site |
--sit)
2098 -site=* |
--site=* |
--sit=*)
2101 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
2103 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
2104 srcdir
=$ac_optarg ;;
2106 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
2107 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
2108 ac_prev
=sysconfdir
;;
2109 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
2110 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
2111 sysconfdir
=$ac_optarg ;;
2113 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
2114 ac_prev
=target_alias
;;
2115 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
2116 target_alias
=$ac_optarg ;;
2118 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
2121 -version |
--version |
--versio |
--versi |
--vers |
-V)
2122 ac_init_version
=: ;;
2125 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2126 # Reject names that are not valid shell variable names.
2127 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2128 as_fn_error $?
"invalid package name: \`$ac_useropt'"
2129 ac_useropt_orig
=$ac_useropt
2130 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2131 case $ac_user_opts in
2135 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2136 ac_unrecognized_sep
=', ';;
2138 eval with_
$ac_useropt=\
$ac_optarg ;;
2140 -without-* |
--without-*)
2141 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2142 # Reject names that are not valid shell variable names.
2143 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2144 as_fn_error $?
"invalid package name: \`$ac_useropt'"
2145 ac_useropt_orig
=$ac_useropt
2146 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2147 case $ac_user_opts in
2151 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2152 ac_unrecognized_sep
=', ';;
2154 eval with_
$ac_useropt=no
;;
2157 # Obsolete; use --with-x.
2160 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
2161 |
--x-incl |
--x-inc |
--x-in |
--x-i)
2162 ac_prev
=x_includes
;;
2163 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
2164 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
2165 x_includes
=$ac_optarg ;;
2167 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
2168 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
2169 ac_prev
=x_libraries
;;
2170 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
2171 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
2172 x_libraries
=$ac_optarg ;;
2174 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
2175 Try \`$0 --help' for more information"
2179 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
2180 # Reject names that are not valid shell variable names.
2181 case $ac_envvar in #(
2182 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
2183 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
2185 eval $ac_envvar=\
$ac_optarg
2186 export $ac_envvar ;;
2189 # FIXME: should be removed in autoconf 3.0.
2190 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2191 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
2192 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2193 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2199 if test -n "$ac_prev"; then
2200 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
2201 as_fn_error $?
"missing argument to $ac_option"
2204 if test -n "$ac_unrecognized_opts"; then
2205 case $enable_option_checking in
2207 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
2208 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2212 # Check all directory arguments for consistency.
2213 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2214 datadir sysconfdir sharedstatedir localstatedir includedir \
2215 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2216 libdir localedir mandir runstatedir
2218 eval ac_val
=\$
$ac_var
2219 # Remove trailing slashes.
2222 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2223 eval $ac_var=\
$ac_val;;
2225 # Be sure to have absolute directory names.
2227 [\\/$
]* | ?
:[\\/]* ) continue;;
2228 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
2230 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
2233 # There might be people who depend on the old broken behavior: `$host'
2234 # used to hold the argument of --host etc.
2235 # FIXME: To remove some day.
2238 target
=$target_alias
2240 # FIXME: To remove some day.
2241 if test "x$host_alias" != x
; then
2242 if test "x$build_alias" = x
; then
2243 cross_compiling
=maybe
2244 elif test "x$build_alias" != "x$host_alias"; then
2250 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
2252 test "$silent" = yes && exec 6>/dev
/null
2255 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
2256 ac_ls_di
=`ls -di .` &&
2257 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
2258 as_fn_error $?
"working directory cannot be determined"
2259 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2260 as_fn_error $?
"pwd does not report name of working directory"
2263 # Find the source files, if location was not specified.
2264 if test -z "$srcdir"; then
2265 ac_srcdir_defaulted
=yes
2266 # Try the directory containing this script, then the parent directory.
2267 ac_confdir
=`$as_dirname -- "$as_myself" ||
2268 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2269 X"$as_myself" : 'X\(//\)[^/]' \| \
2270 X"$as_myself" : 'X\(//\)$' \| \
2271 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2272 printf "%s\n" X"$as_myself" |
2273 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2291 if test ! -r "$srcdir/$ac_unique_file"; then
2295 ac_srcdir_defaulted
=no
2297 if test ! -r "$srcdir/$ac_unique_file"; then
2298 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
2299 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
2301 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
2303 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2305 # When building in place, set srcdir=.
2306 if test "$ac_abs_confdir" = "$ac_pwd"; then
2309 # Remove unnecessary trailing slashes from srcdir.
2310 # Double slashes in file names in object file debugging info
2311 # mess up M-x gdb in Emacs.
2313 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2315 for ac_var
in $ac_precious_vars; do
2316 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
2317 eval ac_env_
${ac_var}_value
=\$
${ac_var}
2318 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
2319 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2323 # Report the --help message.
2325 if test "$ac_init_help" = "long"; then
2326 # Omit some internal or obsolete options to make the list less imposing.
2327 # This message is too long to be a string in the A/UX 3.1 sh.
2329 \`configure' configures Wine 8.2 to adapt to many kinds of systems.
2331 Usage: $0 [OPTION]... [VAR=VALUE]...
2333 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2334 VAR=VALUE. See below for descriptions of some of the useful variables.
2336 Defaults for the options are specified in brackets.
2339 -h, --help display this help and exit
2340 --help=short display options specific to this package
2341 --help=recursive display the short help of all the included packages
2342 -V, --version display version information and exit
2343 -q, --quiet, --silent do not print \`checking ...' messages
2344 --cache-file=FILE cache test results in FILE [disabled]
2345 -C, --config-cache alias for \`--cache-file=config.cache'
2346 -n, --no-create do not create output files
2347 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2349 Installation directories:
2350 --prefix=PREFIX install architecture-independent files in PREFIX
2351 [$ac_default_prefix]
2352 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2355 By default, \`make install' will install all the files in
2356 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2357 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2358 for instance \`--prefix=\$HOME'.
2360 For better control, use the options below.
2362 Fine tuning of the installation directories:
2363 --bindir=DIR user executables [EPREFIX/bin]
2364 --sbindir=DIR system admin executables [EPREFIX/sbin]
2365 --libexecdir=DIR program executables [EPREFIX/libexec]
2366 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2367 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2368 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2369 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2370 --libdir=DIR object code libraries [EPREFIX/lib]
2371 --includedir=DIR C header files [PREFIX/include]
2372 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2373 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2374 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2375 --infodir=DIR info documentation [DATAROOTDIR/info]
2376 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2377 --mandir=DIR man documentation [DATAROOTDIR/man]
2378 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2379 --htmldir=DIR html documentation [DOCDIR]
2380 --dvidir=DIR dvi documentation [DOCDIR]
2381 --pdfdir=DIR pdf documentation [DOCDIR]
2382 --psdir=DIR ps documentation [DOCDIR]
2388 --x-includes=DIR X include files are
in DIR
2389 --x-libraries=DIR X library files are
in DIR
2392 --build=BUILD configure
for building on BUILD
[guessed
]
2393 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2397 if test -n "$ac_init_help"; then
2398 case $ac_init_help in
2399 short | recursive
) echo "Configuration of Wine 8.2:";;
2404 --disable-option-checking ignore unrecognized
--enable/--with options
2405 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2406 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2407 --enable-archs={i386
,x86_64
,arm
,aarch64
}
2408 enable multiple architectures
for PE compilation
2409 --disable-win16 do not include Win16 support
2410 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2412 --disable-tests do not build the regression tests
2413 --enable-build-id include .buildid section in output objects
2414 --enable-maintainer-mode
2415 enable maintainer-specific build rules
2416 --enable-silent-rules use silent build rules (override: "make V=1")
2417 --enable-werror treat compilation warnings as errors
2418 --disable-largefile omit support for large files
2421 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2422 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2423 --without-alsa do not use the Alsa sound support
2424 --without-capi do not use CAPI (ISDN support)
2425 --without-coreaudio do not use the CoreAudio sound support
2426 --without-cups do not use CUPS
2427 --without-dbus do not use DBus (dynamic device support)
2428 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2429 --without-fontconfig do not use fontconfig
2430 --without-freetype do not use the FreeType library
2431 --without-gettext do not use gettext
2432 --with-gettextpo use the GetTextPO library to rebuild po files
2433 --without-gphoto do not use gphoto (Digital Camera support)
2434 --without-gnutls do not use GnuTLS (schannel support)
2435 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2436 --without-gstreamer do not use GStreamer (codecs support)
2437 --without-inotify do not use inotify (filesystem change notifications)
2438 --without-krb5 do not use krb5 (Kerberos)
2439 --without-mingw do not use the MinGW cross-compiler
2440 --without-netapi do not use the Samba NetAPI library
2441 --without-opencl do not use OpenCL
2442 --without-opengl do not use OpenGL
2443 --without-osmesa do not use the OSMesa library
2444 --without-oss do not use the OSS sound support
2445 --without-pcap do not use the Packet Capture library
2446 --without-pcsclite do not use PCSC lite
2447 --without-pthread do not use the pthread library
2448 --without-pulse do not use PulseAudio sound support
2449 --without-sane do not use SANE (scanner support)
2450 --without-sdl do not use SDL
2451 --without-udev do not use udev (plug and play support)
2452 --without-unwind do not use the libunwind library (exception
2454 --without-usb do not use the libusb library
2455 --without-v4l2 do not use v4l2 (video capture)
2456 --without-vulkan do not use Vulkan
2457 --without-xcomposite do not use the Xcomposite extension
2458 --without-xcursor do not use the Xcursor extension
2459 --without-xfixes do not use Xfixes for clipboard change notifications
2460 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2461 --without-xinput do not use the Xinput extension
2462 --without-xinput2 do not use the Xinput 2 extension
2463 --without-xrandr do not use Xrandr (multi-monitor support)
2464 --without-xrender do not use the Xrender extension
2465 --without-xshape do not use the Xshape extension
2466 --without-xshm do not use XShm (shared memory extension)
2467 --without-xxf86vm do not use XFree video mode extension
2468 --with-system-dllpath=PATH
2469 load external PE dependencies from colon-separated
2471 --with-wine-tools=DIR use Wine tools from directory DIR
2472 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2473 --with-x use the X Window System
2475 Some influential environment variables:
2476 CC C compiler command
2477 CFLAGS C compiler flags
2478 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2479 nonstandard directory <lib dir>
2480 LIBS libraries to pass to the linker, e.g. -l<library>
2481 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2482 you have headers in a nonstandard directory <include dir>
2483 CXX C++ compiler command
2484 CXXFLAGS C++ compiler flags
2485 OBJC Objective C compiler command
2486 OBJCFLAGS Objective C compiler flags
2488 C compiler flags for the PE faudio, overriding the bundled
2491 Linker flags for the PE faudio, overriding the bundled version
2493 C compiler flags for the PE gsm, overriding the bundled version
2494 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2496 C compiler flags for the PE jpeg, overriding the bundled version
2498 Linker flags for the PE jpeg, overriding the bundled version
2500 C compiler flags for the PE jxr, overriding the bundled version
2501 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2503 C compiler flags for the PE lcms2, overriding the bundled
2506 Linker flags for the PE lcms2, overriding the bundled version
2508 C compiler flags for the PE ldap, overriding the bundled version
2510 Linker flags for the PE ldap, overriding the bundled version
2512 C compiler flags for the PE mpg123, overriding the bundled
2515 Linker flags for the PE mpg123, overriding the bundled version
2517 C compiler flags for the PE png, overriding the bundled version
2518 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2520 C compiler flags for the PE tiff, overriding the bundled version
2522 Linker flags for the PE tiff, overriding the bundled version
2524 C compiler flags for the PE vkd3d, overriding the bundled
2527 Linker flags for the PE vkd3d, overriding the bundled version
2529 C compiler flags for the PE xml2, overriding the bundled version
2531 Linker flags for the PE xml2, overriding the bundled version
2533 C compiler flags for the PE xslt, overriding the bundled version
2535 Linker flags for the PE xslt, overriding the bundled version
2537 C compiler flags for the PE zlib, overriding the bundled version
2539 Linker flags for the PE zlib, overriding the bundled version
2540 XMKMF Path to xmkmf, Makefile generator for X Window System
2543 C compiler flags for libinotify, overriding pkg-config
2545 Linker flags for libinotify, overriding pkg-config
2546 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2547 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2549 C compiler flags for gnutls, overriding pkg-config
2550 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2551 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2552 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2553 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2554 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2556 C compiler flags for libgphoto2, overriding pkg-config
2558 Linker flags for libgphoto2, overriding pkg-config
2560 C compiler flags for libgphoto2_port, overriding pkg-config
2562 Linker flags for libgphoto2_port, overriding pkg-config
2564 C compiler flags for freetype2, overriding pkg-config
2566 Linker flags for freetype2, overriding pkg-config
2568 C compiler flags for libpulse, overriding pkg-config
2569 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2571 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2572 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2574 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2575 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2576 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2577 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2579 C compiler flags for libunwind, overriding pkg-config
2580 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2581 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2582 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2584 C compiler flags for capi20, overriding pkg-config
2585 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2586 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2587 CUPS_LIBS Linker flags for cups, overriding pkg-config
2589 C compiler flags for fontconfig, overriding pkg-config
2591 Linker flags for fontconfig, overriding pkg-config
2592 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2593 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2595 C compiler flags for krb5-gssapi, overriding pkg-config
2596 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2598 C compiler flags for netapi, overriding pkg-config
2599 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2601 Use these variables to override the choices made by `configure' or to
help
2602 it to
find libraries and programs with nonstandard names
/locations.
2604 Report bugs to
<wine-devel@winehq.org
>.
2605 Wine home page
: <https
://www.winehq.org
>.
2610 if test "$ac_init_help" = "recursive"; then
2611 # If there are subdirs, report their specific --help.
2612 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2613 test -d "$ac_dir" ||
2614 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2619 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2621 ac_dir_suffix
=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2622 # A ".." for each directory in $ac_dir_suffix.
2623 ac_top_builddir_sub
=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2624 case $ac_top_builddir_sub in
2625 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2626 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2629 ac_abs_top_builddir
=$ac_pwd
2630 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2631 # for backward compatibility:
2632 ac_top_builddir
=$ac_top_build_prefix
2635 .
) # We are building in place.
2637 ac_top_srcdir
=$ac_top_builddir_sub
2638 ac_abs_top_srcdir
=$ac_pwd ;;
2639 [\\/]* | ?
:[\\/]* ) # Absolute name.
2640 ac_srcdir
=$srcdir$ac_dir_suffix;
2641 ac_top_srcdir
=$srcdir
2642 ac_abs_top_srcdir
=$srcdir ;;
2644 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2645 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2646 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2648 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2650 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2651 # Check for configure.gnu first; this name is used for a wrapper for
2652 # Metaconfig's "Configure" on case-insensitive file systems.
2653 if test -f "$ac_srcdir/configure.gnu"; then
2655 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2656 elif test -f "$ac_srcdir/configure"; then
2658 $SHELL "$ac_srcdir/configure" --help=recursive
2660 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2662 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2666 test -n "$ac_init_help" && exit $ac_status
2667 if $ac_init_version; then
2670 generated by GNU Autoconf
2.71
2672 Copyright
(C
) 2021 Free Software Foundation
, Inc.
2673 This configure
script is free software
; the Free Software Foundation
2674 gives unlimited permission to copy
, distribute and modify it.
2679 ## ------------------------ ##
2680 ## Autoconf initialization. ##
2681 ## ------------------------ ##
2683 # ac_fn_c_try_compile LINENO
2684 # --------------------------
2685 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2686 ac_fn_c_try_compile
()
2688 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2689 rm -f conftest.
$ac_objext conftest.beam
2690 if { { ac_try
="$ac_compile"
2692 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2693 *) ac_try_echo=$ac_try;;
2695 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2696 printf "%s\n" "$ac_try_echo"; } >&5
2697 (eval "$ac_compile") 2>conftest.err
2699 if test -s conftest.err; then
2700 grep -v '^ *+' conftest.err >conftest.er1
2701 cat conftest.er1 >&5
2702 mv -f conftest.er1 conftest.err
2704 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2705 test $ac_status = 0; } && {
2706 test -z "$ac_c_werror_flag" ||
2707 test ! -s conftest.err
2708 } && test -s conftest.$ac_objext
2712 printf "%s\n" "$as_me: failed program was:" >&5
2713 sed 's/^/| /' conftest.$ac_ext >&5
2717 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2718 as_fn_set_status $ac_retval
2720 } # ac_fn_c_try_compile
2722 # ac_fn_cxx_try_compile LINENO
2723 # ----------------------------
2724 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2725 ac_fn_cxx_try_compile ()
2727 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2728 rm -f conftest.$ac_objext conftest.beam
2729 if { { ac_try="$ac_compile"
2731 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2732 *) ac_try_echo
=$ac_try;;
2734 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2735 printf "%s\n" "$ac_try_echo"; } >&5
2736 (eval "$ac_compile") 2>conftest.err
2738 if test -s conftest.err
; then
2739 grep -v '^ *+' conftest.err
>conftest.er1
2740 cat conftest.er1
>&5
2741 mv -f conftest.er1 conftest.err
2743 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2744 test $ac_status = 0; } && {
2745 test -z "$ac_cxx_werror_flag" ||
2746 test ! -s conftest.err
2747 } && test -s conftest.
$ac_objext
2751 printf "%s\n" "$as_me: failed program was:" >&5
2752 sed 's/^/| /' conftest.
$ac_ext >&5
2756 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2757 as_fn_set_status
$ac_retval
2759 } # ac_fn_cxx_try_compile
2761 # ac_fn_c_try_link LINENO
2762 # -----------------------
2763 # Try to link conftest.$ac_ext, and return whether this succeeded.
2766 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2767 rm -f conftest.
$ac_objext conftest.beam conftest
$ac_exeext
2768 if { { ac_try
="$ac_link"
2770 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2771 *) ac_try_echo=$ac_try;;
2773 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2774 printf "%s\n" "$ac_try_echo"; } >&5
2775 (eval "$ac_link") 2>conftest.err
2777 if test -s conftest.err; then
2778 grep -v '^ *+' conftest.err >conftest.er1
2779 cat conftest.er1 >&5
2780 mv -f conftest.er1 conftest.err
2782 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2783 test $ac_status = 0; } && {
2784 test -z "$ac_c_werror_flag" ||
2785 test ! -s conftest.err
2786 } && test -s conftest$ac_exeext && {
2787 test "$cross_compiling" = yes ||
2788 test -x conftest$ac_exeext
2793 printf "%s\n" "$as_me: failed program was:" >&5
2794 sed 's/^/| /' conftest.$ac_ext >&5
2798 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2799 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2800 # interfere with the next link command; also delete a directory that is
2801 # left behind by Apple's compiler. We do this before executing the actions.
2802 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2803 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2804 as_fn_set_status $ac_retval
2806 } # ac_fn_c_try_link
2808 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2809 # -------------------------------------------------------
2810 # Tests whether HEADER exists and can be compiled using the include files in
2811 # INCLUDES, setting the cache variable VAR accordingly.
2812 ac_fn_c_check_header_compile ()
2814 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2816 printf %s "checking for $2... " >&6; }
2817 if eval test \${$3+y}
2819 printf %s "(cached) " >&6
2821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2822 /* end confdefs.h. */
2826 if ac_fn_c_try_compile "$LINENO"
2832 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2836 printf "%s\n" "$ac_res" >&6; }
2837 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2839 } # ac_fn_c_check_header_compile
2841 # ac_fn_objc_try_compile LINENO
2842 # -----------------------------
2843 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2844 ac_fn_objc_try_compile ()
2846 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2847 rm -f conftest.$ac_objext conftest.beam
2848 if { { ac_try="$ac_compile"
2850 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2851 *) ac_try_echo
=$ac_try;;
2853 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2854 printf "%s\n" "$ac_try_echo"; } >&5
2855 (eval "$ac_compile") 2>conftest.err
2857 if test -s conftest.err
; then
2858 grep -v '^ *+' conftest.err
>conftest.er1
2859 cat conftest.er1
>&5
2860 mv -f conftest.er1 conftest.err
2862 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2863 test $ac_status = 0; } && {
2864 test -z "$ac_objc_werror_flag" ||
2865 test ! -s conftest.err
2866 } && test -s conftest.
$ac_objext
2870 printf "%s\n" "$as_me: failed program was:" >&5
2871 sed 's/^/| /' conftest.
$ac_ext >&5
2875 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2876 as_fn_set_status
$ac_retval
2878 } # ac_fn_objc_try_compile
2880 # ac_fn_c_check_func LINENO FUNC VAR
2881 # ----------------------------------
2882 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2883 ac_fn_c_check_func
()
2885 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2887 printf %s
"checking for $2... " >&6; }
2888 if eval test \
${$3+y}
2890 printf %s
"(cached) " >&6
2892 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2893 /* end confdefs.h. */
2894 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2895 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2896 #define $2 innocuous_$2
2898 /* System header to define __stub macros and hopefully few prototypes,
2899 which can conflict with char $2 (); below. */
2904 /* Override any GCC internal prototype to avoid an error.
2905 Use char because int might match the return type of a GCC
2906 builtin and then its argument prototype would still apply. */
2911 /* The GNU C library defines this for functions which it implements
2912 to always fail with ENOSYS. Some functions are actually named
2913 something starting with __ and the normal name is an alias. */
2914 #if defined __stub_$2 || defined __stub___$2
2926 if ac_fn_c_try_link
"$LINENO"
2932 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
2933 conftest
$ac_exeext conftest.
$ac_ext
2936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2937 printf "%s\n" "$ac_res" >&6; }
2938 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2940 } # ac_fn_c_check_func
2942 # ac_fn_c_try_cpp LINENO
2943 # ----------------------
2944 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2947 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2948 if { { ac_try
="$ac_cpp conftest.$ac_ext"
2950 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2951 *) ac_try_echo=$ac_try;;
2953 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2954 printf "%s\n" "$ac_try_echo"; } >&5
2955 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2957 if test -s conftest.err; then
2958 grep -v '^ *+' conftest.err >conftest.er1
2959 cat conftest.er1 >&5
2960 mv -f conftest.er1 conftest.err
2962 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2963 test $ac_status = 0; } > conftest.i && {
2964 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2965 test ! -s conftest.err
2970 printf "%s\n" "$as_me: failed program was:" >&5
2971 sed 's/^/| /' conftest.$ac_ext >&5
2975 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2976 as_fn_set_status $ac_retval
2980 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2981 # ----------------------------------------------------
2982 # Tries to find if the field MEMBER exists in type AGGR, after including
2983 # INCLUDES, setting cache variable VAR accordingly.
2984 ac_fn_c_check_member ()
2986 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2988 printf %s "checking for $2.$3... " >&6; }
2989 if eval test \${$4+y}
2991 printf %s "(cached) " >&6
2993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2994 /* end confdefs.h. */
3006 if ac_fn_c_try_compile "$LINENO"
3010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3011 /* end confdefs.h. */
3017 if (sizeof ac_aggr.$3)
3023 if ac_fn_c_try_compile "$LINENO"
3029 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3031 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3035 printf "%s\n" "$ac_res" >&6; }
3036 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3038 } # ac_fn_c_check_member
3040 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3041 # -------------------------------------------
3042 # Tests whether TYPE exists after having included INCLUDES, setting cache
3043 # variable VAR accordingly.
3044 ac_fn_c_check_type ()
3046 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3048 printf %s "checking for $2... " >&6; }
3049 if eval test \${$3+y}
3051 printf %s "(cached) " >&6
3054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3055 /* end confdefs.h. */
3066 if ac_fn_c_try_compile "$LINENO"
3068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3069 /* end confdefs.h. */
3080 if ac_fn_c_try_compile "$LINENO"
3086 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3088 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3092 printf "%s\n" "$ac_res" >&6; }
3093 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3095 } # ac_fn_c_check_type
3096 ac_configure_args_raw=
3101 ac_arg=`printf "%s\n" "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
3103 as_fn_append ac_configure_args_raw " '$ac_arg'"
3106 case $ac_configure_args_raw in
3110 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3111 ac_unsafe_a="$ac_unsafe_z#~
"
3112 ac_safe_unquote="s
/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g
"
3113 ac_configure_args_raw=` printf "%s
\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3116 cat >config.log <<_ACEOF
3117 This file contains any messages produced by compilers while
3118 running configure, to aid debugging if configure makes a mistake.
3120 It was created by Wine $as_me 8.2, which was
3121 generated by GNU Autoconf 2.71. Invocation command line was
3123 $ $0$ac_configure_args_raw
3133 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3134 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3135 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3136 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3137 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3139 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3140 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3142 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3143 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3144 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3145 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3146 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3147 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3148 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3156 case $as_dir in #(((
3159 *) as_dir=$as_dir/ ;;
3161 printf "%s
\n" "PATH
: $as_dir"
3177 # Keep a trace of the command line.
3178 # Strip out --no-create and --no-recursion so they do not pile up.
3179 # Strip out --silent because we don't want to record it for future runs.
3180 # Also quote any args containing shell meta-characters.
3181 # Make two passes to allow for proper duplicate-argument suppression.
3185 ac_must_keep_next=false
3191 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3192 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3193 | -silent | --silent | --silen | --sile | --sil)
3196 ac_arg=`printf "%s
\n" "$ac_arg" | sed "s
/'/'\\\\\\\\''/g
"` ;;
3199 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3201 as_fn_append ac_configure_args1 " '$ac_arg'"
3202 if test $ac_must_keep_next = true; then
3203 ac_must_keep_next=false # Got value, back to normal.
3206 *=* | --config-cache | -C | -disable-* | --disable-* \
3207 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3208 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3209 | -with-* | --with-* | -without-* | --without-* | --x)
3210 case "$ac_configure_args0 " in
3211 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3214 -* ) ac_must_keep_next=true ;;
3217 as_fn_append ac_configure_args " '$ac_arg'"
3222 { ac_configure_args0=; unset ac_configure_args0;}
3223 { ac_configure_args1=; unset ac_configure_args1;}
3225 # When interrupted or exit'd, cleanup temporary files, and complete
3226 # config.log. We remove comments because anyway the quotes in there
3227 # would cause problems or look ugly.
3228 # WARNING: Use '\'' to represent an apostrophe within the trap.
3229 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3230 trap 'exit_status=$?
3233 # Save into config.log some information that might help in debugging.
3237 printf "%s
\n" "## ---------------- ##
3238 ## Cache variables. ##
3239 ## ---------------- ##"
3241 # The following way of writing the cache mishandles newlines in values,
3243 for ac_var
in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3244 eval ac_val
=\$
$ac_var
3248 *_cv_
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3249 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3252 _ | IFS | as_nl
) ;; #(
3253 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
3254 *) { eval $ac_var=; unset $ac_var;} ;;
3259 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3260 *${as_nl}ac_space
=\
*)
3262 "s/'\''/'\''\\\\'\'''\''/g;
3263 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3266 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3273 printf "%s\n" "## ----------------- ##
3274 ## Output variables. ##
3275 ## ----------------- ##"
3277 for ac_var
in $ac_subst_vars
3279 eval ac_val
=\$
$ac_var
3281 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3283 printf "%s\n" "$ac_var='\''$ac_val'\''"
3287 if test -n "$ac_subst_files"; then
3288 printf "%s\n" "## ------------------- ##
3289 ## File substitutions. ##
3290 ## ------------------- ##"
3292 for ac_var in $ac_subst_files
3294 eval ac_val=\$$ac_var
3296 *\'\''*) ac_val
=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3298 printf "%s\n" "$ac_var='\''$ac_val'\''"
3303 if test -s confdefs.h
; then
3304 printf "%s\n" "## ----------- ##
3311 test "$ac_signal" != 0 &&
3312 printf "%s\n" "$as_me: caught signal $ac_signal"
3313 printf "%s\n" "$as_me: exit $exit_status"
3315 rm -f core
*.core core.conftest.
* &&
3316 rm -f -r conftest
* confdefs
* conf$$
* $ac_clean_files &&
3319 for ac_signal in 1 2 13 15; do
3320 trap 'ac_signal
='$ac_signal'; as_fn_exit
1' $ac_signal
3324 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3325 rm -f -r conftest* confdefs.h
3327 printf "%s\n" "/* confdefs.h */" > confdefs.h
3329 # Predefined preprocessor variables.
3331 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3333 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3335 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3337 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3339 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3341 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3344 # Let the site file select an alternate cache file if it wants to.
3345 # Prefer an explicitly selected file to automatically selected ones.
3346 if test -n "$CONFIG_SITE"; then
3347 ac_site_files="$CONFIG_SITE"
3348 elif test "x$prefix" != xNONE; then
3349 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3351 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3354 for ac_site_file in $ac_site_files
3356 case $ac_site_file in #(
3360 ac_site_file=./$ac_site_file ;;
3362 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3364 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3365 sed 's
/^
/|
/' "$ac_site_file" >&5
3367 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3368 printf "%s
\n" "$as_me: error
: in \
`$ac_pwd':" >&2;}
3369 as_fn_error $? "failed to load site script $ac_site_file
3370 See \`config.log
' for more details" "$LINENO" 5; }
3374 if test -r "$cache_file"; then
3375 # Some versions of bash will fail to source /dev/null (special files
3376 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3377 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3379 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3381 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3382 *) . "./$cache_file";;
3386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3387 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3391 # Test code for whether the C compiler supports C89 (global declarations)
3392 ac_c_conftest_c89_globals='
3393 /* Does the compiler advertise C89 conformance?
3394 Do not
test the value of __STDC__
, because some compilers
set it to
0
3395 while being otherwise adequately conformant.
*/
3396 #if !defined __STDC__
3397 # error "Compiler does not advertise C89 conformance"
3403 /* Most of the following tests are stolen from RCS
5.7 src
/conf.sh.
*/
3404 struct buf
{ int x
; };
3405 struct buf
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
3406 static char
*e
(p
, i
)
3412 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
3417 s
= g
(p
, va_arg
(v
,int
));
3422 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
3423 function prototypes and stuff
, but not \xHH hex character constants.
3424 These
do not provoke an error unfortunately
, instead are silently treated
3425 as an
"x". The following induces an error
, until -std is added to get
3426 proper ANSI mode. Curiously
\x00 != x always comes out true
, for an
3427 array size
at least. It is necessary to
write \x00 == 0 to get something
3428 that is true only with
-std.
*/
3429 int osf4_cc_array
['\''\x00'\'' == 0 ?
1 : -1];
3431 /* IBM C
6 for AIX is almost-ANSI by default
, but it replaces macro parameters
3432 inside
strings and character constants.
*/
3433 #define FOO(x) '\''x'\''
3434 int xlc6_cc_array
[FOO
(a
) == '\''x
'\'' ?
1 : -1];
3436 int
test (int i
, double x
);
3437 struct s1
{int
(*f
) (int a
);};
3438 struct s2
{int
(*f
) (double a
);};
3439 int pairnames
(int
, char
**, int
*(*)(struct buf
*, struct stat
*, int
),
3442 # Test code for whether the C compiler supports C89 (body of main).
3443 ac_c_conftest_c89_main='
3444 ok |
= (argc
== 0 || f
(e
, argv
, 0) != argv
[0] || f
(e
, argv
, 1) != argv
[1]);
3447 # Test code for whether the C compiler supports C99 (global declarations)
3448 ac_c_conftest_c99_globals='
3449 // Does the compiler advertise C99 conformance?
3450 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3451 # error "Compiler does not advertise C99 conformance"
3454 #include <stdbool.h>
3455 extern int puts
(const char
*);
3456 extern int
printf (const char
*, ...
);
3457 extern int dprintf
(int
, const char
*, ...
);
3458 extern void
*malloc
(size_t
);
3460 // Check varargs macros. These examples are taken from C99
6.10.3.5.
3461 // dprintf is used instead of fprintf to avoid needing to
declare
3463 #define debug(...) dprintf (2, __VA_ARGS__)
3464 #define showlist(...) puts (#__VA_ARGS__)
3465 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3467 test_varargs_macros
(void
)
3472 debug
("X = %d\n", x
);
3473 showlist
(The first
, second
, and third items.
);
3474 report
(x
>y
, "x is %d but y is %d", x
, y
);
3477 // Check long long types.
3478 #define BIG64 18446744073709551615ull
3479 #define BIG32 4294967295ul
3480 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3482 #error "your preprocessor is broken"
3486 #error "your preprocessor is broken"
3488 static long long int bignum
= -9223372036854775807LL;
3489 static unsigned long long int ubignum
= BIG64
;
3491 struct incomplete_array
3499 const wchar_t
*name
;
3503 typedef const char
*ccp
;
3506 test_restrict
(ccp restrict text
)
3508 // See
if C
++-style comments work.
3509 // Iterate through items via the restricted pointer.
3510 // Also check
for declarations
in for loops.
3511 for (unsigned int i
= 0; *(text
+i
) != '\''\
0'\''; ++i
)
3516 // Check varargs and va_copy.
3518 test_varargs
(const char
*format
, ...
)
3521 va_start
(args
, format
);
3523 va_copy
(args_copy
, args
);
3525 const char
*str
= "";
3533 case '\''s
'\'': // string
3534 str
= va_arg
(args_copy
, const char
*);
3536 case '\''d
'\'': // int
3537 number
= va_arg
(args_copy
, int
);
3539 case '\''f
'\'': // float
3540 fnumber
= va_arg
(args_copy
, double
);
3549 return *str
&& number
&& fnumber
;
3553 # Test code for whether the C compiler supports C99 (body of main).
3554 ac_c_conftest_c99_main='
3556 _Bool success
= false
;
3557 success |
= (argc
!= 0);
3560 if (test_restrict
("String literal") == 0)
3562 char
*restrict newvar
= "Another string";
3565 success
&= test_varargs
("s, d'\'' f .", "string", 65, 34.234);
3566 test_varargs_macros
();
3568 // Check flexible array members.
3569 struct incomplete_array
*ia
=
3570 malloc
(sizeof
(struct incomplete_array
) + (sizeof
(double
) * 10));
3572 for (int i
= 0; i
< ia-
>datasize
; ++i
)
3573 ia-
>data
[i
] = i
* 1.234;
3575 // Check named initializers.
3576 struct named_init ni
= {
3578 .name
= L
"Test wide string",
3579 .average
= 543.34343,
3584 int dynamic_array
[ni.number
];
3585 dynamic_array
[0] = argv
[0][0];
3586 dynamic_array
[ni.number
- 1] = 543;
3588 // work around unused variable warnings
3589 ok |
= (!success || bignum
== 0LL || ubignum
== 0uLL || newvar
[0] == '\''x
'\''
3590 || dynamic_array
[ni.number
- 1] != 543);
3593 # Test code for whether the C compiler supports C11 (global declarations)
3594 ac_c_conftest_c11_globals='
3595 // Does the compiler advertise C11 conformance?
3596 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3597 # error "Compiler does not advertise C11 conformance"
3601 char _Alignas
(double
) aligned_as_double
;
3602 char _Alignas
(0) no_special_alignment
;
3603 extern char aligned_as_int
;
3604 char _Alignas
(0) _Alignas
(int
) aligned_as_int
;
3609 int_alignment
= _Alignof
(int
),
3610 int_array_alignment
= _Alignof
(int
[100]),
3611 char_alignment
= _Alignof
(char
)
3613 _Static_assert
(0 < -_Alignof (int
), "_Alignof is signed");
3616 int _Noreturn does_not_return
(void
) { for (;;) continue; }
3618 // Check _Static_assert.
3619 struct test_static_assert
3622 _Static_assert
(sizeof
(int
) <= sizeof
(long int
),
3623 "_Static_assert does not work in struct");
3627 // Check UTF-8 literals.
3628 #define u8 syntax error!
3629 char const utf8_literal
[] = u8
"happens to be ASCII" "another string";
3631 // Check duplicate typedefs.
3632 typedef long
*long_ptr
;
3633 typedef long int
*long_ptr
;
3634 typedef long_ptr long_ptr
;
3636 // Anonymous structures and unions
-- taken from C11
6.7.2.1 Example
1.
3640 struct
{ int i
; int j
; };
3641 struct
{ int k
; long int l
; } w
;
3647 # Test code for whether the C compiler supports C11 (body of main).
3648 ac_c_conftest_c11_main='
3649 _Static_assert
((offsetof
(struct anonymous
, i
)
3650 == offsetof
(struct anonymous
, w.k
)),
3651 "Anonymous union alignment botch");
3657 # Test code for whether the C compiler supports C11 (complete).
3658 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3659 ${ac_c_conftest_c99_globals}
3660 ${ac_c_conftest_c11_globals}
3663 main (int argc, char **argv)
3666 ${ac_c_conftest_c89_main}
3667 ${ac_c_conftest_c99_main}
3668 ${ac_c_conftest_c11_main}
3673 # Test code for whether the C compiler supports C99 (complete).
3674 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3675 ${ac_c_conftest_c99_globals}
3678 main (int argc, char **argv)
3681 ${ac_c_conftest_c89_main}
3682 ${ac_c_conftest_c99_main}
3687 # Test code for whether the C compiler supports C89 (complete).
3688 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3691 main (int argc, char **argv)
3694 ${ac_c_conftest_c89_main}
3699 # Test code for whether the C++ compiler supports C++98 (global declarations)
3700 ac_cxx_conftest_cxx98_globals='
3701 // Does the compiler advertise C
++98 conformance?
3702 #if !defined __cplusplus || __cplusplus < 199711L
3703 # error "Compiler does not advertise C++98 conformance"
3706 // These inclusions are to reject old compilers that
3707 // lack the unsuffixed header files.
3709 #include <exception>
3711 // <cassert
> and
<cstring
> are
*not
* freestanding headers
in C
++98.
3712 extern void assert
(int
);
3714 extern int strcmp
(const char
*, const char
*);
3717 // Namespaces
, exceptions
, and templates were all added after
"C++ 2.0".
3718 using std
::exception
;
3723 void test_exception_syntax
()
3727 } catch
(const char
*s
) {
3728 // Extra parentheses suppress a warning when building autoconf itself
,
3729 // due to lint rules shared with
more typical C programs.
3730 assert
(!(strcmp
) (s
, "test"));
3734 template
<typename T
> struct test_template
3737 explicit test_template
(T t
) : val
(t
) {}
3738 template
<typename U
> T add
(U u
) { return static_cast
<T
>(u
) + val
; }
3741 } // anonymous namespace
3744 # Test code for whether the C++ compiler supports C++98 (body of main)
3745 ac_cxx_conftest_cxx98_main='
3749 test_exception_syntax
();
3750 test_template
<double
> tt
(2.0);
3751 assert
(tt.add
(4) == 6.0);
3752 assert
(true
&& !false
);
3756 # Test code for whether the C++ compiler supports C++11 (global declarations)
3757 ac_cxx_conftest_cxx11_globals='
3758 // Does the compiler advertise C
++ 2011 conformance?
3759 #if !defined __cplusplus || __cplusplus < 201103L
3760 # error "Compiler does not advertise C++11 conformance"
3765 constexpr int get_val
() { return 20; }
3776 delegate
(int n
) : n
(n
) {}
3777 delegate
(): delegate
(2354) {}
3779 virtual int getval
() { return this-
>n
; };
3784 class overridden
: public delegate
3787 overridden
(int n
): delegate
(n
) {}
3788 virtual int getval
() override final
{ return this-
>n
* 2; }
3794 nocopy
(int i
): i
(i
) {}
3796 nocopy
(const nocopy
&) = delete
;
3797 nocopy
& operator
=(const nocopy
&) = delete
;
3802 // for testing lambda expressions
3803 template
<typename Ret
, typename Fn
> Ret
eval(Fn f
, Ret v
)
3808 // for testing variadic templates and trailing
return types
3809 template
<typename V
> auto
sum(V first
) -> V
3813 template
<typename V
, typename... Args
> auto
sum(V first
, Args... rest
) -> V
3815 return first
+ sum(rest...
);
3820 # Test code for whether the C++ compiler supports C++11 (body of main)
3821 ac_cxx_conftest_cxx11_main='
3823 // Test auto and decltype
3825 auto a2
= 48573953.4;
3826 auto a3
= "String literal";
3829 for (auto i
= a3
; *i
; ++i
) { total
+= *i
; }
3831 decltype
(a2
) a4
= 34895.034;
3835 short sa
[cxx11test
::get_val
()] = { 0 };
3838 // Test initializer lists
3839 cxx11test
::testinit il
= { 4323, 435234.23544 };
3842 // Test range-based
for
3843 int array
[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3844 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3845 for (auto
&x
: array
) { x
+= 23; }
3848 // Test lambda expressions
3849 using cxx11test
::eval;
3850 assert
(eval ([](int x
) { return x
*2; }, 21) == 42);
3852 assert
(eval ([&](double x
) { return d
+= x
; }, 3.0) == 5.0);
3854 assert
(eval ([=](double x
) mutable
{ return d
+= x
; }, 4.0) == 9.0);
3858 // Test use of variadic templates
3859 using cxx11test
::sum;
3862 auto c
= sum(1.0, 2.0, 3.0);
3865 // Test constructor delegation
3866 cxx11test
::delegate d1
;
3867 cxx11test
::delegate d2
();
3868 cxx11test
::delegate d3
(45);
3871 // Test override and final
3872 cxx11test
::overridden o1
(55464);
3879 // Test template brackets
3880 test_template
<::test_template
<int
>> v
(test_template
<int
>(12));
3884 char const
*utf8
= u8
"UTF-8 string \u2500";
3885 char16_t const
*utf16
= u
"UTF-8 string \u2500";
3886 char32_t const
*utf32
= U
"UTF-32 string \u2500";
3890 # Test code for whether the C compiler supports C++11 (complete).
3891 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3892 ${ac_cxx_conftest_cxx11_globals}
3895 main (int argc, char **argv)
3898 ${ac_cxx_conftest_cxx98_main}
3899 ${ac_cxx_conftest_cxx11_main}
3904 # Test code for whether the C compiler supports C++98 (complete).
3905 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3907 main (int argc, char **argv)
3910 ${ac_cxx_conftest_cxx98_main}
3915 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3916 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3917 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3918 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3919 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3920 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3921 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3922 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3923 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3925 # Auxiliary files required by this configure script.
3926 ac_aux_files="config.guess config.sub"
3928 # Locations in which to look for auxiliary files.
3929 ac_aux_dir_candidates="${srcdir}/tools"
3931 # Search for a directory containing all of the required auxiliary files,
3932 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3933 # If we don't
find one directory that contains all the files we need
,
3934 # we report the set of missing files from the *first* directory in
3935 # $ac_aux_dir_candidates and give up.
3936 ac_missing_aux_files
=""
3937 ac_first_candidate
=:
3938 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3939 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3941 for as_dir
in $ac_aux_dir_candidates
3944 case $as_dir in #(((
3947 *) as_dir
=$as_dir/ ;;
3951 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3952 ac_aux_dir_found
=yes
3954 for ac_aux
in $ac_aux_files
3956 # As a special case, if "install-sh" is required, that requirement
3957 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3958 # and $ac_install_sh is set appropriately for whichever one is found.
3959 if test x
"$ac_aux" = x
"install-sh"
3961 if test -f "${as_dir}install-sh"; then
3962 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
3963 ac_install_sh
="${as_dir}install-sh -c"
3964 elif test -f "${as_dir}install.sh"; then
3965 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
3966 ac_install_sh
="${as_dir}install.sh -c"
3967 elif test -f "${as_dir}shtool"; then
3968 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
3969 ac_install_sh
="${as_dir}shtool install -c"
3972 if $ac_first_candidate; then
3973 ac_missing_aux_files
="${ac_missing_aux_files} install-sh"
3979 if test -f "${as_dir}${ac_aux}"; then
3980 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
3983 if $ac_first_candidate; then
3984 ac_missing_aux_files
="${ac_missing_aux_files} ${ac_aux}"
3991 if test "$ac_aux_dir_found" = yes; then
3992 ac_aux_dir
="$as_dir"
3995 ac_first_candidate
=false
4004 as_fn_error $?
"cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4008 # These three variables are undocumented and unsupported,
4009 # and are intended to be withdrawn in a future Autoconf release.
4010 # They can cause serious problems if a builder's source tree is in a directory
4011 # whose full name contains unusual characters.
4012 if test -f "${ac_aux_dir}config.guess"; then
4013 ac_config_guess
="$SHELL ${ac_aux_dir}config.guess"
4015 if test -f "${ac_aux_dir}config.sub"; then
4016 ac_config_sub
="$SHELL ${ac_aux_dir}config.sub"
4018 if test -f "$ac_aux_dir/configure"; then
4019 ac_configure
="$SHELL ${ac_aux_dir}configure"
4022 # Check that the precious variables saved in the cache have kept the same
4024 ac_cache_corrupted
=false
4025 for ac_var
in $ac_precious_vars; do
4026 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
4027 eval ac_new_set
=\
$ac_env_${ac_var}_set
4028 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
4029 eval ac_new_val
=\
$ac_env_${ac_var}_value
4030 case $ac_old_set,$ac_new_set in
4032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4033 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4034 ac_cache_corrupted
=: ;;
4036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4037 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4038 ac_cache_corrupted
=: ;;
4041 if test "x$ac_old_val" != "x$ac_new_val"; then
4042 # differences in whitespace do not lead to failure.
4043 ac_old_val_w
=`echo x $ac_old_val`
4044 ac_new_val_w
=`echo x $ac_new_val`
4045 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4047 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4048 ac_cache_corrupted
=:
4050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4051 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4052 eval $ac_var=\
$ac_old_val
4054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4055 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4057 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4060 # Pass precious variables to config.status.
4061 if test "$ac_new_set" = set; then
4063 *\'*) ac_arg
=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4064 *) ac_arg
=$ac_var=$ac_new_val ;;
4066 case " $ac_configure_args " in
4067 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4068 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
4072 if $ac_cache_corrupted; then
4073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4074 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4076 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4077 as_fn_error $?
"run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4078 and start over" "$LINENO" 5
4080 ## -------------------- ##
4081 ## Main body of script. ##
4082 ## -------------------- ##
4085 ac_cpp
='$CPP $CPPFLAGS'
4086 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4087 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4088 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4092 ac_config_headers
="$ac_config_headers include/config.h"
4096 libwine_version
="1.0"
4099 # Check whether --enable-archs was given.
4100 if test ${enable_archs+y}
4102 enableval
=$enable_archs;
4105 # Check whether --enable-win16 was given.
4106 if test ${enable_win16+y}
4108 enableval
=$enable_win16;
4111 # Check whether --enable-win64 was given.
4112 if test ${enable_win64+y}
4114 enableval
=$enable_win64;
4117 # Check whether --enable-tests was given.
4118 if test ${enable_tests+y}
4120 enableval
=$enable_tests;
4123 # Check whether --enable-build-id was given.
4124 if test ${enable_build_id+y}
4126 enableval
=$enable_build_id;
4129 # Check whether --enable-maintainer-mode was given.
4130 if test ${enable_maintainer_mode+y}
4132 enableval
=$enable_maintainer_mode;
4135 # Check whether --enable-silent-rules was given.
4136 if test ${enable_silent_rules+y}
4138 enableval
=$enable_silent_rules;
4141 # Check whether --enable-werror was given.
4142 if test ${enable_werror+y}
4144 enableval
=$enable_werror;
4149 # Check whether --with-alsa was given.
4150 if test ${with_alsa+y}
4156 # Check whether --with-capi was given.
4157 if test ${with_capi+y}
4163 # Check whether --with-coreaudio was given.
4164 if test ${with_coreaudio+y}
4166 withval
=$with_coreaudio;
4170 # Check whether --with-cups was given.
4171 if test ${with_cups+y}
4177 # Check whether --with-dbus was given.
4178 if test ${with_dbus+y}
4184 # Check whether --with-float-abi was given.
4185 if test ${with_float_abi+y}
4187 withval
=$with_float_abi;
4191 # Check whether --with-fontconfig was given.
4192 if test ${with_fontconfig+y}
4194 withval
=$with_fontconfig;
4198 # Check whether --with-freetype was given.
4199 if test ${with_freetype+y}
4201 withval
=$with_freetype;
4205 # Check whether --with-gettext was given.
4206 if test ${with_gettext+y}
4208 withval
=$with_gettext;
4212 # Check whether --with-gettextpo was given.
4213 if test ${with_gettextpo+y}
4215 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
4219 # Check whether --with-gphoto was given.
4220 if test ${with_gphoto+y}
4222 withval
=$with_gphoto;
4226 # Check whether --with-gnutls was given.
4227 if test ${with_gnutls+y}
4229 withval
=$with_gnutls;
4233 # Check whether --with-gssapi was given.
4234 if test ${with_gssapi+y}
4236 withval
=$with_gssapi;
4240 # Check whether --with-gstreamer was given.
4241 if test ${with_gstreamer+y}
4243 withval
=$with_gstreamer;
4247 # Check whether --with-inotify was given.
4248 if test ${with_inotify+y}
4250 withval
=$with_inotify;
4254 # Check whether --with-krb5 was given.
4255 if test ${with_krb5+y}
4261 # Check whether --with-mingw was given.
4262 if test ${with_mingw+y}
4264 withval
=$with_mingw;
4268 # Check whether --with-netapi was given.
4269 if test ${with_netapi+y}
4271 withval
=$with_netapi;
4275 # Check whether --with-opencl was given.
4276 if test ${with_opencl+y}
4278 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
4282 # Check whether --with-opengl was given.
4283 if test ${with_opengl+y}
4285 withval
=$with_opengl;
4289 # Check whether --with-osmesa was given.
4290 if test ${with_osmesa+y}
4292 withval
=$with_osmesa;
4296 # Check whether --with-oss was given.
4297 if test ${with_oss+y}
4303 # Check whether --with-pcap was given.
4304 if test ${with_pcap+y}
4306 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
4310 # Check whether --with-pcsclite was given.
4311 if test ${with_pcsclite+y}
4313 withval
=$with_pcsclite;
4317 # Check whether --with-pthread was given.
4318 if test ${with_pthread+y}
4320 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
4324 # Check whether --with-pulse was given.
4325 if test ${with_pulse+y}
4327 withval
=$with_pulse;
4331 # Check whether --with-sane was given.
4332 if test ${with_sane+y}
4338 # Check whether --with-sdl was given.
4339 if test ${with_sdl+y}
4345 # Check whether --with-udev was given.
4346 if test ${with_udev+y}
4352 # Check whether --with-unwind was given.
4353 if test ${with_unwind+y}
4355 withval
=$with_unwind;
4359 # Check whether --with-usb was given.
4360 if test ${with_usb+y}
4366 # Check whether --with-v4l2 was given.
4367 if test ${with_v4l2+y}
4373 # Check whether --with-vulkan was given.
4374 if test ${with_vulkan+y}
4376 withval
=$with_vulkan;
4380 # Check whether --with-xcomposite was given.
4381 if test ${with_xcomposite+y}
4383 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
4387 # Check whether --with-xcursor was given.
4388 if test ${with_xcursor+y}
4390 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
4394 # Check whether --with-xfixes was given.
4395 if test ${with_xfixes+y}
4397 withval
=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h
=no
; fi
4401 # Check whether --with-xinerama was given.
4402 if test ${with_xinerama+y}
4404 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
4408 # Check whether --with-xinput was given.
4409 if test ${with_xinput+y}
4411 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
4415 # Check whether --with-xinput2 was given.
4416 if test ${with_xinput2+y}
4418 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
4422 # Check whether --with-xrandr was given.
4423 if test ${with_xrandr+y}
4425 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
4429 # Check whether --with-xrender was given.
4430 if test ${with_xrender+y}
4432 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
4436 # Check whether --with-xshape was given.
4437 if test ${with_xshape+y}
4439 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
4443 # Check whether --with-xshm was given.
4444 if test ${with_xshm+y}
4446 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
4450 # Check whether --with-xxf86vm was given.
4451 if test ${with_xxf86vm+y}
4453 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
4458 # Check whether --with-system-dllpath was given.
4459 if test ${with_system_dllpath+y}
4461 withval
=$with_system_dllpath; system_dllpath
=$withval
4466 # Check whether --with-wine-tools was given.
4467 if test ${with_wine_tools+y}
4469 withval
=$with_wine_tools;
4473 # Check whether --with-wine64 was given.
4474 if test ${with_wine64+y}
4476 withval
=$with_wine64;
4483 # Make sure we can run config.sub.
4484 $SHELL "${ac_aux_dir}config.sub" sun4
>/dev
/null
2>&1 ||
4485 as_fn_error $?
"cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4488 printf %s
"checking build system type... " >&6; }
4489 if test ${ac_cv_build+y}
4491 printf %s
"(cached) " >&6
4493 ac_build_alias
=$build_alias
4494 test "x$ac_build_alias" = x
&&
4495 ac_build_alias
=`$SHELL "${ac_aux_dir}config.guess"`
4496 test "x$ac_build_alias" = x
&&
4497 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
4498 ac_cv_build
=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4499 as_fn_error $?
"$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4503 printf "%s\n" "$ac_cv_build" >&6; }
4504 case $ac_cv_build in
4506 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
4509 ac_save_IFS
=$IFS; IFS
='-'
4515 # Remember, the first character of IFS is used to create $*,
4516 # except with old shells:
4519 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
4522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4523 printf %s
"checking host system type... " >&6; }
4524 if test ${ac_cv_host+y}
4526 printf %s
"(cached) " >&6
4528 if test "x$host_alias" = x
; then
4529 ac_cv_host
=$ac_cv_build
4531 ac_cv_host
=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4532 as_fn_error $?
"$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4537 printf "%s\n" "$ac_cv_host" >&6; }
4540 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
4543 ac_save_IFS
=$IFS; IFS
='-'
4549 # Remember, the first character of IFS is used to create $*,
4550 # except with old shells:
4553 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4557 dlldir
=\
${libdir}/wine
4559 fontdir
=\
${datadir}/wine
/fonts
4561 nlsdir
=\
${datadir}/wine
/nls
4566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4567 printf %s
"checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4569 ac_make
=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4570 if eval test \
${ac_cv_prog_make_${ac_make}_set+y}
4572 printf %s
"(cached) " >&6
4574 cat >conftest.
make <<\_ACEOF
4577 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4579 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4580 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4582 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4584 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4588 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4590 printf "%s\n" "yes" >&6; }
4593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4594 printf "%s\n" "no" >&6; }
4595 SET_MAKE
="MAKE=${MAKE-make}"
4608 ac_cpp
='$CPP $CPPFLAGS'
4609 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4610 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4611 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4612 if test -n "$ac_tool_prefix"; then
4613 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4614 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4616 printf %s
"checking for $ac_word... " >&6; }
4617 if test ${ac_cv_prog_CC+y}
4619 printf %s
"(cached) " >&6
4621 if test -n "$CC"; then
4622 ac_cv_prog_CC
="$CC" # Let the user override the test.
4624 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4628 case $as_dir in #(((
4631 *) as_dir
=$as_dir/ ;;
4633 for ac_exec_ext
in '' $ac_executable_extensions; do
4634 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4635 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4636 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4646 if test -n "$CC"; then
4647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4648 printf "%s\n" "$CC" >&6; }
4650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4651 printf "%s\n" "no" >&6; }
4656 if test -z "$ac_cv_prog_CC"; then
4658 # Extract the first word of "gcc", so it can be a program name with args.
4659 set dummy gcc
; ac_word
=$2
4660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4661 printf %s
"checking for $ac_word... " >&6; }
4662 if test ${ac_cv_prog_ac_ct_CC+y}
4664 printf %s
"(cached) " >&6
4666 if test -n "$ac_ct_CC"; then
4667 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4669 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4673 case $as_dir in #(((
4676 *) as_dir
=$as_dir/ ;;
4678 for ac_exec_ext
in '' $ac_executable_extensions; do
4679 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4680 ac_cv_prog_ac_ct_CC
="gcc"
4681 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4690 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4691 if test -n "$ac_ct_CC"; then
4692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4693 printf "%s\n" "$ac_ct_CC" >&6; }
4695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4696 printf "%s\n" "no" >&6; }
4699 if test "x$ac_ct_CC" = x
; then
4702 case $cross_compiling:$ac_tool_warned in
4704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4705 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4706 ac_tool_warned
=yes ;;
4714 if test -z "$CC"; then
4715 if test -n "$ac_tool_prefix"; then
4716 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4717 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4719 printf %s
"checking for $ac_word... " >&6; }
4720 if test ${ac_cv_prog_CC+y}
4722 printf %s
"(cached) " >&6
4724 if test -n "$CC"; then
4725 ac_cv_prog_CC
="$CC" # Let the user override the test.
4727 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4731 case $as_dir in #(((
4734 *) as_dir
=$as_dir/ ;;
4736 for ac_exec_ext
in '' $ac_executable_extensions; do
4737 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4738 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4739 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4749 if test -n "$CC"; then
4750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4751 printf "%s\n" "$CC" >&6; }
4753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4754 printf "%s\n" "no" >&6; }
4760 if test -z "$CC"; then
4761 # Extract the first word of "cc", so it can be a program name with args.
4762 set dummy cc
; ac_word
=$2
4763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4764 printf %s
"checking for $ac_word... " >&6; }
4765 if test ${ac_cv_prog_CC+y}
4767 printf %s
"(cached) " >&6
4769 if test -n "$CC"; then
4770 ac_cv_prog_CC
="$CC" # Let the user override the test.
4773 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4777 case $as_dir in #(((
4780 *) as_dir
=$as_dir/ ;;
4782 for ac_exec_ext
in '' $ac_executable_extensions; do
4783 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4784 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4785 ac_prog_rejected
=yes
4789 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4796 if test $ac_prog_rejected = yes; then
4797 # We found a bogon in the path, so make sure we never use it.
4798 set dummy
$ac_cv_prog_CC
4800 if test $# != 0; then
4801 # We chose a different compiler from the bogus one.
4802 # However, it has the same basename, so the bogon will be chosen
4803 # first if we set CC to just the basename; use the full file name.
4805 ac_cv_prog_CC
="$as_dir$ac_word${1+' '}$@"
4811 if test -n "$CC"; then
4812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4813 printf "%s\n" "$CC" >&6; }
4815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4816 printf "%s\n" "no" >&6; }
4821 if test -z "$CC"; then
4822 if test -n "$ac_tool_prefix"; then
4823 for ac_prog
in cl.exe
4825 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4826 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4828 printf %s
"checking for $ac_word... " >&6; }
4829 if test ${ac_cv_prog_CC+y}
4831 printf %s
"(cached) " >&6
4833 if test -n "$CC"; then
4834 ac_cv_prog_CC
="$CC" # Let the user override the test.
4836 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4840 case $as_dir in #(((
4843 *) as_dir
=$as_dir/ ;;
4845 for ac_exec_ext
in '' $ac_executable_extensions; do
4846 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4847 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4848 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4858 if test -n "$CC"; then
4859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4860 printf "%s\n" "$CC" >&6; }
4862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4863 printf "%s\n" "no" >&6; }
4867 test -n "$CC" && break
4870 if test -z "$CC"; then
4872 for ac_prog
in cl.exe
4874 # Extract the first word of "$ac_prog", so it can be a program name with args.
4875 set dummy
$ac_prog; ac_word
=$2
4876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4877 printf %s
"checking for $ac_word... " >&6; }
4878 if test ${ac_cv_prog_ac_ct_CC+y}
4880 printf %s
"(cached) " >&6
4882 if test -n "$ac_ct_CC"; then
4883 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4885 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4889 case $as_dir in #(((
4892 *) as_dir
=$as_dir/ ;;
4894 for ac_exec_ext
in '' $ac_executable_extensions; do
4895 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4896 ac_cv_prog_ac_ct_CC
="$ac_prog"
4897 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4906 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4907 if test -n "$ac_ct_CC"; then
4908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4909 printf "%s\n" "$ac_ct_CC" >&6; }
4911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4912 printf "%s\n" "no" >&6; }
4916 test -n "$ac_ct_CC" && break
4919 if test "x$ac_ct_CC" = x
; then
4922 case $cross_compiling:$ac_tool_warned in
4924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4925 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4926 ac_tool_warned
=yes ;;
4933 if test -z "$CC"; then
4934 if test -n "$ac_tool_prefix"; then
4935 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4936 set dummy
${ac_tool_prefix}clang
; ac_word
=$2
4937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4938 printf %s
"checking for $ac_word... " >&6; }
4939 if test ${ac_cv_prog_CC+y}
4941 printf %s
"(cached) " >&6
4943 if test -n "$CC"; then
4944 ac_cv_prog_CC
="$CC" # Let the user override the test.
4946 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4950 case $as_dir in #(((
4953 *) as_dir
=$as_dir/ ;;
4955 for ac_exec_ext
in '' $ac_executable_extensions; do
4956 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4957 ac_cv_prog_CC
="${ac_tool_prefix}clang"
4958 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4968 if test -n "$CC"; then
4969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4970 printf "%s\n" "$CC" >&6; }
4972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4973 printf "%s\n" "no" >&6; }
4978 if test -z "$ac_cv_prog_CC"; then
4980 # Extract the first word of "clang", so it can be a program name with args.
4981 set dummy clang
; ac_word
=$2
4982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4983 printf %s
"checking for $ac_word... " >&6; }
4984 if test ${ac_cv_prog_ac_ct_CC+y}
4986 printf %s
"(cached) " >&6
4988 if test -n "$ac_ct_CC"; then
4989 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4991 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4995 case $as_dir in #(((
4998 *) as_dir
=$as_dir/ ;;
5000 for ac_exec_ext
in '' $ac_executable_extensions; do
5001 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
5002 ac_cv_prog_ac_ct_CC
="clang"
5003 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5012 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5013 if test -n "$ac_ct_CC"; then
5014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5015 printf "%s\n" "$ac_ct_CC" >&6; }
5017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5018 printf "%s\n" "no" >&6; }
5021 if test "x$ac_ct_CC" = x
; then
5024 case $cross_compiling:$ac_tool_warned in
5026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5027 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5028 ac_tool_warned
=yes ;;
5039 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5040 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5041 as_fn_error $?
"no acceptable C compiler found in \$PATH
5042 See \`config.log' for more details" "$LINENO" 5; }
5044 # Provide some information about the compiler.
5045 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5048 for ac_option
in --version -v -V -qversion -version; do
5049 { { ac_try
="$ac_compiler $ac_option >&5"
5051 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5052 *) ac_try_echo=$ac_try;;
5054 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5055 printf "%s\n" "$ac_try_echo"; } >&5
5056 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5058 if test -s conftest.err; then
5060 ... rest of stderr output deleted ...
5061 10q' conftest.err >conftest.er1
5062 cat conftest.er1 >&5
5064 rm -f conftest.er1 conftest.err
5065 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5066 test $ac_status = 0; }
5069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5070 /* end confdefs.h. */
5080 ac_clean_files_save=$ac_clean_files
5081 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5082 # Try to create an executable without -o first, disregard a.out.
5083 # It will help us diagnose broken compilers, and finding out an intuition
5085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5086 printf %s "checking whether the C compiler works... " >&6; }
5087 ac_link_default=`printf "%s\n" "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
5089 # The possible output files:
5090 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5093 for ac_file in $ac_files
5096 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5097 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5102 if { { ac_try="$ac_link_default"
5104 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5105 *) ac_try_echo
=$ac_try;;
5107 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5108 printf "%s\n" "$ac_try_echo"; } >&5
5109 (eval "$ac_link_default") 2>&5
5111 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5112 test $ac_status = 0; }
5114 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5115 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5116 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5117 # so that the user can short-circuit this test for compilers unknown to
5119 for ac_file
in $ac_files ''
5121 test -f "$ac_file" ||
continue
5123 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
5126 # We found the default executable, but exeext='' is most
5130 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no
;
5132 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
5134 # We set ac_cv_exeext here because the later test for it is not
5135 # safe: cross compilers may not add the suffix if given an `-o'
5136 # argument, so we may need to know it at that point already.
5137 # Even if this section looks crufty: it has the advantage of
5144 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
5149 if test -z "$ac_file"
5151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5152 printf "%s\n" "no" >&6; }
5153 printf "%s\n" "$as_me: failed program was:" >&5
5154 sed 's/^/| /' conftest.
$ac_ext >&5
5156 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5157 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5158 as_fn_error
77 "C compiler cannot create executables
5159 See \`config.log' for more details" "$LINENO" 5; }
5161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5162 printf "%s\n" "yes" >&6; }
5164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5165 printf %s
"checking for C compiler default output file name... " >&6; }
5166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5167 printf "%s\n" "$ac_file" >&6; }
5168 ac_exeext
=$ac_cv_exeext
5170 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
5171 ac_clean_files
=$ac_clean_files_save
5172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5173 printf %s
"checking for suffix of executables... " >&6; }
5174 if { { ac_try
="$ac_link"
5176 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5177 *) ac_try_echo=$ac_try;;
5179 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5180 printf "%s\n" "$ac_try_echo"; } >&5
5181 (eval "$ac_link") 2>&5
5183 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5184 test $ac_status = 0; }
5186 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
5187 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
5188 # work properly (i.e., refer to `conftest.exe'), while it won't with
5190 for ac_file
in conftest.exe conftest conftest.
*; do
5191 test -f "$ac_file" ||
continue
5193 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
5194 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
5200 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5201 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5202 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
5203 See \`config.log' for more details" "$LINENO" 5; }
5205 rm -f conftest conftest
$ac_cv_exeext
5206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5207 printf "%s\n" "$ac_cv_exeext" >&6; }
5209 rm -f conftest.
$ac_ext
5210 EXEEXT
=$ac_cv_exeext
5212 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5213 /* end confdefs.h. */
5218 FILE *f = fopen ("conftest.out", "w");
5219 return ferror (f) || fclose (f) != 0;
5225 ac_clean_files
="$ac_clean_files conftest.out"
5226 # Check that the compiler produces executables we can run. If not, either
5227 # the compiler is broken, or we cross compile.
5228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5229 printf %s
"checking whether we are cross compiling... " >&6; }
5230 if test "$cross_compiling" != yes; then
5231 { { ac_try
="$ac_link"
5233 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5234 *) ac_try_echo=$ac_try;;
5236 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5237 printf "%s\n" "$ac_try_echo"; } >&5
5238 (eval "$ac_link") 2>&5
5240 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5241 test $ac_status = 0; }
5242 if { ac_try='./conftest$ac_cv_exeext'
5243 { { case "(($ac_try" in
5244 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5245 *) ac_try_echo
=$ac_try;;
5247 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5248 printf "%s\n" "$ac_try_echo"; } >&5
5249 (eval "$ac_try") 2>&5
5251 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5252 test $ac_status = 0; }; }; then
5255 if test "$cross_compiling" = maybe
; then
5258 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5259 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5260 as_fn_error
77 "cannot run C compiled programs.
5261 If you meant to cross compile, use \`--host'.
5262 See \`config.log' for more details" "$LINENO" 5; }
5266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5267 printf "%s\n" "$cross_compiling" >&6; }
5269 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
5270 ac_clean_files
=$ac_clean_files_save
5271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5272 printf %s
"checking for suffix of object files... " >&6; }
5273 if test ${ac_cv_objext+y}
5275 printf %s
"(cached) " >&6
5277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5278 /* end confdefs.h. */
5288 rm -f conftest.o conftest.obj
5289 if { { ac_try
="$ac_compile"
5291 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5292 *) ac_try_echo=$ac_try;;
5294 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5295 printf "%s\n" "$ac_try_echo"; } >&5
5296 (eval "$ac_compile") 2>&5
5298 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5299 test $ac_status = 0; }
5301 for ac_file in conftest.o conftest.obj conftest.*; do
5302 test -f "$ac_file" || continue;
5304 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5305 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5310 printf "%s\n" "$as_me: failed program was:" >&5
5311 sed 's/^/| /' conftest.$ac_ext >&5
5313 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5314 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5315 as_fn_error $? "cannot compute suffix of object files
: cannot compile
5316 See \
`config.log' for more details" "$LINENO" 5; }
5318 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5321 printf "%s\n" "$ac_cv_objext" >&6; }
5322 OBJEXT=$ac_cv_objext
5324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5325 printf %s "checking whether the compiler supports GNU C... " >&6; }
5326 if test ${ac_cv_c_compiler_gnu+y}
5328 printf %s "(cached) " >&6
5330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5331 /* end confdefs.h. */
5344 if ac_fn_c_try_compile "$LINENO"
5350 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5351 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5355 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5358 if test $ac_compiler_gnu = yes; then
5363 ac_test_CFLAGS=${CFLAGS+y}
5364 ac_save_CFLAGS=$CFLAGS
5365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5366 printf %s "checking whether $CC accepts -g... " >&6; }
5367 if test ${ac_cv_prog_cc_g+y}
5369 printf %s "(cached) " >&6
5371 ac_save_c_werror_flag=$ac_c_werror_flag
5372 ac_c_werror_flag=yes
5375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5376 /* end confdefs.h. */
5386 if ac_fn_c_try_compile "$LINENO"
5391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5392 /* end confdefs.h. */
5402 if ac_fn_c_try_compile "$LINENO"
5406 ac_c_werror_flag=$ac_save_c_werror_flag
5408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5409 /* end confdefs.h. */
5419 if ac_fn_c_try_compile "$LINENO"
5423 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5425 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5427 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5428 ac_c_werror_flag=$ac_save_c_werror_flag
5430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5431 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5432 if test $ac_test_CFLAGS; then
5433 CFLAGS=$ac_save_CFLAGS
5434 elif test $ac_cv_prog_cc_g = yes; then
5435 if test "$GCC" = yes; then
5441 if test "$GCC" = yes; then
5448 if test x$ac_prog_cc_stdc = xno
5450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5451 printf %s "checking for $CC option to enable C11 features... " >&6; }
5452 if test ${ac_cv_prog_cc_c11+y}
5454 printf %s "(cached) " >&6
5456 ac_cv_prog_cc_c11=no
5458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5459 /* end confdefs.h. */
5460 $ac_c_conftest_c11_program
5462 for ac_arg in '' -std=gnu11
5464 CC="$ac_save_CC $ac_arg"
5465 if ac_fn_c_try_compile "$LINENO"
5467 ac_cv_prog_cc_c11=$ac_arg
5469 rm -f core conftest.err conftest.$ac_objext conftest.beam
5470 test "x$ac_cv_prog_cc_c11" != "xno" && break
5472 rm -f conftest.$ac_ext
5476 if test "x$ac_cv_prog_cc_c11" = xno
5478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5479 printf "%s\n" "unsupported" >&6; }
5481 if test "x$ac_cv_prog_cc_c11" = x
5483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5484 printf "%s\n" "none needed" >&6; }
5486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5487 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5488 CC="$CC $ac_cv_prog_cc_c11"
5490 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5494 if test x$ac_prog_cc_stdc = xno
5496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5497 printf %s "checking for $CC option to enable C99 features... " >&6; }
5498 if test ${ac_cv_prog_cc_c99+y}
5500 printf %s "(cached) " >&6
5502 ac_cv_prog_cc_c99=no
5504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5505 /* end confdefs.h. */
5506 $ac_c_conftest_c99_program
5508 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5510 CC="$ac_save_CC $ac_arg"
5511 if ac_fn_c_try_compile "$LINENO"
5513 ac_cv_prog_cc_c99=$ac_arg
5515 rm -f core conftest.err conftest.$ac_objext conftest.beam
5516 test "x$ac_cv_prog_cc_c99" != "xno" && break
5518 rm -f conftest.$ac_ext
5522 if test "x$ac_cv_prog_cc_c99" = xno
5524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5525 printf "%s\n" "unsupported" >&6; }
5527 if test "x$ac_cv_prog_cc_c99" = x
5529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5530 printf "%s\n" "none needed" >&6; }
5532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5533 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5534 CC="$CC $ac_cv_prog_cc_c99"
5536 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5540 if test x$ac_prog_cc_stdc = xno
5542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5543 printf %s "checking for $CC option to enable C89 features... " >&6; }
5544 if test ${ac_cv_prog_cc_c89+y}
5546 printf %s "(cached) " >&6
5548 ac_cv_prog_cc_c89=no
5550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5551 /* end confdefs.h. */
5552 $ac_c_conftest_c89_program
5554 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5556 CC="$ac_save_CC $ac_arg"
5557 if ac_fn_c_try_compile "$LINENO"
5559 ac_cv_prog_cc_c89=$ac_arg
5561 rm -f core conftest.err conftest.$ac_objext conftest.beam
5562 test "x$ac_cv_prog_cc_c89" != "xno" && break
5564 rm -f conftest.$ac_ext
5568 if test "x$ac_cv_prog_cc_c89" = xno
5570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5571 printf "%s\n" "unsupported" >&6; }
5573 if test "x$ac_cv_prog_cc_c89" = x
5575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5576 printf "%s\n" "none needed" >&6; }
5578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5579 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5580 CC="$CC $ac_cv_prog_cc_c89"
5582 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5588 ac_cpp='$CPP $CPPFLAGS'
5589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5600 ac_cpp='$CXXCPP $CPPFLAGS'
5601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5604 if test -z "$CXX"; then
5605 if test -n "$CCC"; then
5608 if test -n "$ac_tool_prefix"; then
5609 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5611 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5612 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5614 printf %s "checking for $ac_word... " >&6; }
5615 if test ${ac_cv_prog_CXX+y}
5617 printf %s "(cached) " >&6
5619 if test -n "$CXX"; then
5620 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5626 case $as_dir in #(((
5629 *) as_dir=$as_dir/ ;;
5631 for ac_exec_ext in '' $ac_executable_extensions; do
5632 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5633 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5634 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5644 if test -n "$CXX"; then
5645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5646 printf "%s\n" "$CXX" >&6; }
5648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5649 printf "%s\n" "no" >&6; }
5653 test -n "$CXX" && break
5656 if test -z "$CXX"; then
5658 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5660 # Extract the first word of "$ac_prog", so it can be a program name with args.
5661 set dummy $ac_prog; ac_word=$2
5662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5663 printf %s "checking for $ac_word... " >&6; }
5664 if test ${ac_cv_prog_ac_ct_CXX+y}
5666 printf %s "(cached) " >&6
5668 if test -n "$ac_ct_CXX"; then
5669 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5675 case $as_dir in #(((
5678 *) as_dir=$as_dir/ ;;
5680 for ac_exec_ext in '' $ac_executable_extensions; do
5681 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5682 ac_cv_prog_ac_ct_CXX="$ac_prog"
5683 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5692 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5693 if test -n "$ac_ct_CXX"; then
5694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5695 printf "%s\n" "$ac_ct_CXX" >&6; }
5697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5698 printf "%s\n" "no" >&6; }
5702 test -n "$ac_ct_CXX" && break
5705 if test "x$ac_ct_CXX" = x; then
5708 case $cross_compiling:$ac_tool_warned in
5710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5711 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5712 ac_tool_warned=yes ;;
5720 # Provide some information about the compiler.
5721 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5724 for ac_option in --version -v -V -qversion; do
5725 { { ac_try="$ac_compiler $ac_option >&5"
5727 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5728 *) ac_try_echo
=$ac_try;;
5730 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5731 printf "%s\n" "$ac_try_echo"; } >&5
5732 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5734 if test -s conftest.err
; then
5736 ... rest of stderr output deleted ...
5737 10q' conftest.err
>conftest.er1
5738 cat conftest.er1
>&5
5740 rm -f conftest.er1 conftest.err
5741 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5742 test $ac_status = 0; }
5745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5746 printf %s
"checking whether the compiler supports GNU C++... " >&6; }
5747 if test ${ac_cv_cxx_compiler_gnu+y}
5749 printf %s
"(cached) " >&6
5751 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5752 /* end confdefs.h. */
5765 if ac_fn_cxx_try_compile
"$LINENO"
5771 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5772 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5776 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5777 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5779 if test $ac_compiler_gnu = yes; then
5784 ac_test_CXXFLAGS
=${CXXFLAGS+y}
5785 ac_save_CXXFLAGS
=$CXXFLAGS
5786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5787 printf %s
"checking whether $CXX accepts -g... " >&6; }
5788 if test ${ac_cv_prog_cxx_g+y}
5790 printf %s
"(cached) " >&6
5792 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5793 ac_cxx_werror_flag
=yes
5796 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5797 /* end confdefs.h. */
5807 if ac_fn_cxx_try_compile
"$LINENO"
5809 ac_cv_prog_cxx_g
=yes
5812 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5813 /* end confdefs.h. */
5823 if ac_fn_cxx_try_compile
"$LINENO"
5827 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5829 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5830 /* end confdefs.h. */
5840 if ac_fn_cxx_try_compile
"$LINENO"
5842 ac_cv_prog_cxx_g
=yes
5844 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5846 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5848 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5849 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5852 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5853 if test $ac_test_CXXFLAGS; then
5854 CXXFLAGS
=$ac_save_CXXFLAGS
5855 elif test $ac_cv_prog_cxx_g = yes; then
5856 if test "$GXX" = yes; then
5862 if test "$GXX" = yes; then
5868 ac_prog_cxx_stdcxx
=no
5869 if test x
$ac_prog_cxx_stdcxx = xno
5871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5872 printf %s
"checking for $CXX option to enable C++11 features... " >&6; }
5873 if test ${ac_cv_prog_cxx_cxx11+y}
5875 printf %s
"(cached) " >&6
5877 ac_cv_prog_cxx_cxx11
=no
5879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5880 /* end confdefs.h. */
5881 $ac_cxx_conftest_cxx11_program
5883 for ac_arg
in '' -std=gnu
++11 -std=gnu
++0x
-std=c
++11 -std=c
++0x
-qlanglvl=extended0x
-AA
5885 CXX
="$ac_save_CXX $ac_arg"
5886 if ac_fn_cxx_try_compile
"$LINENO"
5888 ac_cv_prog_cxx_cxx11
=$ac_arg
5890 rm -f core conftest.err conftest.
$ac_objext conftest.beam
5891 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5893 rm -f conftest.
$ac_ext
5897 if test "x$ac_cv_prog_cxx_cxx11" = xno
5899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5900 printf "%s\n" "unsupported" >&6; }
5902 if test "x$ac_cv_prog_cxx_cxx11" = x
5904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5905 printf "%s\n" "none needed" >&6; }
5907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5908 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5909 CXX
="$CXX $ac_cv_prog_cxx_cxx11"
5911 ac_cv_prog_cxx_stdcxx
=$ac_cv_prog_cxx_cxx11
5912 ac_prog_cxx_stdcxx
=cxx11
5915 if test x
$ac_prog_cxx_stdcxx = xno
5917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5918 printf %s
"checking for $CXX option to enable C++98 features... " >&6; }
5919 if test ${ac_cv_prog_cxx_cxx98+y}
5921 printf %s
"(cached) " >&6
5923 ac_cv_prog_cxx_cxx98
=no
5925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5926 /* end confdefs.h. */
5927 $ac_cxx_conftest_cxx98_program
5929 for ac_arg
in '' -std=gnu
++98 -std=c
++98 -qlanglvl=extended
-AA
5931 CXX
="$ac_save_CXX $ac_arg"
5932 if ac_fn_cxx_try_compile
"$LINENO"
5934 ac_cv_prog_cxx_cxx98
=$ac_arg
5936 rm -f core conftest.err conftest.
$ac_objext conftest.beam
5937 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
5939 rm -f conftest.
$ac_ext
5943 if test "x$ac_cv_prog_cxx_cxx98" = xno
5945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5946 printf "%s\n" "unsupported" >&6; }
5948 if test "x$ac_cv_prog_cxx_cxx98" = x
5950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5951 printf "%s\n" "none needed" >&6; }
5953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
5954 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
5955 CXX
="$CXX $ac_cv_prog_cxx_cxx98"
5957 ac_cv_prog_cxx_stdcxx
=$ac_cv_prog_cxx_cxx98
5958 ac_prog_cxx_stdcxx
=cxx98
5963 ac_cpp
='$CPP $CPPFLAGS'
5964 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5965 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5966 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5968 if test -n "$ac_tool_prefix"; then
5969 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5970 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
5971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5972 printf %s
"checking for $ac_word... " >&6; }
5973 if test ${ac_cv_prog_CPPBIN+y}
5975 printf %s
"(cached) " >&6
5977 if test -n "$CPPBIN"; then
5978 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
5980 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5984 case $as_dir in #(((
5987 *) as_dir
=$as_dir/ ;;
5989 for ac_exec_ext
in '' $ac_executable_extensions; do
5990 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
5991 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
5992 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6001 CPPBIN
=$ac_cv_prog_CPPBIN
6002 if test -n "$CPPBIN"; then
6003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6004 printf "%s\n" "$CPPBIN" >&6; }
6006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6007 printf "%s\n" "no" >&6; }
6012 if test -z "$ac_cv_prog_CPPBIN"; then
6013 ac_ct_CPPBIN
=$CPPBIN
6014 # Extract the first word of "cpp", so it can be a program name with args.
6015 set dummy cpp
; ac_word
=$2
6016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6017 printf %s
"checking for $ac_word... " >&6; }
6018 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6020 printf %s
"(cached) " >&6
6022 if test -n "$ac_ct_CPPBIN"; then
6023 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
6025 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6029 case $as_dir in #(((
6032 *) as_dir
=$as_dir/ ;;
6034 for ac_exec_ext
in '' $ac_executable_extensions; do
6035 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6036 ac_cv_prog_ac_ct_CPPBIN
="cpp"
6037 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6046 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
6047 if test -n "$ac_ct_CPPBIN"; then
6048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6049 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6052 printf "%s\n" "no" >&6; }
6055 if test "x$ac_ct_CPPBIN" = x
; then
6058 case $cross_compiling:$ac_tool_warned in
6060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6061 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6062 ac_tool_warned
=yes ;;
6064 CPPBIN
=$ac_ct_CPPBIN
6067 CPPBIN
="$ac_cv_prog_CPPBIN"
6071 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6073 if test -n "$ac_tool_prefix"; then
6074 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6075 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
6076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6077 printf %s
"checking for $ac_word... " >&6; }
6078 if test ${ac_cv_prog_LD+y}
6080 printf %s
"(cached) " >&6
6082 if test -n "$LD"; then
6083 ac_cv_prog_LD
="$LD" # Let the user override the test.
6085 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6089 case $as_dir in #(((
6092 *) as_dir
=$as_dir/ ;;
6094 for ac_exec_ext
in '' $ac_executable_extensions; do
6095 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6096 ac_cv_prog_LD
="${ac_tool_prefix}ld"
6097 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6107 if test -n "$LD"; then
6108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6109 printf "%s\n" "$LD" >&6; }
6111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6112 printf "%s\n" "no" >&6; }
6117 if test -z "$ac_cv_prog_LD"; then
6119 # Extract the first word of "ld", so it can be a program name with args.
6120 set dummy ld
; ac_word
=$2
6121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6122 printf %s
"checking for $ac_word... " >&6; }
6123 if test ${ac_cv_prog_ac_ct_LD+y}
6125 printf %s
"(cached) " >&6
6127 if test -n "$ac_ct_LD"; then
6128 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
6130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6134 case $as_dir in #(((
6137 *) as_dir
=$as_dir/ ;;
6139 for ac_exec_ext
in '' $ac_executable_extensions; do
6140 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6141 ac_cv_prog_ac_ct_LD
="ld"
6142 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6151 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
6152 if test -n "$ac_ct_LD"; then
6153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6154 printf "%s\n" "$ac_ct_LD" >&6; }
6156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6157 printf "%s\n" "no" >&6; }
6160 if test "x$ac_ct_LD" = x
; then
6163 case $cross_compiling:$ac_tool_warned in
6165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6166 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6167 ac_tool_warned
=yes ;;
6178 with_fontconfig
=${with_fontconfig:-no}
6180 *-mingw32*|
*-cygwin*)
6181 enable_win16
=${enable_win16:-no}
6182 with_mingw
=${with_mingw:-no}
6189 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x
"$enable_archs" = x
6194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6195 printf %s
"checking whether $CC works... " >&6; }
6196 if test ${wine_cv_cc_m32+y}
6198 printf %s
"(cached) " >&6
6200 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6201 /* end confdefs.h. */
6211 if ac_fn_c_try_link
"$LINENO"
6217 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6218 conftest
$ac_exeext conftest.
$ac_ext
6220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6221 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6222 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
6224 notice_platform
="32-bit "
6225 TARGETFLAGS
="$TARGETFLAGS -m32"
6226 PKG_CONFIG_LIBDIR
=${PKG_CONFIG_LIBDIR:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6227 export PKG_CONFIG_LIBDIR
6228 with_unwind
=${with_unwind:-no}
6230 if test "x${GCC}" = "xyes"
6232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6233 printf %s
"checking whether $CC supports __builtin_ms_va_list... " >&6; }
6234 if test ${wine_cv_builtin_ms_va_list+y}
6236 printf %s
"(cached) " >&6
6238 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6239 /* end confdefs.h. */
6244 void func(__builtin_ms_va_list *args);
6249 if ac_fn_c_try_compile
"$LINENO"
6251 wine_cv_builtin_ms_va_list
=yes
6253 wine_cv_builtin_ms_va_list
=no
6255 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6258 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6259 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
6264 notice_platform
="64-bit "
6265 TARGETFLAGS
="$TARGETFLAGS -m64"
6269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6270 printf %s
"checking whether $CC supports Thumb-2... " >&6; }
6271 if test ${wine_cv_thumb2+y}
6273 printf %s
"(cached) " >&6
6275 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6276 /* end confdefs.h. */
6281 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6286 if ac_fn_c_try_link
"$LINENO"
6292 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6293 conftest
$ac_exeext conftest.
$ac_ext
6295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6296 printf "%s\n" "$wine_cv_thumb2" >&6; }
6297 if test x
"$wine_cv_thumb2" = xyes
6299 CFLAGS
="$CFLAGS -mthumb"
6300 TARGETFLAGS
="$TARGETFLAGS -mthumb"
6302 CFLAGS
="$CFLAGS -marm"
6303 TARGETFLAGS
="$TARGETFLAGS -marm"
6305 case $with_float_abi in
6307 float_abi
=$with_float_abi ;;
6314 saved_CFLAGS
=$CFLAGS
6315 CFLAGS
="$CFLAGS -mfloat-abi=$float_abi"
6316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6317 printf %s
"checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6318 if test ${wine_cv_float_abi+y}
6320 printf %s
"(cached) " >&6
6322 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6323 /* end confdefs.h. */
6328 asm("vmrs r2,fpscr");
6333 if ac_fn_c_try_link
"$LINENO"
6335 wine_cv_float_abi
=yes
6337 wine_cv_float_abi
=no
6339 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6340 conftest
$ac_exeext conftest.
$ac_ext
6342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6343 printf "%s\n" "$wine_cv_float_abi" >&6; }
6344 if test $wine_cv_float_abi = no
6347 as_fn_append wine_warnings
"|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6349 CFLAGS
=$saved_CFLAGS
6353 CFLAGS
="$CFLAGS -mfloat-abi=$float_abi"
6354 TARGETFLAGS
="$TARGETFLAGS -mfloat-abi=$float_abi"
6357 with_unwind
=${with_unwind:-no}
6361 enable_win16
=${enable_win16:-i386}
6362 enable_win64
=${enable_win64:-no}
6363 enable_wow64
=${enable_wow64:-aarch64,x86_64}
6364 enable_wow64win
=${enable_wow64win:-aarch64,x86_64}
6365 enable_wow64cpu
=${enable_wow64cpu:-x86_64}
6367 enable_winetest
=${enable_winetest:-$enable_tests}
6369 if test "x$enable_win64" = "xyes"
6371 test -z "$with_wine64" || as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
6372 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6376 cygwin
*|mingw32
*) toolsext
=".exe"
6384 aarch64
*) HOST_ARCH
=aarch64
;;
6385 arm
*) HOST_ARCH
=arm
;;
6386 i
[3456789]86*) HOST_ARCH
=i386
;;
6387 x86_64
) HOST_ARCH
=x86_64
;;
6391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6392 printf %s
"checking for the directory containing the Wine tools... " >&6; }
6393 if test ${wine_cv_toolsdir+y}
6395 printf %s
"(cached) " >&6
6397 wine_cv_toolsdir
="$with_wine_tools"
6398 if test -z "$with_wine_tools"; then
6399 if test "$cross_compiling" = "yes"; then
6400 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6401 elif test -n "$with_wine64"; then
6402 wine_cv_toolsdir
="$with_wine64"
6406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6407 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6408 if test -z "$wine_cv_toolsdir"; then
6409 wine_makedep
=tools
/makedep
$toolsext
6410 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6411 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
$toolsext
6412 enable_tools
=${enable_tools:-no}
6413 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6415 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6417 toolsdir
=$wine_cv_toolsdir
6419 MAKEDEP
=$wine_makedep
6421 RUNTESTFLAGS
="-q -P wine"
6423 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'"
6426 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6428 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
6433 # Extract the first word of "$ac_prog", so it can be a program name with args.
6434 set dummy
$ac_prog; ac_word
=$2
6435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6436 printf %s
"checking for $ac_word... " >&6; }
6437 if test ${ac_cv_prog_FLEX+y}
6439 printf %s
"(cached) " >&6
6441 if test -n "$FLEX"; then
6442 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
6444 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6448 case $as_dir in #(((
6451 *) as_dir
=$as_dir/ ;;
6453 for ac_exec_ext
in '' $ac_executable_extensions; do
6454 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6455 ac_cv_prog_FLEX
="$ac_prog"
6456 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6465 FLEX
=$ac_cv_prog_FLEX
6466 if test -n "$FLEX"; then
6467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6468 printf "%s\n" "$FLEX" >&6; }
6470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6471 printf "%s\n" "no" >&6; }
6475 test -n "$FLEX" && break
6477 test -n "$FLEX" || FLEX
="none"
6479 if test "$FLEX" = "none"
6481 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6484 printf %s
"checking whether flex is recent enough... " >&6; }
6485 if test ${wine_cv_recent_flex+y}
6487 printf %s
"(cached) " >&6
6489 cat >conftest.l
<<EOF
6491 #include "prediluvian.h"
6495 if $FLEX -t conftest.l
>/dev
/null
2>&5
6497 wine_cv_recent_flex
=yes
6499 wine_cv_recent_flex
=no
6502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6503 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6504 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
6506 for ac_prog
in bison
6508 # Extract the first word of "$ac_prog", so it can be a program name with args.
6509 set dummy
$ac_prog; ac_word
=$2
6510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6511 printf %s
"checking for $ac_word... " >&6; }
6512 if test ${ac_cv_prog_BISON+y}
6514 printf %s
"(cached) " >&6
6516 if test -n "$BISON"; then
6517 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
6519 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6523 case $as_dir in #(((
6526 *) as_dir
=$as_dir/ ;;
6528 for ac_exec_ext
in '' $ac_executable_extensions; do
6529 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6530 ac_cv_prog_BISON
="$ac_prog"
6531 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6540 BISON
=$ac_cv_prog_BISON
6541 if test -n "$BISON"; then
6542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6543 printf "%s\n" "$BISON" >&6; }
6545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6546 printf "%s\n" "no" >&6; }
6550 test -n "$BISON" && break
6552 test -n "$BISON" || BISON
="none"
6554 if test "$BISON" = "none"
6556 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6559 printf %s
"checking whether bison is recent enough... " >&6; }
6560 if test ${wine_cv_recent_bison+y}
6562 printf %s
"(cached) " >&6
6564 cat >conftest.y
<<EOF
6565 %define parse.error verbose
6569 if $BISON conftest.y
>/dev
/null
2>&5
6571 wine_cv_recent_bison
=yes
6573 wine_cv_recent_bison
=no
6576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6577 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6578 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
6580 if test -n "$ac_tool_prefix"; then
6581 for ac_prog
in ar gar
6583 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6584 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6586 printf %s
"checking for $ac_word... " >&6; }
6587 if test ${ac_cv_prog_AR+y}
6589 printf %s
"(cached) " >&6
6591 if test -n "$AR"; then
6592 ac_cv_prog_AR
="$AR" # Let the user override the test.
6594 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6598 case $as_dir in #(((
6601 *) as_dir
=$as_dir/ ;;
6603 for ac_exec_ext
in '' $ac_executable_extensions; do
6604 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6605 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
6606 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6616 if test -n "$AR"; then
6617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6618 printf "%s\n" "$AR" >&6; }
6620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6621 printf "%s\n" "no" >&6; }
6625 test -n "$AR" && break
6628 if test -z "$AR"; then
6630 for ac_prog
in ar gar
6632 # Extract the first word of "$ac_prog", so it can be a program name with args.
6633 set dummy
$ac_prog; ac_word
=$2
6634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6635 printf %s
"checking for $ac_word... " >&6; }
6636 if test ${ac_cv_prog_ac_ct_AR+y}
6638 printf %s
"(cached) " >&6
6640 if test -n "$ac_ct_AR"; then
6641 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6643 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6647 case $as_dir in #(((
6650 *) as_dir
=$as_dir/ ;;
6652 for ac_exec_ext
in '' $ac_executable_extensions; do
6653 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6654 ac_cv_prog_ac_ct_AR
="$ac_prog"
6655 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6664 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6665 if test -n "$ac_ct_AR"; then
6666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6667 printf "%s\n" "$ac_ct_AR" >&6; }
6669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6670 printf "%s\n" "no" >&6; }
6674 test -n "$ac_ct_AR" && break
6677 if test "x$ac_ct_AR" = x
; then
6680 case $cross_compiling:$ac_tool_warned in
6682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6683 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6684 ac_tool_warned
=yes ;;
6690 if test -n "$ac_tool_prefix"; then
6691 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6692 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6694 printf %s
"checking for $ac_word... " >&6; }
6695 if test ${ac_cv_prog_STRIP+y}
6697 printf %s
"(cached) " >&6
6699 if test -n "$STRIP"; then
6700 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6702 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6706 case $as_dir in #(((
6709 *) as_dir
=$as_dir/ ;;
6711 for ac_exec_ext
in '' $ac_executable_extensions; do
6712 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6713 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6714 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6723 STRIP
=$ac_cv_prog_STRIP
6724 if test -n "$STRIP"; then
6725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6726 printf "%s\n" "$STRIP" >&6; }
6728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6729 printf "%s\n" "no" >&6; }
6734 if test -z "$ac_cv_prog_STRIP"; then
6736 # Extract the first word of "strip", so it can be a program name with args.
6737 set dummy strip
; ac_word
=$2
6738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6739 printf %s
"checking for $ac_word... " >&6; }
6740 if test ${ac_cv_prog_ac_ct_STRIP+y}
6742 printf %s
"(cached) " >&6
6744 if test -n "$ac_ct_STRIP"; then
6745 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6747 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6751 case $as_dir in #(((
6754 *) as_dir
=$as_dir/ ;;
6756 for ac_exec_ext
in '' $ac_executable_extensions; do
6757 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6758 ac_cv_prog_ac_ct_STRIP
="strip"
6759 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6768 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6769 if test -n "$ac_ct_STRIP"; then
6770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6771 printf "%s\n" "$ac_ct_STRIP" >&6; }
6773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6774 printf "%s\n" "no" >&6; }
6777 if test "x$ac_ct_STRIP" = x
; then
6780 case $cross_compiling:$ac_tool_warned in
6782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6783 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6784 ac_tool_warned
=yes ;;
6789 STRIP
="$ac_cv_prog_STRIP"
6792 if test -n "$ac_tool_prefix"; then
6793 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6794 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6796 printf %s
"checking for $ac_word... " >&6; }
6797 if test ${ac_cv_prog_RANLIB+y}
6799 printf %s
"(cached) " >&6
6801 if test -n "$RANLIB"; then
6802 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6804 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6808 case $as_dir in #(((
6811 *) as_dir
=$as_dir/ ;;
6813 for ac_exec_ext
in '' $ac_executable_extensions; do
6814 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6815 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6816 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6825 RANLIB
=$ac_cv_prog_RANLIB
6826 if test -n "$RANLIB"; then
6827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6828 printf "%s\n" "$RANLIB" >&6; }
6830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6831 printf "%s\n" "no" >&6; }
6836 if test -z "$ac_cv_prog_RANLIB"; then
6837 ac_ct_RANLIB
=$RANLIB
6838 # Extract the first word of "ranlib", so it can be a program name with args.
6839 set dummy ranlib
; ac_word
=$2
6840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6841 printf %s
"checking for $ac_word... " >&6; }
6842 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6844 printf %s
"(cached) " >&6
6846 if test -n "$ac_ct_RANLIB"; then
6847 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6849 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6853 case $as_dir in #(((
6856 *) as_dir
=$as_dir/ ;;
6858 for ac_exec_ext
in '' $ac_executable_extensions; do
6859 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6860 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6861 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6870 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6871 if test -n "$ac_ct_RANLIB"; then
6872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6873 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6876 printf "%s\n" "no" >&6; }
6879 if test "x$ac_ct_RANLIB" = x
; then
6882 case $cross_compiling:$ac_tool_warned in
6884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6885 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6886 ac_tool_warned
=yes ;;
6888 RANLIB
=$ac_ct_RANLIB
6891 RANLIB
="$ac_cv_prog_RANLIB"
6894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6895 printf %s
"checking whether ln -s works... " >&6; }
6897 if test "$LN_S" = "ln -s"; then
6898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6899 printf "%s\n" "yes" >&6; }
6901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6902 printf "%s\n" "no, using $LN_S" >&6; }
6905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6906 printf %s
"checking for grep that handles long lines and -e... " >&6; }
6907 if test ${ac_cv_path_GREP+y}
6909 printf %s
"(cached) " >&6
6911 if test -z "$GREP"; then
6912 ac_path_GREP_found
=false
6913 # Loop through the user's path and test for each of PROGNAME-LIST
6914 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6915 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6918 case $as_dir in #(((
6921 *) as_dir
=$as_dir/ ;;
6923 for ac_prog
in grep ggrep
6925 for ac_exec_ext
in '' $ac_executable_extensions; do
6926 ac_path_GREP
="$as_dir$ac_prog$ac_exec_ext"
6927 as_fn_executable_p
"$ac_path_GREP" ||
continue
6928 # Check for GNU ac_path_GREP and select it if it is found.
6929 # Check for GNU $ac_path_GREP
6930 case `"$ac_path_GREP" --version 2>&1` in
6932 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6935 printf %s
0123456789 >"conftest.in"
6938 cat "conftest.in" "conftest.in" >"conftest.tmp"
6939 mv "conftest.tmp" "conftest.in"
6940 cp "conftest.in" "conftest.nl"
6941 printf "%s\n" 'GREP' >> "conftest.nl"
6942 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6943 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6944 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6945 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6946 # Best one so far, save it but keep looking for a better one
6947 ac_cv_path_GREP
="$ac_path_GREP"
6948 ac_path_GREP_max
=$ac_count
6950 # 10*(2^10) chars as input seems more than enough
6951 test $ac_count -gt 10 && break
6953 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6956 $ac_path_GREP_found && break 3
6961 if test -z "$ac_cv_path_GREP"; then
6962 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6965 ac_cv_path_GREP
=$GREP
6969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6970 printf "%s\n" "$ac_cv_path_GREP" >&6; }
6971 GREP
="$ac_cv_path_GREP"
6974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6975 printf %s
"checking for egrep... " >&6; }
6976 if test ${ac_cv_path_EGREP+y}
6978 printf %s
"(cached) " >&6
6980 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6981 then ac_cv_path_EGREP
="$GREP -E"
6983 if test -z "$EGREP"; then
6984 ac_path_EGREP_found
=false
6985 # Loop through the user's path and test for each of PROGNAME-LIST
6986 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6987 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6990 case $as_dir in #(((
6993 *) as_dir
=$as_dir/ ;;
6995 for ac_prog
in egrep
6997 for ac_exec_ext
in '' $ac_executable_extensions; do
6998 ac_path_EGREP
="$as_dir$ac_prog$ac_exec_ext"
6999 as_fn_executable_p
"$ac_path_EGREP" ||
continue
7000 # Check for GNU ac_path_EGREP and select it if it is found.
7001 # Check for GNU $ac_path_EGREP
7002 case `"$ac_path_EGREP" --version 2>&1` in
7004 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
7007 printf %s
0123456789 >"conftest.in"
7010 cat "conftest.in" "conftest.in" >"conftest.tmp"
7011 mv "conftest.tmp" "conftest.in"
7012 cp "conftest.in" "conftest.nl"
7013 printf "%s\n" 'EGREP' >> "conftest.nl"
7014 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7015 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7016 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7017 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7018 # Best one so far, save it but keep looking for a better one
7019 ac_cv_path_EGREP
="$ac_path_EGREP"
7020 ac_path_EGREP_max
=$ac_count
7022 # 10*(2^10) chars as input seems more than enough
7023 test $ac_count -gt 10 && break
7025 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7028 $ac_path_EGREP_found && break 3
7033 if test -z "$ac_cv_path_EGREP"; then
7034 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7037 ac_cv_path_EGREP
=$EGREP
7042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7043 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7044 EGREP
="$ac_cv_path_EGREP"
7047 # Extract the first word of "ldconfig", so it can be a program name with args.
7048 set dummy ldconfig
; ac_word
=$2
7049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7050 printf %s
"checking for $ac_word... " >&6; }
7051 if test ${ac_cv_path_LDCONFIG+y}
7053 printf %s
"(cached) " >&6
7057 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
7060 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7061 for as_dir
in /sbin
/usr
/sbin
$PATH
7064 case $as_dir in #(((
7067 *) as_dir
=$as_dir/ ;;
7069 for ac_exec_ext
in '' $ac_executable_extensions; do
7070 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7071 ac_cv_path_LDCONFIG
="$as_dir$ac_word$ac_exec_ext"
7072 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7079 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
7083 LDCONFIG
=$ac_cv_path_LDCONFIG
7084 if test -n "$LDCONFIG"; then
7085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7086 printf "%s\n" "$LDCONFIG" >&6; }
7088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7089 printf "%s\n" "no" >&6; }
7093 for ac_prog
in msgfmt
7095 # Extract the first word of "$ac_prog", so it can be a program name with args.
7096 set dummy
$ac_prog; ac_word
=$2
7097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7098 printf %s
"checking for $ac_word... " >&6; }
7099 if test ${ac_cv_prog_MSGFMT+y}
7101 printf %s
"(cached) " >&6
7103 if test -n "$MSGFMT"; then
7104 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
7106 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7110 case $as_dir in #(((
7113 *) as_dir
=$as_dir/ ;;
7115 for ac_exec_ext
in '' $ac_executable_extensions; do
7116 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7117 ac_cv_prog_MSGFMT
="$ac_prog"
7118 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7127 MSGFMT
=$ac_cv_prog_MSGFMT
7128 if test -n "$MSGFMT"; then
7129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7130 printf "%s\n" "$MSGFMT" >&6; }
7132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7133 printf "%s\n" "no" >&6; }
7137 test -n "$MSGFMT" && break
7139 test -n "$MSGFMT" || MSGFMT
="false"
7141 if test ${ac_tool_prefix+y}
7143 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7144 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
7145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7146 printf %s
"checking for $ac_word... " >&6; }
7147 if test ${ac_cv_prog_PKG_CONFIG+y}
7149 printf %s
"(cached) " >&6
7151 if test -n "$PKG_CONFIG"; then
7152 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
7154 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7158 case $as_dir in #(((
7161 *) as_dir
=$as_dir/ ;;
7163 for ac_exec_ext
in '' $ac_executable_extensions; do
7164 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7165 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
7166 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7175 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7176 if test -n "$PKG_CONFIG"; then
7177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7178 printf "%s\n" "$PKG_CONFIG" >&6; }
7180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7181 printf "%s\n" "no" >&6; }
7186 if ${ac_cv_prog_PKG_CONFIG:+false} :
7188 if test "x$cross_compiling" = xyes
7192 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
7193 # Extract the first word of "pkg-config", so it can be a program name with args.
7194 set dummy pkg-config
; ac_word
=$2
7195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7196 printf %s
"checking for $ac_word... " >&6; }
7197 if test ${ac_cv_prog_PKG_CONFIG+y}
7199 printf %s
"(cached) " >&6
7201 if test -n "$PKG_CONFIG"; then
7202 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
7204 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7208 case $as_dir in #(((
7211 *) as_dir
=$as_dir/ ;;
7213 for ac_exec_ext
in '' $ac_executable_extensions; do
7214 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7215 ac_cv_prog_PKG_CONFIG
="pkg-config"
7216 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7225 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7226 if test -n "$PKG_CONFIG"; then
7227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7228 printf "%s\n" "$PKG_CONFIG" >&6; }
7230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7231 printf "%s\n" "no" >&6; }
7237 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7240 if test "x$enable_maintainer_mode" != "xyes"
7247 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
7248 for ac_prog
in fontforge
7250 # Extract the first word of "$ac_prog", so it can be a program name with args.
7251 set dummy
$ac_prog; ac_word
=$2
7252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7253 printf %s
"checking for $ac_word... " >&6; }
7254 if test ${ac_cv_prog_FONTFORGE+y}
7256 printf %s
"(cached) " >&6
7258 if test -n "$FONTFORGE"; then
7259 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
7261 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7265 case $as_dir in #(((
7268 *) as_dir
=$as_dir/ ;;
7270 for ac_exec_ext
in '' $ac_executable_extensions; do
7271 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7272 ac_cv_prog_FONTFORGE
="$ac_prog"
7273 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7282 FONTFORGE
=$ac_cv_prog_FONTFORGE
7283 if test -n "$FONTFORGE"; then
7284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7285 printf "%s\n" "$FONTFORGE" >&6; }
7287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7288 printf "%s\n" "no" >&6; }
7292 test -n "$FONTFORGE" && break
7294 test -n "$FONTFORGE" || FONTFORGE
="false"
7296 for ac_prog
in rsvg-convert rsvg
7298 # Extract the first word of "$ac_prog", so it can be a program name with args.
7299 set dummy
$ac_prog; ac_word
=$2
7300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7301 printf %s
"checking for $ac_word... " >&6; }
7302 if test ${ac_cv_prog_RSVG+y}
7304 printf %s
"(cached) " >&6
7306 if test -n "$RSVG"; then
7307 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
7309 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7313 case $as_dir in #(((
7316 *) as_dir
=$as_dir/ ;;
7318 for ac_exec_ext
in '' $ac_executable_extensions; do
7319 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7320 ac_cv_prog_RSVG
="$ac_prog"
7321 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7330 RSVG
=$ac_cv_prog_RSVG
7331 if test -n "$RSVG"; then
7332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7333 printf "%s\n" "$RSVG" >&6; }
7335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7336 printf "%s\n" "no" >&6; }
7340 test -n "$RSVG" && break
7342 test -n "$RSVG" || RSVG
="false"
7344 for ac_prog
in convert
7346 # Extract the first word of "$ac_prog", so it can be a program name with args.
7347 set dummy
$ac_prog; ac_word
=$2
7348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7349 printf %s
"checking for $ac_word... " >&6; }
7350 if test ${ac_cv_prog_CONVERT+y}
7352 printf %s
"(cached) " >&6
7354 if test -n "$CONVERT"; then
7355 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
7357 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7361 case $as_dir in #(((
7364 *) as_dir
=$as_dir/ ;;
7366 for ac_exec_ext
in '' $ac_executable_extensions; do
7367 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7368 ac_cv_prog_CONVERT
="$ac_prog"
7369 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7378 CONVERT
=$ac_cv_prog_CONVERT
7379 if test -n "$CONVERT"; then
7380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7381 printf "%s\n" "$CONVERT" >&6; }
7383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7384 printf "%s\n" "no" >&6; }
7388 test -n "$CONVERT" && break
7390 test -n "$CONVERT" || CONVERT
="false"
7392 for ac_prog
in icotool
7394 # Extract the first word of "$ac_prog", so it can be a program name with args.
7395 set dummy
$ac_prog; ac_word
=$2
7396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7397 printf %s
"checking for $ac_word... " >&6; }
7398 if test ${ac_cv_prog_ICOTOOL+y}
7400 printf %s
"(cached) " >&6
7402 if test -n "$ICOTOOL"; then
7403 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
7405 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7409 case $as_dir in #(((
7412 *) as_dir
=$as_dir/ ;;
7414 for ac_exec_ext
in '' $ac_executable_extensions; do
7415 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7416 ac_cv_prog_ICOTOOL
="$ac_prog"
7417 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7426 ICOTOOL
=$ac_cv_prog_ICOTOOL
7427 if test -n "$ICOTOOL"; then
7428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7429 printf "%s\n" "$ICOTOOL" >&6; }
7431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7432 printf "%s\n" "no" >&6; }
7436 test -n "$ICOTOOL" && break
7438 test -n "$ICOTOOL" || ICOTOOL
="false"
7440 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7441 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7443 if test "$CONVERT" = false
7445 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7448 printf %s
"checking for recent enough imagemagick... " >&6; }
7449 convert_version
=`convert --version | head -n1`
7450 if test "x$convert_version" != "x"
7452 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7453 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7454 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7459 if test "$CONVERT" = false
7461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7462 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7463 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7466 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7470 if test "$ICOTOOL" = false
7472 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7475 printf %s
"checking for recent enough icotool... " >&6; }
7476 icotool_version
=`icotool --version | head -n1`
7477 if test "x$icotool_version" != "x"
7479 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7480 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7481 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7484 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
7487 if test "$ICOTOOL" = false
7489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7490 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7491 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7494 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7504 test "x$with_gettext" != xno || MSGFMT
=false
7505 if test "$MSGFMT" != "false"
7507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7508 printf %s
"checking whether msgfmt supports contexts... " >&6; }
7509 if test ${wine_cv_msgfmt_contexts+y}
7511 printf %s
"(cached) " >&6
7513 cat >conftest.po
<<EOF
7519 if $MSGFMT -o /dev
/null conftest.po
2>&5
7521 wine_cv_msgfmt_contexts
=yes
7523 wine_cv_msgfmt_contexts
=no
7526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7527 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7528 test $wine_cv_msgfmt_contexts != no || MSGFMT
=false
7530 if test "$MSGFMT" = false
7532 case "x$with_gettext" in
7533 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
7535 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
7536 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7538 enable_po
=${enable_po:-no}
7542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7543 printf %s
"checking for i386_set_ldt in -li386... " >&6; }
7544 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7546 printf %s
"(cached) " >&6
7548 ac_check_lib_save_LIBS
=$LIBS
7550 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7551 /* end confdefs.h. */
7553 /* Override any GCC internal prototype to avoid an error.
7554 Use char because int might match the return type of a GCC
7555 builtin and then its argument prototype would still apply. */
7556 char i386_set_ldt ();
7560 return i386_set_ldt ();
7565 if ac_fn_c_try_link
"$LINENO"
7567 ac_cv_lib_i386_i386_set_ldt
=yes
7569 ac_cv_lib_i386_i386_set_ldt
=no
7571 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
7572 conftest
$ac_exeext conftest.
$ac_ext
7573 LIBS
=$ac_check_lib_save_LIBS
7575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7576 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7577 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7588 # Check whether --enable-largefile was given.
7589 if test ${enable_largefile+y}
7591 enableval
=$enable_largefile;
7594 if test "$enable_largefile" != no
; then
7596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7597 printf %s
"checking for special C compiler options needed for large files... " >&6; }
7598 if test ${ac_cv_sys_largefile_CC+y}
7600 printf %s
"(cached) " >&6
7602 ac_cv_sys_largefile_CC
=no
7603 if test "$GCC" != yes; then
7606 # IRIX 6.2 and later do not support large files by default,
7607 # so use the C compiler's -n32 option if that helps.
7608 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7609 /* end confdefs.h. */
7610 #include <sys/types.h>
7611 /* Check that off_t can represent 2**63 - 1 correctly.
7612 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7613 since some C++ compilers masquerading as C compilers
7614 incorrectly reject 9223372036854775807. */
7615 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7616 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7617 && LARGE_OFF_T % 2147483647 == 1)
7627 if ac_fn_c_try_compile
"$LINENO"
7631 rm -f core conftest.err conftest.
$ac_objext conftest.beam
7633 if ac_fn_c_try_compile
"$LINENO"
7635 ac_cv_sys_largefile_CC
=' -n32'; break
7637 rm -f core conftest.err conftest.
$ac_objext conftest.beam
7641 rm -f conftest.
$ac_ext
7644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7645 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7646 if test "$ac_cv_sys_largefile_CC" != no
; then
7647 CC
=$CC$ac_cv_sys_largefile_CC
7650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7651 printf %s
"checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7652 if test ${ac_cv_sys_file_offset_bits+y}
7654 printf %s
"(cached) " >&6
7657 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7658 /* end confdefs.h. */
7659 #include <sys/types.h>
7660 /* Check that off_t can represent 2**63 - 1 correctly.
7661 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7662 since some C++ compilers masquerading as C compilers
7663 incorrectly reject 9223372036854775807. */
7664 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7665 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7666 && LARGE_OFF_T % 2147483647 == 1)
7676 if ac_fn_c_try_compile
"$LINENO"
7678 ac_cv_sys_file_offset_bits
=no
; break
7680 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7681 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7682 /* end confdefs.h. */
7683 #define _FILE_OFFSET_BITS 64
7684 #include <sys/types.h>
7685 /* Check that off_t can represent 2**63 - 1 correctly.
7686 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7687 since some C++ compilers masquerading as C compilers
7688 incorrectly reject 9223372036854775807. */
7689 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7690 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7691 && LARGE_OFF_T % 2147483647 == 1)
7701 if ac_fn_c_try_compile
"$LINENO"
7703 ac_cv_sys_file_offset_bits
=64; break
7705 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7706 ac_cv_sys_file_offset_bits
=unknown
7710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7711 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7712 case $ac_cv_sys_file_offset_bits in #(
7715 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7719 if test $ac_cv_sys_file_offset_bits = unknown
; then
7720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7721 printf %s
"checking for _LARGE_FILES value needed for large files... " >&6; }
7722 if test ${ac_cv_sys_large_files+y}
7724 printf %s
"(cached) " >&6
7727 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7728 /* end confdefs.h. */
7729 #include <sys/types.h>
7730 /* Check that off_t can represent 2**63 - 1 correctly.
7731 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7732 since some C++ compilers masquerading as C compilers
7733 incorrectly reject 9223372036854775807. */
7734 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7735 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7736 && LARGE_OFF_T % 2147483647 == 1)
7746 if ac_fn_c_try_compile
"$LINENO"
7748 ac_cv_sys_large_files
=no
; break
7750 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7751 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7752 /* end confdefs.h. */
7753 #define _LARGE_FILES 1
7754 #include <sys/types.h>
7755 /* Check that off_t can represent 2**63 - 1 correctly.
7756 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7757 since some C++ compilers masquerading as C compilers
7758 incorrectly reject 9223372036854775807. */
7759 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7760 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7761 && LARGE_OFF_T % 2147483647 == 1)
7771 if ac_fn_c_try_compile
"$LINENO"
7773 ac_cv_sys_large_files
=1; break
7775 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7776 ac_cv_sys_large_files
=unknown
7780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7781 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7782 case $ac_cv_sys_large_files in #(
7785 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7793 ac_header
= ac_cache
=
7794 for ac_item
in $ac_header_c_list
7796 if test $ac_cache; then
7797 ac_fn_c_check_header_compile
"$LINENO" $ac_header ac_cv_header_
$ac_cache "$ac_includes_default"
7798 if eval test \"x\
$ac_cv_header_$ac_cache\" = xyes
; then
7799 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7801 ac_header
= ac_cache
=
7802 elif test $ac_header; then
7816 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7819 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7822 ac_fn_c_check_header_compile
"$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7823 if test "x$ac_cv_header_CL_cl_h" = xyes
7825 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7828 ac_fn_c_check_header_compile
"$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7829 if test "x$ac_cv_header_EGL_egl_h" = xyes
7831 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7834 ac_fn_c_check_header_compile
"$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7835 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7837 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7840 ac_fn_c_check_header_compile
"$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7841 if test "x$ac_cv_header_arpa_inet_h" = xyes
7843 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7846 ac_fn_c_check_header_compile
"$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7847 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7849 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7852 ac_fn_c_check_header_compile
"$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7853 if test "x$ac_cv_header_asm_types_h" = xyes
7855 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7858 ac_fn_c_check_header_compile
"$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7859 if test "x$ac_cv_header_asm_user_h" = xyes
7861 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7864 ac_fn_c_check_header_compile
"$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7865 if test "x$ac_cv_header_elf_h" = xyes
7867 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7870 ac_fn_c_check_header_compile
"$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7871 if test "x$ac_cv_header_float_h" = xyes
7873 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7876 ac_fn_c_check_header_compile
"$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7877 if test "x$ac_cv_header_gettext_po_h" = xyes
7879 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7882 ac_fn_c_check_header_compile
"$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7883 if test "x$ac_cv_header_libproc_h" = xyes
7885 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7888 ac_fn_c_check_header_compile
"$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7889 if test "x$ac_cv_header_link_h" = xyes
7891 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7894 ac_fn_c_check_header_compile
"$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7895 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7897 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7900 ac_fn_c_check_header_compile
"$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7901 if test "x$ac_cv_header_linux_filter_h" = xyes
7903 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7906 ac_fn_c_check_header_compile
"$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7907 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7909 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7912 ac_fn_c_check_header_compile
"$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7913 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7915 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7918 ac_fn_c_check_header_compile
"$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7919 if test "x$ac_cv_header_linux_input_h" = xyes
7921 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7924 ac_fn_c_check_header_compile
"$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7925 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7927 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7930 ac_fn_c_check_header_compile
"$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7931 if test "x$ac_cv_header_linux_major_h" = xyes
7933 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7936 ac_fn_c_check_header_compile
"$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7937 if test "x$ac_cv_header_linux_param_h" = xyes
7939 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
7942 ac_fn_c_check_header_compile
"$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
7943 if test "x$ac_cv_header_linux_serial_h" = xyes
7945 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
7948 ac_fn_c_check_header_compile
"$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
7949 if test "x$ac_cv_header_linux_types_h" = xyes
7951 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
7954 ac_fn_c_check_header_compile
"$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
7955 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
7957 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
7960 ac_fn_c_check_header_compile
"$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
7961 if test "x$ac_cv_header_lwp_h" = xyes
7963 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
7966 ac_fn_c_check_header_compile
"$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
7967 if test "x$ac_cv_header_mach_o_loader_h" = xyes
7969 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
7972 ac_fn_c_check_header_compile
"$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
7973 if test "x$ac_cv_header_mach_mach_h" = xyes
7975 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
7978 ac_fn_c_check_header_compile
"$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
7979 if test "x$ac_cv_header_machine_cpu_h" = xyes
7981 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
7984 ac_fn_c_check_header_compile
"$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
7985 if test "x$ac_cv_header_machine_sysarch_h" = xyes
7987 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
7990 ac_fn_c_check_header_compile
"$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
7991 if test "x$ac_cv_header_mntent_h" = xyes
7993 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
7996 ac_fn_c_check_header_compile
"$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
7997 if test "x$ac_cv_header_netdb_h" = xyes
7999 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8002 ac_fn_c_check_header_compile
"$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8003 if test "x$ac_cv_header_netinet_in_h" = xyes
8005 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8008 ac_fn_c_check_header_compile
"$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8009 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8011 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8014 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8015 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8017 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8020 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8021 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8023 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8026 ac_fn_c_check_header_compile
"$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8027 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8029 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8032 ac_fn_c_check_header_compile
"$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8033 if test "x$ac_cv_header_port_h" = xyes
8035 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8038 ac_fn_c_check_header_compile
"$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8039 if test "x$ac_cv_header_pthread_h" = xyes
8041 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8044 ac_fn_c_check_header_compile
"$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8045 if test "x$ac_cv_header_pwd_h" = xyes
8047 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8050 ac_fn_c_check_header_compile
"$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8051 if test "x$ac_cv_header_sched_h" = xyes
8053 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8056 ac_fn_c_check_header_compile
"$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8057 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8059 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8062 ac_fn_c_check_header_compile
"$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8063 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8065 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8068 ac_fn_c_check_header_compile
"$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8069 if test "x$ac_cv_header_scsi_sg_h" = xyes
8071 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8074 ac_fn_c_check_header_compile
"$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8075 if test "x$ac_cv_header_stdint_h" = xyes
8077 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8080 ac_fn_c_check_header_compile
"$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8081 if test "x$ac_cv_header_sys_attr_h" = xyes
8083 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8086 ac_fn_c_check_header_compile
"$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8087 if test "x$ac_cv_header_sys_auxv_h" = xyes
8089 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8092 ac_fn_c_check_header_compile
"$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8093 if test "x$ac_cv_header_sys_cdio_h" = xyes
8095 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8098 ac_fn_c_check_header_compile
"$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8099 if test "x$ac_cv_header_sys_epoll_h" = xyes
8101 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8104 ac_fn_c_check_header_compile
"$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8105 if test "x$ac_cv_header_sys_event_h" = xyes
8107 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8110 ac_fn_c_check_header_compile
"$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
8111 if test "x$ac_cv_header_sys_extattr_h" = xyes
8113 printf "%s\n" "#define HAVE_SYS_EXTATTR_H 1" >>confdefs.h
8116 ac_fn_c_check_header_compile
"$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8117 if test "x$ac_cv_header_sys_filio_h" = xyes
8119 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8122 ac_fn_c_check_header_compile
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8123 if test "x$ac_cv_header_sys_ipc_h" = xyes
8125 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8128 ac_fn_c_check_header_compile
"$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8129 if test "x$ac_cv_header_sys_link_h" = xyes
8131 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8134 ac_fn_c_check_header_compile
"$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8135 if test "x$ac_cv_header_sys_modem_h" = xyes
8137 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8140 ac_fn_c_check_header_compile
"$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8141 if test "x$ac_cv_header_sys_mtio_h" = xyes
8143 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8146 ac_fn_c_check_header_compile
"$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8147 if test "x$ac_cv_header_sys_param_h" = xyes
8149 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8152 ac_fn_c_check_header_compile
"$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8153 if test "x$ac_cv_header_sys_prctl_h" = xyes
8155 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8158 ac_fn_c_check_header_compile
"$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8159 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8161 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8164 ac_fn_c_check_header_compile
"$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8165 if test "x$ac_cv_header_sys_queue_h" = xyes
8167 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8170 ac_fn_c_check_header_compile
"$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8171 if test "x$ac_cv_header_sys_random_h" = xyes
8173 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8176 ac_fn_c_check_header_compile
"$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8177 if test "x$ac_cv_header_sys_resource_h" = xyes
8179 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8182 ac_fn_c_check_header_compile
"$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8183 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8185 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8188 ac_fn_c_check_header_compile
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8189 if test "x$ac_cv_header_sys_shm_h" = xyes
8191 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8194 ac_fn_c_check_header_compile
"$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8195 if test "x$ac_cv_header_sys_signal_h" = xyes
8197 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8200 ac_fn_c_check_header_compile
"$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8201 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8203 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8206 ac_fn_c_check_header_compile
"$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8207 if test "x$ac_cv_header_sys_sockio_h" = xyes
8209 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8212 ac_fn_c_check_header_compile
"$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8213 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8215 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8218 ac_fn_c_check_header_compile
"$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8219 if test "x$ac_cv_header_sys_strtio_h" = xyes
8221 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8224 ac_fn_c_check_header_compile
"$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8225 if test "x$ac_cv_header_sys_syscall_h" = xyes
8227 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8230 ac_fn_c_check_header_compile
"$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8231 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8233 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8236 ac_fn_c_check_header_compile
"$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8237 if test "x$ac_cv_header_sys_times_h" = xyes
8239 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8242 ac_fn_c_check_header_compile
"$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8243 if test "x$ac_cv_header_sys_uio_h" = xyes
8245 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8248 ac_fn_c_check_header_compile
"$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8249 if test "x$ac_cv_header_sys_user_h" = xyes
8251 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8254 ac_fn_c_check_header_compile
"$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8255 if test "x$ac_cv_header_sys_utsname_h" = xyes
8257 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8260 ac_fn_c_check_header_compile
"$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8261 if test "x$ac_cv_header_sys_vnode_h" = xyes
8263 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8266 ac_fn_c_check_header_compile
"$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8267 if test "x$ac_cv_header_sys_xattr_h" = xyes
8269 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8272 ac_fn_c_check_header_compile
"$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8273 if test "x$ac_cv_header_syscall_h" = xyes
8275 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8278 ac_fn_c_check_header_compile
"$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8279 if test "x$ac_cv_header_utime_h" = xyes
8281 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8284 ac_fn_c_check_header_compile
"$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8285 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8287 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8290 ac_fn_c_check_header_compile
"$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8291 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8293 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8297 ac_fn_c_check_header_compile
"$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8298 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8301 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8305 if test $ac_cv_header_sys_mkdev_h = no
; then
8306 ac_fn_c_check_header_compile
"$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8307 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8310 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8316 printf %s
"checking whether stat file-mode macros are broken... " >&6; }
8317 if test ${ac_cv_header_stat_broken+y}
8319 printf %s
"(cached) " >&6
8321 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8322 /* end confdefs.h. */
8323 #include <sys/types.h>
8324 #include <sys/stat.h>
8326 #if defined S_ISBLK && defined S_IFDIR
8327 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8330 #if defined S_ISBLK && defined S_IFCHR
8331 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8334 #if defined S_ISLNK && defined S_IFREG
8335 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8338 #if defined S_ISSOCK && defined S_IFREG
8339 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8343 if ac_fn_c_try_compile
"$LINENO"
8345 ac_cv_header_stat_broken
=no
8347 ac_cv_header_stat_broken
=yes
8349 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8352 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8353 if test $ac_cv_header_stat_broken = yes; then
8355 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8361 ac_fn_c_check_header_compile
"$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8362 #ifdef HAVE_SYS_PARAM_H
8363 # include <sys/param.h>
8366 if test "x$ac_cv_header_sys_conf_h" = xyes
8368 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8371 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8372 #ifdef HAVE_SYS_PARAM_H
8373 # include <sys/param.h>
8376 if test "x$ac_cv_header_sys_mount_h" = xyes
8378 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8381 ac_fn_c_check_header_compile
"$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8382 #ifdef HAVE_SYS_PARAM_H
8383 # include <sys/param.h>
8386 if test "x$ac_cv_header_sys_statfs_h" = xyes
8388 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8391 ac_fn_c_check_header_compile
"$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8392 #ifdef HAVE_SYS_PARAM_H
8393 # include <sys/param.h>
8396 if test "x$ac_cv_header_sys_user_h" = xyes
8398 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8401 ac_fn_c_check_header_compile
"$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8402 #ifdef HAVE_SYS_PARAM_H
8403 # include <sys/param.h>
8406 if test "x$ac_cv_header_sys_vfs_h" = xyes
8408 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8413 saved_sysctl_h_CFLAGS
=$CFLAGS
8414 test "x${GCC}" != xyes || CFLAGS
="$CFLAGS -Werror"
8415 ac_fn_c_check_header_compile
"$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8416 #ifdef HAVE_SYS_PARAM_H
8417 # include <sys/param.h>
8420 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8422 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8426 CFLAGS
=$saved_sysctl_h_CFLAGS
8428 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8429 #include <sys/socket.h>
8430 #ifdef HAVE_SYS_SOCKETVAR_H
8431 # include <sys/socketvar.h>
8433 #ifdef HAVE_NET_ROUTE_H
8434 # include <net/route.h>
8436 #ifdef HAVE_NETINET_IN_H
8437 # include <netinet/in.h>
8439 #ifdef HAVE_NETINET_IN_SYSTM_H
8440 # include <netinet/in_systm.h>
8442 #ifdef HAVE_NET_IF_H
8443 # include <net/if.h>
8445 #ifdef HAVE_NETINET_IP_H
8446 # include <netinet/ip.h>
8449 if test "x$ac_cv_header_netinet_ip_h" = xyes
8451 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8454 ac_fn_c_check_header_compile
"$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8455 #include <sys/socket.h>
8456 #ifdef HAVE_SYS_SOCKETVAR_H
8457 # include <sys/socketvar.h>
8459 #ifdef HAVE_NET_ROUTE_H
8460 # include <net/route.h>
8462 #ifdef HAVE_NETINET_IN_H
8463 # include <netinet/in.h>
8465 #ifdef HAVE_NETINET_IN_SYSTM_H
8466 # include <netinet/in_systm.h>
8468 #ifdef HAVE_NET_IF_H
8469 # include <net/if.h>
8471 #ifdef HAVE_NETINET_IP_H
8472 # include <netinet/ip.h>
8475 if test "x$ac_cv_header_net_if_h" = xyes
8477 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8480 ac_fn_c_check_header_compile
"$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8481 #include <sys/socket.h>
8482 #ifdef HAVE_SYS_SOCKETVAR_H
8483 # include <sys/socketvar.h>
8485 #ifdef HAVE_NET_ROUTE_H
8486 # include <net/route.h>
8488 #ifdef HAVE_NETINET_IN_H
8489 # include <netinet/in.h>
8491 #ifdef HAVE_NETINET_IN_SYSTM_H
8492 # include <netinet/in_systm.h>
8494 #ifdef HAVE_NET_IF_H
8495 # include <net/if.h>
8497 #ifdef HAVE_NETINET_IP_H
8498 # include <netinet/ip.h>
8501 if test "x$ac_cv_header_net_if_arp_h" = xyes
8503 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8506 ac_fn_c_check_header_compile
"$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8507 #include <sys/socket.h>
8508 #ifdef HAVE_SYS_SOCKETVAR_H
8509 # include <sys/socketvar.h>
8511 #ifdef HAVE_NET_ROUTE_H
8512 # include <net/route.h>
8514 #ifdef HAVE_NETINET_IN_H
8515 # include <netinet/in.h>
8517 #ifdef HAVE_NETINET_IN_SYSTM_H
8518 # include <netinet/in_systm.h>
8520 #ifdef HAVE_NET_IF_H
8521 # include <net/if.h>
8523 #ifdef HAVE_NETINET_IP_H
8524 # include <netinet/ip.h>
8527 if test "x$ac_cv_header_net_if_dl_h" = xyes
8529 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8532 ac_fn_c_check_header_compile
"$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8533 #include <sys/socket.h>
8534 #ifdef HAVE_SYS_SOCKETVAR_H
8535 # include <sys/socketvar.h>
8537 #ifdef HAVE_NET_ROUTE_H
8538 # include <net/route.h>
8540 #ifdef HAVE_NETINET_IN_H
8541 # include <netinet/in.h>
8543 #ifdef HAVE_NETINET_IN_SYSTM_H
8544 # include <netinet/in_systm.h>
8546 #ifdef HAVE_NET_IF_H
8547 # include <net/if.h>
8549 #ifdef HAVE_NETINET_IP_H
8550 # include <netinet/ip.h>
8553 if test "x$ac_cv_header_net_if_types_h" = xyes
8555 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8558 ac_fn_c_check_header_compile
"$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8559 #include <sys/socket.h>
8560 #ifdef HAVE_SYS_SOCKETVAR_H
8561 # include <sys/socketvar.h>
8563 #ifdef HAVE_NET_ROUTE_H
8564 # include <net/route.h>
8566 #ifdef HAVE_NETINET_IN_H
8567 # include <netinet/in.h>
8569 #ifdef HAVE_NETINET_IN_SYSTM_H
8570 # include <netinet/in_systm.h>
8572 #ifdef HAVE_NET_IF_H
8573 # include <net/if.h>
8575 #ifdef HAVE_NETINET_IP_H
8576 # include <netinet/ip.h>
8579 if test "x$ac_cv_header_net_route_h" = xyes
8581 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8584 ac_fn_c_check_header_compile
"$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8585 #include <sys/socket.h>
8586 #ifdef HAVE_SYS_SOCKETVAR_H
8587 # include <sys/socketvar.h>
8589 #ifdef HAVE_NET_ROUTE_H
8590 # include <net/route.h>
8592 #ifdef HAVE_NETINET_IN_H
8593 # include <netinet/in.h>
8595 #ifdef HAVE_NETINET_IN_SYSTM_H
8596 # include <netinet/in_systm.h>
8598 #ifdef HAVE_NET_IF_H
8599 # include <net/if.h>
8601 #ifdef HAVE_NETINET_IP_H
8602 # include <netinet/ip.h>
8605 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8607 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8610 ac_fn_c_check_header_compile
"$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8611 #include <sys/socket.h>
8612 #ifdef HAVE_SYS_SOCKETVAR_H
8613 # include <sys/socketvar.h>
8615 #ifdef HAVE_NET_ROUTE_H
8616 # include <net/route.h>
8618 #ifdef HAVE_NETINET_IN_H
8619 # include <netinet/in.h>
8621 #ifdef HAVE_NETINET_IN_SYSTM_H
8622 # include <netinet/in_systm.h>
8624 #ifdef HAVE_NET_IF_H
8625 # include <net/if.h>
8627 #ifdef HAVE_NETINET_IP_H
8628 # include <netinet/ip.h>
8631 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8633 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8636 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8637 #include <sys/socket.h>
8638 #ifdef HAVE_SYS_SOCKETVAR_H
8639 # include <sys/socketvar.h>
8641 #ifdef HAVE_NET_ROUTE_H
8642 # include <net/route.h>
8644 #ifdef HAVE_NETINET_IN_H
8645 # include <netinet/in.h>
8647 #ifdef HAVE_NETINET_IN_SYSTM_H
8648 # include <netinet/in_systm.h>
8650 #ifdef HAVE_NET_IF_H
8651 # include <net/if.h>
8653 #ifdef HAVE_NETINET_IP_H
8654 # include <netinet/ip.h>
8657 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8659 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8662 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8663 #include <sys/socket.h>
8664 #ifdef HAVE_SYS_SOCKETVAR_H
8665 # include <sys/socketvar.h>
8667 #ifdef HAVE_NET_ROUTE_H
8668 # include <net/route.h>
8670 #ifdef HAVE_NETINET_IN_H
8671 # include <netinet/in.h>
8673 #ifdef HAVE_NETINET_IN_SYSTM_H
8674 # include <netinet/in_systm.h>
8676 #ifdef HAVE_NET_IF_H
8677 # include <net/if.h>
8679 #ifdef HAVE_NETINET_IP_H
8680 # include <netinet/ip.h>
8683 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8685 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8688 ac_fn_c_check_header_compile
"$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8689 #include <sys/socket.h>
8690 #ifdef HAVE_SYS_SOCKETVAR_H
8691 # include <sys/socketvar.h>
8693 #ifdef HAVE_NET_ROUTE_H
8694 # include <net/route.h>
8696 #ifdef HAVE_NETINET_IN_H
8697 # include <netinet/in.h>
8699 #ifdef HAVE_NETINET_IN_SYSTM_H
8700 # include <netinet/in_systm.h>
8702 #ifdef HAVE_NET_IF_H
8703 # include <net/if.h>
8705 #ifdef HAVE_NETINET_IP_H
8706 # include <netinet/ip.h>
8709 if test "x$ac_cv_header_netinet_udp_h" = xyes
8711 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8714 ac_fn_c_check_header_compile
"$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8715 #include <sys/socket.h>
8716 #ifdef HAVE_SYS_SOCKETVAR_H
8717 # include <sys/socketvar.h>
8719 #ifdef HAVE_NET_ROUTE_H
8720 # include <net/route.h>
8722 #ifdef HAVE_NETINET_IN_H
8723 # include <netinet/in.h>
8725 #ifdef HAVE_NETINET_IN_SYSTM_H
8726 # include <netinet/in_systm.h>
8728 #ifdef HAVE_NET_IF_H
8729 # include <net/if.h>
8731 #ifdef HAVE_NETINET_IP_H
8732 # include <netinet/ip.h>
8735 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8737 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8740 ac_fn_c_check_header_compile
"$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8741 #include <sys/socket.h>
8742 #ifdef HAVE_SYS_SOCKETVAR_H
8743 # include <sys/socketvar.h>
8745 #ifdef HAVE_NET_ROUTE_H
8746 # include <net/route.h>
8748 #ifdef HAVE_NETINET_IN_H
8749 # include <netinet/in.h>
8751 #ifdef HAVE_NETINET_IN_SYSTM_H
8752 # include <netinet/in_systm.h>
8754 #ifdef HAVE_NET_IF_H
8755 # include <net/if.h>
8757 #ifdef HAVE_NETINET_IP_H
8758 # include <netinet/ip.h>
8761 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8763 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8766 ac_fn_c_check_header_compile
"$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8767 #include <sys/socket.h>
8768 #ifdef HAVE_SYS_SOCKETVAR_H
8769 # include <sys/socketvar.h>
8771 #ifdef HAVE_NET_ROUTE_H
8772 # include <net/route.h>
8774 #ifdef HAVE_NETINET_IN_H
8775 # include <netinet/in.h>
8777 #ifdef HAVE_NETINET_IN_SYSTM_H
8778 # include <netinet/in_systm.h>
8780 #ifdef HAVE_NET_IF_H
8781 # include <net/if.h>
8783 #ifdef HAVE_NETINET_IP_H
8784 # include <netinet/ip.h>
8787 if test "x$ac_cv_header_sys_un_h" = xyes
8789 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8794 ac_fn_c_check_header_compile
"$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8795 #include <sys/socket.h>
8796 #ifdef HAVE_SYS_SOCKETVAR_H
8797 # include <sys/socketvar.h>
8799 #ifdef HAVE_NETINET_IN_H
8800 # include <netinet/in.h>
8802 #ifdef HAVE_NETINET_IN_SYSTM_H
8803 # include <netinet/in_systm.h>
8805 #ifdef HAVE_NETINET_IP_H
8806 # include <netinet/ip.h>
8808 #ifdef HAVE_NETINET_IP_VAR_H
8809 # include <netinet/ip_var.h>
8811 #ifdef HAVE_NETINET_IP_ICMP_H
8812 # include <netinet/ip_icmp.h>
8814 #ifdef HAVE_NETINET_UDP_H
8815 # include <netinet/udp.h>
8817 #ifdef HAVE_NETINET_TCP_H
8818 # include <netinet/tcp.h>
8821 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8823 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8826 ac_fn_c_check_header_compile
"$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8827 #include <sys/socket.h>
8828 #ifdef HAVE_SYS_SOCKETVAR_H
8829 # include <sys/socketvar.h>
8831 #ifdef HAVE_NETINET_IN_H
8832 # include <netinet/in.h>
8834 #ifdef HAVE_NETINET_IN_SYSTM_H
8835 # include <netinet/in_systm.h>
8837 #ifdef HAVE_NETINET_IP_H
8838 # include <netinet/ip.h>
8840 #ifdef HAVE_NETINET_IP_VAR_H
8841 # include <netinet/ip_var.h>
8843 #ifdef HAVE_NETINET_IP_ICMP_H
8844 # include <netinet/ip_icmp.h>
8846 #ifdef HAVE_NETINET_UDP_H
8847 # include <netinet/udp.h>
8849 #ifdef HAVE_NETINET_TCP_H
8850 # include <netinet/tcp.h>
8853 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8855 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8858 ac_fn_c_check_header_compile
"$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8859 #include <sys/socket.h>
8860 #ifdef HAVE_SYS_SOCKETVAR_H
8861 # include <sys/socketvar.h>
8863 #ifdef HAVE_NETINET_IN_H
8864 # include <netinet/in.h>
8866 #ifdef HAVE_NETINET_IN_SYSTM_H
8867 # include <netinet/in_systm.h>
8869 #ifdef HAVE_NETINET_IP_H
8870 # include <netinet/ip.h>
8872 #ifdef HAVE_NETINET_IP_VAR_H
8873 # include <netinet/ip_var.h>
8875 #ifdef HAVE_NETINET_IP_ICMP_H
8876 # include <netinet/ip_icmp.h>
8878 #ifdef HAVE_NETINET_UDP_H
8879 # include <netinet/udp.h>
8881 #ifdef HAVE_NETINET_TCP_H
8882 # include <netinet/tcp.h>
8885 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8887 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8890 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_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_tcp_var_h" = xyes
8919 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8924 ac_fn_c_check_header_compile
"$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8925 #include <sys/socket.h>
8926 #ifdef HAVE_ASM_TYPES_H
8927 # include <asm/types.h>
8929 #ifdef HAVE_LINUX_TYPES_H
8930 # include <linux/types.h>
8933 if test "x$ac_cv_header_linux_ipx_h" = xyes
8935 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8938 ac_fn_c_check_header_compile
"$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8939 #include <sys/socket.h>
8940 #ifdef HAVE_ASM_TYPES_H
8941 # include <asm/types.h>
8943 #ifdef HAVE_LINUX_TYPES_H
8944 # include <linux/types.h>
8947 if test "x$ac_cv_header_linux_irda_h" = xyes
8949 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
8952 ac_fn_c_check_header_compile
"$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
8953 #include <sys/socket.h>
8954 #ifdef HAVE_ASM_TYPES_H
8955 # include <asm/types.h>
8957 #ifdef HAVE_LINUX_TYPES_H
8958 # include <linux/types.h>
8961 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
8963 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
8968 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
8969 #include <sys/socket.h>
8970 #ifdef HAVE_NETINET_IN_H
8971 # include <netinet/in.h>
8973 #ifdef HAVE_ARPA_NAMESER_H
8974 # include <arpa/nameser.h>
8977 if test "x$ac_cv_header_resolv_h" = xyes
8979 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
8984 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
8986 if test "x$ac_cv_header_ifaddrs_h" = xyes
8988 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
8993 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
8995 if test "x$ac_cv_header_sys_ucontext_h" = xyes
8997 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9002 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9003 #ifdef HAVE_SYS_UCONTEXT_H
9004 #include <sys/ucontext.h>
9007 if test "x$ac_cv_header_sys_thr_h" = xyes
9009 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9014 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9015 #include <pthread.h>
9018 if test "x$ac_cv_header_pthread_np_h" = xyes
9020 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9025 ac_fn_c_check_header_compile
"$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9026 #include <sys/types.h>
9027 #ifdef HAVE_ASM_TYPES_H
9028 #include <asm/types.h>
9031 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9033 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9038 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9039 #include <sys/param.h>
9041 #include <sys/socket.h>
9042 #ifdef HAVE_SYS_QUEUE_H
9043 #include <sys/queue.h>
9046 if test "x$ac_cv_header_libprocstat_h" = xyes
9048 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9053 if test "x$ac_cv_header_sys_xattr_h" = xyes
9055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9056 printf %s
"checking whether getxattr takes additional arguments... " >&6; }
9057 if test ${wine_cv_xattr_extra_args+y}
9059 printf %s
"(cached) " >&6
9061 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9062 /* end confdefs.h. */
9063 #include <sys/xattr.h>
9067 getxattr("", "", "", 0, 0, 0);
9072 if ac_fn_c_try_compile
"$LINENO"
9074 wine_cv_xattr_extra_args
=yes
9076 wine_cv_xattr_extra_args
=no
9078 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
9080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9081 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9082 test $wine_cv_xattr_extra_args != yes ||
9083 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9096 UNIXDLLFLAGS
="-fPIC"
9098 UNIXLDFLAGS
="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9104 WINELOADER_LDFLAGS
=""
9106 WINEPRELOADER_LDFLAGS
=""
9109 # Extract the first word of "ldd", so it can be a program name with args.
9110 set dummy ldd
; ac_word
=$2
9111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9112 printf %s
"checking for $ac_word... " >&6; }
9113 if test ${ac_cv_path_LDD+y}
9115 printf %s
"(cached) " >&6
9119 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
9122 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9123 as_dummy
="/sbin:/usr/sbin:$PATH"
9124 for as_dir
in $as_dummy
9127 case $as_dir in #(((
9130 *) as_dir
=$as_dir/ ;;
9132 for ac_exec_ext
in '' $ac_executable_extensions; do
9133 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9134 ac_cv_path_LDD
="$as_dir$ac_word$ac_exec_ext"
9135 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9142 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
9147 if test -n "$LDD"; then
9148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9149 printf "%s\n" "$LDD" >&6; }
9151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9152 printf "%s\n" "no" >&6; }
9156 if test -n "$ac_tool_prefix"; then
9157 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9158 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
9159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9160 printf %s
"checking for $ac_word... " >&6; }
9161 if test ${ac_cv_prog_OTOOL+y}
9163 printf %s
"(cached) " >&6
9165 if test -n "$OTOOL"; then
9166 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
9168 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9172 case $as_dir in #(((
9175 *) as_dir
=$as_dir/ ;;
9177 for ac_exec_ext
in '' $ac_executable_extensions; do
9178 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9179 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
9180 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9189 OTOOL
=$ac_cv_prog_OTOOL
9190 if test -n "$OTOOL"; then
9191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9192 printf "%s\n" "$OTOOL" >&6; }
9194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9195 printf "%s\n" "no" >&6; }
9200 if test -z "$ac_cv_prog_OTOOL"; then
9202 # Extract the first word of "otool", so it can be a program name with args.
9203 set dummy otool
; ac_word
=$2
9204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9205 printf %s
"checking for $ac_word... " >&6; }
9206 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9208 printf %s
"(cached) " >&6
9210 if test -n "$ac_ct_OTOOL"; then
9211 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
9213 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9217 case $as_dir in #(((
9220 *) as_dir
=$as_dir/ ;;
9222 for ac_exec_ext
in '' $ac_executable_extensions; do
9223 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9224 ac_cv_prog_ac_ct_OTOOL
="otool"
9225 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9234 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
9235 if test -n "$ac_ct_OTOOL"; then
9236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9237 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9240 printf "%s\n" "no" >&6; }
9243 if test "x$ac_ct_OTOOL" = x
; then
9246 case $cross_compiling:$ac_tool_warned in
9248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9249 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9250 ac_tool_warned
=yes ;;
9255 OTOOL
="$ac_cv_prog_OTOOL"
9258 if test -n "$ac_tool_prefix"; then
9259 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9260 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
9261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9262 printf %s
"checking for $ac_word... " >&6; }
9263 if test ${ac_cv_prog_READELF+y}
9265 printf %s
"(cached) " >&6
9267 if test -n "$READELF"; then
9268 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
9270 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9274 case $as_dir in #(((
9277 *) as_dir
=$as_dir/ ;;
9279 for ac_exec_ext
in '' $ac_executable_extensions; do
9280 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9281 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
9282 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9291 READELF
=$ac_cv_prog_READELF
9292 if test -n "$READELF"; then
9293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9294 printf "%s\n" "$READELF" >&6; }
9296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9297 printf "%s\n" "no" >&6; }
9302 if test -z "$ac_cv_prog_READELF"; then
9303 ac_ct_READELF
=$READELF
9304 # Extract the first word of "readelf", so it can be a program name with args.
9305 set dummy readelf
; ac_word
=$2
9306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9307 printf %s
"checking for $ac_word... " >&6; }
9308 if test ${ac_cv_prog_ac_ct_READELF+y}
9310 printf %s
"(cached) " >&6
9312 if test -n "$ac_ct_READELF"; then
9313 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
9315 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9319 case $as_dir in #(((
9322 *) as_dir
=$as_dir/ ;;
9324 for ac_exec_ext
in '' $ac_executable_extensions; do
9325 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9326 ac_cv_prog_ac_ct_READELF
="readelf"
9327 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9336 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
9337 if test -n "$ac_ct_READELF"; then
9338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9339 printf "%s\n" "$ac_ct_READELF" >&6; }
9341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9342 printf "%s\n" "no" >&6; }
9345 if test "x$ac_ct_READELF" = x
; then
9348 case $cross_compiling:$ac_tool_warned in
9350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9351 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9352 ac_tool_warned
=yes ;;
9354 READELF
=$ac_ct_READELF
9357 READELF
="$ac_cv_prog_READELF"
9365 CONFIGURE_TARGETS
=""
9368 wine_fn_config_makefile
()
9370 as_fn_append SUBDIRS
" \\$as_nl $1"
9373 no
) as_fn_append DISABLED_SUBDIRS
" $1" ;;
9374 *aarch64
*|
*arm
*|
*i386
*|
*x86_64
*)
9375 if test -n "$PE_ARCHS"
9379 test $
(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append
${i}_DISABLED_SUBDIRS
" $1"
9382 test $
(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS
" $1"
9387 wine_fn_config_symlink
()
9390 as_fn_append wine_rules
"
9392 @./config.status \$@"
9393 for f
in $ac_links; do as_fn_append CONFIGURE_TARGETS
" $f"; done
9399 EXTRACFLAGS
="-D__WINE_PE_BUILD"
9401 *i
[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9402 printf %s
"checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9403 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9405 printf %s
"(cached) " >&6
9407 ac_wine_try_cflags_saved
=$CFLAGS
9408 CFLAGS
="$CFLAGS -Wl,--disable-stdcall-fixup"
9409 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9410 /* end confdefs.h. */
9411 int main(int argc, char **argv) { return 0; }
9413 if ac_fn_c_try_link
"$LINENO"
9415 ac_cv_cflags__Wl___disable_stdcall_fixup
=yes
9417 ac_cv_cflags__Wl___disable_stdcall_fixup
=no
9419 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9420 conftest
$ac_exeext conftest.
$ac_ext
9421 CFLAGS
=$ac_wine_try_cflags_saved
9423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9424 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9425 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9427 LDDLLFLAGS
="-Wl,--disable-stdcall-fixup"
9430 enable_loader
=${enable_loader:-no}
9431 enable_server
=${enable_server:-no}
9432 with_x
=${with_x:-no}
9433 with_pthread
=${with_pthread:-no}
9438 DLLFLAGS
="$DLLFLAGS -fPIC"
9440 enable_winemac_drv
=${enable_winemac_drv:-yes}
9441 CARBON_LIBS
="-framework Carbon"
9443 COREFOUNDATION_LIBS
="-framework CoreFoundation"
9445 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
9447 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
9449 METAL_LIBS
="-framework Metal"
9451 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
9453 CORESERVICES_LIBS
="-framework CoreServices"
9455 APPKIT_LIBS
="-framework AppKit"
9457 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
9459 SYSTEMCONFIGURATION_LIBS
="-framework SystemConfiguration"
9462 WINELOADER_LDFLAGS
="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9464 wine_can_build_preloader
=yes
9465 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"
9466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
9467 printf %s
"checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
9468 if test ${ac_cv_cflags__Wl__no_new_main__e__main+y}
9470 printf %s
"(cached) " >&6
9472 ac_wine_try_cflags_saved
=$CFLAGS
9473 CFLAGS
="$CFLAGS -Wl,-no_new_main -e _main"
9474 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9475 /* end confdefs.h. */
9476 int main(int argc, char **argv) { return 0; }
9478 if ac_fn_c_try_link
"$LINENO"
9480 ac_cv_cflags__Wl__no_new_main__e__main
=yes
9482 ac_cv_cflags__Wl__no_new_main__e__main
=no
9484 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9485 conftest
$ac_exeext conftest.
$ac_ext
9486 CFLAGS
=$ac_wine_try_cflags_saved
9488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
9489 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
9490 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes
9492 WINEPRELOADER_LDFLAGS
="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
9493 { 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
9494 printf %s
"checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9495 if test ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9497 printf %s
"(cached) " >&6
9499 ac_wine_try_cflags_saved
=$CFLAGS
9500 CFLAGS
="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9501 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9502 /* end confdefs.h. */
9503 int main(int argc, char **argv) { return 0; }
9505 if ac_fn_c_try_link
"$LINENO"
9507 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs
=yes
9509 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs
=no
9511 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9512 conftest
$ac_exeext conftest.
$ac_ext
9513 CFLAGS
=$ac_wine_try_cflags_saved
9515 { 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
9516 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9517 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9519 WINEPRELOADER_LDFLAGS
="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9521 wine_can_build_preloader
=no
9524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
9525 printf %s
"checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9526 if test ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9528 printf %s
"(cached) " >&6
9530 ac_wine_try_cflags_saved
=$CFLAGS
9531 CFLAGS
="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9532 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9533 /* end confdefs.h. */
9534 int main(int argc, char **argv) { return 0; }
9536 if ac_fn_c_try_link
"$LINENO"
9538 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs
=yes
9540 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs
=no
9542 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9543 conftest
$ac_exeext conftest.
$ac_ext
9544 CFLAGS
=$ac_wine_try_cflags_saved
9546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
9547 printf "%s\n" "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9548 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9550 WINEPRELOADER_LDFLAGS
="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9552 wine_can_build_preloader
=no
9555 if test "$wine_can_build_preloader" = "yes"
9557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9558 printf %s
"checking whether the compiler supports -Wl,-no_pie... " >&6; }
9559 if test ${ac_cv_cflags__Wl__no_pie+y}
9561 printf %s
"(cached) " >&6
9563 ac_wine_try_cflags_saved
=$CFLAGS
9564 CFLAGS
="$CFLAGS -Wl,-no_pie"
9565 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9566 /* end confdefs.h. */
9567 int main(int argc, char **argv) { return 0; }
9569 if ac_fn_c_try_link
"$LINENO"
9571 ac_cv_cflags__Wl__no_pie
=yes
9573 ac_cv_cflags__Wl__no_pie
=no
9575 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9576 conftest
$ac_exeext conftest.
$ac_ext
9577 CFLAGS
=$ac_wine_try_cflags_saved
9579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9580 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9581 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9583 WINEPRELOADER_LDFLAGS
="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9585 WINELOADER_LDFLAGS
="$WINELOADER_LDFLAGS -mmacosx-version-min=10.7"
9587 as_fn_append wine_warnings
"|can't build Wine preloader; many programs won't work"
9590 if test "x$with_coreaudio" != "xno";
9592 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9594 enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-yes}
9596 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9598 OPENCL_LIBS
="-framework OpenCL"
9600 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
9603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9604 printf %s
"checking whether MTLDevice protocol supports registryID property... " >&6; }
9606 ac_cpp
='$OBJCPP $CPPFLAGS'
9607 ac_compile
='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9608 ac_link
='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9609 ac_compiler_gnu
=$ac_cv_objc_compiler_gnu
9612 ac_cpp
='$OBJCPP $CPPFLAGS'
9613 ac_compile
='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9614 ac_link
='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9615 ac_compiler_gnu
=$ac_cv_objc_compiler_gnu
9616 if test -n "$ac_tool_prefix"; then
9617 for ac_prog
in gcc objcc objc cc CC clang
9619 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9620 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
9621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9622 printf %s
"checking for $ac_word... " >&6; }
9623 if test ${ac_cv_prog_OBJC+y}
9625 printf %s
"(cached) " >&6
9627 if test -n "$OBJC"; then
9628 ac_cv_prog_OBJC
="$OBJC" # Let the user override the test.
9630 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9634 case $as_dir in #(((
9637 *) as_dir
=$as_dir/ ;;
9639 for ac_exec_ext
in '' $ac_executable_extensions; do
9640 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9641 ac_cv_prog_OBJC
="$ac_tool_prefix$ac_prog"
9642 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9651 OBJC
=$ac_cv_prog_OBJC
9652 if test -n "$OBJC"; then
9653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9654 printf "%s\n" "$OBJC" >&6; }
9656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9657 printf "%s\n" "no" >&6; }
9661 test -n "$OBJC" && break
9664 if test -z "$OBJC"; then
9666 for ac_prog
in gcc objcc objc cc CC clang
9668 # Extract the first word of "$ac_prog", so it can be a program name with args.
9669 set dummy
$ac_prog; ac_word
=$2
9670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9671 printf %s
"checking for $ac_word... " >&6; }
9672 if test ${ac_cv_prog_ac_ct_OBJC+y}
9674 printf %s
"(cached) " >&6
9676 if test -n "$ac_ct_OBJC"; then
9677 ac_cv_prog_ac_ct_OBJC
="$ac_ct_OBJC" # Let the user override the test.
9679 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9683 case $as_dir in #(((
9686 *) as_dir
=$as_dir/ ;;
9688 for ac_exec_ext
in '' $ac_executable_extensions; do
9689 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9690 ac_cv_prog_ac_ct_OBJC
="$ac_prog"
9691 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9700 ac_ct_OBJC
=$ac_cv_prog_ac_ct_OBJC
9701 if test -n "$ac_ct_OBJC"; then
9702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9703 printf "%s\n" "$ac_ct_OBJC" >&6; }
9705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9706 printf "%s\n" "no" >&6; }
9710 test -n "$ac_ct_OBJC" && break
9713 if test "x$ac_ct_OBJC" = x
; then
9716 case $cross_compiling:$ac_tool_warned in
9718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9719 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9720 ac_tool_warned
=yes ;;
9726 # Provide some information about the compiler.
9727 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9730 for ac_option
in --version -v -V -qversion; do
9731 { { ac_try
="$ac_compiler $ac_option >&5"
9733 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9734 *) ac_try_echo=$ac_try;;
9736 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9737 printf "%s\n" "$ac_try_echo"; } >&5
9738 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9740 if test -s conftest.err; then
9742 ... rest of stderr output deleted ...
9743 10q' conftest.err >conftest.er1
9744 cat conftest.er1 >&5
9746 rm -f conftest.er1 conftest.err
9747 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9748 test $ac_status = 0; }
9751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9752 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9753 if test ${ac_cv_objc_compiler_gnu+y}
9755 printf %s "(cached) " >&6
9757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9758 /* end confdefs.h. */
9771 if ac_fn_objc_try_compile "$LINENO"
9777 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9778 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9782 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9783 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9785 if test $ac_compiler_gnu = yes; then
9790 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9791 ac_save_OBJCFLAGS=$OBJCFLAGS
9792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9793 printf %s "checking whether $OBJC accepts -g... " >&6; }
9794 if test ${ac_cv_prog_objc_g+y}
9796 printf %s "(cached) " >&6
9798 ac_save_objc_werror_flag=$ac_objc_werror_flag
9799 ac_objc_werror_flag=yes
9800 ac_cv_prog_objc_g=no
9802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9803 /* end confdefs.h. */
9813 if ac_fn_objc_try_compile "$LINENO"
9815 ac_cv_prog_objc_g=yes
9818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9819 /* end confdefs.h. */
9829 if ac_fn_objc_try_compile "$LINENO"
9833 ac_objc_werror_flag=$ac_save_objc_werror_flag
9835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9836 /* end confdefs.h. */
9846 if ac_fn_objc_try_compile "$LINENO"
9848 ac_cv_prog_objc_g=yes
9850 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9852 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9854 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9855 ac_objc_werror_flag=$ac_save_objc_werror_flag
9857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9858 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9859 if test $ac_test_OBJCFLAGS; then
9860 OBJCFLAGS=$ac_save_OBJCFLAGS
9861 elif test $ac_cv_prog_objc_g = yes; then
9862 if test "$GOBJC" = yes; then
9868 if test "$GOBJC" = yes; then
9875 ac_cpp='$OBJCPP $CPPFLAGS'
9876 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9877 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9878 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9882 /* end confdefs.h. */
9883 #include <Metal/Metal.h>
9887 id<MTLDevice> device; device.registryID;
9892 if ac_fn_objc_try_compile "$LINENO"
9894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9895 printf "%s\n" "yes" >&6; }
9897 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9901 printf "%s\n" "no" >&6; }
9903 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9905 ac_cpp='$CPP $CPPFLAGS'
9906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9911 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
9912 WINELOADER_DEPENDS="wine_info.plist"
9918 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
9920 DLLFLAGS="$DLLFLAGS -fPIC"
9922 LDEXECFLAGS="-Wl,-pie"
9923 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9925 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9926 if test ${ac_cv_cflags__Wl__z_defs+y}
9928 printf %s "(cached) " >&6
9930 ac_wine_try_cflags_saved=$CFLAGS
9931 CFLAGS="$CFLAGS -Wl,-z,defs"
9932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9933 /* end confdefs.h. */
9934 int main(int argc, char **argv) { return 0; }
9936 if ac_fn_c_try_link "$LINENO"
9938 ac_cv_cflags__Wl__z_defs=yes
9940 ac_cv_cflags__Wl__z_defs=no
9942 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9943 conftest$ac_exeext conftest.$ac_ext
9944 CFLAGS=$ac_wine_try_cflags_saved
9946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9947 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
9948 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
9950 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9953 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9954 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
9956 printf %s "(cached) " >&6
9958 ac_wine_try_cflags_saved=$CFLAGS
9959 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9961 /* end confdefs.h. */
9962 int main(int argc, char **argv) { return 0; }
9964 if ac_fn_c_try_link "$LINENO"
9966 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9968 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9970 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9971 conftest$ac_exeext conftest.$ac_ext
9972 CFLAGS=$ac_wine_try_cflags_saved
9974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9975 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9976 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
9978 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9980 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9983 printf %s "checking for -lEGL... " >&6; }
9984 if test ${ac_cv_lib_soname_EGL+y}
9986 printf %s "(cached) " >&6
9988 ac_check_soname_save_LIBS=$LIBS
9990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9991 /* end confdefs.h. */
9993 /* Override any GCC internal prototype to avoid an error.
9994 Use char because int might match the return type of a GCC
9995 builtin and then its argument prototype would still apply. */
9996 char eglGetProcAddress ();
10000 return eglGetProcAddress ();
10005 if ac_fn_c_try_link "$LINENO"
10008 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe |
grep "EGL" |
sed -e "s/dll.*/dll/"';2,$d'` ;;
10009 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'` ;;
10010 *) ac_cv_lib_soname_EGL=`$READELF -d conftest
$ac_exeext |
grep "NEEDED.*libEGL\\.$LIBEXT" |
sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10011 if ${ac_cv_lib_soname_EGL:+false} :
10013 ac_cv_lib_soname_EGL=`$LDD conftest
$ac_exeext |
grep "libEGL\\.$LIBEXT" |
sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10017 ac_cv_lib_soname_EGL=
10019 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10020 conftest$ac_exeext conftest.$ac_ext
10021 LIBS=$ac_check_soname_save_LIBS
10023 if ${ac_cv_lib_soname_EGL:+false} :
10025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10026 printf "%s\n" "not found" >&6; }
10029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10030 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10032 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10037 printf %s "checking for -lGLESv2... " >&6; }
10038 if test ${ac_cv_lib_soname_GLESv2+y}
10040 printf %s "(cached) " >&6
10042 ac_check_soname_save_LIBS=$LIBS
10043 LIBS="-lGLESv2 $LIBS"
10044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10045 /* end confdefs.h. */
10047 /* Override any GCC internal prototype to avoid an error.
10048 Use char because int might match the return type of a GCC
10049 builtin and then its argument prototype would still apply. */
10059 if ac_fn_c_try_link "$LINENO"
10062 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe |
grep "GLESv2" |
sed -e "s/dll.*/dll/"';2,$d'` ;;
10063 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'` ;;
10064 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest
$ac_exeext |
grep "NEEDED.*libGLESv2\\.$LIBEXT" |
sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10065 if ${ac_cv_lib_soname_GLESv2:+false} :
10067 ac_cv_lib_soname_GLESv2=`$LDD conftest
$ac_exeext |
grep "libGLESv2\\.$LIBEXT" |
sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10071 ac_cv_lib_soname_GLESv2=
10073 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10074 conftest$ac_exeext conftest.$ac_ext
10075 LIBS=$ac_check_soname_save_LIBS
10077 if ${ac_cv_lib_soname_GLESv2:+false} :
10079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10080 printf "%s\n" "not found" >&6; }
10083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10084 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10086 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10091 if test "x$exec_prefix" = xNONE
10094 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10095 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10096 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10097 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10104 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10106 test "$ac_cv_sys_file_offset_bits" = 64 &&
10107 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10111 DLLFLAGS="$DLLFLAGS -fno-PIC"
10112 LDDLLFLAGS="-fno-PIC"
10113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10114 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10115 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10117 printf %s "(cached) " >&6
10119 ac_wine_try_cflags_saved=$CFLAGS
10120 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10122 /* end confdefs.h. */
10123 int main(int argc, char **argv) { return 0; }
10125 if ac_fn_c_try_link "$LINENO"
10127 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10129 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10131 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10132 conftest$ac_exeext conftest.$ac_ext
10133 CFLAGS=$ac_wine_try_cflags_saved
10135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10136 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10137 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10139 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10143 DLLFLAGS="$DLLFLAGS -fPIC"
10144 LDDLLFLAGS="-fPIC" ;;
10147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10148 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10149 if test ${ac_cv_cflags__Wl__z_defs+y}
10151 printf %s "(cached) " >&6
10153 ac_wine_try_cflags_saved=$CFLAGS
10154 CFLAGS="$CFLAGS -Wl,-z,defs"
10155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10156 /* end confdefs.h. */
10157 int main(int argc, char **argv) { return 0; }
10159 if ac_fn_c_try_link "$LINENO"
10161 ac_cv_cflags__Wl__z_defs=yes
10163 ac_cv_cflags__Wl__z_defs=no
10165 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10166 conftest$ac_exeext conftest.$ac_ext
10167 CFLAGS=$ac_wine_try_cflags_saved
10169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10170 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10171 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10173 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10176 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10177 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10179 printf %s "(cached) " >&6
10181 ac_wine_try_cflags_saved=$CFLAGS
10182 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10184 /* end confdefs.h. */
10185 int main(int argc, char **argv) { return 0; }
10187 if ac_fn_c_try_link "$LINENO"
10189 ac_cv_cflags__Wl___export_dynamic=yes
10191 ac_cv_cflags__Wl___export_dynamic=no
10193 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10194 conftest$ac_exeext conftest.$ac_ext
10195 CFLAGS=$ac_wine_try_cflags_saved
10197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10198 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10199 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10201 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10203 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10206 *i[3456789]86* | x86_64 | *aarch64* | arm*)
10207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
10208 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
10209 if test ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+y}
10211 printf %s "(cached) " >&6
10213 ac_wine_try_cflags_saved=$CFLAGS
10214 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
10215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10216 /* end confdefs.h. */
10217 int main(int argc, char **argv) { return 0; }
10219 if ac_fn_c_try_link "$LINENO"
10221 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
10223 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
10225 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10226 conftest$ac_exeext conftest.$ac_ext
10227 CFLAGS=$ac_wine_try_cflags_saved
10229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
10230 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
10231 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
10234 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
10235 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
10238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
10239 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
10240 if test ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+y}
10242 printf %s "(cached) " >&6
10244 ac_wine_try_cflags_saved=$CFLAGS
10245 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
10246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10247 /* end confdefs.h. */
10248 int main(int argc, char **argv) { return 0; }
10250 if ac_fn_c_try_link "$LINENO"
10252 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
10254 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
10256 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10257 conftest$ac_exeext conftest.$ac_ext
10258 CFLAGS=$ac_wine_try_cflags_saved
10260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
10261 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
10262 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes
10265 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
10266 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
10269 # Extract the first word of "prelink", so it can be a program name with args.
10270 set dummy prelink; ac_word=$2
10271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10272 printf %s "checking for $ac_word... " >&6; }
10273 if test ${ac_cv_path_PRELINK+y}
10275 printf %s "(cached) " >&6
10279 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
10282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10283 for as_dir in /sbin /usr/sbin $PATH
10286 case $as_dir in #(((
10289 *) as_dir=$as_dir/ ;;
10291 for ac_exec_ext in '' $ac_executable_extensions; do
10292 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10293 ac_cv_path_PRELINK="$as_dir$ac_word$ac_exec_ext"
10294 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10301 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
10305 PRELINK=$ac_cv_path_PRELINK
10306 if test -n "$PRELINK"; then
10307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
10308 printf "%s\n" "$PRELINK" >&6; }
10310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10311 printf "%s\n" "no" >&6; }
10315 if test "x$PRELINK" = xfalse
10317 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
10320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
10321 printf %s "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
10322 if test ${ac_cv_cflags__Wl__z_max_page_size_0x1000+y}
10324 printf %s "(cached) " >&6
10326 ac_wine_try_cflags_saved=$CFLAGS
10327 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
10328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10329 /* end confdefs.h. */
10330 int main(int argc, char **argv) { return 0; }
10332 if ac_fn_c_try_link "$LINENO"
10334 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
10336 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
10338 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10339 conftest$ac_exeext conftest.$ac_ext
10340 CFLAGS=$ac_wine_try_cflags_saved
10342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
10343 printf "%s\n" "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
10344 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
10346 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
10353 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10354 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10355 enable_winemac_drv=${enable_winemac_drv:-no}
10360 if test ${enable_archs+y}
10362 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10365 set x $enable_archs
10371 i386|x86_64|arm|aarch64) cross_archs="$cross_archs $arch" ;;
10372 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10376 if test "x$with_mingw" != xno
10378 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10379 case "x$with_mingw" in
10381 *) eval "${cross_archs}_CC=\$with_mingw" ;;
10386 for wine_arch in $cross_archs
10388 if eval \${${wine_arch}_CC:+false} :
10392 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10394 # Extract the first word of "$ac_prog", so it can be a program name with args.
10395 set dummy $ac_prog; ac_word=$2
10396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10397 printf %s "checking for $ac_word... " >&6; }
10398 if test ${ac_cv_prog_aarch64_CC+y}
10400 printf %s "(cached) " >&6
10402 if test -n "$aarch64_CC"; then
10403 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10406 for as_dir in $PATH
10409 case $as_dir in #(((
10412 *) as_dir=$as_dir/ ;;
10414 for ac_exec_ext in '' $ac_executable_extensions; do
10415 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10416 ac_cv_prog_aarch64_CC="$ac_prog"
10417 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10426 aarch64_CC=$ac_cv_prog_aarch64_CC
10427 if test -n "$aarch64_CC"; then
10428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10429 printf "%s\n" "$aarch64_CC" >&6; }
10431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10432 printf "%s\n" "no" >&6; }
10436 test -n "$aarch64_CC" && break
10438 test -n "$aarch64_CC" || aarch64_CC="false"
10442 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10444 # Extract the first word of "$ac_prog", so it can be a program name with args.
10445 set dummy $ac_prog; ac_word=$2
10446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10447 printf %s "checking for $ac_word... " >&6; }
10448 if test ${ac_cv_prog_arm_CC+y}
10450 printf %s "(cached) " >&6
10452 if test -n "$arm_CC"; then
10453 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10456 for as_dir in $PATH
10459 case $as_dir in #(((
10462 *) as_dir=$as_dir/ ;;
10464 for ac_exec_ext in '' $ac_executable_extensions; do
10465 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10466 ac_cv_prog_arm_CC="$ac_prog"
10467 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10476 arm_CC=$ac_cv_prog_arm_CC
10477 if test -n "$arm_CC"; then
10478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10479 printf "%s\n" "$arm_CC" >&6; }
10481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10482 printf "%s\n" "no" >&6; }
10486 test -n "$arm_CC" && break
10488 test -n "$arm_CC" || arm_CC="false"
10492 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 "
10493 for ac_prog in $ac_prefix_list clang
10495 # Extract the first word of "$ac_prog", so it can be a program name with args.
10496 set dummy $ac_prog; ac_word=$2
10497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10498 printf %s "checking for $ac_word... " >&6; }
10499 if test ${ac_cv_prog_i386_CC+y}
10501 printf %s "(cached) " >&6
10503 if test -n "$i386_CC"; then
10504 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10507 for as_dir in $PATH
10510 case $as_dir in #(((
10513 *) as_dir=$as_dir/ ;;
10515 for ac_exec_ext in '' $ac_executable_extensions; do
10516 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10517 ac_cv_prog_i386_CC="$ac_prog"
10518 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10527 i386_CC=$ac_cv_prog_i386_CC
10528 if test -n "$i386_CC"; then
10529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10530 printf "%s\n" "$i386_CC" >&6; }
10532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10533 printf "%s\n" "no" >&6; }
10537 test -n "$i386_CC" && break
10539 test -n "$i386_CC" || i386_CC="false"
10543 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10544 for ac_prog in $ac_prefix_list clang
10546 # Extract the first word of "$ac_prog", so it can be a program name with args.
10547 set dummy $ac_prog; ac_word=$2
10548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10549 printf %s "checking for $ac_word... " >&6; }
10550 if test ${ac_cv_prog_x86_64_CC+y}
10552 printf %s "(cached) " >&6
10554 if test -n "$x86_64_CC"; then
10555 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10558 for as_dir in $PATH
10561 case $as_dir in #(((
10564 *) as_dir=$as_dir/ ;;
10566 for ac_exec_ext in '' $ac_executable_extensions; do
10567 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10568 ac_cv_prog_x86_64_CC="$ac_prog"
10569 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10578 x86_64_CC=$ac_cv_prog_x86_64_CC
10579 if test -n "$x86_64_CC"; then
10580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10581 printf "%s\n" "$x86_64_CC" >&6; }
10583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10584 printf "%s\n" "no" >&6; }
10588 test -n "$x86_64_CC" && break
10590 test -n "$x86_64_CC" || x86_64_CC="false"
10596 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10602 saved_CFLAGS=$CFLAGS
10604 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10605 eval CC=\$${wine_arch}_CC
10606 eval ${wine_arch}_CFLAGS=\$CFLAGS
10607 eval ${wine_arch}_LDFLAGS=\$CROSSLDFLAGS
10608 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10611 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" |
$as_tr_sh`
10613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10614 printf %s "checking whether $CC works... " >&6; }
10615 if eval test \${$as_wine_cv_crosscc+y}
10617 printf %s "(cached) " >&6
10619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10620 /* end confdefs.h. */
10630 if ac_fn_c_try_compile "$LINENO"
10632 eval "$as_wine_cv_crosscc=yes"
10634 eval "$as_wine_cv_crosscc=no"
10636 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10638 eval ac_res=\$$as_wine_cv_crosscc
10639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10640 printf "%s\n" "$ac_res" >&6; }
10641 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10645 while test $# -ge 1
10648 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10649 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10654 llvm_target=$target
10655 if test -z "$llvm_target"
10658 i386) llvm_target=i686-windows ;;
10659 arm) llvm_target=armv7-windows ;;
10660 *) llvm_target=$wine_arch-windows ;;
10663 llvm_extra_cflags="-target $llvm_target -fuse-ld=lld"
10664 case $llvm_target in
10665 *windows) llvm_cflags="-Wl,-subsystem:console -Wl,-WX" ;;
10667 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags" |
$as_tr_sh`
10668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags" >&5
10669 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags... " >&6; }
10670 if eval test \${$as_ac_var+y}
10672 printf %s "(cached) " >&6
10674 ac_wine_try_cflags_saved=$CFLAGS
10675 ac_wine_try_cflags_saved_exeext=$ac_exeext
10676 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags"
10678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10679 /* end confdefs.h. */
10680 int __cdecl mainCRTStartup(void) { return 0; }
10682 if ac_fn_c_try_link "$LINENO"
10684 eval "$as_ac_var=yes"
10686 eval "$as_ac_var=no"
10688 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10689 conftest$ac_exeext conftest.$ac_ext
10690 CFLAGS=$ac_wine_try_cflags_saved
10691 ac_exeext=$ac_wine_try_cflags_saved_exeext
10693 eval ac_res=\$$as_ac_var
10694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10695 printf "%s\n" "$ac_res" >&6; }
10696 if eval test \"x\$"$as_ac_var"\" = x"yes"
10698 target=$llvm_target
10699 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10700 as_fn_append ${wine_arch}_EXTRACFLAGS " $llvm_extra_cflags"
10701 CFLAGS="$llvm_extra_cflags $llvm_cflags"
10703 eval "${wine_arch}_TARGET=\$target"
10707 if test -z "$target"
10710 CFLAGS=$saved_CFLAGS
10713 as_fn_append PE_ARCHS " $wine_arch"
10715 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" |
$as_tr_sh`
10717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10718 printf %s "checking for $CC option to enable C99 features... " >&6; }
10719 if eval test \${$as_wine_cv_crosscc_c99+y}
10721 printf %s "(cached) " >&6
10723 eval "$as_wine_cv_crosscc_c99=no"
10724 for arg in '' '-std=gnu99'
10726 test -z "$arg" || CC="$CC $arg"
10727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10728 /* end confdefs.h. */
10729 $ac_c_conftest_c99_program
10731 if ac_fn_c_try_compile "$LINENO"
10733 eval "$as_wine_cv_crosscc_c99=\$arg"
10735 eval "$as_wine_cv_crosscc_c99=no"
10737 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10738 eval CC=\$${wine_arch}_CC
10739 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10748 eval res=\$$as_wine_cv_crosscc_c99
10750 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10751 printf "%s\n" "none needed" >&6; } ;;
10752 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10753 printf "%s\n" "unsupported" >&6; } ;;
10754 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10755 printf "%s\n" "$res" >&6; }
10756 as_fn_append ${wine_arch}_CC " $res" ;;
10760 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" |
$as_tr_sh`
10761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10762 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10763 if eval test \${$as_ac_var+y}
10765 printf %s "(cached) " >&6
10767 ac_wine_try_cflags_saved=$CFLAGS
10768 ac_wine_try_cflags_saved_exeext=$ac_exeext
10769 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-strict-aliasing"
10771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10772 /* end confdefs.h. */
10773 int __cdecl mainCRTStartup(void) { return 0; }
10775 if ac_fn_c_try_link "$LINENO"
10777 eval "$as_ac_var=yes"
10779 eval "$as_ac_var=no"
10781 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10782 conftest$ac_exeext conftest.$ac_ext
10783 CFLAGS=$ac_wine_try_cflags_saved
10784 ac_exeext=$ac_wine_try_cflags_saved_exeext
10786 eval ac_res=\$$as_ac_var
10787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10788 printf "%s\n" "$ac_res" >&6; }
10789 if eval test \"x\$"$as_ac_var"\" = x"yes"
10791 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10793 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" |
$as_tr_sh`
10794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10795 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10796 if eval test \${$as_ac_var+y}
10798 printf %s "(cached) " >&6
10800 ac_wine_try_cflags_saved=$CFLAGS
10801 ac_wine_try_cflags_saved_exeext=$ac_exeext
10802 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=unknown-warning-option"
10804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10805 /* end confdefs.h. */
10806 int __cdecl mainCRTStartup(void) { return 0; }
10808 if ac_fn_c_try_link "$LINENO"
10810 eval "$as_ac_var=yes"
10812 eval "$as_ac_var=no"
10814 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10815 conftest$ac_exeext conftest.$ac_ext
10816 CFLAGS=$ac_wine_try_cflags_saved
10817 ac_exeext=$ac_wine_try_cflags_saved_exeext
10819 eval ac_res=\$$as_ac_var
10820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10821 printf "%s\n" "$ac_res" >&6; }
10822 if eval test \"x\$"$as_ac_var"\" = x"yes"
10824 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10826 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" |
$as_tr_sh`
10827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
10828 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
10829 if eval test \${$as_ac_var+y}
10831 printf %s "(cached) " >&6
10833 ac_wine_try_cflags_saved=$CFLAGS
10834 ac_wine_try_cflags_saved_exeext=$ac_exeext
10835 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=ignored-optimization-argument"
10837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10838 /* end confdefs.h. */
10839 int __cdecl mainCRTStartup(void) { return 0; }
10841 if ac_fn_c_try_link "$LINENO"
10843 eval "$as_ac_var=yes"
10845 eval "$as_ac_var=no"
10847 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10848 conftest$ac_exeext conftest.$ac_ext
10849 CFLAGS=$ac_wine_try_cflags_saved
10850 ac_exeext=$ac_wine_try_cflags_saved_exeext
10852 eval ac_res=\$$as_ac_var
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_ac_var"\" = x"yes"
10857 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10859 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" |
$as_tr_sh`
10860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
10861 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
10862 if eval test \${$as_ac_var+y}
10864 printf %s "(cached) " >&6
10866 ac_wine_try_cflags_saved=$CFLAGS
10867 ac_wine_try_cflags_saved_exeext=$ac_exeext
10868 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wdeclaration-after-statement"
10870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10871 /* end confdefs.h. */
10872 int __cdecl mainCRTStartup(void) { return 0; }
10874 if ac_fn_c_try_link "$LINENO"
10876 eval "$as_ac_var=yes"
10878 eval "$as_ac_var=no"
10880 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10881 conftest$ac_exeext conftest.$ac_ext
10882 CFLAGS=$ac_wine_try_cflags_saved
10883 ac_exeext=$ac_wine_try_cflags_saved_exeext
10885 eval ac_res=\$$as_ac_var
10886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10887 printf "%s\n" "$ac_res" >&6; }
10888 if eval test \"x\$"$as_ac_var"\" = x"yes"
10890 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
10892 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" |
$as_tr_sh`
10893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
10894 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
10895 if eval test \${$as_ac_var+y}
10897 printf %s "(cached) " >&6
10899 ac_wine_try_cflags_saved=$CFLAGS
10900 ac_wine_try_cflags_saved_exeext=$ac_exeext
10901 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wempty-body"
10903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10904 /* end confdefs.h. */
10905 int __cdecl mainCRTStartup(void) { return 0; }
10907 if ac_fn_c_try_link "$LINENO"
10909 eval "$as_ac_var=yes"
10911 eval "$as_ac_var=no"
10913 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10914 conftest$ac_exeext conftest.$ac_ext
10915 CFLAGS=$ac_wine_try_cflags_saved
10916 ac_exeext=$ac_wine_try_cflags_saved_exeext
10918 eval ac_res=\$$as_ac_var
10919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10920 printf "%s\n" "$ac_res" >&6; }
10921 if eval test \"x\$"$as_ac_var"\" = x"yes"
10923 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
10925 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" |
$as_tr_sh`
10926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
10927 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
10928 if eval test \${$as_ac_var+y}
10930 printf %s "(cached) " >&6
10932 ac_wine_try_cflags_saved=$CFLAGS
10933 ac_wine_try_cflags_saved_exeext=$ac_exeext
10934 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wignored-qualifiers"
10936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10937 /* end confdefs.h. */
10938 int __cdecl mainCRTStartup(void) { return 0; }
10940 if ac_fn_c_try_link "$LINENO"
10942 eval "$as_ac_var=yes"
10944 eval "$as_ac_var=no"
10946 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10947 conftest$ac_exeext conftest.$ac_ext
10948 CFLAGS=$ac_wine_try_cflags_saved
10949 ac_exeext=$ac_wine_try_cflags_saved_exeext
10951 eval ac_res=\$$as_ac_var
10952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10953 printf "%s\n" "$ac_res" >&6; }
10954 if eval test \"x\$"$as_ac_var"\" = x"yes"
10956 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
10958 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" |
$as_tr_sh`
10959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
10960 printf %s "checking whether $CC supports -Winit-self... " >&6; }
10961 if eval test \${$as_ac_var+y}
10963 printf %s "(cached) " >&6
10965 ac_wine_try_cflags_saved=$CFLAGS
10966 ac_wine_try_cflags_saved_exeext=$ac_exeext
10967 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Winit-self"
10969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10970 /* end confdefs.h. */
10971 int __cdecl mainCRTStartup(void) { return 0; }
10973 if ac_fn_c_try_link "$LINENO"
10975 eval "$as_ac_var=yes"
10977 eval "$as_ac_var=no"
10979 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10980 conftest$ac_exeext conftest.$ac_ext
10981 CFLAGS=$ac_wine_try_cflags_saved
10982 ac_exeext=$ac_wine_try_cflags_saved_exeext
10984 eval ac_res=\$$as_ac_var
10985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10986 printf "%s\n" "$ac_res" >&6; }
10987 if eval test \"x\$"$as_ac_var"\" = x"yes"
10989 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
10991 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" |
$as_tr_sh`
10992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
10993 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
10994 if eval test \${$as_ac_var+y}
10996 printf %s "(cached) " >&6
10998 ac_wine_try_cflags_saved=$CFLAGS
10999 ac_wine_try_cflags_saved_exeext=$ac_exeext
11000 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpacked-not-aligned"
11002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11003 /* end confdefs.h. */
11004 int __cdecl mainCRTStartup(void) { return 0; }
11006 if ac_fn_c_try_link "$LINENO"
11008 eval "$as_ac_var=yes"
11010 eval "$as_ac_var=no"
11012 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11013 conftest$ac_exeext conftest.$ac_ext
11014 CFLAGS=$ac_wine_try_cflags_saved
11015 ac_exeext=$ac_wine_try_cflags_saved_exeext
11017 eval ac_res=\$$as_ac_var
11018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11019 printf "%s\n" "$ac_res" >&6; }
11020 if eval test \"x\$"$as_ac_var"\" = x"yes"
11022 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
11024 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" |
$as_tr_sh`
11025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
11026 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
11027 if eval test \${$as_ac_var+y}
11029 printf %s "(cached) " >&6
11031 ac_wine_try_cflags_saved=$CFLAGS
11032 ac_wine_try_cflags_saved_exeext=$ac_exeext
11033 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpragma-pack"
11035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11036 /* end confdefs.h. */
11037 int __cdecl mainCRTStartup(void) { return 0; }
11039 if ac_fn_c_try_link "$LINENO"
11041 eval "$as_ac_var=yes"
11043 eval "$as_ac_var=no"
11045 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11046 conftest$ac_exeext conftest.$ac_ext
11047 CFLAGS=$ac_wine_try_cflags_saved
11048 ac_exeext=$ac_wine_try_cflags_saved_exeext
11050 eval ac_res=\$$as_ac_var
11051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11052 printf "%s\n" "$ac_res" >&6; }
11053 if eval test \"x\$"$as_ac_var"\" = x"yes"
11055 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
11057 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" |
$as_tr_sh`
11058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
11059 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
11060 if eval test \${$as_ac_var+y}
11062 printf %s "(cached) " >&6
11064 ac_wine_try_cflags_saved=$CFLAGS
11065 ac_wine_try_cflags_saved_exeext=$ac_exeext
11066 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wshift-overflow=2"
11068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11069 /* end confdefs.h. */
11070 int __cdecl mainCRTStartup(void) { return 0; }
11072 if ac_fn_c_try_link "$LINENO"
11074 eval "$as_ac_var=yes"
11076 eval "$as_ac_var=no"
11078 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11079 conftest$ac_exeext conftest.$ac_ext
11080 CFLAGS=$ac_wine_try_cflags_saved
11081 ac_exeext=$ac_wine_try_cflags_saved_exeext
11083 eval ac_res=\$$as_ac_var
11084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11085 printf "%s\n" "$ac_res" >&6; }
11086 if eval test \"x\$"$as_ac_var"\" = x"yes"
11088 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11090 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" |
$as_tr_sh`
11091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11092 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11093 if eval test \${$as_ac_var+y}
11095 printf %s "(cached) " >&6
11097 ac_wine_try_cflags_saved=$CFLAGS
11098 ac_wine_try_cflags_saved_exeext=$ac_exeext
11099 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wstrict-prototypes"
11101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11102 /* end confdefs.h. */
11103 int __cdecl mainCRTStartup(void) { return 0; }
11105 if ac_fn_c_try_link "$LINENO"
11107 eval "$as_ac_var=yes"
11109 eval "$as_ac_var=no"
11111 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11112 conftest$ac_exeext conftest.$ac_ext
11113 CFLAGS=$ac_wine_try_cflags_saved
11114 ac_exeext=$ac_wine_try_cflags_saved_exeext
11116 eval ac_res=\$$as_ac_var
11117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11118 printf "%s\n" "$ac_res" >&6; }
11119 if eval test \"x\$"$as_ac_var"\" = x"yes"
11121 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11123 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" |
$as_tr_sh`
11124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11125 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11126 if eval test \${$as_ac_var+y}
11128 printf %s "(cached) " >&6
11130 ac_wine_try_cflags_saved=$CFLAGS
11131 ac_wine_try_cflags_saved_exeext=$ac_exeext
11132 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wtype-limits"
11134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11135 /* end confdefs.h. */
11136 int __cdecl mainCRTStartup(void) { return 0; }
11138 if ac_fn_c_try_link "$LINENO"
11140 eval "$as_ac_var=yes"
11142 eval "$as_ac_var=no"
11144 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11145 conftest$ac_exeext conftest.$ac_ext
11146 CFLAGS=$ac_wine_try_cflags_saved
11147 ac_exeext=$ac_wine_try_cflags_saved_exeext
11149 eval ac_res=\$$as_ac_var
11150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11151 printf "%s\n" "$ac_res" >&6; }
11152 if eval test \"x\$"$as_ac_var"\" = x"yes"
11154 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11156 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" |
$as_tr_sh`
11157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11158 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11159 if eval test \${$as_ac_var+y}
11161 printf %s "(cached) " >&6
11163 ac_wine_try_cflags_saved=$CFLAGS
11164 ac_wine_try_cflags_saved_exeext=$ac_exeext
11165 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wunused-but-set-parameter"
11167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11168 /* end confdefs.h. */
11169 int __cdecl mainCRTStartup(void) { return 0; }
11171 if ac_fn_c_try_link "$LINENO"
11173 eval "$as_ac_var=yes"
11175 eval "$as_ac_var=no"
11177 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11178 conftest$ac_exeext conftest.$ac_ext
11179 CFLAGS=$ac_wine_try_cflags_saved
11180 ac_exeext=$ac_wine_try_cflags_saved_exeext
11182 eval ac_res=\$$as_ac_var
11183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11184 printf "%s\n" "$ac_res" >&6; }
11185 if eval test \"x\$"$as_ac_var"\" = x"yes"
11187 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11189 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" |
$as_tr_sh`
11190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11191 printf %s "checking whether $CC supports -Wvla... " >&6; }
11192 if eval test \${$as_ac_var+y}
11194 printf %s "(cached) " >&6
11196 ac_wine_try_cflags_saved=$CFLAGS
11197 ac_wine_try_cflags_saved_exeext=$ac_exeext
11198 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wvla"
11200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11201 /* end confdefs.h. */
11202 int __cdecl mainCRTStartup(void) { return 0; }
11204 if ac_fn_c_try_link "$LINENO"
11206 eval "$as_ac_var=yes"
11208 eval "$as_ac_var=no"
11210 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11211 conftest$ac_exeext conftest.$ac_ext
11212 CFLAGS=$ac_wine_try_cflags_saved
11213 ac_exeext=$ac_wine_try_cflags_saved_exeext
11215 eval ac_res=\$$as_ac_var
11216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11217 printf "%s\n" "$ac_res" >&6; }
11218 if eval test \"x\$"$as_ac_var"\" = x"yes"
11220 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11222 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" |
$as_tr_sh`
11223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11224 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11225 if eval test \${$as_ac_var+y}
11227 printf %s "(cached) " >&6
11229 ac_wine_try_cflags_saved=$CFLAGS
11230 ac_wine_try_cflags_saved_exeext=$ac_exeext
11231 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wwrite-strings"
11233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11234 /* end confdefs.h. */
11235 int __cdecl mainCRTStartup(void) { return 0; }
11237 if ac_fn_c_try_link "$LINENO"
11239 eval "$as_ac_var=yes"
11241 eval "$as_ac_var=no"
11243 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11244 conftest$ac_exeext conftest.$ac_ext
11245 CFLAGS=$ac_wine_try_cflags_saved
11246 ac_exeext=$ac_wine_try_cflags_saved_exeext
11248 eval ac_res=\$$as_ac_var
11249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11250 printf "%s\n" "$ac_res" >&6; }
11251 if eval test \"x\$"$as_ac_var"\" = x"yes"
11253 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11255 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" |
$as_tr_sh`
11256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11257 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11258 if eval test \${$as_ac_var+y}
11260 printf %s "(cached) " >&6
11262 ac_wine_try_cflags_saved=$CFLAGS
11263 ac_wine_try_cflags_saved_exeext=$ac_exeext
11264 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpointer-arith"
11266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11267 /* end confdefs.h. */
11268 int __cdecl mainCRTStartup(void) { return 0; }
11270 if ac_fn_c_try_link "$LINENO"
11272 eval "$as_ac_var=yes"
11274 eval "$as_ac_var=no"
11276 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11277 conftest$ac_exeext conftest.$ac_ext
11278 CFLAGS=$ac_wine_try_cflags_saved
11279 ac_exeext=$ac_wine_try_cflags_saved_exeext
11281 eval ac_res=\$$as_ac_var
11282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11283 printf "%s\n" "$ac_res" >&6; }
11284 if eval test \"x\$"$as_ac_var"\" = x"yes"
11286 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11288 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" |
$as_tr_sh`
11289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11290 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11291 if eval test \${$as_ac_var+y}
11293 printf %s "(cached) " >&6
11295 ac_wine_try_cflags_saved=$CFLAGS
11296 ac_wine_try_cflags_saved_exeext=$ac_exeext
11297 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wlogical-op"
11299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11300 /* end confdefs.h. */
11301 int __cdecl mainCRTStartup(void) { return 0; }
11303 if ac_fn_c_try_link "$LINENO"
11305 eval "$as_ac_var=yes"
11307 eval "$as_ac_var=no"
11309 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11310 conftest$ac_exeext conftest.$ac_ext
11311 CFLAGS=$ac_wine_try_cflags_saved
11312 ac_exeext=$ac_wine_try_cflags_saved_exeext
11314 eval ac_res=\$$as_ac_var
11315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11316 printf "%s\n" "$ac_res" >&6; }
11317 if eval test \"x\$"$as_ac_var"\" = x"yes"
11319 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11321 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" |
$as_tr_sh`
11322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11323 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11324 if eval test \${$as_ac_var+y}
11326 printf %s "(cached) " >&6
11328 ac_wine_try_cflags_saved=$CFLAGS
11329 ac_wine_try_cflags_saved_exeext=$ac_exeext
11330 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wabsolute-value"
11332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11333 /* end confdefs.h. */
11334 int __cdecl mainCRTStartup(void) { return 0; }
11336 if ac_fn_c_try_link "$LINENO"
11338 eval "$as_ac_var=yes"
11340 eval "$as_ac_var=no"
11342 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11343 conftest$ac_exeext conftest.$ac_ext
11344 CFLAGS=$ac_wine_try_cflags_saved
11345 ac_exeext=$ac_wine_try_cflags_saved_exeext
11347 eval ac_res=\$$as_ac_var
11348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11349 printf "%s\n" "$ac_res" >&6; }
11350 if eval test \"x\$"$as_ac_var"\" = x"yes"
11352 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11356 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" |
$as_tr_sh`
11357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11358 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11359 if eval test \${$as_ac_var+y}
11361 printf %s "(cached) " >&6
11363 ac_wine_try_cflags_saved=$CFLAGS
11364 ac_wine_try_cflags_saved_exeext=$ac_exeext
11365 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-omit-frame-pointer"
11367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11368 /* end confdefs.h. */
11369 int __cdecl mainCRTStartup(void) { return 0; }
11371 if ac_fn_c_try_link "$LINENO"
11373 eval "$as_ac_var=yes"
11375 eval "$as_ac_var=no"
11377 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11378 conftest$ac_exeext conftest.$ac_ext
11379 CFLAGS=$ac_wine_try_cflags_saved
11380 ac_exeext=$ac_wine_try_cflags_saved_exeext
11382 eval ac_res=\$$as_ac_var
11383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11384 printf "%s\n" "$ac_res" >&6; }
11385 if eval test \"x\$"$as_ac_var"\" = x"yes"
11387 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11389 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" |
$as_tr_sh`
11390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11391 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11392 if eval test \${$as_ac_var+y}
11394 printf %s "(cached) " >&6
11396 ac_wine_try_cflags_saved=$CFLAGS
11397 ac_wine_try_cflags_saved_exeext=$ac_exeext
11398 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--disable-stdcall-fixup"
11400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11401 /* end confdefs.h. */
11402 int __cdecl mainCRTStartup(void) { return 0; }
11404 if ac_fn_c_try_link "$LINENO"
11406 eval "$as_ac_var=yes"
11408 eval "$as_ac_var=no"
11410 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11411 conftest$ac_exeext conftest.$ac_ext
11412 CFLAGS=$ac_wine_try_cflags_saved
11413 ac_exeext=$ac_wine_try_cflags_saved_exeext
11415 eval ac_res=\$$as_ac_var
11416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11417 printf "%s\n" "$ac_res" >&6; }
11418 if eval test \"x\$"$as_ac_var"\" = x"yes"
11420 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11422 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" |
$as_tr_sh`
11423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11424 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11425 if eval test \${$as_ac_var+y}
11427 printf %s "(cached) " >&6
11429 ac_wine_try_cflags_saved=$CFLAGS
11430 ac_wine_try_cflags_saved_exeext=$ac_exeext
11431 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wformat-overflow"
11433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11434 /* end confdefs.h. */
11435 int __cdecl mainCRTStartup(void) { return 0; }
11437 if ac_fn_c_try_link "$LINENO"
11439 eval "$as_ac_var=yes"
11441 eval "$as_ac_var=no"
11443 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11444 conftest$ac_exeext conftest.$ac_ext
11445 CFLAGS=$ac_wine_try_cflags_saved
11446 ac_exeext=$ac_wine_try_cflags_saved_exeext
11448 eval ac_res=\$$as_ac_var
11449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11450 printf "%s\n" "$ac_res" >&6; }
11451 if eval test \"x\$"$as_ac_var"\" = x"yes"
11453 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11455 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" |
$as_tr_sh`
11456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11457 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11458 if eval test \${$as_ac_var+y}
11460 printf %s "(cached) " >&6
11462 ac_wine_try_cflags_saved=$CFLAGS
11463 ac_wine_try_cflags_saved_exeext=$ac_exeext
11464 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wnonnull"
11466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11467 /* end confdefs.h. */
11468 int __cdecl mainCRTStartup(void) { return 0; }
11470 if ac_fn_c_try_link "$LINENO"
11472 eval "$as_ac_var=yes"
11474 eval "$as_ac_var=no"
11476 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11477 conftest$ac_exeext conftest.$ac_ext
11478 CFLAGS=$ac_wine_try_cflags_saved
11479 ac_exeext=$ac_wine_try_cflags_saved_exeext
11481 eval ac_res=\$$as_ac_var
11482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11483 printf "%s\n" "$ac_res" >&6; }
11484 if eval test \"x\$"$as_ac_var"\" = x"yes"
11486 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11488 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" |
$as_tr_sh`
11489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11490 printf %s "checking whether $CC supports -mcx16... " >&6; }
11491 if eval test \${$as_ac_var+y}
11493 printf %s "(cached) " >&6
11495 ac_wine_try_cflags_saved=$CFLAGS
11496 ac_wine_try_cflags_saved_exeext=$ac_exeext
11497 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcx16"
11499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11500 /* end confdefs.h. */
11501 int __cdecl mainCRTStartup(void) { return 0; }
11503 if ac_fn_c_try_link "$LINENO"
11505 eval "$as_ac_var=yes"
11507 eval "$as_ac_var=no"
11509 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11510 conftest$ac_exeext conftest.$ac_ext
11511 CFLAGS=$ac_wine_try_cflags_saved
11512 ac_exeext=$ac_wine_try_cflags_saved_exeext
11514 eval ac_res=\$$as_ac_var
11515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11516 printf "%s\n" "$ac_res" >&6; }
11517 if eval test \"x\$"$as_ac_var"\" = x"yes"
11519 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11523 wine_crossdebug=$CROSSDEBUG
11524 if test -z "$wine_crossdebug"
11526 for ac_flag in $CFLAGS; do
11528 -gdwarf*) wine_crossdebug=dwarf ;;
11529 -gcodeview) wine_crossdebug=pdb ;;
11530 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11535 ac_debug_format_seen=""
11536 for ac_flag in $CFLAGS; do
11538 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11541 if test "x$ac_debug_format_seen" = x
11543 case $wine_crossdebug in
11544 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" |
$as_tr_sh`
11545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11546 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11547 if eval test \${$as_ac_var+y}
11549 printf %s "(cached) " >&6
11551 ac_wine_try_cflags_saved=$CFLAGS
11552 ac_wine_try_cflags_saved_exeext=$ac_exeext
11553 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gdwarf-4"
11555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11556 /* end confdefs.h. */
11557 int __cdecl mainCRTStartup(void) { return 0; }
11559 if ac_fn_c_try_link "$LINENO"
11561 eval "$as_ac_var=yes"
11563 eval "$as_ac_var=no"
11565 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11566 conftest$ac_exeext conftest.$ac_ext
11567 CFLAGS=$ac_wine_try_cflags_saved
11568 ac_exeext=$ac_wine_try_cflags_saved_exeext
11570 eval ac_res=\$$as_ac_var
11571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11572 printf "%s\n" "$ac_res" >&6; }
11573 if eval test \"x\$"$as_ac_var"\" = x"yes"
11575 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11577 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" |
$as_tr_sh`
11578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11579 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11580 if eval test \${$as_ac_var+y}
11582 printf %s "(cached) " >&6
11584 ac_wine_try_cflags_saved=$CFLAGS
11585 ac_wine_try_cflags_saved_exeext=$ac_exeext
11586 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gcodeview"
11588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11589 /* end confdefs.h. */
11590 int __cdecl mainCRTStartup(void) { return 0; }
11592 if ac_fn_c_try_link "$LINENO"
11594 eval "$as_ac_var=yes"
11596 eval "$as_ac_var=no"
11598 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11599 conftest$ac_exeext conftest.$ac_ext
11600 CFLAGS=$ac_wine_try_cflags_saved
11601 ac_exeext=$ac_wine_try_cflags_saved_exeext
11603 eval ac_res=\$$as_ac_var
11604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11605 printf "%s\n" "$ac_res" >&6; }
11606 if eval test \"x\$"$as_ac_var"\" = x"yes"
11608 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11612 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11614 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" |
$as_tr_sh`
11615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11616 printf %s "checking whether $CC supports -Werror... " >&6; }
11617 if eval test \${$as_ac_var+y}
11619 printf %s "(cached) " >&6
11621 ac_wine_try_cflags_saved=$CFLAGS
11622 ac_wine_try_cflags_saved_exeext=$ac_exeext
11623 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror"
11625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11626 /* end confdefs.h. */
11627 int __cdecl mainCRTStartup(void) { return 0; }
11629 if ac_fn_c_try_link "$LINENO"
11631 eval "$as_ac_var=yes"
11633 eval "$as_ac_var=no"
11635 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11636 conftest$ac_exeext conftest.$ac_ext
11637 CFLAGS=$ac_wine_try_cflags_saved
11638 ac_exeext=$ac_wine_try_cflags_saved_exeext
11640 eval ac_res=\$$as_ac_var
11641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11642 printf "%s\n" "$ac_res" >&6; }
11643 if eval test \"x\$"$as_ac_var"\" = x"yes"
11645 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11647 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" |
$as_tr_sh`
11648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11649 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11650 if eval test \${$as_ac_var+y}
11652 printf %s "(cached) " >&6
11654 ac_wine_try_cflags_saved=$CFLAGS
11655 ac_wine_try_cflags_saved_exeext=$ac_exeext
11656 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--build-id"
11658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11659 /* end confdefs.h. */
11660 int __cdecl mainCRTStartup(void) { return 0; }
11662 if ac_fn_c_try_link "$LINENO"
11664 eval "$as_ac_var=yes"
11666 eval "$as_ac_var=no"
11668 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11669 conftest$ac_exeext conftest.$ac_ext
11670 CFLAGS=$ac_wine_try_cflags_saved
11671 ac_exeext=$ac_wine_try_cflags_saved_exeext
11673 eval ac_res=\$$as_ac_var
11674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11675 printf "%s\n" "$ac_res" >&6; }
11676 if eval test \"x\$"$as_ac_var"\" = x"yes"
11678 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
11679 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
11683 CFLAGS=$saved_CFLAGS
11686 if test $HOST_ARCH = aarch64 -a "x$PE_ARCHS" = x
11688 as_fn_error $? "PE cross-compilation is required for ARM64, please install clang/llvm-dlltool/lld, or llvm-mingw." "$LINENO" 5
11691 if test "x$PE_ARCHS" = "x"
11693 case "x$with_mingw" in
11694 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
11696 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
11697 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
11703 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
11705 case "$host_cpu" in
11707 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11709 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11711 for ac_prog in $ac_prefix_list
11713 # Extract the first word of "$ac_prog", so it can be a program name with args.
11714 set dummy $ac_prog; ac_word=$2
11715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11716 printf %s "checking for $ac_word... " >&6; }
11717 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11719 printf %s "(cached) " >&6
11721 if test -n "$MINGW_PKG_CONFIG"; then
11722 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11725 for as_dir in $PATH
11728 case $as_dir in #(((
11731 *) as_dir=$as_dir/ ;;
11733 for ac_exec_ext in '' $ac_executable_extensions; do
11734 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11735 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11736 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11745 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11746 if test -n "$MINGW_PKG_CONFIG"; then
11747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11748 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
11750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11751 printf "%s\n" "no" >&6; }
11755 test -n "$MINGW_PKG_CONFIG" && break
11757 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
11759 if ${FAUDIO_PE_CFLAGS:+false} :
11761 if test ${MINGW_PKG_CONFIG+y}
11763 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio
2>/dev
/null
`
11766 if ${FAUDIO_PE_LIBS:+false} :
11768 if test ${MINGW_PKG_CONFIG+y}
11770 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio
2>/dev
/null
`
11773 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
11774 ac_save_CPPFLAGS=$CPPFLAGS
11775 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
11776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
11777 printf %s "checking for MinGW FAudio.h... " >&6; }
11778 if test ${ac_cv_mingw_header_FAudio_h+y}
11780 printf %s "(cached) " >&6
11782 ac_wine_check_headers_saved_cc=$CC
11783 ac_wine_check_headers_saved_exeext=$ac_exeext
11784 eval CC=\$${wine_arch}_CC
11786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11787 /* end confdefs.h. */
11789 #include <FAudio.h>
11798 if ac_fn_c_try_compile "$LINENO"
11800 ac_cv_mingw_header_FAudio_h=yes
11802 ac_cv_mingw_header_FAudio_h=no
11804 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11805 CC=$ac_wine_check_headers_saved_cc
11806 ac_exeext=$ac_wine_check_headers_saved_exeext
11808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
11809 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
11810 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
11812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
11813 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
11814 if test ${ac_cv_mingw_lib_FAudio+y}
11816 printf %s "(cached) " >&6
11818 ac_wine_check_headers_saved_cc=$CC
11819 ac_wine_check_headers_saved_exeext=$ac_exeext
11820 ac_wine_check_headers_saved_libs=$LIBS
11821 eval CC=\$${wine_arch}_CC
11823 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
11824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11825 /* end confdefs.h. */
11827 /* Override any GCC internal prototype to avoid an error.
11828 Use char because int might match the return type of a GCC
11829 builtin and then its argument prototype would still apply. */
11830 char FAudio_CommitOperationSet ();
11834 return FAudio_CommitOperationSet ();
11839 if ac_fn_c_try_link "$LINENO"
11841 ac_cv_mingw_lib_FAudio=yes
11843 ac_cv_mingw_lib_FAudio=no
11845 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11846 conftest$ac_exeext conftest.$ac_ext
11847 CC=$ac_wine_check_headers_saved_cc
11848 ac_exeext=$ac_wine_check_headers_saved_exeext
11849 LIBS=$ac_wine_check_headers_saved_libs
11851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
11852 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
11853 if test "x$ac_cv_mingw_lib_FAudio" = xyes
11857 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11860 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11862 CPPFLAGS=$ac_save_CPPFLAGS
11864 if test "x$FAUDIO_PE_LIBS" = "x"
11866 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
11869 if ${JPEG_PE_CFLAGS:+false} :
11871 if test ${MINGW_PKG_CONFIG+y}
11873 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg
2>/dev
/null
`
11876 if ${JPEG_PE_LIBS:+false} :
11878 if test ${MINGW_PKG_CONFIG+y}
11880 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg
2>/dev
/null
`
11884 ac_save_CPPFLAGS=$CPPFLAGS
11885 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
11886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
11887 printf %s "checking for MinGW jpeglib.h... " >&6; }
11888 if test ${ac_cv_mingw_header_jpeglib_h+y}
11890 printf %s "(cached) " >&6
11892 ac_wine_check_headers_saved_cc=$CC
11893 ac_wine_check_headers_saved_exeext=$ac_exeext
11894 eval CC=\$${wine_arch}_CC
11896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11897 /* end confdefs.h. */
11898 #include <stddef.h>
11900 #include <jpeglib.h>
11909 if ac_fn_c_try_compile "$LINENO"
11911 ac_cv_mingw_header_jpeglib_h=yes
11913 ac_cv_mingw_header_jpeglib_h=no
11915 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11916 CC=$ac_wine_check_headers_saved_cc
11917 ac_exeext=$ac_wine_check_headers_saved_exeext
11919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
11920 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
11921 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
11923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
11924 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
11925 if test ${ac_cv_mingw_lib_jpeg+y}
11927 printf %s "(cached) " >&6
11929 ac_wine_check_headers_saved_cc=$CC
11930 ac_wine_check_headers_saved_exeext=$ac_exeext
11931 ac_wine_check_headers_saved_libs=$LIBS
11932 eval CC=\$${wine_arch}_CC
11934 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
11935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11936 /* end confdefs.h. */
11938 /* Override any GCC internal prototype to avoid an error.
11939 Use char because int might match the return type of a GCC
11940 builtin and then its argument prototype would still apply. */
11941 char jpeg_start_decompress ();
11945 return jpeg_start_decompress ();
11950 if ac_fn_c_try_link "$LINENO"
11952 ac_cv_mingw_lib_jpeg=yes
11954 ac_cv_mingw_lib_jpeg=no
11956 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11957 conftest$ac_exeext conftest.$ac_ext
11958 CC=$ac_wine_check_headers_saved_cc
11959 ac_exeext=$ac_wine_check_headers_saved_exeext
11960 LIBS=$ac_wine_check_headers_saved_libs
11962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
11963 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
11964 if test "x$ac_cv_mingw_lib_jpeg" = xyes
11968 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
11971 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
11973 CPPFLAGS=$ac_save_CPPFLAGS
11975 if test "x$JPEG_PE_LIBS" = "x"
11977 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
11980 if ${LCMS2_PE_CFLAGS:+false} :
11982 if test ${MINGW_PKG_CONFIG+y}
11984 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2
2>/dev
/null
`
11987 if ${LCMS2_PE_LIBS:+false} :
11989 if test ${MINGW_PKG_CONFIG+y}
11991 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2
2>/dev
/null
`
11994 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
11995 ac_save_CPPFLAGS=$CPPFLAGS
11996 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
11997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
11998 printf %s "checking for MinGW lcms2.h... " >&6; }
11999 if test ${ac_cv_mingw_header_lcms2_h+y}
12001 printf %s "(cached) " >&6
12003 ac_wine_check_headers_saved_cc=$CC
12004 ac_wine_check_headers_saved_exeext=$ac_exeext
12005 eval CC=\$${wine_arch}_CC
12007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12008 /* end confdefs.h. */
12019 if ac_fn_c_try_compile "$LINENO"
12021 ac_cv_mingw_header_lcms2_h=yes
12023 ac_cv_mingw_header_lcms2_h=no
12025 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12026 CC=$ac_wine_check_headers_saved_cc
12027 ac_exeext=$ac_wine_check_headers_saved_exeext
12029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12030 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12031 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12034 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12035 if test ${ac_cv_mingw_lib_lcms2+y}
12037 printf %s "(cached) " >&6
12039 ac_wine_check_headers_saved_cc=$CC
12040 ac_wine_check_headers_saved_exeext=$ac_exeext
12041 ac_wine_check_headers_saved_libs=$LIBS
12042 eval CC=\$${wine_arch}_CC
12044 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12046 /* end confdefs.h. */
12048 /* Override any GCC internal prototype to avoid an error.
12049 Use char because int might match the return type of a GCC
12050 builtin and then its argument prototype would still apply. */
12051 char cmsOpenProfileFromFile ();
12055 return cmsOpenProfileFromFile ();
12060 if ac_fn_c_try_link "$LINENO"
12062 ac_cv_mingw_lib_lcms2=yes
12064 ac_cv_mingw_lib_lcms2=no
12066 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12067 conftest$ac_exeext conftest.$ac_ext
12068 CC=$ac_wine_check_headers_saved_cc
12069 ac_exeext=$ac_wine_check_headers_saved_exeext
12070 LIBS=$ac_wine_check_headers_saved_libs
12072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12073 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12074 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12078 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12081 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12083 CPPFLAGS=$ac_save_CPPFLAGS
12085 if test "x$LCMS2_PE_LIBS" = "x"
12087 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12090 if ${MPG123_PE_CFLAGS:+false} :
12092 if test ${MINGW_PKG_CONFIG+y}
12094 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123
2>/dev
/null
`
12097 if ${MPG123_PE_LIBS:+false} :
12099 if test ${MINGW_PKG_CONFIG+y}
12101 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123
2>/dev
/null
`
12104 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12105 ac_save_CPPFLAGS=$CPPFLAGS
12106 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12108 printf %s "checking for MinGW mpg123.h... " >&6; }
12109 if test ${ac_cv_mingw_header_mpg123_h+y}
12111 printf %s "(cached) " >&6
12113 ac_wine_check_headers_saved_cc=$CC
12114 ac_wine_check_headers_saved_exeext=$ac_exeext
12115 eval CC=\$${wine_arch}_CC
12117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12118 /* end confdefs.h. */
12120 #include <mpg123.h>
12129 if ac_fn_c_try_compile "$LINENO"
12131 ac_cv_mingw_header_mpg123_h=yes
12133 ac_cv_mingw_header_mpg123_h=no
12135 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12136 CC=$ac_wine_check_headers_saved_cc
12137 ac_exeext=$ac_wine_check_headers_saved_exeext
12139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12140 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12141 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12144 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12145 if test ${ac_cv_mingw_lib_mpg123+y}
12147 printf %s "(cached) " >&6
12149 ac_wine_check_headers_saved_cc=$CC
12150 ac_wine_check_headers_saved_exeext=$ac_exeext
12151 ac_wine_check_headers_saved_libs=$LIBS
12152 eval CC=\$${wine_arch}_CC
12154 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12156 /* end confdefs.h. */
12158 /* Override any GCC internal prototype to avoid an error.
12159 Use char because int might match the return type of a GCC
12160 builtin and then its argument prototype would still apply. */
12161 char mpg123_feed ();
12165 return mpg123_feed ();
12170 if ac_fn_c_try_link "$LINENO"
12172 ac_cv_mingw_lib_mpg123=yes
12174 ac_cv_mingw_lib_mpg123=no
12176 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12177 conftest$ac_exeext conftest.$ac_ext
12178 CC=$ac_wine_check_headers_saved_cc
12179 ac_exeext=$ac_wine_check_headers_saved_exeext
12180 LIBS=$ac_wine_check_headers_saved_libs
12182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12183 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12184 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12188 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12191 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12193 CPPFLAGS=$ac_save_CPPFLAGS
12195 if test "x$MPG123_PE_LIBS" = "x"
12197 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12200 if ${PNG_PE_CFLAGS:+false} :
12202 if test ${MINGW_PKG_CONFIG+y}
12204 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng
2>/dev
/null
`
12207 if ${PNG_PE_LIBS:+false} :
12209 if test ${MINGW_PKG_CONFIG+y}
12211 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng
2>/dev
/null
`
12215 ac_save_CPPFLAGS=$CPPFLAGS
12216 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12218 printf %s "checking for MinGW png.h... " >&6; }
12219 if test ${ac_cv_mingw_header_png_h+y}
12221 printf %s "(cached) " >&6
12223 ac_wine_check_headers_saved_cc=$CC
12224 ac_wine_check_headers_saved_exeext=$ac_exeext
12225 eval CC=\$${wine_arch}_CC
12227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12228 /* end confdefs.h. */
12239 if ac_fn_c_try_compile "$LINENO"
12241 ac_cv_mingw_header_png_h=yes
12243 ac_cv_mingw_header_png_h=no
12245 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12246 CC=$ac_wine_check_headers_saved_cc
12247 ac_exeext=$ac_wine_check_headers_saved_exeext
12249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12250 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12251 if test "x$ac_cv_mingw_header_png_h" = xyes
12253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12254 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12255 if test ${ac_cv_mingw_lib_png+y}
12257 printf %s "(cached) " >&6
12259 ac_wine_check_headers_saved_cc=$CC
12260 ac_wine_check_headers_saved_exeext=$ac_exeext
12261 ac_wine_check_headers_saved_libs=$LIBS
12262 eval CC=\$${wine_arch}_CC
12264 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12266 /* end confdefs.h. */
12268 /* Override any GCC internal prototype to avoid an error.
12269 Use char because int might match the return type of a GCC
12270 builtin and then its argument prototype would still apply. */
12271 char png_create_read_struct ();
12275 return png_create_read_struct ();
12280 if ac_fn_c_try_link "$LINENO"
12282 ac_cv_mingw_lib_png=yes
12284 ac_cv_mingw_lib_png=no
12286 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12287 conftest$ac_exeext conftest.$ac_ext
12288 CC=$ac_wine_check_headers_saved_cc
12289 ac_exeext=$ac_wine_check_headers_saved_exeext
12290 LIBS=$ac_wine_check_headers_saved_libs
12292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12293 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12294 if test "x$ac_cv_mingw_lib_png" = xyes
12298 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12301 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12303 CPPFLAGS=$ac_save_CPPFLAGS
12305 if test "x$PNG_PE_LIBS" = "x"
12307 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12310 if ${TIFF_PE_CFLAGS:+false} :
12312 if test ${MINGW_PKG_CONFIG+y}
12314 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4
2>/dev
/null
`
12317 if ${TIFF_PE_LIBS:+false} :
12319 if test ${MINGW_PKG_CONFIG+y}
12321 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4
2>/dev
/null
`
12325 ac_save_CPPFLAGS=$CPPFLAGS
12326 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12328 printf %s "checking for MinGW tiffio.h... " >&6; }
12329 if test ${ac_cv_mingw_header_tiffio_h+y}
12331 printf %s "(cached) " >&6
12333 ac_wine_check_headers_saved_cc=$CC
12334 ac_wine_check_headers_saved_exeext=$ac_exeext
12335 eval CC=\$${wine_arch}_CC
12337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12338 /* end confdefs.h. */
12340 #include <tiffio.h>
12349 if ac_fn_c_try_compile "$LINENO"
12351 ac_cv_mingw_header_tiffio_h=yes
12353 ac_cv_mingw_header_tiffio_h=no
12355 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12356 CC=$ac_wine_check_headers_saved_cc
12357 ac_exeext=$ac_wine_check_headers_saved_exeext
12359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12360 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12361 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12364 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12365 if test ${ac_cv_mingw_lib_tiff+y}
12367 printf %s "(cached) " >&6
12369 ac_wine_check_headers_saved_cc=$CC
12370 ac_wine_check_headers_saved_exeext=$ac_exeext
12371 ac_wine_check_headers_saved_libs=$LIBS
12372 eval CC=\$${wine_arch}_CC
12374 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12376 /* end confdefs.h. */
12378 /* Override any GCC internal prototype to avoid an error.
12379 Use char because int might match the return type of a GCC
12380 builtin and then its argument prototype would still apply. */
12381 char TIFFClientOpen ();
12385 return TIFFClientOpen ();
12390 if ac_fn_c_try_link "$LINENO"
12392 ac_cv_mingw_lib_tiff=yes
12394 ac_cv_mingw_lib_tiff=no
12396 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12397 conftest$ac_exeext conftest.$ac_ext
12398 CC=$ac_wine_check_headers_saved_cc
12399 ac_exeext=$ac_wine_check_headers_saved_exeext
12400 LIBS=$ac_wine_check_headers_saved_libs
12402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12403 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12404 if test "x$ac_cv_mingw_lib_tiff" = xyes
12408 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12411 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12413 CPPFLAGS=$ac_save_CPPFLAGS
12415 if test "x$TIFF_PE_LIBS" = "x"
12417 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12420 if ${XML2_PE_CFLAGS:+false} :
12422 if test ${MINGW_PKG_CONFIG+y}
12424 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0
2>/dev
/null
`
12427 if ${XML2_PE_LIBS:+false} :
12429 if test ${MINGW_PKG_CONFIG+y}
12431 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0
2>/dev
/null
`
12434 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12435 ac_save_CPPFLAGS=$CPPFLAGS
12436 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12438 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12439 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12441 printf %s "(cached) " >&6
12443 ac_wine_check_headers_saved_cc=$CC
12444 ac_wine_check_headers_saved_exeext=$ac_exeext
12445 eval CC=\$${wine_arch}_CC
12447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12448 /* end confdefs.h. */
12450 #include <libxml/parser.h>
12459 if ac_fn_c_try_compile "$LINENO"
12461 ac_cv_mingw_header_libxml_parser_h=yes
12463 ac_cv_mingw_header_libxml_parser_h=no
12465 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12466 CC=$ac_wine_check_headers_saved_cc
12467 ac_exeext=$ac_wine_check_headers_saved_exeext
12469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12470 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12471 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12476 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12477 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12479 printf %s "(cached) " >&6
12481 ac_wine_check_headers_saved_cc=$CC
12482 ac_wine_check_headers_saved_exeext=$ac_exeext
12483 eval CC=\$${wine_arch}_CC
12485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12486 /* end confdefs.h. */
12488 #include <libxml/xmlsave.h>
12497 if ac_fn_c_try_compile "$LINENO"
12499 ac_cv_mingw_header_libxml_xmlsave_h=yes
12501 ac_cv_mingw_header_libxml_xmlsave_h=no
12503 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12504 CC=$ac_wine_check_headers_saved_cc
12505 ac_exeext=$ac_wine_check_headers_saved_exeext
12507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12508 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12509 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12514 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12515 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12517 printf %s "(cached) " >&6
12519 ac_wine_check_headers_saved_cc=$CC
12520 ac_wine_check_headers_saved_exeext=$ac_exeext
12521 eval CC=\$${wine_arch}_CC
12523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12524 /* end confdefs.h. */
12526 #include <libxml/SAX2.h>
12535 if ac_fn_c_try_compile "$LINENO"
12537 ac_cv_mingw_header_libxml_SAX2_h=yes
12539 ac_cv_mingw_header_libxml_SAX2_h=no
12541 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12542 CC=$ac_wine_check_headers_saved_cc
12543 ac_exeext=$ac_wine_check_headers_saved_exeext
12545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12546 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12547 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12551 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"
12553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12554 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12555 if test ${ac_cv_mingw_lib_xml2+y}
12557 printf %s "(cached) " >&6
12559 ac_wine_check_headers_saved_cc=$CC
12560 ac_wine_check_headers_saved_exeext=$ac_exeext
12561 ac_wine_check_headers_saved_libs=$LIBS
12562 eval CC=\$${wine_arch}_CC
12564 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12566 /* end confdefs.h. */
12568 /* Override any GCC internal prototype to avoid an error.
12569 Use char because int might match the return type of a GCC
12570 builtin and then its argument prototype would still apply. */
12571 char xmlFirstElementChild ();
12575 return xmlFirstElementChild ();
12580 if ac_fn_c_try_link "$LINENO"
12582 ac_cv_mingw_lib_xml2=yes
12584 ac_cv_mingw_lib_xml2=no
12586 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12587 conftest$ac_exeext conftest.$ac_ext
12588 CC=$ac_wine_check_headers_saved_cc
12589 ac_exeext=$ac_wine_check_headers_saved_exeext
12590 LIBS=$ac_wine_check_headers_saved_libs
12592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12593 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12594 if test "x$ac_cv_mingw_lib_xml2" = xyes
12598 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12604 CPPFLAGS=$ac_save_CPPFLAGS
12606 if test "x$XML2_PE_LIBS" = "x"
12608 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12611 if ${XSLT_PE_CFLAGS:+false} :
12613 if test ${MINGW_PKG_CONFIG+y}
12615 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt
2>/dev
/null
`
12618 if ${XSLT_PE_LIBS:+false} :
12620 if test ${MINGW_PKG_CONFIG+y}
12622 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt
2>/dev
/null
`
12625 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12626 ac_save_CPPFLAGS=$CPPFLAGS
12627 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12629 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12630 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12632 printf %s "(cached) " >&6
12634 ac_wine_check_headers_saved_cc=$CC
12635 ac_wine_check_headers_saved_exeext=$ac_exeext
12636 eval CC=\$${wine_arch}_CC
12638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12639 /* end confdefs.h. */
12641 #include <libxslt/pattern.h>
12650 if ac_fn_c_try_compile "$LINENO"
12652 ac_cv_mingw_header_libxslt_pattern_h=yes
12654 ac_cv_mingw_header_libxslt_pattern_h=no
12656 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12657 CC=$ac_wine_check_headers_saved_cc
12658 ac_exeext=$ac_wine_check_headers_saved_exeext
12660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12661 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12662 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12667 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12668 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12670 printf %s "(cached) " >&6
12672 ac_wine_check_headers_saved_cc=$CC
12673 ac_wine_check_headers_saved_exeext=$ac_exeext
12674 eval CC=\$${wine_arch}_CC
12676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12677 /* end confdefs.h. */
12679 #include <libxslt/transform.h>
12688 if ac_fn_c_try_compile "$LINENO"
12690 ac_cv_mingw_header_libxslt_transform_h=yes
12692 ac_cv_mingw_header_libxslt_transform_h=no
12694 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12695 CC=$ac_wine_check_headers_saved_cc
12696 ac_exeext=$ac_wine_check_headers_saved_exeext
12698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12699 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12700 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12704 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12707 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12708 if test ${ac_cv_mingw_lib_xslt+y}
12710 printf %s "(cached) " >&6
12712 ac_wine_check_headers_saved_cc=$CC
12713 ac_wine_check_headers_saved_exeext=$ac_exeext
12714 ac_wine_check_headers_saved_libs=$LIBS
12715 eval CC=\$${wine_arch}_CC
12717 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12719 /* end confdefs.h. */
12721 /* Override any GCC internal prototype to avoid an error.
12722 Use char because int might match the return type of a GCC
12723 builtin and then its argument prototype would still apply. */
12724 char xsltCompilePattern ();
12728 return xsltCompilePattern ();
12733 if ac_fn_c_try_link "$LINENO"
12735 ac_cv_mingw_lib_xslt=yes
12737 ac_cv_mingw_lib_xslt=no
12739 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12740 conftest$ac_exeext conftest.$ac_ext
12741 CC=$ac_wine_check_headers_saved_cc
12742 ac_exeext=$ac_wine_check_headers_saved_exeext
12743 LIBS=$ac_wine_check_headers_saved_libs
12745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12746 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12747 if test "x$ac_cv_mingw_lib_xslt" = xyes
12751 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
12757 CPPFLAGS=$ac_save_CPPFLAGS
12759 if test "x$XSLT_PE_LIBS" = "x"
12761 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
12764 if ${VKD3D_PE_CFLAGS:+false} :
12766 if test ${MINGW_PKG_CONFIG+y}
12768 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader
2>/dev
/null
`
12771 if ${VKD3D_PE_LIBS:+false} :
12773 if test ${MINGW_PKG_CONFIG+y}
12775 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader
2>/dev
/null
`
12778 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
12779 ac_save_CPPFLAGS=$CPPFLAGS
12780 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
12781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
12782 printf %s "checking for MinGW vkd3d.h... " >&6; }
12783 if test ${ac_cv_mingw_header_vkd3d_h+y}
12785 printf %s "(cached) " >&6
12787 ac_wine_check_headers_saved_cc=$CC
12788 ac_wine_check_headers_saved_exeext=$ac_exeext
12789 eval CC=\$${wine_arch}_CC
12791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12792 /* end confdefs.h. */
12803 if ac_fn_c_try_compile "$LINENO"
12805 ac_cv_mingw_header_vkd3d_h=yes
12807 ac_cv_mingw_header_vkd3d_h=no
12809 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12810 CC=$ac_wine_check_headers_saved_cc
12811 ac_exeext=$ac_wine_check_headers_saved_exeext
12813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
12814 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
12815 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
12819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
12820 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
12821 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
12823 printf %s "(cached) " >&6
12825 ac_wine_check_headers_saved_cc=$CC
12826 ac_wine_check_headers_saved_exeext=$ac_exeext
12827 eval CC=\$${wine_arch}_CC
12829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12830 /* end confdefs.h. */
12832 #include <vkd3d_shader.h>
12841 if ac_fn_c_try_compile "$LINENO"
12843 ac_cv_mingw_header_vkd3d_shader_h=yes
12845 ac_cv_mingw_header_vkd3d_shader_h=no
12847 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12848 CC=$ac_wine_check_headers_saved_cc
12849 ac_exeext=$ac_wine_check_headers_saved_exeext
12851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
12852 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
12853 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
12857 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
12859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
12860 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
12861 if test ${ac_cv_mingw_lib_vkd3d+y}
12863 printf %s "(cached) " >&6
12865 ac_wine_check_headers_saved_cc=$CC
12866 ac_wine_check_headers_saved_exeext=$ac_exeext
12867 ac_wine_check_headers_saved_libs=$LIBS
12868 eval CC=\$${wine_arch}_CC
12870 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
12871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12872 /* end confdefs.h. */
12874 /* Override any GCC internal prototype to avoid an error.
12875 Use char because int might match the return type of a GCC
12876 builtin and then its argument prototype would still apply. */
12877 char vkd3d_set_log_callback ();
12881 return vkd3d_set_log_callback ();
12886 if ac_fn_c_try_link "$LINENO"
12888 ac_cv_mingw_lib_vkd3d=yes
12890 ac_cv_mingw_lib_vkd3d=no
12892 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12893 conftest$ac_exeext conftest.$ac_ext
12894 CC=$ac_wine_check_headers_saved_cc
12895 ac_exeext=$ac_wine_check_headers_saved_exeext
12896 LIBS=$ac_wine_check_headers_saved_libs
12898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
12899 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
12900 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
12906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_compile in MinGW -lvkd3d-shader" >&5
12907 printf %s "checking for vkd3d_shader_compile in MinGW -lvkd3d-shader... " >&6; }
12908 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
12910 printf %s "(cached) " >&6
12912 ac_wine_check_headers_saved_cc=$CC
12913 ac_wine_check_headers_saved_exeext=$ac_exeext
12914 ac_wine_check_headers_saved_libs=$LIBS
12915 eval CC=\$${wine_arch}_CC
12917 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
12918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12919 /* end confdefs.h. */
12921 /* Override any GCC internal prototype to avoid an error.
12922 Use char because int might match the return type of a GCC
12923 builtin and then its argument prototype would still apply. */
12924 char vkd3d_shader_compile ();
12928 return vkd3d_shader_compile ();
12933 if ac_fn_c_try_link "$LINENO"
12935 ac_cv_mingw_lib_vkd3d_shader=yes
12937 ac_cv_mingw_lib_vkd3d_shader=no
12939 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12940 conftest$ac_exeext conftest.$ac_ext
12941 CC=$ac_wine_check_headers_saved_cc
12942 ac_exeext=$ac_wine_check_headers_saved_exeext
12943 LIBS=$ac_wine_check_headers_saved_libs
12945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
12946 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
12947 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
12953 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
12962 CPPFLAGS=$ac_save_CPPFLAGS
12964 if test "x$VKD3D_PE_LIBS" = "x"
12966 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
12969 if ${ZLIB_PE_CFLAGS:+false} :
12971 if test ${MINGW_PKG_CONFIG+y}
12973 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib
2>/dev
/null
`
12976 if ${ZLIB_PE_LIBS:+false} :
12978 if test ${MINGW_PKG_CONFIG+y}
12980 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib
2>/dev
/null
`
12983 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
12984 ac_save_CPPFLAGS=$CPPFLAGS
12985 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
12986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
12987 printf %s "checking for MinGW zlib.h... " >&6; }
12988 if test ${ac_cv_mingw_header_zlib_h+y}
12990 printf %s "(cached) " >&6
12992 ac_wine_check_headers_saved_cc=$CC
12993 ac_wine_check_headers_saved_exeext=$ac_exeext
12994 eval CC=\$${wine_arch}_CC
12996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12997 /* end confdefs.h. */
13008 if ac_fn_c_try_compile "$LINENO"
13010 ac_cv_mingw_header_zlib_h=yes
13012 ac_cv_mingw_header_zlib_h=no
13014 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13015 CC=$ac_wine_check_headers_saved_cc
13016 ac_exeext=$ac_wine_check_headers_saved_exeext
13018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13019 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13020 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13023 printf %s "checking for inflate in MinGW -lz... " >&6; }
13024 if test ${ac_cv_mingw_lib_z+y}
13026 printf %s "(cached) " >&6
13028 ac_wine_check_headers_saved_cc=$CC
13029 ac_wine_check_headers_saved_exeext=$ac_exeext
13030 ac_wine_check_headers_saved_libs=$LIBS
13031 eval CC=\$${wine_arch}_CC
13033 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13035 /* end confdefs.h. */
13037 /* Override any GCC internal prototype to avoid an error.
13038 Use char because int might match the return type of a GCC
13039 builtin and then its argument prototype would still apply. */
13049 if ac_fn_c_try_link "$LINENO"
13051 ac_cv_mingw_lib_z=yes
13053 ac_cv_mingw_lib_z=no
13055 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13056 conftest$ac_exeext conftest.$ac_ext
13057 CC=$ac_wine_check_headers_saved_cc
13058 ac_exeext=$ac_wine_check_headers_saved_exeext
13059 LIBS=$ac_wine_check_headers_saved_libs
13061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13062 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13063 if test "x$ac_cv_mingw_lib_z" = xyes
13067 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13070 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13072 CPPFLAGS=$ac_save_CPPFLAGS
13074 if test "x$ZLIB_PE_LIBS" = "x"
13076 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13080 if ${FAUDIO_PE_LIBS:+false} :
13082 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13083 if ${FAUDIO_PE_CFLAGS:+false} :
13085 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13092 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13093 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13095 if ${GSM_PE_LIBS:+false} :
13098 if ${GSM_PE_CFLAGS:+false} :
13100 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13107 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13108 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13110 if ${JPEG_PE_LIBS:+false} :
13113 if ${JPEG_PE_CFLAGS:+false} :
13115 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13122 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13123 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13125 if ${JXR_PE_LIBS:+false} :
13128 if ${JXR_PE_CFLAGS:+false} :
13130 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13137 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13138 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13140 if ${LCMS2_PE_LIBS:+false} :
13142 LCMS2_PE_LIBS=lcms2
13143 if ${LCMS2_PE_CFLAGS:+false} :
13145 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13152 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13153 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13155 if ${LDAP_PE_LIBS:+false} :
13158 if ${LDAP_PE_CFLAGS:+false} :
13160 LDAP_PE_CFLAGS="-I\$(top_srcdir)/libs/ldap/include"
13167 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap cflags: $LDAP_PE_CFLAGS" >&5
13168 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap libs: $LDAP_PE_LIBS" >&5
13170 if ${MPG123_PE_LIBS:+false} :
13172 MPG123_PE_LIBS=mpg123
13173 if ${MPG123_PE_CFLAGS:+false} :
13175 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13182 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13183 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13185 if ${PNG_PE_LIBS:+false} :
13187 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13188 if ${PNG_PE_CFLAGS:+false} :
13190 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13197 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13198 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13200 if ${TIFF_PE_LIBS:+false} :
13202 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13203 if ${TIFF_PE_CFLAGS:+false} :
13205 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13212 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13213 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13215 if ${VKD3D_PE_LIBS:+false} :
13217 VKD3D_PE_LIBS=vkd3d
13218 if ${VKD3D_PE_CFLAGS:+false} :
13220 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13227 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13228 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13230 if ${XML2_PE_LIBS:+false} :
13233 if ${XML2_PE_CFLAGS:+false} :
13235 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13242 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13243 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13245 if ${XSLT_PE_LIBS:+false} :
13248 if ${XSLT_PE_CFLAGS:+false} :
13250 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13257 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13258 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13260 if ${ZLIB_PE_LIBS:+false} :
13263 if ${ZLIB_PE_CFLAGS:+false} :
13265 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13272 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13273 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13277 if test "$ac_cv_header_pthread_h" = "yes"
13279 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13280 if test "x$ac_cv_func_pthread_create" = xyes
13284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13285 printf %s "checking for pthread_create in -lpthread... " >&6; }
13286 if test ${ac_cv_lib_pthread_pthread_create+y}
13288 printf %s "(cached) " >&6
13290 ac_check_lib_save_LIBS=$LIBS
13291 LIBS="-lpthread $LIBS"
13292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13293 /* end confdefs.h. */
13295 /* Override any GCC internal prototype to avoid an error.
13296 Use char because int might match the return type of a GCC
13297 builtin and then its argument prototype would still apply. */
13298 char pthread_create ();
13302 return pthread_create ();
13307 if ac_fn_c_try_link "$LINENO"
13309 ac_cv_lib_pthread_pthread_create=yes
13311 ac_cv_lib_pthread_pthread_create=no
13313 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13314 conftest$ac_exeext conftest.$ac_ext
13315 LIBS=$ac_check_lib_save_LIBS
13317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13318 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13319 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13321 PTHREAD_LIBS="-lpthread"
13328 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13330 case "x$with_pthread" in
13332 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13333 Wine cannot support threads without libpthread.
13334 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13341 ac_cpp='$CPP $CPPFLAGS'
13342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13346 printf %s "checking how to run the C preprocessor... " >&6; }
13347 # On Suns, sometimes $CPP names a directory.
13348 if test -n "$CPP" && test -d "$CPP"; then
13351 if test -z "$CPP"; then
13352 if test ${ac_cv_prog_CPP+y}
13354 printf %s "(cached) " >&6
13356 # Double quotes because $CC needs to be expanded
13357 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13359 ac_preproc_ok=false
13360 for ac_c_preproc_warn_flag in '' yes
13362 # Use a header file that comes with gcc, so configuring glibc
13363 # with a fresh cross-compiler works.
13364 # On the NeXT, cc -E runs the code through the compiler's parser,
13365 # not just through cpp. "Syntax error" is here to catch this case.
13366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13367 /* end confdefs.h. */
13368 #include <limits.h>
13371 if ac_fn_c_try_cpp "$LINENO"
13375 # Broken: fails on valid input.
13378 rm -f conftest.err conftest.i conftest.$ac_ext
13380 # OK, works on sane cases. Now check whether nonexistent headers
13381 # can be detected and how.
13382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13383 /* end confdefs.h. */
13384 #include <ac_nonexistent.h>
13386 if ac_fn_c_try_cpp "$LINENO"
13388 # Broken: success on invalid input.
13391 # Passes both tests.
13395 rm -f conftest.err conftest.i conftest.$ac_ext
13398 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13399 rm -f conftest.i conftest.err conftest.
$ac_ext
13406 ac_cv_prog_CPP
=$CPP
13409 CPP
=$ac_cv_prog_CPP
13411 ac_cv_prog_CPP
=$CPP
13413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13414 printf "%s\n" "$CPP" >&6; }
13415 ac_preproc_ok
=false
13416 for ac_c_preproc_warn_flag
in '' yes
13418 # Use a header file that comes with gcc, so configuring glibc
13419 # with a fresh cross-compiler works.
13420 # On the NeXT, cc -E runs the code through the compiler's parser,
13421 # not just through cpp. "Syntax error" is here to catch this case.
13422 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13423 /* end confdefs.h. */
13424 #include <limits.h>
13427 if ac_fn_c_try_cpp
"$LINENO"
13431 # Broken: fails on valid input.
13434 rm -f conftest.err conftest.i conftest.
$ac_ext
13436 # OK, works on sane cases. Now check whether nonexistent headers
13437 # can be detected and how.
13438 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13439 /* end confdefs.h. */
13440 #include <ac_nonexistent.h>
13442 if ac_fn_c_try_cpp
"$LINENO"
13444 # Broken: success on invalid input.
13447 # Passes both tests.
13451 rm -f conftest.err conftest.i conftest.
$ac_ext
13454 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13455 rm -f conftest.i conftest.err conftest.
$ac_ext
13460 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13461 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13462 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
13463 See \`config.log' for more details" "$LINENO" 5; }
13467 ac_cpp
='$CPP $CPPFLAGS'
13468 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13469 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13470 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13474 printf %s
"checking for X... " >&6; }
13477 # Check whether --with-x was given.
13478 if test ${with_x+y}
13483 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13484 if test "x$with_x" = xno
; then
13485 # The user explicitly disabled X.
13488 case $x_includes,$x_libraries in #(
13489 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
13490 *,NONE | NONE
,*) if test ${ac_cv_have_x+y}
13492 printf %s
"(cached) " >&6
13494 # One or both of the vars are not set, and there is no cached value.
13497 # Do we need to do anything special at all?
13500 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13501 /* end confdefs.h. */
13502 #include <X11/Xlib.h>
13511 if ac_fn_c_try_link
"$LINENO"
13513 # We can compile and link X programs with no special options.
13517 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13518 conftest
$ac_exeext conftest.
$ac_ext
13519 LIBS
="$ac_save_LIBS"
13520 # If that didn't work, only try xmkmf and file system searches
13521 # for native compilation.
13522 if test x
"$ac_x_includes" = xno
&& test "$cross_compiling" = no
13524 rm -f -r conftest.dir
13525 if mkdir conftest.dir
; then
13527 cat >Imakefile
<<'_ACEOF'
13529 @echo incroot='${INCROOT}'
13531 @echo usrlibdir='${USRLIBDIR}'
13533 @echo libdir='${LIBDIR}'
13535 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
13536 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13537 for ac_var
in incroot usrlibdir libdir
; do
13538 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13540 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13541 for ac_extension
in a so sl dylib la dll
; do
13542 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13543 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13544 ac_im_usrlibdir
=$ac_im_libdir; break
13547 # Screen out bogus values from the imake configuration. They are
13548 # bogus both because they are the default anyway, and because
13549 # using them would break gcc on systems where it needs fixed includes.
13550 case $ac_im_incroot in
13551 /usr
/include
) ac_x_includes
= ;;
13552 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
13554 case $ac_im_usrlibdir in
13555 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
13556 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
13560 rm -f -r conftest.dir
13563 # Standard set of common directories for X headers.
13564 # Check X11 before X11Rn because it is often a symlink to the current release.
13578 /usr/local/X11/include
13579 /usr/local/X11R7/include
13580 /usr/local/X11R6/include
13581 /usr/local/X11R5/include
13582 /usr/local/X11R4/include
13584 /usr/local/include/X11
13585 /usr/local/include/X11R7
13586 /usr/local/include/X11R6
13587 /usr/local/include/X11R5
13588 /usr/local/include/X11R4
13594 /usr/XFree86/include/X11
13598 /usr/unsupported/include
13599 /usr/athena/include
13600 /usr/local/x11r5/include
13601 /usr/lpp/Xamples/include
13603 /usr/openwin/include
13604 /usr/openwin/share/include'
13606 if test "$ac_x_includes" = no
; then
13607 # Guess where to find include files, by looking for Xlib.h.
13608 # First, try using that file with no special directory specified.
13609 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13610 /* end confdefs.h. */
13611 #include <X11/Xlib.h>
13613 if ac_fn_c_try_cpp
"$LINENO"
13615 # We can compile using X headers with no special include directory.
13618 for ac_dir
in $ac_x_header_dirs; do
13619 if test -r "$ac_dir/X11/Xlib.h"; then
13620 ac_x_includes
=$ac_dir
13625 rm -f conftest.err conftest.i conftest.
$ac_ext
13626 fi # $ac_x_includes = no
13628 if test "$ac_x_libraries" = no
; then
13629 # Check for the libraries.
13630 # See if we find them without any special options.
13631 # Don't add to $LIBS permanently.
13634 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13635 /* end confdefs.h. */
13636 #include <X11/Xlib.h>
13645 if ac_fn_c_try_link
"$LINENO"
13648 # We can link X programs with no special library path.
13652 for ac_dir
in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13654 # Don't even attempt the hair of trying to link an X program!
13655 for ac_extension
in a so sl dylib la dll
; do
13656 if test -r "$ac_dir/libX11.$ac_extension"; then
13657 ac_x_libraries
=$ac_dir
13663 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13664 conftest
$ac_exeext conftest.
$ac_ext
13665 fi # $ac_x_libraries = no
13668 # Record the results.
13669 case $ac_x_includes,$ac_x_libraries in #(
13670 no
,* |
*,no |
*\'*) :
13671 # Didn't find X, or a directory has "'" in its name.
13672 ac_cv_have_x
="have_x=no" ;; #(
13674 # Record where we found X for the cache.
13675 ac_cv_have_x
="have_x=yes\
13676 ac_x_includes='$ac_x_includes'\
13677 ac_x_libraries='$ac_x_libraries'" ;;
13683 eval "$ac_cv_have_x"
13686 if test "$have_x" != yes; then
13687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13688 printf "%s\n" "$have_x" >&6; }
13691 # If each of the values was on the command line, it overrides each guess.
13692 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
13693 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
13694 # Update the cache value to reflect the command line values.
13695 ac_cv_have_x
="have_x=yes\
13696 ac_x_includes='$x_includes'\
13697 ac_x_libraries='$x_libraries'"
13698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13699 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13702 if test "$no_x" = yes; then
13703 # Not all programs may use this symbol, but it does not hurt to define it.
13705 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13707 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
13709 if test -n "$x_includes"; then
13710 X_CFLAGS
="$X_CFLAGS -I$x_includes"
13713 # It would also be nice to do this for all -L options, not just this one.
13714 if test -n "$x_libraries"; then
13715 X_LIBS
="$X_LIBS -L$x_libraries"
13716 # For Solaris; some versions of Sun CC require a space after -R and
13717 # others require no space. Words are not sufficient . . . .
13718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13719 printf %s
"checking whether -R must be followed by a space... " >&6; }
13720 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
13721 ac_xsave_c_werror_flag
=$ac_c_werror_flag
13722 ac_c_werror_flag
=yes
13723 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13724 /* end confdefs.h. */
13734 if ac_fn_c_try_link
"$LINENO"
13736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13737 printf "%s\n" "no" >&6; }
13738 X_LIBS
="$X_LIBS -R$x_libraries"
13740 LIBS
="$ac_xsave_LIBS -R $x_libraries"
13741 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13742 /* end confdefs.h. */
13752 if ac_fn_c_try_link
"$LINENO"
13754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13755 printf "%s\n" "yes" >&6; }
13756 X_LIBS
="$X_LIBS -R $x_libraries"
13758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13759 printf "%s\n" "neither works" >&6; }
13761 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13762 conftest
$ac_exeext conftest.
$ac_ext
13764 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13765 conftest
$ac_exeext conftest.
$ac_ext
13766 ac_c_werror_flag
=$ac_xsave_c_werror_flag
13767 LIBS
=$ac_xsave_LIBS
13770 # Check for system-dependent libraries X programs must link with.
13771 # Do this before checking for the system-independent R6 libraries
13772 # (-lICE), since we may need -lsocket or whatever for X linking.
13774 if test "$ISC" = yes; then
13775 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
13777 # Martyn Johnson says this is needed for Ultrix, if the X
13778 # libraries were built with DECnet support. And Karl Berry says
13779 # the Alpha needs dnet_stub (dnet does not exist).
13780 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
13781 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13782 /* end confdefs.h. */
13784 /* Override any GCC internal prototype to avoid an error.
13785 Use char because int might match the return type of a GCC
13786 builtin and then its argument prototype would still apply. */
13787 char XOpenDisplay ();
13791 return XOpenDisplay ();
13796 if ac_fn_c_try_link
"$LINENO"
13800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13801 printf %s
"checking for dnet_ntoa in -ldnet... " >&6; }
13802 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13804 printf %s
"(cached) " >&6
13806 ac_check_lib_save_LIBS
=$LIBS
13807 LIBS
="-ldnet $LIBS"
13808 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13809 /* end confdefs.h. */
13811 /* Override any GCC internal prototype to avoid an error.
13812 Use char because int might match the return type of a GCC
13813 builtin and then its argument prototype would still apply. */
13818 return dnet_ntoa ();
13823 if ac_fn_c_try_link
"$LINENO"
13825 ac_cv_lib_dnet_dnet_ntoa
=yes
13827 ac_cv_lib_dnet_dnet_ntoa
=no
13829 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13830 conftest
$ac_exeext conftest.
$ac_ext
13831 LIBS
=$ac_check_lib_save_LIBS
13833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13834 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13835 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13837 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
13840 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
13841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13842 printf %s
"checking for dnet_ntoa in -ldnet_stub... " >&6; }
13843 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
13845 printf %s
"(cached) " >&6
13847 ac_check_lib_save_LIBS
=$LIBS
13848 LIBS
="-ldnet_stub $LIBS"
13849 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13850 /* end confdefs.h. */
13852 /* Override any GCC internal prototype to avoid an error.
13853 Use char because int might match the return type of a GCC
13854 builtin and then its argument prototype would still apply. */
13859 return dnet_ntoa ();
13864 if ac_fn_c_try_link
"$LINENO"
13866 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
13868 ac_cv_lib_dnet_stub_dnet_ntoa
=no
13870 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13871 conftest
$ac_exeext conftest.
$ac_ext
13872 LIBS
=$ac_check_lib_save_LIBS
13874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
13875 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
13876 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
13878 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
13883 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13884 conftest
$ac_exeext conftest.
$ac_ext
13885 LIBS
="$ac_xsave_LIBS"
13887 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13888 # to get the SysV transport functions.
13889 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
13891 # The nsl library prevents programs from opening the X display
13892 # on Irix 5.2, according to T.E. Dickey.
13893 # The functions gethostbyname, getservbyname, and inet_addr are
13894 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
13895 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
13896 if test "x$ac_cv_func_gethostbyname" = xyes
13901 if test $ac_cv_func_gethostbyname = no
; then
13902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
13903 printf %s
"checking for gethostbyname in -lnsl... " >&6; }
13904 if test ${ac_cv_lib_nsl_gethostbyname+y}
13906 printf %s
"(cached) " >&6
13908 ac_check_lib_save_LIBS
=$LIBS
13910 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13911 /* end confdefs.h. */
13913 /* Override any GCC internal prototype to avoid an error.
13914 Use char because int might match the return type of a GCC
13915 builtin and then its argument prototype would still apply. */
13916 char gethostbyname ();
13920 return gethostbyname ();
13925 if ac_fn_c_try_link
"$LINENO"
13927 ac_cv_lib_nsl_gethostbyname
=yes
13929 ac_cv_lib_nsl_gethostbyname
=no
13931 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13932 conftest
$ac_exeext conftest.
$ac_ext
13933 LIBS
=$ac_check_lib_save_LIBS
13935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
13936 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
13937 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
13939 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
13942 if test $ac_cv_lib_nsl_gethostbyname = no
; then
13943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
13944 printf %s
"checking for gethostbyname in -lbsd... " >&6; }
13945 if test ${ac_cv_lib_bsd_gethostbyname+y}
13947 printf %s
"(cached) " >&6
13949 ac_check_lib_save_LIBS
=$LIBS
13951 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13952 /* end confdefs.h. */
13954 /* Override any GCC internal prototype to avoid an error.
13955 Use char because int might match the return type of a GCC
13956 builtin and then its argument prototype would still apply. */
13957 char gethostbyname ();
13961 return gethostbyname ();
13966 if ac_fn_c_try_link
"$LINENO"
13968 ac_cv_lib_bsd_gethostbyname
=yes
13970 ac_cv_lib_bsd_gethostbyname
=no
13972 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13973 conftest
$ac_exeext conftest.
$ac_ext
13974 LIBS
=$ac_check_lib_save_LIBS
13976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
13977 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
13978 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
13980 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
13986 # lieder@skyler.mavd.honeywell.com says without -lsocket,
13987 # socket/setsockopt and other routines are undefined under SCO ODT
13988 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
13989 # on later versions), says Simon Leinen: it contains gethostby*
13990 # variants that don't use the name server (or something). -lsocket
13991 # must be given before -lnsl if both are needed. We assume that
13992 # if connect needs -lnsl, so does gethostbyname.
13993 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
13994 if test "x$ac_cv_func_connect" = xyes
13999 if test $ac_cv_func_connect = no
; then
14000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14001 printf %s
"checking for connect in -lsocket... " >&6; }
14002 if test ${ac_cv_lib_socket_connect+y}
14004 printf %s
"(cached) " >&6
14006 ac_check_lib_save_LIBS
=$LIBS
14007 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
14008 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14009 /* end confdefs.h. */
14011 /* Override any GCC internal prototype to avoid an error.
14012 Use char because int might match the return type of a GCC
14013 builtin and then its argument prototype would still apply. */
14023 if ac_fn_c_try_link
"$LINENO"
14025 ac_cv_lib_socket_connect
=yes
14027 ac_cv_lib_socket_connect
=no
14029 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14030 conftest
$ac_exeext conftest.
$ac_ext
14031 LIBS
=$ac_check_lib_save_LIBS
14033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14034 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14035 if test "x$ac_cv_lib_socket_connect" = xyes
14037 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
14042 # Guillermo Gomez says -lposix is necessary on A/UX.
14043 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
14044 if test "x$ac_cv_func_remove" = xyes
14049 if test $ac_cv_func_remove = no
; then
14050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14051 printf %s
"checking for remove in -lposix... " >&6; }
14052 if test ${ac_cv_lib_posix_remove+y}
14054 printf %s
"(cached) " >&6
14056 ac_check_lib_save_LIBS
=$LIBS
14057 LIBS
="-lposix $LIBS"
14058 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14059 /* end confdefs.h. */
14061 /* Override any GCC internal prototype to avoid an error.
14062 Use char because int might match the return type of a GCC
14063 builtin and then its argument prototype would still apply. */
14073 if ac_fn_c_try_link
"$LINENO"
14075 ac_cv_lib_posix_remove
=yes
14077 ac_cv_lib_posix_remove
=no
14079 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14080 conftest
$ac_exeext conftest.
$ac_ext
14081 LIBS
=$ac_check_lib_save_LIBS
14083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14084 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14085 if test "x$ac_cv_lib_posix_remove" = xyes
14087 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
14092 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14093 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
14094 if test "x$ac_cv_func_shmat" = xyes
14099 if test $ac_cv_func_shmat = no
; then
14100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14101 printf %s
"checking for shmat in -lipc... " >&6; }
14102 if test ${ac_cv_lib_ipc_shmat+y}
14104 printf %s
"(cached) " >&6
14106 ac_check_lib_save_LIBS
=$LIBS
14108 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14109 /* end confdefs.h. */
14111 /* Override any GCC internal prototype to avoid an error.
14112 Use char because int might match the return type of a GCC
14113 builtin and then its argument prototype would still apply. */
14123 if ac_fn_c_try_link
"$LINENO"
14125 ac_cv_lib_ipc_shmat
=yes
14127 ac_cv_lib_ipc_shmat
=no
14129 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14130 conftest
$ac_exeext conftest.
$ac_ext
14131 LIBS
=$ac_check_lib_save_LIBS
14133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14134 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14135 if test "x$ac_cv_lib_ipc_shmat" = xyes
14137 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
14143 # Check for libraries that X11R6 Xt/Xaw programs need.
14144 ac_save_LDFLAGS
=$LDFLAGS
14145 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
14146 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14147 # check for ICE first), but we must link in the order -lSM -lICE or
14148 # we get undefined symbols. So assume we have SM if we have ICE.
14149 # These have to be linked with before -lX11, unlike the other
14150 # libraries we check for below, so use a different variable.
14151 # John Interrante, Karl Berry
14152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14153 printf %s
"checking for IceConnectionNumber in -lICE... " >&6; }
14154 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14156 printf %s
"(cached) " >&6
14158 ac_check_lib_save_LIBS
=$LIBS
14159 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
14160 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14161 /* end confdefs.h. */
14163 /* Override any GCC internal prototype to avoid an error.
14164 Use char because int might match the return type of a GCC
14165 builtin and then its argument prototype would still apply. */
14166 char IceConnectionNumber ();
14170 return IceConnectionNumber ();
14175 if ac_fn_c_try_link
"$LINENO"
14177 ac_cv_lib_ICE_IceConnectionNumber
=yes
14179 ac_cv_lib_ICE_IceConnectionNumber
=no
14181 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14182 conftest
$ac_exeext conftest.
$ac_ext
14183 LIBS
=$ac_check_lib_save_LIBS
14185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14186 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14187 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14189 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
14192 LDFLAGS
=$ac_save_LDFLAGS
14197 if test "$have_x" = "yes"
14199 ac_save_CPPFLAGS
="$CPPFLAGS"
14200 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
14202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14203 printf %s
"checking for -lX11... " >&6; }
14204 if test ${ac_cv_lib_soname_X11+y}
14206 printf %s
"(cached) " >&6
14208 ac_check_soname_save_LIBS
=$LIBS
14209 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14210 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14211 /* end confdefs.h. */
14213 /* Override any GCC internal prototype to avoid an error.
14214 Use char because int might match the return type of a GCC
14215 builtin and then its argument prototype would still apply. */
14216 char XCreateWindow ();
14220 return XCreateWindow ();
14225 if ac_fn_c_try_link
"$LINENO"
14228 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14229 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'` ;;
14230 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14231 if ${ac_cv_lib_soname_X11:+false} :
14233 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14237 ac_cv_lib_soname_X11
=
14239 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14240 conftest
$ac_exeext conftest.
$ac_ext
14241 LIBS
=$ac_check_soname_save_LIBS
14243 if ${ac_cv_lib_soname_X11:+false} :
14245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14246 printf "%s\n" "not found" >&6; }
14249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14250 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14252 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14257 printf %s
"checking for -lXext... " >&6; }
14258 if test ${ac_cv_lib_soname_Xext+y}
14260 printf %s
"(cached) " >&6
14262 ac_check_soname_save_LIBS
=$LIBS
14263 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14264 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14265 /* end confdefs.h. */
14267 /* Override any GCC internal prototype to avoid an error.
14268 Use char because int might match the return type of a GCC
14269 builtin and then its argument prototype would still apply. */
14270 char XextCreateExtension ();
14274 return XextCreateExtension ();
14279 if ac_fn_c_try_link
"$LINENO"
14282 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14283 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'` ;;
14284 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14285 if ${ac_cv_lib_soname_Xext:+false} :
14287 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14291 ac_cv_lib_soname_Xext
=
14293 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14294 conftest
$ac_exeext conftest.
$ac_ext
14295 LIBS
=$ac_check_soname_save_LIBS
14297 if ${ac_cv_lib_soname_Xext:+false} :
14299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14300 printf "%s\n" "not found" >&6; }
14303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14304 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14306 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14308 X_LIBS
="$X_LIBS -lXext"
14310 X_LIBS
="$X_LIBS -lX11"
14312 ac_fn_c_check_header_compile
"$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
14313 # include <X11/Xlib.h>
14315 #ifdef HAVE_X11_XUTIL_H
14316 # include <X11/Xutil.h>
14319 if test "x$ac_cv_header_X11_Xlib_h" = xyes
14321 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14324 ac_fn_c_check_header_compile
"$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
14325 # include <X11/Xlib.h>
14327 #ifdef HAVE_X11_XUTIL_H
14328 # include <X11/Xutil.h>
14331 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
14333 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14336 ac_fn_c_check_header_compile
"$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
14337 # include <X11/Xlib.h>
14339 #ifdef HAVE_X11_XUTIL_H
14340 # include <X11/Xutil.h>
14343 if test "x$ac_cv_header_X11_Xutil_h" = xyes
14345 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14348 ac_fn_c_check_header_compile
"$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
14349 # include <X11/Xlib.h>
14351 #ifdef HAVE_X11_XUTIL_H
14352 # include <X11/Xutil.h>
14355 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14357 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14360 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
14361 # include <X11/Xlib.h>
14363 #ifdef HAVE_X11_XUTIL_H
14364 # include <X11/Xutil.h>
14367 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14369 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14372 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
14373 # include <X11/Xlib.h>
14375 #ifdef HAVE_X11_XUTIL_H
14376 # include <X11/Xutil.h>
14379 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14381 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14384 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
14385 # include <X11/Xlib.h>
14387 #ifdef HAVE_X11_XUTIL_H
14388 # include <X11/Xutil.h>
14391 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14393 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14396 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
14397 # include <X11/Xlib.h>
14399 #ifdef HAVE_X11_XUTIL_H
14400 # include <X11/Xutil.h>
14403 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14405 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14408 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
14409 # include <X11/Xlib.h>
14411 #ifdef HAVE_X11_XUTIL_H
14412 # include <X11/Xutil.h>
14415 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
14417 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14420 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
14421 # include <X11/Xlib.h>
14423 #ifdef HAVE_X11_XUTIL_H
14424 # include <X11/Xutil.h>
14427 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14429 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14432 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
14433 # include <X11/Xlib.h>
14435 #ifdef HAVE_X11_XUTIL_H
14436 # include <X11/Xutil.h>
14439 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14441 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14444 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
14445 # include <X11/Xlib.h>
14447 #ifdef HAVE_X11_XUTIL_H
14448 # include <X11/Xutil.h>
14451 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14453 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14456 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
14457 # include <X11/Xlib.h>
14459 #ifdef HAVE_X11_XUTIL_H
14460 # include <X11/Xutil.h>
14463 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14465 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14468 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
14469 # include <X11/Xlib.h>
14471 #ifdef HAVE_X11_XUTIL_H
14472 # include <X11/Xutil.h>
14475 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14477 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14480 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
14481 # include <X11/Xlib.h>
14483 #ifdef HAVE_X11_XUTIL_H
14484 # include <X11/Xutil.h>
14487 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14489 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14494 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
14496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
14497 printf %s
"checking for XkbQueryExtension in -lX11... " >&6; }
14498 if test ${ac_cv_lib_X11_XkbQueryExtension+y}
14500 printf %s
"(cached) " >&6
14502 ac_check_lib_save_LIBS
=$LIBS
14503 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14504 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14505 /* end confdefs.h. */
14507 /* Override any GCC internal prototype to avoid an error.
14508 Use char because int might match the return type of a GCC
14509 builtin and then its argument prototype would still apply. */
14510 char XkbQueryExtension ();
14514 return XkbQueryExtension ();
14519 if ac_fn_c_try_link
"$LINENO"
14521 ac_cv_lib_X11_XkbQueryExtension
=yes
14523 ac_cv_lib_X11_XkbQueryExtension
=no
14525 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14526 conftest
$ac_exeext conftest.
$ac_ext
14527 LIBS
=$ac_check_lib_save_LIBS
14529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
14530 printf "%s\n" "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
14531 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
14534 printf "%s\n" "#define HAVE_XKB 1" >>confdefs.h
14540 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14543 printf %s
"checking for -lXcursor... " >&6; }
14544 if test ${ac_cv_lib_soname_Xcursor+y}
14546 printf %s
"(cached) " >&6
14548 ac_check_soname_save_LIBS
=$LIBS
14549 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14550 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14551 /* end confdefs.h. */
14553 /* Override any GCC internal prototype to avoid an error.
14554 Use char because int might match the return type of a GCC
14555 builtin and then its argument prototype would still apply. */
14556 char XcursorImageLoadCursor ();
14560 return XcursorImageLoadCursor ();
14565 if ac_fn_c_try_link
"$LINENO"
14568 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14569 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'` ;;
14570 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14571 if ${ac_cv_lib_soname_Xcursor:+false} :
14573 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14577 ac_cv_lib_soname_Xcursor
=
14579 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14580 conftest
$ac_exeext conftest.
$ac_ext
14581 LIBS
=$ac_check_soname_save_LIBS
14583 if ${ac_cv_lib_soname_Xcursor:+false} :
14585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14586 printf "%s\n" "not found" >&6; }
14589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14590 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14592 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14597 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14599 case "x$with_xcursor" in
14600 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14602 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14603 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14608 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14611 printf %s
"checking for -lXi... " >&6; }
14612 if test ${ac_cv_lib_soname_Xi+y}
14614 printf %s
"(cached) " >&6
14616 ac_check_soname_save_LIBS
=$LIBS
14617 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14618 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14619 /* end confdefs.h. */
14621 /* Override any GCC internal prototype to avoid an error.
14622 Use char because int might match the return type of a GCC
14623 builtin and then its argument prototype would still apply. */
14624 char XOpenDevice ();
14628 return XOpenDevice ();
14633 if ac_fn_c_try_link
"$LINENO"
14636 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14637 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'` ;;
14638 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14639 if ${ac_cv_lib_soname_Xi:+false} :
14641 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14645 ac_cv_lib_soname_Xi
=
14647 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14648 conftest
$ac_exeext conftest.
$ac_ext
14649 LIBS
=$ac_check_soname_save_LIBS
14651 if ${ac_cv_lib_soname_Xi:+false} :
14653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14654 printf "%s\n" "not found" >&6; }
14657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14658 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14660 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14665 if test "x$ac_cv_lib_soname_Xi" = "x"
14667 case "x$with_xinput" in
14668 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14670 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14671 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14676 if test "x$ac_cv_lib_soname_Xi" != x
14678 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14680 case "x$with_xinput2" in
14681 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14683 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
14684 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14690 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14693 printf %s
"checking for XShmQueryExtension in -lXext... " >&6; }
14694 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14696 printf %s
"(cached) " >&6
14698 ac_check_lib_save_LIBS
=$LIBS
14699 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14700 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14701 /* end confdefs.h. */
14703 /* Override any GCC internal prototype to avoid an error.
14704 Use char because int might match the return type of a GCC
14705 builtin and then its argument prototype would still apply. */
14706 char XShmQueryExtension ();
14710 return XShmQueryExtension ();
14715 if ac_fn_c_try_link
"$LINENO"
14717 ac_cv_lib_Xext_XShmQueryExtension
=yes
14719 ac_cv_lib_Xext_XShmQueryExtension
=no
14721 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14722 conftest
$ac_exeext conftest.
$ac_ext
14723 LIBS
=$ac_check_lib_save_LIBS
14725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14726 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14727 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14730 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14735 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14737 case "x$with_xshm" in
14738 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14740 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14741 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14746 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14749 printf %s
"checking for XShapeQueryExtension in -lXext... " >&6; }
14750 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14752 printf %s
"(cached) " >&6
14754 ac_check_lib_save_LIBS
=$LIBS
14755 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14756 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14757 /* end confdefs.h. */
14759 /* Override any GCC internal prototype to avoid an error.
14760 Use char because int might match the return type of a GCC
14761 builtin and then its argument prototype would still apply. */
14762 char XShapeQueryExtension ();
14766 return XShapeQueryExtension ();
14771 if ac_fn_c_try_link
"$LINENO"
14773 ac_cv_lib_Xext_XShapeQueryExtension
=yes
14775 ac_cv_lib_Xext_XShapeQueryExtension
=no
14777 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14778 conftest
$ac_exeext conftest.
$ac_ext
14779 LIBS
=$ac_check_lib_save_LIBS
14781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14782 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14783 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14786 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14791 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14793 case "x$with_xshape" in
14794 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14796 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
14797 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14802 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14805 printf %s
"checking for -lXxf86vm... " >&6; }
14806 if test ${ac_cv_lib_soname_Xxf86vm+y}
14808 printf %s
"(cached) " >&6
14810 ac_check_soname_save_LIBS
=$LIBS
14811 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14812 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14813 /* end confdefs.h. */
14815 /* Override any GCC internal prototype to avoid an error.
14816 Use char because int might match the return type of a GCC
14817 builtin and then its argument prototype would still apply. */
14818 char XF86VidModeQueryExtension ();
14822 return XF86VidModeQueryExtension ();
14827 if ac_fn_c_try_link
"$LINENO"
14830 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14831 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'` ;;
14832 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14833 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14835 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14839 ac_cv_lib_soname_Xxf86vm
=
14841 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14842 conftest
$ac_exeext conftest.
$ac_ext
14843 LIBS
=$ac_check_soname_save_LIBS
14845 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14848 printf "%s\n" "not found" >&6; }
14851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
14852 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
14854 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
14859 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
14861 case "x$with_xxf86vm" in
14862 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
14864 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
14865 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
14870 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
14872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
14873 printf %s
"checking for -lXrender... " >&6; }
14874 if test ${ac_cv_lib_soname_Xrender+y}
14876 printf %s
"(cached) " >&6
14878 ac_check_soname_save_LIBS
=$LIBS
14879 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14880 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14881 /* end confdefs.h. */
14883 /* Override any GCC internal prototype to avoid an error.
14884 Use char because int might match the return type of a GCC
14885 builtin and then its argument prototype would still apply. */
14886 char XRenderQueryExtension ();
14890 return XRenderQueryExtension ();
14895 if ac_fn_c_try_link
"$LINENO"
14898 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14899 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'` ;;
14900 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14901 if ${ac_cv_lib_soname_Xrender:+false} :
14903 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14907 ac_cv_lib_soname_Xrender
=
14909 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14910 conftest
$ac_exeext conftest.
$ac_ext
14911 LIBS
=$ac_check_soname_save_LIBS
14913 if ${ac_cv_lib_soname_Xrender:+false} :
14915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14916 printf "%s\n" "not found" >&6; }
14919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
14920 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
14922 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
14924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
14925 printf %s
"checking for XRenderSetPictureTransform in -lXrender... " >&6; }
14926 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
14928 printf %s
"(cached) " >&6
14930 ac_check_lib_save_LIBS
=$LIBS
14931 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14932 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14933 /* end confdefs.h. */
14935 /* Override any GCC internal prototype to avoid an error.
14936 Use char because int might match the return type of a GCC
14937 builtin and then its argument prototype would still apply. */
14938 char XRenderSetPictureTransform ();
14942 return XRenderSetPictureTransform ();
14947 if ac_fn_c_try_link
"$LINENO"
14949 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
14951 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
14953 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14954 conftest
$ac_exeext conftest.
$ac_ext
14955 LIBS
=$ac_check_lib_save_LIBS
14957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
14958 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
14959 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
14962 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
14966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
14967 printf %s
"checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
14968 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
14970 printf %s
"(cached) " >&6
14972 ac_check_lib_save_LIBS
=$LIBS
14973 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14974 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14975 /* end confdefs.h. */
14977 /* Override any GCC internal prototype to avoid an error.
14978 Use char because int might match the return type of a GCC
14979 builtin and then its argument prototype would still apply. */
14980 char XRenderCreateLinearGradient ();
14984 return XRenderCreateLinearGradient ();
14989 if ac_fn_c_try_link
"$LINENO"
14991 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
14993 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
14995 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14996 conftest
$ac_exeext conftest.
$ac_ext
14997 LIBS
=$ac_check_lib_save_LIBS
14999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15000 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15001 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15004 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15011 if test "x$ac_cv_lib_soname_Xrender" = "x"
15013 case "x$with_xrender" in
15014 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15016 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
15017 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15022 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15024 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15025 /* end confdefs.h. */
15026 #include <X11/Xlib.h>
15027 #include <X11/extensions/Xrandr.h>
15031 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15036 if ac_fn_c_try_compile
"$LINENO"
15038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15039 printf %s
"checking for -lXrandr... " >&6; }
15040 if test ${ac_cv_lib_soname_Xrandr+y}
15042 printf %s
"(cached) " >&6
15044 ac_check_soname_save_LIBS
=$LIBS
15045 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15046 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15047 /* end confdefs.h. */
15049 /* Override any GCC internal prototype to avoid an error.
15050 Use char because int might match the return type of a GCC
15051 builtin and then its argument prototype would still apply. */
15052 char XRRQueryExtension ();
15056 return XRRQueryExtension ();
15061 if ac_fn_c_try_link
"$LINENO"
15064 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15065 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'` ;;
15066 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15067 if ${ac_cv_lib_soname_Xrandr:+false} :
15069 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15073 ac_cv_lib_soname_Xrandr
=
15075 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15076 conftest
$ac_exeext conftest.
$ac_ext
15077 LIBS
=$ac_check_soname_save_LIBS
15079 if ${ac_cv_lib_soname_Xrandr:+false} :
15081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15082 printf "%s\n" "not found" >&6; }
15085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15086 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15088 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15090 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15091 /* end confdefs.h. */
15092 #include <X11/Xlib.h>
15093 #include <X11/extensions/Xrandr.h>
15097 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15102 if ac_fn_c_try_compile
"$LINENO"
15105 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15108 as_fn_append wine_notices
"|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15110 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15113 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15115 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15117 case "x$with_xrandr" in
15118 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15120 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15121 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15126 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15129 /* end confdefs.h. */
15130 #include <X11/Xlib.h>
15131 #include <X11/extensions/Xfixes.h>
15135 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15140 if ac_fn_c_try_compile
"$LINENO"
15142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15143 printf %s
"checking for -lXfixes... " >&6; }
15144 if test ${ac_cv_lib_soname_Xfixes+y}
15146 printf %s
"(cached) " >&6
15148 ac_check_soname_save_LIBS
=$LIBS
15149 LIBS
="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15150 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15151 /* end confdefs.h. */
15153 /* Override any GCC internal prototype to avoid an error.
15154 Use char because int might match the return type of a GCC
15155 builtin and then its argument prototype would still apply. */
15156 char XFixesQueryVersion ();
15160 return XFixesQueryVersion ();
15165 if ac_fn_c_try_link
"$LINENO"
15168 dll
) ac_cv_lib_soname_Xfixes
=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15169 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'` ;;
15170 *) ac_cv_lib_soname_Xfixes
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15171 if ${ac_cv_lib_soname_Xfixes:+false} :
15173 ac_cv_lib_soname_Xfixes
=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15177 ac_cv_lib_soname_Xfixes
=
15179 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15180 conftest
$ac_exeext conftest.
$ac_ext
15181 LIBS
=$ac_check_soname_save_LIBS
15183 if ${ac_cv_lib_soname_Xfixes:+false} :
15185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15186 printf "%s\n" "not found" >&6; }
15189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15190 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15192 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15197 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15199 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15201 case "x$with_xfixes" in
15202 x
) as_fn_append wine_notices
"|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15204 *) as_fn_error $?
"libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15205 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15210 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15212 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15213 /* end confdefs.h. */
15214 #include <X11/Xlib.h>
15215 #include <X11/extensions/Xinerama.h>
15219 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15224 if ac_fn_c_try_compile
"$LINENO"
15226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15227 printf %s
"checking for -lXinerama... " >&6; }
15228 if test ${ac_cv_lib_soname_Xinerama+y}
15230 printf %s
"(cached) " >&6
15232 ac_check_soname_save_LIBS
=$LIBS
15233 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15234 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15235 /* end confdefs.h. */
15237 /* Override any GCC internal prototype to avoid an error.
15238 Use char because int might match the return type of a GCC
15239 builtin and then its argument prototype would still apply. */
15240 char XineramaQueryScreens ();
15244 return XineramaQueryScreens ();
15249 if ac_fn_c_try_link
"$LINENO"
15252 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15253 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'` ;;
15254 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15255 if ${ac_cv_lib_soname_Xinerama:+false} :
15257 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15261 ac_cv_lib_soname_Xinerama
=
15263 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15264 conftest
$ac_exeext conftest.
$ac_ext
15265 LIBS
=$ac_check_soname_save_LIBS
15267 if ${ac_cv_lib_soname_Xinerama:+false} :
15269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15270 printf "%s\n" "not found" >&6; }
15273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15274 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15276 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15281 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15283 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15285 case "x$with_xinerama" in
15286 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15288 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15289 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15294 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15297 printf %s
"checking for -lXcomposite... " >&6; }
15298 if test ${ac_cv_lib_soname_Xcomposite+y}
15300 printf %s
"(cached) " >&6
15302 ac_check_soname_save_LIBS
=$LIBS
15303 LIBS
="-lXcomposite $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 XCompositeRedirectWindow ();
15314 return XCompositeRedirectWindow ();
15319 if ac_fn_c_try_link
"$LINENO"
15322 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15323 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'` ;;
15324 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15325 if ${ac_cv_lib_soname_Xcomposite:+false} :
15327 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15331 ac_cv_lib_soname_Xcomposite
=
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_Xcomposite:+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_Xcomposite" >&5
15344 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15346 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15351 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15353 case "x$with_xcomposite" in
15354 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15356 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15357 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15362 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
15363 #include <X11/Xlib.h>
15366 if test "x$ac_cv_member_XICCallback_callback" = xyes
15369 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15373 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15374 #include <X11/Xlib.h>
15377 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15380 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15388 if test "x$with_opengl" != "xno"
15390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15391 printf %s
"checking for -lGL... " >&6; }
15392 if test ${ac_cv_lib_soname_GL+y}
15394 printf %s
"(cached) " >&6
15396 ac_check_soname_save_LIBS
=$LIBS
15397 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15398 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15399 /* end confdefs.h. */
15401 /* Override any GCC internal prototype to avoid an error.
15402 Use char because int might match the return type of a GCC
15403 builtin and then its argument prototype would still apply. */
15404 char glXCreateContext ();
15408 return glXCreateContext ();
15413 if ac_fn_c_try_link
"$LINENO"
15416 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15417 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'` ;;
15418 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15419 if ${ac_cv_lib_soname_GL:+false} :
15421 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15425 ac_cv_lib_soname_GL
=
15427 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15428 conftest
$ac_exeext conftest.
$ac_ext
15429 LIBS
=$ac_check_soname_save_LIBS
15431 if ${ac_cv_lib_soname_GL:+false} :
15433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15434 printf "%s\n" "not found" >&6; }
15435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15436 printf %s
"checking for -lGL... " >&6; }
15437 if test ${ac_cv_lib_soname_GL+y}
15439 printf %s
"(cached) " >&6
15441 ac_check_soname_save_LIBS
=$LIBS
15442 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"
15443 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15444 /* end confdefs.h. */
15446 /* Override any GCC internal prototype to avoid an error.
15447 Use char because int might match the return type of a GCC
15448 builtin and then its argument prototype would still apply. */
15449 char glXCreateContext ();
15453 return glXCreateContext ();
15458 if ac_fn_c_try_link
"$LINENO"
15461 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15462 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'` ;;
15463 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15464 if ${ac_cv_lib_soname_GL:+false} :
15466 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15470 ac_cv_lib_soname_GL
=
15472 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15473 conftest
$ac_exeext conftest.
$ac_ext
15474 LIBS
=$ac_check_soname_save_LIBS
15476 if ${ac_cv_lib_soname_GL:+false} :
15478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15479 printf "%s\n" "not found" >&6; }
15480 if test -f /usr
/X11R
6/lib
/libGL.a
15482 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
15483 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15485 opengl_msg
="No OpenGL library found on this system."
15488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15489 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15491 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15493 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"
15496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15497 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15499 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15503 if test "x$with_osmesa" != "xno"
15505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15506 printf %s
"checking for -lOSMesa... " >&6; }
15507 if test ${ac_cv_lib_soname_OSMesa+y}
15509 printf %s
"(cached) " >&6
15511 ac_check_soname_save_LIBS
=$LIBS
15512 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15513 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15514 /* end confdefs.h. */
15516 /* Override any GCC internal prototype to avoid an error.
15517 Use char because int might match the return type of a GCC
15518 builtin and then its argument prototype would still apply. */
15519 char OSMesaGetProcAddress ();
15523 return OSMesaGetProcAddress ();
15528 if ac_fn_c_try_link
"$LINENO"
15531 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15532 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'` ;;
15533 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15534 if ${ac_cv_lib_soname_OSMesa:+false} :
15536 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15540 ac_cv_lib_soname_OSMesa
=
15542 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15543 conftest
$ac_exeext conftest.
$ac_ext
15544 LIBS
=$ac_check_soname_save_LIBS
15546 if ${ac_cv_lib_soname_OSMesa:+false} :
15548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15549 printf "%s\n" "not found" >&6; }
15552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15553 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15555 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15559 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15561 case "x$with_osmesa" in
15562 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15564 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15565 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15571 if test -n "$opengl_msg"
15573 case "x$with_opengl" in
15574 x
) as_fn_append wine_warnings
"|$opengl_msg
15575 OpenGL and Direct3D won't be supported." ;;
15577 *) as_fn_error $?
"$opengl_msg
15578 OpenGL and Direct3D won't be supported.
15579 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15584 CPPFLAGS
="$ac_save_CPPFLAGS"
15590 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15592 if test "x$X_LIBS" = "x"
15596 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
15597 without X support, which probably isn't what you want. You will need
15598 to install ${notice_platform}development packages of Xlib at the very least.
15599 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15601 enable_winex11_drv
=${enable_winex11_drv:-no}
15604 if test "x$X_LIBS" = "x"
15607 x
) as_fn_append wine_notices
"|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15609 *) as_fn_error $?
"X ${notice_platform}development files not found, the X11 driver won't be supported.
15610 This is an error since --with-x was requested." "$LINENO" 5 ;;
15612 enable_winex11_drv
=${enable_winex11_drv:-no}
15616 if test "$ac_cv_header_CL_cl_h" = "yes"
15618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15619 printf %s
"checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15620 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15622 printf %s
"(cached) " >&6
15624 ac_check_lib_save_LIBS
=$LIBS
15625 LIBS
="-lOpenCL $LIBS"
15626 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15627 /* end confdefs.h. */
15629 /* Override any GCC internal prototype to avoid an error.
15630 Use char because int might match the return type of a GCC
15631 builtin and then its argument prototype would still apply. */
15632 char clGetPlatformInfo ();
15636 return clGetPlatformInfo ();
15641 if ac_fn_c_try_link
"$LINENO"
15643 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
15645 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
15647 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15648 conftest
$ac_exeext conftest.
$ac_ext
15649 LIBS
=$ac_check_lib_save_LIBS
15651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15652 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15653 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15655 OPENCL_LIBS
="-lOpenCL"
15660 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15662 case "x$with_opencl" in
15663 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15665 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15666 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15668 enable_opencl
=${enable_opencl:-no}
15671 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_init in -lpcap" >&5
15674 printf %s
"checking for pcap_init in -lpcap... " >&6; }
15675 if test ${ac_cv_lib_pcap_pcap_init+y}
15677 printf %s
"(cached) " >&6
15679 ac_check_lib_save_LIBS
=$LIBS
15680 LIBS
="-lpcap $LIBS"
15681 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15682 /* end confdefs.h. */
15684 /* Override any GCC internal prototype to avoid an error.
15685 Use char because int might match the return type of a GCC
15686 builtin and then its argument prototype would still apply. */
15691 return pcap_init ();
15696 if ac_fn_c_try_link
"$LINENO"
15698 ac_cv_lib_pcap_pcap_init
=yes
15700 ac_cv_lib_pcap_pcap_init
=no
15702 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15703 conftest
$ac_exeext conftest.
$ac_ext
15704 LIBS
=$ac_check_lib_save_LIBS
15706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_init" >&5
15707 printf "%s\n" "$ac_cv_lib_pcap_pcap_init" >&6; }
15708 if test "x$ac_cv_lib_pcap_pcap_init" = xyes
15715 if test "x$ac_cv_lib_pcap_pcap_init" != xyes
15717 case "x$with_pcap" in
15718 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15720 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
15721 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15723 enable_wpcap
=${enable_wpcap:-no}
15726 if test "x$with_pcsclite" != "xno"
15728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SCardEstablishContext in -lpcsclite" >&5
15729 printf %s
"checking for SCardEstablishContext in -lpcsclite... " >&6; }
15730 if test ${ac_cv_lib_pcsclite_SCardEstablishContext+y}
15732 printf %s
"(cached) " >&6
15734 ac_check_lib_save_LIBS
=$LIBS
15735 LIBS
="-lpcsclite $LIBS"
15736 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15737 /* end confdefs.h. */
15739 /* Override any GCC internal prototype to avoid an error.
15740 Use char because int might match the return type of a GCC
15741 builtin and then its argument prototype would still apply. */
15742 char SCardEstablishContext ();
15746 return SCardEstablishContext ();
15751 if ac_fn_c_try_link
"$LINENO"
15753 ac_cv_lib_pcsclite_SCardEstablishContext
=yes
15755 ac_cv_lib_pcsclite_SCardEstablishContext
=no
15757 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15758 conftest
$ac_exeext conftest.
$ac_ext
15759 LIBS
=$ac_check_lib_save_LIBS
15761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcsclite_SCardEstablishContext" >&5
15762 printf "%s\n" "$ac_cv_lib_pcsclite_SCardEstablishContext" >&6; }
15763 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" = xyes
15765 PCSCLITE_LIBS
="-lpcsclite"
15770 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" != xyes
15772 case "x$with_pcsclite" in
15773 x
) as_fn_append wine_notices
"|libpcsclite not found, smart cards won't be supported." ;;
15775 *) as_fn_error $?
"libpcsclite not found, smart cards won't be supported.
15776 This is an error since --with-pcsclite was requested." "$LINENO" 5 ;;
15778 enable_winscard
=${enable_winscard:-no}
15781 if test "x$with_inotify" != "xno"
15784 if ${INOTIFY_CFLAGS:+false} :
15786 if test ${PKG_CONFIG+y}
15788 INOTIFY_CFLAGS
=`$PKG_CONFIG --cflags libinotify 2>conftest.err`
15792 if ${INOTIFY_LIBS:+false} :
15794 if test ${PKG_CONFIG+y}
15796 INOTIFY_LIBS
=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15801 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15802 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15803 if test -s conftest.err
; then
15804 printf %s
"$as_me:${as_lineno-$LINENO}: libinotify errors: " >&5
15805 cat conftest.err
>&5
15808 ac_save_CPPFLAGS
=$CPPFLAGS
15809 CPPFLAGS
="$CPPFLAGS $INOTIFY_CFLAGS"
15810 ac_fn_c_check_header_compile
"$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15811 if test "x$ac_cv_header_sys_inotify_h" = xyes
15813 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15818 printf %s
"checking for inotify_add_watch in -linotify... " >&6; }
15819 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15821 printf %s
"(cached) " >&6
15823 ac_check_lib_save_LIBS
=$LIBS
15824 LIBS
="-linotify $INOTIFY_LIBS $LIBS"
15825 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15826 /* end confdefs.h. */
15828 /* Override any GCC internal prototype to avoid an error.
15829 Use char because int might match the return type of a GCC
15830 builtin and then its argument prototype would still apply. */
15831 char inotify_add_watch ();
15835 return inotify_add_watch ();
15840 if ac_fn_c_try_link
"$LINENO"
15842 ac_cv_lib_inotify_inotify_add_watch
=yes
15844 ac_cv_lib_inotify_inotify_add_watch
=no
15846 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15847 conftest
$ac_exeext conftest.
$ac_ext
15848 LIBS
=$ac_check_lib_save_LIBS
15850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15851 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
15852 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
15859 CPPFLAGS
=$ac_save_CPPFLAGS
15862 if test "$ac_cv_header_sys_inotify_h" != "yes"
15864 case "x$with_inotify" in
15865 x
) as_fn_append wine_notices
"|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
15867 *) as_fn_error $?
"libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
15868 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
15873 if test "x$with_dbus" != "xno"
15876 if ${DBUS_CFLAGS:+false} :
15878 if test ${PKG_CONFIG+y}
15880 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>conftest.err`
15884 if ${DBUS_LIBS:+false} :
15886 if test ${PKG_CONFIG+y}
15888 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
15893 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
15894 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
15895 if test -s conftest.err
; then
15896 printf %s
"$as_me:${as_lineno-$LINENO}: dbus-1 errors: " >&5
15897 cat conftest.err
>&5
15900 ac_save_CPPFLAGS
=$CPPFLAGS
15901 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
15902 ac_fn_c_check_header_compile
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
15903 if test "x$ac_cv_header_dbus_dbus_h" = xyes
15905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
15906 printf %s
"checking for -ldbus-1... " >&6; }
15907 if test ${ac_cv_lib_soname_dbus_1+y}
15909 printf %s
"(cached) " >&6
15911 ac_check_soname_save_LIBS
=$LIBS
15912 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
15913 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15914 /* end confdefs.h. */
15916 /* Override any GCC internal prototype to avoid an error.
15917 Use char because int might match the return type of a GCC
15918 builtin and then its argument prototype would still apply. */
15919 char dbus_connection_close ();
15923 return dbus_connection_close ();
15928 if ac_fn_c_try_link
"$LINENO"
15931 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15932 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'` ;;
15933 *) 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'`
15934 if ${ac_cv_lib_soname_dbus_1:+false} :
15936 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15940 ac_cv_lib_soname_dbus_1
=
15942 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15943 conftest
$ac_exeext conftest.
$ac_ext
15944 LIBS
=$ac_check_soname_save_LIBS
15946 if ${ac_cv_lib_soname_dbus_1:+false} :
15948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15949 printf "%s\n" "not found" >&6; }
15952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
15953 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
15955 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
15963 CPPFLAGS
=$ac_save_CPPFLAGS
15967 darwin
*|macosx
*) ;;
15968 *) if test "x$ac_cv_lib_soname_dbus_1" = "x"
15970 case "x$with_dbus" in
15971 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
15973 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
15974 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
15980 if test "x$with_gnutls" != "xno"
15983 if ${GNUTLS_CFLAGS:+false} :
15985 if test ${PKG_CONFIG+y}
15987 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>conftest.err`
15991 if ${GNUTLS_LIBS:+false} :
15993 if test ${PKG_CONFIG+y}
15995 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
15999 GNUTLS_LIBS
=${GNUTLS_LIBS:-"-lgnutls"}
16000 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16001 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16002 if test -s conftest.err
; then
16003 printf %s
"$as_me:${as_lineno-$LINENO}: gnutls errors: " >&5
16004 cat conftest.err
>&5
16007 ac_save_CPPFLAGS
=$CPPFLAGS
16008 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
16009 ac_fn_c_check_header_compile
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16010 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16012 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16013 /* end confdefs.h. */
16014 #include <gnutls/gnutls.h>
16015 #include <gnutls/crypto.h>
16019 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16024 if ac_fn_c_try_compile
"$LINENO"
16026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16027 printf %s
"checking for -lgnutls... " >&6; }
16028 if test ${ac_cv_lib_soname_gnutls+y}
16030 printf %s
"(cached) " >&6
16032 ac_check_soname_save_LIBS
=$LIBS
16033 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
16034 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16035 /* end confdefs.h. */
16037 /* Override any GCC internal prototype to avoid an error.
16038 Use char because int might match the return type of a GCC
16039 builtin and then its argument prototype would still apply. */
16040 char gnutls_global_init ();
16044 return gnutls_global_init ();
16049 if ac_fn_c_try_link
"$LINENO"
16052 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16053 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'` ;;
16054 *) 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'`
16055 if ${ac_cv_lib_soname_gnutls:+false} :
16057 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'`
16061 ac_cv_lib_soname_gnutls
=
16063 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16064 conftest
$ac_exeext conftest.
$ac_ext
16065 LIBS
=$ac_check_soname_save_LIBS
16067 if ${ac_cv_lib_soname_gnutls:+false} :
16069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16070 printf "%s\n" "not found" >&6; }
16073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16074 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16076 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16080 ac_wine_check_funcs_save_LIBS
="$LIBS"
16081 LIBS
="$LIBS $GNUTLS_LIBS"
16083 for ac_func
in gnutls_cipher_init
16085 ac_fn_c_check_func
"$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16086 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16088 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16091 as_fn_append wine_notices
"|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16095 LIBS
="$ac_wine_check_funcs_save_LIBS"
16097 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16102 CPPFLAGS
=$ac_save_CPPFLAGS
16105 if test "x$ac_cv_lib_soname_gnutls" = "x"
16107 case "x$with_gnutls" in
16108 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16110 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
16111 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16116 if test "x$with_sane" != "xno"
16119 if ${SANE_CFLAGS:+false} :
16121 if test ${PKG_CONFIG+y}
16123 SANE_CFLAGS
=`$PKG_CONFIG --cflags sane-backends 2>conftest.err`
16126 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16127 if ${SANE_LIBS:+false} :
16129 if test ${PKG_CONFIG+y}
16131 SANE_LIBS
=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16134 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16136 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16137 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16138 if test -s conftest.err
; then
16139 printf %s
"$as_me:${as_lineno-$LINENO}: sane-backends errors: " >&5
16140 cat conftest.err
>&5
16143 ac_save_CPPFLAGS
=$CPPFLAGS
16144 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
16145 ac_fn_c_check_header_compile
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16146 if test "x$ac_cv_header_sane_sane_h" = xyes
16148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16149 printf %s
"checking for sane_init in -lsane... " >&6; }
16150 if test ${ac_cv_lib_sane_sane_init+y}
16152 printf %s
"(cached) " >&6
16154 ac_check_lib_save_LIBS
=$LIBS
16155 LIBS
="-lsane $SANE_LIBS $LIBS"
16156 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16157 /* end confdefs.h. */
16159 /* Override any GCC internal prototype to avoid an error.
16160 Use char because int might match the return type of a GCC
16161 builtin and then its argument prototype would still apply. */
16166 return sane_init ();
16171 if ac_fn_c_try_link
"$LINENO"
16173 ac_cv_lib_sane_sane_init
=yes
16175 ac_cv_lib_sane_sane_init
=no
16177 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16178 conftest
$ac_exeext conftest.
$ac_ext
16179 LIBS
=$ac_check_lib_save_LIBS
16181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16182 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16183 if test "x$ac_cv_lib_sane_sane_init" = xyes
16190 CPPFLAGS
=$ac_save_CPPFLAGS
16193 if test "$ac_cv_lib_sane_sane_init" != "yes"
16195 case "x$with_sane" in
16196 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16198 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
16199 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16201 enable_sane_ds
=${enable_sane_ds:-no}
16204 if test "x$with_usb" != "xno"
16207 if ${USB_CFLAGS:+false} :
16209 if test ${PKG_CONFIG+y}
16211 USB_CFLAGS
=`$PKG_CONFIG --cflags libusb-1.0 2>conftest.err`
16215 if ${USB_LIBS:+false} :
16217 if test ${PKG_CONFIG+y}
16219 USB_LIBS
=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16223 USB_LIBS
=${USB_LIBS:-"-lusb-1.0"}
16224 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16225 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16226 if test -s conftest.err
; then
16227 printf %s
"$as_me:${as_lineno-$LINENO}: libusb-1.0 errors: " >&5
16228 cat conftest.err
>&5
16231 ac_save_CPPFLAGS
=$CPPFLAGS
16232 CPPFLAGS
="$CPPFLAGS $USB_CFLAGS"
16233 ac_fn_c_check_header_compile
"$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16234 if test "x$ac_cv_header_libusb_h" = xyes
16236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16237 printf %s
"checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16238 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16240 printf %s
"(cached) " >&6
16242 ac_check_lib_save_LIBS
=$LIBS
16243 LIBS
="-lusb-1.0 $USB_LIBS $LIBS"
16244 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16245 /* end confdefs.h. */
16247 /* Override any GCC internal prototype to avoid an error.
16248 Use char because int might match the return type of a GCC
16249 builtin and then its argument prototype would still apply. */
16250 char libusb_interrupt_event_handler ();
16254 return libusb_interrupt_event_handler ();
16259 if ac_fn_c_try_link
"$LINENO"
16261 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler
=yes
16263 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler
=no
16265 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16266 conftest
$ac_exeext conftest.
$ac_ext
16267 LIBS
=$ac_check_lib_save_LIBS
16269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16270 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16271 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16282 CPPFLAGS
=$ac_save_CPPFLAGS
16285 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16287 case "x$with_usb" in
16288 x
) as_fn_append wine_notices
"|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16290 *) as_fn_error $?
"libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16291 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16293 enable_wineusb_sys
=${enable_wineusb_sys:-no}
16296 if test "x$with_v4l2" != "xno"
16298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16299 printf %s
"checking for -lv4l2... " >&6; }
16300 if test ${ac_cv_lib_soname_v4l2+y}
16302 printf %s
"(cached) " >&6
16304 ac_check_soname_save_LIBS
=$LIBS
16305 LIBS
="-lv4l2 $LIBS"
16306 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16307 /* end confdefs.h. */
16309 /* Override any GCC internal prototype to avoid an error.
16310 Use char because int might match the return type of a GCC
16311 builtin and then its argument prototype would still apply. */
16316 return v4l2_open ();
16321 if ac_fn_c_try_link
"$LINENO"
16324 dll
) ac_cv_lib_soname_v4l2
=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16325 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'` ;;
16326 *) ac_cv_lib_soname_v4l2
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16327 if ${ac_cv_lib_soname_v4l2:+false} :
16329 ac_cv_lib_soname_v4l2
=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16333 ac_cv_lib_soname_v4l2
=
16335 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16336 conftest
$ac_exeext conftest.
$ac_ext
16337 LIBS
=$ac_check_soname_save_LIBS
16339 if ${ac_cv_lib_soname_v4l2:+false} :
16341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16342 printf "%s\n" "not found" >&6; }
16345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16346 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16348 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16353 if test "x$ac_cv_lib_soname_v4l2" = "x"
16355 case "x$with_v4l2" in
16356 x
) as_fn_append wine_notices
"|libv4l2 ${notice_platform}development files not found." ;;
16358 *) as_fn_error $?
"libv4l2 ${notice_platform}development files not found.
16359 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16364 if test "x$with_gphoto" != "xno"
16367 if ${GPHOTO2_CFLAGS:+false} :
16369 if test ${PKG_CONFIG+y}
16371 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>conftest.err`
16374 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16375 if ${GPHOTO2_LIBS:+false} :
16377 if test ${PKG_CONFIG+y}
16379 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16382 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16383 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
16384 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16385 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16386 if test -s conftest.err
; then
16387 printf %s
"$as_me:${as_lineno-$LINENO}: libgphoto2 errors: " >&5
16388 cat conftest.err
>&5
16391 ac_save_CPPFLAGS
=$CPPFLAGS
16392 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
16393 ac_fn_c_check_header_compile
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16394 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16397 printf %s
"checking for gp_camera_new in -lgphoto2... " >&6; }
16398 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16400 printf %s
"(cached) " >&6
16402 ac_check_lib_save_LIBS
=$LIBS
16403 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16404 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16405 /* end confdefs.h. */
16407 /* Override any GCC internal prototype to avoid an error.
16408 Use char because int might match the return type of a GCC
16409 builtin and then its argument prototype would still apply. */
16410 char gp_camera_new ();
16414 return gp_camera_new ();
16419 if ac_fn_c_try_link
"$LINENO"
16421 ac_cv_lib_gphoto2_gp_camera_new
=yes
16423 ac_cv_lib_gphoto2_gp_camera_new
=no
16425 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16426 conftest
$ac_exeext conftest.
$ac_ext
16427 LIBS
=$ac_check_lib_save_LIBS
16429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16430 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16431 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16438 CPPFLAGS
=$ac_save_CPPFLAGS
16441 if ${GPHOTO2_PORT_CFLAGS:+false} :
16443 if test ${PKG_CONFIG+y}
16445 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>conftest.err`
16448 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16449 if ${GPHOTO2_PORT_LIBS:+false} :
16451 if test ${PKG_CONFIG+y}
16453 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16456 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16457 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16458 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16459 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16460 if test -s conftest.err
; then
16461 printf %s
"$as_me:${as_lineno-$LINENO}: libgphoto2_port errors: " >&5
16462 cat conftest.err
>&5
16465 ac_save_CPPFLAGS
=$CPPFLAGS
16466 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16467 ac_fn_c_check_header_compile
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16468 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16471 printf %s
"checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16472 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16474 printf %s
"(cached) " >&6
16476 ac_check_lib_save_LIBS
=$LIBS
16477 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16478 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16479 /* end confdefs.h. */
16481 /* Override any GCC internal prototype to avoid an error.
16482 Use char because int might match the return type of a GCC
16483 builtin and then its argument prototype would still apply. */
16484 char gp_port_info_list_new ();
16488 return gp_port_info_list_new ();
16493 if ac_fn_c_try_link
"$LINENO"
16495 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
16497 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
16499 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16500 conftest
$ac_exeext conftest.
$ac_ext
16501 LIBS
=$ac_check_lib_save_LIBS
16503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16504 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16505 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16508 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16511 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
16515 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
16518 CPPFLAGS
=$ac_save_CPPFLAGS
16521 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16523 case "x$with_gphoto" in
16524 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16526 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16527 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16529 enable_gphoto2_ds
=${enable_gphoto2_ds:-no}
16531 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16533 case "x$with_gphoto" in
16534 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16536 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16537 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16543 if test "$ac_cv_header_resolv_h" = "yes"
16545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16546 printf %s
"checking for resolver library... " >&6; }
16547 if test ${ac_cv_have_resolv+y}
16549 printf %s
"(cached) " >&6
16551 ac_save_LIBS
="$LIBS"
16552 for lib
in '' -lresolv
16554 LIBS
="$lib $ac_save_LIBS"
16555 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16556 /* end confdefs.h. */
16557 #ifdef HAVE_NETINET_IN_H
16558 #include <netinet/in.h>
16560 #include <resolv.h>
16564 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16569 if ac_fn_c_try_link
"$LINENO"
16571 ac_cv_have_resolv
=${lib:-"none required"}
16573 ac_cv_have_resolv
="not found"
16575 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16576 conftest
$ac_exeext conftest.
$ac_ext
16577 test "x$ac_cv_have_resolv" = "xnot found" ||
break
16579 LIBS
="$ac_save_LIBS"
16581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16582 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16584 case "$ac_cv_have_resolv" in
16588 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16591 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16593 RESOLV_LIBS
=$ac_cv_have_resolv
16597 if test "x$ac_cv_have_resolv" != "xnot found"
16599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16600 printf %s
"checking for res_getservers... " >&6; }
16601 if test ${ac_cv_have_res_getservers+y}
16603 printf %s
"(cached) " >&6
16605 ac_save_LIBS
="$LIBS"
16606 LIBS
="$RESOLV_LIBS $LIBS"
16607 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16608 /* end confdefs.h. */
16609 #include <resolv.h>
16613 res_getservers(NULL, NULL, 0);
16618 if ac_fn_c_try_link
"$LINENO"
16620 ac_cv_have_res_getservers
=yes
16622 ac_cv_have_res_getservers
=no
16624 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16625 conftest
$ac_exeext conftest.
$ac_ext
16626 LIBS
="$ac_save_LIBS"
16628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16629 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16630 if test "$ac_cv_have_res_getservers" = "yes"
16633 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16639 if test "x$with_freetype" != "xno"
16642 if ${FREETYPE_CFLAGS:+false} :
16644 if test ${PKG_CONFIG+y}
16646 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>conftest.err`
16649 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16650 if ${FREETYPE_LIBS:+false} :
16652 if test ${PKG_CONFIG+y}
16654 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16657 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16658 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
16659 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16660 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16661 if test -s conftest.err
; then
16662 printf %s
"$as_me:${as_lineno-$LINENO}: freetype2 errors: " >&5
16663 cat conftest.err
>&5
16666 ac_save_CPPFLAGS
=$CPPFLAGS
16667 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
16668 ac_fn_c_check_header_compile
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16669 if test "x$ac_cv_header_ft2build_h" = xyes
16671 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16675 if test "$ac_cv_header_ft2build_h" = "yes"
16677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16678 printf %s
"checking for -lfreetype... " >&6; }
16679 if test ${ac_cv_lib_soname_freetype+y}
16681 printf %s
"(cached) " >&6
16683 ac_check_soname_save_LIBS
=$LIBS
16684 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
16685 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16686 /* end confdefs.h. */
16688 /* Override any GCC internal prototype to avoid an error.
16689 Use char because int might match the return type of a GCC
16690 builtin and then its argument prototype would still apply. */
16691 char FT_Init_FreeType ();
16695 return FT_Init_FreeType ();
16700 if ac_fn_c_try_link
"$LINENO"
16703 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16704 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'` ;;
16705 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16706 if ${ac_cv_lib_soname_freetype:+false} :
16708 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16712 ac_cv_lib_soname_freetype
=
16714 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16715 conftest
$ac_exeext conftest.
$ac_ext
16716 LIBS
=$ac_check_soname_save_LIBS
16718 if ${ac_cv_lib_soname_freetype:+false} :
16720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16721 printf "%s\n" "not found" >&6; }
16724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16725 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16727 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16730 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16732 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16733 #include FT_MODULE_H
16735 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16738 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16748 CPPFLAGS
=$ac_save_CPPFLAGS
16751 if test "x$ac_cv_lib_soname_freetype" = x
16753 case "x$with_freetype" in
16755 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
16756 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16758 enable_fonts
=${enable_fonts:-no}
16761 ac_wine_check_funcs_save_LIBS
="$LIBS"
16762 LIBS
="$LIBS $PTHREAD_LIBS"
16763 ac_fn_c_check_func
"$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16764 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16766 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16770 LIBS
="$ac_wine_check_funcs_save_LIBS"
16772 if test "x$enable_tools" != xno
-a "x$with_gettextpo" = xyes
16774 if test "$ac_cv_header_gettext_po_h" = "yes"
16776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16777 printf %s
"checking for po_message_msgctxt in -lgettextpo... " >&6; }
16778 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16780 printf %s
"(cached) " >&6
16782 ac_check_lib_save_LIBS
=$LIBS
16783 LIBS
="-lgettextpo $LIBS"
16784 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16785 /* end confdefs.h. */
16787 /* Override any GCC internal prototype to avoid an error.
16788 Use char because int might match the return type of a GCC
16789 builtin and then its argument prototype would still apply. */
16790 char po_message_msgctxt ();
16794 return po_message_msgctxt ();
16799 if ac_fn_c_try_link
"$LINENO"
16801 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
16803 ac_cv_lib_gettextpo_po_message_msgctxt
=no
16805 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16806 conftest
$ac_exeext conftest.
$ac_ext
16807 LIBS
=$ac_check_lib_save_LIBS
16809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16810 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16811 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16814 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16816 GETTEXTPO_LIBS
="-lgettextpo"
16821 if test "x$GETTEXTPO_LIBS" = "x"
16823 case "x$with_gettextpo" in
16824 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16826 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16827 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16831 if test "$srcdir" != .
16833 case "x$with_gettextpo" in
16834 x
) as_fn_append wine_notices
"|Rebuilding po files is not supported for out of tree builds." ;;
16836 *) as_fn_error $?
"Rebuilding po files is not supported for out of tree builds.
16837 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16843 if test "x$with_pulse" != "xno";
16846 if ${PULSE_CFLAGS:+false} :
16848 if test ${PKG_CONFIG+y}
16850 PULSE_CFLAGS
=`$PKG_CONFIG --cflags libpulse 2>conftest.err`
16854 if ${PULSE_LIBS:+false} :
16856 if test ${PKG_CONFIG+y}
16858 PULSE_LIBS
=`$PKG_CONFIG --libs libpulse 2>/dev/null`
16863 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
16864 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
16865 if test -s conftest.err
; then
16866 printf %s
"$as_me:${as_lineno-$LINENO}: libpulse errors: " >&5
16867 cat conftest.err
>&5
16870 ac_save_CPPFLAGS
=$CPPFLAGS
16871 CPPFLAGS
="$CPPFLAGS $PULSE_CFLAGS"
16872 for ac_header
in pulse
/pulseaudio.h
16874 ac_fn_c_check_header_compile
"$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
16875 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
16877 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
16878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
16879 printf %s
"checking for pa_stream_is_corked in -lpulse... " >&6; }
16880 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
16882 printf %s
"(cached) " >&6
16884 ac_check_lib_save_LIBS
=$LIBS
16885 LIBS
="-lpulse $PULSE_LIBS $LIBS"
16886 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16887 /* end confdefs.h. */
16889 /* Override any GCC internal prototype to avoid an error.
16890 Use char because int might match the return type of a GCC
16891 builtin and then its argument prototype would still apply. */
16892 char pa_stream_is_corked ();
16896 return pa_stream_is_corked ();
16901 if ac_fn_c_try_link
"$LINENO"
16903 ac_cv_lib_pulse_pa_stream_is_corked
=yes
16905 ac_cv_lib_pulse_pa_stream_is_corked
=no
16907 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16908 conftest
$ac_exeext conftest.
$ac_ext
16909 LIBS
=$ac_check_lib_save_LIBS
16911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
16912 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
16913 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
16925 CPPFLAGS
=$ac_save_CPPFLAGS
16928 if test -z "$PULSE_LIBS"
16930 case "x$with_pulse" in
16931 x
) as_fn_append wine_notices
"|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
16933 *) as_fn_error $?
"libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
16934 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
16936 enable_winepulse_drv
=${enable_winepulse_drv:-no}
16939 if test "x$with_gstreamer" != "xno"
16942 if ${GSTREAMER_CFLAGS:+false} :
16944 if test ${PKG_CONFIG+y}
16946 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>conftest.err`
16950 if ${GSTREAMER_LIBS:+false} :
16952 if test ${PKG_CONFIG+y}
16954 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>/dev/null`
16959 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 cflags: $GSTREAMER_CFLAGS" >&5
16960 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 libs: $GSTREAMER_LIBS" >&5
16961 if test -s conftest.err
; then
16962 printf %s
"$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 errors: " >&5
16963 cat conftest.err
>&5
16966 ac_save_CPPFLAGS
=$CPPFLAGS
16967 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
16968 ac_fn_c_check_header_compile
"$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
16969 if test "x$ac_cv_header_gst_gst_h" = xyes
16971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
16972 printf %s
"checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
16973 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16974 /* end confdefs.h. */
16975 #include <gst/gst.h>
16979 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
16984 if ac_fn_c_try_compile
"$LINENO"
16986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16987 printf "%s\n" "yes" >&6; }
16988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
16989 printf %s
"checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
16990 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
16992 printf %s
"(cached) " >&6
16994 ac_check_lib_save_LIBS
=$LIBS
16995 LIBS
="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
16996 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16997 /* end confdefs.h. */
16999 /* Override any GCC internal prototype to avoid an error.
17000 Use char because int might match the return type of a GCC
17001 builtin and then its argument prototype would still apply. */
17002 char gst_pad_new ();
17006 return gst_pad_new ();
17011 if ac_fn_c_try_link
"$LINENO"
17013 ac_cv_lib_gstreamer_1_0_gst_pad_new
=yes
17015 ac_cv_lib_gstreamer_1_0_gst_pad_new
=no
17017 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17018 conftest
$ac_exeext conftest.
$ac_ext
17019 LIBS
=$ac_check_lib_save_LIBS
17021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17022 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17023 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17030 printf "%s\n" "no" >&6; }
17031 ac_glib2_broken
=yes
17032 as_fn_append wine_notices
"|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17034 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17037 CPPFLAGS
=$ac_save_CPPFLAGS
17040 if test "x$ac_glib2_broken" != xyes
-a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17042 case "x$with_gstreamer" in
17043 x
) as_fn_append wine_notices
"|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17045 *) as_fn_error $?
"gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17046 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17048 enable_winegstreamer
=${enable_winegstreamer:-no}
17053 if test "x$with_alsa" != "xno"
17055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17056 printf %s
"checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17057 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17059 printf %s
"(cached) " >&6
17061 ac_check_lib_save_LIBS
=$LIBS
17062 LIBS
="-lasound $LIBS"
17063 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17064 /* end confdefs.h. */
17066 /* Override any GCC internal prototype to avoid an error.
17067 Use char because int might match the return type of a GCC
17068 builtin and then its argument prototype would still apply. */
17069 char snd_pcm_hw_params_get_access_mask ();
17073 return snd_pcm_hw_params_get_access_mask ();
17078 if ac_fn_c_try_link
"$LINENO"
17080 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
17082 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
17084 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17085 conftest
$ac_exeext conftest.
$ac_ext
17086 LIBS
=$ac_check_lib_save_LIBS
17088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17089 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17090 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17092 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17093 /* end confdefs.h. */
17094 #include <alsa/asoundlib.h>
17098 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17103 if ac_fn_c_try_compile
"$LINENO"
17105 ALSA_LIBS
="-lasound"
17107 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17111 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
17113 if test "x$with_oss" != xno
17115 ac_save_CPPFLAGS
="$CPPFLAGS"
17116 if test -f /etc
/oss.conf
17120 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17121 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
17122 ac_fn_c_check_header_compile
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17123 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17125 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17127 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17130 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17132 OSS4_CFLAGS
="$ac_oss_incl"
17134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17135 printf %s
"checking for _oss_ioctl in -lossaudio... " >&6; }
17136 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17138 printf %s
"(cached) " >&6
17140 ac_check_lib_save_LIBS
=$LIBS
17141 LIBS
="-lossaudio $LIBS"
17142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17143 /* end confdefs.h. */
17145 /* Override any GCC internal prototype to avoid an error.
17146 Use char because int might match the return type of a GCC
17147 builtin and then its argument prototype would still apply. */
17148 char _oss_ioctl ();
17152 return _oss_ioctl ();
17157 if ac_fn_c_try_link
"$LINENO"
17159 ac_cv_lib_ossaudio__oss_ioctl
=yes
17161 ac_cv_lib_ossaudio__oss_ioctl
=no
17163 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17164 conftest
$ac_exeext conftest.
$ac_ext
17165 LIBS
=$ac_check_lib_save_LIBS
17167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17168 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17169 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17171 OSS4_LIBS
="-lossaudio"
17179 CPPFLAGS
="$ac_save_CPPFLAGS"
17181 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17183 case "x$with_oss" in
17184 x
) as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17186 *) as_fn_error $?
"OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17187 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17189 enable_wineoss_drv
=${enable_wineoss_drv:-no}
17192 if test "x$with_udev" != "xno"
17195 if ${UDEV_CFLAGS:+false} :
17197 if test ${PKG_CONFIG+y}
17199 UDEV_CFLAGS
=`$PKG_CONFIG --cflags libudev 2>conftest.err`
17203 if ${UDEV_LIBS:+false} :
17205 if test ${PKG_CONFIG+y}
17207 UDEV_LIBS
=`$PKG_CONFIG --libs libudev 2>/dev/null`
17211 UDEV_LIBS
=${UDEV_LIBS:-"-ludev"}
17212 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17213 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17214 if test -s conftest.err
; then
17215 printf %s
"$as_me:${as_lineno-$LINENO}: libudev errors: " >&5
17216 cat conftest.err
>&5
17219 ac_save_CPPFLAGS
=$CPPFLAGS
17220 CPPFLAGS
="$CPPFLAGS $UDEV_CFLAGS"
17221 for ac_header
in libudev.h
17223 ac_fn_c_check_header_compile
"$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17224 if test "x$ac_cv_header_libudev_h" = xyes
17226 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17228 printf %s
"checking for udev_new in -ludev... " >&6; }
17229 if test ${ac_cv_lib_udev_udev_new+y}
17231 printf %s
"(cached) " >&6
17233 ac_check_lib_save_LIBS
=$LIBS
17234 LIBS
="-ludev $UDEV_LIBS $LIBS"
17235 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17236 /* end confdefs.h. */
17238 /* Override any GCC internal prototype to avoid an error.
17239 Use char because int might match the return type of a GCC
17240 builtin and then its argument prototype would still apply. */
17245 return udev_new ();
17250 if ac_fn_c_try_link
"$LINENO"
17252 ac_cv_lib_udev_udev_new
=yes
17254 ac_cv_lib_udev_udev_new
=no
17256 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17257 conftest
$ac_exeext conftest.
$ac_ext
17258 LIBS
=$ac_check_lib_save_LIBS
17260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17261 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17262 if test "x$ac_cv_lib_udev_udev_new" = xyes
17265 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17276 CPPFLAGS
=$ac_save_CPPFLAGS
17279 if test "x$UDEV_LIBS" = "x"
17281 case "x$with_udev" in
17282 x
) as_fn_append wine_notices
"|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17284 *) as_fn_error $?
"libudev ${notice_platform}development files not found, plug and play won't be supported.
17285 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17290 if test "x$with_unwind" != xno
17293 if ${UNWIND_CFLAGS:+false} :
17295 if test ${PKG_CONFIG+y}
17297 UNWIND_CFLAGS
=`$PKG_CONFIG --cflags libunwind 2>conftest.err`
17301 if ${UNWIND_LIBS:+false} :
17303 if test ${PKG_CONFIG+y}
17305 UNWIND_LIBS
=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17309 UNWIND_LIBS
=${UNWIND_LIBS:-"-lunwind"}
17310 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17311 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17312 if test -s conftest.err
; then
17313 printf %s
"$as_me:${as_lineno-$LINENO}: libunwind errors: " >&5
17314 cat conftest.err
>&5
17317 ac_save_CPPFLAGS
=$CPPFLAGS
17318 CPPFLAGS
="$CPPFLAGS $UNWIND_CFLAGS"
17319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17320 printf %s
"checking for unw_step... " >&6; }
17321 if test ${wine_cv_have_unw_step+y}
17323 printf %s
"(cached) " >&6
17325 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17326 /* end confdefs.h. */
17327 #define UNW_LOCAL_ONLY
17328 #include <libunwind.h>
17332 unw_cursor_t cursor; unw_step( &cursor );
17337 if ac_fn_c_try_link
"$LINENO"
17339 wine_cv_have_unw_step
="yes"
17341 wine_cv_have_unw_step
="no"
17343 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17344 conftest
$ac_exeext conftest.
$ac_ext
17346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17347 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17348 if test "$wine_cv_have_unw_step" = no
-a -n "$UNWIND_LIBS"
17351 UNWIND_LIBS
="-static-libgcc $UNWIND_LIBS"
17352 LIBS
="$UNWIND_LIBS $LIBS"
17353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17354 printf %s
"checking for unw_step in libunwind... " >&6; }
17355 if test ${wine_cv_have_libunwind_unw_step+y}
17357 printf %s
"(cached) " >&6
17359 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17360 /* end confdefs.h. */
17361 #define UNW_LOCAL_ONLY
17362 #include <libunwind.h>
17366 unw_cursor_t cursor; unw_step( &cursor );
17371 if ac_fn_c_try_link
"$LINENO"
17373 wine_cv_have_libunwind_unw_step
="yes"
17375 wine_cv_have_libunwind_unw_step
="no"
17377 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17378 conftest
$ac_exeext conftest.
$ac_ext
17380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17381 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17384 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS
=""
17385 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17388 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17391 CPPFLAGS
=$ac_save_CPPFLAGS
17395 aarch64
*|
*-darwin*)
17396 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17398 case "x$with_unwind" in
17399 x
) as_fn_append wine_notices
"|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17401 *) as_fn_error $?
"libunwind ${notice_platform}development files not found, stack unwinding won't work.
17402 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17408 if test "x$with_sdl" != "xno"
17411 if ${SDL2_CFLAGS:+false} :
17413 if test ${PKG_CONFIG+y}
17415 SDL2_CFLAGS
=`$PKG_CONFIG --cflags sdl2 2>conftest.err`
17419 if ${SDL2_LIBS:+false} :
17421 if test ${PKG_CONFIG+y}
17423 SDL2_LIBS
=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17427 SDL2_LIBS
=${SDL2_LIBS:-"-lSDL2"}
17428 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17429 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17430 if test -s conftest.err
; then
17431 printf %s
"$as_me:${as_lineno-$LINENO}: sdl2 errors: " >&5
17432 cat conftest.err
>&5
17435 ac_save_CPPFLAGS
=$CPPFLAGS
17436 CPPFLAGS
="$CPPFLAGS $SDL2_CFLAGS"
17437 for ac_header
in SDL.h
17439 ac_fn_c_check_header_compile
"$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17440 if test "x$ac_cv_header_SDL_h" = xyes
17442 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17444 printf %s
"checking for -lSDL2... " >&6; }
17445 if test ${ac_cv_lib_soname_SDL2+y}
17447 printf %s
"(cached) " >&6
17449 ac_check_soname_save_LIBS
=$LIBS
17450 LIBS
="-lSDL2 $SDL2_LIBS $LIBS"
17451 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17452 /* end confdefs.h. */
17454 /* Override any GCC internal prototype to avoid an error.
17455 Use char because int might match the return type of a GCC
17456 builtin and then its argument prototype would still apply. */
17461 return SDL_Init ();
17466 if ac_fn_c_try_link
"$LINENO"
17469 dll
) ac_cv_lib_soname_SDL2
=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17470 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'` ;;
17471 *) 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'`
17472 if ${ac_cv_lib_soname_SDL2:+false} :
17474 ac_cv_lib_soname_SDL2
=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17478 ac_cv_lib_soname_SDL2
=
17480 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17481 conftest
$ac_exeext conftest.
$ac_ext
17482 LIBS
=$ac_check_soname_save_LIBS
17484 if ${ac_cv_lib_soname_SDL2:+false} :
17486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17487 printf "%s\n" "not found" >&6; }
17490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17491 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17493 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17500 CPPFLAGS
=$ac_save_CPPFLAGS
17503 if test "x$ac_cv_lib_soname_SDL2" = "x"
17505 case "x$with_sdl" in
17506 x
) as_fn_append wine_notices
"|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17508 *) as_fn_error $?
"libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17509 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17514 if test "x$with_capi" != "xno"
17517 if ${CAPI20_CFLAGS:+false} :
17519 if test ${PKG_CONFIG+y}
17521 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>conftest.err`
17525 if ${CAPI20_LIBS:+false} :
17527 if test ${PKG_CONFIG+y}
17529 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
17534 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17535 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17536 if test -s conftest.err
; then
17537 printf %s
"$as_me:${as_lineno-$LINENO}: capi20 errors: " >&5
17538 cat conftest.err
>&5
17541 ac_save_CPPFLAGS
=$CPPFLAGS
17542 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
17543 ac_fn_c_check_header_compile
"$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17545 if test "x$ac_cv_header_capi20_h" = xyes
17547 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17550 ac_fn_c_check_header_compile
"$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17552 if test "x$ac_cv_header_linux_capi_h" = xyes
17554 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17558 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17561 printf %s
"checking for capi20_register in -lcapi20... " >&6; }
17562 if test ${ac_cv_lib_capi20_capi20_register+y}
17564 printf %s
"(cached) " >&6
17566 ac_check_lib_save_LIBS
=$LIBS
17567 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
17568 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17569 /* end confdefs.h. */
17571 /* Override any GCC internal prototype to avoid an error.
17572 Use char because int might match the return type of a GCC
17573 builtin and then its argument prototype would still apply. */
17574 char capi20_register ();
17578 return capi20_register ();
17583 if ac_fn_c_try_link
"$LINENO"
17585 ac_cv_lib_capi20_capi20_register
=yes
17587 ac_cv_lib_capi20_capi20_register
=no
17589 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17590 conftest
$ac_exeext conftest.
$ac_ext
17591 LIBS
=$ac_check_lib_save_LIBS
17593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17594 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17595 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17603 CPPFLAGS
=$ac_save_CPPFLAGS
17606 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17608 case "x$with_capi" in
17609 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17611 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17612 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17614 enable_capi2032
=${enable_capi2032:-no}
17617 if test "x$with_cups" != "xno"
17620 if ${CUPS_CFLAGS:+false} :
17622 if test ${PKG_CONFIG+y}
17624 CUPS_CFLAGS
=`$PKG_CONFIG --cflags cups 2>conftest.err`
17627 test "$cross_compiling" = yes || CUPS_CFLAGS
=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17628 if ${CUPS_LIBS:+false} :
17630 if test ${PKG_CONFIG+y}
17632 CUPS_LIBS
=`$PKG_CONFIG --libs cups 2>/dev/null`
17635 test "$cross_compiling" = yes || CUPS_LIBS
=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17636 CUPS_LIBS
=${CUPS_LIBS:-"-lcups"}
17637 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17638 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17639 if test -s conftest.err
; then
17640 printf %s
"$as_me:${as_lineno-$LINENO}: cups errors: " >&5
17641 cat conftest.err
>&5
17644 ac_save_CPPFLAGS
=$CPPFLAGS
17645 CPPFLAGS
="$CPPFLAGS $CUPS_CFLAGS"
17646 ac_fn_c_check_header_compile
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17647 if test "x$ac_cv_header_cups_cups_h" = xyes
17649 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17652 ac_fn_c_check_header_compile
"$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17653 if test "x$ac_cv_header_cups_ppd_h" = xyes
17655 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17659 if test "$ac_cv_header_cups_cups_h" = "yes"
17661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17662 printf %s
"checking for -lcups... " >&6; }
17663 if test ${ac_cv_lib_soname_cups+y}
17665 printf %s
"(cached) " >&6
17667 ac_check_soname_save_LIBS
=$LIBS
17668 LIBS
="-lcups $CUPS_LIBS $LIBS"
17669 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17670 /* end confdefs.h. */
17672 /* Override any GCC internal prototype to avoid an error.
17673 Use char because int might match the return type of a GCC
17674 builtin and then its argument prototype would still apply. */
17675 char cupsGetDefault ();
17679 return cupsGetDefault ();
17684 if ac_fn_c_try_link
"$LINENO"
17687 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17688 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'` ;;
17689 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17690 if ${ac_cv_lib_soname_cups:+false} :
17692 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17696 ac_cv_lib_soname_cups
=
17698 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17699 conftest
$ac_exeext conftest.
$ac_ext
17700 LIBS
=$ac_check_soname_save_LIBS
17702 if ${ac_cv_lib_soname_cups:+false} :
17704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17705 printf "%s\n" "not found" >&6; }
17708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17709 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17711 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17719 CPPFLAGS
=$ac_save_CPPFLAGS
17722 if test "x$ac_cv_lib_soname_cups" = "x"
17724 case "x$with_cups" in
17725 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17727 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
17728 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17733 if test "x$with_fontconfig" != "xno"
17736 if ${FONTCONFIG_CFLAGS:+false} :
17738 if test ${PKG_CONFIG+y}
17740 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>conftest.err`
17743 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17744 if ${FONTCONFIG_LIBS:+false} :
17746 if test ${PKG_CONFIG+y}
17748 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17751 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
17753 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17754 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17755 if test -s conftest.err
; then
17756 printf %s
"$as_me:${as_lineno-$LINENO}: fontconfig errors: " >&5
17757 cat conftest.err
>&5
17760 ac_save_CPPFLAGS
=$CPPFLAGS
17761 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
17762 ac_fn_c_check_header_compile
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17763 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17765 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17769 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17772 printf %s
"checking for -lfontconfig... " >&6; }
17773 if test ${ac_cv_lib_soname_fontconfig+y}
17775 printf %s
"(cached) " >&6
17777 ac_check_soname_save_LIBS
=$LIBS
17778 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17779 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17780 /* end confdefs.h. */
17782 /* Override any GCC internal prototype to avoid an error.
17783 Use char because int might match the return type of a GCC
17784 builtin and then its argument prototype would still apply. */
17794 if ac_fn_c_try_link
"$LINENO"
17797 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17798 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'` ;;
17799 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17800 if ${ac_cv_lib_soname_fontconfig:+false} :
17802 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17806 ac_cv_lib_soname_fontconfig
=
17808 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17809 conftest
$ac_exeext conftest.
$ac_ext
17810 LIBS
=$ac_check_soname_save_LIBS
17812 if ${ac_cv_lib_soname_fontconfig:+false} :
17814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17815 printf "%s\n" "not found" >&6; }
17816 FONTCONFIG_CFLAGS
=""
17818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17819 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17821 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17826 FONTCONFIG_CFLAGS
=""
17828 CPPFLAGS
=$ac_save_CPPFLAGS
17831 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17833 case "x$with_fontconfig" in
17834 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17836 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17837 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17842 if test "x$with_krb5" != "xno"
17845 if ${KRB5_CFLAGS:+false} :
17847 if test ${PKG_CONFIG+y}
17849 KRB5_CFLAGS
=`$PKG_CONFIG --cflags krb5 2>conftest.err`
17852 test "$cross_compiling" = yes || KRB5_CFLAGS
=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17853 if ${KRB5_LIBS:+false} :
17855 if test ${PKG_CONFIG+y}
17857 KRB5_LIBS
=`$PKG_CONFIG --libs krb5 2>/dev/null`
17860 test "$cross_compiling" = yes || KRB5_LIBS
=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17862 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17863 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17864 if test -s conftest.err
; then
17865 printf %s
"$as_me:${as_lineno-$LINENO}: krb5 errors: " >&5
17866 cat conftest.err
>&5
17869 ac_save_CPPFLAGS
=$CPPFLAGS
17870 CPPFLAGS
="$CPPFLAGS $KRB5_CFLAGS"
17871 ac_fn_c_check_header_compile
"$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17872 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17874 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17878 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17881 printf %s
"checking for -lkrb5... " >&6; }
17882 if test ${ac_cv_lib_soname_krb5+y}
17884 printf %s
"(cached) " >&6
17886 ac_check_soname_save_LIBS
=$LIBS
17887 LIBS
="-lkrb5 $KRB5_LIBS $LIBS"
17888 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17889 /* end confdefs.h. */
17891 /* Override any GCC internal prototype to avoid an error.
17892 Use char because int might match the return type of a GCC
17893 builtin and then its argument prototype would still apply. */
17894 char krb5_is_config_principal ();
17898 return krb5_is_config_principal ();
17903 if ac_fn_c_try_link
"$LINENO"
17906 dll
) ac_cv_lib_soname_krb5
=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17907 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'` ;;
17908 *) ac_cv_lib_soname_krb5
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17909 if ${ac_cv_lib_soname_krb5:+false} :
17911 ac_cv_lib_soname_krb5
=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17915 ac_cv_lib_soname_krb5
=
17917 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17918 conftest
$ac_exeext conftest.
$ac_ext
17919 LIBS
=$ac_check_soname_save_LIBS
17921 if ${ac_cv_lib_soname_krb5:+false} :
17923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17924 printf "%s\n" "not found" >&6; }
17927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
17928 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
17930 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
17937 CPPFLAGS
=$ac_save_CPPFLAGS
17940 if test "x$ac_cv_lib_soname_krb5" = "x"
17942 case "x$with_krb5" in
17943 x
) as_fn_append wine_notices
"|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
17945 *) as_fn_error $?
"libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
17946 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
17950 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi
=${with_gssapi:-no}
17952 if test "x$with_gssapi" != "xno"
17955 if ${GSSAPI_CFLAGS:+false} :
17957 if test ${PKG_CONFIG+y}
17959 GSSAPI_CFLAGS
=`$PKG_CONFIG --cflags krb5-gssapi 2>conftest.err`
17962 test "$cross_compiling" = yes || GSSAPI_CFLAGS
=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
17963 if ${GSSAPI_LIBS:+false} :
17965 if test ${PKG_CONFIG+y}
17967 GSSAPI_LIBS
=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
17970 test "$cross_compiling" = yes || GSSAPI_LIBS
=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
17972 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
17973 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
17974 if test -s conftest.err
; then
17975 printf %s
"$as_me:${as_lineno-$LINENO}: krb5-gssapi errors: " >&5
17976 cat conftest.err
>&5
17979 ac_save_CPPFLAGS
=$CPPFLAGS
17980 CPPFLAGS
="$CPPFLAGS $GSSAPI_CFLAGS"
17981 ac_fn_c_check_header_compile
"$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
17982 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
17984 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
17987 ac_fn_c_check_header_compile
"$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
17988 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
17990 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
17994 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
17996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
17997 printf %s
"checking for -lgssapi_krb5... " >&6; }
17998 if test ${ac_cv_lib_soname_gssapi_krb5+y}
18000 printf %s
"(cached) " >&6
18002 ac_check_soname_save_LIBS
=$LIBS
18003 LIBS
="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
18004 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18005 /* end confdefs.h. */
18007 /* Override any GCC internal prototype to avoid an error.
18008 Use char because int might match the return type of a GCC
18009 builtin and then its argument prototype would still apply. */
18010 char gss_init_sec_context ();
18014 return gss_init_sec_context ();
18019 if ac_fn_c_try_link
"$LINENO"
18022 dll
) ac_cv_lib_soname_gssapi_krb5
=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18023 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'` ;;
18024 *) 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'`
18025 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18027 ac_cv_lib_soname_gssapi_krb5
=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18031 ac_cv_lib_soname_gssapi_krb5
=
18033 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18034 conftest
$ac_exeext conftest.
$ac_ext
18035 LIBS
=$ac_check_soname_save_LIBS
18037 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18040 printf "%s\n" "not found" >&6; }
18043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18044 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18046 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18053 CPPFLAGS
=$ac_save_CPPFLAGS
18056 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18058 case "x$with_gssapi" in
18059 x
) as_fn_append wine_notices
"|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18061 *) as_fn_error $?
"libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18062 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18067 if test "$ac_cv_header_libprocstat_h" = "yes"
18069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18070 printf %s
"checking for procstat_open_sysctl in -lprocstat... " >&6; }
18071 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18073 printf %s
"(cached) " >&6
18075 ac_check_lib_save_LIBS
=$LIBS
18076 LIBS
="-lprocstat $LIBS"
18077 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18078 /* end confdefs.h. */
18080 /* Override any GCC internal prototype to avoid an error.
18081 Use char because int might match the return type of a GCC
18082 builtin and then its argument prototype would still apply. */
18083 char procstat_open_sysctl ();
18087 return procstat_open_sysctl ();
18092 if ac_fn_c_try_link
"$LINENO"
18094 ac_cv_lib_procstat_procstat_open_sysctl
=yes
18096 ac_cv_lib_procstat_procstat_open_sysctl
=no
18098 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18099 conftest
$ac_exeext conftest.
$ac_ext
18100 LIBS
=$ac_check_lib_save_LIBS
18102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18103 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18104 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18107 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18109 PROCSTAT_LIBS
="-lprocstat"
18115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18116 printf %s
"checking for -lodbc... " >&6; }
18117 if test ${ac_cv_lib_soname_odbc+y}
18119 printf %s
"(cached) " >&6
18121 ac_check_soname_save_LIBS
=$LIBS
18122 LIBS
="-lodbc $LIBS"
18123 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18124 /* end confdefs.h. */
18126 /* Override any GCC internal prototype to avoid an error.
18127 Use char because int might match the return type of a GCC
18128 builtin and then its argument prototype would still apply. */
18129 char SQLConnect ();
18133 return SQLConnect ();
18138 if ac_fn_c_try_link
"$LINENO"
18141 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18142 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'` ;;
18143 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18144 if ${ac_cv_lib_soname_odbc:+false} :
18146 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18150 ac_cv_lib_soname_odbc
=
18152 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18153 conftest
$ac_exeext conftest.
$ac_ext
18154 LIBS
=$ac_check_soname_save_LIBS
18156 if ${ac_cv_lib_soname_odbc:+false} :
18158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18159 printf "%s\n" "not found" >&6; }
18160 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18164 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18166 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18171 if test "x$with_netapi" != "xno"
18174 if ${NETAPI_CFLAGS:+false} :
18176 if test ${PKG_CONFIG+y}
18178 NETAPI_CFLAGS
=`$PKG_CONFIG --cflags netapi 2>conftest.err`
18182 if ${NETAPI_LIBS:+false} :
18184 if test ${PKG_CONFIG+y}
18186 NETAPI_LIBS
=`$PKG_CONFIG --libs netapi 2>/dev/null`
18191 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18192 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18193 if test -s conftest.err
; then
18194 printf %s
"$as_me:${as_lineno-$LINENO}: netapi errors: " >&5
18195 cat conftest.err
>&5
18198 ac_save_CPPFLAGS
=$CPPFLAGS
18199 CPPFLAGS
="$CPPFLAGS $NETAPI_CFLAGS"
18200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18201 printf %s
"checking for -lnetapi... " >&6; }
18202 if test ${ac_cv_lib_soname_netapi+y}
18204 printf %s
"(cached) " >&6
18206 ac_check_soname_save_LIBS
=$LIBS
18207 LIBS
="-lnetapi $NETAPI_LIBS $LIBS"
18208 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18209 /* end confdefs.h. */
18211 /* Override any GCC internal prototype to avoid an error.
18212 Use char because int might match the return type of a GCC
18213 builtin and then its argument prototype would still apply. */
18214 char libnetapi_init ();
18218 return libnetapi_init ();
18223 if ac_fn_c_try_link
"$LINENO"
18226 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18227 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'` ;;
18228 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18229 if ${ac_cv_lib_soname_netapi:+false} :
18231 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18235 ac_cv_lib_soname_netapi
=
18237 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18238 conftest
$ac_exeext conftest.
$ac_ext
18239 LIBS
=$ac_check_soname_save_LIBS
18241 if ${ac_cv_lib_soname_netapi:+false} :
18243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18244 printf "%s\n" "not found" >&6; }
18245 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18249 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18251 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18255 CPPFLAGS
=$ac_save_CPPFLAGS
18258 if test "x$ac_cv_lib_soname_netapi" = "x"
18260 case "x$with_netapi" in
18261 x
) as_fn_append wine_notices
"|libnetapi not found, Samba NetAPI won't be supported." ;;
18263 *) as_fn_error $?
"libnetapi not found, Samba NetAPI won't be supported.
18264 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18266 enable_netapi
=${enable_netapi:-no}
18270 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono
-a \
18271 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18273 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
18276 if test "x$with_vulkan" != "xno"
18278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18279 printf %s
"checking for -lvulkan... " >&6; }
18280 if test ${ac_cv_lib_soname_vulkan+y}
18282 printf %s
"(cached) " >&6
18284 ac_check_soname_save_LIBS
=$LIBS
18285 LIBS
="-lvulkan $LIBS"
18286 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18287 /* end confdefs.h. */
18289 /* Override any GCC internal prototype to avoid an error.
18290 Use char because int might match the return type of a GCC
18291 builtin and then its argument prototype would still apply. */
18292 char vkGetInstanceProcAddr ();
18296 return vkGetInstanceProcAddr ();
18301 if ac_fn_c_try_link
"$LINENO"
18304 dll
) ac_cv_lib_soname_vulkan
=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18305 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'` ;;
18306 *) ac_cv_lib_soname_vulkan
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18307 if ${ac_cv_lib_soname_vulkan:+false} :
18309 ac_cv_lib_soname_vulkan
=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18313 ac_cv_lib_soname_vulkan
=
18315 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18316 conftest
$ac_exeext conftest.
$ac_ext
18317 LIBS
=$ac_check_soname_save_LIBS
18319 if ${ac_cv_lib_soname_vulkan:+false} :
18321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18322 printf "%s\n" "not found" >&6; }
18325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18326 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18328 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18332 if test "x$ac_cv_lib_soname_vulkan" = "x"
18334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18335 printf %s
"checking for -lMoltenVK... " >&6; }
18336 if test ${ac_cv_lib_soname_MoltenVK+y}
18338 printf %s
"(cached) " >&6
18340 ac_check_soname_save_LIBS
=$LIBS
18341 LIBS
="-lMoltenVK $LIBS"
18342 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18343 /* end confdefs.h. */
18345 /* Override any GCC internal prototype to avoid an error.
18346 Use char because int might match the return type of a GCC
18347 builtin and then its argument prototype would still apply. */
18348 char vkGetInstanceProcAddr ();
18352 return vkGetInstanceProcAddr ();
18357 if ac_fn_c_try_link
"$LINENO"
18360 dll
) ac_cv_lib_soname_MoltenVK
=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18361 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'` ;;
18362 *) ac_cv_lib_soname_MoltenVK
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18363 if ${ac_cv_lib_soname_MoltenVK:+false} :
18365 ac_cv_lib_soname_MoltenVK
=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18369 ac_cv_lib_soname_MoltenVK
=
18371 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18372 conftest
$ac_exeext conftest.
$ac_ext
18373 LIBS
=$ac_check_soname_save_LIBS
18375 if ${ac_cv_lib_soname_MoltenVK:+false} :
18377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18378 printf "%s\n" "not found" >&6; }
18381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18382 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18384 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18390 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18392 case "x$with_vulkan" in
18393 x
) as_fn_append wine_notices
"|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18395 *) as_fn_error $?
"libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18396 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18402 if test "x${GCC}" = "xyes"
18404 EXTRACFLAGS
="$EXTRACFLAGS -Wall -pipe"
18406 saved_CFLAGS
=$CFLAGS
18407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18408 printf %s
"checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18409 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18411 printf %s
"(cached) " >&6
18413 ac_wine_try_cflags_saved
=$CFLAGS
18414 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
18415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18416 /* end confdefs.h. */
18417 int main(int argc, char **argv) { return 0; }
18419 if ac_fn_c_try_link
"$LINENO"
18421 ac_cv_cflags__Werror_unknown_warning_option
=yes
18423 ac_cv_cflags__Werror_unknown_warning_option
=no
18425 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18426 conftest
$ac_exeext conftest.
$ac_ext
18427 CFLAGS
=$ac_wine_try_cflags_saved
18429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18430 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18431 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18433 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
18435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18436 printf %s
"checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18437 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18439 printf %s
"(cached) " >&6
18441 ac_wine_try_cflags_saved
=$CFLAGS
18442 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
18443 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18444 /* end confdefs.h. */
18445 int main(int argc, char **argv) { return 0; }
18447 if ac_fn_c_try_link
"$LINENO"
18449 ac_cv_cflags__Werror_unused_command_line_argument
=yes
18451 ac_cv_cflags__Werror_unused_command_line_argument
=no
18453 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18454 conftest
$ac_exeext conftest.
$ac_ext
18455 CFLAGS
=$ac_wine_try_cflags_saved
18457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18458 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18459 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18461 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
18463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18464 printf %s
"checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18465 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18467 printf %s
"(cached) " >&6
18469 ac_wine_try_cflags_saved
=$CFLAGS
18470 CFLAGS
="$CFLAGS -Werror=ignored-optimization-argument"
18471 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18472 /* end confdefs.h. */
18473 int main(int argc, char **argv) { return 0; }
18475 if ac_fn_c_try_link
"$LINENO"
18477 ac_cv_cflags__Werror_ignored_optimization_argument
=yes
18479 ac_cv_cflags__Werror_ignored_optimization_argument
=no
18481 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18482 conftest
$ac_exeext conftest.
$ac_ext
18483 CFLAGS
=$ac_wine_try_cflags_saved
18485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18486 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18487 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18489 CFLAGS
="$CFLAGS -Werror=ignored-optimization-argument"
18491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18492 printf %s
"checking whether the compiler supports -fcf-protection=none... " >&6; }
18493 if test ${ac_cv_cflags__fcf_protection_none+y}
18495 printf %s
"(cached) " >&6
18497 ac_wine_try_cflags_saved
=$CFLAGS
18498 CFLAGS
="$CFLAGS -fcf-protection=none"
18499 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18500 /* end confdefs.h. */
18501 int main(int argc, char **argv) { return 0; }
18503 if ac_fn_c_try_link
"$LINENO"
18505 ac_cv_cflags__fcf_protection_none
=yes
18507 ac_cv_cflags__fcf_protection_none
=no
18509 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18510 conftest
$ac_exeext conftest.
$ac_ext
18511 CFLAGS
=$ac_wine_try_cflags_saved
18513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18514 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18515 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18517 EXTRACFLAGS
="$EXTRACFLAGS -fcf-protection=none"
18519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18520 printf %s
"checking whether the compiler supports -fno-stack-protector... " >&6; }
18521 if test ${ac_cv_cflags__fno_stack_protector+y}
18523 printf %s
"(cached) " >&6
18525 ac_wine_try_cflags_saved
=$CFLAGS
18526 CFLAGS
="$CFLAGS -fno-stack-protector"
18527 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18528 /* end confdefs.h. */
18529 int main(int argc, char **argv) { return 0; }
18531 if ac_fn_c_try_link
"$LINENO"
18533 ac_cv_cflags__fno_stack_protector
=yes
18535 ac_cv_cflags__fno_stack_protector
=no
18537 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18538 conftest
$ac_exeext conftest.
$ac_ext
18539 CFLAGS
=$ac_wine_try_cflags_saved
18541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18542 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18543 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18545 EXTRACFLAGS
="$EXTRACFLAGS -fno-stack-protector"
18547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18548 printf %s
"checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18549 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18551 printf %s
"(cached) " >&6
18553 ac_wine_try_cflags_saved
=$CFLAGS
18554 CFLAGS
="$CFLAGS -fno-strict-aliasing"
18555 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18556 /* end confdefs.h. */
18557 int main(int argc, char **argv) { return 0; }
18559 if ac_fn_c_try_link
"$LINENO"
18561 ac_cv_cflags__fno_strict_aliasing
=yes
18563 ac_cv_cflags__fno_strict_aliasing
=no
18565 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18566 conftest
$ac_exeext conftest.
$ac_ext
18567 CFLAGS
=$ac_wine_try_cflags_saved
18569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18570 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18571 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18573 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
18575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18576 printf %s
"checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18577 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18579 printf %s
"(cached) " >&6
18581 ac_wine_try_cflags_saved
=$CFLAGS
18582 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
18583 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18584 /* end confdefs.h. */
18585 int main(int argc, char **argv) { return 0; }
18587 if ac_fn_c_try_link
"$LINENO"
18589 ac_cv_cflags__Wdeclaration_after_statement
=yes
18591 ac_cv_cflags__Wdeclaration_after_statement
=no
18593 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18594 conftest
$ac_exeext conftest.
$ac_ext
18595 CFLAGS
=$ac_wine_try_cflags_saved
18597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18598 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18599 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18601 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
18603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18604 printf %s
"checking whether the compiler supports -Wempty-body... " >&6; }
18605 if test ${ac_cv_cflags__Wempty_body+y}
18607 printf %s
"(cached) " >&6
18609 ac_wine_try_cflags_saved
=$CFLAGS
18610 CFLAGS
="$CFLAGS -Wempty-body"
18611 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18612 /* end confdefs.h. */
18613 int main(int argc, char **argv) { return 0; }
18615 if ac_fn_c_try_link
"$LINENO"
18617 ac_cv_cflags__Wempty_body
=yes
18619 ac_cv_cflags__Wempty_body
=no
18621 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18622 conftest
$ac_exeext conftest.
$ac_ext
18623 CFLAGS
=$ac_wine_try_cflags_saved
18625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18626 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18627 if test "x$ac_cv_cflags__Wempty_body" = xyes
18629 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
18631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18632 printf %s
"checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18633 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18635 printf %s
"(cached) " >&6
18637 ac_wine_try_cflags_saved
=$CFLAGS
18638 CFLAGS
="$CFLAGS -Wignored-qualifiers"
18639 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18640 /* end confdefs.h. */
18641 int main(int argc, char **argv) { return 0; }
18643 if ac_fn_c_try_link
"$LINENO"
18645 ac_cv_cflags__Wignored_qualifiers
=yes
18647 ac_cv_cflags__Wignored_qualifiers
=no
18649 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18650 conftest
$ac_exeext conftest.
$ac_ext
18651 CFLAGS
=$ac_wine_try_cflags_saved
18653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18654 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18655 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18657 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
18659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18660 printf %s
"checking whether the compiler supports -Winit-self... " >&6; }
18661 if test ${ac_cv_cflags__Winit_self+y}
18663 printf %s
"(cached) " >&6
18665 ac_wine_try_cflags_saved
=$CFLAGS
18666 CFLAGS
="$CFLAGS -Winit-self"
18667 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18668 /* end confdefs.h. */
18669 int main(int argc, char **argv) { return 0; }
18671 if ac_fn_c_try_link
"$LINENO"
18673 ac_cv_cflags__Winit_self
=yes
18675 ac_cv_cflags__Winit_self
=no
18677 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18678 conftest
$ac_exeext conftest.
$ac_ext
18679 CFLAGS
=$ac_wine_try_cflags_saved
18681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18682 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18683 if test "x$ac_cv_cflags__Winit_self" = xyes
18685 EXTRACFLAGS
="$EXTRACFLAGS -Winit-self"
18687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18688 printf %s
"checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18689 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18691 printf %s
"(cached) " >&6
18693 ac_wine_try_cflags_saved
=$CFLAGS
18694 CFLAGS
="$CFLAGS -Wpacked-not-aligned"
18695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18696 /* end confdefs.h. */
18697 int main(int argc, char **argv) { return 0; }
18699 if ac_fn_c_try_link
"$LINENO"
18701 ac_cv_cflags__Wpacked_not_aligned
=yes
18703 ac_cv_cflags__Wpacked_not_aligned
=no
18705 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18706 conftest
$ac_exeext conftest.
$ac_ext
18707 CFLAGS
=$ac_wine_try_cflags_saved
18709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18710 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18711 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18713 EXTRACFLAGS
="$EXTRACFLAGS -Wno-packed-not-aligned"
18715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18716 printf %s
"checking whether the compiler supports -Wpragma-pack... " >&6; }
18717 if test ${ac_cv_cflags__Wpragma_pack+y}
18719 printf %s
"(cached) " >&6
18721 ac_wine_try_cflags_saved
=$CFLAGS
18722 CFLAGS
="$CFLAGS -Wpragma-pack"
18723 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18724 /* end confdefs.h. */
18725 int main(int argc, char **argv) { return 0; }
18727 if ac_fn_c_try_link
"$LINENO"
18729 ac_cv_cflags__Wpragma_pack
=yes
18731 ac_cv_cflags__Wpragma_pack
=no
18733 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18734 conftest
$ac_exeext conftest.
$ac_ext
18735 CFLAGS
=$ac_wine_try_cflags_saved
18737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18738 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18739 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18741 EXTRACFLAGS
="$EXTRACFLAGS -Wno-pragma-pack"
18743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18744 printf %s
"checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18745 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18747 printf %s
"(cached) " >&6
18749 ac_wine_try_cflags_saved
=$CFLAGS
18750 CFLAGS
="$CFLAGS -Wshift-overflow=2"
18751 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18752 /* end confdefs.h. */
18753 int main(int argc, char **argv) { return 0; }
18755 if ac_fn_c_try_link
"$LINENO"
18757 ac_cv_cflags__Wshift_overflow_2
=yes
18759 ac_cv_cflags__Wshift_overflow_2
=no
18761 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18762 conftest
$ac_exeext conftest.
$ac_ext
18763 CFLAGS
=$ac_wine_try_cflags_saved
18765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18766 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18767 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18769 EXTRACFLAGS
="$EXTRACFLAGS -Wshift-overflow=2"
18771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18772 printf %s
"checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18773 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18775 printf %s
"(cached) " >&6
18777 ac_wine_try_cflags_saved
=$CFLAGS
18778 CFLAGS
="$CFLAGS -Wstrict-prototypes"
18779 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18780 /* end confdefs.h. */
18781 int main(int argc, char **argv) { return 0; }
18783 if ac_fn_c_try_link
"$LINENO"
18785 ac_cv_cflags__Wstrict_prototypes
=yes
18787 ac_cv_cflags__Wstrict_prototypes
=no
18789 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18790 conftest
$ac_exeext conftest.
$ac_ext
18791 CFLAGS
=$ac_wine_try_cflags_saved
18793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18794 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18795 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18797 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
18799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18800 printf %s
"checking whether the compiler supports -Wtype-limits... " >&6; }
18801 if test ${ac_cv_cflags__Wtype_limits+y}
18803 printf %s
"(cached) " >&6
18805 ac_wine_try_cflags_saved
=$CFLAGS
18806 CFLAGS
="$CFLAGS -Wtype-limits"
18807 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18808 /* end confdefs.h. */
18809 int main(int argc, char **argv) { return 0; }
18811 if ac_fn_c_try_link
"$LINENO"
18813 ac_cv_cflags__Wtype_limits
=yes
18815 ac_cv_cflags__Wtype_limits
=no
18817 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18818 conftest
$ac_exeext conftest.
$ac_ext
18819 CFLAGS
=$ac_wine_try_cflags_saved
18821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18822 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18823 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18825 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
18827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18828 printf %s
"checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18829 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18831 printf %s
"(cached) " >&6
18833 ac_wine_try_cflags_saved
=$CFLAGS
18834 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
18835 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18836 /* end confdefs.h. */
18837 int main(int argc, char **argv) { return 0; }
18839 if ac_fn_c_try_link
"$LINENO"
18841 ac_cv_cflags__Wunused_but_set_parameter
=yes
18843 ac_cv_cflags__Wunused_but_set_parameter
=no
18845 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18846 conftest
$ac_exeext conftest.
$ac_ext
18847 CFLAGS
=$ac_wine_try_cflags_saved
18849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
18850 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
18851 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
18853 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
18855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
18856 printf %s
"checking whether the compiler supports -Wvla... " >&6; }
18857 if test ${ac_cv_cflags__Wvla+y}
18859 printf %s
"(cached) " >&6
18861 ac_wine_try_cflags_saved
=$CFLAGS
18862 CFLAGS
="$CFLAGS -Wvla"
18863 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18864 /* end confdefs.h. */
18865 int main(int argc, char **argv) { return 0; }
18867 if ac_fn_c_try_link
"$LINENO"
18869 ac_cv_cflags__Wvla
=yes
18871 ac_cv_cflags__Wvla
=no
18873 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18874 conftest
$ac_exeext conftest.
$ac_ext
18875 CFLAGS
=$ac_wine_try_cflags_saved
18877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
18878 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
18879 if test "x$ac_cv_cflags__Wvla" = xyes
18881 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
18883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
18884 printf %s
"checking whether the compiler supports -Wwrite-strings... " >&6; }
18885 if test ${ac_cv_cflags__Wwrite_strings+y}
18887 printf %s
"(cached) " >&6
18889 ac_wine_try_cflags_saved
=$CFLAGS
18890 CFLAGS
="$CFLAGS -Wwrite-strings"
18891 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18892 /* end confdefs.h. */
18893 int main(int argc, char **argv) { return 0; }
18895 if ac_fn_c_try_link
"$LINENO"
18897 ac_cv_cflags__Wwrite_strings
=yes
18899 ac_cv_cflags__Wwrite_strings
=no
18901 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18902 conftest
$ac_exeext conftest.
$ac_ext
18903 CFLAGS
=$ac_wine_try_cflags_saved
18905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
18906 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
18907 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
18909 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
18912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
18913 printf %s
"checking whether the compiler supports -Wpointer-arith... " >&6; }
18914 if test ${ac_cv_cflags__Wpointer_arith+y}
18916 printf %s
"(cached) " >&6
18918 ac_wine_try_cflags_saved
=$CFLAGS
18919 CFLAGS
="$CFLAGS -Wpointer-arith"
18920 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18921 /* end confdefs.h. */
18922 int main(int argc, char **argv) { return 0; }
18924 if ac_fn_c_try_link
"$LINENO"
18926 ac_cv_cflags__Wpointer_arith
=yes
18928 ac_cv_cflags__Wpointer_arith
=no
18930 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18931 conftest
$ac_exeext conftest.
$ac_ext
18932 CFLAGS
=$ac_wine_try_cflags_saved
18934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
18935 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
18936 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
18938 saved_string_h_CFLAGS
=$CFLAGS
18939 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
18940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
18941 printf %s
"checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
18942 if test ${ac_cv_c_string_h_warnings+y}
18944 printf %s
"(cached) " >&6
18946 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18947 /* end confdefs.h. */
18948 #include <string.h>
18957 if ac_fn_c_try_compile
"$LINENO"
18959 ac_cv_c_string_h_warnings
=no
18961 ac_cv_c_string_h_warnings
=yes
18963 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
18965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
18966 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
18967 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
18968 CFLAGS
=$saved_string_h_CFLAGS
18971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
18972 printf %s
"checking whether the compiler supports -Wlogical-op... " >&6; }
18973 if test ${ac_cv_cflags__Wlogical_op+y}
18975 printf %s
"(cached) " >&6
18977 ac_wine_try_cflags_saved
=$CFLAGS
18978 CFLAGS
="$CFLAGS -Wlogical-op"
18979 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18980 /* end confdefs.h. */
18981 int main(int argc, char **argv) { return 0; }
18983 if ac_fn_c_try_link
"$LINENO"
18985 ac_cv_cflags__Wlogical_op
=yes
18987 ac_cv_cflags__Wlogical_op
=no
18989 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18990 conftest
$ac_exeext conftest.
$ac_ext
18991 CFLAGS
=$ac_wine_try_cflags_saved
18993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
18994 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
18995 if test "x$ac_cv_cflags__Wlogical_op" = xyes
18997 saved_string_h_CFLAGS
=$CFLAGS
18998 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
18999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19000 printf %s
"checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19001 if test ${ac_cv_c_logicalop_noisy+y}
19003 printf %s
"(cached) " >&6
19005 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19006 /* end confdefs.h. */
19007 #include <string.h>
19008 char*f(const char *h,char n) {return strchr(h,n);}
19017 if ac_fn_c_try_compile
"$LINENO"
19019 ac_cv_c_logicalop_noisy
=no
19021 ac_cv_c_logicalop_noisy
=yes
19023 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19026 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19027 CFLAGS
=$saved_string_h_CFLAGS
19028 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
19031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19032 printf %s
"checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19033 if test ${wine_cv_64bit_compare_swap+y}
19035 printf %s
"(cached) " >&6
19037 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19038 /* end confdefs.h. */
19039 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19050 if ac_fn_c_try_compile
"$LINENO"
19052 wine_cv_64bit_compare_swap
="none needed"
19055 *i
[3456]86*) wine_cv_64bit_compare_swap
="-march=i586" ;;
19056 *arm
*) wine_cv_64bit_compare_swap
="-march=armv7-a" ;;
19057 *) wine_cv_64bit_compare_swap
="unknown" ;;
19059 if test "x$wine_cv_64bit_compare_swap" != xunknown
19061 CFLAGS
="$CFLAGS $wine_cv_64bit_compare_swap"
19062 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19063 /* end confdefs.h. */
19064 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19075 if ac_fn_c_try_compile
"$LINENO"
19079 wine_cv_64bit_compare_swap
="unknown"
19081 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19082 CFLAGS
=$saved_CFLAGS
19085 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19088 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19089 case "$wine_cv_64bit_compare_swap" in
19090 unknown
) as_fn_error $?
"gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19092 *) EXTRACFLAGS
="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19095 ac_debug_format_seen
=""
19096 for ac_flag
in $CFLAGS; do
19098 -gdwarf*) ac_debug_format_seen
=yes ;;
19099 -g) ac_debug_format_seen
=${ac_debug_format_seen:-default} ;;
19102 if test "x$ac_debug_format_seen" = xdefault
19104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19105 printf %s
"checking whether the compiler supports -gdwarf-4... " >&6; }
19106 if test ${ac_cv_cflags__gdwarf_4+y}
19108 printf %s
"(cached) " >&6
19110 ac_wine_try_cflags_saved
=$CFLAGS
19111 CFLAGS
="$CFLAGS -gdwarf-4"
19112 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19113 /* end confdefs.h. */
19114 int main(int argc, char **argv) { return 0; }
19116 if ac_fn_c_try_link
"$LINENO"
19118 ac_cv_cflags__gdwarf_4
=yes
19120 ac_cv_cflags__gdwarf_4
=no
19122 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19123 conftest
$ac_exeext conftest.
$ac_ext
19124 CFLAGS
=$ac_wine_try_cflags_saved
19126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19127 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19128 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19130 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-4"
19137 mingw32
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19138 printf %s
"checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19139 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19141 printf %s
"(cached) " >&6
19143 ac_wine_try_cflags_saved
=$CFLAGS
19144 CFLAGS
="$CFLAGS -Wl,-delayload,autoconftest.dll"
19145 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19146 /* end confdefs.h. */
19147 int main(int argc, char **argv) { return 0; }
19149 if ac_fn_c_try_link
"$LINENO"
19151 ac_cv_cflags__Wl__delayload_autoconftest_dll
=yes
19153 ac_cv_cflags__Wl__delayload_autoconftest_dll
=no
19155 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19156 conftest
$ac_exeext conftest.
$ac_ext
19157 CFLAGS
=$ac_wine_try_cflags_saved
19159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19160 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19161 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19163 DELAYLOADFLAG
="-Wl,-delayload,"
19166 *) MSVCRTFLAGS
="-D_WIN32"
19167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19168 printf %s
"checking whether the compiler supports -fno-builtin... " >&6; }
19169 if test ${ac_cv_cflags__fno_builtin+y}
19171 printf %s
"(cached) " >&6
19173 ac_wine_try_cflags_saved
=$CFLAGS
19174 CFLAGS
="$CFLAGS -fno-builtin"
19175 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19176 /* end confdefs.h. */
19177 int main(int argc, char **argv) { return 0; }
19179 if ac_fn_c_try_link
"$LINENO"
19181 ac_cv_cflags__fno_builtin
=yes
19183 ac_cv_cflags__fno_builtin
=no
19185 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19186 conftest
$ac_exeext conftest.
$ac_ext
19187 CFLAGS
=$ac_wine_try_cflags_saved
19189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19190 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19191 if test "x$ac_cv_cflags__fno_builtin" = xyes
19193 MSVCRTFLAGS
="$MSVCRTFLAGS -fno-builtin"
19195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19196 printf %s
"checking whether the compiler supports -fshort-wchar... " >&6; }
19197 if test ${ac_cv_cflags__fshort_wchar+y}
19199 printf %s
"(cached) " >&6
19201 ac_wine_try_cflags_saved
=$CFLAGS
19202 CFLAGS
="$CFLAGS -fshort-wchar"
19203 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19204 /* end confdefs.h. */
19205 int main(int argc, char **argv) { return 0; }
19207 if ac_fn_c_try_link
"$LINENO"
19209 ac_cv_cflags__fshort_wchar
=yes
19211 ac_cv_cflags__fshort_wchar
=no
19213 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19214 conftest
$ac_exeext conftest.
$ac_ext
19215 CFLAGS
=$ac_wine_try_cflags_saved
19217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19218 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19219 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19221 MSVCRTFLAGS
="$MSVCRTFLAGS -fshort-wchar"
19223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19224 printf %s
"checking whether the compiler supports -Wno-format... " >&6; }
19225 if test ${ac_cv_cflags__Wno_format+y}
19227 printf %s
"(cached) " >&6
19229 ac_wine_try_cflags_saved
=$CFLAGS
19230 CFLAGS
="$CFLAGS -Wno-format"
19231 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19232 /* end confdefs.h. */
19233 int main(int argc, char **argv) { return 0; }
19235 if ac_fn_c_try_link
"$LINENO"
19237 ac_cv_cflags__Wno_format
=yes
19239 ac_cv_cflags__Wno_format
=no
19241 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19242 conftest
$ac_exeext conftest.
$ac_ext
19243 CFLAGS
=$ac_wine_try_cflags_saved
19245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19246 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19247 if test "x$ac_cv_cflags__Wno_format" = xyes
19249 MSVCRTFLAGS
="$MSVCRTFLAGS -Wno-format"
19254 *i
[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19255 printf %s
"checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19256 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19258 printf %s
"(cached) " >&6
19260 ac_wine_try_cflags_saved
=$CFLAGS
19261 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
19262 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19263 /* end confdefs.h. */
19264 int main(int argc, char **argv) { return 0; }
19266 if ac_fn_c_try_link
"$LINENO"
19268 ac_cv_cflags__fno_omit_frame_pointer
=yes
19270 ac_cv_cflags__fno_omit_frame_pointer
=no
19272 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19273 conftest
$ac_exeext conftest.
$ac_ext
19274 CFLAGS
=$ac_wine_try_cflags_saved
19276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19277 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19278 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19280 MSVCRTFLAGS
="$MSVCRTFLAGS -fno-omit-frame-pointer"
19284 cygwin
*|mingw32
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19285 printf %s
"checking whether the compiler supports -Wno-format... " >&6; }
19286 if test ${ac_cv_cflags__Wno_format+y}
19288 printf %s
"(cached) " >&6
19290 ac_wine_try_cflags_saved
=$CFLAGS
19291 CFLAGS
="$CFLAGS -Wno-format"
19292 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19293 /* end confdefs.h. */
19294 int main(int argc, char **argv) { return 0; }
19296 if ac_fn_c_try_link
"$LINENO"
19298 ac_cv_cflags__Wno_format
=yes
19300 ac_cv_cflags__Wno_format
=no
19302 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19303 conftest
$ac_exeext conftest.
$ac_ext
19304 CFLAGS
=$ac_wine_try_cflags_saved
19306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19307 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19308 if test "x$ac_cv_cflags__Wno_format" = xyes
19310 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
19312 *) if test -z "$PE_ARCHS"
19314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19315 printf %s
"checking for working -mabi=ms... " >&6; }
19316 if test ${ac_cv_mabi_ms+y}
19318 printf %s
"(cached) " >&6
19320 CFLAGS
="$CFLAGS -mabi=ms"
19321 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19322 /* end confdefs.h. */
19323 #include <stdarg.h>
19324 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19333 if ac_fn_c_try_compile
"$LINENO"
19339 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19340 CFLAGS
=$saved_CFLAGS
19342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19343 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19344 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
19346 MSVCRTFLAGS
="$MSVCRTFLAGS -mabi=ms" ;;
19349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19350 printf %s
"checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19351 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19353 printf %s
"(cached) " >&6
19355 ac_wine_try_cflags_saved
=$CFLAGS
19356 CFLAGS
="$CFLAGS -Wincompatible-function-pointer-types"
19357 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19358 /* end confdefs.h. */
19359 int main(int argc, char **argv) { return 0; }
19361 if ac_fn_c_try_link
"$LINENO"
19363 ac_cv_cflags__Wincompatible_function_pointer_types
=yes
19365 ac_cv_cflags__Wincompatible_function_pointer_types
=no
19367 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19368 conftest
$ac_exeext conftest.
$ac_ext
19369 CFLAGS
=$ac_wine_try_cflags_saved
19371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
19372 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19373 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19375 EXTRACFLAGS
="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19379 CFLAGS
=$saved_CFLAGS
19381 if test "x$enable_werror" = "xyes"
19383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19384 printf %s
"checking whether the compiler supports -Werror... " >&6; }
19385 if test ${ac_cv_cflags__Werror+y}
19387 printf %s
"(cached) " >&6
19389 ac_wine_try_cflags_saved
=$CFLAGS
19390 CFLAGS
="$CFLAGS -Werror"
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__Werror
=yes
19399 ac_cv_cflags__Werror
=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__Werror" >&5
19406 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19407 if test "x$ac_cv_cflags__Werror" = xyes
19409 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
19412 if test "x$enable_build_id" = "xyes"
19414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19415 printf %s
"checking whether the compiler supports -Wl,--build-id... " >&6; }
19416 if test ${ac_cv_cflags__Wl___build_id+y}
19418 printf %s
"(cached) " >&6
19420 ac_wine_try_cflags_saved
=$CFLAGS
19421 CFLAGS
="$CFLAGS -Wl,--build-id"
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__Wl___build_id
=yes
19430 ac_cv_cflags__Wl___build_id
=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__Wl___build_id" >&5
19437 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19438 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19440 CFLAGS
="$CFLAGS -Wl,--build-id"
19441 LDFLAGS
="$LDFLAGS -Wl,--build-id"
19447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19448 printf %s
"checking for the need to disable Fortify... " >&6; }
19449 if test ${ac_cv_c_fortify_enabled+y}
19451 printf %s
"(cached) " >&6
19453 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19454 /* end confdefs.h. */
19455 #include <string.h>
19459 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19460 #error Fortify enabled
19466 if ac_fn_c_try_compile
"$LINENO"
19468 ac_cv_c_fortify_enabled
=no
19470 ac_cv_c_fortify_enabled
=yes
19472 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19475 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19476 if test "$ac_cv_c_fortify_enabled" = yes
19478 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19483 printf %s
"checking whether CFI directives are supported in assembly code... " >&6; }
19484 if test ${ac_cv_c_cfi_support+y}
19486 printf %s
"(cached) " >&6
19488 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19489 /* end confdefs.h. */
19490 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19499 if ac_fn_c_try_compile
"$LINENO"
19501 ac_cv_c_cfi_support
="yes"
19503 ac_cv_c_cfi_support
="no"
19505 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19508 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19509 if test "$ac_cv_c_cfi_support" = "yes"
19511 DLLFLAGS
="$DLLFLAGS -fasynchronous-unwind-tables"
19512 LDDLLFLAGS
="$LDDLLFLAGS -fasynchronous-unwind-tables"
19513 UNIXDLLFLAGS
="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19514 elif test $HOST_ARCH = x86_64
19516 as_fn_append wine_warnings
"|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19520 case "$HOST_ARCH,$PE_ARCHS" in
19521 x86_64
,*i386
*) wine_binary
="wine" ;;
19522 x86_64
,*) wine_binary
="wine64" ;;
19523 *) wine_binary
="wine" ;;
19525 WINELOADER_PROGRAMS
="$wine_binary"
19531 *i
[3456789]86*|x86_64
*|
*aarch64
*|arm
*)
19532 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine-preloader"
19533 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
19538 if test "$wine_can_build_preloader" = "yes"
19540 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine-preloader"
19541 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
19547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19548 printf %s
"checking for library containing dlopen... " >&6; }
19549 if test ${ac_cv_search_dlopen+y}
19551 printf %s
"(cached) " >&6
19553 ac_func_search_save_LIBS
=$LIBS
19554 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19555 /* end confdefs.h. */
19557 /* Override any GCC internal prototype to avoid an error.
19558 Use char because int might match the return type of a GCC
19559 builtin and then its argument prototype would still apply. */
19569 for ac_lib
in '' dl
19571 if test -z "$ac_lib"; then
19572 ac_res
="none required"
19575 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19577 if ac_fn_c_try_link
"$LINENO"
19579 ac_cv_search_dlopen
=$ac_res
19581 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19583 if test ${ac_cv_search_dlopen+y}
19588 if test ${ac_cv_search_dlopen+y}
19592 ac_cv_search_dlopen
=no
19594 rm conftest.
$ac_ext
19595 LIBS
=$ac_func_search_save_LIBS
19597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19598 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19599 ac_res
=$ac_cv_search_dlopen
19600 if test "$ac_res" != no
19602 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19608 printf %s
"checking for library containing gethostbyname... " >&6; }
19609 if test ${ac_cv_search_gethostbyname+y}
19611 printf %s
"(cached) " >&6
19613 ac_func_search_save_LIBS
=$LIBS
19614 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19615 /* end confdefs.h. */
19617 /* Override any GCC internal prototype to avoid an error.
19618 Use char because int might match the return type of a GCC
19619 builtin and then its argument prototype would still apply. */
19620 char gethostbyname ();
19624 return gethostbyname ();
19629 for ac_lib
in '' nsl
19631 if test -z "$ac_lib"; then
19632 ac_res
="none required"
19635 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19637 if ac_fn_c_try_link
"$LINENO"
19639 ac_cv_search_gethostbyname
=$ac_res
19641 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19643 if test ${ac_cv_search_gethostbyname+y}
19648 if test ${ac_cv_search_gethostbyname+y}
19652 ac_cv_search_gethostbyname
=no
19654 rm conftest.
$ac_ext
19655 LIBS
=$ac_func_search_save_LIBS
19657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19658 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19659 ac_res
=$ac_cv_search_gethostbyname
19660 if test "$ac_res" != no
19662 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19668 printf %s
"checking for library containing connect... " >&6; }
19669 if test ${ac_cv_search_connect+y}
19671 printf %s
"(cached) " >&6
19673 ac_func_search_save_LIBS
=$LIBS
19674 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19675 /* end confdefs.h. */
19677 /* Override any GCC internal prototype to avoid an error.
19678 Use char because int might match the return type of a GCC
19679 builtin and then its argument prototype would still apply. */
19689 for ac_lib
in '' socket
19691 if test -z "$ac_lib"; then
19692 ac_res
="none required"
19695 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19697 if ac_fn_c_try_link
"$LINENO"
19699 ac_cv_search_connect
=$ac_res
19701 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19703 if test ${ac_cv_search_connect+y}
19708 if test ${ac_cv_search_connect+y}
19712 ac_cv_search_connect
=no
19714 rm conftest.
$ac_ext
19715 LIBS
=$ac_func_search_save_LIBS
19717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19718 printf "%s\n" "$ac_cv_search_connect" >&6; }
19719 ac_res
=$ac_cv_search_connect
19720 if test "$ac_res" != no
19722 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19728 printf %s
"checking for library containing inet_aton... " >&6; }
19729 if test ${ac_cv_search_inet_aton+y}
19731 printf %s
"(cached) " >&6
19733 ac_func_search_save_LIBS
=$LIBS
19734 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19735 /* end confdefs.h. */
19737 /* Override any GCC internal prototype to avoid an error.
19738 Use char because int might match the return type of a GCC
19739 builtin and then its argument prototype would still apply. */
19744 return inet_aton ();
19749 for ac_lib
in '' resolv
19751 if test -z "$ac_lib"; then
19752 ac_res
="none required"
19755 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19757 if ac_fn_c_try_link
"$LINENO"
19759 ac_cv_search_inet_aton
=$ac_res
19761 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19763 if test ${ac_cv_search_inet_aton+y}
19768 if test ${ac_cv_search_inet_aton+y}
19772 ac_cv_search_inet_aton
=no
19774 rm conftest.
$ac_ext
19775 LIBS
=$ac_func_search_save_LIBS
19777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
19778 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
19779 ac_res
=$ac_cv_search_inet_aton
19780 if test "$ac_res" != no
19782 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19787 ac_save_CFLAGS
="$CFLAGS"
19788 CFLAGS
="$CFLAGS $BUILTINFLAG"
19789 ac_fn_c_check_func
"$LINENO" "dladdr1" "ac_cv_func_dladdr1"
19790 if test "x$ac_cv_func_dladdr1" = xyes
19792 printf "%s\n" "#define HAVE_DLADDR1 1" >>confdefs.h
19795 ac_fn_c_check_func
"$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19796 if test "x$ac_cv_func_dlinfo" = xyes
19798 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19801 ac_fn_c_check_func
"$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19802 if test "x$ac_cv_func_epoll_create" = xyes
19804 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19807 ac_fn_c_check_func
"$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19808 if test "x$ac_cv_func_fstatfs" = xyes
19810 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19813 ac_fn_c_check_func
"$LINENO" "futimens" "ac_cv_func_futimens"
19814 if test "x$ac_cv_func_futimens" = xyes
19816 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19819 ac_fn_c_check_func
"$LINENO" "futimes" "ac_cv_func_futimes"
19820 if test "x$ac_cv_func_futimes" = xyes
19822 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19825 ac_fn_c_check_func
"$LINENO" "futimesat" "ac_cv_func_futimesat"
19826 if test "x$ac_cv_func_futimesat" = xyes
19828 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19831 ac_fn_c_check_func
"$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
19832 if test "x$ac_cv_func_getaddrinfo" = xyes
19834 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
19837 ac_fn_c_check_func
"$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19838 if test "x$ac_cv_func_getattrlist" = xyes
19840 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19843 ac_fn_c_check_func
"$LINENO" "getauxval" "ac_cv_func_getauxval"
19844 if test "x$ac_cv_func_getauxval" = xyes
19846 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19849 ac_fn_c_check_func
"$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19850 if test "x$ac_cv_func_getifaddrs" = xyes
19852 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19855 ac_fn_c_check_func
"$LINENO" "getrandom" "ac_cv_func_getrandom"
19856 if test "x$ac_cv_func_getrandom" = xyes
19858 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19861 ac_fn_c_check_func
"$LINENO" "kqueue" "ac_cv_func_kqueue"
19862 if test "x$ac_cv_func_kqueue" = xyes
19864 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19867 ac_fn_c_check_func
"$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19868 if test "x$ac_cv_func_mach_continuous_time" = xyes
19870 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19873 ac_fn_c_check_func
"$LINENO" "pipe2" "ac_cv_func_pipe2"
19874 if test "x$ac_cv_func_pipe2" = xyes
19876 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19879 ac_fn_c_check_func
"$LINENO" "port_create" "ac_cv_func_port_create"
19880 if test "x$ac_cv_func_port_create" = xyes
19882 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
19885 ac_fn_c_check_func
"$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
19886 if test "x$ac_cv_func_posix_fadvise" = xyes
19888 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
19891 ac_fn_c_check_func
"$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
19892 if test "x$ac_cv_func_posix_fallocate" = xyes
19894 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
19897 ac_fn_c_check_func
"$LINENO" "prctl" "ac_cv_func_prctl"
19898 if test "x$ac_cv_func_prctl" = xyes
19900 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
19903 ac_fn_c_check_func
"$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
19904 if test "x$ac_cv_func_proc_pidinfo" = xyes
19906 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
19909 ac_fn_c_check_func
"$LINENO" "sched_yield" "ac_cv_func_sched_yield"
19910 if test "x$ac_cv_func_sched_yield" = xyes
19912 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
19915 ac_fn_c_check_func
"$LINENO" "setproctitle" "ac_cv_func_setproctitle"
19916 if test "x$ac_cv_func_setproctitle" = xyes
19918 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
19921 ac_fn_c_check_func
"$LINENO" "setprogname" "ac_cv_func_setprogname"
19922 if test "x$ac_cv_func_setprogname" = xyes
19924 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
19927 ac_fn_c_check_func
"$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
19928 if test "x$ac_cv_func_sigprocmask" = xyes
19930 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
19933 ac_fn_c_check_func
"$LINENO" "sysinfo" "ac_cv_func_sysinfo"
19934 if test "x$ac_cv_func_sysinfo" = xyes
19936 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
19939 ac_fn_c_check_func
"$LINENO" "tcdrain" "ac_cv_func_tcdrain"
19940 if test "x$ac_cv_func_tcdrain" = xyes
19942 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
19945 ac_fn_c_check_func
"$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
19946 if test "x$ac_cv_func_thr_kill2" = xyes
19948 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
19952 CFLAGS
="$ac_save_CFLAGS"
19955 darwin
*|macosx
*) ;;
19956 *) ac_save_LIBS
=$LIBS
19957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19958 printf %s
"checking for library containing clock_gettime... " >&6; }
19959 if test ${ac_cv_search_clock_gettime+y}
19961 printf %s
"(cached) " >&6
19963 ac_func_search_save_LIBS
=$LIBS
19964 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19965 /* end confdefs.h. */
19967 /* Override any GCC internal prototype to avoid an error.
19968 Use char because int might match the return type of a GCC
19969 builtin and then its argument prototype would still apply. */
19970 char clock_gettime ();
19974 return clock_gettime ();
19979 for ac_lib
in '' rt
19981 if test -z "$ac_lib"; then
19982 ac_res
="none required"
19985 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19987 if ac_fn_c_try_link
"$LINENO"
19989 ac_cv_search_clock_gettime
=$ac_res
19991 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19993 if test ${ac_cv_search_clock_gettime+y}
19998 if test ${ac_cv_search_clock_gettime+y}
20002 ac_cv_search_clock_gettime
=no
20004 rm conftest.
$ac_ext
20005 LIBS
=$ac_func_search_save_LIBS
20007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20008 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20009 ac_res
=$ac_cv_search_clock_gettime
20010 if test "$ac_res" != no
20012 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20014 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20016 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
20024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20025 printf %s
"checking for sched_setaffinity... " >&6; }
20026 if test ${wine_cv_have_sched_setaffinity+y}
20028 printf %s
"(cached) " >&6
20030 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20031 /* end confdefs.h. */
20036 sched_setaffinity(0, 0, 0);
20041 if ac_fn_c_try_link
"$LINENO"
20043 wine_cv_have_sched_setaffinity
=yes
20045 wine_cv_have_sched_setaffinity
=no
20047 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20048 conftest
$ac_exeext conftest.
$ac_ext
20050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20051 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20052 if test "$wine_cv_have_sched_setaffinity" = "yes"
20055 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20061 printf %s
"checking for inline... " >&6; }
20062 if test ${ac_cv_c_inline+y}
20064 printf %s
"(cached) " >&6
20067 for ac_kw
in inline __inline__ __inline
; do
20068 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20069 /* end confdefs.h. */
20070 #ifndef __cplusplus
20072 static $ac_kw foo_t static_foo (void) {return 0; }
20073 $ac_kw foo_t foo (void) {return 0; }
20077 if ac_fn_c_try_compile
"$LINENO"
20079 ac_cv_c_inline
=$ac_kw
20081 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20082 test "$ac_cv_c_inline" != no
&& break
20086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20087 printf "%s\n" "$ac_cv_c_inline" >&6; }
20089 case $ac_cv_c_inline in
20092 case $ac_cv_c_inline in
20094 *) ac_val
=$ac_cv_c_inline;;
20096 cat >>confdefs.h
<<_ACEOF
20097 #ifndef __cplusplus
20098 #define inline $ac_val
20104 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20106 if test "x$ac_cv_type_request_sense" = xyes
20109 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20115 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20116 #include <sys/socket.h>
20117 #ifdef HAVE_SYS_SOCKETVAR_H
20118 #include <sys/socketvar.h>
20120 #ifdef HAVE_NET_ROUTE_H
20121 #include <net/route.h>
20123 #ifdef HAVE_NETINET_IN_H
20124 #include <netinet/in.h>
20126 #ifdef HAVE_NETINET_IN_SYSTM_H
20127 #include <netinet/in_systm.h>
20129 #ifdef HAVE_NETINET_IP_H
20130 #include <netinet/ip.h>
20132 #ifdef HAVE_NETINET_IN_PCB_H
20133 #include <netinet/in_pcb.h>
20136 if test "x$ac_cv_type_struct_xinpgen" = xyes
20139 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20146 printf %s
"checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20147 if test ${wine_cv_linux_gethostbyname_r_6+y}
20149 printf %s
"(cached) " >&6
20151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20152 /* end confdefs.h. */
20160 struct hostent *result;
20167 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20168 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20174 if ac_fn_c_try_link
"$LINENO"
20176 wine_cv_linux_gethostbyname_r_6
=yes
20178 wine_cv_linux_gethostbyname_r_6
=no
20181 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20182 conftest
$ac_exeext conftest.
$ac_ext
20185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20186 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20187 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20190 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20194 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20195 #include <sys/socket.h>
20196 #ifdef HAVE_SYS_UN_H
20197 # include <sys/un.h>
20200 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20203 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20207 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20208 #include <sys/socket.h>
20209 #ifdef HAVE_SYS_UN_H
20210 # include <sys/un.h>
20213 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20216 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20222 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20223 #ifdef HAVE_SCSI_SG_H
20224 #include <scsi/sg.h>
20227 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20230 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20234 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>
20235 #ifdef HAVE_SCSI_SG_H
20236 #include <scsi/sg.h>
20239 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20242 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20248 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20250 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20253 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20259 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20260 #ifdef HAVE_SYS_MTIO_H
20261 #include <sys/mtio.h>
20264 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20267 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20271 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20272 #ifdef HAVE_SYS_MTIO_H
20273 #include <sys/mtio.h>
20276 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20279 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20283 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20284 #ifdef HAVE_SYS_MTIO_H
20285 #include <sys/mtio.h>
20288 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20291 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20297 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20298 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20301 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20305 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20306 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20309 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20313 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20314 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20317 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20321 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20322 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20325 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20329 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20330 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20333 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20337 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20338 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20341 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20345 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20346 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20349 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20353 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20354 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20357 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20361 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20362 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20365 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20369 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20370 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20373 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20377 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20378 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20381 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20387 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>
20388 #ifdef HAVE_NETINET_IN_H
20389 #include <netinet/in.h>
20392 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20395 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20401 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
20402 #include <resolv.h>
20405 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20408 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20414 ac_fn_c_check_member
"$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20415 #include <netinet/in.h>
20418 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20421 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20427 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20428 #ifdef HAVE_SYS_SOCKETVAR_H
20429 #include <sys/socketvar.h>
20431 #ifdef HAVE_NETINET_IN_H
20432 #include <netinet/in.h>
20434 #ifdef HAVE_NETINET_IP_VAR_H
20435 #include <netinet/ip_var.h>
20438 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20441 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20447 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
20448 #include <netinet/ip_var.h>
20451 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20454 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20460 ac_fn_c_check_member
"$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20461 #ifdef HAVE_SYS_SOCKETVAR_H
20462 #include <sys/socketvar.h>
20464 #ifdef HAVE_NETINET_IN_H
20465 #include <netinet/in.h>
20467 #ifdef HAVE_NETINET6_IP6_VAR_H
20468 #include <netinet6/ip6_var.h>
20471 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20474 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20480 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20481 #ifdef HAVE_SYS_SOCKETVAR_H
20482 #include <sys/socketvar.h>
20484 #ifdef HAVE_NETINET_IN_H
20485 #include <netinet/in.h>
20487 #ifdef HAVE_NETINET_IP_H
20488 #include <netinet/ip.h>
20490 #ifdef HAVE_NETINET_IP_ICMP_H
20491 #include <netinet/ip_icmp.h>
20493 #ifdef HAVE_NETINET_ICMP_VAR_H
20494 #include <netinet/icmp_var.h>
20497 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20500 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20506 ac_fn_c_check_member
"$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20507 #ifdef HAVE_SYS_SOCKETVAR_H
20508 #include <sys/socketvar.h>
20510 #ifdef HAVE_NETINET_IN_H
20511 #include <netinet/in.h>
20513 #ifdef HAVE_NETINET_ICMP6_H
20514 #include <netinet/icmp6.h>
20517 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20520 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20526 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20527 #ifdef HAVE_SYS_SOCKETVAR_H
20528 #include <sys/socketvar.h>
20530 #ifdef HAVE_NETINET_IN_H
20531 #include <netinet/in.h>
20533 #ifdef HAVE_NETINET_TCP_H
20534 #include <netinet/tcp.h>
20536 #ifdef HAVE_NETINET_TCP_VAR_H
20537 #include <netinet/tcp_var.h>
20540 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20543 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20549 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
20550 #include <netinet/tcp_var.h>
20553 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20556 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20562 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20563 #ifdef HAVE_NETINET_IN_H
20564 #include <netinet/in.h>
20566 #ifdef HAVE_NETINET_IP_VAR_H
20567 #include <netinet/ip_var.h>
20569 #ifdef HAVE_NETINET_UDP_H
20570 #include <netinet/udp.h>
20572 #ifdef HAVE_NETINET_UDP_VAR_H
20573 #include <netinet/udp_var.h>
20576 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20579 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20585 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20586 #ifdef HAVE_NET_IF_H
20587 # include <net/if.h>
20590 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20593 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20599 ac_fn_c_check_member
"$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20600 # include <sys/sysinfo.h>
20603 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20606 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20610 ac_fn_c_check_member
"$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20611 # include <sys/sysinfo.h>
20614 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20617 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20623 LIBS
="$ac_save_LIBS"
20625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20626 printf %s
"checking for __builtin_popcount... " >&6; }
20627 if test ${ac_cv_have___builtin_popcount+y}
20629 printf %s
"(cached) " >&6
20631 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20632 /* end confdefs.h. */
20637 return __builtin_popcount(1)
20642 if ac_fn_c_try_link
"$LINENO"
20644 ac_cv_have___builtin_popcount
="yes"
20646 ac_cv_have___builtin_popcount
="no"
20648 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20649 conftest
$ac_exeext conftest.
$ac_ext
20651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20652 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20653 if test "$ac_cv_have___builtin_popcount" = "yes"
20656 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20661 printf %s
"checking for __clear_cache... " >&6; }
20662 if test ${ac_cv_have___clear_cache+y}
20664 printf %s
"(cached) " >&6
20666 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20667 /* end confdefs.h. */
20672 __clear_cache((void*)0, (void*)0); return 0;
20677 if ac_fn_c_try_link
"$LINENO"
20679 ac_cv_have___clear_cache
="yes"
20681 ac_cv_have___clear_cache
="no"
20683 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20684 conftest
$ac_exeext conftest.
$ac_ext
20686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20687 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20688 if test "$ac_cv_have___clear_cache" = "yes"
20691 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20697 *i
[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20698 printf %s
"checking whether we need to define __i386__... " >&6; }
20699 if test ${ac_cv_cpp_def___i386__+y}
20701 printf %s
"(cached) " >&6
20703 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20704 /* end confdefs.h. */
20709 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20710 $EGREP "yes" >/dev
/null
2>&1
20712 ac_cv_cpp_def___i386__
=yes
20714 ac_cv_cpp_def___i386__
=no
20719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20720 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20721 if test "x$ac_cv_cpp_def___i386__" = xyes
20723 CFLAGS
="$CFLAGS -D__i386__"
20724 LINTFLAGS
="$LINTFLAGS -D__i386__"
20726 *x86_64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20727 printf %s
"checking whether we need to define __x86_64__... " >&6; }
20728 if test ${ac_cv_cpp_def___x86_64__+y}
20730 printf %s
"(cached) " >&6
20732 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20733 /* end confdefs.h. */
20738 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20739 $EGREP "yes" >/dev
/null
2>&1
20741 ac_cv_cpp_def___x86_64__
=yes
20743 ac_cv_cpp_def___x86_64__
=no
20748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20749 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20750 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20752 CFLAGS
="$CFLAGS -D__x86_64__"
20753 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
20755 *sparc64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
20756 printf %s
"checking whether we need to define __sparc64__... " >&6; }
20757 if test ${ac_cv_cpp_def___sparc64__+y}
20759 printf %s
"(cached) " >&6
20761 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20762 /* end confdefs.h. */
20763 #ifndef __sparc64__
20767 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20768 $EGREP "yes" >/dev
/null
2>&1
20770 ac_cv_cpp_def___sparc64__
=yes
20772 ac_cv_cpp_def___sparc64__
=no
20777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
20778 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
20779 if test "x$ac_cv_cpp_def___sparc64__" = xyes
20781 CFLAGS
="$CFLAGS -D__sparc64__"
20782 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
20784 *sparc
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
20785 printf %s
"checking whether we need to define __sparc__... " >&6; }
20786 if test ${ac_cv_cpp_def___sparc__+y}
20788 printf %s
"(cached) " >&6
20790 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20791 /* end confdefs.h. */
20796 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20797 $EGREP "yes" >/dev
/null
2>&1
20799 ac_cv_cpp_def___sparc__
=yes
20801 ac_cv_cpp_def___sparc__
=no
20806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
20807 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
20808 if test "x$ac_cv_cpp_def___sparc__" = xyes
20810 CFLAGS
="$CFLAGS -D__sparc__"
20811 LINTFLAGS
="$LINTFLAGS -D__sparc__"
20813 *powerpc64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
20814 printf %s
"checking whether we need to define __powerpc64__... " >&6; }
20815 if test ${ac_cv_cpp_def___powerpc64__+y}
20817 printf %s
"(cached) " >&6
20819 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20820 /* end confdefs.h. */
20821 #ifndef __powerpc64__
20825 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20826 $EGREP "yes" >/dev
/null
2>&1
20828 ac_cv_cpp_def___powerpc64__
=yes
20830 ac_cv_cpp_def___powerpc64__
=no
20835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
20836 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
20837 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
20839 CFLAGS
="$CFLAGS -D__powerpc64__"
20840 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
20842 *powerpc
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
20843 printf %s
"checking whether we need to define __powerpc__... " >&6; }
20844 if test ${ac_cv_cpp_def___powerpc__+y}
20846 printf %s
"(cached) " >&6
20848 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20849 /* end confdefs.h. */
20850 #ifndef __powerpc__
20854 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20855 $EGREP "yes" >/dev
/null
2>&1
20857 ac_cv_cpp_def___powerpc__
=yes
20859 ac_cv_cpp_def___powerpc__
=no
20864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
20865 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
20866 if test "x$ac_cv_cpp_def___powerpc__" = xyes
20868 CFLAGS
="$CFLAGS -D__powerpc__"
20869 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
20871 *aarch64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
20872 printf %s
"checking whether we need to define __aarch64__... " >&6; }
20873 if test ${ac_cv_cpp_def___aarch64__+y}
20875 printf %s
"(cached) " >&6
20877 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20878 /* end confdefs.h. */
20879 #ifndef __aarch64__
20883 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20884 $EGREP "yes" >/dev
/null
2>&1
20886 ac_cv_cpp_def___aarch64__
=yes
20888 ac_cv_cpp_def___aarch64__
=no
20893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
20894 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
20895 if test "x$ac_cv_cpp_def___aarch64__" = xyes
20897 CFLAGS
="$CFLAGS -D__aarch64__"
20898 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
20900 *arm
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
20901 printf %s
"checking whether we need to define __arm__... " >&6; }
20902 if test ${ac_cv_cpp_def___arm__+y}
20904 printf %s
"(cached) " >&6
20906 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20907 /* end confdefs.h. */
20912 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20913 $EGREP "yes" >/dev
/null
2>&1
20915 ac_cv_cpp_def___arm__
=yes
20917 ac_cv_cpp_def___arm__
=no
20922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
20923 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
20924 if test "x$ac_cv_cpp_def___arm__" = xyes
20926 CFLAGS
="$CFLAGS -D__arm__"
20927 LINTFLAGS
="$LINTFLAGS -D__arm__"
20931 case $host_vendor in
20932 *sun
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
20933 printf %s
"checking whether we need to define __sun__... " >&6; }
20934 if test ${ac_cv_cpp_def___sun__+y}
20936 printf %s
"(cached) " >&6
20938 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20939 /* end confdefs.h. */
20944 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20945 $EGREP "yes" >/dev
/null
2>&1
20947 ac_cv_cpp_def___sun__
=yes
20949 ac_cv_cpp_def___sun__
=no
20954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
20955 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
20956 if test "x$ac_cv_cpp_def___sun__" = xyes
20958 CFLAGS
="$CFLAGS -D__sun__"
20959 LINTFLAGS
="$LINTFLAGS -D__sun__"
20967 ac_config_commands
="$ac_config_commands include/stamp-h"
20969 printf %s
"creating Makefile rules..." >&6
20972 test "x$enable_silent_rules" = xyes
&& makedep_flags
="$makedep_flags -S"
20975 test "$srcdir" = . || wine_srcdir
="$srcdir/"
20977 ac_config_links
="$ac_config_links wine:tools/winewrapper"
20978 wine_fn_config_symlink wine
20979 if test "$HOST_ARCH" = x86_64
-o -n "$with_wine64"; then
20980 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
20981 wine_fn_config_symlink wine64
20984 wine_fn_config_makefile dlls
/acledit enable_acledit
20985 wine_fn_config_makefile dlls
/aclui enable_aclui
20986 wine_fn_config_makefile dlls
/activeds.tlb enable_activeds_tlb
20987 wine_fn_config_makefile dlls
/activeds enable_activeds
20988 wine_fn_config_makefile dlls
/activeds
/tests enable_tests
20989 wine_fn_config_makefile dlls
/actxprxy enable_actxprxy
20990 wine_fn_config_makefile dlls
/adsldp enable_adsldp
20991 wine_fn_config_makefile dlls
/adsldp
/tests enable_tests
20992 wine_fn_config_makefile dlls
/adsldpc enable_adsldpc
20993 wine_fn_config_makefile dlls
/advapi32 enable_advapi32
20994 wine_fn_config_makefile dlls
/advapi32
/tests enable_tests
20995 wine_fn_config_makefile dlls
/advpack enable_advpack
20996 wine_fn_config_makefile dlls
/advpack
/tests enable_tests
20997 wine_fn_config_makefile dlls
/amsi enable_amsi
20998 wine_fn_config_makefile dlls
/amstream enable_amstream
20999 wine_fn_config_makefile dlls
/amstream
/tests enable_tests
21000 wine_fn_config_makefile dlls
/apisetschema enable_apisetschema
21001 wine_fn_config_makefile dlls
/apphelp enable_apphelp
21002 wine_fn_config_makefile dlls
/apphelp
/tests enable_tests
21003 wine_fn_config_makefile dlls
/appwiz.cpl enable_appwiz_cpl
21004 wine_fn_config_makefile dlls
/atl enable_atl
21005 wine_fn_config_makefile dlls
/atl
/tests enable_tests
21006 wine_fn_config_makefile dlls
/atl100 enable_atl100
21007 wine_fn_config_makefile dlls
/atl100
/tests enable_tests
21008 wine_fn_config_makefile dlls
/atl110 enable_atl110
21009 wine_fn_config_makefile dlls
/atl110
/tests enable_tests
21010 wine_fn_config_makefile dlls
/atl80 enable_atl80
21011 wine_fn_config_makefile dlls
/atl80
/tests enable_tests
21012 wine_fn_config_makefile dlls
/atl90 enable_atl90
21013 wine_fn_config_makefile dlls
/atlthunk enable_atlthunk
21014 wine_fn_config_makefile dlls
/atlthunk
/tests enable_tests
21015 wine_fn_config_makefile dlls
/atmlib enable_atmlib
21016 wine_fn_config_makefile dlls
/authz enable_authz
21017 wine_fn_config_makefile dlls
/avicap32 enable_avicap32
21018 wine_fn_config_makefile dlls
/avifil32 enable_avifil32
21019 wine_fn_config_makefile dlls
/avifil32
/tests enable_tests
21020 wine_fn_config_makefile dlls
/avifile.dll16 enable_win16
21021 wine_fn_config_makefile dlls
/avrt enable_avrt
21022 wine_fn_config_makefile dlls
/bcrypt enable_bcrypt
21023 wine_fn_config_makefile dlls
/bcrypt
/tests enable_tests
21024 wine_fn_config_makefile dlls
/bluetoothapis enable_bluetoothapis
21025 wine_fn_config_makefile dlls
/browseui enable_browseui
21026 wine_fn_config_makefile dlls
/browseui
/tests enable_tests
21027 wine_fn_config_makefile dlls
/bthprops.cpl enable_bthprops_cpl
21028 wine_fn_config_makefile dlls
/cabinet enable_cabinet
21029 wine_fn_config_makefile dlls
/cabinet
/tests enable_tests
21030 wine_fn_config_makefile dlls
/capi2032 enable_capi2032
21031 wine_fn_config_makefile dlls
/cards enable_cards
21032 wine_fn_config_makefile dlls
/cdosys enable_cdosys
21033 wine_fn_config_makefile dlls
/cfgmgr32 enable_cfgmgr32
21034 wine_fn_config_makefile dlls
/clusapi enable_clusapi
21035 wine_fn_config_makefile dlls
/cng.sys enable_cng_sys
21036 wine_fn_config_makefile dlls
/combase enable_combase
21037 wine_fn_config_makefile dlls
/combase
/tests enable_tests
21038 wine_fn_config_makefile dlls
/comcat enable_comcat
21039 wine_fn_config_makefile dlls
/comcat
/tests enable_tests
21040 wine_fn_config_makefile dlls
/comctl32 enable_comctl32
21041 wine_fn_config_makefile dlls
/comctl32
/tests enable_tests
21042 wine_fn_config_makefile dlls
/comdlg32 enable_comdlg32
21043 wine_fn_config_makefile dlls
/comdlg32
/tests enable_tests
21044 wine_fn_config_makefile dlls
/comm.drv16 enable_win16
21045 wine_fn_config_makefile dlls
/commdlg.dll16 enable_win16
21046 wine_fn_config_makefile dlls
/compobj.dll16 enable_win16
21047 wine_fn_config_makefile dlls
/compstui enable_compstui
21048 wine_fn_config_makefile dlls
/compstui
/tests enable_tests
21049 wine_fn_config_makefile dlls
/comsvcs enable_comsvcs
21050 wine_fn_config_makefile dlls
/comsvcs
/tests enable_tests
21051 wine_fn_config_makefile dlls
/concrt140 enable_concrt140
21052 wine_fn_config_makefile dlls
/concrt140
/tests enable_tests
21053 wine_fn_config_makefile dlls
/connect enable_connect
21054 wine_fn_config_makefile dlls
/credui enable_credui
21055 wine_fn_config_makefile dlls
/credui
/tests enable_tests
21056 wine_fn_config_makefile dlls
/crtdll enable_crtdll
21057 wine_fn_config_makefile dlls
/crypt32 enable_crypt32
21058 wine_fn_config_makefile dlls
/crypt32
/tests enable_tests
21059 wine_fn_config_makefile dlls
/cryptdlg enable_cryptdlg
21060 wine_fn_config_makefile dlls
/cryptdll enable_cryptdll
21061 wine_fn_config_makefile dlls
/cryptext enable_cryptext
21062 wine_fn_config_makefile dlls
/cryptnet enable_cryptnet
21063 wine_fn_config_makefile dlls
/cryptnet
/tests enable_tests
21064 wine_fn_config_makefile dlls
/cryptowinrt enable_cryptowinrt
21065 wine_fn_config_makefile dlls
/cryptowinrt
/tests enable_tests
21066 wine_fn_config_makefile dlls
/cryptsp enable_cryptsp
21067 wine_fn_config_makefile dlls
/cryptui enable_cryptui
21068 wine_fn_config_makefile dlls
/cryptui
/tests enable_tests
21069 wine_fn_config_makefile dlls
/ctapi32 enable_ctapi32
21070 wine_fn_config_makefile dlls
/ctl3d.dll16 enable_win16
21071 wine_fn_config_makefile dlls
/ctl3d32 enable_ctl3d32
21072 wine_fn_config_makefile dlls
/ctl3dv2.dll16 enable_win16
21073 wine_fn_config_makefile dlls
/d2d1 enable_d2d1
21074 wine_fn_config_makefile dlls
/d2d
1/tests enable_tests
21075 wine_fn_config_makefile dlls
/d3d10 enable_d3d10
21076 wine_fn_config_makefile dlls
/d3d10
/tests enable_tests
21077 wine_fn_config_makefile dlls
/d3d10_1 enable_d3d10_1
21078 wine_fn_config_makefile dlls
/d3d10_
1/tests enable_tests
21079 wine_fn_config_makefile dlls
/d3d10core enable_d3d10core
21080 wine_fn_config_makefile dlls
/d3d10core
/tests enable_tests
21081 wine_fn_config_makefile dlls
/d3d11 enable_d3d11
21082 wine_fn_config_makefile dlls
/d3d11
/tests enable_tests
21083 wine_fn_config_makefile dlls
/d3d12 enable_d3d12
21084 wine_fn_config_makefile dlls
/d3d12
/tests enable_tests
21085 wine_fn_config_makefile dlls
/d3d12core enable_d3d12core
21086 wine_fn_config_makefile dlls
/d3d8 enable_d3d8
21087 wine_fn_config_makefile dlls
/d3d
8/tests enable_tests
21088 wine_fn_config_makefile dlls
/d3d8thk enable_d3d8thk
21089 wine_fn_config_makefile dlls
/d3d9 enable_d3d9
21090 wine_fn_config_makefile dlls
/d3d
9/tests enable_tests
21091 wine_fn_config_makefile dlls
/d3dcompiler_33 enable_d3dcompiler_33
21092 wine_fn_config_makefile dlls
/d3dcompiler_34 enable_d3dcompiler_34
21093 wine_fn_config_makefile dlls
/d3dcompiler_35 enable_d3dcompiler_35
21094 wine_fn_config_makefile dlls
/d3dcompiler_36 enable_d3dcompiler_36
21095 wine_fn_config_makefile dlls
/d3dcompiler_37 enable_d3dcompiler_37
21096 wine_fn_config_makefile dlls
/d3dcompiler_38 enable_d3dcompiler_38
21097 wine_fn_config_makefile dlls
/d3dcompiler_39 enable_d3dcompiler_39
21098 wine_fn_config_makefile dlls
/d3dcompiler_40 enable_d3dcompiler_40
21099 wine_fn_config_makefile dlls
/d3dcompiler_41 enable_d3dcompiler_41
21100 wine_fn_config_makefile dlls
/d3dcompiler_42 enable_d3dcompiler_42
21101 wine_fn_config_makefile dlls
/d3dcompiler_43 enable_d3dcompiler_43
21102 wine_fn_config_makefile dlls
/d3dcompiler_43
/tests enable_tests
21103 wine_fn_config_makefile dlls
/d3dcompiler_46 enable_d3dcompiler_46
21104 wine_fn_config_makefile dlls
/d3dcompiler_46
/tests enable_tests
21105 wine_fn_config_makefile dlls
/d3dcompiler_47 enable_d3dcompiler_47
21106 wine_fn_config_makefile dlls
/d3dcompiler_47
/tests enable_tests
21107 wine_fn_config_makefile dlls
/d3dim enable_d3dim
21108 wine_fn_config_makefile dlls
/d3dim700 enable_d3dim700
21109 wine_fn_config_makefile dlls
/d3drm enable_d3drm
21110 wine_fn_config_makefile dlls
/d3drm
/tests enable_tests
21111 wine_fn_config_makefile dlls
/d3dx10_33 enable_d3dx10_33
21112 wine_fn_config_makefile dlls
/d3dx10_34 enable_d3dx10_34
21113 wine_fn_config_makefile dlls
/d3dx10_34
/tests enable_tests
21114 wine_fn_config_makefile dlls
/d3dx10_35 enable_d3dx10_35
21115 wine_fn_config_makefile dlls
/d3dx10_35
/tests enable_tests
21116 wine_fn_config_makefile dlls
/d3dx10_36 enable_d3dx10_36
21117 wine_fn_config_makefile dlls
/d3dx10_36
/tests enable_tests
21118 wine_fn_config_makefile dlls
/d3dx10_37 enable_d3dx10_37
21119 wine_fn_config_makefile dlls
/d3dx10_37
/tests enable_tests
21120 wine_fn_config_makefile dlls
/d3dx10_38 enable_d3dx10_38
21121 wine_fn_config_makefile dlls
/d3dx10_38
/tests enable_tests
21122 wine_fn_config_makefile dlls
/d3dx10_39 enable_d3dx10_39
21123 wine_fn_config_makefile dlls
/d3dx10_39
/tests enable_tests
21124 wine_fn_config_makefile dlls
/d3dx10_40 enable_d3dx10_40
21125 wine_fn_config_makefile dlls
/d3dx10_40
/tests enable_tests
21126 wine_fn_config_makefile dlls
/d3dx10_41 enable_d3dx10_41
21127 wine_fn_config_makefile dlls
/d3dx10_41
/tests enable_tests
21128 wine_fn_config_makefile dlls
/d3dx10_42 enable_d3dx10_42
21129 wine_fn_config_makefile dlls
/d3dx10_42
/tests enable_tests
21130 wine_fn_config_makefile dlls
/d3dx10_43 enable_d3dx10_43
21131 wine_fn_config_makefile dlls
/d3dx10_43
/tests enable_tests
21132 wine_fn_config_makefile dlls
/d3dx11_42 enable_d3dx11_42
21133 wine_fn_config_makefile dlls
/d3dx11_42
/tests enable_tests
21134 wine_fn_config_makefile dlls
/d3dx11_43 enable_d3dx11_43
21135 wine_fn_config_makefile dlls
/d3dx11_43
/tests enable_tests
21136 wine_fn_config_makefile dlls
/d3dx9_24 enable_d3dx9_24
21137 wine_fn_config_makefile dlls
/d3dx9_25 enable_d3dx9_25
21138 wine_fn_config_makefile dlls
/d3dx9_26 enable_d3dx9_26
21139 wine_fn_config_makefile dlls
/d3dx9_27 enable_d3dx9_27
21140 wine_fn_config_makefile dlls
/d3dx9_28 enable_d3dx9_28
21141 wine_fn_config_makefile dlls
/d3dx9_29 enable_d3dx9_29
21142 wine_fn_config_makefile dlls
/d3dx9_30 enable_d3dx9_30
21143 wine_fn_config_makefile dlls
/d3dx9_31 enable_d3dx9_31
21144 wine_fn_config_makefile dlls
/d3dx9_32 enable_d3dx9_32
21145 wine_fn_config_makefile dlls
/d3dx9_33 enable_d3dx9_33
21146 wine_fn_config_makefile dlls
/d3dx9_34 enable_d3dx9_34
21147 wine_fn_config_makefile dlls
/d3dx9_35 enable_d3dx9_35
21148 wine_fn_config_makefile dlls
/d3dx9_36 enable_d3dx9_36
21149 wine_fn_config_makefile dlls
/d3dx9_36
/tests enable_tests
21150 wine_fn_config_makefile dlls
/d3dx9_37 enable_d3dx9_37
21151 wine_fn_config_makefile dlls
/d3dx9_38 enable_d3dx9_38
21152 wine_fn_config_makefile dlls
/d3dx9_39 enable_d3dx9_39
21153 wine_fn_config_makefile dlls
/d3dx9_40 enable_d3dx9_40
21154 wine_fn_config_makefile dlls
/d3dx9_41 enable_d3dx9_41
21155 wine_fn_config_makefile dlls
/d3dx9_42 enable_d3dx9_42
21156 wine_fn_config_makefile dlls
/d3dx9_43 enable_d3dx9_43
21157 wine_fn_config_makefile dlls
/d3dxof enable_d3dxof
21158 wine_fn_config_makefile dlls
/d3dxof
/tests enable_tests
21159 wine_fn_config_makefile dlls
/davclnt enable_davclnt
21160 wine_fn_config_makefile dlls
/dbgeng enable_dbgeng
21161 wine_fn_config_makefile dlls
/dbgeng
/tests enable_tests
21162 wine_fn_config_makefile dlls
/dbghelp enable_dbghelp
21163 wine_fn_config_makefile dlls
/dbghelp
/tests enable_tests
21164 wine_fn_config_makefile dlls
/dciman32 enable_dciman32
21165 wine_fn_config_makefile dlls
/dcomp enable_dcomp
21166 wine_fn_config_makefile dlls
/ddeml.dll16 enable_win16
21167 wine_fn_config_makefile dlls
/ddraw enable_ddraw
21168 wine_fn_config_makefile dlls
/ddraw
/tests enable_tests
21169 wine_fn_config_makefile dlls
/ddrawex enable_ddrawex
21170 wine_fn_config_makefile dlls
/ddrawex
/tests enable_tests
21171 wine_fn_config_makefile dlls
/devenum enable_devenum
21172 wine_fn_config_makefile dlls
/devenum
/tests enable_tests
21173 wine_fn_config_makefile dlls
/dhcpcsvc enable_dhcpcsvc
21174 wine_fn_config_makefile dlls
/dhcpcsvc
/tests enable_tests
21175 wine_fn_config_makefile dlls
/dhcpcsvc6 enable_dhcpcsvc6
21176 wine_fn_config_makefile dlls
/dhtmled.ocx enable_dhtmled_ocx
21177 wine_fn_config_makefile dlls
/diasymreader enable_diasymreader
21178 wine_fn_config_makefile dlls
/difxapi enable_difxapi
21179 wine_fn_config_makefile dlls
/dinput enable_dinput
21180 wine_fn_config_makefile dlls
/dinput
/tests enable_tests
21181 wine_fn_config_makefile dlls
/dinput8 enable_dinput8
21182 wine_fn_config_makefile dlls
/directmanipulation enable_directmanipulation
21183 wine_fn_config_makefile dlls
/directmanipulation
/tests enable_tests
21184 wine_fn_config_makefile dlls
/dispdib.dll16 enable_win16
21185 wine_fn_config_makefile dlls
/dispex enable_dispex
21186 wine_fn_config_makefile dlls
/dispex
/tests enable_tests
21187 wine_fn_config_makefile dlls
/display.drv16 enable_win16
21188 wine_fn_config_makefile dlls
/dmband enable_dmband
21189 wine_fn_config_makefile dlls
/dmband
/tests enable_tests
21190 wine_fn_config_makefile dlls
/dmcompos enable_dmcompos
21191 wine_fn_config_makefile dlls
/dmcompos
/tests enable_tests
21192 wine_fn_config_makefile dlls
/dmime enable_dmime
21193 wine_fn_config_makefile dlls
/dmime
/tests enable_tests
21194 wine_fn_config_makefile dlls
/dmloader enable_dmloader
21195 wine_fn_config_makefile dlls
/dmloader
/tests enable_tests
21196 wine_fn_config_makefile dlls
/dmscript enable_dmscript
21197 wine_fn_config_makefile dlls
/dmscript
/tests enable_tests
21198 wine_fn_config_makefile dlls
/dmstyle enable_dmstyle
21199 wine_fn_config_makefile dlls
/dmstyle
/tests enable_tests
21200 wine_fn_config_makefile dlls
/dmsynth enable_dmsynth
21201 wine_fn_config_makefile dlls
/dmsynth
/tests enable_tests
21202 wine_fn_config_makefile dlls
/dmusic enable_dmusic
21203 wine_fn_config_makefile dlls
/dmusic
/tests enable_tests
21204 wine_fn_config_makefile dlls
/dmusic32 enable_dmusic32
21205 wine_fn_config_makefile dlls
/dnsapi enable_dnsapi
21206 wine_fn_config_makefile dlls
/dnsapi
/tests enable_tests
21207 wine_fn_config_makefile dlls
/dplay enable_dplay
21208 wine_fn_config_makefile dlls
/dplayx enable_dplayx
21209 wine_fn_config_makefile dlls
/dplayx
/tests enable_tests
21210 wine_fn_config_makefile dlls
/dpnaddr enable_dpnaddr
21211 wine_fn_config_makefile dlls
/dpnet enable_dpnet
21212 wine_fn_config_makefile dlls
/dpnet
/tests enable_tests
21213 wine_fn_config_makefile dlls
/dpnhpast enable_dpnhpast
21214 wine_fn_config_makefile dlls
/dpnhupnp enable_dpnhupnp
21215 wine_fn_config_makefile dlls
/dpnlobby enable_dpnlobby
21216 wine_fn_config_makefile dlls
/dpvoice enable_dpvoice
21217 wine_fn_config_makefile dlls
/dpvoice
/tests enable_tests
21218 wine_fn_config_makefile dlls
/dpwsockx enable_dpwsockx
21219 wine_fn_config_makefile dlls
/drmclien enable_drmclien
21220 wine_fn_config_makefile dlls
/dsdmo enable_dsdmo
21221 wine_fn_config_makefile dlls
/dsdmo
/tests enable_tests
21222 wine_fn_config_makefile dlls
/dsound enable_dsound
21223 wine_fn_config_makefile dlls
/dsound
/tests enable_tests
21224 wine_fn_config_makefile dlls
/dsquery enable_dsquery
21225 wine_fn_config_makefile dlls
/dssenh enable_dssenh
21226 wine_fn_config_makefile dlls
/dssenh
/tests enable_tests
21227 wine_fn_config_makefile dlls
/dsuiext enable_dsuiext
21228 wine_fn_config_makefile dlls
/dswave enable_dswave
21229 wine_fn_config_makefile dlls
/dswave
/tests enable_tests
21230 wine_fn_config_makefile dlls
/dwmapi enable_dwmapi
21231 wine_fn_config_makefile dlls
/dwmapi
/tests enable_tests
21232 wine_fn_config_makefile dlls
/dwrite enable_dwrite
21233 wine_fn_config_makefile dlls
/dwrite
/tests enable_tests
21234 wine_fn_config_makefile dlls
/dx8vb enable_dx8vb
21235 wine_fn_config_makefile dlls
/dxdiagn enable_dxdiagn
21236 wine_fn_config_makefile dlls
/dxdiagn
/tests enable_tests
21237 wine_fn_config_makefile dlls
/dxgi enable_dxgi
21238 wine_fn_config_makefile dlls
/dxgi
/tests enable_tests
21239 wine_fn_config_makefile dlls
/dxtrans enable_dxtrans
21240 wine_fn_config_makefile dlls
/dxva2 enable_dxva2
21241 wine_fn_config_makefile dlls
/dxva
2/tests enable_tests
21242 wine_fn_config_makefile dlls
/esent enable_esent
21243 wine_fn_config_makefile dlls
/evr enable_evr
21244 wine_fn_config_makefile dlls
/evr
/tests enable_tests
21245 wine_fn_config_makefile dlls
/explorerframe enable_explorerframe
21246 wine_fn_config_makefile dlls
/explorerframe
/tests enable_tests
21247 wine_fn_config_makefile dlls
/faultrep enable_faultrep
21248 wine_fn_config_makefile dlls
/faultrep
/tests enable_tests
21249 wine_fn_config_makefile dlls
/feclient enable_feclient
21250 wine_fn_config_makefile dlls
/fltlib enable_fltlib
21251 wine_fn_config_makefile dlls
/fltmgr.sys enable_fltmgr_sys
21252 wine_fn_config_makefile dlls
/fntcache enable_fntcache
21253 wine_fn_config_makefile dlls
/fontsub enable_fontsub
21254 wine_fn_config_makefile dlls
/fusion enable_fusion
21255 wine_fn_config_makefile dlls
/fusion
/tests enable_tests
21256 wine_fn_config_makefile dlls
/fwpuclnt enable_fwpuclnt
21257 wine_fn_config_makefile dlls
/gameux enable_gameux
21258 wine_fn_config_makefile dlls
/gameux
/tests enable_tests
21259 wine_fn_config_makefile dlls
/gamingtcui enable_gamingtcui
21260 wine_fn_config_makefile dlls
/gdi.exe16 enable_win16
21261 wine_fn_config_makefile dlls
/gdi32 enable_gdi32
21262 wine_fn_config_makefile dlls
/gdi32
/tests enable_tests
21263 wine_fn_config_makefile dlls
/gdiplus enable_gdiplus
21264 wine_fn_config_makefile dlls
/gdiplus
/tests enable_tests
21265 wine_fn_config_makefile dlls
/glu32 enable_glu32
21266 wine_fn_config_makefile dlls
/gphoto2.ds enable_gphoto2_ds
21267 wine_fn_config_makefile dlls
/gpkcsp enable_gpkcsp
21268 wine_fn_config_makefile dlls
/hal enable_hal
21269 wine_fn_config_makefile dlls
/hhctrl.ocx enable_hhctrl_ocx
21270 wine_fn_config_makefile dlls
/hid enable_hid
21271 wine_fn_config_makefile dlls
/hid
/tests enable_tests
21272 wine_fn_config_makefile dlls
/hidclass.sys enable_hidclass_sys
21273 wine_fn_config_makefile dlls
/hidparse.sys enable_hidparse_sys
21274 wine_fn_config_makefile dlls
/hlink enable_hlink
21275 wine_fn_config_makefile dlls
/hlink
/tests enable_tests
21276 wine_fn_config_makefile dlls
/hnetcfg enable_hnetcfg
21277 wine_fn_config_makefile dlls
/hnetcfg
/tests enable_tests
21278 wine_fn_config_makefile dlls
/http.sys enable_http_sys
21279 wine_fn_config_makefile dlls
/httpapi enable_httpapi
21280 wine_fn_config_makefile dlls
/httpapi
/tests enable_tests
21281 wine_fn_config_makefile dlls
/ia2comproxy enable_ia2comproxy
21282 wine_fn_config_makefile dlls
/iccvid enable_iccvid
21283 wine_fn_config_makefile dlls
/icmp enable_icmp
21284 wine_fn_config_makefile dlls
/ieframe enable_ieframe
21285 wine_fn_config_makefile dlls
/ieframe
/tests enable_tests
21286 wine_fn_config_makefile dlls
/ieproxy enable_ieproxy
21287 wine_fn_config_makefile dlls
/ifsmgr.vxd enable_win16
21288 wine_fn_config_makefile dlls
/imaadp32.acm enable_imaadp32_acm
21289 wine_fn_config_makefile dlls
/imagehlp enable_imagehlp
21290 wine_fn_config_makefile dlls
/imagehlp
/tests enable_tests
21291 wine_fn_config_makefile dlls
/imm.dll16 enable_win16
21292 wine_fn_config_makefile dlls
/imm32 enable_imm32
21293 wine_fn_config_makefile dlls
/imm32
/tests enable_tests
21294 wine_fn_config_makefile dlls
/inetcomm enable_inetcomm
21295 wine_fn_config_makefile dlls
/inetcomm
/tests enable_tests
21296 wine_fn_config_makefile dlls
/inetcpl.cpl enable_inetcpl_cpl
21297 wine_fn_config_makefile dlls
/inetmib1 enable_inetmib1
21298 wine_fn_config_makefile dlls
/inetmib
1/tests enable_tests
21299 wine_fn_config_makefile dlls
/infosoft enable_infosoft
21300 wine_fn_config_makefile dlls
/infosoft
/tests enable_tests
21301 wine_fn_config_makefile dlls
/initpki enable_initpki
21302 wine_fn_config_makefile dlls
/inkobj enable_inkobj
21303 wine_fn_config_makefile dlls
/inseng enable_inseng
21304 wine_fn_config_makefile dlls
/iphlpapi enable_iphlpapi
21305 wine_fn_config_makefile dlls
/iphlpapi
/tests enable_tests
21306 wine_fn_config_makefile dlls
/iprop enable_iprop
21307 wine_fn_config_makefile dlls
/ir50_32 enable_ir50_32
21308 wine_fn_config_makefile dlls
/irprops.cpl enable_irprops_cpl
21309 wine_fn_config_makefile dlls
/itircl enable_itircl
21310 wine_fn_config_makefile dlls
/itss enable_itss
21311 wine_fn_config_makefile dlls
/itss
/tests enable_tests
21312 wine_fn_config_makefile dlls
/joy.cpl enable_joy_cpl
21313 wine_fn_config_makefile dlls
/jscript enable_jscript
21314 wine_fn_config_makefile dlls
/jscript
/tests enable_tests
21315 wine_fn_config_makefile dlls
/jsproxy enable_jsproxy
21316 wine_fn_config_makefile dlls
/jsproxy
/tests enable_tests
21317 wine_fn_config_makefile dlls
/kerberos enable_kerberos
21318 wine_fn_config_makefile dlls
/kernel32 enable_kernel32
21319 wine_fn_config_makefile dlls
/kernel32
/tests enable_tests
21320 wine_fn_config_makefile dlls
/kernelbase enable_kernelbase
21321 wine_fn_config_makefile dlls
/kernelbase
/tests enable_tests
21322 wine_fn_config_makefile dlls
/keyboard.drv16 enable_win16
21323 wine_fn_config_makefile dlls
/krnl386.exe16 enable_win16
21324 wine_fn_config_makefile dlls
/ksecdd.sys enable_ksecdd_sys
21325 wine_fn_config_makefile dlls
/ksproxy.ax enable_ksproxy_ax
21326 wine_fn_config_makefile dlls
/ksuser enable_ksuser
21327 wine_fn_config_makefile dlls
/ktmw32 enable_ktmw32
21328 wine_fn_config_makefile dlls
/l3codeca.acm enable_l3codeca_acm
21329 wine_fn_config_makefile dlls
/light.msstyles enable_light_msstyles
21330 wine_fn_config_makefile dlls
/loadperf enable_loadperf
21331 wine_fn_config_makefile dlls
/localspl enable_localspl
21332 wine_fn_config_makefile dlls
/localspl
/tests enable_tests
21333 wine_fn_config_makefile dlls
/localui enable_localui
21334 wine_fn_config_makefile dlls
/localui
/tests enable_tests
21335 wine_fn_config_makefile dlls
/lz32 enable_lz32
21336 wine_fn_config_makefile dlls
/lz32
/tests enable_tests
21337 wine_fn_config_makefile dlls
/lzexpand.dll16 enable_win16
21338 wine_fn_config_makefile dlls
/mapi32 enable_mapi32
21339 wine_fn_config_makefile dlls
/mapi32
/tests enable_tests
21340 wine_fn_config_makefile dlls
/mapistub enable_mapistub
21341 wine_fn_config_makefile dlls
/mciavi32 enable_mciavi32
21342 wine_fn_config_makefile dlls
/mcicda enable_mcicda
21343 wine_fn_config_makefile dlls
/mciqtz32 enable_mciqtz32
21344 wine_fn_config_makefile dlls
/mciseq enable_mciseq
21345 wine_fn_config_makefile dlls
/mciwave enable_mciwave
21346 wine_fn_config_makefile dlls
/mf enable_mf
21347 wine_fn_config_makefile dlls
/mf
/tests enable_tests
21348 wine_fn_config_makefile dlls
/mf3216 enable_mf3216
21349 wine_fn_config_makefile dlls
/mferror enable_mferror
21350 wine_fn_config_makefile dlls
/mfmediaengine enable_mfmediaengine
21351 wine_fn_config_makefile dlls
/mfmediaengine
/tests enable_tests
21352 wine_fn_config_makefile dlls
/mfplat enable_mfplat
21353 wine_fn_config_makefile dlls
/mfplat
/tests enable_tests
21354 wine_fn_config_makefile dlls
/mfplay enable_mfplay
21355 wine_fn_config_makefile dlls
/mfplay
/tests enable_tests
21356 wine_fn_config_makefile dlls
/mfreadwrite enable_mfreadwrite
21357 wine_fn_config_makefile dlls
/mfreadwrite
/tests enable_tests
21358 wine_fn_config_makefile dlls
/mfsrcsnk enable_mfsrcsnk
21359 wine_fn_config_makefile dlls
/mfsrcsnk
/tests enable_tests
21360 wine_fn_config_makefile dlls
/mgmtapi enable_mgmtapi
21361 wine_fn_config_makefile dlls
/midimap enable_midimap
21362 wine_fn_config_makefile dlls
/mlang enable_mlang
21363 wine_fn_config_makefile dlls
/mlang
/tests enable_tests
21364 wine_fn_config_makefile dlls
/mmcndmgr enable_mmcndmgr
21365 wine_fn_config_makefile dlls
/mmcndmgr
/tests enable_tests
21366 wine_fn_config_makefile dlls
/mmdevapi enable_mmdevapi
21367 wine_fn_config_makefile dlls
/mmdevapi
/tests enable_tests
21368 wine_fn_config_makefile dlls
/mmdevldr.vxd enable_win16
21369 wine_fn_config_makefile dlls
/mmsystem.dll16 enable_win16
21370 wine_fn_config_makefile dlls
/monodebg.vxd enable_win16
21371 wine_fn_config_makefile dlls
/mountmgr.sys enable_mountmgr_sys
21372 wine_fn_config_makefile dlls
/mouse.drv16 enable_win16
21373 wine_fn_config_makefile dlls
/mp3dmod enable_mp3dmod
21374 wine_fn_config_makefile dlls
/mp3dmod
/tests enable_tests
21375 wine_fn_config_makefile dlls
/mpr enable_mpr
21376 wine_fn_config_makefile dlls
/mpr
/tests enable_tests
21377 wine_fn_config_makefile dlls
/mprapi enable_mprapi
21378 wine_fn_config_makefile dlls
/msacm.dll16 enable_win16
21379 wine_fn_config_makefile dlls
/msacm32.drv enable_msacm32_drv
21380 wine_fn_config_makefile dlls
/msacm32 enable_msacm32
21381 wine_fn_config_makefile dlls
/msacm32
/tests enable_tests
21382 wine_fn_config_makefile dlls
/msado15 enable_msado15
21383 wine_fn_config_makefile dlls
/msado15
/tests enable_tests
21384 wine_fn_config_makefile dlls
/msadp32.acm enable_msadp32_acm
21385 wine_fn_config_makefile dlls
/msasn1 enable_msasn1
21386 wine_fn_config_makefile dlls
/msasn
1/tests enable_tests
21387 wine_fn_config_makefile dlls
/msauddecmft enable_msauddecmft
21388 wine_fn_config_makefile dlls
/mscat32 enable_mscat32
21389 wine_fn_config_makefile dlls
/mscms enable_mscms
21390 wine_fn_config_makefile dlls
/mscms
/tests enable_tests
21391 wine_fn_config_makefile dlls
/mscoree enable_mscoree
21392 wine_fn_config_makefile dlls
/mscoree
/tests enable_tests
21393 wine_fn_config_makefile dlls
/mscorwks enable_mscorwks
21394 wine_fn_config_makefile dlls
/msctf enable_msctf
21395 wine_fn_config_makefile dlls
/msctf
/tests enable_tests
21396 wine_fn_config_makefile dlls
/msctfmonitor enable_msctfmonitor
21397 wine_fn_config_makefile dlls
/msctfp enable_msctfp
21398 wine_fn_config_makefile dlls
/msdaps enable_msdaps
21399 wine_fn_config_makefile dlls
/msdasql enable_msdasql
21400 wine_fn_config_makefile dlls
/msdasql
/tests enable_tests
21401 wine_fn_config_makefile dlls
/msdelta enable_msdelta
21402 wine_fn_config_makefile dlls
/msdmo enable_msdmo
21403 wine_fn_config_makefile dlls
/msdmo
/tests enable_tests
21404 wine_fn_config_makefile dlls
/msdrm enable_msdrm
21405 wine_fn_config_makefile dlls
/msftedit enable_msftedit
21406 wine_fn_config_makefile dlls
/msftedit
/tests enable_tests
21407 wine_fn_config_makefile dlls
/msg711.acm enable_msg711_acm
21408 wine_fn_config_makefile dlls
/msgsm32.acm enable_msgsm32_acm
21409 wine_fn_config_makefile dlls
/mshtml.tlb enable_mshtml_tlb
21410 wine_fn_config_makefile dlls
/mshtml enable_mshtml
21411 wine_fn_config_makefile dlls
/mshtml
/tests enable_tests
21412 wine_fn_config_makefile dlls
/msi enable_msi
21413 wine_fn_config_makefile dlls
/msi
/tests enable_tests
21414 wine_fn_config_makefile dlls
/msident enable_msident
21415 wine_fn_config_makefile dlls
/msimg32 enable_msimg32
21416 wine_fn_config_makefile dlls
/msimsg enable_msimsg
21417 wine_fn_config_makefile dlls
/msimtf enable_msimtf
21418 wine_fn_config_makefile dlls
/msisip enable_msisip
21419 wine_fn_config_makefile dlls
/msisys.ocx enable_msisys_ocx
21420 wine_fn_config_makefile dlls
/msls31 enable_msls31
21421 wine_fn_config_makefile dlls
/msmpeg2vdec enable_msmpeg2vdec
21422 wine_fn_config_makefile dlls
/msnet32 enable_msnet32
21423 wine_fn_config_makefile dlls
/mspatcha enable_mspatcha
21424 wine_fn_config_makefile dlls
/mspatcha
/tests enable_tests
21425 wine_fn_config_makefile dlls
/msports enable_msports
21426 wine_fn_config_makefile dlls
/msrle32 enable_msrle32
21427 wine_fn_config_makefile dlls
/msrle32
/tests enable_tests
21428 wine_fn_config_makefile dlls
/msscript.ocx enable_msscript_ocx
21429 wine_fn_config_makefile dlls
/msscript.ocx
/tests enable_tests
21430 wine_fn_config_makefile dlls
/mssign32 enable_mssign32
21431 wine_fn_config_makefile dlls
/mssip32 enable_mssip32
21432 wine_fn_config_makefile dlls
/mstask enable_mstask
21433 wine_fn_config_makefile dlls
/mstask
/tests enable_tests
21434 wine_fn_config_makefile dlls
/msv1_0 enable_msv1_0
21435 wine_fn_config_makefile dlls
/msvcirt enable_msvcirt
21436 wine_fn_config_makefile dlls
/msvcirt
/tests enable_tests
21437 wine_fn_config_makefile dlls
/msvcm80 enable_msvcm80
21438 wine_fn_config_makefile dlls
/msvcm90 enable_msvcm90
21439 wine_fn_config_makefile dlls
/msvcp100 enable_msvcp100
21440 wine_fn_config_makefile dlls
/msvcp100
/tests enable_tests
21441 wine_fn_config_makefile dlls
/msvcp110 enable_msvcp110
21442 wine_fn_config_makefile dlls
/msvcp110
/tests enable_tests
21443 wine_fn_config_makefile dlls
/msvcp120 enable_msvcp120
21444 wine_fn_config_makefile dlls
/msvcp120
/tests enable_tests
21445 wine_fn_config_makefile dlls
/msvcp120_app enable_msvcp120_app
21446 wine_fn_config_makefile dlls
/msvcp140 enable_msvcp140
21447 wine_fn_config_makefile dlls
/msvcp140
/tests enable_tests
21448 wine_fn_config_makefile dlls
/msvcp140_1 enable_msvcp140_1
21449 wine_fn_config_makefile dlls
/msvcp140_
1/tests enable_tests
21450 wine_fn_config_makefile dlls
/msvcp140_2 enable_msvcp140_2
21451 wine_fn_config_makefile dlls
/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21452 wine_fn_config_makefile dlls
/msvcp140_atomic_wait
/tests enable_tests
21453 wine_fn_config_makefile dlls
/msvcp60 enable_msvcp60
21454 wine_fn_config_makefile dlls
/msvcp60
/tests enable_tests
21455 wine_fn_config_makefile dlls
/msvcp70 enable_msvcp70
21456 wine_fn_config_makefile dlls
/msvcp71 enable_msvcp71
21457 wine_fn_config_makefile dlls
/msvcp80 enable_msvcp80
21458 wine_fn_config_makefile dlls
/msvcp90 enable_msvcp90
21459 wine_fn_config_makefile dlls
/msvcp90
/tests enable_tests
21460 wine_fn_config_makefile dlls
/msvcp_win enable_msvcp_win
21461 wine_fn_config_makefile dlls
/msvcr100 enable_msvcr100
21462 wine_fn_config_makefile dlls
/msvcr100
/tests enable_tests
21463 wine_fn_config_makefile dlls
/msvcr110 enable_msvcr110
21464 wine_fn_config_makefile dlls
/msvcr110
/tests enable_tests
21465 wine_fn_config_makefile dlls
/msvcr120 enable_msvcr120
21466 wine_fn_config_makefile dlls
/msvcr120
/tests enable_tests
21467 wine_fn_config_makefile dlls
/msvcr120_app enable_msvcr120_app
21468 wine_fn_config_makefile dlls
/msvcr70 enable_msvcr70
21469 wine_fn_config_makefile dlls
/msvcr70
/tests enable_tests
21470 wine_fn_config_makefile dlls
/msvcr71 enable_msvcr71
21471 wine_fn_config_makefile dlls
/msvcr71
/tests enable_tests
21472 wine_fn_config_makefile dlls
/msvcr80 enable_msvcr80
21473 wine_fn_config_makefile dlls
/msvcr80
/tests enable_tests
21474 wine_fn_config_makefile dlls
/msvcr90 enable_msvcr90
21475 wine_fn_config_makefile dlls
/msvcr90
/tests enable_tests
21476 wine_fn_config_makefile dlls
/msvcrt enable_msvcrt
21477 wine_fn_config_makefile dlls
/msvcrt
/tests enable_tests
21478 wine_fn_config_makefile dlls
/msvcrt20 enable_msvcrt20
21479 wine_fn_config_makefile dlls
/msvcrt40 enable_msvcrt40
21480 wine_fn_config_makefile dlls
/msvcrtd enable_msvcrtd
21481 wine_fn_config_makefile dlls
/msvcrtd
/tests enable_tests
21482 wine_fn_config_makefile dlls
/msvfw32 enable_msvfw32
21483 wine_fn_config_makefile dlls
/msvfw32
/tests enable_tests
21484 wine_fn_config_makefile dlls
/msvidc32 enable_msvidc32
21485 wine_fn_config_makefile dlls
/msvideo.dll16 enable_win16
21486 wine_fn_config_makefile dlls
/mswsock enable_mswsock
21487 wine_fn_config_makefile dlls
/msxml enable_msxml
21488 wine_fn_config_makefile dlls
/msxml2 enable_msxml2
21489 wine_fn_config_makefile dlls
/msxml3 enable_msxml3
21490 wine_fn_config_makefile dlls
/msxml
3/tests enable_tests
21491 wine_fn_config_makefile dlls
/msxml4 enable_msxml4
21492 wine_fn_config_makefile dlls
/msxml6 enable_msxml6
21493 wine_fn_config_makefile dlls
/mtxdm enable_mtxdm
21494 wine_fn_config_makefile dlls
/ncrypt enable_ncrypt
21495 wine_fn_config_makefile dlls
/ncrypt
/tests enable_tests
21496 wine_fn_config_makefile dlls
/nddeapi enable_nddeapi
21497 wine_fn_config_makefile dlls
/ndis.sys enable_ndis_sys
21498 wine_fn_config_makefile dlls
/ndis.sys
/tests enable_tests
21499 wine_fn_config_makefile dlls
/netapi32 enable_netapi32
21500 wine_fn_config_makefile dlls
/netapi32
/tests enable_tests
21501 wine_fn_config_makefile dlls
/netcfgx enable_netcfgx
21502 wine_fn_config_makefile dlls
/netcfgx
/tests enable_tests
21503 wine_fn_config_makefile dlls
/netio.sys enable_netio_sys
21504 wine_fn_config_makefile dlls
/netprofm enable_netprofm
21505 wine_fn_config_makefile dlls
/netprofm
/tests enable_tests
21506 wine_fn_config_makefile dlls
/netutils enable_netutils
21507 wine_fn_config_makefile dlls
/newdev enable_newdev
21508 wine_fn_config_makefile dlls
/ninput enable_ninput
21509 wine_fn_config_makefile dlls
/ninput
/tests enable_tests
21510 wine_fn_config_makefile dlls
/normaliz enable_normaliz
21511 wine_fn_config_makefile dlls
/npmshtml enable_npmshtml
21512 wine_fn_config_makefile dlls
/npptools enable_npptools
21513 wine_fn_config_makefile dlls
/nsi enable_nsi
21514 wine_fn_config_makefile dlls
/nsi
/tests enable_tests
21515 wine_fn_config_makefile dlls
/nsiproxy.sys enable_nsiproxy_sys
21516 wine_fn_config_makefile dlls
/ntdll enable_ntdll
21517 wine_fn_config_makefile dlls
/ntdll
/tests enable_tests
21518 wine_fn_config_makefile dlls
/ntdsapi enable_ntdsapi
21519 wine_fn_config_makefile dlls
/ntdsapi
/tests enable_tests
21520 wine_fn_config_makefile dlls
/ntoskrnl.exe enable_ntoskrnl_exe
21521 wine_fn_config_makefile dlls
/ntoskrnl.exe
/tests enable_tests
21522 wine_fn_config_makefile dlls
/ntprint enable_ntprint
21523 wine_fn_config_makefile dlls
/ntprint
/tests enable_tests
21524 wine_fn_config_makefile dlls
/objsel enable_objsel
21525 wine_fn_config_makefile dlls
/odbc32 enable_odbc32
21526 wine_fn_config_makefile dlls
/odbcbcp enable_odbcbcp
21527 wine_fn_config_makefile dlls
/odbccp32 enable_odbccp32
21528 wine_fn_config_makefile dlls
/odbccp32
/tests enable_tests
21529 wine_fn_config_makefile dlls
/odbccu32 enable_odbccu32
21530 wine_fn_config_makefile dlls
/ole2.dll16 enable_win16
21531 wine_fn_config_makefile dlls
/ole2conv.dll16 enable_win16
21532 wine_fn_config_makefile dlls
/ole2disp.dll16 enable_win16
21533 wine_fn_config_makefile dlls
/ole2nls.dll16 enable_win16
21534 wine_fn_config_makefile dlls
/ole2prox.dll16 enable_win16
21535 wine_fn_config_makefile dlls
/ole2thk.dll16 enable_win16
21536 wine_fn_config_makefile dlls
/ole32 enable_ole32
21537 wine_fn_config_makefile dlls
/ole32
/tests enable_tests
21538 wine_fn_config_makefile dlls
/oleacc enable_oleacc
21539 wine_fn_config_makefile dlls
/oleacc
/tests enable_tests
21540 wine_fn_config_makefile dlls
/oleaut32 enable_oleaut32
21541 wine_fn_config_makefile dlls
/oleaut32
/tests enable_tests
21542 wine_fn_config_makefile dlls
/olecli.dll16 enable_win16
21543 wine_fn_config_makefile dlls
/olecli32 enable_olecli32
21544 wine_fn_config_makefile dlls
/oledb32 enable_oledb32
21545 wine_fn_config_makefile dlls
/oledb32
/tests enable_tests
21546 wine_fn_config_makefile dlls
/oledlg enable_oledlg
21547 wine_fn_config_makefile dlls
/oledlg
/tests enable_tests
21548 wine_fn_config_makefile dlls
/olepro32 enable_olepro32
21549 wine_fn_config_makefile dlls
/olesvr.dll16 enable_win16
21550 wine_fn_config_makefile dlls
/olesvr32 enable_olesvr32
21551 wine_fn_config_makefile dlls
/olethk32 enable_olethk32
21552 wine_fn_config_makefile dlls
/opcservices enable_opcservices
21553 wine_fn_config_makefile dlls
/opcservices
/tests enable_tests
21554 wine_fn_config_makefile dlls
/opencl enable_opencl
21555 wine_fn_config_makefile dlls
/opengl32 enable_opengl32
21556 wine_fn_config_makefile dlls
/opengl32
/tests enable_tests
21557 wine_fn_config_makefile dlls
/packager enable_packager
21558 wine_fn_config_makefile dlls
/packager
/tests enable_tests
21559 wine_fn_config_makefile dlls
/pdh enable_pdh
21560 wine_fn_config_makefile dlls
/pdh
/tests enable_tests
21561 wine_fn_config_makefile dlls
/photometadatahandler enable_photometadatahandler
21562 wine_fn_config_makefile dlls
/pidgen enable_pidgen
21563 wine_fn_config_makefile dlls
/powrprof enable_powrprof
21564 wine_fn_config_makefile dlls
/printui enable_printui
21565 wine_fn_config_makefile dlls
/prntvpt enable_prntvpt
21566 wine_fn_config_makefile dlls
/prntvpt
/tests enable_tests
21567 wine_fn_config_makefile dlls
/propsys enable_propsys
21568 wine_fn_config_makefile dlls
/propsys
/tests enable_tests
21569 wine_fn_config_makefile dlls
/psapi enable_psapi
21570 wine_fn_config_makefile dlls
/psapi
/tests enable_tests
21571 wine_fn_config_makefile dlls
/pstorec enable_pstorec
21572 wine_fn_config_makefile dlls
/pstorec
/tests enable_tests
21573 wine_fn_config_makefile dlls
/pwrshplugin enable_pwrshplugin
21574 wine_fn_config_makefile dlls
/qasf enable_qasf
21575 wine_fn_config_makefile dlls
/qasf
/tests enable_tests
21576 wine_fn_config_makefile dlls
/qcap enable_qcap
21577 wine_fn_config_makefile dlls
/qcap
/tests enable_tests
21578 wine_fn_config_makefile dlls
/qdvd enable_qdvd
21579 wine_fn_config_makefile dlls
/qdvd
/tests enable_tests
21580 wine_fn_config_makefile dlls
/qedit enable_qedit
21581 wine_fn_config_makefile dlls
/qedit
/tests enable_tests
21582 wine_fn_config_makefile dlls
/qmgr enable_qmgr
21583 wine_fn_config_makefile dlls
/qmgr
/tests enable_tests
21584 wine_fn_config_makefile dlls
/qmgrprxy enable_qmgrprxy
21585 wine_fn_config_makefile dlls
/quartz enable_quartz
21586 wine_fn_config_makefile dlls
/quartz
/tests enable_tests
21587 wine_fn_config_makefile dlls
/query enable_query
21588 wine_fn_config_makefile dlls
/qwave enable_qwave
21589 wine_fn_config_makefile dlls
/qwave
/tests enable_tests
21590 wine_fn_config_makefile dlls
/rasapi16.dll16 enable_win16
21591 wine_fn_config_makefile dlls
/rasapi32 enable_rasapi32
21592 wine_fn_config_makefile dlls
/rasapi32
/tests enable_tests
21593 wine_fn_config_makefile dlls
/rasdlg enable_rasdlg
21594 wine_fn_config_makefile dlls
/regapi enable_regapi
21595 wine_fn_config_makefile dlls
/resutils enable_resutils
21596 wine_fn_config_makefile dlls
/riched20 enable_riched20
21597 wine_fn_config_makefile dlls
/riched20
/tests enable_tests
21598 wine_fn_config_makefile dlls
/riched32 enable_riched32
21599 wine_fn_config_makefile dlls
/riched32
/tests enable_tests
21600 wine_fn_config_makefile dlls
/rpcrt4 enable_rpcrt4
21601 wine_fn_config_makefile dlls
/rpcrt
4/tests enable_tests
21602 wine_fn_config_makefile dlls
/rsabase enable_rsabase
21603 wine_fn_config_makefile dlls
/rsaenh enable_rsaenh
21604 wine_fn_config_makefile dlls
/rsaenh
/tests enable_tests
21605 wine_fn_config_makefile dlls
/rstrtmgr enable_rstrtmgr
21606 wine_fn_config_makefile dlls
/rtutils enable_rtutils
21607 wine_fn_config_makefile dlls
/rtworkq enable_rtworkq
21608 wine_fn_config_makefile dlls
/rtworkq
/tests enable_tests
21609 wine_fn_config_makefile dlls
/samlib enable_samlib
21610 wine_fn_config_makefile dlls
/sane.ds enable_sane_ds
21611 wine_fn_config_makefile dlls
/sapi enable_sapi
21612 wine_fn_config_makefile dlls
/sapi
/tests enable_tests
21613 wine_fn_config_makefile dlls
/sas enable_sas
21614 wine_fn_config_makefile dlls
/scarddlg enable_scarddlg
21615 wine_fn_config_makefile dlls
/scardsvr enable_scardsvr
21616 wine_fn_config_makefile dlls
/sccbase enable_sccbase
21617 wine_fn_config_makefile dlls
/schannel enable_schannel
21618 wine_fn_config_makefile dlls
/schannel
/tests enable_tests
21619 wine_fn_config_makefile dlls
/schedsvc enable_schedsvc
21620 wine_fn_config_makefile dlls
/schedsvc
/tests enable_tests
21621 wine_fn_config_makefile dlls
/scrobj enable_scrobj
21622 wine_fn_config_makefile dlls
/scrobj
/tests enable_tests
21623 wine_fn_config_makefile dlls
/scrrun enable_scrrun
21624 wine_fn_config_makefile dlls
/scrrun
/tests enable_tests
21625 wine_fn_config_makefile dlls
/scsiport.sys enable_scsiport_sys
21626 wine_fn_config_makefile dlls
/sechost enable_sechost
21627 wine_fn_config_makefile dlls
/secur32 enable_secur32
21628 wine_fn_config_makefile dlls
/secur32
/tests enable_tests
21629 wine_fn_config_makefile dlls
/security enable_security
21630 wine_fn_config_makefile dlls
/sensapi enable_sensapi
21631 wine_fn_config_makefile dlls
/serialui enable_serialui
21632 wine_fn_config_makefile dlls
/serialui
/tests enable_tests
21633 wine_fn_config_makefile dlls
/setupapi enable_setupapi
21634 wine_fn_config_makefile dlls
/setupapi
/tests enable_tests
21635 wine_fn_config_makefile dlls
/setupx.dll16 enable_win16
21636 wine_fn_config_makefile dlls
/sfc enable_sfc
21637 wine_fn_config_makefile dlls
/sfc_os enable_sfc_os
21638 wine_fn_config_makefile dlls
/shcore enable_shcore
21639 wine_fn_config_makefile dlls
/shcore
/tests enable_tests
21640 wine_fn_config_makefile dlls
/shdoclc enable_shdoclc
21641 wine_fn_config_makefile dlls
/shdocvw enable_shdocvw
21642 wine_fn_config_makefile dlls
/shdocvw
/tests enable_tests
21643 wine_fn_config_makefile dlls
/shell.dll16 enable_win16
21644 wine_fn_config_makefile dlls
/shell32 enable_shell32
21645 wine_fn_config_makefile dlls
/shell32
/tests enable_tests
21646 wine_fn_config_makefile dlls
/shfolder enable_shfolder
21647 wine_fn_config_makefile dlls
/shlwapi enable_shlwapi
21648 wine_fn_config_makefile dlls
/shlwapi
/tests enable_tests
21649 wine_fn_config_makefile dlls
/slbcsp enable_slbcsp
21650 wine_fn_config_makefile dlls
/slc enable_slc
21651 wine_fn_config_makefile dlls
/slc
/tests enable_tests
21652 wine_fn_config_makefile dlls
/snmpapi enable_snmpapi
21653 wine_fn_config_makefile dlls
/snmpapi
/tests enable_tests
21654 wine_fn_config_makefile dlls
/softpub enable_softpub
21655 wine_fn_config_makefile dlls
/sound.drv16 enable_win16
21656 wine_fn_config_makefile dlls
/spoolss enable_spoolss
21657 wine_fn_config_makefile dlls
/spoolss
/tests enable_tests
21658 wine_fn_config_makefile dlls
/sppc enable_sppc
21659 wine_fn_config_makefile dlls
/srclient enable_srclient
21660 wine_fn_config_makefile dlls
/srvcli enable_srvcli
21661 wine_fn_config_makefile dlls
/sspicli enable_sspicli
21662 wine_fn_config_makefile dlls
/stdole2.tlb enable_stdole2_tlb
21663 wine_fn_config_makefile dlls
/stdole32.tlb enable_stdole32_tlb
21664 wine_fn_config_makefile dlls
/sti enable_sti
21665 wine_fn_config_makefile dlls
/sti
/tests enable_tests
21666 wine_fn_config_makefile dlls
/storage.dll16 enable_win16
21667 wine_fn_config_makefile dlls
/stress.dll16 enable_win16
21668 wine_fn_config_makefile dlls
/strmdll enable_strmdll
21669 wine_fn_config_makefile dlls
/svrapi enable_svrapi
21670 wine_fn_config_makefile dlls
/sxs enable_sxs
21671 wine_fn_config_makefile dlls
/sxs
/tests enable_tests
21672 wine_fn_config_makefile dlls
/system.drv16 enable_win16
21673 wine_fn_config_makefile dlls
/t2embed enable_t2embed
21674 wine_fn_config_makefile dlls
/t2embed
/tests enable_tests
21675 wine_fn_config_makefile dlls
/tapi32 enable_tapi32
21676 wine_fn_config_makefile dlls
/tapi32
/tests enable_tests
21677 wine_fn_config_makefile dlls
/taskschd enable_taskschd
21678 wine_fn_config_makefile dlls
/taskschd
/tests enable_tests
21679 wine_fn_config_makefile dlls
/tbs enable_tbs
21680 wine_fn_config_makefile dlls
/tdh enable_tdh
21681 wine_fn_config_makefile dlls
/tdi.sys enable_tdi_sys
21682 wine_fn_config_makefile dlls
/threadpoolwinrt enable_threadpoolwinrt
21683 wine_fn_config_makefile dlls
/threadpoolwinrt
/tests enable_tests
21684 wine_fn_config_makefile dlls
/toolhelp.dll16 enable_win16
21685 wine_fn_config_makefile dlls
/traffic enable_traffic
21686 wine_fn_config_makefile dlls
/twain.dll16 enable_win16
21687 wine_fn_config_makefile dlls
/twain_32 enable_twain_32
21688 wine_fn_config_makefile dlls
/twain_32
/tests enable_tests
21689 wine_fn_config_makefile dlls
/typelib.dll16 enable_win16
21690 wine_fn_config_makefile dlls
/tzres enable_tzres
21691 wine_fn_config_makefile dlls
/ucrtbase enable_ucrtbase
21692 wine_fn_config_makefile dlls
/ucrtbase
/tests enable_tests
21693 wine_fn_config_makefile dlls
/uianimation enable_uianimation
21694 wine_fn_config_makefile dlls
/uianimation
/tests enable_tests
21695 wine_fn_config_makefile dlls
/uiautomationcore enable_uiautomationcore
21696 wine_fn_config_makefile dlls
/uiautomationcore
/tests enable_tests
21697 wine_fn_config_makefile dlls
/uiribbon enable_uiribbon
21698 wine_fn_config_makefile dlls
/unicows enable_unicows
21699 wine_fn_config_makefile dlls
/updspapi enable_updspapi
21700 wine_fn_config_makefile dlls
/url enable_url
21701 wine_fn_config_makefile dlls
/urlmon enable_urlmon
21702 wine_fn_config_makefile dlls
/urlmon
/tests enable_tests
21703 wine_fn_config_makefile dlls
/usbd.sys enable_usbd_sys
21704 wine_fn_config_makefile dlls
/user.exe16 enable_win16
21705 wine_fn_config_makefile dlls
/user32 enable_user32
21706 wine_fn_config_makefile dlls
/user32
/tests enable_tests
21707 wine_fn_config_makefile dlls
/userenv enable_userenv
21708 wine_fn_config_makefile dlls
/userenv
/tests enable_tests
21709 wine_fn_config_makefile dlls
/usp10 enable_usp10
21710 wine_fn_config_makefile dlls
/usp10
/tests enable_tests
21711 wine_fn_config_makefile dlls
/utildll enable_utildll
21712 wine_fn_config_makefile dlls
/uxtheme enable_uxtheme
21713 wine_fn_config_makefile dlls
/uxtheme
/tests enable_tests
21714 wine_fn_config_makefile dlls
/vbscript enable_vbscript
21715 wine_fn_config_makefile dlls
/vbscript
/tests enable_tests
21716 wine_fn_config_makefile dlls
/vcomp enable_vcomp
21717 wine_fn_config_makefile dlls
/vcomp
/tests enable_tests
21718 wine_fn_config_makefile dlls
/vcomp100 enable_vcomp100
21719 wine_fn_config_makefile dlls
/vcomp110 enable_vcomp110
21720 wine_fn_config_makefile dlls
/vcomp110
/tests enable_tests
21721 wine_fn_config_makefile dlls
/vcomp120 enable_vcomp120
21722 wine_fn_config_makefile dlls
/vcomp140 enable_vcomp140
21723 wine_fn_config_makefile dlls
/vcomp90 enable_vcomp90
21724 wine_fn_config_makefile dlls
/vcruntime140 enable_vcruntime140
21725 wine_fn_config_makefile dlls
/vcruntime140_1 enable_vcruntime140_1
21726 wine_fn_config_makefile dlls
/vdhcp.vxd enable_win16
21727 wine_fn_config_makefile dlls
/vdmdbg enable_vdmdbg
21728 wine_fn_config_makefile dlls
/ver.dll16 enable_win16
21729 wine_fn_config_makefile dlls
/version enable_version
21730 wine_fn_config_makefile dlls
/version
/tests enable_tests
21731 wine_fn_config_makefile dlls
/vga enable_vga
21732 wine_fn_config_makefile dlls
/virtdisk enable_virtdisk
21733 wine_fn_config_makefile dlls
/virtdisk
/tests enable_tests
21734 wine_fn_config_makefile dlls
/vmm.vxd enable_win16
21735 wine_fn_config_makefile dlls
/vnbt.vxd enable_win16
21736 wine_fn_config_makefile dlls
/vnetbios.vxd enable_win16
21737 wine_fn_config_makefile dlls
/vssapi enable_vssapi
21738 wine_fn_config_makefile dlls
/vtdapi.vxd enable_win16
21739 wine_fn_config_makefile dlls
/vulkan-1 enable_vulkan_1
21740 wine_fn_config_makefile dlls
/vulkan-
1/tests enable_tests
21741 wine_fn_config_makefile dlls
/vwin32.vxd enable_win16
21742 wine_fn_config_makefile dlls
/w32skrnl enable_win16
21743 wine_fn_config_makefile dlls
/w32sys.dll16 enable_win16
21744 wine_fn_config_makefile dlls
/wbemdisp enable_wbemdisp
21745 wine_fn_config_makefile dlls
/wbemdisp
/tests enable_tests
21746 wine_fn_config_makefile dlls
/wbemprox enable_wbemprox
21747 wine_fn_config_makefile dlls
/wbemprox
/tests enable_tests
21748 wine_fn_config_makefile dlls
/wdscore enable_wdscore
21749 wine_fn_config_makefile dlls
/webservices enable_webservices
21750 wine_fn_config_makefile dlls
/webservices
/tests enable_tests
21751 wine_fn_config_makefile dlls
/websocket enable_websocket
21752 wine_fn_config_makefile dlls
/wer enable_wer
21753 wine_fn_config_makefile dlls
/wer
/tests enable_tests
21754 wine_fn_config_makefile dlls
/wevtapi enable_wevtapi
21755 wine_fn_config_makefile dlls
/wevtapi
/tests enable_tests
21756 wine_fn_config_makefile dlls
/wevtsvc enable_wevtsvc
21757 wine_fn_config_makefile dlls
/wiaservc enable_wiaservc
21758 wine_fn_config_makefile dlls
/wiaservc
/tests enable_tests
21759 wine_fn_config_makefile dlls
/wimgapi enable_wimgapi
21760 wine_fn_config_makefile dlls
/win32s16.dll16 enable_win16
21761 wine_fn_config_makefile dlls
/win32u enable_win32u
21762 wine_fn_config_makefile dlls
/win32u
/tests enable_tests
21763 wine_fn_config_makefile dlls
/win87em.dll16 enable_win16
21764 wine_fn_config_makefile dlls
/winaspi.dll16 enable_win16
21765 wine_fn_config_makefile dlls
/windebug.dll16 enable_win16
21766 wine_fn_config_makefile dlls
/windows.devices.enumeration enable_windows_devices_enumeration
21767 wine_fn_config_makefile dlls
/windows.devices.enumeration
/tests enable_tests
21768 wine_fn_config_makefile dlls
/windows.gaming.input enable_windows_gaming_input
21769 wine_fn_config_makefile dlls
/windows.gaming.input
/tests enable_tests
21770 wine_fn_config_makefile dlls
/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
21771 wine_fn_config_makefile dlls
/windows.gaming.ui.gamebar
/tests enable_tests
21772 wine_fn_config_makefile dlls
/windows.globalization enable_windows_globalization
21773 wine_fn_config_makefile dlls
/windows.globalization
/tests enable_tests
21774 wine_fn_config_makefile dlls
/windows.media.devices enable_windows_media_devices
21775 wine_fn_config_makefile dlls
/windows.media.devices
/tests enable_tests
21776 wine_fn_config_makefile dlls
/windows.media.speech enable_windows_media_speech
21777 wine_fn_config_makefile dlls
/windows.media.speech
/tests enable_tests
21778 wine_fn_config_makefile dlls
/windows.media enable_windows_media
21779 wine_fn_config_makefile dlls
/windows.media
/tests enable_tests
21780 wine_fn_config_makefile dlls
/windows.networking enable_windows_networking
21781 wine_fn_config_makefile dlls
/windows.system.profile.systemmanufacturers enable_windows_system_profile_systemmanufacturers
21782 wine_fn_config_makefile dlls
/windows.system.profile.systemmanufacturers
/tests enable_tests
21783 wine_fn_config_makefile dlls
/windows.ui enable_windows_ui
21784 wine_fn_config_makefile dlls
/windows.ui
/tests enable_tests
21785 wine_fn_config_makefile dlls
/windowscodecs enable_windowscodecs
21786 wine_fn_config_makefile dlls
/windowscodecs
/tests enable_tests
21787 wine_fn_config_makefile dlls
/windowscodecsext enable_windowscodecsext
21788 wine_fn_config_makefile dlls
/windowscodecsext
/tests enable_tests
21789 wine_fn_config_makefile dlls
/winealsa.drv enable_winealsa_drv
21790 wine_fn_config_makefile dlls
/wineandroid.drv enable_wineandroid_drv
21791 wine_fn_config_makefile dlls
/winebus.sys enable_winebus_sys
21792 wine_fn_config_makefile dlls
/winecoreaudio.drv enable_winecoreaudio_drv
21793 wine_fn_config_makefile dlls
/winecrt0 enable_winecrt0
21794 wine_fn_config_makefile dlls
/wined3d enable_wined3d
21795 wine_fn_config_makefile dlls
/winegstreamer enable_winegstreamer
21796 wine_fn_config_makefile dlls
/winehid.sys enable_winehid_sys
21797 wine_fn_config_makefile dlls
/winemac.drv enable_winemac_drv
21798 wine_fn_config_makefile dlls
/winemapi enable_winemapi
21799 wine_fn_config_makefile dlls
/wineoss.drv enable_wineoss_drv
21800 wine_fn_config_makefile dlls
/wineps.drv enable_wineps_drv
21801 wine_fn_config_makefile dlls
/wineps16.drv16 enable_win16
21802 wine_fn_config_makefile dlls
/winepulse.drv enable_winepulse_drv
21803 wine_fn_config_makefile dlls
/wineusb.sys enable_wineusb_sys
21804 wine_fn_config_makefile dlls
/winevulkan enable_winevulkan
21805 wine_fn_config_makefile dlls
/winex11.drv enable_winex11_drv
21806 wine_fn_config_makefile dlls
/winexinput.sys enable_winexinput_sys
21807 wine_fn_config_makefile dlls
/wing.dll16 enable_win16
21808 wine_fn_config_makefile dlls
/wing32 enable_wing32
21809 wine_fn_config_makefile dlls
/winhttp enable_winhttp
21810 wine_fn_config_makefile dlls
/winhttp
/tests enable_tests
21811 wine_fn_config_makefile dlls
/wininet enable_wininet
21812 wine_fn_config_makefile dlls
/wininet
/tests enable_tests
21813 wine_fn_config_makefile dlls
/winmm enable_winmm
21814 wine_fn_config_makefile dlls
/winmm
/tests enable_tests
21815 wine_fn_config_makefile dlls
/winnls.dll16 enable_win16
21816 wine_fn_config_makefile dlls
/winnls32 enable_winnls32
21817 wine_fn_config_makefile dlls
/winprint enable_winprint
21818 wine_fn_config_makefile dlls
/winscard enable_winscard
21819 wine_fn_config_makefile dlls
/winscard
/tests enable_tests
21820 wine_fn_config_makefile dlls
/winsock.dll16 enable_win16
21821 wine_fn_config_makefile dlls
/winspool.drv enable_winspool_drv
21822 wine_fn_config_makefile dlls
/winspool.drv
/tests enable_tests
21823 wine_fn_config_makefile dlls
/winsta enable_winsta
21824 wine_fn_config_makefile dlls
/wintab.dll16 enable_win16
21825 wine_fn_config_makefile dlls
/wintab32 enable_wintab32
21826 wine_fn_config_makefile dlls
/wintab32
/tests enable_tests
21827 wine_fn_config_makefile dlls
/wintrust enable_wintrust
21828 wine_fn_config_makefile dlls
/wintrust
/tests enable_tests
21829 wine_fn_config_makefile dlls
/wintypes enable_wintypes
21830 wine_fn_config_makefile dlls
/wintypes
/tests enable_tests
21831 wine_fn_config_makefile dlls
/winusb enable_winusb
21832 wine_fn_config_makefile dlls
/wlanapi enable_wlanapi
21833 wine_fn_config_makefile dlls
/wlanapi
/tests enable_tests
21834 wine_fn_config_makefile dlls
/wlanui enable_wlanui
21835 wine_fn_config_makefile dlls
/wldap32 enable_wldap32
21836 wine_fn_config_makefile dlls
/wldap32
/tests enable_tests
21837 wine_fn_config_makefile dlls
/wmasf enable_wmasf
21838 wine_fn_config_makefile dlls
/wmi enable_wmi
21839 wine_fn_config_makefile dlls
/wmiutils enable_wmiutils
21840 wine_fn_config_makefile dlls
/wmiutils
/tests enable_tests
21841 wine_fn_config_makefile dlls
/wmp enable_wmp
21842 wine_fn_config_makefile dlls
/wmp
/tests enable_tests
21843 wine_fn_config_makefile dlls
/wmphoto enable_wmphoto
21844 wine_fn_config_makefile dlls
/wmvcore enable_wmvcore
21845 wine_fn_config_makefile dlls
/wmvcore
/tests enable_tests
21846 wine_fn_config_makefile dlls
/wnaspi32 enable_wnaspi32
21847 wine_fn_config_makefile dlls
/wofutil enable_wofutil
21848 wine_fn_config_makefile dlls
/wow32 enable_win16
21849 wine_fn_config_makefile dlls
/wow64 enable_wow64
21850 wine_fn_config_makefile dlls
/wow64cpu enable_wow64cpu
21851 wine_fn_config_makefile dlls
/wow64win enable_wow64win
21852 wine_fn_config_makefile dlls
/wpc enable_wpc
21853 wine_fn_config_makefile dlls
/wpc
/tests enable_tests
21854 wine_fn_config_makefile dlls
/wpcap enable_wpcap
21855 wine_fn_config_makefile dlls
/wpcap
/tests enable_tests
21856 wine_fn_config_makefile dlls
/ws2_32 enable_ws2_32
21857 wine_fn_config_makefile dlls
/ws2_32
/tests enable_tests
21858 wine_fn_config_makefile dlls
/wsdapi enable_wsdapi
21859 wine_fn_config_makefile dlls
/wsdapi
/tests enable_tests
21860 wine_fn_config_makefile dlls
/wshom.ocx enable_wshom_ocx
21861 wine_fn_config_makefile dlls
/wshom.ocx
/tests enable_tests
21862 wine_fn_config_makefile dlls
/wsnmp32 enable_wsnmp32
21863 wine_fn_config_makefile dlls
/wsnmp32
/tests enable_tests
21864 wine_fn_config_makefile dlls
/wsock32 enable_wsock32
21865 wine_fn_config_makefile dlls
/wtsapi32 enable_wtsapi32
21866 wine_fn_config_makefile dlls
/wtsapi32
/tests enable_tests
21867 wine_fn_config_makefile dlls
/wuapi enable_wuapi
21868 wine_fn_config_makefile dlls
/wuaueng enable_wuaueng
21869 wine_fn_config_makefile dlls
/x3daudio1_0 enable_x3daudio1_0
21870 wine_fn_config_makefile dlls
/x3daudio1_1 enable_x3daudio1_1
21871 wine_fn_config_makefile dlls
/x3daudio1_2 enable_x3daudio1_2
21872 wine_fn_config_makefile dlls
/x3daudio1_3 enable_x3daudio1_3
21873 wine_fn_config_makefile dlls
/x3daudio1_4 enable_x3daudio1_4
21874 wine_fn_config_makefile dlls
/x3daudio1_5 enable_x3daudio1_5
21875 wine_fn_config_makefile dlls
/x3daudio1_6 enable_x3daudio1_6
21876 wine_fn_config_makefile dlls
/x3daudio1_7 enable_x3daudio1_7
21877 wine_fn_config_makefile dlls
/xactengine2_0 enable_xactengine2_0
21878 wine_fn_config_makefile dlls
/xactengine2_4 enable_xactengine2_4
21879 wine_fn_config_makefile dlls
/xactengine2_7 enable_xactengine2_7
21880 wine_fn_config_makefile dlls
/xactengine2_9 enable_xactengine2_9
21881 wine_fn_config_makefile dlls
/xactengine3_0 enable_xactengine3_0
21882 wine_fn_config_makefile dlls
/xactengine3_1 enable_xactengine3_1
21883 wine_fn_config_makefile dlls
/xactengine3_2 enable_xactengine3_2
21884 wine_fn_config_makefile dlls
/xactengine3_3 enable_xactengine3_3
21885 wine_fn_config_makefile dlls
/xactengine3_4 enable_xactengine3_4
21886 wine_fn_config_makefile dlls
/xactengine3_5 enable_xactengine3_5
21887 wine_fn_config_makefile dlls
/xactengine3_6 enable_xactengine3_6
21888 wine_fn_config_makefile dlls
/xactengine3_7 enable_xactengine3_7
21889 wine_fn_config_makefile dlls
/xactengine3_
7/tests enable_tests
21890 wine_fn_config_makefile dlls
/xapofx1_1 enable_xapofx1_1
21891 wine_fn_config_makefile dlls
/xapofx1_2 enable_xapofx1_2
21892 wine_fn_config_makefile dlls
/xapofx1_3 enable_xapofx1_3
21893 wine_fn_config_makefile dlls
/xapofx1_4 enable_xapofx1_4
21894 wine_fn_config_makefile dlls
/xapofx1_5 enable_xapofx1_5
21895 wine_fn_config_makefile dlls
/xaudio2_0 enable_xaudio2_0
21896 wine_fn_config_makefile dlls
/xaudio2_1 enable_xaudio2_1
21897 wine_fn_config_makefile dlls
/xaudio2_2 enable_xaudio2_2
21898 wine_fn_config_makefile dlls
/xaudio2_3 enable_xaudio2_3
21899 wine_fn_config_makefile dlls
/xaudio2_4 enable_xaudio2_4
21900 wine_fn_config_makefile dlls
/xaudio2_5 enable_xaudio2_5
21901 wine_fn_config_makefile dlls
/xaudio2_6 enable_xaudio2_6
21902 wine_fn_config_makefile dlls
/xaudio2_7 enable_xaudio2_7
21903 wine_fn_config_makefile dlls
/xaudio2_
7/tests enable_tests
21904 wine_fn_config_makefile dlls
/xaudio2_8 enable_xaudio2_8
21905 wine_fn_config_makefile dlls
/xaudio2_9 enable_xaudio2_9
21906 wine_fn_config_makefile dlls
/xinput1_1 enable_xinput1_1
21907 wine_fn_config_makefile dlls
/xinput1_2 enable_xinput1_2
21908 wine_fn_config_makefile dlls
/xinput1_3 enable_xinput1_3
21909 wine_fn_config_makefile dlls
/xinput1_
3/tests enable_tests
21910 wine_fn_config_makefile dlls
/xinput1_4 enable_xinput1_4
21911 wine_fn_config_makefile dlls
/xinput9_1_0 enable_xinput9_1_0
21912 wine_fn_config_makefile dlls
/xinputuap enable_xinputuap
21913 wine_fn_config_makefile dlls
/xmllite enable_xmllite
21914 wine_fn_config_makefile dlls
/xmllite
/tests enable_tests
21915 wine_fn_config_makefile dlls
/xolehlp enable_xolehlp
21916 wine_fn_config_makefile dlls
/xpsprint enable_xpsprint
21917 wine_fn_config_makefile dlls
/xpssvcs enable_xpssvcs
21918 wine_fn_config_makefile fonts enable_fonts
21919 wine_fn_config_makefile include enable_include
21920 wine_fn_config_makefile libs
/adsiid enable_adsiid
21921 wine_fn_config_makefile libs
/dmoguids enable_dmoguids
21922 wine_fn_config_makefile libs
/dxerr8 enable_dxerr8
21923 wine_fn_config_makefile libs
/dxerr9 enable_dxerr9
21924 wine_fn_config_makefile libs
/dxguid enable_dxguid
21925 wine_fn_config_makefile libs
/faudio enable_faudio
21926 wine_fn_config_makefile libs
/gsm enable_gsm
21927 wine_fn_config_makefile libs
/jpeg enable_jpeg
21928 wine_fn_config_makefile libs
/jxr enable_jxr
21929 wine_fn_config_makefile libs
/lcms2 enable_lcms2
21930 wine_fn_config_makefile libs
/ldap enable_ldap
21931 wine_fn_config_makefile libs
/mfuuid enable_mfuuid
21932 wine_fn_config_makefile libs
/mpg123 enable_mpg123
21933 wine_fn_config_makefile libs
/png enable_png
21934 wine_fn_config_makefile libs
/strmbase enable_strmbase
21935 wine_fn_config_makefile libs
/strmiids enable_strmiids
21936 wine_fn_config_makefile libs
/tiff enable_tiff
21937 wine_fn_config_makefile libs
/uuid enable_uuid
21938 wine_fn_config_makefile libs
/vkd3d enable_vkd3d
21939 wine_fn_config_makefile libs
/wbemuuid enable_wbemuuid
21940 wine_fn_config_makefile libs
/wmcodecdspuuid enable_wmcodecdspuuid
21941 wine_fn_config_makefile libs
/xml2 enable_xml2
21942 wine_fn_config_makefile libs
/xslt enable_xslt
21943 wine_fn_config_makefile libs
/zlib enable_zlib
21944 wine_fn_config_makefile loader enable_loader
21945 wine_fn_config_makefile nls enable_nls
21946 wine_fn_config_makefile po enable_po
21947 wine_fn_config_makefile programs
/arp enable_arp
21948 wine_fn_config_makefile programs
/aspnet_regiis enable_aspnet_regiis
21949 wine_fn_config_makefile programs
/attrib enable_attrib
21950 wine_fn_config_makefile programs
/cabarc enable_cabarc
21951 wine_fn_config_makefile programs
/cacls enable_cacls
21952 wine_fn_config_makefile programs
/certutil enable_certutil
21953 wine_fn_config_makefile programs
/chcp.com enable_chcp_com
21954 wine_fn_config_makefile programs
/clock enable_clock
21955 wine_fn_config_makefile programs
/cmd enable_cmd
21956 wine_fn_config_makefile programs
/cmd
/tests enable_tests
21957 wine_fn_config_makefile programs
/conhost enable_conhost
21958 wine_fn_config_makefile programs
/conhost
/tests enable_tests
21959 wine_fn_config_makefile programs
/control enable_control
21960 wine_fn_config_makefile programs
/cscript enable_cscript
21961 wine_fn_config_makefile programs
/dism enable_dism
21962 wine_fn_config_makefile programs
/dllhost enable_dllhost
21963 wine_fn_config_makefile programs
/dplaysvr enable_dplaysvr
21964 wine_fn_config_makefile programs
/dpnsvr enable_dpnsvr
21965 wine_fn_config_makefile programs
/dpvsetup enable_dpvsetup
21966 wine_fn_config_makefile programs
/dxdiag enable_dxdiag
21967 wine_fn_config_makefile programs
/eject enable_eject
21968 wine_fn_config_makefile programs
/expand enable_expand
21969 wine_fn_config_makefile programs
/explorer enable_explorer
21970 wine_fn_config_makefile programs
/explorer
/tests enable_tests
21971 wine_fn_config_makefile programs
/extrac32 enable_extrac32
21972 wine_fn_config_makefile programs
/fc enable_fc
21973 wine_fn_config_makefile programs
/find enable_find
21974 wine_fn_config_makefile programs
/find
/tests enable_tests
21975 wine_fn_config_makefile programs
/findstr enable_findstr
21976 wine_fn_config_makefile programs
/fsutil enable_fsutil
21977 wine_fn_config_makefile programs
/fsutil
/tests enable_tests
21978 wine_fn_config_makefile programs
/hh enable_hh
21979 wine_fn_config_makefile programs
/hostname enable_hostname
21980 wine_fn_config_makefile programs
/icacls enable_icacls
21981 wine_fn_config_makefile programs
/icinfo enable_icinfo
21982 wine_fn_config_makefile programs
/iexplore enable_iexplore
21983 wine_fn_config_makefile programs
/ipconfig enable_ipconfig
21984 wine_fn_config_makefile programs
/lodctr enable_lodctr
21985 wine_fn_config_makefile programs
/mofcomp enable_mofcomp
21986 wine_fn_config_makefile programs
/mshta enable_mshta
21987 wine_fn_config_makefile programs
/msidb enable_msidb
21988 wine_fn_config_makefile programs
/msiexec enable_msiexec
21989 wine_fn_config_makefile programs
/msinfo32 enable_msinfo32
21990 wine_fn_config_makefile programs
/net enable_net
21991 wine_fn_config_makefile programs
/netsh enable_netsh
21992 wine_fn_config_makefile programs
/netstat enable_netstat
21993 wine_fn_config_makefile programs
/ngen enable_ngen
21994 wine_fn_config_makefile programs
/notepad enable_notepad
21995 wine_fn_config_makefile programs
/oleview enable_oleview
21996 wine_fn_config_makefile programs
/ping enable_ping
21997 wine_fn_config_makefile programs
/plugplay enable_plugplay
21998 wine_fn_config_makefile programs
/powershell enable_powershell
21999 wine_fn_config_makefile programs
/presentationfontcache enable_presentationfontcache
22000 wine_fn_config_makefile programs
/progman enable_progman
22001 wine_fn_config_makefile programs
/reg enable_reg
22002 wine_fn_config_makefile programs
/reg
/tests enable_tests
22003 wine_fn_config_makefile programs
/regasm enable_regasm
22004 wine_fn_config_makefile programs
/regedit enable_regedit
22005 wine_fn_config_makefile programs
/regedit
/tests enable_tests
22006 wine_fn_config_makefile programs
/regini enable_regini
22007 wine_fn_config_makefile programs
/regsvcs enable_regsvcs
22008 wine_fn_config_makefile programs
/regsvr32 enable_regsvr32
22009 wine_fn_config_makefile programs
/robocopy enable_robocopy
22010 wine_fn_config_makefile programs
/rpcss enable_rpcss
22011 wine_fn_config_makefile programs
/rundll.exe16 enable_win16
22012 wine_fn_config_makefile programs
/rundll32 enable_rundll32
22013 wine_fn_config_makefile programs
/sc enable_sc
22014 wine_fn_config_makefile programs
/sc
/tests enable_tests
22015 wine_fn_config_makefile programs
/schtasks enable_schtasks
22016 wine_fn_config_makefile programs
/schtasks
/tests enable_tests
22017 wine_fn_config_makefile programs
/sdbinst enable_sdbinst
22018 wine_fn_config_makefile programs
/secedit enable_secedit
22019 wine_fn_config_makefile programs
/servicemodelreg enable_servicemodelreg
22020 wine_fn_config_makefile programs
/services enable_services
22021 wine_fn_config_makefile programs
/services
/tests enable_tests
22022 wine_fn_config_makefile programs
/setx enable_setx
22023 wine_fn_config_makefile programs
/shutdown enable_shutdown
22024 wine_fn_config_makefile programs
/spoolsv enable_spoolsv
22025 wine_fn_config_makefile programs
/start enable_start
22026 wine_fn_config_makefile programs
/subst enable_subst
22027 wine_fn_config_makefile programs
/svchost enable_svchost
22028 wine_fn_config_makefile programs
/systeminfo enable_systeminfo
22029 wine_fn_config_makefile programs
/taskkill enable_taskkill
22030 wine_fn_config_makefile programs
/tasklist enable_tasklist
22031 wine_fn_config_makefile programs
/taskmgr enable_taskmgr
22032 wine_fn_config_makefile programs
/termsv enable_termsv
22033 wine_fn_config_makefile programs
/uninstaller enable_uninstaller
22034 wine_fn_config_makefile programs
/unlodctr enable_unlodctr
22035 wine_fn_config_makefile programs
/view enable_view
22036 wine_fn_config_makefile programs
/wevtutil enable_wevtutil
22037 wine_fn_config_makefile programs
/where enable_where
22038 wine_fn_config_makefile programs
/whoami enable_whoami
22039 wine_fn_config_makefile programs
/wineboot enable_wineboot
22040 wine_fn_config_makefile programs
/winebrowser enable_winebrowser
22041 wine_fn_config_makefile programs
/winecfg enable_winecfg
22042 wine_fn_config_makefile programs
/wineconsole enable_wineconsole
22043 wine_fn_config_makefile programs
/winedbg enable_winedbg
22044 wine_fn_config_makefile programs
/winedevice enable_winedevice
22045 wine_fn_config_makefile programs
/winefile enable_winefile
22046 wine_fn_config_makefile programs
/winemenubuilder enable_winemenubuilder
22047 wine_fn_config_makefile programs
/winemine enable_winemine
22048 wine_fn_config_makefile programs
/winemsibuilder enable_winemsibuilder
22049 wine_fn_config_makefile programs
/winepath enable_winepath
22050 wine_fn_config_makefile programs
/winetest enable_winetest
22051 wine_fn_config_makefile programs
/winevdm enable_win16
22052 wine_fn_config_makefile programs
/winhelp.exe16 enable_win16
22053 wine_fn_config_makefile programs
/winhlp32 enable_winhlp32
22054 wine_fn_config_makefile programs
/winmgmt enable_winmgmt
22055 wine_fn_config_makefile programs
/winoldap.mod16 enable_win16
22056 wine_fn_config_makefile programs
/winver enable_winver
22057 wine_fn_config_makefile programs
/wmic enable_wmic
22058 wine_fn_config_makefile programs
/wmplayer enable_wmplayer
22059 wine_fn_config_makefile programs
/wordpad enable_wordpad
22060 wine_fn_config_makefile programs
/write enable_write
22061 wine_fn_config_makefile programs
/wscript enable_wscript
22062 wine_fn_config_makefile programs
/wscript
/tests enable_tests
22063 wine_fn_config_makefile programs
/wuauserv enable_wuauserv
22064 wine_fn_config_makefile programs
/wusa enable_wusa
22065 wine_fn_config_makefile programs
/xcopy enable_xcopy
22066 wine_fn_config_makefile programs
/xcopy
/tests enable_tests
22067 wine_fn_config_makefile server enable_server
22068 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22069 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/sfnt2fon enable_sfnt2fon
22070 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/widl enable_widl
22071 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winebuild enable_winebuild
22072 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winedump enable_winedump
22073 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winegcc enable_winegcc
22074 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winemaker enable_winemaker
22075 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/wmc enable_wmc
22076 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/wrc enable_wrc
22079 as_fn_append CONFIGURE_TARGETS
" TAGS"
22080 as_fn_append CONFIGURE_TARGETS
" tags"
22081 as_fn_append CONFIGURE_TARGETS
" autom4te.cache"
22082 as_fn_append CONFIGURE_TARGETS
" config.log"
22083 as_fn_append CONFIGURE_TARGETS
" config.status"
22084 as_fn_append CONFIGURE_TARGETS
" include/config.h"
22085 as_fn_append CONFIGURE_TARGETS
" include/stamp-h"
22086 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine"
22088 if test "x$enable_tools" != xno
22090 as_fn_append CONFIGURE_TARGETS
" tools/makedep$ac_exeext"
22091 ac_config_commands
="$ac_config_commands tools/makedep"
22095 ac_config_commands
="$ac_config_commands Makefile"
22102 as_fn_append wine_rules
"
22104 @echo \"Wine build complete.\"
22108 Makefile: config.status \$(MAKEDEP)
22109 @./config.status Makefile
22110 depend: \$(MAKEDEP)
22111 \$(MAKEDEP)$makedep_flags"
22114 as_fn_append wine_rules
"
22115 config.status: ${wine_srcdir}configure
22116 @./config.status --recheck
22117 include/config.h: include/stamp-h
22118 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22119 @./config.status include/config.h include/stamp-h"
22121 if test "x$enable_maintainer_mode" = xyes
22123 as_fn_append wine_rules
"
22124 configure: configure.ac aclocal.m4
22125 autoconf --warnings=all
22126 include/config.h.in: include/stamp-h.in
22127 include/stamp-h.in: configure.ac aclocal.m4
22128 autoheader --warnings=all
22129 @echo timestamp > \$@"
22132 if test "x$enable_tools" != xno
22134 as_fn_append wine_rules
"
22135 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22136 @./config.status tools/makedep
22137 Makefile: tools/makedep$ac_exeext"
22139 as_fn_append wine_rules
"
22141 @echo \"You need to run make in $toolsdir first\" && false"
22145 if test -n "$with_wine64"
22147 case "$with_wine64" in
22151 rm -f fonts server
2>/dev
/null
22152 as_fn_append wine_rules
"
22153 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22154 loader/wine64 loader/wine64-preloader:
22155 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22156 $with_wine64/loader/wine:
22157 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22158 $with_wine64/loader/wine-preloader:
22159 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22161 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22163 TOP_INSTALL_DEV
="$TOP_INSTALL_DEV include"
22164 TOP_INSTALL_LIB
="$TOP_INSTALL_LIB \
22168 programs/msidb/msidb \
22169 programs/msiexec/msiexec \
22170 programs/notepad/notepad \
22171 programs/regedit/regedit \
22172 programs/regsvr32/regsvr32 \
22173 programs/wineboot/wineboot \
22174 programs/winecfg/winecfg \
22175 programs/wineconsole/wineconsole \
22176 programs/winedbg/winedbg \
22177 programs/winefile/winefile \
22178 programs/winemine/winemine \
22179 programs/winepath/winepath \
22183 cygwin
*|mingw32
*|darwin
*|macosx
*|linux-android
*) ;;
22184 *) TOP_INSTALL_LIB
="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22189 as_fn_append wine_rules
"
22191 rm -rf autom4te.cache
22193 rm -f configure include/config.h.in"
22196 as_fn_append wine_rules
"
22197 dlls/ntdll/unix/version.c: dummy
22198 @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)
22199 programs/winetest/build.rc: dummy
22200 @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)
22201 programs/winetest/build.nfo:
22203 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
22204 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22205 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22208 TAGSFLAGS
="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22210 as_fn_append wine_rules
"
22213 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22216 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22218 .PHONY: depend dummy install-manpages"
22220 printf "%s\n" " done" >&6
22221 cat >confcache
<<\_ACEOF
22222 # This file is a shell script that caches the results of configure
22223 # tests run on this system so they can be shared between configure
22224 # scripts and configure runs, see configure's option --config-cache.
22225 # It is not useful on other systems. If it contains results you don't
22226 # want to keep, you may remove or edit it.
22228 # config.status only pays attention to the cache file if you give it
22229 # the --recheck option to rerun configure.
22231 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22232 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22233 # following values.
22237 # The following way of writing the cache mishandles newlines in values,
22238 # but we know of no workaround that is simple, portable, and efficient.
22239 # So, we kill variables containing newlines.
22240 # Ultrix sh set writes to stderr and can't be redirected directly,
22241 # and sets the high bit in the cache file unless we assign to the vars.
22243 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22244 eval ac_val
=\$
$ac_var
22248 *_cv_
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22249 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22252 _ | IFS | as_nl
) ;; #(
22253 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
22254 *) { eval $ac_var=; unset $ac_var;} ;;
22260 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22261 *${as_nl}ac_space
=\
*)
22262 # `set' does not quote correctly, so add quotes: double-quote
22263 # substitution turns \\\\ into \\, and sed turns \\ into \.
22266 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22269 # `set' quotes correctly as required by POSIX, so do not add quotes.
22270 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22279 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22281 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22283 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22284 if test -w "$cache_file"; then
22285 if test "x$cache_file" != "x/dev/null"; then
22286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22287 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22288 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
22289 cat confcache
>"$cache_file"
22291 case $cache_file in #(
22293 mv -f confcache
"$cache_file"$$
&&
22294 mv -f "$cache_file"$$
"$cache_file" ;; #(
22296 mv -f confcache
"$cache_file" ;;
22301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22302 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22307 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22308 # Let make expand exec_prefix.
22309 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22311 DEFS
=-DHAVE_CONFIG_H
22316 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22317 # 1. Remove the extension, and $U if already installed.
22318 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
22319 ac_i
=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22320 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22321 # will be set to the directory where LIBOBJS objects are built.
22322 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22323 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
22325 LIBOBJS
=$ac_libobjs
22327 LTLIBOBJS
=$ac_ltlibobjs
22331 : "${CONFIG_STATUS=./config.status}"
22333 ac_clean_files_save
=$ac_clean_files
22334 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22336 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22338 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22340 # Generated by $as_me.
22341 # Run this file to recreate the current configuration.
22342 # Compiler output produced by configure, useful for debugging
22343 # configure, is in config.log if it exists.
22346 ac_cs_recheck=false
22349 SHELL=\${CONFIG_SHELL-$SHELL}
22352 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
22353 ## -------------------- ##
22354 ## M4sh Initialization. ##
22355 ## -------------------- ##
22357 # Be more Bourne compatible
22358 DUALCASE
=1; export DUALCASE
# for MKS sh
22360 if test ${ZSH_VERSION+y} && (emulate sh
) >/dev
/null
2>&1
22364 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22365 # is contrary to our usage. Disable this feature.
22366 alias -g '${1+"$@"}'='"$@"'
22367 setopt NO_GLOB_SUBST
22369 case `(set -o) 2>/dev/null` in #(
22379 # Reset variables that may have inherited troublesome values from
22382 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22383 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22384 # side effect of setting IFS to empty, thus disabling word splitting.)
22385 # Quoting is to prevent editors from complaining about space-tab.
22395 # Ensure predictable behavior from utilities with locale-dependent output.
22401 # We cannot yet rely on "unset" to work, but we need these variables
22402 # to be unset--not just set to an empty or harmless value--now, to
22403 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22404 # also avoids known problems related to "unset" and subshell syntax
22405 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22406 for as_var
in BASH_ENV ENV MAIL MAILPATH CDPATH
22407 do eval test \
${$as_var+y} \
22408 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
22411 # Ensure that fds 0, 1, and 2 are open.
22412 if (exec 3>&0) 2>/dev
/null
; then :; else exec 0</dev
/null
; fi
22413 if (exec 3>&1) 2>/dev
/null
; then :; else exec 1>/dev
/null
; fi
22414 if (exec 3>&2) ; then :; else exec 2>/dev
/null
; fi
22416 # The user is always right.
22417 if ${PATH_SEPARATOR+false} :; then
22419 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
22420 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
22426 # Find who we are. Look in the path if we contain no directory separator.
22429 *[\\/]* ) as_myself
=$0 ;;
22430 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22431 for as_dir
in $PATH
22434 case $as_dir in #(((
22437 *) as_dir
=$as_dir/ ;;
22439 test -r "$as_dir$0" && as_myself
=$as_dir$0 && break
22445 # We did not find ourselves, most probably we were run as `sh COMMAND'
22446 # in which case we are not to be found in the path.
22447 if test "x$as_myself" = x
; then
22450 if test ! -f "$as_myself"; then
22451 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22457 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22458 # ----------------------------------------
22459 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22460 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22461 # script with STATUS, using 1 if that was 0.
22464 as_status
=$1; test $as_status -eq 0 && as_status
=1
22466 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
22467 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22469 printf "%s\n" "$as_me: error: $2" >&2
22470 as_fn_exit
$as_status
22475 # as_fn_set_status STATUS
22476 # -----------------------
22477 # Set $? to STATUS, without forking.
22478 as_fn_set_status
()
22481 } # as_fn_set_status
22483 # as_fn_exit STATUS
22484 # -----------------
22485 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22489 as_fn_set_status
$1
22495 # Portably unset VAR.
22498 { eval $1=; unset $1;}
22500 as_unset
=as_fn_unset
22502 # as_fn_append VAR VALUE
22503 # ----------------------
22504 # Append the text in VALUE to the end of the definition contained in VAR. Take
22505 # advantage of any shell optimizations that allow amortized linear growth over
22506 # repeated appends, instead of the typical quadratic growth present in naive
22508 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
22510 eval 'as_fn_append ()
22521 # as_fn_arith ARG...
22522 # ------------------
22523 # Perform arithmetic evaluation on the ARGs, and store the result in the
22524 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22525 # must be portable across $(()) and expr.
22526 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
22528 eval 'as_fn_arith ()
22535 as_val
=`expr "$@" || test $? -eq 1`
22540 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22541 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22547 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22548 as_basename
=basename
22553 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
22559 as_me
=`$as_basename -- "$0" ||
22560 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22561 X"$0" : 'X\(//\)$' \| \
22562 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22563 printf "%s\n" X/"$0" |
22564 sed '/^.*\/\([^/][^/]*\)\/*$/{
22578 # Avoid depending upon Character Ranges.
22579 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22580 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22581 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22582 as_cr_digits
='0123456789'
22583 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22586 # Determine whether it's possible to make 'echo' print without a newline.
22587 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22588 # for compatibility with existing Makefiles.
22589 ECHO_C
= ECHO_N
= ECHO_T
=
22590 case `echo -n x` in #(((((
22592 case `echo 'xy\c'` in
22593 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
22595 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
22602 # For backward compatibility with old third-party macros, we provide
22603 # the shell variables $as_echo and $as_echo_n. New code should use
22604 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22605 as_echo
='printf %s\n'
22606 as_echo_n
='printf %s'
22608 rm -f conf$$ conf$$.exe conf$$.
file
22609 if test -d conf$$.dir
; then
22610 rm -f conf$$.dir
/conf$$.
file
22613 mkdir conf$$.dir
2>/dev
/null
22615 if (echo >conf$$.
file) 2>/dev
/null
; then
22616 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22618 # ... but there are two gotchas:
22619 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22620 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22621 # In both cases, we have to default to `cp -pR'.
22622 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
22624 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22632 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
22633 rmdir conf$$.dir
2>/dev
/null
22638 # Create "$as_dir" as a directory, including parents if necessary.
22643 -*) as_dir
=.
/$as_dir;;
22645 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
22649 *\'*) as_qdir
=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22650 *) as_qdir
=$as_dir;;
22652 as_dirs
="'$as_qdir' $as_dirs"
22653 as_dir
=`$as_dirname -- "$as_dir" ||
22654 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22655 X"$as_dir" : 'X\(//\)[^/]' \| \
22656 X"$as_dir" : 'X\(//\)$' \| \
22657 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22658 printf "%s\n" X"$as_dir" |
22659 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22663 /^X\(\/\/\)[^/].*/{
22676 test -d "$as_dir" && break
22678 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22679 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
22683 if mkdir
-p .
2>/dev
/null
; then
22684 as_mkdir_p
='mkdir -p "$as_dir"'
22686 test -d .
/-p && rmdir .
/-p
22691 # as_fn_executable_p FILE
22692 # -----------------------
22693 # Test if FILE is an executable regular file.
22694 as_fn_executable_p
()
22696 test -f "$1" && test -x "$1"
22697 } # as_fn_executable_p
22698 as_test_x
='test -x'
22699 as_executable_p
=as_fn_executable_p
22701 # Sed expression to map a string onto a valid CPP name.
22702 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22704 # Sed expression to map a string onto a valid variable name.
22705 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22709 ## ----------------------------------- ##
22710 ## Main body of $CONFIG_STATUS script. ##
22711 ## ----------------------------------- ##
22713 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
22715 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22716 # Save the log message, to keep $0 and so on meaningful, and to
22717 # report actual input values of CONFIG_FILES etc. instead of their
22718 # values after options handling.
22720 This file was extended by Wine $as_me 8.2, which was
22721 generated by GNU Autoconf 2.71. Invocation command line was
22723 CONFIG_FILES = $CONFIG_FILES
22724 CONFIG_HEADERS = $CONFIG_HEADERS
22725 CONFIG_LINKS = $CONFIG_LINKS
22726 CONFIG_COMMANDS = $CONFIG_COMMANDS
22729 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22735 case $ac_config_headers in *"
22736 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
22740 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22741 # Files that config.status was made for.
22742 config_headers="$ac_config_headers"
22743 config_links="$ac_config_links"
22744 config_commands="$ac_config_commands"
22748 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22750 \`$as_me' instantiates files and other configuration actions
22751 from templates according to the current configuration. Unless the files
22752 and actions are specified as TAGs, all are instantiated by default.
22754 Usage: $0 [OPTION]... [TAG]...
22756 -h, --help print this help, then exit
22757 -V, --version print version number and configuration settings, then exit
22758 --config print configuration, then exit
22759 -q, --quiet, --silent
22760 do not print progress messages
22761 -d, --debug don't remove temporary files
22762 --recheck update $as_me by reconfiguring in the same conditions
22763 --header=FILE[:TEMPLATE]
22764 instantiate the configuration header FILE
22766 Configuration headers:
22769 Configuration links:
22772 Configuration commands:
22775 Report bugs to <wine-devel@winehq.org>.
22776 Wine home page: <https://www.winehq.org>."
22779 ac_cs_config
=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
22780 ac_cs_config_escaped
=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
22781 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22782 ac_cs_config='$ac_cs_config_escaped'
22784 Wine config.status 8.2
22785 configured by $0, generated by GNU Autoconf 2.71,
22786 with options \\"\$ac_cs_config\\"
22788 Copyright (C) 2021 Free Software Foundation, Inc.
22789 This config.status script is free software; the Free Software Foundation
22790 gives unlimited permission to copy, distribute and modify it."
22794 test -n "\$AWK" || AWK=awk
22797 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22798 # The default lists apply if the user does not specify any file.
22804 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22805 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
22809 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22821 # Handling of the options.
22822 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
22824 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
22825 printf "%s\n" "$ac_cs_version"; exit ;;
22826 --config |
--confi |
--conf |
--con |
--co |
--c )
22827 printf "%s\n" "$ac_cs_config"; exit ;;
22828 --debug |
--debu |
--deb |
--de |
--d |
-d )
22830 --header |
--heade |
--head |
--hea )
22833 *\'*) ac_optarg
=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22835 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
22836 ac_need_defaults
=false
;;
22838 # Conflict between --help and --header
22839 as_fn_error $?
"ambiguous option: \`$1'
22840 Try \`$0 --help' for more information.";;
22841 --help |
--hel |
-h )
22842 printf "%s\n" "$ac_cs_usage"; exit ;;
22843 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
22844 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
22847 # This is an error.
22848 -*) as_fn_error $?
"unrecognized option: \`$1'
22849 Try \`$0 --help' for more information." ;;
22851 *) as_fn_append ac_config_targets
" $1"
22852 ac_need_defaults
=false
;;
22858 ac_configure_extra_args
=
22860 if $ac_cs_silent; then
22862 ac_configure_extra_args
="$ac_configure_extra_args --silent"
22866 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22867 if \$ac_cs_recheck; then
22868 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22870 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
22871 CONFIG_SHELL='$SHELL'
22872 export CONFIG_SHELL
22877 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22881 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22882 ## Running $as_me. ##
22884 printf "%s\n" "$ac_log"
22888 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22892 wine_fn_output_makedep ()
22894 as_dir=tools; as_fn_mkdir_p
22895 $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
22897 wine_fn_output_makefile ()
22899 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
22900 # This Makefile understands the following targets:
22902 # all (default): build wine
22903 # clean: remove all intermediate files
22904 # distclean: also remove all files created by configure
22906 # testclean: clean test results to force running all tests again
22907 # install-lib: install libraries needed to run applications
22908 # install-dev: install development environment
22909 # install: install everything
22910 # uninstall: uninstall everything
22911 # ctags: create a tags file for vim and others.
22912 # etags: create a TAGS file for Emacs.
22915 PATH_SEPARATOR = $PATH_SEPARATOR
22916 PACKAGE_NAME = $PACKAGE_NAME
22917 PACKAGE_TARNAME = $PACKAGE_TARNAME
22918 PACKAGE_VERSION = $PACKAGE_VERSION
22919 PACKAGE_STRING = $PACKAGE_STRING
22920 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
22921 PACKAGE_URL = $PACKAGE_URL
22922 exec_prefix = $exec_prefix
22924 program_transform_name = $program_transform_name
22927 libexecdir = $libexecdir
22928 datarootdir = $datarootdir
22930 sysconfdir = $sysconfdir
22931 sharedstatedir = $sharedstatedir
22932 localstatedir = $localstatedir
22933 runstatedir = $runstatedir
22934 includedir = $includedir
22935 oldincludedir = $oldincludedir
22943 localedir = $localedir
22950 build_alias = $build_alias
22951 host_alias = $host_alias
22952 target_alias = $target_alias
22953 system_dllpath = $system_dllpath
22955 build_cpu = $build_cpu
22956 build_vendor = $build_vendor
22957 build_os = $build_os
22959 host_cpu = $host_cpu
22960 host_vendor = $host_vendor
22966 SET_MAKE = $SET_MAKE
22970 CPPFLAGS = $CPPFLAGS
22971 ac_ct_CC = $ac_ct_CC
22975 CXXFLAGS = $CXXFLAGS
22976 ac_ct_CXX = $ac_ct_CXX
22979 TARGETFLAGS = $TARGETFLAGS
22980 toolsext = $toolsext
22981 HOST_ARCH = $HOST_ARCH
22982 aarch64_CC = $aarch64_CC
22983 aarch64_CFLAGS = $aarch64_CFLAGS
22984 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
22985 aarch64_LDFLAGS = $aarch64_LDFLAGS
22986 aarch64_DEBUG = $aarch64_DEBUG
22987 aarch64_TARGET = $aarch64_TARGET
22988 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
22989 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
22991 arm_CFLAGS = $arm_CFLAGS
22992 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
22993 arm_LDFLAGS = $arm_LDFLAGS
22994 arm_DEBUG = $arm_DEBUG
22995 arm_TARGET = $arm_TARGET
22996 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
22997 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
22999 i386_CFLAGS = $i386_CFLAGS
23000 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
23001 i386_LDFLAGS = $i386_LDFLAGS
23002 i386_DEBUG = $i386_DEBUG
23003 i386_TARGET = $i386_TARGET
23004 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
23005 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
23006 x86_64_CC = $x86_64_CC
23007 x86_64_CFLAGS = $x86_64_CFLAGS
23008 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
23009 x86_64_LDFLAGS = $x86_64_LDFLAGS
23010 x86_64_DEBUG = $x86_64_DEBUG
23011 x86_64_TARGET = $x86_64_TARGET
23012 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
23013 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
23014 toolsdir = $toolsdir
23016 RUNTESTFLAGS = $RUNTESTFLAGS
23021 ac_ct_AR = $ac_ct_AR
23027 LDCONFIG = $LDCONFIG
23029 PKG_CONFIG = $PKG_CONFIG
23030 FONTFORGE = $FONTFORGE
23034 I386_LIBS = $I386_LIBS
23035 OPENGL_LIBS = $OPENGL_LIBS
23036 DLLFLAGS = $DLLFLAGS
23037 LDDLLFLAGS = $LDDLLFLAGS
23038 LDEXECFLAGS = $LDEXECFLAGS
23039 EXTRACFLAGS = $EXTRACFLAGS
23040 UNIXDLLFLAGS = $UNIXDLLFLAGS
23041 UNIXLDFLAGS = $UNIXLDFLAGS
23042 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23043 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23044 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23045 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23050 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23051 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23052 CARBON_LIBS = $CARBON_LIBS
23053 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23054 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23055 IOKIT_LIBS = $IOKIT_LIBS
23056 METAL_LIBS = $METAL_LIBS
23057 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23058 CORESERVICES_LIBS = $CORESERVICES_LIBS
23059 APPKIT_LIBS = $APPKIT_LIBS
23060 SECURITY_LIBS = $SECURITY_LIBS
23061 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23062 COREAUDIO_LIBS = $COREAUDIO_LIBS
23063 OPENCL_LIBS = $OPENCL_LIBS
23065 OBJCFLAGS = $OBJCFLAGS
23066 ac_ct_OBJC = $ac_ct_OBJC
23067 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23069 PE_ARCHS = $PE_ARCHS
23070 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23071 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23072 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23073 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23074 GSM_PE_LIBS = $GSM_PE_LIBS
23075 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23076 JPEG_PE_LIBS = $JPEG_PE_LIBS
23077 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23078 JXR_PE_LIBS = $JXR_PE_LIBS
23079 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23080 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23081 LDAP_PE_CFLAGS = $LDAP_PE_CFLAGS
23082 LDAP_PE_LIBS = $LDAP_PE_LIBS
23083 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23084 MPG123_PE_LIBS = $MPG123_PE_LIBS
23085 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23086 PNG_PE_LIBS = $PNG_PE_LIBS
23087 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23088 TIFF_PE_LIBS = $TIFF_PE_LIBS
23089 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23090 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23091 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23092 XML2_PE_LIBS = $XML2_PE_LIBS
23093 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23094 XSLT_PE_LIBS = $XSLT_PE_LIBS
23095 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23096 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23097 PTHREAD_LIBS = $PTHREAD_LIBS
23100 X_CFLAGS = $X_CFLAGS
23101 X_PRE_LIBS = $X_PRE_LIBS
23103 X_EXTRA_LIBS = $X_EXTRA_LIBS
23104 PCAP_LIBS = $PCAP_LIBS
23105 PCSCLITE_LIBS = $PCSCLITE_LIBS
23106 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23107 INOTIFY_LIBS = $INOTIFY_LIBS
23108 DBUS_CFLAGS = $DBUS_CFLAGS
23109 DBUS_LIBS = $DBUS_LIBS
23110 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23111 GNUTLS_LIBS = $GNUTLS_LIBS
23112 SANE_CFLAGS = $SANE_CFLAGS
23113 SANE_LIBS = $SANE_LIBS
23114 USB_CFLAGS = $USB_CFLAGS
23115 USB_LIBS = $USB_LIBS
23116 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23117 GPHOTO2_LIBS = $GPHOTO2_LIBS
23118 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23119 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23120 RESOLV_LIBS = $RESOLV_LIBS
23121 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23122 FREETYPE_LIBS = $FREETYPE_LIBS
23123 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23124 PULSE_CFLAGS = $PULSE_CFLAGS
23125 PULSE_LIBS = $PULSE_LIBS
23126 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23127 GSTREAMER_LIBS = $GSTREAMER_LIBS
23128 ALSA_LIBS = $ALSA_LIBS
23129 OSS4_CFLAGS = $OSS4_CFLAGS
23130 OSS4_LIBS = $OSS4_LIBS
23131 UDEV_CFLAGS = $UDEV_CFLAGS
23132 UDEV_LIBS = $UDEV_LIBS
23133 UNWIND_CFLAGS = $UNWIND_CFLAGS
23134 UNWIND_LIBS = $UNWIND_LIBS
23135 SDL2_CFLAGS = $SDL2_CFLAGS
23136 SDL2_LIBS = $SDL2_LIBS
23137 CAPI20_CFLAGS = $CAPI20_CFLAGS
23138 CAPI20_LIBS = $CAPI20_LIBS
23139 CUPS_CFLAGS = $CUPS_CFLAGS
23140 CUPS_LIBS = $CUPS_LIBS
23141 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23142 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23143 KRB5_CFLAGS = $KRB5_CFLAGS
23144 KRB5_LIBS = $KRB5_LIBS
23145 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23146 GSSAPI_LIBS = $GSSAPI_LIBS
23147 PROCSTAT_LIBS = $PROCSTAT_LIBS
23148 NETAPI_CFLAGS = $NETAPI_CFLAGS
23149 NETAPI_LIBS = $NETAPI_LIBS
23150 MSVCRTFLAGS = $MSVCRTFLAGS
23151 DELAYLOADFLAG = $DELAYLOADFLAG
23152 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23154 TAGSFLAGS = $TAGSFLAGS
23156 LTLIBOBJS = $LTLIBOBJS
23160 as_fn_error $? "could not create Makefile" "$LINENO" 5
23165 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23167 # Handling of arguments.
23168 for ac_config_target
in $ac_config_targets
23170 case $ac_config_target in
23171 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
23172 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
23173 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
23174 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23175 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
23176 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
23178 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23183 # If the user did not use the arguments to specify the items to instantiate,
23184 # then the envvar interface is used. Set only those that are not.
23185 # We use the long form for the default assignment because of an extremely
23186 # bizarre bug on SunOS 4.1.3.
23187 if $ac_need_defaults; then
23188 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS
=$config_headers
23189 test ${CONFIG_LINKS+y} || CONFIG_LINKS
=$config_links
23190 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS
=$config_commands
23193 # Have a temporary directory for convenience. Make it in the build tree
23194 # simply because there is no reason against having it here, and in addition,
23195 # creating and moving files from /tmp can sometimes cause problems.
23196 # Hook for its removal unless debugging.
23197 # Note that there is a small window in which the directory will not be cleaned:
23198 # after its creation but before its name has been assigned to `$tmp'.
23202 trap 'exit_status=$?
23203 : "${ac_tmp:=$tmp}"
23204 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23206 trap 'as_fn_exit 1' 1 2 13 15
23208 # Create a (secure) tmp directory for tmp files.
23211 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23215 tmp
=.
/conf$$
-$RANDOM
23216 (umask 077 && mkdir
"$tmp")
23217 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
23220 # Set up the scripts for CONFIG_HEADERS section.
23221 # No need to generate them if there are no CONFIG_HEADERS.
23222 # This happens for instance with `./config.status Makefile'.
23223 if test -n "$CONFIG_HEADERS"; then
23224 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23228 # Transform confdefs.h into an awk script `defines.awk', embedded as
23229 # here-document in config.status, that substitutes the proper values into
23230 # config.h.in to produce config.h.
23232 # Create a delimiter string that does not exist in confdefs.h, to ease
23233 # handling of long lines.
23235 for ac_last_try
in false false
:; do
23236 ac_tt
=`sed -n "/$ac_delim/p" confdefs.h`
23237 if test -z "$ac_tt"; then
23239 elif $ac_last_try; then
23240 as_fn_error $?
"could not make $CONFIG_HEADERS" "$LINENO" 5
23242 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
23246 # For the awk script, D is an array of macro values keyed by name,
23247 # likewise P contains macro parameters if any. Preserve backslash
23248 # newline sequences.
23250 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
23252 s/.\{148\}/&'"$ac_delim"'/g
23255 s/^[ ]*#[ ]*define[ ][ ]*/ /
23262 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23264 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23268 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23269 D["\1"]=" \3\\\\\\n"\\/p
23271 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23276 s/.\{148\}/&'"$ac_delim"'/g
23281 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23284 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23286 ' <confdefs.h |
sed '
23287 s/'"$ac_delim"'/"\\\
23288 "/g' >>$CONFIG_STATUS || ac_write_fail
=1
23290 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23291 for (key in D) D_is_set[key] = 1
23294 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23296 split(line, arg, " ")
23297 if (arg[1] == "#") {
23301 defundef = substr(arg[1], 2)
23304 split(mac1, mac2, "(") #)
23306 prefix = substr(line, 1, index(line, defundef) - 1)
23307 if (D_is_set[macro]) {
23308 # Preserve the white space surrounding the "#".
23309 print prefix "define", macro P[macro] D[macro]
23312 # Replace #undef with comments. This is necessary, for example,
23313 # in the case of _POSIX_SOURCE, which is predefined and required
23314 # on some systems where configure will not decide to define it.
23315 if (defundef == "undef") {
23316 print "/*", prefix defundef, macro, "*/"
23324 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23325 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
23326 fi # test -n "$CONFIG_HEADERS"
23329 eval set X
" :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23334 :[FHLC
]) ac_mode
=$ac_tag; continue;;
23336 case $ac_mode$ac_tag in
23338 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
23339 :[FH
]-) ac_tag
=-:-;;
23340 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
23357 -) ac_f
="$ac_tmp/stdin";;
23358 *) # Look for the file first in the build tree, then in the source tree
23359 # (if the path is not absolute). The absolute path cannot be DOS-style,
23360 # because $ac_f cannot contain `:'.
23364 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
23366 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23368 case $ac_f in *\'*) ac_f
=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23369 as_fn_append ac_file_inputs
" '$ac_f'"
23372 # Let's still pretend it is `configure' which instantiates (i.e., don't
23373 # use $as_me), people would be surprised to read:
23374 # /* config.h. Generated by config.status. */
23375 configure_input
='Generated from '`
23376 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23378 if test x
"$ac_file" != x-
; then
23379 configure_input
="$ac_file. $configure_input"
23380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23381 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23383 # Neutralize special characters interpreted by sed in replacement strings.
23384 case $configure_input in #(
23385 *\
&* |
*\|
* |
*\\* )
23386 ac_sed_conf_input
=`printf "%s\n" "$configure_input" |
23387 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23388 *) ac_sed_conf_input
=$configure_input;;
23392 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
23393 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
23398 ac_dir
=`$as_dirname -- "$ac_file" ||
23399 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23400 X"$ac_file" : 'X\(//\)[^/]' \| \
23401 X"$ac_file" : 'X\(//\)$' \| \
23402 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23403 printf "%s\n" X"$ac_file" |
23404 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23408 /^X\(\/\/\)[^/].*/{
23421 as_dir
="$ac_dir"; as_fn_mkdir_p
23425 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23427 ac_dir_suffix
=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23428 # A ".." for each directory in $ac_dir_suffix.
23429 ac_top_builddir_sub
=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23430 case $ac_top_builddir_sub in
23431 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23432 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
23435 ac_abs_top_builddir
=$ac_pwd
23436 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
23437 # for backward compatibility:
23438 ac_top_builddir
=$ac_top_build_prefix
23441 .
) # We are building in place.
23443 ac_top_srcdir
=$ac_top_builddir_sub
23444 ac_abs_top_srcdir
=$ac_pwd ;;
23445 [\\/]* | ?
:[\\/]* ) # Absolute name.
23446 ac_srcdir
=$srcdir$ac_dir_suffix;
23447 ac_top_srcdir
=$srcdir
23448 ac_abs_top_srcdir
=$srcdir ;;
23449 *) # Relative name.
23450 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
23451 ac_top_srcdir
=$ac_top_build_prefix$srcdir
23452 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
23454 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
23463 if test x
"$ac_file" != x-
; then
23465 printf "%s\n" "/* $configure_input */" >&1 \
23466 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23467 } >"$ac_tmp/config.h" \
23468 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5
23469 if diff "$ac_file" "$ac_tmp/config.h" >/dev
/null
2>&1; then
23470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23471 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23474 mv "$ac_tmp/config.h" "$ac_file" \
23475 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5
23478 printf "%s\n" "/* $configure_input */" >&1 \
23479 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23480 || as_fn_error $?
"could not create -" "$LINENO" 5
23488 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23491 # Prefer the file from the source tree if names are identical.
23492 if test "$ac_source" = "$ac_file" ||
test ! -r "$ac_source"; then
23493 ac_source
=$srcdir/$ac_source
23496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23497 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23499 if test ! -r "$ac_source"; then
23500 as_fn_error $?
"$ac_source: file not found" "$LINENO" 5
23504 # Try a relative symlink, then a hard link, then a copy.
23506 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$ac_source ;;
23507 *) ac_rel_source
=$ac_top_build_prefix$ac_source ;;
23509 ln -s "$ac_rel_source" "$ac_file" 2>/dev
/null ||
23510 ln "$ac_source" "$ac_file" 2>/dev
/null ||
23511 cp -p "$ac_source" "$ac_file" ||
23512 as_fn_error $?
"cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23515 :C
) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23516 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23521 case $ac_file$ac_mode in
23522 "include/stamp-h":C
) echo timestamp
> include
/stamp-h
;;
23523 "tools/makedep":C
) wine_fn_output_makedep || as_fn_exit $?
;;
23524 "Makefile":C
) wine_fn_output_makefile Makefile
;;
23532 ac_clean_files
=$ac_clean_files_save
23534 test $ac_write_fail = 0 ||
23535 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
23538 # configure is writing to config.log, and then calls config.status.
23539 # config.status does its own redirection, appending to config.log.
23540 # Unfortunately, on DOS this fails, as config.log is still kept open
23541 # by configure, so config.status won't be able to write to it; its
23542 # output is simply discarded. So we exec the FD to /dev/null,
23543 # effectively closing config.log, so it can be properly (re)opened and
23544 # appended to by config.status. When coming back to configure, we
23545 # need to make the FD available again.
23546 if test "$no_create" != yes; then
23548 ac_config_status_args
=
23549 test "$silent" = yes &&
23550 ac_config_status_args
="$ac_config_status_args --quiet"
23552 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23554 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23555 # would make configure fail if this is the last instruction.
23556 $ac_cs_success || as_fn_exit
1
23558 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
23559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23560 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23564 if test "$no_create" = "yes"
23570 if test "x$wine_notices" != x
; then
23573 for msg
in $wine_notices; do
23579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23580 printf "%s\n" "$as_me: $msg" >&6;}
23585 for msg
in $wine_warnings; do
23592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23593 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23599 $as_me: Finished. Do '${ac_make}' to compile Wine.