2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 8.1.
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.1'
615 PACKAGE_STRING
='Wine 8.1'
616 PACKAGE_BUGREPORT
='wine-devel@winehq.org'
617 PACKAGE_URL
='https://www.winehq.org'
619 ac_unique_file
="server/atom.c"
620 # Factoring default headers for most tests.
621 ac_includes_default
="\
632 #ifdef HAVE_INTTYPES_H
633 # include <inttypes.h>
638 #ifdef HAVE_STRINGS_H
639 # include <strings.h>
641 #ifdef HAVE_SYS_TYPES_H
642 # include <sys/types.h>
644 #ifdef HAVE_SYS_STAT_H
645 # include <sys/stat.h>
652 ac_subst_vars
='LTLIBOBJS
749 SYSTEMCONFIGURATION_LIBS
753 APPLICATIONSERVICES_LIBS
765 WINEPRELOADER_LDFLAGS
797 x86_64_DISABLED_SUBDIRS
805 i386_DISABLED_SUBDIRS
821 aarch64_DISABLED_SUBDIRS
822 aarch64_DELAYLOADFLAG
886 program_transform_name
899 enable_option_checking
905 enable_maintainer_mode
1021 enable_d3dcompiler_33
1022 enable_d3dcompiler_34
1023 enable_d3dcompiler_35
1024 enable_d3dcompiler_36
1025 enable_d3dcompiler_37
1026 enable_d3dcompiler_38
1027 enable_d3dcompiler_39
1028 enable_d3dcompiler_40
1029 enable_d3dcompiler_41
1030 enable_d3dcompiler_42
1031 enable_d3dcompiler_43
1032 enable_d3dcompiler_46
1033 enable_d3dcompiler_47
1086 enable_directmanipulation
1123 enable_explorerframe
1180 enable_light_msstyles
1195 enable_mfmediaengine
1260 enable_msvcp140_atomic_wait
1326 enable_photometadatahandler
1402 enable_threadpoolwinrt
1408 enable_uiautomationcore
1428 enable_vcruntime140_1
1446 enable_windows_devices_enumeration
1447 enable_windows_gaming_input
1448 enable_windows_gaming_ui_gamebar
1449 enable_windows_globalization
1450 enable_windows_media_devices
1451 enable_windows_media_speech
1452 enable_windows_media
1453 enable_windows_networking
1454 enable_windows_system_profile_systemmanufacturers
1455 enable_windowscodecs
1456 enable_windowscodecsext
1458 enable_wineandroid_drv
1460 enable_winecoreaudio_drv
1463 enable_winegstreamer
1469 enable_winepulse_drv
1473 enable_winexinput_sys
1519 enable_xactengine2_0
1520 enable_xactengine2_4
1521 enable_xactengine2_7
1522 enable_xactengine2_9
1523 enable_xactengine3_0
1524 enable_xactengine3_1
1525 enable_xactengine3_2
1526 enable_xactengine3_3
1527 enable_xactengine3_4
1528 enable_xactengine3_5
1529 enable_xactengine3_6
1530 enable_xactengine3_7
1579 enable_wmcodecdspuuid
1587 enable_aspnet_regiis
1633 enable_presentationfontcache
1648 enable_servicemodelreg
1674 enable_winemenubuilder
1676 enable_winemsibuilder
1701 ac_precious_vars
='build_alias
1782 # Initialize some variables set by options.
1784 ac_init_version
=false
1785 ac_unrecognized_opts
=
1786 ac_unrecognized_sep
=
1787 # The variables have the same names as the options, with
1788 # dashes changed to underlines.
1789 cache_file
=/dev
/null
1796 program_transform_name
=s
,x
,x
,
1804 # Installation directory options.
1805 # These are left unexpanded so users can "make install exec_prefix=/foo"
1806 # and all the variables that are supposed to be based on exec_prefix
1807 # by default will actually change.
1808 # Use braces instead of parens because sh, perl, etc. also accept them.
1809 # (The list follows the same order as the GNU Coding Standards.)
1810 bindir
='${exec_prefix}/bin'
1811 sbindir
='${exec_prefix}/sbin'
1812 libexecdir
='${exec_prefix}/libexec'
1813 datarootdir
='${prefix}/share'
1814 datadir
='${datarootdir}'
1815 sysconfdir
='${prefix}/etc'
1816 sharedstatedir
='${prefix}/com'
1817 localstatedir
='${prefix}/var'
1818 runstatedir
='${localstatedir}/run'
1819 includedir
='${prefix}/include'
1820 oldincludedir
='/usr/include'
1821 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1822 infodir
='${datarootdir}/info'
1827 libdir
='${exec_prefix}/lib'
1828 localedir
='${datarootdir}/locale'
1829 mandir
='${datarootdir}/man'
1835 # If the previous option needs an argument, assign it.
1836 if test -n "$ac_prev"; then
1837 eval $ac_prev=\
$ac_option
1843 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1848 case $ac_dashdash$ac_option in
1852 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1854 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1855 bindir
=$ac_optarg ;;
1857 -build |
--build |
--buil |
--bui |
--bu)
1858 ac_prev
=build_alias
;;
1859 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1860 build_alias
=$ac_optarg ;;
1862 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1863 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1864 ac_prev
=cache_file
;;
1865 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1866 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1867 cache_file
=$ac_optarg ;;
1869 --config-cache |
-C)
1870 cache_file
=config.cache
;;
1872 -datadir |
--datadir |
--datadi |
--datad)
1874 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1875 datadir
=$ac_optarg ;;
1877 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1878 |
--dataroo |
--dataro |
--datar)
1879 ac_prev
=datarootdir
;;
1880 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1881 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1882 datarootdir
=$ac_optarg ;;
1884 -disable-* |
--disable-*)
1885 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1886 # Reject names that are not valid shell variable names.
1887 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1888 as_fn_error $?
"invalid feature name: \`$ac_useropt'"
1889 ac_useropt_orig
=$ac_useropt
1890 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1891 case $ac_user_opts in
1893 "enable_
$ac_useropt"
1895 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1896 ac_unrecognized_sep
=', ';;
1898 eval enable_
$ac_useropt=no
;;
1900 -docdir |
--docdir |
--docdi |
--doc |
--do)
1902 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1903 docdir
=$ac_optarg ;;
1905 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1907 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1908 dvidir
=$ac_optarg ;;
1910 -enable-* |
--enable-*)
1911 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1912 # Reject names that are not valid shell variable names.
1913 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1914 as_fn_error $?
"invalid feature name: \`$ac_useropt'"
1915 ac_useropt_orig
=$ac_useropt
1916 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1917 case $ac_user_opts in
1919 "enable_
$ac_useropt"
1921 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1922 ac_unrecognized_sep
=', ';;
1924 eval enable_
$ac_useropt=\
$ac_optarg ;;
1926 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1927 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1928 |
--exec |
--exe |
--ex)
1929 ac_prev
=exec_prefix
;;
1930 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1931 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1932 |
--exec=* |
--exe=* |
--ex=*)
1933 exec_prefix
=$ac_optarg ;;
1935 -gas |
--gas |
--ga |
--g)
1936 # Obsolete; use --with-gas.
1939 -help |
--help |
--hel |
--he |
-h)
1940 ac_init_help
=long
;;
1941 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1942 ac_init_help
=recursive
;;
1943 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1944 ac_init_help
=short
;;
1946 -host |
--host |
--hos |
--ho)
1947 ac_prev
=host_alias
;;
1948 -host=* |
--host=* |
--hos=* |
--ho=*)
1949 host_alias
=$ac_optarg ;;
1951 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1953 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1955 htmldir
=$ac_optarg ;;
1957 -includedir |
--includedir |
--includedi |
--included |
--include \
1958 |
--includ |
--inclu |
--incl |
--inc)
1959 ac_prev
=includedir
;;
1960 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1961 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1962 includedir
=$ac_optarg ;;
1964 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1966 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1967 infodir
=$ac_optarg ;;
1969 -libdir |
--libdir |
--libdi |
--libd)
1971 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1972 libdir
=$ac_optarg ;;
1974 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1975 |
--libexe |
--libex |
--libe)
1976 ac_prev
=libexecdir
;;
1977 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1978 |
--libexe=* |
--libex=* |
--libe=*)
1979 libexecdir
=$ac_optarg ;;
1981 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1982 ac_prev
=localedir
;;
1983 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1984 localedir
=$ac_optarg ;;
1986 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1987 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1988 ac_prev
=localstatedir
;;
1989 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1990 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1991 localstatedir
=$ac_optarg ;;
1993 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1995 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1996 mandir
=$ac_optarg ;;
1998 -nfp |
--nfp |
--nf)
1999 # Obsolete; use --without-fp.
2002 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
2003 |
--no-cr |
--no-c |
-n)
2006 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
2007 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
2010 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
2011 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
2012 |
--oldin |
--oldi |
--old |
--ol |
--o)
2013 ac_prev
=oldincludedir
;;
2014 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
2015 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
2016 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
2017 oldincludedir
=$ac_optarg ;;
2019 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
2021 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
2022 prefix
=$ac_optarg ;;
2024 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
2025 |
--program-pre |
--program-pr |
--program-p)
2026 ac_prev
=program_prefix
;;
2027 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
2028 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
2029 program_prefix
=$ac_optarg ;;
2031 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
2032 |
--program-suf |
--program-su |
--program-s)
2033 ac_prev
=program_suffix
;;
2034 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
2035 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
2036 program_suffix
=$ac_optarg ;;
2038 -program-transform-name |
--program-transform-name \
2039 |
--program-transform-nam |
--program-transform-na \
2040 |
--program-transform-n |
--program-transform- \
2041 |
--program-transform |
--program-transfor \
2042 |
--program-transfo |
--program-transf \
2043 |
--program-trans |
--program-tran \
2044 |
--progr-tra |
--program-tr |
--program-t)
2045 ac_prev
=program_transform_name
;;
2046 -program-transform-name=* |
--program-transform-name=* \
2047 |
--program-transform-nam=* |
--program-transform-na=* \
2048 |
--program-transform-n=* |
--program-transform-=* \
2049 |
--program-transform=* |
--program-transfor=* \
2050 |
--program-transfo=* |
--program-transf=* \
2051 |
--program-trans=* |
--program-tran=* \
2052 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
2053 program_transform_name
=$ac_optarg ;;
2055 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
2057 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
2058 pdfdir
=$ac_optarg ;;
2060 -psdir |
--psdir |
--psdi |
--psd |
--ps)
2062 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
2065 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2066 |
-silent |
--silent |
--silen |
--sile |
--sil)
2069 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
2070 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
2071 |
--run |
--ru |
--r)
2072 ac_prev
=runstatedir
;;
2073 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
2074 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
2075 |
--run=* |
--ru=* |
--r=*)
2076 runstatedir
=$ac_optarg ;;
2078 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
2080 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
2082 sbindir
=$ac_optarg ;;
2084 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
2085 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
2086 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
2088 ac_prev
=sharedstatedir
;;
2089 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
2090 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
2091 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
2093 sharedstatedir
=$ac_optarg ;;
2095 -site |
--site |
--sit)
2097 -site=* |
--site=* |
--sit=*)
2100 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
2102 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
2103 srcdir
=$ac_optarg ;;
2105 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
2106 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
2107 ac_prev
=sysconfdir
;;
2108 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
2109 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
2110 sysconfdir
=$ac_optarg ;;
2112 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
2113 ac_prev
=target_alias
;;
2114 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
2115 target_alias
=$ac_optarg ;;
2117 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
2120 -version |
--version |
--versio |
--versi |
--vers |
-V)
2121 ac_init_version
=: ;;
2124 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2125 # Reject names that are not valid shell variable names.
2126 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2127 as_fn_error $?
"invalid package name: \`$ac_useropt'"
2128 ac_useropt_orig
=$ac_useropt
2129 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2130 case $ac_user_opts in
2134 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2135 ac_unrecognized_sep
=', ';;
2137 eval with_
$ac_useropt=\
$ac_optarg ;;
2139 -without-* |
--without-*)
2140 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2141 # Reject names that are not valid shell variable names.
2142 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2143 as_fn_error $?
"invalid package name: \`$ac_useropt'"
2144 ac_useropt_orig
=$ac_useropt
2145 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2146 case $ac_user_opts in
2150 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2151 ac_unrecognized_sep
=', ';;
2153 eval with_
$ac_useropt=no
;;
2156 # Obsolete; use --with-x.
2159 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
2160 |
--x-incl |
--x-inc |
--x-in |
--x-i)
2161 ac_prev
=x_includes
;;
2162 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
2163 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
2164 x_includes
=$ac_optarg ;;
2166 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
2167 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
2168 ac_prev
=x_libraries
;;
2169 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
2170 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
2171 x_libraries
=$ac_optarg ;;
2173 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
2174 Try \`$0 --help' for more information"
2178 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
2179 # Reject names that are not valid shell variable names.
2180 case $ac_envvar in #(
2181 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
2182 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
2184 eval $ac_envvar=\
$ac_optarg
2185 export $ac_envvar ;;
2188 # FIXME: should be removed in autoconf 3.0.
2189 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2190 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
2191 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2192 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2198 if test -n "$ac_prev"; then
2199 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
2200 as_fn_error $?
"missing argument to $ac_option"
2203 if test -n "$ac_unrecognized_opts"; then
2204 case $enable_option_checking in
2206 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
2207 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2211 # Check all directory arguments for consistency.
2212 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2213 datadir sysconfdir sharedstatedir localstatedir includedir \
2214 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2215 libdir localedir mandir runstatedir
2217 eval ac_val
=\$
$ac_var
2218 # Remove trailing slashes.
2221 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2222 eval $ac_var=\
$ac_val;;
2224 # Be sure to have absolute directory names.
2226 [\\/$
]* | ?
:[\\/]* ) continue;;
2227 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
2229 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
2232 # There might be people who depend on the old broken behavior: `$host'
2233 # used to hold the argument of --host etc.
2234 # FIXME: To remove some day.
2237 target
=$target_alias
2239 # FIXME: To remove some day.
2240 if test "x$host_alias" != x
; then
2241 if test "x$build_alias" = x
; then
2242 cross_compiling
=maybe
2243 elif test "x$build_alias" != "x$host_alias"; then
2249 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
2251 test "$silent" = yes && exec 6>/dev
/null
2254 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
2255 ac_ls_di
=`ls -di .` &&
2256 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
2257 as_fn_error $?
"working directory cannot be determined"
2258 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2259 as_fn_error $?
"pwd does not report name of working directory"
2262 # Find the source files, if location was not specified.
2263 if test -z "$srcdir"; then
2264 ac_srcdir_defaulted
=yes
2265 # Try the directory containing this script, then the parent directory.
2266 ac_confdir
=`$as_dirname -- "$as_myself" ||
2267 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2268 X"$as_myself" : 'X\(//\)[^/]' \| \
2269 X"$as_myself" : 'X\(//\)$' \| \
2270 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2271 printf "%s\n" X"$as_myself" |
2272 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2290 if test ! -r "$srcdir/$ac_unique_file"; then
2294 ac_srcdir_defaulted
=no
2296 if test ! -r "$srcdir/$ac_unique_file"; then
2297 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
2298 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
2300 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
2302 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2304 # When building in place, set srcdir=.
2305 if test "$ac_abs_confdir" = "$ac_pwd"; then
2308 # Remove unnecessary trailing slashes from srcdir.
2309 # Double slashes in file names in object file debugging info
2310 # mess up M-x gdb in Emacs.
2312 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2314 for ac_var
in $ac_precious_vars; do
2315 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
2316 eval ac_env_
${ac_var}_value
=\$
${ac_var}
2317 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
2318 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2322 # Report the --help message.
2324 if test "$ac_init_help" = "long"; then
2325 # Omit some internal or obsolete options to make the list less imposing.
2326 # This message is too long to be a string in the A/UX 3.1 sh.
2328 \`configure' configures Wine 8.1 to adapt to many kinds of systems.
2330 Usage: $0 [OPTION]... [VAR=VALUE]...
2332 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2333 VAR=VALUE. See below for descriptions of some of the useful variables.
2335 Defaults for the options are specified in brackets.
2338 -h, --help display this help and exit
2339 --help=short display options specific to this package
2340 --help=recursive display the short help of all the included packages
2341 -V, --version display version information and exit
2342 -q, --quiet, --silent do not print \`checking ...' messages
2343 --cache-file=FILE cache test results in FILE [disabled]
2344 -C, --config-cache alias for \`--cache-file=config.cache'
2345 -n, --no-create do not create output files
2346 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2348 Installation directories:
2349 --prefix=PREFIX install architecture-independent files in PREFIX
2350 [$ac_default_prefix]
2351 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2354 By default, \`make install' will install all the files in
2355 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2356 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2357 for instance \`--prefix=\$HOME'.
2359 For better control, use the options below.
2361 Fine tuning of the installation directories:
2362 --bindir=DIR user executables [EPREFIX/bin]
2363 --sbindir=DIR system admin executables [EPREFIX/sbin]
2364 --libexecdir=DIR program executables [EPREFIX/libexec]
2365 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2366 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2367 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2368 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2369 --libdir=DIR object code libraries [EPREFIX/lib]
2370 --includedir=DIR C header files [PREFIX/include]
2371 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2372 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2373 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2374 --infodir=DIR info documentation [DATAROOTDIR/info]
2375 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2376 --mandir=DIR man documentation [DATAROOTDIR/man]
2377 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2378 --htmldir=DIR html documentation [DOCDIR]
2379 --dvidir=DIR dvi documentation [DOCDIR]
2380 --pdfdir=DIR pdf documentation [DOCDIR]
2381 --psdir=DIR ps documentation [DOCDIR]
2387 --x-includes=DIR X include files are
in DIR
2388 --x-libraries=DIR X library files are
in DIR
2391 --build=BUILD configure
for building on BUILD
[guessed
]
2392 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2396 if test -n "$ac_init_help"; then
2397 case $ac_init_help in
2398 short | recursive
) echo "Configuration of Wine 8.1:";;
2403 --disable-option-checking ignore unrecognized
--enable/--with options
2404 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2405 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2406 --enable-archs={i386
,x86_64
,arm
,aarch64
}
2407 enable multiple architectures
for PE compilation
2408 --disable-win16 do not include Win16 support
2409 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2411 --disable-tests do not build the regression tests
2412 --enable-build-id include .buildid section in output objects
2413 --enable-maintainer-mode
2414 enable maintainer-specific build rules
2415 --enable-silent-rules use silent build rules (override: "make V=1")
2416 --enable-werror treat compilation warnings as errors
2417 --disable-largefile omit support for large files
2420 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2421 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2422 --without-alsa do not use the Alsa sound support
2423 --without-capi do not use CAPI (ISDN support)
2424 --without-coreaudio do not use the CoreAudio sound support
2425 --without-cups do not use CUPS
2426 --without-dbus do not use DBus (dynamic device support)
2427 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2428 --without-fontconfig do not use fontconfig
2429 --without-freetype do not use the FreeType library
2430 --without-gettext do not use gettext
2431 --with-gettextpo use the GetTextPO library to rebuild po files
2432 --without-gphoto do not use gphoto (Digital Camera support)
2433 --without-gnutls do not use GnuTLS (schannel support)
2434 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2435 --without-gstreamer do not use GStreamer (codecs support)
2436 --without-inotify do not use inotify (filesystem change notifications)
2437 --without-krb5 do not use krb5 (Kerberos)
2438 --without-mingw do not use the MinGW cross-compiler
2439 --without-netapi do not use the Samba NetAPI library
2440 --without-opencl do not use OpenCL
2441 --without-opengl do not use OpenGL
2442 --without-osmesa do not use the OSMesa library
2443 --without-oss do not use the OSS sound support
2444 --without-pcap do not use the Packet Capture library
2445 --without-pthread do not use the pthread library
2446 --without-pulse do not use PulseAudio sound support
2447 --without-sane do not use SANE (scanner support)
2448 --without-sdl do not use SDL
2449 --without-udev do not use udev (plug and play support)
2450 --without-unwind do not use the libunwind library (exception
2452 --without-usb do not use the libusb library
2453 --without-v4l2 do not use v4l2 (video capture)
2454 --without-vulkan do not use Vulkan
2455 --without-xcomposite do not use the Xcomposite extension
2456 --without-xcursor do not use the Xcursor extension
2457 --without-xfixes do not use Xfixes for clipboard change notifications
2458 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2459 --without-xinput do not use the Xinput extension
2460 --without-xinput2 do not use the Xinput 2 extension
2461 --without-xrandr do not use Xrandr (multi-monitor support)
2462 --without-xrender do not use the Xrender extension
2463 --without-xshape do not use the Xshape extension
2464 --without-xshm do not use XShm (shared memory extension)
2465 --without-xxf86vm do not use XFree video mode extension
2466 --with-system-dllpath=PATH
2467 load external PE dependencies from colon-separated
2469 --with-wine-tools=DIR use Wine tools from directory DIR
2470 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2471 --with-x use the X Window System
2473 Some influential environment variables:
2474 CC C compiler command
2475 CFLAGS C compiler flags
2476 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2477 nonstandard directory <lib dir>
2478 LIBS libraries to pass to the linker, e.g. -l<library>
2479 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2480 you have headers in a nonstandard directory <include dir>
2481 CXX C++ compiler command
2482 CXXFLAGS C++ compiler flags
2483 OBJC Objective C compiler command
2484 OBJCFLAGS Objective C compiler flags
2486 C compiler flags for the PE faudio, overriding the bundled
2489 Linker flags for the PE faudio, overriding the bundled version
2491 C compiler flags for the PE gsm, overriding the bundled version
2492 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2494 C compiler flags for the PE jpeg, overriding the bundled version
2496 Linker flags for the PE jpeg, overriding the bundled version
2498 C compiler flags for the PE jxr, overriding the bundled version
2499 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2501 C compiler flags for the PE lcms2, overriding the bundled
2504 Linker flags for the PE lcms2, overriding the bundled version
2506 C compiler flags for the PE ldap, overriding the bundled version
2508 Linker flags for the PE ldap, overriding the bundled version
2510 C compiler flags for the PE mpg123, overriding the bundled
2513 Linker flags for the PE mpg123, overriding the bundled version
2515 C compiler flags for the PE png, overriding the bundled version
2516 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2518 C compiler flags for the PE tiff, overriding the bundled version
2520 Linker flags for the PE tiff, overriding the bundled version
2522 C compiler flags for the PE vkd3d, overriding the bundled
2525 Linker flags for the PE vkd3d, overriding the bundled version
2527 C compiler flags for the PE xml2, overriding the bundled version
2529 Linker flags for the PE xml2, overriding the bundled version
2531 C compiler flags for the PE xslt, overriding the bundled version
2533 Linker flags for the PE xslt, overriding the bundled version
2535 C compiler flags for the PE zlib, overriding the bundled version
2537 Linker flags for the PE zlib, overriding the bundled version
2538 XMKMF Path to xmkmf, Makefile generator for X Window System
2541 C compiler flags for libinotify, overriding pkg-config
2543 Linker flags for libinotify, overriding pkg-config
2544 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2545 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2547 C compiler flags for gnutls, overriding pkg-config
2548 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2549 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2550 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2551 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2552 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2554 C compiler flags for libgphoto2, overriding pkg-config
2556 Linker flags for libgphoto2, overriding pkg-config
2558 C compiler flags for libgphoto2_port, overriding pkg-config
2560 Linker flags for libgphoto2_port, overriding pkg-config
2562 C compiler flags for freetype2, overriding pkg-config
2564 Linker flags for freetype2, overriding pkg-config
2566 C compiler flags for libpulse, overriding pkg-config
2567 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2569 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2570 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2572 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2573 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2574 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2575 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2577 C compiler flags for libunwind, overriding pkg-config
2578 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2579 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2580 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2582 C compiler flags for capi20, overriding pkg-config
2583 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2584 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2585 CUPS_LIBS Linker flags for cups, overriding pkg-config
2587 C compiler flags for fontconfig, overriding pkg-config
2589 Linker flags for fontconfig, overriding pkg-config
2590 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2591 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2593 C compiler flags for krb5-gssapi, overriding pkg-config
2594 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2596 C compiler flags for netapi, overriding pkg-config
2597 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2599 Use these variables to override the choices made by `configure' or to
help
2600 it to
find libraries and programs with nonstandard names
/locations.
2602 Report bugs to
<wine-devel@winehq.org
>.
2603 Wine home page
: <https
://www.winehq.org
>.
2608 if test "$ac_init_help" = "recursive"; then
2609 # If there are subdirs, report their specific --help.
2610 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2611 test -d "$ac_dir" ||
2612 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2617 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2619 ac_dir_suffix
=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2620 # A ".." for each directory in $ac_dir_suffix.
2621 ac_top_builddir_sub
=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2622 case $ac_top_builddir_sub in
2623 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2624 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2627 ac_abs_top_builddir
=$ac_pwd
2628 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2629 # for backward compatibility:
2630 ac_top_builddir
=$ac_top_build_prefix
2633 .
) # We are building in place.
2635 ac_top_srcdir
=$ac_top_builddir_sub
2636 ac_abs_top_srcdir
=$ac_pwd ;;
2637 [\\/]* | ?
:[\\/]* ) # Absolute name.
2638 ac_srcdir
=$srcdir$ac_dir_suffix;
2639 ac_top_srcdir
=$srcdir
2640 ac_abs_top_srcdir
=$srcdir ;;
2642 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2643 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2644 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2646 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2648 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2649 # Check for configure.gnu first; this name is used for a wrapper for
2650 # Metaconfig's "Configure" on case-insensitive file systems.
2651 if test -f "$ac_srcdir/configure.gnu"; then
2653 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2654 elif test -f "$ac_srcdir/configure"; then
2656 $SHELL "$ac_srcdir/configure" --help=recursive
2658 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2660 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2664 test -n "$ac_init_help" && exit $ac_status
2665 if $ac_init_version; then
2668 generated by GNU Autoconf
2.71
2670 Copyright
(C
) 2021 Free Software Foundation
, Inc.
2671 This configure
script is free software
; the Free Software Foundation
2672 gives unlimited permission to copy
, distribute and modify it.
2677 ## ------------------------ ##
2678 ## Autoconf initialization. ##
2679 ## ------------------------ ##
2681 # ac_fn_c_try_compile LINENO
2682 # --------------------------
2683 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2684 ac_fn_c_try_compile
()
2686 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2687 rm -f conftest.
$ac_objext conftest.beam
2688 if { { ac_try
="$ac_compile"
2690 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2691 *) ac_try_echo=$ac_try;;
2693 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2694 printf "%s\n" "$ac_try_echo"; } >&5
2695 (eval "$ac_compile") 2>conftest.err
2697 if test -s conftest.err; then
2698 grep -v '^ *+' conftest.err >conftest.er1
2699 cat conftest.er1 >&5
2700 mv -f conftest.er1 conftest.err
2702 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2703 test $ac_status = 0; } && {
2704 test -z "$ac_c_werror_flag" ||
2705 test ! -s conftest.err
2706 } && test -s conftest.$ac_objext
2710 printf "%s\n" "$as_me: failed program was:" >&5
2711 sed 's/^/| /' conftest.$ac_ext >&5
2715 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2716 as_fn_set_status $ac_retval
2718 } # ac_fn_c_try_compile
2720 # ac_fn_cxx_try_compile LINENO
2721 # ----------------------------
2722 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2723 ac_fn_cxx_try_compile ()
2725 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2726 rm -f conftest.$ac_objext conftest.beam
2727 if { { ac_try="$ac_compile"
2729 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2730 *) ac_try_echo
=$ac_try;;
2732 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2733 printf "%s\n" "$ac_try_echo"; } >&5
2734 (eval "$ac_compile") 2>conftest.err
2736 if test -s conftest.err
; then
2737 grep -v '^ *+' conftest.err
>conftest.er1
2738 cat conftest.er1
>&5
2739 mv -f conftest.er1 conftest.err
2741 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2742 test $ac_status = 0; } && {
2743 test -z "$ac_cxx_werror_flag" ||
2744 test ! -s conftest.err
2745 } && test -s conftest.
$ac_objext
2749 printf "%s\n" "$as_me: failed program was:" >&5
2750 sed 's/^/| /' conftest.
$ac_ext >&5
2754 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2755 as_fn_set_status
$ac_retval
2757 } # ac_fn_cxx_try_compile
2759 # ac_fn_c_try_link LINENO
2760 # -----------------------
2761 # Try to link conftest.$ac_ext, and return whether this succeeded.
2764 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2765 rm -f conftest.
$ac_objext conftest.beam conftest
$ac_exeext
2766 if { { ac_try
="$ac_link"
2768 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2769 *) ac_try_echo=$ac_try;;
2771 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2772 printf "%s\n" "$ac_try_echo"; } >&5
2773 (eval "$ac_link") 2>conftest.err
2775 if test -s conftest.err; then
2776 grep -v '^ *+' conftest.err >conftest.er1
2777 cat conftest.er1 >&5
2778 mv -f conftest.er1 conftest.err
2780 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2781 test $ac_status = 0; } && {
2782 test -z "$ac_c_werror_flag" ||
2783 test ! -s conftest.err
2784 } && test -s conftest$ac_exeext && {
2785 test "$cross_compiling" = yes ||
2786 test -x conftest$ac_exeext
2791 printf "%s\n" "$as_me: failed program was:" >&5
2792 sed 's/^/| /' conftest.$ac_ext >&5
2796 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2797 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2798 # interfere with the next link command; also delete a directory that is
2799 # left behind by Apple's compiler. We do this before executing the actions.
2800 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2801 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2802 as_fn_set_status $ac_retval
2804 } # ac_fn_c_try_link
2806 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2807 # -------------------------------------------------------
2808 # Tests whether HEADER exists and can be compiled using the include files in
2809 # INCLUDES, setting the cache variable VAR accordingly.
2810 ac_fn_c_check_header_compile ()
2812 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2814 printf %s "checking for $2... " >&6; }
2815 if eval test \${$3+y}
2817 printf %s "(cached) " >&6
2819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2820 /* end confdefs.h. */
2824 if ac_fn_c_try_compile "$LINENO"
2830 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2834 printf "%s\n" "$ac_res" >&6; }
2835 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2837 } # ac_fn_c_check_header_compile
2839 # ac_fn_objc_try_compile LINENO
2840 # -----------------------------
2841 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2842 ac_fn_objc_try_compile ()
2844 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2845 rm -f conftest.$ac_objext conftest.beam
2846 if { { ac_try="$ac_compile"
2848 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2849 *) ac_try_echo
=$ac_try;;
2851 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2852 printf "%s\n" "$ac_try_echo"; } >&5
2853 (eval "$ac_compile") 2>conftest.err
2855 if test -s conftest.err
; then
2856 grep -v '^ *+' conftest.err
>conftest.er1
2857 cat conftest.er1
>&5
2858 mv -f conftest.er1 conftest.err
2860 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2861 test $ac_status = 0; } && {
2862 test -z "$ac_objc_werror_flag" ||
2863 test ! -s conftest.err
2864 } && test -s conftest.
$ac_objext
2868 printf "%s\n" "$as_me: failed program was:" >&5
2869 sed 's/^/| /' conftest.
$ac_ext >&5
2873 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2874 as_fn_set_status
$ac_retval
2876 } # ac_fn_objc_try_compile
2878 # ac_fn_c_check_func LINENO FUNC VAR
2879 # ----------------------------------
2880 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2881 ac_fn_c_check_func
()
2883 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2885 printf %s
"checking for $2... " >&6; }
2886 if eval test \
${$3+y}
2888 printf %s
"(cached) " >&6
2890 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2891 /* end confdefs.h. */
2892 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2893 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2894 #define $2 innocuous_$2
2896 /* System header to define __stub macros and hopefully few prototypes,
2897 which can conflict with char $2 (); below. */
2902 /* Override any GCC internal prototype to avoid an error.
2903 Use char because int might match the return type of a GCC
2904 builtin and then its argument prototype would still apply. */
2909 /* The GNU C library defines this for functions which it implements
2910 to always fail with ENOSYS. Some functions are actually named
2911 something starting with __ and the normal name is an alias. */
2912 #if defined __stub_$2 || defined __stub___$2
2924 if ac_fn_c_try_link
"$LINENO"
2930 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
2931 conftest
$ac_exeext conftest.
$ac_ext
2934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2935 printf "%s\n" "$ac_res" >&6; }
2936 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2938 } # ac_fn_c_check_func
2940 # ac_fn_c_try_cpp LINENO
2941 # ----------------------
2942 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2945 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2946 if { { ac_try
="$ac_cpp conftest.$ac_ext"
2948 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2949 *) ac_try_echo=$ac_try;;
2951 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2952 printf "%s\n" "$ac_try_echo"; } >&5
2953 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2955 if test -s conftest.err; then
2956 grep -v '^ *+' conftest.err >conftest.er1
2957 cat conftest.er1 >&5
2958 mv -f conftest.er1 conftest.err
2960 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2961 test $ac_status = 0; } > conftest.i && {
2962 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2963 test ! -s conftest.err
2968 printf "%s\n" "$as_me: failed program was:" >&5
2969 sed 's/^/| /' conftest.$ac_ext >&5
2973 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2974 as_fn_set_status $ac_retval
2978 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2979 # ----------------------------------------------------
2980 # Tries to find if the field MEMBER exists in type AGGR, after including
2981 # INCLUDES, setting cache variable VAR accordingly.
2982 ac_fn_c_check_member ()
2984 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2986 printf %s "checking for $2.$3... " >&6; }
2987 if eval test \${$4+y}
2989 printf %s "(cached) " >&6
2991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2992 /* end confdefs.h. */
3004 if ac_fn_c_try_compile "$LINENO"
3008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3009 /* end confdefs.h. */
3015 if (sizeof ac_aggr.$3)
3021 if ac_fn_c_try_compile "$LINENO"
3027 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3029 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3033 printf "%s\n" "$ac_res" >&6; }
3034 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3036 } # ac_fn_c_check_member
3038 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3039 # -------------------------------------------
3040 # Tests whether TYPE exists after having included INCLUDES, setting cache
3041 # variable VAR accordingly.
3042 ac_fn_c_check_type ()
3044 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3046 printf %s "checking for $2... " >&6; }
3047 if eval test \${$3+y}
3049 printf %s "(cached) " >&6
3052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3053 /* end confdefs.h. */
3064 if ac_fn_c_try_compile "$LINENO"
3066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3067 /* end confdefs.h. */
3078 if ac_fn_c_try_compile "$LINENO"
3084 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3086 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3090 printf "%s\n" "$ac_res" >&6; }
3091 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3093 } # ac_fn_c_check_type
3094 ac_configure_args_raw=
3099 ac_arg=`printf "%s\n" "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
3101 as_fn_append ac_configure_args_raw " '$ac_arg'"
3104 case $ac_configure_args_raw in
3108 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3109 ac_unsafe_a="$ac_unsafe_z#~
"
3110 ac_safe_unquote="s
/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g
"
3111 ac_configure_args_raw=` printf "%s
\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3114 cat >config.log <<_ACEOF
3115 This file contains any messages produced by compilers while
3116 running configure, to aid debugging if configure makes a mistake.
3118 It was created by Wine $as_me 8.1, which was
3119 generated by GNU Autoconf 2.71. Invocation command line was
3121 $ $0$ac_configure_args_raw
3131 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3132 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3133 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3134 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3135 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3137 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3138 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3140 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3141 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3142 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3143 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3144 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3145 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3146 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3154 case $as_dir in #(((
3157 *) as_dir=$as_dir/ ;;
3159 printf "%s
\n" "PATH
: $as_dir"
3175 # Keep a trace of the command line.
3176 # Strip out --no-create and --no-recursion so they do not pile up.
3177 # Strip out --silent because we don't want to record it for future runs.
3178 # Also quote any args containing shell meta-characters.
3179 # Make two passes to allow for proper duplicate-argument suppression.
3183 ac_must_keep_next=false
3189 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3190 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3191 | -silent | --silent | --silen | --sile | --sil)
3194 ac_arg=`printf "%s
\n" "$ac_arg" | sed "s
/'/'\\\\\\\\''/g
"` ;;
3197 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3199 as_fn_append ac_configure_args1 " '$ac_arg'"
3200 if test $ac_must_keep_next = true; then
3201 ac_must_keep_next=false # Got value, back to normal.
3204 *=* | --config-cache | -C | -disable-* | --disable-* \
3205 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3206 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3207 | -with-* | --with-* | -without-* | --without-* | --x)
3208 case "$ac_configure_args0 " in
3209 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3212 -* ) ac_must_keep_next=true ;;
3215 as_fn_append ac_configure_args " '$ac_arg'"
3220 { ac_configure_args0=; unset ac_configure_args0;}
3221 { ac_configure_args1=; unset ac_configure_args1;}
3223 # When interrupted or exit'd, cleanup temporary files, and complete
3224 # config.log. We remove comments because anyway the quotes in there
3225 # would cause problems or look ugly.
3226 # WARNING: Use '\'' to represent an apostrophe within the trap.
3227 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3228 trap 'exit_status=$?
3231 # Save into config.log some information that might help in debugging.
3235 printf "%s
\n" "## ---------------- ##
3236 ## Cache variables. ##
3237 ## ---------------- ##"
3239 # The following way of writing the cache mishandles newlines in values,
3241 for ac_var
in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3242 eval ac_val
=\$
$ac_var
3246 *_cv_
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3247 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3250 _ | IFS | as_nl
) ;; #(
3251 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
3252 *) { eval $ac_var=; unset $ac_var;} ;;
3257 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3258 *${as_nl}ac_space
=\
*)
3260 "s/'\''/'\''\\\\'\'''\''/g;
3261 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3264 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3271 printf "%s\n" "## ----------------- ##
3272 ## Output variables. ##
3273 ## ----------------- ##"
3275 for ac_var
in $ac_subst_vars
3277 eval ac_val
=\$
$ac_var
3279 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3281 printf "%s\n" "$ac_var='\''$ac_val'\''"
3285 if test -n "$ac_subst_files"; then
3286 printf "%s\n" "## ------------------- ##
3287 ## File substitutions. ##
3288 ## ------------------- ##"
3290 for ac_var in $ac_subst_files
3292 eval ac_val=\$$ac_var
3294 *\'\''*) ac_val
=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3296 printf "%s\n" "$ac_var='\''$ac_val'\''"
3301 if test -s confdefs.h
; then
3302 printf "%s\n" "## ----------- ##
3309 test "$ac_signal" != 0 &&
3310 printf "%s\n" "$as_me: caught signal $ac_signal"
3311 printf "%s\n" "$as_me: exit $exit_status"
3313 rm -f core
*.core core.conftest.
* &&
3314 rm -f -r conftest
* confdefs
* conf$$
* $ac_clean_files &&
3317 for ac_signal in 1 2 13 15; do
3318 trap 'ac_signal
='$ac_signal'; as_fn_exit
1' $ac_signal
3322 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3323 rm -f -r conftest* confdefs.h
3325 printf "%s\n" "/* confdefs.h */" > confdefs.h
3327 # Predefined preprocessor variables.
3329 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3331 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3333 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3335 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3337 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3339 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3342 # Let the site file select an alternate cache file if it wants to.
3343 # Prefer an explicitly selected file to automatically selected ones.
3344 if test -n "$CONFIG_SITE"; then
3345 ac_site_files="$CONFIG_SITE"
3346 elif test "x$prefix" != xNONE; then
3347 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3349 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3352 for ac_site_file in $ac_site_files
3354 case $ac_site_file in #(
3358 ac_site_file=./$ac_site_file ;;
3360 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3362 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3363 sed 's
/^
/|
/' "$ac_site_file" >&5
3365 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3366 printf "%s
\n" "$as_me: error
: in \
`$ac_pwd':" >&2;}
3367 as_fn_error $? "failed to load site script $ac_site_file
3368 See \`config.log
' for more details" "$LINENO" 5; }
3372 if test -r "$cache_file"; then
3373 # Some versions of bash will fail to source /dev/null (special files
3374 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3375 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3377 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3379 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3380 *) . "./$cache_file";;
3384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3385 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3389 # Test code for whether the C compiler supports C89 (global declarations)
3390 ac_c_conftest_c89_globals='
3391 /* Does the compiler advertise C89 conformance?
3392 Do not
test the value of __STDC__
, because some compilers
set it to
0
3393 while being otherwise adequately conformant.
*/
3394 #if !defined __STDC__
3395 # error "Compiler does not advertise C89 conformance"
3401 /* Most of the following tests are stolen from RCS
5.7 src
/conf.sh.
*/
3402 struct buf
{ int x
; };
3403 struct buf
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
3404 static char
*e
(p
, i
)
3410 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
3415 s
= g
(p
, va_arg
(v
,int
));
3420 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
3421 function prototypes and stuff
, but not \xHH hex character constants.
3422 These
do not provoke an error unfortunately
, instead are silently treated
3423 as an
"x". The following induces an error
, until -std is added to get
3424 proper ANSI mode. Curiously
\x00 != x always comes out true
, for an
3425 array size
at least. It is necessary to
write \x00 == 0 to get something
3426 that is true only with
-std.
*/
3427 int osf4_cc_array
['\''\x00'\'' == 0 ?
1 : -1];
3429 /* IBM C
6 for AIX is almost-ANSI by default
, but it replaces macro parameters
3430 inside
strings and character constants.
*/
3431 #define FOO(x) '\''x'\''
3432 int xlc6_cc_array
[FOO
(a
) == '\''x
'\'' ?
1 : -1];
3434 int
test (int i
, double x
);
3435 struct s1
{int
(*f
) (int a
);};
3436 struct s2
{int
(*f
) (double a
);};
3437 int pairnames
(int
, char
**, int
*(*)(struct buf
*, struct stat
*, int
),
3440 # Test code for whether the C compiler supports C89 (body of main).
3441 ac_c_conftest_c89_main='
3442 ok |
= (argc
== 0 || f
(e
, argv
, 0) != argv
[0] || f
(e
, argv
, 1) != argv
[1]);
3445 # Test code for whether the C compiler supports C99 (global declarations)
3446 ac_c_conftest_c99_globals='
3447 // Does the compiler advertise C99 conformance?
3448 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3449 # error "Compiler does not advertise C99 conformance"
3452 #include <stdbool.h>
3453 extern int puts
(const char
*);
3454 extern int
printf (const char
*, ...
);
3455 extern int dprintf
(int
, const char
*, ...
);
3456 extern void
*malloc
(size_t
);
3458 // Check varargs macros. These examples are taken from C99
6.10.3.5.
3459 // dprintf is used instead of fprintf to avoid needing to
declare
3461 #define debug(...) dprintf (2, __VA_ARGS__)
3462 #define showlist(...) puts (#__VA_ARGS__)
3463 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3465 test_varargs_macros
(void
)
3470 debug
("X = %d\n", x
);
3471 showlist
(The first
, second
, and third items.
);
3472 report
(x
>y
, "x is %d but y is %d", x
, y
);
3475 // Check long long types.
3476 #define BIG64 18446744073709551615ull
3477 #define BIG32 4294967295ul
3478 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3480 #error "your preprocessor is broken"
3484 #error "your preprocessor is broken"
3486 static long long int bignum
= -9223372036854775807LL;
3487 static unsigned long long int ubignum
= BIG64
;
3489 struct incomplete_array
3497 const wchar_t
*name
;
3501 typedef const char
*ccp
;
3504 test_restrict
(ccp restrict text
)
3506 // See
if C
++-style comments work.
3507 // Iterate through items via the restricted pointer.
3508 // Also check
for declarations
in for loops.
3509 for (unsigned int i
= 0; *(text
+i
) != '\''\
0'\''; ++i
)
3514 // Check varargs and va_copy.
3516 test_varargs
(const char
*format
, ...
)
3519 va_start
(args
, format
);
3521 va_copy
(args_copy
, args
);
3523 const char
*str
= "";
3531 case '\''s
'\'': // string
3532 str
= va_arg
(args_copy
, const char
*);
3534 case '\''d
'\'': // int
3535 number
= va_arg
(args_copy
, int
);
3537 case '\''f
'\'': // float
3538 fnumber
= va_arg
(args_copy
, double
);
3547 return *str
&& number
&& fnumber
;
3551 # Test code for whether the C compiler supports C99 (body of main).
3552 ac_c_conftest_c99_main='
3554 _Bool success
= false
;
3555 success |
= (argc
!= 0);
3558 if (test_restrict
("String literal") == 0)
3560 char
*restrict newvar
= "Another string";
3563 success
&= test_varargs
("s, d'\'' f .", "string", 65, 34.234);
3564 test_varargs_macros
();
3566 // Check flexible array members.
3567 struct incomplete_array
*ia
=
3568 malloc
(sizeof
(struct incomplete_array
) + (sizeof
(double
) * 10));
3570 for (int i
= 0; i
< ia-
>datasize
; ++i
)
3571 ia-
>data
[i
] = i
* 1.234;
3573 // Check named initializers.
3574 struct named_init ni
= {
3576 .name
= L
"Test wide string",
3577 .average
= 543.34343,
3582 int dynamic_array
[ni.number
];
3583 dynamic_array
[0] = argv
[0][0];
3584 dynamic_array
[ni.number
- 1] = 543;
3586 // work around unused variable warnings
3587 ok |
= (!success || bignum
== 0LL || ubignum
== 0uLL || newvar
[0] == '\''x
'\''
3588 || dynamic_array
[ni.number
- 1] != 543);
3591 # Test code for whether the C compiler supports C11 (global declarations)
3592 ac_c_conftest_c11_globals='
3593 // Does the compiler advertise C11 conformance?
3594 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3595 # error "Compiler does not advertise C11 conformance"
3599 char _Alignas
(double
) aligned_as_double
;
3600 char _Alignas
(0) no_special_alignment
;
3601 extern char aligned_as_int
;
3602 char _Alignas
(0) _Alignas
(int
) aligned_as_int
;
3607 int_alignment
= _Alignof
(int
),
3608 int_array_alignment
= _Alignof
(int
[100]),
3609 char_alignment
= _Alignof
(char
)
3611 _Static_assert
(0 < -_Alignof (int
), "_Alignof is signed");
3614 int _Noreturn does_not_return
(void
) { for (;;) continue; }
3616 // Check _Static_assert.
3617 struct test_static_assert
3620 _Static_assert
(sizeof
(int
) <= sizeof
(long int
),
3621 "_Static_assert does not work in struct");
3625 // Check UTF-8 literals.
3626 #define u8 syntax error!
3627 char const utf8_literal
[] = u8
"happens to be ASCII" "another string";
3629 // Check duplicate typedefs.
3630 typedef long
*long_ptr
;
3631 typedef long int
*long_ptr
;
3632 typedef long_ptr long_ptr
;
3634 // Anonymous structures and unions
-- taken from C11
6.7.2.1 Example
1.
3638 struct
{ int i
; int j
; };
3639 struct
{ int k
; long int l
; } w
;
3645 # Test code for whether the C compiler supports C11 (body of main).
3646 ac_c_conftest_c11_main='
3647 _Static_assert
((offsetof
(struct anonymous
, i
)
3648 == offsetof
(struct anonymous
, w.k
)),
3649 "Anonymous union alignment botch");
3655 # Test code for whether the C compiler supports C11 (complete).
3656 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3657 ${ac_c_conftest_c99_globals}
3658 ${ac_c_conftest_c11_globals}
3661 main (int argc, char **argv)
3664 ${ac_c_conftest_c89_main}
3665 ${ac_c_conftest_c99_main}
3666 ${ac_c_conftest_c11_main}
3671 # Test code for whether the C compiler supports C99 (complete).
3672 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3673 ${ac_c_conftest_c99_globals}
3676 main (int argc, char **argv)
3679 ${ac_c_conftest_c89_main}
3680 ${ac_c_conftest_c99_main}
3685 # Test code for whether the C compiler supports C89 (complete).
3686 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3689 main (int argc, char **argv)
3692 ${ac_c_conftest_c89_main}
3697 # Test code for whether the C++ compiler supports C++98 (global declarations)
3698 ac_cxx_conftest_cxx98_globals='
3699 // Does the compiler advertise C
++98 conformance?
3700 #if !defined __cplusplus || __cplusplus < 199711L
3701 # error "Compiler does not advertise C++98 conformance"
3704 // These inclusions are to reject old compilers that
3705 // lack the unsuffixed header files.
3707 #include <exception>
3709 // <cassert
> and
<cstring
> are
*not
* freestanding headers
in C
++98.
3710 extern void assert
(int
);
3712 extern int strcmp
(const char
*, const char
*);
3715 // Namespaces
, exceptions
, and templates were all added after
"C++ 2.0".
3716 using std
::exception
;
3721 void test_exception_syntax
()
3725 } catch
(const char
*s
) {
3726 // Extra parentheses suppress a warning when building autoconf itself
,
3727 // due to lint rules shared with
more typical C programs.
3728 assert
(!(strcmp
) (s
, "test"));
3732 template
<typename T
> struct test_template
3735 explicit test_template
(T t
) : val
(t
) {}
3736 template
<typename U
> T add
(U u
) { return static_cast
<T
>(u
) + val
; }
3739 } // anonymous namespace
3742 # Test code for whether the C++ compiler supports C++98 (body of main)
3743 ac_cxx_conftest_cxx98_main='
3747 test_exception_syntax
();
3748 test_template
<double
> tt
(2.0);
3749 assert
(tt.add
(4) == 6.0);
3750 assert
(true
&& !false
);
3754 # Test code for whether the C++ compiler supports C++11 (global declarations)
3755 ac_cxx_conftest_cxx11_globals='
3756 // Does the compiler advertise C
++ 2011 conformance?
3757 #if !defined __cplusplus || __cplusplus < 201103L
3758 # error "Compiler does not advertise C++11 conformance"
3763 constexpr int get_val
() { return 20; }
3774 delegate
(int n
) : n
(n
) {}
3775 delegate
(): delegate
(2354) {}
3777 virtual int getval
() { return this-
>n
; };
3782 class overridden
: public delegate
3785 overridden
(int n
): delegate
(n
) {}
3786 virtual int getval
() override final
{ return this-
>n
* 2; }
3792 nocopy
(int i
): i
(i
) {}
3794 nocopy
(const nocopy
&) = delete
;
3795 nocopy
& operator
=(const nocopy
&) = delete
;
3800 // for testing lambda expressions
3801 template
<typename Ret
, typename Fn
> Ret
eval(Fn f
, Ret v
)
3806 // for testing variadic templates and trailing
return types
3807 template
<typename V
> auto
sum(V first
) -> V
3811 template
<typename V
, typename... Args
> auto
sum(V first
, Args... rest
) -> V
3813 return first
+ sum(rest...
);
3818 # Test code for whether the C++ compiler supports C++11 (body of main)
3819 ac_cxx_conftest_cxx11_main='
3821 // Test auto and decltype
3823 auto a2
= 48573953.4;
3824 auto a3
= "String literal";
3827 for (auto i
= a3
; *i
; ++i
) { total
+= *i
; }
3829 decltype
(a2
) a4
= 34895.034;
3833 short sa
[cxx11test
::get_val
()] = { 0 };
3836 // Test initializer lists
3837 cxx11test
::testinit il
= { 4323, 435234.23544 };
3840 // Test range-based
for
3841 int array
[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3842 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3843 for (auto
&x
: array
) { x
+= 23; }
3846 // Test lambda expressions
3847 using cxx11test
::eval;
3848 assert
(eval ([](int x
) { return x
*2; }, 21) == 42);
3850 assert
(eval ([&](double x
) { return d
+= x
; }, 3.0) == 5.0);
3852 assert
(eval ([=](double x
) mutable
{ return d
+= x
; }, 4.0) == 9.0);
3856 // Test use of variadic templates
3857 using cxx11test
::sum;
3860 auto c
= sum(1.0, 2.0, 3.0);
3863 // Test constructor delegation
3864 cxx11test
::delegate d1
;
3865 cxx11test
::delegate d2
();
3866 cxx11test
::delegate d3
(45);
3869 // Test override and final
3870 cxx11test
::overridden o1
(55464);
3877 // Test template brackets
3878 test_template
<::test_template
<int
>> v
(test_template
<int
>(12));
3882 char const
*utf8
= u8
"UTF-8 string \u2500";
3883 char16_t const
*utf16
= u
"UTF-8 string \u2500";
3884 char32_t const
*utf32
= U
"UTF-32 string \u2500";
3888 # Test code for whether the C compiler supports C++11 (complete).
3889 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3890 ${ac_cxx_conftest_cxx11_globals}
3893 main (int argc, char **argv)
3896 ${ac_cxx_conftest_cxx98_main}
3897 ${ac_cxx_conftest_cxx11_main}
3902 # Test code for whether the C compiler supports C++98 (complete).
3903 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3905 main (int argc, char **argv)
3908 ${ac_cxx_conftest_cxx98_main}
3913 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3914 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3915 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3916 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3917 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3918 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3919 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3920 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3921 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3923 # Auxiliary files required by this configure script.
3924 ac_aux_files="config.guess config.sub"
3926 # Locations in which to look for auxiliary files.
3927 ac_aux_dir_candidates="${srcdir}/tools"
3929 # Search for a directory containing all of the required auxiliary files,
3930 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3931 # If we don't
find one directory that contains all the files we need
,
3932 # we report the set of missing files from the *first* directory in
3933 # $ac_aux_dir_candidates and give up.
3934 ac_missing_aux_files
=""
3935 ac_first_candidate
=:
3936 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3937 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3939 for as_dir
in $ac_aux_dir_candidates
3942 case $as_dir in #(((
3945 *) as_dir
=$as_dir/ ;;
3949 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3950 ac_aux_dir_found
=yes
3952 for ac_aux
in $ac_aux_files
3954 # As a special case, if "install-sh" is required, that requirement
3955 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3956 # and $ac_install_sh is set appropriately for whichever one is found.
3957 if test x
"$ac_aux" = x
"install-sh"
3959 if test -f "${as_dir}install-sh"; then
3960 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
3961 ac_install_sh
="${as_dir}install-sh -c"
3962 elif test -f "${as_dir}install.sh"; then
3963 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
3964 ac_install_sh
="${as_dir}install.sh -c"
3965 elif test -f "${as_dir}shtool"; then
3966 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
3967 ac_install_sh
="${as_dir}shtool install -c"
3970 if $ac_first_candidate; then
3971 ac_missing_aux_files
="${ac_missing_aux_files} install-sh"
3977 if test -f "${as_dir}${ac_aux}"; then
3978 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
3981 if $ac_first_candidate; then
3982 ac_missing_aux_files
="${ac_missing_aux_files} ${ac_aux}"
3989 if test "$ac_aux_dir_found" = yes; then
3990 ac_aux_dir
="$as_dir"
3993 ac_first_candidate
=false
4002 as_fn_error $?
"cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4006 # These three variables are undocumented and unsupported,
4007 # and are intended to be withdrawn in a future Autoconf release.
4008 # They can cause serious problems if a builder's source tree is in a directory
4009 # whose full name contains unusual characters.
4010 if test -f "${ac_aux_dir}config.guess"; then
4011 ac_config_guess
="$SHELL ${ac_aux_dir}config.guess"
4013 if test -f "${ac_aux_dir}config.sub"; then
4014 ac_config_sub
="$SHELL ${ac_aux_dir}config.sub"
4016 if test -f "$ac_aux_dir/configure"; then
4017 ac_configure
="$SHELL ${ac_aux_dir}configure"
4020 # Check that the precious variables saved in the cache have kept the same
4022 ac_cache_corrupted
=false
4023 for ac_var
in $ac_precious_vars; do
4024 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
4025 eval ac_new_set
=\
$ac_env_${ac_var}_set
4026 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
4027 eval ac_new_val
=\
$ac_env_${ac_var}_value
4028 case $ac_old_set,$ac_new_set in
4030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4031 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4032 ac_cache_corrupted
=: ;;
4034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4035 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4036 ac_cache_corrupted
=: ;;
4039 if test "x$ac_old_val" != "x$ac_new_val"; then
4040 # differences in whitespace do not lead to failure.
4041 ac_old_val_w
=`echo x $ac_old_val`
4042 ac_new_val_w
=`echo x $ac_new_val`
4043 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4045 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4046 ac_cache_corrupted
=:
4048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4049 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4050 eval $ac_var=\
$ac_old_val
4052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4053 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4055 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4058 # Pass precious variables to config.status.
4059 if test "$ac_new_set" = set; then
4061 *\'*) ac_arg
=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4062 *) ac_arg
=$ac_var=$ac_new_val ;;
4064 case " $ac_configure_args " in
4065 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4066 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
4070 if $ac_cache_corrupted; then
4071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4072 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4074 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4075 as_fn_error $?
"run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4076 and start over" "$LINENO" 5
4078 ## -------------------- ##
4079 ## Main body of script. ##
4080 ## -------------------- ##
4083 ac_cpp
='$CPP $CPPFLAGS'
4084 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4085 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4086 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4090 ac_config_headers
="$ac_config_headers include/config.h"
4094 libwine_version
="1.0"
4097 # Check whether --enable-archs was given.
4098 if test ${enable_archs+y}
4100 enableval
=$enable_archs;
4103 # Check whether --enable-win16 was given.
4104 if test ${enable_win16+y}
4106 enableval
=$enable_win16;
4109 # Check whether --enable-win64 was given.
4110 if test ${enable_win64+y}
4112 enableval
=$enable_win64;
4115 # Check whether --enable-tests was given.
4116 if test ${enable_tests+y}
4118 enableval
=$enable_tests;
4121 # Check whether --enable-build-id was given.
4122 if test ${enable_build_id+y}
4124 enableval
=$enable_build_id;
4127 # Check whether --enable-maintainer-mode was given.
4128 if test ${enable_maintainer_mode+y}
4130 enableval
=$enable_maintainer_mode;
4133 # Check whether --enable-silent-rules was given.
4134 if test ${enable_silent_rules+y}
4136 enableval
=$enable_silent_rules;
4139 # Check whether --enable-werror was given.
4140 if test ${enable_werror+y}
4142 enableval
=$enable_werror;
4147 # Check whether --with-alsa was given.
4148 if test ${with_alsa+y}
4154 # Check whether --with-capi was given.
4155 if test ${with_capi+y}
4161 # Check whether --with-coreaudio was given.
4162 if test ${with_coreaudio+y}
4164 withval
=$with_coreaudio;
4168 # Check whether --with-cups was given.
4169 if test ${with_cups+y}
4175 # Check whether --with-dbus was given.
4176 if test ${with_dbus+y}
4182 # Check whether --with-float-abi was given.
4183 if test ${with_float_abi+y}
4185 withval
=$with_float_abi;
4189 # Check whether --with-fontconfig was given.
4190 if test ${with_fontconfig+y}
4192 withval
=$with_fontconfig;
4196 # Check whether --with-freetype was given.
4197 if test ${with_freetype+y}
4199 withval
=$with_freetype;
4203 # Check whether --with-gettext was given.
4204 if test ${with_gettext+y}
4206 withval
=$with_gettext;
4210 # Check whether --with-gettextpo was given.
4211 if test ${with_gettextpo+y}
4213 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
4217 # Check whether --with-gphoto was given.
4218 if test ${with_gphoto+y}
4220 withval
=$with_gphoto;
4224 # Check whether --with-gnutls was given.
4225 if test ${with_gnutls+y}
4227 withval
=$with_gnutls;
4231 # Check whether --with-gssapi was given.
4232 if test ${with_gssapi+y}
4234 withval
=$with_gssapi;
4238 # Check whether --with-gstreamer was given.
4239 if test ${with_gstreamer+y}
4241 withval
=$with_gstreamer;
4245 # Check whether --with-inotify was given.
4246 if test ${with_inotify+y}
4248 withval
=$with_inotify;
4252 # Check whether --with-krb5 was given.
4253 if test ${with_krb5+y}
4259 # Check whether --with-mingw was given.
4260 if test ${with_mingw+y}
4262 withval
=$with_mingw;
4266 # Check whether --with-netapi was given.
4267 if test ${with_netapi+y}
4269 withval
=$with_netapi;
4273 # Check whether --with-opencl was given.
4274 if test ${with_opencl+y}
4276 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
4280 # Check whether --with-opengl was given.
4281 if test ${with_opengl+y}
4283 withval
=$with_opengl;
4287 # Check whether --with-osmesa was given.
4288 if test ${with_osmesa+y}
4290 withval
=$with_osmesa;
4294 # Check whether --with-oss was given.
4295 if test ${with_oss+y}
4301 # Check whether --with-pcap was given.
4302 if test ${with_pcap+y}
4304 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
4308 # Check whether --with-pthread was given.
4309 if test ${with_pthread+y}
4311 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
4315 # Check whether --with-pulse was given.
4316 if test ${with_pulse+y}
4318 withval
=$with_pulse;
4322 # Check whether --with-sane was given.
4323 if test ${with_sane+y}
4329 # Check whether --with-sdl was given.
4330 if test ${with_sdl+y}
4336 # Check whether --with-udev was given.
4337 if test ${with_udev+y}
4343 # Check whether --with-unwind was given.
4344 if test ${with_unwind+y}
4346 withval
=$with_unwind;
4350 # Check whether --with-usb was given.
4351 if test ${with_usb+y}
4357 # Check whether --with-v4l2 was given.
4358 if test ${with_v4l2+y}
4364 # Check whether --with-vulkan was given.
4365 if test ${with_vulkan+y}
4367 withval
=$with_vulkan;
4371 # Check whether --with-xcomposite was given.
4372 if test ${with_xcomposite+y}
4374 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
4378 # Check whether --with-xcursor was given.
4379 if test ${with_xcursor+y}
4381 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
4385 # Check whether --with-xfixes was given.
4386 if test ${with_xfixes+y}
4388 withval
=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h
=no
; fi
4392 # Check whether --with-xinerama was given.
4393 if test ${with_xinerama+y}
4395 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
4399 # Check whether --with-xinput was given.
4400 if test ${with_xinput+y}
4402 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
4406 # Check whether --with-xinput2 was given.
4407 if test ${with_xinput2+y}
4409 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
4413 # Check whether --with-xrandr was given.
4414 if test ${with_xrandr+y}
4416 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
4420 # Check whether --with-xrender was given.
4421 if test ${with_xrender+y}
4423 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
4427 # Check whether --with-xshape was given.
4428 if test ${with_xshape+y}
4430 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
4434 # Check whether --with-xshm was given.
4435 if test ${with_xshm+y}
4437 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
4441 # Check whether --with-xxf86vm was given.
4442 if test ${with_xxf86vm+y}
4444 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
4449 # Check whether --with-system-dllpath was given.
4450 if test ${with_system_dllpath+y}
4452 withval
=$with_system_dllpath; system_dllpath
=$withval
4457 # Check whether --with-wine-tools was given.
4458 if test ${with_wine_tools+y}
4460 withval
=$with_wine_tools;
4464 # Check whether --with-wine64 was given.
4465 if test ${with_wine64+y}
4467 withval
=$with_wine64;
4474 # Make sure we can run config.sub.
4475 $SHELL "${ac_aux_dir}config.sub" sun4
>/dev
/null
2>&1 ||
4476 as_fn_error $?
"cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4479 printf %s
"checking build system type... " >&6; }
4480 if test ${ac_cv_build+y}
4482 printf %s
"(cached) " >&6
4484 ac_build_alias
=$build_alias
4485 test "x$ac_build_alias" = x
&&
4486 ac_build_alias
=`$SHELL "${ac_aux_dir}config.guess"`
4487 test "x$ac_build_alias" = x
&&
4488 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
4489 ac_cv_build
=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4490 as_fn_error $?
"$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4494 printf "%s\n" "$ac_cv_build" >&6; }
4495 case $ac_cv_build in
4497 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
4500 ac_save_IFS
=$IFS; IFS
='-'
4506 # Remember, the first character of IFS is used to create $*,
4507 # except with old shells:
4510 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
4513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4514 printf %s
"checking host system type... " >&6; }
4515 if test ${ac_cv_host+y}
4517 printf %s
"(cached) " >&6
4519 if test "x$host_alias" = x
; then
4520 ac_cv_host
=$ac_cv_build
4522 ac_cv_host
=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4523 as_fn_error $?
"$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4528 printf "%s\n" "$ac_cv_host" >&6; }
4531 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
4534 ac_save_IFS
=$IFS; IFS
='-'
4540 # Remember, the first character of IFS is used to create $*,
4541 # except with old shells:
4544 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4548 dlldir
=\
${libdir}/wine
4550 fontdir
=\
${datadir}/wine
/fonts
4552 nlsdir
=\
${datadir}/wine
/nls
4557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4558 printf %s
"checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4560 ac_make
=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4561 if eval test \
${ac_cv_prog_make_${ac_make}_set+y}
4563 printf %s
"(cached) " >&6
4565 cat >conftest.
make <<\_ACEOF
4568 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4570 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4571 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4573 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4575 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4579 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4581 printf "%s\n" "yes" >&6; }
4584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4585 printf "%s\n" "no" >&6; }
4586 SET_MAKE
="MAKE=${MAKE-make}"
4599 ac_cpp
='$CPP $CPPFLAGS'
4600 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4601 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4602 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4603 if test -n "$ac_tool_prefix"; then
4604 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4605 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4607 printf %s
"checking for $ac_word... " >&6; }
4608 if test ${ac_cv_prog_CC+y}
4610 printf %s
"(cached) " >&6
4612 if test -n "$CC"; then
4613 ac_cv_prog_CC
="$CC" # Let the user override the test.
4615 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4619 case $as_dir in #(((
4622 *) as_dir
=$as_dir/ ;;
4624 for ac_exec_ext
in '' $ac_executable_extensions; do
4625 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4626 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4627 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4637 if test -n "$CC"; then
4638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4639 printf "%s\n" "$CC" >&6; }
4641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4642 printf "%s\n" "no" >&6; }
4647 if test -z "$ac_cv_prog_CC"; then
4649 # Extract the first word of "gcc", so it can be a program name with args.
4650 set dummy gcc
; ac_word
=$2
4651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4652 printf %s
"checking for $ac_word... " >&6; }
4653 if test ${ac_cv_prog_ac_ct_CC+y}
4655 printf %s
"(cached) " >&6
4657 if test -n "$ac_ct_CC"; then
4658 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4660 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4664 case $as_dir in #(((
4667 *) as_dir
=$as_dir/ ;;
4669 for ac_exec_ext
in '' $ac_executable_extensions; do
4670 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4671 ac_cv_prog_ac_ct_CC
="gcc"
4672 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4681 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4682 if test -n "$ac_ct_CC"; then
4683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4684 printf "%s\n" "$ac_ct_CC" >&6; }
4686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4687 printf "%s\n" "no" >&6; }
4690 if test "x$ac_ct_CC" = x
; then
4693 case $cross_compiling:$ac_tool_warned in
4695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4696 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4697 ac_tool_warned
=yes ;;
4705 if test -z "$CC"; then
4706 if test -n "$ac_tool_prefix"; then
4707 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4708 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4710 printf %s
"checking for $ac_word... " >&6; }
4711 if test ${ac_cv_prog_CC+y}
4713 printf %s
"(cached) " >&6
4715 if test -n "$CC"; then
4716 ac_cv_prog_CC
="$CC" # Let the user override the test.
4718 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4722 case $as_dir in #(((
4725 *) as_dir
=$as_dir/ ;;
4727 for ac_exec_ext
in '' $ac_executable_extensions; do
4728 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4729 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4730 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4740 if test -n "$CC"; then
4741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4742 printf "%s\n" "$CC" >&6; }
4744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4745 printf "%s\n" "no" >&6; }
4751 if test -z "$CC"; then
4752 # Extract the first word of "cc", so it can be a program name with args.
4753 set dummy cc
; ac_word
=$2
4754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4755 printf %s
"checking for $ac_word... " >&6; }
4756 if test ${ac_cv_prog_CC+y}
4758 printf %s
"(cached) " >&6
4760 if test -n "$CC"; then
4761 ac_cv_prog_CC
="$CC" # Let the user override the test.
4764 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4768 case $as_dir in #(((
4771 *) as_dir
=$as_dir/ ;;
4773 for ac_exec_ext
in '' $ac_executable_extensions; do
4774 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4775 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4776 ac_prog_rejected
=yes
4780 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4787 if test $ac_prog_rejected = yes; then
4788 # We found a bogon in the path, so make sure we never use it.
4789 set dummy
$ac_cv_prog_CC
4791 if test $# != 0; then
4792 # We chose a different compiler from the bogus one.
4793 # However, it has the same basename, so the bogon will be chosen
4794 # first if we set CC to just the basename; use the full file name.
4796 ac_cv_prog_CC
="$as_dir$ac_word${1+' '}$@"
4802 if test -n "$CC"; then
4803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4804 printf "%s\n" "$CC" >&6; }
4806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4807 printf "%s\n" "no" >&6; }
4812 if test -z "$CC"; then
4813 if test -n "$ac_tool_prefix"; then
4814 for ac_prog
in cl.exe
4816 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4817 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4819 printf %s
"checking for $ac_word... " >&6; }
4820 if test ${ac_cv_prog_CC+y}
4822 printf %s
"(cached) " >&6
4824 if test -n "$CC"; then
4825 ac_cv_prog_CC
="$CC" # Let the user override the test.
4827 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4831 case $as_dir in #(((
4834 *) as_dir
=$as_dir/ ;;
4836 for ac_exec_ext
in '' $ac_executable_extensions; do
4837 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4838 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4839 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4849 if test -n "$CC"; then
4850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4851 printf "%s\n" "$CC" >&6; }
4853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4854 printf "%s\n" "no" >&6; }
4858 test -n "$CC" && break
4861 if test -z "$CC"; then
4863 for ac_prog
in cl.exe
4865 # Extract the first word of "$ac_prog", so it can be a program name with args.
4866 set dummy
$ac_prog; ac_word
=$2
4867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4868 printf %s
"checking for $ac_word... " >&6; }
4869 if test ${ac_cv_prog_ac_ct_CC+y}
4871 printf %s
"(cached) " >&6
4873 if test -n "$ac_ct_CC"; then
4874 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4876 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4880 case $as_dir in #(((
4883 *) as_dir
=$as_dir/ ;;
4885 for ac_exec_ext
in '' $ac_executable_extensions; do
4886 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4887 ac_cv_prog_ac_ct_CC
="$ac_prog"
4888 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4897 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4898 if test -n "$ac_ct_CC"; then
4899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4900 printf "%s\n" "$ac_ct_CC" >&6; }
4902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4903 printf "%s\n" "no" >&6; }
4907 test -n "$ac_ct_CC" && break
4910 if test "x$ac_ct_CC" = x
; then
4913 case $cross_compiling:$ac_tool_warned in
4915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4916 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4917 ac_tool_warned
=yes ;;
4924 if test -z "$CC"; then
4925 if test -n "$ac_tool_prefix"; then
4926 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4927 set dummy
${ac_tool_prefix}clang
; ac_word
=$2
4928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4929 printf %s
"checking for $ac_word... " >&6; }
4930 if test ${ac_cv_prog_CC+y}
4932 printf %s
"(cached) " >&6
4934 if test -n "$CC"; then
4935 ac_cv_prog_CC
="$CC" # Let the user override the test.
4937 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4941 case $as_dir in #(((
4944 *) as_dir
=$as_dir/ ;;
4946 for ac_exec_ext
in '' $ac_executable_extensions; do
4947 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4948 ac_cv_prog_CC
="${ac_tool_prefix}clang"
4949 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4959 if test -n "$CC"; then
4960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4961 printf "%s\n" "$CC" >&6; }
4963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4964 printf "%s\n" "no" >&6; }
4969 if test -z "$ac_cv_prog_CC"; then
4971 # Extract the first word of "clang", so it can be a program name with args.
4972 set dummy clang
; ac_word
=$2
4973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4974 printf %s
"checking for $ac_word... " >&6; }
4975 if test ${ac_cv_prog_ac_ct_CC+y}
4977 printf %s
"(cached) " >&6
4979 if test -n "$ac_ct_CC"; then
4980 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4982 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4986 case $as_dir in #(((
4989 *) as_dir
=$as_dir/ ;;
4991 for ac_exec_ext
in '' $ac_executable_extensions; do
4992 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4993 ac_cv_prog_ac_ct_CC
="clang"
4994 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5003 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5004 if test -n "$ac_ct_CC"; then
5005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5006 printf "%s\n" "$ac_ct_CC" >&6; }
5008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5009 printf "%s\n" "no" >&6; }
5012 if test "x$ac_ct_CC" = x
; then
5015 case $cross_compiling:$ac_tool_warned in
5017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5018 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5019 ac_tool_warned
=yes ;;
5030 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5031 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5032 as_fn_error $?
"no acceptable C compiler found in \$PATH
5033 See \`config.log' for more details" "$LINENO" 5; }
5035 # Provide some information about the compiler.
5036 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5039 for ac_option
in --version -v -V -qversion -version; do
5040 { { ac_try
="$ac_compiler $ac_option >&5"
5042 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5043 *) ac_try_echo=$ac_try;;
5045 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5046 printf "%s\n" "$ac_try_echo"; } >&5
5047 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5049 if test -s conftest.err; then
5051 ... rest of stderr output deleted ...
5052 10q' conftest.err >conftest.er1
5053 cat conftest.er1 >&5
5055 rm -f conftest.er1 conftest.err
5056 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5057 test $ac_status = 0; }
5060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5061 /* end confdefs.h. */
5071 ac_clean_files_save=$ac_clean_files
5072 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5073 # Try to create an executable without -o first, disregard a.out.
5074 # It will help us diagnose broken compilers, and finding out an intuition
5076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5077 printf %s "checking whether the C compiler works... " >&6; }
5078 ac_link_default=`printf "%s\n" "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
5080 # The possible output files:
5081 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5084 for ac_file in $ac_files
5087 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5088 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5093 if { { ac_try="$ac_link_default"
5095 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5096 *) ac_try_echo
=$ac_try;;
5098 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5099 printf "%s\n" "$ac_try_echo"; } >&5
5100 (eval "$ac_link_default") 2>&5
5102 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5103 test $ac_status = 0; }
5105 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5106 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5107 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5108 # so that the user can short-circuit this test for compilers unknown to
5110 for ac_file
in $ac_files ''
5112 test -f "$ac_file" ||
continue
5114 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
5117 # We found the default executable, but exeext='' is most
5121 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no
;
5123 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
5125 # We set ac_cv_exeext here because the later test for it is not
5126 # safe: cross compilers may not add the suffix if given an `-o'
5127 # argument, so we may need to know it at that point already.
5128 # Even if this section looks crufty: it has the advantage of
5135 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
5140 if test -z "$ac_file"
5142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5143 printf "%s\n" "no" >&6; }
5144 printf "%s\n" "$as_me: failed program was:" >&5
5145 sed 's/^/| /' conftest.
$ac_ext >&5
5147 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5148 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5149 as_fn_error
77 "C compiler cannot create executables
5150 See \`config.log' for more details" "$LINENO" 5; }
5152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5153 printf "%s\n" "yes" >&6; }
5155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5156 printf %s
"checking for C compiler default output file name... " >&6; }
5157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5158 printf "%s\n" "$ac_file" >&6; }
5159 ac_exeext
=$ac_cv_exeext
5161 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
5162 ac_clean_files
=$ac_clean_files_save
5163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5164 printf %s
"checking for suffix of executables... " >&6; }
5165 if { { ac_try
="$ac_link"
5167 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5168 *) ac_try_echo=$ac_try;;
5170 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5171 printf "%s\n" "$ac_try_echo"; } >&5
5172 (eval "$ac_link") 2>&5
5174 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5175 test $ac_status = 0; }
5177 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
5178 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
5179 # work properly (i.e., refer to `conftest.exe'), while it won't with
5181 for ac_file
in conftest.exe conftest conftest.
*; do
5182 test -f "$ac_file" ||
continue
5184 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
5185 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
5191 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5192 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5193 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
5194 See \`config.log' for more details" "$LINENO" 5; }
5196 rm -f conftest conftest
$ac_cv_exeext
5197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5198 printf "%s\n" "$ac_cv_exeext" >&6; }
5200 rm -f conftest.
$ac_ext
5201 EXEEXT
=$ac_cv_exeext
5203 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5204 /* end confdefs.h. */
5209 FILE *f = fopen ("conftest.out", "w");
5210 return ferror (f) || fclose (f) != 0;
5216 ac_clean_files
="$ac_clean_files conftest.out"
5217 # Check that the compiler produces executables we can run. If not, either
5218 # the compiler is broken, or we cross compile.
5219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5220 printf %s
"checking whether we are cross compiling... " >&6; }
5221 if test "$cross_compiling" != yes; then
5222 { { ac_try
="$ac_link"
5224 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5225 *) ac_try_echo=$ac_try;;
5227 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5228 printf "%s\n" "$ac_try_echo"; } >&5
5229 (eval "$ac_link") 2>&5
5231 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5232 test $ac_status = 0; }
5233 if { ac_try='./conftest$ac_cv_exeext'
5234 { { case "(($ac_try" in
5235 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5236 *) ac_try_echo
=$ac_try;;
5238 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5239 printf "%s\n" "$ac_try_echo"; } >&5
5240 (eval "$ac_try") 2>&5
5242 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5243 test $ac_status = 0; }; }; then
5246 if test "$cross_compiling" = maybe
; then
5249 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5250 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5251 as_fn_error
77 "cannot run C compiled programs.
5252 If you meant to cross compile, use \`--host'.
5253 See \`config.log' for more details" "$LINENO" 5; }
5257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5258 printf "%s\n" "$cross_compiling" >&6; }
5260 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
5261 ac_clean_files
=$ac_clean_files_save
5262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5263 printf %s
"checking for suffix of object files... " >&6; }
5264 if test ${ac_cv_objext+y}
5266 printf %s
"(cached) " >&6
5268 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5269 /* end confdefs.h. */
5279 rm -f conftest.o conftest.obj
5280 if { { ac_try
="$ac_compile"
5282 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5283 *) ac_try_echo=$ac_try;;
5285 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5286 printf "%s\n" "$ac_try_echo"; } >&5
5287 (eval "$ac_compile") 2>&5
5289 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5290 test $ac_status = 0; }
5292 for ac_file in conftest.o conftest.obj conftest.*; do
5293 test -f "$ac_file" || continue;
5295 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5296 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5301 printf "%s\n" "$as_me: failed program was:" >&5
5302 sed 's/^/| /' conftest.$ac_ext >&5
5304 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5305 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5306 as_fn_error $? "cannot compute suffix of object files
: cannot compile
5307 See \
`config.log' for more details" "$LINENO" 5; }
5309 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5312 printf "%s\n" "$ac_cv_objext" >&6; }
5313 OBJEXT=$ac_cv_objext
5315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5316 printf %s "checking whether the compiler supports GNU C... " >&6; }
5317 if test ${ac_cv_c_compiler_gnu+y}
5319 printf %s "(cached) " >&6
5321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5322 /* end confdefs.h. */
5335 if ac_fn_c_try_compile "$LINENO"
5341 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5342 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5346 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5349 if test $ac_compiler_gnu = yes; then
5354 ac_test_CFLAGS=${CFLAGS+y}
5355 ac_save_CFLAGS=$CFLAGS
5356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5357 printf %s "checking whether $CC accepts -g... " >&6; }
5358 if test ${ac_cv_prog_cc_g+y}
5360 printf %s "(cached) " >&6
5362 ac_save_c_werror_flag=$ac_c_werror_flag
5363 ac_c_werror_flag=yes
5366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5367 /* end confdefs.h. */
5377 if ac_fn_c_try_compile "$LINENO"
5382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5383 /* end confdefs.h. */
5393 if ac_fn_c_try_compile "$LINENO"
5397 ac_c_werror_flag=$ac_save_c_werror_flag
5399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5400 /* end confdefs.h. */
5410 if ac_fn_c_try_compile "$LINENO"
5414 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5416 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5418 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5419 ac_c_werror_flag=$ac_save_c_werror_flag
5421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5422 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5423 if test $ac_test_CFLAGS; then
5424 CFLAGS=$ac_save_CFLAGS
5425 elif test $ac_cv_prog_cc_g = yes; then
5426 if test "$GCC" = yes; then
5432 if test "$GCC" = yes; then
5439 if test x$ac_prog_cc_stdc = xno
5441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5442 printf %s "checking for $CC option to enable C11 features... " >&6; }
5443 if test ${ac_cv_prog_cc_c11+y}
5445 printf %s "(cached) " >&6
5447 ac_cv_prog_cc_c11=no
5449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5450 /* end confdefs.h. */
5451 $ac_c_conftest_c11_program
5453 for ac_arg in '' -std=gnu11
5455 CC="$ac_save_CC $ac_arg"
5456 if ac_fn_c_try_compile "$LINENO"
5458 ac_cv_prog_cc_c11=$ac_arg
5460 rm -f core conftest.err conftest.$ac_objext conftest.beam
5461 test "x$ac_cv_prog_cc_c11" != "xno" && break
5463 rm -f conftest.$ac_ext
5467 if test "x$ac_cv_prog_cc_c11" = xno
5469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5470 printf "%s\n" "unsupported" >&6; }
5472 if test "x$ac_cv_prog_cc_c11" = x
5474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5475 printf "%s\n" "none needed" >&6; }
5477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5478 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5479 CC="$CC $ac_cv_prog_cc_c11"
5481 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5485 if test x$ac_prog_cc_stdc = xno
5487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5488 printf %s "checking for $CC option to enable C99 features... " >&6; }
5489 if test ${ac_cv_prog_cc_c99+y}
5491 printf %s "(cached) " >&6
5493 ac_cv_prog_cc_c99=no
5495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5496 /* end confdefs.h. */
5497 $ac_c_conftest_c99_program
5499 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5501 CC="$ac_save_CC $ac_arg"
5502 if ac_fn_c_try_compile "$LINENO"
5504 ac_cv_prog_cc_c99=$ac_arg
5506 rm -f core conftest.err conftest.$ac_objext conftest.beam
5507 test "x$ac_cv_prog_cc_c99" != "xno" && break
5509 rm -f conftest.$ac_ext
5513 if test "x$ac_cv_prog_cc_c99" = xno
5515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5516 printf "%s\n" "unsupported" >&6; }
5518 if test "x$ac_cv_prog_cc_c99" = x
5520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5521 printf "%s\n" "none needed" >&6; }
5523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5524 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5525 CC="$CC $ac_cv_prog_cc_c99"
5527 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5531 if test x$ac_prog_cc_stdc = xno
5533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5534 printf %s "checking for $CC option to enable C89 features... " >&6; }
5535 if test ${ac_cv_prog_cc_c89+y}
5537 printf %s "(cached) " >&6
5539 ac_cv_prog_cc_c89=no
5541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5542 /* end confdefs.h. */
5543 $ac_c_conftest_c89_program
5545 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5547 CC="$ac_save_CC $ac_arg"
5548 if ac_fn_c_try_compile "$LINENO"
5550 ac_cv_prog_cc_c89=$ac_arg
5552 rm -f core conftest.err conftest.$ac_objext conftest.beam
5553 test "x$ac_cv_prog_cc_c89" != "xno" && break
5555 rm -f conftest.$ac_ext
5559 if test "x$ac_cv_prog_cc_c89" = xno
5561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5562 printf "%s\n" "unsupported" >&6; }
5564 if test "x$ac_cv_prog_cc_c89" = x
5566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5567 printf "%s\n" "none needed" >&6; }
5569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5570 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5571 CC="$CC $ac_cv_prog_cc_c89"
5573 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5579 ac_cpp='$CPP $CPPFLAGS'
5580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5591 ac_cpp='$CXXCPP $CPPFLAGS'
5592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5595 if test -z "$CXX"; then
5596 if test -n "$CCC"; then
5599 if test -n "$ac_tool_prefix"; then
5600 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5602 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5603 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5605 printf %s "checking for $ac_word... " >&6; }
5606 if test ${ac_cv_prog_CXX+y}
5608 printf %s "(cached) " >&6
5610 if test -n "$CXX"; then
5611 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5617 case $as_dir in #(((
5620 *) as_dir=$as_dir/ ;;
5622 for ac_exec_ext in '' $ac_executable_extensions; do
5623 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5624 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5625 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5635 if test -n "$CXX"; then
5636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5637 printf "%s\n" "$CXX" >&6; }
5639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5640 printf "%s\n" "no" >&6; }
5644 test -n "$CXX" && break
5647 if test -z "$CXX"; then
5649 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5651 # Extract the first word of "$ac_prog", so it can be a program name with args.
5652 set dummy $ac_prog; ac_word=$2
5653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5654 printf %s "checking for $ac_word... " >&6; }
5655 if test ${ac_cv_prog_ac_ct_CXX+y}
5657 printf %s "(cached) " >&6
5659 if test -n "$ac_ct_CXX"; then
5660 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5666 case $as_dir in #(((
5669 *) as_dir=$as_dir/ ;;
5671 for ac_exec_ext in '' $ac_executable_extensions; do
5672 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5673 ac_cv_prog_ac_ct_CXX="$ac_prog"
5674 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5683 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5684 if test -n "$ac_ct_CXX"; then
5685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5686 printf "%s\n" "$ac_ct_CXX" >&6; }
5688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5689 printf "%s\n" "no" >&6; }
5693 test -n "$ac_ct_CXX" && break
5696 if test "x$ac_ct_CXX" = x; then
5699 case $cross_compiling:$ac_tool_warned in
5701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5702 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5703 ac_tool_warned=yes ;;
5711 # Provide some information about the compiler.
5712 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5715 for ac_option in --version -v -V -qversion; do
5716 { { ac_try="$ac_compiler $ac_option >&5"
5718 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5719 *) ac_try_echo
=$ac_try;;
5721 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5722 printf "%s\n" "$ac_try_echo"; } >&5
5723 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5725 if test -s conftest.err
; then
5727 ... rest of stderr output deleted ...
5728 10q' conftest.err
>conftest.er1
5729 cat conftest.er1
>&5
5731 rm -f conftest.er1 conftest.err
5732 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5733 test $ac_status = 0; }
5736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5737 printf %s
"checking whether the compiler supports GNU C++... " >&6; }
5738 if test ${ac_cv_cxx_compiler_gnu+y}
5740 printf %s
"(cached) " >&6
5742 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5743 /* end confdefs.h. */
5756 if ac_fn_cxx_try_compile
"$LINENO"
5762 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5763 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5767 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5768 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5770 if test $ac_compiler_gnu = yes; then
5775 ac_test_CXXFLAGS
=${CXXFLAGS+y}
5776 ac_save_CXXFLAGS
=$CXXFLAGS
5777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5778 printf %s
"checking whether $CXX accepts -g... " >&6; }
5779 if test ${ac_cv_prog_cxx_g+y}
5781 printf %s
"(cached) " >&6
5783 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5784 ac_cxx_werror_flag
=yes
5787 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5788 /* end confdefs.h. */
5798 if ac_fn_cxx_try_compile
"$LINENO"
5800 ac_cv_prog_cxx_g
=yes
5803 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5804 /* end confdefs.h. */
5814 if ac_fn_cxx_try_compile
"$LINENO"
5818 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5820 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5821 /* end confdefs.h. */
5831 if ac_fn_cxx_try_compile
"$LINENO"
5833 ac_cv_prog_cxx_g
=yes
5835 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5837 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5839 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5840 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5843 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5844 if test $ac_test_CXXFLAGS; then
5845 CXXFLAGS
=$ac_save_CXXFLAGS
5846 elif test $ac_cv_prog_cxx_g = yes; then
5847 if test "$GXX" = yes; then
5853 if test "$GXX" = yes; then
5859 ac_prog_cxx_stdcxx
=no
5860 if test x
$ac_prog_cxx_stdcxx = xno
5862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5863 printf %s
"checking for $CXX option to enable C++11 features... " >&6; }
5864 if test ${ac_cv_prog_cxx_11+y}
5866 printf %s
"(cached) " >&6
5868 ac_cv_prog_cxx_11
=no
5870 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5871 /* end confdefs.h. */
5872 $ac_cxx_conftest_cxx11_program
5874 for ac_arg
in '' -std=gnu
++11 -std=gnu
++0x
-std=c
++11 -std=c
++0x
-qlanglvl=extended0x
-AA
5876 CXX
="$ac_save_CXX $ac_arg"
5877 if ac_fn_cxx_try_compile
"$LINENO"
5879 ac_cv_prog_cxx_cxx11
=$ac_arg
5881 rm -f core conftest.err conftest.
$ac_objext conftest.beam
5882 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5884 rm -f conftest.
$ac_ext
5888 if test "x$ac_cv_prog_cxx_cxx11" = xno
5890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5891 printf "%s\n" "unsupported" >&6; }
5893 if test "x$ac_cv_prog_cxx_cxx11" = x
5895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5896 printf "%s\n" "none needed" >&6; }
5898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5899 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5900 CXX
="$CXX $ac_cv_prog_cxx_cxx11"
5902 ac_cv_prog_cxx_stdcxx
=$ac_cv_prog_cxx_cxx11
5903 ac_prog_cxx_stdcxx
=cxx11
5906 if test x
$ac_prog_cxx_stdcxx = xno
5908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5909 printf %s
"checking for $CXX option to enable C++98 features... " >&6; }
5910 if test ${ac_cv_prog_cxx_98+y}
5912 printf %s
"(cached) " >&6
5914 ac_cv_prog_cxx_98
=no
5916 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5917 /* end confdefs.h. */
5918 $ac_cxx_conftest_cxx98_program
5920 for ac_arg
in '' -std=gnu
++98 -std=c
++98 -qlanglvl=extended
-AA
5922 CXX
="$ac_save_CXX $ac_arg"
5923 if ac_fn_cxx_try_compile
"$LINENO"
5925 ac_cv_prog_cxx_cxx98
=$ac_arg
5927 rm -f core conftest.err conftest.
$ac_objext conftest.beam
5928 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
5930 rm -f conftest.
$ac_ext
5934 if test "x$ac_cv_prog_cxx_cxx98" = xno
5936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5937 printf "%s\n" "unsupported" >&6; }
5939 if test "x$ac_cv_prog_cxx_cxx98" = x
5941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5942 printf "%s\n" "none needed" >&6; }
5944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
5945 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
5946 CXX
="$CXX $ac_cv_prog_cxx_cxx98"
5948 ac_cv_prog_cxx_stdcxx
=$ac_cv_prog_cxx_cxx98
5949 ac_prog_cxx_stdcxx
=cxx98
5954 ac_cpp
='$CPP $CPPFLAGS'
5955 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5956 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5957 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5959 if test -n "$ac_tool_prefix"; then
5960 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5961 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
5962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5963 printf %s
"checking for $ac_word... " >&6; }
5964 if test ${ac_cv_prog_CPPBIN+y}
5966 printf %s
"(cached) " >&6
5968 if test -n "$CPPBIN"; then
5969 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
5971 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5975 case $as_dir in #(((
5978 *) as_dir
=$as_dir/ ;;
5980 for ac_exec_ext
in '' $ac_executable_extensions; do
5981 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
5982 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
5983 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5992 CPPBIN
=$ac_cv_prog_CPPBIN
5993 if test -n "$CPPBIN"; then
5994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5995 printf "%s\n" "$CPPBIN" >&6; }
5997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5998 printf "%s\n" "no" >&6; }
6003 if test -z "$ac_cv_prog_CPPBIN"; then
6004 ac_ct_CPPBIN
=$CPPBIN
6005 # Extract the first word of "cpp", so it can be a program name with args.
6006 set dummy cpp
; ac_word
=$2
6007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6008 printf %s
"checking for $ac_word... " >&6; }
6009 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6011 printf %s
"(cached) " >&6
6013 if test -n "$ac_ct_CPPBIN"; then
6014 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
6016 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6020 case $as_dir in #(((
6023 *) as_dir
=$as_dir/ ;;
6025 for ac_exec_ext
in '' $ac_executable_extensions; do
6026 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6027 ac_cv_prog_ac_ct_CPPBIN
="cpp"
6028 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6037 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
6038 if test -n "$ac_ct_CPPBIN"; then
6039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6040 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6043 printf "%s\n" "no" >&6; }
6046 if test "x$ac_ct_CPPBIN" = x
; then
6049 case $cross_compiling:$ac_tool_warned in
6051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6052 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6053 ac_tool_warned
=yes ;;
6055 CPPBIN
=$ac_ct_CPPBIN
6058 CPPBIN
="$ac_cv_prog_CPPBIN"
6062 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6064 if test -n "$ac_tool_prefix"; then
6065 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6066 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
6067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6068 printf %s
"checking for $ac_word... " >&6; }
6069 if test ${ac_cv_prog_LD+y}
6071 printf %s
"(cached) " >&6
6073 if test -n "$LD"; then
6074 ac_cv_prog_LD
="$LD" # Let the user override the test.
6076 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6080 case $as_dir in #(((
6083 *) as_dir
=$as_dir/ ;;
6085 for ac_exec_ext
in '' $ac_executable_extensions; do
6086 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6087 ac_cv_prog_LD
="${ac_tool_prefix}ld"
6088 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6098 if test -n "$LD"; then
6099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6100 printf "%s\n" "$LD" >&6; }
6102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6103 printf "%s\n" "no" >&6; }
6108 if test -z "$ac_cv_prog_LD"; then
6110 # Extract the first word of "ld", so it can be a program name with args.
6111 set dummy ld
; ac_word
=$2
6112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6113 printf %s
"checking for $ac_word... " >&6; }
6114 if test ${ac_cv_prog_ac_ct_LD+y}
6116 printf %s
"(cached) " >&6
6118 if test -n "$ac_ct_LD"; then
6119 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
6121 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6125 case $as_dir in #(((
6128 *) as_dir
=$as_dir/ ;;
6130 for ac_exec_ext
in '' $ac_executable_extensions; do
6131 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6132 ac_cv_prog_ac_ct_LD
="ld"
6133 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6142 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
6143 if test -n "$ac_ct_LD"; then
6144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6145 printf "%s\n" "$ac_ct_LD" >&6; }
6147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6148 printf "%s\n" "no" >&6; }
6151 if test "x$ac_ct_LD" = x
; then
6154 case $cross_compiling:$ac_tool_warned in
6156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6157 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6158 ac_tool_warned
=yes ;;
6169 with_fontconfig
=${with_fontconfig:-no}
6171 *-mingw32*|
*-cygwin*)
6172 enable_win16
=${enable_win16:-no}
6173 with_mingw
=${with_mingw:-no}
6180 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x
"$enable_archs" = x
6185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6186 printf %s
"checking whether $CC works... " >&6; }
6187 if test ${wine_cv_cc_m32+y}
6189 printf %s
"(cached) " >&6
6191 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6192 /* end confdefs.h. */
6202 if ac_fn_c_try_link
"$LINENO"
6208 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6209 conftest
$ac_exeext conftest.
$ac_ext
6211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6212 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6213 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
6215 notice_platform
="32-bit "
6216 TARGETFLAGS
="$TARGETFLAGS -m32"
6217 PKG_CONFIG_LIBDIR
=${PKG_CONFIG_LIBDIR:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6218 export PKG_CONFIG_LIBDIR
6219 with_unwind
=${with_unwind:-no}
6221 if test "x${GCC}" = "xyes"
6223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6224 printf %s
"checking whether $CC supports __builtin_ms_va_list... " >&6; }
6225 if test ${wine_cv_builtin_ms_va_list+y}
6227 printf %s
"(cached) " >&6
6229 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6230 /* end confdefs.h. */
6235 void func(__builtin_ms_va_list *args);
6240 if ac_fn_c_try_compile
"$LINENO"
6242 wine_cv_builtin_ms_va_list
=yes
6244 wine_cv_builtin_ms_va_list
=no
6246 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6249 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6250 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
6255 notice_platform
="64-bit "
6256 TARGETFLAGS
="$TARGETFLAGS -m64"
6260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6261 printf %s
"checking whether $CC supports Thumb-2... " >&6; }
6262 if test ${wine_cv_thumb2+y}
6264 printf %s
"(cached) " >&6
6266 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6267 /* end confdefs.h. */
6272 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6277 if ac_fn_c_try_link
"$LINENO"
6283 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6284 conftest
$ac_exeext conftest.
$ac_ext
6286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6287 printf "%s\n" "$wine_cv_thumb2" >&6; }
6288 if test x
"$wine_cv_thumb2" = xyes
6290 CFLAGS
="$CFLAGS -mthumb"
6291 TARGETFLAGS
="$TARGETFLAGS -mthumb"
6293 CFLAGS
="$CFLAGS -marm"
6294 TARGETFLAGS
="$TARGETFLAGS -marm"
6296 case $with_float_abi in
6298 float_abi
=$with_float_abi ;;
6305 saved_CFLAGS
=$CFLAGS
6306 CFLAGS
="$CFLAGS -mfloat-abi=$float_abi"
6307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6308 printf %s
"checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6309 if test ${wine_cv_float_abi+y}
6311 printf %s
"(cached) " >&6
6313 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6314 /* end confdefs.h. */
6319 asm("vmrs r2,fpscr");
6324 if ac_fn_c_try_link
"$LINENO"
6326 wine_cv_float_abi
=yes
6328 wine_cv_float_abi
=no
6330 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6331 conftest
$ac_exeext conftest.
$ac_ext
6333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6334 printf "%s\n" "$wine_cv_float_abi" >&6; }
6335 if test $wine_cv_float_abi = no
6338 as_fn_append wine_warnings
"|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6340 CFLAGS
=$saved_CFLAGS
6344 CFLAGS
="$CFLAGS -mfloat-abi=$float_abi"
6345 TARGETFLAGS
="$TARGETFLAGS -mfloat-abi=$float_abi"
6348 with_unwind
=${with_unwind:-no}
6352 enable_win16
=${enable_win16:-i386}
6353 enable_win64
=${enable_win64:-no}
6354 enable_wow64
=${enable_wow64:-aarch64,x86_64}
6355 enable_wow64win
=${enable_wow64win:-aarch64,x86_64}
6356 enable_wow64cpu
=${enable_wow64cpu:-x86_64}
6358 enable_winetest
=${enable_winetest:-$enable_tests}
6360 if test "x$enable_win64" = "xyes"
6362 test -z "$with_wine64" || as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
6363 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6367 cygwin
*|mingw32
*) toolsext
=".exe"
6375 aarch64
*) HOST_ARCH
=aarch64
;;
6376 arm
*) HOST_ARCH
=arm
;;
6377 i
[3456789]86*) HOST_ARCH
=i386
;;
6378 x86_64
) HOST_ARCH
=x86_64
;;
6382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6383 printf %s
"checking for the directory containing the Wine tools... " >&6; }
6384 if test ${wine_cv_toolsdir+y}
6386 printf %s
"(cached) " >&6
6388 wine_cv_toolsdir
="$with_wine_tools"
6389 if test -z "$with_wine_tools"; then
6390 if test "$cross_compiling" = "yes"; then
6391 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6392 elif test -n "$with_wine64"; then
6393 wine_cv_toolsdir
="$with_wine64"
6397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6398 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6399 if test -z "$wine_cv_toolsdir"; then
6400 wine_makedep
=tools
/makedep
$toolsext
6401 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6402 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
$toolsext
6403 enable_tools
=${enable_tools:-no}
6404 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6406 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6408 toolsdir
=$wine_cv_toolsdir
6410 MAKEDEP
=$wine_makedep
6412 RUNTESTFLAGS
="-q -P wine"
6414 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'"
6417 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6419 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
6424 # Extract the first word of "$ac_prog", so it can be a program name with args.
6425 set dummy
$ac_prog; ac_word
=$2
6426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6427 printf %s
"checking for $ac_word... " >&6; }
6428 if test ${ac_cv_prog_FLEX+y}
6430 printf %s
"(cached) " >&6
6432 if test -n "$FLEX"; then
6433 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
6435 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6439 case $as_dir in #(((
6442 *) as_dir
=$as_dir/ ;;
6444 for ac_exec_ext
in '' $ac_executable_extensions; do
6445 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6446 ac_cv_prog_FLEX
="$ac_prog"
6447 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6456 FLEX
=$ac_cv_prog_FLEX
6457 if test -n "$FLEX"; then
6458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6459 printf "%s\n" "$FLEX" >&6; }
6461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6462 printf "%s\n" "no" >&6; }
6466 test -n "$FLEX" && break
6468 test -n "$FLEX" || FLEX
="none"
6470 if test "$FLEX" = "none"
6472 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6475 printf %s
"checking whether flex is recent enough... " >&6; }
6476 if test ${wine_cv_recent_flex+y}
6478 printf %s
"(cached) " >&6
6480 cat >conftest.l
<<EOF
6482 #include "prediluvian.h"
6486 if $FLEX -t conftest.l
>/dev
/null
2>&5
6488 wine_cv_recent_flex
=yes
6490 wine_cv_recent_flex
=no
6493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6494 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6495 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
6497 for ac_prog
in bison
6499 # Extract the first word of "$ac_prog", so it can be a program name with args.
6500 set dummy
$ac_prog; ac_word
=$2
6501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6502 printf %s
"checking for $ac_word... " >&6; }
6503 if test ${ac_cv_prog_BISON+y}
6505 printf %s
"(cached) " >&6
6507 if test -n "$BISON"; then
6508 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
6510 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6514 case $as_dir in #(((
6517 *) as_dir
=$as_dir/ ;;
6519 for ac_exec_ext
in '' $ac_executable_extensions; do
6520 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6521 ac_cv_prog_BISON
="$ac_prog"
6522 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6531 BISON
=$ac_cv_prog_BISON
6532 if test -n "$BISON"; then
6533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6534 printf "%s\n" "$BISON" >&6; }
6536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6537 printf "%s\n" "no" >&6; }
6541 test -n "$BISON" && break
6543 test -n "$BISON" || BISON
="none"
6545 if test "$BISON" = "none"
6547 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6550 printf %s
"checking whether bison is recent enough... " >&6; }
6551 if test ${wine_cv_recent_bison+y}
6553 printf %s
"(cached) " >&6
6555 cat >conftest.y
<<EOF
6556 %define parse.error verbose
6560 if $BISON conftest.y
>/dev
/null
2>&5
6562 wine_cv_recent_bison
=yes
6564 wine_cv_recent_bison
=no
6567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6568 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6569 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
6571 if test -n "$ac_tool_prefix"; then
6572 for ac_prog
in ar gar
6574 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6575 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6577 printf %s
"checking for $ac_word... " >&6; }
6578 if test ${ac_cv_prog_AR+y}
6580 printf %s
"(cached) " >&6
6582 if test -n "$AR"; then
6583 ac_cv_prog_AR
="$AR" # Let the user override the test.
6585 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6589 case $as_dir in #(((
6592 *) as_dir
=$as_dir/ ;;
6594 for ac_exec_ext
in '' $ac_executable_extensions; do
6595 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6596 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
6597 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6607 if test -n "$AR"; then
6608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6609 printf "%s\n" "$AR" >&6; }
6611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6612 printf "%s\n" "no" >&6; }
6616 test -n "$AR" && break
6619 if test -z "$AR"; then
6621 for ac_prog
in ar gar
6623 # Extract the first word of "$ac_prog", so it can be a program name with args.
6624 set dummy
$ac_prog; ac_word
=$2
6625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6626 printf %s
"checking for $ac_word... " >&6; }
6627 if test ${ac_cv_prog_ac_ct_AR+y}
6629 printf %s
"(cached) " >&6
6631 if test -n "$ac_ct_AR"; then
6632 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6634 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6638 case $as_dir in #(((
6641 *) as_dir
=$as_dir/ ;;
6643 for ac_exec_ext
in '' $ac_executable_extensions; do
6644 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6645 ac_cv_prog_ac_ct_AR
="$ac_prog"
6646 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6655 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6656 if test -n "$ac_ct_AR"; then
6657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6658 printf "%s\n" "$ac_ct_AR" >&6; }
6660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6661 printf "%s\n" "no" >&6; }
6665 test -n "$ac_ct_AR" && break
6668 if test "x$ac_ct_AR" = x
; then
6671 case $cross_compiling:$ac_tool_warned in
6673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6674 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6675 ac_tool_warned
=yes ;;
6681 if test -n "$ac_tool_prefix"; then
6682 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6683 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6685 printf %s
"checking for $ac_word... " >&6; }
6686 if test ${ac_cv_prog_STRIP+y}
6688 printf %s
"(cached) " >&6
6690 if test -n "$STRIP"; then
6691 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6693 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6697 case $as_dir in #(((
6700 *) as_dir
=$as_dir/ ;;
6702 for ac_exec_ext
in '' $ac_executable_extensions; do
6703 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6704 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6705 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6714 STRIP
=$ac_cv_prog_STRIP
6715 if test -n "$STRIP"; then
6716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6717 printf "%s\n" "$STRIP" >&6; }
6719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6720 printf "%s\n" "no" >&6; }
6725 if test -z "$ac_cv_prog_STRIP"; then
6727 # Extract the first word of "strip", so it can be a program name with args.
6728 set dummy strip
; ac_word
=$2
6729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6730 printf %s
"checking for $ac_word... " >&6; }
6731 if test ${ac_cv_prog_ac_ct_STRIP+y}
6733 printf %s
"(cached) " >&6
6735 if test -n "$ac_ct_STRIP"; then
6736 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6738 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6742 case $as_dir in #(((
6745 *) as_dir
=$as_dir/ ;;
6747 for ac_exec_ext
in '' $ac_executable_extensions; do
6748 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6749 ac_cv_prog_ac_ct_STRIP
="strip"
6750 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6759 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6760 if test -n "$ac_ct_STRIP"; then
6761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6762 printf "%s\n" "$ac_ct_STRIP" >&6; }
6764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6765 printf "%s\n" "no" >&6; }
6768 if test "x$ac_ct_STRIP" = x
; then
6771 case $cross_compiling:$ac_tool_warned in
6773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6774 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6775 ac_tool_warned
=yes ;;
6780 STRIP
="$ac_cv_prog_STRIP"
6783 if test -n "$ac_tool_prefix"; then
6784 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6785 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6787 printf %s
"checking for $ac_word... " >&6; }
6788 if test ${ac_cv_prog_RANLIB+y}
6790 printf %s
"(cached) " >&6
6792 if test -n "$RANLIB"; then
6793 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6795 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6799 case $as_dir in #(((
6802 *) as_dir
=$as_dir/ ;;
6804 for ac_exec_ext
in '' $ac_executable_extensions; do
6805 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6806 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6807 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6816 RANLIB
=$ac_cv_prog_RANLIB
6817 if test -n "$RANLIB"; then
6818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6819 printf "%s\n" "$RANLIB" >&6; }
6821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6822 printf "%s\n" "no" >&6; }
6827 if test -z "$ac_cv_prog_RANLIB"; then
6828 ac_ct_RANLIB
=$RANLIB
6829 # Extract the first word of "ranlib", so it can be a program name with args.
6830 set dummy ranlib
; ac_word
=$2
6831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6832 printf %s
"checking for $ac_word... " >&6; }
6833 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6835 printf %s
"(cached) " >&6
6837 if test -n "$ac_ct_RANLIB"; then
6838 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6840 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6844 case $as_dir in #(((
6847 *) as_dir
=$as_dir/ ;;
6849 for ac_exec_ext
in '' $ac_executable_extensions; do
6850 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6851 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6852 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6861 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6862 if test -n "$ac_ct_RANLIB"; then
6863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6864 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6867 printf "%s\n" "no" >&6; }
6870 if test "x$ac_ct_RANLIB" = x
; then
6873 case $cross_compiling:$ac_tool_warned in
6875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6876 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6877 ac_tool_warned
=yes ;;
6879 RANLIB
=$ac_ct_RANLIB
6882 RANLIB
="$ac_cv_prog_RANLIB"
6885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6886 printf %s
"checking whether ln -s works... " >&6; }
6888 if test "$LN_S" = "ln -s"; then
6889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6890 printf "%s\n" "yes" >&6; }
6892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6893 printf "%s\n" "no, using $LN_S" >&6; }
6896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6897 printf %s
"checking for grep that handles long lines and -e... " >&6; }
6898 if test ${ac_cv_path_GREP+y}
6900 printf %s
"(cached) " >&6
6902 if test -z "$GREP"; then
6903 ac_path_GREP_found
=false
6904 # Loop through the user's path and test for each of PROGNAME-LIST
6905 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6906 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6909 case $as_dir in #(((
6912 *) as_dir
=$as_dir/ ;;
6914 for ac_prog
in grep ggrep
6916 for ac_exec_ext
in '' $ac_executable_extensions; do
6917 ac_path_GREP
="$as_dir$ac_prog$ac_exec_ext"
6918 as_fn_executable_p
"$ac_path_GREP" ||
continue
6919 # Check for GNU ac_path_GREP and select it if it is found.
6920 # Check for GNU $ac_path_GREP
6921 case `"$ac_path_GREP" --version 2>&1` in
6923 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6926 printf %s
0123456789 >"conftest.in"
6929 cat "conftest.in" "conftest.in" >"conftest.tmp"
6930 mv "conftest.tmp" "conftest.in"
6931 cp "conftest.in" "conftest.nl"
6932 printf "%s\n" 'GREP' >> "conftest.nl"
6933 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6934 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6935 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6936 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6937 # Best one so far, save it but keep looking for a better one
6938 ac_cv_path_GREP
="$ac_path_GREP"
6939 ac_path_GREP_max
=$ac_count
6941 # 10*(2^10) chars as input seems more than enough
6942 test $ac_count -gt 10 && break
6944 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6947 $ac_path_GREP_found && break 3
6952 if test -z "$ac_cv_path_GREP"; then
6953 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6956 ac_cv_path_GREP
=$GREP
6960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6961 printf "%s\n" "$ac_cv_path_GREP" >&6; }
6962 GREP
="$ac_cv_path_GREP"
6965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6966 printf %s
"checking for egrep... " >&6; }
6967 if test ${ac_cv_path_EGREP+y}
6969 printf %s
"(cached) " >&6
6971 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6972 then ac_cv_path_EGREP
="$GREP -E"
6974 if test -z "$EGREP"; then
6975 ac_path_EGREP_found
=false
6976 # Loop through the user's path and test for each of PROGNAME-LIST
6977 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6978 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6981 case $as_dir in #(((
6984 *) as_dir
=$as_dir/ ;;
6986 for ac_prog
in egrep
6988 for ac_exec_ext
in '' $ac_executable_extensions; do
6989 ac_path_EGREP
="$as_dir$ac_prog$ac_exec_ext"
6990 as_fn_executable_p
"$ac_path_EGREP" ||
continue
6991 # Check for GNU ac_path_EGREP and select it if it is found.
6992 # Check for GNU $ac_path_EGREP
6993 case `"$ac_path_EGREP" --version 2>&1` in
6995 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
6998 printf %s
0123456789 >"conftest.in"
7001 cat "conftest.in" "conftest.in" >"conftest.tmp"
7002 mv "conftest.tmp" "conftest.in"
7003 cp "conftest.in" "conftest.nl"
7004 printf "%s\n" 'EGREP' >> "conftest.nl"
7005 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7006 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7007 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7008 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7009 # Best one so far, save it but keep looking for a better one
7010 ac_cv_path_EGREP
="$ac_path_EGREP"
7011 ac_path_EGREP_max
=$ac_count
7013 # 10*(2^10) chars as input seems more than enough
7014 test $ac_count -gt 10 && break
7016 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7019 $ac_path_EGREP_found && break 3
7024 if test -z "$ac_cv_path_EGREP"; then
7025 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7028 ac_cv_path_EGREP
=$EGREP
7033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7034 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7035 EGREP
="$ac_cv_path_EGREP"
7038 # Extract the first word of "ldconfig", so it can be a program name with args.
7039 set dummy ldconfig
; ac_word
=$2
7040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7041 printf %s
"checking for $ac_word... " >&6; }
7042 if test ${ac_cv_path_LDCONFIG+y}
7044 printf %s
"(cached) " >&6
7048 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
7051 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7052 for as_dir
in /sbin
/usr
/sbin
$PATH
7055 case $as_dir in #(((
7058 *) as_dir
=$as_dir/ ;;
7060 for ac_exec_ext
in '' $ac_executable_extensions; do
7061 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7062 ac_cv_path_LDCONFIG
="$as_dir$ac_word$ac_exec_ext"
7063 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7070 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
7074 LDCONFIG
=$ac_cv_path_LDCONFIG
7075 if test -n "$LDCONFIG"; then
7076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7077 printf "%s\n" "$LDCONFIG" >&6; }
7079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7080 printf "%s\n" "no" >&6; }
7084 for ac_prog
in msgfmt
7086 # Extract the first word of "$ac_prog", so it can be a program name with args.
7087 set dummy
$ac_prog; ac_word
=$2
7088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7089 printf %s
"checking for $ac_word... " >&6; }
7090 if test ${ac_cv_prog_MSGFMT+y}
7092 printf %s
"(cached) " >&6
7094 if test -n "$MSGFMT"; then
7095 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
7097 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7101 case $as_dir in #(((
7104 *) as_dir
=$as_dir/ ;;
7106 for ac_exec_ext
in '' $ac_executable_extensions; do
7107 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7108 ac_cv_prog_MSGFMT
="$ac_prog"
7109 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7118 MSGFMT
=$ac_cv_prog_MSGFMT
7119 if test -n "$MSGFMT"; then
7120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7121 printf "%s\n" "$MSGFMT" >&6; }
7123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7124 printf "%s\n" "no" >&6; }
7128 test -n "$MSGFMT" && break
7130 test -n "$MSGFMT" || MSGFMT
="false"
7132 if test ${ac_tool_prefix+y}
7134 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7135 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
7136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7137 printf %s
"checking for $ac_word... " >&6; }
7138 if test ${ac_cv_prog_PKG_CONFIG+y}
7140 printf %s
"(cached) " >&6
7142 if test -n "$PKG_CONFIG"; then
7143 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
7145 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7149 case $as_dir in #(((
7152 *) as_dir
=$as_dir/ ;;
7154 for ac_exec_ext
in '' $ac_executable_extensions; do
7155 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7156 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
7157 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7166 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7167 if test -n "$PKG_CONFIG"; then
7168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7169 printf "%s\n" "$PKG_CONFIG" >&6; }
7171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7172 printf "%s\n" "no" >&6; }
7177 if ${ac_cv_prog_PKG_CONFIG:+false} :
7179 if test "x$cross_compiling" = xyes
7183 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
7184 # Extract the first word of "pkg-config", so it can be a program name with args.
7185 set dummy pkg-config
; ac_word
=$2
7186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7187 printf %s
"checking for $ac_word... " >&6; }
7188 if test ${ac_cv_prog_PKG_CONFIG+y}
7190 printf %s
"(cached) " >&6
7192 if test -n "$PKG_CONFIG"; then
7193 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
7195 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7199 case $as_dir in #(((
7202 *) as_dir
=$as_dir/ ;;
7204 for ac_exec_ext
in '' $ac_executable_extensions; do
7205 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7206 ac_cv_prog_PKG_CONFIG
="pkg-config"
7207 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7216 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7217 if test -n "$PKG_CONFIG"; then
7218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7219 printf "%s\n" "$PKG_CONFIG" >&6; }
7221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7222 printf "%s\n" "no" >&6; }
7228 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7231 if test "x$enable_maintainer_mode" != "xyes"
7238 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
7239 for ac_prog
in fontforge
7241 # Extract the first word of "$ac_prog", so it can be a program name with args.
7242 set dummy
$ac_prog; ac_word
=$2
7243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7244 printf %s
"checking for $ac_word... " >&6; }
7245 if test ${ac_cv_prog_FONTFORGE+y}
7247 printf %s
"(cached) " >&6
7249 if test -n "$FONTFORGE"; then
7250 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
7252 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7256 case $as_dir in #(((
7259 *) as_dir
=$as_dir/ ;;
7261 for ac_exec_ext
in '' $ac_executable_extensions; do
7262 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7263 ac_cv_prog_FONTFORGE
="$ac_prog"
7264 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7273 FONTFORGE
=$ac_cv_prog_FONTFORGE
7274 if test -n "$FONTFORGE"; then
7275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7276 printf "%s\n" "$FONTFORGE" >&6; }
7278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7279 printf "%s\n" "no" >&6; }
7283 test -n "$FONTFORGE" && break
7285 test -n "$FONTFORGE" || FONTFORGE
="false"
7287 for ac_prog
in rsvg-convert rsvg
7289 # Extract the first word of "$ac_prog", so it can be a program name with args.
7290 set dummy
$ac_prog; ac_word
=$2
7291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7292 printf %s
"checking for $ac_word... " >&6; }
7293 if test ${ac_cv_prog_RSVG+y}
7295 printf %s
"(cached) " >&6
7297 if test -n "$RSVG"; then
7298 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
7300 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7304 case $as_dir in #(((
7307 *) as_dir
=$as_dir/ ;;
7309 for ac_exec_ext
in '' $ac_executable_extensions; do
7310 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7311 ac_cv_prog_RSVG
="$ac_prog"
7312 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7321 RSVG
=$ac_cv_prog_RSVG
7322 if test -n "$RSVG"; then
7323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7324 printf "%s\n" "$RSVG" >&6; }
7326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7327 printf "%s\n" "no" >&6; }
7331 test -n "$RSVG" && break
7333 test -n "$RSVG" || RSVG
="false"
7335 for ac_prog
in convert
7337 # Extract the first word of "$ac_prog", so it can be a program name with args.
7338 set dummy
$ac_prog; ac_word
=$2
7339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7340 printf %s
"checking for $ac_word... " >&6; }
7341 if test ${ac_cv_prog_CONVERT+y}
7343 printf %s
"(cached) " >&6
7345 if test -n "$CONVERT"; then
7346 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
7348 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7352 case $as_dir in #(((
7355 *) as_dir
=$as_dir/ ;;
7357 for ac_exec_ext
in '' $ac_executable_extensions; do
7358 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7359 ac_cv_prog_CONVERT
="$ac_prog"
7360 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7369 CONVERT
=$ac_cv_prog_CONVERT
7370 if test -n "$CONVERT"; then
7371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7372 printf "%s\n" "$CONVERT" >&6; }
7374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7375 printf "%s\n" "no" >&6; }
7379 test -n "$CONVERT" && break
7381 test -n "$CONVERT" || CONVERT
="false"
7383 for ac_prog
in icotool
7385 # Extract the first word of "$ac_prog", so it can be a program name with args.
7386 set dummy
$ac_prog; ac_word
=$2
7387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7388 printf %s
"checking for $ac_word... " >&6; }
7389 if test ${ac_cv_prog_ICOTOOL+y}
7391 printf %s
"(cached) " >&6
7393 if test -n "$ICOTOOL"; then
7394 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
7396 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7400 case $as_dir in #(((
7403 *) as_dir
=$as_dir/ ;;
7405 for ac_exec_ext
in '' $ac_executable_extensions; do
7406 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7407 ac_cv_prog_ICOTOOL
="$ac_prog"
7408 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7417 ICOTOOL
=$ac_cv_prog_ICOTOOL
7418 if test -n "$ICOTOOL"; then
7419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7420 printf "%s\n" "$ICOTOOL" >&6; }
7422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7423 printf "%s\n" "no" >&6; }
7427 test -n "$ICOTOOL" && break
7429 test -n "$ICOTOOL" || ICOTOOL
="false"
7431 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7432 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7434 if test "$CONVERT" = false
7436 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7439 printf %s
"checking for recent enough imagemagick... " >&6; }
7440 convert_version
=`convert --version | head -n1`
7441 if test "x$convert_version" != "x"
7443 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7444 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7445 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7450 if test "$CONVERT" = false
7452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7453 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7454 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7457 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7461 if test "$ICOTOOL" = false
7463 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7466 printf %s
"checking for recent enough icotool... " >&6; }
7467 icotool_version
=`icotool --version | head -n1`
7468 if test "x$icotool_version" != "x"
7470 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7471 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7472 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7475 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
7478 if test "$ICOTOOL" = false
7480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7481 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7482 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7485 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7495 test "x$with_gettext" != xno || MSGFMT
=false
7496 if test "$MSGFMT" != "false"
7498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7499 printf %s
"checking whether msgfmt supports contexts... " >&6; }
7500 if test ${wine_cv_msgfmt_contexts+y}
7502 printf %s
"(cached) " >&6
7504 cat >conftest.po
<<EOF
7510 if $MSGFMT -o /dev
/null conftest.po
2>&5
7512 wine_cv_msgfmt_contexts
=yes
7514 wine_cv_msgfmt_contexts
=no
7517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7518 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7519 test $wine_cv_msgfmt_contexts != no || MSGFMT
=false
7521 if test "$MSGFMT" = false
7523 case "x$with_gettext" in
7524 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
7526 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
7527 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7529 enable_po
=${enable_po:-no}
7533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7534 printf %s
"checking for i386_set_ldt in -li386... " >&6; }
7535 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7537 printf %s
"(cached) " >&6
7539 ac_check_lib_save_LIBS
=$LIBS
7541 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7542 /* end confdefs.h. */
7544 /* Override any GCC internal prototype to avoid an error.
7545 Use char because int might match the return type of a GCC
7546 builtin and then its argument prototype would still apply. */
7547 char i386_set_ldt ();
7551 return i386_set_ldt ();
7556 if ac_fn_c_try_link
"$LINENO"
7558 ac_cv_lib_i386_i386_set_ldt
=yes
7560 ac_cv_lib_i386_i386_set_ldt
=no
7562 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
7563 conftest
$ac_exeext conftest.
$ac_ext
7564 LIBS
=$ac_check_lib_save_LIBS
7566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7567 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7568 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7579 # Check whether --enable-largefile was given.
7580 if test ${enable_largefile+y}
7582 enableval
=$enable_largefile;
7585 if test "$enable_largefile" != no
; then
7587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7588 printf %s
"checking for special C compiler options needed for large files... " >&6; }
7589 if test ${ac_cv_sys_largefile_CC+y}
7591 printf %s
"(cached) " >&6
7593 ac_cv_sys_largefile_CC
=no
7594 if test "$GCC" != yes; then
7597 # IRIX 6.2 and later do not support large files by default,
7598 # so use the C compiler's -n32 option if that helps.
7599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7600 /* end confdefs.h. */
7601 #include <sys/types.h>
7602 /* Check that off_t can represent 2**63 - 1 correctly.
7603 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7604 since some C++ compilers masquerading as C compilers
7605 incorrectly reject 9223372036854775807. */
7606 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7607 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7608 && LARGE_OFF_T % 2147483647 == 1)
7618 if ac_fn_c_try_compile
"$LINENO"
7622 rm -f core conftest.err conftest.
$ac_objext conftest.beam
7624 if ac_fn_c_try_compile
"$LINENO"
7626 ac_cv_sys_largefile_CC
=' -n32'; break
7628 rm -f core conftest.err conftest.
$ac_objext conftest.beam
7632 rm -f conftest.
$ac_ext
7635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7636 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7637 if test "$ac_cv_sys_largefile_CC" != no
; then
7638 CC
=$CC$ac_cv_sys_largefile_CC
7641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7642 printf %s
"checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7643 if test ${ac_cv_sys_file_offset_bits+y}
7645 printf %s
"(cached) " >&6
7648 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7649 /* end confdefs.h. */
7650 #include <sys/types.h>
7651 /* Check that off_t can represent 2**63 - 1 correctly.
7652 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7653 since some C++ compilers masquerading as C compilers
7654 incorrectly reject 9223372036854775807. */
7655 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7656 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7657 && LARGE_OFF_T % 2147483647 == 1)
7667 if ac_fn_c_try_compile
"$LINENO"
7669 ac_cv_sys_file_offset_bits
=no
; break
7671 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7672 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7673 /* end confdefs.h. */
7674 #define _FILE_OFFSET_BITS 64
7675 #include <sys/types.h>
7676 /* Check that off_t can represent 2**63 - 1 correctly.
7677 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7678 since some C++ compilers masquerading as C compilers
7679 incorrectly reject 9223372036854775807. */
7680 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7681 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7682 && LARGE_OFF_T % 2147483647 == 1)
7692 if ac_fn_c_try_compile
"$LINENO"
7694 ac_cv_sys_file_offset_bits
=64; break
7696 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7697 ac_cv_sys_file_offset_bits
=unknown
7701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7702 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7703 case $ac_cv_sys_file_offset_bits in #(
7706 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7710 if test $ac_cv_sys_file_offset_bits = unknown
; then
7711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7712 printf %s
"checking for _LARGE_FILES value needed for large files... " >&6; }
7713 if test ${ac_cv_sys_large_files+y}
7715 printf %s
"(cached) " >&6
7718 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7719 /* end confdefs.h. */
7720 #include <sys/types.h>
7721 /* Check that off_t can represent 2**63 - 1 correctly.
7722 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7723 since some C++ compilers masquerading as C compilers
7724 incorrectly reject 9223372036854775807. */
7725 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7726 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7727 && LARGE_OFF_T % 2147483647 == 1)
7737 if ac_fn_c_try_compile
"$LINENO"
7739 ac_cv_sys_large_files
=no
; break
7741 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7742 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7743 /* end confdefs.h. */
7744 #define _LARGE_FILES 1
7745 #include <sys/types.h>
7746 /* Check that off_t can represent 2**63 - 1 correctly.
7747 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7748 since some C++ compilers masquerading as C compilers
7749 incorrectly reject 9223372036854775807. */
7750 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7751 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7752 && LARGE_OFF_T % 2147483647 == 1)
7762 if ac_fn_c_try_compile
"$LINENO"
7764 ac_cv_sys_large_files
=1; break
7766 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7767 ac_cv_sys_large_files
=unknown
7771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7772 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7773 case $ac_cv_sys_large_files in #(
7776 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7784 ac_header
= ac_cache
=
7785 for ac_item
in $ac_header_c_list
7787 if test $ac_cache; then
7788 ac_fn_c_check_header_compile
"$LINENO" $ac_header ac_cv_header_
$ac_cache "$ac_includes_default"
7789 if eval test \"x\
$ac_cv_header_$ac_cache\" = xyes
; then
7790 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7792 ac_header
= ac_cache
=
7793 elif test $ac_header; then
7807 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7810 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7813 ac_fn_c_check_header_compile
"$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7814 if test "x$ac_cv_header_CL_cl_h" = xyes
7816 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7819 ac_fn_c_check_header_compile
"$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7820 if test "x$ac_cv_header_EGL_egl_h" = xyes
7822 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7825 ac_fn_c_check_header_compile
"$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7826 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7828 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7831 ac_fn_c_check_header_compile
"$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7832 if test "x$ac_cv_header_arpa_inet_h" = xyes
7834 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7837 ac_fn_c_check_header_compile
"$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7838 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7840 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7843 ac_fn_c_check_header_compile
"$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7844 if test "x$ac_cv_header_asm_types_h" = xyes
7846 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7849 ac_fn_c_check_header_compile
"$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7850 if test "x$ac_cv_header_asm_user_h" = xyes
7852 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7855 ac_fn_c_check_header_compile
"$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7856 if test "x$ac_cv_header_elf_h" = xyes
7858 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7861 ac_fn_c_check_header_compile
"$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7862 if test "x$ac_cv_header_float_h" = xyes
7864 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7867 ac_fn_c_check_header_compile
"$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7868 if test "x$ac_cv_header_gettext_po_h" = xyes
7870 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7873 ac_fn_c_check_header_compile
"$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7874 if test "x$ac_cv_header_libproc_h" = xyes
7876 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7879 ac_fn_c_check_header_compile
"$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7880 if test "x$ac_cv_header_link_h" = xyes
7882 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7885 ac_fn_c_check_header_compile
"$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7886 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7888 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7891 ac_fn_c_check_header_compile
"$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7892 if test "x$ac_cv_header_linux_filter_h" = xyes
7894 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7897 ac_fn_c_check_header_compile
"$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7898 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7900 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7903 ac_fn_c_check_header_compile
"$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7904 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7906 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7909 ac_fn_c_check_header_compile
"$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7910 if test "x$ac_cv_header_linux_input_h" = xyes
7912 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7915 ac_fn_c_check_header_compile
"$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7916 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7918 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7921 ac_fn_c_check_header_compile
"$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7922 if test "x$ac_cv_header_linux_major_h" = xyes
7924 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7927 ac_fn_c_check_header_compile
"$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7928 if test "x$ac_cv_header_linux_param_h" = xyes
7930 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
7933 ac_fn_c_check_header_compile
"$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
7934 if test "x$ac_cv_header_linux_serial_h" = xyes
7936 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
7939 ac_fn_c_check_header_compile
"$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
7940 if test "x$ac_cv_header_linux_types_h" = xyes
7942 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
7945 ac_fn_c_check_header_compile
"$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
7946 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
7948 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
7951 ac_fn_c_check_header_compile
"$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
7952 if test "x$ac_cv_header_lwp_h" = xyes
7954 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
7957 ac_fn_c_check_header_compile
"$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
7958 if test "x$ac_cv_header_mach_o_loader_h" = xyes
7960 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
7963 ac_fn_c_check_header_compile
"$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
7964 if test "x$ac_cv_header_mach_mach_h" = xyes
7966 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
7969 ac_fn_c_check_header_compile
"$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
7970 if test "x$ac_cv_header_machine_cpu_h" = xyes
7972 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
7975 ac_fn_c_check_header_compile
"$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
7976 if test "x$ac_cv_header_machine_sysarch_h" = xyes
7978 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
7981 ac_fn_c_check_header_compile
"$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
7982 if test "x$ac_cv_header_mntent_h" = xyes
7984 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
7987 ac_fn_c_check_header_compile
"$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
7988 if test "x$ac_cv_header_netdb_h" = xyes
7990 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
7993 ac_fn_c_check_header_compile
"$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
7994 if test "x$ac_cv_header_netinet_in_h" = xyes
7996 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
7999 ac_fn_c_check_header_compile
"$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8000 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8002 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8005 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8006 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8008 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8011 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8012 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8014 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8017 ac_fn_c_check_header_compile
"$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8018 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8020 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8023 ac_fn_c_check_header_compile
"$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8024 if test "x$ac_cv_header_port_h" = xyes
8026 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8029 ac_fn_c_check_header_compile
"$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8030 if test "x$ac_cv_header_pthread_h" = xyes
8032 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8035 ac_fn_c_check_header_compile
"$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8036 if test "x$ac_cv_header_pwd_h" = xyes
8038 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8041 ac_fn_c_check_header_compile
"$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8042 if test "x$ac_cv_header_sched_h" = xyes
8044 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8047 ac_fn_c_check_header_compile
"$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8048 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8050 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8053 ac_fn_c_check_header_compile
"$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8054 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8056 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8059 ac_fn_c_check_header_compile
"$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8060 if test "x$ac_cv_header_scsi_sg_h" = xyes
8062 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8065 ac_fn_c_check_header_compile
"$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8066 if test "x$ac_cv_header_stdint_h" = xyes
8068 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8071 ac_fn_c_check_header_compile
"$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8072 if test "x$ac_cv_header_sys_attr_h" = xyes
8074 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8077 ac_fn_c_check_header_compile
"$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8078 if test "x$ac_cv_header_sys_auxv_h" = xyes
8080 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8083 ac_fn_c_check_header_compile
"$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8084 if test "x$ac_cv_header_sys_cdio_h" = xyes
8086 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8089 ac_fn_c_check_header_compile
"$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8090 if test "x$ac_cv_header_sys_epoll_h" = xyes
8092 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8095 ac_fn_c_check_header_compile
"$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8096 if test "x$ac_cv_header_sys_event_h" = xyes
8098 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8101 ac_fn_c_check_header_compile
"$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
8102 if test "x$ac_cv_header_sys_extattr_h" = xyes
8104 printf "%s\n" "#define HAVE_SYS_EXTATTR_H 1" >>confdefs.h
8107 ac_fn_c_check_header_compile
"$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8108 if test "x$ac_cv_header_sys_filio_h" = xyes
8110 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8113 ac_fn_c_check_header_compile
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8114 if test "x$ac_cv_header_sys_ipc_h" = xyes
8116 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8119 ac_fn_c_check_header_compile
"$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8120 if test "x$ac_cv_header_sys_link_h" = xyes
8122 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8125 ac_fn_c_check_header_compile
"$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8126 if test "x$ac_cv_header_sys_modem_h" = xyes
8128 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8131 ac_fn_c_check_header_compile
"$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8132 if test "x$ac_cv_header_sys_mtio_h" = xyes
8134 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8137 ac_fn_c_check_header_compile
"$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8138 if test "x$ac_cv_header_sys_param_h" = xyes
8140 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8143 ac_fn_c_check_header_compile
"$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8144 if test "x$ac_cv_header_sys_prctl_h" = xyes
8146 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8149 ac_fn_c_check_header_compile
"$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8150 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8152 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8155 ac_fn_c_check_header_compile
"$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8156 if test "x$ac_cv_header_sys_queue_h" = xyes
8158 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8161 ac_fn_c_check_header_compile
"$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8162 if test "x$ac_cv_header_sys_random_h" = xyes
8164 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8167 ac_fn_c_check_header_compile
"$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8168 if test "x$ac_cv_header_sys_resource_h" = xyes
8170 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8173 ac_fn_c_check_header_compile
"$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8174 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8176 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8179 ac_fn_c_check_header_compile
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8180 if test "x$ac_cv_header_sys_shm_h" = xyes
8182 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8185 ac_fn_c_check_header_compile
"$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8186 if test "x$ac_cv_header_sys_signal_h" = xyes
8188 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8191 ac_fn_c_check_header_compile
"$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8192 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8194 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8197 ac_fn_c_check_header_compile
"$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8198 if test "x$ac_cv_header_sys_sockio_h" = xyes
8200 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8203 ac_fn_c_check_header_compile
"$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8204 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8206 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8209 ac_fn_c_check_header_compile
"$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8210 if test "x$ac_cv_header_sys_strtio_h" = xyes
8212 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8215 ac_fn_c_check_header_compile
"$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8216 if test "x$ac_cv_header_sys_syscall_h" = xyes
8218 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8221 ac_fn_c_check_header_compile
"$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8222 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8224 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8227 ac_fn_c_check_header_compile
"$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8228 if test "x$ac_cv_header_sys_times_h" = xyes
8230 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8233 ac_fn_c_check_header_compile
"$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8234 if test "x$ac_cv_header_sys_uio_h" = xyes
8236 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8239 ac_fn_c_check_header_compile
"$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8240 if test "x$ac_cv_header_sys_user_h" = xyes
8242 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8245 ac_fn_c_check_header_compile
"$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8246 if test "x$ac_cv_header_sys_utsname_h" = xyes
8248 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8251 ac_fn_c_check_header_compile
"$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8252 if test "x$ac_cv_header_sys_vnode_h" = xyes
8254 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8257 ac_fn_c_check_header_compile
"$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8258 if test "x$ac_cv_header_sys_xattr_h" = xyes
8260 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8263 ac_fn_c_check_header_compile
"$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8264 if test "x$ac_cv_header_syscall_h" = xyes
8266 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8269 ac_fn_c_check_header_compile
"$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8270 if test "x$ac_cv_header_utime_h" = xyes
8272 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8275 ac_fn_c_check_header_compile
"$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8276 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8278 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8281 ac_fn_c_check_header_compile
"$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8282 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8284 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8288 ac_fn_c_check_header_compile
"$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8289 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8292 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8296 if test $ac_cv_header_sys_mkdev_h = no
; then
8297 ac_fn_c_check_header_compile
"$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8298 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8301 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8307 printf %s
"checking whether stat file-mode macros are broken... " >&6; }
8308 if test ${ac_cv_header_stat_broken+y}
8310 printf %s
"(cached) " >&6
8312 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8313 /* end confdefs.h. */
8314 #include <sys/types.h>
8315 #include <sys/stat.h>
8317 #if defined S_ISBLK && defined S_IFDIR
8318 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8321 #if defined S_ISBLK && defined S_IFCHR
8322 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8325 #if defined S_ISLNK && defined S_IFREG
8326 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8329 #if defined S_ISSOCK && defined S_IFREG
8330 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8334 if ac_fn_c_try_compile
"$LINENO"
8336 ac_cv_header_stat_broken
=no
8338 ac_cv_header_stat_broken
=yes
8340 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8343 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8344 if test $ac_cv_header_stat_broken = yes; then
8346 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8352 ac_fn_c_check_header_compile
"$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8353 #ifdef HAVE_SYS_PARAM_H
8354 # include <sys/param.h>
8357 if test "x$ac_cv_header_sys_conf_h" = xyes
8359 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8362 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8363 #ifdef HAVE_SYS_PARAM_H
8364 # include <sys/param.h>
8367 if test "x$ac_cv_header_sys_mount_h" = xyes
8369 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8372 ac_fn_c_check_header_compile
"$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8373 #ifdef HAVE_SYS_PARAM_H
8374 # include <sys/param.h>
8377 if test "x$ac_cv_header_sys_statfs_h" = xyes
8379 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8382 ac_fn_c_check_header_compile
"$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8383 #ifdef HAVE_SYS_PARAM_H
8384 # include <sys/param.h>
8387 if test "x$ac_cv_header_sys_user_h" = xyes
8389 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8392 ac_fn_c_check_header_compile
"$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8393 #ifdef HAVE_SYS_PARAM_H
8394 # include <sys/param.h>
8397 if test "x$ac_cv_header_sys_vfs_h" = xyes
8399 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8404 saved_sysctl_h_CFLAGS
=$CFLAGS
8405 test "x${GCC}" != xyes || CFLAGS
="$CFLAGS -Werror"
8406 ac_fn_c_check_header_compile
"$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8407 #ifdef HAVE_SYS_PARAM_H
8408 # include <sys/param.h>
8411 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8413 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8417 CFLAGS
=$saved_sysctl_h_CFLAGS
8419 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8420 #include <sys/socket.h>
8421 #ifdef HAVE_SYS_SOCKETVAR_H
8422 # include <sys/socketvar.h>
8424 #ifdef HAVE_NET_ROUTE_H
8425 # include <net/route.h>
8427 #ifdef HAVE_NETINET_IN_H
8428 # include <netinet/in.h>
8430 #ifdef HAVE_NETINET_IN_SYSTM_H
8431 # include <netinet/in_systm.h>
8433 #ifdef HAVE_NET_IF_H
8434 # include <net/if.h>
8436 #ifdef HAVE_NETINET_IP_H
8437 # include <netinet/ip.h>
8440 if test "x$ac_cv_header_netinet_ip_h" = xyes
8442 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8445 ac_fn_c_check_header_compile
"$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8446 #include <sys/socket.h>
8447 #ifdef HAVE_SYS_SOCKETVAR_H
8448 # include <sys/socketvar.h>
8450 #ifdef HAVE_NET_ROUTE_H
8451 # include <net/route.h>
8453 #ifdef HAVE_NETINET_IN_H
8454 # include <netinet/in.h>
8456 #ifdef HAVE_NETINET_IN_SYSTM_H
8457 # include <netinet/in_systm.h>
8459 #ifdef HAVE_NET_IF_H
8460 # include <net/if.h>
8462 #ifdef HAVE_NETINET_IP_H
8463 # include <netinet/ip.h>
8466 if test "x$ac_cv_header_net_if_h" = xyes
8468 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8471 ac_fn_c_check_header_compile
"$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8472 #include <sys/socket.h>
8473 #ifdef HAVE_SYS_SOCKETVAR_H
8474 # include <sys/socketvar.h>
8476 #ifdef HAVE_NET_ROUTE_H
8477 # include <net/route.h>
8479 #ifdef HAVE_NETINET_IN_H
8480 # include <netinet/in.h>
8482 #ifdef HAVE_NETINET_IN_SYSTM_H
8483 # include <netinet/in_systm.h>
8485 #ifdef HAVE_NET_IF_H
8486 # include <net/if.h>
8488 #ifdef HAVE_NETINET_IP_H
8489 # include <netinet/ip.h>
8492 if test "x$ac_cv_header_net_if_arp_h" = xyes
8494 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8497 ac_fn_c_check_header_compile
"$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8498 #include <sys/socket.h>
8499 #ifdef HAVE_SYS_SOCKETVAR_H
8500 # include <sys/socketvar.h>
8502 #ifdef HAVE_NET_ROUTE_H
8503 # include <net/route.h>
8505 #ifdef HAVE_NETINET_IN_H
8506 # include <netinet/in.h>
8508 #ifdef HAVE_NETINET_IN_SYSTM_H
8509 # include <netinet/in_systm.h>
8511 #ifdef HAVE_NET_IF_H
8512 # include <net/if.h>
8514 #ifdef HAVE_NETINET_IP_H
8515 # include <netinet/ip.h>
8518 if test "x$ac_cv_header_net_if_dl_h" = xyes
8520 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8523 ac_fn_c_check_header_compile
"$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8524 #include <sys/socket.h>
8525 #ifdef HAVE_SYS_SOCKETVAR_H
8526 # include <sys/socketvar.h>
8528 #ifdef HAVE_NET_ROUTE_H
8529 # include <net/route.h>
8531 #ifdef HAVE_NETINET_IN_H
8532 # include <netinet/in.h>
8534 #ifdef HAVE_NETINET_IN_SYSTM_H
8535 # include <netinet/in_systm.h>
8537 #ifdef HAVE_NET_IF_H
8538 # include <net/if.h>
8540 #ifdef HAVE_NETINET_IP_H
8541 # include <netinet/ip.h>
8544 if test "x$ac_cv_header_net_if_types_h" = xyes
8546 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8549 ac_fn_c_check_header_compile
"$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8550 #include <sys/socket.h>
8551 #ifdef HAVE_SYS_SOCKETVAR_H
8552 # include <sys/socketvar.h>
8554 #ifdef HAVE_NET_ROUTE_H
8555 # include <net/route.h>
8557 #ifdef HAVE_NETINET_IN_H
8558 # include <netinet/in.h>
8560 #ifdef HAVE_NETINET_IN_SYSTM_H
8561 # include <netinet/in_systm.h>
8563 #ifdef HAVE_NET_IF_H
8564 # include <net/if.h>
8566 #ifdef HAVE_NETINET_IP_H
8567 # include <netinet/ip.h>
8570 if test "x$ac_cv_header_net_route_h" = xyes
8572 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8575 ac_fn_c_check_header_compile
"$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8576 #include <sys/socket.h>
8577 #ifdef HAVE_SYS_SOCKETVAR_H
8578 # include <sys/socketvar.h>
8580 #ifdef HAVE_NET_ROUTE_H
8581 # include <net/route.h>
8583 #ifdef HAVE_NETINET_IN_H
8584 # include <netinet/in.h>
8586 #ifdef HAVE_NETINET_IN_SYSTM_H
8587 # include <netinet/in_systm.h>
8589 #ifdef HAVE_NET_IF_H
8590 # include <net/if.h>
8592 #ifdef HAVE_NETINET_IP_H
8593 # include <netinet/ip.h>
8596 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8598 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8601 ac_fn_c_check_header_compile
"$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8602 #include <sys/socket.h>
8603 #ifdef HAVE_SYS_SOCKETVAR_H
8604 # include <sys/socketvar.h>
8606 #ifdef HAVE_NET_ROUTE_H
8607 # include <net/route.h>
8609 #ifdef HAVE_NETINET_IN_H
8610 # include <netinet/in.h>
8612 #ifdef HAVE_NETINET_IN_SYSTM_H
8613 # include <netinet/in_systm.h>
8615 #ifdef HAVE_NET_IF_H
8616 # include <net/if.h>
8618 #ifdef HAVE_NETINET_IP_H
8619 # include <netinet/ip.h>
8622 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8624 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8627 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8628 #include <sys/socket.h>
8629 #ifdef HAVE_SYS_SOCKETVAR_H
8630 # include <sys/socketvar.h>
8632 #ifdef HAVE_NET_ROUTE_H
8633 # include <net/route.h>
8635 #ifdef HAVE_NETINET_IN_H
8636 # include <netinet/in.h>
8638 #ifdef HAVE_NETINET_IN_SYSTM_H
8639 # include <netinet/in_systm.h>
8641 #ifdef HAVE_NET_IF_H
8642 # include <net/if.h>
8644 #ifdef HAVE_NETINET_IP_H
8645 # include <netinet/ip.h>
8648 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8650 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8653 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8654 #include <sys/socket.h>
8655 #ifdef HAVE_SYS_SOCKETVAR_H
8656 # include <sys/socketvar.h>
8658 #ifdef HAVE_NET_ROUTE_H
8659 # include <net/route.h>
8661 #ifdef HAVE_NETINET_IN_H
8662 # include <netinet/in.h>
8664 #ifdef HAVE_NETINET_IN_SYSTM_H
8665 # include <netinet/in_systm.h>
8667 #ifdef HAVE_NET_IF_H
8668 # include <net/if.h>
8670 #ifdef HAVE_NETINET_IP_H
8671 # include <netinet/ip.h>
8674 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8676 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8679 ac_fn_c_check_header_compile
"$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8680 #include <sys/socket.h>
8681 #ifdef HAVE_SYS_SOCKETVAR_H
8682 # include <sys/socketvar.h>
8684 #ifdef HAVE_NET_ROUTE_H
8685 # include <net/route.h>
8687 #ifdef HAVE_NETINET_IN_H
8688 # include <netinet/in.h>
8690 #ifdef HAVE_NETINET_IN_SYSTM_H
8691 # include <netinet/in_systm.h>
8693 #ifdef HAVE_NET_IF_H
8694 # include <net/if.h>
8696 #ifdef HAVE_NETINET_IP_H
8697 # include <netinet/ip.h>
8700 if test "x$ac_cv_header_netinet_udp_h" = xyes
8702 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8705 ac_fn_c_check_header_compile
"$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8706 #include <sys/socket.h>
8707 #ifdef HAVE_SYS_SOCKETVAR_H
8708 # include <sys/socketvar.h>
8710 #ifdef HAVE_NET_ROUTE_H
8711 # include <net/route.h>
8713 #ifdef HAVE_NETINET_IN_H
8714 # include <netinet/in.h>
8716 #ifdef HAVE_NETINET_IN_SYSTM_H
8717 # include <netinet/in_systm.h>
8719 #ifdef HAVE_NET_IF_H
8720 # include <net/if.h>
8722 #ifdef HAVE_NETINET_IP_H
8723 # include <netinet/ip.h>
8726 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8728 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8731 ac_fn_c_check_header_compile
"$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8732 #include <sys/socket.h>
8733 #ifdef HAVE_SYS_SOCKETVAR_H
8734 # include <sys/socketvar.h>
8736 #ifdef HAVE_NET_ROUTE_H
8737 # include <net/route.h>
8739 #ifdef HAVE_NETINET_IN_H
8740 # include <netinet/in.h>
8742 #ifdef HAVE_NETINET_IN_SYSTM_H
8743 # include <netinet/in_systm.h>
8745 #ifdef HAVE_NET_IF_H
8746 # include <net/if.h>
8748 #ifdef HAVE_NETINET_IP_H
8749 # include <netinet/ip.h>
8752 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8754 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8757 ac_fn_c_check_header_compile
"$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8758 #include <sys/socket.h>
8759 #ifdef HAVE_SYS_SOCKETVAR_H
8760 # include <sys/socketvar.h>
8762 #ifdef HAVE_NET_ROUTE_H
8763 # include <net/route.h>
8765 #ifdef HAVE_NETINET_IN_H
8766 # include <netinet/in.h>
8768 #ifdef HAVE_NETINET_IN_SYSTM_H
8769 # include <netinet/in_systm.h>
8771 #ifdef HAVE_NET_IF_H
8772 # include <net/if.h>
8774 #ifdef HAVE_NETINET_IP_H
8775 # include <netinet/ip.h>
8778 if test "x$ac_cv_header_sys_un_h" = xyes
8780 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8785 ac_fn_c_check_header_compile
"$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8786 #include <sys/socket.h>
8787 #ifdef HAVE_SYS_SOCKETVAR_H
8788 # include <sys/socketvar.h>
8790 #ifdef HAVE_NETINET_IN_H
8791 # include <netinet/in.h>
8793 #ifdef HAVE_NETINET_IN_SYSTM_H
8794 # include <netinet/in_systm.h>
8796 #ifdef HAVE_NETINET_IP_H
8797 # include <netinet/ip.h>
8799 #ifdef HAVE_NETINET_IP_VAR_H
8800 # include <netinet/ip_var.h>
8802 #ifdef HAVE_NETINET_IP_ICMP_H
8803 # include <netinet/ip_icmp.h>
8805 #ifdef HAVE_NETINET_UDP_H
8806 # include <netinet/udp.h>
8808 #ifdef HAVE_NETINET_TCP_H
8809 # include <netinet/tcp.h>
8812 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8814 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8817 ac_fn_c_check_header_compile
"$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8818 #include <sys/socket.h>
8819 #ifdef HAVE_SYS_SOCKETVAR_H
8820 # include <sys/socketvar.h>
8822 #ifdef HAVE_NETINET_IN_H
8823 # include <netinet/in.h>
8825 #ifdef HAVE_NETINET_IN_SYSTM_H
8826 # include <netinet/in_systm.h>
8828 #ifdef HAVE_NETINET_IP_H
8829 # include <netinet/ip.h>
8831 #ifdef HAVE_NETINET_IP_VAR_H
8832 # include <netinet/ip_var.h>
8834 #ifdef HAVE_NETINET_IP_ICMP_H
8835 # include <netinet/ip_icmp.h>
8837 #ifdef HAVE_NETINET_UDP_H
8838 # include <netinet/udp.h>
8840 #ifdef HAVE_NETINET_TCP_H
8841 # include <netinet/tcp.h>
8844 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8846 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8849 ac_fn_c_check_header_compile
"$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8850 #include <sys/socket.h>
8851 #ifdef HAVE_SYS_SOCKETVAR_H
8852 # include <sys/socketvar.h>
8854 #ifdef HAVE_NETINET_IN_H
8855 # include <netinet/in.h>
8857 #ifdef HAVE_NETINET_IN_SYSTM_H
8858 # include <netinet/in_systm.h>
8860 #ifdef HAVE_NETINET_IP_H
8861 # include <netinet/ip.h>
8863 #ifdef HAVE_NETINET_IP_VAR_H
8864 # include <netinet/ip_var.h>
8866 #ifdef HAVE_NETINET_IP_ICMP_H
8867 # include <netinet/ip_icmp.h>
8869 #ifdef HAVE_NETINET_UDP_H
8870 # include <netinet/udp.h>
8872 #ifdef HAVE_NETINET_TCP_H
8873 # include <netinet/tcp.h>
8876 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8878 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8881 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8882 #include <sys/socket.h>
8883 #ifdef HAVE_SYS_SOCKETVAR_H
8884 # include <sys/socketvar.h>
8886 #ifdef HAVE_NETINET_IN_H
8887 # include <netinet/in.h>
8889 #ifdef HAVE_NETINET_IN_SYSTM_H
8890 # include <netinet/in_systm.h>
8892 #ifdef HAVE_NETINET_IP_H
8893 # include <netinet/ip.h>
8895 #ifdef HAVE_NETINET_IP_VAR_H
8896 # include <netinet/ip_var.h>
8898 #ifdef HAVE_NETINET_IP_ICMP_H
8899 # include <netinet/ip_icmp.h>
8901 #ifdef HAVE_NETINET_UDP_H
8902 # include <netinet/udp.h>
8904 #ifdef HAVE_NETINET_TCP_H
8905 # include <netinet/tcp.h>
8908 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8910 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8915 ac_fn_c_check_header_compile
"$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8916 #include <sys/socket.h>
8917 #ifdef HAVE_ASM_TYPES_H
8918 # include <asm/types.h>
8920 #ifdef HAVE_LINUX_TYPES_H
8921 # include <linux/types.h>
8924 if test "x$ac_cv_header_linux_ipx_h" = xyes
8926 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8929 ac_fn_c_check_header_compile
"$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8930 #include <sys/socket.h>
8931 #ifdef HAVE_ASM_TYPES_H
8932 # include <asm/types.h>
8934 #ifdef HAVE_LINUX_TYPES_H
8935 # include <linux/types.h>
8938 if test "x$ac_cv_header_linux_irda_h" = xyes
8940 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
8943 ac_fn_c_check_header_compile
"$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
8944 #include <sys/socket.h>
8945 #ifdef HAVE_ASM_TYPES_H
8946 # include <asm/types.h>
8948 #ifdef HAVE_LINUX_TYPES_H
8949 # include <linux/types.h>
8952 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
8954 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
8959 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
8960 #include <sys/socket.h>
8961 #ifdef HAVE_NETINET_IN_H
8962 # include <netinet/in.h>
8964 #ifdef HAVE_ARPA_NAMESER_H
8965 # include <arpa/nameser.h>
8968 if test "x$ac_cv_header_resolv_h" = xyes
8970 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
8975 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
8977 if test "x$ac_cv_header_ifaddrs_h" = xyes
8979 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
8984 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
8986 if test "x$ac_cv_header_sys_ucontext_h" = xyes
8988 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
8993 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
8994 #ifdef HAVE_SYS_UCONTEXT_H
8995 #include <sys/ucontext.h>
8998 if test "x$ac_cv_header_sys_thr_h" = xyes
9000 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9005 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9006 #include <pthread.h>
9009 if test "x$ac_cv_header_pthread_np_h" = xyes
9011 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9016 ac_fn_c_check_header_compile
"$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9017 #include <sys/types.h>
9018 #ifdef HAVE_ASM_TYPES_H
9019 #include <asm/types.h>
9022 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9024 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9029 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9030 #include <sys/param.h>
9032 #include <sys/socket.h>
9033 #ifdef HAVE_SYS_QUEUE_H
9034 #include <sys/queue.h>
9037 if test "x$ac_cv_header_libprocstat_h" = xyes
9039 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9044 if test "x$ac_cv_header_sys_xattr_h" = xyes
9046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9047 printf %s
"checking whether getxattr takes additional arguments... " >&6; }
9048 if test ${wine_cv_xattr_extra_args+y}
9050 printf %s
"(cached) " >&6
9052 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9053 /* end confdefs.h. */
9054 #include <sys/xattr.h>
9058 getxattr("", "", "", 0, 0, 0);
9063 if ac_fn_c_try_compile
"$LINENO"
9065 wine_cv_xattr_extra_args
=yes
9067 wine_cv_xattr_extra_args
=no
9069 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
9071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9072 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9073 test $wine_cv_xattr_extra_args != yes ||
9074 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9087 UNIXDLLFLAGS
="-fPIC"
9089 UNIXLDFLAGS
="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9095 WINELOADER_LDFLAGS
=""
9097 WINEPRELOADER_LDFLAGS
=""
9100 # Extract the first word of "ldd", so it can be a program name with args.
9101 set dummy ldd
; ac_word
=$2
9102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9103 printf %s
"checking for $ac_word... " >&6; }
9104 if test ${ac_cv_path_LDD+y}
9106 printf %s
"(cached) " >&6
9110 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
9113 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9114 as_dummy
="/sbin:/usr/sbin:$PATH"
9115 for as_dir
in $as_dummy
9118 case $as_dir in #(((
9121 *) as_dir
=$as_dir/ ;;
9123 for ac_exec_ext
in '' $ac_executable_extensions; do
9124 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9125 ac_cv_path_LDD
="$as_dir$ac_word$ac_exec_ext"
9126 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9133 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
9138 if test -n "$LDD"; then
9139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9140 printf "%s\n" "$LDD" >&6; }
9142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9143 printf "%s\n" "no" >&6; }
9147 if test -n "$ac_tool_prefix"; then
9148 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9149 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
9150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9151 printf %s
"checking for $ac_word... " >&6; }
9152 if test ${ac_cv_prog_OTOOL+y}
9154 printf %s
"(cached) " >&6
9156 if test -n "$OTOOL"; then
9157 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
9159 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9163 case $as_dir in #(((
9166 *) as_dir
=$as_dir/ ;;
9168 for ac_exec_ext
in '' $ac_executable_extensions; do
9169 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9170 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
9171 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9180 OTOOL
=$ac_cv_prog_OTOOL
9181 if test -n "$OTOOL"; then
9182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9183 printf "%s\n" "$OTOOL" >&6; }
9185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9186 printf "%s\n" "no" >&6; }
9191 if test -z "$ac_cv_prog_OTOOL"; then
9193 # Extract the first word of "otool", so it can be a program name with args.
9194 set dummy otool
; ac_word
=$2
9195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9196 printf %s
"checking for $ac_word... " >&6; }
9197 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9199 printf %s
"(cached) " >&6
9201 if test -n "$ac_ct_OTOOL"; then
9202 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
9204 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9208 case $as_dir in #(((
9211 *) as_dir
=$as_dir/ ;;
9213 for ac_exec_ext
in '' $ac_executable_extensions; do
9214 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9215 ac_cv_prog_ac_ct_OTOOL
="otool"
9216 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9225 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
9226 if test -n "$ac_ct_OTOOL"; then
9227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9228 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9231 printf "%s\n" "no" >&6; }
9234 if test "x$ac_ct_OTOOL" = x
; then
9237 case $cross_compiling:$ac_tool_warned in
9239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9240 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9241 ac_tool_warned
=yes ;;
9246 OTOOL
="$ac_cv_prog_OTOOL"
9249 if test -n "$ac_tool_prefix"; then
9250 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9251 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
9252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9253 printf %s
"checking for $ac_word... " >&6; }
9254 if test ${ac_cv_prog_READELF+y}
9256 printf %s
"(cached) " >&6
9258 if test -n "$READELF"; then
9259 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
9261 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9265 case $as_dir in #(((
9268 *) as_dir
=$as_dir/ ;;
9270 for ac_exec_ext
in '' $ac_executable_extensions; do
9271 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9272 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
9273 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9282 READELF
=$ac_cv_prog_READELF
9283 if test -n "$READELF"; then
9284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9285 printf "%s\n" "$READELF" >&6; }
9287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9288 printf "%s\n" "no" >&6; }
9293 if test -z "$ac_cv_prog_READELF"; then
9294 ac_ct_READELF
=$READELF
9295 # Extract the first word of "readelf", so it can be a program name with args.
9296 set dummy readelf
; ac_word
=$2
9297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9298 printf %s
"checking for $ac_word... " >&6; }
9299 if test ${ac_cv_prog_ac_ct_READELF+y}
9301 printf %s
"(cached) " >&6
9303 if test -n "$ac_ct_READELF"; then
9304 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
9306 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9310 case $as_dir in #(((
9313 *) as_dir
=$as_dir/ ;;
9315 for ac_exec_ext
in '' $ac_executable_extensions; do
9316 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9317 ac_cv_prog_ac_ct_READELF
="readelf"
9318 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9327 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
9328 if test -n "$ac_ct_READELF"; then
9329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9330 printf "%s\n" "$ac_ct_READELF" >&6; }
9332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9333 printf "%s\n" "no" >&6; }
9336 if test "x$ac_ct_READELF" = x
; then
9339 case $cross_compiling:$ac_tool_warned in
9341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9342 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9343 ac_tool_warned
=yes ;;
9345 READELF
=$ac_ct_READELF
9348 READELF
="$ac_cv_prog_READELF"
9356 CONFIGURE_TARGETS
=""
9359 wine_fn_config_makefile
()
9361 as_fn_append SUBDIRS
" \\$as_nl $1"
9364 no
) as_fn_append DISABLED_SUBDIRS
" $1" ;;
9365 *aarch64
*|
*arm
*|
*i386
*|
*x86_64
*)
9366 if test -n "$PE_ARCHS"
9370 test $
(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append
${i}_DISABLED_SUBDIRS
" $1"
9373 test $
(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS
" $1"
9378 wine_fn_config_symlink
()
9381 as_fn_append wine_rules
"
9383 @./config.status \$@"
9384 for f
in $ac_links; do as_fn_append CONFIGURE_TARGETS
" $f"; done
9387 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
9392 EXTRACFLAGS
="-D__WINE_PE_BUILD"
9394 *i
[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9395 printf %s
"checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9396 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9398 printf %s
"(cached) " >&6
9400 ac_wine_try_cflags_saved
=$CFLAGS
9401 CFLAGS
="$CFLAGS -Wl,--disable-stdcall-fixup"
9402 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9403 /* end confdefs.h. */
9404 int main(int argc, char **argv) { return 0; }
9406 if ac_fn_c_try_link
"$LINENO"
9408 ac_cv_cflags__Wl___disable_stdcall_fixup
=yes
9410 ac_cv_cflags__Wl___disable_stdcall_fixup
=no
9412 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9413 conftest
$ac_exeext conftest.
$ac_ext
9414 CFLAGS
=$ac_wine_try_cflags_saved
9416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9417 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9418 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9420 LDDLLFLAGS
="-Wl,--disable-stdcall-fixup"
9423 enable_loader
=${enable_loader:-no}
9424 enable_server
=${enable_server:-no}
9425 with_x
=${with_x:-no}
9426 with_pthread
=${with_pthread:-no}
9431 DLLFLAGS
="$DLLFLAGS -fPIC"
9433 enable_winemac_drv
=${enable_winemac_drv:-yes}
9434 CARBON_LIBS
="-framework Carbon"
9436 COREFOUNDATION_LIBS
="-framework CoreFoundation"
9438 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
9440 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
9442 METAL_LIBS
="-framework Metal"
9444 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
9446 CORESERVICES_LIBS
="-framework CoreServices"
9448 APPKIT_LIBS
="-framework AppKit"
9450 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
9452 SYSTEMCONFIGURATION_LIBS
="-framework SystemConfiguration"
9455 WINELOADER_LDFLAGS
="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9457 wine_can_build_preloader
=yes
9458 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"
9459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
9460 printf %s
"checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
9461 if test ${ac_cv_cflags__Wl__no_new_main__e__main+y}
9463 printf %s
"(cached) " >&6
9465 ac_wine_try_cflags_saved
=$CFLAGS
9466 CFLAGS
="$CFLAGS -Wl,-no_new_main -e _main"
9467 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9468 /* end confdefs.h. */
9469 int main(int argc, char **argv) { return 0; }
9471 if ac_fn_c_try_link
"$LINENO"
9473 ac_cv_cflags__Wl__no_new_main__e__main
=yes
9475 ac_cv_cflags__Wl__no_new_main__e__main
=no
9477 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9478 conftest
$ac_exeext conftest.
$ac_ext
9479 CFLAGS
=$ac_wine_try_cflags_saved
9481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
9482 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
9483 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes
9485 WINEPRELOADER_LDFLAGS
="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
9486 { 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
9487 printf %s
"checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9488 if test ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9490 printf %s
"(cached) " >&6
9492 ac_wine_try_cflags_saved
=$CFLAGS
9493 CFLAGS
="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9494 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9495 /* end confdefs.h. */
9496 int main(int argc, char **argv) { return 0; }
9498 if ac_fn_c_try_link
"$LINENO"
9500 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs
=yes
9502 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs
=no
9504 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9505 conftest
$ac_exeext conftest.
$ac_ext
9506 CFLAGS
=$ac_wine_try_cflags_saved
9508 { 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
9509 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9510 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9512 WINEPRELOADER_LDFLAGS
="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9514 wine_can_build_preloader
=no
9517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
9518 printf %s
"checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9519 if test ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9521 printf %s
"(cached) " >&6
9523 ac_wine_try_cflags_saved
=$CFLAGS
9524 CFLAGS
="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9525 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9526 /* end confdefs.h. */
9527 int main(int argc, char **argv) { return 0; }
9529 if ac_fn_c_try_link
"$LINENO"
9531 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs
=yes
9533 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs
=no
9535 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9536 conftest
$ac_exeext conftest.
$ac_ext
9537 CFLAGS
=$ac_wine_try_cflags_saved
9539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
9540 printf "%s\n" "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9541 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9543 WINEPRELOADER_LDFLAGS
="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9545 wine_can_build_preloader
=no
9548 if test "$wine_can_build_preloader" = "yes"
9550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9551 printf %s
"checking whether the compiler supports -Wl,-no_pie... " >&6; }
9552 if test ${ac_cv_cflags__Wl__no_pie+y}
9554 printf %s
"(cached) " >&6
9556 ac_wine_try_cflags_saved
=$CFLAGS
9557 CFLAGS
="$CFLAGS -Wl,-no_pie"
9558 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9559 /* end confdefs.h. */
9560 int main(int argc, char **argv) { return 0; }
9562 if ac_fn_c_try_link
"$LINENO"
9564 ac_cv_cflags__Wl__no_pie
=yes
9566 ac_cv_cflags__Wl__no_pie
=no
9568 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9569 conftest
$ac_exeext conftest.
$ac_ext
9570 CFLAGS
=$ac_wine_try_cflags_saved
9572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9573 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9574 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9576 WINEPRELOADER_LDFLAGS
="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9578 WINELOADER_LDFLAGS
="$WINELOADER_LDFLAGS -mmacosx-version-min=10.7"
9580 as_fn_append wine_warnings
"|can't build Wine preloader; many programs won't work"
9583 if test "x$with_coreaudio" != "xno";
9585 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9587 enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-yes}
9589 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9591 OPENCL_LIBS
="-framework OpenCL"
9593 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
9596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9597 printf %s
"checking whether MTLDevice protocol supports registryID property... " >&6; }
9599 ac_cpp
='$OBJCPP $CPPFLAGS'
9600 ac_compile
='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9601 ac_link
='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9602 ac_compiler_gnu
=$ac_cv_objc_compiler_gnu
9605 ac_cpp
='$OBJCPP $CPPFLAGS'
9606 ac_compile
='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9607 ac_link
='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9608 ac_compiler_gnu
=$ac_cv_objc_compiler_gnu
9609 if test -n "$ac_tool_prefix"; then
9610 for ac_prog
in gcc objcc objc cc CC clang
9612 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9613 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
9614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9615 printf %s
"checking for $ac_word... " >&6; }
9616 if test ${ac_cv_prog_OBJC+y}
9618 printf %s
"(cached) " >&6
9620 if test -n "$OBJC"; then
9621 ac_cv_prog_OBJC
="$OBJC" # Let the user override the test.
9623 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9627 case $as_dir in #(((
9630 *) as_dir
=$as_dir/ ;;
9632 for ac_exec_ext
in '' $ac_executable_extensions; do
9633 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9634 ac_cv_prog_OBJC
="$ac_tool_prefix$ac_prog"
9635 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9644 OBJC
=$ac_cv_prog_OBJC
9645 if test -n "$OBJC"; then
9646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9647 printf "%s\n" "$OBJC" >&6; }
9649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9650 printf "%s\n" "no" >&6; }
9654 test -n "$OBJC" && break
9657 if test -z "$OBJC"; then
9659 for ac_prog
in gcc objcc objc cc CC clang
9661 # Extract the first word of "$ac_prog", so it can be a program name with args.
9662 set dummy
$ac_prog; ac_word
=$2
9663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9664 printf %s
"checking for $ac_word... " >&6; }
9665 if test ${ac_cv_prog_ac_ct_OBJC+y}
9667 printf %s
"(cached) " >&6
9669 if test -n "$ac_ct_OBJC"; then
9670 ac_cv_prog_ac_ct_OBJC
="$ac_ct_OBJC" # Let the user override the test.
9672 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9676 case $as_dir in #(((
9679 *) as_dir
=$as_dir/ ;;
9681 for ac_exec_ext
in '' $ac_executable_extensions; do
9682 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9683 ac_cv_prog_ac_ct_OBJC
="$ac_prog"
9684 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9693 ac_ct_OBJC
=$ac_cv_prog_ac_ct_OBJC
9694 if test -n "$ac_ct_OBJC"; then
9695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9696 printf "%s\n" "$ac_ct_OBJC" >&6; }
9698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9699 printf "%s\n" "no" >&6; }
9703 test -n "$ac_ct_OBJC" && break
9706 if test "x$ac_ct_OBJC" = x
; then
9709 case $cross_compiling:$ac_tool_warned in
9711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9712 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9713 ac_tool_warned
=yes ;;
9719 # Provide some information about the compiler.
9720 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9723 for ac_option
in --version -v -V -qversion; do
9724 { { ac_try
="$ac_compiler $ac_option >&5"
9726 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9727 *) ac_try_echo=$ac_try;;
9729 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9730 printf "%s\n" "$ac_try_echo"; } >&5
9731 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9733 if test -s conftest.err; then
9735 ... rest of stderr output deleted ...
9736 10q' conftest.err >conftest.er1
9737 cat conftest.er1 >&5
9739 rm -f conftest.er1 conftest.err
9740 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9741 test $ac_status = 0; }
9744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9745 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9746 if test ${ac_cv_objc_compiler_gnu+y}
9748 printf %s "(cached) " >&6
9750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9751 /* end confdefs.h. */
9764 if ac_fn_objc_try_compile "$LINENO"
9770 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9771 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9775 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9776 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9778 if test $ac_compiler_gnu = yes; then
9783 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9784 ac_save_OBJCFLAGS=$OBJCFLAGS
9785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9786 printf %s "checking whether $OBJC accepts -g... " >&6; }
9787 if test ${ac_cv_prog_objc_g+y}
9789 printf %s "(cached) " >&6
9791 ac_save_objc_werror_flag=$ac_objc_werror_flag
9792 ac_objc_werror_flag=yes
9793 ac_cv_prog_objc_g=no
9795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9796 /* end confdefs.h. */
9806 if ac_fn_objc_try_compile "$LINENO"
9808 ac_cv_prog_objc_g=yes
9811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9812 /* end confdefs.h. */
9822 if ac_fn_objc_try_compile "$LINENO"
9826 ac_objc_werror_flag=$ac_save_objc_werror_flag
9828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9829 /* end confdefs.h. */
9839 if ac_fn_objc_try_compile "$LINENO"
9841 ac_cv_prog_objc_g=yes
9843 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9845 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9847 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9848 ac_objc_werror_flag=$ac_save_objc_werror_flag
9850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9851 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9852 if test $ac_test_OBJCFLAGS; then
9853 OBJCFLAGS=$ac_save_OBJCFLAGS
9854 elif test $ac_cv_prog_objc_g = yes; then
9855 if test "$GOBJC" = yes; then
9861 if test "$GOBJC" = yes; then
9868 ac_cpp='$OBJCPP $CPPFLAGS'
9869 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9870 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9871 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9875 /* end confdefs.h. */
9876 #include <Metal/Metal.h>
9880 id<MTLDevice> device; device.registryID;
9885 if ac_fn_objc_try_compile "$LINENO"
9887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9888 printf "%s\n" "yes" >&6; }
9890 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9894 printf "%s\n" "no" >&6; }
9896 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9898 ac_cpp='$CPP $CPPFLAGS'
9899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9904 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
9905 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9907 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9909 WINELOADER_DEPENDS="wine_info.plist"
9911 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9916 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
9918 DLLFLAGS="$DLLFLAGS -fPIC"
9920 LDEXECFLAGS="-Wl,-pie"
9921 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9923 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9924 if test ${ac_cv_cflags__Wl__z_defs+y}
9926 printf %s "(cached) " >&6
9928 ac_wine_try_cflags_saved=$CFLAGS
9929 CFLAGS="$CFLAGS -Wl,-z,defs"
9930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9931 /* end confdefs.h. */
9932 int main(int argc, char **argv) { return 0; }
9934 if ac_fn_c_try_link "$LINENO"
9936 ac_cv_cflags__Wl__z_defs=yes
9938 ac_cv_cflags__Wl__z_defs=no
9940 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9941 conftest$ac_exeext conftest.$ac_ext
9942 CFLAGS=$ac_wine_try_cflags_saved
9944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9945 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
9946 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
9948 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9951 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9952 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
9954 printf %s "(cached) " >&6
9956 ac_wine_try_cflags_saved=$CFLAGS
9957 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9959 /* end confdefs.h. */
9960 int main(int argc, char **argv) { return 0; }
9962 if ac_fn_c_try_link "$LINENO"
9964 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9966 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9968 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9969 conftest$ac_exeext conftest.$ac_ext
9970 CFLAGS=$ac_wine_try_cflags_saved
9972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9973 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9974 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
9976 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9978 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9981 printf %s "checking for -lEGL... " >&6; }
9982 if test ${ac_cv_lib_soname_EGL+y}
9984 printf %s "(cached) " >&6
9986 ac_check_soname_save_LIBS=$LIBS
9988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9989 /* end confdefs.h. */
9991 /* Override any GCC internal prototype to avoid an error.
9992 Use char because int might match the return type of a GCC
9993 builtin and then its argument prototype would still apply. */
9994 char eglGetProcAddress ();
9998 return eglGetProcAddress ();
10003 if ac_fn_c_try_link "$LINENO"
10006 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe |
grep "EGL" |
sed -e "s/dll.*/dll/"';2,$d'` ;;
10007 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'` ;;
10008 *) ac_cv_lib_soname_EGL=`$READELF -d conftest
$ac_exeext |
grep "NEEDED.*libEGL\\.$LIBEXT" |
sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10009 if ${ac_cv_lib_soname_EGL:+false} :
10011 ac_cv_lib_soname_EGL=`$LDD conftest
$ac_exeext |
grep "libEGL\\.$LIBEXT" |
sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10015 ac_cv_lib_soname_EGL=
10017 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10018 conftest$ac_exeext conftest.$ac_ext
10019 LIBS=$ac_check_soname_save_LIBS
10021 if ${ac_cv_lib_soname_EGL:+false} :
10023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10024 printf "%s\n" "not found" >&6; }
10027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10028 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10030 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10035 printf %s "checking for -lGLESv2... " >&6; }
10036 if test ${ac_cv_lib_soname_GLESv2+y}
10038 printf %s "(cached) " >&6
10040 ac_check_soname_save_LIBS=$LIBS
10041 LIBS="-lGLESv2 $LIBS"
10042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10043 /* end confdefs.h. */
10045 /* Override any GCC internal prototype to avoid an error.
10046 Use char because int might match the return type of a GCC
10047 builtin and then its argument prototype would still apply. */
10057 if ac_fn_c_try_link "$LINENO"
10060 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe |
grep "GLESv2" |
sed -e "s/dll.*/dll/"';2,$d'` ;;
10061 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'` ;;
10062 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest
$ac_exeext |
grep "NEEDED.*libGLESv2\\.$LIBEXT" |
sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10063 if ${ac_cv_lib_soname_GLESv2:+false} :
10065 ac_cv_lib_soname_GLESv2=`$LDD conftest
$ac_exeext |
grep "libGLESv2\\.$LIBEXT" |
sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10069 ac_cv_lib_soname_GLESv2=
10071 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10072 conftest$ac_exeext conftest.$ac_ext
10073 LIBS=$ac_check_soname_save_LIBS
10075 if ${ac_cv_lib_soname_GLESv2:+false} :
10077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10078 printf "%s\n" "not found" >&6; }
10081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10082 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10084 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10089 if test "x$exec_prefix" = xNONE
10092 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10093 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10094 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10095 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10102 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10104 test "$ac_cv_sys_file_offset_bits" = 64 &&
10105 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10109 DLLFLAGS="$DLLFLAGS -fno-PIC"
10110 LDDLLFLAGS="-fno-PIC"
10111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10112 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10113 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10115 printf %s "(cached) " >&6
10117 ac_wine_try_cflags_saved=$CFLAGS
10118 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10120 /* end confdefs.h. */
10121 int main(int argc, char **argv) { return 0; }
10123 if ac_fn_c_try_link "$LINENO"
10125 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10127 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10129 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10130 conftest$ac_exeext conftest.$ac_ext
10131 CFLAGS=$ac_wine_try_cflags_saved
10133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10134 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10135 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10137 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10141 DLLFLAGS="$DLLFLAGS -fPIC"
10142 LDDLLFLAGS="-fPIC" ;;
10144 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
10146 echo '{ global: *; };' >conftest.map
10147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
10148 printf %s "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
10149 if test ${ac_cv_cflags__shared__Wl___version_script_conftest_map+y}
10151 printf %s "(cached) " >&6
10153 ac_wine_try_cflags_saved=$CFLAGS
10154 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
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__shared__Wl___version_script_conftest_map=yes
10163 ac_cv_cflags__shared__Wl___version_script_conftest_map=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__shared__Wl___version_script_conftest_map" >&5
10170 printf "%s\n" "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
10171 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes
10173 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
10177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10178 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10179 if test ${ac_cv_cflags__Wl__z_defs+y}
10181 printf %s "(cached) " >&6
10183 ac_wine_try_cflags_saved=$CFLAGS
10184 CFLAGS="$CFLAGS -Wl,-z,defs"
10185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10186 /* end confdefs.h. */
10187 int main(int argc, char **argv) { return 0; }
10189 if ac_fn_c_try_link "$LINENO"
10191 ac_cv_cflags__Wl__z_defs=yes
10193 ac_cv_cflags__Wl__z_defs=no
10195 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10196 conftest$ac_exeext conftest.$ac_ext
10197 CFLAGS=$ac_wine_try_cflags_saved
10199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10200 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10201 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10203 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10206 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10207 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10209 printf %s "(cached) " >&6
10211 ac_wine_try_cflags_saved=$CFLAGS
10212 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10214 /* end confdefs.h. */
10215 int main(int argc, char **argv) { return 0; }
10217 if ac_fn_c_try_link "$LINENO"
10219 ac_cv_cflags__Wl___export_dynamic=yes
10221 ac_cv_cflags__Wl___export_dynamic=no
10223 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10224 conftest$ac_exeext conftest.$ac_ext
10225 CFLAGS=$ac_wine_try_cflags_saved
10227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10228 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10229 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10231 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10233 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10236 *i[3456789]86* | x86_64 | *aarch64* | arm*)
10237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
10238 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
10239 if test ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+y}
10241 printf %s "(cached) " >&6
10243 ac_wine_try_cflags_saved=$CFLAGS
10244 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
10245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10246 /* end confdefs.h. */
10247 int main(int argc, char **argv) { return 0; }
10249 if ac_fn_c_try_link "$LINENO"
10251 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
10253 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
10255 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10256 conftest$ac_exeext conftest.$ac_ext
10257 CFLAGS=$ac_wine_try_cflags_saved
10259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
10260 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
10261 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
10264 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
10265 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
10268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
10269 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
10270 if test ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+y}
10272 printf %s "(cached) " >&6
10274 ac_wine_try_cflags_saved=$CFLAGS
10275 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
10276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10277 /* end confdefs.h. */
10278 int main(int argc, char **argv) { return 0; }
10280 if ac_fn_c_try_link "$LINENO"
10282 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
10284 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
10286 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10287 conftest$ac_exeext conftest.$ac_ext
10288 CFLAGS=$ac_wine_try_cflags_saved
10290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
10291 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
10292 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes
10295 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
10296 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
10299 # Extract the first word of "prelink", so it can be a program name with args.
10300 set dummy prelink; ac_word=$2
10301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10302 printf %s "checking for $ac_word... " >&6; }
10303 if test ${ac_cv_path_PRELINK+y}
10305 printf %s "(cached) " >&6
10309 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
10312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10313 for as_dir in /sbin /usr/sbin $PATH
10316 case $as_dir in #(((
10319 *) as_dir=$as_dir/ ;;
10321 for ac_exec_ext in '' $ac_executable_extensions; do
10322 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10323 ac_cv_path_PRELINK="$as_dir$ac_word$ac_exec_ext"
10324 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10331 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
10335 PRELINK=$ac_cv_path_PRELINK
10336 if test -n "$PRELINK"; then
10337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
10338 printf "%s\n" "$PRELINK" >&6; }
10340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10341 printf "%s\n" "no" >&6; }
10345 if test "x$PRELINK" = xfalse
10347 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
10350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
10351 printf %s "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
10352 if test ${ac_cv_cflags__Wl__z_max_page_size_0x1000+y}
10354 printf %s "(cached) " >&6
10356 ac_wine_try_cflags_saved=$CFLAGS
10357 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
10358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10359 /* end confdefs.h. */
10360 int main(int argc, char **argv) { return 0; }
10362 if ac_fn_c_try_link "$LINENO"
10364 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
10366 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
10368 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10369 conftest$ac_exeext conftest.$ac_ext
10370 CFLAGS=$ac_wine_try_cflags_saved
10372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
10373 printf "%s\n" "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
10374 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
10376 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
10380 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
10382 LIBWINE_DEPENDS="wine.map"
10384 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
10388 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10389 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10390 enable_winemac_drv=${enable_winemac_drv:-no}
10395 if test ${enable_archs+y}
10397 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10400 set x $enable_archs
10406 i386|x86_64|arm|aarch64) cross_archs="$cross_archs $arch" ;;
10407 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10411 if test "x$with_mingw" != xno
10413 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10414 case "x$with_mingw" in
10416 *) eval "${cross_archs}_CC=\$with_mingw" ;;
10421 for wine_arch in $cross_archs
10423 if eval \${${wine_arch}_CC:+false} :
10427 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10429 # Extract the first word of "$ac_prog", so it can be a program name with args.
10430 set dummy $ac_prog; ac_word=$2
10431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10432 printf %s "checking for $ac_word... " >&6; }
10433 if test ${ac_cv_prog_aarch64_CC+y}
10435 printf %s "(cached) " >&6
10437 if test -n "$aarch64_CC"; then
10438 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10441 for as_dir in $PATH
10444 case $as_dir in #(((
10447 *) as_dir=$as_dir/ ;;
10449 for ac_exec_ext in '' $ac_executable_extensions; do
10450 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10451 ac_cv_prog_aarch64_CC="$ac_prog"
10452 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10461 aarch64_CC=$ac_cv_prog_aarch64_CC
10462 if test -n "$aarch64_CC"; then
10463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10464 printf "%s\n" "$aarch64_CC" >&6; }
10466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10467 printf "%s\n" "no" >&6; }
10471 test -n "$aarch64_CC" && break
10473 test -n "$aarch64_CC" || aarch64_CC="false"
10477 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10479 # Extract the first word of "$ac_prog", so it can be a program name with args.
10480 set dummy $ac_prog; ac_word=$2
10481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10482 printf %s "checking for $ac_word... " >&6; }
10483 if test ${ac_cv_prog_arm_CC+y}
10485 printf %s "(cached) " >&6
10487 if test -n "$arm_CC"; then
10488 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10491 for as_dir in $PATH
10494 case $as_dir in #(((
10497 *) as_dir=$as_dir/ ;;
10499 for ac_exec_ext in '' $ac_executable_extensions; do
10500 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10501 ac_cv_prog_arm_CC="$ac_prog"
10502 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10511 arm_CC=$ac_cv_prog_arm_CC
10512 if test -n "$arm_CC"; then
10513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10514 printf "%s\n" "$arm_CC" >&6; }
10516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10517 printf "%s\n" "no" >&6; }
10521 test -n "$arm_CC" && break
10523 test -n "$arm_CC" || arm_CC="false"
10527 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 "
10528 for ac_prog in $ac_prefix_list clang
10530 # Extract the first word of "$ac_prog", so it can be a program name with args.
10531 set dummy $ac_prog; ac_word=$2
10532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10533 printf %s "checking for $ac_word... " >&6; }
10534 if test ${ac_cv_prog_i386_CC+y}
10536 printf %s "(cached) " >&6
10538 if test -n "$i386_CC"; then
10539 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10542 for as_dir in $PATH
10545 case $as_dir in #(((
10548 *) as_dir=$as_dir/ ;;
10550 for ac_exec_ext in '' $ac_executable_extensions; do
10551 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10552 ac_cv_prog_i386_CC="$ac_prog"
10553 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10562 i386_CC=$ac_cv_prog_i386_CC
10563 if test -n "$i386_CC"; then
10564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10565 printf "%s\n" "$i386_CC" >&6; }
10567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10568 printf "%s\n" "no" >&6; }
10572 test -n "$i386_CC" && break
10574 test -n "$i386_CC" || i386_CC="false"
10578 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10579 for ac_prog in $ac_prefix_list clang
10581 # Extract the first word of "$ac_prog", so it can be a program name with args.
10582 set dummy $ac_prog; ac_word=$2
10583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10584 printf %s "checking for $ac_word... " >&6; }
10585 if test ${ac_cv_prog_x86_64_CC+y}
10587 printf %s "(cached) " >&6
10589 if test -n "$x86_64_CC"; then
10590 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10593 for as_dir in $PATH
10596 case $as_dir in #(((
10599 *) as_dir=$as_dir/ ;;
10601 for ac_exec_ext in '' $ac_executable_extensions; do
10602 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10603 ac_cv_prog_x86_64_CC="$ac_prog"
10604 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10613 x86_64_CC=$ac_cv_prog_x86_64_CC
10614 if test -n "$x86_64_CC"; then
10615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10616 printf "%s\n" "$x86_64_CC" >&6; }
10618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10619 printf "%s\n" "no" >&6; }
10623 test -n "$x86_64_CC" && break
10625 test -n "$x86_64_CC" || x86_64_CC="false"
10631 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10637 saved_CFLAGS=$CFLAGS
10639 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10640 eval CC=\$${wine_arch}_CC
10641 eval ${wine_arch}_CFLAGS=\$CFLAGS
10642 eval ${wine_arch}_LDFLAGS=\$CROSSLDFLAGS
10643 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10646 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" |
$as_tr_sh`
10648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10649 printf %s "checking whether $CC works... " >&6; }
10650 if eval test \${$as_wine_cv_crosscc+y}
10652 printf %s "(cached) " >&6
10654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10655 /* end confdefs.h. */
10665 if ac_fn_c_try_compile "$LINENO"
10667 eval "$as_wine_cv_crosscc=yes"
10669 eval "$as_wine_cv_crosscc=no"
10671 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10673 eval ac_res=\$$as_wine_cv_crosscc
10674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10675 printf "%s\n" "$ac_res" >&6; }
10676 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10680 while test $# -ge 1
10683 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10684 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10689 llvm_target=$target
10690 if test -z "$llvm_target"
10693 i386) llvm_target=i686-windows ;;
10694 arm) llvm_target=armv7-windows ;;
10695 *) llvm_target=$wine_arch-windows ;;
10698 llvm_extra_cflags="-target $llvm_target -fuse-ld=lld"
10699 case $llvm_target in
10700 *windows) llvm_cflags="-Wl,-subsystem:console -Wl,-WX" ;;
10702 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags" |
$as_tr_sh`
10703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags" >&5
10704 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags... " >&6; }
10705 if eval test \${$as_ac_var+y}
10707 printf %s "(cached) " >&6
10709 ac_wine_try_cflags_saved=$CFLAGS
10710 ac_wine_try_cflags_saved_exeext=$ac_exeext
10711 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags"
10713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10714 /* end confdefs.h. */
10715 int __cdecl mainCRTStartup(void) { return 0; }
10717 if ac_fn_c_try_link "$LINENO"
10719 eval "$as_ac_var=yes"
10721 eval "$as_ac_var=no"
10723 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10724 conftest$ac_exeext conftest.$ac_ext
10725 CFLAGS=$ac_wine_try_cflags_saved
10726 ac_exeext=$ac_wine_try_cflags_saved_exeext
10728 eval ac_res=\$$as_ac_var
10729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10730 printf "%s\n" "$ac_res" >&6; }
10731 if eval test \"x\$"$as_ac_var"\" = x"yes"
10733 target=$llvm_target
10734 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10735 as_fn_append ${wine_arch}_EXTRACFLAGS " $llvm_extra_cflags"
10736 CFLAGS="$llvm_extra_cflags $llvm_cflags"
10738 eval "${wine_arch}_TARGET=\$target"
10742 if test -z "$target"
10745 CFLAGS=$saved_CFLAGS
10748 as_fn_append PE_ARCHS " $wine_arch"
10750 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" |
$as_tr_sh`
10752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10753 printf %s "checking for $CC option to enable C99 features... " >&6; }
10754 if eval test \${$as_wine_cv_crosscc_c99+y}
10756 printf %s "(cached) " >&6
10758 eval "$as_wine_cv_crosscc_c99=no"
10759 for arg in '' '-std=gnu99'
10761 test -z "$arg" || CC="$CC $arg"
10762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10763 /* end confdefs.h. */
10764 $ac_c_conftest_c99_program
10766 if ac_fn_c_try_compile "$LINENO"
10768 eval "$as_wine_cv_crosscc_c99=\$arg"
10770 eval "$as_wine_cv_crosscc_c99=no"
10772 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10773 eval CC=\$${wine_arch}_CC
10774 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10783 eval res=\$$as_wine_cv_crosscc_c99
10785 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10786 printf "%s\n" "none needed" >&6; } ;;
10787 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10788 printf "%s\n" "unsupported" >&6; } ;;
10789 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10790 printf "%s\n" "$res" >&6; }
10791 as_fn_append ${wine_arch}_CC " $res" ;;
10795 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" |
$as_tr_sh`
10796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10797 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10798 if eval test \${$as_ac_var+y}
10800 printf %s "(cached) " >&6
10802 ac_wine_try_cflags_saved=$CFLAGS
10803 ac_wine_try_cflags_saved_exeext=$ac_exeext
10804 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-strict-aliasing"
10806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10807 /* end confdefs.h. */
10808 int __cdecl mainCRTStartup(void) { return 0; }
10810 if ac_fn_c_try_link "$LINENO"
10812 eval "$as_ac_var=yes"
10814 eval "$as_ac_var=no"
10816 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10817 conftest$ac_exeext conftest.$ac_ext
10818 CFLAGS=$ac_wine_try_cflags_saved
10819 ac_exeext=$ac_wine_try_cflags_saved_exeext
10821 eval ac_res=\$$as_ac_var
10822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10823 printf "%s\n" "$ac_res" >&6; }
10824 if eval test \"x\$"$as_ac_var"\" = x"yes"
10826 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10828 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" |
$as_tr_sh`
10829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10830 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10831 if eval test \${$as_ac_var+y}
10833 printf %s "(cached) " >&6
10835 ac_wine_try_cflags_saved=$CFLAGS
10836 ac_wine_try_cflags_saved_exeext=$ac_exeext
10837 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=unknown-warning-option"
10839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10840 /* end confdefs.h. */
10841 int __cdecl mainCRTStartup(void) { return 0; }
10843 if ac_fn_c_try_link "$LINENO"
10845 eval "$as_ac_var=yes"
10847 eval "$as_ac_var=no"
10849 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10850 conftest$ac_exeext conftest.$ac_ext
10851 CFLAGS=$ac_wine_try_cflags_saved
10852 ac_exeext=$ac_wine_try_cflags_saved_exeext
10854 eval ac_res=\$$as_ac_var
10855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10856 printf "%s\n" "$ac_res" >&6; }
10857 if eval test \"x\$"$as_ac_var"\" = x"yes"
10859 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10861 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" |
$as_tr_sh`
10862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
10863 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
10864 if eval test \${$as_ac_var+y}
10866 printf %s "(cached) " >&6
10868 ac_wine_try_cflags_saved=$CFLAGS
10869 ac_wine_try_cflags_saved_exeext=$ac_exeext
10870 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=ignored-optimization-argument"
10872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10873 /* end confdefs.h. */
10874 int __cdecl mainCRTStartup(void) { return 0; }
10876 if ac_fn_c_try_link "$LINENO"
10878 eval "$as_ac_var=yes"
10880 eval "$as_ac_var=no"
10882 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10883 conftest$ac_exeext conftest.$ac_ext
10884 CFLAGS=$ac_wine_try_cflags_saved
10885 ac_exeext=$ac_wine_try_cflags_saved_exeext
10887 eval ac_res=\$$as_ac_var
10888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10889 printf "%s\n" "$ac_res" >&6; }
10890 if eval test \"x\$"$as_ac_var"\" = x"yes"
10892 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10894 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" |
$as_tr_sh`
10895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
10896 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
10897 if eval test \${$as_ac_var+y}
10899 printf %s "(cached) " >&6
10901 ac_wine_try_cflags_saved=$CFLAGS
10902 ac_wine_try_cflags_saved_exeext=$ac_exeext
10903 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wdeclaration-after-statement"
10905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10906 /* end confdefs.h. */
10907 int __cdecl mainCRTStartup(void) { return 0; }
10909 if ac_fn_c_try_link "$LINENO"
10911 eval "$as_ac_var=yes"
10913 eval "$as_ac_var=no"
10915 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10916 conftest$ac_exeext conftest.$ac_ext
10917 CFLAGS=$ac_wine_try_cflags_saved
10918 ac_exeext=$ac_wine_try_cflags_saved_exeext
10920 eval ac_res=\$$as_ac_var
10921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10922 printf "%s\n" "$ac_res" >&6; }
10923 if eval test \"x\$"$as_ac_var"\" = x"yes"
10925 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
10927 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" |
$as_tr_sh`
10928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
10929 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
10930 if eval test \${$as_ac_var+y}
10932 printf %s "(cached) " >&6
10934 ac_wine_try_cflags_saved=$CFLAGS
10935 ac_wine_try_cflags_saved_exeext=$ac_exeext
10936 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wempty-body"
10938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10939 /* end confdefs.h. */
10940 int __cdecl mainCRTStartup(void) { return 0; }
10942 if ac_fn_c_try_link "$LINENO"
10944 eval "$as_ac_var=yes"
10946 eval "$as_ac_var=no"
10948 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10949 conftest$ac_exeext conftest.$ac_ext
10950 CFLAGS=$ac_wine_try_cflags_saved
10951 ac_exeext=$ac_wine_try_cflags_saved_exeext
10953 eval ac_res=\$$as_ac_var
10954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10955 printf "%s\n" "$ac_res" >&6; }
10956 if eval test \"x\$"$as_ac_var"\" = x"yes"
10958 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
10960 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" |
$as_tr_sh`
10961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
10962 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
10963 if eval test \${$as_ac_var+y}
10965 printf %s "(cached) " >&6
10967 ac_wine_try_cflags_saved=$CFLAGS
10968 ac_wine_try_cflags_saved_exeext=$ac_exeext
10969 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wignored-qualifiers"
10971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10972 /* end confdefs.h. */
10973 int __cdecl mainCRTStartup(void) { return 0; }
10975 if ac_fn_c_try_link "$LINENO"
10977 eval "$as_ac_var=yes"
10979 eval "$as_ac_var=no"
10981 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10982 conftest$ac_exeext conftest.$ac_ext
10983 CFLAGS=$ac_wine_try_cflags_saved
10984 ac_exeext=$ac_wine_try_cflags_saved_exeext
10986 eval ac_res=\$$as_ac_var
10987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10988 printf "%s\n" "$ac_res" >&6; }
10989 if eval test \"x\$"$as_ac_var"\" = x"yes"
10991 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
10993 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" |
$as_tr_sh`
10994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
10995 printf %s "checking whether $CC supports -Winit-self... " >&6; }
10996 if eval test \${$as_ac_var+y}
10998 printf %s "(cached) " >&6
11000 ac_wine_try_cflags_saved=$CFLAGS
11001 ac_wine_try_cflags_saved_exeext=$ac_exeext
11002 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Winit-self"
11004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11005 /* end confdefs.h. */
11006 int __cdecl mainCRTStartup(void) { return 0; }
11008 if ac_fn_c_try_link "$LINENO"
11010 eval "$as_ac_var=yes"
11012 eval "$as_ac_var=no"
11014 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11015 conftest$ac_exeext conftest.$ac_ext
11016 CFLAGS=$ac_wine_try_cflags_saved
11017 ac_exeext=$ac_wine_try_cflags_saved_exeext
11019 eval ac_res=\$$as_ac_var
11020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11021 printf "%s\n" "$ac_res" >&6; }
11022 if eval test \"x\$"$as_ac_var"\" = x"yes"
11024 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
11026 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" |
$as_tr_sh`
11027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
11028 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
11029 if eval test \${$as_ac_var+y}
11031 printf %s "(cached) " >&6
11033 ac_wine_try_cflags_saved=$CFLAGS
11034 ac_wine_try_cflags_saved_exeext=$ac_exeext
11035 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpacked-not-aligned"
11037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11038 /* end confdefs.h. */
11039 int __cdecl mainCRTStartup(void) { return 0; }
11041 if ac_fn_c_try_link "$LINENO"
11043 eval "$as_ac_var=yes"
11045 eval "$as_ac_var=no"
11047 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11048 conftest$ac_exeext conftest.$ac_ext
11049 CFLAGS=$ac_wine_try_cflags_saved
11050 ac_exeext=$ac_wine_try_cflags_saved_exeext
11052 eval ac_res=\$$as_ac_var
11053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11054 printf "%s\n" "$ac_res" >&6; }
11055 if eval test \"x\$"$as_ac_var"\" = x"yes"
11057 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
11059 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" |
$as_tr_sh`
11060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
11061 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
11062 if eval test \${$as_ac_var+y}
11064 printf %s "(cached) " >&6
11066 ac_wine_try_cflags_saved=$CFLAGS
11067 ac_wine_try_cflags_saved_exeext=$ac_exeext
11068 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpragma-pack"
11070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11071 /* end confdefs.h. */
11072 int __cdecl mainCRTStartup(void) { return 0; }
11074 if ac_fn_c_try_link "$LINENO"
11076 eval "$as_ac_var=yes"
11078 eval "$as_ac_var=no"
11080 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11081 conftest$ac_exeext conftest.$ac_ext
11082 CFLAGS=$ac_wine_try_cflags_saved
11083 ac_exeext=$ac_wine_try_cflags_saved_exeext
11085 eval ac_res=\$$as_ac_var
11086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11087 printf "%s\n" "$ac_res" >&6; }
11088 if eval test \"x\$"$as_ac_var"\" = x"yes"
11090 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
11092 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" |
$as_tr_sh`
11093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
11094 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
11095 if eval test \${$as_ac_var+y}
11097 printf %s "(cached) " >&6
11099 ac_wine_try_cflags_saved=$CFLAGS
11100 ac_wine_try_cflags_saved_exeext=$ac_exeext
11101 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wshift-overflow=2"
11103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11104 /* end confdefs.h. */
11105 int __cdecl mainCRTStartup(void) { return 0; }
11107 if ac_fn_c_try_link "$LINENO"
11109 eval "$as_ac_var=yes"
11111 eval "$as_ac_var=no"
11113 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11114 conftest$ac_exeext conftest.$ac_ext
11115 CFLAGS=$ac_wine_try_cflags_saved
11116 ac_exeext=$ac_wine_try_cflags_saved_exeext
11118 eval ac_res=\$$as_ac_var
11119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11120 printf "%s\n" "$ac_res" >&6; }
11121 if eval test \"x\$"$as_ac_var"\" = x"yes"
11123 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11125 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" |
$as_tr_sh`
11126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11127 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11128 if eval test \${$as_ac_var+y}
11130 printf %s "(cached) " >&6
11132 ac_wine_try_cflags_saved=$CFLAGS
11133 ac_wine_try_cflags_saved_exeext=$ac_exeext
11134 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wstrict-prototypes"
11136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11137 /* end confdefs.h. */
11138 int __cdecl mainCRTStartup(void) { return 0; }
11140 if ac_fn_c_try_link "$LINENO"
11142 eval "$as_ac_var=yes"
11144 eval "$as_ac_var=no"
11146 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11147 conftest$ac_exeext conftest.$ac_ext
11148 CFLAGS=$ac_wine_try_cflags_saved
11149 ac_exeext=$ac_wine_try_cflags_saved_exeext
11151 eval ac_res=\$$as_ac_var
11152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11153 printf "%s\n" "$ac_res" >&6; }
11154 if eval test \"x\$"$as_ac_var"\" = x"yes"
11156 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11158 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" |
$as_tr_sh`
11159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11160 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11161 if eval test \${$as_ac_var+y}
11163 printf %s "(cached) " >&6
11165 ac_wine_try_cflags_saved=$CFLAGS
11166 ac_wine_try_cflags_saved_exeext=$ac_exeext
11167 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wtype-limits"
11169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11170 /* end confdefs.h. */
11171 int __cdecl mainCRTStartup(void) { return 0; }
11173 if ac_fn_c_try_link "$LINENO"
11175 eval "$as_ac_var=yes"
11177 eval "$as_ac_var=no"
11179 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11180 conftest$ac_exeext conftest.$ac_ext
11181 CFLAGS=$ac_wine_try_cflags_saved
11182 ac_exeext=$ac_wine_try_cflags_saved_exeext
11184 eval ac_res=\$$as_ac_var
11185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11186 printf "%s\n" "$ac_res" >&6; }
11187 if eval test \"x\$"$as_ac_var"\" = x"yes"
11189 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11191 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" |
$as_tr_sh`
11192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11193 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11194 if eval test \${$as_ac_var+y}
11196 printf %s "(cached) " >&6
11198 ac_wine_try_cflags_saved=$CFLAGS
11199 ac_wine_try_cflags_saved_exeext=$ac_exeext
11200 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wunused-but-set-parameter"
11202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11203 /* end confdefs.h. */
11204 int __cdecl mainCRTStartup(void) { return 0; }
11206 if ac_fn_c_try_link "$LINENO"
11208 eval "$as_ac_var=yes"
11210 eval "$as_ac_var=no"
11212 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11213 conftest$ac_exeext conftest.$ac_ext
11214 CFLAGS=$ac_wine_try_cflags_saved
11215 ac_exeext=$ac_wine_try_cflags_saved_exeext
11217 eval ac_res=\$$as_ac_var
11218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11219 printf "%s\n" "$ac_res" >&6; }
11220 if eval test \"x\$"$as_ac_var"\" = x"yes"
11222 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11224 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" |
$as_tr_sh`
11225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11226 printf %s "checking whether $CC supports -Wvla... " >&6; }
11227 if eval test \${$as_ac_var+y}
11229 printf %s "(cached) " >&6
11231 ac_wine_try_cflags_saved=$CFLAGS
11232 ac_wine_try_cflags_saved_exeext=$ac_exeext
11233 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wvla"
11235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11236 /* end confdefs.h. */
11237 int __cdecl mainCRTStartup(void) { return 0; }
11239 if ac_fn_c_try_link "$LINENO"
11241 eval "$as_ac_var=yes"
11243 eval "$as_ac_var=no"
11245 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11246 conftest$ac_exeext conftest.$ac_ext
11247 CFLAGS=$ac_wine_try_cflags_saved
11248 ac_exeext=$ac_wine_try_cflags_saved_exeext
11250 eval ac_res=\$$as_ac_var
11251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11252 printf "%s\n" "$ac_res" >&6; }
11253 if eval test \"x\$"$as_ac_var"\" = x"yes"
11255 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11257 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" |
$as_tr_sh`
11258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11259 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11260 if eval test \${$as_ac_var+y}
11262 printf %s "(cached) " >&6
11264 ac_wine_try_cflags_saved=$CFLAGS
11265 ac_wine_try_cflags_saved_exeext=$ac_exeext
11266 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wwrite-strings"
11268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11269 /* end confdefs.h. */
11270 int __cdecl mainCRTStartup(void) { return 0; }
11272 if ac_fn_c_try_link "$LINENO"
11274 eval "$as_ac_var=yes"
11276 eval "$as_ac_var=no"
11278 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11279 conftest$ac_exeext conftest.$ac_ext
11280 CFLAGS=$ac_wine_try_cflags_saved
11281 ac_exeext=$ac_wine_try_cflags_saved_exeext
11283 eval ac_res=\$$as_ac_var
11284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11285 printf "%s\n" "$ac_res" >&6; }
11286 if eval test \"x\$"$as_ac_var"\" = x"yes"
11288 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11290 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" |
$as_tr_sh`
11291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11292 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11293 if eval test \${$as_ac_var+y}
11295 printf %s "(cached) " >&6
11297 ac_wine_try_cflags_saved=$CFLAGS
11298 ac_wine_try_cflags_saved_exeext=$ac_exeext
11299 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpointer-arith"
11301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11302 /* end confdefs.h. */
11303 int __cdecl mainCRTStartup(void) { return 0; }
11305 if ac_fn_c_try_link "$LINENO"
11307 eval "$as_ac_var=yes"
11309 eval "$as_ac_var=no"
11311 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11312 conftest$ac_exeext conftest.$ac_ext
11313 CFLAGS=$ac_wine_try_cflags_saved
11314 ac_exeext=$ac_wine_try_cflags_saved_exeext
11316 eval ac_res=\$$as_ac_var
11317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11318 printf "%s\n" "$ac_res" >&6; }
11319 if eval test \"x\$"$as_ac_var"\" = x"yes"
11321 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11323 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" |
$as_tr_sh`
11324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11325 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11326 if eval test \${$as_ac_var+y}
11328 printf %s "(cached) " >&6
11330 ac_wine_try_cflags_saved=$CFLAGS
11331 ac_wine_try_cflags_saved_exeext=$ac_exeext
11332 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wlogical-op"
11334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11335 /* end confdefs.h. */
11336 int __cdecl mainCRTStartup(void) { return 0; }
11338 if ac_fn_c_try_link "$LINENO"
11340 eval "$as_ac_var=yes"
11342 eval "$as_ac_var=no"
11344 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11345 conftest$ac_exeext conftest.$ac_ext
11346 CFLAGS=$ac_wine_try_cflags_saved
11347 ac_exeext=$ac_wine_try_cflags_saved_exeext
11349 eval ac_res=\$$as_ac_var
11350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11351 printf "%s\n" "$ac_res" >&6; }
11352 if eval test \"x\$"$as_ac_var"\" = x"yes"
11354 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11356 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" |
$as_tr_sh`
11357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11358 printf %s "checking whether $CC supports -Wabsolute-value... " >&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 -Wabsolute-value"
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 " -Wabsolute-value"
11391 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" |
$as_tr_sh`
11392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11393 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11394 if eval test \${$as_ac_var+y}
11396 printf %s "(cached) " >&6
11398 ac_wine_try_cflags_saved=$CFLAGS
11399 ac_wine_try_cflags_saved_exeext=$ac_exeext
11400 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-omit-frame-pointer"
11402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11403 /* end confdefs.h. */
11404 int __cdecl mainCRTStartup(void) { return 0; }
11406 if ac_fn_c_try_link "$LINENO"
11408 eval "$as_ac_var=yes"
11410 eval "$as_ac_var=no"
11412 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11413 conftest$ac_exeext conftest.$ac_ext
11414 CFLAGS=$ac_wine_try_cflags_saved
11415 ac_exeext=$ac_wine_try_cflags_saved_exeext
11417 eval ac_res=\$$as_ac_var
11418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11419 printf "%s\n" "$ac_res" >&6; }
11420 if eval test \"x\$"$as_ac_var"\" = x"yes"
11422 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11424 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" |
$as_tr_sh`
11425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11426 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11427 if eval test \${$as_ac_var+y}
11429 printf %s "(cached) " >&6
11431 ac_wine_try_cflags_saved=$CFLAGS
11432 ac_wine_try_cflags_saved_exeext=$ac_exeext
11433 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--disable-stdcall-fixup"
11435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11436 /* end confdefs.h. */
11437 int __cdecl mainCRTStartup(void) { return 0; }
11439 if ac_fn_c_try_link "$LINENO"
11441 eval "$as_ac_var=yes"
11443 eval "$as_ac_var=no"
11445 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11446 conftest$ac_exeext conftest.$ac_ext
11447 CFLAGS=$ac_wine_try_cflags_saved
11448 ac_exeext=$ac_wine_try_cflags_saved_exeext
11450 eval ac_res=\$$as_ac_var
11451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11452 printf "%s\n" "$ac_res" >&6; }
11453 if eval test \"x\$"$as_ac_var"\" = x"yes"
11455 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11457 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" |
$as_tr_sh`
11458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11459 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11460 if eval test \${$as_ac_var+y}
11462 printf %s "(cached) " >&6
11464 ac_wine_try_cflags_saved=$CFLAGS
11465 ac_wine_try_cflags_saved_exeext=$ac_exeext
11466 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wformat-overflow"
11468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11469 /* end confdefs.h. */
11470 int __cdecl mainCRTStartup(void) { return 0; }
11472 if ac_fn_c_try_link "$LINENO"
11474 eval "$as_ac_var=yes"
11476 eval "$as_ac_var=no"
11478 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11479 conftest$ac_exeext conftest.$ac_ext
11480 CFLAGS=$ac_wine_try_cflags_saved
11481 ac_exeext=$ac_wine_try_cflags_saved_exeext
11483 eval ac_res=\$$as_ac_var
11484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11485 printf "%s\n" "$ac_res" >&6; }
11486 if eval test \"x\$"$as_ac_var"\" = x"yes"
11488 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11490 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" |
$as_tr_sh`
11491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11492 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11493 if eval test \${$as_ac_var+y}
11495 printf %s "(cached) " >&6
11497 ac_wine_try_cflags_saved=$CFLAGS
11498 ac_wine_try_cflags_saved_exeext=$ac_exeext
11499 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wnonnull"
11501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11502 /* end confdefs.h. */
11503 int __cdecl mainCRTStartup(void) { return 0; }
11505 if ac_fn_c_try_link "$LINENO"
11507 eval "$as_ac_var=yes"
11509 eval "$as_ac_var=no"
11511 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11512 conftest$ac_exeext conftest.$ac_ext
11513 CFLAGS=$ac_wine_try_cflags_saved
11514 ac_exeext=$ac_wine_try_cflags_saved_exeext
11516 eval ac_res=\$$as_ac_var
11517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11518 printf "%s\n" "$ac_res" >&6; }
11519 if eval test \"x\$"$as_ac_var"\" = x"yes"
11521 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11523 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" |
$as_tr_sh`
11524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11525 printf %s "checking whether $CC supports -mcx16... " >&6; }
11526 if eval test \${$as_ac_var+y}
11528 printf %s "(cached) " >&6
11530 ac_wine_try_cflags_saved=$CFLAGS
11531 ac_wine_try_cflags_saved_exeext=$ac_exeext
11532 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcx16"
11534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11535 /* end confdefs.h. */
11536 int __cdecl mainCRTStartup(void) { return 0; }
11538 if ac_fn_c_try_link "$LINENO"
11540 eval "$as_ac_var=yes"
11542 eval "$as_ac_var=no"
11544 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11545 conftest$ac_exeext conftest.$ac_ext
11546 CFLAGS=$ac_wine_try_cflags_saved
11547 ac_exeext=$ac_wine_try_cflags_saved_exeext
11549 eval ac_res=\$$as_ac_var
11550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11551 printf "%s\n" "$ac_res" >&6; }
11552 if eval test \"x\$"$as_ac_var"\" = x"yes"
11554 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11558 wine_crossdebug=$CROSSDEBUG
11559 if test -z "$wine_crossdebug"
11561 for ac_flag in $CFLAGS; do
11563 -gdwarf*) wine_crossdebug=dwarf ;;
11564 -gcodeview) wine_crossdebug=pdb ;;
11565 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11570 ac_debug_format_seen=""
11571 for ac_flag in $CFLAGS; do
11573 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11576 if test "x$ac_debug_format_seen" = x
11578 case $wine_crossdebug in
11579 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" |
$as_tr_sh`
11580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11581 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11582 if eval test \${$as_ac_var+y}
11584 printf %s "(cached) " >&6
11586 ac_wine_try_cflags_saved=$CFLAGS
11587 ac_wine_try_cflags_saved_exeext=$ac_exeext
11588 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gdwarf-4"
11590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11591 /* end confdefs.h. */
11592 int __cdecl mainCRTStartup(void) { return 0; }
11594 if ac_fn_c_try_link "$LINENO"
11596 eval "$as_ac_var=yes"
11598 eval "$as_ac_var=no"
11600 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11601 conftest$ac_exeext conftest.$ac_ext
11602 CFLAGS=$ac_wine_try_cflags_saved
11603 ac_exeext=$ac_wine_try_cflags_saved_exeext
11605 eval ac_res=\$$as_ac_var
11606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11607 printf "%s\n" "$ac_res" >&6; }
11608 if eval test \"x\$"$as_ac_var"\" = x"yes"
11610 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11612 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" |
$as_tr_sh`
11613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11614 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11615 if eval test \${$as_ac_var+y}
11617 printf %s "(cached) " >&6
11619 ac_wine_try_cflags_saved=$CFLAGS
11620 ac_wine_try_cflags_saved_exeext=$ac_exeext
11621 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gcodeview"
11623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11624 /* end confdefs.h. */
11625 int __cdecl mainCRTStartup(void) { return 0; }
11627 if ac_fn_c_try_link "$LINENO"
11629 eval "$as_ac_var=yes"
11631 eval "$as_ac_var=no"
11633 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11634 conftest$ac_exeext conftest.$ac_ext
11635 CFLAGS=$ac_wine_try_cflags_saved
11636 ac_exeext=$ac_wine_try_cflags_saved_exeext
11638 eval ac_res=\$$as_ac_var
11639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11640 printf "%s\n" "$ac_res" >&6; }
11641 if eval test \"x\$"$as_ac_var"\" = x"yes"
11643 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11647 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11649 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" |
$as_tr_sh`
11650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11651 printf %s "checking whether $CC supports -Werror... " >&6; }
11652 if eval test \${$as_ac_var+y}
11654 printf %s "(cached) " >&6
11656 ac_wine_try_cflags_saved=$CFLAGS
11657 ac_wine_try_cflags_saved_exeext=$ac_exeext
11658 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror"
11660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11661 /* end confdefs.h. */
11662 int __cdecl mainCRTStartup(void) { return 0; }
11664 if ac_fn_c_try_link "$LINENO"
11666 eval "$as_ac_var=yes"
11668 eval "$as_ac_var=no"
11670 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11671 conftest$ac_exeext conftest.$ac_ext
11672 CFLAGS=$ac_wine_try_cflags_saved
11673 ac_exeext=$ac_wine_try_cflags_saved_exeext
11675 eval ac_res=\$$as_ac_var
11676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11677 printf "%s\n" "$ac_res" >&6; }
11678 if eval test \"x\$"$as_ac_var"\" = x"yes"
11680 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11682 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" |
$as_tr_sh`
11683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11684 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11685 if eval test \${$as_ac_var+y}
11687 printf %s "(cached) " >&6
11689 ac_wine_try_cflags_saved=$CFLAGS
11690 ac_wine_try_cflags_saved_exeext=$ac_exeext
11691 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--build-id"
11693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11694 /* end confdefs.h. */
11695 int __cdecl mainCRTStartup(void) { return 0; }
11697 if ac_fn_c_try_link "$LINENO"
11699 eval "$as_ac_var=yes"
11701 eval "$as_ac_var=no"
11703 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11704 conftest$ac_exeext conftest.$ac_ext
11705 CFLAGS=$ac_wine_try_cflags_saved
11706 ac_exeext=$ac_wine_try_cflags_saved_exeext
11708 eval ac_res=\$$as_ac_var
11709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11710 printf "%s\n" "$ac_res" >&6; }
11711 if eval test \"x\$"$as_ac_var"\" = x"yes"
11713 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
11714 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
11718 CFLAGS=$saved_CFLAGS
11721 if test $HOST_ARCH = aarch64 -a "x$PE_ARCHS" = x
11723 as_fn_error $? "PE cross-compilation is required for ARM64, please install clang/llvm-dlltool/lld, or llvm-mingw." "$LINENO" 5
11726 if test "x$PE_ARCHS" = "x"
11728 case "x$with_mingw" in
11729 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
11731 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
11732 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
11738 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
11740 case "$host_cpu" in
11742 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11744 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11746 for ac_prog in $ac_prefix_list
11748 # Extract the first word of "$ac_prog", so it can be a program name with args.
11749 set dummy $ac_prog; ac_word=$2
11750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11751 printf %s "checking for $ac_word... " >&6; }
11752 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11754 printf %s "(cached) " >&6
11756 if test -n "$MINGW_PKG_CONFIG"; then
11757 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11760 for as_dir in $PATH
11763 case $as_dir in #(((
11766 *) as_dir=$as_dir/ ;;
11768 for ac_exec_ext in '' $ac_executable_extensions; do
11769 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11770 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11771 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11780 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11781 if test -n "$MINGW_PKG_CONFIG"; then
11782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11783 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
11785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11786 printf "%s\n" "no" >&6; }
11790 test -n "$MINGW_PKG_CONFIG" && break
11792 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
11794 if ${FAUDIO_PE_CFLAGS:+false} :
11796 if test ${MINGW_PKG_CONFIG+y}
11798 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio
2>/dev
/null
`
11801 if ${FAUDIO_PE_LIBS:+false} :
11803 if test ${MINGW_PKG_CONFIG+y}
11805 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio
2>/dev
/null
`
11808 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
11809 ac_save_CPPFLAGS=$CPPFLAGS
11810 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
11811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
11812 printf %s "checking for MinGW FAudio.h... " >&6; }
11813 if test ${ac_cv_mingw_header_FAudio_h+y}
11815 printf %s "(cached) " >&6
11817 ac_wine_check_headers_saved_cc=$CC
11818 ac_wine_check_headers_saved_exeext=$ac_exeext
11819 eval CC=\$${wine_arch}_CC
11821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11822 /* end confdefs.h. */
11824 #include <FAudio.h>
11833 if ac_fn_c_try_compile "$LINENO"
11835 ac_cv_mingw_header_FAudio_h=yes
11837 ac_cv_mingw_header_FAudio_h=no
11839 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11840 CC=$ac_wine_check_headers_saved_cc
11841 ac_exeext=$ac_wine_check_headers_saved_exeext
11843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
11844 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
11845 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
11847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
11848 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
11849 if test ${ac_cv_mingw_lib_FAudio+y}
11851 printf %s "(cached) " >&6
11853 ac_wine_check_headers_saved_cc=$CC
11854 ac_wine_check_headers_saved_exeext=$ac_exeext
11855 ac_wine_check_headers_saved_libs=$LIBS
11856 eval CC=\$${wine_arch}_CC
11858 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
11859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11860 /* end confdefs.h. */
11862 /* Override any GCC internal prototype to avoid an error.
11863 Use char because int might match the return type of a GCC
11864 builtin and then its argument prototype would still apply. */
11865 char FAudio_CommitOperationSet ();
11869 return FAudio_CommitOperationSet ();
11874 if ac_fn_c_try_link "$LINENO"
11876 ac_cv_mingw_lib_FAudio=yes
11878 ac_cv_mingw_lib_FAudio=no
11880 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11881 conftest$ac_exeext conftest.$ac_ext
11882 CC=$ac_wine_check_headers_saved_cc
11883 ac_exeext=$ac_wine_check_headers_saved_exeext
11884 LIBS=$ac_wine_check_headers_saved_libs
11886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
11887 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
11888 if test "x$ac_cv_mingw_lib_FAudio" = xyes
11892 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11895 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11897 CPPFLAGS=$ac_save_CPPFLAGS
11899 if test "x$FAUDIO_PE_LIBS" = "x"
11901 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
11904 if ${JPEG_PE_CFLAGS:+false} :
11906 if test ${MINGW_PKG_CONFIG+y}
11908 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg
2>/dev
/null
`
11911 if ${JPEG_PE_LIBS:+false} :
11913 if test ${MINGW_PKG_CONFIG+y}
11915 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg
2>/dev
/null
`
11919 ac_save_CPPFLAGS=$CPPFLAGS
11920 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
11921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
11922 printf %s "checking for MinGW jpeglib.h... " >&6; }
11923 if test ${ac_cv_mingw_header_jpeglib_h+y}
11925 printf %s "(cached) " >&6
11927 ac_wine_check_headers_saved_cc=$CC
11928 ac_wine_check_headers_saved_exeext=$ac_exeext
11929 eval CC=\$${wine_arch}_CC
11931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11932 /* end confdefs.h. */
11933 #include <stddef.h>
11935 #include <jpeglib.h>
11944 if ac_fn_c_try_compile "$LINENO"
11946 ac_cv_mingw_header_jpeglib_h=yes
11948 ac_cv_mingw_header_jpeglib_h=no
11950 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11951 CC=$ac_wine_check_headers_saved_cc
11952 ac_exeext=$ac_wine_check_headers_saved_exeext
11954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
11955 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
11956 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
11958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
11959 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
11960 if test ${ac_cv_mingw_lib_jpeg+y}
11962 printf %s "(cached) " >&6
11964 ac_wine_check_headers_saved_cc=$CC
11965 ac_wine_check_headers_saved_exeext=$ac_exeext
11966 ac_wine_check_headers_saved_libs=$LIBS
11967 eval CC=\$${wine_arch}_CC
11969 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
11970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11971 /* end confdefs.h. */
11973 /* Override any GCC internal prototype to avoid an error.
11974 Use char because int might match the return type of a GCC
11975 builtin and then its argument prototype would still apply. */
11976 char jpeg_start_decompress ();
11980 return jpeg_start_decompress ();
11985 if ac_fn_c_try_link "$LINENO"
11987 ac_cv_mingw_lib_jpeg=yes
11989 ac_cv_mingw_lib_jpeg=no
11991 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11992 conftest$ac_exeext conftest.$ac_ext
11993 CC=$ac_wine_check_headers_saved_cc
11994 ac_exeext=$ac_wine_check_headers_saved_exeext
11995 LIBS=$ac_wine_check_headers_saved_libs
11997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
11998 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
11999 if test "x$ac_cv_mingw_lib_jpeg" = xyes
12003 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12006 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12008 CPPFLAGS=$ac_save_CPPFLAGS
12010 if test "x$JPEG_PE_LIBS" = "x"
12012 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
12015 if ${LCMS2_PE_CFLAGS:+false} :
12017 if test ${MINGW_PKG_CONFIG+y}
12019 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2
2>/dev
/null
`
12022 if ${LCMS2_PE_LIBS:+false} :
12024 if test ${MINGW_PKG_CONFIG+y}
12026 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2
2>/dev
/null
`
12029 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12030 ac_save_CPPFLAGS=$CPPFLAGS
12031 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12033 printf %s "checking for MinGW lcms2.h... " >&6; }
12034 if test ${ac_cv_mingw_header_lcms2_h+y}
12036 printf %s "(cached) " >&6
12038 ac_wine_check_headers_saved_cc=$CC
12039 ac_wine_check_headers_saved_exeext=$ac_exeext
12040 eval CC=\$${wine_arch}_CC
12042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12043 /* end confdefs.h. */
12054 if ac_fn_c_try_compile "$LINENO"
12056 ac_cv_mingw_header_lcms2_h=yes
12058 ac_cv_mingw_header_lcms2_h=no
12060 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12061 CC=$ac_wine_check_headers_saved_cc
12062 ac_exeext=$ac_wine_check_headers_saved_exeext
12064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12065 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12066 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12069 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12070 if test ${ac_cv_mingw_lib_lcms2+y}
12072 printf %s "(cached) " >&6
12074 ac_wine_check_headers_saved_cc=$CC
12075 ac_wine_check_headers_saved_exeext=$ac_exeext
12076 ac_wine_check_headers_saved_libs=$LIBS
12077 eval CC=\$${wine_arch}_CC
12079 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12081 /* end confdefs.h. */
12083 /* Override any GCC internal prototype to avoid an error.
12084 Use char because int might match the return type of a GCC
12085 builtin and then its argument prototype would still apply. */
12086 char cmsOpenProfileFromFile ();
12090 return cmsOpenProfileFromFile ();
12095 if ac_fn_c_try_link "$LINENO"
12097 ac_cv_mingw_lib_lcms2=yes
12099 ac_cv_mingw_lib_lcms2=no
12101 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12102 conftest$ac_exeext conftest.$ac_ext
12103 CC=$ac_wine_check_headers_saved_cc
12104 ac_exeext=$ac_wine_check_headers_saved_exeext
12105 LIBS=$ac_wine_check_headers_saved_libs
12107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12108 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12109 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12113 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12116 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12118 CPPFLAGS=$ac_save_CPPFLAGS
12120 if test "x$LCMS2_PE_LIBS" = "x"
12122 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12125 if ${MPG123_PE_CFLAGS:+false} :
12127 if test ${MINGW_PKG_CONFIG+y}
12129 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123
2>/dev
/null
`
12132 if ${MPG123_PE_LIBS:+false} :
12134 if test ${MINGW_PKG_CONFIG+y}
12136 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123
2>/dev
/null
`
12139 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12140 ac_save_CPPFLAGS=$CPPFLAGS
12141 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12143 printf %s "checking for MinGW mpg123.h... " >&6; }
12144 if test ${ac_cv_mingw_header_mpg123_h+y}
12146 printf %s "(cached) " >&6
12148 ac_wine_check_headers_saved_cc=$CC
12149 ac_wine_check_headers_saved_exeext=$ac_exeext
12150 eval CC=\$${wine_arch}_CC
12152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12153 /* end confdefs.h. */
12155 #include <mpg123.h>
12164 if ac_fn_c_try_compile "$LINENO"
12166 ac_cv_mingw_header_mpg123_h=yes
12168 ac_cv_mingw_header_mpg123_h=no
12170 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12171 CC=$ac_wine_check_headers_saved_cc
12172 ac_exeext=$ac_wine_check_headers_saved_exeext
12174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12175 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12176 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12179 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12180 if test ${ac_cv_mingw_lib_mpg123+y}
12182 printf %s "(cached) " >&6
12184 ac_wine_check_headers_saved_cc=$CC
12185 ac_wine_check_headers_saved_exeext=$ac_exeext
12186 ac_wine_check_headers_saved_libs=$LIBS
12187 eval CC=\$${wine_arch}_CC
12189 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12191 /* end confdefs.h. */
12193 /* Override any GCC internal prototype to avoid an error.
12194 Use char because int might match the return type of a GCC
12195 builtin and then its argument prototype would still apply. */
12196 char mpg123_feed ();
12200 return mpg123_feed ();
12205 if ac_fn_c_try_link "$LINENO"
12207 ac_cv_mingw_lib_mpg123=yes
12209 ac_cv_mingw_lib_mpg123=no
12211 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12212 conftest$ac_exeext conftest.$ac_ext
12213 CC=$ac_wine_check_headers_saved_cc
12214 ac_exeext=$ac_wine_check_headers_saved_exeext
12215 LIBS=$ac_wine_check_headers_saved_libs
12217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12218 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12219 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12223 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12226 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12228 CPPFLAGS=$ac_save_CPPFLAGS
12230 if test "x$MPG123_PE_LIBS" = "x"
12232 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12235 if ${PNG_PE_CFLAGS:+false} :
12237 if test ${MINGW_PKG_CONFIG+y}
12239 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng
2>/dev
/null
`
12242 if ${PNG_PE_LIBS:+false} :
12244 if test ${MINGW_PKG_CONFIG+y}
12246 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng
2>/dev
/null
`
12250 ac_save_CPPFLAGS=$CPPFLAGS
12251 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12253 printf %s "checking for MinGW png.h... " >&6; }
12254 if test ${ac_cv_mingw_header_png_h+y}
12256 printf %s "(cached) " >&6
12258 ac_wine_check_headers_saved_cc=$CC
12259 ac_wine_check_headers_saved_exeext=$ac_exeext
12260 eval CC=\$${wine_arch}_CC
12262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12263 /* end confdefs.h. */
12274 if ac_fn_c_try_compile "$LINENO"
12276 ac_cv_mingw_header_png_h=yes
12278 ac_cv_mingw_header_png_h=no
12280 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12281 CC=$ac_wine_check_headers_saved_cc
12282 ac_exeext=$ac_wine_check_headers_saved_exeext
12284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12285 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12286 if test "x$ac_cv_mingw_header_png_h" = xyes
12288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12289 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12290 if test ${ac_cv_mingw_lib_png+y}
12292 printf %s "(cached) " >&6
12294 ac_wine_check_headers_saved_cc=$CC
12295 ac_wine_check_headers_saved_exeext=$ac_exeext
12296 ac_wine_check_headers_saved_libs=$LIBS
12297 eval CC=\$${wine_arch}_CC
12299 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12301 /* end confdefs.h. */
12303 /* Override any GCC internal prototype to avoid an error.
12304 Use char because int might match the return type of a GCC
12305 builtin and then its argument prototype would still apply. */
12306 char png_create_read_struct ();
12310 return png_create_read_struct ();
12315 if ac_fn_c_try_link "$LINENO"
12317 ac_cv_mingw_lib_png=yes
12319 ac_cv_mingw_lib_png=no
12321 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12322 conftest$ac_exeext conftest.$ac_ext
12323 CC=$ac_wine_check_headers_saved_cc
12324 ac_exeext=$ac_wine_check_headers_saved_exeext
12325 LIBS=$ac_wine_check_headers_saved_libs
12327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12328 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12329 if test "x$ac_cv_mingw_lib_png" = xyes
12333 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12336 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12338 CPPFLAGS=$ac_save_CPPFLAGS
12340 if test "x$PNG_PE_LIBS" = "x"
12342 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12345 if ${TIFF_PE_CFLAGS:+false} :
12347 if test ${MINGW_PKG_CONFIG+y}
12349 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4
2>/dev
/null
`
12352 if ${TIFF_PE_LIBS:+false} :
12354 if test ${MINGW_PKG_CONFIG+y}
12356 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4
2>/dev
/null
`
12360 ac_save_CPPFLAGS=$CPPFLAGS
12361 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12363 printf %s "checking for MinGW tiffio.h... " >&6; }
12364 if test ${ac_cv_mingw_header_tiffio_h+y}
12366 printf %s "(cached) " >&6
12368 ac_wine_check_headers_saved_cc=$CC
12369 ac_wine_check_headers_saved_exeext=$ac_exeext
12370 eval CC=\$${wine_arch}_CC
12372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12373 /* end confdefs.h. */
12375 #include <tiffio.h>
12384 if ac_fn_c_try_compile "$LINENO"
12386 ac_cv_mingw_header_tiffio_h=yes
12388 ac_cv_mingw_header_tiffio_h=no
12390 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12391 CC=$ac_wine_check_headers_saved_cc
12392 ac_exeext=$ac_wine_check_headers_saved_exeext
12394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12395 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12396 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12399 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12400 if test ${ac_cv_mingw_lib_tiff+y}
12402 printf %s "(cached) " >&6
12404 ac_wine_check_headers_saved_cc=$CC
12405 ac_wine_check_headers_saved_exeext=$ac_exeext
12406 ac_wine_check_headers_saved_libs=$LIBS
12407 eval CC=\$${wine_arch}_CC
12409 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12411 /* end confdefs.h. */
12413 /* Override any GCC internal prototype to avoid an error.
12414 Use char because int might match the return type of a GCC
12415 builtin and then its argument prototype would still apply. */
12416 char TIFFClientOpen ();
12420 return TIFFClientOpen ();
12425 if ac_fn_c_try_link "$LINENO"
12427 ac_cv_mingw_lib_tiff=yes
12429 ac_cv_mingw_lib_tiff=no
12431 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12432 conftest$ac_exeext conftest.$ac_ext
12433 CC=$ac_wine_check_headers_saved_cc
12434 ac_exeext=$ac_wine_check_headers_saved_exeext
12435 LIBS=$ac_wine_check_headers_saved_libs
12437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12438 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12439 if test "x$ac_cv_mingw_lib_tiff" = xyes
12443 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12446 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12448 CPPFLAGS=$ac_save_CPPFLAGS
12450 if test "x$TIFF_PE_LIBS" = "x"
12452 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12455 if ${XML2_PE_CFLAGS:+false} :
12457 if test ${MINGW_PKG_CONFIG+y}
12459 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0
2>/dev
/null
`
12462 if ${XML2_PE_LIBS:+false} :
12464 if test ${MINGW_PKG_CONFIG+y}
12466 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0
2>/dev
/null
`
12469 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12470 ac_save_CPPFLAGS=$CPPFLAGS
12471 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12473 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12474 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12476 printf %s "(cached) " >&6
12478 ac_wine_check_headers_saved_cc=$CC
12479 ac_wine_check_headers_saved_exeext=$ac_exeext
12480 eval CC=\$${wine_arch}_CC
12482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12483 /* end confdefs.h. */
12485 #include <libxml/parser.h>
12494 if ac_fn_c_try_compile "$LINENO"
12496 ac_cv_mingw_header_libxml_parser_h=yes
12498 ac_cv_mingw_header_libxml_parser_h=no
12500 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12501 CC=$ac_wine_check_headers_saved_cc
12502 ac_exeext=$ac_wine_check_headers_saved_exeext
12504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12505 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12506 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12511 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12512 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12514 printf %s "(cached) " >&6
12516 ac_wine_check_headers_saved_cc=$CC
12517 ac_wine_check_headers_saved_exeext=$ac_exeext
12518 eval CC=\$${wine_arch}_CC
12520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12521 /* end confdefs.h. */
12523 #include <libxml/xmlsave.h>
12532 if ac_fn_c_try_compile "$LINENO"
12534 ac_cv_mingw_header_libxml_xmlsave_h=yes
12536 ac_cv_mingw_header_libxml_xmlsave_h=no
12538 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12539 CC=$ac_wine_check_headers_saved_cc
12540 ac_exeext=$ac_wine_check_headers_saved_exeext
12542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12543 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12544 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12549 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12550 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12552 printf %s "(cached) " >&6
12554 ac_wine_check_headers_saved_cc=$CC
12555 ac_wine_check_headers_saved_exeext=$ac_exeext
12556 eval CC=\$${wine_arch}_CC
12558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12559 /* end confdefs.h. */
12561 #include <libxml/SAX2.h>
12570 if ac_fn_c_try_compile "$LINENO"
12572 ac_cv_mingw_header_libxml_SAX2_h=yes
12574 ac_cv_mingw_header_libxml_SAX2_h=no
12576 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12577 CC=$ac_wine_check_headers_saved_cc
12578 ac_exeext=$ac_wine_check_headers_saved_exeext
12580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12581 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12582 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12586 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"
12588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12589 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12590 if test ${ac_cv_mingw_lib_xml2+y}
12592 printf %s "(cached) " >&6
12594 ac_wine_check_headers_saved_cc=$CC
12595 ac_wine_check_headers_saved_exeext=$ac_exeext
12596 ac_wine_check_headers_saved_libs=$LIBS
12597 eval CC=\$${wine_arch}_CC
12599 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12601 /* end confdefs.h. */
12603 /* Override any GCC internal prototype to avoid an error.
12604 Use char because int might match the return type of a GCC
12605 builtin and then its argument prototype would still apply. */
12606 char xmlFirstElementChild ();
12610 return xmlFirstElementChild ();
12615 if ac_fn_c_try_link "$LINENO"
12617 ac_cv_mingw_lib_xml2=yes
12619 ac_cv_mingw_lib_xml2=no
12621 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12622 conftest$ac_exeext conftest.$ac_ext
12623 CC=$ac_wine_check_headers_saved_cc
12624 ac_exeext=$ac_wine_check_headers_saved_exeext
12625 LIBS=$ac_wine_check_headers_saved_libs
12627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12628 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12629 if test "x$ac_cv_mingw_lib_xml2" = xyes
12633 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12639 CPPFLAGS=$ac_save_CPPFLAGS
12641 if test "x$XML2_PE_LIBS" = "x"
12643 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12646 if ${XSLT_PE_CFLAGS:+false} :
12648 if test ${MINGW_PKG_CONFIG+y}
12650 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt
2>/dev
/null
`
12653 if ${XSLT_PE_LIBS:+false} :
12655 if test ${MINGW_PKG_CONFIG+y}
12657 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt
2>/dev
/null
`
12660 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12661 ac_save_CPPFLAGS=$CPPFLAGS
12662 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12664 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12665 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12667 printf %s "(cached) " >&6
12669 ac_wine_check_headers_saved_cc=$CC
12670 ac_wine_check_headers_saved_exeext=$ac_exeext
12671 eval CC=\$${wine_arch}_CC
12673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12674 /* end confdefs.h. */
12676 #include <libxslt/pattern.h>
12685 if ac_fn_c_try_compile "$LINENO"
12687 ac_cv_mingw_header_libxslt_pattern_h=yes
12689 ac_cv_mingw_header_libxslt_pattern_h=no
12691 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12692 CC=$ac_wine_check_headers_saved_cc
12693 ac_exeext=$ac_wine_check_headers_saved_exeext
12695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12696 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12697 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12702 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12703 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12705 printf %s "(cached) " >&6
12707 ac_wine_check_headers_saved_cc=$CC
12708 ac_wine_check_headers_saved_exeext=$ac_exeext
12709 eval CC=\$${wine_arch}_CC
12711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12712 /* end confdefs.h. */
12714 #include <libxslt/transform.h>
12723 if ac_fn_c_try_compile "$LINENO"
12725 ac_cv_mingw_header_libxslt_transform_h=yes
12727 ac_cv_mingw_header_libxslt_transform_h=no
12729 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12730 CC=$ac_wine_check_headers_saved_cc
12731 ac_exeext=$ac_wine_check_headers_saved_exeext
12733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12734 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12735 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12739 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12742 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12743 if test ${ac_cv_mingw_lib_xslt+y}
12745 printf %s "(cached) " >&6
12747 ac_wine_check_headers_saved_cc=$CC
12748 ac_wine_check_headers_saved_exeext=$ac_exeext
12749 ac_wine_check_headers_saved_libs=$LIBS
12750 eval CC=\$${wine_arch}_CC
12752 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12754 /* end confdefs.h. */
12756 /* Override any GCC internal prototype to avoid an error.
12757 Use char because int might match the return type of a GCC
12758 builtin and then its argument prototype would still apply. */
12759 char xsltCompilePattern ();
12763 return xsltCompilePattern ();
12768 if ac_fn_c_try_link "$LINENO"
12770 ac_cv_mingw_lib_xslt=yes
12772 ac_cv_mingw_lib_xslt=no
12774 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12775 conftest$ac_exeext conftest.$ac_ext
12776 CC=$ac_wine_check_headers_saved_cc
12777 ac_exeext=$ac_wine_check_headers_saved_exeext
12778 LIBS=$ac_wine_check_headers_saved_libs
12780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12781 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12782 if test "x$ac_cv_mingw_lib_xslt" = xyes
12786 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
12792 CPPFLAGS=$ac_save_CPPFLAGS
12794 if test "x$XSLT_PE_LIBS" = "x"
12796 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
12799 if ${VKD3D_PE_CFLAGS:+false} :
12801 if test ${MINGW_PKG_CONFIG+y}
12803 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader
2>/dev
/null
`
12806 if ${VKD3D_PE_LIBS:+false} :
12808 if test ${MINGW_PKG_CONFIG+y}
12810 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader
2>/dev
/null
`
12813 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
12814 ac_save_CPPFLAGS=$CPPFLAGS
12815 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
12816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
12817 printf %s "checking for MinGW vkd3d.h... " >&6; }
12818 if test ${ac_cv_mingw_header_vkd3d_h+y}
12820 printf %s "(cached) " >&6
12822 ac_wine_check_headers_saved_cc=$CC
12823 ac_wine_check_headers_saved_exeext=$ac_exeext
12824 eval CC=\$${wine_arch}_CC
12826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12827 /* end confdefs.h. */
12838 if ac_fn_c_try_compile "$LINENO"
12840 ac_cv_mingw_header_vkd3d_h=yes
12842 ac_cv_mingw_header_vkd3d_h=no
12844 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12845 CC=$ac_wine_check_headers_saved_cc
12846 ac_exeext=$ac_wine_check_headers_saved_exeext
12848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
12849 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
12850 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
12854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
12855 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
12856 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
12858 printf %s "(cached) " >&6
12860 ac_wine_check_headers_saved_cc=$CC
12861 ac_wine_check_headers_saved_exeext=$ac_exeext
12862 eval CC=\$${wine_arch}_CC
12864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12865 /* end confdefs.h. */
12867 #include <vkd3d_shader.h>
12876 if ac_fn_c_try_compile "$LINENO"
12878 ac_cv_mingw_header_vkd3d_shader_h=yes
12880 ac_cv_mingw_header_vkd3d_shader_h=no
12882 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12883 CC=$ac_wine_check_headers_saved_cc
12884 ac_exeext=$ac_wine_check_headers_saved_exeext
12886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
12887 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
12888 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
12892 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
12894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
12895 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
12896 if test ${ac_cv_mingw_lib_vkd3d+y}
12898 printf %s "(cached) " >&6
12900 ac_wine_check_headers_saved_cc=$CC
12901 ac_wine_check_headers_saved_exeext=$ac_exeext
12902 ac_wine_check_headers_saved_libs=$LIBS
12903 eval CC=\$${wine_arch}_CC
12905 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
12906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12907 /* end confdefs.h. */
12909 /* Override any GCC internal prototype to avoid an error.
12910 Use char because int might match the return type of a GCC
12911 builtin and then its argument prototype would still apply. */
12912 char vkd3d_set_log_callback ();
12916 return vkd3d_set_log_callback ();
12921 if ac_fn_c_try_link "$LINENO"
12923 ac_cv_mingw_lib_vkd3d=yes
12925 ac_cv_mingw_lib_vkd3d=no
12927 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12928 conftest$ac_exeext conftest.$ac_ext
12929 CC=$ac_wine_check_headers_saved_cc
12930 ac_exeext=$ac_wine_check_headers_saved_exeext
12931 LIBS=$ac_wine_check_headers_saved_libs
12933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
12934 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
12935 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
12941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_compile in MinGW -lvkd3d-shader" >&5
12942 printf %s "checking for vkd3d_shader_compile in MinGW -lvkd3d-shader... " >&6; }
12943 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
12945 printf %s "(cached) " >&6
12947 ac_wine_check_headers_saved_cc=$CC
12948 ac_wine_check_headers_saved_exeext=$ac_exeext
12949 ac_wine_check_headers_saved_libs=$LIBS
12950 eval CC=\$${wine_arch}_CC
12952 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
12953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12954 /* end confdefs.h. */
12956 /* Override any GCC internal prototype to avoid an error.
12957 Use char because int might match the return type of a GCC
12958 builtin and then its argument prototype would still apply. */
12959 char vkd3d_shader_compile ();
12963 return vkd3d_shader_compile ();
12968 if ac_fn_c_try_link "$LINENO"
12970 ac_cv_mingw_lib_vkd3d_shader=yes
12972 ac_cv_mingw_lib_vkd3d_shader=no
12974 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12975 conftest$ac_exeext conftest.$ac_ext
12976 CC=$ac_wine_check_headers_saved_cc
12977 ac_exeext=$ac_wine_check_headers_saved_exeext
12978 LIBS=$ac_wine_check_headers_saved_libs
12980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
12981 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
12982 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
12988 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
12997 CPPFLAGS=$ac_save_CPPFLAGS
12999 if test "x$VKD3D_PE_LIBS" = "x"
13001 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
13004 if ${ZLIB_PE_CFLAGS:+false} :
13006 if test ${MINGW_PKG_CONFIG+y}
13008 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib
2>/dev
/null
`
13011 if ${ZLIB_PE_LIBS:+false} :
13013 if test ${MINGW_PKG_CONFIG+y}
13015 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib
2>/dev
/null
`
13018 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13019 ac_save_CPPFLAGS=$CPPFLAGS
13020 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13022 printf %s "checking for MinGW zlib.h... " >&6; }
13023 if test ${ac_cv_mingw_header_zlib_h+y}
13025 printf %s "(cached) " >&6
13027 ac_wine_check_headers_saved_cc=$CC
13028 ac_wine_check_headers_saved_exeext=$ac_exeext
13029 eval CC=\$${wine_arch}_CC
13031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13032 /* end confdefs.h. */
13043 if ac_fn_c_try_compile "$LINENO"
13045 ac_cv_mingw_header_zlib_h=yes
13047 ac_cv_mingw_header_zlib_h=no
13049 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13050 CC=$ac_wine_check_headers_saved_cc
13051 ac_exeext=$ac_wine_check_headers_saved_exeext
13053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13054 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13055 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13058 printf %s "checking for inflate in MinGW -lz... " >&6; }
13059 if test ${ac_cv_mingw_lib_z+y}
13061 printf %s "(cached) " >&6
13063 ac_wine_check_headers_saved_cc=$CC
13064 ac_wine_check_headers_saved_exeext=$ac_exeext
13065 ac_wine_check_headers_saved_libs=$LIBS
13066 eval CC=\$${wine_arch}_CC
13068 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13070 /* end confdefs.h. */
13072 /* Override any GCC internal prototype to avoid an error.
13073 Use char because int might match the return type of a GCC
13074 builtin and then its argument prototype would still apply. */
13084 if ac_fn_c_try_link "$LINENO"
13086 ac_cv_mingw_lib_z=yes
13088 ac_cv_mingw_lib_z=no
13090 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13091 conftest$ac_exeext conftest.$ac_ext
13092 CC=$ac_wine_check_headers_saved_cc
13093 ac_exeext=$ac_wine_check_headers_saved_exeext
13094 LIBS=$ac_wine_check_headers_saved_libs
13096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13097 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13098 if test "x$ac_cv_mingw_lib_z" = xyes
13102 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13105 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13107 CPPFLAGS=$ac_save_CPPFLAGS
13109 if test "x$ZLIB_PE_LIBS" = "x"
13111 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13115 if ${FAUDIO_PE_LIBS:+false} :
13117 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13118 if ${FAUDIO_PE_CFLAGS:+false} :
13120 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13127 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13128 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13130 if ${GSM_PE_LIBS:+false} :
13133 if ${GSM_PE_CFLAGS:+false} :
13135 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13142 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13143 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13145 if ${JPEG_PE_LIBS:+false} :
13148 if ${JPEG_PE_CFLAGS:+false} :
13150 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13157 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13158 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13160 if ${JXR_PE_LIBS:+false} :
13163 if ${JXR_PE_CFLAGS:+false} :
13165 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13172 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13173 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13175 if ${LCMS2_PE_LIBS:+false} :
13177 LCMS2_PE_LIBS=lcms2
13178 if ${LCMS2_PE_CFLAGS:+false} :
13180 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13187 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13188 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13190 if ${LDAP_PE_LIBS:+false} :
13193 if ${LDAP_PE_CFLAGS:+false} :
13195 LDAP_PE_CFLAGS="-I\$(top_srcdir)/libs/ldap/include"
13202 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap cflags: $LDAP_PE_CFLAGS" >&5
13203 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap libs: $LDAP_PE_LIBS" >&5
13205 if ${MPG123_PE_LIBS:+false} :
13207 MPG123_PE_LIBS=mpg123
13208 if ${MPG123_PE_CFLAGS:+false} :
13210 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13217 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13218 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13220 if ${PNG_PE_LIBS:+false} :
13222 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13223 if ${PNG_PE_CFLAGS:+false} :
13225 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13232 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13233 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13235 if ${TIFF_PE_LIBS:+false} :
13237 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13238 if ${TIFF_PE_CFLAGS:+false} :
13240 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13247 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13248 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13250 if ${VKD3D_PE_LIBS:+false} :
13252 VKD3D_PE_LIBS=vkd3d
13253 if ${VKD3D_PE_CFLAGS:+false} :
13255 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13262 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13263 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13265 if ${XML2_PE_LIBS:+false} :
13268 if ${XML2_PE_CFLAGS:+false} :
13270 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13277 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13278 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13280 if ${XSLT_PE_LIBS:+false} :
13283 if ${XSLT_PE_CFLAGS:+false} :
13285 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13292 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13293 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13295 if ${ZLIB_PE_LIBS:+false} :
13298 if ${ZLIB_PE_CFLAGS:+false} :
13300 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13307 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13308 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13312 if test "$ac_cv_header_pthread_h" = "yes"
13314 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13315 if test "x$ac_cv_func_pthread_create" = xyes
13319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13320 printf %s "checking for pthread_create in -lpthread... " >&6; }
13321 if test ${ac_cv_lib_pthread_pthread_create+y}
13323 printf %s "(cached) " >&6
13325 ac_check_lib_save_LIBS=$LIBS
13326 LIBS="-lpthread $LIBS"
13327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13328 /* end confdefs.h. */
13330 /* Override any GCC internal prototype to avoid an error.
13331 Use char because int might match the return type of a GCC
13332 builtin and then its argument prototype would still apply. */
13333 char pthread_create ();
13337 return pthread_create ();
13342 if ac_fn_c_try_link "$LINENO"
13344 ac_cv_lib_pthread_pthread_create=yes
13346 ac_cv_lib_pthread_pthread_create=no
13348 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13349 conftest$ac_exeext conftest.$ac_ext
13350 LIBS=$ac_check_lib_save_LIBS
13352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13353 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13354 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13356 PTHREAD_LIBS="-lpthread"
13363 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13365 case "x$with_pthread" in
13367 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13368 Wine cannot support threads without libpthread.
13369 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13376 ac_cpp='$CPP $CPPFLAGS'
13377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13381 printf %s "checking how to run the C preprocessor... " >&6; }
13382 # On Suns, sometimes $CPP names a directory.
13383 if test -n "$CPP" && test -d "$CPP"; then
13386 if test -z "$CPP"; then
13387 if test ${ac_cv_prog_CPP+y}
13389 printf %s "(cached) " >&6
13391 # Double quotes because $CC needs to be expanded
13392 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13394 ac_preproc_ok=false
13395 for ac_c_preproc_warn_flag in '' yes
13397 # Use a header file that comes with gcc, so configuring glibc
13398 # with a fresh cross-compiler works.
13399 # On the NeXT, cc -E runs the code through the compiler's parser,
13400 # not just through cpp. "Syntax error" is here to catch this case.
13401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13402 /* end confdefs.h. */
13403 #include <limits.h>
13406 if ac_fn_c_try_cpp "$LINENO"
13410 # Broken: fails on valid input.
13413 rm -f conftest.err conftest.i conftest.$ac_ext
13415 # OK, works on sane cases. Now check whether nonexistent headers
13416 # can be detected and how.
13417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13418 /* end confdefs.h. */
13419 #include <ac_nonexistent.h>
13421 if ac_fn_c_try_cpp "$LINENO"
13423 # Broken: success on invalid input.
13426 # Passes both tests.
13430 rm -f conftest.err conftest.i conftest.$ac_ext
13433 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13434 rm -f conftest.i conftest.err conftest.
$ac_ext
13441 ac_cv_prog_CPP
=$CPP
13444 CPP
=$ac_cv_prog_CPP
13446 ac_cv_prog_CPP
=$CPP
13448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13449 printf "%s\n" "$CPP" >&6; }
13450 ac_preproc_ok
=false
13451 for ac_c_preproc_warn_flag
in '' yes
13453 # Use a header file that comes with gcc, so configuring glibc
13454 # with a fresh cross-compiler works.
13455 # On the NeXT, cc -E runs the code through the compiler's parser,
13456 # not just through cpp. "Syntax error" is here to catch this case.
13457 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13458 /* end confdefs.h. */
13459 #include <limits.h>
13462 if ac_fn_c_try_cpp
"$LINENO"
13466 # Broken: fails on valid input.
13469 rm -f conftest.err conftest.i conftest.
$ac_ext
13471 # OK, works on sane cases. Now check whether nonexistent headers
13472 # can be detected and how.
13473 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13474 /* end confdefs.h. */
13475 #include <ac_nonexistent.h>
13477 if ac_fn_c_try_cpp
"$LINENO"
13479 # Broken: success on invalid input.
13482 # Passes both tests.
13486 rm -f conftest.err conftest.i conftest.
$ac_ext
13489 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13490 rm -f conftest.i conftest.err conftest.
$ac_ext
13495 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13496 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13497 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
13498 See \`config.log' for more details" "$LINENO" 5; }
13502 ac_cpp
='$CPP $CPPFLAGS'
13503 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13504 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13505 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13509 printf %s
"checking for X... " >&6; }
13512 # Check whether --with-x was given.
13513 if test ${with_x+y}
13518 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13519 if test "x$with_x" = xno
; then
13520 # The user explicitly disabled X.
13523 case $x_includes,$x_libraries in #(
13524 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
13525 *,NONE | NONE
,*) if test ${ac_cv_have_x+y}
13527 printf %s
"(cached) " >&6
13529 # One or both of the vars are not set, and there is no cached value.
13532 # Do we need to do anything special at all?
13535 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13536 /* end confdefs.h. */
13537 #include <X11/Xlib.h>
13546 if ac_fn_c_try_link
"$LINENO"
13548 # We can compile and link X programs with no special options.
13552 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13553 conftest
$ac_exeext conftest.
$ac_ext
13554 LIBS
="$ac_save_LIBS"
13555 # If that didn't work, only try xmkmf and file system searches
13556 # for native compilation.
13557 if test x
"$ac_x_includes" = xno
&& test "$cross_compiling" = no
13559 rm -f -r conftest.dir
13560 if mkdir conftest.dir
; then
13562 cat >Imakefile
<<'_ACEOF'
13564 @echo incroot='${INCROOT}'
13566 @echo usrlibdir='${USRLIBDIR}'
13568 @echo libdir='${LIBDIR}'
13570 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
13571 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13572 for ac_var
in incroot usrlibdir libdir
; do
13573 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13575 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13576 for ac_extension
in a so sl dylib la dll
; do
13577 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13578 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13579 ac_im_usrlibdir
=$ac_im_libdir; break
13582 # Screen out bogus values from the imake configuration. They are
13583 # bogus both because they are the default anyway, and because
13584 # using them would break gcc on systems where it needs fixed includes.
13585 case $ac_im_incroot in
13586 /usr
/include
) ac_x_includes
= ;;
13587 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
13589 case $ac_im_usrlibdir in
13590 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
13591 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
13595 rm -f -r conftest.dir
13598 # Standard set of common directories for X headers.
13599 # Check X11 before X11Rn because it is often a symlink to the current release.
13613 /usr/local/X11/include
13614 /usr/local/X11R7/include
13615 /usr/local/X11R6/include
13616 /usr/local/X11R5/include
13617 /usr/local/X11R4/include
13619 /usr/local/include/X11
13620 /usr/local/include/X11R7
13621 /usr/local/include/X11R6
13622 /usr/local/include/X11R5
13623 /usr/local/include/X11R4
13629 /usr/XFree86/include/X11
13633 /usr/unsupported/include
13634 /usr/athena/include
13635 /usr/local/x11r5/include
13636 /usr/lpp/Xamples/include
13638 /usr/openwin/include
13639 /usr/openwin/share/include'
13641 if test "$ac_x_includes" = no
; then
13642 # Guess where to find include files, by looking for Xlib.h.
13643 # First, try using that file with no special directory specified.
13644 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13645 /* end confdefs.h. */
13646 #include <X11/Xlib.h>
13648 if ac_fn_c_try_cpp
"$LINENO"
13650 # We can compile using X headers with no special include directory.
13653 for ac_dir
in $ac_x_header_dirs; do
13654 if test -r "$ac_dir/X11/Xlib.h"; then
13655 ac_x_includes
=$ac_dir
13660 rm -f conftest.err conftest.i conftest.
$ac_ext
13661 fi # $ac_x_includes = no
13663 if test "$ac_x_libraries" = no
; then
13664 # Check for the libraries.
13665 # See if we find them without any special options.
13666 # Don't add to $LIBS permanently.
13669 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13670 /* end confdefs.h. */
13671 #include <X11/Xlib.h>
13680 if ac_fn_c_try_link
"$LINENO"
13683 # We can link X programs with no special library path.
13687 for ac_dir
in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13689 # Don't even attempt the hair of trying to link an X program!
13690 for ac_extension
in a so sl dylib la dll
; do
13691 if test -r "$ac_dir/libX11.$ac_extension"; then
13692 ac_x_libraries
=$ac_dir
13698 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13699 conftest
$ac_exeext conftest.
$ac_ext
13700 fi # $ac_x_libraries = no
13703 # Record the results.
13704 case $ac_x_includes,$ac_x_libraries in #(
13705 no
,* |
*,no |
*\'*) :
13706 # Didn't find X, or a directory has "'" in its name.
13707 ac_cv_have_x
="have_x=no" ;; #(
13709 # Record where we found X for the cache.
13710 ac_cv_have_x
="have_x=yes\
13711 ac_x_includes='$ac_x_includes'\
13712 ac_x_libraries='$ac_x_libraries'" ;;
13718 eval "$ac_cv_have_x"
13721 if test "$have_x" != yes; then
13722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13723 printf "%s\n" "$have_x" >&6; }
13726 # If each of the values was on the command line, it overrides each guess.
13727 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
13728 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
13729 # Update the cache value to reflect the command line values.
13730 ac_cv_have_x
="have_x=yes\
13731 ac_x_includes='$x_includes'\
13732 ac_x_libraries='$x_libraries'"
13733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13734 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13737 if test "$no_x" = yes; then
13738 # Not all programs may use this symbol, but it does not hurt to define it.
13740 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13742 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
13744 if test -n "$x_includes"; then
13745 X_CFLAGS
="$X_CFLAGS -I$x_includes"
13748 # It would also be nice to do this for all -L options, not just this one.
13749 if test -n "$x_libraries"; then
13750 X_LIBS
="$X_LIBS -L$x_libraries"
13751 # For Solaris; some versions of Sun CC require a space after -R and
13752 # others require no space. Words are not sufficient . . . .
13753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13754 printf %s
"checking whether -R must be followed by a space... " >&6; }
13755 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
13756 ac_xsave_c_werror_flag
=$ac_c_werror_flag
13757 ac_c_werror_flag
=yes
13758 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13759 /* end confdefs.h. */
13769 if ac_fn_c_try_link
"$LINENO"
13771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13772 printf "%s\n" "no" >&6; }
13773 X_LIBS
="$X_LIBS -R$x_libraries"
13775 LIBS
="$ac_xsave_LIBS -R $x_libraries"
13776 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13777 /* end confdefs.h. */
13787 if ac_fn_c_try_link
"$LINENO"
13789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13790 printf "%s\n" "yes" >&6; }
13791 X_LIBS
="$X_LIBS -R $x_libraries"
13793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13794 printf "%s\n" "neither works" >&6; }
13796 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13797 conftest
$ac_exeext conftest.
$ac_ext
13799 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13800 conftest
$ac_exeext conftest.
$ac_ext
13801 ac_c_werror_flag
=$ac_xsave_c_werror_flag
13802 LIBS
=$ac_xsave_LIBS
13805 # Check for system-dependent libraries X programs must link with.
13806 # Do this before checking for the system-independent R6 libraries
13807 # (-lICE), since we may need -lsocket or whatever for X linking.
13809 if test "$ISC" = yes; then
13810 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
13812 # Martyn Johnson says this is needed for Ultrix, if the X
13813 # libraries were built with DECnet support. And Karl Berry says
13814 # the Alpha needs dnet_stub (dnet does not exist).
13815 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
13816 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13817 /* end confdefs.h. */
13819 /* Override any GCC internal prototype to avoid an error.
13820 Use char because int might match the return type of a GCC
13821 builtin and then its argument prototype would still apply. */
13822 char XOpenDisplay ();
13826 return XOpenDisplay ();
13831 if ac_fn_c_try_link
"$LINENO"
13835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13836 printf %s
"checking for dnet_ntoa in -ldnet... " >&6; }
13837 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13839 printf %s
"(cached) " >&6
13841 ac_check_lib_save_LIBS
=$LIBS
13842 LIBS
="-ldnet $LIBS"
13843 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13844 /* end confdefs.h. */
13846 /* Override any GCC internal prototype to avoid an error.
13847 Use char because int might match the return type of a GCC
13848 builtin and then its argument prototype would still apply. */
13853 return dnet_ntoa ();
13858 if ac_fn_c_try_link
"$LINENO"
13860 ac_cv_lib_dnet_dnet_ntoa
=yes
13862 ac_cv_lib_dnet_dnet_ntoa
=no
13864 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13865 conftest
$ac_exeext conftest.
$ac_ext
13866 LIBS
=$ac_check_lib_save_LIBS
13868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13869 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13870 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13872 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
13875 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
13876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13877 printf %s
"checking for dnet_ntoa in -ldnet_stub... " >&6; }
13878 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
13880 printf %s
"(cached) " >&6
13882 ac_check_lib_save_LIBS
=$LIBS
13883 LIBS
="-ldnet_stub $LIBS"
13884 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13885 /* end confdefs.h. */
13887 /* Override any GCC internal prototype to avoid an error.
13888 Use char because int might match the return type of a GCC
13889 builtin and then its argument prototype would still apply. */
13894 return dnet_ntoa ();
13899 if ac_fn_c_try_link
"$LINENO"
13901 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
13903 ac_cv_lib_dnet_stub_dnet_ntoa
=no
13905 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13906 conftest
$ac_exeext conftest.
$ac_ext
13907 LIBS
=$ac_check_lib_save_LIBS
13909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
13910 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
13911 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
13913 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
13918 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13919 conftest
$ac_exeext conftest.
$ac_ext
13920 LIBS
="$ac_xsave_LIBS"
13922 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13923 # to get the SysV transport functions.
13924 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
13926 # The nsl library prevents programs from opening the X display
13927 # on Irix 5.2, according to T.E. Dickey.
13928 # The functions gethostbyname, getservbyname, and inet_addr are
13929 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
13930 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
13931 if test "x$ac_cv_func_gethostbyname" = xyes
13936 if test $ac_cv_func_gethostbyname = no
; then
13937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
13938 printf %s
"checking for gethostbyname in -lnsl... " >&6; }
13939 if test ${ac_cv_lib_nsl_gethostbyname+y}
13941 printf %s
"(cached) " >&6
13943 ac_check_lib_save_LIBS
=$LIBS
13945 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13946 /* end confdefs.h. */
13948 /* Override any GCC internal prototype to avoid an error.
13949 Use char because int might match the return type of a GCC
13950 builtin and then its argument prototype would still apply. */
13951 char gethostbyname ();
13955 return gethostbyname ();
13960 if ac_fn_c_try_link
"$LINENO"
13962 ac_cv_lib_nsl_gethostbyname
=yes
13964 ac_cv_lib_nsl_gethostbyname
=no
13966 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13967 conftest
$ac_exeext conftest.
$ac_ext
13968 LIBS
=$ac_check_lib_save_LIBS
13970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
13971 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
13972 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
13974 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
13977 if test $ac_cv_lib_nsl_gethostbyname = no
; then
13978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
13979 printf %s
"checking for gethostbyname in -lbsd... " >&6; }
13980 if test ${ac_cv_lib_bsd_gethostbyname+y}
13982 printf %s
"(cached) " >&6
13984 ac_check_lib_save_LIBS
=$LIBS
13986 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13987 /* end confdefs.h. */
13989 /* Override any GCC internal prototype to avoid an error.
13990 Use char because int might match the return type of a GCC
13991 builtin and then its argument prototype would still apply. */
13992 char gethostbyname ();
13996 return gethostbyname ();
14001 if ac_fn_c_try_link
"$LINENO"
14003 ac_cv_lib_bsd_gethostbyname
=yes
14005 ac_cv_lib_bsd_gethostbyname
=no
14007 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14008 conftest
$ac_exeext conftest.
$ac_ext
14009 LIBS
=$ac_check_lib_save_LIBS
14011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14012 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14013 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14015 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
14021 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14022 # socket/setsockopt and other routines are undefined under SCO ODT
14023 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14024 # on later versions), says Simon Leinen: it contains gethostby*
14025 # variants that don't use the name server (or something). -lsocket
14026 # must be given before -lnsl if both are needed. We assume that
14027 # if connect needs -lnsl, so does gethostbyname.
14028 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
14029 if test "x$ac_cv_func_connect" = xyes
14034 if test $ac_cv_func_connect = no
; then
14035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14036 printf %s
"checking for connect in -lsocket... " >&6; }
14037 if test ${ac_cv_lib_socket_connect+y}
14039 printf %s
"(cached) " >&6
14041 ac_check_lib_save_LIBS
=$LIBS
14042 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
14043 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14044 /* end confdefs.h. */
14046 /* Override any GCC internal prototype to avoid an error.
14047 Use char because int might match the return type of a GCC
14048 builtin and then its argument prototype would still apply. */
14058 if ac_fn_c_try_link
"$LINENO"
14060 ac_cv_lib_socket_connect
=yes
14062 ac_cv_lib_socket_connect
=no
14064 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14065 conftest
$ac_exeext conftest.
$ac_ext
14066 LIBS
=$ac_check_lib_save_LIBS
14068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14069 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14070 if test "x$ac_cv_lib_socket_connect" = xyes
14072 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
14077 # Guillermo Gomez says -lposix is necessary on A/UX.
14078 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
14079 if test "x$ac_cv_func_remove" = xyes
14084 if test $ac_cv_func_remove = no
; then
14085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14086 printf %s
"checking for remove in -lposix... " >&6; }
14087 if test ${ac_cv_lib_posix_remove+y}
14089 printf %s
"(cached) " >&6
14091 ac_check_lib_save_LIBS
=$LIBS
14092 LIBS
="-lposix $LIBS"
14093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14094 /* end confdefs.h. */
14096 /* Override any GCC internal prototype to avoid an error.
14097 Use char because int might match the return type of a GCC
14098 builtin and then its argument prototype would still apply. */
14108 if ac_fn_c_try_link
"$LINENO"
14110 ac_cv_lib_posix_remove
=yes
14112 ac_cv_lib_posix_remove
=no
14114 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14115 conftest
$ac_exeext conftest.
$ac_ext
14116 LIBS
=$ac_check_lib_save_LIBS
14118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14119 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14120 if test "x$ac_cv_lib_posix_remove" = xyes
14122 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
14127 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14128 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
14129 if test "x$ac_cv_func_shmat" = xyes
14134 if test $ac_cv_func_shmat = no
; then
14135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14136 printf %s
"checking for shmat in -lipc... " >&6; }
14137 if test ${ac_cv_lib_ipc_shmat+y}
14139 printf %s
"(cached) " >&6
14141 ac_check_lib_save_LIBS
=$LIBS
14143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14144 /* end confdefs.h. */
14146 /* Override any GCC internal prototype to avoid an error.
14147 Use char because int might match the return type of a GCC
14148 builtin and then its argument prototype would still apply. */
14158 if ac_fn_c_try_link
"$LINENO"
14160 ac_cv_lib_ipc_shmat
=yes
14162 ac_cv_lib_ipc_shmat
=no
14164 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14165 conftest
$ac_exeext conftest.
$ac_ext
14166 LIBS
=$ac_check_lib_save_LIBS
14168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14169 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14170 if test "x$ac_cv_lib_ipc_shmat" = xyes
14172 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
14178 # Check for libraries that X11R6 Xt/Xaw programs need.
14179 ac_save_LDFLAGS
=$LDFLAGS
14180 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
14181 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14182 # check for ICE first), but we must link in the order -lSM -lICE or
14183 # we get undefined symbols. So assume we have SM if we have ICE.
14184 # These have to be linked with before -lX11, unlike the other
14185 # libraries we check for below, so use a different variable.
14186 # John Interrante, Karl Berry
14187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14188 printf %s
"checking for IceConnectionNumber in -lICE... " >&6; }
14189 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14191 printf %s
"(cached) " >&6
14193 ac_check_lib_save_LIBS
=$LIBS
14194 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
14195 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14196 /* end confdefs.h. */
14198 /* Override any GCC internal prototype to avoid an error.
14199 Use char because int might match the return type of a GCC
14200 builtin and then its argument prototype would still apply. */
14201 char IceConnectionNumber ();
14205 return IceConnectionNumber ();
14210 if ac_fn_c_try_link
"$LINENO"
14212 ac_cv_lib_ICE_IceConnectionNumber
=yes
14214 ac_cv_lib_ICE_IceConnectionNumber
=no
14216 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14217 conftest
$ac_exeext conftest.
$ac_ext
14218 LIBS
=$ac_check_lib_save_LIBS
14220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14221 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14222 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14224 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
14227 LDFLAGS
=$ac_save_LDFLAGS
14232 if test "$have_x" = "yes"
14234 ac_save_CPPFLAGS
="$CPPFLAGS"
14235 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
14237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14238 printf %s
"checking for -lX11... " >&6; }
14239 if test ${ac_cv_lib_soname_X11+y}
14241 printf %s
"(cached) " >&6
14243 ac_check_soname_save_LIBS
=$LIBS
14244 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14245 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14246 /* end confdefs.h. */
14248 /* Override any GCC internal prototype to avoid an error.
14249 Use char because int might match the return type of a GCC
14250 builtin and then its argument prototype would still apply. */
14251 char XCreateWindow ();
14255 return XCreateWindow ();
14260 if ac_fn_c_try_link
"$LINENO"
14263 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14264 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'` ;;
14265 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14266 if ${ac_cv_lib_soname_X11:+false} :
14268 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14272 ac_cv_lib_soname_X11
=
14274 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14275 conftest
$ac_exeext conftest.
$ac_ext
14276 LIBS
=$ac_check_soname_save_LIBS
14278 if ${ac_cv_lib_soname_X11:+false} :
14280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14281 printf "%s\n" "not found" >&6; }
14284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14285 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14287 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14292 printf %s
"checking for -lXext... " >&6; }
14293 if test ${ac_cv_lib_soname_Xext+y}
14295 printf %s
"(cached) " >&6
14297 ac_check_soname_save_LIBS
=$LIBS
14298 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14299 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14300 /* end confdefs.h. */
14302 /* Override any GCC internal prototype to avoid an error.
14303 Use char because int might match the return type of a GCC
14304 builtin and then its argument prototype would still apply. */
14305 char XextCreateExtension ();
14309 return XextCreateExtension ();
14314 if ac_fn_c_try_link
"$LINENO"
14317 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14318 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'` ;;
14319 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14320 if ${ac_cv_lib_soname_Xext:+false} :
14322 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14326 ac_cv_lib_soname_Xext
=
14328 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14329 conftest
$ac_exeext conftest.
$ac_ext
14330 LIBS
=$ac_check_soname_save_LIBS
14332 if ${ac_cv_lib_soname_Xext:+false} :
14334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14335 printf "%s\n" "not found" >&6; }
14338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14339 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14341 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14343 X_LIBS
="$X_LIBS -lXext"
14345 X_LIBS
="$X_LIBS -lX11"
14347 ac_fn_c_check_header_compile
"$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
14348 # include <X11/Xlib.h>
14350 #ifdef HAVE_X11_XUTIL_H
14351 # include <X11/Xutil.h>
14354 if test "x$ac_cv_header_X11_Xlib_h" = xyes
14356 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14359 ac_fn_c_check_header_compile
"$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
14360 # include <X11/Xlib.h>
14362 #ifdef HAVE_X11_XUTIL_H
14363 # include <X11/Xutil.h>
14366 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
14368 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14371 ac_fn_c_check_header_compile
"$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
14372 # include <X11/Xlib.h>
14374 #ifdef HAVE_X11_XUTIL_H
14375 # include <X11/Xutil.h>
14378 if test "x$ac_cv_header_X11_Xutil_h" = xyes
14380 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14383 ac_fn_c_check_header_compile
"$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
14384 # include <X11/Xlib.h>
14386 #ifdef HAVE_X11_XUTIL_H
14387 # include <X11/Xutil.h>
14390 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14392 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14395 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
14396 # include <X11/Xlib.h>
14398 #ifdef HAVE_X11_XUTIL_H
14399 # include <X11/Xutil.h>
14402 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14404 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14407 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
14408 # include <X11/Xlib.h>
14410 #ifdef HAVE_X11_XUTIL_H
14411 # include <X11/Xutil.h>
14414 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14416 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14419 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
14420 # include <X11/Xlib.h>
14422 #ifdef HAVE_X11_XUTIL_H
14423 # include <X11/Xutil.h>
14426 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14428 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14431 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
14432 # include <X11/Xlib.h>
14434 #ifdef HAVE_X11_XUTIL_H
14435 # include <X11/Xutil.h>
14438 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14440 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14443 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
14444 # include <X11/Xlib.h>
14446 #ifdef HAVE_X11_XUTIL_H
14447 # include <X11/Xutil.h>
14450 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
14452 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14455 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
14456 # include <X11/Xlib.h>
14458 #ifdef HAVE_X11_XUTIL_H
14459 # include <X11/Xutil.h>
14462 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14464 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14467 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
14468 # include <X11/Xlib.h>
14470 #ifdef HAVE_X11_XUTIL_H
14471 # include <X11/Xutil.h>
14474 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14476 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14479 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
14480 # include <X11/Xlib.h>
14482 #ifdef HAVE_X11_XUTIL_H
14483 # include <X11/Xutil.h>
14486 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14488 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14491 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
14492 # include <X11/Xlib.h>
14494 #ifdef HAVE_X11_XUTIL_H
14495 # include <X11/Xutil.h>
14498 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14500 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14503 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
14504 # include <X11/Xlib.h>
14506 #ifdef HAVE_X11_XUTIL_H
14507 # include <X11/Xutil.h>
14510 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14512 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14515 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
14516 # include <X11/Xlib.h>
14518 #ifdef HAVE_X11_XUTIL_H
14519 # include <X11/Xutil.h>
14522 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14524 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14529 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
14531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
14532 printf %s
"checking for XkbQueryExtension in -lX11... " >&6; }
14533 if test ${ac_cv_lib_X11_XkbQueryExtension+y}
14535 printf %s
"(cached) " >&6
14537 ac_check_lib_save_LIBS
=$LIBS
14538 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14539 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14540 /* end confdefs.h. */
14542 /* Override any GCC internal prototype to avoid an error.
14543 Use char because int might match the return type of a GCC
14544 builtin and then its argument prototype would still apply. */
14545 char XkbQueryExtension ();
14549 return XkbQueryExtension ();
14554 if ac_fn_c_try_link
"$LINENO"
14556 ac_cv_lib_X11_XkbQueryExtension
=yes
14558 ac_cv_lib_X11_XkbQueryExtension
=no
14560 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14561 conftest
$ac_exeext conftest.
$ac_ext
14562 LIBS
=$ac_check_lib_save_LIBS
14564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
14565 printf "%s\n" "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
14566 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
14569 printf "%s\n" "#define HAVE_XKB 1" >>confdefs.h
14575 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14578 printf %s
"checking for -lXcursor... " >&6; }
14579 if test ${ac_cv_lib_soname_Xcursor+y}
14581 printf %s
"(cached) " >&6
14583 ac_check_soname_save_LIBS
=$LIBS
14584 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14585 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14586 /* end confdefs.h. */
14588 /* Override any GCC internal prototype to avoid an error.
14589 Use char because int might match the return type of a GCC
14590 builtin and then its argument prototype would still apply. */
14591 char XcursorImageLoadCursor ();
14595 return XcursorImageLoadCursor ();
14600 if ac_fn_c_try_link
"$LINENO"
14603 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14604 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'` ;;
14605 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14606 if ${ac_cv_lib_soname_Xcursor:+false} :
14608 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14612 ac_cv_lib_soname_Xcursor
=
14614 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14615 conftest
$ac_exeext conftest.
$ac_ext
14616 LIBS
=$ac_check_soname_save_LIBS
14618 if ${ac_cv_lib_soname_Xcursor:+false} :
14620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14621 printf "%s\n" "not found" >&6; }
14624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14625 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14627 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14632 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14634 case "x$with_xcursor" in
14635 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14637 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14638 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14643 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14646 printf %s
"checking for -lXi... " >&6; }
14647 if test ${ac_cv_lib_soname_Xi+y}
14649 printf %s
"(cached) " >&6
14651 ac_check_soname_save_LIBS
=$LIBS
14652 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14653 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14654 /* end confdefs.h. */
14656 /* Override any GCC internal prototype to avoid an error.
14657 Use char because int might match the return type of a GCC
14658 builtin and then its argument prototype would still apply. */
14659 char XOpenDevice ();
14663 return XOpenDevice ();
14668 if ac_fn_c_try_link
"$LINENO"
14671 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14672 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'` ;;
14673 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14674 if ${ac_cv_lib_soname_Xi:+false} :
14676 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14680 ac_cv_lib_soname_Xi
=
14682 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14683 conftest
$ac_exeext conftest.
$ac_ext
14684 LIBS
=$ac_check_soname_save_LIBS
14686 if ${ac_cv_lib_soname_Xi:+false} :
14688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14689 printf "%s\n" "not found" >&6; }
14692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14693 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14695 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14700 if test "x$ac_cv_lib_soname_Xi" = "x"
14702 case "x$with_xinput" in
14703 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14705 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14706 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14711 if test "x$ac_cv_lib_soname_Xi" != x
14713 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14715 case "x$with_xinput2" in
14716 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14718 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
14719 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14725 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14728 printf %s
"checking for XShmQueryExtension in -lXext... " >&6; }
14729 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14731 printf %s
"(cached) " >&6
14733 ac_check_lib_save_LIBS
=$LIBS
14734 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14735 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14736 /* end confdefs.h. */
14738 /* Override any GCC internal prototype to avoid an error.
14739 Use char because int might match the return type of a GCC
14740 builtin and then its argument prototype would still apply. */
14741 char XShmQueryExtension ();
14745 return XShmQueryExtension ();
14750 if ac_fn_c_try_link
"$LINENO"
14752 ac_cv_lib_Xext_XShmQueryExtension
=yes
14754 ac_cv_lib_Xext_XShmQueryExtension
=no
14756 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14757 conftest
$ac_exeext conftest.
$ac_ext
14758 LIBS
=$ac_check_lib_save_LIBS
14760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14761 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14762 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14765 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14770 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14772 case "x$with_xshm" in
14773 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14775 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14776 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14781 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14784 printf %s
"checking for XShapeQueryExtension in -lXext... " >&6; }
14785 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14787 printf %s
"(cached) " >&6
14789 ac_check_lib_save_LIBS
=$LIBS
14790 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14791 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14792 /* end confdefs.h. */
14794 /* Override any GCC internal prototype to avoid an error.
14795 Use char because int might match the return type of a GCC
14796 builtin and then its argument prototype would still apply. */
14797 char XShapeQueryExtension ();
14801 return XShapeQueryExtension ();
14806 if ac_fn_c_try_link
"$LINENO"
14808 ac_cv_lib_Xext_XShapeQueryExtension
=yes
14810 ac_cv_lib_Xext_XShapeQueryExtension
=no
14812 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14813 conftest
$ac_exeext conftest.
$ac_ext
14814 LIBS
=$ac_check_lib_save_LIBS
14816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14817 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14818 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14821 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14826 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14828 case "x$with_xshape" in
14829 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14831 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
14832 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14837 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14840 printf %s
"checking for -lXxf86vm... " >&6; }
14841 if test ${ac_cv_lib_soname_Xxf86vm+y}
14843 printf %s
"(cached) " >&6
14845 ac_check_soname_save_LIBS
=$LIBS
14846 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14847 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14848 /* end confdefs.h. */
14850 /* Override any GCC internal prototype to avoid an error.
14851 Use char because int might match the return type of a GCC
14852 builtin and then its argument prototype would still apply. */
14853 char XF86VidModeQueryExtension ();
14857 return XF86VidModeQueryExtension ();
14862 if ac_fn_c_try_link
"$LINENO"
14865 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14866 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'` ;;
14867 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14868 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14870 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14874 ac_cv_lib_soname_Xxf86vm
=
14876 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14877 conftest
$ac_exeext conftest.
$ac_ext
14878 LIBS
=$ac_check_soname_save_LIBS
14880 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14883 printf "%s\n" "not found" >&6; }
14886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
14887 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
14889 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
14894 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
14896 case "x$with_xxf86vm" in
14897 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
14899 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
14900 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
14905 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
14907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
14908 printf %s
"checking for -lXrender... " >&6; }
14909 if test ${ac_cv_lib_soname_Xrender+y}
14911 printf %s
"(cached) " >&6
14913 ac_check_soname_save_LIBS
=$LIBS
14914 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14915 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14916 /* end confdefs.h. */
14918 /* Override any GCC internal prototype to avoid an error.
14919 Use char because int might match the return type of a GCC
14920 builtin and then its argument prototype would still apply. */
14921 char XRenderQueryExtension ();
14925 return XRenderQueryExtension ();
14930 if ac_fn_c_try_link
"$LINENO"
14933 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14934 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'` ;;
14935 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14936 if ${ac_cv_lib_soname_Xrender:+false} :
14938 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14942 ac_cv_lib_soname_Xrender
=
14944 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14945 conftest
$ac_exeext conftest.
$ac_ext
14946 LIBS
=$ac_check_soname_save_LIBS
14948 if ${ac_cv_lib_soname_Xrender:+false} :
14950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14951 printf "%s\n" "not found" >&6; }
14954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
14955 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
14957 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
14959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
14960 printf %s
"checking for XRenderSetPictureTransform in -lXrender... " >&6; }
14961 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
14963 printf %s
"(cached) " >&6
14965 ac_check_lib_save_LIBS
=$LIBS
14966 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14967 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14968 /* end confdefs.h. */
14970 /* Override any GCC internal prototype to avoid an error.
14971 Use char because int might match the return type of a GCC
14972 builtin and then its argument prototype would still apply. */
14973 char XRenderSetPictureTransform ();
14977 return XRenderSetPictureTransform ();
14982 if ac_fn_c_try_link
"$LINENO"
14984 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
14986 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
14988 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14989 conftest
$ac_exeext conftest.
$ac_ext
14990 LIBS
=$ac_check_lib_save_LIBS
14992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
14993 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
14994 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
14997 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
15001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
15002 printf %s
"checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
15003 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
15005 printf %s
"(cached) " >&6
15007 ac_check_lib_save_LIBS
=$LIBS
15008 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15009 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15010 /* end confdefs.h. */
15012 /* Override any GCC internal prototype to avoid an error.
15013 Use char because int might match the return type of a GCC
15014 builtin and then its argument prototype would still apply. */
15015 char XRenderCreateLinearGradient ();
15019 return XRenderCreateLinearGradient ();
15024 if ac_fn_c_try_link
"$LINENO"
15026 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
15028 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
15030 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15031 conftest
$ac_exeext conftest.
$ac_ext
15032 LIBS
=$ac_check_lib_save_LIBS
15034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15035 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15036 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15039 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15046 if test "x$ac_cv_lib_soname_Xrender" = "x"
15048 case "x$with_xrender" in
15049 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15051 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
15052 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15057 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15059 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15060 /* end confdefs.h. */
15061 #include <X11/Xlib.h>
15062 #include <X11/extensions/Xrandr.h>
15066 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15071 if ac_fn_c_try_compile
"$LINENO"
15073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15074 printf %s
"checking for -lXrandr... " >&6; }
15075 if test ${ac_cv_lib_soname_Xrandr+y}
15077 printf %s
"(cached) " >&6
15079 ac_check_soname_save_LIBS
=$LIBS
15080 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15081 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15082 /* end confdefs.h. */
15084 /* Override any GCC internal prototype to avoid an error.
15085 Use char because int might match the return type of a GCC
15086 builtin and then its argument prototype would still apply. */
15087 char XRRQueryExtension ();
15091 return XRRQueryExtension ();
15096 if ac_fn_c_try_link
"$LINENO"
15099 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15100 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'` ;;
15101 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15102 if ${ac_cv_lib_soname_Xrandr:+false} :
15104 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15108 ac_cv_lib_soname_Xrandr
=
15110 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15111 conftest
$ac_exeext conftest.
$ac_ext
15112 LIBS
=$ac_check_soname_save_LIBS
15114 if ${ac_cv_lib_soname_Xrandr:+false} :
15116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15117 printf "%s\n" "not found" >&6; }
15120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15121 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15123 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15125 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15126 /* end confdefs.h. */
15127 #include <X11/Xlib.h>
15128 #include <X11/extensions/Xrandr.h>
15132 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15137 if ac_fn_c_try_compile
"$LINENO"
15140 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15143 as_fn_append wine_notices
"|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15145 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15148 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15150 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15152 case "x$with_xrandr" in
15153 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15155 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15156 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15161 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15163 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15164 /* end confdefs.h. */
15165 #include <X11/Xlib.h>
15166 #include <X11/extensions/Xfixes.h>
15170 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15175 if ac_fn_c_try_compile
"$LINENO"
15177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15178 printf %s
"checking for -lXfixes... " >&6; }
15179 if test ${ac_cv_lib_soname_Xfixes+y}
15181 printf %s
"(cached) " >&6
15183 ac_check_soname_save_LIBS
=$LIBS
15184 LIBS
="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15185 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15186 /* end confdefs.h. */
15188 /* Override any GCC internal prototype to avoid an error.
15189 Use char because int might match the return type of a GCC
15190 builtin and then its argument prototype would still apply. */
15191 char XFixesQueryVersion ();
15195 return XFixesQueryVersion ();
15200 if ac_fn_c_try_link
"$LINENO"
15203 dll
) ac_cv_lib_soname_Xfixes
=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15204 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'` ;;
15205 *) ac_cv_lib_soname_Xfixes
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15206 if ${ac_cv_lib_soname_Xfixes:+false} :
15208 ac_cv_lib_soname_Xfixes
=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15212 ac_cv_lib_soname_Xfixes
=
15214 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15215 conftest
$ac_exeext conftest.
$ac_ext
15216 LIBS
=$ac_check_soname_save_LIBS
15218 if ${ac_cv_lib_soname_Xfixes:+false} :
15220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15221 printf "%s\n" "not found" >&6; }
15224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15225 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15227 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15232 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15234 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15236 case "x$with_xfixes" in
15237 x
) as_fn_append wine_notices
"|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15239 *) as_fn_error $?
"libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15240 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15245 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15247 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15248 /* end confdefs.h. */
15249 #include <X11/Xlib.h>
15250 #include <X11/extensions/Xinerama.h>
15254 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15259 if ac_fn_c_try_compile
"$LINENO"
15261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15262 printf %s
"checking for -lXinerama... " >&6; }
15263 if test ${ac_cv_lib_soname_Xinerama+y}
15265 printf %s
"(cached) " >&6
15267 ac_check_soname_save_LIBS
=$LIBS
15268 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15269 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15270 /* end confdefs.h. */
15272 /* Override any GCC internal prototype to avoid an error.
15273 Use char because int might match the return type of a GCC
15274 builtin and then its argument prototype would still apply. */
15275 char XineramaQueryScreens ();
15279 return XineramaQueryScreens ();
15284 if ac_fn_c_try_link
"$LINENO"
15287 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15288 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'` ;;
15289 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15290 if ${ac_cv_lib_soname_Xinerama:+false} :
15292 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15296 ac_cv_lib_soname_Xinerama
=
15298 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15299 conftest
$ac_exeext conftest.
$ac_ext
15300 LIBS
=$ac_check_soname_save_LIBS
15302 if ${ac_cv_lib_soname_Xinerama:+false} :
15304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15305 printf "%s\n" "not found" >&6; }
15308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15309 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15311 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15316 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15318 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15320 case "x$with_xinerama" in
15321 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15323 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15324 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15329 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15332 printf %s
"checking for -lXcomposite... " >&6; }
15333 if test ${ac_cv_lib_soname_Xcomposite+y}
15335 printf %s
"(cached) " >&6
15337 ac_check_soname_save_LIBS
=$LIBS
15338 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15339 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15340 /* end confdefs.h. */
15342 /* Override any GCC internal prototype to avoid an error.
15343 Use char because int might match the return type of a GCC
15344 builtin and then its argument prototype would still apply. */
15345 char XCompositeRedirectWindow ();
15349 return XCompositeRedirectWindow ();
15354 if ac_fn_c_try_link
"$LINENO"
15357 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15358 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'` ;;
15359 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15360 if ${ac_cv_lib_soname_Xcomposite:+false} :
15362 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15366 ac_cv_lib_soname_Xcomposite
=
15368 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15369 conftest
$ac_exeext conftest.
$ac_ext
15370 LIBS
=$ac_check_soname_save_LIBS
15372 if ${ac_cv_lib_soname_Xcomposite:+false} :
15374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15375 printf "%s\n" "not found" >&6; }
15378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15379 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15381 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15386 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15388 case "x$with_xcomposite" in
15389 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15391 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15392 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15397 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
15398 #include <X11/Xlib.h>
15401 if test "x$ac_cv_member_XICCallback_callback" = xyes
15404 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15408 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15409 #include <X11/Xlib.h>
15412 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15415 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15423 if test "x$with_opengl" != "xno"
15425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15426 printf %s
"checking for -lGL... " >&6; }
15427 if test ${ac_cv_lib_soname_GL+y}
15429 printf %s
"(cached) " >&6
15431 ac_check_soname_save_LIBS
=$LIBS
15432 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15433 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15434 /* end confdefs.h. */
15436 /* Override any GCC internal prototype to avoid an error.
15437 Use char because int might match the return type of a GCC
15438 builtin and then its argument prototype would still apply. */
15439 char glXCreateContext ();
15443 return glXCreateContext ();
15448 if ac_fn_c_try_link
"$LINENO"
15451 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15452 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'` ;;
15453 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15454 if ${ac_cv_lib_soname_GL:+false} :
15456 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15460 ac_cv_lib_soname_GL
=
15462 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15463 conftest
$ac_exeext conftest.
$ac_ext
15464 LIBS
=$ac_check_soname_save_LIBS
15466 if ${ac_cv_lib_soname_GL:+false} :
15468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15469 printf "%s\n" "not found" >&6; }
15470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15471 printf %s
"checking for -lGL... " >&6; }
15472 if test ${ac_cv_lib_soname_GL+y}
15474 printf %s
"(cached) " >&6
15476 ac_check_soname_save_LIBS
=$LIBS
15477 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"
15478 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15479 /* end confdefs.h. */
15481 /* Override any GCC internal prototype to avoid an error.
15482 Use char because int might match the return type of a GCC
15483 builtin and then its argument prototype would still apply. */
15484 char glXCreateContext ();
15488 return glXCreateContext ();
15493 if ac_fn_c_try_link
"$LINENO"
15496 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15497 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'` ;;
15498 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15499 if ${ac_cv_lib_soname_GL:+false} :
15501 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15505 ac_cv_lib_soname_GL
=
15507 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15508 conftest
$ac_exeext conftest.
$ac_ext
15509 LIBS
=$ac_check_soname_save_LIBS
15511 if ${ac_cv_lib_soname_GL:+false} :
15513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15514 printf "%s\n" "not found" >&6; }
15515 if test -f /usr
/X11R
6/lib
/libGL.a
15517 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
15518 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15520 opengl_msg
="No OpenGL library found on this system."
15523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15524 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15526 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15528 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"
15531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15532 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15534 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15538 if test "x$with_osmesa" != "xno"
15540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15541 printf %s
"checking for -lOSMesa... " >&6; }
15542 if test ${ac_cv_lib_soname_OSMesa+y}
15544 printf %s
"(cached) " >&6
15546 ac_check_soname_save_LIBS
=$LIBS
15547 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15548 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15549 /* end confdefs.h. */
15551 /* Override any GCC internal prototype to avoid an error.
15552 Use char because int might match the return type of a GCC
15553 builtin and then its argument prototype would still apply. */
15554 char OSMesaGetProcAddress ();
15558 return OSMesaGetProcAddress ();
15563 if ac_fn_c_try_link
"$LINENO"
15566 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15567 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'` ;;
15568 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15569 if ${ac_cv_lib_soname_OSMesa:+false} :
15571 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15575 ac_cv_lib_soname_OSMesa
=
15577 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15578 conftest
$ac_exeext conftest.
$ac_ext
15579 LIBS
=$ac_check_soname_save_LIBS
15581 if ${ac_cv_lib_soname_OSMesa:+false} :
15583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15584 printf "%s\n" "not found" >&6; }
15587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15588 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15590 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15594 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15596 case "x$with_osmesa" in
15597 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15599 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15600 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15606 if test -n "$opengl_msg"
15608 case "x$with_opengl" in
15609 x
) as_fn_append wine_warnings
"|$opengl_msg
15610 OpenGL and Direct3D won't be supported." ;;
15612 *) as_fn_error $?
"$opengl_msg
15613 OpenGL and Direct3D won't be supported.
15614 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15619 CPPFLAGS
="$ac_save_CPPFLAGS"
15625 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15627 if test "x$X_LIBS" = "x"
15631 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
15632 without X support, which probably isn't what you want. You will need
15633 to install ${notice_platform}development packages of Xlib at the very least.
15634 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15636 enable_winex11_drv
=${enable_winex11_drv:-no}
15639 if test "x$X_LIBS" = "x"
15642 x
) as_fn_append wine_notices
"|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15644 *) as_fn_error $?
"X ${notice_platform}development files not found, the X11 driver won't be supported.
15645 This is an error since --with-x was requested." "$LINENO" 5 ;;
15647 enable_winex11_drv
=${enable_winex11_drv:-no}
15651 if test "$ac_cv_header_CL_cl_h" = "yes"
15653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15654 printf %s
"checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15655 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15657 printf %s
"(cached) " >&6
15659 ac_check_lib_save_LIBS
=$LIBS
15660 LIBS
="-lOpenCL $LIBS"
15661 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15662 /* end confdefs.h. */
15664 /* Override any GCC internal prototype to avoid an error.
15665 Use char because int might match the return type of a GCC
15666 builtin and then its argument prototype would still apply. */
15667 char clGetPlatformInfo ();
15671 return clGetPlatformInfo ();
15676 if ac_fn_c_try_link
"$LINENO"
15678 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
15680 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
15682 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15683 conftest
$ac_exeext conftest.
$ac_ext
15684 LIBS
=$ac_check_lib_save_LIBS
15686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15687 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15688 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15690 OPENCL_LIBS
="-lOpenCL"
15695 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15697 case "x$with_opencl" in
15698 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15700 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15701 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15703 enable_opencl
=${enable_opencl:-no}
15706 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
15709 printf %s
"checking for pcap_create in -lpcap... " >&6; }
15710 if test ${ac_cv_lib_pcap_pcap_create+y}
15712 printf %s
"(cached) " >&6
15714 ac_check_lib_save_LIBS
=$LIBS
15715 LIBS
="-lpcap $LIBS"
15716 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15717 /* end confdefs.h. */
15719 /* Override any GCC internal prototype to avoid an error.
15720 Use char because int might match the return type of a GCC
15721 builtin and then its argument prototype would still apply. */
15722 char pcap_create ();
15726 return pcap_create ();
15731 if ac_fn_c_try_link
"$LINENO"
15733 ac_cv_lib_pcap_pcap_create
=yes
15735 ac_cv_lib_pcap_pcap_create
=no
15737 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15738 conftest
$ac_exeext conftest.
$ac_ext
15739 LIBS
=$ac_check_lib_save_LIBS
15741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
15742 printf "%s\n" "$ac_cv_lib_pcap_pcap_create" >&6; }
15743 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
15750 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
15752 case "x$with_pcap" in
15753 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15755 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
15756 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15758 enable_wpcap
=${enable_wpcap:-no}
15761 if test "x$with_inotify" != "xno"
15764 if ${INOTIFY_CFLAGS:+false} :
15766 if test ${PKG_CONFIG+y}
15768 INOTIFY_CFLAGS
=`$PKG_CONFIG --cflags libinotify 2>conftest.err`
15772 if ${INOTIFY_LIBS:+false} :
15774 if test ${PKG_CONFIG+y}
15776 INOTIFY_LIBS
=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15781 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15782 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15783 if test -s conftest.err
; then
15784 printf %s
"$as_me:${as_lineno-$LINENO}: libinotify errors: " >&5
15785 cat conftest.err
>&5
15788 ac_save_CPPFLAGS
=$CPPFLAGS
15789 CPPFLAGS
="$CPPFLAGS $INOTIFY_CFLAGS"
15790 ac_fn_c_check_header_compile
"$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15791 if test "x$ac_cv_header_sys_inotify_h" = xyes
15793 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15798 printf %s
"checking for inotify_add_watch in -linotify... " >&6; }
15799 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15801 printf %s
"(cached) " >&6
15803 ac_check_lib_save_LIBS
=$LIBS
15804 LIBS
="-linotify $INOTIFY_LIBS $LIBS"
15805 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15806 /* end confdefs.h. */
15808 /* Override any GCC internal prototype to avoid an error.
15809 Use char because int might match the return type of a GCC
15810 builtin and then its argument prototype would still apply. */
15811 char inotify_add_watch ();
15815 return inotify_add_watch ();
15820 if ac_fn_c_try_link
"$LINENO"
15822 ac_cv_lib_inotify_inotify_add_watch
=yes
15824 ac_cv_lib_inotify_inotify_add_watch
=no
15826 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15827 conftest
$ac_exeext conftest.
$ac_ext
15828 LIBS
=$ac_check_lib_save_LIBS
15830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15831 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
15832 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
15839 CPPFLAGS
=$ac_save_CPPFLAGS
15842 if test "$ac_cv_header_sys_inotify_h" != "yes"
15844 case "x$with_inotify" in
15845 x
) as_fn_append wine_notices
"|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
15847 *) as_fn_error $?
"libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
15848 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
15853 if test "x$with_dbus" != "xno"
15856 if ${DBUS_CFLAGS:+false} :
15858 if test ${PKG_CONFIG+y}
15860 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>conftest.err`
15864 if ${DBUS_LIBS:+false} :
15866 if test ${PKG_CONFIG+y}
15868 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
15873 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
15874 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
15875 if test -s conftest.err
; then
15876 printf %s
"$as_me:${as_lineno-$LINENO}: dbus-1 errors: " >&5
15877 cat conftest.err
>&5
15880 ac_save_CPPFLAGS
=$CPPFLAGS
15881 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
15882 ac_fn_c_check_header_compile
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
15883 if test "x$ac_cv_header_dbus_dbus_h" = xyes
15885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
15886 printf %s
"checking for -ldbus-1... " >&6; }
15887 if test ${ac_cv_lib_soname_dbus_1+y}
15889 printf %s
"(cached) " >&6
15891 ac_check_soname_save_LIBS
=$LIBS
15892 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
15893 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15894 /* end confdefs.h. */
15896 /* Override any GCC internal prototype to avoid an error.
15897 Use char because int might match the return type of a GCC
15898 builtin and then its argument prototype would still apply. */
15899 char dbus_connection_close ();
15903 return dbus_connection_close ();
15908 if ac_fn_c_try_link
"$LINENO"
15911 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15912 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'` ;;
15913 *) 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'`
15914 if ${ac_cv_lib_soname_dbus_1:+false} :
15916 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15920 ac_cv_lib_soname_dbus_1
=
15922 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15923 conftest
$ac_exeext conftest.
$ac_ext
15924 LIBS
=$ac_check_soname_save_LIBS
15926 if ${ac_cv_lib_soname_dbus_1:+false} :
15928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15929 printf "%s\n" "not found" >&6; }
15932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
15933 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
15935 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
15943 CPPFLAGS
=$ac_save_CPPFLAGS
15947 darwin
*|macosx
*) ;;
15948 *) if test "x$ac_cv_lib_soname_dbus_1" = "x"
15950 case "x$with_dbus" in
15951 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
15953 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
15954 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
15960 if test "x$with_gnutls" != "xno"
15963 if ${GNUTLS_CFLAGS:+false} :
15965 if test ${PKG_CONFIG+y}
15967 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>conftest.err`
15971 if ${GNUTLS_LIBS:+false} :
15973 if test ${PKG_CONFIG+y}
15975 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
15979 GNUTLS_LIBS
=${GNUTLS_LIBS:-"-lgnutls"}
15980 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
15981 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
15982 if test -s conftest.err
; then
15983 printf %s
"$as_me:${as_lineno-$LINENO}: gnutls errors: " >&5
15984 cat conftest.err
>&5
15987 ac_save_CPPFLAGS
=$CPPFLAGS
15988 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
15989 ac_fn_c_check_header_compile
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
15990 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
15992 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15993 /* end confdefs.h. */
15994 #include <gnutls/gnutls.h>
15995 #include <gnutls/crypto.h>
15999 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16004 if ac_fn_c_try_compile
"$LINENO"
16006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16007 printf %s
"checking for -lgnutls... " >&6; }
16008 if test ${ac_cv_lib_soname_gnutls+y}
16010 printf %s
"(cached) " >&6
16012 ac_check_soname_save_LIBS
=$LIBS
16013 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
16014 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16015 /* end confdefs.h. */
16017 /* Override any GCC internal prototype to avoid an error.
16018 Use char because int might match the return type of a GCC
16019 builtin and then its argument prototype would still apply. */
16020 char gnutls_global_init ();
16024 return gnutls_global_init ();
16029 if ac_fn_c_try_link
"$LINENO"
16032 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16033 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'` ;;
16034 *) 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'`
16035 if ${ac_cv_lib_soname_gnutls:+false} :
16037 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'`
16041 ac_cv_lib_soname_gnutls
=
16043 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16044 conftest
$ac_exeext conftest.
$ac_ext
16045 LIBS
=$ac_check_soname_save_LIBS
16047 if ${ac_cv_lib_soname_gnutls:+false} :
16049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16050 printf "%s\n" "not found" >&6; }
16053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16054 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16056 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16060 ac_wine_check_funcs_save_LIBS
="$LIBS"
16061 LIBS
="$LIBS $GNUTLS_LIBS"
16063 for ac_func
in gnutls_cipher_init
16065 ac_fn_c_check_func
"$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16066 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16068 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16071 as_fn_append wine_notices
"|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16075 LIBS
="$ac_wine_check_funcs_save_LIBS"
16077 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16082 CPPFLAGS
=$ac_save_CPPFLAGS
16085 if test "x$ac_cv_lib_soname_gnutls" = "x"
16087 case "x$with_gnutls" in
16088 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16090 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
16091 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16096 if test "x$with_sane" != "xno"
16099 if ${SANE_CFLAGS:+false} :
16101 if test ${PKG_CONFIG+y}
16103 SANE_CFLAGS
=`$PKG_CONFIG --cflags sane-backends 2>conftest.err`
16106 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16107 if ${SANE_LIBS:+false} :
16109 if test ${PKG_CONFIG+y}
16111 SANE_LIBS
=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16114 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16116 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16117 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16118 if test -s conftest.err
; then
16119 printf %s
"$as_me:${as_lineno-$LINENO}: sane-backends errors: " >&5
16120 cat conftest.err
>&5
16123 ac_save_CPPFLAGS
=$CPPFLAGS
16124 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
16125 ac_fn_c_check_header_compile
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16126 if test "x$ac_cv_header_sane_sane_h" = xyes
16128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16129 printf %s
"checking for sane_init in -lsane... " >&6; }
16130 if test ${ac_cv_lib_sane_sane_init+y}
16132 printf %s
"(cached) " >&6
16134 ac_check_lib_save_LIBS
=$LIBS
16135 LIBS
="-lsane $SANE_LIBS $LIBS"
16136 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16137 /* end confdefs.h. */
16139 /* Override any GCC internal prototype to avoid an error.
16140 Use char because int might match the return type of a GCC
16141 builtin and then its argument prototype would still apply. */
16146 return sane_init ();
16151 if ac_fn_c_try_link
"$LINENO"
16153 ac_cv_lib_sane_sane_init
=yes
16155 ac_cv_lib_sane_sane_init
=no
16157 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16158 conftest
$ac_exeext conftest.
$ac_ext
16159 LIBS
=$ac_check_lib_save_LIBS
16161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16162 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16163 if test "x$ac_cv_lib_sane_sane_init" = xyes
16170 CPPFLAGS
=$ac_save_CPPFLAGS
16173 if test "$ac_cv_lib_sane_sane_init" != "yes"
16175 case "x$with_sane" in
16176 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16178 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
16179 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16181 enable_sane_ds
=${enable_sane_ds:-no}
16184 if test "x$with_usb" != "xno"
16187 if ${USB_CFLAGS:+false} :
16189 if test ${PKG_CONFIG+y}
16191 USB_CFLAGS
=`$PKG_CONFIG --cflags libusb-1.0 2>conftest.err`
16195 if ${USB_LIBS:+false} :
16197 if test ${PKG_CONFIG+y}
16199 USB_LIBS
=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16203 USB_LIBS
=${USB_LIBS:-"-lusb-1.0"}
16204 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16205 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16206 if test -s conftest.err
; then
16207 printf %s
"$as_me:${as_lineno-$LINENO}: libusb-1.0 errors: " >&5
16208 cat conftest.err
>&5
16211 ac_save_CPPFLAGS
=$CPPFLAGS
16212 CPPFLAGS
="$CPPFLAGS $USB_CFLAGS"
16213 ac_fn_c_check_header_compile
"$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16214 if test "x$ac_cv_header_libusb_h" = xyes
16216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16217 printf %s
"checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16218 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16220 printf %s
"(cached) " >&6
16222 ac_check_lib_save_LIBS
=$LIBS
16223 LIBS
="-lusb-1.0 $USB_LIBS $LIBS"
16224 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16225 /* end confdefs.h. */
16227 /* Override any GCC internal prototype to avoid an error.
16228 Use char because int might match the return type of a GCC
16229 builtin and then its argument prototype would still apply. */
16230 char libusb_interrupt_event_handler ();
16234 return libusb_interrupt_event_handler ();
16239 if ac_fn_c_try_link
"$LINENO"
16241 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler
=yes
16243 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler
=no
16245 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16246 conftest
$ac_exeext conftest.
$ac_ext
16247 LIBS
=$ac_check_lib_save_LIBS
16249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16250 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16251 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16262 CPPFLAGS
=$ac_save_CPPFLAGS
16265 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16267 case "x$with_usb" in
16268 x
) as_fn_append wine_notices
"|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16270 *) as_fn_error $?
"libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16271 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16273 enable_wineusb_sys
=${enable_wineusb_sys:-no}
16276 if test "x$with_v4l2" != "xno"
16278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16279 printf %s
"checking for -lv4l2... " >&6; }
16280 if test ${ac_cv_lib_soname_v4l2+y}
16282 printf %s
"(cached) " >&6
16284 ac_check_soname_save_LIBS
=$LIBS
16285 LIBS
="-lv4l2 $LIBS"
16286 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16287 /* end confdefs.h. */
16289 /* Override any GCC internal prototype to avoid an error.
16290 Use char because int might match the return type of a GCC
16291 builtin and then its argument prototype would still apply. */
16296 return v4l2_open ();
16301 if ac_fn_c_try_link
"$LINENO"
16304 dll
) ac_cv_lib_soname_v4l2
=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16305 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'` ;;
16306 *) ac_cv_lib_soname_v4l2
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16307 if ${ac_cv_lib_soname_v4l2:+false} :
16309 ac_cv_lib_soname_v4l2
=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16313 ac_cv_lib_soname_v4l2
=
16315 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16316 conftest
$ac_exeext conftest.
$ac_ext
16317 LIBS
=$ac_check_soname_save_LIBS
16319 if ${ac_cv_lib_soname_v4l2:+false} :
16321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16322 printf "%s\n" "not found" >&6; }
16325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16326 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16328 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16333 if test "x$ac_cv_lib_soname_v4l2" = "x"
16335 case "x$with_v4l2" in
16336 x
) as_fn_append wine_notices
"|libv4l2 ${notice_platform}development files not found." ;;
16338 *) as_fn_error $?
"libv4l2 ${notice_platform}development files not found.
16339 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16344 if test "x$with_gphoto" != "xno"
16347 if ${GPHOTO2_CFLAGS:+false} :
16349 if test ${PKG_CONFIG+y}
16351 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>conftest.err`
16354 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16355 if ${GPHOTO2_LIBS:+false} :
16357 if test ${PKG_CONFIG+y}
16359 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16362 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16363 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
16364 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16365 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16366 if test -s conftest.err
; then
16367 printf %s
"$as_me:${as_lineno-$LINENO}: libgphoto2 errors: " >&5
16368 cat conftest.err
>&5
16371 ac_save_CPPFLAGS
=$CPPFLAGS
16372 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
16373 ac_fn_c_check_header_compile
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16374 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16377 printf %s
"checking for gp_camera_new in -lgphoto2... " >&6; }
16378 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16380 printf %s
"(cached) " >&6
16382 ac_check_lib_save_LIBS
=$LIBS
16383 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16384 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16385 /* end confdefs.h. */
16387 /* Override any GCC internal prototype to avoid an error.
16388 Use char because int might match the return type of a GCC
16389 builtin and then its argument prototype would still apply. */
16390 char gp_camera_new ();
16394 return gp_camera_new ();
16399 if ac_fn_c_try_link
"$LINENO"
16401 ac_cv_lib_gphoto2_gp_camera_new
=yes
16403 ac_cv_lib_gphoto2_gp_camera_new
=no
16405 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16406 conftest
$ac_exeext conftest.
$ac_ext
16407 LIBS
=$ac_check_lib_save_LIBS
16409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16410 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16411 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16418 CPPFLAGS
=$ac_save_CPPFLAGS
16421 if ${GPHOTO2_PORT_CFLAGS:+false} :
16423 if test ${PKG_CONFIG+y}
16425 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>conftest.err`
16428 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16429 if ${GPHOTO2_PORT_LIBS:+false} :
16431 if test ${PKG_CONFIG+y}
16433 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16436 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16437 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16438 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16439 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16440 if test -s conftest.err
; then
16441 printf %s
"$as_me:${as_lineno-$LINENO}: libgphoto2_port errors: " >&5
16442 cat conftest.err
>&5
16445 ac_save_CPPFLAGS
=$CPPFLAGS
16446 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16447 ac_fn_c_check_header_compile
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16448 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16451 printf %s
"checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16452 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16454 printf %s
"(cached) " >&6
16456 ac_check_lib_save_LIBS
=$LIBS
16457 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16458 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16459 /* end confdefs.h. */
16461 /* Override any GCC internal prototype to avoid an error.
16462 Use char because int might match the return type of a GCC
16463 builtin and then its argument prototype would still apply. */
16464 char gp_port_info_list_new ();
16468 return gp_port_info_list_new ();
16473 if ac_fn_c_try_link
"$LINENO"
16475 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
16477 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
16479 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16480 conftest
$ac_exeext conftest.
$ac_ext
16481 LIBS
=$ac_check_lib_save_LIBS
16483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16484 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16485 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16488 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16491 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
16495 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
16498 CPPFLAGS
=$ac_save_CPPFLAGS
16501 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16503 case "x$with_gphoto" in
16504 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16506 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16507 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16509 enable_gphoto2_ds
=${enable_gphoto2_ds:-no}
16511 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16513 case "x$with_gphoto" in
16514 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16516 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16517 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16523 if test "$ac_cv_header_resolv_h" = "yes"
16525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16526 printf %s
"checking for resolver library... " >&6; }
16527 if test ${ac_cv_have_resolv+y}
16529 printf %s
"(cached) " >&6
16531 ac_save_LIBS
="$LIBS"
16532 for lib
in '' -lresolv
16534 LIBS
="$lib $ac_save_LIBS"
16535 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16536 /* end confdefs.h. */
16537 #ifdef HAVE_NETINET_IN_H
16538 #include <netinet/in.h>
16540 #include <resolv.h>
16544 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16549 if ac_fn_c_try_link
"$LINENO"
16551 ac_cv_have_resolv
=${lib:-"none required"}
16553 ac_cv_have_resolv
="not found"
16555 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16556 conftest
$ac_exeext conftest.
$ac_ext
16557 test "x$ac_cv_have_resolv" = "xnot found" ||
break
16559 LIBS
="$ac_save_LIBS"
16561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16562 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16564 case "$ac_cv_have_resolv" in
16568 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16571 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16573 RESOLV_LIBS
=$ac_cv_have_resolv
16577 if test "x$ac_cv_have_resolv" != "xnot found"
16579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16580 printf %s
"checking for res_getservers... " >&6; }
16581 if test ${ac_cv_have_res_getservers+y}
16583 printf %s
"(cached) " >&6
16585 ac_save_LIBS
="$LIBS"
16586 LIBS
="$RESOLV_LIBS $LIBS"
16587 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16588 /* end confdefs.h. */
16589 #include <resolv.h>
16593 res_getservers(NULL, NULL, 0);
16598 if ac_fn_c_try_link
"$LINENO"
16600 ac_cv_have_res_getservers
=yes
16602 ac_cv_have_res_getservers
=no
16604 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16605 conftest
$ac_exeext conftest.
$ac_ext
16606 LIBS
="$ac_save_LIBS"
16608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16609 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16610 if test "$ac_cv_have_res_getservers" = "yes"
16613 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16619 if test "x$with_freetype" != "xno"
16622 if ${FREETYPE_CFLAGS:+false} :
16624 if test ${PKG_CONFIG+y}
16626 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>conftest.err`
16629 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16630 if ${FREETYPE_LIBS:+false} :
16632 if test ${PKG_CONFIG+y}
16634 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16637 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16638 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
16639 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16640 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16641 if test -s conftest.err
; then
16642 printf %s
"$as_me:${as_lineno-$LINENO}: freetype2 errors: " >&5
16643 cat conftest.err
>&5
16646 ac_save_CPPFLAGS
=$CPPFLAGS
16647 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
16648 ac_fn_c_check_header_compile
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16649 if test "x$ac_cv_header_ft2build_h" = xyes
16651 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16655 if test "$ac_cv_header_ft2build_h" = "yes"
16657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16658 printf %s
"checking for -lfreetype... " >&6; }
16659 if test ${ac_cv_lib_soname_freetype+y}
16661 printf %s
"(cached) " >&6
16663 ac_check_soname_save_LIBS
=$LIBS
16664 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
16665 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16666 /* end confdefs.h. */
16668 /* Override any GCC internal prototype to avoid an error.
16669 Use char because int might match the return type of a GCC
16670 builtin and then its argument prototype would still apply. */
16671 char FT_Init_FreeType ();
16675 return FT_Init_FreeType ();
16680 if ac_fn_c_try_link
"$LINENO"
16683 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16684 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'` ;;
16685 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16686 if ${ac_cv_lib_soname_freetype:+false} :
16688 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16692 ac_cv_lib_soname_freetype
=
16694 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16695 conftest
$ac_exeext conftest.
$ac_ext
16696 LIBS
=$ac_check_soname_save_LIBS
16698 if ${ac_cv_lib_soname_freetype:+false} :
16700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16701 printf "%s\n" "not found" >&6; }
16704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16705 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16707 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16710 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16712 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16713 #include FT_MODULE_H
16715 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16718 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16728 CPPFLAGS
=$ac_save_CPPFLAGS
16731 if test "x$ac_cv_lib_soname_freetype" = x
16733 case "x$with_freetype" in
16735 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
16736 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16738 enable_fonts
=${enable_fonts:-no}
16741 ac_wine_check_funcs_save_LIBS
="$LIBS"
16742 LIBS
="$LIBS $PTHREAD_LIBS"
16743 ac_fn_c_check_func
"$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16744 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16746 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16750 LIBS
="$ac_wine_check_funcs_save_LIBS"
16752 if test "x$enable_tools" != xno
-a "x$with_gettextpo" = xyes
16754 if test "$ac_cv_header_gettext_po_h" = "yes"
16756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16757 printf %s
"checking for po_message_msgctxt in -lgettextpo... " >&6; }
16758 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16760 printf %s
"(cached) " >&6
16762 ac_check_lib_save_LIBS
=$LIBS
16763 LIBS
="-lgettextpo $LIBS"
16764 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16765 /* end confdefs.h. */
16767 /* Override any GCC internal prototype to avoid an error.
16768 Use char because int might match the return type of a GCC
16769 builtin and then its argument prototype would still apply. */
16770 char po_message_msgctxt ();
16774 return po_message_msgctxt ();
16779 if ac_fn_c_try_link
"$LINENO"
16781 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
16783 ac_cv_lib_gettextpo_po_message_msgctxt
=no
16785 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16786 conftest
$ac_exeext conftest.
$ac_ext
16787 LIBS
=$ac_check_lib_save_LIBS
16789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16790 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16791 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16794 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16796 GETTEXTPO_LIBS
="-lgettextpo"
16801 if test "x$GETTEXTPO_LIBS" = "x"
16803 case "x$with_gettextpo" in
16804 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16806 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16807 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16811 if test "$srcdir" != .
16813 case "x$with_gettextpo" in
16814 x
) as_fn_append wine_notices
"|Rebuilding po files is not supported for out of tree builds." ;;
16816 *) as_fn_error $?
"Rebuilding po files is not supported for out of tree builds.
16817 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16823 if test "x$with_pulse" != "xno";
16826 if ${PULSE_CFLAGS:+false} :
16828 if test ${PKG_CONFIG+y}
16830 PULSE_CFLAGS
=`$PKG_CONFIG --cflags libpulse 2>conftest.err`
16834 if ${PULSE_LIBS:+false} :
16836 if test ${PKG_CONFIG+y}
16838 PULSE_LIBS
=`$PKG_CONFIG --libs libpulse 2>/dev/null`
16843 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
16844 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
16845 if test -s conftest.err
; then
16846 printf %s
"$as_me:${as_lineno-$LINENO}: libpulse errors: " >&5
16847 cat conftest.err
>&5
16850 ac_save_CPPFLAGS
=$CPPFLAGS
16851 CPPFLAGS
="$CPPFLAGS $PULSE_CFLAGS"
16852 for ac_header
in pulse
/pulseaudio.h
16854 ac_fn_c_check_header_compile
"$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
16855 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
16857 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
16858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
16859 printf %s
"checking for pa_stream_is_corked in -lpulse... " >&6; }
16860 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
16862 printf %s
"(cached) " >&6
16864 ac_check_lib_save_LIBS
=$LIBS
16865 LIBS
="-lpulse $PULSE_LIBS $LIBS"
16866 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16867 /* end confdefs.h. */
16869 /* Override any GCC internal prototype to avoid an error.
16870 Use char because int might match the return type of a GCC
16871 builtin and then its argument prototype would still apply. */
16872 char pa_stream_is_corked ();
16876 return pa_stream_is_corked ();
16881 if ac_fn_c_try_link
"$LINENO"
16883 ac_cv_lib_pulse_pa_stream_is_corked
=yes
16885 ac_cv_lib_pulse_pa_stream_is_corked
=no
16887 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16888 conftest
$ac_exeext conftest.
$ac_ext
16889 LIBS
=$ac_check_lib_save_LIBS
16891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
16892 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
16893 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
16905 CPPFLAGS
=$ac_save_CPPFLAGS
16908 if test -z "$PULSE_LIBS"
16910 case "x$with_pulse" in
16911 x
) as_fn_append wine_notices
"|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
16913 *) as_fn_error $?
"libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
16914 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
16916 enable_winepulse_drv
=${enable_winepulse_drv:-no}
16919 if test "x$with_gstreamer" != "xno"
16922 if ${GSTREAMER_CFLAGS:+false} :
16924 if test ${PKG_CONFIG+y}
16926 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>conftest.err`
16930 if ${GSTREAMER_LIBS:+false} :
16932 if test ${PKG_CONFIG+y}
16934 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>/dev/null`
16939 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
16940 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
16941 if test -s conftest.err
; then
16942 printf %s
"$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 errors: " >&5
16943 cat conftest.err
>&5
16946 ac_save_CPPFLAGS
=$CPPFLAGS
16947 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
16948 ac_fn_c_check_header_compile
"$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
16949 if test "x$ac_cv_header_gst_gst_h" = xyes
16951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
16952 printf %s
"checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
16953 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16954 /* end confdefs.h. */
16955 #include <gst/gst.h>
16959 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
16964 if ac_fn_c_try_compile
"$LINENO"
16966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16967 printf "%s\n" "yes" >&6; }
16968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
16969 printf %s
"checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
16970 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
16972 printf %s
"(cached) " >&6
16974 ac_check_lib_save_LIBS
=$LIBS
16975 LIBS
="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
16976 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16977 /* end confdefs.h. */
16979 /* Override any GCC internal prototype to avoid an error.
16980 Use char because int might match the return type of a GCC
16981 builtin and then its argument prototype would still apply. */
16982 char gst_pad_new ();
16986 return gst_pad_new ();
16991 if ac_fn_c_try_link
"$LINENO"
16993 ac_cv_lib_gstreamer_1_0_gst_pad_new
=yes
16995 ac_cv_lib_gstreamer_1_0_gst_pad_new
=no
16997 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16998 conftest
$ac_exeext conftest.
$ac_ext
16999 LIBS
=$ac_check_lib_save_LIBS
17001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17002 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17003 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17010 printf "%s\n" "no" >&6; }
17011 ac_glib2_broken
=yes
17012 as_fn_append wine_notices
"|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17014 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17017 CPPFLAGS
=$ac_save_CPPFLAGS
17020 if test "x$ac_glib2_broken" != xyes
-a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17022 case "x$with_gstreamer" in
17023 x
) as_fn_append wine_notices
"|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17025 *) as_fn_error $?
"gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17026 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17028 enable_winegstreamer
=${enable_winegstreamer:-no}
17033 if test "x$with_alsa" != "xno"
17035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17036 printf %s
"checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17037 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17039 printf %s
"(cached) " >&6
17041 ac_check_lib_save_LIBS
=$LIBS
17042 LIBS
="-lasound $LIBS"
17043 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17044 /* end confdefs.h. */
17046 /* Override any GCC internal prototype to avoid an error.
17047 Use char because int might match the return type of a GCC
17048 builtin and then its argument prototype would still apply. */
17049 char snd_pcm_hw_params_get_access_mask ();
17053 return snd_pcm_hw_params_get_access_mask ();
17058 if ac_fn_c_try_link
"$LINENO"
17060 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
17062 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
17064 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17065 conftest
$ac_exeext conftest.
$ac_ext
17066 LIBS
=$ac_check_lib_save_LIBS
17068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17069 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17070 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17072 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17073 /* end confdefs.h. */
17074 #include <alsa/asoundlib.h>
17078 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17083 if ac_fn_c_try_compile
"$LINENO"
17085 ALSA_LIBS
="-lasound"
17087 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17091 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
17093 if test "x$with_oss" != xno
17095 ac_save_CPPFLAGS
="$CPPFLAGS"
17096 if test -f /etc
/oss.conf
17100 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17101 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
17102 ac_fn_c_check_header_compile
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17103 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17105 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17107 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17110 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17112 OSS4_CFLAGS
="$ac_oss_incl"
17114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17115 printf %s
"checking for _oss_ioctl in -lossaudio... " >&6; }
17116 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17118 printf %s
"(cached) " >&6
17120 ac_check_lib_save_LIBS
=$LIBS
17121 LIBS
="-lossaudio $LIBS"
17122 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17123 /* end confdefs.h. */
17125 /* Override any GCC internal prototype to avoid an error.
17126 Use char because int might match the return type of a GCC
17127 builtin and then its argument prototype would still apply. */
17128 char _oss_ioctl ();
17132 return _oss_ioctl ();
17137 if ac_fn_c_try_link
"$LINENO"
17139 ac_cv_lib_ossaudio__oss_ioctl
=yes
17141 ac_cv_lib_ossaudio__oss_ioctl
=no
17143 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17144 conftest
$ac_exeext conftest.
$ac_ext
17145 LIBS
=$ac_check_lib_save_LIBS
17147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17148 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17149 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17151 OSS4_LIBS
="-lossaudio"
17159 CPPFLAGS
="$ac_save_CPPFLAGS"
17161 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17163 case "x$with_oss" in
17164 x
) as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17166 *) as_fn_error $?
"OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17167 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17169 enable_wineoss_drv
=${enable_wineoss_drv:-no}
17172 if test "x$with_udev" != "xno"
17175 if ${UDEV_CFLAGS:+false} :
17177 if test ${PKG_CONFIG+y}
17179 UDEV_CFLAGS
=`$PKG_CONFIG --cflags libudev 2>conftest.err`
17183 if ${UDEV_LIBS:+false} :
17185 if test ${PKG_CONFIG+y}
17187 UDEV_LIBS
=`$PKG_CONFIG --libs libudev 2>/dev/null`
17191 UDEV_LIBS
=${UDEV_LIBS:-"-ludev"}
17192 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17193 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17194 if test -s conftest.err
; then
17195 printf %s
"$as_me:${as_lineno-$LINENO}: libudev errors: " >&5
17196 cat conftest.err
>&5
17199 ac_save_CPPFLAGS
=$CPPFLAGS
17200 CPPFLAGS
="$CPPFLAGS $UDEV_CFLAGS"
17201 for ac_header
in libudev.h
17203 ac_fn_c_check_header_compile
"$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17204 if test "x$ac_cv_header_libudev_h" = xyes
17206 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17208 printf %s
"checking for udev_new in -ludev... " >&6; }
17209 if test ${ac_cv_lib_udev_udev_new+y}
17211 printf %s
"(cached) " >&6
17213 ac_check_lib_save_LIBS
=$LIBS
17214 LIBS
="-ludev $UDEV_LIBS $LIBS"
17215 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17216 /* end confdefs.h. */
17218 /* Override any GCC internal prototype to avoid an error.
17219 Use char because int might match the return type of a GCC
17220 builtin and then its argument prototype would still apply. */
17225 return udev_new ();
17230 if ac_fn_c_try_link
"$LINENO"
17232 ac_cv_lib_udev_udev_new
=yes
17234 ac_cv_lib_udev_udev_new
=no
17236 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17237 conftest
$ac_exeext conftest.
$ac_ext
17238 LIBS
=$ac_check_lib_save_LIBS
17240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17241 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17242 if test "x$ac_cv_lib_udev_udev_new" = xyes
17245 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17256 CPPFLAGS
=$ac_save_CPPFLAGS
17259 if test "x$UDEV_LIBS" = "x"
17261 case "x$with_udev" in
17262 x
) as_fn_append wine_notices
"|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17264 *) as_fn_error $?
"libudev ${notice_platform}development files not found, plug and play won't be supported.
17265 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17270 if test "x$with_unwind" != xno
17273 if ${UNWIND_CFLAGS:+false} :
17275 if test ${PKG_CONFIG+y}
17277 UNWIND_CFLAGS
=`$PKG_CONFIG --cflags libunwind 2>conftest.err`
17281 if ${UNWIND_LIBS:+false} :
17283 if test ${PKG_CONFIG+y}
17285 UNWIND_LIBS
=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17289 UNWIND_LIBS
=${UNWIND_LIBS:-"-lunwind"}
17290 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17291 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17292 if test -s conftest.err
; then
17293 printf %s
"$as_me:${as_lineno-$LINENO}: libunwind errors: " >&5
17294 cat conftest.err
>&5
17297 ac_save_CPPFLAGS
=$CPPFLAGS
17298 CPPFLAGS
="$CPPFLAGS $UNWIND_CFLAGS"
17299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17300 printf %s
"checking for unw_step... " >&6; }
17301 if test ${wine_cv_have_unw_step+y}
17303 printf %s
"(cached) " >&6
17305 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17306 /* end confdefs.h. */
17307 #define UNW_LOCAL_ONLY
17308 #include <libunwind.h>
17312 unw_cursor_t cursor; unw_step( &cursor );
17317 if ac_fn_c_try_link
"$LINENO"
17319 wine_cv_have_unw_step
="yes"
17321 wine_cv_have_unw_step
="no"
17323 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17324 conftest
$ac_exeext conftest.
$ac_ext
17326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17327 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17328 if test "$wine_cv_have_unw_step" = no
-a -n "$UNWIND_LIBS"
17331 UNWIND_LIBS
="-static-libgcc $UNWIND_LIBS"
17332 LIBS
="$UNWIND_LIBS $LIBS"
17333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17334 printf %s
"checking for unw_step in libunwind... " >&6; }
17335 if test ${wine_cv_have_libunwind_unw_step+y}
17337 printf %s
"(cached) " >&6
17339 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17340 /* end confdefs.h. */
17341 #define UNW_LOCAL_ONLY
17342 #include <libunwind.h>
17346 unw_cursor_t cursor; unw_step( &cursor );
17351 if ac_fn_c_try_link
"$LINENO"
17353 wine_cv_have_libunwind_unw_step
="yes"
17355 wine_cv_have_libunwind_unw_step
="no"
17357 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17358 conftest
$ac_exeext conftest.
$ac_ext
17360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17361 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17364 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS
=""
17365 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17368 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17371 CPPFLAGS
=$ac_save_CPPFLAGS
17375 aarch64
*|
*-darwin*)
17376 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17378 case "x$with_unwind" in
17379 x
) as_fn_append wine_notices
"|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17381 *) as_fn_error $?
"libunwind ${notice_platform}development files not found, stack unwinding won't work.
17382 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17388 if test "x$with_sdl" != "xno"
17391 if ${SDL2_CFLAGS:+false} :
17393 if test ${PKG_CONFIG+y}
17395 SDL2_CFLAGS
=`$PKG_CONFIG --cflags sdl2 2>conftest.err`
17399 if ${SDL2_LIBS:+false} :
17401 if test ${PKG_CONFIG+y}
17403 SDL2_LIBS
=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17407 SDL2_LIBS
=${SDL2_LIBS:-"-lSDL2"}
17408 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17409 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17410 if test -s conftest.err
; then
17411 printf %s
"$as_me:${as_lineno-$LINENO}: sdl2 errors: " >&5
17412 cat conftest.err
>&5
17415 ac_save_CPPFLAGS
=$CPPFLAGS
17416 CPPFLAGS
="$CPPFLAGS $SDL2_CFLAGS"
17417 for ac_header
in SDL.h
17419 ac_fn_c_check_header_compile
"$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17420 if test "x$ac_cv_header_SDL_h" = xyes
17422 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17424 printf %s
"checking for -lSDL2... " >&6; }
17425 if test ${ac_cv_lib_soname_SDL2+y}
17427 printf %s
"(cached) " >&6
17429 ac_check_soname_save_LIBS
=$LIBS
17430 LIBS
="-lSDL2 $SDL2_LIBS $LIBS"
17431 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17432 /* end confdefs.h. */
17434 /* Override any GCC internal prototype to avoid an error.
17435 Use char because int might match the return type of a GCC
17436 builtin and then its argument prototype would still apply. */
17441 return SDL_Init ();
17446 if ac_fn_c_try_link
"$LINENO"
17449 dll
) ac_cv_lib_soname_SDL2
=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17450 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'` ;;
17451 *) 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'`
17452 if ${ac_cv_lib_soname_SDL2:+false} :
17454 ac_cv_lib_soname_SDL2
=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17458 ac_cv_lib_soname_SDL2
=
17460 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17461 conftest
$ac_exeext conftest.
$ac_ext
17462 LIBS
=$ac_check_soname_save_LIBS
17464 if ${ac_cv_lib_soname_SDL2:+false} :
17466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17467 printf "%s\n" "not found" >&6; }
17470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17471 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17473 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17480 CPPFLAGS
=$ac_save_CPPFLAGS
17483 if test "x$ac_cv_lib_soname_SDL2" = "x"
17485 case "x$with_sdl" in
17486 x
) as_fn_append wine_notices
"|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17488 *) as_fn_error $?
"libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17489 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17494 if test "x$with_capi" != "xno"
17497 if ${CAPI20_CFLAGS:+false} :
17499 if test ${PKG_CONFIG+y}
17501 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>conftest.err`
17505 if ${CAPI20_LIBS:+false} :
17507 if test ${PKG_CONFIG+y}
17509 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
17514 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17515 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17516 if test -s conftest.err
; then
17517 printf %s
"$as_me:${as_lineno-$LINENO}: capi20 errors: " >&5
17518 cat conftest.err
>&5
17521 ac_save_CPPFLAGS
=$CPPFLAGS
17522 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
17523 ac_fn_c_check_header_compile
"$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17525 if test "x$ac_cv_header_capi20_h" = xyes
17527 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17530 ac_fn_c_check_header_compile
"$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17532 if test "x$ac_cv_header_linux_capi_h" = xyes
17534 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17538 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17541 printf %s
"checking for capi20_register in -lcapi20... " >&6; }
17542 if test ${ac_cv_lib_capi20_capi20_register+y}
17544 printf %s
"(cached) " >&6
17546 ac_check_lib_save_LIBS
=$LIBS
17547 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
17548 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17549 /* end confdefs.h. */
17551 /* Override any GCC internal prototype to avoid an error.
17552 Use char because int might match the return type of a GCC
17553 builtin and then its argument prototype would still apply. */
17554 char capi20_register ();
17558 return capi20_register ();
17563 if ac_fn_c_try_link
"$LINENO"
17565 ac_cv_lib_capi20_capi20_register
=yes
17567 ac_cv_lib_capi20_capi20_register
=no
17569 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17570 conftest
$ac_exeext conftest.
$ac_ext
17571 LIBS
=$ac_check_lib_save_LIBS
17573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17574 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17575 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17583 CPPFLAGS
=$ac_save_CPPFLAGS
17586 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17588 case "x$with_capi" in
17589 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17591 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17592 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17594 enable_capi2032
=${enable_capi2032:-no}
17597 if test "x$with_cups" != "xno"
17600 if ${CUPS_CFLAGS:+false} :
17602 if test ${PKG_CONFIG+y}
17604 CUPS_CFLAGS
=`$PKG_CONFIG --cflags cups 2>conftest.err`
17607 test "$cross_compiling" = yes || CUPS_CFLAGS
=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17608 if ${CUPS_LIBS:+false} :
17610 if test ${PKG_CONFIG+y}
17612 CUPS_LIBS
=`$PKG_CONFIG --libs cups 2>/dev/null`
17615 test "$cross_compiling" = yes || CUPS_LIBS
=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17616 CUPS_LIBS
=${CUPS_LIBS:-"-lcups"}
17617 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17618 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17619 if test -s conftest.err
; then
17620 printf %s
"$as_me:${as_lineno-$LINENO}: cups errors: " >&5
17621 cat conftest.err
>&5
17624 ac_save_CPPFLAGS
=$CPPFLAGS
17625 CPPFLAGS
="$CPPFLAGS $CUPS_CFLAGS"
17626 ac_fn_c_check_header_compile
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17627 if test "x$ac_cv_header_cups_cups_h" = xyes
17629 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17632 ac_fn_c_check_header_compile
"$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17633 if test "x$ac_cv_header_cups_ppd_h" = xyes
17635 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17639 if test "$ac_cv_header_cups_cups_h" = "yes"
17641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17642 printf %s
"checking for -lcups... " >&6; }
17643 if test ${ac_cv_lib_soname_cups+y}
17645 printf %s
"(cached) " >&6
17647 ac_check_soname_save_LIBS
=$LIBS
17648 LIBS
="-lcups $CUPS_LIBS $LIBS"
17649 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17650 /* end confdefs.h. */
17652 /* Override any GCC internal prototype to avoid an error.
17653 Use char because int might match the return type of a GCC
17654 builtin and then its argument prototype would still apply. */
17655 char cupsGetDefault ();
17659 return cupsGetDefault ();
17664 if ac_fn_c_try_link
"$LINENO"
17667 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17668 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'` ;;
17669 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17670 if ${ac_cv_lib_soname_cups:+false} :
17672 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17676 ac_cv_lib_soname_cups
=
17678 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17679 conftest
$ac_exeext conftest.
$ac_ext
17680 LIBS
=$ac_check_soname_save_LIBS
17682 if ${ac_cv_lib_soname_cups:+false} :
17684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17685 printf "%s\n" "not found" >&6; }
17688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17689 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17691 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17699 CPPFLAGS
=$ac_save_CPPFLAGS
17702 if test "x$ac_cv_lib_soname_cups" = "x"
17704 case "x$with_cups" in
17705 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17707 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
17708 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17713 if test "x$with_fontconfig" != "xno"
17716 if ${FONTCONFIG_CFLAGS:+false} :
17718 if test ${PKG_CONFIG+y}
17720 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>conftest.err`
17723 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17724 if ${FONTCONFIG_LIBS:+false} :
17726 if test ${PKG_CONFIG+y}
17728 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17731 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
17733 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17734 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17735 if test -s conftest.err
; then
17736 printf %s
"$as_me:${as_lineno-$LINENO}: fontconfig errors: " >&5
17737 cat conftest.err
>&5
17740 ac_save_CPPFLAGS
=$CPPFLAGS
17741 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
17742 ac_fn_c_check_header_compile
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17743 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17745 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17749 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17752 printf %s
"checking for -lfontconfig... " >&6; }
17753 if test ${ac_cv_lib_soname_fontconfig+y}
17755 printf %s
"(cached) " >&6
17757 ac_check_soname_save_LIBS
=$LIBS
17758 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17759 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17760 /* end confdefs.h. */
17762 /* Override any GCC internal prototype to avoid an error.
17763 Use char because int might match the return type of a GCC
17764 builtin and then its argument prototype would still apply. */
17774 if ac_fn_c_try_link
"$LINENO"
17777 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17778 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'` ;;
17779 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17780 if ${ac_cv_lib_soname_fontconfig:+false} :
17782 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17786 ac_cv_lib_soname_fontconfig
=
17788 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17789 conftest
$ac_exeext conftest.
$ac_ext
17790 LIBS
=$ac_check_soname_save_LIBS
17792 if ${ac_cv_lib_soname_fontconfig:+false} :
17794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17795 printf "%s\n" "not found" >&6; }
17796 FONTCONFIG_CFLAGS
=""
17798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17799 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17801 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17806 FONTCONFIG_CFLAGS
=""
17808 CPPFLAGS
=$ac_save_CPPFLAGS
17811 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17813 case "x$with_fontconfig" in
17814 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17816 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17817 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17822 if test "x$with_krb5" != "xno"
17825 if ${KRB5_CFLAGS:+false} :
17827 if test ${PKG_CONFIG+y}
17829 KRB5_CFLAGS
=`$PKG_CONFIG --cflags krb5 2>conftest.err`
17832 test "$cross_compiling" = yes || KRB5_CFLAGS
=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17833 if ${KRB5_LIBS:+false} :
17835 if test ${PKG_CONFIG+y}
17837 KRB5_LIBS
=`$PKG_CONFIG --libs krb5 2>/dev/null`
17840 test "$cross_compiling" = yes || KRB5_LIBS
=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17842 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17843 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17844 if test -s conftest.err
; then
17845 printf %s
"$as_me:${as_lineno-$LINENO}: krb5 errors: " >&5
17846 cat conftest.err
>&5
17849 ac_save_CPPFLAGS
=$CPPFLAGS
17850 CPPFLAGS
="$CPPFLAGS $KRB5_CFLAGS"
17851 ac_fn_c_check_header_compile
"$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17852 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17854 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17858 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17861 printf %s
"checking for -lkrb5... " >&6; }
17862 if test ${ac_cv_lib_soname_krb5+y}
17864 printf %s
"(cached) " >&6
17866 ac_check_soname_save_LIBS
=$LIBS
17867 LIBS
="-lkrb5 $KRB5_LIBS $LIBS"
17868 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17869 /* end confdefs.h. */
17871 /* Override any GCC internal prototype to avoid an error.
17872 Use char because int might match the return type of a GCC
17873 builtin and then its argument prototype would still apply. */
17874 char krb5_is_config_principal ();
17878 return krb5_is_config_principal ();
17883 if ac_fn_c_try_link
"$LINENO"
17886 dll
) ac_cv_lib_soname_krb5
=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17887 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'` ;;
17888 *) ac_cv_lib_soname_krb5
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17889 if ${ac_cv_lib_soname_krb5:+false} :
17891 ac_cv_lib_soname_krb5
=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17895 ac_cv_lib_soname_krb5
=
17897 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17898 conftest
$ac_exeext conftest.
$ac_ext
17899 LIBS
=$ac_check_soname_save_LIBS
17901 if ${ac_cv_lib_soname_krb5:+false} :
17903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17904 printf "%s\n" "not found" >&6; }
17907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
17908 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
17910 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
17917 CPPFLAGS
=$ac_save_CPPFLAGS
17920 if test "x$ac_cv_lib_soname_krb5" = "x"
17922 case "x$with_krb5" in
17923 x
) as_fn_append wine_notices
"|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
17925 *) as_fn_error $?
"libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
17926 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
17930 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi
=${with_gssapi:-no}
17932 if test "x$with_gssapi" != "xno"
17935 if ${GSSAPI_CFLAGS:+false} :
17937 if test ${PKG_CONFIG+y}
17939 GSSAPI_CFLAGS
=`$PKG_CONFIG --cflags krb5-gssapi 2>conftest.err`
17942 test "$cross_compiling" = yes || GSSAPI_CFLAGS
=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
17943 if ${GSSAPI_LIBS:+false} :
17945 if test ${PKG_CONFIG+y}
17947 GSSAPI_LIBS
=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
17950 test "$cross_compiling" = yes || GSSAPI_LIBS
=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
17952 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
17953 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
17954 if test -s conftest.err
; then
17955 printf %s
"$as_me:${as_lineno-$LINENO}: krb5-gssapi errors: " >&5
17956 cat conftest.err
>&5
17959 ac_save_CPPFLAGS
=$CPPFLAGS
17960 CPPFLAGS
="$CPPFLAGS $GSSAPI_CFLAGS"
17961 ac_fn_c_check_header_compile
"$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
17962 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
17964 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
17967 ac_fn_c_check_header_compile
"$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
17968 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
17970 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
17974 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
17976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
17977 printf %s
"checking for -lgssapi_krb5... " >&6; }
17978 if test ${ac_cv_lib_soname_gssapi_krb5+y}
17980 printf %s
"(cached) " >&6
17982 ac_check_soname_save_LIBS
=$LIBS
17983 LIBS
="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
17984 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17985 /* end confdefs.h. */
17987 /* Override any GCC internal prototype to avoid an error.
17988 Use char because int might match the return type of a GCC
17989 builtin and then its argument prototype would still apply. */
17990 char gss_init_sec_context ();
17994 return gss_init_sec_context ();
17999 if ac_fn_c_try_link
"$LINENO"
18002 dll
) ac_cv_lib_soname_gssapi_krb5
=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18003 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'` ;;
18004 *) 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'`
18005 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18007 ac_cv_lib_soname_gssapi_krb5
=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18011 ac_cv_lib_soname_gssapi_krb5
=
18013 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18014 conftest
$ac_exeext conftest.
$ac_ext
18015 LIBS
=$ac_check_soname_save_LIBS
18017 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18020 printf "%s\n" "not found" >&6; }
18023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18024 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18026 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18033 CPPFLAGS
=$ac_save_CPPFLAGS
18036 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18038 case "x$with_gssapi" in
18039 x
) as_fn_append wine_notices
"|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18041 *) as_fn_error $?
"libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18042 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18047 if test "$ac_cv_header_libprocstat_h" = "yes"
18049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18050 printf %s
"checking for procstat_open_sysctl in -lprocstat... " >&6; }
18051 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18053 printf %s
"(cached) " >&6
18055 ac_check_lib_save_LIBS
=$LIBS
18056 LIBS
="-lprocstat $LIBS"
18057 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18058 /* end confdefs.h. */
18060 /* Override any GCC internal prototype to avoid an error.
18061 Use char because int might match the return type of a GCC
18062 builtin and then its argument prototype would still apply. */
18063 char procstat_open_sysctl ();
18067 return procstat_open_sysctl ();
18072 if ac_fn_c_try_link
"$LINENO"
18074 ac_cv_lib_procstat_procstat_open_sysctl
=yes
18076 ac_cv_lib_procstat_procstat_open_sysctl
=no
18078 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18079 conftest
$ac_exeext conftest.
$ac_ext
18080 LIBS
=$ac_check_lib_save_LIBS
18082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18083 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18084 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18087 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18089 PROCSTAT_LIBS
="-lprocstat"
18095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18096 printf %s
"checking for -lodbc... " >&6; }
18097 if test ${ac_cv_lib_soname_odbc+y}
18099 printf %s
"(cached) " >&6
18101 ac_check_soname_save_LIBS
=$LIBS
18102 LIBS
="-lodbc $LIBS"
18103 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18104 /* end confdefs.h. */
18106 /* Override any GCC internal prototype to avoid an error.
18107 Use char because int might match the return type of a GCC
18108 builtin and then its argument prototype would still apply. */
18109 char SQLConnect ();
18113 return SQLConnect ();
18118 if ac_fn_c_try_link
"$LINENO"
18121 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18122 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'` ;;
18123 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18124 if ${ac_cv_lib_soname_odbc:+false} :
18126 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18130 ac_cv_lib_soname_odbc
=
18132 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18133 conftest
$ac_exeext conftest.
$ac_ext
18134 LIBS
=$ac_check_soname_save_LIBS
18136 if ${ac_cv_lib_soname_odbc:+false} :
18138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18139 printf "%s\n" "not found" >&6; }
18140 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18144 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18146 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18151 if test "x$with_netapi" != "xno"
18154 if ${NETAPI_CFLAGS:+false} :
18156 if test ${PKG_CONFIG+y}
18158 NETAPI_CFLAGS
=`$PKG_CONFIG --cflags netapi 2>conftest.err`
18162 if ${NETAPI_LIBS:+false} :
18164 if test ${PKG_CONFIG+y}
18166 NETAPI_LIBS
=`$PKG_CONFIG --libs netapi 2>/dev/null`
18171 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18172 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18173 if test -s conftest.err
; then
18174 printf %s
"$as_me:${as_lineno-$LINENO}: netapi errors: " >&5
18175 cat conftest.err
>&5
18178 ac_save_CPPFLAGS
=$CPPFLAGS
18179 CPPFLAGS
="$CPPFLAGS $NETAPI_CFLAGS"
18180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18181 printf %s
"checking for -lnetapi... " >&6; }
18182 if test ${ac_cv_lib_soname_netapi+y}
18184 printf %s
"(cached) " >&6
18186 ac_check_soname_save_LIBS
=$LIBS
18187 LIBS
="-lnetapi $NETAPI_LIBS $LIBS"
18188 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18189 /* end confdefs.h. */
18191 /* Override any GCC internal prototype to avoid an error.
18192 Use char because int might match the return type of a GCC
18193 builtin and then its argument prototype would still apply. */
18194 char libnetapi_init ();
18198 return libnetapi_init ();
18203 if ac_fn_c_try_link
"$LINENO"
18206 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18207 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'` ;;
18208 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18209 if ${ac_cv_lib_soname_netapi:+false} :
18211 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18215 ac_cv_lib_soname_netapi
=
18217 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18218 conftest
$ac_exeext conftest.
$ac_ext
18219 LIBS
=$ac_check_soname_save_LIBS
18221 if ${ac_cv_lib_soname_netapi:+false} :
18223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18224 printf "%s\n" "not found" >&6; }
18225 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18229 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18231 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18235 CPPFLAGS
=$ac_save_CPPFLAGS
18238 if test "x$ac_cv_lib_soname_netapi" = "x"
18240 case "x$with_netapi" in
18241 x
) as_fn_append wine_notices
"|libnetapi not found, Samba NetAPI won't be supported." ;;
18243 *) as_fn_error $?
"libnetapi not found, Samba NetAPI won't be supported.
18244 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18246 enable_netapi
=${enable_netapi:-no}
18250 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono
-a \
18251 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18253 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
18256 if test "x$with_vulkan" != "xno"
18258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18259 printf %s
"checking for -lvulkan... " >&6; }
18260 if test ${ac_cv_lib_soname_vulkan+y}
18262 printf %s
"(cached) " >&6
18264 ac_check_soname_save_LIBS
=$LIBS
18265 LIBS
="-lvulkan $LIBS"
18266 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18267 /* end confdefs.h. */
18269 /* Override any GCC internal prototype to avoid an error.
18270 Use char because int might match the return type of a GCC
18271 builtin and then its argument prototype would still apply. */
18272 char vkGetInstanceProcAddr ();
18276 return vkGetInstanceProcAddr ();
18281 if ac_fn_c_try_link
"$LINENO"
18284 dll
) ac_cv_lib_soname_vulkan
=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18285 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'` ;;
18286 *) ac_cv_lib_soname_vulkan
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18287 if ${ac_cv_lib_soname_vulkan:+false} :
18289 ac_cv_lib_soname_vulkan
=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18293 ac_cv_lib_soname_vulkan
=
18295 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18296 conftest
$ac_exeext conftest.
$ac_ext
18297 LIBS
=$ac_check_soname_save_LIBS
18299 if ${ac_cv_lib_soname_vulkan:+false} :
18301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18302 printf "%s\n" "not found" >&6; }
18305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18306 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18308 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18312 if test "x$ac_cv_lib_soname_vulkan" = "x"
18314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18315 printf %s
"checking for -lMoltenVK... " >&6; }
18316 if test ${ac_cv_lib_soname_MoltenVK+y}
18318 printf %s
"(cached) " >&6
18320 ac_check_soname_save_LIBS
=$LIBS
18321 LIBS
="-lMoltenVK $LIBS"
18322 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18323 /* end confdefs.h. */
18325 /* Override any GCC internal prototype to avoid an error.
18326 Use char because int might match the return type of a GCC
18327 builtin and then its argument prototype would still apply. */
18328 char vkGetInstanceProcAddr ();
18332 return vkGetInstanceProcAddr ();
18337 if ac_fn_c_try_link
"$LINENO"
18340 dll
) ac_cv_lib_soname_MoltenVK
=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18341 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'` ;;
18342 *) ac_cv_lib_soname_MoltenVK
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18343 if ${ac_cv_lib_soname_MoltenVK:+false} :
18345 ac_cv_lib_soname_MoltenVK
=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18349 ac_cv_lib_soname_MoltenVK
=
18351 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18352 conftest
$ac_exeext conftest.
$ac_ext
18353 LIBS
=$ac_check_soname_save_LIBS
18355 if ${ac_cv_lib_soname_MoltenVK:+false} :
18357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18358 printf "%s\n" "not found" >&6; }
18361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18362 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18364 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18370 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18372 case "x$with_vulkan" in
18373 x
) as_fn_append wine_notices
"|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18375 *) as_fn_error $?
"libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18376 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18382 if test "x${GCC}" = "xyes"
18384 EXTRACFLAGS
="$EXTRACFLAGS -Wall -pipe"
18386 saved_CFLAGS
=$CFLAGS
18387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18388 printf %s
"checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18389 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18391 printf %s
"(cached) " >&6
18393 ac_wine_try_cflags_saved
=$CFLAGS
18394 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
18395 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18396 /* end confdefs.h. */
18397 int main(int argc, char **argv) { return 0; }
18399 if ac_fn_c_try_link
"$LINENO"
18401 ac_cv_cflags__Werror_unknown_warning_option
=yes
18403 ac_cv_cflags__Werror_unknown_warning_option
=no
18405 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18406 conftest
$ac_exeext conftest.
$ac_ext
18407 CFLAGS
=$ac_wine_try_cflags_saved
18409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18410 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18411 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18413 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
18415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18416 printf %s
"checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18417 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18419 printf %s
"(cached) " >&6
18421 ac_wine_try_cflags_saved
=$CFLAGS
18422 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
18423 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18424 /* end confdefs.h. */
18425 int main(int argc, char **argv) { return 0; }
18427 if ac_fn_c_try_link
"$LINENO"
18429 ac_cv_cflags__Werror_unused_command_line_argument
=yes
18431 ac_cv_cflags__Werror_unused_command_line_argument
=no
18433 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18434 conftest
$ac_exeext conftest.
$ac_ext
18435 CFLAGS
=$ac_wine_try_cflags_saved
18437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18438 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18439 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18441 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
18443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18444 printf %s
"checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18445 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18447 printf %s
"(cached) " >&6
18449 ac_wine_try_cflags_saved
=$CFLAGS
18450 CFLAGS
="$CFLAGS -Werror=ignored-optimization-argument"
18451 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18452 /* end confdefs.h. */
18453 int main(int argc, char **argv) { return 0; }
18455 if ac_fn_c_try_link
"$LINENO"
18457 ac_cv_cflags__Werror_ignored_optimization_argument
=yes
18459 ac_cv_cflags__Werror_ignored_optimization_argument
=no
18461 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18462 conftest
$ac_exeext conftest.
$ac_ext
18463 CFLAGS
=$ac_wine_try_cflags_saved
18465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18466 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18467 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18469 CFLAGS
="$CFLAGS -Werror=ignored-optimization-argument"
18471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18472 printf %s
"checking whether the compiler supports -fcf-protection=none... " >&6; }
18473 if test ${ac_cv_cflags__fcf_protection_none+y}
18475 printf %s
"(cached) " >&6
18477 ac_wine_try_cflags_saved
=$CFLAGS
18478 CFLAGS
="$CFLAGS -fcf-protection=none"
18479 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18480 /* end confdefs.h. */
18481 int main(int argc, char **argv) { return 0; }
18483 if ac_fn_c_try_link
"$LINENO"
18485 ac_cv_cflags__fcf_protection_none
=yes
18487 ac_cv_cflags__fcf_protection_none
=no
18489 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18490 conftest
$ac_exeext conftest.
$ac_ext
18491 CFLAGS
=$ac_wine_try_cflags_saved
18493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18494 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18495 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18497 EXTRACFLAGS
="$EXTRACFLAGS -fcf-protection=none"
18499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18500 printf %s
"checking whether the compiler supports -fno-stack-protector... " >&6; }
18501 if test ${ac_cv_cflags__fno_stack_protector+y}
18503 printf %s
"(cached) " >&6
18505 ac_wine_try_cflags_saved
=$CFLAGS
18506 CFLAGS
="$CFLAGS -fno-stack-protector"
18507 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18508 /* end confdefs.h. */
18509 int main(int argc, char **argv) { return 0; }
18511 if ac_fn_c_try_link
"$LINENO"
18513 ac_cv_cflags__fno_stack_protector
=yes
18515 ac_cv_cflags__fno_stack_protector
=no
18517 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18518 conftest
$ac_exeext conftest.
$ac_ext
18519 CFLAGS
=$ac_wine_try_cflags_saved
18521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18522 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18523 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18525 EXTRACFLAGS
="$EXTRACFLAGS -fno-stack-protector"
18527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18528 printf %s
"checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18529 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18531 printf %s
"(cached) " >&6
18533 ac_wine_try_cflags_saved
=$CFLAGS
18534 CFLAGS
="$CFLAGS -fno-strict-aliasing"
18535 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18536 /* end confdefs.h. */
18537 int main(int argc, char **argv) { return 0; }
18539 if ac_fn_c_try_link
"$LINENO"
18541 ac_cv_cflags__fno_strict_aliasing
=yes
18543 ac_cv_cflags__fno_strict_aliasing
=no
18545 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18546 conftest
$ac_exeext conftest.
$ac_ext
18547 CFLAGS
=$ac_wine_try_cflags_saved
18549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18550 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18551 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18553 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
18555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18556 printf %s
"checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18557 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18559 printf %s
"(cached) " >&6
18561 ac_wine_try_cflags_saved
=$CFLAGS
18562 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
18563 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18564 /* end confdefs.h. */
18565 int main(int argc, char **argv) { return 0; }
18567 if ac_fn_c_try_link
"$LINENO"
18569 ac_cv_cflags__Wdeclaration_after_statement
=yes
18571 ac_cv_cflags__Wdeclaration_after_statement
=no
18573 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18574 conftest
$ac_exeext conftest.
$ac_ext
18575 CFLAGS
=$ac_wine_try_cflags_saved
18577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18578 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18579 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18581 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
18583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18584 printf %s
"checking whether the compiler supports -Wempty-body... " >&6; }
18585 if test ${ac_cv_cflags__Wempty_body+y}
18587 printf %s
"(cached) " >&6
18589 ac_wine_try_cflags_saved
=$CFLAGS
18590 CFLAGS
="$CFLAGS -Wempty-body"
18591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18592 /* end confdefs.h. */
18593 int main(int argc, char **argv) { return 0; }
18595 if ac_fn_c_try_link
"$LINENO"
18597 ac_cv_cflags__Wempty_body
=yes
18599 ac_cv_cflags__Wempty_body
=no
18601 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18602 conftest
$ac_exeext conftest.
$ac_ext
18603 CFLAGS
=$ac_wine_try_cflags_saved
18605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18606 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18607 if test "x$ac_cv_cflags__Wempty_body" = xyes
18609 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
18611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18612 printf %s
"checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18613 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18615 printf %s
"(cached) " >&6
18617 ac_wine_try_cflags_saved
=$CFLAGS
18618 CFLAGS
="$CFLAGS -Wignored-qualifiers"
18619 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18620 /* end confdefs.h. */
18621 int main(int argc, char **argv) { return 0; }
18623 if ac_fn_c_try_link
"$LINENO"
18625 ac_cv_cflags__Wignored_qualifiers
=yes
18627 ac_cv_cflags__Wignored_qualifiers
=no
18629 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18630 conftest
$ac_exeext conftest.
$ac_ext
18631 CFLAGS
=$ac_wine_try_cflags_saved
18633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18634 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18635 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18637 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
18639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18640 printf %s
"checking whether the compiler supports -Winit-self... " >&6; }
18641 if test ${ac_cv_cflags__Winit_self+y}
18643 printf %s
"(cached) " >&6
18645 ac_wine_try_cflags_saved
=$CFLAGS
18646 CFLAGS
="$CFLAGS -Winit-self"
18647 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18648 /* end confdefs.h. */
18649 int main(int argc, char **argv) { return 0; }
18651 if ac_fn_c_try_link
"$LINENO"
18653 ac_cv_cflags__Winit_self
=yes
18655 ac_cv_cflags__Winit_self
=no
18657 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18658 conftest
$ac_exeext conftest.
$ac_ext
18659 CFLAGS
=$ac_wine_try_cflags_saved
18661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18662 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18663 if test "x$ac_cv_cflags__Winit_self" = xyes
18665 EXTRACFLAGS
="$EXTRACFLAGS -Winit-self"
18667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18668 printf %s
"checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18669 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18671 printf %s
"(cached) " >&6
18673 ac_wine_try_cflags_saved
=$CFLAGS
18674 CFLAGS
="$CFLAGS -Wpacked-not-aligned"
18675 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18676 /* end confdefs.h. */
18677 int main(int argc, char **argv) { return 0; }
18679 if ac_fn_c_try_link
"$LINENO"
18681 ac_cv_cflags__Wpacked_not_aligned
=yes
18683 ac_cv_cflags__Wpacked_not_aligned
=no
18685 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18686 conftest
$ac_exeext conftest.
$ac_ext
18687 CFLAGS
=$ac_wine_try_cflags_saved
18689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18690 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18691 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18693 EXTRACFLAGS
="$EXTRACFLAGS -Wno-packed-not-aligned"
18695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18696 printf %s
"checking whether the compiler supports -Wpragma-pack... " >&6; }
18697 if test ${ac_cv_cflags__Wpragma_pack+y}
18699 printf %s
"(cached) " >&6
18701 ac_wine_try_cflags_saved
=$CFLAGS
18702 CFLAGS
="$CFLAGS -Wpragma-pack"
18703 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18704 /* end confdefs.h. */
18705 int main(int argc, char **argv) { return 0; }
18707 if ac_fn_c_try_link
"$LINENO"
18709 ac_cv_cflags__Wpragma_pack
=yes
18711 ac_cv_cflags__Wpragma_pack
=no
18713 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18714 conftest
$ac_exeext conftest.
$ac_ext
18715 CFLAGS
=$ac_wine_try_cflags_saved
18717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18718 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18719 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18721 EXTRACFLAGS
="$EXTRACFLAGS -Wno-pragma-pack"
18723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18724 printf %s
"checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18725 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18727 printf %s
"(cached) " >&6
18729 ac_wine_try_cflags_saved
=$CFLAGS
18730 CFLAGS
="$CFLAGS -Wshift-overflow=2"
18731 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18732 /* end confdefs.h. */
18733 int main(int argc, char **argv) { return 0; }
18735 if ac_fn_c_try_link
"$LINENO"
18737 ac_cv_cflags__Wshift_overflow_2
=yes
18739 ac_cv_cflags__Wshift_overflow_2
=no
18741 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18742 conftest
$ac_exeext conftest.
$ac_ext
18743 CFLAGS
=$ac_wine_try_cflags_saved
18745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18746 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18747 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18749 EXTRACFLAGS
="$EXTRACFLAGS -Wshift-overflow=2"
18751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18752 printf %s
"checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18753 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18755 printf %s
"(cached) " >&6
18757 ac_wine_try_cflags_saved
=$CFLAGS
18758 CFLAGS
="$CFLAGS -Wstrict-prototypes"
18759 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18760 /* end confdefs.h. */
18761 int main(int argc, char **argv) { return 0; }
18763 if ac_fn_c_try_link
"$LINENO"
18765 ac_cv_cflags__Wstrict_prototypes
=yes
18767 ac_cv_cflags__Wstrict_prototypes
=no
18769 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18770 conftest
$ac_exeext conftest.
$ac_ext
18771 CFLAGS
=$ac_wine_try_cflags_saved
18773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18774 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18775 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18777 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
18779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18780 printf %s
"checking whether the compiler supports -Wtype-limits... " >&6; }
18781 if test ${ac_cv_cflags__Wtype_limits+y}
18783 printf %s
"(cached) " >&6
18785 ac_wine_try_cflags_saved
=$CFLAGS
18786 CFLAGS
="$CFLAGS -Wtype-limits"
18787 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18788 /* end confdefs.h. */
18789 int main(int argc, char **argv) { return 0; }
18791 if ac_fn_c_try_link
"$LINENO"
18793 ac_cv_cflags__Wtype_limits
=yes
18795 ac_cv_cflags__Wtype_limits
=no
18797 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18798 conftest
$ac_exeext conftest.
$ac_ext
18799 CFLAGS
=$ac_wine_try_cflags_saved
18801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18802 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18803 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18805 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
18807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18808 printf %s
"checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18809 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18811 printf %s
"(cached) " >&6
18813 ac_wine_try_cflags_saved
=$CFLAGS
18814 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
18815 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18816 /* end confdefs.h. */
18817 int main(int argc, char **argv) { return 0; }
18819 if ac_fn_c_try_link
"$LINENO"
18821 ac_cv_cflags__Wunused_but_set_parameter
=yes
18823 ac_cv_cflags__Wunused_but_set_parameter
=no
18825 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18826 conftest
$ac_exeext conftest.
$ac_ext
18827 CFLAGS
=$ac_wine_try_cflags_saved
18829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
18830 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
18831 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
18833 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
18835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
18836 printf %s
"checking whether the compiler supports -Wvla... " >&6; }
18837 if test ${ac_cv_cflags__Wvla+y}
18839 printf %s
"(cached) " >&6
18841 ac_wine_try_cflags_saved
=$CFLAGS
18842 CFLAGS
="$CFLAGS -Wvla"
18843 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18844 /* end confdefs.h. */
18845 int main(int argc, char **argv) { return 0; }
18847 if ac_fn_c_try_link
"$LINENO"
18849 ac_cv_cflags__Wvla
=yes
18851 ac_cv_cflags__Wvla
=no
18853 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18854 conftest
$ac_exeext conftest.
$ac_ext
18855 CFLAGS
=$ac_wine_try_cflags_saved
18857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
18858 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
18859 if test "x$ac_cv_cflags__Wvla" = xyes
18861 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
18863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
18864 printf %s
"checking whether the compiler supports -Wwrite-strings... " >&6; }
18865 if test ${ac_cv_cflags__Wwrite_strings+y}
18867 printf %s
"(cached) " >&6
18869 ac_wine_try_cflags_saved
=$CFLAGS
18870 CFLAGS
="$CFLAGS -Wwrite-strings"
18871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18872 /* end confdefs.h. */
18873 int main(int argc, char **argv) { return 0; }
18875 if ac_fn_c_try_link
"$LINENO"
18877 ac_cv_cflags__Wwrite_strings
=yes
18879 ac_cv_cflags__Wwrite_strings
=no
18881 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18882 conftest
$ac_exeext conftest.
$ac_ext
18883 CFLAGS
=$ac_wine_try_cflags_saved
18885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
18886 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
18887 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
18889 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
18892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
18893 printf %s
"checking whether the compiler supports -Wpointer-arith... " >&6; }
18894 if test ${ac_cv_cflags__Wpointer_arith+y}
18896 printf %s
"(cached) " >&6
18898 ac_wine_try_cflags_saved
=$CFLAGS
18899 CFLAGS
="$CFLAGS -Wpointer-arith"
18900 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18901 /* end confdefs.h. */
18902 int main(int argc, char **argv) { return 0; }
18904 if ac_fn_c_try_link
"$LINENO"
18906 ac_cv_cflags__Wpointer_arith
=yes
18908 ac_cv_cflags__Wpointer_arith
=no
18910 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18911 conftest
$ac_exeext conftest.
$ac_ext
18912 CFLAGS
=$ac_wine_try_cflags_saved
18914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
18915 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
18916 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
18918 saved_string_h_CFLAGS
=$CFLAGS
18919 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
18920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
18921 printf %s
"checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
18922 if test ${ac_cv_c_string_h_warnings+y}
18924 printf %s
"(cached) " >&6
18926 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18927 /* end confdefs.h. */
18928 #include <string.h>
18937 if ac_fn_c_try_compile
"$LINENO"
18939 ac_cv_c_string_h_warnings
=no
18941 ac_cv_c_string_h_warnings
=yes
18943 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
18945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
18946 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
18947 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
18948 CFLAGS
=$saved_string_h_CFLAGS
18951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
18952 printf %s
"checking whether the compiler supports -Wlogical-op... " >&6; }
18953 if test ${ac_cv_cflags__Wlogical_op+y}
18955 printf %s
"(cached) " >&6
18957 ac_wine_try_cflags_saved
=$CFLAGS
18958 CFLAGS
="$CFLAGS -Wlogical-op"
18959 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18960 /* end confdefs.h. */
18961 int main(int argc, char **argv) { return 0; }
18963 if ac_fn_c_try_link
"$LINENO"
18965 ac_cv_cflags__Wlogical_op
=yes
18967 ac_cv_cflags__Wlogical_op
=no
18969 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18970 conftest
$ac_exeext conftest.
$ac_ext
18971 CFLAGS
=$ac_wine_try_cflags_saved
18973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
18974 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
18975 if test "x$ac_cv_cflags__Wlogical_op" = xyes
18977 saved_string_h_CFLAGS
=$CFLAGS
18978 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
18979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
18980 printf %s
"checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
18981 if test ${ac_cv_c_logicalop_noisy+y}
18983 printf %s
"(cached) " >&6
18985 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18986 /* end confdefs.h. */
18987 #include <string.h>
18988 char*f(const char *h,char n) {return strchr(h,n);}
18997 if ac_fn_c_try_compile
"$LINENO"
18999 ac_cv_c_logicalop_noisy
=no
19001 ac_cv_c_logicalop_noisy
=yes
19003 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19006 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19007 CFLAGS
=$saved_string_h_CFLAGS
19008 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
19011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19012 printf %s
"checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19013 if test ${wine_cv_64bit_compare_swap+y}
19015 printf %s
"(cached) " >&6
19017 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19018 /* end confdefs.h. */
19019 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19030 if ac_fn_c_try_compile
"$LINENO"
19032 wine_cv_64bit_compare_swap
="none needed"
19035 *i
[3456]86*) wine_cv_64bit_compare_swap
="-march=i586" ;;
19036 *arm
*) wine_cv_64bit_compare_swap
="-march=armv7-a" ;;
19037 *) wine_cv_64bit_compare_swap
="unknown" ;;
19039 if test "x$wine_cv_64bit_compare_swap" != xunknown
19041 CFLAGS
="$CFLAGS $wine_cv_64bit_compare_swap"
19042 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19043 /* end confdefs.h. */
19044 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19055 if ac_fn_c_try_compile
"$LINENO"
19059 wine_cv_64bit_compare_swap
="unknown"
19061 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19062 CFLAGS
=$saved_CFLAGS
19065 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19068 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19069 case "$wine_cv_64bit_compare_swap" in
19070 unknown
) as_fn_error $?
"gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19072 *) EXTRACFLAGS
="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19075 ac_debug_format_seen
=""
19076 for ac_flag
in $CFLAGS; do
19078 -gdwarf*) ac_debug_format_seen
=yes ;;
19079 -g) ac_debug_format_seen
=${ac_debug_format_seen:-default} ;;
19082 if test "x$ac_debug_format_seen" = xdefault
19084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19085 printf %s
"checking whether the compiler supports -gdwarf-4... " >&6; }
19086 if test ${ac_cv_cflags__gdwarf_4+y}
19088 printf %s
"(cached) " >&6
19090 ac_wine_try_cflags_saved
=$CFLAGS
19091 CFLAGS
="$CFLAGS -gdwarf-4"
19092 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19093 /* end confdefs.h. */
19094 int main(int argc, char **argv) { return 0; }
19096 if ac_fn_c_try_link
"$LINENO"
19098 ac_cv_cflags__gdwarf_4
=yes
19100 ac_cv_cflags__gdwarf_4
=no
19102 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19103 conftest
$ac_exeext conftest.
$ac_ext
19104 CFLAGS
=$ac_wine_try_cflags_saved
19106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19107 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19108 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19110 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-4"
19117 mingw32
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19118 printf %s
"checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19119 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19121 printf %s
"(cached) " >&6
19123 ac_wine_try_cflags_saved
=$CFLAGS
19124 CFLAGS
="$CFLAGS -Wl,-delayload,autoconftest.dll"
19125 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19126 /* end confdefs.h. */
19127 int main(int argc, char **argv) { return 0; }
19129 if ac_fn_c_try_link
"$LINENO"
19131 ac_cv_cflags__Wl__delayload_autoconftest_dll
=yes
19133 ac_cv_cflags__Wl__delayload_autoconftest_dll
=no
19135 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19136 conftest
$ac_exeext conftest.
$ac_ext
19137 CFLAGS
=$ac_wine_try_cflags_saved
19139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19140 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19141 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19143 DELAYLOADFLAG
="-Wl,-delayload,"
19146 *) MSVCRTFLAGS
="-D_WIN32"
19147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19148 printf %s
"checking whether the compiler supports -fno-builtin... " >&6; }
19149 if test ${ac_cv_cflags__fno_builtin+y}
19151 printf %s
"(cached) " >&6
19153 ac_wine_try_cflags_saved
=$CFLAGS
19154 CFLAGS
="$CFLAGS -fno-builtin"
19155 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19156 /* end confdefs.h. */
19157 int main(int argc, char **argv) { return 0; }
19159 if ac_fn_c_try_link
"$LINENO"
19161 ac_cv_cflags__fno_builtin
=yes
19163 ac_cv_cflags__fno_builtin
=no
19165 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19166 conftest
$ac_exeext conftest.
$ac_ext
19167 CFLAGS
=$ac_wine_try_cflags_saved
19169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19170 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19171 if test "x$ac_cv_cflags__fno_builtin" = xyes
19173 MSVCRTFLAGS
="$MSVCRTFLAGS -fno-builtin"
19175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19176 printf %s
"checking whether the compiler supports -fshort-wchar... " >&6; }
19177 if test ${ac_cv_cflags__fshort_wchar+y}
19179 printf %s
"(cached) " >&6
19181 ac_wine_try_cflags_saved
=$CFLAGS
19182 CFLAGS
="$CFLAGS -fshort-wchar"
19183 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19184 /* end confdefs.h. */
19185 int main(int argc, char **argv) { return 0; }
19187 if ac_fn_c_try_link
"$LINENO"
19189 ac_cv_cflags__fshort_wchar
=yes
19191 ac_cv_cflags__fshort_wchar
=no
19193 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19194 conftest
$ac_exeext conftest.
$ac_ext
19195 CFLAGS
=$ac_wine_try_cflags_saved
19197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19198 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19199 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19201 MSVCRTFLAGS
="$MSVCRTFLAGS -fshort-wchar"
19203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19204 printf %s
"checking whether the compiler supports -Wno-format... " >&6; }
19205 if test ${ac_cv_cflags__Wno_format+y}
19207 printf %s
"(cached) " >&6
19209 ac_wine_try_cflags_saved
=$CFLAGS
19210 CFLAGS
="$CFLAGS -Wno-format"
19211 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19212 /* end confdefs.h. */
19213 int main(int argc, char **argv) { return 0; }
19215 if ac_fn_c_try_link
"$LINENO"
19217 ac_cv_cflags__Wno_format
=yes
19219 ac_cv_cflags__Wno_format
=no
19221 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19222 conftest
$ac_exeext conftest.
$ac_ext
19223 CFLAGS
=$ac_wine_try_cflags_saved
19225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19226 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19227 if test "x$ac_cv_cflags__Wno_format" = xyes
19229 MSVCRTFLAGS
="$MSVCRTFLAGS -Wno-format"
19234 *i
[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19235 printf %s
"checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19236 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19238 printf %s
"(cached) " >&6
19240 ac_wine_try_cflags_saved
=$CFLAGS
19241 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
19242 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19243 /* end confdefs.h. */
19244 int main(int argc, char **argv) { return 0; }
19246 if ac_fn_c_try_link
"$LINENO"
19248 ac_cv_cflags__fno_omit_frame_pointer
=yes
19250 ac_cv_cflags__fno_omit_frame_pointer
=no
19252 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19253 conftest
$ac_exeext conftest.
$ac_ext
19254 CFLAGS
=$ac_wine_try_cflags_saved
19256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19257 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19258 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19260 MSVCRTFLAGS
="$MSVCRTFLAGS -fno-omit-frame-pointer"
19264 cygwin
*|mingw32
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19265 printf %s
"checking whether the compiler supports -Wno-format... " >&6; }
19266 if test ${ac_cv_cflags__Wno_format+y}
19268 printf %s
"(cached) " >&6
19270 ac_wine_try_cflags_saved
=$CFLAGS
19271 CFLAGS
="$CFLAGS -Wno-format"
19272 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19273 /* end confdefs.h. */
19274 int main(int argc, char **argv) { return 0; }
19276 if ac_fn_c_try_link
"$LINENO"
19278 ac_cv_cflags__Wno_format
=yes
19280 ac_cv_cflags__Wno_format
=no
19282 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19283 conftest
$ac_exeext conftest.
$ac_ext
19284 CFLAGS
=$ac_wine_try_cflags_saved
19286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19287 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19288 if test "x$ac_cv_cflags__Wno_format" = xyes
19290 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
19292 *) if test -z "$PE_ARCHS"
19294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19295 printf %s
"checking for working -mabi=ms... " >&6; }
19296 if test ${ac_cv_mabi_ms+y}
19298 printf %s
"(cached) " >&6
19300 CFLAGS
="$CFLAGS -mabi=ms"
19301 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19302 /* end confdefs.h. */
19303 #include <stdarg.h>
19304 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19313 if ac_fn_c_try_compile
"$LINENO"
19319 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19320 CFLAGS
=$saved_CFLAGS
19322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19323 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19324 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
19326 MSVCRTFLAGS
="$MSVCRTFLAGS -mabi=ms" ;;
19329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19330 printf %s
"checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19331 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19333 printf %s
"(cached) " >&6
19335 ac_wine_try_cflags_saved
=$CFLAGS
19336 CFLAGS
="$CFLAGS -Wincompatible-function-pointer-types"
19337 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19338 /* end confdefs.h. */
19339 int main(int argc, char **argv) { return 0; }
19341 if ac_fn_c_try_link
"$LINENO"
19343 ac_cv_cflags__Wincompatible_function_pointer_types
=yes
19345 ac_cv_cflags__Wincompatible_function_pointer_types
=no
19347 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19348 conftest
$ac_exeext conftest.
$ac_ext
19349 CFLAGS
=$ac_wine_try_cflags_saved
19351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
19352 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19353 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19355 EXTRACFLAGS
="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19359 CFLAGS
=$saved_CFLAGS
19361 if test "x$enable_werror" = "xyes"
19363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19364 printf %s
"checking whether the compiler supports -Werror... " >&6; }
19365 if test ${ac_cv_cflags__Werror+y}
19367 printf %s
"(cached) " >&6
19369 ac_wine_try_cflags_saved
=$CFLAGS
19370 CFLAGS
="$CFLAGS -Werror"
19371 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19372 /* end confdefs.h. */
19373 int main(int argc, char **argv) { return 0; }
19375 if ac_fn_c_try_link
"$LINENO"
19377 ac_cv_cflags__Werror
=yes
19379 ac_cv_cflags__Werror
=no
19381 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19382 conftest
$ac_exeext conftest.
$ac_ext
19383 CFLAGS
=$ac_wine_try_cflags_saved
19385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19386 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19387 if test "x$ac_cv_cflags__Werror" = xyes
19389 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
19392 if test "x$enable_build_id" = "xyes"
19394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19395 printf %s
"checking whether the compiler supports -Wl,--build-id... " >&6; }
19396 if test ${ac_cv_cflags__Wl___build_id+y}
19398 printf %s
"(cached) " >&6
19400 ac_wine_try_cflags_saved
=$CFLAGS
19401 CFLAGS
="$CFLAGS -Wl,--build-id"
19402 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19403 /* end confdefs.h. */
19404 int main(int argc, char **argv) { return 0; }
19406 if ac_fn_c_try_link
"$LINENO"
19408 ac_cv_cflags__Wl___build_id
=yes
19410 ac_cv_cflags__Wl___build_id
=no
19412 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19413 conftest
$ac_exeext conftest.
$ac_ext
19414 CFLAGS
=$ac_wine_try_cflags_saved
19416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19417 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19418 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19420 CFLAGS
="$CFLAGS -Wl,--build-id"
19421 LDFLAGS
="$LDFLAGS -Wl,--build-id"
19427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19428 printf %s
"checking for the need to disable Fortify... " >&6; }
19429 if test ${ac_cv_c_fortify_enabled+y}
19431 printf %s
"(cached) " >&6
19433 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19434 /* end confdefs.h. */
19435 #include <string.h>
19439 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19440 #error Fortify enabled
19446 if ac_fn_c_try_compile
"$LINENO"
19448 ac_cv_c_fortify_enabled
=no
19450 ac_cv_c_fortify_enabled
=yes
19452 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19455 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19456 if test "$ac_cv_c_fortify_enabled" = yes
19458 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19463 printf %s
"checking whether CFI directives are supported in assembly code... " >&6; }
19464 if test ${ac_cv_c_cfi_support+y}
19466 printf %s
"(cached) " >&6
19468 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19469 /* end confdefs.h. */
19470 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19479 if ac_fn_c_try_compile
"$LINENO"
19481 ac_cv_c_cfi_support
="yes"
19483 ac_cv_c_cfi_support
="no"
19485 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19488 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19489 if test "$ac_cv_c_cfi_support" = "yes"
19491 DLLFLAGS
="$DLLFLAGS -fasynchronous-unwind-tables"
19492 LDDLLFLAGS
="$LDDLLFLAGS -fasynchronous-unwind-tables"
19493 UNIXDLLFLAGS
="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19494 elif test $HOST_ARCH = x86_64
19496 as_fn_append wine_warnings
"|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19500 case "$HOST_ARCH,$PE_ARCHS" in
19501 x86_64
,*i386
*) wine_binary
="wine" ;;
19502 x86_64
,*) wine_binary
="wine64" ;;
19503 *) wine_binary
="wine" ;;
19505 WINELOADER_PROGRAMS
="$wine_binary"
19511 *i
[3456789]86*|x86_64
*|
*aarch64
*|arm
*)
19512 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine-preloader"
19513 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
19518 if test "$wine_can_build_preloader" = "yes"
19520 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine-preloader"
19521 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
19527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19528 printf %s
"checking for library containing dlopen... " >&6; }
19529 if test ${ac_cv_search_dlopen+y}
19531 printf %s
"(cached) " >&6
19533 ac_func_search_save_LIBS
=$LIBS
19534 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19535 /* end confdefs.h. */
19537 /* Override any GCC internal prototype to avoid an error.
19538 Use char because int might match the return type of a GCC
19539 builtin and then its argument prototype would still apply. */
19549 for ac_lib
in '' dl
19551 if test -z "$ac_lib"; then
19552 ac_res
="none required"
19555 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19557 if ac_fn_c_try_link
"$LINENO"
19559 ac_cv_search_dlopen
=$ac_res
19561 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19563 if test ${ac_cv_search_dlopen+y}
19568 if test ${ac_cv_search_dlopen+y}
19572 ac_cv_search_dlopen
=no
19574 rm conftest.
$ac_ext
19575 LIBS
=$ac_func_search_save_LIBS
19577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19578 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19579 ac_res
=$ac_cv_search_dlopen
19580 if test "$ac_res" != no
19582 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19588 printf %s
"checking for library containing gethostbyname... " >&6; }
19589 if test ${ac_cv_search_gethostbyname+y}
19591 printf %s
"(cached) " >&6
19593 ac_func_search_save_LIBS
=$LIBS
19594 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19595 /* end confdefs.h. */
19597 /* Override any GCC internal prototype to avoid an error.
19598 Use char because int might match the return type of a GCC
19599 builtin and then its argument prototype would still apply. */
19600 char gethostbyname ();
19604 return gethostbyname ();
19609 for ac_lib
in '' nsl
19611 if test -z "$ac_lib"; then
19612 ac_res
="none required"
19615 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19617 if ac_fn_c_try_link
"$LINENO"
19619 ac_cv_search_gethostbyname
=$ac_res
19621 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19623 if test ${ac_cv_search_gethostbyname+y}
19628 if test ${ac_cv_search_gethostbyname+y}
19632 ac_cv_search_gethostbyname
=no
19634 rm conftest.
$ac_ext
19635 LIBS
=$ac_func_search_save_LIBS
19637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19638 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19639 ac_res
=$ac_cv_search_gethostbyname
19640 if test "$ac_res" != no
19642 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19648 printf %s
"checking for library containing connect... " >&6; }
19649 if test ${ac_cv_search_connect+y}
19651 printf %s
"(cached) " >&6
19653 ac_func_search_save_LIBS
=$LIBS
19654 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19655 /* end confdefs.h. */
19657 /* Override any GCC internal prototype to avoid an error.
19658 Use char because int might match the return type of a GCC
19659 builtin and then its argument prototype would still apply. */
19669 for ac_lib
in '' socket
19671 if test -z "$ac_lib"; then
19672 ac_res
="none required"
19675 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19677 if ac_fn_c_try_link
"$LINENO"
19679 ac_cv_search_connect
=$ac_res
19681 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19683 if test ${ac_cv_search_connect+y}
19688 if test ${ac_cv_search_connect+y}
19692 ac_cv_search_connect
=no
19694 rm conftest.
$ac_ext
19695 LIBS
=$ac_func_search_save_LIBS
19697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19698 printf "%s\n" "$ac_cv_search_connect" >&6; }
19699 ac_res
=$ac_cv_search_connect
19700 if test "$ac_res" != no
19702 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19708 printf %s
"checking for library containing inet_aton... " >&6; }
19709 if test ${ac_cv_search_inet_aton+y}
19711 printf %s
"(cached) " >&6
19713 ac_func_search_save_LIBS
=$LIBS
19714 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19715 /* end confdefs.h. */
19717 /* Override any GCC internal prototype to avoid an error.
19718 Use char because int might match the return type of a GCC
19719 builtin and then its argument prototype would still apply. */
19724 return inet_aton ();
19729 for ac_lib
in '' resolv
19731 if test -z "$ac_lib"; then
19732 ac_res
="none required"
19735 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19737 if ac_fn_c_try_link
"$LINENO"
19739 ac_cv_search_inet_aton
=$ac_res
19741 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19743 if test ${ac_cv_search_inet_aton+y}
19748 if test ${ac_cv_search_inet_aton+y}
19752 ac_cv_search_inet_aton
=no
19754 rm conftest.
$ac_ext
19755 LIBS
=$ac_func_search_save_LIBS
19757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
19758 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
19759 ac_res
=$ac_cv_search_inet_aton
19760 if test "$ac_res" != no
19762 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19767 ac_save_CFLAGS
="$CFLAGS"
19768 CFLAGS
="$CFLAGS $BUILTINFLAG"
19769 ac_fn_c_check_func
"$LINENO" "dladdr1" "ac_cv_func_dladdr1"
19770 if test "x$ac_cv_func_dladdr1" = xyes
19772 printf "%s\n" "#define HAVE_DLADDR1 1" >>confdefs.h
19775 ac_fn_c_check_func
"$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19776 if test "x$ac_cv_func_dlinfo" = xyes
19778 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19781 ac_fn_c_check_func
"$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19782 if test "x$ac_cv_func_epoll_create" = xyes
19784 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19787 ac_fn_c_check_func
"$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19788 if test "x$ac_cv_func_fstatfs" = xyes
19790 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19793 ac_fn_c_check_func
"$LINENO" "futimens" "ac_cv_func_futimens"
19794 if test "x$ac_cv_func_futimens" = xyes
19796 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19799 ac_fn_c_check_func
"$LINENO" "futimes" "ac_cv_func_futimes"
19800 if test "x$ac_cv_func_futimes" = xyes
19802 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19805 ac_fn_c_check_func
"$LINENO" "futimesat" "ac_cv_func_futimesat"
19806 if test "x$ac_cv_func_futimesat" = xyes
19808 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19811 ac_fn_c_check_func
"$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
19812 if test "x$ac_cv_func_getaddrinfo" = xyes
19814 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
19817 ac_fn_c_check_func
"$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19818 if test "x$ac_cv_func_getattrlist" = xyes
19820 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19823 ac_fn_c_check_func
"$LINENO" "getauxval" "ac_cv_func_getauxval"
19824 if test "x$ac_cv_func_getauxval" = xyes
19826 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19829 ac_fn_c_check_func
"$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19830 if test "x$ac_cv_func_getifaddrs" = xyes
19832 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19835 ac_fn_c_check_func
"$LINENO" "getrandom" "ac_cv_func_getrandom"
19836 if test "x$ac_cv_func_getrandom" = xyes
19838 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19841 ac_fn_c_check_func
"$LINENO" "kqueue" "ac_cv_func_kqueue"
19842 if test "x$ac_cv_func_kqueue" = xyes
19844 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19847 ac_fn_c_check_func
"$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19848 if test "x$ac_cv_func_mach_continuous_time" = xyes
19850 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19853 ac_fn_c_check_func
"$LINENO" "pipe2" "ac_cv_func_pipe2"
19854 if test "x$ac_cv_func_pipe2" = xyes
19856 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19859 ac_fn_c_check_func
"$LINENO" "port_create" "ac_cv_func_port_create"
19860 if test "x$ac_cv_func_port_create" = xyes
19862 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
19865 ac_fn_c_check_func
"$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
19866 if test "x$ac_cv_func_posix_fadvise" = xyes
19868 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
19871 ac_fn_c_check_func
"$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
19872 if test "x$ac_cv_func_posix_fallocate" = xyes
19874 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
19877 ac_fn_c_check_func
"$LINENO" "prctl" "ac_cv_func_prctl"
19878 if test "x$ac_cv_func_prctl" = xyes
19880 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
19883 ac_fn_c_check_func
"$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
19884 if test "x$ac_cv_func_proc_pidinfo" = xyes
19886 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
19889 ac_fn_c_check_func
"$LINENO" "sched_yield" "ac_cv_func_sched_yield"
19890 if test "x$ac_cv_func_sched_yield" = xyes
19892 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
19895 ac_fn_c_check_func
"$LINENO" "setproctitle" "ac_cv_func_setproctitle"
19896 if test "x$ac_cv_func_setproctitle" = xyes
19898 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
19901 ac_fn_c_check_func
"$LINENO" "setprogname" "ac_cv_func_setprogname"
19902 if test "x$ac_cv_func_setprogname" = xyes
19904 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
19907 ac_fn_c_check_func
"$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
19908 if test "x$ac_cv_func_sigprocmask" = xyes
19910 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
19913 ac_fn_c_check_func
"$LINENO" "sysinfo" "ac_cv_func_sysinfo"
19914 if test "x$ac_cv_func_sysinfo" = xyes
19916 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
19919 ac_fn_c_check_func
"$LINENO" "tcdrain" "ac_cv_func_tcdrain"
19920 if test "x$ac_cv_func_tcdrain" = xyes
19922 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
19925 ac_fn_c_check_func
"$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
19926 if test "x$ac_cv_func_thr_kill2" = xyes
19928 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
19932 CFLAGS
="$ac_save_CFLAGS"
19935 darwin
*|macosx
*) ;;
19936 *) ac_save_LIBS
=$LIBS
19937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19938 printf %s
"checking for library containing clock_gettime... " >&6; }
19939 if test ${ac_cv_search_clock_gettime+y}
19941 printf %s
"(cached) " >&6
19943 ac_func_search_save_LIBS
=$LIBS
19944 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19945 /* end confdefs.h. */
19947 /* Override any GCC internal prototype to avoid an error.
19948 Use char because int might match the return type of a GCC
19949 builtin and then its argument prototype would still apply. */
19950 char clock_gettime ();
19954 return clock_gettime ();
19959 for ac_lib
in '' rt
19961 if test -z "$ac_lib"; then
19962 ac_res
="none required"
19965 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19967 if ac_fn_c_try_link
"$LINENO"
19969 ac_cv_search_clock_gettime
=$ac_res
19971 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19973 if test ${ac_cv_search_clock_gettime+y}
19978 if test ${ac_cv_search_clock_gettime+y}
19982 ac_cv_search_clock_gettime
=no
19984 rm conftest.
$ac_ext
19985 LIBS
=$ac_func_search_save_LIBS
19987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19988 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
19989 ac_res
=$ac_cv_search_clock_gettime
19990 if test "$ac_res" != no
19992 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19994 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
19996 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
20004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20005 printf %s
"checking for sched_setaffinity... " >&6; }
20006 if test ${wine_cv_have_sched_setaffinity+y}
20008 printf %s
"(cached) " >&6
20010 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20011 /* end confdefs.h. */
20016 sched_setaffinity(0, 0, 0);
20021 if ac_fn_c_try_link
"$LINENO"
20023 wine_cv_have_sched_setaffinity
=yes
20025 wine_cv_have_sched_setaffinity
=no
20027 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20028 conftest
$ac_exeext conftest.
$ac_ext
20030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20031 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20032 if test "$wine_cv_have_sched_setaffinity" = "yes"
20035 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20041 printf %s
"checking for inline... " >&6; }
20042 if test ${ac_cv_c_inline+y}
20044 printf %s
"(cached) " >&6
20047 for ac_kw
in inline __inline__ __inline
; do
20048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20049 /* end confdefs.h. */
20050 #ifndef __cplusplus
20052 static $ac_kw foo_t static_foo (void) {return 0; }
20053 $ac_kw foo_t foo (void) {return 0; }
20057 if ac_fn_c_try_compile
"$LINENO"
20059 ac_cv_c_inline
=$ac_kw
20061 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20062 test "$ac_cv_c_inline" != no
&& break
20066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20067 printf "%s\n" "$ac_cv_c_inline" >&6; }
20069 case $ac_cv_c_inline in
20072 case $ac_cv_c_inline in
20074 *) ac_val
=$ac_cv_c_inline;;
20076 cat >>confdefs.h
<<_ACEOF
20077 #ifndef __cplusplus
20078 #define inline $ac_val
20084 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20086 if test "x$ac_cv_type_request_sense" = xyes
20089 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20095 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20096 #include <sys/socket.h>
20097 #ifdef HAVE_SYS_SOCKETVAR_H
20098 #include <sys/socketvar.h>
20100 #ifdef HAVE_NET_ROUTE_H
20101 #include <net/route.h>
20103 #ifdef HAVE_NETINET_IN_H
20104 #include <netinet/in.h>
20106 #ifdef HAVE_NETINET_IN_SYSTM_H
20107 #include <netinet/in_systm.h>
20109 #ifdef HAVE_NETINET_IP_H
20110 #include <netinet/ip.h>
20112 #ifdef HAVE_NETINET_IN_PCB_H
20113 #include <netinet/in_pcb.h>
20116 if test "x$ac_cv_type_struct_xinpgen" = xyes
20119 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20126 printf %s
"checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20127 if test ${wine_cv_linux_gethostbyname_r_6+y}
20129 printf %s
"(cached) " >&6
20131 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20132 /* end confdefs.h. */
20140 struct hostent *result;
20147 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20148 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20154 if ac_fn_c_try_link
"$LINENO"
20156 wine_cv_linux_gethostbyname_r_6
=yes
20158 wine_cv_linux_gethostbyname_r_6
=no
20161 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20162 conftest
$ac_exeext conftest.
$ac_ext
20165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20166 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20167 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20170 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20174 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20175 #include <sys/socket.h>
20176 #ifdef HAVE_SYS_UN_H
20177 # include <sys/un.h>
20180 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20183 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20187 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20188 #include <sys/socket.h>
20189 #ifdef HAVE_SYS_UN_H
20190 # include <sys/un.h>
20193 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20196 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20202 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20203 #ifdef HAVE_SCSI_SG_H
20204 #include <scsi/sg.h>
20207 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20210 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20214 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>
20215 #ifdef HAVE_SCSI_SG_H
20216 #include <scsi/sg.h>
20219 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20222 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20228 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20230 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20233 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20239 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20240 #ifdef HAVE_SYS_MTIO_H
20241 #include <sys/mtio.h>
20244 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20247 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20251 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20252 #ifdef HAVE_SYS_MTIO_H
20253 #include <sys/mtio.h>
20256 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20259 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20263 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20264 #ifdef HAVE_SYS_MTIO_H
20265 #include <sys/mtio.h>
20268 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20271 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20277 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20278 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20281 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20285 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20286 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20289 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20293 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20294 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20297 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20301 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20302 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20305 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20309 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20310 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20313 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20317 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20318 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20321 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20325 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20326 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20329 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20333 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20334 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20337 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20341 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20342 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20345 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20349 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20350 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20353 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20357 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20358 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20361 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20367 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>
20368 #ifdef HAVE_NETINET_IN_H
20369 #include <netinet/in.h>
20372 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20375 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20381 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
20382 #include <resolv.h>
20385 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20388 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20394 ac_fn_c_check_member
"$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20395 #include <netinet/in.h>
20398 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20401 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20407 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20408 #ifdef HAVE_SYS_SOCKETVAR_H
20409 #include <sys/socketvar.h>
20411 #ifdef HAVE_NETINET_IN_H
20412 #include <netinet/in.h>
20414 #ifdef HAVE_NETINET_IP_VAR_H
20415 #include <netinet/ip_var.h>
20418 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20421 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20427 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
20428 #include <netinet/ip_var.h>
20431 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20434 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20440 ac_fn_c_check_member
"$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20441 #ifdef HAVE_SYS_SOCKETVAR_H
20442 #include <sys/socketvar.h>
20444 #ifdef HAVE_NETINET_IN_H
20445 #include <netinet/in.h>
20447 #ifdef HAVE_NETINET6_IP6_VAR_H
20448 #include <netinet6/ip6_var.h>
20451 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20454 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20460 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#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_NETINET_IP_H
20468 #include <netinet/ip.h>
20470 #ifdef HAVE_NETINET_IP_ICMP_H
20471 #include <netinet/ip_icmp.h>
20473 #ifdef HAVE_NETINET_ICMP_VAR_H
20474 #include <netinet/icmp_var.h>
20477 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20480 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20486 ac_fn_c_check_member
"$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20487 #ifdef HAVE_SYS_SOCKETVAR_H
20488 #include <sys/socketvar.h>
20490 #ifdef HAVE_NETINET_IN_H
20491 #include <netinet/in.h>
20493 #ifdef HAVE_NETINET_ICMP6_H
20494 #include <netinet/icmp6.h>
20497 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20500 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20506 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#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_TCP_H
20514 #include <netinet/tcp.h>
20516 #ifdef HAVE_NETINET_TCP_VAR_H
20517 #include <netinet/tcp_var.h>
20520 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20523 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20529 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
20530 #include <netinet/tcp_var.h>
20533 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20536 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20542 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20543 #ifdef HAVE_NETINET_IN_H
20544 #include <netinet/in.h>
20546 #ifdef HAVE_NETINET_IP_VAR_H
20547 #include <netinet/ip_var.h>
20549 #ifdef HAVE_NETINET_UDP_H
20550 #include <netinet/udp.h>
20552 #ifdef HAVE_NETINET_UDP_VAR_H
20553 #include <netinet/udp_var.h>
20556 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20559 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20565 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20566 #ifdef HAVE_NET_IF_H
20567 # include <net/if.h>
20570 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20573 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20579 ac_fn_c_check_member
"$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20580 # include <sys/sysinfo.h>
20583 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20586 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20590 ac_fn_c_check_member
"$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20591 # include <sys/sysinfo.h>
20594 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20597 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20603 LIBS
="$ac_save_LIBS"
20605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20606 printf %s
"checking for __builtin_popcount... " >&6; }
20607 if test ${ac_cv_have___builtin_popcount+y}
20609 printf %s
"(cached) " >&6
20611 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20612 /* end confdefs.h. */
20617 return __builtin_popcount(1)
20622 if ac_fn_c_try_link
"$LINENO"
20624 ac_cv_have___builtin_popcount
="yes"
20626 ac_cv_have___builtin_popcount
="no"
20628 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20629 conftest
$ac_exeext conftest.
$ac_ext
20631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20632 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20633 if test "$ac_cv_have___builtin_popcount" = "yes"
20636 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20641 printf %s
"checking for __clear_cache... " >&6; }
20642 if test ${ac_cv_have___clear_cache+y}
20644 printf %s
"(cached) " >&6
20646 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20647 /* end confdefs.h. */
20652 __clear_cache((void*)0, (void*)0); return 0;
20657 if ac_fn_c_try_link
"$LINENO"
20659 ac_cv_have___clear_cache
="yes"
20661 ac_cv_have___clear_cache
="no"
20663 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20664 conftest
$ac_exeext conftest.
$ac_ext
20666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20667 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20668 if test "$ac_cv_have___clear_cache" = "yes"
20671 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20677 *i
[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20678 printf %s
"checking whether we need to define __i386__... " >&6; }
20679 if test ${ac_cv_cpp_def___i386__+y}
20681 printf %s
"(cached) " >&6
20683 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20684 /* end confdefs.h. */
20689 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20690 $EGREP "yes" >/dev
/null
2>&1
20692 ac_cv_cpp_def___i386__
=yes
20694 ac_cv_cpp_def___i386__
=no
20699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20700 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20701 if test "x$ac_cv_cpp_def___i386__" = xyes
20703 CFLAGS
="$CFLAGS -D__i386__"
20704 LINTFLAGS
="$LINTFLAGS -D__i386__"
20706 *x86_64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20707 printf %s
"checking whether we need to define __x86_64__... " >&6; }
20708 if test ${ac_cv_cpp_def___x86_64__+y}
20710 printf %s
"(cached) " >&6
20712 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20713 /* end confdefs.h. */
20718 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20719 $EGREP "yes" >/dev
/null
2>&1
20721 ac_cv_cpp_def___x86_64__
=yes
20723 ac_cv_cpp_def___x86_64__
=no
20728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20729 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20730 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20732 CFLAGS
="$CFLAGS -D__x86_64__"
20733 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
20735 *sparc64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
20736 printf %s
"checking whether we need to define __sparc64__... " >&6; }
20737 if test ${ac_cv_cpp_def___sparc64__+y}
20739 printf %s
"(cached) " >&6
20741 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20742 /* end confdefs.h. */
20743 #ifndef __sparc64__
20747 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20748 $EGREP "yes" >/dev
/null
2>&1
20750 ac_cv_cpp_def___sparc64__
=yes
20752 ac_cv_cpp_def___sparc64__
=no
20757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
20758 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
20759 if test "x$ac_cv_cpp_def___sparc64__" = xyes
20761 CFLAGS
="$CFLAGS -D__sparc64__"
20762 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
20764 *sparc
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
20765 printf %s
"checking whether we need to define __sparc__... " >&6; }
20766 if test ${ac_cv_cpp_def___sparc__+y}
20768 printf %s
"(cached) " >&6
20770 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20771 /* end confdefs.h. */
20776 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20777 $EGREP "yes" >/dev
/null
2>&1
20779 ac_cv_cpp_def___sparc__
=yes
20781 ac_cv_cpp_def___sparc__
=no
20786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
20787 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
20788 if test "x$ac_cv_cpp_def___sparc__" = xyes
20790 CFLAGS
="$CFLAGS -D__sparc__"
20791 LINTFLAGS
="$LINTFLAGS -D__sparc__"
20793 *powerpc64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
20794 printf %s
"checking whether we need to define __powerpc64__... " >&6; }
20795 if test ${ac_cv_cpp_def___powerpc64__+y}
20797 printf %s
"(cached) " >&6
20799 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20800 /* end confdefs.h. */
20801 #ifndef __powerpc64__
20805 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20806 $EGREP "yes" >/dev
/null
2>&1
20808 ac_cv_cpp_def___powerpc64__
=yes
20810 ac_cv_cpp_def___powerpc64__
=no
20815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
20816 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
20817 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
20819 CFLAGS
="$CFLAGS -D__powerpc64__"
20820 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
20822 *powerpc
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
20823 printf %s
"checking whether we need to define __powerpc__... " >&6; }
20824 if test ${ac_cv_cpp_def___powerpc__+y}
20826 printf %s
"(cached) " >&6
20828 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20829 /* end confdefs.h. */
20830 #ifndef __powerpc__
20834 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20835 $EGREP "yes" >/dev
/null
2>&1
20837 ac_cv_cpp_def___powerpc__
=yes
20839 ac_cv_cpp_def___powerpc__
=no
20844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
20845 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
20846 if test "x$ac_cv_cpp_def___powerpc__" = xyes
20848 CFLAGS
="$CFLAGS -D__powerpc__"
20849 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
20851 *aarch64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
20852 printf %s
"checking whether we need to define __aarch64__... " >&6; }
20853 if test ${ac_cv_cpp_def___aarch64__+y}
20855 printf %s
"(cached) " >&6
20857 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20858 /* end confdefs.h. */
20859 #ifndef __aarch64__
20863 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20864 $EGREP "yes" >/dev
/null
2>&1
20866 ac_cv_cpp_def___aarch64__
=yes
20868 ac_cv_cpp_def___aarch64__
=no
20873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
20874 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
20875 if test "x$ac_cv_cpp_def___aarch64__" = xyes
20877 CFLAGS
="$CFLAGS -D__aarch64__"
20878 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
20880 *arm
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
20881 printf %s
"checking whether we need to define __arm__... " >&6; }
20882 if test ${ac_cv_cpp_def___arm__+y}
20884 printf %s
"(cached) " >&6
20886 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20887 /* end confdefs.h. */
20892 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20893 $EGREP "yes" >/dev
/null
2>&1
20895 ac_cv_cpp_def___arm__
=yes
20897 ac_cv_cpp_def___arm__
=no
20902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
20903 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
20904 if test "x$ac_cv_cpp_def___arm__" = xyes
20906 CFLAGS
="$CFLAGS -D__arm__"
20907 LINTFLAGS
="$LINTFLAGS -D__arm__"
20911 case $host_vendor in
20912 *sun
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
20913 printf %s
"checking whether we need to define __sun__... " >&6; }
20914 if test ${ac_cv_cpp_def___sun__+y}
20916 printf %s
"(cached) " >&6
20918 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20919 /* end confdefs.h. */
20924 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20925 $EGREP "yes" >/dev
/null
2>&1
20927 ac_cv_cpp_def___sun__
=yes
20929 ac_cv_cpp_def___sun__
=no
20934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
20935 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
20936 if test "x$ac_cv_cpp_def___sun__" = xyes
20938 CFLAGS
="$CFLAGS -D__sun__"
20939 LINTFLAGS
="$LINTFLAGS -D__sun__"
20947 ac_config_commands
="$ac_config_commands include/stamp-h"
20949 printf %s
"creating Makefile rules..." >&6
20952 test "x$enable_silent_rules" = xyes
&& makedep_flags
="$makedep_flags -S"
20955 test "$srcdir" = . || wine_srcdir
="$srcdir/"
20957 ac_config_links
="$ac_config_links wine:tools/winewrapper"
20958 wine_fn_config_symlink wine
20959 if test "$HOST_ARCH" = x86_64
-o -n "$with_wine64"; then
20960 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
20961 wine_fn_config_symlink wine64
20964 wine_fn_config_makefile dlls
/acledit enable_acledit
20965 wine_fn_config_makefile dlls
/aclui enable_aclui
20966 wine_fn_config_makefile dlls
/activeds.tlb enable_activeds_tlb
20967 wine_fn_config_makefile dlls
/activeds enable_activeds
20968 wine_fn_config_makefile dlls
/activeds
/tests enable_tests
20969 wine_fn_config_makefile dlls
/actxprxy enable_actxprxy
20970 wine_fn_config_makefile dlls
/adsldp enable_adsldp
20971 wine_fn_config_makefile dlls
/adsldp
/tests enable_tests
20972 wine_fn_config_makefile dlls
/adsldpc enable_adsldpc
20973 wine_fn_config_makefile dlls
/advapi32 enable_advapi32
20974 wine_fn_config_makefile dlls
/advapi32
/tests enable_tests
20975 wine_fn_config_makefile dlls
/advpack enable_advpack
20976 wine_fn_config_makefile dlls
/advpack
/tests enable_tests
20977 wine_fn_config_makefile dlls
/amsi enable_amsi
20978 wine_fn_config_makefile dlls
/amstream enable_amstream
20979 wine_fn_config_makefile dlls
/amstream
/tests enable_tests
20980 wine_fn_config_makefile dlls
/apisetschema enable_apisetschema
20981 wine_fn_config_makefile dlls
/apphelp enable_apphelp
20982 wine_fn_config_makefile dlls
/apphelp
/tests enable_tests
20983 wine_fn_config_makefile dlls
/appwiz.cpl enable_appwiz_cpl
20984 wine_fn_config_makefile dlls
/atl enable_atl
20985 wine_fn_config_makefile dlls
/atl
/tests enable_tests
20986 wine_fn_config_makefile dlls
/atl100 enable_atl100
20987 wine_fn_config_makefile dlls
/atl100
/tests enable_tests
20988 wine_fn_config_makefile dlls
/atl110 enable_atl110
20989 wine_fn_config_makefile dlls
/atl110
/tests enable_tests
20990 wine_fn_config_makefile dlls
/atl80 enable_atl80
20991 wine_fn_config_makefile dlls
/atl80
/tests enable_tests
20992 wine_fn_config_makefile dlls
/atl90 enable_atl90
20993 wine_fn_config_makefile dlls
/atlthunk enable_atlthunk
20994 wine_fn_config_makefile dlls
/atlthunk
/tests enable_tests
20995 wine_fn_config_makefile dlls
/atmlib enable_atmlib
20996 wine_fn_config_makefile dlls
/authz enable_authz
20997 wine_fn_config_makefile dlls
/avicap32 enable_avicap32
20998 wine_fn_config_makefile dlls
/avifil32 enable_avifil32
20999 wine_fn_config_makefile dlls
/avifil32
/tests enable_tests
21000 wine_fn_config_makefile dlls
/avifile.dll16 enable_win16
21001 wine_fn_config_makefile dlls
/avrt enable_avrt
21002 wine_fn_config_makefile dlls
/bcrypt enable_bcrypt
21003 wine_fn_config_makefile dlls
/bcrypt
/tests enable_tests
21004 wine_fn_config_makefile dlls
/bluetoothapis enable_bluetoothapis
21005 wine_fn_config_makefile dlls
/browseui enable_browseui
21006 wine_fn_config_makefile dlls
/browseui
/tests enable_tests
21007 wine_fn_config_makefile dlls
/bthprops.cpl enable_bthprops_cpl
21008 wine_fn_config_makefile dlls
/cabinet enable_cabinet
21009 wine_fn_config_makefile dlls
/cabinet
/tests enable_tests
21010 wine_fn_config_makefile dlls
/capi2032 enable_capi2032
21011 wine_fn_config_makefile dlls
/cards enable_cards
21012 wine_fn_config_makefile dlls
/cdosys enable_cdosys
21013 wine_fn_config_makefile dlls
/cfgmgr32 enable_cfgmgr32
21014 wine_fn_config_makefile dlls
/clusapi enable_clusapi
21015 wine_fn_config_makefile dlls
/cng.sys enable_cng_sys
21016 wine_fn_config_makefile dlls
/combase enable_combase
21017 wine_fn_config_makefile dlls
/combase
/tests enable_tests
21018 wine_fn_config_makefile dlls
/comcat enable_comcat
21019 wine_fn_config_makefile dlls
/comcat
/tests enable_tests
21020 wine_fn_config_makefile dlls
/comctl32 enable_comctl32
21021 wine_fn_config_makefile dlls
/comctl32
/tests enable_tests
21022 wine_fn_config_makefile dlls
/comdlg32 enable_comdlg32
21023 wine_fn_config_makefile dlls
/comdlg32
/tests enable_tests
21024 wine_fn_config_makefile dlls
/comm.drv16 enable_win16
21025 wine_fn_config_makefile dlls
/commdlg.dll16 enable_win16
21026 wine_fn_config_makefile dlls
/compobj.dll16 enable_win16
21027 wine_fn_config_makefile dlls
/compstui enable_compstui
21028 wine_fn_config_makefile dlls
/compstui
/tests enable_tests
21029 wine_fn_config_makefile dlls
/comsvcs enable_comsvcs
21030 wine_fn_config_makefile dlls
/comsvcs
/tests enable_tests
21031 wine_fn_config_makefile dlls
/concrt140 enable_concrt140
21032 wine_fn_config_makefile dlls
/concrt140
/tests enable_tests
21033 wine_fn_config_makefile dlls
/connect enable_connect
21034 wine_fn_config_makefile dlls
/credui enable_credui
21035 wine_fn_config_makefile dlls
/credui
/tests enable_tests
21036 wine_fn_config_makefile dlls
/crtdll enable_crtdll
21037 wine_fn_config_makefile dlls
/crypt32 enable_crypt32
21038 wine_fn_config_makefile dlls
/crypt32
/tests enable_tests
21039 wine_fn_config_makefile dlls
/cryptdlg enable_cryptdlg
21040 wine_fn_config_makefile dlls
/cryptdll enable_cryptdll
21041 wine_fn_config_makefile dlls
/cryptext enable_cryptext
21042 wine_fn_config_makefile dlls
/cryptnet enable_cryptnet
21043 wine_fn_config_makefile dlls
/cryptnet
/tests enable_tests
21044 wine_fn_config_makefile dlls
/cryptowinrt enable_cryptowinrt
21045 wine_fn_config_makefile dlls
/cryptsp enable_cryptsp
21046 wine_fn_config_makefile dlls
/cryptui enable_cryptui
21047 wine_fn_config_makefile dlls
/cryptui
/tests enable_tests
21048 wine_fn_config_makefile dlls
/ctapi32 enable_ctapi32
21049 wine_fn_config_makefile dlls
/ctl3d.dll16 enable_win16
21050 wine_fn_config_makefile dlls
/ctl3d32 enable_ctl3d32
21051 wine_fn_config_makefile dlls
/ctl3dv2.dll16 enable_win16
21052 wine_fn_config_makefile dlls
/d2d1 enable_d2d1
21053 wine_fn_config_makefile dlls
/d2d
1/tests enable_tests
21054 wine_fn_config_makefile dlls
/d3d10 enable_d3d10
21055 wine_fn_config_makefile dlls
/d3d10
/tests enable_tests
21056 wine_fn_config_makefile dlls
/d3d10_1 enable_d3d10_1
21057 wine_fn_config_makefile dlls
/d3d10_
1/tests enable_tests
21058 wine_fn_config_makefile dlls
/d3d10core enable_d3d10core
21059 wine_fn_config_makefile dlls
/d3d10core
/tests enable_tests
21060 wine_fn_config_makefile dlls
/d3d11 enable_d3d11
21061 wine_fn_config_makefile dlls
/d3d11
/tests enable_tests
21062 wine_fn_config_makefile dlls
/d3d12 enable_d3d12
21063 wine_fn_config_makefile dlls
/d3d12
/tests enable_tests
21064 wine_fn_config_makefile dlls
/d3d8 enable_d3d8
21065 wine_fn_config_makefile dlls
/d3d
8/tests enable_tests
21066 wine_fn_config_makefile dlls
/d3d8thk enable_d3d8thk
21067 wine_fn_config_makefile dlls
/d3d9 enable_d3d9
21068 wine_fn_config_makefile dlls
/d3d
9/tests enable_tests
21069 wine_fn_config_makefile dlls
/d3dcompiler_33 enable_d3dcompiler_33
21070 wine_fn_config_makefile dlls
/d3dcompiler_34 enable_d3dcompiler_34
21071 wine_fn_config_makefile dlls
/d3dcompiler_35 enable_d3dcompiler_35
21072 wine_fn_config_makefile dlls
/d3dcompiler_36 enable_d3dcompiler_36
21073 wine_fn_config_makefile dlls
/d3dcompiler_37 enable_d3dcompiler_37
21074 wine_fn_config_makefile dlls
/d3dcompiler_38 enable_d3dcompiler_38
21075 wine_fn_config_makefile dlls
/d3dcompiler_39 enable_d3dcompiler_39
21076 wine_fn_config_makefile dlls
/d3dcompiler_40 enable_d3dcompiler_40
21077 wine_fn_config_makefile dlls
/d3dcompiler_41 enable_d3dcompiler_41
21078 wine_fn_config_makefile dlls
/d3dcompiler_42 enable_d3dcompiler_42
21079 wine_fn_config_makefile dlls
/d3dcompiler_43 enable_d3dcompiler_43
21080 wine_fn_config_makefile dlls
/d3dcompiler_43
/tests enable_tests
21081 wine_fn_config_makefile dlls
/d3dcompiler_46 enable_d3dcompiler_46
21082 wine_fn_config_makefile dlls
/d3dcompiler_46
/tests enable_tests
21083 wine_fn_config_makefile dlls
/d3dcompiler_47 enable_d3dcompiler_47
21084 wine_fn_config_makefile dlls
/d3dcompiler_47
/tests enable_tests
21085 wine_fn_config_makefile dlls
/d3dim enable_d3dim
21086 wine_fn_config_makefile dlls
/d3dim700 enable_d3dim700
21087 wine_fn_config_makefile dlls
/d3drm enable_d3drm
21088 wine_fn_config_makefile dlls
/d3drm
/tests enable_tests
21089 wine_fn_config_makefile dlls
/d3dx10_33 enable_d3dx10_33
21090 wine_fn_config_makefile dlls
/d3dx10_34 enable_d3dx10_34
21091 wine_fn_config_makefile dlls
/d3dx10_34
/tests enable_tests
21092 wine_fn_config_makefile dlls
/d3dx10_35 enable_d3dx10_35
21093 wine_fn_config_makefile dlls
/d3dx10_35
/tests enable_tests
21094 wine_fn_config_makefile dlls
/d3dx10_36 enable_d3dx10_36
21095 wine_fn_config_makefile dlls
/d3dx10_36
/tests enable_tests
21096 wine_fn_config_makefile dlls
/d3dx10_37 enable_d3dx10_37
21097 wine_fn_config_makefile dlls
/d3dx10_37
/tests enable_tests
21098 wine_fn_config_makefile dlls
/d3dx10_38 enable_d3dx10_38
21099 wine_fn_config_makefile dlls
/d3dx10_38
/tests enable_tests
21100 wine_fn_config_makefile dlls
/d3dx10_39 enable_d3dx10_39
21101 wine_fn_config_makefile dlls
/d3dx10_39
/tests enable_tests
21102 wine_fn_config_makefile dlls
/d3dx10_40 enable_d3dx10_40
21103 wine_fn_config_makefile dlls
/d3dx10_40
/tests enable_tests
21104 wine_fn_config_makefile dlls
/d3dx10_41 enable_d3dx10_41
21105 wine_fn_config_makefile dlls
/d3dx10_41
/tests enable_tests
21106 wine_fn_config_makefile dlls
/d3dx10_42 enable_d3dx10_42
21107 wine_fn_config_makefile dlls
/d3dx10_42
/tests enable_tests
21108 wine_fn_config_makefile dlls
/d3dx10_43 enable_d3dx10_43
21109 wine_fn_config_makefile dlls
/d3dx10_43
/tests enable_tests
21110 wine_fn_config_makefile dlls
/d3dx11_42 enable_d3dx11_42
21111 wine_fn_config_makefile dlls
/d3dx11_42
/tests enable_tests
21112 wine_fn_config_makefile dlls
/d3dx11_43 enable_d3dx11_43
21113 wine_fn_config_makefile dlls
/d3dx11_43
/tests enable_tests
21114 wine_fn_config_makefile dlls
/d3dx9_24 enable_d3dx9_24
21115 wine_fn_config_makefile dlls
/d3dx9_25 enable_d3dx9_25
21116 wine_fn_config_makefile dlls
/d3dx9_26 enable_d3dx9_26
21117 wine_fn_config_makefile dlls
/d3dx9_27 enable_d3dx9_27
21118 wine_fn_config_makefile dlls
/d3dx9_28 enable_d3dx9_28
21119 wine_fn_config_makefile dlls
/d3dx9_29 enable_d3dx9_29
21120 wine_fn_config_makefile dlls
/d3dx9_30 enable_d3dx9_30
21121 wine_fn_config_makefile dlls
/d3dx9_31 enable_d3dx9_31
21122 wine_fn_config_makefile dlls
/d3dx9_32 enable_d3dx9_32
21123 wine_fn_config_makefile dlls
/d3dx9_33 enable_d3dx9_33
21124 wine_fn_config_makefile dlls
/d3dx9_34 enable_d3dx9_34
21125 wine_fn_config_makefile dlls
/d3dx9_35 enable_d3dx9_35
21126 wine_fn_config_makefile dlls
/d3dx9_36 enable_d3dx9_36
21127 wine_fn_config_makefile dlls
/d3dx9_36
/tests enable_tests
21128 wine_fn_config_makefile dlls
/d3dx9_37 enable_d3dx9_37
21129 wine_fn_config_makefile dlls
/d3dx9_38 enable_d3dx9_38
21130 wine_fn_config_makefile dlls
/d3dx9_39 enable_d3dx9_39
21131 wine_fn_config_makefile dlls
/d3dx9_40 enable_d3dx9_40
21132 wine_fn_config_makefile dlls
/d3dx9_41 enable_d3dx9_41
21133 wine_fn_config_makefile dlls
/d3dx9_42 enable_d3dx9_42
21134 wine_fn_config_makefile dlls
/d3dx9_43 enable_d3dx9_43
21135 wine_fn_config_makefile dlls
/d3dxof enable_d3dxof
21136 wine_fn_config_makefile dlls
/d3dxof
/tests enable_tests
21137 wine_fn_config_makefile dlls
/davclnt enable_davclnt
21138 wine_fn_config_makefile dlls
/dbgeng enable_dbgeng
21139 wine_fn_config_makefile dlls
/dbgeng
/tests enable_tests
21140 wine_fn_config_makefile dlls
/dbghelp enable_dbghelp
21141 wine_fn_config_makefile dlls
/dbghelp
/tests enable_tests
21142 wine_fn_config_makefile dlls
/dciman32 enable_dciman32
21143 wine_fn_config_makefile dlls
/dcomp enable_dcomp
21144 wine_fn_config_makefile dlls
/ddeml.dll16 enable_win16
21145 wine_fn_config_makefile dlls
/ddraw enable_ddraw
21146 wine_fn_config_makefile dlls
/ddraw
/tests enable_tests
21147 wine_fn_config_makefile dlls
/ddrawex enable_ddrawex
21148 wine_fn_config_makefile dlls
/ddrawex
/tests enable_tests
21149 wine_fn_config_makefile dlls
/devenum enable_devenum
21150 wine_fn_config_makefile dlls
/devenum
/tests enable_tests
21151 wine_fn_config_makefile dlls
/dhcpcsvc enable_dhcpcsvc
21152 wine_fn_config_makefile dlls
/dhcpcsvc
/tests enable_tests
21153 wine_fn_config_makefile dlls
/dhcpcsvc6 enable_dhcpcsvc6
21154 wine_fn_config_makefile dlls
/dhtmled.ocx enable_dhtmled_ocx
21155 wine_fn_config_makefile dlls
/diasymreader enable_diasymreader
21156 wine_fn_config_makefile dlls
/difxapi enable_difxapi
21157 wine_fn_config_makefile dlls
/dinput enable_dinput
21158 wine_fn_config_makefile dlls
/dinput
/tests enable_tests
21159 wine_fn_config_makefile dlls
/dinput8 enable_dinput8
21160 wine_fn_config_makefile dlls
/directmanipulation enable_directmanipulation
21161 wine_fn_config_makefile dlls
/directmanipulation
/tests enable_tests
21162 wine_fn_config_makefile dlls
/dispdib.dll16 enable_win16
21163 wine_fn_config_makefile dlls
/dispex enable_dispex
21164 wine_fn_config_makefile dlls
/dispex
/tests enable_tests
21165 wine_fn_config_makefile dlls
/display.drv16 enable_win16
21166 wine_fn_config_makefile dlls
/dmband enable_dmband
21167 wine_fn_config_makefile dlls
/dmband
/tests enable_tests
21168 wine_fn_config_makefile dlls
/dmcompos enable_dmcompos
21169 wine_fn_config_makefile dlls
/dmcompos
/tests enable_tests
21170 wine_fn_config_makefile dlls
/dmime enable_dmime
21171 wine_fn_config_makefile dlls
/dmime
/tests enable_tests
21172 wine_fn_config_makefile dlls
/dmloader enable_dmloader
21173 wine_fn_config_makefile dlls
/dmloader
/tests enable_tests
21174 wine_fn_config_makefile dlls
/dmscript enable_dmscript
21175 wine_fn_config_makefile dlls
/dmscript
/tests enable_tests
21176 wine_fn_config_makefile dlls
/dmstyle enable_dmstyle
21177 wine_fn_config_makefile dlls
/dmstyle
/tests enable_tests
21178 wine_fn_config_makefile dlls
/dmsynth enable_dmsynth
21179 wine_fn_config_makefile dlls
/dmsynth
/tests enable_tests
21180 wine_fn_config_makefile dlls
/dmusic enable_dmusic
21181 wine_fn_config_makefile dlls
/dmusic
/tests enable_tests
21182 wine_fn_config_makefile dlls
/dmusic32 enable_dmusic32
21183 wine_fn_config_makefile dlls
/dnsapi enable_dnsapi
21184 wine_fn_config_makefile dlls
/dnsapi
/tests enable_tests
21185 wine_fn_config_makefile dlls
/dplay enable_dplay
21186 wine_fn_config_makefile dlls
/dplayx enable_dplayx
21187 wine_fn_config_makefile dlls
/dplayx
/tests enable_tests
21188 wine_fn_config_makefile dlls
/dpnaddr enable_dpnaddr
21189 wine_fn_config_makefile dlls
/dpnet enable_dpnet
21190 wine_fn_config_makefile dlls
/dpnet
/tests enable_tests
21191 wine_fn_config_makefile dlls
/dpnhpast enable_dpnhpast
21192 wine_fn_config_makefile dlls
/dpnhupnp enable_dpnhupnp
21193 wine_fn_config_makefile dlls
/dpnlobby enable_dpnlobby
21194 wine_fn_config_makefile dlls
/dpvoice enable_dpvoice
21195 wine_fn_config_makefile dlls
/dpvoice
/tests enable_tests
21196 wine_fn_config_makefile dlls
/dpwsockx enable_dpwsockx
21197 wine_fn_config_makefile dlls
/drmclien enable_drmclien
21198 wine_fn_config_makefile dlls
/dsdmo enable_dsdmo
21199 wine_fn_config_makefile dlls
/dsdmo
/tests enable_tests
21200 wine_fn_config_makefile dlls
/dsound enable_dsound
21201 wine_fn_config_makefile dlls
/dsound
/tests enable_tests
21202 wine_fn_config_makefile dlls
/dsquery enable_dsquery
21203 wine_fn_config_makefile dlls
/dssenh enable_dssenh
21204 wine_fn_config_makefile dlls
/dssenh
/tests enable_tests
21205 wine_fn_config_makefile dlls
/dsuiext enable_dsuiext
21206 wine_fn_config_makefile dlls
/dswave enable_dswave
21207 wine_fn_config_makefile dlls
/dswave
/tests enable_tests
21208 wine_fn_config_makefile dlls
/dwmapi enable_dwmapi
21209 wine_fn_config_makefile dlls
/dwmapi
/tests enable_tests
21210 wine_fn_config_makefile dlls
/dwrite enable_dwrite
21211 wine_fn_config_makefile dlls
/dwrite
/tests enable_tests
21212 wine_fn_config_makefile dlls
/dx8vb enable_dx8vb
21213 wine_fn_config_makefile dlls
/dxdiagn enable_dxdiagn
21214 wine_fn_config_makefile dlls
/dxdiagn
/tests enable_tests
21215 wine_fn_config_makefile dlls
/dxgi enable_dxgi
21216 wine_fn_config_makefile dlls
/dxgi
/tests enable_tests
21217 wine_fn_config_makefile dlls
/dxtrans enable_dxtrans
21218 wine_fn_config_makefile dlls
/dxva2 enable_dxva2
21219 wine_fn_config_makefile dlls
/dxva
2/tests enable_tests
21220 wine_fn_config_makefile dlls
/esent enable_esent
21221 wine_fn_config_makefile dlls
/evr enable_evr
21222 wine_fn_config_makefile dlls
/evr
/tests enable_tests
21223 wine_fn_config_makefile dlls
/explorerframe enable_explorerframe
21224 wine_fn_config_makefile dlls
/explorerframe
/tests enable_tests
21225 wine_fn_config_makefile dlls
/faultrep enable_faultrep
21226 wine_fn_config_makefile dlls
/faultrep
/tests enable_tests
21227 wine_fn_config_makefile dlls
/feclient enable_feclient
21228 wine_fn_config_makefile dlls
/fltlib enable_fltlib
21229 wine_fn_config_makefile dlls
/fltmgr.sys enable_fltmgr_sys
21230 wine_fn_config_makefile dlls
/fntcache enable_fntcache
21231 wine_fn_config_makefile dlls
/fontsub enable_fontsub
21232 wine_fn_config_makefile dlls
/fusion enable_fusion
21233 wine_fn_config_makefile dlls
/fusion
/tests enable_tests
21234 wine_fn_config_makefile dlls
/fwpuclnt enable_fwpuclnt
21235 wine_fn_config_makefile dlls
/gameux enable_gameux
21236 wine_fn_config_makefile dlls
/gameux
/tests enable_tests
21237 wine_fn_config_makefile dlls
/gamingtcui enable_gamingtcui
21238 wine_fn_config_makefile dlls
/gdi.exe16 enable_win16
21239 wine_fn_config_makefile dlls
/gdi32 enable_gdi32
21240 wine_fn_config_makefile dlls
/gdi32
/tests enable_tests
21241 wine_fn_config_makefile dlls
/gdiplus enable_gdiplus
21242 wine_fn_config_makefile dlls
/gdiplus
/tests enable_tests
21243 wine_fn_config_makefile dlls
/glu32 enable_glu32
21244 wine_fn_config_makefile dlls
/gphoto2.ds enable_gphoto2_ds
21245 wine_fn_config_makefile dlls
/gpkcsp enable_gpkcsp
21246 wine_fn_config_makefile dlls
/hal enable_hal
21247 wine_fn_config_makefile dlls
/hhctrl.ocx enable_hhctrl_ocx
21248 wine_fn_config_makefile dlls
/hid enable_hid
21249 wine_fn_config_makefile dlls
/hid
/tests enable_tests
21250 wine_fn_config_makefile dlls
/hidclass.sys enable_hidclass_sys
21251 wine_fn_config_makefile dlls
/hidparse.sys enable_hidparse_sys
21252 wine_fn_config_makefile dlls
/hlink enable_hlink
21253 wine_fn_config_makefile dlls
/hlink
/tests enable_tests
21254 wine_fn_config_makefile dlls
/hnetcfg enable_hnetcfg
21255 wine_fn_config_makefile dlls
/hnetcfg
/tests enable_tests
21256 wine_fn_config_makefile dlls
/http.sys enable_http_sys
21257 wine_fn_config_makefile dlls
/httpapi enable_httpapi
21258 wine_fn_config_makefile dlls
/httpapi
/tests enable_tests
21259 wine_fn_config_makefile dlls
/ia2comproxy enable_ia2comproxy
21260 wine_fn_config_makefile dlls
/iccvid enable_iccvid
21261 wine_fn_config_makefile dlls
/icmp enable_icmp
21262 wine_fn_config_makefile dlls
/ieframe enable_ieframe
21263 wine_fn_config_makefile dlls
/ieframe
/tests enable_tests
21264 wine_fn_config_makefile dlls
/ieproxy enable_ieproxy
21265 wine_fn_config_makefile dlls
/ifsmgr.vxd enable_win16
21266 wine_fn_config_makefile dlls
/imaadp32.acm enable_imaadp32_acm
21267 wine_fn_config_makefile dlls
/imagehlp enable_imagehlp
21268 wine_fn_config_makefile dlls
/imagehlp
/tests enable_tests
21269 wine_fn_config_makefile dlls
/imm.dll16 enable_win16
21270 wine_fn_config_makefile dlls
/imm32 enable_imm32
21271 wine_fn_config_makefile dlls
/imm32
/tests enable_tests
21272 wine_fn_config_makefile dlls
/inetcomm enable_inetcomm
21273 wine_fn_config_makefile dlls
/inetcomm
/tests enable_tests
21274 wine_fn_config_makefile dlls
/inetcpl.cpl enable_inetcpl_cpl
21275 wine_fn_config_makefile dlls
/inetmib1 enable_inetmib1
21276 wine_fn_config_makefile dlls
/inetmib
1/tests enable_tests
21277 wine_fn_config_makefile dlls
/infosoft enable_infosoft
21278 wine_fn_config_makefile dlls
/infosoft
/tests enable_tests
21279 wine_fn_config_makefile dlls
/initpki enable_initpki
21280 wine_fn_config_makefile dlls
/inkobj enable_inkobj
21281 wine_fn_config_makefile dlls
/inseng enable_inseng
21282 wine_fn_config_makefile dlls
/iphlpapi enable_iphlpapi
21283 wine_fn_config_makefile dlls
/iphlpapi
/tests enable_tests
21284 wine_fn_config_makefile dlls
/iprop enable_iprop
21285 wine_fn_config_makefile dlls
/ir50_32 enable_ir50_32
21286 wine_fn_config_makefile dlls
/irprops.cpl enable_irprops_cpl
21287 wine_fn_config_makefile dlls
/itircl enable_itircl
21288 wine_fn_config_makefile dlls
/itss enable_itss
21289 wine_fn_config_makefile dlls
/itss
/tests enable_tests
21290 wine_fn_config_makefile dlls
/joy.cpl enable_joy_cpl
21291 wine_fn_config_makefile dlls
/jscript enable_jscript
21292 wine_fn_config_makefile dlls
/jscript
/tests enable_tests
21293 wine_fn_config_makefile dlls
/jsproxy enable_jsproxy
21294 wine_fn_config_makefile dlls
/jsproxy
/tests enable_tests
21295 wine_fn_config_makefile dlls
/kerberos enable_kerberos
21296 wine_fn_config_makefile dlls
/kernel32 enable_kernel32
21297 wine_fn_config_makefile dlls
/kernel32
/tests enable_tests
21298 wine_fn_config_makefile dlls
/kernelbase enable_kernelbase
21299 wine_fn_config_makefile dlls
/kernelbase
/tests enable_tests
21300 wine_fn_config_makefile dlls
/keyboard.drv16 enable_win16
21301 wine_fn_config_makefile dlls
/krnl386.exe16 enable_win16
21302 wine_fn_config_makefile dlls
/ksecdd.sys enable_ksecdd_sys
21303 wine_fn_config_makefile dlls
/ksproxy.ax enable_ksproxy_ax
21304 wine_fn_config_makefile dlls
/ksuser enable_ksuser
21305 wine_fn_config_makefile dlls
/ktmw32 enable_ktmw32
21306 wine_fn_config_makefile dlls
/l3codeca.acm enable_l3codeca_acm
21307 wine_fn_config_makefile dlls
/light.msstyles enable_light_msstyles
21308 wine_fn_config_makefile dlls
/loadperf enable_loadperf
21309 wine_fn_config_makefile dlls
/localspl enable_localspl
21310 wine_fn_config_makefile dlls
/localspl
/tests enable_tests
21311 wine_fn_config_makefile dlls
/localui enable_localui
21312 wine_fn_config_makefile dlls
/localui
/tests enable_tests
21313 wine_fn_config_makefile dlls
/lz32 enable_lz32
21314 wine_fn_config_makefile dlls
/lz32
/tests enable_tests
21315 wine_fn_config_makefile dlls
/lzexpand.dll16 enable_win16
21316 wine_fn_config_makefile dlls
/mapi32 enable_mapi32
21317 wine_fn_config_makefile dlls
/mapi32
/tests enable_tests
21318 wine_fn_config_makefile dlls
/mapistub enable_mapistub
21319 wine_fn_config_makefile dlls
/mciavi32 enable_mciavi32
21320 wine_fn_config_makefile dlls
/mcicda enable_mcicda
21321 wine_fn_config_makefile dlls
/mciqtz32 enable_mciqtz32
21322 wine_fn_config_makefile dlls
/mciseq enable_mciseq
21323 wine_fn_config_makefile dlls
/mciwave enable_mciwave
21324 wine_fn_config_makefile dlls
/mf enable_mf
21325 wine_fn_config_makefile dlls
/mf
/tests enable_tests
21326 wine_fn_config_makefile dlls
/mf3216 enable_mf3216
21327 wine_fn_config_makefile dlls
/mferror enable_mferror
21328 wine_fn_config_makefile dlls
/mfmediaengine enable_mfmediaengine
21329 wine_fn_config_makefile dlls
/mfmediaengine
/tests enable_tests
21330 wine_fn_config_makefile dlls
/mfplat enable_mfplat
21331 wine_fn_config_makefile dlls
/mfplat
/tests enable_tests
21332 wine_fn_config_makefile dlls
/mfplay enable_mfplay
21333 wine_fn_config_makefile dlls
/mfplay
/tests enable_tests
21334 wine_fn_config_makefile dlls
/mfreadwrite enable_mfreadwrite
21335 wine_fn_config_makefile dlls
/mfreadwrite
/tests enable_tests
21336 wine_fn_config_makefile dlls
/mfsrcsnk enable_mfsrcsnk
21337 wine_fn_config_makefile dlls
/mfsrcsnk
/tests enable_tests
21338 wine_fn_config_makefile dlls
/mgmtapi enable_mgmtapi
21339 wine_fn_config_makefile dlls
/midimap enable_midimap
21340 wine_fn_config_makefile dlls
/mlang enable_mlang
21341 wine_fn_config_makefile dlls
/mlang
/tests enable_tests
21342 wine_fn_config_makefile dlls
/mmcndmgr enable_mmcndmgr
21343 wine_fn_config_makefile dlls
/mmcndmgr
/tests enable_tests
21344 wine_fn_config_makefile dlls
/mmdevapi enable_mmdevapi
21345 wine_fn_config_makefile dlls
/mmdevapi
/tests enable_tests
21346 wine_fn_config_makefile dlls
/mmdevldr.vxd enable_win16
21347 wine_fn_config_makefile dlls
/mmsystem.dll16 enable_win16
21348 wine_fn_config_makefile dlls
/monodebg.vxd enable_win16
21349 wine_fn_config_makefile dlls
/mountmgr.sys enable_mountmgr_sys
21350 wine_fn_config_makefile dlls
/mouse.drv16 enable_win16
21351 wine_fn_config_makefile dlls
/mp3dmod enable_mp3dmod
21352 wine_fn_config_makefile dlls
/mp3dmod
/tests enable_tests
21353 wine_fn_config_makefile dlls
/mpr enable_mpr
21354 wine_fn_config_makefile dlls
/mpr
/tests enable_tests
21355 wine_fn_config_makefile dlls
/mprapi enable_mprapi
21356 wine_fn_config_makefile dlls
/msacm.dll16 enable_win16
21357 wine_fn_config_makefile dlls
/msacm32.drv enable_msacm32_drv
21358 wine_fn_config_makefile dlls
/msacm32 enable_msacm32
21359 wine_fn_config_makefile dlls
/msacm32
/tests enable_tests
21360 wine_fn_config_makefile dlls
/msado15 enable_msado15
21361 wine_fn_config_makefile dlls
/msado15
/tests enable_tests
21362 wine_fn_config_makefile dlls
/msadp32.acm enable_msadp32_acm
21363 wine_fn_config_makefile dlls
/msasn1 enable_msasn1
21364 wine_fn_config_makefile dlls
/msasn
1/tests enable_tests
21365 wine_fn_config_makefile dlls
/msauddecmft enable_msauddecmft
21366 wine_fn_config_makefile dlls
/mscat32 enable_mscat32
21367 wine_fn_config_makefile dlls
/mscms enable_mscms
21368 wine_fn_config_makefile dlls
/mscms
/tests enable_tests
21369 wine_fn_config_makefile dlls
/mscoree enable_mscoree
21370 wine_fn_config_makefile dlls
/mscoree
/tests enable_tests
21371 wine_fn_config_makefile dlls
/mscorwks enable_mscorwks
21372 wine_fn_config_makefile dlls
/msctf enable_msctf
21373 wine_fn_config_makefile dlls
/msctf
/tests enable_tests
21374 wine_fn_config_makefile dlls
/msctfmonitor enable_msctfmonitor
21375 wine_fn_config_makefile dlls
/msctfp enable_msctfp
21376 wine_fn_config_makefile dlls
/msdaps enable_msdaps
21377 wine_fn_config_makefile dlls
/msdasql enable_msdasql
21378 wine_fn_config_makefile dlls
/msdasql
/tests enable_tests
21379 wine_fn_config_makefile dlls
/msdelta enable_msdelta
21380 wine_fn_config_makefile dlls
/msdmo enable_msdmo
21381 wine_fn_config_makefile dlls
/msdmo
/tests enable_tests
21382 wine_fn_config_makefile dlls
/msdrm enable_msdrm
21383 wine_fn_config_makefile dlls
/msftedit enable_msftedit
21384 wine_fn_config_makefile dlls
/msftedit
/tests enable_tests
21385 wine_fn_config_makefile dlls
/msg711.acm enable_msg711_acm
21386 wine_fn_config_makefile dlls
/msgsm32.acm enable_msgsm32_acm
21387 wine_fn_config_makefile dlls
/mshtml.tlb enable_mshtml_tlb
21388 wine_fn_config_makefile dlls
/mshtml enable_mshtml
21389 wine_fn_config_makefile dlls
/mshtml
/tests enable_tests
21390 wine_fn_config_makefile dlls
/msi enable_msi
21391 wine_fn_config_makefile dlls
/msi
/tests enable_tests
21392 wine_fn_config_makefile dlls
/msident enable_msident
21393 wine_fn_config_makefile dlls
/msimg32 enable_msimg32
21394 wine_fn_config_makefile dlls
/msimsg enable_msimsg
21395 wine_fn_config_makefile dlls
/msimtf enable_msimtf
21396 wine_fn_config_makefile dlls
/msisip enable_msisip
21397 wine_fn_config_makefile dlls
/msisys.ocx enable_msisys_ocx
21398 wine_fn_config_makefile dlls
/msls31 enable_msls31
21399 wine_fn_config_makefile dlls
/msmpeg2vdec enable_msmpeg2vdec
21400 wine_fn_config_makefile dlls
/msnet32 enable_msnet32
21401 wine_fn_config_makefile dlls
/mspatcha enable_mspatcha
21402 wine_fn_config_makefile dlls
/mspatcha
/tests enable_tests
21403 wine_fn_config_makefile dlls
/msports enable_msports
21404 wine_fn_config_makefile dlls
/msrle32 enable_msrle32
21405 wine_fn_config_makefile dlls
/msrle32
/tests enable_tests
21406 wine_fn_config_makefile dlls
/msscript.ocx enable_msscript_ocx
21407 wine_fn_config_makefile dlls
/msscript.ocx
/tests enable_tests
21408 wine_fn_config_makefile dlls
/mssign32 enable_mssign32
21409 wine_fn_config_makefile dlls
/mssip32 enable_mssip32
21410 wine_fn_config_makefile dlls
/mstask enable_mstask
21411 wine_fn_config_makefile dlls
/mstask
/tests enable_tests
21412 wine_fn_config_makefile dlls
/msv1_0 enable_msv1_0
21413 wine_fn_config_makefile dlls
/msvcirt enable_msvcirt
21414 wine_fn_config_makefile dlls
/msvcirt
/tests enable_tests
21415 wine_fn_config_makefile dlls
/msvcm80 enable_msvcm80
21416 wine_fn_config_makefile dlls
/msvcm90 enable_msvcm90
21417 wine_fn_config_makefile dlls
/msvcp100 enable_msvcp100
21418 wine_fn_config_makefile dlls
/msvcp100
/tests enable_tests
21419 wine_fn_config_makefile dlls
/msvcp110 enable_msvcp110
21420 wine_fn_config_makefile dlls
/msvcp110
/tests enable_tests
21421 wine_fn_config_makefile dlls
/msvcp120 enable_msvcp120
21422 wine_fn_config_makefile dlls
/msvcp120
/tests enable_tests
21423 wine_fn_config_makefile dlls
/msvcp120_app enable_msvcp120_app
21424 wine_fn_config_makefile dlls
/msvcp140 enable_msvcp140
21425 wine_fn_config_makefile dlls
/msvcp140
/tests enable_tests
21426 wine_fn_config_makefile dlls
/msvcp140_1 enable_msvcp140_1
21427 wine_fn_config_makefile dlls
/msvcp140_
1/tests enable_tests
21428 wine_fn_config_makefile dlls
/msvcp140_2 enable_msvcp140_2
21429 wine_fn_config_makefile dlls
/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21430 wine_fn_config_makefile dlls
/msvcp140_atomic_wait
/tests enable_tests
21431 wine_fn_config_makefile dlls
/msvcp60 enable_msvcp60
21432 wine_fn_config_makefile dlls
/msvcp60
/tests enable_tests
21433 wine_fn_config_makefile dlls
/msvcp70 enable_msvcp70
21434 wine_fn_config_makefile dlls
/msvcp71 enable_msvcp71
21435 wine_fn_config_makefile dlls
/msvcp80 enable_msvcp80
21436 wine_fn_config_makefile dlls
/msvcp90 enable_msvcp90
21437 wine_fn_config_makefile dlls
/msvcp90
/tests enable_tests
21438 wine_fn_config_makefile dlls
/msvcp_win enable_msvcp_win
21439 wine_fn_config_makefile dlls
/msvcr100 enable_msvcr100
21440 wine_fn_config_makefile dlls
/msvcr100
/tests enable_tests
21441 wine_fn_config_makefile dlls
/msvcr110 enable_msvcr110
21442 wine_fn_config_makefile dlls
/msvcr110
/tests enable_tests
21443 wine_fn_config_makefile dlls
/msvcr120 enable_msvcr120
21444 wine_fn_config_makefile dlls
/msvcr120
/tests enable_tests
21445 wine_fn_config_makefile dlls
/msvcr120_app enable_msvcr120_app
21446 wine_fn_config_makefile dlls
/msvcr70 enable_msvcr70
21447 wine_fn_config_makefile dlls
/msvcr70
/tests enable_tests
21448 wine_fn_config_makefile dlls
/msvcr71 enable_msvcr71
21449 wine_fn_config_makefile dlls
/msvcr71
/tests enable_tests
21450 wine_fn_config_makefile dlls
/msvcr80 enable_msvcr80
21451 wine_fn_config_makefile dlls
/msvcr80
/tests enable_tests
21452 wine_fn_config_makefile dlls
/msvcr90 enable_msvcr90
21453 wine_fn_config_makefile dlls
/msvcr90
/tests enable_tests
21454 wine_fn_config_makefile dlls
/msvcrt enable_msvcrt
21455 wine_fn_config_makefile dlls
/msvcrt
/tests enable_tests
21456 wine_fn_config_makefile dlls
/msvcrt20 enable_msvcrt20
21457 wine_fn_config_makefile dlls
/msvcrt40 enable_msvcrt40
21458 wine_fn_config_makefile dlls
/msvcrtd enable_msvcrtd
21459 wine_fn_config_makefile dlls
/msvcrtd
/tests enable_tests
21460 wine_fn_config_makefile dlls
/msvfw32 enable_msvfw32
21461 wine_fn_config_makefile dlls
/msvfw32
/tests enable_tests
21462 wine_fn_config_makefile dlls
/msvidc32 enable_msvidc32
21463 wine_fn_config_makefile dlls
/msvideo.dll16 enable_win16
21464 wine_fn_config_makefile dlls
/mswsock enable_mswsock
21465 wine_fn_config_makefile dlls
/msxml enable_msxml
21466 wine_fn_config_makefile dlls
/msxml2 enable_msxml2
21467 wine_fn_config_makefile dlls
/msxml3 enable_msxml3
21468 wine_fn_config_makefile dlls
/msxml
3/tests enable_tests
21469 wine_fn_config_makefile dlls
/msxml4 enable_msxml4
21470 wine_fn_config_makefile dlls
/msxml6 enable_msxml6
21471 wine_fn_config_makefile dlls
/mtxdm enable_mtxdm
21472 wine_fn_config_makefile dlls
/ncrypt enable_ncrypt
21473 wine_fn_config_makefile dlls
/ncrypt
/tests enable_tests
21474 wine_fn_config_makefile dlls
/nddeapi enable_nddeapi
21475 wine_fn_config_makefile dlls
/ndis.sys enable_ndis_sys
21476 wine_fn_config_makefile dlls
/ndis.sys
/tests enable_tests
21477 wine_fn_config_makefile dlls
/netapi32 enable_netapi32
21478 wine_fn_config_makefile dlls
/netapi32
/tests enable_tests
21479 wine_fn_config_makefile dlls
/netcfgx enable_netcfgx
21480 wine_fn_config_makefile dlls
/netcfgx
/tests enable_tests
21481 wine_fn_config_makefile dlls
/netio.sys enable_netio_sys
21482 wine_fn_config_makefile dlls
/netprofm enable_netprofm
21483 wine_fn_config_makefile dlls
/netprofm
/tests enable_tests
21484 wine_fn_config_makefile dlls
/netutils enable_netutils
21485 wine_fn_config_makefile dlls
/newdev enable_newdev
21486 wine_fn_config_makefile dlls
/ninput enable_ninput
21487 wine_fn_config_makefile dlls
/ninput
/tests enable_tests
21488 wine_fn_config_makefile dlls
/normaliz enable_normaliz
21489 wine_fn_config_makefile dlls
/npmshtml enable_npmshtml
21490 wine_fn_config_makefile dlls
/npptools enable_npptools
21491 wine_fn_config_makefile dlls
/nsi enable_nsi
21492 wine_fn_config_makefile dlls
/nsi
/tests enable_tests
21493 wine_fn_config_makefile dlls
/nsiproxy.sys enable_nsiproxy_sys
21494 wine_fn_config_makefile dlls
/ntdll enable_ntdll
21495 wine_fn_config_makefile dlls
/ntdll
/tests enable_tests
21496 wine_fn_config_makefile dlls
/ntdsapi enable_ntdsapi
21497 wine_fn_config_makefile dlls
/ntdsapi
/tests enable_tests
21498 wine_fn_config_makefile dlls
/ntoskrnl.exe enable_ntoskrnl_exe
21499 wine_fn_config_makefile dlls
/ntoskrnl.exe
/tests enable_tests
21500 wine_fn_config_makefile dlls
/ntprint enable_ntprint
21501 wine_fn_config_makefile dlls
/ntprint
/tests enable_tests
21502 wine_fn_config_makefile dlls
/objsel enable_objsel
21503 wine_fn_config_makefile dlls
/odbc32 enable_odbc32
21504 wine_fn_config_makefile dlls
/odbcbcp enable_odbcbcp
21505 wine_fn_config_makefile dlls
/odbccp32 enable_odbccp32
21506 wine_fn_config_makefile dlls
/odbccp32
/tests enable_tests
21507 wine_fn_config_makefile dlls
/odbccu32 enable_odbccu32
21508 wine_fn_config_makefile dlls
/ole2.dll16 enable_win16
21509 wine_fn_config_makefile dlls
/ole2conv.dll16 enable_win16
21510 wine_fn_config_makefile dlls
/ole2disp.dll16 enable_win16
21511 wine_fn_config_makefile dlls
/ole2nls.dll16 enable_win16
21512 wine_fn_config_makefile dlls
/ole2prox.dll16 enable_win16
21513 wine_fn_config_makefile dlls
/ole2thk.dll16 enable_win16
21514 wine_fn_config_makefile dlls
/ole32 enable_ole32
21515 wine_fn_config_makefile dlls
/ole32
/tests enable_tests
21516 wine_fn_config_makefile dlls
/oleacc enable_oleacc
21517 wine_fn_config_makefile dlls
/oleacc
/tests enable_tests
21518 wine_fn_config_makefile dlls
/oleaut32 enable_oleaut32
21519 wine_fn_config_makefile dlls
/oleaut32
/tests enable_tests
21520 wine_fn_config_makefile dlls
/olecli.dll16 enable_win16
21521 wine_fn_config_makefile dlls
/olecli32 enable_olecli32
21522 wine_fn_config_makefile dlls
/oledb32 enable_oledb32
21523 wine_fn_config_makefile dlls
/oledb32
/tests enable_tests
21524 wine_fn_config_makefile dlls
/oledlg enable_oledlg
21525 wine_fn_config_makefile dlls
/oledlg
/tests enable_tests
21526 wine_fn_config_makefile dlls
/olepro32 enable_olepro32
21527 wine_fn_config_makefile dlls
/olesvr.dll16 enable_win16
21528 wine_fn_config_makefile dlls
/olesvr32 enable_olesvr32
21529 wine_fn_config_makefile dlls
/olethk32 enable_olethk32
21530 wine_fn_config_makefile dlls
/opcservices enable_opcservices
21531 wine_fn_config_makefile dlls
/opcservices
/tests enable_tests
21532 wine_fn_config_makefile dlls
/opencl enable_opencl
21533 wine_fn_config_makefile dlls
/opengl32 enable_opengl32
21534 wine_fn_config_makefile dlls
/opengl32
/tests enable_tests
21535 wine_fn_config_makefile dlls
/packager enable_packager
21536 wine_fn_config_makefile dlls
/packager
/tests enable_tests
21537 wine_fn_config_makefile dlls
/pdh enable_pdh
21538 wine_fn_config_makefile dlls
/pdh
/tests enable_tests
21539 wine_fn_config_makefile dlls
/photometadatahandler enable_photometadatahandler
21540 wine_fn_config_makefile dlls
/pidgen enable_pidgen
21541 wine_fn_config_makefile dlls
/powrprof enable_powrprof
21542 wine_fn_config_makefile dlls
/printui enable_printui
21543 wine_fn_config_makefile dlls
/prntvpt enable_prntvpt
21544 wine_fn_config_makefile dlls
/prntvpt
/tests enable_tests
21545 wine_fn_config_makefile dlls
/propsys enable_propsys
21546 wine_fn_config_makefile dlls
/propsys
/tests enable_tests
21547 wine_fn_config_makefile dlls
/psapi enable_psapi
21548 wine_fn_config_makefile dlls
/psapi
/tests enable_tests
21549 wine_fn_config_makefile dlls
/pstorec enable_pstorec
21550 wine_fn_config_makefile dlls
/pstorec
/tests enable_tests
21551 wine_fn_config_makefile dlls
/pwrshplugin enable_pwrshplugin
21552 wine_fn_config_makefile dlls
/qasf enable_qasf
21553 wine_fn_config_makefile dlls
/qasf
/tests enable_tests
21554 wine_fn_config_makefile dlls
/qcap enable_qcap
21555 wine_fn_config_makefile dlls
/qcap
/tests enable_tests
21556 wine_fn_config_makefile dlls
/qdvd enable_qdvd
21557 wine_fn_config_makefile dlls
/qdvd
/tests enable_tests
21558 wine_fn_config_makefile dlls
/qedit enable_qedit
21559 wine_fn_config_makefile dlls
/qedit
/tests enable_tests
21560 wine_fn_config_makefile dlls
/qmgr enable_qmgr
21561 wine_fn_config_makefile dlls
/qmgr
/tests enable_tests
21562 wine_fn_config_makefile dlls
/qmgrprxy enable_qmgrprxy
21563 wine_fn_config_makefile dlls
/quartz enable_quartz
21564 wine_fn_config_makefile dlls
/quartz
/tests enable_tests
21565 wine_fn_config_makefile dlls
/query enable_query
21566 wine_fn_config_makefile dlls
/qwave enable_qwave
21567 wine_fn_config_makefile dlls
/qwave
/tests enable_tests
21568 wine_fn_config_makefile dlls
/rasapi16.dll16 enable_win16
21569 wine_fn_config_makefile dlls
/rasapi32 enable_rasapi32
21570 wine_fn_config_makefile dlls
/rasapi32
/tests enable_tests
21571 wine_fn_config_makefile dlls
/rasdlg enable_rasdlg
21572 wine_fn_config_makefile dlls
/regapi enable_regapi
21573 wine_fn_config_makefile dlls
/resutils enable_resutils
21574 wine_fn_config_makefile dlls
/riched20 enable_riched20
21575 wine_fn_config_makefile dlls
/riched20
/tests enable_tests
21576 wine_fn_config_makefile dlls
/riched32 enable_riched32
21577 wine_fn_config_makefile dlls
/riched32
/tests enable_tests
21578 wine_fn_config_makefile dlls
/rpcrt4 enable_rpcrt4
21579 wine_fn_config_makefile dlls
/rpcrt
4/tests enable_tests
21580 wine_fn_config_makefile dlls
/rsabase enable_rsabase
21581 wine_fn_config_makefile dlls
/rsaenh enable_rsaenh
21582 wine_fn_config_makefile dlls
/rsaenh
/tests enable_tests
21583 wine_fn_config_makefile dlls
/rstrtmgr enable_rstrtmgr
21584 wine_fn_config_makefile dlls
/rtutils enable_rtutils
21585 wine_fn_config_makefile dlls
/rtworkq enable_rtworkq
21586 wine_fn_config_makefile dlls
/rtworkq
/tests enable_tests
21587 wine_fn_config_makefile dlls
/samlib enable_samlib
21588 wine_fn_config_makefile dlls
/sane.ds enable_sane_ds
21589 wine_fn_config_makefile dlls
/sapi enable_sapi
21590 wine_fn_config_makefile dlls
/sapi
/tests enable_tests
21591 wine_fn_config_makefile dlls
/sas enable_sas
21592 wine_fn_config_makefile dlls
/scarddlg enable_scarddlg
21593 wine_fn_config_makefile dlls
/sccbase enable_sccbase
21594 wine_fn_config_makefile dlls
/schannel enable_schannel
21595 wine_fn_config_makefile dlls
/schannel
/tests enable_tests
21596 wine_fn_config_makefile dlls
/schedsvc enable_schedsvc
21597 wine_fn_config_makefile dlls
/schedsvc
/tests enable_tests
21598 wine_fn_config_makefile dlls
/scrobj enable_scrobj
21599 wine_fn_config_makefile dlls
/scrobj
/tests enable_tests
21600 wine_fn_config_makefile dlls
/scrrun enable_scrrun
21601 wine_fn_config_makefile dlls
/scrrun
/tests enable_tests
21602 wine_fn_config_makefile dlls
/scsiport.sys enable_scsiport_sys
21603 wine_fn_config_makefile dlls
/sechost enable_sechost
21604 wine_fn_config_makefile dlls
/secur32 enable_secur32
21605 wine_fn_config_makefile dlls
/secur32
/tests enable_tests
21606 wine_fn_config_makefile dlls
/security enable_security
21607 wine_fn_config_makefile dlls
/sensapi enable_sensapi
21608 wine_fn_config_makefile dlls
/serialui enable_serialui
21609 wine_fn_config_makefile dlls
/serialui
/tests enable_tests
21610 wine_fn_config_makefile dlls
/setupapi enable_setupapi
21611 wine_fn_config_makefile dlls
/setupapi
/tests enable_tests
21612 wine_fn_config_makefile dlls
/setupx.dll16 enable_win16
21613 wine_fn_config_makefile dlls
/sfc enable_sfc
21614 wine_fn_config_makefile dlls
/sfc_os enable_sfc_os
21615 wine_fn_config_makefile dlls
/shcore enable_shcore
21616 wine_fn_config_makefile dlls
/shcore
/tests enable_tests
21617 wine_fn_config_makefile dlls
/shdoclc enable_shdoclc
21618 wine_fn_config_makefile dlls
/shdocvw enable_shdocvw
21619 wine_fn_config_makefile dlls
/shdocvw
/tests enable_tests
21620 wine_fn_config_makefile dlls
/shell.dll16 enable_win16
21621 wine_fn_config_makefile dlls
/shell32 enable_shell32
21622 wine_fn_config_makefile dlls
/shell32
/tests enable_tests
21623 wine_fn_config_makefile dlls
/shfolder enable_shfolder
21624 wine_fn_config_makefile dlls
/shlwapi enable_shlwapi
21625 wine_fn_config_makefile dlls
/shlwapi
/tests enable_tests
21626 wine_fn_config_makefile dlls
/slbcsp enable_slbcsp
21627 wine_fn_config_makefile dlls
/slc enable_slc
21628 wine_fn_config_makefile dlls
/slc
/tests enable_tests
21629 wine_fn_config_makefile dlls
/snmpapi enable_snmpapi
21630 wine_fn_config_makefile dlls
/snmpapi
/tests enable_tests
21631 wine_fn_config_makefile dlls
/softpub enable_softpub
21632 wine_fn_config_makefile dlls
/sound.drv16 enable_win16
21633 wine_fn_config_makefile dlls
/spoolss enable_spoolss
21634 wine_fn_config_makefile dlls
/spoolss
/tests enable_tests
21635 wine_fn_config_makefile dlls
/sppc enable_sppc
21636 wine_fn_config_makefile dlls
/srclient enable_srclient
21637 wine_fn_config_makefile dlls
/srvcli enable_srvcli
21638 wine_fn_config_makefile dlls
/sspicli enable_sspicli
21639 wine_fn_config_makefile dlls
/stdole2.tlb enable_stdole2_tlb
21640 wine_fn_config_makefile dlls
/stdole32.tlb enable_stdole32_tlb
21641 wine_fn_config_makefile dlls
/sti enable_sti
21642 wine_fn_config_makefile dlls
/sti
/tests enable_tests
21643 wine_fn_config_makefile dlls
/storage.dll16 enable_win16
21644 wine_fn_config_makefile dlls
/stress.dll16 enable_win16
21645 wine_fn_config_makefile dlls
/strmdll enable_strmdll
21646 wine_fn_config_makefile dlls
/svrapi enable_svrapi
21647 wine_fn_config_makefile dlls
/sxs enable_sxs
21648 wine_fn_config_makefile dlls
/sxs
/tests enable_tests
21649 wine_fn_config_makefile dlls
/system.drv16 enable_win16
21650 wine_fn_config_makefile dlls
/t2embed enable_t2embed
21651 wine_fn_config_makefile dlls
/t2embed
/tests enable_tests
21652 wine_fn_config_makefile dlls
/tapi32 enable_tapi32
21653 wine_fn_config_makefile dlls
/tapi32
/tests enable_tests
21654 wine_fn_config_makefile dlls
/taskschd enable_taskschd
21655 wine_fn_config_makefile dlls
/taskschd
/tests enable_tests
21656 wine_fn_config_makefile dlls
/tbs enable_tbs
21657 wine_fn_config_makefile dlls
/tdh enable_tdh
21658 wine_fn_config_makefile dlls
/tdi.sys enable_tdi_sys
21659 wine_fn_config_makefile dlls
/threadpoolwinrt enable_threadpoolwinrt
21660 wine_fn_config_makefile dlls
/threadpoolwinrt
/tests enable_tests
21661 wine_fn_config_makefile dlls
/toolhelp.dll16 enable_win16
21662 wine_fn_config_makefile dlls
/traffic enable_traffic
21663 wine_fn_config_makefile dlls
/twain.dll16 enable_win16
21664 wine_fn_config_makefile dlls
/twain_32 enable_twain_32
21665 wine_fn_config_makefile dlls
/twain_32
/tests enable_tests
21666 wine_fn_config_makefile dlls
/typelib.dll16 enable_win16
21667 wine_fn_config_makefile dlls
/tzres enable_tzres
21668 wine_fn_config_makefile dlls
/ucrtbase enable_ucrtbase
21669 wine_fn_config_makefile dlls
/ucrtbase
/tests enable_tests
21670 wine_fn_config_makefile dlls
/uianimation enable_uianimation
21671 wine_fn_config_makefile dlls
/uianimation
/tests enable_tests
21672 wine_fn_config_makefile dlls
/uiautomationcore enable_uiautomationcore
21673 wine_fn_config_makefile dlls
/uiautomationcore
/tests enable_tests
21674 wine_fn_config_makefile dlls
/uiribbon enable_uiribbon
21675 wine_fn_config_makefile dlls
/unicows enable_unicows
21676 wine_fn_config_makefile dlls
/updspapi enable_updspapi
21677 wine_fn_config_makefile dlls
/url enable_url
21678 wine_fn_config_makefile dlls
/urlmon enable_urlmon
21679 wine_fn_config_makefile dlls
/urlmon
/tests enable_tests
21680 wine_fn_config_makefile dlls
/usbd.sys enable_usbd_sys
21681 wine_fn_config_makefile dlls
/user.exe16 enable_win16
21682 wine_fn_config_makefile dlls
/user32 enable_user32
21683 wine_fn_config_makefile dlls
/user32
/tests enable_tests
21684 wine_fn_config_makefile dlls
/userenv enable_userenv
21685 wine_fn_config_makefile dlls
/userenv
/tests enable_tests
21686 wine_fn_config_makefile dlls
/usp10 enable_usp10
21687 wine_fn_config_makefile dlls
/usp10
/tests enable_tests
21688 wine_fn_config_makefile dlls
/utildll enable_utildll
21689 wine_fn_config_makefile dlls
/uxtheme enable_uxtheme
21690 wine_fn_config_makefile dlls
/uxtheme
/tests enable_tests
21691 wine_fn_config_makefile dlls
/vbscript enable_vbscript
21692 wine_fn_config_makefile dlls
/vbscript
/tests enable_tests
21693 wine_fn_config_makefile dlls
/vcomp enable_vcomp
21694 wine_fn_config_makefile dlls
/vcomp
/tests enable_tests
21695 wine_fn_config_makefile dlls
/vcomp100 enable_vcomp100
21696 wine_fn_config_makefile dlls
/vcomp110 enable_vcomp110
21697 wine_fn_config_makefile dlls
/vcomp110
/tests enable_tests
21698 wine_fn_config_makefile dlls
/vcomp120 enable_vcomp120
21699 wine_fn_config_makefile dlls
/vcomp140 enable_vcomp140
21700 wine_fn_config_makefile dlls
/vcomp90 enable_vcomp90
21701 wine_fn_config_makefile dlls
/vcruntime140 enable_vcruntime140
21702 wine_fn_config_makefile dlls
/vcruntime140_1 enable_vcruntime140_1
21703 wine_fn_config_makefile dlls
/vdhcp.vxd enable_win16
21704 wine_fn_config_makefile dlls
/vdmdbg enable_vdmdbg
21705 wine_fn_config_makefile dlls
/ver.dll16 enable_win16
21706 wine_fn_config_makefile dlls
/version enable_version
21707 wine_fn_config_makefile dlls
/version
/tests enable_tests
21708 wine_fn_config_makefile dlls
/vga enable_vga
21709 wine_fn_config_makefile dlls
/virtdisk enable_virtdisk
21710 wine_fn_config_makefile dlls
/virtdisk
/tests enable_tests
21711 wine_fn_config_makefile dlls
/vmm.vxd enable_win16
21712 wine_fn_config_makefile dlls
/vnbt.vxd enable_win16
21713 wine_fn_config_makefile dlls
/vnetbios.vxd enable_win16
21714 wine_fn_config_makefile dlls
/vssapi enable_vssapi
21715 wine_fn_config_makefile dlls
/vtdapi.vxd enable_win16
21716 wine_fn_config_makefile dlls
/vulkan-1 enable_vulkan_1
21717 wine_fn_config_makefile dlls
/vulkan-
1/tests enable_tests
21718 wine_fn_config_makefile dlls
/vwin32.vxd enable_win16
21719 wine_fn_config_makefile dlls
/w32skrnl enable_win16
21720 wine_fn_config_makefile dlls
/w32sys.dll16 enable_win16
21721 wine_fn_config_makefile dlls
/wbemdisp enable_wbemdisp
21722 wine_fn_config_makefile dlls
/wbemdisp
/tests enable_tests
21723 wine_fn_config_makefile dlls
/wbemprox enable_wbemprox
21724 wine_fn_config_makefile dlls
/wbemprox
/tests enable_tests
21725 wine_fn_config_makefile dlls
/wdscore enable_wdscore
21726 wine_fn_config_makefile dlls
/webservices enable_webservices
21727 wine_fn_config_makefile dlls
/webservices
/tests enable_tests
21728 wine_fn_config_makefile dlls
/websocket enable_websocket
21729 wine_fn_config_makefile dlls
/wer enable_wer
21730 wine_fn_config_makefile dlls
/wer
/tests enable_tests
21731 wine_fn_config_makefile dlls
/wevtapi enable_wevtapi
21732 wine_fn_config_makefile dlls
/wevtapi
/tests enable_tests
21733 wine_fn_config_makefile dlls
/wevtsvc enable_wevtsvc
21734 wine_fn_config_makefile dlls
/wiaservc enable_wiaservc
21735 wine_fn_config_makefile dlls
/wiaservc
/tests enable_tests
21736 wine_fn_config_makefile dlls
/wimgapi enable_wimgapi
21737 wine_fn_config_makefile dlls
/win32s16.dll16 enable_win16
21738 wine_fn_config_makefile dlls
/win32u enable_win32u
21739 wine_fn_config_makefile dlls
/win32u
/tests enable_tests
21740 wine_fn_config_makefile dlls
/win87em.dll16 enable_win16
21741 wine_fn_config_makefile dlls
/winaspi.dll16 enable_win16
21742 wine_fn_config_makefile dlls
/windebug.dll16 enable_win16
21743 wine_fn_config_makefile dlls
/windows.devices.enumeration enable_windows_devices_enumeration
21744 wine_fn_config_makefile dlls
/windows.devices.enumeration
/tests enable_tests
21745 wine_fn_config_makefile dlls
/windows.gaming.input enable_windows_gaming_input
21746 wine_fn_config_makefile dlls
/windows.gaming.input
/tests enable_tests
21747 wine_fn_config_makefile dlls
/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
21748 wine_fn_config_makefile dlls
/windows.gaming.ui.gamebar
/tests enable_tests
21749 wine_fn_config_makefile dlls
/windows.globalization enable_windows_globalization
21750 wine_fn_config_makefile dlls
/windows.globalization
/tests enable_tests
21751 wine_fn_config_makefile dlls
/windows.media.devices enable_windows_media_devices
21752 wine_fn_config_makefile dlls
/windows.media.devices
/tests enable_tests
21753 wine_fn_config_makefile dlls
/windows.media.speech enable_windows_media_speech
21754 wine_fn_config_makefile dlls
/windows.media.speech
/tests enable_tests
21755 wine_fn_config_makefile dlls
/windows.media enable_windows_media
21756 wine_fn_config_makefile dlls
/windows.media
/tests enable_tests
21757 wine_fn_config_makefile dlls
/windows.networking enable_windows_networking
21758 wine_fn_config_makefile dlls
/windows.system.profile.systemmanufacturers enable_windows_system_profile_systemmanufacturers
21759 wine_fn_config_makefile dlls
/windows.system.profile.systemmanufacturers
/tests enable_tests
21760 wine_fn_config_makefile dlls
/windowscodecs enable_windowscodecs
21761 wine_fn_config_makefile dlls
/windowscodecs
/tests enable_tests
21762 wine_fn_config_makefile dlls
/windowscodecsext enable_windowscodecsext
21763 wine_fn_config_makefile dlls
/windowscodecsext
/tests enable_tests
21764 wine_fn_config_makefile dlls
/winealsa.drv enable_winealsa_drv
21765 wine_fn_config_makefile dlls
/wineandroid.drv enable_wineandroid_drv
21766 wine_fn_config_makefile dlls
/winebus.sys enable_winebus_sys
21767 wine_fn_config_makefile dlls
/winecoreaudio.drv enable_winecoreaudio_drv
21768 wine_fn_config_makefile dlls
/winecrt0 enable_winecrt0
21769 wine_fn_config_makefile dlls
/wined3d enable_wined3d
21770 wine_fn_config_makefile dlls
/winegstreamer enable_winegstreamer
21771 wine_fn_config_makefile dlls
/winehid.sys enable_winehid_sys
21772 wine_fn_config_makefile dlls
/winemac.drv enable_winemac_drv
21773 wine_fn_config_makefile dlls
/winemapi enable_winemapi
21774 wine_fn_config_makefile dlls
/wineoss.drv enable_wineoss_drv
21775 wine_fn_config_makefile dlls
/wineps.drv enable_wineps_drv
21776 wine_fn_config_makefile dlls
/wineps16.drv16 enable_win16
21777 wine_fn_config_makefile dlls
/winepulse.drv enable_winepulse_drv
21778 wine_fn_config_makefile dlls
/wineusb.sys enable_wineusb_sys
21779 wine_fn_config_makefile dlls
/winevulkan enable_winevulkan
21780 wine_fn_config_makefile dlls
/winex11.drv enable_winex11_drv
21781 wine_fn_config_makefile dlls
/winexinput.sys enable_winexinput_sys
21782 wine_fn_config_makefile dlls
/wing.dll16 enable_win16
21783 wine_fn_config_makefile dlls
/wing32 enable_wing32
21784 wine_fn_config_makefile dlls
/winhttp enable_winhttp
21785 wine_fn_config_makefile dlls
/winhttp
/tests enable_tests
21786 wine_fn_config_makefile dlls
/wininet enable_wininet
21787 wine_fn_config_makefile dlls
/wininet
/tests enable_tests
21788 wine_fn_config_makefile dlls
/winmm enable_winmm
21789 wine_fn_config_makefile dlls
/winmm
/tests enable_tests
21790 wine_fn_config_makefile dlls
/winnls.dll16 enable_win16
21791 wine_fn_config_makefile dlls
/winnls32 enable_winnls32
21792 wine_fn_config_makefile dlls
/winprint enable_winprint
21793 wine_fn_config_makefile dlls
/winscard enable_winscard
21794 wine_fn_config_makefile dlls
/winsock.dll16 enable_win16
21795 wine_fn_config_makefile dlls
/winspool.drv enable_winspool_drv
21796 wine_fn_config_makefile dlls
/winspool.drv
/tests enable_tests
21797 wine_fn_config_makefile dlls
/winsta enable_winsta
21798 wine_fn_config_makefile dlls
/wintab.dll16 enable_win16
21799 wine_fn_config_makefile dlls
/wintab32 enable_wintab32
21800 wine_fn_config_makefile dlls
/wintab32
/tests enable_tests
21801 wine_fn_config_makefile dlls
/wintrust enable_wintrust
21802 wine_fn_config_makefile dlls
/wintrust
/tests enable_tests
21803 wine_fn_config_makefile dlls
/wintypes enable_wintypes
21804 wine_fn_config_makefile dlls
/wintypes
/tests enable_tests
21805 wine_fn_config_makefile dlls
/winusb enable_winusb
21806 wine_fn_config_makefile dlls
/wlanapi enable_wlanapi
21807 wine_fn_config_makefile dlls
/wlanapi
/tests enable_tests
21808 wine_fn_config_makefile dlls
/wlanui enable_wlanui
21809 wine_fn_config_makefile dlls
/wldap32 enable_wldap32
21810 wine_fn_config_makefile dlls
/wldap32
/tests enable_tests
21811 wine_fn_config_makefile dlls
/wmasf enable_wmasf
21812 wine_fn_config_makefile dlls
/wmi enable_wmi
21813 wine_fn_config_makefile dlls
/wmiutils enable_wmiutils
21814 wine_fn_config_makefile dlls
/wmiutils
/tests enable_tests
21815 wine_fn_config_makefile dlls
/wmp enable_wmp
21816 wine_fn_config_makefile dlls
/wmp
/tests enable_tests
21817 wine_fn_config_makefile dlls
/wmphoto enable_wmphoto
21818 wine_fn_config_makefile dlls
/wmvcore enable_wmvcore
21819 wine_fn_config_makefile dlls
/wmvcore
/tests enable_tests
21820 wine_fn_config_makefile dlls
/wnaspi32 enable_wnaspi32
21821 wine_fn_config_makefile dlls
/wofutil enable_wofutil
21822 wine_fn_config_makefile dlls
/wow32 enable_win16
21823 wine_fn_config_makefile dlls
/wow64 enable_wow64
21824 wine_fn_config_makefile dlls
/wow64cpu enable_wow64cpu
21825 wine_fn_config_makefile dlls
/wow64win enable_wow64win
21826 wine_fn_config_makefile dlls
/wpc enable_wpc
21827 wine_fn_config_makefile dlls
/wpc
/tests enable_tests
21828 wine_fn_config_makefile dlls
/wpcap enable_wpcap
21829 wine_fn_config_makefile dlls
/ws2_32 enable_ws2_32
21830 wine_fn_config_makefile dlls
/ws2_32
/tests enable_tests
21831 wine_fn_config_makefile dlls
/wsdapi enable_wsdapi
21832 wine_fn_config_makefile dlls
/wsdapi
/tests enable_tests
21833 wine_fn_config_makefile dlls
/wshom.ocx enable_wshom_ocx
21834 wine_fn_config_makefile dlls
/wshom.ocx
/tests enable_tests
21835 wine_fn_config_makefile dlls
/wsnmp32 enable_wsnmp32
21836 wine_fn_config_makefile dlls
/wsnmp32
/tests enable_tests
21837 wine_fn_config_makefile dlls
/wsock32 enable_wsock32
21838 wine_fn_config_makefile dlls
/wtsapi32 enable_wtsapi32
21839 wine_fn_config_makefile dlls
/wtsapi32
/tests enable_tests
21840 wine_fn_config_makefile dlls
/wuapi enable_wuapi
21841 wine_fn_config_makefile dlls
/wuaueng enable_wuaueng
21842 wine_fn_config_makefile dlls
/x3daudio1_0 enable_x3daudio1_0
21843 wine_fn_config_makefile dlls
/x3daudio1_1 enable_x3daudio1_1
21844 wine_fn_config_makefile dlls
/x3daudio1_2 enable_x3daudio1_2
21845 wine_fn_config_makefile dlls
/x3daudio1_3 enable_x3daudio1_3
21846 wine_fn_config_makefile dlls
/x3daudio1_4 enable_x3daudio1_4
21847 wine_fn_config_makefile dlls
/x3daudio1_5 enable_x3daudio1_5
21848 wine_fn_config_makefile dlls
/x3daudio1_6 enable_x3daudio1_6
21849 wine_fn_config_makefile dlls
/x3daudio1_7 enable_x3daudio1_7
21850 wine_fn_config_makefile dlls
/xactengine2_0 enable_xactengine2_0
21851 wine_fn_config_makefile dlls
/xactengine2_4 enable_xactengine2_4
21852 wine_fn_config_makefile dlls
/xactengine2_7 enable_xactengine2_7
21853 wine_fn_config_makefile dlls
/xactengine2_9 enable_xactengine2_9
21854 wine_fn_config_makefile dlls
/xactengine3_0 enable_xactengine3_0
21855 wine_fn_config_makefile dlls
/xactengine3_1 enable_xactengine3_1
21856 wine_fn_config_makefile dlls
/xactengine3_2 enable_xactengine3_2
21857 wine_fn_config_makefile dlls
/xactengine3_3 enable_xactengine3_3
21858 wine_fn_config_makefile dlls
/xactengine3_4 enable_xactengine3_4
21859 wine_fn_config_makefile dlls
/xactengine3_5 enable_xactengine3_5
21860 wine_fn_config_makefile dlls
/xactengine3_6 enable_xactengine3_6
21861 wine_fn_config_makefile dlls
/xactengine3_7 enable_xactengine3_7
21862 wine_fn_config_makefile dlls
/xactengine3_
7/tests enable_tests
21863 wine_fn_config_makefile dlls
/xapofx1_1 enable_xapofx1_1
21864 wine_fn_config_makefile dlls
/xapofx1_2 enable_xapofx1_2
21865 wine_fn_config_makefile dlls
/xapofx1_3 enable_xapofx1_3
21866 wine_fn_config_makefile dlls
/xapofx1_4 enable_xapofx1_4
21867 wine_fn_config_makefile dlls
/xapofx1_5 enable_xapofx1_5
21868 wine_fn_config_makefile dlls
/xaudio2_0 enable_xaudio2_0
21869 wine_fn_config_makefile dlls
/xaudio2_1 enable_xaudio2_1
21870 wine_fn_config_makefile dlls
/xaudio2_2 enable_xaudio2_2
21871 wine_fn_config_makefile dlls
/xaudio2_3 enable_xaudio2_3
21872 wine_fn_config_makefile dlls
/xaudio2_4 enable_xaudio2_4
21873 wine_fn_config_makefile dlls
/xaudio2_5 enable_xaudio2_5
21874 wine_fn_config_makefile dlls
/xaudio2_6 enable_xaudio2_6
21875 wine_fn_config_makefile dlls
/xaudio2_7 enable_xaudio2_7
21876 wine_fn_config_makefile dlls
/xaudio2_
7/tests enable_tests
21877 wine_fn_config_makefile dlls
/xaudio2_8 enable_xaudio2_8
21878 wine_fn_config_makefile dlls
/xaudio2_9 enable_xaudio2_9
21879 wine_fn_config_makefile dlls
/xinput1_1 enable_xinput1_1
21880 wine_fn_config_makefile dlls
/xinput1_2 enable_xinput1_2
21881 wine_fn_config_makefile dlls
/xinput1_3 enable_xinput1_3
21882 wine_fn_config_makefile dlls
/xinput1_
3/tests enable_tests
21883 wine_fn_config_makefile dlls
/xinput1_4 enable_xinput1_4
21884 wine_fn_config_makefile dlls
/xinput9_1_0 enable_xinput9_1_0
21885 wine_fn_config_makefile dlls
/xinputuap enable_xinputuap
21886 wine_fn_config_makefile dlls
/xmllite enable_xmllite
21887 wine_fn_config_makefile dlls
/xmllite
/tests enable_tests
21888 wine_fn_config_makefile dlls
/xolehlp enable_xolehlp
21889 wine_fn_config_makefile dlls
/xpsprint enable_xpsprint
21890 wine_fn_config_makefile dlls
/xpssvcs enable_xpssvcs
21891 wine_fn_config_makefile fonts enable_fonts
21892 wine_fn_config_makefile include enable_include
21893 wine_fn_config_makefile libs
/adsiid enable_adsiid
21894 wine_fn_config_makefile libs
/dmoguids enable_dmoguids
21895 wine_fn_config_makefile libs
/dxerr8 enable_dxerr8
21896 wine_fn_config_makefile libs
/dxerr9 enable_dxerr9
21897 wine_fn_config_makefile libs
/dxguid enable_dxguid
21898 wine_fn_config_makefile libs
/faudio enable_faudio
21899 wine_fn_config_makefile libs
/gsm enable_gsm
21900 wine_fn_config_makefile libs
/jpeg enable_jpeg
21901 wine_fn_config_makefile libs
/jxr enable_jxr
21902 wine_fn_config_makefile libs
/lcms2 enable_lcms2
21903 wine_fn_config_makefile libs
/ldap enable_ldap
21904 wine_fn_config_makefile libs
/mfuuid enable_mfuuid
21905 wine_fn_config_makefile libs
/mpg123 enable_mpg123
21906 wine_fn_config_makefile libs
/png enable_png
21907 wine_fn_config_makefile libs
/strmbase enable_strmbase
21908 wine_fn_config_makefile libs
/strmiids enable_strmiids
21909 wine_fn_config_makefile libs
/tiff enable_tiff
21910 wine_fn_config_makefile libs
/uuid enable_uuid
21911 wine_fn_config_makefile libs
/vkd3d enable_vkd3d
21912 wine_fn_config_makefile libs
/wbemuuid enable_wbemuuid
21913 wine_fn_config_makefile libs
/wine enable_wine
21914 wine_fn_config_makefile libs
/wmcodecdspuuid enable_wmcodecdspuuid
21915 wine_fn_config_makefile libs
/xml2 enable_xml2
21916 wine_fn_config_makefile libs
/xslt enable_xslt
21917 wine_fn_config_makefile libs
/zlib enable_zlib
21918 wine_fn_config_makefile loader enable_loader
21919 wine_fn_config_makefile nls enable_nls
21920 wine_fn_config_makefile po enable_po
21921 wine_fn_config_makefile programs
/arp enable_arp
21922 wine_fn_config_makefile programs
/aspnet_regiis enable_aspnet_regiis
21923 wine_fn_config_makefile programs
/attrib enable_attrib
21924 wine_fn_config_makefile programs
/cabarc enable_cabarc
21925 wine_fn_config_makefile programs
/cacls enable_cacls
21926 wine_fn_config_makefile programs
/certutil enable_certutil
21927 wine_fn_config_makefile programs
/chcp.com enable_chcp_com
21928 wine_fn_config_makefile programs
/clock enable_clock
21929 wine_fn_config_makefile programs
/cmd enable_cmd
21930 wine_fn_config_makefile programs
/cmd
/tests enable_tests
21931 wine_fn_config_makefile programs
/conhost enable_conhost
21932 wine_fn_config_makefile programs
/conhost
/tests enable_tests
21933 wine_fn_config_makefile programs
/control enable_control
21934 wine_fn_config_makefile programs
/cscript enable_cscript
21935 wine_fn_config_makefile programs
/dism enable_dism
21936 wine_fn_config_makefile programs
/dllhost enable_dllhost
21937 wine_fn_config_makefile programs
/dplaysvr enable_dplaysvr
21938 wine_fn_config_makefile programs
/dpnsvr enable_dpnsvr
21939 wine_fn_config_makefile programs
/dpvsetup enable_dpvsetup
21940 wine_fn_config_makefile programs
/dxdiag enable_dxdiag
21941 wine_fn_config_makefile programs
/eject enable_eject
21942 wine_fn_config_makefile programs
/expand enable_expand
21943 wine_fn_config_makefile programs
/explorer enable_explorer
21944 wine_fn_config_makefile programs
/explorer
/tests enable_tests
21945 wine_fn_config_makefile programs
/extrac32 enable_extrac32
21946 wine_fn_config_makefile programs
/fc enable_fc
21947 wine_fn_config_makefile programs
/find enable_find
21948 wine_fn_config_makefile programs
/find
/tests enable_tests
21949 wine_fn_config_makefile programs
/findstr enable_findstr
21950 wine_fn_config_makefile programs
/fsutil enable_fsutil
21951 wine_fn_config_makefile programs
/fsutil
/tests enable_tests
21952 wine_fn_config_makefile programs
/hh enable_hh
21953 wine_fn_config_makefile programs
/hostname enable_hostname
21954 wine_fn_config_makefile programs
/icacls enable_icacls
21955 wine_fn_config_makefile programs
/icinfo enable_icinfo
21956 wine_fn_config_makefile programs
/iexplore enable_iexplore
21957 wine_fn_config_makefile programs
/ipconfig enable_ipconfig
21958 wine_fn_config_makefile programs
/lodctr enable_lodctr
21959 wine_fn_config_makefile programs
/mofcomp enable_mofcomp
21960 wine_fn_config_makefile programs
/mshta enable_mshta
21961 wine_fn_config_makefile programs
/msidb enable_msidb
21962 wine_fn_config_makefile programs
/msiexec enable_msiexec
21963 wine_fn_config_makefile programs
/msinfo32 enable_msinfo32
21964 wine_fn_config_makefile programs
/net enable_net
21965 wine_fn_config_makefile programs
/netsh enable_netsh
21966 wine_fn_config_makefile programs
/netstat enable_netstat
21967 wine_fn_config_makefile programs
/ngen enable_ngen
21968 wine_fn_config_makefile programs
/notepad enable_notepad
21969 wine_fn_config_makefile programs
/oleview enable_oleview
21970 wine_fn_config_makefile programs
/ping enable_ping
21971 wine_fn_config_makefile programs
/plugplay enable_plugplay
21972 wine_fn_config_makefile programs
/powershell enable_powershell
21973 wine_fn_config_makefile programs
/presentationfontcache enable_presentationfontcache
21974 wine_fn_config_makefile programs
/progman enable_progman
21975 wine_fn_config_makefile programs
/reg enable_reg
21976 wine_fn_config_makefile programs
/reg
/tests enable_tests
21977 wine_fn_config_makefile programs
/regasm enable_regasm
21978 wine_fn_config_makefile programs
/regedit enable_regedit
21979 wine_fn_config_makefile programs
/regedit
/tests enable_tests
21980 wine_fn_config_makefile programs
/regini enable_regini
21981 wine_fn_config_makefile programs
/regsvcs enable_regsvcs
21982 wine_fn_config_makefile programs
/regsvr32 enable_regsvr32
21983 wine_fn_config_makefile programs
/robocopy enable_robocopy
21984 wine_fn_config_makefile programs
/rpcss enable_rpcss
21985 wine_fn_config_makefile programs
/rundll.exe16 enable_win16
21986 wine_fn_config_makefile programs
/rundll32 enable_rundll32
21987 wine_fn_config_makefile programs
/sc enable_sc
21988 wine_fn_config_makefile programs
/sc
/tests enable_tests
21989 wine_fn_config_makefile programs
/schtasks enable_schtasks
21990 wine_fn_config_makefile programs
/schtasks
/tests enable_tests
21991 wine_fn_config_makefile programs
/sdbinst enable_sdbinst
21992 wine_fn_config_makefile programs
/secedit enable_secedit
21993 wine_fn_config_makefile programs
/servicemodelreg enable_servicemodelreg
21994 wine_fn_config_makefile programs
/services enable_services
21995 wine_fn_config_makefile programs
/services
/tests enable_tests
21996 wine_fn_config_makefile programs
/setx enable_setx
21997 wine_fn_config_makefile programs
/shutdown enable_shutdown
21998 wine_fn_config_makefile programs
/spoolsv enable_spoolsv
21999 wine_fn_config_makefile programs
/start enable_start
22000 wine_fn_config_makefile programs
/subst enable_subst
22001 wine_fn_config_makefile programs
/svchost enable_svchost
22002 wine_fn_config_makefile programs
/systeminfo enable_systeminfo
22003 wine_fn_config_makefile programs
/taskkill enable_taskkill
22004 wine_fn_config_makefile programs
/tasklist enable_tasklist
22005 wine_fn_config_makefile programs
/taskmgr enable_taskmgr
22006 wine_fn_config_makefile programs
/termsv enable_termsv
22007 wine_fn_config_makefile programs
/uninstaller enable_uninstaller
22008 wine_fn_config_makefile programs
/unlodctr enable_unlodctr
22009 wine_fn_config_makefile programs
/view enable_view
22010 wine_fn_config_makefile programs
/wevtutil enable_wevtutil
22011 wine_fn_config_makefile programs
/where enable_where
22012 wine_fn_config_makefile programs
/whoami enable_whoami
22013 wine_fn_config_makefile programs
/wineboot enable_wineboot
22014 wine_fn_config_makefile programs
/winebrowser enable_winebrowser
22015 wine_fn_config_makefile programs
/winecfg enable_winecfg
22016 wine_fn_config_makefile programs
/wineconsole enable_wineconsole
22017 wine_fn_config_makefile programs
/winedbg enable_winedbg
22018 wine_fn_config_makefile programs
/winedevice enable_winedevice
22019 wine_fn_config_makefile programs
/winefile enable_winefile
22020 wine_fn_config_makefile programs
/winemenubuilder enable_winemenubuilder
22021 wine_fn_config_makefile programs
/winemine enable_winemine
22022 wine_fn_config_makefile programs
/winemsibuilder enable_winemsibuilder
22023 wine_fn_config_makefile programs
/winepath enable_winepath
22024 wine_fn_config_makefile programs
/winetest enable_winetest
22025 wine_fn_config_makefile programs
/winevdm enable_win16
22026 wine_fn_config_makefile programs
/winhelp.exe16 enable_win16
22027 wine_fn_config_makefile programs
/winhlp32 enable_winhlp32
22028 wine_fn_config_makefile programs
/winmgmt enable_winmgmt
22029 wine_fn_config_makefile programs
/winoldap.mod16 enable_win16
22030 wine_fn_config_makefile programs
/winver enable_winver
22031 wine_fn_config_makefile programs
/wmic enable_wmic
22032 wine_fn_config_makefile programs
/wmplayer enable_wmplayer
22033 wine_fn_config_makefile programs
/wordpad enable_wordpad
22034 wine_fn_config_makefile programs
/write enable_write
22035 wine_fn_config_makefile programs
/wscript enable_wscript
22036 wine_fn_config_makefile programs
/wscript
/tests enable_tests
22037 wine_fn_config_makefile programs
/wuauserv enable_wuauserv
22038 wine_fn_config_makefile programs
/wusa enable_wusa
22039 wine_fn_config_makefile programs
/xcopy enable_xcopy
22040 wine_fn_config_makefile programs
/xcopy
/tests enable_tests
22041 wine_fn_config_makefile server enable_server
22042 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22043 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/sfnt2fon enable_sfnt2fon
22044 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/widl enable_widl
22045 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winebuild enable_winebuild
22046 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winedump enable_winedump
22047 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winegcc enable_winegcc
22048 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winemaker enable_winemaker
22049 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/wmc enable_wmc
22050 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/wrc enable_wrc
22053 as_fn_append CONFIGURE_TARGETS
" TAGS"
22054 as_fn_append CONFIGURE_TARGETS
" tags"
22055 as_fn_append CONFIGURE_TARGETS
" autom4te.cache"
22056 as_fn_append CONFIGURE_TARGETS
" config.log"
22057 as_fn_append CONFIGURE_TARGETS
" config.status"
22058 as_fn_append CONFIGURE_TARGETS
" include/config.h"
22059 as_fn_append CONFIGURE_TARGETS
" include/stamp-h"
22060 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine"
22062 if test "x$enable_tools" != xno
22064 as_fn_append CONFIGURE_TARGETS
" tools/makedep$ac_exeext"
22065 ac_config_commands
="$ac_config_commands tools/makedep"
22069 ac_config_commands
="$ac_config_commands Makefile"
22076 as_fn_append wine_rules
"
22078 @echo \"Wine build complete.\"
22082 Makefile: config.status \$(MAKEDEP)
22083 @./config.status Makefile
22084 depend: \$(MAKEDEP)
22085 \$(MAKEDEP)$makedep_flags"
22088 as_fn_append wine_rules
"
22089 config.status: ${wine_srcdir}configure
22090 @./config.status --recheck
22091 include/config.h: include/stamp-h
22092 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22093 @./config.status include/config.h include/stamp-h"
22095 if test "x$enable_maintainer_mode" = xyes
22097 as_fn_append wine_rules
"
22098 configure: configure.ac aclocal.m4
22099 autoconf --warnings=all
22100 include/config.h.in: include/stamp-h.in
22101 include/stamp-h.in: configure.ac aclocal.m4
22102 autoheader --warnings=all
22103 @echo timestamp > \$@"
22106 if test "x$enable_tools" != xno
22108 as_fn_append wine_rules
"
22109 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22110 @./config.status tools/makedep
22111 Makefile: tools/makedep$ac_exeext"
22113 as_fn_append wine_rules
"
22115 @echo \"You need to run make in $toolsdir first\" && false"
22119 if test -n "$with_wine64"
22121 case "$with_wine64" in
22125 rm -f fonts server
2>/dev
/null
22126 as_fn_append wine_rules
"
22127 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22128 loader/wine64 loader/wine64-preloader:
22129 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22130 $with_wine64/loader/wine:
22131 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22132 $with_wine64/loader/wine-preloader:
22133 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22135 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22137 TOP_INSTALL_DEV
="$TOP_INSTALL_DEV include"
22138 TOP_INSTALL_LIB
="$TOP_INSTALL_LIB \
22142 programs/msidb/msidb \
22143 programs/msiexec/msiexec \
22144 programs/notepad/notepad \
22145 programs/regedit/regedit \
22146 programs/regsvr32/regsvr32 \
22147 programs/wineboot/wineboot \
22148 programs/winecfg/winecfg \
22149 programs/wineconsole/wineconsole \
22150 programs/winedbg/winedbg \
22151 programs/winefile/winefile \
22152 programs/winemine/winemine \
22153 programs/winepath/winepath \
22157 cygwin
*|mingw32
*|darwin
*|macosx
*|linux-android
*) ;;
22158 *) TOP_INSTALL_LIB
="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22163 as_fn_append wine_rules
"
22165 rm -rf autom4te.cache
22167 rm -f configure include/config.h.in"
22170 as_fn_append wine_rules
"
22171 dlls/ntdll/unix/version.c: dummy
22172 @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)
22173 programs/winetest/build.rc: dummy
22174 @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)
22175 programs/winetest/build.nfo:
22177 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
22178 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22179 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22182 TAGSFLAGS
="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22184 as_fn_append wine_rules
"
22187 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22190 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22192 .PHONY: depend dummy install-manpages"
22194 printf "%s\n" " done" >&6
22195 cat >confcache
<<\_ACEOF
22196 # This file is a shell script that caches the results of configure
22197 # tests run on this system so they can be shared between configure
22198 # scripts and configure runs, see configure's option --config-cache.
22199 # It is not useful on other systems. If it contains results you don't
22200 # want to keep, you may remove or edit it.
22202 # config.status only pays attention to the cache file if you give it
22203 # the --recheck option to rerun configure.
22205 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22206 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22207 # following values.
22211 # The following way of writing the cache mishandles newlines in values,
22212 # but we know of no workaround that is simple, portable, and efficient.
22213 # So, we kill variables containing newlines.
22214 # Ultrix sh set writes to stderr and can't be redirected directly,
22215 # and sets the high bit in the cache file unless we assign to the vars.
22217 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22218 eval ac_val
=\$
$ac_var
22222 *_cv_
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22223 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22226 _ | IFS | as_nl
) ;; #(
22227 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
22228 *) { eval $ac_var=; unset $ac_var;} ;;
22234 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22235 *${as_nl}ac_space
=\
*)
22236 # `set' does not quote correctly, so add quotes: double-quote
22237 # substitution turns \\\\ into \\, and sed turns \\ into \.
22240 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22243 # `set' quotes correctly as required by POSIX, so do not add quotes.
22244 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22253 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22255 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22257 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22258 if test -w "$cache_file"; then
22259 if test "x$cache_file" != "x/dev/null"; then
22260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22261 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22262 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
22263 cat confcache
>"$cache_file"
22265 case $cache_file in #(
22267 mv -f confcache
"$cache_file"$$
&&
22268 mv -f "$cache_file"$$
"$cache_file" ;; #(
22270 mv -f confcache
"$cache_file" ;;
22275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22276 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22281 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22282 # Let make expand exec_prefix.
22283 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22285 DEFS
=-DHAVE_CONFIG_H
22290 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22291 # 1. Remove the extension, and $U if already installed.
22292 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
22293 ac_i
=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22294 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22295 # will be set to the directory where LIBOBJS objects are built.
22296 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22297 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
22299 LIBOBJS
=$ac_libobjs
22301 LTLIBOBJS
=$ac_ltlibobjs
22305 : "${CONFIG_STATUS=./config.status}"
22307 ac_clean_files_save
=$ac_clean_files
22308 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22310 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22312 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22314 # Generated by $as_me.
22315 # Run this file to recreate the current configuration.
22316 # Compiler output produced by configure, useful for debugging
22317 # configure, is in config.log if it exists.
22320 ac_cs_recheck=false
22323 SHELL=\${CONFIG_SHELL-$SHELL}
22326 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
22327 ## -------------------- ##
22328 ## M4sh Initialization. ##
22329 ## -------------------- ##
22331 # Be more Bourne compatible
22332 DUALCASE
=1; export DUALCASE
# for MKS sh
22334 if test ${ZSH_VERSION+y} && (emulate sh
) >/dev
/null
2>&1
22338 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22339 # is contrary to our usage. Disable this feature.
22340 alias -g '${1+"$@"}'='"$@"'
22341 setopt NO_GLOB_SUBST
22343 case `(set -o) 2>/dev/null` in #(
22353 # Reset variables that may have inherited troublesome values from
22356 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22357 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22358 # side effect of setting IFS to empty, thus disabling word splitting.)
22359 # Quoting is to prevent editors from complaining about space-tab.
22369 # Ensure predictable behavior from utilities with locale-dependent output.
22375 # We cannot yet rely on "unset" to work, but we need these variables
22376 # to be unset--not just set to an empty or harmless value--now, to
22377 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22378 # also avoids known problems related to "unset" and subshell syntax
22379 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22380 for as_var
in BASH_ENV ENV MAIL MAILPATH CDPATH
22381 do eval test \
${$as_var+y} \
22382 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
22385 # Ensure that fds 0, 1, and 2 are open.
22386 if (exec 3>&0) 2>/dev
/null
; then :; else exec 0</dev
/null
; fi
22387 if (exec 3>&1) 2>/dev
/null
; then :; else exec 1>/dev
/null
; fi
22388 if (exec 3>&2) ; then :; else exec 2>/dev
/null
; fi
22390 # The user is always right.
22391 if ${PATH_SEPARATOR+false} :; then
22393 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
22394 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
22400 # Find who we are. Look in the path if we contain no directory separator.
22403 *[\\/]* ) as_myself
=$0 ;;
22404 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22405 for as_dir
in $PATH
22408 case $as_dir in #(((
22411 *) as_dir
=$as_dir/ ;;
22413 test -r "$as_dir$0" && as_myself
=$as_dir$0 && break
22419 # We did not find ourselves, most probably we were run as `sh COMMAND'
22420 # in which case we are not to be found in the path.
22421 if test "x$as_myself" = x
; then
22424 if test ! -f "$as_myself"; then
22425 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22431 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22432 # ----------------------------------------
22433 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22434 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22435 # script with STATUS, using 1 if that was 0.
22438 as_status
=$1; test $as_status -eq 0 && as_status
=1
22440 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
22441 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22443 printf "%s\n" "$as_me: error: $2" >&2
22444 as_fn_exit
$as_status
22449 # as_fn_set_status STATUS
22450 # -----------------------
22451 # Set $? to STATUS, without forking.
22452 as_fn_set_status
()
22455 } # as_fn_set_status
22457 # as_fn_exit STATUS
22458 # -----------------
22459 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22463 as_fn_set_status
$1
22469 # Portably unset VAR.
22472 { eval $1=; unset $1;}
22474 as_unset
=as_fn_unset
22476 # as_fn_append VAR VALUE
22477 # ----------------------
22478 # Append the text in VALUE to the end of the definition contained in VAR. Take
22479 # advantage of any shell optimizations that allow amortized linear growth over
22480 # repeated appends, instead of the typical quadratic growth present in naive
22482 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
22484 eval 'as_fn_append ()
22495 # as_fn_arith ARG...
22496 # ------------------
22497 # Perform arithmetic evaluation on the ARGs, and store the result in the
22498 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22499 # must be portable across $(()) and expr.
22500 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
22502 eval 'as_fn_arith ()
22509 as_val
=`expr "$@" || test $? -eq 1`
22514 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22515 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22521 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22522 as_basename
=basename
22527 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
22533 as_me
=`$as_basename -- "$0" ||
22534 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22535 X"$0" : 'X\(//\)$' \| \
22536 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22537 printf "%s\n" X/"$0" |
22538 sed '/^.*\/\([^/][^/]*\)\/*$/{
22552 # Avoid depending upon Character Ranges.
22553 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22554 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22555 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22556 as_cr_digits
='0123456789'
22557 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22560 # Determine whether it's possible to make 'echo' print without a newline.
22561 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22562 # for compatibility with existing Makefiles.
22563 ECHO_C
= ECHO_N
= ECHO_T
=
22564 case `echo -n x` in #(((((
22566 case `echo 'xy\c'` in
22567 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
22569 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
22576 # For backward compatibility with old third-party macros, we provide
22577 # the shell variables $as_echo and $as_echo_n. New code should use
22578 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22579 as_echo
='printf %s\n'
22580 as_echo_n
='printf %s'
22582 rm -f conf$$ conf$$.exe conf$$.
file
22583 if test -d conf$$.dir
; then
22584 rm -f conf$$.dir
/conf$$.
file
22587 mkdir conf$$.dir
2>/dev
/null
22589 if (echo >conf$$.
file) 2>/dev
/null
; then
22590 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22592 # ... but there are two gotchas:
22593 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22594 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22595 # In both cases, we have to default to `cp -pR'.
22596 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
22598 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22606 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
22607 rmdir conf$$.dir
2>/dev
/null
22612 # Create "$as_dir" as a directory, including parents if necessary.
22617 -*) as_dir
=.
/$as_dir;;
22619 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
22623 *\'*) as_qdir
=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22624 *) as_qdir
=$as_dir;;
22626 as_dirs
="'$as_qdir' $as_dirs"
22627 as_dir
=`$as_dirname -- "$as_dir" ||
22628 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22629 X"$as_dir" : 'X\(//\)[^/]' \| \
22630 X"$as_dir" : 'X\(//\)$' \| \
22631 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22632 printf "%s\n" X"$as_dir" |
22633 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22637 /^X\(\/\/\)[^/].*/{
22650 test -d "$as_dir" && break
22652 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22653 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
22657 if mkdir
-p .
2>/dev
/null
; then
22658 as_mkdir_p
='mkdir -p "$as_dir"'
22660 test -d .
/-p && rmdir .
/-p
22665 # as_fn_executable_p FILE
22666 # -----------------------
22667 # Test if FILE is an executable regular file.
22668 as_fn_executable_p
()
22670 test -f "$1" && test -x "$1"
22671 } # as_fn_executable_p
22672 as_test_x
='test -x'
22673 as_executable_p
=as_fn_executable_p
22675 # Sed expression to map a string onto a valid CPP name.
22676 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22678 # Sed expression to map a string onto a valid variable name.
22679 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22683 ## ----------------------------------- ##
22684 ## Main body of $CONFIG_STATUS script. ##
22685 ## ----------------------------------- ##
22687 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
22689 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22690 # Save the log message, to keep $0 and so on meaningful, and to
22691 # report actual input values of CONFIG_FILES etc. instead of their
22692 # values after options handling.
22694 This file was extended by Wine $as_me 8.1, which was
22695 generated by GNU Autoconf 2.71. Invocation command line was
22697 CONFIG_FILES = $CONFIG_FILES
22698 CONFIG_HEADERS = $CONFIG_HEADERS
22699 CONFIG_LINKS = $CONFIG_LINKS
22700 CONFIG_COMMANDS = $CONFIG_COMMANDS
22703 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22709 case $ac_config_headers in *"
22710 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
22714 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22715 # Files that config.status was made for.
22716 config_headers="$ac_config_headers"
22717 config_links="$ac_config_links"
22718 config_commands="$ac_config_commands"
22722 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22724 \`$as_me' instantiates files and other configuration actions
22725 from templates according to the current configuration. Unless the files
22726 and actions are specified as TAGs, all are instantiated by default.
22728 Usage: $0 [OPTION]... [TAG]...
22730 -h, --help print this help, then exit
22731 -V, --version print version number and configuration settings, then exit
22732 --config print configuration, then exit
22733 -q, --quiet, --silent
22734 do not print progress messages
22735 -d, --debug don't remove temporary files
22736 --recheck update $as_me by reconfiguring in the same conditions
22737 --header=FILE[:TEMPLATE]
22738 instantiate the configuration header FILE
22740 Configuration headers:
22743 Configuration links:
22746 Configuration commands:
22749 Report bugs to <wine-devel@winehq.org>.
22750 Wine home page: <https://www.winehq.org>."
22753 ac_cs_config
=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
22754 ac_cs_config_escaped
=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
22755 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22756 ac_cs_config='$ac_cs_config_escaped'
22758 Wine config.status 8.1
22759 configured by $0, generated by GNU Autoconf 2.71,
22760 with options \\"\$ac_cs_config\\"
22762 Copyright (C) 2021 Free Software Foundation, Inc.
22763 This config.status script is free software; the Free Software Foundation
22764 gives unlimited permission to copy, distribute and modify it."
22768 test -n "\$AWK" || AWK=awk
22771 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22772 # The default lists apply if the user does not specify any file.
22778 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22779 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
22783 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22795 # Handling of the options.
22796 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
22798 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
22799 printf "%s\n" "$ac_cs_version"; exit ;;
22800 --config |
--confi |
--conf |
--con |
--co |
--c )
22801 printf "%s\n" "$ac_cs_config"; exit ;;
22802 --debug |
--debu |
--deb |
--de |
--d |
-d )
22804 --header |
--heade |
--head |
--hea )
22807 *\'*) ac_optarg
=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22809 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
22810 ac_need_defaults
=false
;;
22812 # Conflict between --help and --header
22813 as_fn_error $?
"ambiguous option: \`$1'
22814 Try \`$0 --help' for more information.";;
22815 --help |
--hel |
-h )
22816 printf "%s\n" "$ac_cs_usage"; exit ;;
22817 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
22818 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
22821 # This is an error.
22822 -*) as_fn_error $?
"unrecognized option: \`$1'
22823 Try \`$0 --help' for more information." ;;
22825 *) as_fn_append ac_config_targets
" $1"
22826 ac_need_defaults
=false
;;
22832 ac_configure_extra_args
=
22834 if $ac_cs_silent; then
22836 ac_configure_extra_args
="$ac_configure_extra_args --silent"
22840 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22841 if \$ac_cs_recheck; then
22842 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22844 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
22845 CONFIG_SHELL='$SHELL'
22846 export CONFIG_SHELL
22851 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22855 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22856 ## Running $as_me. ##
22858 printf "%s\n" "$ac_log"
22862 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22866 wine_fn_output_makedep ()
22868 as_dir=tools; as_fn_mkdir_p
22869 $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
22871 wine_fn_output_makefile ()
22873 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
22874 # This Makefile understands the following targets:
22876 # all (default): build wine
22877 # clean: remove all intermediate files
22878 # distclean: also remove all files created by configure
22880 # testclean: clean test results to force running all tests again
22881 # install-lib: install libraries needed to run applications
22882 # install-dev: install development environment
22883 # install: install everything
22884 # uninstall: uninstall everything
22885 # ctags: create a tags file for vim and others.
22886 # etags: create a TAGS file for Emacs.
22889 PATH_SEPARATOR = $PATH_SEPARATOR
22890 PACKAGE_NAME = $PACKAGE_NAME
22891 PACKAGE_TARNAME = $PACKAGE_TARNAME
22892 PACKAGE_VERSION = $PACKAGE_VERSION
22893 PACKAGE_STRING = $PACKAGE_STRING
22894 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
22895 PACKAGE_URL = $PACKAGE_URL
22896 exec_prefix = $exec_prefix
22898 program_transform_name = $program_transform_name
22901 libexecdir = $libexecdir
22902 datarootdir = $datarootdir
22904 sysconfdir = $sysconfdir
22905 sharedstatedir = $sharedstatedir
22906 localstatedir = $localstatedir
22907 runstatedir = $runstatedir
22908 includedir = $includedir
22909 oldincludedir = $oldincludedir
22917 localedir = $localedir
22924 build_alias = $build_alias
22925 host_alias = $host_alias
22926 target_alias = $target_alias
22927 system_dllpath = $system_dllpath
22929 build_cpu = $build_cpu
22930 build_vendor = $build_vendor
22931 build_os = $build_os
22933 host_cpu = $host_cpu
22934 host_vendor = $host_vendor
22940 SET_MAKE = $SET_MAKE
22944 CPPFLAGS = $CPPFLAGS
22945 ac_ct_CC = $ac_ct_CC
22949 CXXFLAGS = $CXXFLAGS
22950 ac_ct_CXX = $ac_ct_CXX
22953 TARGETFLAGS = $TARGETFLAGS
22954 toolsext = $toolsext
22955 HOST_ARCH = $HOST_ARCH
22956 aarch64_CC = $aarch64_CC
22957 aarch64_CFLAGS = $aarch64_CFLAGS
22958 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
22959 aarch64_LDFLAGS = $aarch64_LDFLAGS
22960 aarch64_DEBUG = $aarch64_DEBUG
22961 aarch64_TARGET = $aarch64_TARGET
22962 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
22963 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
22965 arm_CFLAGS = $arm_CFLAGS
22966 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
22967 arm_LDFLAGS = $arm_LDFLAGS
22968 arm_DEBUG = $arm_DEBUG
22969 arm_TARGET = $arm_TARGET
22970 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
22971 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
22973 i386_CFLAGS = $i386_CFLAGS
22974 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
22975 i386_LDFLAGS = $i386_LDFLAGS
22976 i386_DEBUG = $i386_DEBUG
22977 i386_TARGET = $i386_TARGET
22978 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
22979 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
22980 x86_64_CC = $x86_64_CC
22981 x86_64_CFLAGS = $x86_64_CFLAGS
22982 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
22983 x86_64_LDFLAGS = $x86_64_LDFLAGS
22984 x86_64_DEBUG = $x86_64_DEBUG
22985 x86_64_TARGET = $x86_64_TARGET
22986 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
22987 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
22988 toolsdir = $toolsdir
22990 RUNTESTFLAGS = $RUNTESTFLAGS
22995 ac_ct_AR = $ac_ct_AR
23001 LDCONFIG = $LDCONFIG
23003 PKG_CONFIG = $PKG_CONFIG
23004 FONTFORGE = $FONTFORGE
23008 I386_LIBS = $I386_LIBS
23009 OPENGL_LIBS = $OPENGL_LIBS
23010 DLLFLAGS = $DLLFLAGS
23011 LDDLLFLAGS = $LDDLLFLAGS
23012 LDEXECFLAGS = $LDEXECFLAGS
23013 EXTRACFLAGS = $EXTRACFLAGS
23014 UNIXDLLFLAGS = $UNIXDLLFLAGS
23015 UNIXLDFLAGS = $UNIXLDFLAGS
23016 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23017 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23018 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23019 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23024 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23025 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23026 CARBON_LIBS = $CARBON_LIBS
23027 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23028 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23029 IOKIT_LIBS = $IOKIT_LIBS
23030 METAL_LIBS = $METAL_LIBS
23031 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23032 CORESERVICES_LIBS = $CORESERVICES_LIBS
23033 APPKIT_LIBS = $APPKIT_LIBS
23034 SECURITY_LIBS = $SECURITY_LIBS
23035 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23036 COREAUDIO_LIBS = $COREAUDIO_LIBS
23037 OPENCL_LIBS = $OPENCL_LIBS
23039 OBJCFLAGS = $OBJCFLAGS
23040 ac_ct_OBJC = $ac_ct_OBJC
23041 LIBWINE_SHAREDLIB = $LIBWINE_SHAREDLIB
23042 LIBWINE_LDFLAGS = $LIBWINE_LDFLAGS
23043 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23045 LIBWINE_DEPENDS = $LIBWINE_DEPENDS
23046 PE_ARCHS = $PE_ARCHS
23047 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23048 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23049 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23050 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23051 GSM_PE_LIBS = $GSM_PE_LIBS
23052 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23053 JPEG_PE_LIBS = $JPEG_PE_LIBS
23054 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23055 JXR_PE_LIBS = $JXR_PE_LIBS
23056 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23057 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23058 LDAP_PE_CFLAGS = $LDAP_PE_CFLAGS
23059 LDAP_PE_LIBS = $LDAP_PE_LIBS
23060 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23061 MPG123_PE_LIBS = $MPG123_PE_LIBS
23062 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23063 PNG_PE_LIBS = $PNG_PE_LIBS
23064 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23065 TIFF_PE_LIBS = $TIFF_PE_LIBS
23066 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23067 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23068 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23069 XML2_PE_LIBS = $XML2_PE_LIBS
23070 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23071 XSLT_PE_LIBS = $XSLT_PE_LIBS
23072 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23073 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23074 PTHREAD_LIBS = $PTHREAD_LIBS
23077 X_CFLAGS = $X_CFLAGS
23078 X_PRE_LIBS = $X_PRE_LIBS
23080 X_EXTRA_LIBS = $X_EXTRA_LIBS
23081 PCAP_LIBS = $PCAP_LIBS
23082 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23083 INOTIFY_LIBS = $INOTIFY_LIBS
23084 DBUS_CFLAGS = $DBUS_CFLAGS
23085 DBUS_LIBS = $DBUS_LIBS
23086 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23087 GNUTLS_LIBS = $GNUTLS_LIBS
23088 SANE_CFLAGS = $SANE_CFLAGS
23089 SANE_LIBS = $SANE_LIBS
23090 USB_CFLAGS = $USB_CFLAGS
23091 USB_LIBS = $USB_LIBS
23092 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23093 GPHOTO2_LIBS = $GPHOTO2_LIBS
23094 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23095 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23096 RESOLV_LIBS = $RESOLV_LIBS
23097 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23098 FREETYPE_LIBS = $FREETYPE_LIBS
23099 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23100 PULSE_CFLAGS = $PULSE_CFLAGS
23101 PULSE_LIBS = $PULSE_LIBS
23102 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23103 GSTREAMER_LIBS = $GSTREAMER_LIBS
23104 ALSA_LIBS = $ALSA_LIBS
23105 OSS4_CFLAGS = $OSS4_CFLAGS
23106 OSS4_LIBS = $OSS4_LIBS
23107 UDEV_CFLAGS = $UDEV_CFLAGS
23108 UDEV_LIBS = $UDEV_LIBS
23109 UNWIND_CFLAGS = $UNWIND_CFLAGS
23110 UNWIND_LIBS = $UNWIND_LIBS
23111 SDL2_CFLAGS = $SDL2_CFLAGS
23112 SDL2_LIBS = $SDL2_LIBS
23113 CAPI20_CFLAGS = $CAPI20_CFLAGS
23114 CAPI20_LIBS = $CAPI20_LIBS
23115 CUPS_CFLAGS = $CUPS_CFLAGS
23116 CUPS_LIBS = $CUPS_LIBS
23117 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23118 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23119 KRB5_CFLAGS = $KRB5_CFLAGS
23120 KRB5_LIBS = $KRB5_LIBS
23121 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23122 GSSAPI_LIBS = $GSSAPI_LIBS
23123 PROCSTAT_LIBS = $PROCSTAT_LIBS
23124 NETAPI_CFLAGS = $NETAPI_CFLAGS
23125 NETAPI_LIBS = $NETAPI_LIBS
23126 MSVCRTFLAGS = $MSVCRTFLAGS
23127 DELAYLOADFLAG = $DELAYLOADFLAG
23128 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23130 TAGSFLAGS = $TAGSFLAGS
23132 LTLIBOBJS = $LTLIBOBJS
23136 as_fn_error $? "could not create Makefile" "$LINENO" 5
23141 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23143 # Handling of arguments.
23144 for ac_config_target
in $ac_config_targets
23146 case $ac_config_target in
23147 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
23148 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
23149 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
23150 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23151 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
23152 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
23154 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23159 # If the user did not use the arguments to specify the items to instantiate,
23160 # then the envvar interface is used. Set only those that are not.
23161 # We use the long form for the default assignment because of an extremely
23162 # bizarre bug on SunOS 4.1.3.
23163 if $ac_need_defaults; then
23164 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS
=$config_headers
23165 test ${CONFIG_LINKS+y} || CONFIG_LINKS
=$config_links
23166 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS
=$config_commands
23169 # Have a temporary directory for convenience. Make it in the build tree
23170 # simply because there is no reason against having it here, and in addition,
23171 # creating and moving files from /tmp can sometimes cause problems.
23172 # Hook for its removal unless debugging.
23173 # Note that there is a small window in which the directory will not be cleaned:
23174 # after its creation but before its name has been assigned to `$tmp'.
23178 trap 'exit_status=$?
23179 : "${ac_tmp:=$tmp}"
23180 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23182 trap 'as_fn_exit 1' 1 2 13 15
23184 # Create a (secure) tmp directory for tmp files.
23187 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23191 tmp
=.
/conf$$
-$RANDOM
23192 (umask 077 && mkdir
"$tmp")
23193 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
23196 # Set up the scripts for CONFIG_HEADERS section.
23197 # No need to generate them if there are no CONFIG_HEADERS.
23198 # This happens for instance with `./config.status Makefile'.
23199 if test -n "$CONFIG_HEADERS"; then
23200 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23204 # Transform confdefs.h into an awk script `defines.awk', embedded as
23205 # here-document in config.status, that substitutes the proper values into
23206 # config.h.in to produce config.h.
23208 # Create a delimiter string that does not exist in confdefs.h, to ease
23209 # handling of long lines.
23211 for ac_last_try
in false false
:; do
23212 ac_tt
=`sed -n "/$ac_delim/p" confdefs.h`
23213 if test -z "$ac_tt"; then
23215 elif $ac_last_try; then
23216 as_fn_error $?
"could not make $CONFIG_HEADERS" "$LINENO" 5
23218 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
23222 # For the awk script, D is an array of macro values keyed by name,
23223 # likewise P contains macro parameters if any. Preserve backslash
23224 # newline sequences.
23226 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
23228 s/.\{148\}/&'"$ac_delim"'/g
23231 s/^[ ]*#[ ]*define[ ][ ]*/ /
23238 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23240 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23244 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23245 D["\1"]=" \3\\\\\\n"\\/p
23247 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23252 s/.\{148\}/&'"$ac_delim"'/g
23257 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23260 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23262 ' <confdefs.h |
sed '
23263 s/'"$ac_delim"'/"\\\
23264 "/g' >>$CONFIG_STATUS || ac_write_fail
=1
23266 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23267 for (key in D) D_is_set[key] = 1
23270 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23272 split(line, arg, " ")
23273 if (arg[1] == "#") {
23277 defundef = substr(arg[1], 2)
23280 split(mac1, mac2, "(") #)
23282 prefix = substr(line, 1, index(line, defundef) - 1)
23283 if (D_is_set[macro]) {
23284 # Preserve the white space surrounding the "#".
23285 print prefix "define", macro P[macro] D[macro]
23288 # Replace #undef with comments. This is necessary, for example,
23289 # in the case of _POSIX_SOURCE, which is predefined and required
23290 # on some systems where configure will not decide to define it.
23291 if (defundef == "undef") {
23292 print "/*", prefix defundef, macro, "*/"
23300 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23301 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
23302 fi # test -n "$CONFIG_HEADERS"
23305 eval set X
" :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23310 :[FHLC
]) ac_mode
=$ac_tag; continue;;
23312 case $ac_mode$ac_tag in
23314 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
23315 :[FH
]-) ac_tag
=-:-;;
23316 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
23333 -) ac_f
="$ac_tmp/stdin";;
23334 *) # Look for the file first in the build tree, then in the source tree
23335 # (if the path is not absolute). The absolute path cannot be DOS-style,
23336 # because $ac_f cannot contain `:'.
23340 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
23342 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23344 case $ac_f in *\'*) ac_f
=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23345 as_fn_append ac_file_inputs
" '$ac_f'"
23348 # Let's still pretend it is `configure' which instantiates (i.e., don't
23349 # use $as_me), people would be surprised to read:
23350 # /* config.h. Generated by config.status. */
23351 configure_input
='Generated from '`
23352 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23354 if test x
"$ac_file" != x-
; then
23355 configure_input
="$ac_file. $configure_input"
23356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23357 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23359 # Neutralize special characters interpreted by sed in replacement strings.
23360 case $configure_input in #(
23361 *\
&* |
*\|
* |
*\\* )
23362 ac_sed_conf_input
=`printf "%s\n" "$configure_input" |
23363 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23364 *) ac_sed_conf_input
=$configure_input;;
23368 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
23369 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
23374 ac_dir
=`$as_dirname -- "$ac_file" ||
23375 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23376 X"$ac_file" : 'X\(//\)[^/]' \| \
23377 X"$ac_file" : 'X\(//\)$' \| \
23378 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23379 printf "%s\n" X"$ac_file" |
23380 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23384 /^X\(\/\/\)[^/].*/{
23397 as_dir
="$ac_dir"; as_fn_mkdir_p
23401 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23403 ac_dir_suffix
=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23404 # A ".." for each directory in $ac_dir_suffix.
23405 ac_top_builddir_sub
=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23406 case $ac_top_builddir_sub in
23407 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23408 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
23411 ac_abs_top_builddir
=$ac_pwd
23412 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
23413 # for backward compatibility:
23414 ac_top_builddir
=$ac_top_build_prefix
23417 .
) # We are building in place.
23419 ac_top_srcdir
=$ac_top_builddir_sub
23420 ac_abs_top_srcdir
=$ac_pwd ;;
23421 [\\/]* | ?
:[\\/]* ) # Absolute name.
23422 ac_srcdir
=$srcdir$ac_dir_suffix;
23423 ac_top_srcdir
=$srcdir
23424 ac_abs_top_srcdir
=$srcdir ;;
23425 *) # Relative name.
23426 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
23427 ac_top_srcdir
=$ac_top_build_prefix$srcdir
23428 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
23430 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
23439 if test x
"$ac_file" != x-
; then
23441 printf "%s\n" "/* $configure_input */" >&1 \
23442 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23443 } >"$ac_tmp/config.h" \
23444 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5
23445 if diff "$ac_file" "$ac_tmp/config.h" >/dev
/null
2>&1; then
23446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23447 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23450 mv "$ac_tmp/config.h" "$ac_file" \
23451 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5
23454 printf "%s\n" "/* $configure_input */" >&1 \
23455 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23456 || as_fn_error $?
"could not create -" "$LINENO" 5
23464 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23467 # Prefer the file from the source tree if names are identical.
23468 if test "$ac_source" = "$ac_file" ||
test ! -r "$ac_source"; then
23469 ac_source
=$srcdir/$ac_source
23472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23473 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23475 if test ! -r "$ac_source"; then
23476 as_fn_error $?
"$ac_source: file not found" "$LINENO" 5
23480 # Try a relative symlink, then a hard link, then a copy.
23482 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$ac_source ;;
23483 *) ac_rel_source
=$ac_top_build_prefix$ac_source ;;
23485 ln -s "$ac_rel_source" "$ac_file" 2>/dev
/null ||
23486 ln "$ac_source" "$ac_file" 2>/dev
/null ||
23487 cp -p "$ac_source" "$ac_file" ||
23488 as_fn_error $?
"cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23491 :C
) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23492 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23497 case $ac_file$ac_mode in
23498 "include/stamp-h":C
) echo timestamp
> include
/stamp-h
;;
23499 "tools/makedep":C
) wine_fn_output_makedep || as_fn_exit $?
;;
23500 "Makefile":C
) wine_fn_output_makefile Makefile
;;
23508 ac_clean_files
=$ac_clean_files_save
23510 test $ac_write_fail = 0 ||
23511 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
23514 # configure is writing to config.log, and then calls config.status.
23515 # config.status does its own redirection, appending to config.log.
23516 # Unfortunately, on DOS this fails, as config.log is still kept open
23517 # by configure, so config.status won't be able to write to it; its
23518 # output is simply discarded. So we exec the FD to /dev/null,
23519 # effectively closing config.log, so it can be properly (re)opened and
23520 # appended to by config.status. When coming back to configure, we
23521 # need to make the FD available again.
23522 if test "$no_create" != yes; then
23524 ac_config_status_args
=
23525 test "$silent" = yes &&
23526 ac_config_status_args
="$ac_config_status_args --quiet"
23528 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23530 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23531 # would make configure fail if this is the last instruction.
23532 $ac_cs_success || as_fn_exit
1
23534 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
23535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23536 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23540 if test "$no_create" = "yes"
23546 if test "x$wine_notices" != x
; then
23549 for msg
in $wine_notices; do
23555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23556 printf "%s\n" "$as_me: $msg" >&6;}
23561 for msg
in $wine_warnings; do
23568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23569 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23575 $as_me: Finished. Do '${ac_make}' to compile Wine.