2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 8.0.
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.0'
615 PACKAGE_STRING
='Wine 8.0'
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
1179 enable_light_msstyles
1194 enable_mfmediaengine
1259 enable_msvcp140_atomic_wait
1325 enable_photometadatahandler
1401 enable_threadpoolwinrt
1407 enable_uiautomationcore
1427 enable_vcruntime140_1
1445 enable_windows_devices_enumeration
1446 enable_windows_gaming_input
1447 enable_windows_gaming_ui_gamebar
1448 enable_windows_globalization
1449 enable_windows_media_devices
1450 enable_windows_media_speech
1451 enable_windows_media
1452 enable_windows_networking
1453 enable_windows_system_profile_systemmanufacturers
1454 enable_windowscodecs
1455 enable_windowscodecsext
1457 enable_wineandroid_drv
1459 enable_winecoreaudio_drv
1462 enable_winegstreamer
1468 enable_winepulse_drv
1472 enable_winexinput_sys
1518 enable_xactengine2_0
1519 enable_xactengine2_4
1520 enable_xactengine2_7
1521 enable_xactengine2_9
1522 enable_xactengine3_0
1523 enable_xactengine3_1
1524 enable_xactengine3_2
1525 enable_xactengine3_3
1526 enable_xactengine3_4
1527 enable_xactengine3_5
1528 enable_xactengine3_6
1529 enable_xactengine3_7
1578 enable_wmcodecdspuuid
1586 enable_aspnet_regiis
1632 enable_presentationfontcache
1647 enable_servicemodelreg
1673 enable_winemenubuilder
1675 enable_winemsibuilder
1700 ac_precious_vars
='build_alias
1781 # Initialize some variables set by options.
1783 ac_init_version
=false
1784 ac_unrecognized_opts
=
1785 ac_unrecognized_sep
=
1786 # The variables have the same names as the options, with
1787 # dashes changed to underlines.
1788 cache_file
=/dev
/null
1795 program_transform_name
=s
,x
,x
,
1803 # Installation directory options.
1804 # These are left unexpanded so users can "make install exec_prefix=/foo"
1805 # and all the variables that are supposed to be based on exec_prefix
1806 # by default will actually change.
1807 # Use braces instead of parens because sh, perl, etc. also accept them.
1808 # (The list follows the same order as the GNU Coding Standards.)
1809 bindir
='${exec_prefix}/bin'
1810 sbindir
='${exec_prefix}/sbin'
1811 libexecdir
='${exec_prefix}/libexec'
1812 datarootdir
='${prefix}/share'
1813 datadir
='${datarootdir}'
1814 sysconfdir
='${prefix}/etc'
1815 sharedstatedir
='${prefix}/com'
1816 localstatedir
='${prefix}/var'
1817 runstatedir
='${localstatedir}/run'
1818 includedir
='${prefix}/include'
1819 oldincludedir
='/usr/include'
1820 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1821 infodir
='${datarootdir}/info'
1826 libdir
='${exec_prefix}/lib'
1827 localedir
='${datarootdir}/locale'
1828 mandir
='${datarootdir}/man'
1834 # If the previous option needs an argument, assign it.
1835 if test -n "$ac_prev"; then
1836 eval $ac_prev=\
$ac_option
1842 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1847 case $ac_dashdash$ac_option in
1851 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1853 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1854 bindir
=$ac_optarg ;;
1856 -build |
--build |
--buil |
--bui |
--bu)
1857 ac_prev
=build_alias
;;
1858 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1859 build_alias
=$ac_optarg ;;
1861 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1862 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1863 ac_prev
=cache_file
;;
1864 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1865 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1866 cache_file
=$ac_optarg ;;
1868 --config-cache |
-C)
1869 cache_file
=config.cache
;;
1871 -datadir |
--datadir |
--datadi |
--datad)
1873 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1874 datadir
=$ac_optarg ;;
1876 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1877 |
--dataroo |
--dataro |
--datar)
1878 ac_prev
=datarootdir
;;
1879 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1880 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1881 datarootdir
=$ac_optarg ;;
1883 -disable-* |
--disable-*)
1884 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1885 # Reject names that are not valid shell variable names.
1886 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1887 as_fn_error $?
"invalid feature name: \`$ac_useropt'"
1888 ac_useropt_orig
=$ac_useropt
1889 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1890 case $ac_user_opts in
1892 "enable_
$ac_useropt"
1894 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1895 ac_unrecognized_sep
=', ';;
1897 eval enable_
$ac_useropt=no
;;
1899 -docdir |
--docdir |
--docdi |
--doc |
--do)
1901 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1902 docdir
=$ac_optarg ;;
1904 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1906 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1907 dvidir
=$ac_optarg ;;
1909 -enable-* |
--enable-*)
1910 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1911 # Reject names that are not valid shell variable names.
1912 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1913 as_fn_error $?
"invalid feature name: \`$ac_useropt'"
1914 ac_useropt_orig
=$ac_useropt
1915 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1916 case $ac_user_opts in
1918 "enable_
$ac_useropt"
1920 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1921 ac_unrecognized_sep
=', ';;
1923 eval enable_
$ac_useropt=\
$ac_optarg ;;
1925 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1926 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1927 |
--exec |
--exe |
--ex)
1928 ac_prev
=exec_prefix
;;
1929 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1930 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1931 |
--exec=* |
--exe=* |
--ex=*)
1932 exec_prefix
=$ac_optarg ;;
1934 -gas |
--gas |
--ga |
--g)
1935 # Obsolete; use --with-gas.
1938 -help |
--help |
--hel |
--he |
-h)
1939 ac_init_help
=long
;;
1940 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1941 ac_init_help
=recursive
;;
1942 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1943 ac_init_help
=short
;;
1945 -host |
--host |
--hos |
--ho)
1946 ac_prev
=host_alias
;;
1947 -host=* |
--host=* |
--hos=* |
--ho=*)
1948 host_alias
=$ac_optarg ;;
1950 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1952 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1954 htmldir
=$ac_optarg ;;
1956 -includedir |
--includedir |
--includedi |
--included |
--include \
1957 |
--includ |
--inclu |
--incl |
--inc)
1958 ac_prev
=includedir
;;
1959 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1960 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1961 includedir
=$ac_optarg ;;
1963 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1965 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1966 infodir
=$ac_optarg ;;
1968 -libdir |
--libdir |
--libdi |
--libd)
1970 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1971 libdir
=$ac_optarg ;;
1973 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1974 |
--libexe |
--libex |
--libe)
1975 ac_prev
=libexecdir
;;
1976 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1977 |
--libexe=* |
--libex=* |
--libe=*)
1978 libexecdir
=$ac_optarg ;;
1980 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1981 ac_prev
=localedir
;;
1982 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1983 localedir
=$ac_optarg ;;
1985 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1986 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1987 ac_prev
=localstatedir
;;
1988 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1989 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1990 localstatedir
=$ac_optarg ;;
1992 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1994 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1995 mandir
=$ac_optarg ;;
1997 -nfp |
--nfp |
--nf)
1998 # Obsolete; use --without-fp.
2001 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
2002 |
--no-cr |
--no-c |
-n)
2005 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
2006 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
2009 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
2010 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
2011 |
--oldin |
--oldi |
--old |
--ol |
--o)
2012 ac_prev
=oldincludedir
;;
2013 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
2014 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
2015 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
2016 oldincludedir
=$ac_optarg ;;
2018 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
2020 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
2021 prefix
=$ac_optarg ;;
2023 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
2024 |
--program-pre |
--program-pr |
--program-p)
2025 ac_prev
=program_prefix
;;
2026 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
2027 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
2028 program_prefix
=$ac_optarg ;;
2030 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
2031 |
--program-suf |
--program-su |
--program-s)
2032 ac_prev
=program_suffix
;;
2033 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
2034 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
2035 program_suffix
=$ac_optarg ;;
2037 -program-transform-name |
--program-transform-name \
2038 |
--program-transform-nam |
--program-transform-na \
2039 |
--program-transform-n |
--program-transform- \
2040 |
--program-transform |
--program-transfor \
2041 |
--program-transfo |
--program-transf \
2042 |
--program-trans |
--program-tran \
2043 |
--progr-tra |
--program-tr |
--program-t)
2044 ac_prev
=program_transform_name
;;
2045 -program-transform-name=* |
--program-transform-name=* \
2046 |
--program-transform-nam=* |
--program-transform-na=* \
2047 |
--program-transform-n=* |
--program-transform-=* \
2048 |
--program-transform=* |
--program-transfor=* \
2049 |
--program-transfo=* |
--program-transf=* \
2050 |
--program-trans=* |
--program-tran=* \
2051 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
2052 program_transform_name
=$ac_optarg ;;
2054 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
2056 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
2057 pdfdir
=$ac_optarg ;;
2059 -psdir |
--psdir |
--psdi |
--psd |
--ps)
2061 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
2064 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2065 |
-silent |
--silent |
--silen |
--sile |
--sil)
2068 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
2069 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
2070 |
--run |
--ru |
--r)
2071 ac_prev
=runstatedir
;;
2072 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
2073 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
2074 |
--run=* |
--ru=* |
--r=*)
2075 runstatedir
=$ac_optarg ;;
2077 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
2079 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
2081 sbindir
=$ac_optarg ;;
2083 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
2084 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
2085 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
2087 ac_prev
=sharedstatedir
;;
2088 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
2089 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
2090 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
2092 sharedstatedir
=$ac_optarg ;;
2094 -site |
--site |
--sit)
2096 -site=* |
--site=* |
--sit=*)
2099 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
2101 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
2102 srcdir
=$ac_optarg ;;
2104 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
2105 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
2106 ac_prev
=sysconfdir
;;
2107 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
2108 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
2109 sysconfdir
=$ac_optarg ;;
2111 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
2112 ac_prev
=target_alias
;;
2113 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
2114 target_alias
=$ac_optarg ;;
2116 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
2119 -version |
--version |
--versio |
--versi |
--vers |
-V)
2120 ac_init_version
=: ;;
2123 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2124 # Reject names that are not valid shell variable names.
2125 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2126 as_fn_error $?
"invalid package name: \`$ac_useropt'"
2127 ac_useropt_orig
=$ac_useropt
2128 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2129 case $ac_user_opts in
2133 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2134 ac_unrecognized_sep
=', ';;
2136 eval with_
$ac_useropt=\
$ac_optarg ;;
2138 -without-* |
--without-*)
2139 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2140 # Reject names that are not valid shell variable names.
2141 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2142 as_fn_error $?
"invalid package name: \`$ac_useropt'"
2143 ac_useropt_orig
=$ac_useropt
2144 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2145 case $ac_user_opts in
2149 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2150 ac_unrecognized_sep
=', ';;
2152 eval with_
$ac_useropt=no
;;
2155 # Obsolete; use --with-x.
2158 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
2159 |
--x-incl |
--x-inc |
--x-in |
--x-i)
2160 ac_prev
=x_includes
;;
2161 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
2162 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
2163 x_includes
=$ac_optarg ;;
2165 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
2166 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
2167 ac_prev
=x_libraries
;;
2168 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
2169 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
2170 x_libraries
=$ac_optarg ;;
2172 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
2173 Try \`$0 --help' for more information"
2177 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
2178 # Reject names that are not valid shell variable names.
2179 case $ac_envvar in #(
2180 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
2181 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
2183 eval $ac_envvar=\
$ac_optarg
2184 export $ac_envvar ;;
2187 # FIXME: should be removed in autoconf 3.0.
2188 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2189 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
2190 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2191 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2197 if test -n "$ac_prev"; then
2198 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
2199 as_fn_error $?
"missing argument to $ac_option"
2202 if test -n "$ac_unrecognized_opts"; then
2203 case $enable_option_checking in
2205 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
2206 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2210 # Check all directory arguments for consistency.
2211 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2212 datadir sysconfdir sharedstatedir localstatedir includedir \
2213 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2214 libdir localedir mandir runstatedir
2216 eval ac_val
=\$
$ac_var
2217 # Remove trailing slashes.
2220 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2221 eval $ac_var=\
$ac_val;;
2223 # Be sure to have absolute directory names.
2225 [\\/$
]* | ?
:[\\/]* ) continue;;
2226 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
2228 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
2231 # There might be people who depend on the old broken behavior: `$host'
2232 # used to hold the argument of --host etc.
2233 # FIXME: To remove some day.
2236 target
=$target_alias
2238 # FIXME: To remove some day.
2239 if test "x$host_alias" != x
; then
2240 if test "x$build_alias" = x
; then
2241 cross_compiling
=maybe
2242 elif test "x$build_alias" != "x$host_alias"; then
2248 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
2250 test "$silent" = yes && exec 6>/dev
/null
2253 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
2254 ac_ls_di
=`ls -di .` &&
2255 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
2256 as_fn_error $?
"working directory cannot be determined"
2257 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2258 as_fn_error $?
"pwd does not report name of working directory"
2261 # Find the source files, if location was not specified.
2262 if test -z "$srcdir"; then
2263 ac_srcdir_defaulted
=yes
2264 # Try the directory containing this script, then the parent directory.
2265 ac_confdir
=`$as_dirname -- "$as_myself" ||
2266 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2267 X"$as_myself" : 'X\(//\)[^/]' \| \
2268 X"$as_myself" : 'X\(//\)$' \| \
2269 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2270 printf "%s\n" X"$as_myself" |
2271 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2289 if test ! -r "$srcdir/$ac_unique_file"; then
2293 ac_srcdir_defaulted
=no
2295 if test ! -r "$srcdir/$ac_unique_file"; then
2296 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
2297 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
2299 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
2301 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2303 # When building in place, set srcdir=.
2304 if test "$ac_abs_confdir" = "$ac_pwd"; then
2307 # Remove unnecessary trailing slashes from srcdir.
2308 # Double slashes in file names in object file debugging info
2309 # mess up M-x gdb in Emacs.
2311 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2313 for ac_var
in $ac_precious_vars; do
2314 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
2315 eval ac_env_
${ac_var}_value
=\$
${ac_var}
2316 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
2317 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2321 # Report the --help message.
2323 if test "$ac_init_help" = "long"; then
2324 # Omit some internal or obsolete options to make the list less imposing.
2325 # This message is too long to be a string in the A/UX 3.1 sh.
2327 \`configure' configures Wine 8.0 to adapt to many kinds of systems.
2329 Usage: $0 [OPTION]... [VAR=VALUE]...
2331 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2332 VAR=VALUE. See below for descriptions of some of the useful variables.
2334 Defaults for the options are specified in brackets.
2337 -h, --help display this help and exit
2338 --help=short display options specific to this package
2339 --help=recursive display the short help of all the included packages
2340 -V, --version display version information and exit
2341 -q, --quiet, --silent do not print \`checking ...' messages
2342 --cache-file=FILE cache test results in FILE [disabled]
2343 -C, --config-cache alias for \`--cache-file=config.cache'
2344 -n, --no-create do not create output files
2345 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2347 Installation directories:
2348 --prefix=PREFIX install architecture-independent files in PREFIX
2349 [$ac_default_prefix]
2350 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2353 By default, \`make install' will install all the files in
2354 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2355 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2356 for instance \`--prefix=\$HOME'.
2358 For better control, use the options below.
2360 Fine tuning of the installation directories:
2361 --bindir=DIR user executables [EPREFIX/bin]
2362 --sbindir=DIR system admin executables [EPREFIX/sbin]
2363 --libexecdir=DIR program executables [EPREFIX/libexec]
2364 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2365 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2366 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2367 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2368 --libdir=DIR object code libraries [EPREFIX/lib]
2369 --includedir=DIR C header files [PREFIX/include]
2370 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2371 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2372 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2373 --infodir=DIR info documentation [DATAROOTDIR/info]
2374 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2375 --mandir=DIR man documentation [DATAROOTDIR/man]
2376 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2377 --htmldir=DIR html documentation [DOCDIR]
2378 --dvidir=DIR dvi documentation [DOCDIR]
2379 --pdfdir=DIR pdf documentation [DOCDIR]
2380 --psdir=DIR ps documentation [DOCDIR]
2386 --x-includes=DIR X include files are
in DIR
2387 --x-libraries=DIR X library files are
in DIR
2390 --build=BUILD configure
for building on BUILD
[guessed
]
2391 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2395 if test -n "$ac_init_help"; then
2396 case $ac_init_help in
2397 short | recursive
) echo "Configuration of Wine 8.0:";;
2402 --disable-option-checking ignore unrecognized
--enable/--with options
2403 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2404 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2405 --enable-archs={i386
,x86_64
,arm
,aarch64
}
2406 enable multiple architectures
for PE compilation
2407 --disable-win16 do not include Win16 support
2408 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2410 --disable-tests do not build the regression tests
2411 --enable-build-id include .buildid section in output objects
2412 --enable-maintainer-mode
2413 enable maintainer-specific build rules
2414 --enable-silent-rules use silent build rules (override: "make V=1")
2415 --enable-werror treat compilation warnings as errors
2416 --disable-largefile omit support for large files
2419 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2420 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2421 --without-alsa do not use the Alsa sound support
2422 --without-capi do not use CAPI (ISDN support)
2423 --without-coreaudio do not use the CoreAudio sound support
2424 --without-cups do not use CUPS
2425 --without-dbus do not use DBus (dynamic device support)
2426 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2427 --without-fontconfig do not use fontconfig
2428 --without-freetype do not use the FreeType library
2429 --without-gettext do not use gettext
2430 --with-gettextpo use the GetTextPO library to rebuild po files
2431 --without-gphoto do not use gphoto (Digital Camera support)
2432 --without-gnutls do not use GnuTLS (schannel support)
2433 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2434 --without-gstreamer do not use GStreamer (codecs support)
2435 --without-inotify do not use inotify (filesystem change notifications)
2436 --without-krb5 do not use krb5 (Kerberos)
2437 --without-mingw do not use the MinGW cross-compiler
2438 --without-netapi do not use the Samba NetAPI library
2439 --without-opencl do not use OpenCL
2440 --without-opengl do not use OpenGL
2441 --without-osmesa do not use the OSMesa library
2442 --without-oss do not use the OSS sound support
2443 --without-pcap do not use the Packet Capture library
2444 --without-pthread do not use the pthread library
2445 --without-pulse do not use PulseAudio sound support
2446 --without-sane do not use SANE (scanner support)
2447 --without-sdl do not use SDL
2448 --without-udev do not use udev (plug and play support)
2449 --without-unwind do not use the libunwind library (exception
2451 --without-usb do not use the libusb library
2452 --without-v4l2 do not use v4l2 (video capture)
2453 --without-vulkan do not use Vulkan
2454 --without-xcomposite do not use the Xcomposite extension
2455 --without-xcursor do not use the Xcursor extension
2456 --without-xfixes do not use Xfixes for clipboard change notifications
2457 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2458 --without-xinput do not use the Xinput extension
2459 --without-xinput2 do not use the Xinput 2 extension
2460 --without-xrandr do not use Xrandr (multi-monitor support)
2461 --without-xrender do not use the Xrender extension
2462 --without-xshape do not use the Xshape extension
2463 --without-xshm do not use XShm (shared memory extension)
2464 --without-xxf86vm do not use XFree video mode extension
2465 --with-system-dllpath=PATH
2466 load external PE dependencies from colon-separated
2468 --with-wine-tools=DIR use Wine tools from directory DIR
2469 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2470 --with-x use the X Window System
2472 Some influential environment variables:
2473 CC C compiler command
2474 CFLAGS C compiler flags
2475 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2476 nonstandard directory <lib dir>
2477 LIBS libraries to pass to the linker, e.g. -l<library>
2478 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2479 you have headers in a nonstandard directory <include dir>
2480 CXX C++ compiler command
2481 CXXFLAGS C++ compiler flags
2482 OBJC Objective C compiler command
2483 OBJCFLAGS Objective C compiler flags
2485 C compiler flags for the PE faudio, overriding the bundled
2488 Linker flags for the PE faudio, overriding the bundled version
2490 C compiler flags for the PE gsm, overriding the bundled version
2491 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2493 C compiler flags for the PE jpeg, overriding the bundled version
2495 Linker flags for the PE jpeg, overriding the bundled version
2497 C compiler flags for the PE jxr, overriding the bundled version
2498 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2500 C compiler flags for the PE lcms2, overriding the bundled
2503 Linker flags for the PE lcms2, overriding the bundled version
2505 C compiler flags for the PE ldap, overriding the bundled version
2507 Linker flags for the PE ldap, overriding the bundled version
2509 C compiler flags for the PE mpg123, overriding the bundled
2512 Linker flags for the PE mpg123, overriding the bundled version
2514 C compiler flags for the PE png, overriding the bundled version
2515 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2517 C compiler flags for the PE tiff, overriding the bundled version
2519 Linker flags for the PE tiff, overriding the bundled version
2521 C compiler flags for the PE vkd3d, overriding the bundled
2524 Linker flags for the PE vkd3d, overriding the bundled version
2526 C compiler flags for the PE xml2, overriding the bundled version
2528 Linker flags for the PE xml2, overriding the bundled version
2530 C compiler flags for the PE xslt, overriding the bundled version
2532 Linker flags for the PE xslt, overriding the bundled version
2534 C compiler flags for the PE zlib, overriding the bundled version
2536 Linker flags for the PE zlib, overriding the bundled version
2537 XMKMF Path to xmkmf, Makefile generator for X Window System
2540 C compiler flags for libinotify, overriding pkg-config
2542 Linker flags for libinotify, overriding pkg-config
2543 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2544 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2546 C compiler flags for gnutls, overriding pkg-config
2547 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2548 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2549 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2550 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2551 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2553 C compiler flags for libgphoto2, overriding pkg-config
2555 Linker flags for libgphoto2, overriding pkg-config
2557 C compiler flags for libgphoto2_port, overriding pkg-config
2559 Linker flags for libgphoto2_port, overriding pkg-config
2561 C compiler flags for freetype2, overriding pkg-config
2563 Linker flags for freetype2, overriding pkg-config
2565 C compiler flags for libpulse, overriding pkg-config
2566 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2568 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2569 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2571 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2572 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2573 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2574 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2576 C compiler flags for libunwind, overriding pkg-config
2577 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2578 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2579 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2581 C compiler flags for capi20, overriding pkg-config
2582 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2583 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2584 CUPS_LIBS Linker flags for cups, overriding pkg-config
2586 C compiler flags for fontconfig, overriding pkg-config
2588 Linker flags for fontconfig, overriding pkg-config
2589 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2590 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2592 C compiler flags for krb5-gssapi, overriding pkg-config
2593 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2595 C compiler flags for netapi, overriding pkg-config
2596 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2598 Use these variables to override the choices made by `configure' or to
help
2599 it to
find libraries and programs with nonstandard names
/locations.
2601 Report bugs to
<wine-devel@winehq.org
>.
2602 Wine home page
: <https
://www.winehq.org
>.
2607 if test "$ac_init_help" = "recursive"; then
2608 # If there are subdirs, report their specific --help.
2609 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2610 test -d "$ac_dir" ||
2611 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2616 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2618 ac_dir_suffix
=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2619 # A ".." for each directory in $ac_dir_suffix.
2620 ac_top_builddir_sub
=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2621 case $ac_top_builddir_sub in
2622 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2623 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2626 ac_abs_top_builddir
=$ac_pwd
2627 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2628 # for backward compatibility:
2629 ac_top_builddir
=$ac_top_build_prefix
2632 .
) # We are building in place.
2634 ac_top_srcdir
=$ac_top_builddir_sub
2635 ac_abs_top_srcdir
=$ac_pwd ;;
2636 [\\/]* | ?
:[\\/]* ) # Absolute name.
2637 ac_srcdir
=$srcdir$ac_dir_suffix;
2638 ac_top_srcdir
=$srcdir
2639 ac_abs_top_srcdir
=$srcdir ;;
2641 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2642 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2643 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2645 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2647 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2648 # Check for configure.gnu first; this name is used for a wrapper for
2649 # Metaconfig's "Configure" on case-insensitive file systems.
2650 if test -f "$ac_srcdir/configure.gnu"; then
2652 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2653 elif test -f "$ac_srcdir/configure"; then
2655 $SHELL "$ac_srcdir/configure" --help=recursive
2657 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2659 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2663 test -n "$ac_init_help" && exit $ac_status
2664 if $ac_init_version; then
2667 generated by GNU Autoconf
2.71
2669 Copyright
(C
) 2021 Free Software Foundation
, Inc.
2670 This configure
script is free software
; the Free Software Foundation
2671 gives unlimited permission to copy
, distribute and modify it.
2676 ## ------------------------ ##
2677 ## Autoconf initialization. ##
2678 ## ------------------------ ##
2680 # ac_fn_c_try_compile LINENO
2681 # --------------------------
2682 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2683 ac_fn_c_try_compile
()
2685 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2686 rm -f conftest.
$ac_objext conftest.beam
2687 if { { ac_try
="$ac_compile"
2689 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2690 *) ac_try_echo=$ac_try;;
2692 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2693 printf "%s\n" "$ac_try_echo"; } >&5
2694 (eval "$ac_compile") 2>conftest.err
2696 if test -s conftest.err; then
2697 grep -v '^ *+' conftest.err >conftest.er1
2698 cat conftest.er1 >&5
2699 mv -f conftest.er1 conftest.err
2701 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2702 test $ac_status = 0; } && {
2703 test -z "$ac_c_werror_flag" ||
2704 test ! -s conftest.err
2705 } && test -s conftest.$ac_objext
2709 printf "%s\n" "$as_me: failed program was:" >&5
2710 sed 's/^/| /' conftest.$ac_ext >&5
2714 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2715 as_fn_set_status $ac_retval
2717 } # ac_fn_c_try_compile
2719 # ac_fn_cxx_try_compile LINENO
2720 # ----------------------------
2721 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2722 ac_fn_cxx_try_compile ()
2724 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2725 rm -f conftest.$ac_objext conftest.beam
2726 if { { ac_try="$ac_compile"
2728 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2729 *) ac_try_echo
=$ac_try;;
2731 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2732 printf "%s\n" "$ac_try_echo"; } >&5
2733 (eval "$ac_compile") 2>conftest.err
2735 if test -s conftest.err
; then
2736 grep -v '^ *+' conftest.err
>conftest.er1
2737 cat conftest.er1
>&5
2738 mv -f conftest.er1 conftest.err
2740 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2741 test $ac_status = 0; } && {
2742 test -z "$ac_cxx_werror_flag" ||
2743 test ! -s conftest.err
2744 } && test -s conftest.
$ac_objext
2748 printf "%s\n" "$as_me: failed program was:" >&5
2749 sed 's/^/| /' conftest.
$ac_ext >&5
2753 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2754 as_fn_set_status
$ac_retval
2756 } # ac_fn_cxx_try_compile
2758 # ac_fn_c_try_link LINENO
2759 # -----------------------
2760 # Try to link conftest.$ac_ext, and return whether this succeeded.
2763 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2764 rm -f conftest.
$ac_objext conftest.beam conftest
$ac_exeext
2765 if { { ac_try
="$ac_link"
2767 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2768 *) ac_try_echo=$ac_try;;
2770 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2771 printf "%s\n" "$ac_try_echo"; } >&5
2772 (eval "$ac_link") 2>conftest.err
2774 if test -s conftest.err; then
2775 grep -v '^ *+' conftest.err >conftest.er1
2776 cat conftest.er1 >&5
2777 mv -f conftest.er1 conftest.err
2779 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2780 test $ac_status = 0; } && {
2781 test -z "$ac_c_werror_flag" ||
2782 test ! -s conftest.err
2783 } && test -s conftest$ac_exeext && {
2784 test "$cross_compiling" = yes ||
2785 test -x conftest$ac_exeext
2790 printf "%s\n" "$as_me: failed program was:" >&5
2791 sed 's/^/| /' conftest.$ac_ext >&5
2795 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2796 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2797 # interfere with the next link command; also delete a directory that is
2798 # left behind by Apple's compiler. We do this before executing the actions.
2799 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2800 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2801 as_fn_set_status $ac_retval
2803 } # ac_fn_c_try_link
2805 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2806 # -------------------------------------------------------
2807 # Tests whether HEADER exists and can be compiled using the include files in
2808 # INCLUDES, setting the cache variable VAR accordingly.
2809 ac_fn_c_check_header_compile ()
2811 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2813 printf %s "checking for $2... " >&6; }
2814 if eval test \${$3+y}
2816 printf %s "(cached) " >&6
2818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2819 /* end confdefs.h. */
2823 if ac_fn_c_try_compile "$LINENO"
2829 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2833 printf "%s\n" "$ac_res" >&6; }
2834 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2836 } # ac_fn_c_check_header_compile
2838 # ac_fn_objc_try_compile LINENO
2839 # -----------------------------
2840 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2841 ac_fn_objc_try_compile ()
2843 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2844 rm -f conftest.$ac_objext conftest.beam
2845 if { { ac_try="$ac_compile"
2847 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2848 *) ac_try_echo
=$ac_try;;
2850 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2851 printf "%s\n" "$ac_try_echo"; } >&5
2852 (eval "$ac_compile") 2>conftest.err
2854 if test -s conftest.err
; then
2855 grep -v '^ *+' conftest.err
>conftest.er1
2856 cat conftest.er1
>&5
2857 mv -f conftest.er1 conftest.err
2859 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2860 test $ac_status = 0; } && {
2861 test -z "$ac_objc_werror_flag" ||
2862 test ! -s conftest.err
2863 } && test -s conftest.
$ac_objext
2867 printf "%s\n" "$as_me: failed program was:" >&5
2868 sed 's/^/| /' conftest.
$ac_ext >&5
2872 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2873 as_fn_set_status
$ac_retval
2875 } # ac_fn_objc_try_compile
2877 # ac_fn_c_check_func LINENO FUNC VAR
2878 # ----------------------------------
2879 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2880 ac_fn_c_check_func
()
2882 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2884 printf %s
"checking for $2... " >&6; }
2885 if eval test \
${$3+y}
2887 printf %s
"(cached) " >&6
2889 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2890 /* end confdefs.h. */
2891 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2892 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2893 #define $2 innocuous_$2
2895 /* System header to define __stub macros and hopefully few prototypes,
2896 which can conflict with char $2 (); below. */
2901 /* Override any GCC internal prototype to avoid an error.
2902 Use char because int might match the return type of a GCC
2903 builtin and then its argument prototype would still apply. */
2908 /* The GNU C library defines this for functions which it implements
2909 to always fail with ENOSYS. Some functions are actually named
2910 something starting with __ and the normal name is an alias. */
2911 #if defined __stub_$2 || defined __stub___$2
2923 if ac_fn_c_try_link
"$LINENO"
2929 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
2930 conftest
$ac_exeext conftest.
$ac_ext
2933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2934 printf "%s\n" "$ac_res" >&6; }
2935 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2937 } # ac_fn_c_check_func
2939 # ac_fn_c_try_cpp LINENO
2940 # ----------------------
2941 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2944 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2945 if { { ac_try
="$ac_cpp conftest.$ac_ext"
2947 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2948 *) ac_try_echo=$ac_try;;
2950 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2951 printf "%s\n" "$ac_try_echo"; } >&5
2952 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2954 if test -s conftest.err; then
2955 grep -v '^ *+' conftest.err >conftest.er1
2956 cat conftest.er1 >&5
2957 mv -f conftest.er1 conftest.err
2959 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2960 test $ac_status = 0; } > conftest.i && {
2961 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2962 test ! -s conftest.err
2967 printf "%s\n" "$as_me: failed program was:" >&5
2968 sed 's/^/| /' conftest.$ac_ext >&5
2972 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2973 as_fn_set_status $ac_retval
2977 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2978 # ----------------------------------------------------
2979 # Tries to find if the field MEMBER exists in type AGGR, after including
2980 # INCLUDES, setting cache variable VAR accordingly.
2981 ac_fn_c_check_member ()
2983 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2985 printf %s "checking for $2.$3... " >&6; }
2986 if eval test \${$4+y}
2988 printf %s "(cached) " >&6
2990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2991 /* end confdefs.h. */
3003 if ac_fn_c_try_compile "$LINENO"
3007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3008 /* end confdefs.h. */
3014 if (sizeof ac_aggr.$3)
3020 if ac_fn_c_try_compile "$LINENO"
3026 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3028 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3032 printf "%s\n" "$ac_res" >&6; }
3033 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3035 } # ac_fn_c_check_member
3037 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3038 # -------------------------------------------
3039 # Tests whether TYPE exists after having included INCLUDES, setting cache
3040 # variable VAR accordingly.
3041 ac_fn_c_check_type ()
3043 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3045 printf %s "checking for $2... " >&6; }
3046 if eval test \${$3+y}
3048 printf %s "(cached) " >&6
3051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3052 /* end confdefs.h. */
3063 if ac_fn_c_try_compile "$LINENO"
3065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3066 /* end confdefs.h. */
3077 if ac_fn_c_try_compile "$LINENO"
3083 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3085 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3089 printf "%s\n" "$ac_res" >&6; }
3090 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3092 } # ac_fn_c_check_type
3093 ac_configure_args_raw=
3098 ac_arg=`printf "%s\n" "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
3100 as_fn_append ac_configure_args_raw " '$ac_arg'"
3103 case $ac_configure_args_raw in
3107 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3108 ac_unsafe_a="$ac_unsafe_z#~
"
3109 ac_safe_unquote="s
/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g
"
3110 ac_configure_args_raw=` printf "%s
\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3113 cat >config.log <<_ACEOF
3114 This file contains any messages produced by compilers while
3115 running configure, to aid debugging if configure makes a mistake.
3117 It was created by Wine $as_me 8.0, which was
3118 generated by GNU Autoconf 2.71. Invocation command line was
3120 $ $0$ac_configure_args_raw
3130 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3131 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3132 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3133 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3134 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3136 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3137 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3139 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3140 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3141 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3142 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3143 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3144 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3145 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3153 case $as_dir in #(((
3156 *) as_dir=$as_dir/ ;;
3158 printf "%s
\n" "PATH
: $as_dir"
3174 # Keep a trace of the command line.
3175 # Strip out --no-create and --no-recursion so they do not pile up.
3176 # Strip out --silent because we don't want to record it for future runs.
3177 # Also quote any args containing shell meta-characters.
3178 # Make two passes to allow for proper duplicate-argument suppression.
3182 ac_must_keep_next=false
3188 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3189 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3190 | -silent | --silent | --silen | --sile | --sil)
3193 ac_arg=`printf "%s
\n" "$ac_arg" | sed "s
/'/'\\\\\\\\''/g
"` ;;
3196 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3198 as_fn_append ac_configure_args1 " '$ac_arg'"
3199 if test $ac_must_keep_next = true; then
3200 ac_must_keep_next=false # Got value, back to normal.
3203 *=* | --config-cache | -C | -disable-* | --disable-* \
3204 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3205 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3206 | -with-* | --with-* | -without-* | --without-* | --x)
3207 case "$ac_configure_args0 " in
3208 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3211 -* ) ac_must_keep_next=true ;;
3214 as_fn_append ac_configure_args " '$ac_arg'"
3219 { ac_configure_args0=; unset ac_configure_args0;}
3220 { ac_configure_args1=; unset ac_configure_args1;}
3222 # When interrupted or exit'd, cleanup temporary files, and complete
3223 # config.log. We remove comments because anyway the quotes in there
3224 # would cause problems or look ugly.
3225 # WARNING: Use '\'' to represent an apostrophe within the trap.
3226 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3227 trap 'exit_status=$?
3230 # Save into config.log some information that might help in debugging.
3234 printf "%s
\n" "## ---------------- ##
3235 ## Cache variables. ##
3236 ## ---------------- ##"
3238 # The following way of writing the cache mishandles newlines in values,
3240 for ac_var
in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3241 eval ac_val
=\$
$ac_var
3245 *_cv_
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3246 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3249 _ | IFS | as_nl
) ;; #(
3250 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
3251 *) { eval $ac_var=; unset $ac_var;} ;;
3256 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3257 *${as_nl}ac_space
=\
*)
3259 "s/'\''/'\''\\\\'\'''\''/g;
3260 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3263 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3270 printf "%s\n" "## ----------------- ##
3271 ## Output variables. ##
3272 ## ----------------- ##"
3274 for ac_var
in $ac_subst_vars
3276 eval ac_val
=\$
$ac_var
3278 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3280 printf "%s\n" "$ac_var='\''$ac_val'\''"
3284 if test -n "$ac_subst_files"; then
3285 printf "%s\n" "## ------------------- ##
3286 ## File substitutions. ##
3287 ## ------------------- ##"
3289 for ac_var in $ac_subst_files
3291 eval ac_val=\$$ac_var
3293 *\'\''*) ac_val
=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3295 printf "%s\n" "$ac_var='\''$ac_val'\''"
3300 if test -s confdefs.h
; then
3301 printf "%s\n" "## ----------- ##
3308 test "$ac_signal" != 0 &&
3309 printf "%s\n" "$as_me: caught signal $ac_signal"
3310 printf "%s\n" "$as_me: exit $exit_status"
3312 rm -f core
*.core core.conftest.
* &&
3313 rm -f -r conftest
* confdefs
* conf$$
* $ac_clean_files &&
3316 for ac_signal in 1 2 13 15; do
3317 trap 'ac_signal
='$ac_signal'; as_fn_exit
1' $ac_signal
3321 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3322 rm -f -r conftest* confdefs.h
3324 printf "%s\n" "/* confdefs.h */" > confdefs.h
3326 # Predefined preprocessor variables.
3328 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3330 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3332 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3334 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3336 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3338 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3341 # Let the site file select an alternate cache file if it wants to.
3342 # Prefer an explicitly selected file to automatically selected ones.
3343 if test -n "$CONFIG_SITE"; then
3344 ac_site_files="$CONFIG_SITE"
3345 elif test "x$prefix" != xNONE; then
3346 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3348 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3351 for ac_site_file in $ac_site_files
3353 case $ac_site_file in #(
3357 ac_site_file=./$ac_site_file ;;
3359 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3361 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3362 sed 's
/^
/|
/' "$ac_site_file" >&5
3364 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3365 printf "%s
\n" "$as_me: error
: in \
`$ac_pwd':" >&2;}
3366 as_fn_error $? "failed to load site script $ac_site_file
3367 See \`config.log
' for more details" "$LINENO" 5; }
3371 if test -r "$cache_file"; then
3372 # Some versions of bash will fail to source /dev/null (special files
3373 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3374 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3376 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3378 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3379 *) . "./$cache_file";;
3383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3384 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3388 # Test code for whether the C compiler supports C89 (global declarations)
3389 ac_c_conftest_c89_globals='
3390 /* Does the compiler advertise C89 conformance?
3391 Do not
test the value of __STDC__
, because some compilers
set it to
0
3392 while being otherwise adequately conformant.
*/
3393 #if !defined __STDC__
3394 # error "Compiler does not advertise C89 conformance"
3400 /* Most of the following tests are stolen from RCS
5.7 src
/conf.sh.
*/
3401 struct buf
{ int x
; };
3402 struct buf
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
3403 static char
*e
(p
, i
)
3409 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
3414 s
= g
(p
, va_arg
(v
,int
));
3419 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
3420 function prototypes and stuff
, but not \xHH hex character constants.
3421 These
do not provoke an error unfortunately
, instead are silently treated
3422 as an
"x". The following induces an error
, until -std is added to get
3423 proper ANSI mode. Curiously
\x00 != x always comes out true
, for an
3424 array size
at least. It is necessary to
write \x00 == 0 to get something
3425 that is true only with
-std.
*/
3426 int osf4_cc_array
['\''\x00'\'' == 0 ?
1 : -1];
3428 /* IBM C
6 for AIX is almost-ANSI by default
, but it replaces macro parameters
3429 inside
strings and character constants.
*/
3430 #define FOO(x) '\''x'\''
3431 int xlc6_cc_array
[FOO
(a
) == '\''x
'\'' ?
1 : -1];
3433 int
test (int i
, double x
);
3434 struct s1
{int
(*f
) (int a
);};
3435 struct s2
{int
(*f
) (double a
);};
3436 int pairnames
(int
, char
**, int
*(*)(struct buf
*, struct stat
*, int
),
3439 # Test code for whether the C compiler supports C89 (body of main).
3440 ac_c_conftest_c89_main='
3441 ok |
= (argc
== 0 || f
(e
, argv
, 0) != argv
[0] || f
(e
, argv
, 1) != argv
[1]);
3444 # Test code for whether the C compiler supports C99 (global declarations)
3445 ac_c_conftest_c99_globals='
3446 // Does the compiler advertise C99 conformance?
3447 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3448 # error "Compiler does not advertise C99 conformance"
3451 #include <stdbool.h>
3452 extern int puts
(const char
*);
3453 extern int
printf (const char
*, ...
);
3454 extern int dprintf
(int
, const char
*, ...
);
3455 extern void
*malloc
(size_t
);
3457 // Check varargs macros. These examples are taken from C99
6.10.3.5.
3458 // dprintf is used instead of fprintf to avoid needing to
declare
3460 #define debug(...) dprintf (2, __VA_ARGS__)
3461 #define showlist(...) puts (#__VA_ARGS__)
3462 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3464 test_varargs_macros
(void
)
3469 debug
("X = %d\n", x
);
3470 showlist
(The first
, second
, and third items.
);
3471 report
(x
>y
, "x is %d but y is %d", x
, y
);
3474 // Check long long types.
3475 #define BIG64 18446744073709551615ull
3476 #define BIG32 4294967295ul
3477 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3479 #error "your preprocessor is broken"
3483 #error "your preprocessor is broken"
3485 static long long int bignum
= -9223372036854775807LL;
3486 static unsigned long long int ubignum
= BIG64
;
3488 struct incomplete_array
3496 const wchar_t
*name
;
3500 typedef const char
*ccp
;
3503 test_restrict
(ccp restrict text
)
3505 // See
if C
++-style comments work.
3506 // Iterate through items via the restricted pointer.
3507 // Also check
for declarations
in for loops.
3508 for (unsigned int i
= 0; *(text
+i
) != '\''\
0'\''; ++i
)
3513 // Check varargs and va_copy.
3515 test_varargs
(const char
*format
, ...
)
3518 va_start
(args
, format
);
3520 va_copy
(args_copy
, args
);
3522 const char
*str
= "";
3530 case '\''s
'\'': // string
3531 str
= va_arg
(args_copy
, const char
*);
3533 case '\''d
'\'': // int
3534 number
= va_arg
(args_copy
, int
);
3536 case '\''f
'\'': // float
3537 fnumber
= va_arg
(args_copy
, double
);
3546 return *str
&& number
&& fnumber
;
3550 # Test code for whether the C compiler supports C99 (body of main).
3551 ac_c_conftest_c99_main='
3553 _Bool success
= false
;
3554 success |
= (argc
!= 0);
3557 if (test_restrict
("String literal") == 0)
3559 char
*restrict newvar
= "Another string";
3562 success
&= test_varargs
("s, d'\'' f .", "string", 65, 34.234);
3563 test_varargs_macros
();
3565 // Check flexible array members.
3566 struct incomplete_array
*ia
=
3567 malloc
(sizeof
(struct incomplete_array
) + (sizeof
(double
) * 10));
3569 for (int i
= 0; i
< ia-
>datasize
; ++i
)
3570 ia-
>data
[i
] = i
* 1.234;
3572 // Check named initializers.
3573 struct named_init ni
= {
3575 .name
= L
"Test wide string",
3576 .average
= 543.34343,
3581 int dynamic_array
[ni.number
];
3582 dynamic_array
[0] = argv
[0][0];
3583 dynamic_array
[ni.number
- 1] = 543;
3585 // work around unused variable warnings
3586 ok |
= (!success || bignum
== 0LL || ubignum
== 0uLL || newvar
[0] == '\''x
'\''
3587 || dynamic_array
[ni.number
- 1] != 543);
3590 # Test code for whether the C compiler supports C11 (global declarations)
3591 ac_c_conftest_c11_globals='
3592 // Does the compiler advertise C11 conformance?
3593 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3594 # error "Compiler does not advertise C11 conformance"
3598 char _Alignas
(double
) aligned_as_double
;
3599 char _Alignas
(0) no_special_alignment
;
3600 extern char aligned_as_int
;
3601 char _Alignas
(0) _Alignas
(int
) aligned_as_int
;
3606 int_alignment
= _Alignof
(int
),
3607 int_array_alignment
= _Alignof
(int
[100]),
3608 char_alignment
= _Alignof
(char
)
3610 _Static_assert
(0 < -_Alignof (int
), "_Alignof is signed");
3613 int _Noreturn does_not_return
(void
) { for (;;) continue; }
3615 // Check _Static_assert.
3616 struct test_static_assert
3619 _Static_assert
(sizeof
(int
) <= sizeof
(long int
),
3620 "_Static_assert does not work in struct");
3624 // Check UTF-8 literals.
3625 #define u8 syntax error!
3626 char const utf8_literal
[] = u8
"happens to be ASCII" "another string";
3628 // Check duplicate typedefs.
3629 typedef long
*long_ptr
;
3630 typedef long int
*long_ptr
;
3631 typedef long_ptr long_ptr
;
3633 // Anonymous structures and unions
-- taken from C11
6.7.2.1 Example
1.
3637 struct
{ int i
; int j
; };
3638 struct
{ int k
; long int l
; } w
;
3644 # Test code for whether the C compiler supports C11 (body of main).
3645 ac_c_conftest_c11_main='
3646 _Static_assert
((offsetof
(struct anonymous
, i
)
3647 == offsetof
(struct anonymous
, w.k
)),
3648 "Anonymous union alignment botch");
3654 # Test code for whether the C compiler supports C11 (complete).
3655 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3656 ${ac_c_conftest_c99_globals}
3657 ${ac_c_conftest_c11_globals}
3660 main (int argc, char **argv)
3663 ${ac_c_conftest_c89_main}
3664 ${ac_c_conftest_c99_main}
3665 ${ac_c_conftest_c11_main}
3670 # Test code for whether the C compiler supports C99 (complete).
3671 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3672 ${ac_c_conftest_c99_globals}
3675 main (int argc, char **argv)
3678 ${ac_c_conftest_c89_main}
3679 ${ac_c_conftest_c99_main}
3684 # Test code for whether the C compiler supports C89 (complete).
3685 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3688 main (int argc, char **argv)
3691 ${ac_c_conftest_c89_main}
3696 # Test code for whether the C++ compiler supports C++98 (global declarations)
3697 ac_cxx_conftest_cxx98_globals='
3698 // Does the compiler advertise C
++98 conformance?
3699 #if !defined __cplusplus || __cplusplus < 199711L
3700 # error "Compiler does not advertise C++98 conformance"
3703 // These inclusions are to reject old compilers that
3704 // lack the unsuffixed header files.
3706 #include <exception>
3708 // <cassert
> and
<cstring
> are
*not
* freestanding headers
in C
++98.
3709 extern void assert
(int
);
3711 extern int strcmp
(const char
*, const char
*);
3714 // Namespaces
, exceptions
, and templates were all added after
"C++ 2.0".
3715 using std
::exception
;
3720 void test_exception_syntax
()
3724 } catch
(const char
*s
) {
3725 // Extra parentheses suppress a warning when building autoconf itself
,
3726 // due to lint rules shared with
more typical C programs.
3727 assert
(!(strcmp
) (s
, "test"));
3731 template
<typename T
> struct test_template
3734 explicit test_template
(T t
) : val
(t
) {}
3735 template
<typename U
> T add
(U u
) { return static_cast
<T
>(u
) + val
; }
3738 } // anonymous namespace
3741 # Test code for whether the C++ compiler supports C++98 (body of main)
3742 ac_cxx_conftest_cxx98_main='
3746 test_exception_syntax
();
3747 test_template
<double
> tt
(2.0);
3748 assert
(tt.add
(4) == 6.0);
3749 assert
(true
&& !false
);
3753 # Test code for whether the C++ compiler supports C++11 (global declarations)
3754 ac_cxx_conftest_cxx11_globals='
3755 // Does the compiler advertise C
++ 2011 conformance?
3756 #if !defined __cplusplus || __cplusplus < 201103L
3757 # error "Compiler does not advertise C++11 conformance"
3762 constexpr int get_val
() { return 20; }
3773 delegate
(int n
) : n
(n
) {}
3774 delegate
(): delegate
(2354) {}
3776 virtual int getval
() { return this-
>n
; };
3781 class overridden
: public delegate
3784 overridden
(int n
): delegate
(n
) {}
3785 virtual int getval
() override final
{ return this-
>n
* 2; }
3791 nocopy
(int i
): i
(i
) {}
3793 nocopy
(const nocopy
&) = delete
;
3794 nocopy
& operator
=(const nocopy
&) = delete
;
3799 // for testing lambda expressions
3800 template
<typename Ret
, typename Fn
> Ret
eval(Fn f
, Ret v
)
3805 // for testing variadic templates and trailing
return types
3806 template
<typename V
> auto
sum(V first
) -> V
3810 template
<typename V
, typename... Args
> auto
sum(V first
, Args... rest
) -> V
3812 return first
+ sum(rest...
);
3817 # Test code for whether the C++ compiler supports C++11 (body of main)
3818 ac_cxx_conftest_cxx11_main='
3820 // Test auto and decltype
3822 auto a2
= 48573953.4;
3823 auto a3
= "String literal";
3826 for (auto i
= a3
; *i
; ++i
) { total
+= *i
; }
3828 decltype
(a2
) a4
= 34895.034;
3832 short sa
[cxx11test
::get_val
()] = { 0 };
3835 // Test initializer lists
3836 cxx11test
::testinit il
= { 4323, 435234.23544 };
3839 // Test range-based
for
3840 int array
[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3841 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3842 for (auto
&x
: array
) { x
+= 23; }
3845 // Test lambda expressions
3846 using cxx11test
::eval;
3847 assert
(eval ([](int x
) { return x
*2; }, 21) == 42);
3849 assert
(eval ([&](double x
) { return d
+= x
; }, 3.0) == 5.0);
3851 assert
(eval ([=](double x
) mutable
{ return d
+= x
; }, 4.0) == 9.0);
3855 // Test use of variadic templates
3856 using cxx11test
::sum;
3859 auto c
= sum(1.0, 2.0, 3.0);
3862 // Test constructor delegation
3863 cxx11test
::delegate d1
;
3864 cxx11test
::delegate d2
();
3865 cxx11test
::delegate d3
(45);
3868 // Test override and final
3869 cxx11test
::overridden o1
(55464);
3876 // Test template brackets
3877 test_template
<::test_template
<int
>> v
(test_template
<int
>(12));
3881 char const
*utf8
= u8
"UTF-8 string \u2500";
3882 char16_t const
*utf16
= u
"UTF-8 string \u2500";
3883 char32_t const
*utf32
= U
"UTF-32 string \u2500";
3887 # Test code for whether the C compiler supports C++11 (complete).
3888 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3889 ${ac_cxx_conftest_cxx11_globals}
3892 main (int argc, char **argv)
3895 ${ac_cxx_conftest_cxx98_main}
3896 ${ac_cxx_conftest_cxx11_main}
3901 # Test code for whether the C compiler supports C++98 (complete).
3902 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3904 main (int argc, char **argv)
3907 ${ac_cxx_conftest_cxx98_main}
3912 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3913 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3914 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3915 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3916 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3917 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3918 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3919 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3920 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3922 # Auxiliary files required by this configure script.
3923 ac_aux_files="config.guess config.sub"
3925 # Locations in which to look for auxiliary files.
3926 ac_aux_dir_candidates="${srcdir}/tools"
3928 # Search for a directory containing all of the required auxiliary files,
3929 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3930 # If we don't
find one directory that contains all the files we need
,
3931 # we report the set of missing files from the *first* directory in
3932 # $ac_aux_dir_candidates and give up.
3933 ac_missing_aux_files
=""
3934 ac_first_candidate
=:
3935 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3936 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3938 for as_dir
in $ac_aux_dir_candidates
3941 case $as_dir in #(((
3944 *) as_dir
=$as_dir/ ;;
3948 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3949 ac_aux_dir_found
=yes
3951 for ac_aux
in $ac_aux_files
3953 # As a special case, if "install-sh" is required, that requirement
3954 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3955 # and $ac_install_sh is set appropriately for whichever one is found.
3956 if test x
"$ac_aux" = x
"install-sh"
3958 if test -f "${as_dir}install-sh"; then
3959 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
3960 ac_install_sh
="${as_dir}install-sh -c"
3961 elif test -f "${as_dir}install.sh"; then
3962 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
3963 ac_install_sh
="${as_dir}install.sh -c"
3964 elif test -f "${as_dir}shtool"; then
3965 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
3966 ac_install_sh
="${as_dir}shtool install -c"
3969 if $ac_first_candidate; then
3970 ac_missing_aux_files
="${ac_missing_aux_files} install-sh"
3976 if test -f "${as_dir}${ac_aux}"; then
3977 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
3980 if $ac_first_candidate; then
3981 ac_missing_aux_files
="${ac_missing_aux_files} ${ac_aux}"
3988 if test "$ac_aux_dir_found" = yes; then
3989 ac_aux_dir
="$as_dir"
3992 ac_first_candidate
=false
4001 as_fn_error $?
"cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4005 # These three variables are undocumented and unsupported,
4006 # and are intended to be withdrawn in a future Autoconf release.
4007 # They can cause serious problems if a builder's source tree is in a directory
4008 # whose full name contains unusual characters.
4009 if test -f "${ac_aux_dir}config.guess"; then
4010 ac_config_guess
="$SHELL ${ac_aux_dir}config.guess"
4012 if test -f "${ac_aux_dir}config.sub"; then
4013 ac_config_sub
="$SHELL ${ac_aux_dir}config.sub"
4015 if test -f "$ac_aux_dir/configure"; then
4016 ac_configure
="$SHELL ${ac_aux_dir}configure"
4019 # Check that the precious variables saved in the cache have kept the same
4021 ac_cache_corrupted
=false
4022 for ac_var
in $ac_precious_vars; do
4023 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
4024 eval ac_new_set
=\
$ac_env_${ac_var}_set
4025 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
4026 eval ac_new_val
=\
$ac_env_${ac_var}_value
4027 case $ac_old_set,$ac_new_set in
4029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4030 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4031 ac_cache_corrupted
=: ;;
4033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4034 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4035 ac_cache_corrupted
=: ;;
4038 if test "x$ac_old_val" != "x$ac_new_val"; then
4039 # differences in whitespace do not lead to failure.
4040 ac_old_val_w
=`echo x $ac_old_val`
4041 ac_new_val_w
=`echo x $ac_new_val`
4042 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4044 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4045 ac_cache_corrupted
=:
4047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4048 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4049 eval $ac_var=\
$ac_old_val
4051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4052 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4054 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4057 # Pass precious variables to config.status.
4058 if test "$ac_new_set" = set; then
4060 *\'*) ac_arg
=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4061 *) ac_arg
=$ac_var=$ac_new_val ;;
4063 case " $ac_configure_args " in
4064 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4065 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
4069 if $ac_cache_corrupted; then
4070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4071 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4073 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4074 as_fn_error $?
"run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4075 and start over" "$LINENO" 5
4077 ## -------------------- ##
4078 ## Main body of script. ##
4079 ## -------------------- ##
4082 ac_cpp
='$CPP $CPPFLAGS'
4083 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4084 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4085 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4089 ac_config_headers
="$ac_config_headers include/config.h"
4093 libwine_version
="1.0"
4096 # Check whether --enable-archs was given.
4097 if test ${enable_archs+y}
4099 enableval
=$enable_archs;
4102 # Check whether --enable-win16 was given.
4103 if test ${enable_win16+y}
4105 enableval
=$enable_win16;
4108 # Check whether --enable-win64 was given.
4109 if test ${enable_win64+y}
4111 enableval
=$enable_win64;
4114 # Check whether --enable-tests was given.
4115 if test ${enable_tests+y}
4117 enableval
=$enable_tests;
4120 # Check whether --enable-build-id was given.
4121 if test ${enable_build_id+y}
4123 enableval
=$enable_build_id;
4126 # Check whether --enable-maintainer-mode was given.
4127 if test ${enable_maintainer_mode+y}
4129 enableval
=$enable_maintainer_mode;
4132 # Check whether --enable-silent-rules was given.
4133 if test ${enable_silent_rules+y}
4135 enableval
=$enable_silent_rules;
4138 # Check whether --enable-werror was given.
4139 if test ${enable_werror+y}
4141 enableval
=$enable_werror;
4146 # Check whether --with-alsa was given.
4147 if test ${with_alsa+y}
4153 # Check whether --with-capi was given.
4154 if test ${with_capi+y}
4160 # Check whether --with-coreaudio was given.
4161 if test ${with_coreaudio+y}
4163 withval
=$with_coreaudio;
4167 # Check whether --with-cups was given.
4168 if test ${with_cups+y}
4174 # Check whether --with-dbus was given.
4175 if test ${with_dbus+y}
4181 # Check whether --with-float-abi was given.
4182 if test ${with_float_abi+y}
4184 withval
=$with_float_abi;
4188 # Check whether --with-fontconfig was given.
4189 if test ${with_fontconfig+y}
4191 withval
=$with_fontconfig;
4195 # Check whether --with-freetype was given.
4196 if test ${with_freetype+y}
4198 withval
=$with_freetype;
4202 # Check whether --with-gettext was given.
4203 if test ${with_gettext+y}
4205 withval
=$with_gettext;
4209 # Check whether --with-gettextpo was given.
4210 if test ${with_gettextpo+y}
4212 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
4216 # Check whether --with-gphoto was given.
4217 if test ${with_gphoto+y}
4219 withval
=$with_gphoto;
4223 # Check whether --with-gnutls was given.
4224 if test ${with_gnutls+y}
4226 withval
=$with_gnutls;
4230 # Check whether --with-gssapi was given.
4231 if test ${with_gssapi+y}
4233 withval
=$with_gssapi;
4237 # Check whether --with-gstreamer was given.
4238 if test ${with_gstreamer+y}
4240 withval
=$with_gstreamer;
4244 # Check whether --with-inotify was given.
4245 if test ${with_inotify+y}
4247 withval
=$with_inotify;
4251 # Check whether --with-krb5 was given.
4252 if test ${with_krb5+y}
4258 # Check whether --with-mingw was given.
4259 if test ${with_mingw+y}
4261 withval
=$with_mingw;
4265 # Check whether --with-netapi was given.
4266 if test ${with_netapi+y}
4268 withval
=$with_netapi;
4272 # Check whether --with-opencl was given.
4273 if test ${with_opencl+y}
4275 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
4279 # Check whether --with-opengl was given.
4280 if test ${with_opengl+y}
4282 withval
=$with_opengl;
4286 # Check whether --with-osmesa was given.
4287 if test ${with_osmesa+y}
4289 withval
=$with_osmesa;
4293 # Check whether --with-oss was given.
4294 if test ${with_oss+y}
4300 # Check whether --with-pcap was given.
4301 if test ${with_pcap+y}
4303 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
4307 # Check whether --with-pthread was given.
4308 if test ${with_pthread+y}
4310 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
4314 # Check whether --with-pulse was given.
4315 if test ${with_pulse+y}
4317 withval
=$with_pulse;
4321 # Check whether --with-sane was given.
4322 if test ${with_sane+y}
4328 # Check whether --with-sdl was given.
4329 if test ${with_sdl+y}
4335 # Check whether --with-udev was given.
4336 if test ${with_udev+y}
4342 # Check whether --with-unwind was given.
4343 if test ${with_unwind+y}
4345 withval
=$with_unwind;
4349 # Check whether --with-usb was given.
4350 if test ${with_usb+y}
4356 # Check whether --with-v4l2 was given.
4357 if test ${with_v4l2+y}
4363 # Check whether --with-vulkan was given.
4364 if test ${with_vulkan+y}
4366 withval
=$with_vulkan;
4370 # Check whether --with-xcomposite was given.
4371 if test ${with_xcomposite+y}
4373 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
4377 # Check whether --with-xcursor was given.
4378 if test ${with_xcursor+y}
4380 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
4384 # Check whether --with-xfixes was given.
4385 if test ${with_xfixes+y}
4387 withval
=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h
=no
; fi
4391 # Check whether --with-xinerama was given.
4392 if test ${with_xinerama+y}
4394 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
4398 # Check whether --with-xinput was given.
4399 if test ${with_xinput+y}
4401 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
4405 # Check whether --with-xinput2 was given.
4406 if test ${with_xinput2+y}
4408 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
4412 # Check whether --with-xrandr was given.
4413 if test ${with_xrandr+y}
4415 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
4419 # Check whether --with-xrender was given.
4420 if test ${with_xrender+y}
4422 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
4426 # Check whether --with-xshape was given.
4427 if test ${with_xshape+y}
4429 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
4433 # Check whether --with-xshm was given.
4434 if test ${with_xshm+y}
4436 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
4440 # Check whether --with-xxf86vm was given.
4441 if test ${with_xxf86vm+y}
4443 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
4448 # Check whether --with-system-dllpath was given.
4449 if test ${with_system_dllpath+y}
4451 withval
=$with_system_dllpath; system_dllpath
=$withval
4456 # Check whether --with-wine-tools was given.
4457 if test ${with_wine_tools+y}
4459 withval
=$with_wine_tools;
4463 # Check whether --with-wine64 was given.
4464 if test ${with_wine64+y}
4466 withval
=$with_wine64;
4473 # Make sure we can run config.sub.
4474 $SHELL "${ac_aux_dir}config.sub" sun4
>/dev
/null
2>&1 ||
4475 as_fn_error $?
"cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4478 printf %s
"checking build system type... " >&6; }
4479 if test ${ac_cv_build+y}
4481 printf %s
"(cached) " >&6
4483 ac_build_alias
=$build_alias
4484 test "x$ac_build_alias" = x
&&
4485 ac_build_alias
=`$SHELL "${ac_aux_dir}config.guess"`
4486 test "x$ac_build_alias" = x
&&
4487 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
4488 ac_cv_build
=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4489 as_fn_error $?
"$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4493 printf "%s\n" "$ac_cv_build" >&6; }
4494 case $ac_cv_build in
4496 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
4499 ac_save_IFS
=$IFS; IFS
='-'
4505 # Remember, the first character of IFS is used to create $*,
4506 # except with old shells:
4509 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
4512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4513 printf %s
"checking host system type... " >&6; }
4514 if test ${ac_cv_host+y}
4516 printf %s
"(cached) " >&6
4518 if test "x$host_alias" = x
; then
4519 ac_cv_host
=$ac_cv_build
4521 ac_cv_host
=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4522 as_fn_error $?
"$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4527 printf "%s\n" "$ac_cv_host" >&6; }
4530 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
4533 ac_save_IFS
=$IFS; IFS
='-'
4539 # Remember, the first character of IFS is used to create $*,
4540 # except with old shells:
4543 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4547 dlldir
=\
${libdir}/wine
4549 fontdir
=\
${datadir}/wine
/fonts
4551 nlsdir
=\
${datadir}/wine
/nls
4556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4557 printf %s
"checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4559 ac_make
=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4560 if eval test \
${ac_cv_prog_make_${ac_make}_set+y}
4562 printf %s
"(cached) " >&6
4564 cat >conftest.
make <<\_ACEOF
4567 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4569 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4570 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4572 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4574 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4578 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4580 printf "%s\n" "yes" >&6; }
4583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4584 printf "%s\n" "no" >&6; }
4585 SET_MAKE
="MAKE=${MAKE-make}"
4598 ac_cpp
='$CPP $CPPFLAGS'
4599 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4600 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4601 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4602 if test -n "$ac_tool_prefix"; then
4603 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4604 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4606 printf %s
"checking for $ac_word... " >&6; }
4607 if test ${ac_cv_prog_CC+y}
4609 printf %s
"(cached) " >&6
4611 if test -n "$CC"; then
4612 ac_cv_prog_CC
="$CC" # Let the user override the test.
4614 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4618 case $as_dir in #(((
4621 *) as_dir
=$as_dir/ ;;
4623 for ac_exec_ext
in '' $ac_executable_extensions; do
4624 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4625 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4626 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4636 if test -n "$CC"; then
4637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4638 printf "%s\n" "$CC" >&6; }
4640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4641 printf "%s\n" "no" >&6; }
4646 if test -z "$ac_cv_prog_CC"; then
4648 # Extract the first word of "gcc", so it can be a program name with args.
4649 set dummy gcc
; ac_word
=$2
4650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4651 printf %s
"checking for $ac_word... " >&6; }
4652 if test ${ac_cv_prog_ac_ct_CC+y}
4654 printf %s
"(cached) " >&6
4656 if test -n "$ac_ct_CC"; then
4657 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4659 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4663 case $as_dir in #(((
4666 *) as_dir
=$as_dir/ ;;
4668 for ac_exec_ext
in '' $ac_executable_extensions; do
4669 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4670 ac_cv_prog_ac_ct_CC
="gcc"
4671 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4680 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4681 if test -n "$ac_ct_CC"; then
4682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4683 printf "%s\n" "$ac_ct_CC" >&6; }
4685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4686 printf "%s\n" "no" >&6; }
4689 if test "x$ac_ct_CC" = x
; then
4692 case $cross_compiling:$ac_tool_warned in
4694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4695 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4696 ac_tool_warned
=yes ;;
4704 if test -z "$CC"; then
4705 if test -n "$ac_tool_prefix"; then
4706 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4707 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4709 printf %s
"checking for $ac_word... " >&6; }
4710 if test ${ac_cv_prog_CC+y}
4712 printf %s
"(cached) " >&6
4714 if test -n "$CC"; then
4715 ac_cv_prog_CC
="$CC" # Let the user override the test.
4717 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4721 case $as_dir in #(((
4724 *) as_dir
=$as_dir/ ;;
4726 for ac_exec_ext
in '' $ac_executable_extensions; do
4727 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4728 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4729 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4739 if test -n "$CC"; then
4740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4741 printf "%s\n" "$CC" >&6; }
4743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4744 printf "%s\n" "no" >&6; }
4750 if test -z "$CC"; then
4751 # Extract the first word of "cc", so it can be a program name with args.
4752 set dummy cc
; ac_word
=$2
4753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4754 printf %s
"checking for $ac_word... " >&6; }
4755 if test ${ac_cv_prog_CC+y}
4757 printf %s
"(cached) " >&6
4759 if test -n "$CC"; then
4760 ac_cv_prog_CC
="$CC" # Let the user override the test.
4763 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4767 case $as_dir in #(((
4770 *) as_dir
=$as_dir/ ;;
4772 for ac_exec_ext
in '' $ac_executable_extensions; do
4773 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4774 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4775 ac_prog_rejected
=yes
4779 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4786 if test $ac_prog_rejected = yes; then
4787 # We found a bogon in the path, so make sure we never use it.
4788 set dummy
$ac_cv_prog_CC
4790 if test $# != 0; then
4791 # We chose a different compiler from the bogus one.
4792 # However, it has the same basename, so the bogon will be chosen
4793 # first if we set CC to just the basename; use the full file name.
4795 ac_cv_prog_CC
="$as_dir$ac_word${1+' '}$@"
4801 if test -n "$CC"; then
4802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4803 printf "%s\n" "$CC" >&6; }
4805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4806 printf "%s\n" "no" >&6; }
4811 if test -z "$CC"; then
4812 if test -n "$ac_tool_prefix"; then
4813 for ac_prog
in cl.exe
4815 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4816 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4818 printf %s
"checking for $ac_word... " >&6; }
4819 if test ${ac_cv_prog_CC+y}
4821 printf %s
"(cached) " >&6
4823 if test -n "$CC"; then
4824 ac_cv_prog_CC
="$CC" # Let the user override the test.
4826 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4830 case $as_dir in #(((
4833 *) as_dir
=$as_dir/ ;;
4835 for ac_exec_ext
in '' $ac_executable_extensions; do
4836 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4837 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4838 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4848 if test -n "$CC"; then
4849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4850 printf "%s\n" "$CC" >&6; }
4852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4853 printf "%s\n" "no" >&6; }
4857 test -n "$CC" && break
4860 if test -z "$CC"; then
4862 for ac_prog
in cl.exe
4864 # Extract the first word of "$ac_prog", so it can be a program name with args.
4865 set dummy
$ac_prog; ac_word
=$2
4866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4867 printf %s
"checking for $ac_word... " >&6; }
4868 if test ${ac_cv_prog_ac_ct_CC+y}
4870 printf %s
"(cached) " >&6
4872 if test -n "$ac_ct_CC"; then
4873 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4875 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4879 case $as_dir in #(((
4882 *) as_dir
=$as_dir/ ;;
4884 for ac_exec_ext
in '' $ac_executable_extensions; do
4885 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4886 ac_cv_prog_ac_ct_CC
="$ac_prog"
4887 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4896 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4897 if test -n "$ac_ct_CC"; then
4898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4899 printf "%s\n" "$ac_ct_CC" >&6; }
4901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4902 printf "%s\n" "no" >&6; }
4906 test -n "$ac_ct_CC" && break
4909 if test "x$ac_ct_CC" = x
; then
4912 case $cross_compiling:$ac_tool_warned in
4914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4915 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4916 ac_tool_warned
=yes ;;
4923 if test -z "$CC"; then
4924 if test -n "$ac_tool_prefix"; then
4925 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4926 set dummy
${ac_tool_prefix}clang
; ac_word
=$2
4927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4928 printf %s
"checking for $ac_word... " >&6; }
4929 if test ${ac_cv_prog_CC+y}
4931 printf %s
"(cached) " >&6
4933 if test -n "$CC"; then
4934 ac_cv_prog_CC
="$CC" # Let the user override the test.
4936 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4940 case $as_dir in #(((
4943 *) as_dir
=$as_dir/ ;;
4945 for ac_exec_ext
in '' $ac_executable_extensions; do
4946 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4947 ac_cv_prog_CC
="${ac_tool_prefix}clang"
4948 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4958 if test -n "$CC"; then
4959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4960 printf "%s\n" "$CC" >&6; }
4962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4963 printf "%s\n" "no" >&6; }
4968 if test -z "$ac_cv_prog_CC"; then
4970 # Extract the first word of "clang", so it can be a program name with args.
4971 set dummy clang
; ac_word
=$2
4972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4973 printf %s
"checking for $ac_word... " >&6; }
4974 if test ${ac_cv_prog_ac_ct_CC+y}
4976 printf %s
"(cached) " >&6
4978 if test -n "$ac_ct_CC"; then
4979 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4981 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4985 case $as_dir in #(((
4988 *) as_dir
=$as_dir/ ;;
4990 for ac_exec_ext
in '' $ac_executable_extensions; do
4991 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4992 ac_cv_prog_ac_ct_CC
="clang"
4993 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5002 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5003 if test -n "$ac_ct_CC"; then
5004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5005 printf "%s\n" "$ac_ct_CC" >&6; }
5007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5008 printf "%s\n" "no" >&6; }
5011 if test "x$ac_ct_CC" = x
; then
5014 case $cross_compiling:$ac_tool_warned in
5016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5017 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5018 ac_tool_warned
=yes ;;
5029 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5030 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5031 as_fn_error $?
"no acceptable C compiler found in \$PATH
5032 See \`config.log' for more details" "$LINENO" 5; }
5034 # Provide some information about the compiler.
5035 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5038 for ac_option
in --version -v -V -qversion -version; do
5039 { { ac_try
="$ac_compiler $ac_option >&5"
5041 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5042 *) ac_try_echo=$ac_try;;
5044 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5045 printf "%s\n" "$ac_try_echo"; } >&5
5046 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5048 if test -s conftest.err; then
5050 ... rest of stderr output deleted ...
5051 10q' conftest.err >conftest.er1
5052 cat conftest.er1 >&5
5054 rm -f conftest.er1 conftest.err
5055 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5056 test $ac_status = 0; }
5059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5060 /* end confdefs.h. */
5070 ac_clean_files_save=$ac_clean_files
5071 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5072 # Try to create an executable without -o first, disregard a.out.
5073 # It will help us diagnose broken compilers, and finding out an intuition
5075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5076 printf %s "checking whether the C compiler works... " >&6; }
5077 ac_link_default=`printf "%s\n" "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
5079 # The possible output files:
5080 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5083 for ac_file in $ac_files
5086 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5087 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5092 if { { ac_try="$ac_link_default"
5094 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5095 *) ac_try_echo
=$ac_try;;
5097 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5098 printf "%s\n" "$ac_try_echo"; } >&5
5099 (eval "$ac_link_default") 2>&5
5101 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5102 test $ac_status = 0; }
5104 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5105 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5106 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5107 # so that the user can short-circuit this test for compilers unknown to
5109 for ac_file
in $ac_files ''
5111 test -f "$ac_file" ||
continue
5113 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
5116 # We found the default executable, but exeext='' is most
5120 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no
;
5122 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
5124 # We set ac_cv_exeext here because the later test for it is not
5125 # safe: cross compilers may not add the suffix if given an `-o'
5126 # argument, so we may need to know it at that point already.
5127 # Even if this section looks crufty: it has the advantage of
5134 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
5139 if test -z "$ac_file"
5141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5142 printf "%s\n" "no" >&6; }
5143 printf "%s\n" "$as_me: failed program was:" >&5
5144 sed 's/^/| /' conftest.
$ac_ext >&5
5146 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5147 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5148 as_fn_error
77 "C compiler cannot create executables
5149 See \`config.log' for more details" "$LINENO" 5; }
5151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5152 printf "%s\n" "yes" >&6; }
5154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5155 printf %s
"checking for C compiler default output file name... " >&6; }
5156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5157 printf "%s\n" "$ac_file" >&6; }
5158 ac_exeext
=$ac_cv_exeext
5160 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
5161 ac_clean_files
=$ac_clean_files_save
5162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5163 printf %s
"checking for suffix of executables... " >&6; }
5164 if { { ac_try
="$ac_link"
5166 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5167 *) ac_try_echo=$ac_try;;
5169 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5170 printf "%s\n" "$ac_try_echo"; } >&5
5171 (eval "$ac_link") 2>&5
5173 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5174 test $ac_status = 0; }
5176 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
5177 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
5178 # work properly (i.e., refer to `conftest.exe'), while it won't with
5180 for ac_file
in conftest.exe conftest conftest.
*; do
5181 test -f "$ac_file" ||
continue
5183 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
5184 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
5190 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5191 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5192 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
5193 See \`config.log' for more details" "$LINENO" 5; }
5195 rm -f conftest conftest
$ac_cv_exeext
5196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5197 printf "%s\n" "$ac_cv_exeext" >&6; }
5199 rm -f conftest.
$ac_ext
5200 EXEEXT
=$ac_cv_exeext
5202 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5203 /* end confdefs.h. */
5208 FILE *f = fopen ("conftest.out", "w");
5209 return ferror (f) || fclose (f) != 0;
5215 ac_clean_files
="$ac_clean_files conftest.out"
5216 # Check that the compiler produces executables we can run. If not, either
5217 # the compiler is broken, or we cross compile.
5218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5219 printf %s
"checking whether we are cross compiling... " >&6; }
5220 if test "$cross_compiling" != yes; then
5221 { { ac_try
="$ac_link"
5223 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5224 *) ac_try_echo=$ac_try;;
5226 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5227 printf "%s\n" "$ac_try_echo"; } >&5
5228 (eval "$ac_link") 2>&5
5230 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5231 test $ac_status = 0; }
5232 if { ac_try='./conftest$ac_cv_exeext'
5233 { { case "(($ac_try" in
5234 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5235 *) ac_try_echo
=$ac_try;;
5237 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5238 printf "%s\n" "$ac_try_echo"; } >&5
5239 (eval "$ac_try") 2>&5
5241 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5242 test $ac_status = 0; }; }; then
5245 if test "$cross_compiling" = maybe
; then
5248 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5249 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5250 as_fn_error
77 "cannot run C compiled programs.
5251 If you meant to cross compile, use \`--host'.
5252 See \`config.log' for more details" "$LINENO" 5; }
5256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5257 printf "%s\n" "$cross_compiling" >&6; }
5259 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
5260 ac_clean_files
=$ac_clean_files_save
5261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5262 printf %s
"checking for suffix of object files... " >&6; }
5263 if test ${ac_cv_objext+y}
5265 printf %s
"(cached) " >&6
5267 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5268 /* end confdefs.h. */
5278 rm -f conftest.o conftest.obj
5279 if { { ac_try
="$ac_compile"
5281 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5282 *) ac_try_echo=$ac_try;;
5284 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5285 printf "%s\n" "$ac_try_echo"; } >&5
5286 (eval "$ac_compile") 2>&5
5288 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5289 test $ac_status = 0; }
5291 for ac_file in conftest.o conftest.obj conftest.*; do
5292 test -f "$ac_file" || continue;
5294 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5295 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5300 printf "%s\n" "$as_me: failed program was:" >&5
5301 sed 's/^/| /' conftest.$ac_ext >&5
5303 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5304 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5305 as_fn_error $? "cannot compute suffix of object files
: cannot compile
5306 See \
`config.log' for more details" "$LINENO" 5; }
5308 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5311 printf "%s\n" "$ac_cv_objext" >&6; }
5312 OBJEXT=$ac_cv_objext
5314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5315 printf %s "checking whether the compiler supports GNU C... " >&6; }
5316 if test ${ac_cv_c_compiler_gnu+y}
5318 printf %s "(cached) " >&6
5320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5321 /* end confdefs.h. */
5334 if ac_fn_c_try_compile "$LINENO"
5340 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5341 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5345 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5348 if test $ac_compiler_gnu = yes; then
5353 ac_test_CFLAGS=${CFLAGS+y}
5354 ac_save_CFLAGS=$CFLAGS
5355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5356 printf %s "checking whether $CC accepts -g... " >&6; }
5357 if test ${ac_cv_prog_cc_g+y}
5359 printf %s "(cached) " >&6
5361 ac_save_c_werror_flag=$ac_c_werror_flag
5362 ac_c_werror_flag=yes
5365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5366 /* end confdefs.h. */
5376 if ac_fn_c_try_compile "$LINENO"
5381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5382 /* end confdefs.h. */
5392 if ac_fn_c_try_compile "$LINENO"
5396 ac_c_werror_flag=$ac_save_c_werror_flag
5398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5399 /* end confdefs.h. */
5409 if ac_fn_c_try_compile "$LINENO"
5413 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5415 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5417 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5418 ac_c_werror_flag=$ac_save_c_werror_flag
5420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5421 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5422 if test $ac_test_CFLAGS; then
5423 CFLAGS=$ac_save_CFLAGS
5424 elif test $ac_cv_prog_cc_g = yes; then
5425 if test "$GCC" = yes; then
5431 if test "$GCC" = yes; then
5438 if test x$ac_prog_cc_stdc = xno
5440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5441 printf %s "checking for $CC option to enable C11 features... " >&6; }
5442 if test ${ac_cv_prog_cc_c11+y}
5444 printf %s "(cached) " >&6
5446 ac_cv_prog_cc_c11=no
5448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5449 /* end confdefs.h. */
5450 $ac_c_conftest_c11_program
5452 for ac_arg in '' -std=gnu11
5454 CC="$ac_save_CC $ac_arg"
5455 if ac_fn_c_try_compile "$LINENO"
5457 ac_cv_prog_cc_c11=$ac_arg
5459 rm -f core conftest.err conftest.$ac_objext conftest.beam
5460 test "x$ac_cv_prog_cc_c11" != "xno" && break
5462 rm -f conftest.$ac_ext
5466 if test "x$ac_cv_prog_cc_c11" = xno
5468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5469 printf "%s\n" "unsupported" >&6; }
5471 if test "x$ac_cv_prog_cc_c11" = x
5473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5474 printf "%s\n" "none needed" >&6; }
5476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5477 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5478 CC="$CC $ac_cv_prog_cc_c11"
5480 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5484 if test x$ac_prog_cc_stdc = xno
5486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5487 printf %s "checking for $CC option to enable C99 features... " >&6; }
5488 if test ${ac_cv_prog_cc_c99+y}
5490 printf %s "(cached) " >&6
5492 ac_cv_prog_cc_c99=no
5494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5495 /* end confdefs.h. */
5496 $ac_c_conftest_c99_program
5498 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5500 CC="$ac_save_CC $ac_arg"
5501 if ac_fn_c_try_compile "$LINENO"
5503 ac_cv_prog_cc_c99=$ac_arg
5505 rm -f core conftest.err conftest.$ac_objext conftest.beam
5506 test "x$ac_cv_prog_cc_c99" != "xno" && break
5508 rm -f conftest.$ac_ext
5512 if test "x$ac_cv_prog_cc_c99" = xno
5514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5515 printf "%s\n" "unsupported" >&6; }
5517 if test "x$ac_cv_prog_cc_c99" = x
5519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5520 printf "%s\n" "none needed" >&6; }
5522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5523 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5524 CC="$CC $ac_cv_prog_cc_c99"
5526 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5530 if test x$ac_prog_cc_stdc = xno
5532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5533 printf %s "checking for $CC option to enable C89 features... " >&6; }
5534 if test ${ac_cv_prog_cc_c89+y}
5536 printf %s "(cached) " >&6
5538 ac_cv_prog_cc_c89=no
5540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5541 /* end confdefs.h. */
5542 $ac_c_conftest_c89_program
5544 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5546 CC="$ac_save_CC $ac_arg"
5547 if ac_fn_c_try_compile "$LINENO"
5549 ac_cv_prog_cc_c89=$ac_arg
5551 rm -f core conftest.err conftest.$ac_objext conftest.beam
5552 test "x$ac_cv_prog_cc_c89" != "xno" && break
5554 rm -f conftest.$ac_ext
5558 if test "x$ac_cv_prog_cc_c89" = xno
5560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5561 printf "%s\n" "unsupported" >&6; }
5563 if test "x$ac_cv_prog_cc_c89" = x
5565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5566 printf "%s\n" "none needed" >&6; }
5568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5569 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5570 CC="$CC $ac_cv_prog_cc_c89"
5572 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5578 ac_cpp='$CPP $CPPFLAGS'
5579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5590 ac_cpp='$CXXCPP $CPPFLAGS'
5591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5594 if test -z "$CXX"; then
5595 if test -n "$CCC"; then
5598 if test -n "$ac_tool_prefix"; then
5599 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5601 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5602 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5604 printf %s "checking for $ac_word... " >&6; }
5605 if test ${ac_cv_prog_CXX+y}
5607 printf %s "(cached) " >&6
5609 if test -n "$CXX"; then
5610 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5616 case $as_dir in #(((
5619 *) as_dir=$as_dir/ ;;
5621 for ac_exec_ext in '' $ac_executable_extensions; do
5622 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5623 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5624 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5634 if test -n "$CXX"; then
5635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5636 printf "%s\n" "$CXX" >&6; }
5638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5639 printf "%s\n" "no" >&6; }
5643 test -n "$CXX" && break
5646 if test -z "$CXX"; then
5648 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5650 # Extract the first word of "$ac_prog", so it can be a program name with args.
5651 set dummy $ac_prog; ac_word=$2
5652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5653 printf %s "checking for $ac_word... " >&6; }
5654 if test ${ac_cv_prog_ac_ct_CXX+y}
5656 printf %s "(cached) " >&6
5658 if test -n "$ac_ct_CXX"; then
5659 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5665 case $as_dir in #(((
5668 *) as_dir=$as_dir/ ;;
5670 for ac_exec_ext in '' $ac_executable_extensions; do
5671 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5672 ac_cv_prog_ac_ct_CXX="$ac_prog"
5673 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5682 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5683 if test -n "$ac_ct_CXX"; then
5684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5685 printf "%s\n" "$ac_ct_CXX" >&6; }
5687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5688 printf "%s\n" "no" >&6; }
5692 test -n "$ac_ct_CXX" && break
5695 if test "x$ac_ct_CXX" = x; then
5698 case $cross_compiling:$ac_tool_warned in
5700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5701 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5702 ac_tool_warned=yes ;;
5710 # Provide some information about the compiler.
5711 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5714 for ac_option in --version -v -V -qversion; do
5715 { { ac_try="$ac_compiler $ac_option >&5"
5717 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5718 *) ac_try_echo
=$ac_try;;
5720 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5721 printf "%s\n" "$ac_try_echo"; } >&5
5722 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5724 if test -s conftest.err
; then
5726 ... rest of stderr output deleted ...
5727 10q' conftest.err
>conftest.er1
5728 cat conftest.er1
>&5
5730 rm -f conftest.er1 conftest.err
5731 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5732 test $ac_status = 0; }
5735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5736 printf %s
"checking whether the compiler supports GNU C++... " >&6; }
5737 if test ${ac_cv_cxx_compiler_gnu+y}
5739 printf %s
"(cached) " >&6
5741 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5742 /* end confdefs.h. */
5755 if ac_fn_cxx_try_compile
"$LINENO"
5761 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5762 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5766 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5767 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5769 if test $ac_compiler_gnu = yes; then
5774 ac_test_CXXFLAGS
=${CXXFLAGS+y}
5775 ac_save_CXXFLAGS
=$CXXFLAGS
5776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5777 printf %s
"checking whether $CXX accepts -g... " >&6; }
5778 if test ${ac_cv_prog_cxx_g+y}
5780 printf %s
"(cached) " >&6
5782 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5783 ac_cxx_werror_flag
=yes
5786 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5787 /* end confdefs.h. */
5797 if ac_fn_cxx_try_compile
"$LINENO"
5799 ac_cv_prog_cxx_g
=yes
5802 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5803 /* end confdefs.h. */
5813 if ac_fn_cxx_try_compile
"$LINENO"
5817 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5819 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5820 /* end confdefs.h. */
5830 if ac_fn_cxx_try_compile
"$LINENO"
5832 ac_cv_prog_cxx_g
=yes
5834 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5836 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5838 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5839 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5842 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5843 if test $ac_test_CXXFLAGS; then
5844 CXXFLAGS
=$ac_save_CXXFLAGS
5845 elif test $ac_cv_prog_cxx_g = yes; then
5846 if test "$GXX" = yes; then
5852 if test "$GXX" = yes; then
5858 ac_prog_cxx_stdcxx
=no
5859 if test x
$ac_prog_cxx_stdcxx = xno
5861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5862 printf %s
"checking for $CXX option to enable C++11 features... " >&6; }
5863 if test ${ac_cv_prog_cxx_11+y}
5865 printf %s
"(cached) " >&6
5867 ac_cv_prog_cxx_11
=no
5869 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5870 /* end confdefs.h. */
5871 $ac_cxx_conftest_cxx11_program
5873 for ac_arg
in '' -std=gnu
++11 -std=gnu
++0x
-std=c
++11 -std=c
++0x
-qlanglvl=extended0x
-AA
5875 CXX
="$ac_save_CXX $ac_arg"
5876 if ac_fn_cxx_try_compile
"$LINENO"
5878 ac_cv_prog_cxx_cxx11
=$ac_arg
5880 rm -f core conftest.err conftest.
$ac_objext conftest.beam
5881 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5883 rm -f conftest.
$ac_ext
5887 if test "x$ac_cv_prog_cxx_cxx11" = xno
5889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5890 printf "%s\n" "unsupported" >&6; }
5892 if test "x$ac_cv_prog_cxx_cxx11" = x
5894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5895 printf "%s\n" "none needed" >&6; }
5897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5898 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5899 CXX
="$CXX $ac_cv_prog_cxx_cxx11"
5901 ac_cv_prog_cxx_stdcxx
=$ac_cv_prog_cxx_cxx11
5902 ac_prog_cxx_stdcxx
=cxx11
5905 if test x
$ac_prog_cxx_stdcxx = xno
5907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5908 printf %s
"checking for $CXX option to enable C++98 features... " >&6; }
5909 if test ${ac_cv_prog_cxx_98+y}
5911 printf %s
"(cached) " >&6
5913 ac_cv_prog_cxx_98
=no
5915 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5916 /* end confdefs.h. */
5917 $ac_cxx_conftest_cxx98_program
5919 for ac_arg
in '' -std=gnu
++98 -std=c
++98 -qlanglvl=extended
-AA
5921 CXX
="$ac_save_CXX $ac_arg"
5922 if ac_fn_cxx_try_compile
"$LINENO"
5924 ac_cv_prog_cxx_cxx98
=$ac_arg
5926 rm -f core conftest.err conftest.
$ac_objext conftest.beam
5927 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
5929 rm -f conftest.
$ac_ext
5933 if test "x$ac_cv_prog_cxx_cxx98" = xno
5935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5936 printf "%s\n" "unsupported" >&6; }
5938 if test "x$ac_cv_prog_cxx_cxx98" = x
5940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5941 printf "%s\n" "none needed" >&6; }
5943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
5944 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
5945 CXX
="$CXX $ac_cv_prog_cxx_cxx98"
5947 ac_cv_prog_cxx_stdcxx
=$ac_cv_prog_cxx_cxx98
5948 ac_prog_cxx_stdcxx
=cxx98
5953 ac_cpp
='$CPP $CPPFLAGS'
5954 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5955 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5956 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5958 if test -n "$ac_tool_prefix"; then
5959 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5960 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
5961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5962 printf %s
"checking for $ac_word... " >&6; }
5963 if test ${ac_cv_prog_CPPBIN+y}
5965 printf %s
"(cached) " >&6
5967 if test -n "$CPPBIN"; then
5968 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
5970 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5974 case $as_dir in #(((
5977 *) as_dir
=$as_dir/ ;;
5979 for ac_exec_ext
in '' $ac_executable_extensions; do
5980 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
5981 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
5982 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5991 CPPBIN
=$ac_cv_prog_CPPBIN
5992 if test -n "$CPPBIN"; then
5993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5994 printf "%s\n" "$CPPBIN" >&6; }
5996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5997 printf "%s\n" "no" >&6; }
6002 if test -z "$ac_cv_prog_CPPBIN"; then
6003 ac_ct_CPPBIN
=$CPPBIN
6004 # Extract the first word of "cpp", so it can be a program name with args.
6005 set dummy cpp
; ac_word
=$2
6006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6007 printf %s
"checking for $ac_word... " >&6; }
6008 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6010 printf %s
"(cached) " >&6
6012 if test -n "$ac_ct_CPPBIN"; then
6013 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
6015 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6019 case $as_dir in #(((
6022 *) as_dir
=$as_dir/ ;;
6024 for ac_exec_ext
in '' $ac_executable_extensions; do
6025 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6026 ac_cv_prog_ac_ct_CPPBIN
="cpp"
6027 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6036 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
6037 if test -n "$ac_ct_CPPBIN"; then
6038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6039 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6042 printf "%s\n" "no" >&6; }
6045 if test "x$ac_ct_CPPBIN" = x
; then
6048 case $cross_compiling:$ac_tool_warned in
6050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6051 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6052 ac_tool_warned
=yes ;;
6054 CPPBIN
=$ac_ct_CPPBIN
6057 CPPBIN
="$ac_cv_prog_CPPBIN"
6061 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6063 if test -n "$ac_tool_prefix"; then
6064 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6065 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
6066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6067 printf %s
"checking for $ac_word... " >&6; }
6068 if test ${ac_cv_prog_LD+y}
6070 printf %s
"(cached) " >&6
6072 if test -n "$LD"; then
6073 ac_cv_prog_LD
="$LD" # Let the user override the test.
6075 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6079 case $as_dir in #(((
6082 *) as_dir
=$as_dir/ ;;
6084 for ac_exec_ext
in '' $ac_executable_extensions; do
6085 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6086 ac_cv_prog_LD
="${ac_tool_prefix}ld"
6087 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6097 if test -n "$LD"; then
6098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6099 printf "%s\n" "$LD" >&6; }
6101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6102 printf "%s\n" "no" >&6; }
6107 if test -z "$ac_cv_prog_LD"; then
6109 # Extract the first word of "ld", so it can be a program name with args.
6110 set dummy ld
; ac_word
=$2
6111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6112 printf %s
"checking for $ac_word... " >&6; }
6113 if test ${ac_cv_prog_ac_ct_LD+y}
6115 printf %s
"(cached) " >&6
6117 if test -n "$ac_ct_LD"; then
6118 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
6120 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6124 case $as_dir in #(((
6127 *) as_dir
=$as_dir/ ;;
6129 for ac_exec_ext
in '' $ac_executable_extensions; do
6130 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6131 ac_cv_prog_ac_ct_LD
="ld"
6132 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6141 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
6142 if test -n "$ac_ct_LD"; then
6143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6144 printf "%s\n" "$ac_ct_LD" >&6; }
6146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6147 printf "%s\n" "no" >&6; }
6150 if test "x$ac_ct_LD" = x
; then
6153 case $cross_compiling:$ac_tool_warned in
6155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6156 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6157 ac_tool_warned
=yes ;;
6168 with_fontconfig
=${with_fontconfig:-no}
6170 *-mingw32*|
*-cygwin*)
6171 enable_win16
=${enable_win16:-no}
6172 with_mingw
=${with_mingw:-no}
6179 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x
"$enable_archs" = x
6184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6185 printf %s
"checking whether $CC works... " >&6; }
6186 if test ${wine_cv_cc_m32+y}
6188 printf %s
"(cached) " >&6
6190 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6191 /* end confdefs.h. */
6201 if ac_fn_c_try_link
"$LINENO"
6207 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6208 conftest
$ac_exeext conftest.
$ac_ext
6210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6211 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6212 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
6214 notice_platform
="32-bit "
6215 TARGETFLAGS
="$TARGETFLAGS -m32"
6216 PKG_CONFIG_LIBDIR
=${PKG_CONFIG_LIBDIR:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6217 export PKG_CONFIG_LIBDIR
6218 with_unwind
=${with_unwind:-no}
6220 if test "x${GCC}" = "xyes"
6222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6223 printf %s
"checking whether $CC supports __builtin_ms_va_list... " >&6; }
6224 if test ${wine_cv_builtin_ms_va_list+y}
6226 printf %s
"(cached) " >&6
6228 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6229 /* end confdefs.h. */
6234 void func(__builtin_ms_va_list *args);
6239 if ac_fn_c_try_compile
"$LINENO"
6241 wine_cv_builtin_ms_va_list
=yes
6243 wine_cv_builtin_ms_va_list
=no
6245 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6248 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6249 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
6254 notice_platform
="64-bit "
6255 TARGETFLAGS
="$TARGETFLAGS -m64"
6259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6260 printf %s
"checking whether $CC supports Thumb-2... " >&6; }
6261 if test ${wine_cv_thumb2+y}
6263 printf %s
"(cached) " >&6
6265 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6266 /* end confdefs.h. */
6271 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6276 if ac_fn_c_try_link
"$LINENO"
6282 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6283 conftest
$ac_exeext conftest.
$ac_ext
6285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6286 printf "%s\n" "$wine_cv_thumb2" >&6; }
6287 if test x
"$wine_cv_thumb2" = xyes
6289 CFLAGS
="$CFLAGS -mthumb"
6290 TARGETFLAGS
="$TARGETFLAGS -mthumb"
6292 CFLAGS
="$CFLAGS -marm"
6293 TARGETFLAGS
="$TARGETFLAGS -marm"
6295 case $with_float_abi in
6297 float_abi
=$with_float_abi ;;
6304 saved_CFLAGS
=$CFLAGS
6305 CFLAGS
="$CFLAGS -mfloat-abi=$float_abi"
6306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6307 printf %s
"checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6308 if test ${wine_cv_float_abi+y}
6310 printf %s
"(cached) " >&6
6312 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6313 /* end confdefs.h. */
6318 asm("vmrs r2,fpscr");
6323 if ac_fn_c_try_link
"$LINENO"
6325 wine_cv_float_abi
=yes
6327 wine_cv_float_abi
=no
6329 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6330 conftest
$ac_exeext conftest.
$ac_ext
6332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6333 printf "%s\n" "$wine_cv_float_abi" >&6; }
6334 if test $wine_cv_float_abi = no
6337 as_fn_append wine_warnings
"|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6339 CFLAGS
=$saved_CFLAGS
6343 CFLAGS
="$CFLAGS -mfloat-abi=$float_abi"
6344 TARGETFLAGS
="$TARGETFLAGS -mfloat-abi=$float_abi"
6347 with_unwind
=${with_unwind:-no}
6351 enable_win16
=${enable_win16:-i386}
6352 enable_win64
=${enable_win64:-no}
6353 enable_wow64
=${enable_wow64:-aarch64,x86_64}
6354 enable_wow64win
=${enable_wow64win:-aarch64,x86_64}
6355 enable_wow64cpu
=${enable_wow64cpu:-x86_64}
6357 enable_winetest
=${enable_winetest:-$enable_tests}
6359 if test "x$enable_win64" = "xyes"
6361 test -z "$with_wine64" || as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
6362 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6366 cygwin
*|mingw32
*) toolsext
=".exe"
6374 aarch64
*) HOST_ARCH
=aarch64
;;
6375 arm
*) HOST_ARCH
=arm
;;
6376 i
[3456789]86*) HOST_ARCH
=i386
;;
6377 x86_64
) HOST_ARCH
=x86_64
;;
6381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6382 printf %s
"checking for the directory containing the Wine tools... " >&6; }
6383 if test ${wine_cv_toolsdir+y}
6385 printf %s
"(cached) " >&6
6387 wine_cv_toolsdir
="$with_wine_tools"
6388 if test -z "$with_wine_tools"; then
6389 if test "$cross_compiling" = "yes"; then
6390 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6391 elif test -n "$with_wine64"; then
6392 wine_cv_toolsdir
="$with_wine64"
6396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6397 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6398 if test -z "$wine_cv_toolsdir"; then
6399 wine_makedep
=tools
/makedep
$toolsext
6400 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6401 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
$toolsext
6402 enable_tools
=${enable_tools:-no}
6403 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6405 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6407 toolsdir
=$wine_cv_toolsdir
6409 MAKEDEP
=$wine_makedep
6411 RUNTESTFLAGS
="-q -P wine"
6413 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'"
6416 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6418 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
6423 # Extract the first word of "$ac_prog", so it can be a program name with args.
6424 set dummy
$ac_prog; ac_word
=$2
6425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6426 printf %s
"checking for $ac_word... " >&6; }
6427 if test ${ac_cv_prog_FLEX+y}
6429 printf %s
"(cached) " >&6
6431 if test -n "$FLEX"; then
6432 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
6434 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6438 case $as_dir in #(((
6441 *) as_dir
=$as_dir/ ;;
6443 for ac_exec_ext
in '' $ac_executable_extensions; do
6444 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6445 ac_cv_prog_FLEX
="$ac_prog"
6446 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6455 FLEX
=$ac_cv_prog_FLEX
6456 if test -n "$FLEX"; then
6457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6458 printf "%s\n" "$FLEX" >&6; }
6460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6461 printf "%s\n" "no" >&6; }
6465 test -n "$FLEX" && break
6467 test -n "$FLEX" || FLEX
="none"
6469 if test "$FLEX" = "none"
6471 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6474 printf %s
"checking whether flex is recent enough... " >&6; }
6475 if test ${wine_cv_recent_flex+y}
6477 printf %s
"(cached) " >&6
6479 cat >conftest.l
<<EOF
6481 #include "prediluvian.h"
6485 if $FLEX -t conftest.l
>/dev
/null
2>&5
6487 wine_cv_recent_flex
=yes
6489 wine_cv_recent_flex
=no
6492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6493 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6494 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
6496 for ac_prog
in bison
6498 # Extract the first word of "$ac_prog", so it can be a program name with args.
6499 set dummy
$ac_prog; ac_word
=$2
6500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6501 printf %s
"checking for $ac_word... " >&6; }
6502 if test ${ac_cv_prog_BISON+y}
6504 printf %s
"(cached) " >&6
6506 if test -n "$BISON"; then
6507 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
6509 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6513 case $as_dir in #(((
6516 *) as_dir
=$as_dir/ ;;
6518 for ac_exec_ext
in '' $ac_executable_extensions; do
6519 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6520 ac_cv_prog_BISON
="$ac_prog"
6521 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6530 BISON
=$ac_cv_prog_BISON
6531 if test -n "$BISON"; then
6532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6533 printf "%s\n" "$BISON" >&6; }
6535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6536 printf "%s\n" "no" >&6; }
6540 test -n "$BISON" && break
6542 test -n "$BISON" || BISON
="none"
6544 if test "$BISON" = "none"
6546 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6549 printf %s
"checking whether bison is recent enough... " >&6; }
6550 if test ${wine_cv_recent_bison+y}
6552 printf %s
"(cached) " >&6
6554 cat >conftest.y
<<EOF
6555 %define parse.error verbose
6559 if $BISON conftest.y
>/dev
/null
2>&5
6561 wine_cv_recent_bison
=yes
6563 wine_cv_recent_bison
=no
6566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6567 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6568 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
6570 if test -n "$ac_tool_prefix"; then
6571 for ac_prog
in ar gar
6573 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6574 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6576 printf %s
"checking for $ac_word... " >&6; }
6577 if test ${ac_cv_prog_AR+y}
6579 printf %s
"(cached) " >&6
6581 if test -n "$AR"; then
6582 ac_cv_prog_AR
="$AR" # Let the user override the test.
6584 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6588 case $as_dir in #(((
6591 *) as_dir
=$as_dir/ ;;
6593 for ac_exec_ext
in '' $ac_executable_extensions; do
6594 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6595 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
6596 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6606 if test -n "$AR"; then
6607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6608 printf "%s\n" "$AR" >&6; }
6610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6611 printf "%s\n" "no" >&6; }
6615 test -n "$AR" && break
6618 if test -z "$AR"; then
6620 for ac_prog
in ar gar
6622 # Extract the first word of "$ac_prog", so it can be a program name with args.
6623 set dummy
$ac_prog; ac_word
=$2
6624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6625 printf %s
"checking for $ac_word... " >&6; }
6626 if test ${ac_cv_prog_ac_ct_AR+y}
6628 printf %s
"(cached) " >&6
6630 if test -n "$ac_ct_AR"; then
6631 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6633 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6637 case $as_dir in #(((
6640 *) as_dir
=$as_dir/ ;;
6642 for ac_exec_ext
in '' $ac_executable_extensions; do
6643 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6644 ac_cv_prog_ac_ct_AR
="$ac_prog"
6645 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6654 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6655 if test -n "$ac_ct_AR"; then
6656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6657 printf "%s\n" "$ac_ct_AR" >&6; }
6659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6660 printf "%s\n" "no" >&6; }
6664 test -n "$ac_ct_AR" && break
6667 if test "x$ac_ct_AR" = x
; then
6670 case $cross_compiling:$ac_tool_warned in
6672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6673 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6674 ac_tool_warned
=yes ;;
6680 if test -n "$ac_tool_prefix"; then
6681 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6682 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6684 printf %s
"checking for $ac_word... " >&6; }
6685 if test ${ac_cv_prog_STRIP+y}
6687 printf %s
"(cached) " >&6
6689 if test -n "$STRIP"; then
6690 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6692 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6696 case $as_dir in #(((
6699 *) as_dir
=$as_dir/ ;;
6701 for ac_exec_ext
in '' $ac_executable_extensions; do
6702 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6703 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6704 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6713 STRIP
=$ac_cv_prog_STRIP
6714 if test -n "$STRIP"; then
6715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6716 printf "%s\n" "$STRIP" >&6; }
6718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6719 printf "%s\n" "no" >&6; }
6724 if test -z "$ac_cv_prog_STRIP"; then
6726 # Extract the first word of "strip", so it can be a program name with args.
6727 set dummy strip
; ac_word
=$2
6728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6729 printf %s
"checking for $ac_word... " >&6; }
6730 if test ${ac_cv_prog_ac_ct_STRIP+y}
6732 printf %s
"(cached) " >&6
6734 if test -n "$ac_ct_STRIP"; then
6735 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6737 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6741 case $as_dir in #(((
6744 *) as_dir
=$as_dir/ ;;
6746 for ac_exec_ext
in '' $ac_executable_extensions; do
6747 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6748 ac_cv_prog_ac_ct_STRIP
="strip"
6749 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6758 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6759 if test -n "$ac_ct_STRIP"; then
6760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6761 printf "%s\n" "$ac_ct_STRIP" >&6; }
6763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6764 printf "%s\n" "no" >&6; }
6767 if test "x$ac_ct_STRIP" = x
; then
6770 case $cross_compiling:$ac_tool_warned in
6772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6773 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6774 ac_tool_warned
=yes ;;
6779 STRIP
="$ac_cv_prog_STRIP"
6782 if test -n "$ac_tool_prefix"; then
6783 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6784 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6786 printf %s
"checking for $ac_word... " >&6; }
6787 if test ${ac_cv_prog_RANLIB+y}
6789 printf %s
"(cached) " >&6
6791 if test -n "$RANLIB"; then
6792 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6794 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6798 case $as_dir in #(((
6801 *) as_dir
=$as_dir/ ;;
6803 for ac_exec_ext
in '' $ac_executable_extensions; do
6804 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6805 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6806 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6815 RANLIB
=$ac_cv_prog_RANLIB
6816 if test -n "$RANLIB"; then
6817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6818 printf "%s\n" "$RANLIB" >&6; }
6820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6821 printf "%s\n" "no" >&6; }
6826 if test -z "$ac_cv_prog_RANLIB"; then
6827 ac_ct_RANLIB
=$RANLIB
6828 # Extract the first word of "ranlib", so it can be a program name with args.
6829 set dummy ranlib
; ac_word
=$2
6830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6831 printf %s
"checking for $ac_word... " >&6; }
6832 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6834 printf %s
"(cached) " >&6
6836 if test -n "$ac_ct_RANLIB"; then
6837 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6839 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6843 case $as_dir in #(((
6846 *) as_dir
=$as_dir/ ;;
6848 for ac_exec_ext
in '' $ac_executable_extensions; do
6849 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6850 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6851 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6860 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6861 if test -n "$ac_ct_RANLIB"; then
6862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6863 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6866 printf "%s\n" "no" >&6; }
6869 if test "x$ac_ct_RANLIB" = x
; then
6872 case $cross_compiling:$ac_tool_warned in
6874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6875 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6876 ac_tool_warned
=yes ;;
6878 RANLIB
=$ac_ct_RANLIB
6881 RANLIB
="$ac_cv_prog_RANLIB"
6884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6885 printf %s
"checking whether ln -s works... " >&6; }
6887 if test "$LN_S" = "ln -s"; then
6888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6889 printf "%s\n" "yes" >&6; }
6891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6892 printf "%s\n" "no, using $LN_S" >&6; }
6895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6896 printf %s
"checking for grep that handles long lines and -e... " >&6; }
6897 if test ${ac_cv_path_GREP+y}
6899 printf %s
"(cached) " >&6
6901 if test -z "$GREP"; then
6902 ac_path_GREP_found
=false
6903 # Loop through the user's path and test for each of PROGNAME-LIST
6904 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6905 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6908 case $as_dir in #(((
6911 *) as_dir
=$as_dir/ ;;
6913 for ac_prog
in grep ggrep
6915 for ac_exec_ext
in '' $ac_executable_extensions; do
6916 ac_path_GREP
="$as_dir$ac_prog$ac_exec_ext"
6917 as_fn_executable_p
"$ac_path_GREP" ||
continue
6918 # Check for GNU ac_path_GREP and select it if it is found.
6919 # Check for GNU $ac_path_GREP
6920 case `"$ac_path_GREP" --version 2>&1` in
6922 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6925 printf %s
0123456789 >"conftest.in"
6928 cat "conftest.in" "conftest.in" >"conftest.tmp"
6929 mv "conftest.tmp" "conftest.in"
6930 cp "conftest.in" "conftest.nl"
6931 printf "%s\n" 'GREP' >> "conftest.nl"
6932 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6933 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6934 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6935 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6936 # Best one so far, save it but keep looking for a better one
6937 ac_cv_path_GREP
="$ac_path_GREP"
6938 ac_path_GREP_max
=$ac_count
6940 # 10*(2^10) chars as input seems more than enough
6941 test $ac_count -gt 10 && break
6943 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6946 $ac_path_GREP_found && break 3
6951 if test -z "$ac_cv_path_GREP"; then
6952 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6955 ac_cv_path_GREP
=$GREP
6959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6960 printf "%s\n" "$ac_cv_path_GREP" >&6; }
6961 GREP
="$ac_cv_path_GREP"
6964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6965 printf %s
"checking for egrep... " >&6; }
6966 if test ${ac_cv_path_EGREP+y}
6968 printf %s
"(cached) " >&6
6970 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6971 then ac_cv_path_EGREP
="$GREP -E"
6973 if test -z "$EGREP"; then
6974 ac_path_EGREP_found
=false
6975 # Loop through the user's path and test for each of PROGNAME-LIST
6976 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6977 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6980 case $as_dir in #(((
6983 *) as_dir
=$as_dir/ ;;
6985 for ac_prog
in egrep
6987 for ac_exec_ext
in '' $ac_executable_extensions; do
6988 ac_path_EGREP
="$as_dir$ac_prog$ac_exec_ext"
6989 as_fn_executable_p
"$ac_path_EGREP" ||
continue
6990 # Check for GNU ac_path_EGREP and select it if it is found.
6991 # Check for GNU $ac_path_EGREP
6992 case `"$ac_path_EGREP" --version 2>&1` in
6994 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
6997 printf %s
0123456789 >"conftest.in"
7000 cat "conftest.in" "conftest.in" >"conftest.tmp"
7001 mv "conftest.tmp" "conftest.in"
7002 cp "conftest.in" "conftest.nl"
7003 printf "%s\n" 'EGREP' >> "conftest.nl"
7004 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7005 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7006 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7007 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7008 # Best one so far, save it but keep looking for a better one
7009 ac_cv_path_EGREP
="$ac_path_EGREP"
7010 ac_path_EGREP_max
=$ac_count
7012 # 10*(2^10) chars as input seems more than enough
7013 test $ac_count -gt 10 && break
7015 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7018 $ac_path_EGREP_found && break 3
7023 if test -z "$ac_cv_path_EGREP"; then
7024 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7027 ac_cv_path_EGREP
=$EGREP
7032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7033 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7034 EGREP
="$ac_cv_path_EGREP"
7037 # Extract the first word of "ldconfig", so it can be a program name with args.
7038 set dummy ldconfig
; ac_word
=$2
7039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7040 printf %s
"checking for $ac_word... " >&6; }
7041 if test ${ac_cv_path_LDCONFIG+y}
7043 printf %s
"(cached) " >&6
7047 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
7050 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7051 for as_dir
in /sbin
/usr
/sbin
$PATH
7054 case $as_dir in #(((
7057 *) as_dir
=$as_dir/ ;;
7059 for ac_exec_ext
in '' $ac_executable_extensions; do
7060 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7061 ac_cv_path_LDCONFIG
="$as_dir$ac_word$ac_exec_ext"
7062 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7069 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
7073 LDCONFIG
=$ac_cv_path_LDCONFIG
7074 if test -n "$LDCONFIG"; then
7075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7076 printf "%s\n" "$LDCONFIG" >&6; }
7078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7079 printf "%s\n" "no" >&6; }
7083 for ac_prog
in msgfmt
7085 # Extract the first word of "$ac_prog", so it can be a program name with args.
7086 set dummy
$ac_prog; ac_word
=$2
7087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7088 printf %s
"checking for $ac_word... " >&6; }
7089 if test ${ac_cv_prog_MSGFMT+y}
7091 printf %s
"(cached) " >&6
7093 if test -n "$MSGFMT"; then
7094 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
7096 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7100 case $as_dir in #(((
7103 *) as_dir
=$as_dir/ ;;
7105 for ac_exec_ext
in '' $ac_executable_extensions; do
7106 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7107 ac_cv_prog_MSGFMT
="$ac_prog"
7108 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7117 MSGFMT
=$ac_cv_prog_MSGFMT
7118 if test -n "$MSGFMT"; then
7119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7120 printf "%s\n" "$MSGFMT" >&6; }
7122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7123 printf "%s\n" "no" >&6; }
7127 test -n "$MSGFMT" && break
7129 test -n "$MSGFMT" || MSGFMT
="false"
7131 if test ${ac_tool_prefix+y}
7133 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7134 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
7135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7136 printf %s
"checking for $ac_word... " >&6; }
7137 if test ${ac_cv_prog_PKG_CONFIG+y}
7139 printf %s
"(cached) " >&6
7141 if test -n "$PKG_CONFIG"; then
7142 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
7144 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7148 case $as_dir in #(((
7151 *) as_dir
=$as_dir/ ;;
7153 for ac_exec_ext
in '' $ac_executable_extensions; do
7154 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7155 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
7156 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7165 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7166 if test -n "$PKG_CONFIG"; then
7167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7168 printf "%s\n" "$PKG_CONFIG" >&6; }
7170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7171 printf "%s\n" "no" >&6; }
7176 if ${ac_cv_prog_PKG_CONFIG:+false} :
7178 if test "x$cross_compiling" = xyes
7182 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
7183 # Extract the first word of "pkg-config", so it can be a program name with args.
7184 set dummy pkg-config
; ac_word
=$2
7185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7186 printf %s
"checking for $ac_word... " >&6; }
7187 if test ${ac_cv_prog_PKG_CONFIG+y}
7189 printf %s
"(cached) " >&6
7191 if test -n "$PKG_CONFIG"; then
7192 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
7194 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7198 case $as_dir in #(((
7201 *) as_dir
=$as_dir/ ;;
7203 for ac_exec_ext
in '' $ac_executable_extensions; do
7204 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7205 ac_cv_prog_PKG_CONFIG
="pkg-config"
7206 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7215 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7216 if test -n "$PKG_CONFIG"; then
7217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7218 printf "%s\n" "$PKG_CONFIG" >&6; }
7220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7221 printf "%s\n" "no" >&6; }
7227 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7230 if test "x$enable_maintainer_mode" != "xyes"
7237 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
7238 for ac_prog
in fontforge
7240 # Extract the first word of "$ac_prog", so it can be a program name with args.
7241 set dummy
$ac_prog; ac_word
=$2
7242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7243 printf %s
"checking for $ac_word... " >&6; }
7244 if test ${ac_cv_prog_FONTFORGE+y}
7246 printf %s
"(cached) " >&6
7248 if test -n "$FONTFORGE"; then
7249 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
7251 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7255 case $as_dir in #(((
7258 *) as_dir
=$as_dir/ ;;
7260 for ac_exec_ext
in '' $ac_executable_extensions; do
7261 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7262 ac_cv_prog_FONTFORGE
="$ac_prog"
7263 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7272 FONTFORGE
=$ac_cv_prog_FONTFORGE
7273 if test -n "$FONTFORGE"; then
7274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7275 printf "%s\n" "$FONTFORGE" >&6; }
7277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7278 printf "%s\n" "no" >&6; }
7282 test -n "$FONTFORGE" && break
7284 test -n "$FONTFORGE" || FONTFORGE
="false"
7286 for ac_prog
in rsvg-convert rsvg
7288 # Extract the first word of "$ac_prog", so it can be a program name with args.
7289 set dummy
$ac_prog; ac_word
=$2
7290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7291 printf %s
"checking for $ac_word... " >&6; }
7292 if test ${ac_cv_prog_RSVG+y}
7294 printf %s
"(cached) " >&6
7296 if test -n "$RSVG"; then
7297 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
7299 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7303 case $as_dir in #(((
7306 *) as_dir
=$as_dir/ ;;
7308 for ac_exec_ext
in '' $ac_executable_extensions; do
7309 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7310 ac_cv_prog_RSVG
="$ac_prog"
7311 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7320 RSVG
=$ac_cv_prog_RSVG
7321 if test -n "$RSVG"; then
7322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7323 printf "%s\n" "$RSVG" >&6; }
7325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7326 printf "%s\n" "no" >&6; }
7330 test -n "$RSVG" && break
7332 test -n "$RSVG" || RSVG
="false"
7334 for ac_prog
in convert
7336 # Extract the first word of "$ac_prog", so it can be a program name with args.
7337 set dummy
$ac_prog; ac_word
=$2
7338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7339 printf %s
"checking for $ac_word... " >&6; }
7340 if test ${ac_cv_prog_CONVERT+y}
7342 printf %s
"(cached) " >&6
7344 if test -n "$CONVERT"; then
7345 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
7347 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7351 case $as_dir in #(((
7354 *) as_dir
=$as_dir/ ;;
7356 for ac_exec_ext
in '' $ac_executable_extensions; do
7357 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7358 ac_cv_prog_CONVERT
="$ac_prog"
7359 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7368 CONVERT
=$ac_cv_prog_CONVERT
7369 if test -n "$CONVERT"; then
7370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7371 printf "%s\n" "$CONVERT" >&6; }
7373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7374 printf "%s\n" "no" >&6; }
7378 test -n "$CONVERT" && break
7380 test -n "$CONVERT" || CONVERT
="false"
7382 for ac_prog
in icotool
7384 # Extract the first word of "$ac_prog", so it can be a program name with args.
7385 set dummy
$ac_prog; ac_word
=$2
7386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7387 printf %s
"checking for $ac_word... " >&6; }
7388 if test ${ac_cv_prog_ICOTOOL+y}
7390 printf %s
"(cached) " >&6
7392 if test -n "$ICOTOOL"; then
7393 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
7395 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7399 case $as_dir in #(((
7402 *) as_dir
=$as_dir/ ;;
7404 for ac_exec_ext
in '' $ac_executable_extensions; do
7405 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7406 ac_cv_prog_ICOTOOL
="$ac_prog"
7407 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7416 ICOTOOL
=$ac_cv_prog_ICOTOOL
7417 if test -n "$ICOTOOL"; then
7418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7419 printf "%s\n" "$ICOTOOL" >&6; }
7421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7422 printf "%s\n" "no" >&6; }
7426 test -n "$ICOTOOL" && break
7428 test -n "$ICOTOOL" || ICOTOOL
="false"
7430 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7431 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7433 if test "$CONVERT" = false
7435 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7438 printf %s
"checking for recent enough imagemagick... " >&6; }
7439 convert_version
=`convert --version | head -n1`
7440 if test "x$convert_version" != "x"
7442 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7443 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7444 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7449 if test "$CONVERT" = false
7451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7452 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7453 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7456 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7460 if test "$ICOTOOL" = false
7462 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7465 printf %s
"checking for recent enough icotool... " >&6; }
7466 icotool_version
=`icotool --version | head -n1`
7467 if test "x$icotool_version" != "x"
7469 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7470 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7471 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7474 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
7477 if test "$ICOTOOL" = false
7479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7480 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7481 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7484 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7494 test "x$with_gettext" != xno || MSGFMT
=false
7495 if test "$MSGFMT" != "false"
7497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7498 printf %s
"checking whether msgfmt supports contexts... " >&6; }
7499 if test ${wine_cv_msgfmt_contexts+y}
7501 printf %s
"(cached) " >&6
7503 cat >conftest.po
<<EOF
7509 if $MSGFMT -o /dev
/null conftest.po
2>&5
7511 wine_cv_msgfmt_contexts
=yes
7513 wine_cv_msgfmt_contexts
=no
7516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7517 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7518 test $wine_cv_msgfmt_contexts != no || MSGFMT
=false
7520 if test "$MSGFMT" = false
7522 case "x$with_gettext" in
7523 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
7525 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
7526 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7528 enable_po
=${enable_po:-no}
7532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7533 printf %s
"checking for i386_set_ldt in -li386... " >&6; }
7534 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7536 printf %s
"(cached) " >&6
7538 ac_check_lib_save_LIBS
=$LIBS
7540 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7541 /* end confdefs.h. */
7543 /* Override any GCC internal prototype to avoid an error.
7544 Use char because int might match the return type of a GCC
7545 builtin and then its argument prototype would still apply. */
7546 char i386_set_ldt ();
7550 return i386_set_ldt ();
7555 if ac_fn_c_try_link
"$LINENO"
7557 ac_cv_lib_i386_i386_set_ldt
=yes
7559 ac_cv_lib_i386_i386_set_ldt
=no
7561 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
7562 conftest
$ac_exeext conftest.
$ac_ext
7563 LIBS
=$ac_check_lib_save_LIBS
7565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7566 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7567 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7578 # Check whether --enable-largefile was given.
7579 if test ${enable_largefile+y}
7581 enableval
=$enable_largefile;
7584 if test "$enable_largefile" != no
; then
7586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7587 printf %s
"checking for special C compiler options needed for large files... " >&6; }
7588 if test ${ac_cv_sys_largefile_CC+y}
7590 printf %s
"(cached) " >&6
7592 ac_cv_sys_largefile_CC
=no
7593 if test "$GCC" != yes; then
7596 # IRIX 6.2 and later do not support large files by default,
7597 # so use the C compiler's -n32 option if that helps.
7598 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7599 /* end confdefs.h. */
7600 #include <sys/types.h>
7601 /* Check that off_t can represent 2**63 - 1 correctly.
7602 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7603 since some C++ compilers masquerading as C compilers
7604 incorrectly reject 9223372036854775807. */
7605 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7606 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7607 && LARGE_OFF_T % 2147483647 == 1)
7617 if ac_fn_c_try_compile
"$LINENO"
7621 rm -f core conftest.err conftest.
$ac_objext conftest.beam
7623 if ac_fn_c_try_compile
"$LINENO"
7625 ac_cv_sys_largefile_CC
=' -n32'; break
7627 rm -f core conftest.err conftest.
$ac_objext conftest.beam
7631 rm -f conftest.
$ac_ext
7634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7635 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7636 if test "$ac_cv_sys_largefile_CC" != no
; then
7637 CC
=$CC$ac_cv_sys_largefile_CC
7640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7641 printf %s
"checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7642 if test ${ac_cv_sys_file_offset_bits+y}
7644 printf %s
"(cached) " >&6
7647 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7648 /* end confdefs.h. */
7649 #include <sys/types.h>
7650 /* Check that off_t can represent 2**63 - 1 correctly.
7651 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7652 since some C++ compilers masquerading as C compilers
7653 incorrectly reject 9223372036854775807. */
7654 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7655 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7656 && LARGE_OFF_T % 2147483647 == 1)
7666 if ac_fn_c_try_compile
"$LINENO"
7668 ac_cv_sys_file_offset_bits
=no
; break
7670 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7671 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7672 /* end confdefs.h. */
7673 #define _FILE_OFFSET_BITS 64
7674 #include <sys/types.h>
7675 /* Check that off_t can represent 2**63 - 1 correctly.
7676 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7677 since some C++ compilers masquerading as C compilers
7678 incorrectly reject 9223372036854775807. */
7679 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7680 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7681 && LARGE_OFF_T % 2147483647 == 1)
7691 if ac_fn_c_try_compile
"$LINENO"
7693 ac_cv_sys_file_offset_bits
=64; break
7695 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7696 ac_cv_sys_file_offset_bits
=unknown
7700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7701 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7702 case $ac_cv_sys_file_offset_bits in #(
7705 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7709 if test $ac_cv_sys_file_offset_bits = unknown
; then
7710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7711 printf %s
"checking for _LARGE_FILES value needed for large files... " >&6; }
7712 if test ${ac_cv_sys_large_files+y}
7714 printf %s
"(cached) " >&6
7717 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7718 /* end confdefs.h. */
7719 #include <sys/types.h>
7720 /* Check that off_t can represent 2**63 - 1 correctly.
7721 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7722 since some C++ compilers masquerading as C compilers
7723 incorrectly reject 9223372036854775807. */
7724 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7725 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7726 && LARGE_OFF_T % 2147483647 == 1)
7736 if ac_fn_c_try_compile
"$LINENO"
7738 ac_cv_sys_large_files
=no
; break
7740 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7741 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7742 /* end confdefs.h. */
7743 #define _LARGE_FILES 1
7744 #include <sys/types.h>
7745 /* Check that off_t can represent 2**63 - 1 correctly.
7746 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7747 since some C++ compilers masquerading as C compilers
7748 incorrectly reject 9223372036854775807. */
7749 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7750 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7751 && LARGE_OFF_T % 2147483647 == 1)
7761 if ac_fn_c_try_compile
"$LINENO"
7763 ac_cv_sys_large_files
=1; break
7765 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7766 ac_cv_sys_large_files
=unknown
7770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7771 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7772 case $ac_cv_sys_large_files in #(
7775 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7783 ac_header
= ac_cache
=
7784 for ac_item
in $ac_header_c_list
7786 if test $ac_cache; then
7787 ac_fn_c_check_header_compile
"$LINENO" $ac_header ac_cv_header_
$ac_cache "$ac_includes_default"
7788 if eval test \"x\
$ac_cv_header_$ac_cache\" = xyes
; then
7789 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7791 ac_header
= ac_cache
=
7792 elif test $ac_header; then
7806 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7809 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7812 ac_fn_c_check_header_compile
"$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7813 if test "x$ac_cv_header_CL_cl_h" = xyes
7815 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7818 ac_fn_c_check_header_compile
"$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7819 if test "x$ac_cv_header_EGL_egl_h" = xyes
7821 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7824 ac_fn_c_check_header_compile
"$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7825 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7827 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7830 ac_fn_c_check_header_compile
"$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7831 if test "x$ac_cv_header_arpa_inet_h" = xyes
7833 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7836 ac_fn_c_check_header_compile
"$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7837 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7839 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7842 ac_fn_c_check_header_compile
"$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7843 if test "x$ac_cv_header_asm_types_h" = xyes
7845 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7848 ac_fn_c_check_header_compile
"$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7849 if test "x$ac_cv_header_asm_user_h" = xyes
7851 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7854 ac_fn_c_check_header_compile
"$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7855 if test "x$ac_cv_header_elf_h" = xyes
7857 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7860 ac_fn_c_check_header_compile
"$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7861 if test "x$ac_cv_header_float_h" = xyes
7863 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7866 ac_fn_c_check_header_compile
"$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7867 if test "x$ac_cv_header_gettext_po_h" = xyes
7869 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7872 ac_fn_c_check_header_compile
"$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7873 if test "x$ac_cv_header_libproc_h" = xyes
7875 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7878 ac_fn_c_check_header_compile
"$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7879 if test "x$ac_cv_header_link_h" = xyes
7881 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7884 ac_fn_c_check_header_compile
"$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7885 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7887 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7890 ac_fn_c_check_header_compile
"$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7891 if test "x$ac_cv_header_linux_filter_h" = xyes
7893 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7896 ac_fn_c_check_header_compile
"$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7897 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7899 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7902 ac_fn_c_check_header_compile
"$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7903 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7905 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7908 ac_fn_c_check_header_compile
"$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7909 if test "x$ac_cv_header_linux_input_h" = xyes
7911 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7914 ac_fn_c_check_header_compile
"$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7915 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7917 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7920 ac_fn_c_check_header_compile
"$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7921 if test "x$ac_cv_header_linux_major_h" = xyes
7923 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7926 ac_fn_c_check_header_compile
"$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7927 if test "x$ac_cv_header_linux_param_h" = xyes
7929 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
7932 ac_fn_c_check_header_compile
"$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
7933 if test "x$ac_cv_header_linux_serial_h" = xyes
7935 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
7938 ac_fn_c_check_header_compile
"$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
7939 if test "x$ac_cv_header_linux_types_h" = xyes
7941 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
7944 ac_fn_c_check_header_compile
"$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
7945 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
7947 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
7950 ac_fn_c_check_header_compile
"$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
7951 if test "x$ac_cv_header_lwp_h" = xyes
7953 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
7956 ac_fn_c_check_header_compile
"$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
7957 if test "x$ac_cv_header_mach_o_loader_h" = xyes
7959 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
7962 ac_fn_c_check_header_compile
"$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
7963 if test "x$ac_cv_header_mach_mach_h" = xyes
7965 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
7968 ac_fn_c_check_header_compile
"$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
7969 if test "x$ac_cv_header_machine_cpu_h" = xyes
7971 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
7974 ac_fn_c_check_header_compile
"$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
7975 if test "x$ac_cv_header_machine_sysarch_h" = xyes
7977 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
7980 ac_fn_c_check_header_compile
"$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
7981 if test "x$ac_cv_header_mntent_h" = xyes
7983 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
7986 ac_fn_c_check_header_compile
"$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
7987 if test "x$ac_cv_header_netdb_h" = xyes
7989 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
7992 ac_fn_c_check_header_compile
"$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
7993 if test "x$ac_cv_header_netinet_in_h" = xyes
7995 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
7998 ac_fn_c_check_header_compile
"$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
7999 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8001 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8004 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8005 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8007 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8010 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8011 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8013 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8016 ac_fn_c_check_header_compile
"$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8017 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8019 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8022 ac_fn_c_check_header_compile
"$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8023 if test "x$ac_cv_header_port_h" = xyes
8025 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8028 ac_fn_c_check_header_compile
"$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8029 if test "x$ac_cv_header_pthread_h" = xyes
8031 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8034 ac_fn_c_check_header_compile
"$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8035 if test "x$ac_cv_header_pwd_h" = xyes
8037 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8040 ac_fn_c_check_header_compile
"$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8041 if test "x$ac_cv_header_sched_h" = xyes
8043 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8046 ac_fn_c_check_header_compile
"$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8047 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8049 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8052 ac_fn_c_check_header_compile
"$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8053 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8055 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8058 ac_fn_c_check_header_compile
"$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8059 if test "x$ac_cv_header_scsi_sg_h" = xyes
8061 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8064 ac_fn_c_check_header_compile
"$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8065 if test "x$ac_cv_header_stdint_h" = xyes
8067 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8070 ac_fn_c_check_header_compile
"$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8071 if test "x$ac_cv_header_sys_attr_h" = xyes
8073 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8076 ac_fn_c_check_header_compile
"$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8077 if test "x$ac_cv_header_sys_auxv_h" = xyes
8079 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8082 ac_fn_c_check_header_compile
"$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8083 if test "x$ac_cv_header_sys_cdio_h" = xyes
8085 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8088 ac_fn_c_check_header_compile
"$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8089 if test "x$ac_cv_header_sys_epoll_h" = xyes
8091 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8094 ac_fn_c_check_header_compile
"$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8095 if test "x$ac_cv_header_sys_event_h" = xyes
8097 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8100 ac_fn_c_check_header_compile
"$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
8101 if test "x$ac_cv_header_sys_extattr_h" = xyes
8103 printf "%s\n" "#define HAVE_SYS_EXTATTR_H 1" >>confdefs.h
8106 ac_fn_c_check_header_compile
"$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8107 if test "x$ac_cv_header_sys_filio_h" = xyes
8109 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8112 ac_fn_c_check_header_compile
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8113 if test "x$ac_cv_header_sys_ipc_h" = xyes
8115 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8118 ac_fn_c_check_header_compile
"$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8119 if test "x$ac_cv_header_sys_link_h" = xyes
8121 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8124 ac_fn_c_check_header_compile
"$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8125 if test "x$ac_cv_header_sys_modem_h" = xyes
8127 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8130 ac_fn_c_check_header_compile
"$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8131 if test "x$ac_cv_header_sys_mtio_h" = xyes
8133 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8136 ac_fn_c_check_header_compile
"$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8137 if test "x$ac_cv_header_sys_param_h" = xyes
8139 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8142 ac_fn_c_check_header_compile
"$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8143 if test "x$ac_cv_header_sys_prctl_h" = xyes
8145 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8148 ac_fn_c_check_header_compile
"$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8149 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8151 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8154 ac_fn_c_check_header_compile
"$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8155 if test "x$ac_cv_header_sys_queue_h" = xyes
8157 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8160 ac_fn_c_check_header_compile
"$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8161 if test "x$ac_cv_header_sys_random_h" = xyes
8163 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8166 ac_fn_c_check_header_compile
"$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8167 if test "x$ac_cv_header_sys_resource_h" = xyes
8169 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8172 ac_fn_c_check_header_compile
"$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8173 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8175 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8178 ac_fn_c_check_header_compile
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8179 if test "x$ac_cv_header_sys_shm_h" = xyes
8181 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8184 ac_fn_c_check_header_compile
"$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8185 if test "x$ac_cv_header_sys_signal_h" = xyes
8187 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8190 ac_fn_c_check_header_compile
"$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8191 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8193 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8196 ac_fn_c_check_header_compile
"$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8197 if test "x$ac_cv_header_sys_sockio_h" = xyes
8199 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8202 ac_fn_c_check_header_compile
"$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8203 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8205 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8208 ac_fn_c_check_header_compile
"$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8209 if test "x$ac_cv_header_sys_strtio_h" = xyes
8211 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8214 ac_fn_c_check_header_compile
"$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8215 if test "x$ac_cv_header_sys_syscall_h" = xyes
8217 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8220 ac_fn_c_check_header_compile
"$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8221 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8223 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8226 ac_fn_c_check_header_compile
"$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8227 if test "x$ac_cv_header_sys_times_h" = xyes
8229 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8232 ac_fn_c_check_header_compile
"$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8233 if test "x$ac_cv_header_sys_uio_h" = xyes
8235 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8238 ac_fn_c_check_header_compile
"$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8239 if test "x$ac_cv_header_sys_user_h" = xyes
8241 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8244 ac_fn_c_check_header_compile
"$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8245 if test "x$ac_cv_header_sys_utsname_h" = xyes
8247 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8250 ac_fn_c_check_header_compile
"$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8251 if test "x$ac_cv_header_sys_vnode_h" = xyes
8253 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8256 ac_fn_c_check_header_compile
"$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8257 if test "x$ac_cv_header_sys_xattr_h" = xyes
8259 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8262 ac_fn_c_check_header_compile
"$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8263 if test "x$ac_cv_header_syscall_h" = xyes
8265 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8268 ac_fn_c_check_header_compile
"$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8269 if test "x$ac_cv_header_utime_h" = xyes
8271 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8274 ac_fn_c_check_header_compile
"$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8275 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8277 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8280 ac_fn_c_check_header_compile
"$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8281 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8283 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8287 ac_fn_c_check_header_compile
"$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8288 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8291 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8295 if test $ac_cv_header_sys_mkdev_h = no
; then
8296 ac_fn_c_check_header_compile
"$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8297 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8300 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8306 printf %s
"checking whether stat file-mode macros are broken... " >&6; }
8307 if test ${ac_cv_header_stat_broken+y}
8309 printf %s
"(cached) " >&6
8311 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8312 /* end confdefs.h. */
8313 #include <sys/types.h>
8314 #include <sys/stat.h>
8316 #if defined S_ISBLK && defined S_IFDIR
8317 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8320 #if defined S_ISBLK && defined S_IFCHR
8321 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8324 #if defined S_ISLNK && defined S_IFREG
8325 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8328 #if defined S_ISSOCK && defined S_IFREG
8329 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8333 if ac_fn_c_try_compile
"$LINENO"
8335 ac_cv_header_stat_broken
=no
8337 ac_cv_header_stat_broken
=yes
8339 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8342 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8343 if test $ac_cv_header_stat_broken = yes; then
8345 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8351 ac_fn_c_check_header_compile
"$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8352 #ifdef HAVE_SYS_PARAM_H
8353 # include <sys/param.h>
8356 if test "x$ac_cv_header_sys_conf_h" = xyes
8358 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8361 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8362 #ifdef HAVE_SYS_PARAM_H
8363 # include <sys/param.h>
8366 if test "x$ac_cv_header_sys_mount_h" = xyes
8368 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8371 ac_fn_c_check_header_compile
"$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8372 #ifdef HAVE_SYS_PARAM_H
8373 # include <sys/param.h>
8376 if test "x$ac_cv_header_sys_statfs_h" = xyes
8378 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8381 ac_fn_c_check_header_compile
"$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8382 #ifdef HAVE_SYS_PARAM_H
8383 # include <sys/param.h>
8386 if test "x$ac_cv_header_sys_user_h" = xyes
8388 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8391 ac_fn_c_check_header_compile
"$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8392 #ifdef HAVE_SYS_PARAM_H
8393 # include <sys/param.h>
8396 if test "x$ac_cv_header_sys_vfs_h" = xyes
8398 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8403 saved_sysctl_h_CFLAGS
=$CFLAGS
8404 test "x${GCC}" != xyes || CFLAGS
="$CFLAGS -Werror"
8405 ac_fn_c_check_header_compile
"$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8406 #ifdef HAVE_SYS_PARAM_H
8407 # include <sys/param.h>
8410 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8412 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8416 CFLAGS
=$saved_sysctl_h_CFLAGS
8418 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8419 #include <sys/socket.h>
8420 #ifdef HAVE_SYS_SOCKETVAR_H
8421 # include <sys/socketvar.h>
8423 #ifdef HAVE_NET_ROUTE_H
8424 # include <net/route.h>
8426 #ifdef HAVE_NETINET_IN_H
8427 # include <netinet/in.h>
8429 #ifdef HAVE_NETINET_IN_SYSTM_H
8430 # include <netinet/in_systm.h>
8432 #ifdef HAVE_NET_IF_H
8433 # include <net/if.h>
8435 #ifdef HAVE_NETINET_IP_H
8436 # include <netinet/ip.h>
8439 if test "x$ac_cv_header_netinet_ip_h" = xyes
8441 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8444 ac_fn_c_check_header_compile
"$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8445 #include <sys/socket.h>
8446 #ifdef HAVE_SYS_SOCKETVAR_H
8447 # include <sys/socketvar.h>
8449 #ifdef HAVE_NET_ROUTE_H
8450 # include <net/route.h>
8452 #ifdef HAVE_NETINET_IN_H
8453 # include <netinet/in.h>
8455 #ifdef HAVE_NETINET_IN_SYSTM_H
8456 # include <netinet/in_systm.h>
8458 #ifdef HAVE_NET_IF_H
8459 # include <net/if.h>
8461 #ifdef HAVE_NETINET_IP_H
8462 # include <netinet/ip.h>
8465 if test "x$ac_cv_header_net_if_h" = xyes
8467 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8470 ac_fn_c_check_header_compile
"$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8471 #include <sys/socket.h>
8472 #ifdef HAVE_SYS_SOCKETVAR_H
8473 # include <sys/socketvar.h>
8475 #ifdef HAVE_NET_ROUTE_H
8476 # include <net/route.h>
8478 #ifdef HAVE_NETINET_IN_H
8479 # include <netinet/in.h>
8481 #ifdef HAVE_NETINET_IN_SYSTM_H
8482 # include <netinet/in_systm.h>
8484 #ifdef HAVE_NET_IF_H
8485 # include <net/if.h>
8487 #ifdef HAVE_NETINET_IP_H
8488 # include <netinet/ip.h>
8491 if test "x$ac_cv_header_net_if_arp_h" = xyes
8493 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8496 ac_fn_c_check_header_compile
"$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8497 #include <sys/socket.h>
8498 #ifdef HAVE_SYS_SOCKETVAR_H
8499 # include <sys/socketvar.h>
8501 #ifdef HAVE_NET_ROUTE_H
8502 # include <net/route.h>
8504 #ifdef HAVE_NETINET_IN_H
8505 # include <netinet/in.h>
8507 #ifdef HAVE_NETINET_IN_SYSTM_H
8508 # include <netinet/in_systm.h>
8510 #ifdef HAVE_NET_IF_H
8511 # include <net/if.h>
8513 #ifdef HAVE_NETINET_IP_H
8514 # include <netinet/ip.h>
8517 if test "x$ac_cv_header_net_if_dl_h" = xyes
8519 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8522 ac_fn_c_check_header_compile
"$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8523 #include <sys/socket.h>
8524 #ifdef HAVE_SYS_SOCKETVAR_H
8525 # include <sys/socketvar.h>
8527 #ifdef HAVE_NET_ROUTE_H
8528 # include <net/route.h>
8530 #ifdef HAVE_NETINET_IN_H
8531 # include <netinet/in.h>
8533 #ifdef HAVE_NETINET_IN_SYSTM_H
8534 # include <netinet/in_systm.h>
8536 #ifdef HAVE_NET_IF_H
8537 # include <net/if.h>
8539 #ifdef HAVE_NETINET_IP_H
8540 # include <netinet/ip.h>
8543 if test "x$ac_cv_header_net_if_types_h" = xyes
8545 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8548 ac_fn_c_check_header_compile
"$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8549 #include <sys/socket.h>
8550 #ifdef HAVE_SYS_SOCKETVAR_H
8551 # include <sys/socketvar.h>
8553 #ifdef HAVE_NET_ROUTE_H
8554 # include <net/route.h>
8556 #ifdef HAVE_NETINET_IN_H
8557 # include <netinet/in.h>
8559 #ifdef HAVE_NETINET_IN_SYSTM_H
8560 # include <netinet/in_systm.h>
8562 #ifdef HAVE_NET_IF_H
8563 # include <net/if.h>
8565 #ifdef HAVE_NETINET_IP_H
8566 # include <netinet/ip.h>
8569 if test "x$ac_cv_header_net_route_h" = xyes
8571 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8574 ac_fn_c_check_header_compile
"$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8575 #include <sys/socket.h>
8576 #ifdef HAVE_SYS_SOCKETVAR_H
8577 # include <sys/socketvar.h>
8579 #ifdef HAVE_NET_ROUTE_H
8580 # include <net/route.h>
8582 #ifdef HAVE_NETINET_IN_H
8583 # include <netinet/in.h>
8585 #ifdef HAVE_NETINET_IN_SYSTM_H
8586 # include <netinet/in_systm.h>
8588 #ifdef HAVE_NET_IF_H
8589 # include <net/if.h>
8591 #ifdef HAVE_NETINET_IP_H
8592 # include <netinet/ip.h>
8595 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8597 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8600 ac_fn_c_check_header_compile
"$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8601 #include <sys/socket.h>
8602 #ifdef HAVE_SYS_SOCKETVAR_H
8603 # include <sys/socketvar.h>
8605 #ifdef HAVE_NET_ROUTE_H
8606 # include <net/route.h>
8608 #ifdef HAVE_NETINET_IN_H
8609 # include <netinet/in.h>
8611 #ifdef HAVE_NETINET_IN_SYSTM_H
8612 # include <netinet/in_systm.h>
8614 #ifdef HAVE_NET_IF_H
8615 # include <net/if.h>
8617 #ifdef HAVE_NETINET_IP_H
8618 # include <netinet/ip.h>
8621 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8623 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8626 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8627 #include <sys/socket.h>
8628 #ifdef HAVE_SYS_SOCKETVAR_H
8629 # include <sys/socketvar.h>
8631 #ifdef HAVE_NET_ROUTE_H
8632 # include <net/route.h>
8634 #ifdef HAVE_NETINET_IN_H
8635 # include <netinet/in.h>
8637 #ifdef HAVE_NETINET_IN_SYSTM_H
8638 # include <netinet/in_systm.h>
8640 #ifdef HAVE_NET_IF_H
8641 # include <net/if.h>
8643 #ifdef HAVE_NETINET_IP_H
8644 # include <netinet/ip.h>
8647 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8649 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8652 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8653 #include <sys/socket.h>
8654 #ifdef HAVE_SYS_SOCKETVAR_H
8655 # include <sys/socketvar.h>
8657 #ifdef HAVE_NET_ROUTE_H
8658 # include <net/route.h>
8660 #ifdef HAVE_NETINET_IN_H
8661 # include <netinet/in.h>
8663 #ifdef HAVE_NETINET_IN_SYSTM_H
8664 # include <netinet/in_systm.h>
8666 #ifdef HAVE_NET_IF_H
8667 # include <net/if.h>
8669 #ifdef HAVE_NETINET_IP_H
8670 # include <netinet/ip.h>
8673 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8675 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8678 ac_fn_c_check_header_compile
"$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8679 #include <sys/socket.h>
8680 #ifdef HAVE_SYS_SOCKETVAR_H
8681 # include <sys/socketvar.h>
8683 #ifdef HAVE_NET_ROUTE_H
8684 # include <net/route.h>
8686 #ifdef HAVE_NETINET_IN_H
8687 # include <netinet/in.h>
8689 #ifdef HAVE_NETINET_IN_SYSTM_H
8690 # include <netinet/in_systm.h>
8692 #ifdef HAVE_NET_IF_H
8693 # include <net/if.h>
8695 #ifdef HAVE_NETINET_IP_H
8696 # include <netinet/ip.h>
8699 if test "x$ac_cv_header_netinet_udp_h" = xyes
8701 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8704 ac_fn_c_check_header_compile
"$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8705 #include <sys/socket.h>
8706 #ifdef HAVE_SYS_SOCKETVAR_H
8707 # include <sys/socketvar.h>
8709 #ifdef HAVE_NET_ROUTE_H
8710 # include <net/route.h>
8712 #ifdef HAVE_NETINET_IN_H
8713 # include <netinet/in.h>
8715 #ifdef HAVE_NETINET_IN_SYSTM_H
8716 # include <netinet/in_systm.h>
8718 #ifdef HAVE_NET_IF_H
8719 # include <net/if.h>
8721 #ifdef HAVE_NETINET_IP_H
8722 # include <netinet/ip.h>
8725 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8727 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8730 ac_fn_c_check_header_compile
"$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8731 #include <sys/socket.h>
8732 #ifdef HAVE_SYS_SOCKETVAR_H
8733 # include <sys/socketvar.h>
8735 #ifdef HAVE_NET_ROUTE_H
8736 # include <net/route.h>
8738 #ifdef HAVE_NETINET_IN_H
8739 # include <netinet/in.h>
8741 #ifdef HAVE_NETINET_IN_SYSTM_H
8742 # include <netinet/in_systm.h>
8744 #ifdef HAVE_NET_IF_H
8745 # include <net/if.h>
8747 #ifdef HAVE_NETINET_IP_H
8748 # include <netinet/ip.h>
8751 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8753 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8756 ac_fn_c_check_header_compile
"$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8757 #include <sys/socket.h>
8758 #ifdef HAVE_SYS_SOCKETVAR_H
8759 # include <sys/socketvar.h>
8761 #ifdef HAVE_NET_ROUTE_H
8762 # include <net/route.h>
8764 #ifdef HAVE_NETINET_IN_H
8765 # include <netinet/in.h>
8767 #ifdef HAVE_NETINET_IN_SYSTM_H
8768 # include <netinet/in_systm.h>
8770 #ifdef HAVE_NET_IF_H
8771 # include <net/if.h>
8773 #ifdef HAVE_NETINET_IP_H
8774 # include <netinet/ip.h>
8777 if test "x$ac_cv_header_sys_un_h" = xyes
8779 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8784 ac_fn_c_check_header_compile
"$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8785 #include <sys/socket.h>
8786 #ifdef HAVE_SYS_SOCKETVAR_H
8787 # include <sys/socketvar.h>
8789 #ifdef HAVE_NETINET_IN_H
8790 # include <netinet/in.h>
8792 #ifdef HAVE_NETINET_IN_SYSTM_H
8793 # include <netinet/in_systm.h>
8795 #ifdef HAVE_NETINET_IP_H
8796 # include <netinet/ip.h>
8798 #ifdef HAVE_NETINET_IP_VAR_H
8799 # include <netinet/ip_var.h>
8801 #ifdef HAVE_NETINET_IP_ICMP_H
8802 # include <netinet/ip_icmp.h>
8804 #ifdef HAVE_NETINET_UDP_H
8805 # include <netinet/udp.h>
8807 #ifdef HAVE_NETINET_TCP_H
8808 # include <netinet/tcp.h>
8811 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8813 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8816 ac_fn_c_check_header_compile
"$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8817 #include <sys/socket.h>
8818 #ifdef HAVE_SYS_SOCKETVAR_H
8819 # include <sys/socketvar.h>
8821 #ifdef HAVE_NETINET_IN_H
8822 # include <netinet/in.h>
8824 #ifdef HAVE_NETINET_IN_SYSTM_H
8825 # include <netinet/in_systm.h>
8827 #ifdef HAVE_NETINET_IP_H
8828 # include <netinet/ip.h>
8830 #ifdef HAVE_NETINET_IP_VAR_H
8831 # include <netinet/ip_var.h>
8833 #ifdef HAVE_NETINET_IP_ICMP_H
8834 # include <netinet/ip_icmp.h>
8836 #ifdef HAVE_NETINET_UDP_H
8837 # include <netinet/udp.h>
8839 #ifdef HAVE_NETINET_TCP_H
8840 # include <netinet/tcp.h>
8843 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8845 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8848 ac_fn_c_check_header_compile
"$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8849 #include <sys/socket.h>
8850 #ifdef HAVE_SYS_SOCKETVAR_H
8851 # include <sys/socketvar.h>
8853 #ifdef HAVE_NETINET_IN_H
8854 # include <netinet/in.h>
8856 #ifdef HAVE_NETINET_IN_SYSTM_H
8857 # include <netinet/in_systm.h>
8859 #ifdef HAVE_NETINET_IP_H
8860 # include <netinet/ip.h>
8862 #ifdef HAVE_NETINET_IP_VAR_H
8863 # include <netinet/ip_var.h>
8865 #ifdef HAVE_NETINET_IP_ICMP_H
8866 # include <netinet/ip_icmp.h>
8868 #ifdef HAVE_NETINET_UDP_H
8869 # include <netinet/udp.h>
8871 #ifdef HAVE_NETINET_TCP_H
8872 # include <netinet/tcp.h>
8875 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8877 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8880 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8881 #include <sys/socket.h>
8882 #ifdef HAVE_SYS_SOCKETVAR_H
8883 # include <sys/socketvar.h>
8885 #ifdef HAVE_NETINET_IN_H
8886 # include <netinet/in.h>
8888 #ifdef HAVE_NETINET_IN_SYSTM_H
8889 # include <netinet/in_systm.h>
8891 #ifdef HAVE_NETINET_IP_H
8892 # include <netinet/ip.h>
8894 #ifdef HAVE_NETINET_IP_VAR_H
8895 # include <netinet/ip_var.h>
8897 #ifdef HAVE_NETINET_IP_ICMP_H
8898 # include <netinet/ip_icmp.h>
8900 #ifdef HAVE_NETINET_UDP_H
8901 # include <netinet/udp.h>
8903 #ifdef HAVE_NETINET_TCP_H
8904 # include <netinet/tcp.h>
8907 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8909 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8914 ac_fn_c_check_header_compile
"$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8915 #include <sys/socket.h>
8916 #ifdef HAVE_ASM_TYPES_H
8917 # include <asm/types.h>
8919 #ifdef HAVE_LINUX_TYPES_H
8920 # include <linux/types.h>
8923 if test "x$ac_cv_header_linux_ipx_h" = xyes
8925 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8928 ac_fn_c_check_header_compile
"$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8929 #include <sys/socket.h>
8930 #ifdef HAVE_ASM_TYPES_H
8931 # include <asm/types.h>
8933 #ifdef HAVE_LINUX_TYPES_H
8934 # include <linux/types.h>
8937 if test "x$ac_cv_header_linux_irda_h" = xyes
8939 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
8942 ac_fn_c_check_header_compile
"$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
8943 #include <sys/socket.h>
8944 #ifdef HAVE_ASM_TYPES_H
8945 # include <asm/types.h>
8947 #ifdef HAVE_LINUX_TYPES_H
8948 # include <linux/types.h>
8951 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
8953 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
8958 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
8959 #include <sys/socket.h>
8960 #ifdef HAVE_NETINET_IN_H
8961 # include <netinet/in.h>
8963 #ifdef HAVE_ARPA_NAMESER_H
8964 # include <arpa/nameser.h>
8967 if test "x$ac_cv_header_resolv_h" = xyes
8969 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
8974 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
8976 if test "x$ac_cv_header_ifaddrs_h" = xyes
8978 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
8983 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
8985 if test "x$ac_cv_header_sys_ucontext_h" = xyes
8987 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
8992 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
8993 #ifdef HAVE_SYS_UCONTEXT_H
8994 #include <sys/ucontext.h>
8997 if test "x$ac_cv_header_sys_thr_h" = xyes
8999 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9004 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9005 #include <pthread.h>
9008 if test "x$ac_cv_header_pthread_np_h" = xyes
9010 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9015 ac_fn_c_check_header_compile
"$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9016 #include <sys/types.h>
9017 #ifdef HAVE_ASM_TYPES_H
9018 #include <asm/types.h>
9021 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9023 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9028 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9029 #include <sys/param.h>
9031 #include <sys/socket.h>
9032 #ifdef HAVE_SYS_QUEUE_H
9033 #include <sys/queue.h>
9036 if test "x$ac_cv_header_libprocstat_h" = xyes
9038 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9043 if test "x$ac_cv_header_sys_xattr_h" = xyes
9045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9046 printf %s
"checking whether getxattr takes additional arguments... " >&6; }
9047 if test ${wine_cv_xattr_extra_args+y}
9049 printf %s
"(cached) " >&6
9051 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9052 /* end confdefs.h. */
9053 #include <sys/xattr.h>
9057 getxattr("", "", "", 0, 0, 0);
9062 if ac_fn_c_try_compile
"$LINENO"
9064 wine_cv_xattr_extra_args
=yes
9066 wine_cv_xattr_extra_args
=no
9068 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
9070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9071 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9072 test $wine_cv_xattr_extra_args != yes ||
9073 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9086 UNIXDLLFLAGS
="-fPIC"
9088 UNIXLDFLAGS
="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9094 WINELOADER_LDFLAGS
=""
9096 WINEPRELOADER_LDFLAGS
=""
9099 # Extract the first word of "ldd", so it can be a program name with args.
9100 set dummy ldd
; ac_word
=$2
9101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9102 printf %s
"checking for $ac_word... " >&6; }
9103 if test ${ac_cv_path_LDD+y}
9105 printf %s
"(cached) " >&6
9109 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
9112 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9113 as_dummy
="/sbin:/usr/sbin:$PATH"
9114 for as_dir
in $as_dummy
9117 case $as_dir in #(((
9120 *) as_dir
=$as_dir/ ;;
9122 for ac_exec_ext
in '' $ac_executable_extensions; do
9123 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9124 ac_cv_path_LDD
="$as_dir$ac_word$ac_exec_ext"
9125 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9132 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
9137 if test -n "$LDD"; then
9138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9139 printf "%s\n" "$LDD" >&6; }
9141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9142 printf "%s\n" "no" >&6; }
9146 if test -n "$ac_tool_prefix"; then
9147 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9148 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
9149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9150 printf %s
"checking for $ac_word... " >&6; }
9151 if test ${ac_cv_prog_OTOOL+y}
9153 printf %s
"(cached) " >&6
9155 if test -n "$OTOOL"; then
9156 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
9158 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9162 case $as_dir in #(((
9165 *) as_dir
=$as_dir/ ;;
9167 for ac_exec_ext
in '' $ac_executable_extensions; do
9168 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9169 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
9170 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9179 OTOOL
=$ac_cv_prog_OTOOL
9180 if test -n "$OTOOL"; then
9181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9182 printf "%s\n" "$OTOOL" >&6; }
9184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9185 printf "%s\n" "no" >&6; }
9190 if test -z "$ac_cv_prog_OTOOL"; then
9192 # Extract the first word of "otool", so it can be a program name with args.
9193 set dummy otool
; ac_word
=$2
9194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9195 printf %s
"checking for $ac_word... " >&6; }
9196 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9198 printf %s
"(cached) " >&6
9200 if test -n "$ac_ct_OTOOL"; then
9201 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
9203 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9207 case $as_dir in #(((
9210 *) as_dir
=$as_dir/ ;;
9212 for ac_exec_ext
in '' $ac_executable_extensions; do
9213 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9214 ac_cv_prog_ac_ct_OTOOL
="otool"
9215 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9224 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
9225 if test -n "$ac_ct_OTOOL"; then
9226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9227 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9230 printf "%s\n" "no" >&6; }
9233 if test "x$ac_ct_OTOOL" = x
; then
9236 case $cross_compiling:$ac_tool_warned in
9238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9239 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9240 ac_tool_warned
=yes ;;
9245 OTOOL
="$ac_cv_prog_OTOOL"
9248 if test -n "$ac_tool_prefix"; then
9249 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9250 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
9251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9252 printf %s
"checking for $ac_word... " >&6; }
9253 if test ${ac_cv_prog_READELF+y}
9255 printf %s
"(cached) " >&6
9257 if test -n "$READELF"; then
9258 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
9260 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9264 case $as_dir in #(((
9267 *) as_dir
=$as_dir/ ;;
9269 for ac_exec_ext
in '' $ac_executable_extensions; do
9270 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9271 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
9272 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9281 READELF
=$ac_cv_prog_READELF
9282 if test -n "$READELF"; then
9283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9284 printf "%s\n" "$READELF" >&6; }
9286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9287 printf "%s\n" "no" >&6; }
9292 if test -z "$ac_cv_prog_READELF"; then
9293 ac_ct_READELF
=$READELF
9294 # Extract the first word of "readelf", so it can be a program name with args.
9295 set dummy readelf
; ac_word
=$2
9296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9297 printf %s
"checking for $ac_word... " >&6; }
9298 if test ${ac_cv_prog_ac_ct_READELF+y}
9300 printf %s
"(cached) " >&6
9302 if test -n "$ac_ct_READELF"; then
9303 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
9305 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9309 case $as_dir in #(((
9312 *) as_dir
=$as_dir/ ;;
9314 for ac_exec_ext
in '' $ac_executable_extensions; do
9315 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9316 ac_cv_prog_ac_ct_READELF
="readelf"
9317 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9326 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
9327 if test -n "$ac_ct_READELF"; then
9328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9329 printf "%s\n" "$ac_ct_READELF" >&6; }
9331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9332 printf "%s\n" "no" >&6; }
9335 if test "x$ac_ct_READELF" = x
; then
9338 case $cross_compiling:$ac_tool_warned in
9340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9341 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9342 ac_tool_warned
=yes ;;
9344 READELF
=$ac_ct_READELF
9347 READELF
="$ac_cv_prog_READELF"
9355 CONFIGURE_TARGETS
=""
9358 wine_fn_config_makefile
()
9360 as_fn_append SUBDIRS
" \\$as_nl $1"
9363 no
) as_fn_append DISABLED_SUBDIRS
" $1" ;;
9364 *aarch64
*|
*arm
*|
*i386
*|
*x86_64
*)
9365 if test -n "$PE_ARCHS"
9369 test $
(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append
${i}_DISABLED_SUBDIRS
" $1"
9372 test $
(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS
" $1"
9377 wine_fn_config_symlink
()
9380 as_fn_append wine_rules
"
9382 @./config.status \$@"
9383 for f
in $ac_links; do as_fn_append CONFIGURE_TARGETS
" $f"; done
9386 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
9391 EXTRACFLAGS
="-D__WINE_PE_BUILD"
9393 *i
[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9394 printf %s
"checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9395 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9397 printf %s
"(cached) " >&6
9399 ac_wine_try_cflags_saved
=$CFLAGS
9400 CFLAGS
="$CFLAGS -Wl,--disable-stdcall-fixup"
9401 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9402 /* end confdefs.h. */
9403 int main(int argc, char **argv) { return 0; }
9405 if ac_fn_c_try_link
"$LINENO"
9407 ac_cv_cflags__Wl___disable_stdcall_fixup
=yes
9409 ac_cv_cflags__Wl___disable_stdcall_fixup
=no
9411 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9412 conftest
$ac_exeext conftest.
$ac_ext
9413 CFLAGS
=$ac_wine_try_cflags_saved
9415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9416 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9417 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9419 LDDLLFLAGS
="-Wl,--disable-stdcall-fixup"
9422 enable_loader
=${enable_loader:-no}
9423 enable_server
=${enable_server:-no}
9424 with_x
=${with_x:-no}
9425 with_pthread
=${with_pthread:-no}
9430 DLLFLAGS
="$DLLFLAGS -fPIC"
9432 enable_winemac_drv
=${enable_winemac_drv:-yes}
9433 CARBON_LIBS
="-framework Carbon"
9435 COREFOUNDATION_LIBS
="-framework CoreFoundation"
9437 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
9439 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
9441 METAL_LIBS
="-framework Metal"
9443 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
9445 CORESERVICES_LIBS
="-framework CoreServices"
9447 APPKIT_LIBS
="-framework AppKit"
9449 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
9451 SYSTEMCONFIGURATION_LIBS
="-framework SystemConfiguration"
9454 WINELOADER_LDFLAGS
="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9456 wine_can_build_preloader
=yes
9457 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"
9458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
9459 printf %s
"checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
9460 if test ${ac_cv_cflags__Wl__no_new_main__e__main+y}
9462 printf %s
"(cached) " >&6
9464 ac_wine_try_cflags_saved
=$CFLAGS
9465 CFLAGS
="$CFLAGS -Wl,-no_new_main -e _main"
9466 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9467 /* end confdefs.h. */
9468 int main(int argc, char **argv) { return 0; }
9470 if ac_fn_c_try_link
"$LINENO"
9472 ac_cv_cflags__Wl__no_new_main__e__main
=yes
9474 ac_cv_cflags__Wl__no_new_main__e__main
=no
9476 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9477 conftest
$ac_exeext conftest.
$ac_ext
9478 CFLAGS
=$ac_wine_try_cflags_saved
9480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
9481 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
9482 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes
9484 WINEPRELOADER_LDFLAGS
="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
9485 { 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
9486 printf %s
"checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9487 if test ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9489 printf %s
"(cached) " >&6
9491 ac_wine_try_cflags_saved
=$CFLAGS
9492 CFLAGS
="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9493 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9494 /* end confdefs.h. */
9495 int main(int argc, char **argv) { return 0; }
9497 if ac_fn_c_try_link
"$LINENO"
9499 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs
=yes
9501 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs
=no
9503 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9504 conftest
$ac_exeext conftest.
$ac_ext
9505 CFLAGS
=$ac_wine_try_cflags_saved
9507 { 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
9508 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9509 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9511 WINEPRELOADER_LDFLAGS
="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9513 wine_can_build_preloader
=no
9516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
9517 printf %s
"checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9518 if test ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9520 printf %s
"(cached) " >&6
9522 ac_wine_try_cflags_saved
=$CFLAGS
9523 CFLAGS
="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9524 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9525 /* end confdefs.h. */
9526 int main(int argc, char **argv) { return 0; }
9528 if ac_fn_c_try_link
"$LINENO"
9530 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs
=yes
9532 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs
=no
9534 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9535 conftest
$ac_exeext conftest.
$ac_ext
9536 CFLAGS
=$ac_wine_try_cflags_saved
9538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
9539 printf "%s\n" "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9540 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9542 WINEPRELOADER_LDFLAGS
="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9544 wine_can_build_preloader
=no
9547 if test "$wine_can_build_preloader" = "yes"
9549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9550 printf %s
"checking whether the compiler supports -Wl,-no_pie... " >&6; }
9551 if test ${ac_cv_cflags__Wl__no_pie+y}
9553 printf %s
"(cached) " >&6
9555 ac_wine_try_cflags_saved
=$CFLAGS
9556 CFLAGS
="$CFLAGS -Wl,-no_pie"
9557 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9558 /* end confdefs.h. */
9559 int main(int argc, char **argv) { return 0; }
9561 if ac_fn_c_try_link
"$LINENO"
9563 ac_cv_cflags__Wl__no_pie
=yes
9565 ac_cv_cflags__Wl__no_pie
=no
9567 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9568 conftest
$ac_exeext conftest.
$ac_ext
9569 CFLAGS
=$ac_wine_try_cflags_saved
9571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9572 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9573 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9575 WINEPRELOADER_LDFLAGS
="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9577 WINELOADER_LDFLAGS
="$WINELOADER_LDFLAGS -mmacosx-version-min=10.7"
9579 as_fn_append wine_warnings
"|can't build Wine preloader; many programs won't work"
9582 if test "x$with_coreaudio" != "xno";
9584 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9586 enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-yes}
9588 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9590 OPENCL_LIBS
="-framework OpenCL"
9592 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
9595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9596 printf %s
"checking whether MTLDevice protocol supports registryID property... " >&6; }
9598 ac_cpp
='$OBJCPP $CPPFLAGS'
9599 ac_compile
='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9600 ac_link
='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9601 ac_compiler_gnu
=$ac_cv_objc_compiler_gnu
9604 ac_cpp
='$OBJCPP $CPPFLAGS'
9605 ac_compile
='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9606 ac_link
='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9607 ac_compiler_gnu
=$ac_cv_objc_compiler_gnu
9608 if test -n "$ac_tool_prefix"; then
9609 for ac_prog
in gcc objcc objc cc CC clang
9611 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9612 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
9613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9614 printf %s
"checking for $ac_word... " >&6; }
9615 if test ${ac_cv_prog_OBJC+y}
9617 printf %s
"(cached) " >&6
9619 if test -n "$OBJC"; then
9620 ac_cv_prog_OBJC
="$OBJC" # Let the user override the test.
9622 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9626 case $as_dir in #(((
9629 *) as_dir
=$as_dir/ ;;
9631 for ac_exec_ext
in '' $ac_executable_extensions; do
9632 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9633 ac_cv_prog_OBJC
="$ac_tool_prefix$ac_prog"
9634 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9643 OBJC
=$ac_cv_prog_OBJC
9644 if test -n "$OBJC"; then
9645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9646 printf "%s\n" "$OBJC" >&6; }
9648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9649 printf "%s\n" "no" >&6; }
9653 test -n "$OBJC" && break
9656 if test -z "$OBJC"; then
9658 for ac_prog
in gcc objcc objc cc CC clang
9660 # Extract the first word of "$ac_prog", so it can be a program name with args.
9661 set dummy
$ac_prog; ac_word
=$2
9662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9663 printf %s
"checking for $ac_word... " >&6; }
9664 if test ${ac_cv_prog_ac_ct_OBJC+y}
9666 printf %s
"(cached) " >&6
9668 if test -n "$ac_ct_OBJC"; then
9669 ac_cv_prog_ac_ct_OBJC
="$ac_ct_OBJC" # Let the user override the test.
9671 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9675 case $as_dir in #(((
9678 *) as_dir
=$as_dir/ ;;
9680 for ac_exec_ext
in '' $ac_executable_extensions; do
9681 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9682 ac_cv_prog_ac_ct_OBJC
="$ac_prog"
9683 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9692 ac_ct_OBJC
=$ac_cv_prog_ac_ct_OBJC
9693 if test -n "$ac_ct_OBJC"; then
9694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9695 printf "%s\n" "$ac_ct_OBJC" >&6; }
9697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9698 printf "%s\n" "no" >&6; }
9702 test -n "$ac_ct_OBJC" && break
9705 if test "x$ac_ct_OBJC" = x
; then
9708 case $cross_compiling:$ac_tool_warned in
9710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9711 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9712 ac_tool_warned
=yes ;;
9718 # Provide some information about the compiler.
9719 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9722 for ac_option
in --version -v -V -qversion; do
9723 { { ac_try
="$ac_compiler $ac_option >&5"
9725 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9726 *) ac_try_echo=$ac_try;;
9728 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9729 printf "%s\n" "$ac_try_echo"; } >&5
9730 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9732 if test -s conftest.err; then
9734 ... rest of stderr output deleted ...
9735 10q' conftest.err >conftest.er1
9736 cat conftest.er1 >&5
9738 rm -f conftest.er1 conftest.err
9739 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9740 test $ac_status = 0; }
9743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9744 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9745 if test ${ac_cv_objc_compiler_gnu+y}
9747 printf %s "(cached) " >&6
9749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9750 /* end confdefs.h. */
9763 if ac_fn_objc_try_compile "$LINENO"
9769 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9770 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9774 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9775 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9777 if test $ac_compiler_gnu = yes; then
9782 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9783 ac_save_OBJCFLAGS=$OBJCFLAGS
9784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9785 printf %s "checking whether $OBJC accepts -g... " >&6; }
9786 if test ${ac_cv_prog_objc_g+y}
9788 printf %s "(cached) " >&6
9790 ac_save_objc_werror_flag=$ac_objc_werror_flag
9791 ac_objc_werror_flag=yes
9792 ac_cv_prog_objc_g=no
9794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9795 /* end confdefs.h. */
9805 if ac_fn_objc_try_compile "$LINENO"
9807 ac_cv_prog_objc_g=yes
9810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9811 /* end confdefs.h. */
9821 if ac_fn_objc_try_compile "$LINENO"
9825 ac_objc_werror_flag=$ac_save_objc_werror_flag
9827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9828 /* end confdefs.h. */
9838 if ac_fn_objc_try_compile "$LINENO"
9840 ac_cv_prog_objc_g=yes
9842 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9844 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9846 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9847 ac_objc_werror_flag=$ac_save_objc_werror_flag
9849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9850 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9851 if test $ac_test_OBJCFLAGS; then
9852 OBJCFLAGS=$ac_save_OBJCFLAGS
9853 elif test $ac_cv_prog_objc_g = yes; then
9854 if test "$GOBJC" = yes; then
9860 if test "$GOBJC" = yes; then
9867 ac_cpp='$OBJCPP $CPPFLAGS'
9868 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9869 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9870 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9874 /* end confdefs.h. */
9875 #include <Metal/Metal.h>
9879 id<MTLDevice> device; device.registryID;
9884 if ac_fn_objc_try_compile "$LINENO"
9886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9887 printf "%s\n" "yes" >&6; }
9889 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9893 printf "%s\n" "no" >&6; }
9895 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9897 ac_cpp='$CPP $CPPFLAGS'
9898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9903 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
9904 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9906 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9908 WINELOADER_DEPENDS="wine_info.plist"
9910 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9915 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
9917 DLLFLAGS="$DLLFLAGS -fPIC"
9919 LDEXECFLAGS="-Wl,-pie"
9920 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9922 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9923 if test ${ac_cv_cflags__Wl__z_defs+y}
9925 printf %s "(cached) " >&6
9927 ac_wine_try_cflags_saved=$CFLAGS
9928 CFLAGS="$CFLAGS -Wl,-z,defs"
9929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9930 /* end confdefs.h. */
9931 int main(int argc, char **argv) { return 0; }
9933 if ac_fn_c_try_link "$LINENO"
9935 ac_cv_cflags__Wl__z_defs=yes
9937 ac_cv_cflags__Wl__z_defs=no
9939 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9940 conftest$ac_exeext conftest.$ac_ext
9941 CFLAGS=$ac_wine_try_cflags_saved
9943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9944 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
9945 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
9947 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9950 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9951 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
9953 printf %s "(cached) " >&6
9955 ac_wine_try_cflags_saved=$CFLAGS
9956 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9958 /* end confdefs.h. */
9959 int main(int argc, char **argv) { return 0; }
9961 if ac_fn_c_try_link "$LINENO"
9963 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9965 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9967 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9968 conftest$ac_exeext conftest.$ac_ext
9969 CFLAGS=$ac_wine_try_cflags_saved
9971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9972 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9973 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
9975 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9977 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9980 printf %s "checking for -lEGL... " >&6; }
9981 if test ${ac_cv_lib_soname_EGL+y}
9983 printf %s "(cached) " >&6
9985 ac_check_soname_save_LIBS=$LIBS
9987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9988 /* end confdefs.h. */
9990 /* Override any GCC internal prototype to avoid an error.
9991 Use char because int might match the return type of a GCC
9992 builtin and then its argument prototype would still apply. */
9993 char eglGetProcAddress ();
9997 return eglGetProcAddress ();
10002 if ac_fn_c_try_link "$LINENO"
10005 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe |
grep "EGL" |
sed -e "s/dll.*/dll/"';2,$d'` ;;
10006 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'` ;;
10007 *) ac_cv_lib_soname_EGL=`$READELF -d conftest
$ac_exeext |
grep "NEEDED.*libEGL\\.$LIBEXT" |
sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10008 if ${ac_cv_lib_soname_EGL:+false} :
10010 ac_cv_lib_soname_EGL=`$LDD conftest
$ac_exeext |
grep "libEGL\\.$LIBEXT" |
sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10014 ac_cv_lib_soname_EGL=
10016 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10017 conftest$ac_exeext conftest.$ac_ext
10018 LIBS=$ac_check_soname_save_LIBS
10020 if ${ac_cv_lib_soname_EGL:+false} :
10022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10023 printf "%s\n" "not found" >&6; }
10026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10027 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10029 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10034 printf %s "checking for -lGLESv2... " >&6; }
10035 if test ${ac_cv_lib_soname_GLESv2+y}
10037 printf %s "(cached) " >&6
10039 ac_check_soname_save_LIBS=$LIBS
10040 LIBS="-lGLESv2 $LIBS"
10041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10042 /* end confdefs.h. */
10044 /* Override any GCC internal prototype to avoid an error.
10045 Use char because int might match the return type of a GCC
10046 builtin and then its argument prototype would still apply. */
10056 if ac_fn_c_try_link "$LINENO"
10059 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe |
grep "GLESv2" |
sed -e "s/dll.*/dll/"';2,$d'` ;;
10060 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'` ;;
10061 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest
$ac_exeext |
grep "NEEDED.*libGLESv2\\.$LIBEXT" |
sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10062 if ${ac_cv_lib_soname_GLESv2:+false} :
10064 ac_cv_lib_soname_GLESv2=`$LDD conftest
$ac_exeext |
grep "libGLESv2\\.$LIBEXT" |
sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10068 ac_cv_lib_soname_GLESv2=
10070 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10071 conftest$ac_exeext conftest.$ac_ext
10072 LIBS=$ac_check_soname_save_LIBS
10074 if ${ac_cv_lib_soname_GLESv2:+false} :
10076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10077 printf "%s\n" "not found" >&6; }
10080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10081 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10083 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10088 if test "x$exec_prefix" = xNONE
10091 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10092 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10093 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10094 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10101 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10103 test "$ac_cv_sys_file_offset_bits" = 64 &&
10104 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10108 DLLFLAGS="$DLLFLAGS -fno-PIC"
10109 LDDLLFLAGS="-fno-PIC"
10110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10111 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10112 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10114 printf %s "(cached) " >&6
10116 ac_wine_try_cflags_saved=$CFLAGS
10117 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10119 /* end confdefs.h. */
10120 int main(int argc, char **argv) { return 0; }
10122 if ac_fn_c_try_link "$LINENO"
10124 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10126 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10128 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10129 conftest$ac_exeext conftest.$ac_ext
10130 CFLAGS=$ac_wine_try_cflags_saved
10132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10133 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10134 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10136 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10140 DLLFLAGS="$DLLFLAGS -fPIC"
10141 LDDLLFLAGS="-fPIC" ;;
10143 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
10145 echo '{ global: *; };' >conftest.map
10146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
10147 printf %s "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
10148 if test ${ac_cv_cflags__shared__Wl___version_script_conftest_map+y}
10150 printf %s "(cached) " >&6
10152 ac_wine_try_cflags_saved=$CFLAGS
10153 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
10154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10155 /* end confdefs.h. */
10156 int main(int argc, char **argv) { return 0; }
10158 if ac_fn_c_try_link "$LINENO"
10160 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
10162 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
10164 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10165 conftest$ac_exeext conftest.$ac_ext
10166 CFLAGS=$ac_wine_try_cflags_saved
10168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
10169 printf "%s\n" "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
10170 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes
10172 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
10176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10177 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10178 if test ${ac_cv_cflags__Wl__z_defs+y}
10180 printf %s "(cached) " >&6
10182 ac_wine_try_cflags_saved=$CFLAGS
10183 CFLAGS="$CFLAGS -Wl,-z,defs"
10184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10185 /* end confdefs.h. */
10186 int main(int argc, char **argv) { return 0; }
10188 if ac_fn_c_try_link "$LINENO"
10190 ac_cv_cflags__Wl__z_defs=yes
10192 ac_cv_cflags__Wl__z_defs=no
10194 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10195 conftest$ac_exeext conftest.$ac_ext
10196 CFLAGS=$ac_wine_try_cflags_saved
10198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10199 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10200 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10202 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10205 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10206 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10208 printf %s "(cached) " >&6
10210 ac_wine_try_cflags_saved=$CFLAGS
10211 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10213 /* end confdefs.h. */
10214 int main(int argc, char **argv) { return 0; }
10216 if ac_fn_c_try_link "$LINENO"
10218 ac_cv_cflags__Wl___export_dynamic=yes
10220 ac_cv_cflags__Wl___export_dynamic=no
10222 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10223 conftest$ac_exeext conftest.$ac_ext
10224 CFLAGS=$ac_wine_try_cflags_saved
10226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10227 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10228 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10230 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10232 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10235 *i[3456789]86* | x86_64 | *aarch64* | arm*)
10236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
10237 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
10238 if test ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+y}
10240 printf %s "(cached) " >&6
10242 ac_wine_try_cflags_saved=$CFLAGS
10243 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
10244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10245 /* end confdefs.h. */
10246 int main(int argc, char **argv) { return 0; }
10248 if ac_fn_c_try_link "$LINENO"
10250 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
10252 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
10254 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10255 conftest$ac_exeext conftest.$ac_ext
10256 CFLAGS=$ac_wine_try_cflags_saved
10258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
10259 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
10260 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
10263 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
10264 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
10267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
10268 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
10269 if test ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+y}
10271 printf %s "(cached) " >&6
10273 ac_wine_try_cflags_saved=$CFLAGS
10274 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
10275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10276 /* end confdefs.h. */
10277 int main(int argc, char **argv) { return 0; }
10279 if ac_fn_c_try_link "$LINENO"
10281 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
10283 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
10285 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10286 conftest$ac_exeext conftest.$ac_ext
10287 CFLAGS=$ac_wine_try_cflags_saved
10289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
10290 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
10291 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes
10294 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
10295 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
10298 # Extract the first word of "prelink", so it can be a program name with args.
10299 set dummy prelink; ac_word=$2
10300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10301 printf %s "checking for $ac_word... " >&6; }
10302 if test ${ac_cv_path_PRELINK+y}
10304 printf %s "(cached) " >&6
10308 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
10311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10312 for as_dir in /sbin /usr/sbin $PATH
10315 case $as_dir in #(((
10318 *) as_dir=$as_dir/ ;;
10320 for ac_exec_ext in '' $ac_executable_extensions; do
10321 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10322 ac_cv_path_PRELINK="$as_dir$ac_word$ac_exec_ext"
10323 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10330 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
10334 PRELINK=$ac_cv_path_PRELINK
10335 if test -n "$PRELINK"; then
10336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
10337 printf "%s\n" "$PRELINK" >&6; }
10339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10340 printf "%s\n" "no" >&6; }
10344 if test "x$PRELINK" = xfalse
10346 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
10349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
10350 printf %s "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
10351 if test ${ac_cv_cflags__Wl__z_max_page_size_0x1000+y}
10353 printf %s "(cached) " >&6
10355 ac_wine_try_cflags_saved=$CFLAGS
10356 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
10357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10358 /* end confdefs.h. */
10359 int main(int argc, char **argv) { return 0; }
10361 if ac_fn_c_try_link "$LINENO"
10363 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
10365 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
10367 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10368 conftest$ac_exeext conftest.$ac_ext
10369 CFLAGS=$ac_wine_try_cflags_saved
10371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
10372 printf "%s\n" "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
10373 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
10375 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
10379 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
10381 LIBWINE_DEPENDS="wine.map"
10383 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
10387 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10388 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10389 enable_winemac_drv=${enable_winemac_drv:-no}
10394 if test ${enable_archs+y}
10396 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10399 set x $enable_archs
10405 i386|x86_64|arm|aarch64) cross_archs="$cross_archs $arch" ;;
10406 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10410 if test "x$with_mingw" != xno
10412 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10413 case "x$with_mingw" in
10415 *) eval "${cross_archs}_CC=\$with_mingw" ;;
10420 for wine_arch in $cross_archs
10422 if eval \${${wine_arch}_CC:+false} :
10426 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10428 # Extract the first word of "$ac_prog", so it can be a program name with args.
10429 set dummy $ac_prog; ac_word=$2
10430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10431 printf %s "checking for $ac_word... " >&6; }
10432 if test ${ac_cv_prog_aarch64_CC+y}
10434 printf %s "(cached) " >&6
10436 if test -n "$aarch64_CC"; then
10437 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10440 for as_dir in $PATH
10443 case $as_dir in #(((
10446 *) as_dir=$as_dir/ ;;
10448 for ac_exec_ext in '' $ac_executable_extensions; do
10449 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10450 ac_cv_prog_aarch64_CC="$ac_prog"
10451 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10460 aarch64_CC=$ac_cv_prog_aarch64_CC
10461 if test -n "$aarch64_CC"; then
10462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10463 printf "%s\n" "$aarch64_CC" >&6; }
10465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10466 printf "%s\n" "no" >&6; }
10470 test -n "$aarch64_CC" && break
10472 test -n "$aarch64_CC" || aarch64_CC="false"
10476 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10478 # Extract the first word of "$ac_prog", so it can be a program name with args.
10479 set dummy $ac_prog; ac_word=$2
10480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10481 printf %s "checking for $ac_word... " >&6; }
10482 if test ${ac_cv_prog_arm_CC+y}
10484 printf %s "(cached) " >&6
10486 if test -n "$arm_CC"; then
10487 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10490 for as_dir in $PATH
10493 case $as_dir in #(((
10496 *) as_dir=$as_dir/ ;;
10498 for ac_exec_ext in '' $ac_executable_extensions; do
10499 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10500 ac_cv_prog_arm_CC="$ac_prog"
10501 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10510 arm_CC=$ac_cv_prog_arm_CC
10511 if test -n "$arm_CC"; then
10512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10513 printf "%s\n" "$arm_CC" >&6; }
10515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10516 printf "%s\n" "no" >&6; }
10520 test -n "$arm_CC" && break
10522 test -n "$arm_CC" || arm_CC="false"
10526 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 "
10527 for ac_prog in $ac_prefix_list clang
10529 # Extract the first word of "$ac_prog", so it can be a program name with args.
10530 set dummy $ac_prog; ac_word=$2
10531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10532 printf %s "checking for $ac_word... " >&6; }
10533 if test ${ac_cv_prog_i386_CC+y}
10535 printf %s "(cached) " >&6
10537 if test -n "$i386_CC"; then
10538 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10541 for as_dir in $PATH
10544 case $as_dir in #(((
10547 *) as_dir=$as_dir/ ;;
10549 for ac_exec_ext in '' $ac_executable_extensions; do
10550 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10551 ac_cv_prog_i386_CC="$ac_prog"
10552 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10561 i386_CC=$ac_cv_prog_i386_CC
10562 if test -n "$i386_CC"; then
10563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10564 printf "%s\n" "$i386_CC" >&6; }
10566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10567 printf "%s\n" "no" >&6; }
10571 test -n "$i386_CC" && break
10573 test -n "$i386_CC" || i386_CC="false"
10577 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10578 for ac_prog in $ac_prefix_list clang
10580 # Extract the first word of "$ac_prog", so it can be a program name with args.
10581 set dummy $ac_prog; ac_word=$2
10582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10583 printf %s "checking for $ac_word... " >&6; }
10584 if test ${ac_cv_prog_x86_64_CC+y}
10586 printf %s "(cached) " >&6
10588 if test -n "$x86_64_CC"; then
10589 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10592 for as_dir in $PATH
10595 case $as_dir in #(((
10598 *) as_dir=$as_dir/ ;;
10600 for ac_exec_ext in '' $ac_executable_extensions; do
10601 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10602 ac_cv_prog_x86_64_CC="$ac_prog"
10603 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10612 x86_64_CC=$ac_cv_prog_x86_64_CC
10613 if test -n "$x86_64_CC"; then
10614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10615 printf "%s\n" "$x86_64_CC" >&6; }
10617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10618 printf "%s\n" "no" >&6; }
10622 test -n "$x86_64_CC" && break
10624 test -n "$x86_64_CC" || x86_64_CC="false"
10630 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10636 saved_CFLAGS=$CFLAGS
10638 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10639 eval CC=\$${wine_arch}_CC
10640 eval ${wine_arch}_CFLAGS=\$CFLAGS
10641 eval ${wine_arch}_LDFLAGS=\$CROSSLDFLAGS
10642 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10645 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" |
$as_tr_sh`
10647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10648 printf %s "checking whether $CC works... " >&6; }
10649 if eval test \${$as_wine_cv_crosscc+y}
10651 printf %s "(cached) " >&6
10653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10654 /* end confdefs.h. */
10664 if ac_fn_c_try_compile "$LINENO"
10666 eval "$as_wine_cv_crosscc=yes"
10668 eval "$as_wine_cv_crosscc=no"
10670 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10672 eval ac_res=\$$as_wine_cv_crosscc
10673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10674 printf "%s\n" "$ac_res" >&6; }
10675 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10679 while test $# -ge 1
10682 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10683 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10688 llvm_target=$target
10689 if test -z "$llvm_target"
10692 i386) llvm_target=i686-windows ;;
10693 arm) llvm_target=armv7-windows ;;
10694 *) llvm_target=$wine_arch-windows ;;
10697 llvm_extra_cflags="-target $llvm_target -fuse-ld=lld"
10698 case $llvm_target in
10699 *windows) llvm_cflags="-Wl,-subsystem:console -Wl,-WX" ;;
10701 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags" |
$as_tr_sh`
10702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags" >&5
10703 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags... " >&6; }
10704 if eval test \${$as_ac_var+y}
10706 printf %s "(cached) " >&6
10708 ac_wine_try_cflags_saved=$CFLAGS
10709 ac_wine_try_cflags_saved_exeext=$ac_exeext
10710 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags"
10712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10713 /* end confdefs.h. */
10714 int __cdecl mainCRTStartup(void) { return 0; }
10716 if ac_fn_c_try_link "$LINENO"
10718 eval "$as_ac_var=yes"
10720 eval "$as_ac_var=no"
10722 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10723 conftest$ac_exeext conftest.$ac_ext
10724 CFLAGS=$ac_wine_try_cflags_saved
10725 ac_exeext=$ac_wine_try_cflags_saved_exeext
10727 eval ac_res=\$$as_ac_var
10728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10729 printf "%s\n" "$ac_res" >&6; }
10730 if eval test \"x\$"$as_ac_var"\" = x"yes"
10732 target=$llvm_target
10733 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10734 as_fn_append ${wine_arch}_EXTRACFLAGS " $llvm_extra_cflags"
10735 CFLAGS="$llvm_extra_cflags $llvm_cflags"
10737 eval "${wine_arch}_TARGET=\$target"
10741 if test -z "$target"
10744 CFLAGS=$saved_CFLAGS
10747 as_fn_append PE_ARCHS " $wine_arch"
10749 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" |
$as_tr_sh`
10751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10752 printf %s "checking for $CC option to enable C99 features... " >&6; }
10753 if eval test \${$as_wine_cv_crosscc_c99+y}
10755 printf %s "(cached) " >&6
10757 eval "$as_wine_cv_crosscc_c99=no"
10758 for arg in '' '-std=gnu99'
10760 test -z "$arg" || CC="$CC $arg"
10761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10762 /* end confdefs.h. */
10763 $ac_c_conftest_c99_program
10765 if ac_fn_c_try_compile "$LINENO"
10767 eval "$as_wine_cv_crosscc_c99=\$arg"
10769 eval "$as_wine_cv_crosscc_c99=no"
10771 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10772 eval CC=\$${wine_arch}_CC
10773 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10782 eval res=\$$as_wine_cv_crosscc_c99
10784 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10785 printf "%s\n" "none needed" >&6; } ;;
10786 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10787 printf "%s\n" "unsupported" >&6; } ;;
10788 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10789 printf "%s\n" "$res" >&6; }
10790 as_fn_append ${wine_arch}_CC " $res" ;;
10794 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" |
$as_tr_sh`
10795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10796 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10797 if eval test \${$as_ac_var+y}
10799 printf %s "(cached) " >&6
10801 ac_wine_try_cflags_saved=$CFLAGS
10802 ac_wine_try_cflags_saved_exeext=$ac_exeext
10803 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-strict-aliasing"
10805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10806 /* end confdefs.h. */
10807 int __cdecl mainCRTStartup(void) { return 0; }
10809 if ac_fn_c_try_link "$LINENO"
10811 eval "$as_ac_var=yes"
10813 eval "$as_ac_var=no"
10815 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10816 conftest$ac_exeext conftest.$ac_ext
10817 CFLAGS=$ac_wine_try_cflags_saved
10818 ac_exeext=$ac_wine_try_cflags_saved_exeext
10820 eval ac_res=\$$as_ac_var
10821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10822 printf "%s\n" "$ac_res" >&6; }
10823 if eval test \"x\$"$as_ac_var"\" = x"yes"
10825 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10827 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" |
$as_tr_sh`
10828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10829 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10830 if eval test \${$as_ac_var+y}
10832 printf %s "(cached) " >&6
10834 ac_wine_try_cflags_saved=$CFLAGS
10835 ac_wine_try_cflags_saved_exeext=$ac_exeext
10836 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=unknown-warning-option"
10838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10839 /* end confdefs.h. */
10840 int __cdecl mainCRTStartup(void) { return 0; }
10842 if ac_fn_c_try_link "$LINENO"
10844 eval "$as_ac_var=yes"
10846 eval "$as_ac_var=no"
10848 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10849 conftest$ac_exeext conftest.$ac_ext
10850 CFLAGS=$ac_wine_try_cflags_saved
10851 ac_exeext=$ac_wine_try_cflags_saved_exeext
10853 eval ac_res=\$$as_ac_var
10854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10855 printf "%s\n" "$ac_res" >&6; }
10856 if eval test \"x\$"$as_ac_var"\" = x"yes"
10858 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10860 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" |
$as_tr_sh`
10861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
10862 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
10863 if eval test \${$as_ac_var+y}
10865 printf %s "(cached) " >&6
10867 ac_wine_try_cflags_saved=$CFLAGS
10868 ac_wine_try_cflags_saved_exeext=$ac_exeext
10869 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=ignored-optimization-argument"
10871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10872 /* end confdefs.h. */
10873 int __cdecl mainCRTStartup(void) { return 0; }
10875 if ac_fn_c_try_link "$LINENO"
10877 eval "$as_ac_var=yes"
10879 eval "$as_ac_var=no"
10881 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10882 conftest$ac_exeext conftest.$ac_ext
10883 CFLAGS=$ac_wine_try_cflags_saved
10884 ac_exeext=$ac_wine_try_cflags_saved_exeext
10886 eval ac_res=\$$as_ac_var
10887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10888 printf "%s\n" "$ac_res" >&6; }
10889 if eval test \"x\$"$as_ac_var"\" = x"yes"
10891 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10893 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" |
$as_tr_sh`
10894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
10895 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
10896 if eval test \${$as_ac_var+y}
10898 printf %s "(cached) " >&6
10900 ac_wine_try_cflags_saved=$CFLAGS
10901 ac_wine_try_cflags_saved_exeext=$ac_exeext
10902 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wdeclaration-after-statement"
10904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10905 /* end confdefs.h. */
10906 int __cdecl mainCRTStartup(void) { return 0; }
10908 if ac_fn_c_try_link "$LINENO"
10910 eval "$as_ac_var=yes"
10912 eval "$as_ac_var=no"
10914 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10915 conftest$ac_exeext conftest.$ac_ext
10916 CFLAGS=$ac_wine_try_cflags_saved
10917 ac_exeext=$ac_wine_try_cflags_saved_exeext
10919 eval ac_res=\$$as_ac_var
10920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10921 printf "%s\n" "$ac_res" >&6; }
10922 if eval test \"x\$"$as_ac_var"\" = x"yes"
10924 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
10926 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" |
$as_tr_sh`
10927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
10928 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
10929 if eval test \${$as_ac_var+y}
10931 printf %s "(cached) " >&6
10933 ac_wine_try_cflags_saved=$CFLAGS
10934 ac_wine_try_cflags_saved_exeext=$ac_exeext
10935 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wempty-body"
10937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10938 /* end confdefs.h. */
10939 int __cdecl mainCRTStartup(void) { return 0; }
10941 if ac_fn_c_try_link "$LINENO"
10943 eval "$as_ac_var=yes"
10945 eval "$as_ac_var=no"
10947 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10948 conftest$ac_exeext conftest.$ac_ext
10949 CFLAGS=$ac_wine_try_cflags_saved
10950 ac_exeext=$ac_wine_try_cflags_saved_exeext
10952 eval ac_res=\$$as_ac_var
10953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10954 printf "%s\n" "$ac_res" >&6; }
10955 if eval test \"x\$"$as_ac_var"\" = x"yes"
10957 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
10959 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" |
$as_tr_sh`
10960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
10961 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
10962 if eval test \${$as_ac_var+y}
10964 printf %s "(cached) " >&6
10966 ac_wine_try_cflags_saved=$CFLAGS
10967 ac_wine_try_cflags_saved_exeext=$ac_exeext
10968 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wignored-qualifiers"
10970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10971 /* end confdefs.h. */
10972 int __cdecl mainCRTStartup(void) { return 0; }
10974 if ac_fn_c_try_link "$LINENO"
10976 eval "$as_ac_var=yes"
10978 eval "$as_ac_var=no"
10980 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10981 conftest$ac_exeext conftest.$ac_ext
10982 CFLAGS=$ac_wine_try_cflags_saved
10983 ac_exeext=$ac_wine_try_cflags_saved_exeext
10985 eval ac_res=\$$as_ac_var
10986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10987 printf "%s\n" "$ac_res" >&6; }
10988 if eval test \"x\$"$as_ac_var"\" = x"yes"
10990 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
10992 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" |
$as_tr_sh`
10993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
10994 printf %s "checking whether $CC supports -Winit-self... " >&6; }
10995 if eval test \${$as_ac_var+y}
10997 printf %s "(cached) " >&6
10999 ac_wine_try_cflags_saved=$CFLAGS
11000 ac_wine_try_cflags_saved_exeext=$ac_exeext
11001 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Winit-self"
11003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11004 /* end confdefs.h. */
11005 int __cdecl mainCRTStartup(void) { return 0; }
11007 if ac_fn_c_try_link "$LINENO"
11009 eval "$as_ac_var=yes"
11011 eval "$as_ac_var=no"
11013 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11014 conftest$ac_exeext conftest.$ac_ext
11015 CFLAGS=$ac_wine_try_cflags_saved
11016 ac_exeext=$ac_wine_try_cflags_saved_exeext
11018 eval ac_res=\$$as_ac_var
11019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11020 printf "%s\n" "$ac_res" >&6; }
11021 if eval test \"x\$"$as_ac_var"\" = x"yes"
11023 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
11025 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" |
$as_tr_sh`
11026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
11027 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
11028 if eval test \${$as_ac_var+y}
11030 printf %s "(cached) " >&6
11032 ac_wine_try_cflags_saved=$CFLAGS
11033 ac_wine_try_cflags_saved_exeext=$ac_exeext
11034 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpacked-not-aligned"
11036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11037 /* end confdefs.h. */
11038 int __cdecl mainCRTStartup(void) { return 0; }
11040 if ac_fn_c_try_link "$LINENO"
11042 eval "$as_ac_var=yes"
11044 eval "$as_ac_var=no"
11046 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11047 conftest$ac_exeext conftest.$ac_ext
11048 CFLAGS=$ac_wine_try_cflags_saved
11049 ac_exeext=$ac_wine_try_cflags_saved_exeext
11051 eval ac_res=\$$as_ac_var
11052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11053 printf "%s\n" "$ac_res" >&6; }
11054 if eval test \"x\$"$as_ac_var"\" = x"yes"
11056 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
11058 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" |
$as_tr_sh`
11059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
11060 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
11061 if eval test \${$as_ac_var+y}
11063 printf %s "(cached) " >&6
11065 ac_wine_try_cflags_saved=$CFLAGS
11066 ac_wine_try_cflags_saved_exeext=$ac_exeext
11067 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpragma-pack"
11069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11070 /* end confdefs.h. */
11071 int __cdecl mainCRTStartup(void) { return 0; }
11073 if ac_fn_c_try_link "$LINENO"
11075 eval "$as_ac_var=yes"
11077 eval "$as_ac_var=no"
11079 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11080 conftest$ac_exeext conftest.$ac_ext
11081 CFLAGS=$ac_wine_try_cflags_saved
11082 ac_exeext=$ac_wine_try_cflags_saved_exeext
11084 eval ac_res=\$$as_ac_var
11085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11086 printf "%s\n" "$ac_res" >&6; }
11087 if eval test \"x\$"$as_ac_var"\" = x"yes"
11089 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
11091 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" |
$as_tr_sh`
11092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
11093 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
11094 if eval test \${$as_ac_var+y}
11096 printf %s "(cached) " >&6
11098 ac_wine_try_cflags_saved=$CFLAGS
11099 ac_wine_try_cflags_saved_exeext=$ac_exeext
11100 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wshift-overflow=2"
11102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11103 /* end confdefs.h. */
11104 int __cdecl mainCRTStartup(void) { return 0; }
11106 if ac_fn_c_try_link "$LINENO"
11108 eval "$as_ac_var=yes"
11110 eval "$as_ac_var=no"
11112 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11113 conftest$ac_exeext conftest.$ac_ext
11114 CFLAGS=$ac_wine_try_cflags_saved
11115 ac_exeext=$ac_wine_try_cflags_saved_exeext
11117 eval ac_res=\$$as_ac_var
11118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11119 printf "%s\n" "$ac_res" >&6; }
11120 if eval test \"x\$"$as_ac_var"\" = x"yes"
11122 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11124 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" |
$as_tr_sh`
11125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11126 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11127 if eval test \${$as_ac_var+y}
11129 printf %s "(cached) " >&6
11131 ac_wine_try_cflags_saved=$CFLAGS
11132 ac_wine_try_cflags_saved_exeext=$ac_exeext
11133 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wstrict-prototypes"
11135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11136 /* end confdefs.h. */
11137 int __cdecl mainCRTStartup(void) { return 0; }
11139 if ac_fn_c_try_link "$LINENO"
11141 eval "$as_ac_var=yes"
11143 eval "$as_ac_var=no"
11145 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11146 conftest$ac_exeext conftest.$ac_ext
11147 CFLAGS=$ac_wine_try_cflags_saved
11148 ac_exeext=$ac_wine_try_cflags_saved_exeext
11150 eval ac_res=\$$as_ac_var
11151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11152 printf "%s\n" "$ac_res" >&6; }
11153 if eval test \"x\$"$as_ac_var"\" = x"yes"
11155 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11157 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" |
$as_tr_sh`
11158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11159 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11160 if eval test \${$as_ac_var+y}
11162 printf %s "(cached) " >&6
11164 ac_wine_try_cflags_saved=$CFLAGS
11165 ac_wine_try_cflags_saved_exeext=$ac_exeext
11166 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wtype-limits"
11168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11169 /* end confdefs.h. */
11170 int __cdecl mainCRTStartup(void) { return 0; }
11172 if ac_fn_c_try_link "$LINENO"
11174 eval "$as_ac_var=yes"
11176 eval "$as_ac_var=no"
11178 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11179 conftest$ac_exeext conftest.$ac_ext
11180 CFLAGS=$ac_wine_try_cflags_saved
11181 ac_exeext=$ac_wine_try_cflags_saved_exeext
11183 eval ac_res=\$$as_ac_var
11184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11185 printf "%s\n" "$ac_res" >&6; }
11186 if eval test \"x\$"$as_ac_var"\" = x"yes"
11188 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11190 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" |
$as_tr_sh`
11191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11192 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11193 if eval test \${$as_ac_var+y}
11195 printf %s "(cached) " >&6
11197 ac_wine_try_cflags_saved=$CFLAGS
11198 ac_wine_try_cflags_saved_exeext=$ac_exeext
11199 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wunused-but-set-parameter"
11201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11202 /* end confdefs.h. */
11203 int __cdecl mainCRTStartup(void) { return 0; }
11205 if ac_fn_c_try_link "$LINENO"
11207 eval "$as_ac_var=yes"
11209 eval "$as_ac_var=no"
11211 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11212 conftest$ac_exeext conftest.$ac_ext
11213 CFLAGS=$ac_wine_try_cflags_saved
11214 ac_exeext=$ac_wine_try_cflags_saved_exeext
11216 eval ac_res=\$$as_ac_var
11217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11218 printf "%s\n" "$ac_res" >&6; }
11219 if eval test \"x\$"$as_ac_var"\" = x"yes"
11221 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11223 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" |
$as_tr_sh`
11224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11225 printf %s "checking whether $CC supports -Wvla... " >&6; }
11226 if eval test \${$as_ac_var+y}
11228 printf %s "(cached) " >&6
11230 ac_wine_try_cflags_saved=$CFLAGS
11231 ac_wine_try_cflags_saved_exeext=$ac_exeext
11232 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wvla"
11234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11235 /* end confdefs.h. */
11236 int __cdecl mainCRTStartup(void) { return 0; }
11238 if ac_fn_c_try_link "$LINENO"
11240 eval "$as_ac_var=yes"
11242 eval "$as_ac_var=no"
11244 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11245 conftest$ac_exeext conftest.$ac_ext
11246 CFLAGS=$ac_wine_try_cflags_saved
11247 ac_exeext=$ac_wine_try_cflags_saved_exeext
11249 eval ac_res=\$$as_ac_var
11250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11251 printf "%s\n" "$ac_res" >&6; }
11252 if eval test \"x\$"$as_ac_var"\" = x"yes"
11254 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11256 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" |
$as_tr_sh`
11257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11258 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11259 if eval test \${$as_ac_var+y}
11261 printf %s "(cached) " >&6
11263 ac_wine_try_cflags_saved=$CFLAGS
11264 ac_wine_try_cflags_saved_exeext=$ac_exeext
11265 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wwrite-strings"
11267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11268 /* end confdefs.h. */
11269 int __cdecl mainCRTStartup(void) { return 0; }
11271 if ac_fn_c_try_link "$LINENO"
11273 eval "$as_ac_var=yes"
11275 eval "$as_ac_var=no"
11277 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11278 conftest$ac_exeext conftest.$ac_ext
11279 CFLAGS=$ac_wine_try_cflags_saved
11280 ac_exeext=$ac_wine_try_cflags_saved_exeext
11282 eval ac_res=\$$as_ac_var
11283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11284 printf "%s\n" "$ac_res" >&6; }
11285 if eval test \"x\$"$as_ac_var"\" = x"yes"
11287 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11289 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" |
$as_tr_sh`
11290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11291 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11292 if eval test \${$as_ac_var+y}
11294 printf %s "(cached) " >&6
11296 ac_wine_try_cflags_saved=$CFLAGS
11297 ac_wine_try_cflags_saved_exeext=$ac_exeext
11298 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpointer-arith"
11300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11301 /* end confdefs.h. */
11302 int __cdecl mainCRTStartup(void) { return 0; }
11304 if ac_fn_c_try_link "$LINENO"
11306 eval "$as_ac_var=yes"
11308 eval "$as_ac_var=no"
11310 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11311 conftest$ac_exeext conftest.$ac_ext
11312 CFLAGS=$ac_wine_try_cflags_saved
11313 ac_exeext=$ac_wine_try_cflags_saved_exeext
11315 eval ac_res=\$$as_ac_var
11316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11317 printf "%s\n" "$ac_res" >&6; }
11318 if eval test \"x\$"$as_ac_var"\" = x"yes"
11320 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11322 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" |
$as_tr_sh`
11323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11324 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11325 if eval test \${$as_ac_var+y}
11327 printf %s "(cached) " >&6
11329 ac_wine_try_cflags_saved=$CFLAGS
11330 ac_wine_try_cflags_saved_exeext=$ac_exeext
11331 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wlogical-op"
11333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11334 /* end confdefs.h. */
11335 int __cdecl mainCRTStartup(void) { return 0; }
11337 if ac_fn_c_try_link "$LINENO"
11339 eval "$as_ac_var=yes"
11341 eval "$as_ac_var=no"
11343 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11344 conftest$ac_exeext conftest.$ac_ext
11345 CFLAGS=$ac_wine_try_cflags_saved
11346 ac_exeext=$ac_wine_try_cflags_saved_exeext
11348 eval ac_res=\$$as_ac_var
11349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11350 printf "%s\n" "$ac_res" >&6; }
11351 if eval test \"x\$"$as_ac_var"\" = x"yes"
11353 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11355 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" |
$as_tr_sh`
11356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11357 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11358 if eval test \${$as_ac_var+y}
11360 printf %s "(cached) " >&6
11362 ac_wine_try_cflags_saved=$CFLAGS
11363 ac_wine_try_cflags_saved_exeext=$ac_exeext
11364 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wabsolute-value"
11366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11367 /* end confdefs.h. */
11368 int __cdecl mainCRTStartup(void) { return 0; }
11370 if ac_fn_c_try_link "$LINENO"
11372 eval "$as_ac_var=yes"
11374 eval "$as_ac_var=no"
11376 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11377 conftest$ac_exeext conftest.$ac_ext
11378 CFLAGS=$ac_wine_try_cflags_saved
11379 ac_exeext=$ac_wine_try_cflags_saved_exeext
11381 eval ac_res=\$$as_ac_var
11382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11383 printf "%s\n" "$ac_res" >&6; }
11384 if eval test \"x\$"$as_ac_var"\" = x"yes"
11386 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11390 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" |
$as_tr_sh`
11391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11392 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11393 if eval test \${$as_ac_var+y}
11395 printf %s "(cached) " >&6
11397 ac_wine_try_cflags_saved=$CFLAGS
11398 ac_wine_try_cflags_saved_exeext=$ac_exeext
11399 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-omit-frame-pointer"
11401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11402 /* end confdefs.h. */
11403 int __cdecl mainCRTStartup(void) { return 0; }
11405 if ac_fn_c_try_link "$LINENO"
11407 eval "$as_ac_var=yes"
11409 eval "$as_ac_var=no"
11411 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11412 conftest$ac_exeext conftest.$ac_ext
11413 CFLAGS=$ac_wine_try_cflags_saved
11414 ac_exeext=$ac_wine_try_cflags_saved_exeext
11416 eval ac_res=\$$as_ac_var
11417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11418 printf "%s\n" "$ac_res" >&6; }
11419 if eval test \"x\$"$as_ac_var"\" = x"yes"
11421 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11423 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" |
$as_tr_sh`
11424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11425 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11426 if eval test \${$as_ac_var+y}
11428 printf %s "(cached) " >&6
11430 ac_wine_try_cflags_saved=$CFLAGS
11431 ac_wine_try_cflags_saved_exeext=$ac_exeext
11432 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--disable-stdcall-fixup"
11434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11435 /* end confdefs.h. */
11436 int __cdecl mainCRTStartup(void) { return 0; }
11438 if ac_fn_c_try_link "$LINENO"
11440 eval "$as_ac_var=yes"
11442 eval "$as_ac_var=no"
11444 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11445 conftest$ac_exeext conftest.$ac_ext
11446 CFLAGS=$ac_wine_try_cflags_saved
11447 ac_exeext=$ac_wine_try_cflags_saved_exeext
11449 eval ac_res=\$$as_ac_var
11450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11451 printf "%s\n" "$ac_res" >&6; }
11452 if eval test \"x\$"$as_ac_var"\" = x"yes"
11454 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11456 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" |
$as_tr_sh`
11457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11458 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11459 if eval test \${$as_ac_var+y}
11461 printf %s "(cached) " >&6
11463 ac_wine_try_cflags_saved=$CFLAGS
11464 ac_wine_try_cflags_saved_exeext=$ac_exeext
11465 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wformat-overflow"
11467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11468 /* end confdefs.h. */
11469 int __cdecl mainCRTStartup(void) { return 0; }
11471 if ac_fn_c_try_link "$LINENO"
11473 eval "$as_ac_var=yes"
11475 eval "$as_ac_var=no"
11477 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11478 conftest$ac_exeext conftest.$ac_ext
11479 CFLAGS=$ac_wine_try_cflags_saved
11480 ac_exeext=$ac_wine_try_cflags_saved_exeext
11482 eval ac_res=\$$as_ac_var
11483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11484 printf "%s\n" "$ac_res" >&6; }
11485 if eval test \"x\$"$as_ac_var"\" = x"yes"
11487 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11489 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" |
$as_tr_sh`
11490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11491 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11492 if eval test \${$as_ac_var+y}
11494 printf %s "(cached) " >&6
11496 ac_wine_try_cflags_saved=$CFLAGS
11497 ac_wine_try_cflags_saved_exeext=$ac_exeext
11498 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wnonnull"
11500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11501 /* end confdefs.h. */
11502 int __cdecl mainCRTStartup(void) { return 0; }
11504 if ac_fn_c_try_link "$LINENO"
11506 eval "$as_ac_var=yes"
11508 eval "$as_ac_var=no"
11510 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11511 conftest$ac_exeext conftest.$ac_ext
11512 CFLAGS=$ac_wine_try_cflags_saved
11513 ac_exeext=$ac_wine_try_cflags_saved_exeext
11515 eval ac_res=\$$as_ac_var
11516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11517 printf "%s\n" "$ac_res" >&6; }
11518 if eval test \"x\$"$as_ac_var"\" = x"yes"
11520 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11522 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" |
$as_tr_sh`
11523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11524 printf %s "checking whether $CC supports -mcx16... " >&6; }
11525 if eval test \${$as_ac_var+y}
11527 printf %s "(cached) " >&6
11529 ac_wine_try_cflags_saved=$CFLAGS
11530 ac_wine_try_cflags_saved_exeext=$ac_exeext
11531 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcx16"
11533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11534 /* end confdefs.h. */
11535 int __cdecl mainCRTStartup(void) { return 0; }
11537 if ac_fn_c_try_link "$LINENO"
11539 eval "$as_ac_var=yes"
11541 eval "$as_ac_var=no"
11543 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11544 conftest$ac_exeext conftest.$ac_ext
11545 CFLAGS=$ac_wine_try_cflags_saved
11546 ac_exeext=$ac_wine_try_cflags_saved_exeext
11548 eval ac_res=\$$as_ac_var
11549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11550 printf "%s\n" "$ac_res" >&6; }
11551 if eval test \"x\$"$as_ac_var"\" = x"yes"
11553 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11557 wine_crossdebug=$CROSSDEBUG
11558 if test -z "$wine_crossdebug"
11560 for ac_flag in $CFLAGS; do
11562 -gdwarf*) wine_crossdebug=dwarf ;;
11563 -gcodeview) wine_crossdebug=pdb ;;
11564 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11569 ac_debug_format_seen=""
11570 for ac_flag in $CFLAGS; do
11572 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11575 if test "x$ac_debug_format_seen" = x
11577 case $wine_crossdebug in
11578 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" |
$as_tr_sh`
11579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11580 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11581 if eval test \${$as_ac_var+y}
11583 printf %s "(cached) " >&6
11585 ac_wine_try_cflags_saved=$CFLAGS
11586 ac_wine_try_cflags_saved_exeext=$ac_exeext
11587 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gdwarf-4"
11589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11590 /* end confdefs.h. */
11591 int __cdecl mainCRTStartup(void) { return 0; }
11593 if ac_fn_c_try_link "$LINENO"
11595 eval "$as_ac_var=yes"
11597 eval "$as_ac_var=no"
11599 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11600 conftest$ac_exeext conftest.$ac_ext
11601 CFLAGS=$ac_wine_try_cflags_saved
11602 ac_exeext=$ac_wine_try_cflags_saved_exeext
11604 eval ac_res=\$$as_ac_var
11605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11606 printf "%s\n" "$ac_res" >&6; }
11607 if eval test \"x\$"$as_ac_var"\" = x"yes"
11609 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11611 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" |
$as_tr_sh`
11612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11613 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11614 if eval test \${$as_ac_var+y}
11616 printf %s "(cached) " >&6
11618 ac_wine_try_cflags_saved=$CFLAGS
11619 ac_wine_try_cflags_saved_exeext=$ac_exeext
11620 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gcodeview"
11622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11623 /* end confdefs.h. */
11624 int __cdecl mainCRTStartup(void) { return 0; }
11626 if ac_fn_c_try_link "$LINENO"
11628 eval "$as_ac_var=yes"
11630 eval "$as_ac_var=no"
11632 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11633 conftest$ac_exeext conftest.$ac_ext
11634 CFLAGS=$ac_wine_try_cflags_saved
11635 ac_exeext=$ac_wine_try_cflags_saved_exeext
11637 eval ac_res=\$$as_ac_var
11638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11639 printf "%s\n" "$ac_res" >&6; }
11640 if eval test \"x\$"$as_ac_var"\" = x"yes"
11642 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11646 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11648 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" |
$as_tr_sh`
11649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11650 printf %s "checking whether $CC supports -Werror... " >&6; }
11651 if eval test \${$as_ac_var+y}
11653 printf %s "(cached) " >&6
11655 ac_wine_try_cflags_saved=$CFLAGS
11656 ac_wine_try_cflags_saved_exeext=$ac_exeext
11657 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror"
11659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11660 /* end confdefs.h. */
11661 int __cdecl mainCRTStartup(void) { return 0; }
11663 if ac_fn_c_try_link "$LINENO"
11665 eval "$as_ac_var=yes"
11667 eval "$as_ac_var=no"
11669 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11670 conftest$ac_exeext conftest.$ac_ext
11671 CFLAGS=$ac_wine_try_cflags_saved
11672 ac_exeext=$ac_wine_try_cflags_saved_exeext
11674 eval ac_res=\$$as_ac_var
11675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11676 printf "%s\n" "$ac_res" >&6; }
11677 if eval test \"x\$"$as_ac_var"\" = x"yes"
11679 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11681 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" |
$as_tr_sh`
11682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11683 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11684 if eval test \${$as_ac_var+y}
11686 printf %s "(cached) " >&6
11688 ac_wine_try_cflags_saved=$CFLAGS
11689 ac_wine_try_cflags_saved_exeext=$ac_exeext
11690 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--build-id"
11692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11693 /* end confdefs.h. */
11694 int __cdecl mainCRTStartup(void) { return 0; }
11696 if ac_fn_c_try_link "$LINENO"
11698 eval "$as_ac_var=yes"
11700 eval "$as_ac_var=no"
11702 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11703 conftest$ac_exeext conftest.$ac_ext
11704 CFLAGS=$ac_wine_try_cflags_saved
11705 ac_exeext=$ac_wine_try_cflags_saved_exeext
11707 eval ac_res=\$$as_ac_var
11708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11709 printf "%s\n" "$ac_res" >&6; }
11710 if eval test \"x\$"$as_ac_var"\" = x"yes"
11712 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
11713 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
11717 CFLAGS=$saved_CFLAGS
11720 if test $HOST_ARCH = aarch64 -a "x$PE_ARCHS" = x
11722 as_fn_error $? "PE cross-compilation is required for ARM64, please install clang/llvm-dlltool/lld, or llvm-mingw." "$LINENO" 5
11725 if test "x$PE_ARCHS" = "x"
11727 case "x$with_mingw" in
11728 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
11730 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
11731 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
11737 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
11739 case "$host_cpu" in
11741 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11743 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11745 for ac_prog in $ac_prefix_list
11747 # Extract the first word of "$ac_prog", so it can be a program name with args.
11748 set dummy $ac_prog; ac_word=$2
11749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11750 printf %s "checking for $ac_word... " >&6; }
11751 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11753 printf %s "(cached) " >&6
11755 if test -n "$MINGW_PKG_CONFIG"; then
11756 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11759 for as_dir in $PATH
11762 case $as_dir in #(((
11765 *) as_dir=$as_dir/ ;;
11767 for ac_exec_ext in '' $ac_executable_extensions; do
11768 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11769 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11770 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11779 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11780 if test -n "$MINGW_PKG_CONFIG"; then
11781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11782 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
11784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11785 printf "%s\n" "no" >&6; }
11789 test -n "$MINGW_PKG_CONFIG" && break
11791 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
11793 if ${FAUDIO_PE_CFLAGS:+false} :
11795 if test ${MINGW_PKG_CONFIG+y}
11797 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio
2>/dev
/null
`
11800 if ${FAUDIO_PE_LIBS:+false} :
11802 if test ${MINGW_PKG_CONFIG+y}
11804 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio
2>/dev
/null
`
11807 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
11808 ac_save_CPPFLAGS=$CPPFLAGS
11809 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
11810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
11811 printf %s "checking for MinGW FAudio.h... " >&6; }
11812 if test ${ac_cv_mingw_header_FAudio_h+y}
11814 printf %s "(cached) " >&6
11816 ac_wine_check_headers_saved_cc=$CC
11817 ac_wine_check_headers_saved_exeext=$ac_exeext
11818 eval CC=\$${wine_arch}_CC
11820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11821 /* end confdefs.h. */
11823 #include <FAudio.h>
11832 if ac_fn_c_try_compile "$LINENO"
11834 ac_cv_mingw_header_FAudio_h=yes
11836 ac_cv_mingw_header_FAudio_h=no
11838 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11839 CC=$ac_wine_check_headers_saved_cc
11840 ac_exeext=$ac_wine_check_headers_saved_exeext
11842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
11843 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
11844 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
11846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
11847 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
11848 if test ${ac_cv_mingw_lib_FAudio+y}
11850 printf %s "(cached) " >&6
11852 ac_wine_check_headers_saved_cc=$CC
11853 ac_wine_check_headers_saved_exeext=$ac_exeext
11854 ac_wine_check_headers_saved_libs=$LIBS
11855 eval CC=\$${wine_arch}_CC
11857 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
11858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11859 /* end confdefs.h. */
11861 /* Override any GCC internal prototype to avoid an error.
11862 Use char because int might match the return type of a GCC
11863 builtin and then its argument prototype would still apply. */
11864 char FAudio_CommitOperationSet ();
11868 return FAudio_CommitOperationSet ();
11873 if ac_fn_c_try_link "$LINENO"
11875 ac_cv_mingw_lib_FAudio=yes
11877 ac_cv_mingw_lib_FAudio=no
11879 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11880 conftest$ac_exeext conftest.$ac_ext
11881 CC=$ac_wine_check_headers_saved_cc
11882 ac_exeext=$ac_wine_check_headers_saved_exeext
11883 LIBS=$ac_wine_check_headers_saved_libs
11885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
11886 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
11887 if test "x$ac_cv_mingw_lib_FAudio" = xyes
11891 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11894 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11896 CPPFLAGS=$ac_save_CPPFLAGS
11898 if test "x$FAUDIO_PE_LIBS" = "x"
11900 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
11903 if ${JPEG_PE_CFLAGS:+false} :
11905 if test ${MINGW_PKG_CONFIG+y}
11907 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg
2>/dev
/null
`
11910 if ${JPEG_PE_LIBS:+false} :
11912 if test ${MINGW_PKG_CONFIG+y}
11914 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg
2>/dev
/null
`
11918 ac_save_CPPFLAGS=$CPPFLAGS
11919 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
11920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
11921 printf %s "checking for MinGW jpeglib.h... " >&6; }
11922 if test ${ac_cv_mingw_header_jpeglib_h+y}
11924 printf %s "(cached) " >&6
11926 ac_wine_check_headers_saved_cc=$CC
11927 ac_wine_check_headers_saved_exeext=$ac_exeext
11928 eval CC=\$${wine_arch}_CC
11930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11931 /* end confdefs.h. */
11932 #include <stddef.h>
11934 #include <jpeglib.h>
11943 if ac_fn_c_try_compile "$LINENO"
11945 ac_cv_mingw_header_jpeglib_h=yes
11947 ac_cv_mingw_header_jpeglib_h=no
11949 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11950 CC=$ac_wine_check_headers_saved_cc
11951 ac_exeext=$ac_wine_check_headers_saved_exeext
11953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
11954 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
11955 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
11957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
11958 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
11959 if test ${ac_cv_mingw_lib_jpeg+y}
11961 printf %s "(cached) " >&6
11963 ac_wine_check_headers_saved_cc=$CC
11964 ac_wine_check_headers_saved_exeext=$ac_exeext
11965 ac_wine_check_headers_saved_libs=$LIBS
11966 eval CC=\$${wine_arch}_CC
11968 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
11969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11970 /* end confdefs.h. */
11972 /* Override any GCC internal prototype to avoid an error.
11973 Use char because int might match the return type of a GCC
11974 builtin and then its argument prototype would still apply. */
11975 char jpeg_start_decompress ();
11979 return jpeg_start_decompress ();
11984 if ac_fn_c_try_link "$LINENO"
11986 ac_cv_mingw_lib_jpeg=yes
11988 ac_cv_mingw_lib_jpeg=no
11990 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11991 conftest$ac_exeext conftest.$ac_ext
11992 CC=$ac_wine_check_headers_saved_cc
11993 ac_exeext=$ac_wine_check_headers_saved_exeext
11994 LIBS=$ac_wine_check_headers_saved_libs
11996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
11997 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
11998 if test "x$ac_cv_mingw_lib_jpeg" = xyes
12002 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12005 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12007 CPPFLAGS=$ac_save_CPPFLAGS
12009 if test "x$JPEG_PE_LIBS" = "x"
12011 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
12014 if ${LCMS2_PE_CFLAGS:+false} :
12016 if test ${MINGW_PKG_CONFIG+y}
12018 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2
2>/dev
/null
`
12021 if ${LCMS2_PE_LIBS:+false} :
12023 if test ${MINGW_PKG_CONFIG+y}
12025 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2
2>/dev
/null
`
12028 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12029 ac_save_CPPFLAGS=$CPPFLAGS
12030 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12032 printf %s "checking for MinGW lcms2.h... " >&6; }
12033 if test ${ac_cv_mingw_header_lcms2_h+y}
12035 printf %s "(cached) " >&6
12037 ac_wine_check_headers_saved_cc=$CC
12038 ac_wine_check_headers_saved_exeext=$ac_exeext
12039 eval CC=\$${wine_arch}_CC
12041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12042 /* end confdefs.h. */
12053 if ac_fn_c_try_compile "$LINENO"
12055 ac_cv_mingw_header_lcms2_h=yes
12057 ac_cv_mingw_header_lcms2_h=no
12059 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12060 CC=$ac_wine_check_headers_saved_cc
12061 ac_exeext=$ac_wine_check_headers_saved_exeext
12063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12064 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12065 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12068 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12069 if test ${ac_cv_mingw_lib_lcms2+y}
12071 printf %s "(cached) " >&6
12073 ac_wine_check_headers_saved_cc=$CC
12074 ac_wine_check_headers_saved_exeext=$ac_exeext
12075 ac_wine_check_headers_saved_libs=$LIBS
12076 eval CC=\$${wine_arch}_CC
12078 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12080 /* end confdefs.h. */
12082 /* Override any GCC internal prototype to avoid an error.
12083 Use char because int might match the return type of a GCC
12084 builtin and then its argument prototype would still apply. */
12085 char cmsOpenProfileFromFile ();
12089 return cmsOpenProfileFromFile ();
12094 if ac_fn_c_try_link "$LINENO"
12096 ac_cv_mingw_lib_lcms2=yes
12098 ac_cv_mingw_lib_lcms2=no
12100 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12101 conftest$ac_exeext conftest.$ac_ext
12102 CC=$ac_wine_check_headers_saved_cc
12103 ac_exeext=$ac_wine_check_headers_saved_exeext
12104 LIBS=$ac_wine_check_headers_saved_libs
12106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12107 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12108 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12112 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12115 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12117 CPPFLAGS=$ac_save_CPPFLAGS
12119 if test "x$LCMS2_PE_LIBS" = "x"
12121 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12124 if ${MPG123_PE_CFLAGS:+false} :
12126 if test ${MINGW_PKG_CONFIG+y}
12128 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123
2>/dev
/null
`
12131 if ${MPG123_PE_LIBS:+false} :
12133 if test ${MINGW_PKG_CONFIG+y}
12135 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123
2>/dev
/null
`
12138 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12139 ac_save_CPPFLAGS=$CPPFLAGS
12140 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12142 printf %s "checking for MinGW mpg123.h... " >&6; }
12143 if test ${ac_cv_mingw_header_mpg123_h+y}
12145 printf %s "(cached) " >&6
12147 ac_wine_check_headers_saved_cc=$CC
12148 ac_wine_check_headers_saved_exeext=$ac_exeext
12149 eval CC=\$${wine_arch}_CC
12151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12152 /* end confdefs.h. */
12154 #include <mpg123.h>
12163 if ac_fn_c_try_compile "$LINENO"
12165 ac_cv_mingw_header_mpg123_h=yes
12167 ac_cv_mingw_header_mpg123_h=no
12169 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12170 CC=$ac_wine_check_headers_saved_cc
12171 ac_exeext=$ac_wine_check_headers_saved_exeext
12173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12174 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12175 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12178 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12179 if test ${ac_cv_mingw_lib_mpg123+y}
12181 printf %s "(cached) " >&6
12183 ac_wine_check_headers_saved_cc=$CC
12184 ac_wine_check_headers_saved_exeext=$ac_exeext
12185 ac_wine_check_headers_saved_libs=$LIBS
12186 eval CC=\$${wine_arch}_CC
12188 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12190 /* end confdefs.h. */
12192 /* Override any GCC internal prototype to avoid an error.
12193 Use char because int might match the return type of a GCC
12194 builtin and then its argument prototype would still apply. */
12195 char mpg123_feed ();
12199 return mpg123_feed ();
12204 if ac_fn_c_try_link "$LINENO"
12206 ac_cv_mingw_lib_mpg123=yes
12208 ac_cv_mingw_lib_mpg123=no
12210 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12211 conftest$ac_exeext conftest.$ac_ext
12212 CC=$ac_wine_check_headers_saved_cc
12213 ac_exeext=$ac_wine_check_headers_saved_exeext
12214 LIBS=$ac_wine_check_headers_saved_libs
12216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12217 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12218 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12222 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12225 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12227 CPPFLAGS=$ac_save_CPPFLAGS
12229 if test "x$MPG123_PE_LIBS" = "x"
12231 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12234 if ${PNG_PE_CFLAGS:+false} :
12236 if test ${MINGW_PKG_CONFIG+y}
12238 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng
2>/dev
/null
`
12241 if ${PNG_PE_LIBS:+false} :
12243 if test ${MINGW_PKG_CONFIG+y}
12245 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng
2>/dev
/null
`
12249 ac_save_CPPFLAGS=$CPPFLAGS
12250 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12252 printf %s "checking for MinGW png.h... " >&6; }
12253 if test ${ac_cv_mingw_header_png_h+y}
12255 printf %s "(cached) " >&6
12257 ac_wine_check_headers_saved_cc=$CC
12258 ac_wine_check_headers_saved_exeext=$ac_exeext
12259 eval CC=\$${wine_arch}_CC
12261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12262 /* end confdefs.h. */
12273 if ac_fn_c_try_compile "$LINENO"
12275 ac_cv_mingw_header_png_h=yes
12277 ac_cv_mingw_header_png_h=no
12279 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12280 CC=$ac_wine_check_headers_saved_cc
12281 ac_exeext=$ac_wine_check_headers_saved_exeext
12283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12284 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12285 if test "x$ac_cv_mingw_header_png_h" = xyes
12287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12288 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12289 if test ${ac_cv_mingw_lib_png+y}
12291 printf %s "(cached) " >&6
12293 ac_wine_check_headers_saved_cc=$CC
12294 ac_wine_check_headers_saved_exeext=$ac_exeext
12295 ac_wine_check_headers_saved_libs=$LIBS
12296 eval CC=\$${wine_arch}_CC
12298 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12300 /* end confdefs.h. */
12302 /* Override any GCC internal prototype to avoid an error.
12303 Use char because int might match the return type of a GCC
12304 builtin and then its argument prototype would still apply. */
12305 char png_create_read_struct ();
12309 return png_create_read_struct ();
12314 if ac_fn_c_try_link "$LINENO"
12316 ac_cv_mingw_lib_png=yes
12318 ac_cv_mingw_lib_png=no
12320 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12321 conftest$ac_exeext conftest.$ac_ext
12322 CC=$ac_wine_check_headers_saved_cc
12323 ac_exeext=$ac_wine_check_headers_saved_exeext
12324 LIBS=$ac_wine_check_headers_saved_libs
12326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12327 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12328 if test "x$ac_cv_mingw_lib_png" = xyes
12332 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12335 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12337 CPPFLAGS=$ac_save_CPPFLAGS
12339 if test "x$PNG_PE_LIBS" = "x"
12341 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12344 if ${TIFF_PE_CFLAGS:+false} :
12346 if test ${MINGW_PKG_CONFIG+y}
12348 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4
2>/dev
/null
`
12351 if ${TIFF_PE_LIBS:+false} :
12353 if test ${MINGW_PKG_CONFIG+y}
12355 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4
2>/dev
/null
`
12359 ac_save_CPPFLAGS=$CPPFLAGS
12360 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12362 printf %s "checking for MinGW tiffio.h... " >&6; }
12363 if test ${ac_cv_mingw_header_tiffio_h+y}
12365 printf %s "(cached) " >&6
12367 ac_wine_check_headers_saved_cc=$CC
12368 ac_wine_check_headers_saved_exeext=$ac_exeext
12369 eval CC=\$${wine_arch}_CC
12371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12372 /* end confdefs.h. */
12374 #include <tiffio.h>
12383 if ac_fn_c_try_compile "$LINENO"
12385 ac_cv_mingw_header_tiffio_h=yes
12387 ac_cv_mingw_header_tiffio_h=no
12389 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12390 CC=$ac_wine_check_headers_saved_cc
12391 ac_exeext=$ac_wine_check_headers_saved_exeext
12393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12394 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12395 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12398 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12399 if test ${ac_cv_mingw_lib_tiff+y}
12401 printf %s "(cached) " >&6
12403 ac_wine_check_headers_saved_cc=$CC
12404 ac_wine_check_headers_saved_exeext=$ac_exeext
12405 ac_wine_check_headers_saved_libs=$LIBS
12406 eval CC=\$${wine_arch}_CC
12408 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12410 /* end confdefs.h. */
12412 /* Override any GCC internal prototype to avoid an error.
12413 Use char because int might match the return type of a GCC
12414 builtin and then its argument prototype would still apply. */
12415 char TIFFClientOpen ();
12419 return TIFFClientOpen ();
12424 if ac_fn_c_try_link "$LINENO"
12426 ac_cv_mingw_lib_tiff=yes
12428 ac_cv_mingw_lib_tiff=no
12430 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12431 conftest$ac_exeext conftest.$ac_ext
12432 CC=$ac_wine_check_headers_saved_cc
12433 ac_exeext=$ac_wine_check_headers_saved_exeext
12434 LIBS=$ac_wine_check_headers_saved_libs
12436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12437 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12438 if test "x$ac_cv_mingw_lib_tiff" = xyes
12442 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12445 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12447 CPPFLAGS=$ac_save_CPPFLAGS
12449 if test "x$TIFF_PE_LIBS" = "x"
12451 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12454 if ${XML2_PE_CFLAGS:+false} :
12456 if test ${MINGW_PKG_CONFIG+y}
12458 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0
2>/dev
/null
`
12461 if ${XML2_PE_LIBS:+false} :
12463 if test ${MINGW_PKG_CONFIG+y}
12465 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0
2>/dev
/null
`
12468 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12469 ac_save_CPPFLAGS=$CPPFLAGS
12470 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12472 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12473 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12475 printf %s "(cached) " >&6
12477 ac_wine_check_headers_saved_cc=$CC
12478 ac_wine_check_headers_saved_exeext=$ac_exeext
12479 eval CC=\$${wine_arch}_CC
12481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12482 /* end confdefs.h. */
12484 #include <libxml/parser.h>
12493 if ac_fn_c_try_compile "$LINENO"
12495 ac_cv_mingw_header_libxml_parser_h=yes
12497 ac_cv_mingw_header_libxml_parser_h=no
12499 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12500 CC=$ac_wine_check_headers_saved_cc
12501 ac_exeext=$ac_wine_check_headers_saved_exeext
12503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12504 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12505 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12510 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12511 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12513 printf %s "(cached) " >&6
12515 ac_wine_check_headers_saved_cc=$CC
12516 ac_wine_check_headers_saved_exeext=$ac_exeext
12517 eval CC=\$${wine_arch}_CC
12519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12520 /* end confdefs.h. */
12522 #include <libxml/xmlsave.h>
12531 if ac_fn_c_try_compile "$LINENO"
12533 ac_cv_mingw_header_libxml_xmlsave_h=yes
12535 ac_cv_mingw_header_libxml_xmlsave_h=no
12537 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12538 CC=$ac_wine_check_headers_saved_cc
12539 ac_exeext=$ac_wine_check_headers_saved_exeext
12541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12542 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12543 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12548 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12549 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12551 printf %s "(cached) " >&6
12553 ac_wine_check_headers_saved_cc=$CC
12554 ac_wine_check_headers_saved_exeext=$ac_exeext
12555 eval CC=\$${wine_arch}_CC
12557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12558 /* end confdefs.h. */
12560 #include <libxml/SAX2.h>
12569 if ac_fn_c_try_compile "$LINENO"
12571 ac_cv_mingw_header_libxml_SAX2_h=yes
12573 ac_cv_mingw_header_libxml_SAX2_h=no
12575 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12576 CC=$ac_wine_check_headers_saved_cc
12577 ac_exeext=$ac_wine_check_headers_saved_exeext
12579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12580 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12581 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12585 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"
12587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12588 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12589 if test ${ac_cv_mingw_lib_xml2+y}
12591 printf %s "(cached) " >&6
12593 ac_wine_check_headers_saved_cc=$CC
12594 ac_wine_check_headers_saved_exeext=$ac_exeext
12595 ac_wine_check_headers_saved_libs=$LIBS
12596 eval CC=\$${wine_arch}_CC
12598 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12600 /* end confdefs.h. */
12602 /* Override any GCC internal prototype to avoid an error.
12603 Use char because int might match the return type of a GCC
12604 builtin and then its argument prototype would still apply. */
12605 char xmlFirstElementChild ();
12609 return xmlFirstElementChild ();
12614 if ac_fn_c_try_link "$LINENO"
12616 ac_cv_mingw_lib_xml2=yes
12618 ac_cv_mingw_lib_xml2=no
12620 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12621 conftest$ac_exeext conftest.$ac_ext
12622 CC=$ac_wine_check_headers_saved_cc
12623 ac_exeext=$ac_wine_check_headers_saved_exeext
12624 LIBS=$ac_wine_check_headers_saved_libs
12626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12627 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12628 if test "x$ac_cv_mingw_lib_xml2" = xyes
12632 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12638 CPPFLAGS=$ac_save_CPPFLAGS
12640 if test "x$XML2_PE_LIBS" = "x"
12642 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12645 if ${XSLT_PE_CFLAGS:+false} :
12647 if test ${MINGW_PKG_CONFIG+y}
12649 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt
2>/dev
/null
`
12652 if ${XSLT_PE_LIBS:+false} :
12654 if test ${MINGW_PKG_CONFIG+y}
12656 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt
2>/dev
/null
`
12659 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12660 ac_save_CPPFLAGS=$CPPFLAGS
12661 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12663 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12664 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12666 printf %s "(cached) " >&6
12668 ac_wine_check_headers_saved_cc=$CC
12669 ac_wine_check_headers_saved_exeext=$ac_exeext
12670 eval CC=\$${wine_arch}_CC
12672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12673 /* end confdefs.h. */
12675 #include <libxslt/pattern.h>
12684 if ac_fn_c_try_compile "$LINENO"
12686 ac_cv_mingw_header_libxslt_pattern_h=yes
12688 ac_cv_mingw_header_libxslt_pattern_h=no
12690 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12691 CC=$ac_wine_check_headers_saved_cc
12692 ac_exeext=$ac_wine_check_headers_saved_exeext
12694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12695 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12696 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12701 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12702 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12704 printf %s "(cached) " >&6
12706 ac_wine_check_headers_saved_cc=$CC
12707 ac_wine_check_headers_saved_exeext=$ac_exeext
12708 eval CC=\$${wine_arch}_CC
12710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12711 /* end confdefs.h. */
12713 #include <libxslt/transform.h>
12722 if ac_fn_c_try_compile "$LINENO"
12724 ac_cv_mingw_header_libxslt_transform_h=yes
12726 ac_cv_mingw_header_libxslt_transform_h=no
12728 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12729 CC=$ac_wine_check_headers_saved_cc
12730 ac_exeext=$ac_wine_check_headers_saved_exeext
12732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12733 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12734 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12738 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12741 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12742 if test ${ac_cv_mingw_lib_xslt+y}
12744 printf %s "(cached) " >&6
12746 ac_wine_check_headers_saved_cc=$CC
12747 ac_wine_check_headers_saved_exeext=$ac_exeext
12748 ac_wine_check_headers_saved_libs=$LIBS
12749 eval CC=\$${wine_arch}_CC
12751 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12753 /* end confdefs.h. */
12755 /* Override any GCC internal prototype to avoid an error.
12756 Use char because int might match the return type of a GCC
12757 builtin and then its argument prototype would still apply. */
12758 char xsltCompilePattern ();
12762 return xsltCompilePattern ();
12767 if ac_fn_c_try_link "$LINENO"
12769 ac_cv_mingw_lib_xslt=yes
12771 ac_cv_mingw_lib_xslt=no
12773 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12774 conftest$ac_exeext conftest.$ac_ext
12775 CC=$ac_wine_check_headers_saved_cc
12776 ac_exeext=$ac_wine_check_headers_saved_exeext
12777 LIBS=$ac_wine_check_headers_saved_libs
12779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12780 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12781 if test "x$ac_cv_mingw_lib_xslt" = xyes
12785 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
12791 CPPFLAGS=$ac_save_CPPFLAGS
12793 if test "x$XSLT_PE_LIBS" = "x"
12795 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
12798 if ${VKD3D_PE_CFLAGS:+false} :
12800 if test ${MINGW_PKG_CONFIG+y}
12802 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader
2>/dev
/null
`
12805 if ${VKD3D_PE_LIBS:+false} :
12807 if test ${MINGW_PKG_CONFIG+y}
12809 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader
2>/dev
/null
`
12812 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
12813 ac_save_CPPFLAGS=$CPPFLAGS
12814 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
12815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
12816 printf %s "checking for MinGW vkd3d.h... " >&6; }
12817 if test ${ac_cv_mingw_header_vkd3d_h+y}
12819 printf %s "(cached) " >&6
12821 ac_wine_check_headers_saved_cc=$CC
12822 ac_wine_check_headers_saved_exeext=$ac_exeext
12823 eval CC=\$${wine_arch}_CC
12825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12826 /* end confdefs.h. */
12837 if ac_fn_c_try_compile "$LINENO"
12839 ac_cv_mingw_header_vkd3d_h=yes
12841 ac_cv_mingw_header_vkd3d_h=no
12843 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12844 CC=$ac_wine_check_headers_saved_cc
12845 ac_exeext=$ac_wine_check_headers_saved_exeext
12847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
12848 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
12849 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
12853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
12854 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
12855 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
12857 printf %s "(cached) " >&6
12859 ac_wine_check_headers_saved_cc=$CC
12860 ac_wine_check_headers_saved_exeext=$ac_exeext
12861 eval CC=\$${wine_arch}_CC
12863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12864 /* end confdefs.h. */
12866 #include <vkd3d_shader.h>
12875 if ac_fn_c_try_compile "$LINENO"
12877 ac_cv_mingw_header_vkd3d_shader_h=yes
12879 ac_cv_mingw_header_vkd3d_shader_h=no
12881 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12882 CC=$ac_wine_check_headers_saved_cc
12883 ac_exeext=$ac_wine_check_headers_saved_exeext
12885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
12886 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
12887 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
12891 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
12893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
12894 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
12895 if test ${ac_cv_mingw_lib_vkd3d+y}
12897 printf %s "(cached) " >&6
12899 ac_wine_check_headers_saved_cc=$CC
12900 ac_wine_check_headers_saved_exeext=$ac_exeext
12901 ac_wine_check_headers_saved_libs=$LIBS
12902 eval CC=\$${wine_arch}_CC
12904 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
12905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12906 /* end confdefs.h. */
12908 /* Override any GCC internal prototype to avoid an error.
12909 Use char because int might match the return type of a GCC
12910 builtin and then its argument prototype would still apply. */
12911 char vkd3d_set_log_callback ();
12915 return vkd3d_set_log_callback ();
12920 if ac_fn_c_try_link "$LINENO"
12922 ac_cv_mingw_lib_vkd3d=yes
12924 ac_cv_mingw_lib_vkd3d=no
12926 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12927 conftest$ac_exeext conftest.$ac_ext
12928 CC=$ac_wine_check_headers_saved_cc
12929 ac_exeext=$ac_wine_check_headers_saved_exeext
12930 LIBS=$ac_wine_check_headers_saved_libs
12932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
12933 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
12934 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
12940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_compile in MinGW -lvkd3d-shader" >&5
12941 printf %s "checking for vkd3d_shader_compile in MinGW -lvkd3d-shader... " >&6; }
12942 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
12944 printf %s "(cached) " >&6
12946 ac_wine_check_headers_saved_cc=$CC
12947 ac_wine_check_headers_saved_exeext=$ac_exeext
12948 ac_wine_check_headers_saved_libs=$LIBS
12949 eval CC=\$${wine_arch}_CC
12951 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
12952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12953 /* end confdefs.h. */
12955 /* Override any GCC internal prototype to avoid an error.
12956 Use char because int might match the return type of a GCC
12957 builtin and then its argument prototype would still apply. */
12958 char vkd3d_shader_compile ();
12962 return vkd3d_shader_compile ();
12967 if ac_fn_c_try_link "$LINENO"
12969 ac_cv_mingw_lib_vkd3d_shader=yes
12971 ac_cv_mingw_lib_vkd3d_shader=no
12973 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12974 conftest$ac_exeext conftest.$ac_ext
12975 CC=$ac_wine_check_headers_saved_cc
12976 ac_exeext=$ac_wine_check_headers_saved_exeext
12977 LIBS=$ac_wine_check_headers_saved_libs
12979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
12980 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
12981 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
12987 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
12996 CPPFLAGS=$ac_save_CPPFLAGS
12998 if test "x$VKD3D_PE_LIBS" = "x"
13000 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
13003 if ${ZLIB_PE_CFLAGS:+false} :
13005 if test ${MINGW_PKG_CONFIG+y}
13007 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib
2>/dev
/null
`
13010 if ${ZLIB_PE_LIBS:+false} :
13012 if test ${MINGW_PKG_CONFIG+y}
13014 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib
2>/dev
/null
`
13017 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13018 ac_save_CPPFLAGS=$CPPFLAGS
13019 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13021 printf %s "checking for MinGW zlib.h... " >&6; }
13022 if test ${ac_cv_mingw_header_zlib_h+y}
13024 printf %s "(cached) " >&6
13026 ac_wine_check_headers_saved_cc=$CC
13027 ac_wine_check_headers_saved_exeext=$ac_exeext
13028 eval CC=\$${wine_arch}_CC
13030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13031 /* end confdefs.h. */
13042 if ac_fn_c_try_compile "$LINENO"
13044 ac_cv_mingw_header_zlib_h=yes
13046 ac_cv_mingw_header_zlib_h=no
13048 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13049 CC=$ac_wine_check_headers_saved_cc
13050 ac_exeext=$ac_wine_check_headers_saved_exeext
13052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13053 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13054 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13057 printf %s "checking for inflate in MinGW -lz... " >&6; }
13058 if test ${ac_cv_mingw_lib_z+y}
13060 printf %s "(cached) " >&6
13062 ac_wine_check_headers_saved_cc=$CC
13063 ac_wine_check_headers_saved_exeext=$ac_exeext
13064 ac_wine_check_headers_saved_libs=$LIBS
13065 eval CC=\$${wine_arch}_CC
13067 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13069 /* end confdefs.h. */
13071 /* Override any GCC internal prototype to avoid an error.
13072 Use char because int might match the return type of a GCC
13073 builtin and then its argument prototype would still apply. */
13083 if ac_fn_c_try_link "$LINENO"
13085 ac_cv_mingw_lib_z=yes
13087 ac_cv_mingw_lib_z=no
13089 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13090 conftest$ac_exeext conftest.$ac_ext
13091 CC=$ac_wine_check_headers_saved_cc
13092 ac_exeext=$ac_wine_check_headers_saved_exeext
13093 LIBS=$ac_wine_check_headers_saved_libs
13095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13096 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13097 if test "x$ac_cv_mingw_lib_z" = xyes
13101 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13104 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13106 CPPFLAGS=$ac_save_CPPFLAGS
13108 if test "x$ZLIB_PE_LIBS" = "x"
13110 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13114 if ${FAUDIO_PE_LIBS:+false} :
13116 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13117 if ${FAUDIO_PE_CFLAGS:+false} :
13119 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13126 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13127 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13129 if ${GSM_PE_LIBS:+false} :
13132 if ${GSM_PE_CFLAGS:+false} :
13134 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13141 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13142 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13144 if ${JPEG_PE_LIBS:+false} :
13147 if ${JPEG_PE_CFLAGS:+false} :
13149 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13156 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13157 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13159 if ${JXR_PE_LIBS:+false} :
13162 if ${JXR_PE_CFLAGS:+false} :
13164 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13171 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13172 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13174 if ${LCMS2_PE_LIBS:+false} :
13176 LCMS2_PE_LIBS=lcms2
13177 if ${LCMS2_PE_CFLAGS:+false} :
13179 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13186 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13187 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13189 if ${LDAP_PE_LIBS:+false} :
13192 if ${LDAP_PE_CFLAGS:+false} :
13194 LDAP_PE_CFLAGS="-I\$(top_srcdir)/libs/ldap/include"
13201 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap cflags: $LDAP_PE_CFLAGS" >&5
13202 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap libs: $LDAP_PE_LIBS" >&5
13204 if ${MPG123_PE_LIBS:+false} :
13206 MPG123_PE_LIBS=mpg123
13207 if ${MPG123_PE_CFLAGS:+false} :
13209 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13216 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13217 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13219 if ${PNG_PE_LIBS:+false} :
13221 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13222 if ${PNG_PE_CFLAGS:+false} :
13224 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13231 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13232 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13234 if ${TIFF_PE_LIBS:+false} :
13236 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13237 if ${TIFF_PE_CFLAGS:+false} :
13239 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13246 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13247 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13249 if ${VKD3D_PE_LIBS:+false} :
13251 VKD3D_PE_LIBS=vkd3d
13252 if ${VKD3D_PE_CFLAGS:+false} :
13254 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13261 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13262 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13264 if ${XML2_PE_LIBS:+false} :
13267 if ${XML2_PE_CFLAGS:+false} :
13269 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13276 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13277 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13279 if ${XSLT_PE_LIBS:+false} :
13282 if ${XSLT_PE_CFLAGS:+false} :
13284 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13291 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13292 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13294 if ${ZLIB_PE_LIBS:+false} :
13297 if ${ZLIB_PE_CFLAGS:+false} :
13299 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13306 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13307 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13311 if test "$ac_cv_header_pthread_h" = "yes"
13313 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13314 if test "x$ac_cv_func_pthread_create" = xyes
13318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13319 printf %s "checking for pthread_create in -lpthread... " >&6; }
13320 if test ${ac_cv_lib_pthread_pthread_create+y}
13322 printf %s "(cached) " >&6
13324 ac_check_lib_save_LIBS=$LIBS
13325 LIBS="-lpthread $LIBS"
13326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13327 /* end confdefs.h. */
13329 /* Override any GCC internal prototype to avoid an error.
13330 Use char because int might match the return type of a GCC
13331 builtin and then its argument prototype would still apply. */
13332 char pthread_create ();
13336 return pthread_create ();
13341 if ac_fn_c_try_link "$LINENO"
13343 ac_cv_lib_pthread_pthread_create=yes
13345 ac_cv_lib_pthread_pthread_create=no
13347 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13348 conftest$ac_exeext conftest.$ac_ext
13349 LIBS=$ac_check_lib_save_LIBS
13351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13352 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13353 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13355 PTHREAD_LIBS="-lpthread"
13362 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13364 case "x$with_pthread" in
13366 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13367 Wine cannot support threads without libpthread.
13368 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13375 ac_cpp='$CPP $CPPFLAGS'
13376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13380 printf %s "checking how to run the C preprocessor... " >&6; }
13381 # On Suns, sometimes $CPP names a directory.
13382 if test -n "$CPP" && test -d "$CPP"; then
13385 if test -z "$CPP"; then
13386 if test ${ac_cv_prog_CPP+y}
13388 printf %s "(cached) " >&6
13390 # Double quotes because $CC needs to be expanded
13391 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13393 ac_preproc_ok=false
13394 for ac_c_preproc_warn_flag in '' yes
13396 # Use a header file that comes with gcc, so configuring glibc
13397 # with a fresh cross-compiler works.
13398 # On the NeXT, cc -E runs the code through the compiler's parser,
13399 # not just through cpp. "Syntax error" is here to catch this case.
13400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13401 /* end confdefs.h. */
13402 #include <limits.h>
13405 if ac_fn_c_try_cpp "$LINENO"
13409 # Broken: fails on valid input.
13412 rm -f conftest.err conftest.i conftest.$ac_ext
13414 # OK, works on sane cases. Now check whether nonexistent headers
13415 # can be detected and how.
13416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13417 /* end confdefs.h. */
13418 #include <ac_nonexistent.h>
13420 if ac_fn_c_try_cpp "$LINENO"
13422 # Broken: success on invalid input.
13425 # Passes both tests.
13429 rm -f conftest.err conftest.i conftest.$ac_ext
13432 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13433 rm -f conftest.i conftest.err conftest.
$ac_ext
13440 ac_cv_prog_CPP
=$CPP
13443 CPP
=$ac_cv_prog_CPP
13445 ac_cv_prog_CPP
=$CPP
13447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13448 printf "%s\n" "$CPP" >&6; }
13449 ac_preproc_ok
=false
13450 for ac_c_preproc_warn_flag
in '' yes
13452 # Use a header file that comes with gcc, so configuring glibc
13453 # with a fresh cross-compiler works.
13454 # On the NeXT, cc -E runs the code through the compiler's parser,
13455 # not just through cpp. "Syntax error" is here to catch this case.
13456 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13457 /* end confdefs.h. */
13458 #include <limits.h>
13461 if ac_fn_c_try_cpp
"$LINENO"
13465 # Broken: fails on valid input.
13468 rm -f conftest.err conftest.i conftest.
$ac_ext
13470 # OK, works on sane cases. Now check whether nonexistent headers
13471 # can be detected and how.
13472 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13473 /* end confdefs.h. */
13474 #include <ac_nonexistent.h>
13476 if ac_fn_c_try_cpp
"$LINENO"
13478 # Broken: success on invalid input.
13481 # Passes both tests.
13485 rm -f conftest.err conftest.i conftest.
$ac_ext
13488 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13489 rm -f conftest.i conftest.err conftest.
$ac_ext
13494 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13495 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13496 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
13497 See \`config.log' for more details" "$LINENO" 5; }
13501 ac_cpp
='$CPP $CPPFLAGS'
13502 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13503 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13504 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13508 printf %s
"checking for X... " >&6; }
13511 # Check whether --with-x was given.
13512 if test ${with_x+y}
13517 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13518 if test "x$with_x" = xno
; then
13519 # The user explicitly disabled X.
13522 case $x_includes,$x_libraries in #(
13523 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
13524 *,NONE | NONE
,*) if test ${ac_cv_have_x+y}
13526 printf %s
"(cached) " >&6
13528 # One or both of the vars are not set, and there is no cached value.
13531 # Do we need to do anything special at all?
13534 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13535 /* end confdefs.h. */
13536 #include <X11/Xlib.h>
13545 if ac_fn_c_try_link
"$LINENO"
13547 # We can compile and link X programs with no special options.
13551 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13552 conftest
$ac_exeext conftest.
$ac_ext
13553 LIBS
="$ac_save_LIBS"
13554 # If that didn't work, only try xmkmf and file system searches
13555 # for native compilation.
13556 if test x
"$ac_x_includes" = xno
&& test "$cross_compiling" = no
13558 rm -f -r conftest.dir
13559 if mkdir conftest.dir
; then
13561 cat >Imakefile
<<'_ACEOF'
13563 @echo incroot='${INCROOT}'
13565 @echo usrlibdir='${USRLIBDIR}'
13567 @echo libdir='${LIBDIR}'
13569 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
13570 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13571 for ac_var
in incroot usrlibdir libdir
; do
13572 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13574 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13575 for ac_extension
in a so sl dylib la dll
; do
13576 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13577 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13578 ac_im_usrlibdir
=$ac_im_libdir; break
13581 # Screen out bogus values from the imake configuration. They are
13582 # bogus both because they are the default anyway, and because
13583 # using them would break gcc on systems where it needs fixed includes.
13584 case $ac_im_incroot in
13585 /usr
/include
) ac_x_includes
= ;;
13586 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
13588 case $ac_im_usrlibdir in
13589 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
13590 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
13594 rm -f -r conftest.dir
13597 # Standard set of common directories for X headers.
13598 # Check X11 before X11Rn because it is often a symlink to the current release.
13612 /usr/local/X11/include
13613 /usr/local/X11R7/include
13614 /usr/local/X11R6/include
13615 /usr/local/X11R5/include
13616 /usr/local/X11R4/include
13618 /usr/local/include/X11
13619 /usr/local/include/X11R7
13620 /usr/local/include/X11R6
13621 /usr/local/include/X11R5
13622 /usr/local/include/X11R4
13628 /usr/XFree86/include/X11
13632 /usr/unsupported/include
13633 /usr/athena/include
13634 /usr/local/x11r5/include
13635 /usr/lpp/Xamples/include
13637 /usr/openwin/include
13638 /usr/openwin/share/include'
13640 if test "$ac_x_includes" = no
; then
13641 # Guess where to find include files, by looking for Xlib.h.
13642 # First, try using that file with no special directory specified.
13643 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13644 /* end confdefs.h. */
13645 #include <X11/Xlib.h>
13647 if ac_fn_c_try_cpp
"$LINENO"
13649 # We can compile using X headers with no special include directory.
13652 for ac_dir
in $ac_x_header_dirs; do
13653 if test -r "$ac_dir/X11/Xlib.h"; then
13654 ac_x_includes
=$ac_dir
13659 rm -f conftest.err conftest.i conftest.
$ac_ext
13660 fi # $ac_x_includes = no
13662 if test "$ac_x_libraries" = no
; then
13663 # Check for the libraries.
13664 # See if we find them without any special options.
13665 # Don't add to $LIBS permanently.
13668 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13669 /* end confdefs.h. */
13670 #include <X11/Xlib.h>
13679 if ac_fn_c_try_link
"$LINENO"
13682 # We can link X programs with no special library path.
13686 for ac_dir
in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13688 # Don't even attempt the hair of trying to link an X program!
13689 for ac_extension
in a so sl dylib la dll
; do
13690 if test -r "$ac_dir/libX11.$ac_extension"; then
13691 ac_x_libraries
=$ac_dir
13697 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13698 conftest
$ac_exeext conftest.
$ac_ext
13699 fi # $ac_x_libraries = no
13702 # Record the results.
13703 case $ac_x_includes,$ac_x_libraries in #(
13704 no
,* |
*,no |
*\'*) :
13705 # Didn't find X, or a directory has "'" in its name.
13706 ac_cv_have_x
="have_x=no" ;; #(
13708 # Record where we found X for the cache.
13709 ac_cv_have_x
="have_x=yes\
13710 ac_x_includes='$ac_x_includes'\
13711 ac_x_libraries='$ac_x_libraries'" ;;
13717 eval "$ac_cv_have_x"
13720 if test "$have_x" != yes; then
13721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13722 printf "%s\n" "$have_x" >&6; }
13725 # If each of the values was on the command line, it overrides each guess.
13726 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
13727 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
13728 # Update the cache value to reflect the command line values.
13729 ac_cv_have_x
="have_x=yes\
13730 ac_x_includes='$x_includes'\
13731 ac_x_libraries='$x_libraries'"
13732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13733 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13736 if test "$no_x" = yes; then
13737 # Not all programs may use this symbol, but it does not hurt to define it.
13739 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13741 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
13743 if test -n "$x_includes"; then
13744 X_CFLAGS
="$X_CFLAGS -I$x_includes"
13747 # It would also be nice to do this for all -L options, not just this one.
13748 if test -n "$x_libraries"; then
13749 X_LIBS
="$X_LIBS -L$x_libraries"
13750 # For Solaris; some versions of Sun CC require a space after -R and
13751 # others require no space. Words are not sufficient . . . .
13752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13753 printf %s
"checking whether -R must be followed by a space... " >&6; }
13754 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
13755 ac_xsave_c_werror_flag
=$ac_c_werror_flag
13756 ac_c_werror_flag
=yes
13757 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13758 /* end confdefs.h. */
13768 if ac_fn_c_try_link
"$LINENO"
13770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13771 printf "%s\n" "no" >&6; }
13772 X_LIBS
="$X_LIBS -R$x_libraries"
13774 LIBS
="$ac_xsave_LIBS -R $x_libraries"
13775 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13776 /* end confdefs.h. */
13786 if ac_fn_c_try_link
"$LINENO"
13788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13789 printf "%s\n" "yes" >&6; }
13790 X_LIBS
="$X_LIBS -R $x_libraries"
13792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13793 printf "%s\n" "neither works" >&6; }
13795 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13796 conftest
$ac_exeext conftest.
$ac_ext
13798 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13799 conftest
$ac_exeext conftest.
$ac_ext
13800 ac_c_werror_flag
=$ac_xsave_c_werror_flag
13801 LIBS
=$ac_xsave_LIBS
13804 # Check for system-dependent libraries X programs must link with.
13805 # Do this before checking for the system-independent R6 libraries
13806 # (-lICE), since we may need -lsocket or whatever for X linking.
13808 if test "$ISC" = yes; then
13809 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
13811 # Martyn Johnson says this is needed for Ultrix, if the X
13812 # libraries were built with DECnet support. And Karl Berry says
13813 # the Alpha needs dnet_stub (dnet does not exist).
13814 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
13815 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13816 /* end confdefs.h. */
13818 /* Override any GCC internal prototype to avoid an error.
13819 Use char because int might match the return type of a GCC
13820 builtin and then its argument prototype would still apply. */
13821 char XOpenDisplay ();
13825 return XOpenDisplay ();
13830 if ac_fn_c_try_link
"$LINENO"
13834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13835 printf %s
"checking for dnet_ntoa in -ldnet... " >&6; }
13836 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13838 printf %s
"(cached) " >&6
13840 ac_check_lib_save_LIBS
=$LIBS
13841 LIBS
="-ldnet $LIBS"
13842 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13843 /* end confdefs.h. */
13845 /* Override any GCC internal prototype to avoid an error.
13846 Use char because int might match the return type of a GCC
13847 builtin and then its argument prototype would still apply. */
13852 return dnet_ntoa ();
13857 if ac_fn_c_try_link
"$LINENO"
13859 ac_cv_lib_dnet_dnet_ntoa
=yes
13861 ac_cv_lib_dnet_dnet_ntoa
=no
13863 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13864 conftest
$ac_exeext conftest.
$ac_ext
13865 LIBS
=$ac_check_lib_save_LIBS
13867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13868 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13869 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13871 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
13874 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
13875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13876 printf %s
"checking for dnet_ntoa in -ldnet_stub... " >&6; }
13877 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
13879 printf %s
"(cached) " >&6
13881 ac_check_lib_save_LIBS
=$LIBS
13882 LIBS
="-ldnet_stub $LIBS"
13883 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13884 /* end confdefs.h. */
13886 /* Override any GCC internal prototype to avoid an error.
13887 Use char because int might match the return type of a GCC
13888 builtin and then its argument prototype would still apply. */
13893 return dnet_ntoa ();
13898 if ac_fn_c_try_link
"$LINENO"
13900 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
13902 ac_cv_lib_dnet_stub_dnet_ntoa
=no
13904 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13905 conftest
$ac_exeext conftest.
$ac_ext
13906 LIBS
=$ac_check_lib_save_LIBS
13908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
13909 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
13910 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
13912 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
13917 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13918 conftest
$ac_exeext conftest.
$ac_ext
13919 LIBS
="$ac_xsave_LIBS"
13921 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13922 # to get the SysV transport functions.
13923 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
13925 # The nsl library prevents programs from opening the X display
13926 # on Irix 5.2, according to T.E. Dickey.
13927 # The functions gethostbyname, getservbyname, and inet_addr are
13928 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
13929 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
13930 if test "x$ac_cv_func_gethostbyname" = xyes
13935 if test $ac_cv_func_gethostbyname = no
; then
13936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
13937 printf %s
"checking for gethostbyname in -lnsl... " >&6; }
13938 if test ${ac_cv_lib_nsl_gethostbyname+y}
13940 printf %s
"(cached) " >&6
13942 ac_check_lib_save_LIBS
=$LIBS
13944 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13945 /* end confdefs.h. */
13947 /* Override any GCC internal prototype to avoid an error.
13948 Use char because int might match the return type of a GCC
13949 builtin and then its argument prototype would still apply. */
13950 char gethostbyname ();
13954 return gethostbyname ();
13959 if ac_fn_c_try_link
"$LINENO"
13961 ac_cv_lib_nsl_gethostbyname
=yes
13963 ac_cv_lib_nsl_gethostbyname
=no
13965 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13966 conftest
$ac_exeext conftest.
$ac_ext
13967 LIBS
=$ac_check_lib_save_LIBS
13969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
13970 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
13971 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
13973 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
13976 if test $ac_cv_lib_nsl_gethostbyname = no
; then
13977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
13978 printf %s
"checking for gethostbyname in -lbsd... " >&6; }
13979 if test ${ac_cv_lib_bsd_gethostbyname+y}
13981 printf %s
"(cached) " >&6
13983 ac_check_lib_save_LIBS
=$LIBS
13985 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13986 /* end confdefs.h. */
13988 /* Override any GCC internal prototype to avoid an error.
13989 Use char because int might match the return type of a GCC
13990 builtin and then its argument prototype would still apply. */
13991 char gethostbyname ();
13995 return gethostbyname ();
14000 if ac_fn_c_try_link
"$LINENO"
14002 ac_cv_lib_bsd_gethostbyname
=yes
14004 ac_cv_lib_bsd_gethostbyname
=no
14006 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14007 conftest
$ac_exeext conftest.
$ac_ext
14008 LIBS
=$ac_check_lib_save_LIBS
14010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14011 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14012 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14014 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
14020 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14021 # socket/setsockopt and other routines are undefined under SCO ODT
14022 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14023 # on later versions), says Simon Leinen: it contains gethostby*
14024 # variants that don't use the name server (or something). -lsocket
14025 # must be given before -lnsl if both are needed. We assume that
14026 # if connect needs -lnsl, so does gethostbyname.
14027 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
14028 if test "x$ac_cv_func_connect" = xyes
14033 if test $ac_cv_func_connect = no
; then
14034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14035 printf %s
"checking for connect in -lsocket... " >&6; }
14036 if test ${ac_cv_lib_socket_connect+y}
14038 printf %s
"(cached) " >&6
14040 ac_check_lib_save_LIBS
=$LIBS
14041 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
14042 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14043 /* end confdefs.h. */
14045 /* Override any GCC internal prototype to avoid an error.
14046 Use char because int might match the return type of a GCC
14047 builtin and then its argument prototype would still apply. */
14057 if ac_fn_c_try_link
"$LINENO"
14059 ac_cv_lib_socket_connect
=yes
14061 ac_cv_lib_socket_connect
=no
14063 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14064 conftest
$ac_exeext conftest.
$ac_ext
14065 LIBS
=$ac_check_lib_save_LIBS
14067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14068 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14069 if test "x$ac_cv_lib_socket_connect" = xyes
14071 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
14076 # Guillermo Gomez says -lposix is necessary on A/UX.
14077 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
14078 if test "x$ac_cv_func_remove" = xyes
14083 if test $ac_cv_func_remove = no
; then
14084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14085 printf %s
"checking for remove in -lposix... " >&6; }
14086 if test ${ac_cv_lib_posix_remove+y}
14088 printf %s
"(cached) " >&6
14090 ac_check_lib_save_LIBS
=$LIBS
14091 LIBS
="-lposix $LIBS"
14092 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14093 /* end confdefs.h. */
14095 /* Override any GCC internal prototype to avoid an error.
14096 Use char because int might match the return type of a GCC
14097 builtin and then its argument prototype would still apply. */
14107 if ac_fn_c_try_link
"$LINENO"
14109 ac_cv_lib_posix_remove
=yes
14111 ac_cv_lib_posix_remove
=no
14113 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14114 conftest
$ac_exeext conftest.
$ac_ext
14115 LIBS
=$ac_check_lib_save_LIBS
14117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14118 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14119 if test "x$ac_cv_lib_posix_remove" = xyes
14121 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
14126 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14127 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
14128 if test "x$ac_cv_func_shmat" = xyes
14133 if test $ac_cv_func_shmat = no
; then
14134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14135 printf %s
"checking for shmat in -lipc... " >&6; }
14136 if test ${ac_cv_lib_ipc_shmat+y}
14138 printf %s
"(cached) " >&6
14140 ac_check_lib_save_LIBS
=$LIBS
14142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14143 /* end confdefs.h. */
14145 /* Override any GCC internal prototype to avoid an error.
14146 Use char because int might match the return type of a GCC
14147 builtin and then its argument prototype would still apply. */
14157 if ac_fn_c_try_link
"$LINENO"
14159 ac_cv_lib_ipc_shmat
=yes
14161 ac_cv_lib_ipc_shmat
=no
14163 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14164 conftest
$ac_exeext conftest.
$ac_ext
14165 LIBS
=$ac_check_lib_save_LIBS
14167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14168 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14169 if test "x$ac_cv_lib_ipc_shmat" = xyes
14171 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
14177 # Check for libraries that X11R6 Xt/Xaw programs need.
14178 ac_save_LDFLAGS
=$LDFLAGS
14179 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
14180 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14181 # check for ICE first), but we must link in the order -lSM -lICE or
14182 # we get undefined symbols. So assume we have SM if we have ICE.
14183 # These have to be linked with before -lX11, unlike the other
14184 # libraries we check for below, so use a different variable.
14185 # John Interrante, Karl Berry
14186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14187 printf %s
"checking for IceConnectionNumber in -lICE... " >&6; }
14188 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14190 printf %s
"(cached) " >&6
14192 ac_check_lib_save_LIBS
=$LIBS
14193 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
14194 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14195 /* end confdefs.h. */
14197 /* Override any GCC internal prototype to avoid an error.
14198 Use char because int might match the return type of a GCC
14199 builtin and then its argument prototype would still apply. */
14200 char IceConnectionNumber ();
14204 return IceConnectionNumber ();
14209 if ac_fn_c_try_link
"$LINENO"
14211 ac_cv_lib_ICE_IceConnectionNumber
=yes
14213 ac_cv_lib_ICE_IceConnectionNumber
=no
14215 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14216 conftest
$ac_exeext conftest.
$ac_ext
14217 LIBS
=$ac_check_lib_save_LIBS
14219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14220 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14221 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14223 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
14226 LDFLAGS
=$ac_save_LDFLAGS
14231 if test "$have_x" = "yes"
14233 ac_save_CPPFLAGS
="$CPPFLAGS"
14234 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
14236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14237 printf %s
"checking for -lX11... " >&6; }
14238 if test ${ac_cv_lib_soname_X11+y}
14240 printf %s
"(cached) " >&6
14242 ac_check_soname_save_LIBS
=$LIBS
14243 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14244 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14245 /* end confdefs.h. */
14247 /* Override any GCC internal prototype to avoid an error.
14248 Use char because int might match the return type of a GCC
14249 builtin and then its argument prototype would still apply. */
14250 char XCreateWindow ();
14254 return XCreateWindow ();
14259 if ac_fn_c_try_link
"$LINENO"
14262 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14263 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'` ;;
14264 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14265 if ${ac_cv_lib_soname_X11:+false} :
14267 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14271 ac_cv_lib_soname_X11
=
14273 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14274 conftest
$ac_exeext conftest.
$ac_ext
14275 LIBS
=$ac_check_soname_save_LIBS
14277 if ${ac_cv_lib_soname_X11:+false} :
14279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14280 printf "%s\n" "not found" >&6; }
14283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14284 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14286 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14291 printf %s
"checking for -lXext... " >&6; }
14292 if test ${ac_cv_lib_soname_Xext+y}
14294 printf %s
"(cached) " >&6
14296 ac_check_soname_save_LIBS
=$LIBS
14297 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14298 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14299 /* end confdefs.h. */
14301 /* Override any GCC internal prototype to avoid an error.
14302 Use char because int might match the return type of a GCC
14303 builtin and then its argument prototype would still apply. */
14304 char XextCreateExtension ();
14308 return XextCreateExtension ();
14313 if ac_fn_c_try_link
"$LINENO"
14316 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14317 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'` ;;
14318 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14319 if ${ac_cv_lib_soname_Xext:+false} :
14321 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14325 ac_cv_lib_soname_Xext
=
14327 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14328 conftest
$ac_exeext conftest.
$ac_ext
14329 LIBS
=$ac_check_soname_save_LIBS
14331 if ${ac_cv_lib_soname_Xext:+false} :
14333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14334 printf "%s\n" "not found" >&6; }
14337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14338 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14340 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14342 X_LIBS
="$X_LIBS -lXext"
14344 X_LIBS
="$X_LIBS -lX11"
14346 ac_fn_c_check_header_compile
"$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
14347 # include <X11/Xlib.h>
14349 #ifdef HAVE_X11_XUTIL_H
14350 # include <X11/Xutil.h>
14353 if test "x$ac_cv_header_X11_Xlib_h" = xyes
14355 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14358 ac_fn_c_check_header_compile
"$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
14359 # include <X11/Xlib.h>
14361 #ifdef HAVE_X11_XUTIL_H
14362 # include <X11/Xutil.h>
14365 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
14367 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14370 ac_fn_c_check_header_compile
"$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
14371 # include <X11/Xlib.h>
14373 #ifdef HAVE_X11_XUTIL_H
14374 # include <X11/Xutil.h>
14377 if test "x$ac_cv_header_X11_Xutil_h" = xyes
14379 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14382 ac_fn_c_check_header_compile
"$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
14383 # include <X11/Xlib.h>
14385 #ifdef HAVE_X11_XUTIL_H
14386 # include <X11/Xutil.h>
14389 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14391 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14394 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
14395 # include <X11/Xlib.h>
14397 #ifdef HAVE_X11_XUTIL_H
14398 # include <X11/Xutil.h>
14401 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14403 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14406 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
14407 # include <X11/Xlib.h>
14409 #ifdef HAVE_X11_XUTIL_H
14410 # include <X11/Xutil.h>
14413 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14415 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14418 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
14419 # include <X11/Xlib.h>
14421 #ifdef HAVE_X11_XUTIL_H
14422 # include <X11/Xutil.h>
14425 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14427 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14430 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
14431 # include <X11/Xlib.h>
14433 #ifdef HAVE_X11_XUTIL_H
14434 # include <X11/Xutil.h>
14437 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14439 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14442 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
14443 # include <X11/Xlib.h>
14445 #ifdef HAVE_X11_XUTIL_H
14446 # include <X11/Xutil.h>
14449 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
14451 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14454 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
14455 # include <X11/Xlib.h>
14457 #ifdef HAVE_X11_XUTIL_H
14458 # include <X11/Xutil.h>
14461 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14463 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14466 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
14467 # include <X11/Xlib.h>
14469 #ifdef HAVE_X11_XUTIL_H
14470 # include <X11/Xutil.h>
14473 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14475 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14478 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
14479 # include <X11/Xlib.h>
14481 #ifdef HAVE_X11_XUTIL_H
14482 # include <X11/Xutil.h>
14485 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14487 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14490 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
14491 # include <X11/Xlib.h>
14493 #ifdef HAVE_X11_XUTIL_H
14494 # include <X11/Xutil.h>
14497 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14499 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14502 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
14503 # include <X11/Xlib.h>
14505 #ifdef HAVE_X11_XUTIL_H
14506 # include <X11/Xutil.h>
14509 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14511 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14514 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
14515 # include <X11/Xlib.h>
14517 #ifdef HAVE_X11_XUTIL_H
14518 # include <X11/Xutil.h>
14521 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14523 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14528 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
14530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
14531 printf %s
"checking for XkbQueryExtension in -lX11... " >&6; }
14532 if test ${ac_cv_lib_X11_XkbQueryExtension+y}
14534 printf %s
"(cached) " >&6
14536 ac_check_lib_save_LIBS
=$LIBS
14537 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14538 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14539 /* end confdefs.h. */
14541 /* Override any GCC internal prototype to avoid an error.
14542 Use char because int might match the return type of a GCC
14543 builtin and then its argument prototype would still apply. */
14544 char XkbQueryExtension ();
14548 return XkbQueryExtension ();
14553 if ac_fn_c_try_link
"$LINENO"
14555 ac_cv_lib_X11_XkbQueryExtension
=yes
14557 ac_cv_lib_X11_XkbQueryExtension
=no
14559 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14560 conftest
$ac_exeext conftest.
$ac_ext
14561 LIBS
=$ac_check_lib_save_LIBS
14563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
14564 printf "%s\n" "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
14565 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
14568 printf "%s\n" "#define HAVE_XKB 1" >>confdefs.h
14574 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14577 printf %s
"checking for -lXcursor... " >&6; }
14578 if test ${ac_cv_lib_soname_Xcursor+y}
14580 printf %s
"(cached) " >&6
14582 ac_check_soname_save_LIBS
=$LIBS
14583 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14584 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14585 /* end confdefs.h. */
14587 /* Override any GCC internal prototype to avoid an error.
14588 Use char because int might match the return type of a GCC
14589 builtin and then its argument prototype would still apply. */
14590 char XcursorImageLoadCursor ();
14594 return XcursorImageLoadCursor ();
14599 if ac_fn_c_try_link
"$LINENO"
14602 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14603 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'` ;;
14604 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14605 if ${ac_cv_lib_soname_Xcursor:+false} :
14607 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14611 ac_cv_lib_soname_Xcursor
=
14613 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14614 conftest
$ac_exeext conftest.
$ac_ext
14615 LIBS
=$ac_check_soname_save_LIBS
14617 if ${ac_cv_lib_soname_Xcursor:+false} :
14619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14620 printf "%s\n" "not found" >&6; }
14623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14624 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14626 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14631 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14633 case "x$with_xcursor" in
14634 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14636 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14637 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14642 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14645 printf %s
"checking for -lXi... " >&6; }
14646 if test ${ac_cv_lib_soname_Xi+y}
14648 printf %s
"(cached) " >&6
14650 ac_check_soname_save_LIBS
=$LIBS
14651 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14652 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14653 /* end confdefs.h. */
14655 /* Override any GCC internal prototype to avoid an error.
14656 Use char because int might match the return type of a GCC
14657 builtin and then its argument prototype would still apply. */
14658 char XOpenDevice ();
14662 return XOpenDevice ();
14667 if ac_fn_c_try_link
"$LINENO"
14670 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14671 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'` ;;
14672 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14673 if ${ac_cv_lib_soname_Xi:+false} :
14675 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14679 ac_cv_lib_soname_Xi
=
14681 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14682 conftest
$ac_exeext conftest.
$ac_ext
14683 LIBS
=$ac_check_soname_save_LIBS
14685 if ${ac_cv_lib_soname_Xi:+false} :
14687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14688 printf "%s\n" "not found" >&6; }
14691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14692 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14694 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14699 if test "x$ac_cv_lib_soname_Xi" = "x"
14701 case "x$with_xinput" in
14702 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14704 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14705 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14710 if test "x$ac_cv_lib_soname_Xi" != x
14712 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14714 case "x$with_xinput2" in
14715 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14717 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
14718 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14724 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14727 printf %s
"checking for XShmQueryExtension in -lXext... " >&6; }
14728 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14730 printf %s
"(cached) " >&6
14732 ac_check_lib_save_LIBS
=$LIBS
14733 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14734 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14735 /* end confdefs.h. */
14737 /* Override any GCC internal prototype to avoid an error.
14738 Use char because int might match the return type of a GCC
14739 builtin and then its argument prototype would still apply. */
14740 char XShmQueryExtension ();
14744 return XShmQueryExtension ();
14749 if ac_fn_c_try_link
"$LINENO"
14751 ac_cv_lib_Xext_XShmQueryExtension
=yes
14753 ac_cv_lib_Xext_XShmQueryExtension
=no
14755 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14756 conftest
$ac_exeext conftest.
$ac_ext
14757 LIBS
=$ac_check_lib_save_LIBS
14759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14760 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14761 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14764 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14769 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14771 case "x$with_xshm" in
14772 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14774 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14775 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14780 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14783 printf %s
"checking for XShapeQueryExtension in -lXext... " >&6; }
14784 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14786 printf %s
"(cached) " >&6
14788 ac_check_lib_save_LIBS
=$LIBS
14789 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14790 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14791 /* end confdefs.h. */
14793 /* Override any GCC internal prototype to avoid an error.
14794 Use char because int might match the return type of a GCC
14795 builtin and then its argument prototype would still apply. */
14796 char XShapeQueryExtension ();
14800 return XShapeQueryExtension ();
14805 if ac_fn_c_try_link
"$LINENO"
14807 ac_cv_lib_Xext_XShapeQueryExtension
=yes
14809 ac_cv_lib_Xext_XShapeQueryExtension
=no
14811 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14812 conftest
$ac_exeext conftest.
$ac_ext
14813 LIBS
=$ac_check_lib_save_LIBS
14815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14816 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14817 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14820 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14825 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14827 case "x$with_xshape" in
14828 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14830 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
14831 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14836 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14839 printf %s
"checking for -lXxf86vm... " >&6; }
14840 if test ${ac_cv_lib_soname_Xxf86vm+y}
14842 printf %s
"(cached) " >&6
14844 ac_check_soname_save_LIBS
=$LIBS
14845 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14846 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14847 /* end confdefs.h. */
14849 /* Override any GCC internal prototype to avoid an error.
14850 Use char because int might match the return type of a GCC
14851 builtin and then its argument prototype would still apply. */
14852 char XF86VidModeQueryExtension ();
14856 return XF86VidModeQueryExtension ();
14861 if ac_fn_c_try_link
"$LINENO"
14864 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14865 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'` ;;
14866 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14867 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14869 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14873 ac_cv_lib_soname_Xxf86vm
=
14875 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14876 conftest
$ac_exeext conftest.
$ac_ext
14877 LIBS
=$ac_check_soname_save_LIBS
14879 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14882 printf "%s\n" "not found" >&6; }
14885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
14886 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
14888 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
14893 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
14895 case "x$with_xxf86vm" in
14896 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
14898 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
14899 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
14904 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
14906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
14907 printf %s
"checking for -lXrender... " >&6; }
14908 if test ${ac_cv_lib_soname_Xrender+y}
14910 printf %s
"(cached) " >&6
14912 ac_check_soname_save_LIBS
=$LIBS
14913 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14914 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14915 /* end confdefs.h. */
14917 /* Override any GCC internal prototype to avoid an error.
14918 Use char because int might match the return type of a GCC
14919 builtin and then its argument prototype would still apply. */
14920 char XRenderQueryExtension ();
14924 return XRenderQueryExtension ();
14929 if ac_fn_c_try_link
"$LINENO"
14932 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14933 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'` ;;
14934 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14935 if ${ac_cv_lib_soname_Xrender:+false} :
14937 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14941 ac_cv_lib_soname_Xrender
=
14943 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14944 conftest
$ac_exeext conftest.
$ac_ext
14945 LIBS
=$ac_check_soname_save_LIBS
14947 if ${ac_cv_lib_soname_Xrender:+false} :
14949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14950 printf "%s\n" "not found" >&6; }
14953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
14954 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
14956 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
14958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
14959 printf %s
"checking for XRenderSetPictureTransform in -lXrender... " >&6; }
14960 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
14962 printf %s
"(cached) " >&6
14964 ac_check_lib_save_LIBS
=$LIBS
14965 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14967 /* end confdefs.h. */
14969 /* Override any GCC internal prototype to avoid an error.
14970 Use char because int might match the return type of a GCC
14971 builtin and then its argument prototype would still apply. */
14972 char XRenderSetPictureTransform ();
14976 return XRenderSetPictureTransform ();
14981 if ac_fn_c_try_link
"$LINENO"
14983 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
14985 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
14987 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14988 conftest
$ac_exeext conftest.
$ac_ext
14989 LIBS
=$ac_check_lib_save_LIBS
14991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
14992 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
14993 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
14996 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
15000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
15001 printf %s
"checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
15002 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
15004 printf %s
"(cached) " >&6
15006 ac_check_lib_save_LIBS
=$LIBS
15007 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15008 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15009 /* end confdefs.h. */
15011 /* Override any GCC internal prototype to avoid an error.
15012 Use char because int might match the return type of a GCC
15013 builtin and then its argument prototype would still apply. */
15014 char XRenderCreateLinearGradient ();
15018 return XRenderCreateLinearGradient ();
15023 if ac_fn_c_try_link
"$LINENO"
15025 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
15027 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
15029 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15030 conftest
$ac_exeext conftest.
$ac_ext
15031 LIBS
=$ac_check_lib_save_LIBS
15033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15034 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15035 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15038 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15045 if test "x$ac_cv_lib_soname_Xrender" = "x"
15047 case "x$with_xrender" in
15048 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15050 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
15051 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15056 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15058 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15059 /* end confdefs.h. */
15060 #include <X11/Xlib.h>
15061 #include <X11/extensions/Xrandr.h>
15065 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15070 if ac_fn_c_try_compile
"$LINENO"
15072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15073 printf %s
"checking for -lXrandr... " >&6; }
15074 if test ${ac_cv_lib_soname_Xrandr+y}
15076 printf %s
"(cached) " >&6
15078 ac_check_soname_save_LIBS
=$LIBS
15079 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15080 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15081 /* end confdefs.h. */
15083 /* Override any GCC internal prototype to avoid an error.
15084 Use char because int might match the return type of a GCC
15085 builtin and then its argument prototype would still apply. */
15086 char XRRQueryExtension ();
15090 return XRRQueryExtension ();
15095 if ac_fn_c_try_link
"$LINENO"
15098 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15099 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'` ;;
15100 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15101 if ${ac_cv_lib_soname_Xrandr:+false} :
15103 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15107 ac_cv_lib_soname_Xrandr
=
15109 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15110 conftest
$ac_exeext conftest.
$ac_ext
15111 LIBS
=$ac_check_soname_save_LIBS
15113 if ${ac_cv_lib_soname_Xrandr:+false} :
15115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15116 printf "%s\n" "not found" >&6; }
15119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15120 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15122 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15124 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15125 /* end confdefs.h. */
15126 #include <X11/Xlib.h>
15127 #include <X11/extensions/Xrandr.h>
15131 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15136 if ac_fn_c_try_compile
"$LINENO"
15139 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15142 as_fn_append wine_notices
"|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15144 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15147 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15149 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15151 case "x$with_xrandr" in
15152 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15154 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15155 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15160 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15162 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15163 /* end confdefs.h. */
15164 #include <X11/Xlib.h>
15165 #include <X11/extensions/Xfixes.h>
15169 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15174 if ac_fn_c_try_compile
"$LINENO"
15176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15177 printf %s
"checking for -lXfixes... " >&6; }
15178 if test ${ac_cv_lib_soname_Xfixes+y}
15180 printf %s
"(cached) " >&6
15182 ac_check_soname_save_LIBS
=$LIBS
15183 LIBS
="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15184 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15185 /* end confdefs.h. */
15187 /* Override any GCC internal prototype to avoid an error.
15188 Use char because int might match the return type of a GCC
15189 builtin and then its argument prototype would still apply. */
15190 char XFixesQueryVersion ();
15194 return XFixesQueryVersion ();
15199 if ac_fn_c_try_link
"$LINENO"
15202 dll
) ac_cv_lib_soname_Xfixes
=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15203 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'` ;;
15204 *) ac_cv_lib_soname_Xfixes
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15205 if ${ac_cv_lib_soname_Xfixes:+false} :
15207 ac_cv_lib_soname_Xfixes
=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15211 ac_cv_lib_soname_Xfixes
=
15213 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15214 conftest
$ac_exeext conftest.
$ac_ext
15215 LIBS
=$ac_check_soname_save_LIBS
15217 if ${ac_cv_lib_soname_Xfixes:+false} :
15219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15220 printf "%s\n" "not found" >&6; }
15223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15224 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15226 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15231 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15233 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15235 case "x$with_xfixes" in
15236 x
) as_fn_append wine_notices
"|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15238 *) as_fn_error $?
"libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15239 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15244 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15246 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15247 /* end confdefs.h. */
15248 #include <X11/Xlib.h>
15249 #include <X11/extensions/Xinerama.h>
15253 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15258 if ac_fn_c_try_compile
"$LINENO"
15260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15261 printf %s
"checking for -lXinerama... " >&6; }
15262 if test ${ac_cv_lib_soname_Xinerama+y}
15264 printf %s
"(cached) " >&6
15266 ac_check_soname_save_LIBS
=$LIBS
15267 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15268 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15269 /* end confdefs.h. */
15271 /* Override any GCC internal prototype to avoid an error.
15272 Use char because int might match the return type of a GCC
15273 builtin and then its argument prototype would still apply. */
15274 char XineramaQueryScreens ();
15278 return XineramaQueryScreens ();
15283 if ac_fn_c_try_link
"$LINENO"
15286 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15287 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'` ;;
15288 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15289 if ${ac_cv_lib_soname_Xinerama:+false} :
15291 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15295 ac_cv_lib_soname_Xinerama
=
15297 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15298 conftest
$ac_exeext conftest.
$ac_ext
15299 LIBS
=$ac_check_soname_save_LIBS
15301 if ${ac_cv_lib_soname_Xinerama:+false} :
15303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15304 printf "%s\n" "not found" >&6; }
15307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15308 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15310 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15315 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15317 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15319 case "x$with_xinerama" in
15320 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15322 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15323 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15328 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15331 printf %s
"checking for -lXcomposite... " >&6; }
15332 if test ${ac_cv_lib_soname_Xcomposite+y}
15334 printf %s
"(cached) " >&6
15336 ac_check_soname_save_LIBS
=$LIBS
15337 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15338 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15339 /* end confdefs.h. */
15341 /* Override any GCC internal prototype to avoid an error.
15342 Use char because int might match the return type of a GCC
15343 builtin and then its argument prototype would still apply. */
15344 char XCompositeRedirectWindow ();
15348 return XCompositeRedirectWindow ();
15353 if ac_fn_c_try_link
"$LINENO"
15356 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15357 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'` ;;
15358 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15359 if ${ac_cv_lib_soname_Xcomposite:+false} :
15361 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15365 ac_cv_lib_soname_Xcomposite
=
15367 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15368 conftest
$ac_exeext conftest.
$ac_ext
15369 LIBS
=$ac_check_soname_save_LIBS
15371 if ${ac_cv_lib_soname_Xcomposite:+false} :
15373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15374 printf "%s\n" "not found" >&6; }
15377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15378 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15380 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15385 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15387 case "x$with_xcomposite" in
15388 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15390 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15391 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15396 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
15397 #include <X11/Xlib.h>
15400 if test "x$ac_cv_member_XICCallback_callback" = xyes
15403 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15407 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15408 #include <X11/Xlib.h>
15411 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15414 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15422 if test "x$with_opengl" != "xno"
15424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15425 printf %s
"checking for -lGL... " >&6; }
15426 if test ${ac_cv_lib_soname_GL+y}
15428 printf %s
"(cached) " >&6
15430 ac_check_soname_save_LIBS
=$LIBS
15431 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15432 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15433 /* end confdefs.h. */
15435 /* Override any GCC internal prototype to avoid an error.
15436 Use char because int might match the return type of a GCC
15437 builtin and then its argument prototype would still apply. */
15438 char glXCreateContext ();
15442 return glXCreateContext ();
15447 if ac_fn_c_try_link
"$LINENO"
15450 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15451 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'` ;;
15452 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15453 if ${ac_cv_lib_soname_GL:+false} :
15455 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15459 ac_cv_lib_soname_GL
=
15461 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15462 conftest
$ac_exeext conftest.
$ac_ext
15463 LIBS
=$ac_check_soname_save_LIBS
15465 if ${ac_cv_lib_soname_GL:+false} :
15467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15468 printf "%s\n" "not found" >&6; }
15469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15470 printf %s
"checking for -lGL... " >&6; }
15471 if test ${ac_cv_lib_soname_GL+y}
15473 printf %s
"(cached) " >&6
15475 ac_check_soname_save_LIBS
=$LIBS
15476 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"
15477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15478 /* end confdefs.h. */
15480 /* Override any GCC internal prototype to avoid an error.
15481 Use char because int might match the return type of a GCC
15482 builtin and then its argument prototype would still apply. */
15483 char glXCreateContext ();
15487 return glXCreateContext ();
15492 if ac_fn_c_try_link
"$LINENO"
15495 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15496 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'` ;;
15497 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15498 if ${ac_cv_lib_soname_GL:+false} :
15500 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15504 ac_cv_lib_soname_GL
=
15506 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15507 conftest
$ac_exeext conftest.
$ac_ext
15508 LIBS
=$ac_check_soname_save_LIBS
15510 if ${ac_cv_lib_soname_GL:+false} :
15512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15513 printf "%s\n" "not found" >&6; }
15514 if test -f /usr
/X11R
6/lib
/libGL.a
15516 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
15517 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15519 opengl_msg
="No OpenGL library found on this system."
15522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15523 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15525 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15527 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"
15530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15531 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15533 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15537 if test "x$with_osmesa" != "xno"
15539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15540 printf %s
"checking for -lOSMesa... " >&6; }
15541 if test ${ac_cv_lib_soname_OSMesa+y}
15543 printf %s
"(cached) " >&6
15545 ac_check_soname_save_LIBS
=$LIBS
15546 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15547 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15548 /* end confdefs.h. */
15550 /* Override any GCC internal prototype to avoid an error.
15551 Use char because int might match the return type of a GCC
15552 builtin and then its argument prototype would still apply. */
15553 char OSMesaGetProcAddress ();
15557 return OSMesaGetProcAddress ();
15562 if ac_fn_c_try_link
"$LINENO"
15565 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15566 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'` ;;
15567 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15568 if ${ac_cv_lib_soname_OSMesa:+false} :
15570 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15574 ac_cv_lib_soname_OSMesa
=
15576 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15577 conftest
$ac_exeext conftest.
$ac_ext
15578 LIBS
=$ac_check_soname_save_LIBS
15580 if ${ac_cv_lib_soname_OSMesa:+false} :
15582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15583 printf "%s\n" "not found" >&6; }
15586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15587 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15589 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15593 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15595 case "x$with_osmesa" in
15596 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15598 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15599 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15605 if test -n "$opengl_msg"
15607 case "x$with_opengl" in
15608 x
) as_fn_append wine_warnings
"|$opengl_msg
15609 OpenGL and Direct3D won't be supported." ;;
15611 *) as_fn_error $?
"$opengl_msg
15612 OpenGL and Direct3D won't be supported.
15613 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15618 CPPFLAGS
="$ac_save_CPPFLAGS"
15624 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15626 if test "x$X_LIBS" = "x"
15630 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
15631 without X support, which probably isn't what you want. You will need
15632 to install ${notice_platform}development packages of Xlib at the very least.
15633 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15635 enable_winex11_drv
=${enable_winex11_drv:-no}
15638 if test "x$X_LIBS" = "x"
15641 x
) as_fn_append wine_notices
"|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15643 *) as_fn_error $?
"X ${notice_platform}development files not found, the X11 driver won't be supported.
15644 This is an error since --with-x was requested." "$LINENO" 5 ;;
15646 enable_winex11_drv
=${enable_winex11_drv:-no}
15650 if test "$ac_cv_header_CL_cl_h" = "yes"
15652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15653 printf %s
"checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15654 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15656 printf %s
"(cached) " >&6
15658 ac_check_lib_save_LIBS
=$LIBS
15659 LIBS
="-lOpenCL $LIBS"
15660 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15661 /* end confdefs.h. */
15663 /* Override any GCC internal prototype to avoid an error.
15664 Use char because int might match the return type of a GCC
15665 builtin and then its argument prototype would still apply. */
15666 char clGetPlatformInfo ();
15670 return clGetPlatformInfo ();
15675 if ac_fn_c_try_link
"$LINENO"
15677 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
15679 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
15681 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15682 conftest
$ac_exeext conftest.
$ac_ext
15683 LIBS
=$ac_check_lib_save_LIBS
15685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15686 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15687 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15689 OPENCL_LIBS
="-lOpenCL"
15694 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15696 case "x$with_opencl" in
15697 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15699 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15700 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15702 enable_opencl
=${enable_opencl:-no}
15705 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
15708 printf %s
"checking for pcap_create in -lpcap... " >&6; }
15709 if test ${ac_cv_lib_pcap_pcap_create+y}
15711 printf %s
"(cached) " >&6
15713 ac_check_lib_save_LIBS
=$LIBS
15714 LIBS
="-lpcap $LIBS"
15715 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15716 /* end confdefs.h. */
15718 /* Override any GCC internal prototype to avoid an error.
15719 Use char because int might match the return type of a GCC
15720 builtin and then its argument prototype would still apply. */
15721 char pcap_create ();
15725 return pcap_create ();
15730 if ac_fn_c_try_link
"$LINENO"
15732 ac_cv_lib_pcap_pcap_create
=yes
15734 ac_cv_lib_pcap_pcap_create
=no
15736 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15737 conftest
$ac_exeext conftest.
$ac_ext
15738 LIBS
=$ac_check_lib_save_LIBS
15740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
15741 printf "%s\n" "$ac_cv_lib_pcap_pcap_create" >&6; }
15742 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
15749 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
15751 case "x$with_pcap" in
15752 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15754 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
15755 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15757 enable_wpcap
=${enable_wpcap:-no}
15760 if test "x$with_inotify" != "xno"
15763 if ${INOTIFY_CFLAGS:+false} :
15765 if test ${PKG_CONFIG+y}
15767 INOTIFY_CFLAGS
=`$PKG_CONFIG --cflags libinotify 2>conftest.err`
15771 if ${INOTIFY_LIBS:+false} :
15773 if test ${PKG_CONFIG+y}
15775 INOTIFY_LIBS
=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15780 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15781 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15782 if test -s conftest.err
; then
15783 printf %s
"$as_me:${as_lineno-$LINENO}: libinotify errors: " >&5
15784 cat conftest.err
>&5
15787 ac_save_CPPFLAGS
=$CPPFLAGS
15788 CPPFLAGS
="$CPPFLAGS $INOTIFY_CFLAGS"
15789 ac_fn_c_check_header_compile
"$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15790 if test "x$ac_cv_header_sys_inotify_h" = xyes
15792 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15797 printf %s
"checking for inotify_add_watch in -linotify... " >&6; }
15798 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15800 printf %s
"(cached) " >&6
15802 ac_check_lib_save_LIBS
=$LIBS
15803 LIBS
="-linotify $INOTIFY_LIBS $LIBS"
15804 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15805 /* end confdefs.h. */
15807 /* Override any GCC internal prototype to avoid an error.
15808 Use char because int might match the return type of a GCC
15809 builtin and then its argument prototype would still apply. */
15810 char inotify_add_watch ();
15814 return inotify_add_watch ();
15819 if ac_fn_c_try_link
"$LINENO"
15821 ac_cv_lib_inotify_inotify_add_watch
=yes
15823 ac_cv_lib_inotify_inotify_add_watch
=no
15825 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15826 conftest
$ac_exeext conftest.
$ac_ext
15827 LIBS
=$ac_check_lib_save_LIBS
15829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15830 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
15831 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
15838 CPPFLAGS
=$ac_save_CPPFLAGS
15841 if test "$ac_cv_header_sys_inotify_h" != "yes"
15843 case "x$with_inotify" in
15844 x
) as_fn_append wine_notices
"|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
15846 *) as_fn_error $?
"libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
15847 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
15852 if test "x$with_dbus" != "xno"
15855 if ${DBUS_CFLAGS:+false} :
15857 if test ${PKG_CONFIG+y}
15859 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>conftest.err`
15863 if ${DBUS_LIBS:+false} :
15865 if test ${PKG_CONFIG+y}
15867 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
15872 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
15873 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
15874 if test -s conftest.err
; then
15875 printf %s
"$as_me:${as_lineno-$LINENO}: dbus-1 errors: " >&5
15876 cat conftest.err
>&5
15879 ac_save_CPPFLAGS
=$CPPFLAGS
15880 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
15881 ac_fn_c_check_header_compile
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
15882 if test "x$ac_cv_header_dbus_dbus_h" = xyes
15884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
15885 printf %s
"checking for -ldbus-1... " >&6; }
15886 if test ${ac_cv_lib_soname_dbus_1+y}
15888 printf %s
"(cached) " >&6
15890 ac_check_soname_save_LIBS
=$LIBS
15891 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
15892 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15893 /* end confdefs.h. */
15895 /* Override any GCC internal prototype to avoid an error.
15896 Use char because int might match the return type of a GCC
15897 builtin and then its argument prototype would still apply. */
15898 char dbus_connection_close ();
15902 return dbus_connection_close ();
15907 if ac_fn_c_try_link
"$LINENO"
15910 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15911 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'` ;;
15912 *) 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'`
15913 if ${ac_cv_lib_soname_dbus_1:+false} :
15915 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15919 ac_cv_lib_soname_dbus_1
=
15921 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15922 conftest
$ac_exeext conftest.
$ac_ext
15923 LIBS
=$ac_check_soname_save_LIBS
15925 if ${ac_cv_lib_soname_dbus_1:+false} :
15927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15928 printf "%s\n" "not found" >&6; }
15931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
15932 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
15934 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
15942 CPPFLAGS
=$ac_save_CPPFLAGS
15946 darwin
*|macosx
*) ;;
15947 *) if test "x$ac_cv_lib_soname_dbus_1" = "x"
15949 case "x$with_dbus" in
15950 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
15952 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
15953 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
15959 if test "x$with_gnutls" != "xno"
15962 if ${GNUTLS_CFLAGS:+false} :
15964 if test ${PKG_CONFIG+y}
15966 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>conftest.err`
15970 if ${GNUTLS_LIBS:+false} :
15972 if test ${PKG_CONFIG+y}
15974 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
15978 GNUTLS_LIBS
=${GNUTLS_LIBS:-"-lgnutls"}
15979 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
15980 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
15981 if test -s conftest.err
; then
15982 printf %s
"$as_me:${as_lineno-$LINENO}: gnutls errors: " >&5
15983 cat conftest.err
>&5
15986 ac_save_CPPFLAGS
=$CPPFLAGS
15987 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
15988 ac_fn_c_check_header_compile
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
15989 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
15991 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15992 /* end confdefs.h. */
15993 #include <gnutls/gnutls.h>
15994 #include <gnutls/crypto.h>
15998 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16003 if ac_fn_c_try_compile
"$LINENO"
16005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16006 printf %s
"checking for -lgnutls... " >&6; }
16007 if test ${ac_cv_lib_soname_gnutls+y}
16009 printf %s
"(cached) " >&6
16011 ac_check_soname_save_LIBS
=$LIBS
16012 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
16013 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16014 /* end confdefs.h. */
16016 /* Override any GCC internal prototype to avoid an error.
16017 Use char because int might match the return type of a GCC
16018 builtin and then its argument prototype would still apply. */
16019 char gnutls_global_init ();
16023 return gnutls_global_init ();
16028 if ac_fn_c_try_link
"$LINENO"
16031 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16032 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'` ;;
16033 *) 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'`
16034 if ${ac_cv_lib_soname_gnutls:+false} :
16036 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'`
16040 ac_cv_lib_soname_gnutls
=
16042 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16043 conftest
$ac_exeext conftest.
$ac_ext
16044 LIBS
=$ac_check_soname_save_LIBS
16046 if ${ac_cv_lib_soname_gnutls:+false} :
16048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16049 printf "%s\n" "not found" >&6; }
16052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16053 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16055 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16059 ac_wine_check_funcs_save_LIBS
="$LIBS"
16060 LIBS
="$LIBS $GNUTLS_LIBS"
16062 for ac_func
in gnutls_cipher_init
16064 ac_fn_c_check_func
"$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16065 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16067 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16070 as_fn_append wine_notices
"|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16074 LIBS
="$ac_wine_check_funcs_save_LIBS"
16076 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16081 CPPFLAGS
=$ac_save_CPPFLAGS
16084 if test "x$ac_cv_lib_soname_gnutls" = "x"
16086 case "x$with_gnutls" in
16087 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16089 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
16090 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16095 if test "x$with_sane" != "xno"
16098 if ${SANE_CFLAGS:+false} :
16100 if test ${PKG_CONFIG+y}
16102 SANE_CFLAGS
=`$PKG_CONFIG --cflags sane-backends 2>conftest.err`
16105 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16106 if ${SANE_LIBS:+false} :
16108 if test ${PKG_CONFIG+y}
16110 SANE_LIBS
=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16113 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16115 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16116 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16117 if test -s conftest.err
; then
16118 printf %s
"$as_me:${as_lineno-$LINENO}: sane-backends errors: " >&5
16119 cat conftest.err
>&5
16122 ac_save_CPPFLAGS
=$CPPFLAGS
16123 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
16124 ac_fn_c_check_header_compile
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16125 if test "x$ac_cv_header_sane_sane_h" = xyes
16127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16128 printf %s
"checking for sane_init in -lsane... " >&6; }
16129 if test ${ac_cv_lib_sane_sane_init+y}
16131 printf %s
"(cached) " >&6
16133 ac_check_lib_save_LIBS
=$LIBS
16134 LIBS
="-lsane $SANE_LIBS $LIBS"
16135 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16136 /* end confdefs.h. */
16138 /* Override any GCC internal prototype to avoid an error.
16139 Use char because int might match the return type of a GCC
16140 builtin and then its argument prototype would still apply. */
16145 return sane_init ();
16150 if ac_fn_c_try_link
"$LINENO"
16152 ac_cv_lib_sane_sane_init
=yes
16154 ac_cv_lib_sane_sane_init
=no
16156 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16157 conftest
$ac_exeext conftest.
$ac_ext
16158 LIBS
=$ac_check_lib_save_LIBS
16160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16161 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16162 if test "x$ac_cv_lib_sane_sane_init" = xyes
16169 CPPFLAGS
=$ac_save_CPPFLAGS
16172 if test "$ac_cv_lib_sane_sane_init" != "yes"
16174 case "x$with_sane" in
16175 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16177 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
16178 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16180 enable_sane_ds
=${enable_sane_ds:-no}
16183 if test "x$with_usb" != "xno"
16186 if ${USB_CFLAGS:+false} :
16188 if test ${PKG_CONFIG+y}
16190 USB_CFLAGS
=`$PKG_CONFIG --cflags libusb-1.0 2>conftest.err`
16194 if ${USB_LIBS:+false} :
16196 if test ${PKG_CONFIG+y}
16198 USB_LIBS
=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16202 USB_LIBS
=${USB_LIBS:-"-lusb-1.0"}
16203 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16204 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16205 if test -s conftest.err
; then
16206 printf %s
"$as_me:${as_lineno-$LINENO}: libusb-1.0 errors: " >&5
16207 cat conftest.err
>&5
16210 ac_save_CPPFLAGS
=$CPPFLAGS
16211 CPPFLAGS
="$CPPFLAGS $USB_CFLAGS"
16212 ac_fn_c_check_header_compile
"$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16213 if test "x$ac_cv_header_libusb_h" = xyes
16215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16216 printf %s
"checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16217 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16219 printf %s
"(cached) " >&6
16221 ac_check_lib_save_LIBS
=$LIBS
16222 LIBS
="-lusb-1.0 $USB_LIBS $LIBS"
16223 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16224 /* end confdefs.h. */
16226 /* Override any GCC internal prototype to avoid an error.
16227 Use char because int might match the return type of a GCC
16228 builtin and then its argument prototype would still apply. */
16229 char libusb_interrupt_event_handler ();
16233 return libusb_interrupt_event_handler ();
16238 if ac_fn_c_try_link
"$LINENO"
16240 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler
=yes
16242 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler
=no
16244 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16245 conftest
$ac_exeext conftest.
$ac_ext
16246 LIBS
=$ac_check_lib_save_LIBS
16248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16249 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16250 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16261 CPPFLAGS
=$ac_save_CPPFLAGS
16264 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16266 case "x$with_usb" in
16267 x
) as_fn_append wine_notices
"|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16269 *) as_fn_error $?
"libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16270 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16272 enable_wineusb_sys
=${enable_wineusb_sys:-no}
16275 if test "x$with_v4l2" != "xno"
16277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16278 printf %s
"checking for -lv4l2... " >&6; }
16279 if test ${ac_cv_lib_soname_v4l2+y}
16281 printf %s
"(cached) " >&6
16283 ac_check_soname_save_LIBS
=$LIBS
16284 LIBS
="-lv4l2 $LIBS"
16285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16286 /* end confdefs.h. */
16288 /* Override any GCC internal prototype to avoid an error.
16289 Use char because int might match the return type of a GCC
16290 builtin and then its argument prototype would still apply. */
16295 return v4l2_open ();
16300 if ac_fn_c_try_link
"$LINENO"
16303 dll
) ac_cv_lib_soname_v4l2
=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16304 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'` ;;
16305 *) ac_cv_lib_soname_v4l2
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16306 if ${ac_cv_lib_soname_v4l2:+false} :
16308 ac_cv_lib_soname_v4l2
=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16312 ac_cv_lib_soname_v4l2
=
16314 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16315 conftest
$ac_exeext conftest.
$ac_ext
16316 LIBS
=$ac_check_soname_save_LIBS
16318 if ${ac_cv_lib_soname_v4l2:+false} :
16320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16321 printf "%s\n" "not found" >&6; }
16324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16325 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16327 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16332 if test "x$ac_cv_lib_soname_v4l2" = "x"
16334 case "x$with_v4l2" in
16335 x
) as_fn_append wine_notices
"|libv4l2 ${notice_platform}development files not found." ;;
16337 *) as_fn_error $?
"libv4l2 ${notice_platform}development files not found.
16338 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16343 if test "x$with_gphoto" != "xno"
16346 if ${GPHOTO2_CFLAGS:+false} :
16348 if test ${PKG_CONFIG+y}
16350 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>conftest.err`
16353 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16354 if ${GPHOTO2_LIBS:+false} :
16356 if test ${PKG_CONFIG+y}
16358 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16361 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16362 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
16363 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16364 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16365 if test -s conftest.err
; then
16366 printf %s
"$as_me:${as_lineno-$LINENO}: libgphoto2 errors: " >&5
16367 cat conftest.err
>&5
16370 ac_save_CPPFLAGS
=$CPPFLAGS
16371 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
16372 ac_fn_c_check_header_compile
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16373 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16376 printf %s
"checking for gp_camera_new in -lgphoto2... " >&6; }
16377 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16379 printf %s
"(cached) " >&6
16381 ac_check_lib_save_LIBS
=$LIBS
16382 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16383 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16384 /* end confdefs.h. */
16386 /* Override any GCC internal prototype to avoid an error.
16387 Use char because int might match the return type of a GCC
16388 builtin and then its argument prototype would still apply. */
16389 char gp_camera_new ();
16393 return gp_camera_new ();
16398 if ac_fn_c_try_link
"$LINENO"
16400 ac_cv_lib_gphoto2_gp_camera_new
=yes
16402 ac_cv_lib_gphoto2_gp_camera_new
=no
16404 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16405 conftest
$ac_exeext conftest.
$ac_ext
16406 LIBS
=$ac_check_lib_save_LIBS
16408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16409 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16410 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16417 CPPFLAGS
=$ac_save_CPPFLAGS
16420 if ${GPHOTO2_PORT_CFLAGS:+false} :
16422 if test ${PKG_CONFIG+y}
16424 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>conftest.err`
16427 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16428 if ${GPHOTO2_PORT_LIBS:+false} :
16430 if test ${PKG_CONFIG+y}
16432 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16435 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16436 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16437 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16438 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16439 if test -s conftest.err
; then
16440 printf %s
"$as_me:${as_lineno-$LINENO}: libgphoto2_port errors: " >&5
16441 cat conftest.err
>&5
16444 ac_save_CPPFLAGS
=$CPPFLAGS
16445 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16446 ac_fn_c_check_header_compile
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16447 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16450 printf %s
"checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16451 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16453 printf %s
"(cached) " >&6
16455 ac_check_lib_save_LIBS
=$LIBS
16456 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16457 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16458 /* end confdefs.h. */
16460 /* Override any GCC internal prototype to avoid an error.
16461 Use char because int might match the return type of a GCC
16462 builtin and then its argument prototype would still apply. */
16463 char gp_port_info_list_new ();
16467 return gp_port_info_list_new ();
16472 if ac_fn_c_try_link
"$LINENO"
16474 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
16476 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
16478 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16479 conftest
$ac_exeext conftest.
$ac_ext
16480 LIBS
=$ac_check_lib_save_LIBS
16482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16483 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16484 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16487 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16490 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
16494 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
16497 CPPFLAGS
=$ac_save_CPPFLAGS
16500 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16502 case "x$with_gphoto" in
16503 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16505 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16506 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16508 enable_gphoto2_ds
=${enable_gphoto2_ds:-no}
16510 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16512 case "x$with_gphoto" in
16513 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16515 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16516 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16522 if test "$ac_cv_header_resolv_h" = "yes"
16524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16525 printf %s
"checking for resolver library... " >&6; }
16526 if test ${ac_cv_have_resolv+y}
16528 printf %s
"(cached) " >&6
16530 ac_save_LIBS
="$LIBS"
16531 for lib
in '' -lresolv
16533 LIBS
="$lib $ac_save_LIBS"
16534 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16535 /* end confdefs.h. */
16536 #ifdef HAVE_NETINET_IN_H
16537 #include <netinet/in.h>
16539 #include <resolv.h>
16543 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16548 if ac_fn_c_try_link
"$LINENO"
16550 ac_cv_have_resolv
=${lib:-"none required"}
16552 ac_cv_have_resolv
="not found"
16554 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16555 conftest
$ac_exeext conftest.
$ac_ext
16556 test "x$ac_cv_have_resolv" = "xnot found" ||
break
16558 LIBS
="$ac_save_LIBS"
16560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16561 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16563 case "$ac_cv_have_resolv" in
16567 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16570 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16572 RESOLV_LIBS
=$ac_cv_have_resolv
16576 if test "x$ac_cv_have_resolv" != "xnot found"
16578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16579 printf %s
"checking for res_getservers... " >&6; }
16580 if test ${ac_cv_have_res_getservers+y}
16582 printf %s
"(cached) " >&6
16584 ac_save_LIBS
="$LIBS"
16585 LIBS
="$RESOLV_LIBS $LIBS"
16586 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16587 /* end confdefs.h. */
16588 #include <resolv.h>
16592 res_getservers(NULL, NULL, 0);
16597 if ac_fn_c_try_link
"$LINENO"
16599 ac_cv_have_res_getservers
=yes
16601 ac_cv_have_res_getservers
=no
16603 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16604 conftest
$ac_exeext conftest.
$ac_ext
16605 LIBS
="$ac_save_LIBS"
16607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16608 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16609 if test "$ac_cv_have_res_getservers" = "yes"
16612 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16618 if test "x$with_freetype" != "xno"
16621 if ${FREETYPE_CFLAGS:+false} :
16623 if test ${PKG_CONFIG+y}
16625 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>conftest.err`
16628 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16629 if ${FREETYPE_LIBS:+false} :
16631 if test ${PKG_CONFIG+y}
16633 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16636 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16637 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
16638 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16639 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16640 if test -s conftest.err
; then
16641 printf %s
"$as_me:${as_lineno-$LINENO}: freetype2 errors: " >&5
16642 cat conftest.err
>&5
16645 ac_save_CPPFLAGS
=$CPPFLAGS
16646 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
16647 ac_fn_c_check_header_compile
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16648 if test "x$ac_cv_header_ft2build_h" = xyes
16650 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16654 if test "$ac_cv_header_ft2build_h" = "yes"
16656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16657 printf %s
"checking for -lfreetype... " >&6; }
16658 if test ${ac_cv_lib_soname_freetype+y}
16660 printf %s
"(cached) " >&6
16662 ac_check_soname_save_LIBS
=$LIBS
16663 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
16664 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16665 /* end confdefs.h. */
16667 /* Override any GCC internal prototype to avoid an error.
16668 Use char because int might match the return type of a GCC
16669 builtin and then its argument prototype would still apply. */
16670 char FT_Init_FreeType ();
16674 return FT_Init_FreeType ();
16679 if ac_fn_c_try_link
"$LINENO"
16682 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16683 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'` ;;
16684 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16685 if ${ac_cv_lib_soname_freetype:+false} :
16687 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16691 ac_cv_lib_soname_freetype
=
16693 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16694 conftest
$ac_exeext conftest.
$ac_ext
16695 LIBS
=$ac_check_soname_save_LIBS
16697 if ${ac_cv_lib_soname_freetype:+false} :
16699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16700 printf "%s\n" "not found" >&6; }
16703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16704 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16706 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16709 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16711 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16712 #include FT_MODULE_H
16714 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16717 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16727 CPPFLAGS
=$ac_save_CPPFLAGS
16730 if test "x$ac_cv_lib_soname_freetype" = x
16732 case "x$with_freetype" in
16734 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
16735 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16737 enable_fonts
=${enable_fonts:-no}
16740 ac_wine_check_funcs_save_LIBS
="$LIBS"
16741 LIBS
="$LIBS $PTHREAD_LIBS"
16742 ac_fn_c_check_func
"$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16743 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16745 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16749 LIBS
="$ac_wine_check_funcs_save_LIBS"
16751 if test "x$enable_tools" != xno
-a "x$with_gettextpo" = xyes
16753 if test "$ac_cv_header_gettext_po_h" = "yes"
16755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16756 printf %s
"checking for po_message_msgctxt in -lgettextpo... " >&6; }
16757 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16759 printf %s
"(cached) " >&6
16761 ac_check_lib_save_LIBS
=$LIBS
16762 LIBS
="-lgettextpo $LIBS"
16763 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16764 /* end confdefs.h. */
16766 /* Override any GCC internal prototype to avoid an error.
16767 Use char because int might match the return type of a GCC
16768 builtin and then its argument prototype would still apply. */
16769 char po_message_msgctxt ();
16773 return po_message_msgctxt ();
16778 if ac_fn_c_try_link
"$LINENO"
16780 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
16782 ac_cv_lib_gettextpo_po_message_msgctxt
=no
16784 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16785 conftest
$ac_exeext conftest.
$ac_ext
16786 LIBS
=$ac_check_lib_save_LIBS
16788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16789 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16790 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16793 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16795 GETTEXTPO_LIBS
="-lgettextpo"
16800 if test "x$GETTEXTPO_LIBS" = "x"
16802 case "x$with_gettextpo" in
16803 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16805 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16806 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16810 if test "$srcdir" != .
16812 case "x$with_gettextpo" in
16813 x
) as_fn_append wine_notices
"|Rebuilding po files is not supported for out of tree builds." ;;
16815 *) as_fn_error $?
"Rebuilding po files is not supported for out of tree builds.
16816 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16822 if test "x$with_pulse" != "xno";
16825 if ${PULSE_CFLAGS:+false} :
16827 if test ${PKG_CONFIG+y}
16829 PULSE_CFLAGS
=`$PKG_CONFIG --cflags libpulse 2>conftest.err`
16833 if ${PULSE_LIBS:+false} :
16835 if test ${PKG_CONFIG+y}
16837 PULSE_LIBS
=`$PKG_CONFIG --libs libpulse 2>/dev/null`
16842 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
16843 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
16844 if test -s conftest.err
; then
16845 printf %s
"$as_me:${as_lineno-$LINENO}: libpulse errors: " >&5
16846 cat conftest.err
>&5
16849 ac_save_CPPFLAGS
=$CPPFLAGS
16850 CPPFLAGS
="$CPPFLAGS $PULSE_CFLAGS"
16851 for ac_header
in pulse
/pulseaudio.h
16853 ac_fn_c_check_header_compile
"$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
16854 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
16856 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
16857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
16858 printf %s
"checking for pa_stream_is_corked in -lpulse... " >&6; }
16859 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
16861 printf %s
"(cached) " >&6
16863 ac_check_lib_save_LIBS
=$LIBS
16864 LIBS
="-lpulse $PULSE_LIBS $LIBS"
16865 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16866 /* end confdefs.h. */
16868 /* Override any GCC internal prototype to avoid an error.
16869 Use char because int might match the return type of a GCC
16870 builtin and then its argument prototype would still apply. */
16871 char pa_stream_is_corked ();
16875 return pa_stream_is_corked ();
16880 if ac_fn_c_try_link
"$LINENO"
16882 ac_cv_lib_pulse_pa_stream_is_corked
=yes
16884 ac_cv_lib_pulse_pa_stream_is_corked
=no
16886 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16887 conftest
$ac_exeext conftest.
$ac_ext
16888 LIBS
=$ac_check_lib_save_LIBS
16890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
16891 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
16892 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
16904 CPPFLAGS
=$ac_save_CPPFLAGS
16907 if test -z "$PULSE_LIBS"
16909 case "x$with_pulse" in
16910 x
) as_fn_append wine_notices
"|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
16912 *) as_fn_error $?
"libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
16913 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
16915 enable_winepulse_drv
=${enable_winepulse_drv:-no}
16918 if test "x$with_gstreamer" != "xno"
16921 if ${GSTREAMER_CFLAGS:+false} :
16923 if test ${PKG_CONFIG+y}
16925 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>conftest.err`
16929 if ${GSTREAMER_LIBS:+false} :
16931 if test ${PKG_CONFIG+y}
16933 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>/dev/null`
16938 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
16939 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
16940 if test -s conftest.err
; then
16941 printf %s
"$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 errors: " >&5
16942 cat conftest.err
>&5
16945 ac_save_CPPFLAGS
=$CPPFLAGS
16946 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
16947 ac_fn_c_check_header_compile
"$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
16948 if test "x$ac_cv_header_gst_gst_h" = xyes
16950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
16951 printf %s
"checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
16952 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16953 /* end confdefs.h. */
16954 #include <gst/gst.h>
16958 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
16963 if ac_fn_c_try_compile
"$LINENO"
16965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16966 printf "%s\n" "yes" >&6; }
16967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
16968 printf %s
"checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
16969 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
16971 printf %s
"(cached) " >&6
16973 ac_check_lib_save_LIBS
=$LIBS
16974 LIBS
="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
16975 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16976 /* end confdefs.h. */
16978 /* Override any GCC internal prototype to avoid an error.
16979 Use char because int might match the return type of a GCC
16980 builtin and then its argument prototype would still apply. */
16981 char gst_pad_new ();
16985 return gst_pad_new ();
16990 if ac_fn_c_try_link
"$LINENO"
16992 ac_cv_lib_gstreamer_1_0_gst_pad_new
=yes
16994 ac_cv_lib_gstreamer_1_0_gst_pad_new
=no
16996 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16997 conftest
$ac_exeext conftest.
$ac_ext
16998 LIBS
=$ac_check_lib_save_LIBS
17000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17001 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17002 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17009 printf "%s\n" "no" >&6; }
17010 ac_glib2_broken
=yes
17011 as_fn_append wine_notices
"|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17013 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17016 CPPFLAGS
=$ac_save_CPPFLAGS
17019 if test "x$ac_glib2_broken" != xyes
-a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17021 case "x$with_gstreamer" in
17022 x
) as_fn_append wine_notices
"|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17024 *) as_fn_error $?
"gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17025 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17027 enable_winegstreamer
=${enable_winegstreamer:-no}
17032 if test "x$with_alsa" != "xno"
17034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17035 printf %s
"checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17036 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17038 printf %s
"(cached) " >&6
17040 ac_check_lib_save_LIBS
=$LIBS
17041 LIBS
="-lasound $LIBS"
17042 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17043 /* end confdefs.h. */
17045 /* Override any GCC internal prototype to avoid an error.
17046 Use char because int might match the return type of a GCC
17047 builtin and then its argument prototype would still apply. */
17048 char snd_pcm_hw_params_get_access_mask ();
17052 return snd_pcm_hw_params_get_access_mask ();
17057 if ac_fn_c_try_link
"$LINENO"
17059 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
17061 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
17063 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17064 conftest
$ac_exeext conftest.
$ac_ext
17065 LIBS
=$ac_check_lib_save_LIBS
17067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17068 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17069 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17071 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17072 /* end confdefs.h. */
17073 #include <alsa/asoundlib.h>
17077 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17082 if ac_fn_c_try_compile
"$LINENO"
17084 ALSA_LIBS
="-lasound"
17086 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17090 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
17092 if test "x$with_oss" != xno
17094 ac_save_CPPFLAGS
="$CPPFLAGS"
17095 if test -f /etc
/oss.conf
17099 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17100 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
17101 ac_fn_c_check_header_compile
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17102 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17104 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17106 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17109 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17111 OSS4_CFLAGS
="$ac_oss_incl"
17113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17114 printf %s
"checking for _oss_ioctl in -lossaudio... " >&6; }
17115 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17117 printf %s
"(cached) " >&6
17119 ac_check_lib_save_LIBS
=$LIBS
17120 LIBS
="-lossaudio $LIBS"
17121 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17122 /* end confdefs.h. */
17124 /* Override any GCC internal prototype to avoid an error.
17125 Use char because int might match the return type of a GCC
17126 builtin and then its argument prototype would still apply. */
17127 char _oss_ioctl ();
17131 return _oss_ioctl ();
17136 if ac_fn_c_try_link
"$LINENO"
17138 ac_cv_lib_ossaudio__oss_ioctl
=yes
17140 ac_cv_lib_ossaudio__oss_ioctl
=no
17142 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17143 conftest
$ac_exeext conftest.
$ac_ext
17144 LIBS
=$ac_check_lib_save_LIBS
17146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17147 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17148 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17150 OSS4_LIBS
="-lossaudio"
17158 CPPFLAGS
="$ac_save_CPPFLAGS"
17160 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17162 case "x$with_oss" in
17163 x
) as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17165 *) as_fn_error $?
"OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17166 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17168 enable_wineoss_drv
=${enable_wineoss_drv:-no}
17171 if test "x$with_udev" != "xno"
17174 if ${UDEV_CFLAGS:+false} :
17176 if test ${PKG_CONFIG+y}
17178 UDEV_CFLAGS
=`$PKG_CONFIG --cflags libudev 2>conftest.err`
17182 if ${UDEV_LIBS:+false} :
17184 if test ${PKG_CONFIG+y}
17186 UDEV_LIBS
=`$PKG_CONFIG --libs libudev 2>/dev/null`
17190 UDEV_LIBS
=${UDEV_LIBS:-"-ludev"}
17191 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17192 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17193 if test -s conftest.err
; then
17194 printf %s
"$as_me:${as_lineno-$LINENO}: libudev errors: " >&5
17195 cat conftest.err
>&5
17198 ac_save_CPPFLAGS
=$CPPFLAGS
17199 CPPFLAGS
="$CPPFLAGS $UDEV_CFLAGS"
17200 for ac_header
in libudev.h
17202 ac_fn_c_check_header_compile
"$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17203 if test "x$ac_cv_header_libudev_h" = xyes
17205 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17207 printf %s
"checking for udev_new in -ludev... " >&6; }
17208 if test ${ac_cv_lib_udev_udev_new+y}
17210 printf %s
"(cached) " >&6
17212 ac_check_lib_save_LIBS
=$LIBS
17213 LIBS
="-ludev $UDEV_LIBS $LIBS"
17214 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17215 /* end confdefs.h. */
17217 /* Override any GCC internal prototype to avoid an error.
17218 Use char because int might match the return type of a GCC
17219 builtin and then its argument prototype would still apply. */
17224 return udev_new ();
17229 if ac_fn_c_try_link
"$LINENO"
17231 ac_cv_lib_udev_udev_new
=yes
17233 ac_cv_lib_udev_udev_new
=no
17235 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17236 conftest
$ac_exeext conftest.
$ac_ext
17237 LIBS
=$ac_check_lib_save_LIBS
17239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17240 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17241 if test "x$ac_cv_lib_udev_udev_new" = xyes
17244 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17255 CPPFLAGS
=$ac_save_CPPFLAGS
17258 if test "x$UDEV_LIBS" = "x"
17260 case "x$with_udev" in
17261 x
) as_fn_append wine_notices
"|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17263 *) as_fn_error $?
"libudev ${notice_platform}development files not found, plug and play won't be supported.
17264 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17269 if test "x$with_unwind" != xno
17272 if ${UNWIND_CFLAGS:+false} :
17274 if test ${PKG_CONFIG+y}
17276 UNWIND_CFLAGS
=`$PKG_CONFIG --cflags libunwind 2>conftest.err`
17280 if ${UNWIND_LIBS:+false} :
17282 if test ${PKG_CONFIG+y}
17284 UNWIND_LIBS
=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17288 UNWIND_LIBS
=${UNWIND_LIBS:-"-lunwind"}
17289 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17290 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17291 if test -s conftest.err
; then
17292 printf %s
"$as_me:${as_lineno-$LINENO}: libunwind errors: " >&5
17293 cat conftest.err
>&5
17296 ac_save_CPPFLAGS
=$CPPFLAGS
17297 CPPFLAGS
="$CPPFLAGS $UNWIND_CFLAGS"
17298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17299 printf %s
"checking for unw_step... " >&6; }
17300 if test ${wine_cv_have_unw_step+y}
17302 printf %s
"(cached) " >&6
17304 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17305 /* end confdefs.h. */
17306 #define UNW_LOCAL_ONLY
17307 #include <libunwind.h>
17311 unw_cursor_t cursor; unw_step( &cursor );
17316 if ac_fn_c_try_link
"$LINENO"
17318 wine_cv_have_unw_step
="yes"
17320 wine_cv_have_unw_step
="no"
17322 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17323 conftest
$ac_exeext conftest.
$ac_ext
17325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17326 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17327 if test "$wine_cv_have_unw_step" = no
-a -n "$UNWIND_LIBS"
17330 UNWIND_LIBS
="-static-libgcc $UNWIND_LIBS"
17331 LIBS
="$UNWIND_LIBS $LIBS"
17332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17333 printf %s
"checking for unw_step in libunwind... " >&6; }
17334 if test ${wine_cv_have_libunwind_unw_step+y}
17336 printf %s
"(cached) " >&6
17338 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17339 /* end confdefs.h. */
17340 #define UNW_LOCAL_ONLY
17341 #include <libunwind.h>
17345 unw_cursor_t cursor; unw_step( &cursor );
17350 if ac_fn_c_try_link
"$LINENO"
17352 wine_cv_have_libunwind_unw_step
="yes"
17354 wine_cv_have_libunwind_unw_step
="no"
17356 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17357 conftest
$ac_exeext conftest.
$ac_ext
17359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17360 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17363 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS
=""
17364 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17367 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17370 CPPFLAGS
=$ac_save_CPPFLAGS
17374 aarch64
*|
*-darwin*)
17375 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17377 case "x$with_unwind" in
17378 x
) as_fn_append wine_notices
"|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17380 *) as_fn_error $?
"libunwind ${notice_platform}development files not found, stack unwinding won't work.
17381 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17387 if test "x$with_sdl" != "xno"
17390 if ${SDL2_CFLAGS:+false} :
17392 if test ${PKG_CONFIG+y}
17394 SDL2_CFLAGS
=`$PKG_CONFIG --cflags sdl2 2>conftest.err`
17398 if ${SDL2_LIBS:+false} :
17400 if test ${PKG_CONFIG+y}
17402 SDL2_LIBS
=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17406 SDL2_LIBS
=${SDL2_LIBS:-"-lSDL2"}
17407 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17408 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17409 if test -s conftest.err
; then
17410 printf %s
"$as_me:${as_lineno-$LINENO}: sdl2 errors: " >&5
17411 cat conftest.err
>&5
17414 ac_save_CPPFLAGS
=$CPPFLAGS
17415 CPPFLAGS
="$CPPFLAGS $SDL2_CFLAGS"
17416 for ac_header
in SDL.h
17418 ac_fn_c_check_header_compile
"$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17419 if test "x$ac_cv_header_SDL_h" = xyes
17421 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17423 printf %s
"checking for -lSDL2... " >&6; }
17424 if test ${ac_cv_lib_soname_SDL2+y}
17426 printf %s
"(cached) " >&6
17428 ac_check_soname_save_LIBS
=$LIBS
17429 LIBS
="-lSDL2 $SDL2_LIBS $LIBS"
17430 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17431 /* end confdefs.h. */
17433 /* Override any GCC internal prototype to avoid an error.
17434 Use char because int might match the return type of a GCC
17435 builtin and then its argument prototype would still apply. */
17440 return SDL_Init ();
17445 if ac_fn_c_try_link
"$LINENO"
17448 dll
) ac_cv_lib_soname_SDL2
=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17449 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'` ;;
17450 *) 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'`
17451 if ${ac_cv_lib_soname_SDL2:+false} :
17453 ac_cv_lib_soname_SDL2
=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17457 ac_cv_lib_soname_SDL2
=
17459 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17460 conftest
$ac_exeext conftest.
$ac_ext
17461 LIBS
=$ac_check_soname_save_LIBS
17463 if ${ac_cv_lib_soname_SDL2:+false} :
17465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17466 printf "%s\n" "not found" >&6; }
17469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17470 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17472 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17479 CPPFLAGS
=$ac_save_CPPFLAGS
17482 if test "x$ac_cv_lib_soname_SDL2" = "x"
17484 case "x$with_sdl" in
17485 x
) as_fn_append wine_notices
"|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17487 *) as_fn_error $?
"libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17488 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17493 if test "x$with_capi" != "xno"
17496 if ${CAPI20_CFLAGS:+false} :
17498 if test ${PKG_CONFIG+y}
17500 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>conftest.err`
17504 if ${CAPI20_LIBS:+false} :
17506 if test ${PKG_CONFIG+y}
17508 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
17513 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17514 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17515 if test -s conftest.err
; then
17516 printf %s
"$as_me:${as_lineno-$LINENO}: capi20 errors: " >&5
17517 cat conftest.err
>&5
17520 ac_save_CPPFLAGS
=$CPPFLAGS
17521 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
17522 ac_fn_c_check_header_compile
"$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17524 if test "x$ac_cv_header_capi20_h" = xyes
17526 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17529 ac_fn_c_check_header_compile
"$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17531 if test "x$ac_cv_header_linux_capi_h" = xyes
17533 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17537 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17540 printf %s
"checking for capi20_register in -lcapi20... " >&6; }
17541 if test ${ac_cv_lib_capi20_capi20_register+y}
17543 printf %s
"(cached) " >&6
17545 ac_check_lib_save_LIBS
=$LIBS
17546 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
17547 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17548 /* end confdefs.h. */
17550 /* Override any GCC internal prototype to avoid an error.
17551 Use char because int might match the return type of a GCC
17552 builtin and then its argument prototype would still apply. */
17553 char capi20_register ();
17557 return capi20_register ();
17562 if ac_fn_c_try_link
"$LINENO"
17564 ac_cv_lib_capi20_capi20_register
=yes
17566 ac_cv_lib_capi20_capi20_register
=no
17568 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17569 conftest
$ac_exeext conftest.
$ac_ext
17570 LIBS
=$ac_check_lib_save_LIBS
17572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17573 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17574 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17582 CPPFLAGS
=$ac_save_CPPFLAGS
17585 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17587 case "x$with_capi" in
17588 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17590 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17591 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17593 enable_capi2032
=${enable_capi2032:-no}
17596 if test "x$with_cups" != "xno"
17599 if ${CUPS_CFLAGS:+false} :
17601 if test ${PKG_CONFIG+y}
17603 CUPS_CFLAGS
=`$PKG_CONFIG --cflags cups 2>conftest.err`
17606 test "$cross_compiling" = yes || CUPS_CFLAGS
=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17607 if ${CUPS_LIBS:+false} :
17609 if test ${PKG_CONFIG+y}
17611 CUPS_LIBS
=`$PKG_CONFIG --libs cups 2>/dev/null`
17614 test "$cross_compiling" = yes || CUPS_LIBS
=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17615 CUPS_LIBS
=${CUPS_LIBS:-"-lcups"}
17616 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17617 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17618 if test -s conftest.err
; then
17619 printf %s
"$as_me:${as_lineno-$LINENO}: cups errors: " >&5
17620 cat conftest.err
>&5
17623 ac_save_CPPFLAGS
=$CPPFLAGS
17624 CPPFLAGS
="$CPPFLAGS $CUPS_CFLAGS"
17625 ac_fn_c_check_header_compile
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17626 if test "x$ac_cv_header_cups_cups_h" = xyes
17628 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17631 ac_fn_c_check_header_compile
"$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17632 if test "x$ac_cv_header_cups_ppd_h" = xyes
17634 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17638 if test "$ac_cv_header_cups_cups_h" = "yes"
17640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17641 printf %s
"checking for -lcups... " >&6; }
17642 if test ${ac_cv_lib_soname_cups+y}
17644 printf %s
"(cached) " >&6
17646 ac_check_soname_save_LIBS
=$LIBS
17647 LIBS
="-lcups $CUPS_LIBS $LIBS"
17648 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17649 /* end confdefs.h. */
17651 /* Override any GCC internal prototype to avoid an error.
17652 Use char because int might match the return type of a GCC
17653 builtin and then its argument prototype would still apply. */
17654 char cupsGetDefault ();
17658 return cupsGetDefault ();
17663 if ac_fn_c_try_link
"$LINENO"
17666 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17667 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'` ;;
17668 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17669 if ${ac_cv_lib_soname_cups:+false} :
17671 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17675 ac_cv_lib_soname_cups
=
17677 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17678 conftest
$ac_exeext conftest.
$ac_ext
17679 LIBS
=$ac_check_soname_save_LIBS
17681 if ${ac_cv_lib_soname_cups:+false} :
17683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17684 printf "%s\n" "not found" >&6; }
17687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17688 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17690 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17698 CPPFLAGS
=$ac_save_CPPFLAGS
17701 if test "x$ac_cv_lib_soname_cups" = "x"
17703 case "x$with_cups" in
17704 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17706 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
17707 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17712 if test "x$with_fontconfig" != "xno"
17715 if ${FONTCONFIG_CFLAGS:+false} :
17717 if test ${PKG_CONFIG+y}
17719 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>conftest.err`
17722 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17723 if ${FONTCONFIG_LIBS:+false} :
17725 if test ${PKG_CONFIG+y}
17727 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17730 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
17732 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17733 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17734 if test -s conftest.err
; then
17735 printf %s
"$as_me:${as_lineno-$LINENO}: fontconfig errors: " >&5
17736 cat conftest.err
>&5
17739 ac_save_CPPFLAGS
=$CPPFLAGS
17740 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
17741 ac_fn_c_check_header_compile
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17742 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17744 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17748 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17751 printf %s
"checking for -lfontconfig... " >&6; }
17752 if test ${ac_cv_lib_soname_fontconfig+y}
17754 printf %s
"(cached) " >&6
17756 ac_check_soname_save_LIBS
=$LIBS
17757 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17758 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17759 /* end confdefs.h. */
17761 /* Override any GCC internal prototype to avoid an error.
17762 Use char because int might match the return type of a GCC
17763 builtin and then its argument prototype would still apply. */
17773 if ac_fn_c_try_link
"$LINENO"
17776 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17777 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'` ;;
17778 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17779 if ${ac_cv_lib_soname_fontconfig:+false} :
17781 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17785 ac_cv_lib_soname_fontconfig
=
17787 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17788 conftest
$ac_exeext conftest.
$ac_ext
17789 LIBS
=$ac_check_soname_save_LIBS
17791 if ${ac_cv_lib_soname_fontconfig:+false} :
17793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17794 printf "%s\n" "not found" >&6; }
17795 FONTCONFIG_CFLAGS
=""
17797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17798 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17800 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17805 FONTCONFIG_CFLAGS
=""
17807 CPPFLAGS
=$ac_save_CPPFLAGS
17810 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17812 case "x$with_fontconfig" in
17813 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17815 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17816 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17821 if test "x$with_krb5" != "xno"
17824 if ${KRB5_CFLAGS:+false} :
17826 if test ${PKG_CONFIG+y}
17828 KRB5_CFLAGS
=`$PKG_CONFIG --cflags krb5 2>conftest.err`
17831 test "$cross_compiling" = yes || KRB5_CFLAGS
=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17832 if ${KRB5_LIBS:+false} :
17834 if test ${PKG_CONFIG+y}
17836 KRB5_LIBS
=`$PKG_CONFIG --libs krb5 2>/dev/null`
17839 test "$cross_compiling" = yes || KRB5_LIBS
=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17841 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17842 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17843 if test -s conftest.err
; then
17844 printf %s
"$as_me:${as_lineno-$LINENO}: krb5 errors: " >&5
17845 cat conftest.err
>&5
17848 ac_save_CPPFLAGS
=$CPPFLAGS
17849 CPPFLAGS
="$CPPFLAGS $KRB5_CFLAGS"
17850 ac_fn_c_check_header_compile
"$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17851 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17853 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17857 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17860 printf %s
"checking for -lkrb5... " >&6; }
17861 if test ${ac_cv_lib_soname_krb5+y}
17863 printf %s
"(cached) " >&6
17865 ac_check_soname_save_LIBS
=$LIBS
17866 LIBS
="-lkrb5 $KRB5_LIBS $LIBS"
17867 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17868 /* end confdefs.h. */
17870 /* Override any GCC internal prototype to avoid an error.
17871 Use char because int might match the return type of a GCC
17872 builtin and then its argument prototype would still apply. */
17873 char krb5_is_config_principal ();
17877 return krb5_is_config_principal ();
17882 if ac_fn_c_try_link
"$LINENO"
17885 dll
) ac_cv_lib_soname_krb5
=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17886 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'` ;;
17887 *) ac_cv_lib_soname_krb5
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17888 if ${ac_cv_lib_soname_krb5:+false} :
17890 ac_cv_lib_soname_krb5
=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17894 ac_cv_lib_soname_krb5
=
17896 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17897 conftest
$ac_exeext conftest.
$ac_ext
17898 LIBS
=$ac_check_soname_save_LIBS
17900 if ${ac_cv_lib_soname_krb5:+false} :
17902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17903 printf "%s\n" "not found" >&6; }
17906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
17907 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
17909 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
17916 CPPFLAGS
=$ac_save_CPPFLAGS
17919 if test "x$ac_cv_lib_soname_krb5" = "x"
17921 case "x$with_krb5" in
17922 x
) as_fn_append wine_notices
"|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
17924 *) as_fn_error $?
"libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
17925 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
17929 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi
=${with_gssapi:-no}
17931 if test "x$with_gssapi" != "xno"
17934 if ${GSSAPI_CFLAGS:+false} :
17936 if test ${PKG_CONFIG+y}
17938 GSSAPI_CFLAGS
=`$PKG_CONFIG --cflags krb5-gssapi 2>conftest.err`
17941 test "$cross_compiling" = yes || GSSAPI_CFLAGS
=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
17942 if ${GSSAPI_LIBS:+false} :
17944 if test ${PKG_CONFIG+y}
17946 GSSAPI_LIBS
=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
17949 test "$cross_compiling" = yes || GSSAPI_LIBS
=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
17951 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
17952 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
17953 if test -s conftest.err
; then
17954 printf %s
"$as_me:${as_lineno-$LINENO}: krb5-gssapi errors: " >&5
17955 cat conftest.err
>&5
17958 ac_save_CPPFLAGS
=$CPPFLAGS
17959 CPPFLAGS
="$CPPFLAGS $GSSAPI_CFLAGS"
17960 ac_fn_c_check_header_compile
"$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
17961 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
17963 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
17966 ac_fn_c_check_header_compile
"$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
17967 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
17969 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
17973 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
17975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
17976 printf %s
"checking for -lgssapi_krb5... " >&6; }
17977 if test ${ac_cv_lib_soname_gssapi_krb5+y}
17979 printf %s
"(cached) " >&6
17981 ac_check_soname_save_LIBS
=$LIBS
17982 LIBS
="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
17983 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17984 /* end confdefs.h. */
17986 /* Override any GCC internal prototype to avoid an error.
17987 Use char because int might match the return type of a GCC
17988 builtin and then its argument prototype would still apply. */
17989 char gss_init_sec_context ();
17993 return gss_init_sec_context ();
17998 if ac_fn_c_try_link
"$LINENO"
18001 dll
) ac_cv_lib_soname_gssapi_krb5
=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18002 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'` ;;
18003 *) 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'`
18004 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18006 ac_cv_lib_soname_gssapi_krb5
=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18010 ac_cv_lib_soname_gssapi_krb5
=
18012 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18013 conftest
$ac_exeext conftest.
$ac_ext
18014 LIBS
=$ac_check_soname_save_LIBS
18016 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18019 printf "%s\n" "not found" >&6; }
18022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18023 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18025 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18032 CPPFLAGS
=$ac_save_CPPFLAGS
18035 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18037 case "x$with_gssapi" in
18038 x
) as_fn_append wine_notices
"|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18040 *) as_fn_error $?
"libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18041 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18046 if test "$ac_cv_header_libprocstat_h" = "yes"
18048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18049 printf %s
"checking for procstat_open_sysctl in -lprocstat... " >&6; }
18050 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18052 printf %s
"(cached) " >&6
18054 ac_check_lib_save_LIBS
=$LIBS
18055 LIBS
="-lprocstat $LIBS"
18056 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18057 /* end confdefs.h. */
18059 /* Override any GCC internal prototype to avoid an error.
18060 Use char because int might match the return type of a GCC
18061 builtin and then its argument prototype would still apply. */
18062 char procstat_open_sysctl ();
18066 return procstat_open_sysctl ();
18071 if ac_fn_c_try_link
"$LINENO"
18073 ac_cv_lib_procstat_procstat_open_sysctl
=yes
18075 ac_cv_lib_procstat_procstat_open_sysctl
=no
18077 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18078 conftest
$ac_exeext conftest.
$ac_ext
18079 LIBS
=$ac_check_lib_save_LIBS
18081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18082 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18083 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18086 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18088 PROCSTAT_LIBS
="-lprocstat"
18094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18095 printf %s
"checking for -lodbc... " >&6; }
18096 if test ${ac_cv_lib_soname_odbc+y}
18098 printf %s
"(cached) " >&6
18100 ac_check_soname_save_LIBS
=$LIBS
18101 LIBS
="-lodbc $LIBS"
18102 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18103 /* end confdefs.h. */
18105 /* Override any GCC internal prototype to avoid an error.
18106 Use char because int might match the return type of a GCC
18107 builtin and then its argument prototype would still apply. */
18108 char SQLConnect ();
18112 return SQLConnect ();
18117 if ac_fn_c_try_link
"$LINENO"
18120 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18121 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'` ;;
18122 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18123 if ${ac_cv_lib_soname_odbc:+false} :
18125 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18129 ac_cv_lib_soname_odbc
=
18131 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18132 conftest
$ac_exeext conftest.
$ac_ext
18133 LIBS
=$ac_check_soname_save_LIBS
18135 if ${ac_cv_lib_soname_odbc:+false} :
18137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18138 printf "%s\n" "not found" >&6; }
18139 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18143 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18145 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18150 if test "x$with_netapi" != "xno"
18153 if ${NETAPI_CFLAGS:+false} :
18155 if test ${PKG_CONFIG+y}
18157 NETAPI_CFLAGS
=`$PKG_CONFIG --cflags netapi 2>conftest.err`
18161 if ${NETAPI_LIBS:+false} :
18163 if test ${PKG_CONFIG+y}
18165 NETAPI_LIBS
=`$PKG_CONFIG --libs netapi 2>/dev/null`
18170 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18171 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18172 if test -s conftest.err
; then
18173 printf %s
"$as_me:${as_lineno-$LINENO}: netapi errors: " >&5
18174 cat conftest.err
>&5
18177 ac_save_CPPFLAGS
=$CPPFLAGS
18178 CPPFLAGS
="$CPPFLAGS $NETAPI_CFLAGS"
18179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18180 printf %s
"checking for -lnetapi... " >&6; }
18181 if test ${ac_cv_lib_soname_netapi+y}
18183 printf %s
"(cached) " >&6
18185 ac_check_soname_save_LIBS
=$LIBS
18186 LIBS
="-lnetapi $NETAPI_LIBS $LIBS"
18187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18188 /* end confdefs.h. */
18190 /* Override any GCC internal prototype to avoid an error.
18191 Use char because int might match the return type of a GCC
18192 builtin and then its argument prototype would still apply. */
18193 char libnetapi_init ();
18197 return libnetapi_init ();
18202 if ac_fn_c_try_link
"$LINENO"
18205 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18206 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'` ;;
18207 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18208 if ${ac_cv_lib_soname_netapi:+false} :
18210 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18214 ac_cv_lib_soname_netapi
=
18216 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18217 conftest
$ac_exeext conftest.
$ac_ext
18218 LIBS
=$ac_check_soname_save_LIBS
18220 if ${ac_cv_lib_soname_netapi:+false} :
18222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18223 printf "%s\n" "not found" >&6; }
18224 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18228 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18230 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18234 CPPFLAGS
=$ac_save_CPPFLAGS
18237 if test "x$ac_cv_lib_soname_netapi" = "x"
18239 case "x$with_netapi" in
18240 x
) as_fn_append wine_notices
"|libnetapi not found, Samba NetAPI won't be supported." ;;
18242 *) as_fn_error $?
"libnetapi not found, Samba NetAPI won't be supported.
18243 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18245 enable_netapi
=${enable_netapi:-no}
18249 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono
-a \
18250 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18252 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
18255 if test "x$with_vulkan" != "xno"
18257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18258 printf %s
"checking for -lvulkan... " >&6; }
18259 if test ${ac_cv_lib_soname_vulkan+y}
18261 printf %s
"(cached) " >&6
18263 ac_check_soname_save_LIBS
=$LIBS
18264 LIBS
="-lvulkan $LIBS"
18265 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18266 /* end confdefs.h. */
18268 /* Override any GCC internal prototype to avoid an error.
18269 Use char because int might match the return type of a GCC
18270 builtin and then its argument prototype would still apply. */
18271 char vkGetInstanceProcAddr ();
18275 return vkGetInstanceProcAddr ();
18280 if ac_fn_c_try_link
"$LINENO"
18283 dll
) ac_cv_lib_soname_vulkan
=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18284 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'` ;;
18285 *) ac_cv_lib_soname_vulkan
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18286 if ${ac_cv_lib_soname_vulkan:+false} :
18288 ac_cv_lib_soname_vulkan
=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18292 ac_cv_lib_soname_vulkan
=
18294 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18295 conftest
$ac_exeext conftest.
$ac_ext
18296 LIBS
=$ac_check_soname_save_LIBS
18298 if ${ac_cv_lib_soname_vulkan:+false} :
18300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18301 printf "%s\n" "not found" >&6; }
18304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18305 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18307 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18311 if test "x$ac_cv_lib_soname_vulkan" = "x"
18313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18314 printf %s
"checking for -lMoltenVK... " >&6; }
18315 if test ${ac_cv_lib_soname_MoltenVK+y}
18317 printf %s
"(cached) " >&6
18319 ac_check_soname_save_LIBS
=$LIBS
18320 LIBS
="-lMoltenVK $LIBS"
18321 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18322 /* end confdefs.h. */
18324 /* Override any GCC internal prototype to avoid an error.
18325 Use char because int might match the return type of a GCC
18326 builtin and then its argument prototype would still apply. */
18327 char vkGetInstanceProcAddr ();
18331 return vkGetInstanceProcAddr ();
18336 if ac_fn_c_try_link
"$LINENO"
18339 dll
) ac_cv_lib_soname_MoltenVK
=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18340 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'` ;;
18341 *) ac_cv_lib_soname_MoltenVK
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18342 if ${ac_cv_lib_soname_MoltenVK:+false} :
18344 ac_cv_lib_soname_MoltenVK
=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18348 ac_cv_lib_soname_MoltenVK
=
18350 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18351 conftest
$ac_exeext conftest.
$ac_ext
18352 LIBS
=$ac_check_soname_save_LIBS
18354 if ${ac_cv_lib_soname_MoltenVK:+false} :
18356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18357 printf "%s\n" "not found" >&6; }
18360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18361 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18363 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18369 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18371 case "x$with_vulkan" in
18372 x
) as_fn_append wine_notices
"|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18374 *) as_fn_error $?
"libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18375 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18381 if test "x${GCC}" = "xyes"
18383 EXTRACFLAGS
="$EXTRACFLAGS -Wall -pipe"
18385 saved_CFLAGS
=$CFLAGS
18386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18387 printf %s
"checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18388 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18390 printf %s
"(cached) " >&6
18392 ac_wine_try_cflags_saved
=$CFLAGS
18393 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
18394 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18395 /* end confdefs.h. */
18396 int main(int argc, char **argv) { return 0; }
18398 if ac_fn_c_try_link
"$LINENO"
18400 ac_cv_cflags__Werror_unknown_warning_option
=yes
18402 ac_cv_cflags__Werror_unknown_warning_option
=no
18404 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18405 conftest
$ac_exeext conftest.
$ac_ext
18406 CFLAGS
=$ac_wine_try_cflags_saved
18408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18409 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18410 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18412 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
18414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18415 printf %s
"checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18416 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18418 printf %s
"(cached) " >&6
18420 ac_wine_try_cflags_saved
=$CFLAGS
18421 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
18422 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18423 /* end confdefs.h. */
18424 int main(int argc, char **argv) { return 0; }
18426 if ac_fn_c_try_link
"$LINENO"
18428 ac_cv_cflags__Werror_unused_command_line_argument
=yes
18430 ac_cv_cflags__Werror_unused_command_line_argument
=no
18432 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18433 conftest
$ac_exeext conftest.
$ac_ext
18434 CFLAGS
=$ac_wine_try_cflags_saved
18436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18437 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18438 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18440 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
18442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18443 printf %s
"checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18444 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18446 printf %s
"(cached) " >&6
18448 ac_wine_try_cflags_saved
=$CFLAGS
18449 CFLAGS
="$CFLAGS -Werror=ignored-optimization-argument"
18450 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18451 /* end confdefs.h. */
18452 int main(int argc, char **argv) { return 0; }
18454 if ac_fn_c_try_link
"$LINENO"
18456 ac_cv_cflags__Werror_ignored_optimization_argument
=yes
18458 ac_cv_cflags__Werror_ignored_optimization_argument
=no
18460 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18461 conftest
$ac_exeext conftest.
$ac_ext
18462 CFLAGS
=$ac_wine_try_cflags_saved
18464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18465 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18466 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18468 CFLAGS
="$CFLAGS -Werror=ignored-optimization-argument"
18470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18471 printf %s
"checking whether the compiler supports -fcf-protection=none... " >&6; }
18472 if test ${ac_cv_cflags__fcf_protection_none+y}
18474 printf %s
"(cached) " >&6
18476 ac_wine_try_cflags_saved
=$CFLAGS
18477 CFLAGS
="$CFLAGS -fcf-protection=none"
18478 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18479 /* end confdefs.h. */
18480 int main(int argc, char **argv) { return 0; }
18482 if ac_fn_c_try_link
"$LINENO"
18484 ac_cv_cflags__fcf_protection_none
=yes
18486 ac_cv_cflags__fcf_protection_none
=no
18488 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18489 conftest
$ac_exeext conftest.
$ac_ext
18490 CFLAGS
=$ac_wine_try_cflags_saved
18492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18493 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18494 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18496 EXTRACFLAGS
="$EXTRACFLAGS -fcf-protection=none"
18498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18499 printf %s
"checking whether the compiler supports -fno-stack-protector... " >&6; }
18500 if test ${ac_cv_cflags__fno_stack_protector+y}
18502 printf %s
"(cached) " >&6
18504 ac_wine_try_cflags_saved
=$CFLAGS
18505 CFLAGS
="$CFLAGS -fno-stack-protector"
18506 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18507 /* end confdefs.h. */
18508 int main(int argc, char **argv) { return 0; }
18510 if ac_fn_c_try_link
"$LINENO"
18512 ac_cv_cflags__fno_stack_protector
=yes
18514 ac_cv_cflags__fno_stack_protector
=no
18516 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18517 conftest
$ac_exeext conftest.
$ac_ext
18518 CFLAGS
=$ac_wine_try_cflags_saved
18520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18521 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18522 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18524 EXTRACFLAGS
="$EXTRACFLAGS -fno-stack-protector"
18526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18527 printf %s
"checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18528 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18530 printf %s
"(cached) " >&6
18532 ac_wine_try_cflags_saved
=$CFLAGS
18533 CFLAGS
="$CFLAGS -fno-strict-aliasing"
18534 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18535 /* end confdefs.h. */
18536 int main(int argc, char **argv) { return 0; }
18538 if ac_fn_c_try_link
"$LINENO"
18540 ac_cv_cflags__fno_strict_aliasing
=yes
18542 ac_cv_cflags__fno_strict_aliasing
=no
18544 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18545 conftest
$ac_exeext conftest.
$ac_ext
18546 CFLAGS
=$ac_wine_try_cflags_saved
18548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18549 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18550 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18552 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
18554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18555 printf %s
"checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18556 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18558 printf %s
"(cached) " >&6
18560 ac_wine_try_cflags_saved
=$CFLAGS
18561 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
18562 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18563 /* end confdefs.h. */
18564 int main(int argc, char **argv) { return 0; }
18566 if ac_fn_c_try_link
"$LINENO"
18568 ac_cv_cflags__Wdeclaration_after_statement
=yes
18570 ac_cv_cflags__Wdeclaration_after_statement
=no
18572 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18573 conftest
$ac_exeext conftest.
$ac_ext
18574 CFLAGS
=$ac_wine_try_cflags_saved
18576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18577 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18578 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18580 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
18582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18583 printf %s
"checking whether the compiler supports -Wempty-body... " >&6; }
18584 if test ${ac_cv_cflags__Wempty_body+y}
18586 printf %s
"(cached) " >&6
18588 ac_wine_try_cflags_saved
=$CFLAGS
18589 CFLAGS
="$CFLAGS -Wempty-body"
18590 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18591 /* end confdefs.h. */
18592 int main(int argc, char **argv) { return 0; }
18594 if ac_fn_c_try_link
"$LINENO"
18596 ac_cv_cflags__Wempty_body
=yes
18598 ac_cv_cflags__Wempty_body
=no
18600 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18601 conftest
$ac_exeext conftest.
$ac_ext
18602 CFLAGS
=$ac_wine_try_cflags_saved
18604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18605 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18606 if test "x$ac_cv_cflags__Wempty_body" = xyes
18608 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
18610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18611 printf %s
"checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18612 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18614 printf %s
"(cached) " >&6
18616 ac_wine_try_cflags_saved
=$CFLAGS
18617 CFLAGS
="$CFLAGS -Wignored-qualifiers"
18618 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18619 /* end confdefs.h. */
18620 int main(int argc, char **argv) { return 0; }
18622 if ac_fn_c_try_link
"$LINENO"
18624 ac_cv_cflags__Wignored_qualifiers
=yes
18626 ac_cv_cflags__Wignored_qualifiers
=no
18628 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18629 conftest
$ac_exeext conftest.
$ac_ext
18630 CFLAGS
=$ac_wine_try_cflags_saved
18632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18633 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18634 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18636 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
18638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18639 printf %s
"checking whether the compiler supports -Winit-self... " >&6; }
18640 if test ${ac_cv_cflags__Winit_self+y}
18642 printf %s
"(cached) " >&6
18644 ac_wine_try_cflags_saved
=$CFLAGS
18645 CFLAGS
="$CFLAGS -Winit-self"
18646 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18647 /* end confdefs.h. */
18648 int main(int argc, char **argv) { return 0; }
18650 if ac_fn_c_try_link
"$LINENO"
18652 ac_cv_cflags__Winit_self
=yes
18654 ac_cv_cflags__Winit_self
=no
18656 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18657 conftest
$ac_exeext conftest.
$ac_ext
18658 CFLAGS
=$ac_wine_try_cflags_saved
18660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18661 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18662 if test "x$ac_cv_cflags__Winit_self" = xyes
18664 EXTRACFLAGS
="$EXTRACFLAGS -Winit-self"
18666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18667 printf %s
"checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18668 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18670 printf %s
"(cached) " >&6
18672 ac_wine_try_cflags_saved
=$CFLAGS
18673 CFLAGS
="$CFLAGS -Wpacked-not-aligned"
18674 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18675 /* end confdefs.h. */
18676 int main(int argc, char **argv) { return 0; }
18678 if ac_fn_c_try_link
"$LINENO"
18680 ac_cv_cflags__Wpacked_not_aligned
=yes
18682 ac_cv_cflags__Wpacked_not_aligned
=no
18684 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18685 conftest
$ac_exeext conftest.
$ac_ext
18686 CFLAGS
=$ac_wine_try_cflags_saved
18688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18689 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18690 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18692 EXTRACFLAGS
="$EXTRACFLAGS -Wno-packed-not-aligned"
18694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18695 printf %s
"checking whether the compiler supports -Wpragma-pack... " >&6; }
18696 if test ${ac_cv_cflags__Wpragma_pack+y}
18698 printf %s
"(cached) " >&6
18700 ac_wine_try_cflags_saved
=$CFLAGS
18701 CFLAGS
="$CFLAGS -Wpragma-pack"
18702 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18703 /* end confdefs.h. */
18704 int main(int argc, char **argv) { return 0; }
18706 if ac_fn_c_try_link
"$LINENO"
18708 ac_cv_cflags__Wpragma_pack
=yes
18710 ac_cv_cflags__Wpragma_pack
=no
18712 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18713 conftest
$ac_exeext conftest.
$ac_ext
18714 CFLAGS
=$ac_wine_try_cflags_saved
18716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18717 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18718 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18720 EXTRACFLAGS
="$EXTRACFLAGS -Wno-pragma-pack"
18722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18723 printf %s
"checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18724 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18726 printf %s
"(cached) " >&6
18728 ac_wine_try_cflags_saved
=$CFLAGS
18729 CFLAGS
="$CFLAGS -Wshift-overflow=2"
18730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18731 /* end confdefs.h. */
18732 int main(int argc, char **argv) { return 0; }
18734 if ac_fn_c_try_link
"$LINENO"
18736 ac_cv_cflags__Wshift_overflow_2
=yes
18738 ac_cv_cflags__Wshift_overflow_2
=no
18740 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18741 conftest
$ac_exeext conftest.
$ac_ext
18742 CFLAGS
=$ac_wine_try_cflags_saved
18744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18745 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18746 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18748 EXTRACFLAGS
="$EXTRACFLAGS -Wshift-overflow=2"
18750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18751 printf %s
"checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18752 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18754 printf %s
"(cached) " >&6
18756 ac_wine_try_cflags_saved
=$CFLAGS
18757 CFLAGS
="$CFLAGS -Wstrict-prototypes"
18758 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18759 /* end confdefs.h. */
18760 int main(int argc, char **argv) { return 0; }
18762 if ac_fn_c_try_link
"$LINENO"
18764 ac_cv_cflags__Wstrict_prototypes
=yes
18766 ac_cv_cflags__Wstrict_prototypes
=no
18768 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18769 conftest
$ac_exeext conftest.
$ac_ext
18770 CFLAGS
=$ac_wine_try_cflags_saved
18772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18773 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18774 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18776 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
18778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18779 printf %s
"checking whether the compiler supports -Wtype-limits... " >&6; }
18780 if test ${ac_cv_cflags__Wtype_limits+y}
18782 printf %s
"(cached) " >&6
18784 ac_wine_try_cflags_saved
=$CFLAGS
18785 CFLAGS
="$CFLAGS -Wtype-limits"
18786 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18787 /* end confdefs.h. */
18788 int main(int argc, char **argv) { return 0; }
18790 if ac_fn_c_try_link
"$LINENO"
18792 ac_cv_cflags__Wtype_limits
=yes
18794 ac_cv_cflags__Wtype_limits
=no
18796 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18797 conftest
$ac_exeext conftest.
$ac_ext
18798 CFLAGS
=$ac_wine_try_cflags_saved
18800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18801 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18802 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18804 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
18806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18807 printf %s
"checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18808 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18810 printf %s
"(cached) " >&6
18812 ac_wine_try_cflags_saved
=$CFLAGS
18813 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
18814 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18815 /* end confdefs.h. */
18816 int main(int argc, char **argv) { return 0; }
18818 if ac_fn_c_try_link
"$LINENO"
18820 ac_cv_cflags__Wunused_but_set_parameter
=yes
18822 ac_cv_cflags__Wunused_but_set_parameter
=no
18824 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18825 conftest
$ac_exeext conftest.
$ac_ext
18826 CFLAGS
=$ac_wine_try_cflags_saved
18828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
18829 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
18830 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
18832 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
18834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
18835 printf %s
"checking whether the compiler supports -Wvla... " >&6; }
18836 if test ${ac_cv_cflags__Wvla+y}
18838 printf %s
"(cached) " >&6
18840 ac_wine_try_cflags_saved
=$CFLAGS
18841 CFLAGS
="$CFLAGS -Wvla"
18842 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18843 /* end confdefs.h. */
18844 int main(int argc, char **argv) { return 0; }
18846 if ac_fn_c_try_link
"$LINENO"
18848 ac_cv_cflags__Wvla
=yes
18850 ac_cv_cflags__Wvla
=no
18852 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18853 conftest
$ac_exeext conftest.
$ac_ext
18854 CFLAGS
=$ac_wine_try_cflags_saved
18856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
18857 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
18858 if test "x$ac_cv_cflags__Wvla" = xyes
18860 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
18862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
18863 printf %s
"checking whether the compiler supports -Wwrite-strings... " >&6; }
18864 if test ${ac_cv_cflags__Wwrite_strings+y}
18866 printf %s
"(cached) " >&6
18868 ac_wine_try_cflags_saved
=$CFLAGS
18869 CFLAGS
="$CFLAGS -Wwrite-strings"
18870 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18871 /* end confdefs.h. */
18872 int main(int argc, char **argv) { return 0; }
18874 if ac_fn_c_try_link
"$LINENO"
18876 ac_cv_cflags__Wwrite_strings
=yes
18878 ac_cv_cflags__Wwrite_strings
=no
18880 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18881 conftest
$ac_exeext conftest.
$ac_ext
18882 CFLAGS
=$ac_wine_try_cflags_saved
18884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
18885 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
18886 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
18888 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
18891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
18892 printf %s
"checking whether the compiler supports -Wpointer-arith... " >&6; }
18893 if test ${ac_cv_cflags__Wpointer_arith+y}
18895 printf %s
"(cached) " >&6
18897 ac_wine_try_cflags_saved
=$CFLAGS
18898 CFLAGS
="$CFLAGS -Wpointer-arith"
18899 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18900 /* end confdefs.h. */
18901 int main(int argc, char **argv) { return 0; }
18903 if ac_fn_c_try_link
"$LINENO"
18905 ac_cv_cflags__Wpointer_arith
=yes
18907 ac_cv_cflags__Wpointer_arith
=no
18909 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18910 conftest
$ac_exeext conftest.
$ac_ext
18911 CFLAGS
=$ac_wine_try_cflags_saved
18913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
18914 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
18915 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
18917 saved_string_h_CFLAGS
=$CFLAGS
18918 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
18919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
18920 printf %s
"checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
18921 if test ${ac_cv_c_string_h_warnings+y}
18923 printf %s
"(cached) " >&6
18925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18926 /* end confdefs.h. */
18927 #include <string.h>
18936 if ac_fn_c_try_compile
"$LINENO"
18938 ac_cv_c_string_h_warnings
=no
18940 ac_cv_c_string_h_warnings
=yes
18942 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
18944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
18945 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
18946 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
18947 CFLAGS
=$saved_string_h_CFLAGS
18950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
18951 printf %s
"checking whether the compiler supports -Wlogical-op... " >&6; }
18952 if test ${ac_cv_cflags__Wlogical_op+y}
18954 printf %s
"(cached) " >&6
18956 ac_wine_try_cflags_saved
=$CFLAGS
18957 CFLAGS
="$CFLAGS -Wlogical-op"
18958 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18959 /* end confdefs.h. */
18960 int main(int argc, char **argv) { return 0; }
18962 if ac_fn_c_try_link
"$LINENO"
18964 ac_cv_cflags__Wlogical_op
=yes
18966 ac_cv_cflags__Wlogical_op
=no
18968 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18969 conftest
$ac_exeext conftest.
$ac_ext
18970 CFLAGS
=$ac_wine_try_cflags_saved
18972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
18973 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
18974 if test "x$ac_cv_cflags__Wlogical_op" = xyes
18976 saved_string_h_CFLAGS
=$CFLAGS
18977 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
18978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
18979 printf %s
"checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
18980 if test ${ac_cv_c_logicalop_noisy+y}
18982 printf %s
"(cached) " >&6
18984 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18985 /* end confdefs.h. */
18986 #include <string.h>
18987 char*f(const char *h,char n) {return strchr(h,n);}
18996 if ac_fn_c_try_compile
"$LINENO"
18998 ac_cv_c_logicalop_noisy
=no
19000 ac_cv_c_logicalop_noisy
=yes
19002 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19005 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19006 CFLAGS
=$saved_string_h_CFLAGS
19007 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
19010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19011 printf %s
"checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19012 if test ${wine_cv_64bit_compare_swap+y}
19014 printf %s
"(cached) " >&6
19016 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19017 /* end confdefs.h. */
19018 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19029 if ac_fn_c_try_compile
"$LINENO"
19031 wine_cv_64bit_compare_swap
="none needed"
19034 *i
[3456]86*) wine_cv_64bit_compare_swap
="-march=i586" ;;
19035 *arm
*) wine_cv_64bit_compare_swap
="-march=armv7-a" ;;
19036 *) wine_cv_64bit_compare_swap
="unknown" ;;
19038 if test "x$wine_cv_64bit_compare_swap" != xunknown
19040 CFLAGS
="$CFLAGS $wine_cv_64bit_compare_swap"
19041 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19042 /* end confdefs.h. */
19043 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19054 if ac_fn_c_try_compile
"$LINENO"
19058 wine_cv_64bit_compare_swap
="unknown"
19060 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19061 CFLAGS
=$saved_CFLAGS
19064 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19067 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19068 case "$wine_cv_64bit_compare_swap" in
19069 unknown
) as_fn_error $?
"gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19071 *) EXTRACFLAGS
="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19074 ac_debug_format_seen
=""
19075 for ac_flag
in $CFLAGS; do
19077 -gdwarf*) ac_debug_format_seen
=yes ;;
19078 -g) ac_debug_format_seen
=${ac_debug_format_seen:-default} ;;
19081 if test "x$ac_debug_format_seen" = xdefault
19083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19084 printf %s
"checking whether the compiler supports -gdwarf-4... " >&6; }
19085 if test ${ac_cv_cflags__gdwarf_4+y}
19087 printf %s
"(cached) " >&6
19089 ac_wine_try_cflags_saved
=$CFLAGS
19090 CFLAGS
="$CFLAGS -gdwarf-4"
19091 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19092 /* end confdefs.h. */
19093 int main(int argc, char **argv) { return 0; }
19095 if ac_fn_c_try_link
"$LINENO"
19097 ac_cv_cflags__gdwarf_4
=yes
19099 ac_cv_cflags__gdwarf_4
=no
19101 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19102 conftest
$ac_exeext conftest.
$ac_ext
19103 CFLAGS
=$ac_wine_try_cflags_saved
19105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19106 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19107 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19109 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-4"
19116 mingw32
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19117 printf %s
"checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19118 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19120 printf %s
"(cached) " >&6
19122 ac_wine_try_cflags_saved
=$CFLAGS
19123 CFLAGS
="$CFLAGS -Wl,-delayload,autoconftest.dll"
19124 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19125 /* end confdefs.h. */
19126 int main(int argc, char **argv) { return 0; }
19128 if ac_fn_c_try_link
"$LINENO"
19130 ac_cv_cflags__Wl__delayload_autoconftest_dll
=yes
19132 ac_cv_cflags__Wl__delayload_autoconftest_dll
=no
19134 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19135 conftest
$ac_exeext conftest.
$ac_ext
19136 CFLAGS
=$ac_wine_try_cflags_saved
19138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19139 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19140 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19142 DELAYLOADFLAG
="-Wl,-delayload,"
19145 *) MSVCRTFLAGS
="-D_WIN32"
19146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19147 printf %s
"checking whether the compiler supports -fno-builtin... " >&6; }
19148 if test ${ac_cv_cflags__fno_builtin+y}
19150 printf %s
"(cached) " >&6
19152 ac_wine_try_cflags_saved
=$CFLAGS
19153 CFLAGS
="$CFLAGS -fno-builtin"
19154 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19155 /* end confdefs.h. */
19156 int main(int argc, char **argv) { return 0; }
19158 if ac_fn_c_try_link
"$LINENO"
19160 ac_cv_cflags__fno_builtin
=yes
19162 ac_cv_cflags__fno_builtin
=no
19164 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19165 conftest
$ac_exeext conftest.
$ac_ext
19166 CFLAGS
=$ac_wine_try_cflags_saved
19168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19169 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19170 if test "x$ac_cv_cflags__fno_builtin" = xyes
19172 MSVCRTFLAGS
="$MSVCRTFLAGS -fno-builtin"
19174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19175 printf %s
"checking whether the compiler supports -fshort-wchar... " >&6; }
19176 if test ${ac_cv_cflags__fshort_wchar+y}
19178 printf %s
"(cached) " >&6
19180 ac_wine_try_cflags_saved
=$CFLAGS
19181 CFLAGS
="$CFLAGS -fshort-wchar"
19182 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19183 /* end confdefs.h. */
19184 int main(int argc, char **argv) { return 0; }
19186 if ac_fn_c_try_link
"$LINENO"
19188 ac_cv_cflags__fshort_wchar
=yes
19190 ac_cv_cflags__fshort_wchar
=no
19192 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19193 conftest
$ac_exeext conftest.
$ac_ext
19194 CFLAGS
=$ac_wine_try_cflags_saved
19196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19197 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19198 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19200 MSVCRTFLAGS
="$MSVCRTFLAGS -fshort-wchar"
19202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19203 printf %s
"checking whether the compiler supports -Wno-format... " >&6; }
19204 if test ${ac_cv_cflags__Wno_format+y}
19206 printf %s
"(cached) " >&6
19208 ac_wine_try_cflags_saved
=$CFLAGS
19209 CFLAGS
="$CFLAGS -Wno-format"
19210 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19211 /* end confdefs.h. */
19212 int main(int argc, char **argv) { return 0; }
19214 if ac_fn_c_try_link
"$LINENO"
19216 ac_cv_cflags__Wno_format
=yes
19218 ac_cv_cflags__Wno_format
=no
19220 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19221 conftest
$ac_exeext conftest.
$ac_ext
19222 CFLAGS
=$ac_wine_try_cflags_saved
19224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19225 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19226 if test "x$ac_cv_cflags__Wno_format" = xyes
19228 MSVCRTFLAGS
="$MSVCRTFLAGS -Wno-format"
19233 *i
[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19234 printf %s
"checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19235 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19237 printf %s
"(cached) " >&6
19239 ac_wine_try_cflags_saved
=$CFLAGS
19240 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
19241 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19242 /* end confdefs.h. */
19243 int main(int argc, char **argv) { return 0; }
19245 if ac_fn_c_try_link
"$LINENO"
19247 ac_cv_cflags__fno_omit_frame_pointer
=yes
19249 ac_cv_cflags__fno_omit_frame_pointer
=no
19251 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19252 conftest
$ac_exeext conftest.
$ac_ext
19253 CFLAGS
=$ac_wine_try_cflags_saved
19255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19256 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19257 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19259 MSVCRTFLAGS
="$MSVCRTFLAGS -fno-omit-frame-pointer"
19263 cygwin
*|mingw32
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19264 printf %s
"checking whether the compiler supports -Wno-format... " >&6; }
19265 if test ${ac_cv_cflags__Wno_format+y}
19267 printf %s
"(cached) " >&6
19269 ac_wine_try_cflags_saved
=$CFLAGS
19270 CFLAGS
="$CFLAGS -Wno-format"
19271 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19272 /* end confdefs.h. */
19273 int main(int argc, char **argv) { return 0; }
19275 if ac_fn_c_try_link
"$LINENO"
19277 ac_cv_cflags__Wno_format
=yes
19279 ac_cv_cflags__Wno_format
=no
19281 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19282 conftest
$ac_exeext conftest.
$ac_ext
19283 CFLAGS
=$ac_wine_try_cflags_saved
19285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19286 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19287 if test "x$ac_cv_cflags__Wno_format" = xyes
19289 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
19291 *) if test -z "$PE_ARCHS"
19293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19294 printf %s
"checking for working -mabi=ms... " >&6; }
19295 if test ${ac_cv_mabi_ms+y}
19297 printf %s
"(cached) " >&6
19299 CFLAGS
="$CFLAGS -mabi=ms"
19300 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19301 /* end confdefs.h. */
19302 #include <stdarg.h>
19303 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19312 if ac_fn_c_try_compile
"$LINENO"
19318 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19319 CFLAGS
=$saved_CFLAGS
19321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19322 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19323 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
19325 MSVCRTFLAGS
="$MSVCRTFLAGS -mabi=ms" ;;
19328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19329 printf %s
"checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19330 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19332 printf %s
"(cached) " >&6
19334 ac_wine_try_cflags_saved
=$CFLAGS
19335 CFLAGS
="$CFLAGS -Wincompatible-function-pointer-types"
19336 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19337 /* end confdefs.h. */
19338 int main(int argc, char **argv) { return 0; }
19340 if ac_fn_c_try_link
"$LINENO"
19342 ac_cv_cflags__Wincompatible_function_pointer_types
=yes
19344 ac_cv_cflags__Wincompatible_function_pointer_types
=no
19346 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19347 conftest
$ac_exeext conftest.
$ac_ext
19348 CFLAGS
=$ac_wine_try_cflags_saved
19350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
19351 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19352 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19354 EXTRACFLAGS
="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19358 CFLAGS
=$saved_CFLAGS
19360 if test "x$enable_werror" = "xyes"
19362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19363 printf %s
"checking whether the compiler supports -Werror... " >&6; }
19364 if test ${ac_cv_cflags__Werror+y}
19366 printf %s
"(cached) " >&6
19368 ac_wine_try_cflags_saved
=$CFLAGS
19369 CFLAGS
="$CFLAGS -Werror"
19370 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19371 /* end confdefs.h. */
19372 int main(int argc, char **argv) { return 0; }
19374 if ac_fn_c_try_link
"$LINENO"
19376 ac_cv_cflags__Werror
=yes
19378 ac_cv_cflags__Werror
=no
19380 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19381 conftest
$ac_exeext conftest.
$ac_ext
19382 CFLAGS
=$ac_wine_try_cflags_saved
19384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19385 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19386 if test "x$ac_cv_cflags__Werror" = xyes
19388 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
19391 if test "x$enable_build_id" = "xyes"
19393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19394 printf %s
"checking whether the compiler supports -Wl,--build-id... " >&6; }
19395 if test ${ac_cv_cflags__Wl___build_id+y}
19397 printf %s
"(cached) " >&6
19399 ac_wine_try_cflags_saved
=$CFLAGS
19400 CFLAGS
="$CFLAGS -Wl,--build-id"
19401 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19402 /* end confdefs.h. */
19403 int main(int argc, char **argv) { return 0; }
19405 if ac_fn_c_try_link
"$LINENO"
19407 ac_cv_cflags__Wl___build_id
=yes
19409 ac_cv_cflags__Wl___build_id
=no
19411 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19412 conftest
$ac_exeext conftest.
$ac_ext
19413 CFLAGS
=$ac_wine_try_cflags_saved
19415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19416 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19417 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19419 CFLAGS
="$CFLAGS -Wl,--build-id"
19420 LDFLAGS
="$LDFLAGS -Wl,--build-id"
19426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19427 printf %s
"checking for the need to disable Fortify... " >&6; }
19428 if test ${ac_cv_c_fortify_enabled+y}
19430 printf %s
"(cached) " >&6
19432 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19433 /* end confdefs.h. */
19434 #include <string.h>
19438 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19439 #error Fortify enabled
19445 if ac_fn_c_try_compile
"$LINENO"
19447 ac_cv_c_fortify_enabled
=no
19449 ac_cv_c_fortify_enabled
=yes
19451 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19454 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19455 if test "$ac_cv_c_fortify_enabled" = yes
19457 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19462 printf %s
"checking whether CFI directives are supported in assembly code... " >&6; }
19463 if test ${ac_cv_c_cfi_support+y}
19465 printf %s
"(cached) " >&6
19467 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19468 /* end confdefs.h. */
19469 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19478 if ac_fn_c_try_compile
"$LINENO"
19480 ac_cv_c_cfi_support
="yes"
19482 ac_cv_c_cfi_support
="no"
19484 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19487 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19488 if test "$ac_cv_c_cfi_support" = "yes"
19490 DLLFLAGS
="$DLLFLAGS -fasynchronous-unwind-tables"
19491 LDDLLFLAGS
="$LDDLLFLAGS -fasynchronous-unwind-tables"
19492 UNIXDLLFLAGS
="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19493 elif test $HOST_ARCH = x86_64
19495 as_fn_append wine_warnings
"|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19499 case "$HOST_ARCH,$PE_ARCHS" in
19500 x86_64
,*i386
*) wine_binary
="wine" ;;
19501 x86_64
,*) wine_binary
="wine64" ;;
19502 *) wine_binary
="wine" ;;
19504 WINELOADER_PROGRAMS
="$wine_binary"
19510 *i
[3456789]86*|x86_64
*|
*aarch64
*|arm
*)
19511 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine-preloader"
19512 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
19517 if test "$wine_can_build_preloader" = "yes"
19519 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine-preloader"
19520 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
19526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19527 printf %s
"checking for library containing dlopen... " >&6; }
19528 if test ${ac_cv_search_dlopen+y}
19530 printf %s
"(cached) " >&6
19532 ac_func_search_save_LIBS
=$LIBS
19533 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19534 /* end confdefs.h. */
19536 /* Override any GCC internal prototype to avoid an error.
19537 Use char because int might match the return type of a GCC
19538 builtin and then its argument prototype would still apply. */
19548 for ac_lib
in '' dl
19550 if test -z "$ac_lib"; then
19551 ac_res
="none required"
19554 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19556 if ac_fn_c_try_link
"$LINENO"
19558 ac_cv_search_dlopen
=$ac_res
19560 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19562 if test ${ac_cv_search_dlopen+y}
19567 if test ${ac_cv_search_dlopen+y}
19571 ac_cv_search_dlopen
=no
19573 rm conftest.
$ac_ext
19574 LIBS
=$ac_func_search_save_LIBS
19576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19577 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19578 ac_res
=$ac_cv_search_dlopen
19579 if test "$ac_res" != no
19581 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19587 printf %s
"checking for library containing gethostbyname... " >&6; }
19588 if test ${ac_cv_search_gethostbyname+y}
19590 printf %s
"(cached) " >&6
19592 ac_func_search_save_LIBS
=$LIBS
19593 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19594 /* end confdefs.h. */
19596 /* Override any GCC internal prototype to avoid an error.
19597 Use char because int might match the return type of a GCC
19598 builtin and then its argument prototype would still apply. */
19599 char gethostbyname ();
19603 return gethostbyname ();
19608 for ac_lib
in '' nsl
19610 if test -z "$ac_lib"; then
19611 ac_res
="none required"
19614 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19616 if ac_fn_c_try_link
"$LINENO"
19618 ac_cv_search_gethostbyname
=$ac_res
19620 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19622 if test ${ac_cv_search_gethostbyname+y}
19627 if test ${ac_cv_search_gethostbyname+y}
19631 ac_cv_search_gethostbyname
=no
19633 rm conftest.
$ac_ext
19634 LIBS
=$ac_func_search_save_LIBS
19636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19637 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19638 ac_res
=$ac_cv_search_gethostbyname
19639 if test "$ac_res" != no
19641 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19647 printf %s
"checking for library containing connect... " >&6; }
19648 if test ${ac_cv_search_connect+y}
19650 printf %s
"(cached) " >&6
19652 ac_func_search_save_LIBS
=$LIBS
19653 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19654 /* end confdefs.h. */
19656 /* Override any GCC internal prototype to avoid an error.
19657 Use char because int might match the return type of a GCC
19658 builtin and then its argument prototype would still apply. */
19668 for ac_lib
in '' socket
19670 if test -z "$ac_lib"; then
19671 ac_res
="none required"
19674 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19676 if ac_fn_c_try_link
"$LINENO"
19678 ac_cv_search_connect
=$ac_res
19680 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19682 if test ${ac_cv_search_connect+y}
19687 if test ${ac_cv_search_connect+y}
19691 ac_cv_search_connect
=no
19693 rm conftest.
$ac_ext
19694 LIBS
=$ac_func_search_save_LIBS
19696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19697 printf "%s\n" "$ac_cv_search_connect" >&6; }
19698 ac_res
=$ac_cv_search_connect
19699 if test "$ac_res" != no
19701 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19707 printf %s
"checking for library containing inet_aton... " >&6; }
19708 if test ${ac_cv_search_inet_aton+y}
19710 printf %s
"(cached) " >&6
19712 ac_func_search_save_LIBS
=$LIBS
19713 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19714 /* end confdefs.h. */
19716 /* Override any GCC internal prototype to avoid an error.
19717 Use char because int might match the return type of a GCC
19718 builtin and then its argument prototype would still apply. */
19723 return inet_aton ();
19728 for ac_lib
in '' resolv
19730 if test -z "$ac_lib"; then
19731 ac_res
="none required"
19734 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19736 if ac_fn_c_try_link
"$LINENO"
19738 ac_cv_search_inet_aton
=$ac_res
19740 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19742 if test ${ac_cv_search_inet_aton+y}
19747 if test ${ac_cv_search_inet_aton+y}
19751 ac_cv_search_inet_aton
=no
19753 rm conftest.
$ac_ext
19754 LIBS
=$ac_func_search_save_LIBS
19756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
19757 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
19758 ac_res
=$ac_cv_search_inet_aton
19759 if test "$ac_res" != no
19761 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19766 ac_save_CFLAGS
="$CFLAGS"
19767 CFLAGS
="$CFLAGS $BUILTINFLAG"
19768 ac_fn_c_check_func
"$LINENO" "dladdr1" "ac_cv_func_dladdr1"
19769 if test "x$ac_cv_func_dladdr1" = xyes
19771 printf "%s\n" "#define HAVE_DLADDR1 1" >>confdefs.h
19774 ac_fn_c_check_func
"$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19775 if test "x$ac_cv_func_dlinfo" = xyes
19777 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19780 ac_fn_c_check_func
"$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19781 if test "x$ac_cv_func_epoll_create" = xyes
19783 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19786 ac_fn_c_check_func
"$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19787 if test "x$ac_cv_func_fstatfs" = xyes
19789 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19792 ac_fn_c_check_func
"$LINENO" "futimens" "ac_cv_func_futimens"
19793 if test "x$ac_cv_func_futimens" = xyes
19795 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19798 ac_fn_c_check_func
"$LINENO" "futimes" "ac_cv_func_futimes"
19799 if test "x$ac_cv_func_futimes" = xyes
19801 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19804 ac_fn_c_check_func
"$LINENO" "futimesat" "ac_cv_func_futimesat"
19805 if test "x$ac_cv_func_futimesat" = xyes
19807 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19810 ac_fn_c_check_func
"$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
19811 if test "x$ac_cv_func_getaddrinfo" = xyes
19813 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
19816 ac_fn_c_check_func
"$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19817 if test "x$ac_cv_func_getattrlist" = xyes
19819 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19822 ac_fn_c_check_func
"$LINENO" "getauxval" "ac_cv_func_getauxval"
19823 if test "x$ac_cv_func_getauxval" = xyes
19825 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19828 ac_fn_c_check_func
"$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19829 if test "x$ac_cv_func_getifaddrs" = xyes
19831 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19834 ac_fn_c_check_func
"$LINENO" "getrandom" "ac_cv_func_getrandom"
19835 if test "x$ac_cv_func_getrandom" = xyes
19837 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19840 ac_fn_c_check_func
"$LINENO" "kqueue" "ac_cv_func_kqueue"
19841 if test "x$ac_cv_func_kqueue" = xyes
19843 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19846 ac_fn_c_check_func
"$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19847 if test "x$ac_cv_func_mach_continuous_time" = xyes
19849 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19852 ac_fn_c_check_func
"$LINENO" "pipe2" "ac_cv_func_pipe2"
19853 if test "x$ac_cv_func_pipe2" = xyes
19855 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19858 ac_fn_c_check_func
"$LINENO" "port_create" "ac_cv_func_port_create"
19859 if test "x$ac_cv_func_port_create" = xyes
19861 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
19864 ac_fn_c_check_func
"$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
19865 if test "x$ac_cv_func_posix_fadvise" = xyes
19867 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
19870 ac_fn_c_check_func
"$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
19871 if test "x$ac_cv_func_posix_fallocate" = xyes
19873 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
19876 ac_fn_c_check_func
"$LINENO" "prctl" "ac_cv_func_prctl"
19877 if test "x$ac_cv_func_prctl" = xyes
19879 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
19882 ac_fn_c_check_func
"$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
19883 if test "x$ac_cv_func_proc_pidinfo" = xyes
19885 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
19888 ac_fn_c_check_func
"$LINENO" "sched_yield" "ac_cv_func_sched_yield"
19889 if test "x$ac_cv_func_sched_yield" = xyes
19891 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
19894 ac_fn_c_check_func
"$LINENO" "setproctitle" "ac_cv_func_setproctitle"
19895 if test "x$ac_cv_func_setproctitle" = xyes
19897 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
19900 ac_fn_c_check_func
"$LINENO" "setprogname" "ac_cv_func_setprogname"
19901 if test "x$ac_cv_func_setprogname" = xyes
19903 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
19906 ac_fn_c_check_func
"$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
19907 if test "x$ac_cv_func_sigprocmask" = xyes
19909 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
19912 ac_fn_c_check_func
"$LINENO" "sysinfo" "ac_cv_func_sysinfo"
19913 if test "x$ac_cv_func_sysinfo" = xyes
19915 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
19918 ac_fn_c_check_func
"$LINENO" "tcdrain" "ac_cv_func_tcdrain"
19919 if test "x$ac_cv_func_tcdrain" = xyes
19921 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
19924 ac_fn_c_check_func
"$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
19925 if test "x$ac_cv_func_thr_kill2" = xyes
19927 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
19931 CFLAGS
="$ac_save_CFLAGS"
19934 darwin
*|macosx
*) ;;
19935 *) ac_save_LIBS
=$LIBS
19936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19937 printf %s
"checking for library containing clock_gettime... " >&6; }
19938 if test ${ac_cv_search_clock_gettime+y}
19940 printf %s
"(cached) " >&6
19942 ac_func_search_save_LIBS
=$LIBS
19943 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19944 /* end confdefs.h. */
19946 /* Override any GCC internal prototype to avoid an error.
19947 Use char because int might match the return type of a GCC
19948 builtin and then its argument prototype would still apply. */
19949 char clock_gettime ();
19953 return clock_gettime ();
19958 for ac_lib
in '' rt
19960 if test -z "$ac_lib"; then
19961 ac_res
="none required"
19964 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19966 if ac_fn_c_try_link
"$LINENO"
19968 ac_cv_search_clock_gettime
=$ac_res
19970 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19972 if test ${ac_cv_search_clock_gettime+y}
19977 if test ${ac_cv_search_clock_gettime+y}
19981 ac_cv_search_clock_gettime
=no
19983 rm conftest.
$ac_ext
19984 LIBS
=$ac_func_search_save_LIBS
19986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19987 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
19988 ac_res
=$ac_cv_search_clock_gettime
19989 if test "$ac_res" != no
19991 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19993 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
19995 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
20003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20004 printf %s
"checking for sched_setaffinity... " >&6; }
20005 if test ${wine_cv_have_sched_setaffinity+y}
20007 printf %s
"(cached) " >&6
20009 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20010 /* end confdefs.h. */
20015 sched_setaffinity(0, 0, 0);
20020 if ac_fn_c_try_link
"$LINENO"
20022 wine_cv_have_sched_setaffinity
=yes
20024 wine_cv_have_sched_setaffinity
=no
20026 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20027 conftest
$ac_exeext conftest.
$ac_ext
20029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20030 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20031 if test "$wine_cv_have_sched_setaffinity" = "yes"
20034 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20040 printf %s
"checking for inline... " >&6; }
20041 if test ${ac_cv_c_inline+y}
20043 printf %s
"(cached) " >&6
20046 for ac_kw
in inline __inline__ __inline
; do
20047 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20048 /* end confdefs.h. */
20049 #ifndef __cplusplus
20051 static $ac_kw foo_t static_foo (void) {return 0; }
20052 $ac_kw foo_t foo (void) {return 0; }
20056 if ac_fn_c_try_compile
"$LINENO"
20058 ac_cv_c_inline
=$ac_kw
20060 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20061 test "$ac_cv_c_inline" != no
&& break
20065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20066 printf "%s\n" "$ac_cv_c_inline" >&6; }
20068 case $ac_cv_c_inline in
20071 case $ac_cv_c_inline in
20073 *) ac_val
=$ac_cv_c_inline;;
20075 cat >>confdefs.h
<<_ACEOF
20076 #ifndef __cplusplus
20077 #define inline $ac_val
20083 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20085 if test "x$ac_cv_type_request_sense" = xyes
20088 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20094 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20095 #include <sys/socket.h>
20096 #ifdef HAVE_SYS_SOCKETVAR_H
20097 #include <sys/socketvar.h>
20099 #ifdef HAVE_NET_ROUTE_H
20100 #include <net/route.h>
20102 #ifdef HAVE_NETINET_IN_H
20103 #include <netinet/in.h>
20105 #ifdef HAVE_NETINET_IN_SYSTM_H
20106 #include <netinet/in_systm.h>
20108 #ifdef HAVE_NETINET_IP_H
20109 #include <netinet/ip.h>
20111 #ifdef HAVE_NETINET_IN_PCB_H
20112 #include <netinet/in_pcb.h>
20115 if test "x$ac_cv_type_struct_xinpgen" = xyes
20118 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20125 printf %s
"checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20126 if test ${wine_cv_linux_gethostbyname_r_6+y}
20128 printf %s
"(cached) " >&6
20130 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20131 /* end confdefs.h. */
20139 struct hostent *result;
20146 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20147 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20153 if ac_fn_c_try_link
"$LINENO"
20155 wine_cv_linux_gethostbyname_r_6
=yes
20157 wine_cv_linux_gethostbyname_r_6
=no
20160 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20161 conftest
$ac_exeext conftest.
$ac_ext
20164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20165 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20166 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20169 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20173 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20174 #include <sys/socket.h>
20175 #ifdef HAVE_SYS_UN_H
20176 # include <sys/un.h>
20179 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20182 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20186 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20187 #include <sys/socket.h>
20188 #ifdef HAVE_SYS_UN_H
20189 # include <sys/un.h>
20192 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20195 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20201 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20202 #ifdef HAVE_SCSI_SG_H
20203 #include <scsi/sg.h>
20206 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20209 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20213 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>
20214 #ifdef HAVE_SCSI_SG_H
20215 #include <scsi/sg.h>
20218 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20221 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20227 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20229 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20232 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20238 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20239 #ifdef HAVE_SYS_MTIO_H
20240 #include <sys/mtio.h>
20243 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20246 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20250 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20251 #ifdef HAVE_SYS_MTIO_H
20252 #include <sys/mtio.h>
20255 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20258 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20262 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20263 #ifdef HAVE_SYS_MTIO_H
20264 #include <sys/mtio.h>
20267 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20270 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20276 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20277 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20280 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20284 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20285 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20288 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20292 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20293 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20296 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20300 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20301 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20304 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20308 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20309 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20312 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20316 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20317 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20320 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20324 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20325 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20328 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20332 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20333 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20336 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20340 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20341 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20344 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20348 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20349 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20352 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20356 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20357 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20360 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20366 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>
20367 #ifdef HAVE_NETINET_IN_H
20368 #include <netinet/in.h>
20371 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20374 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20380 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
20381 #include <resolv.h>
20384 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20387 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20393 ac_fn_c_check_member
"$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20394 #include <netinet/in.h>
20397 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20400 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20406 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20407 #ifdef HAVE_SYS_SOCKETVAR_H
20408 #include <sys/socketvar.h>
20410 #ifdef HAVE_NETINET_IN_H
20411 #include <netinet/in.h>
20413 #ifdef HAVE_NETINET_IP_VAR_H
20414 #include <netinet/ip_var.h>
20417 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20420 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20426 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
20427 #include <netinet/ip_var.h>
20430 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20433 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20439 ac_fn_c_check_member
"$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20440 #ifdef HAVE_SYS_SOCKETVAR_H
20441 #include <sys/socketvar.h>
20443 #ifdef HAVE_NETINET_IN_H
20444 #include <netinet/in.h>
20446 #ifdef HAVE_NETINET6_IP6_VAR_H
20447 #include <netinet6/ip6_var.h>
20450 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20453 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20459 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20460 #ifdef HAVE_SYS_SOCKETVAR_H
20461 #include <sys/socketvar.h>
20463 #ifdef HAVE_NETINET_IN_H
20464 #include <netinet/in.h>
20466 #ifdef HAVE_NETINET_IP_H
20467 #include <netinet/ip.h>
20469 #ifdef HAVE_NETINET_IP_ICMP_H
20470 #include <netinet/ip_icmp.h>
20472 #ifdef HAVE_NETINET_ICMP_VAR_H
20473 #include <netinet/icmp_var.h>
20476 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20479 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20485 ac_fn_c_check_member
"$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20486 #ifdef HAVE_SYS_SOCKETVAR_H
20487 #include <sys/socketvar.h>
20489 #ifdef HAVE_NETINET_IN_H
20490 #include <netinet/in.h>
20492 #ifdef HAVE_NETINET_ICMP6_H
20493 #include <netinet/icmp6.h>
20496 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20499 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20505 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20506 #ifdef HAVE_SYS_SOCKETVAR_H
20507 #include <sys/socketvar.h>
20509 #ifdef HAVE_NETINET_IN_H
20510 #include <netinet/in.h>
20512 #ifdef HAVE_NETINET_TCP_H
20513 #include <netinet/tcp.h>
20515 #ifdef HAVE_NETINET_TCP_VAR_H
20516 #include <netinet/tcp_var.h>
20519 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20522 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20528 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
20529 #include <netinet/tcp_var.h>
20532 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20535 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20541 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20542 #ifdef HAVE_NETINET_IN_H
20543 #include <netinet/in.h>
20545 #ifdef HAVE_NETINET_IP_VAR_H
20546 #include <netinet/ip_var.h>
20548 #ifdef HAVE_NETINET_UDP_H
20549 #include <netinet/udp.h>
20551 #ifdef HAVE_NETINET_UDP_VAR_H
20552 #include <netinet/udp_var.h>
20555 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20558 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20564 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20565 #ifdef HAVE_NET_IF_H
20566 # include <net/if.h>
20569 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20572 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20578 ac_fn_c_check_member
"$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20579 # include <sys/sysinfo.h>
20582 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20585 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20589 ac_fn_c_check_member
"$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20590 # include <sys/sysinfo.h>
20593 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20596 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20602 LIBS
="$ac_save_LIBS"
20604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20605 printf %s
"checking for __builtin_popcount... " >&6; }
20606 if test ${ac_cv_have___builtin_popcount+y}
20608 printf %s
"(cached) " >&6
20610 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20611 /* end confdefs.h. */
20616 return __builtin_popcount(1)
20621 if ac_fn_c_try_link
"$LINENO"
20623 ac_cv_have___builtin_popcount
="yes"
20625 ac_cv_have___builtin_popcount
="no"
20627 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20628 conftest
$ac_exeext conftest.
$ac_ext
20630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20631 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20632 if test "$ac_cv_have___builtin_popcount" = "yes"
20635 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20640 printf %s
"checking for __clear_cache... " >&6; }
20641 if test ${ac_cv_have___clear_cache+y}
20643 printf %s
"(cached) " >&6
20645 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20646 /* end confdefs.h. */
20651 __clear_cache((void*)0, (void*)0); return 0;
20656 if ac_fn_c_try_link
"$LINENO"
20658 ac_cv_have___clear_cache
="yes"
20660 ac_cv_have___clear_cache
="no"
20662 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20663 conftest
$ac_exeext conftest.
$ac_ext
20665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20666 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20667 if test "$ac_cv_have___clear_cache" = "yes"
20670 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20676 *i
[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20677 printf %s
"checking whether we need to define __i386__... " >&6; }
20678 if test ${ac_cv_cpp_def___i386__+y}
20680 printf %s
"(cached) " >&6
20682 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20683 /* end confdefs.h. */
20688 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20689 $EGREP "yes" >/dev
/null
2>&1
20691 ac_cv_cpp_def___i386__
=yes
20693 ac_cv_cpp_def___i386__
=no
20698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20699 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20700 if test "x$ac_cv_cpp_def___i386__" = xyes
20702 CFLAGS
="$CFLAGS -D__i386__"
20703 LINTFLAGS
="$LINTFLAGS -D__i386__"
20705 *x86_64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20706 printf %s
"checking whether we need to define __x86_64__... " >&6; }
20707 if test ${ac_cv_cpp_def___x86_64__+y}
20709 printf %s
"(cached) " >&6
20711 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20712 /* end confdefs.h. */
20717 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20718 $EGREP "yes" >/dev
/null
2>&1
20720 ac_cv_cpp_def___x86_64__
=yes
20722 ac_cv_cpp_def___x86_64__
=no
20727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20728 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20729 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20731 CFLAGS
="$CFLAGS -D__x86_64__"
20732 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
20734 *sparc64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
20735 printf %s
"checking whether we need to define __sparc64__... " >&6; }
20736 if test ${ac_cv_cpp_def___sparc64__+y}
20738 printf %s
"(cached) " >&6
20740 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20741 /* end confdefs.h. */
20742 #ifndef __sparc64__
20746 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20747 $EGREP "yes" >/dev
/null
2>&1
20749 ac_cv_cpp_def___sparc64__
=yes
20751 ac_cv_cpp_def___sparc64__
=no
20756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
20757 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
20758 if test "x$ac_cv_cpp_def___sparc64__" = xyes
20760 CFLAGS
="$CFLAGS -D__sparc64__"
20761 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
20763 *sparc
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
20764 printf %s
"checking whether we need to define __sparc__... " >&6; }
20765 if test ${ac_cv_cpp_def___sparc__+y}
20767 printf %s
"(cached) " >&6
20769 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20770 /* end confdefs.h. */
20775 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20776 $EGREP "yes" >/dev
/null
2>&1
20778 ac_cv_cpp_def___sparc__
=yes
20780 ac_cv_cpp_def___sparc__
=no
20785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
20786 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
20787 if test "x$ac_cv_cpp_def___sparc__" = xyes
20789 CFLAGS
="$CFLAGS -D__sparc__"
20790 LINTFLAGS
="$LINTFLAGS -D__sparc__"
20792 *powerpc64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
20793 printf %s
"checking whether we need to define __powerpc64__... " >&6; }
20794 if test ${ac_cv_cpp_def___powerpc64__+y}
20796 printf %s
"(cached) " >&6
20798 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20799 /* end confdefs.h. */
20800 #ifndef __powerpc64__
20804 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20805 $EGREP "yes" >/dev
/null
2>&1
20807 ac_cv_cpp_def___powerpc64__
=yes
20809 ac_cv_cpp_def___powerpc64__
=no
20814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
20815 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
20816 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
20818 CFLAGS
="$CFLAGS -D__powerpc64__"
20819 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
20821 *powerpc
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
20822 printf %s
"checking whether we need to define __powerpc__... " >&6; }
20823 if test ${ac_cv_cpp_def___powerpc__+y}
20825 printf %s
"(cached) " >&6
20827 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20828 /* end confdefs.h. */
20829 #ifndef __powerpc__
20833 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20834 $EGREP "yes" >/dev
/null
2>&1
20836 ac_cv_cpp_def___powerpc__
=yes
20838 ac_cv_cpp_def___powerpc__
=no
20843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
20844 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
20845 if test "x$ac_cv_cpp_def___powerpc__" = xyes
20847 CFLAGS
="$CFLAGS -D__powerpc__"
20848 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
20850 *aarch64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
20851 printf %s
"checking whether we need to define __aarch64__... " >&6; }
20852 if test ${ac_cv_cpp_def___aarch64__+y}
20854 printf %s
"(cached) " >&6
20856 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20857 /* end confdefs.h. */
20858 #ifndef __aarch64__
20862 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20863 $EGREP "yes" >/dev
/null
2>&1
20865 ac_cv_cpp_def___aarch64__
=yes
20867 ac_cv_cpp_def___aarch64__
=no
20872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
20873 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
20874 if test "x$ac_cv_cpp_def___aarch64__" = xyes
20876 CFLAGS
="$CFLAGS -D__aarch64__"
20877 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
20879 *arm
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
20880 printf %s
"checking whether we need to define __arm__... " >&6; }
20881 if test ${ac_cv_cpp_def___arm__+y}
20883 printf %s
"(cached) " >&6
20885 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20886 /* end confdefs.h. */
20891 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20892 $EGREP "yes" >/dev
/null
2>&1
20894 ac_cv_cpp_def___arm__
=yes
20896 ac_cv_cpp_def___arm__
=no
20901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
20902 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
20903 if test "x$ac_cv_cpp_def___arm__" = xyes
20905 CFLAGS
="$CFLAGS -D__arm__"
20906 LINTFLAGS
="$LINTFLAGS -D__arm__"
20910 case $host_vendor in
20911 *sun
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
20912 printf %s
"checking whether we need to define __sun__... " >&6; }
20913 if test ${ac_cv_cpp_def___sun__+y}
20915 printf %s
"(cached) " >&6
20917 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20918 /* end confdefs.h. */
20923 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20924 $EGREP "yes" >/dev
/null
2>&1
20926 ac_cv_cpp_def___sun__
=yes
20928 ac_cv_cpp_def___sun__
=no
20933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
20934 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
20935 if test "x$ac_cv_cpp_def___sun__" = xyes
20937 CFLAGS
="$CFLAGS -D__sun__"
20938 LINTFLAGS
="$LINTFLAGS -D__sun__"
20946 ac_config_commands
="$ac_config_commands include/stamp-h"
20948 printf %s
"creating Makefile rules..." >&6
20951 test "x$enable_silent_rules" = xyes
&& makedep_flags
="$makedep_flags -S"
20954 test "$srcdir" = . || wine_srcdir
="$srcdir/"
20956 ac_config_links
="$ac_config_links wine:tools/winewrapper"
20957 wine_fn_config_symlink wine
20958 if test "$HOST_ARCH" = x86_64
-o -n "$with_wine64"; then
20959 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
20960 wine_fn_config_symlink wine64
20963 wine_fn_config_makefile dlls
/acledit enable_acledit
20964 wine_fn_config_makefile dlls
/aclui enable_aclui
20965 wine_fn_config_makefile dlls
/activeds.tlb enable_activeds_tlb
20966 wine_fn_config_makefile dlls
/activeds enable_activeds
20967 wine_fn_config_makefile dlls
/activeds
/tests enable_tests
20968 wine_fn_config_makefile dlls
/actxprxy enable_actxprxy
20969 wine_fn_config_makefile dlls
/adsldp enable_adsldp
20970 wine_fn_config_makefile dlls
/adsldp
/tests enable_tests
20971 wine_fn_config_makefile dlls
/adsldpc enable_adsldpc
20972 wine_fn_config_makefile dlls
/advapi32 enable_advapi32
20973 wine_fn_config_makefile dlls
/advapi32
/tests enable_tests
20974 wine_fn_config_makefile dlls
/advpack enable_advpack
20975 wine_fn_config_makefile dlls
/advpack
/tests enable_tests
20976 wine_fn_config_makefile dlls
/amsi enable_amsi
20977 wine_fn_config_makefile dlls
/amstream enable_amstream
20978 wine_fn_config_makefile dlls
/amstream
/tests enable_tests
20979 wine_fn_config_makefile dlls
/apisetschema enable_apisetschema
20980 wine_fn_config_makefile dlls
/apphelp enable_apphelp
20981 wine_fn_config_makefile dlls
/apphelp
/tests enable_tests
20982 wine_fn_config_makefile dlls
/appwiz.cpl enable_appwiz_cpl
20983 wine_fn_config_makefile dlls
/atl enable_atl
20984 wine_fn_config_makefile dlls
/atl
/tests enable_tests
20985 wine_fn_config_makefile dlls
/atl100 enable_atl100
20986 wine_fn_config_makefile dlls
/atl100
/tests enable_tests
20987 wine_fn_config_makefile dlls
/atl110 enable_atl110
20988 wine_fn_config_makefile dlls
/atl110
/tests enable_tests
20989 wine_fn_config_makefile dlls
/atl80 enable_atl80
20990 wine_fn_config_makefile dlls
/atl80
/tests enable_tests
20991 wine_fn_config_makefile dlls
/atl90 enable_atl90
20992 wine_fn_config_makefile dlls
/atlthunk enable_atlthunk
20993 wine_fn_config_makefile dlls
/atlthunk
/tests enable_tests
20994 wine_fn_config_makefile dlls
/atmlib enable_atmlib
20995 wine_fn_config_makefile dlls
/authz enable_authz
20996 wine_fn_config_makefile dlls
/avicap32 enable_avicap32
20997 wine_fn_config_makefile dlls
/avifil32 enable_avifil32
20998 wine_fn_config_makefile dlls
/avifil32
/tests enable_tests
20999 wine_fn_config_makefile dlls
/avifile.dll16 enable_win16
21000 wine_fn_config_makefile dlls
/avrt enable_avrt
21001 wine_fn_config_makefile dlls
/bcrypt enable_bcrypt
21002 wine_fn_config_makefile dlls
/bcrypt
/tests enable_tests
21003 wine_fn_config_makefile dlls
/bluetoothapis enable_bluetoothapis
21004 wine_fn_config_makefile dlls
/browseui enable_browseui
21005 wine_fn_config_makefile dlls
/browseui
/tests enable_tests
21006 wine_fn_config_makefile dlls
/bthprops.cpl enable_bthprops_cpl
21007 wine_fn_config_makefile dlls
/cabinet enable_cabinet
21008 wine_fn_config_makefile dlls
/cabinet
/tests enable_tests
21009 wine_fn_config_makefile dlls
/capi2032 enable_capi2032
21010 wine_fn_config_makefile dlls
/cards enable_cards
21011 wine_fn_config_makefile dlls
/cdosys enable_cdosys
21012 wine_fn_config_makefile dlls
/cfgmgr32 enable_cfgmgr32
21013 wine_fn_config_makefile dlls
/clusapi enable_clusapi
21014 wine_fn_config_makefile dlls
/cng.sys enable_cng_sys
21015 wine_fn_config_makefile dlls
/combase enable_combase
21016 wine_fn_config_makefile dlls
/combase
/tests enable_tests
21017 wine_fn_config_makefile dlls
/comcat enable_comcat
21018 wine_fn_config_makefile dlls
/comcat
/tests enable_tests
21019 wine_fn_config_makefile dlls
/comctl32 enable_comctl32
21020 wine_fn_config_makefile dlls
/comctl32
/tests enable_tests
21021 wine_fn_config_makefile dlls
/comdlg32 enable_comdlg32
21022 wine_fn_config_makefile dlls
/comdlg32
/tests enable_tests
21023 wine_fn_config_makefile dlls
/comm.drv16 enable_win16
21024 wine_fn_config_makefile dlls
/commdlg.dll16 enable_win16
21025 wine_fn_config_makefile dlls
/compobj.dll16 enable_win16
21026 wine_fn_config_makefile dlls
/compstui enable_compstui
21027 wine_fn_config_makefile dlls
/compstui
/tests enable_tests
21028 wine_fn_config_makefile dlls
/comsvcs enable_comsvcs
21029 wine_fn_config_makefile dlls
/comsvcs
/tests enable_tests
21030 wine_fn_config_makefile dlls
/concrt140 enable_concrt140
21031 wine_fn_config_makefile dlls
/concrt140
/tests enable_tests
21032 wine_fn_config_makefile dlls
/connect enable_connect
21033 wine_fn_config_makefile dlls
/credui enable_credui
21034 wine_fn_config_makefile dlls
/credui
/tests enable_tests
21035 wine_fn_config_makefile dlls
/crtdll enable_crtdll
21036 wine_fn_config_makefile dlls
/crypt32 enable_crypt32
21037 wine_fn_config_makefile dlls
/crypt32
/tests enable_tests
21038 wine_fn_config_makefile dlls
/cryptdlg enable_cryptdlg
21039 wine_fn_config_makefile dlls
/cryptdll enable_cryptdll
21040 wine_fn_config_makefile dlls
/cryptext enable_cryptext
21041 wine_fn_config_makefile dlls
/cryptnet enable_cryptnet
21042 wine_fn_config_makefile dlls
/cryptnet
/tests enable_tests
21043 wine_fn_config_makefile dlls
/cryptowinrt enable_cryptowinrt
21044 wine_fn_config_makefile dlls
/cryptsp enable_cryptsp
21045 wine_fn_config_makefile dlls
/cryptui enable_cryptui
21046 wine_fn_config_makefile dlls
/cryptui
/tests enable_tests
21047 wine_fn_config_makefile dlls
/ctapi32 enable_ctapi32
21048 wine_fn_config_makefile dlls
/ctl3d.dll16 enable_win16
21049 wine_fn_config_makefile dlls
/ctl3d32 enable_ctl3d32
21050 wine_fn_config_makefile dlls
/ctl3dv2.dll16 enable_win16
21051 wine_fn_config_makefile dlls
/d2d1 enable_d2d1
21052 wine_fn_config_makefile dlls
/d2d
1/tests enable_tests
21053 wine_fn_config_makefile dlls
/d3d10 enable_d3d10
21054 wine_fn_config_makefile dlls
/d3d10
/tests enable_tests
21055 wine_fn_config_makefile dlls
/d3d10_1 enable_d3d10_1
21056 wine_fn_config_makefile dlls
/d3d10_
1/tests enable_tests
21057 wine_fn_config_makefile dlls
/d3d10core enable_d3d10core
21058 wine_fn_config_makefile dlls
/d3d10core
/tests enable_tests
21059 wine_fn_config_makefile dlls
/d3d11 enable_d3d11
21060 wine_fn_config_makefile dlls
/d3d11
/tests enable_tests
21061 wine_fn_config_makefile dlls
/d3d12 enable_d3d12
21062 wine_fn_config_makefile dlls
/d3d12
/tests enable_tests
21063 wine_fn_config_makefile dlls
/d3d8 enable_d3d8
21064 wine_fn_config_makefile dlls
/d3d
8/tests enable_tests
21065 wine_fn_config_makefile dlls
/d3d8thk enable_d3d8thk
21066 wine_fn_config_makefile dlls
/d3d9 enable_d3d9
21067 wine_fn_config_makefile dlls
/d3d
9/tests enable_tests
21068 wine_fn_config_makefile dlls
/d3dcompiler_33 enable_d3dcompiler_33
21069 wine_fn_config_makefile dlls
/d3dcompiler_34 enable_d3dcompiler_34
21070 wine_fn_config_makefile dlls
/d3dcompiler_35 enable_d3dcompiler_35
21071 wine_fn_config_makefile dlls
/d3dcompiler_36 enable_d3dcompiler_36
21072 wine_fn_config_makefile dlls
/d3dcompiler_37 enable_d3dcompiler_37
21073 wine_fn_config_makefile dlls
/d3dcompiler_38 enable_d3dcompiler_38
21074 wine_fn_config_makefile dlls
/d3dcompiler_39 enable_d3dcompiler_39
21075 wine_fn_config_makefile dlls
/d3dcompiler_40 enable_d3dcompiler_40
21076 wine_fn_config_makefile dlls
/d3dcompiler_41 enable_d3dcompiler_41
21077 wine_fn_config_makefile dlls
/d3dcompiler_42 enable_d3dcompiler_42
21078 wine_fn_config_makefile dlls
/d3dcompiler_43 enable_d3dcompiler_43
21079 wine_fn_config_makefile dlls
/d3dcompiler_43
/tests enable_tests
21080 wine_fn_config_makefile dlls
/d3dcompiler_46 enable_d3dcompiler_46
21081 wine_fn_config_makefile dlls
/d3dcompiler_46
/tests enable_tests
21082 wine_fn_config_makefile dlls
/d3dcompiler_47 enable_d3dcompiler_47
21083 wine_fn_config_makefile dlls
/d3dcompiler_47
/tests enable_tests
21084 wine_fn_config_makefile dlls
/d3dim enable_d3dim
21085 wine_fn_config_makefile dlls
/d3dim700 enable_d3dim700
21086 wine_fn_config_makefile dlls
/d3drm enable_d3drm
21087 wine_fn_config_makefile dlls
/d3drm
/tests enable_tests
21088 wine_fn_config_makefile dlls
/d3dx10_33 enable_d3dx10_33
21089 wine_fn_config_makefile dlls
/d3dx10_34 enable_d3dx10_34
21090 wine_fn_config_makefile dlls
/d3dx10_34
/tests enable_tests
21091 wine_fn_config_makefile dlls
/d3dx10_35 enable_d3dx10_35
21092 wine_fn_config_makefile dlls
/d3dx10_35
/tests enable_tests
21093 wine_fn_config_makefile dlls
/d3dx10_36 enable_d3dx10_36
21094 wine_fn_config_makefile dlls
/d3dx10_36
/tests enable_tests
21095 wine_fn_config_makefile dlls
/d3dx10_37 enable_d3dx10_37
21096 wine_fn_config_makefile dlls
/d3dx10_37
/tests enable_tests
21097 wine_fn_config_makefile dlls
/d3dx10_38 enable_d3dx10_38
21098 wine_fn_config_makefile dlls
/d3dx10_38
/tests enable_tests
21099 wine_fn_config_makefile dlls
/d3dx10_39 enable_d3dx10_39
21100 wine_fn_config_makefile dlls
/d3dx10_39
/tests enable_tests
21101 wine_fn_config_makefile dlls
/d3dx10_40 enable_d3dx10_40
21102 wine_fn_config_makefile dlls
/d3dx10_40
/tests enable_tests
21103 wine_fn_config_makefile dlls
/d3dx10_41 enable_d3dx10_41
21104 wine_fn_config_makefile dlls
/d3dx10_41
/tests enable_tests
21105 wine_fn_config_makefile dlls
/d3dx10_42 enable_d3dx10_42
21106 wine_fn_config_makefile dlls
/d3dx10_42
/tests enable_tests
21107 wine_fn_config_makefile dlls
/d3dx10_43 enable_d3dx10_43
21108 wine_fn_config_makefile dlls
/d3dx10_43
/tests enable_tests
21109 wine_fn_config_makefile dlls
/d3dx11_42 enable_d3dx11_42
21110 wine_fn_config_makefile dlls
/d3dx11_42
/tests enable_tests
21111 wine_fn_config_makefile dlls
/d3dx11_43 enable_d3dx11_43
21112 wine_fn_config_makefile dlls
/d3dx11_43
/tests enable_tests
21113 wine_fn_config_makefile dlls
/d3dx9_24 enable_d3dx9_24
21114 wine_fn_config_makefile dlls
/d3dx9_25 enable_d3dx9_25
21115 wine_fn_config_makefile dlls
/d3dx9_26 enable_d3dx9_26
21116 wine_fn_config_makefile dlls
/d3dx9_27 enable_d3dx9_27
21117 wine_fn_config_makefile dlls
/d3dx9_28 enable_d3dx9_28
21118 wine_fn_config_makefile dlls
/d3dx9_29 enable_d3dx9_29
21119 wine_fn_config_makefile dlls
/d3dx9_30 enable_d3dx9_30
21120 wine_fn_config_makefile dlls
/d3dx9_31 enable_d3dx9_31
21121 wine_fn_config_makefile dlls
/d3dx9_32 enable_d3dx9_32
21122 wine_fn_config_makefile dlls
/d3dx9_33 enable_d3dx9_33
21123 wine_fn_config_makefile dlls
/d3dx9_34 enable_d3dx9_34
21124 wine_fn_config_makefile dlls
/d3dx9_35 enable_d3dx9_35
21125 wine_fn_config_makefile dlls
/d3dx9_36 enable_d3dx9_36
21126 wine_fn_config_makefile dlls
/d3dx9_36
/tests enable_tests
21127 wine_fn_config_makefile dlls
/d3dx9_37 enable_d3dx9_37
21128 wine_fn_config_makefile dlls
/d3dx9_38 enable_d3dx9_38
21129 wine_fn_config_makefile dlls
/d3dx9_39 enable_d3dx9_39
21130 wine_fn_config_makefile dlls
/d3dx9_40 enable_d3dx9_40
21131 wine_fn_config_makefile dlls
/d3dx9_41 enable_d3dx9_41
21132 wine_fn_config_makefile dlls
/d3dx9_42 enable_d3dx9_42
21133 wine_fn_config_makefile dlls
/d3dx9_43 enable_d3dx9_43
21134 wine_fn_config_makefile dlls
/d3dxof enable_d3dxof
21135 wine_fn_config_makefile dlls
/d3dxof
/tests enable_tests
21136 wine_fn_config_makefile dlls
/davclnt enable_davclnt
21137 wine_fn_config_makefile dlls
/dbgeng enable_dbgeng
21138 wine_fn_config_makefile dlls
/dbgeng
/tests enable_tests
21139 wine_fn_config_makefile dlls
/dbghelp enable_dbghelp
21140 wine_fn_config_makefile dlls
/dbghelp
/tests enable_tests
21141 wine_fn_config_makefile dlls
/dciman32 enable_dciman32
21142 wine_fn_config_makefile dlls
/dcomp enable_dcomp
21143 wine_fn_config_makefile dlls
/ddeml.dll16 enable_win16
21144 wine_fn_config_makefile dlls
/ddraw enable_ddraw
21145 wine_fn_config_makefile dlls
/ddraw
/tests enable_tests
21146 wine_fn_config_makefile dlls
/ddrawex enable_ddrawex
21147 wine_fn_config_makefile dlls
/ddrawex
/tests enable_tests
21148 wine_fn_config_makefile dlls
/devenum enable_devenum
21149 wine_fn_config_makefile dlls
/devenum
/tests enable_tests
21150 wine_fn_config_makefile dlls
/dhcpcsvc enable_dhcpcsvc
21151 wine_fn_config_makefile dlls
/dhcpcsvc
/tests enable_tests
21152 wine_fn_config_makefile dlls
/dhcpcsvc6 enable_dhcpcsvc6
21153 wine_fn_config_makefile dlls
/dhtmled.ocx enable_dhtmled_ocx
21154 wine_fn_config_makefile dlls
/diasymreader enable_diasymreader
21155 wine_fn_config_makefile dlls
/difxapi enable_difxapi
21156 wine_fn_config_makefile dlls
/dinput enable_dinput
21157 wine_fn_config_makefile dlls
/dinput
/tests enable_tests
21158 wine_fn_config_makefile dlls
/dinput8 enable_dinput8
21159 wine_fn_config_makefile dlls
/directmanipulation enable_directmanipulation
21160 wine_fn_config_makefile dlls
/directmanipulation
/tests enable_tests
21161 wine_fn_config_makefile dlls
/dispdib.dll16 enable_win16
21162 wine_fn_config_makefile dlls
/dispex enable_dispex
21163 wine_fn_config_makefile dlls
/dispex
/tests enable_tests
21164 wine_fn_config_makefile dlls
/display.drv16 enable_win16
21165 wine_fn_config_makefile dlls
/dmband enable_dmband
21166 wine_fn_config_makefile dlls
/dmband
/tests enable_tests
21167 wine_fn_config_makefile dlls
/dmcompos enable_dmcompos
21168 wine_fn_config_makefile dlls
/dmcompos
/tests enable_tests
21169 wine_fn_config_makefile dlls
/dmime enable_dmime
21170 wine_fn_config_makefile dlls
/dmime
/tests enable_tests
21171 wine_fn_config_makefile dlls
/dmloader enable_dmloader
21172 wine_fn_config_makefile dlls
/dmloader
/tests enable_tests
21173 wine_fn_config_makefile dlls
/dmscript enable_dmscript
21174 wine_fn_config_makefile dlls
/dmscript
/tests enable_tests
21175 wine_fn_config_makefile dlls
/dmstyle enable_dmstyle
21176 wine_fn_config_makefile dlls
/dmstyle
/tests enable_tests
21177 wine_fn_config_makefile dlls
/dmsynth enable_dmsynth
21178 wine_fn_config_makefile dlls
/dmsynth
/tests enable_tests
21179 wine_fn_config_makefile dlls
/dmusic enable_dmusic
21180 wine_fn_config_makefile dlls
/dmusic
/tests enable_tests
21181 wine_fn_config_makefile dlls
/dmusic32 enable_dmusic32
21182 wine_fn_config_makefile dlls
/dnsapi enable_dnsapi
21183 wine_fn_config_makefile dlls
/dnsapi
/tests enable_tests
21184 wine_fn_config_makefile dlls
/dplay enable_dplay
21185 wine_fn_config_makefile dlls
/dplayx enable_dplayx
21186 wine_fn_config_makefile dlls
/dplayx
/tests enable_tests
21187 wine_fn_config_makefile dlls
/dpnaddr enable_dpnaddr
21188 wine_fn_config_makefile dlls
/dpnet enable_dpnet
21189 wine_fn_config_makefile dlls
/dpnet
/tests enable_tests
21190 wine_fn_config_makefile dlls
/dpnhpast enable_dpnhpast
21191 wine_fn_config_makefile dlls
/dpnhupnp enable_dpnhupnp
21192 wine_fn_config_makefile dlls
/dpnlobby enable_dpnlobby
21193 wine_fn_config_makefile dlls
/dpvoice enable_dpvoice
21194 wine_fn_config_makefile dlls
/dpvoice
/tests enable_tests
21195 wine_fn_config_makefile dlls
/dpwsockx enable_dpwsockx
21196 wine_fn_config_makefile dlls
/drmclien enable_drmclien
21197 wine_fn_config_makefile dlls
/dsdmo enable_dsdmo
21198 wine_fn_config_makefile dlls
/dsdmo
/tests enable_tests
21199 wine_fn_config_makefile dlls
/dsound enable_dsound
21200 wine_fn_config_makefile dlls
/dsound
/tests enable_tests
21201 wine_fn_config_makefile dlls
/dsquery enable_dsquery
21202 wine_fn_config_makefile dlls
/dssenh enable_dssenh
21203 wine_fn_config_makefile dlls
/dssenh
/tests enable_tests
21204 wine_fn_config_makefile dlls
/dsuiext enable_dsuiext
21205 wine_fn_config_makefile dlls
/dswave enable_dswave
21206 wine_fn_config_makefile dlls
/dswave
/tests enable_tests
21207 wine_fn_config_makefile dlls
/dwmapi enable_dwmapi
21208 wine_fn_config_makefile dlls
/dwmapi
/tests enable_tests
21209 wine_fn_config_makefile dlls
/dwrite enable_dwrite
21210 wine_fn_config_makefile dlls
/dwrite
/tests enable_tests
21211 wine_fn_config_makefile dlls
/dx8vb enable_dx8vb
21212 wine_fn_config_makefile dlls
/dxdiagn enable_dxdiagn
21213 wine_fn_config_makefile dlls
/dxdiagn
/tests enable_tests
21214 wine_fn_config_makefile dlls
/dxgi enable_dxgi
21215 wine_fn_config_makefile dlls
/dxgi
/tests enable_tests
21216 wine_fn_config_makefile dlls
/dxtrans enable_dxtrans
21217 wine_fn_config_makefile dlls
/dxva2 enable_dxva2
21218 wine_fn_config_makefile dlls
/dxva
2/tests enable_tests
21219 wine_fn_config_makefile dlls
/esent enable_esent
21220 wine_fn_config_makefile dlls
/evr enable_evr
21221 wine_fn_config_makefile dlls
/evr
/tests enable_tests
21222 wine_fn_config_makefile dlls
/explorerframe enable_explorerframe
21223 wine_fn_config_makefile dlls
/explorerframe
/tests enable_tests
21224 wine_fn_config_makefile dlls
/faultrep enable_faultrep
21225 wine_fn_config_makefile dlls
/faultrep
/tests enable_tests
21226 wine_fn_config_makefile dlls
/feclient enable_feclient
21227 wine_fn_config_makefile dlls
/fltlib enable_fltlib
21228 wine_fn_config_makefile dlls
/fltmgr.sys enable_fltmgr_sys
21229 wine_fn_config_makefile dlls
/fntcache enable_fntcache
21230 wine_fn_config_makefile dlls
/fontsub enable_fontsub
21231 wine_fn_config_makefile dlls
/fusion enable_fusion
21232 wine_fn_config_makefile dlls
/fusion
/tests enable_tests
21233 wine_fn_config_makefile dlls
/fwpuclnt enable_fwpuclnt
21234 wine_fn_config_makefile dlls
/gameux enable_gameux
21235 wine_fn_config_makefile dlls
/gameux
/tests enable_tests
21236 wine_fn_config_makefile dlls
/gamingtcui enable_gamingtcui
21237 wine_fn_config_makefile dlls
/gdi.exe16 enable_win16
21238 wine_fn_config_makefile dlls
/gdi32 enable_gdi32
21239 wine_fn_config_makefile dlls
/gdi32
/tests enable_tests
21240 wine_fn_config_makefile dlls
/gdiplus enable_gdiplus
21241 wine_fn_config_makefile dlls
/gdiplus
/tests enable_tests
21242 wine_fn_config_makefile dlls
/glu32 enable_glu32
21243 wine_fn_config_makefile dlls
/gphoto2.ds enable_gphoto2_ds
21244 wine_fn_config_makefile dlls
/gpkcsp enable_gpkcsp
21245 wine_fn_config_makefile dlls
/hal enable_hal
21246 wine_fn_config_makefile dlls
/hhctrl.ocx enable_hhctrl_ocx
21247 wine_fn_config_makefile dlls
/hid enable_hid
21248 wine_fn_config_makefile dlls
/hid
/tests enable_tests
21249 wine_fn_config_makefile dlls
/hidclass.sys enable_hidclass_sys
21250 wine_fn_config_makefile dlls
/hidparse.sys enable_hidparse_sys
21251 wine_fn_config_makefile dlls
/hlink enable_hlink
21252 wine_fn_config_makefile dlls
/hlink
/tests enable_tests
21253 wine_fn_config_makefile dlls
/hnetcfg enable_hnetcfg
21254 wine_fn_config_makefile dlls
/hnetcfg
/tests enable_tests
21255 wine_fn_config_makefile dlls
/http.sys enable_http_sys
21256 wine_fn_config_makefile dlls
/httpapi enable_httpapi
21257 wine_fn_config_makefile dlls
/httpapi
/tests enable_tests
21258 wine_fn_config_makefile dlls
/ia2comproxy enable_ia2comproxy
21259 wine_fn_config_makefile dlls
/iccvid enable_iccvid
21260 wine_fn_config_makefile dlls
/icmp enable_icmp
21261 wine_fn_config_makefile dlls
/ieframe enable_ieframe
21262 wine_fn_config_makefile dlls
/ieframe
/tests enable_tests
21263 wine_fn_config_makefile dlls
/ieproxy enable_ieproxy
21264 wine_fn_config_makefile dlls
/ifsmgr.vxd enable_win16
21265 wine_fn_config_makefile dlls
/imaadp32.acm enable_imaadp32_acm
21266 wine_fn_config_makefile dlls
/imagehlp enable_imagehlp
21267 wine_fn_config_makefile dlls
/imagehlp
/tests enable_tests
21268 wine_fn_config_makefile dlls
/imm.dll16 enable_win16
21269 wine_fn_config_makefile dlls
/imm32 enable_imm32
21270 wine_fn_config_makefile dlls
/imm32
/tests enable_tests
21271 wine_fn_config_makefile dlls
/inetcomm enable_inetcomm
21272 wine_fn_config_makefile dlls
/inetcomm
/tests enable_tests
21273 wine_fn_config_makefile dlls
/inetcpl.cpl enable_inetcpl_cpl
21274 wine_fn_config_makefile dlls
/inetmib1 enable_inetmib1
21275 wine_fn_config_makefile dlls
/inetmib
1/tests enable_tests
21276 wine_fn_config_makefile dlls
/infosoft enable_infosoft
21277 wine_fn_config_makefile dlls
/infosoft
/tests enable_tests
21278 wine_fn_config_makefile dlls
/initpki enable_initpki
21279 wine_fn_config_makefile dlls
/inkobj enable_inkobj
21280 wine_fn_config_makefile dlls
/inseng enable_inseng
21281 wine_fn_config_makefile dlls
/iphlpapi enable_iphlpapi
21282 wine_fn_config_makefile dlls
/iphlpapi
/tests enable_tests
21283 wine_fn_config_makefile dlls
/iprop enable_iprop
21284 wine_fn_config_makefile dlls
/irprops.cpl enable_irprops_cpl
21285 wine_fn_config_makefile dlls
/itircl enable_itircl
21286 wine_fn_config_makefile dlls
/itss enable_itss
21287 wine_fn_config_makefile dlls
/itss
/tests enable_tests
21288 wine_fn_config_makefile dlls
/joy.cpl enable_joy_cpl
21289 wine_fn_config_makefile dlls
/jscript enable_jscript
21290 wine_fn_config_makefile dlls
/jscript
/tests enable_tests
21291 wine_fn_config_makefile dlls
/jsproxy enable_jsproxy
21292 wine_fn_config_makefile dlls
/jsproxy
/tests enable_tests
21293 wine_fn_config_makefile dlls
/kerberos enable_kerberos
21294 wine_fn_config_makefile dlls
/kernel32 enable_kernel32
21295 wine_fn_config_makefile dlls
/kernel32
/tests enable_tests
21296 wine_fn_config_makefile dlls
/kernelbase enable_kernelbase
21297 wine_fn_config_makefile dlls
/kernelbase
/tests enable_tests
21298 wine_fn_config_makefile dlls
/keyboard.drv16 enable_win16
21299 wine_fn_config_makefile dlls
/krnl386.exe16 enable_win16
21300 wine_fn_config_makefile dlls
/ksecdd.sys enable_ksecdd_sys
21301 wine_fn_config_makefile dlls
/ksproxy.ax enable_ksproxy_ax
21302 wine_fn_config_makefile dlls
/ksuser enable_ksuser
21303 wine_fn_config_makefile dlls
/ktmw32 enable_ktmw32
21304 wine_fn_config_makefile dlls
/l3codeca.acm enable_l3codeca_acm
21305 wine_fn_config_makefile dlls
/light.msstyles enable_light_msstyles
21306 wine_fn_config_makefile dlls
/loadperf enable_loadperf
21307 wine_fn_config_makefile dlls
/localspl enable_localspl
21308 wine_fn_config_makefile dlls
/localspl
/tests enable_tests
21309 wine_fn_config_makefile dlls
/localui enable_localui
21310 wine_fn_config_makefile dlls
/localui
/tests enable_tests
21311 wine_fn_config_makefile dlls
/lz32 enable_lz32
21312 wine_fn_config_makefile dlls
/lz32
/tests enable_tests
21313 wine_fn_config_makefile dlls
/lzexpand.dll16 enable_win16
21314 wine_fn_config_makefile dlls
/mapi32 enable_mapi32
21315 wine_fn_config_makefile dlls
/mapi32
/tests enable_tests
21316 wine_fn_config_makefile dlls
/mapistub enable_mapistub
21317 wine_fn_config_makefile dlls
/mciavi32 enable_mciavi32
21318 wine_fn_config_makefile dlls
/mcicda enable_mcicda
21319 wine_fn_config_makefile dlls
/mciqtz32 enable_mciqtz32
21320 wine_fn_config_makefile dlls
/mciseq enable_mciseq
21321 wine_fn_config_makefile dlls
/mciwave enable_mciwave
21322 wine_fn_config_makefile dlls
/mf enable_mf
21323 wine_fn_config_makefile dlls
/mf
/tests enable_tests
21324 wine_fn_config_makefile dlls
/mf3216 enable_mf3216
21325 wine_fn_config_makefile dlls
/mferror enable_mferror
21326 wine_fn_config_makefile dlls
/mfmediaengine enable_mfmediaengine
21327 wine_fn_config_makefile dlls
/mfmediaengine
/tests enable_tests
21328 wine_fn_config_makefile dlls
/mfplat enable_mfplat
21329 wine_fn_config_makefile dlls
/mfplat
/tests enable_tests
21330 wine_fn_config_makefile dlls
/mfplay enable_mfplay
21331 wine_fn_config_makefile dlls
/mfplay
/tests enable_tests
21332 wine_fn_config_makefile dlls
/mfreadwrite enable_mfreadwrite
21333 wine_fn_config_makefile dlls
/mfreadwrite
/tests enable_tests
21334 wine_fn_config_makefile dlls
/mfsrcsnk enable_mfsrcsnk
21335 wine_fn_config_makefile dlls
/mfsrcsnk
/tests enable_tests
21336 wine_fn_config_makefile dlls
/mgmtapi enable_mgmtapi
21337 wine_fn_config_makefile dlls
/midimap enable_midimap
21338 wine_fn_config_makefile dlls
/mlang enable_mlang
21339 wine_fn_config_makefile dlls
/mlang
/tests enable_tests
21340 wine_fn_config_makefile dlls
/mmcndmgr enable_mmcndmgr
21341 wine_fn_config_makefile dlls
/mmcndmgr
/tests enable_tests
21342 wine_fn_config_makefile dlls
/mmdevapi enable_mmdevapi
21343 wine_fn_config_makefile dlls
/mmdevapi
/tests enable_tests
21344 wine_fn_config_makefile dlls
/mmdevldr.vxd enable_win16
21345 wine_fn_config_makefile dlls
/mmsystem.dll16 enable_win16
21346 wine_fn_config_makefile dlls
/monodebg.vxd enable_win16
21347 wine_fn_config_makefile dlls
/mountmgr.sys enable_mountmgr_sys
21348 wine_fn_config_makefile dlls
/mouse.drv16 enable_win16
21349 wine_fn_config_makefile dlls
/mp3dmod enable_mp3dmod
21350 wine_fn_config_makefile dlls
/mp3dmod
/tests enable_tests
21351 wine_fn_config_makefile dlls
/mpr enable_mpr
21352 wine_fn_config_makefile dlls
/mpr
/tests enable_tests
21353 wine_fn_config_makefile dlls
/mprapi enable_mprapi
21354 wine_fn_config_makefile dlls
/msacm.dll16 enable_win16
21355 wine_fn_config_makefile dlls
/msacm32.drv enable_msacm32_drv
21356 wine_fn_config_makefile dlls
/msacm32 enable_msacm32
21357 wine_fn_config_makefile dlls
/msacm32
/tests enable_tests
21358 wine_fn_config_makefile dlls
/msado15 enable_msado15
21359 wine_fn_config_makefile dlls
/msado15
/tests enable_tests
21360 wine_fn_config_makefile dlls
/msadp32.acm enable_msadp32_acm
21361 wine_fn_config_makefile dlls
/msasn1 enable_msasn1
21362 wine_fn_config_makefile dlls
/msasn
1/tests enable_tests
21363 wine_fn_config_makefile dlls
/msauddecmft enable_msauddecmft
21364 wine_fn_config_makefile dlls
/mscat32 enable_mscat32
21365 wine_fn_config_makefile dlls
/mscms enable_mscms
21366 wine_fn_config_makefile dlls
/mscms
/tests enable_tests
21367 wine_fn_config_makefile dlls
/mscoree enable_mscoree
21368 wine_fn_config_makefile dlls
/mscoree
/tests enable_tests
21369 wine_fn_config_makefile dlls
/mscorwks enable_mscorwks
21370 wine_fn_config_makefile dlls
/msctf enable_msctf
21371 wine_fn_config_makefile dlls
/msctf
/tests enable_tests
21372 wine_fn_config_makefile dlls
/msctfmonitor enable_msctfmonitor
21373 wine_fn_config_makefile dlls
/msctfp enable_msctfp
21374 wine_fn_config_makefile dlls
/msdaps enable_msdaps
21375 wine_fn_config_makefile dlls
/msdasql enable_msdasql
21376 wine_fn_config_makefile dlls
/msdasql
/tests enable_tests
21377 wine_fn_config_makefile dlls
/msdelta enable_msdelta
21378 wine_fn_config_makefile dlls
/msdmo enable_msdmo
21379 wine_fn_config_makefile dlls
/msdmo
/tests enable_tests
21380 wine_fn_config_makefile dlls
/msdrm enable_msdrm
21381 wine_fn_config_makefile dlls
/msftedit enable_msftedit
21382 wine_fn_config_makefile dlls
/msftedit
/tests enable_tests
21383 wine_fn_config_makefile dlls
/msg711.acm enable_msg711_acm
21384 wine_fn_config_makefile dlls
/msgsm32.acm enable_msgsm32_acm
21385 wine_fn_config_makefile dlls
/mshtml.tlb enable_mshtml_tlb
21386 wine_fn_config_makefile dlls
/mshtml enable_mshtml
21387 wine_fn_config_makefile dlls
/mshtml
/tests enable_tests
21388 wine_fn_config_makefile dlls
/msi enable_msi
21389 wine_fn_config_makefile dlls
/msi
/tests enable_tests
21390 wine_fn_config_makefile dlls
/msident enable_msident
21391 wine_fn_config_makefile dlls
/msimg32 enable_msimg32
21392 wine_fn_config_makefile dlls
/msimsg enable_msimsg
21393 wine_fn_config_makefile dlls
/msimtf enable_msimtf
21394 wine_fn_config_makefile dlls
/msisip enable_msisip
21395 wine_fn_config_makefile dlls
/msisys.ocx enable_msisys_ocx
21396 wine_fn_config_makefile dlls
/msls31 enable_msls31
21397 wine_fn_config_makefile dlls
/msmpeg2vdec enable_msmpeg2vdec
21398 wine_fn_config_makefile dlls
/msnet32 enable_msnet32
21399 wine_fn_config_makefile dlls
/mspatcha enable_mspatcha
21400 wine_fn_config_makefile dlls
/mspatcha
/tests enable_tests
21401 wine_fn_config_makefile dlls
/msports enable_msports
21402 wine_fn_config_makefile dlls
/msrle32 enable_msrle32
21403 wine_fn_config_makefile dlls
/msrle32
/tests enable_tests
21404 wine_fn_config_makefile dlls
/msscript.ocx enable_msscript_ocx
21405 wine_fn_config_makefile dlls
/msscript.ocx
/tests enable_tests
21406 wine_fn_config_makefile dlls
/mssign32 enable_mssign32
21407 wine_fn_config_makefile dlls
/mssip32 enable_mssip32
21408 wine_fn_config_makefile dlls
/mstask enable_mstask
21409 wine_fn_config_makefile dlls
/mstask
/tests enable_tests
21410 wine_fn_config_makefile dlls
/msv1_0 enable_msv1_0
21411 wine_fn_config_makefile dlls
/msvcirt enable_msvcirt
21412 wine_fn_config_makefile dlls
/msvcirt
/tests enable_tests
21413 wine_fn_config_makefile dlls
/msvcm80 enable_msvcm80
21414 wine_fn_config_makefile dlls
/msvcm90 enable_msvcm90
21415 wine_fn_config_makefile dlls
/msvcp100 enable_msvcp100
21416 wine_fn_config_makefile dlls
/msvcp100
/tests enable_tests
21417 wine_fn_config_makefile dlls
/msvcp110 enable_msvcp110
21418 wine_fn_config_makefile dlls
/msvcp110
/tests enable_tests
21419 wine_fn_config_makefile dlls
/msvcp120 enable_msvcp120
21420 wine_fn_config_makefile dlls
/msvcp120
/tests enable_tests
21421 wine_fn_config_makefile dlls
/msvcp120_app enable_msvcp120_app
21422 wine_fn_config_makefile dlls
/msvcp140 enable_msvcp140
21423 wine_fn_config_makefile dlls
/msvcp140
/tests enable_tests
21424 wine_fn_config_makefile dlls
/msvcp140_1 enable_msvcp140_1
21425 wine_fn_config_makefile dlls
/msvcp140_
1/tests enable_tests
21426 wine_fn_config_makefile dlls
/msvcp140_2 enable_msvcp140_2
21427 wine_fn_config_makefile dlls
/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21428 wine_fn_config_makefile dlls
/msvcp140_atomic_wait
/tests enable_tests
21429 wine_fn_config_makefile dlls
/msvcp60 enable_msvcp60
21430 wine_fn_config_makefile dlls
/msvcp60
/tests enable_tests
21431 wine_fn_config_makefile dlls
/msvcp70 enable_msvcp70
21432 wine_fn_config_makefile dlls
/msvcp71 enable_msvcp71
21433 wine_fn_config_makefile dlls
/msvcp80 enable_msvcp80
21434 wine_fn_config_makefile dlls
/msvcp90 enable_msvcp90
21435 wine_fn_config_makefile dlls
/msvcp90
/tests enable_tests
21436 wine_fn_config_makefile dlls
/msvcp_win enable_msvcp_win
21437 wine_fn_config_makefile dlls
/msvcr100 enable_msvcr100
21438 wine_fn_config_makefile dlls
/msvcr100
/tests enable_tests
21439 wine_fn_config_makefile dlls
/msvcr110 enable_msvcr110
21440 wine_fn_config_makefile dlls
/msvcr110
/tests enable_tests
21441 wine_fn_config_makefile dlls
/msvcr120 enable_msvcr120
21442 wine_fn_config_makefile dlls
/msvcr120
/tests enable_tests
21443 wine_fn_config_makefile dlls
/msvcr120_app enable_msvcr120_app
21444 wine_fn_config_makefile dlls
/msvcr70 enable_msvcr70
21445 wine_fn_config_makefile dlls
/msvcr70
/tests enable_tests
21446 wine_fn_config_makefile dlls
/msvcr71 enable_msvcr71
21447 wine_fn_config_makefile dlls
/msvcr71
/tests enable_tests
21448 wine_fn_config_makefile dlls
/msvcr80 enable_msvcr80
21449 wine_fn_config_makefile dlls
/msvcr80
/tests enable_tests
21450 wine_fn_config_makefile dlls
/msvcr90 enable_msvcr90
21451 wine_fn_config_makefile dlls
/msvcr90
/tests enable_tests
21452 wine_fn_config_makefile dlls
/msvcrt enable_msvcrt
21453 wine_fn_config_makefile dlls
/msvcrt
/tests enable_tests
21454 wine_fn_config_makefile dlls
/msvcrt20 enable_msvcrt20
21455 wine_fn_config_makefile dlls
/msvcrt40 enable_msvcrt40
21456 wine_fn_config_makefile dlls
/msvcrtd enable_msvcrtd
21457 wine_fn_config_makefile dlls
/msvcrtd
/tests enable_tests
21458 wine_fn_config_makefile dlls
/msvfw32 enable_msvfw32
21459 wine_fn_config_makefile dlls
/msvfw32
/tests enable_tests
21460 wine_fn_config_makefile dlls
/msvidc32 enable_msvidc32
21461 wine_fn_config_makefile dlls
/msvideo.dll16 enable_win16
21462 wine_fn_config_makefile dlls
/mswsock enable_mswsock
21463 wine_fn_config_makefile dlls
/msxml enable_msxml
21464 wine_fn_config_makefile dlls
/msxml2 enable_msxml2
21465 wine_fn_config_makefile dlls
/msxml3 enable_msxml3
21466 wine_fn_config_makefile dlls
/msxml
3/tests enable_tests
21467 wine_fn_config_makefile dlls
/msxml4 enable_msxml4
21468 wine_fn_config_makefile dlls
/msxml6 enable_msxml6
21469 wine_fn_config_makefile dlls
/mtxdm enable_mtxdm
21470 wine_fn_config_makefile dlls
/ncrypt enable_ncrypt
21471 wine_fn_config_makefile dlls
/ncrypt
/tests enable_tests
21472 wine_fn_config_makefile dlls
/nddeapi enable_nddeapi
21473 wine_fn_config_makefile dlls
/ndis.sys enable_ndis_sys
21474 wine_fn_config_makefile dlls
/ndis.sys
/tests enable_tests
21475 wine_fn_config_makefile dlls
/netapi32 enable_netapi32
21476 wine_fn_config_makefile dlls
/netapi32
/tests enable_tests
21477 wine_fn_config_makefile dlls
/netcfgx enable_netcfgx
21478 wine_fn_config_makefile dlls
/netcfgx
/tests enable_tests
21479 wine_fn_config_makefile dlls
/netio.sys enable_netio_sys
21480 wine_fn_config_makefile dlls
/netprofm enable_netprofm
21481 wine_fn_config_makefile dlls
/netprofm
/tests enable_tests
21482 wine_fn_config_makefile dlls
/netutils enable_netutils
21483 wine_fn_config_makefile dlls
/newdev enable_newdev
21484 wine_fn_config_makefile dlls
/ninput enable_ninput
21485 wine_fn_config_makefile dlls
/ninput
/tests enable_tests
21486 wine_fn_config_makefile dlls
/normaliz enable_normaliz
21487 wine_fn_config_makefile dlls
/npmshtml enable_npmshtml
21488 wine_fn_config_makefile dlls
/npptools enable_npptools
21489 wine_fn_config_makefile dlls
/nsi enable_nsi
21490 wine_fn_config_makefile dlls
/nsi
/tests enable_tests
21491 wine_fn_config_makefile dlls
/nsiproxy.sys enable_nsiproxy_sys
21492 wine_fn_config_makefile dlls
/ntdll enable_ntdll
21493 wine_fn_config_makefile dlls
/ntdll
/tests enable_tests
21494 wine_fn_config_makefile dlls
/ntdsapi enable_ntdsapi
21495 wine_fn_config_makefile dlls
/ntdsapi
/tests enable_tests
21496 wine_fn_config_makefile dlls
/ntoskrnl.exe enable_ntoskrnl_exe
21497 wine_fn_config_makefile dlls
/ntoskrnl.exe
/tests enable_tests
21498 wine_fn_config_makefile dlls
/ntprint enable_ntprint
21499 wine_fn_config_makefile dlls
/ntprint
/tests enable_tests
21500 wine_fn_config_makefile dlls
/objsel enable_objsel
21501 wine_fn_config_makefile dlls
/odbc32 enable_odbc32
21502 wine_fn_config_makefile dlls
/odbcbcp enable_odbcbcp
21503 wine_fn_config_makefile dlls
/odbccp32 enable_odbccp32
21504 wine_fn_config_makefile dlls
/odbccp32
/tests enable_tests
21505 wine_fn_config_makefile dlls
/odbccu32 enable_odbccu32
21506 wine_fn_config_makefile dlls
/ole2.dll16 enable_win16
21507 wine_fn_config_makefile dlls
/ole2conv.dll16 enable_win16
21508 wine_fn_config_makefile dlls
/ole2disp.dll16 enable_win16
21509 wine_fn_config_makefile dlls
/ole2nls.dll16 enable_win16
21510 wine_fn_config_makefile dlls
/ole2prox.dll16 enable_win16
21511 wine_fn_config_makefile dlls
/ole2thk.dll16 enable_win16
21512 wine_fn_config_makefile dlls
/ole32 enable_ole32
21513 wine_fn_config_makefile dlls
/ole32
/tests enable_tests
21514 wine_fn_config_makefile dlls
/oleacc enable_oleacc
21515 wine_fn_config_makefile dlls
/oleacc
/tests enable_tests
21516 wine_fn_config_makefile dlls
/oleaut32 enable_oleaut32
21517 wine_fn_config_makefile dlls
/oleaut32
/tests enable_tests
21518 wine_fn_config_makefile dlls
/olecli.dll16 enable_win16
21519 wine_fn_config_makefile dlls
/olecli32 enable_olecli32
21520 wine_fn_config_makefile dlls
/oledb32 enable_oledb32
21521 wine_fn_config_makefile dlls
/oledb32
/tests enable_tests
21522 wine_fn_config_makefile dlls
/oledlg enable_oledlg
21523 wine_fn_config_makefile dlls
/oledlg
/tests enable_tests
21524 wine_fn_config_makefile dlls
/olepro32 enable_olepro32
21525 wine_fn_config_makefile dlls
/olesvr.dll16 enable_win16
21526 wine_fn_config_makefile dlls
/olesvr32 enable_olesvr32
21527 wine_fn_config_makefile dlls
/olethk32 enable_olethk32
21528 wine_fn_config_makefile dlls
/opcservices enable_opcservices
21529 wine_fn_config_makefile dlls
/opcservices
/tests enable_tests
21530 wine_fn_config_makefile dlls
/opencl enable_opencl
21531 wine_fn_config_makefile dlls
/opengl32 enable_opengl32
21532 wine_fn_config_makefile dlls
/opengl32
/tests enable_tests
21533 wine_fn_config_makefile dlls
/packager enable_packager
21534 wine_fn_config_makefile dlls
/packager
/tests enable_tests
21535 wine_fn_config_makefile dlls
/pdh enable_pdh
21536 wine_fn_config_makefile dlls
/pdh
/tests enable_tests
21537 wine_fn_config_makefile dlls
/photometadatahandler enable_photometadatahandler
21538 wine_fn_config_makefile dlls
/pidgen enable_pidgen
21539 wine_fn_config_makefile dlls
/powrprof enable_powrprof
21540 wine_fn_config_makefile dlls
/printui enable_printui
21541 wine_fn_config_makefile dlls
/prntvpt enable_prntvpt
21542 wine_fn_config_makefile dlls
/prntvpt
/tests enable_tests
21543 wine_fn_config_makefile dlls
/propsys enable_propsys
21544 wine_fn_config_makefile dlls
/propsys
/tests enable_tests
21545 wine_fn_config_makefile dlls
/psapi enable_psapi
21546 wine_fn_config_makefile dlls
/psapi
/tests enable_tests
21547 wine_fn_config_makefile dlls
/pstorec enable_pstorec
21548 wine_fn_config_makefile dlls
/pstorec
/tests enable_tests
21549 wine_fn_config_makefile dlls
/pwrshplugin enable_pwrshplugin
21550 wine_fn_config_makefile dlls
/qasf enable_qasf
21551 wine_fn_config_makefile dlls
/qasf
/tests enable_tests
21552 wine_fn_config_makefile dlls
/qcap enable_qcap
21553 wine_fn_config_makefile dlls
/qcap
/tests enable_tests
21554 wine_fn_config_makefile dlls
/qdvd enable_qdvd
21555 wine_fn_config_makefile dlls
/qdvd
/tests enable_tests
21556 wine_fn_config_makefile dlls
/qedit enable_qedit
21557 wine_fn_config_makefile dlls
/qedit
/tests enable_tests
21558 wine_fn_config_makefile dlls
/qmgr enable_qmgr
21559 wine_fn_config_makefile dlls
/qmgr
/tests enable_tests
21560 wine_fn_config_makefile dlls
/qmgrprxy enable_qmgrprxy
21561 wine_fn_config_makefile dlls
/quartz enable_quartz
21562 wine_fn_config_makefile dlls
/quartz
/tests enable_tests
21563 wine_fn_config_makefile dlls
/query enable_query
21564 wine_fn_config_makefile dlls
/qwave enable_qwave
21565 wine_fn_config_makefile dlls
/qwave
/tests enable_tests
21566 wine_fn_config_makefile dlls
/rasapi16.dll16 enable_win16
21567 wine_fn_config_makefile dlls
/rasapi32 enable_rasapi32
21568 wine_fn_config_makefile dlls
/rasapi32
/tests enable_tests
21569 wine_fn_config_makefile dlls
/rasdlg enable_rasdlg
21570 wine_fn_config_makefile dlls
/regapi enable_regapi
21571 wine_fn_config_makefile dlls
/resutils enable_resutils
21572 wine_fn_config_makefile dlls
/riched20 enable_riched20
21573 wine_fn_config_makefile dlls
/riched20
/tests enable_tests
21574 wine_fn_config_makefile dlls
/riched32 enable_riched32
21575 wine_fn_config_makefile dlls
/riched32
/tests enable_tests
21576 wine_fn_config_makefile dlls
/rpcrt4 enable_rpcrt4
21577 wine_fn_config_makefile dlls
/rpcrt
4/tests enable_tests
21578 wine_fn_config_makefile dlls
/rsabase enable_rsabase
21579 wine_fn_config_makefile dlls
/rsaenh enable_rsaenh
21580 wine_fn_config_makefile dlls
/rsaenh
/tests enable_tests
21581 wine_fn_config_makefile dlls
/rstrtmgr enable_rstrtmgr
21582 wine_fn_config_makefile dlls
/rtutils enable_rtutils
21583 wine_fn_config_makefile dlls
/rtworkq enable_rtworkq
21584 wine_fn_config_makefile dlls
/rtworkq
/tests enable_tests
21585 wine_fn_config_makefile dlls
/samlib enable_samlib
21586 wine_fn_config_makefile dlls
/sane.ds enable_sane_ds
21587 wine_fn_config_makefile dlls
/sapi enable_sapi
21588 wine_fn_config_makefile dlls
/sapi
/tests enable_tests
21589 wine_fn_config_makefile dlls
/sas enable_sas
21590 wine_fn_config_makefile dlls
/scarddlg enable_scarddlg
21591 wine_fn_config_makefile dlls
/sccbase enable_sccbase
21592 wine_fn_config_makefile dlls
/schannel enable_schannel
21593 wine_fn_config_makefile dlls
/schannel
/tests enable_tests
21594 wine_fn_config_makefile dlls
/schedsvc enable_schedsvc
21595 wine_fn_config_makefile dlls
/schedsvc
/tests enable_tests
21596 wine_fn_config_makefile dlls
/scrobj enable_scrobj
21597 wine_fn_config_makefile dlls
/scrobj
/tests enable_tests
21598 wine_fn_config_makefile dlls
/scrrun enable_scrrun
21599 wine_fn_config_makefile dlls
/scrrun
/tests enable_tests
21600 wine_fn_config_makefile dlls
/scsiport.sys enable_scsiport_sys
21601 wine_fn_config_makefile dlls
/sechost enable_sechost
21602 wine_fn_config_makefile dlls
/secur32 enable_secur32
21603 wine_fn_config_makefile dlls
/secur32
/tests enable_tests
21604 wine_fn_config_makefile dlls
/security enable_security
21605 wine_fn_config_makefile dlls
/sensapi enable_sensapi
21606 wine_fn_config_makefile dlls
/serialui enable_serialui
21607 wine_fn_config_makefile dlls
/serialui
/tests enable_tests
21608 wine_fn_config_makefile dlls
/setupapi enable_setupapi
21609 wine_fn_config_makefile dlls
/setupapi
/tests enable_tests
21610 wine_fn_config_makefile dlls
/setupx.dll16 enable_win16
21611 wine_fn_config_makefile dlls
/sfc enable_sfc
21612 wine_fn_config_makefile dlls
/sfc_os enable_sfc_os
21613 wine_fn_config_makefile dlls
/shcore enable_shcore
21614 wine_fn_config_makefile dlls
/shcore
/tests enable_tests
21615 wine_fn_config_makefile dlls
/shdoclc enable_shdoclc
21616 wine_fn_config_makefile dlls
/shdocvw enable_shdocvw
21617 wine_fn_config_makefile dlls
/shdocvw
/tests enable_tests
21618 wine_fn_config_makefile dlls
/shell.dll16 enable_win16
21619 wine_fn_config_makefile dlls
/shell32 enable_shell32
21620 wine_fn_config_makefile dlls
/shell32
/tests enable_tests
21621 wine_fn_config_makefile dlls
/shfolder enable_shfolder
21622 wine_fn_config_makefile dlls
/shlwapi enable_shlwapi
21623 wine_fn_config_makefile dlls
/shlwapi
/tests enable_tests
21624 wine_fn_config_makefile dlls
/slbcsp enable_slbcsp
21625 wine_fn_config_makefile dlls
/slc enable_slc
21626 wine_fn_config_makefile dlls
/slc
/tests enable_tests
21627 wine_fn_config_makefile dlls
/snmpapi enable_snmpapi
21628 wine_fn_config_makefile dlls
/snmpapi
/tests enable_tests
21629 wine_fn_config_makefile dlls
/softpub enable_softpub
21630 wine_fn_config_makefile dlls
/sound.drv16 enable_win16
21631 wine_fn_config_makefile dlls
/spoolss enable_spoolss
21632 wine_fn_config_makefile dlls
/spoolss
/tests enable_tests
21633 wine_fn_config_makefile dlls
/sppc enable_sppc
21634 wine_fn_config_makefile dlls
/srclient enable_srclient
21635 wine_fn_config_makefile dlls
/srvcli enable_srvcli
21636 wine_fn_config_makefile dlls
/sspicli enable_sspicli
21637 wine_fn_config_makefile dlls
/stdole2.tlb enable_stdole2_tlb
21638 wine_fn_config_makefile dlls
/stdole32.tlb enable_stdole32_tlb
21639 wine_fn_config_makefile dlls
/sti enable_sti
21640 wine_fn_config_makefile dlls
/sti
/tests enable_tests
21641 wine_fn_config_makefile dlls
/storage.dll16 enable_win16
21642 wine_fn_config_makefile dlls
/stress.dll16 enable_win16
21643 wine_fn_config_makefile dlls
/strmdll enable_strmdll
21644 wine_fn_config_makefile dlls
/svrapi enable_svrapi
21645 wine_fn_config_makefile dlls
/sxs enable_sxs
21646 wine_fn_config_makefile dlls
/sxs
/tests enable_tests
21647 wine_fn_config_makefile dlls
/system.drv16 enable_win16
21648 wine_fn_config_makefile dlls
/t2embed enable_t2embed
21649 wine_fn_config_makefile dlls
/t2embed
/tests enable_tests
21650 wine_fn_config_makefile dlls
/tapi32 enable_tapi32
21651 wine_fn_config_makefile dlls
/tapi32
/tests enable_tests
21652 wine_fn_config_makefile dlls
/taskschd enable_taskschd
21653 wine_fn_config_makefile dlls
/taskschd
/tests enable_tests
21654 wine_fn_config_makefile dlls
/tbs enable_tbs
21655 wine_fn_config_makefile dlls
/tdh enable_tdh
21656 wine_fn_config_makefile dlls
/tdi.sys enable_tdi_sys
21657 wine_fn_config_makefile dlls
/threadpoolwinrt enable_threadpoolwinrt
21658 wine_fn_config_makefile dlls
/threadpoolwinrt
/tests enable_tests
21659 wine_fn_config_makefile dlls
/toolhelp.dll16 enable_win16
21660 wine_fn_config_makefile dlls
/traffic enable_traffic
21661 wine_fn_config_makefile dlls
/twain.dll16 enable_win16
21662 wine_fn_config_makefile dlls
/twain_32 enable_twain_32
21663 wine_fn_config_makefile dlls
/twain_32
/tests enable_tests
21664 wine_fn_config_makefile dlls
/typelib.dll16 enable_win16
21665 wine_fn_config_makefile dlls
/tzres enable_tzres
21666 wine_fn_config_makefile dlls
/ucrtbase enable_ucrtbase
21667 wine_fn_config_makefile dlls
/ucrtbase
/tests enable_tests
21668 wine_fn_config_makefile dlls
/uianimation enable_uianimation
21669 wine_fn_config_makefile dlls
/uianimation
/tests enable_tests
21670 wine_fn_config_makefile dlls
/uiautomationcore enable_uiautomationcore
21671 wine_fn_config_makefile dlls
/uiautomationcore
/tests enable_tests
21672 wine_fn_config_makefile dlls
/uiribbon enable_uiribbon
21673 wine_fn_config_makefile dlls
/unicows enable_unicows
21674 wine_fn_config_makefile dlls
/updspapi enable_updspapi
21675 wine_fn_config_makefile dlls
/url enable_url
21676 wine_fn_config_makefile dlls
/urlmon enable_urlmon
21677 wine_fn_config_makefile dlls
/urlmon
/tests enable_tests
21678 wine_fn_config_makefile dlls
/usbd.sys enable_usbd_sys
21679 wine_fn_config_makefile dlls
/user.exe16 enable_win16
21680 wine_fn_config_makefile dlls
/user32 enable_user32
21681 wine_fn_config_makefile dlls
/user32
/tests enable_tests
21682 wine_fn_config_makefile dlls
/userenv enable_userenv
21683 wine_fn_config_makefile dlls
/userenv
/tests enable_tests
21684 wine_fn_config_makefile dlls
/usp10 enable_usp10
21685 wine_fn_config_makefile dlls
/usp10
/tests enable_tests
21686 wine_fn_config_makefile dlls
/utildll enable_utildll
21687 wine_fn_config_makefile dlls
/uxtheme enable_uxtheme
21688 wine_fn_config_makefile dlls
/uxtheme
/tests enable_tests
21689 wine_fn_config_makefile dlls
/vbscript enable_vbscript
21690 wine_fn_config_makefile dlls
/vbscript
/tests enable_tests
21691 wine_fn_config_makefile dlls
/vcomp enable_vcomp
21692 wine_fn_config_makefile dlls
/vcomp
/tests enable_tests
21693 wine_fn_config_makefile dlls
/vcomp100 enable_vcomp100
21694 wine_fn_config_makefile dlls
/vcomp110 enable_vcomp110
21695 wine_fn_config_makefile dlls
/vcomp110
/tests enable_tests
21696 wine_fn_config_makefile dlls
/vcomp120 enable_vcomp120
21697 wine_fn_config_makefile dlls
/vcomp140 enable_vcomp140
21698 wine_fn_config_makefile dlls
/vcomp90 enable_vcomp90
21699 wine_fn_config_makefile dlls
/vcruntime140 enable_vcruntime140
21700 wine_fn_config_makefile dlls
/vcruntime140_1 enable_vcruntime140_1
21701 wine_fn_config_makefile dlls
/vdhcp.vxd enable_win16
21702 wine_fn_config_makefile dlls
/vdmdbg enable_vdmdbg
21703 wine_fn_config_makefile dlls
/ver.dll16 enable_win16
21704 wine_fn_config_makefile dlls
/version enable_version
21705 wine_fn_config_makefile dlls
/version
/tests enable_tests
21706 wine_fn_config_makefile dlls
/vga enable_vga
21707 wine_fn_config_makefile dlls
/virtdisk enable_virtdisk
21708 wine_fn_config_makefile dlls
/virtdisk
/tests enable_tests
21709 wine_fn_config_makefile dlls
/vmm.vxd enable_win16
21710 wine_fn_config_makefile dlls
/vnbt.vxd enable_win16
21711 wine_fn_config_makefile dlls
/vnetbios.vxd enable_win16
21712 wine_fn_config_makefile dlls
/vssapi enable_vssapi
21713 wine_fn_config_makefile dlls
/vtdapi.vxd enable_win16
21714 wine_fn_config_makefile dlls
/vulkan-1 enable_vulkan_1
21715 wine_fn_config_makefile dlls
/vulkan-
1/tests enable_tests
21716 wine_fn_config_makefile dlls
/vwin32.vxd enable_win16
21717 wine_fn_config_makefile dlls
/w32skrnl enable_win16
21718 wine_fn_config_makefile dlls
/w32sys.dll16 enable_win16
21719 wine_fn_config_makefile dlls
/wbemdisp enable_wbemdisp
21720 wine_fn_config_makefile dlls
/wbemdisp
/tests enable_tests
21721 wine_fn_config_makefile dlls
/wbemprox enable_wbemprox
21722 wine_fn_config_makefile dlls
/wbemprox
/tests enable_tests
21723 wine_fn_config_makefile dlls
/wdscore enable_wdscore
21724 wine_fn_config_makefile dlls
/webservices enable_webservices
21725 wine_fn_config_makefile dlls
/webservices
/tests enable_tests
21726 wine_fn_config_makefile dlls
/websocket enable_websocket
21727 wine_fn_config_makefile dlls
/wer enable_wer
21728 wine_fn_config_makefile dlls
/wer
/tests enable_tests
21729 wine_fn_config_makefile dlls
/wevtapi enable_wevtapi
21730 wine_fn_config_makefile dlls
/wevtapi
/tests enable_tests
21731 wine_fn_config_makefile dlls
/wevtsvc enable_wevtsvc
21732 wine_fn_config_makefile dlls
/wiaservc enable_wiaservc
21733 wine_fn_config_makefile dlls
/wiaservc
/tests enable_tests
21734 wine_fn_config_makefile dlls
/wimgapi enable_wimgapi
21735 wine_fn_config_makefile dlls
/win32s16.dll16 enable_win16
21736 wine_fn_config_makefile dlls
/win32u enable_win32u
21737 wine_fn_config_makefile dlls
/win32u
/tests enable_tests
21738 wine_fn_config_makefile dlls
/win87em.dll16 enable_win16
21739 wine_fn_config_makefile dlls
/winaspi.dll16 enable_win16
21740 wine_fn_config_makefile dlls
/windebug.dll16 enable_win16
21741 wine_fn_config_makefile dlls
/windows.devices.enumeration enable_windows_devices_enumeration
21742 wine_fn_config_makefile dlls
/windows.devices.enumeration
/tests enable_tests
21743 wine_fn_config_makefile dlls
/windows.gaming.input enable_windows_gaming_input
21744 wine_fn_config_makefile dlls
/windows.gaming.input
/tests enable_tests
21745 wine_fn_config_makefile dlls
/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
21746 wine_fn_config_makefile dlls
/windows.gaming.ui.gamebar
/tests enable_tests
21747 wine_fn_config_makefile dlls
/windows.globalization enable_windows_globalization
21748 wine_fn_config_makefile dlls
/windows.globalization
/tests enable_tests
21749 wine_fn_config_makefile dlls
/windows.media.devices enable_windows_media_devices
21750 wine_fn_config_makefile dlls
/windows.media.devices
/tests enable_tests
21751 wine_fn_config_makefile dlls
/windows.media.speech enable_windows_media_speech
21752 wine_fn_config_makefile dlls
/windows.media.speech
/tests enable_tests
21753 wine_fn_config_makefile dlls
/windows.media enable_windows_media
21754 wine_fn_config_makefile dlls
/windows.media
/tests enable_tests
21755 wine_fn_config_makefile dlls
/windows.networking enable_windows_networking
21756 wine_fn_config_makefile dlls
/windows.system.profile.systemmanufacturers enable_windows_system_profile_systemmanufacturers
21757 wine_fn_config_makefile dlls
/windows.system.profile.systemmanufacturers
/tests enable_tests
21758 wine_fn_config_makefile dlls
/windowscodecs enable_windowscodecs
21759 wine_fn_config_makefile dlls
/windowscodecs
/tests enable_tests
21760 wine_fn_config_makefile dlls
/windowscodecsext enable_windowscodecsext
21761 wine_fn_config_makefile dlls
/windowscodecsext
/tests enable_tests
21762 wine_fn_config_makefile dlls
/winealsa.drv enable_winealsa_drv
21763 wine_fn_config_makefile dlls
/wineandroid.drv enable_wineandroid_drv
21764 wine_fn_config_makefile dlls
/winebus.sys enable_winebus_sys
21765 wine_fn_config_makefile dlls
/winecoreaudio.drv enable_winecoreaudio_drv
21766 wine_fn_config_makefile dlls
/winecrt0 enable_winecrt0
21767 wine_fn_config_makefile dlls
/wined3d enable_wined3d
21768 wine_fn_config_makefile dlls
/winegstreamer enable_winegstreamer
21769 wine_fn_config_makefile dlls
/winehid.sys enable_winehid_sys
21770 wine_fn_config_makefile dlls
/winemac.drv enable_winemac_drv
21771 wine_fn_config_makefile dlls
/winemapi enable_winemapi
21772 wine_fn_config_makefile dlls
/wineoss.drv enable_wineoss_drv
21773 wine_fn_config_makefile dlls
/wineps.drv enable_wineps_drv
21774 wine_fn_config_makefile dlls
/wineps16.drv16 enable_win16
21775 wine_fn_config_makefile dlls
/winepulse.drv enable_winepulse_drv
21776 wine_fn_config_makefile dlls
/wineusb.sys enable_wineusb_sys
21777 wine_fn_config_makefile dlls
/winevulkan enable_winevulkan
21778 wine_fn_config_makefile dlls
/winex11.drv enable_winex11_drv
21779 wine_fn_config_makefile dlls
/winexinput.sys enable_winexinput_sys
21780 wine_fn_config_makefile dlls
/wing.dll16 enable_win16
21781 wine_fn_config_makefile dlls
/wing32 enable_wing32
21782 wine_fn_config_makefile dlls
/winhttp enable_winhttp
21783 wine_fn_config_makefile dlls
/winhttp
/tests enable_tests
21784 wine_fn_config_makefile dlls
/wininet enable_wininet
21785 wine_fn_config_makefile dlls
/wininet
/tests enable_tests
21786 wine_fn_config_makefile dlls
/winmm enable_winmm
21787 wine_fn_config_makefile dlls
/winmm
/tests enable_tests
21788 wine_fn_config_makefile dlls
/winnls.dll16 enable_win16
21789 wine_fn_config_makefile dlls
/winnls32 enable_winnls32
21790 wine_fn_config_makefile dlls
/winprint enable_winprint
21791 wine_fn_config_makefile dlls
/winscard enable_winscard
21792 wine_fn_config_makefile dlls
/winsock.dll16 enable_win16
21793 wine_fn_config_makefile dlls
/winspool.drv enable_winspool_drv
21794 wine_fn_config_makefile dlls
/winspool.drv
/tests enable_tests
21795 wine_fn_config_makefile dlls
/winsta enable_winsta
21796 wine_fn_config_makefile dlls
/wintab.dll16 enable_win16
21797 wine_fn_config_makefile dlls
/wintab32 enable_wintab32
21798 wine_fn_config_makefile dlls
/wintab32
/tests enable_tests
21799 wine_fn_config_makefile dlls
/wintrust enable_wintrust
21800 wine_fn_config_makefile dlls
/wintrust
/tests enable_tests
21801 wine_fn_config_makefile dlls
/wintypes enable_wintypes
21802 wine_fn_config_makefile dlls
/wintypes
/tests enable_tests
21803 wine_fn_config_makefile dlls
/winusb enable_winusb
21804 wine_fn_config_makefile dlls
/wlanapi enable_wlanapi
21805 wine_fn_config_makefile dlls
/wlanapi
/tests enable_tests
21806 wine_fn_config_makefile dlls
/wlanui enable_wlanui
21807 wine_fn_config_makefile dlls
/wldap32 enable_wldap32
21808 wine_fn_config_makefile dlls
/wldap32
/tests enable_tests
21809 wine_fn_config_makefile dlls
/wmasf enable_wmasf
21810 wine_fn_config_makefile dlls
/wmi enable_wmi
21811 wine_fn_config_makefile dlls
/wmiutils enable_wmiutils
21812 wine_fn_config_makefile dlls
/wmiutils
/tests enable_tests
21813 wine_fn_config_makefile dlls
/wmp enable_wmp
21814 wine_fn_config_makefile dlls
/wmp
/tests enable_tests
21815 wine_fn_config_makefile dlls
/wmphoto enable_wmphoto
21816 wine_fn_config_makefile dlls
/wmvcore enable_wmvcore
21817 wine_fn_config_makefile dlls
/wmvcore
/tests enable_tests
21818 wine_fn_config_makefile dlls
/wnaspi32 enable_wnaspi32
21819 wine_fn_config_makefile dlls
/wofutil enable_wofutil
21820 wine_fn_config_makefile dlls
/wow32 enable_win16
21821 wine_fn_config_makefile dlls
/wow64 enable_wow64
21822 wine_fn_config_makefile dlls
/wow64cpu enable_wow64cpu
21823 wine_fn_config_makefile dlls
/wow64win enable_wow64win
21824 wine_fn_config_makefile dlls
/wpc enable_wpc
21825 wine_fn_config_makefile dlls
/wpc
/tests enable_tests
21826 wine_fn_config_makefile dlls
/wpcap enable_wpcap
21827 wine_fn_config_makefile dlls
/ws2_32 enable_ws2_32
21828 wine_fn_config_makefile dlls
/ws2_32
/tests enable_tests
21829 wine_fn_config_makefile dlls
/wsdapi enable_wsdapi
21830 wine_fn_config_makefile dlls
/wsdapi
/tests enable_tests
21831 wine_fn_config_makefile dlls
/wshom.ocx enable_wshom_ocx
21832 wine_fn_config_makefile dlls
/wshom.ocx
/tests enable_tests
21833 wine_fn_config_makefile dlls
/wsnmp32 enable_wsnmp32
21834 wine_fn_config_makefile dlls
/wsnmp32
/tests enable_tests
21835 wine_fn_config_makefile dlls
/wsock32 enable_wsock32
21836 wine_fn_config_makefile dlls
/wtsapi32 enable_wtsapi32
21837 wine_fn_config_makefile dlls
/wtsapi32
/tests enable_tests
21838 wine_fn_config_makefile dlls
/wuapi enable_wuapi
21839 wine_fn_config_makefile dlls
/wuaueng enable_wuaueng
21840 wine_fn_config_makefile dlls
/x3daudio1_0 enable_x3daudio1_0
21841 wine_fn_config_makefile dlls
/x3daudio1_1 enable_x3daudio1_1
21842 wine_fn_config_makefile dlls
/x3daudio1_2 enable_x3daudio1_2
21843 wine_fn_config_makefile dlls
/x3daudio1_3 enable_x3daudio1_3
21844 wine_fn_config_makefile dlls
/x3daudio1_4 enable_x3daudio1_4
21845 wine_fn_config_makefile dlls
/x3daudio1_5 enable_x3daudio1_5
21846 wine_fn_config_makefile dlls
/x3daudio1_6 enable_x3daudio1_6
21847 wine_fn_config_makefile dlls
/x3daudio1_7 enable_x3daudio1_7
21848 wine_fn_config_makefile dlls
/xactengine2_0 enable_xactengine2_0
21849 wine_fn_config_makefile dlls
/xactengine2_4 enable_xactengine2_4
21850 wine_fn_config_makefile dlls
/xactengine2_7 enable_xactengine2_7
21851 wine_fn_config_makefile dlls
/xactengine2_9 enable_xactengine2_9
21852 wine_fn_config_makefile dlls
/xactengine3_0 enable_xactengine3_0
21853 wine_fn_config_makefile dlls
/xactengine3_1 enable_xactengine3_1
21854 wine_fn_config_makefile dlls
/xactengine3_2 enable_xactengine3_2
21855 wine_fn_config_makefile dlls
/xactengine3_3 enable_xactengine3_3
21856 wine_fn_config_makefile dlls
/xactengine3_4 enable_xactengine3_4
21857 wine_fn_config_makefile dlls
/xactengine3_5 enable_xactengine3_5
21858 wine_fn_config_makefile dlls
/xactengine3_6 enable_xactengine3_6
21859 wine_fn_config_makefile dlls
/xactengine3_7 enable_xactengine3_7
21860 wine_fn_config_makefile dlls
/xactengine3_
7/tests enable_tests
21861 wine_fn_config_makefile dlls
/xapofx1_1 enable_xapofx1_1
21862 wine_fn_config_makefile dlls
/xapofx1_2 enable_xapofx1_2
21863 wine_fn_config_makefile dlls
/xapofx1_3 enable_xapofx1_3
21864 wine_fn_config_makefile dlls
/xapofx1_4 enable_xapofx1_4
21865 wine_fn_config_makefile dlls
/xapofx1_5 enable_xapofx1_5
21866 wine_fn_config_makefile dlls
/xaudio2_0 enable_xaudio2_0
21867 wine_fn_config_makefile dlls
/xaudio2_1 enable_xaudio2_1
21868 wine_fn_config_makefile dlls
/xaudio2_2 enable_xaudio2_2
21869 wine_fn_config_makefile dlls
/xaudio2_3 enable_xaudio2_3
21870 wine_fn_config_makefile dlls
/xaudio2_4 enable_xaudio2_4
21871 wine_fn_config_makefile dlls
/xaudio2_5 enable_xaudio2_5
21872 wine_fn_config_makefile dlls
/xaudio2_6 enable_xaudio2_6
21873 wine_fn_config_makefile dlls
/xaudio2_7 enable_xaudio2_7
21874 wine_fn_config_makefile dlls
/xaudio2_
7/tests enable_tests
21875 wine_fn_config_makefile dlls
/xaudio2_8 enable_xaudio2_8
21876 wine_fn_config_makefile dlls
/xaudio2_9 enable_xaudio2_9
21877 wine_fn_config_makefile dlls
/xinput1_1 enable_xinput1_1
21878 wine_fn_config_makefile dlls
/xinput1_2 enable_xinput1_2
21879 wine_fn_config_makefile dlls
/xinput1_3 enable_xinput1_3
21880 wine_fn_config_makefile dlls
/xinput1_
3/tests enable_tests
21881 wine_fn_config_makefile dlls
/xinput1_4 enable_xinput1_4
21882 wine_fn_config_makefile dlls
/xinput9_1_0 enable_xinput9_1_0
21883 wine_fn_config_makefile dlls
/xinputuap enable_xinputuap
21884 wine_fn_config_makefile dlls
/xmllite enable_xmllite
21885 wine_fn_config_makefile dlls
/xmllite
/tests enable_tests
21886 wine_fn_config_makefile dlls
/xolehlp enable_xolehlp
21887 wine_fn_config_makefile dlls
/xpsprint enable_xpsprint
21888 wine_fn_config_makefile dlls
/xpssvcs enable_xpssvcs
21889 wine_fn_config_makefile fonts enable_fonts
21890 wine_fn_config_makefile include enable_include
21891 wine_fn_config_makefile libs
/adsiid enable_adsiid
21892 wine_fn_config_makefile libs
/dmoguids enable_dmoguids
21893 wine_fn_config_makefile libs
/dxerr8 enable_dxerr8
21894 wine_fn_config_makefile libs
/dxerr9 enable_dxerr9
21895 wine_fn_config_makefile libs
/dxguid enable_dxguid
21896 wine_fn_config_makefile libs
/faudio enable_faudio
21897 wine_fn_config_makefile libs
/gsm enable_gsm
21898 wine_fn_config_makefile libs
/jpeg enable_jpeg
21899 wine_fn_config_makefile libs
/jxr enable_jxr
21900 wine_fn_config_makefile libs
/lcms2 enable_lcms2
21901 wine_fn_config_makefile libs
/ldap enable_ldap
21902 wine_fn_config_makefile libs
/mfuuid enable_mfuuid
21903 wine_fn_config_makefile libs
/mpg123 enable_mpg123
21904 wine_fn_config_makefile libs
/png enable_png
21905 wine_fn_config_makefile libs
/strmbase enable_strmbase
21906 wine_fn_config_makefile libs
/strmiids enable_strmiids
21907 wine_fn_config_makefile libs
/tiff enable_tiff
21908 wine_fn_config_makefile libs
/uuid enable_uuid
21909 wine_fn_config_makefile libs
/vkd3d enable_vkd3d
21910 wine_fn_config_makefile libs
/wbemuuid enable_wbemuuid
21911 wine_fn_config_makefile libs
/wine enable_wine
21912 wine_fn_config_makefile libs
/wmcodecdspuuid enable_wmcodecdspuuid
21913 wine_fn_config_makefile libs
/xml2 enable_xml2
21914 wine_fn_config_makefile libs
/xslt enable_xslt
21915 wine_fn_config_makefile libs
/zlib enable_zlib
21916 wine_fn_config_makefile loader enable_loader
21917 wine_fn_config_makefile nls enable_nls
21918 wine_fn_config_makefile po enable_po
21919 wine_fn_config_makefile programs
/arp enable_arp
21920 wine_fn_config_makefile programs
/aspnet_regiis enable_aspnet_regiis
21921 wine_fn_config_makefile programs
/attrib enable_attrib
21922 wine_fn_config_makefile programs
/cabarc enable_cabarc
21923 wine_fn_config_makefile programs
/cacls enable_cacls
21924 wine_fn_config_makefile programs
/certutil enable_certutil
21925 wine_fn_config_makefile programs
/chcp.com enable_chcp_com
21926 wine_fn_config_makefile programs
/clock enable_clock
21927 wine_fn_config_makefile programs
/cmd enable_cmd
21928 wine_fn_config_makefile programs
/cmd
/tests enable_tests
21929 wine_fn_config_makefile programs
/conhost enable_conhost
21930 wine_fn_config_makefile programs
/conhost
/tests enable_tests
21931 wine_fn_config_makefile programs
/control enable_control
21932 wine_fn_config_makefile programs
/cscript enable_cscript
21933 wine_fn_config_makefile programs
/dism enable_dism
21934 wine_fn_config_makefile programs
/dllhost enable_dllhost
21935 wine_fn_config_makefile programs
/dplaysvr enable_dplaysvr
21936 wine_fn_config_makefile programs
/dpnsvr enable_dpnsvr
21937 wine_fn_config_makefile programs
/dpvsetup enable_dpvsetup
21938 wine_fn_config_makefile programs
/dxdiag enable_dxdiag
21939 wine_fn_config_makefile programs
/eject enable_eject
21940 wine_fn_config_makefile programs
/expand enable_expand
21941 wine_fn_config_makefile programs
/explorer enable_explorer
21942 wine_fn_config_makefile programs
/explorer
/tests enable_tests
21943 wine_fn_config_makefile programs
/extrac32 enable_extrac32
21944 wine_fn_config_makefile programs
/fc enable_fc
21945 wine_fn_config_makefile programs
/find enable_find
21946 wine_fn_config_makefile programs
/find
/tests enable_tests
21947 wine_fn_config_makefile programs
/findstr enable_findstr
21948 wine_fn_config_makefile programs
/fsutil enable_fsutil
21949 wine_fn_config_makefile programs
/fsutil
/tests enable_tests
21950 wine_fn_config_makefile programs
/hh enable_hh
21951 wine_fn_config_makefile programs
/hostname enable_hostname
21952 wine_fn_config_makefile programs
/icacls enable_icacls
21953 wine_fn_config_makefile programs
/icinfo enable_icinfo
21954 wine_fn_config_makefile programs
/iexplore enable_iexplore
21955 wine_fn_config_makefile programs
/ipconfig enable_ipconfig
21956 wine_fn_config_makefile programs
/lodctr enable_lodctr
21957 wine_fn_config_makefile programs
/mofcomp enable_mofcomp
21958 wine_fn_config_makefile programs
/mshta enable_mshta
21959 wine_fn_config_makefile programs
/msidb enable_msidb
21960 wine_fn_config_makefile programs
/msiexec enable_msiexec
21961 wine_fn_config_makefile programs
/msinfo32 enable_msinfo32
21962 wine_fn_config_makefile programs
/net enable_net
21963 wine_fn_config_makefile programs
/netsh enable_netsh
21964 wine_fn_config_makefile programs
/netstat enable_netstat
21965 wine_fn_config_makefile programs
/ngen enable_ngen
21966 wine_fn_config_makefile programs
/notepad enable_notepad
21967 wine_fn_config_makefile programs
/oleview enable_oleview
21968 wine_fn_config_makefile programs
/ping enable_ping
21969 wine_fn_config_makefile programs
/plugplay enable_plugplay
21970 wine_fn_config_makefile programs
/powershell enable_powershell
21971 wine_fn_config_makefile programs
/presentationfontcache enable_presentationfontcache
21972 wine_fn_config_makefile programs
/progman enable_progman
21973 wine_fn_config_makefile programs
/reg enable_reg
21974 wine_fn_config_makefile programs
/reg
/tests enable_tests
21975 wine_fn_config_makefile programs
/regasm enable_regasm
21976 wine_fn_config_makefile programs
/regedit enable_regedit
21977 wine_fn_config_makefile programs
/regedit
/tests enable_tests
21978 wine_fn_config_makefile programs
/regini enable_regini
21979 wine_fn_config_makefile programs
/regsvcs enable_regsvcs
21980 wine_fn_config_makefile programs
/regsvr32 enable_regsvr32
21981 wine_fn_config_makefile programs
/robocopy enable_robocopy
21982 wine_fn_config_makefile programs
/rpcss enable_rpcss
21983 wine_fn_config_makefile programs
/rundll.exe16 enable_win16
21984 wine_fn_config_makefile programs
/rundll32 enable_rundll32
21985 wine_fn_config_makefile programs
/sc enable_sc
21986 wine_fn_config_makefile programs
/sc
/tests enable_tests
21987 wine_fn_config_makefile programs
/schtasks enable_schtasks
21988 wine_fn_config_makefile programs
/schtasks
/tests enable_tests
21989 wine_fn_config_makefile programs
/sdbinst enable_sdbinst
21990 wine_fn_config_makefile programs
/secedit enable_secedit
21991 wine_fn_config_makefile programs
/servicemodelreg enable_servicemodelreg
21992 wine_fn_config_makefile programs
/services enable_services
21993 wine_fn_config_makefile programs
/services
/tests enable_tests
21994 wine_fn_config_makefile programs
/setx enable_setx
21995 wine_fn_config_makefile programs
/shutdown enable_shutdown
21996 wine_fn_config_makefile programs
/spoolsv enable_spoolsv
21997 wine_fn_config_makefile programs
/start enable_start
21998 wine_fn_config_makefile programs
/subst enable_subst
21999 wine_fn_config_makefile programs
/svchost enable_svchost
22000 wine_fn_config_makefile programs
/systeminfo enable_systeminfo
22001 wine_fn_config_makefile programs
/taskkill enable_taskkill
22002 wine_fn_config_makefile programs
/tasklist enable_tasklist
22003 wine_fn_config_makefile programs
/taskmgr enable_taskmgr
22004 wine_fn_config_makefile programs
/termsv enable_termsv
22005 wine_fn_config_makefile programs
/uninstaller enable_uninstaller
22006 wine_fn_config_makefile programs
/unlodctr enable_unlodctr
22007 wine_fn_config_makefile programs
/view enable_view
22008 wine_fn_config_makefile programs
/wevtutil enable_wevtutil
22009 wine_fn_config_makefile programs
/where enable_where
22010 wine_fn_config_makefile programs
/whoami enable_whoami
22011 wine_fn_config_makefile programs
/wineboot enable_wineboot
22012 wine_fn_config_makefile programs
/winebrowser enable_winebrowser
22013 wine_fn_config_makefile programs
/winecfg enable_winecfg
22014 wine_fn_config_makefile programs
/wineconsole enable_wineconsole
22015 wine_fn_config_makefile programs
/winedbg enable_winedbg
22016 wine_fn_config_makefile programs
/winedevice enable_winedevice
22017 wine_fn_config_makefile programs
/winefile enable_winefile
22018 wine_fn_config_makefile programs
/winemenubuilder enable_winemenubuilder
22019 wine_fn_config_makefile programs
/winemine enable_winemine
22020 wine_fn_config_makefile programs
/winemsibuilder enable_winemsibuilder
22021 wine_fn_config_makefile programs
/winepath enable_winepath
22022 wine_fn_config_makefile programs
/winetest enable_winetest
22023 wine_fn_config_makefile programs
/winevdm enable_win16
22024 wine_fn_config_makefile programs
/winhelp.exe16 enable_win16
22025 wine_fn_config_makefile programs
/winhlp32 enable_winhlp32
22026 wine_fn_config_makefile programs
/winmgmt enable_winmgmt
22027 wine_fn_config_makefile programs
/winoldap.mod16 enable_win16
22028 wine_fn_config_makefile programs
/winver enable_winver
22029 wine_fn_config_makefile programs
/wmic enable_wmic
22030 wine_fn_config_makefile programs
/wmplayer enable_wmplayer
22031 wine_fn_config_makefile programs
/wordpad enable_wordpad
22032 wine_fn_config_makefile programs
/write enable_write
22033 wine_fn_config_makefile programs
/wscript enable_wscript
22034 wine_fn_config_makefile programs
/wscript
/tests enable_tests
22035 wine_fn_config_makefile programs
/wuauserv enable_wuauserv
22036 wine_fn_config_makefile programs
/wusa enable_wusa
22037 wine_fn_config_makefile programs
/xcopy enable_xcopy
22038 wine_fn_config_makefile programs
/xcopy
/tests enable_tests
22039 wine_fn_config_makefile server enable_server
22040 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22041 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/sfnt2fon enable_sfnt2fon
22042 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/widl enable_widl
22043 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winebuild enable_winebuild
22044 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winedump enable_winedump
22045 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winegcc enable_winegcc
22046 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winemaker enable_winemaker
22047 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/wmc enable_wmc
22048 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/wrc enable_wrc
22051 as_fn_append CONFIGURE_TARGETS
" TAGS"
22052 as_fn_append CONFIGURE_TARGETS
" tags"
22053 as_fn_append CONFIGURE_TARGETS
" autom4te.cache"
22054 as_fn_append CONFIGURE_TARGETS
" config.log"
22055 as_fn_append CONFIGURE_TARGETS
" config.status"
22056 as_fn_append CONFIGURE_TARGETS
" include/config.h"
22057 as_fn_append CONFIGURE_TARGETS
" include/stamp-h"
22058 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine"
22060 if test "x$enable_tools" != xno
22062 as_fn_append CONFIGURE_TARGETS
" tools/makedep$ac_exeext"
22063 ac_config_commands
="$ac_config_commands tools/makedep"
22067 ac_config_commands
="$ac_config_commands Makefile"
22074 as_fn_append wine_rules
"
22076 @echo \"Wine build complete.\"
22080 Makefile: config.status \$(MAKEDEP)
22081 @./config.status Makefile
22082 depend: \$(MAKEDEP)
22083 \$(MAKEDEP)$makedep_flags"
22086 as_fn_append wine_rules
"
22087 config.status: ${wine_srcdir}configure
22088 @./config.status --recheck
22089 include/config.h: include/stamp-h
22090 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22091 @./config.status include/config.h include/stamp-h"
22093 if test "x$enable_maintainer_mode" = xyes
22095 as_fn_append wine_rules
"
22096 configure: configure.ac aclocal.m4
22097 autoconf --warnings=all
22098 include/config.h.in: include/stamp-h.in
22099 include/stamp-h.in: configure.ac aclocal.m4
22100 autoheader --warnings=all
22101 @echo timestamp > \$@"
22104 if test "x$enable_tools" != xno
22106 as_fn_append wine_rules
"
22107 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22108 @./config.status tools/makedep
22109 Makefile: tools/makedep$ac_exeext"
22111 as_fn_append wine_rules
"
22113 @echo \"You need to run make in $toolsdir first\" && false"
22117 if test -n "$with_wine64"
22119 case "$with_wine64" in
22123 rm -f fonts server
2>/dev
/null
22124 as_fn_append wine_rules
"
22125 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22126 loader/wine64 loader/wine64-preloader:
22127 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22128 $with_wine64/loader/wine:
22129 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22130 $with_wine64/loader/wine-preloader:
22131 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22133 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22135 TOP_INSTALL_DEV
="$TOP_INSTALL_DEV include"
22136 TOP_INSTALL_LIB
="$TOP_INSTALL_LIB \
22140 programs/msidb/msidb \
22141 programs/msiexec/msiexec \
22142 programs/notepad/notepad \
22143 programs/regedit/regedit \
22144 programs/regsvr32/regsvr32 \
22145 programs/wineboot/wineboot \
22146 programs/winecfg/winecfg \
22147 programs/wineconsole/wineconsole \
22148 programs/winedbg/winedbg \
22149 programs/winefile/winefile \
22150 programs/winemine/winemine \
22151 programs/winepath/winepath \
22155 cygwin
*|mingw32
*|darwin
*|macosx
*|linux-android
*) ;;
22156 *) TOP_INSTALL_LIB
="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22161 as_fn_append wine_rules
"
22163 rm -rf autom4te.cache
22165 rm -f configure include/config.h.in"
22168 as_fn_append wine_rules
"
22169 dlls/ntdll/unix/version.c: dummy
22170 @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)
22171 programs/winetest/build.rc: dummy
22172 @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)
22173 programs/winetest/build.nfo:
22175 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
22176 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22177 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22180 TAGSFLAGS
="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22182 as_fn_append wine_rules
"
22185 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22188 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22190 .PHONY: depend dummy install-manpages"
22192 printf "%s\n" " done" >&6
22193 cat >confcache
<<\_ACEOF
22194 # This file is a shell script that caches the results of configure
22195 # tests run on this system so they can be shared between configure
22196 # scripts and configure runs, see configure's option --config-cache.
22197 # It is not useful on other systems. If it contains results you don't
22198 # want to keep, you may remove or edit it.
22200 # config.status only pays attention to the cache file if you give it
22201 # the --recheck option to rerun configure.
22203 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22204 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22205 # following values.
22209 # The following way of writing the cache mishandles newlines in values,
22210 # but we know of no workaround that is simple, portable, and efficient.
22211 # So, we kill variables containing newlines.
22212 # Ultrix sh set writes to stderr and can't be redirected directly,
22213 # and sets the high bit in the cache file unless we assign to the vars.
22215 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22216 eval ac_val
=\$
$ac_var
22220 *_cv_
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22221 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22224 _ | IFS | as_nl
) ;; #(
22225 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
22226 *) { eval $ac_var=; unset $ac_var;} ;;
22232 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22233 *${as_nl}ac_space
=\
*)
22234 # `set' does not quote correctly, so add quotes: double-quote
22235 # substitution turns \\\\ into \\, and sed turns \\ into \.
22238 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22241 # `set' quotes correctly as required by POSIX, so do not add quotes.
22242 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22251 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22253 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22255 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22256 if test -w "$cache_file"; then
22257 if test "x$cache_file" != "x/dev/null"; then
22258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22259 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22260 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
22261 cat confcache
>"$cache_file"
22263 case $cache_file in #(
22265 mv -f confcache
"$cache_file"$$
&&
22266 mv -f "$cache_file"$$
"$cache_file" ;; #(
22268 mv -f confcache
"$cache_file" ;;
22273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22274 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22279 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22280 # Let make expand exec_prefix.
22281 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22283 DEFS
=-DHAVE_CONFIG_H
22288 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22289 # 1. Remove the extension, and $U if already installed.
22290 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
22291 ac_i
=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22292 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22293 # will be set to the directory where LIBOBJS objects are built.
22294 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22295 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
22297 LIBOBJS
=$ac_libobjs
22299 LTLIBOBJS
=$ac_ltlibobjs
22303 : "${CONFIG_STATUS=./config.status}"
22305 ac_clean_files_save
=$ac_clean_files
22306 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22308 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22310 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22312 # Generated by $as_me.
22313 # Run this file to recreate the current configuration.
22314 # Compiler output produced by configure, useful for debugging
22315 # configure, is in config.log if it exists.
22318 ac_cs_recheck=false
22321 SHELL=\${CONFIG_SHELL-$SHELL}
22324 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
22325 ## -------------------- ##
22326 ## M4sh Initialization. ##
22327 ## -------------------- ##
22329 # Be more Bourne compatible
22330 DUALCASE
=1; export DUALCASE
# for MKS sh
22332 if test ${ZSH_VERSION+y} && (emulate sh
) >/dev
/null
2>&1
22336 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22337 # is contrary to our usage. Disable this feature.
22338 alias -g '${1+"$@"}'='"$@"'
22339 setopt NO_GLOB_SUBST
22341 case `(set -o) 2>/dev/null` in #(
22351 # Reset variables that may have inherited troublesome values from
22354 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22355 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22356 # side effect of setting IFS to empty, thus disabling word splitting.)
22357 # Quoting is to prevent editors from complaining about space-tab.
22367 # Ensure predictable behavior from utilities with locale-dependent output.
22373 # We cannot yet rely on "unset" to work, but we need these variables
22374 # to be unset--not just set to an empty or harmless value--now, to
22375 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22376 # also avoids known problems related to "unset" and subshell syntax
22377 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22378 for as_var
in BASH_ENV ENV MAIL MAILPATH CDPATH
22379 do eval test \
${$as_var+y} \
22380 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
22383 # Ensure that fds 0, 1, and 2 are open.
22384 if (exec 3>&0) 2>/dev
/null
; then :; else exec 0</dev
/null
; fi
22385 if (exec 3>&1) 2>/dev
/null
; then :; else exec 1>/dev
/null
; fi
22386 if (exec 3>&2) ; then :; else exec 2>/dev
/null
; fi
22388 # The user is always right.
22389 if ${PATH_SEPARATOR+false} :; then
22391 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
22392 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
22398 # Find who we are. Look in the path if we contain no directory separator.
22401 *[\\/]* ) as_myself
=$0 ;;
22402 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22403 for as_dir
in $PATH
22406 case $as_dir in #(((
22409 *) as_dir
=$as_dir/ ;;
22411 test -r "$as_dir$0" && as_myself
=$as_dir$0 && break
22417 # We did not find ourselves, most probably we were run as `sh COMMAND'
22418 # in which case we are not to be found in the path.
22419 if test "x$as_myself" = x
; then
22422 if test ! -f "$as_myself"; then
22423 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22429 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22430 # ----------------------------------------
22431 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22432 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22433 # script with STATUS, using 1 if that was 0.
22436 as_status
=$1; test $as_status -eq 0 && as_status
=1
22438 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
22439 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22441 printf "%s\n" "$as_me: error: $2" >&2
22442 as_fn_exit
$as_status
22447 # as_fn_set_status STATUS
22448 # -----------------------
22449 # Set $? to STATUS, without forking.
22450 as_fn_set_status
()
22453 } # as_fn_set_status
22455 # as_fn_exit STATUS
22456 # -----------------
22457 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22461 as_fn_set_status
$1
22467 # Portably unset VAR.
22470 { eval $1=; unset $1;}
22472 as_unset
=as_fn_unset
22474 # as_fn_append VAR VALUE
22475 # ----------------------
22476 # Append the text in VALUE to the end of the definition contained in VAR. Take
22477 # advantage of any shell optimizations that allow amortized linear growth over
22478 # repeated appends, instead of the typical quadratic growth present in naive
22480 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
22482 eval 'as_fn_append ()
22493 # as_fn_arith ARG...
22494 # ------------------
22495 # Perform arithmetic evaluation on the ARGs, and store the result in the
22496 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22497 # must be portable across $(()) and expr.
22498 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
22500 eval 'as_fn_arith ()
22507 as_val
=`expr "$@" || test $? -eq 1`
22512 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22513 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22519 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22520 as_basename
=basename
22525 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
22531 as_me
=`$as_basename -- "$0" ||
22532 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22533 X"$0" : 'X\(//\)$' \| \
22534 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22535 printf "%s\n" X/"$0" |
22536 sed '/^.*\/\([^/][^/]*\)\/*$/{
22550 # Avoid depending upon Character Ranges.
22551 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22552 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22553 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22554 as_cr_digits
='0123456789'
22555 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22558 # Determine whether it's possible to make 'echo' print without a newline.
22559 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22560 # for compatibility with existing Makefiles.
22561 ECHO_C
= ECHO_N
= ECHO_T
=
22562 case `echo -n x` in #(((((
22564 case `echo 'xy\c'` in
22565 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
22567 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
22574 # For backward compatibility with old third-party macros, we provide
22575 # the shell variables $as_echo and $as_echo_n. New code should use
22576 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22577 as_echo
='printf %s\n'
22578 as_echo_n
='printf %s'
22580 rm -f conf$$ conf$$.exe conf$$.
file
22581 if test -d conf$$.dir
; then
22582 rm -f conf$$.dir
/conf$$.
file
22585 mkdir conf$$.dir
2>/dev
/null
22587 if (echo >conf$$.
file) 2>/dev
/null
; then
22588 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22590 # ... but there are two gotchas:
22591 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22592 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22593 # In both cases, we have to default to `cp -pR'.
22594 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
22596 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22604 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
22605 rmdir conf$$.dir
2>/dev
/null
22610 # Create "$as_dir" as a directory, including parents if necessary.
22615 -*) as_dir
=.
/$as_dir;;
22617 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
22621 *\'*) as_qdir
=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22622 *) as_qdir
=$as_dir;;
22624 as_dirs
="'$as_qdir' $as_dirs"
22625 as_dir
=`$as_dirname -- "$as_dir" ||
22626 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22627 X"$as_dir" : 'X\(//\)[^/]' \| \
22628 X"$as_dir" : 'X\(//\)$' \| \
22629 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22630 printf "%s\n" X"$as_dir" |
22631 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22635 /^X\(\/\/\)[^/].*/{
22648 test -d "$as_dir" && break
22650 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22651 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
22655 if mkdir
-p .
2>/dev
/null
; then
22656 as_mkdir_p
='mkdir -p "$as_dir"'
22658 test -d .
/-p && rmdir .
/-p
22663 # as_fn_executable_p FILE
22664 # -----------------------
22665 # Test if FILE is an executable regular file.
22666 as_fn_executable_p
()
22668 test -f "$1" && test -x "$1"
22669 } # as_fn_executable_p
22670 as_test_x
='test -x'
22671 as_executable_p
=as_fn_executable_p
22673 # Sed expression to map a string onto a valid CPP name.
22674 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22676 # Sed expression to map a string onto a valid variable name.
22677 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22681 ## ----------------------------------- ##
22682 ## Main body of $CONFIG_STATUS script. ##
22683 ## ----------------------------------- ##
22685 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
22687 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22688 # Save the log message, to keep $0 and so on meaningful, and to
22689 # report actual input values of CONFIG_FILES etc. instead of their
22690 # values after options handling.
22692 This file was extended by Wine $as_me 8.0, which was
22693 generated by GNU Autoconf 2.71. Invocation command line was
22695 CONFIG_FILES = $CONFIG_FILES
22696 CONFIG_HEADERS = $CONFIG_HEADERS
22697 CONFIG_LINKS = $CONFIG_LINKS
22698 CONFIG_COMMANDS = $CONFIG_COMMANDS
22701 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22707 case $ac_config_headers in *"
22708 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
22712 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22713 # Files that config.status was made for.
22714 config_headers="$ac_config_headers"
22715 config_links="$ac_config_links"
22716 config_commands="$ac_config_commands"
22720 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22722 \`$as_me' instantiates files and other configuration actions
22723 from templates according to the current configuration. Unless the files
22724 and actions are specified as TAGs, all are instantiated by default.
22726 Usage: $0 [OPTION]... [TAG]...
22728 -h, --help print this help, then exit
22729 -V, --version print version number and configuration settings, then exit
22730 --config print configuration, then exit
22731 -q, --quiet, --silent
22732 do not print progress messages
22733 -d, --debug don't remove temporary files
22734 --recheck update $as_me by reconfiguring in the same conditions
22735 --header=FILE[:TEMPLATE]
22736 instantiate the configuration header FILE
22738 Configuration headers:
22741 Configuration links:
22744 Configuration commands:
22747 Report bugs to <wine-devel@winehq.org>.
22748 Wine home page: <https://www.winehq.org>."
22751 ac_cs_config
=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
22752 ac_cs_config_escaped
=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
22753 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22754 ac_cs_config='$ac_cs_config_escaped'
22756 Wine config.status 8.0
22757 configured by $0, generated by GNU Autoconf 2.71,
22758 with options \\"\$ac_cs_config\\"
22760 Copyright (C) 2021 Free Software Foundation, Inc.
22761 This config.status script is free software; the Free Software Foundation
22762 gives unlimited permission to copy, distribute and modify it."
22766 test -n "\$AWK" || AWK=awk
22769 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22770 # The default lists apply if the user does not specify any file.
22776 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22777 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
22781 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22793 # Handling of the options.
22794 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
22796 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
22797 printf "%s\n" "$ac_cs_version"; exit ;;
22798 --config |
--confi |
--conf |
--con |
--co |
--c )
22799 printf "%s\n" "$ac_cs_config"; exit ;;
22800 --debug |
--debu |
--deb |
--de |
--d |
-d )
22802 --header |
--heade |
--head |
--hea )
22805 *\'*) ac_optarg
=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22807 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
22808 ac_need_defaults
=false
;;
22810 # Conflict between --help and --header
22811 as_fn_error $?
"ambiguous option: \`$1'
22812 Try \`$0 --help' for more information.";;
22813 --help |
--hel |
-h )
22814 printf "%s\n" "$ac_cs_usage"; exit ;;
22815 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
22816 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
22819 # This is an error.
22820 -*) as_fn_error $?
"unrecognized option: \`$1'
22821 Try \`$0 --help' for more information." ;;
22823 *) as_fn_append ac_config_targets
" $1"
22824 ac_need_defaults
=false
;;
22830 ac_configure_extra_args
=
22832 if $ac_cs_silent; then
22834 ac_configure_extra_args
="$ac_configure_extra_args --silent"
22838 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22839 if \$ac_cs_recheck; then
22840 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22842 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
22843 CONFIG_SHELL='$SHELL'
22844 export CONFIG_SHELL
22849 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22853 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22854 ## Running $as_me. ##
22856 printf "%s\n" "$ac_log"
22860 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22864 wine_fn_output_makedep ()
22866 as_dir=tools; as_fn_mkdir_p
22867 $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
22869 wine_fn_output_makefile ()
22871 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
22872 # This Makefile understands the following targets:
22874 # all (default): build wine
22875 # clean: remove all intermediate files
22876 # distclean: also remove all files created by configure
22878 # testclean: clean test results to force running all tests again
22879 # install-lib: install libraries needed to run applications
22880 # install-dev: install development environment
22881 # install: install everything
22882 # uninstall: uninstall everything
22883 # ctags: create a tags file for vim and others.
22884 # etags: create a TAGS file for Emacs.
22887 PATH_SEPARATOR = $PATH_SEPARATOR
22888 PACKAGE_NAME = $PACKAGE_NAME
22889 PACKAGE_TARNAME = $PACKAGE_TARNAME
22890 PACKAGE_VERSION = $PACKAGE_VERSION
22891 PACKAGE_STRING = $PACKAGE_STRING
22892 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
22893 PACKAGE_URL = $PACKAGE_URL
22894 exec_prefix = $exec_prefix
22896 program_transform_name = $program_transform_name
22899 libexecdir = $libexecdir
22900 datarootdir = $datarootdir
22902 sysconfdir = $sysconfdir
22903 sharedstatedir = $sharedstatedir
22904 localstatedir = $localstatedir
22905 runstatedir = $runstatedir
22906 includedir = $includedir
22907 oldincludedir = $oldincludedir
22915 localedir = $localedir
22922 build_alias = $build_alias
22923 host_alias = $host_alias
22924 target_alias = $target_alias
22925 system_dllpath = $system_dllpath
22927 build_cpu = $build_cpu
22928 build_vendor = $build_vendor
22929 build_os = $build_os
22931 host_cpu = $host_cpu
22932 host_vendor = $host_vendor
22938 SET_MAKE = $SET_MAKE
22942 CPPFLAGS = $CPPFLAGS
22943 ac_ct_CC = $ac_ct_CC
22947 CXXFLAGS = $CXXFLAGS
22948 ac_ct_CXX = $ac_ct_CXX
22951 TARGETFLAGS = $TARGETFLAGS
22952 toolsext = $toolsext
22953 HOST_ARCH = $HOST_ARCH
22954 aarch64_CC = $aarch64_CC
22955 aarch64_CFLAGS = $aarch64_CFLAGS
22956 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
22957 aarch64_LDFLAGS = $aarch64_LDFLAGS
22958 aarch64_DEBUG = $aarch64_DEBUG
22959 aarch64_TARGET = $aarch64_TARGET
22960 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
22961 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
22963 arm_CFLAGS = $arm_CFLAGS
22964 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
22965 arm_LDFLAGS = $arm_LDFLAGS
22966 arm_DEBUG = $arm_DEBUG
22967 arm_TARGET = $arm_TARGET
22968 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
22969 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
22971 i386_CFLAGS = $i386_CFLAGS
22972 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
22973 i386_LDFLAGS = $i386_LDFLAGS
22974 i386_DEBUG = $i386_DEBUG
22975 i386_TARGET = $i386_TARGET
22976 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
22977 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
22978 x86_64_CC = $x86_64_CC
22979 x86_64_CFLAGS = $x86_64_CFLAGS
22980 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
22981 x86_64_LDFLAGS = $x86_64_LDFLAGS
22982 x86_64_DEBUG = $x86_64_DEBUG
22983 x86_64_TARGET = $x86_64_TARGET
22984 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
22985 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
22986 toolsdir = $toolsdir
22988 RUNTESTFLAGS = $RUNTESTFLAGS
22993 ac_ct_AR = $ac_ct_AR
22999 LDCONFIG = $LDCONFIG
23001 PKG_CONFIG = $PKG_CONFIG
23002 FONTFORGE = $FONTFORGE
23006 I386_LIBS = $I386_LIBS
23007 OPENGL_LIBS = $OPENGL_LIBS
23008 DLLFLAGS = $DLLFLAGS
23009 LDDLLFLAGS = $LDDLLFLAGS
23010 LDEXECFLAGS = $LDEXECFLAGS
23011 EXTRACFLAGS = $EXTRACFLAGS
23012 UNIXDLLFLAGS = $UNIXDLLFLAGS
23013 UNIXLDFLAGS = $UNIXLDFLAGS
23014 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23015 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23016 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23017 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23022 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23023 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23024 CARBON_LIBS = $CARBON_LIBS
23025 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23026 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23027 IOKIT_LIBS = $IOKIT_LIBS
23028 METAL_LIBS = $METAL_LIBS
23029 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23030 CORESERVICES_LIBS = $CORESERVICES_LIBS
23031 APPKIT_LIBS = $APPKIT_LIBS
23032 SECURITY_LIBS = $SECURITY_LIBS
23033 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23034 COREAUDIO_LIBS = $COREAUDIO_LIBS
23035 OPENCL_LIBS = $OPENCL_LIBS
23037 OBJCFLAGS = $OBJCFLAGS
23038 ac_ct_OBJC = $ac_ct_OBJC
23039 LIBWINE_SHAREDLIB = $LIBWINE_SHAREDLIB
23040 LIBWINE_LDFLAGS = $LIBWINE_LDFLAGS
23041 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23043 LIBWINE_DEPENDS = $LIBWINE_DEPENDS
23044 PE_ARCHS = $PE_ARCHS
23045 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23046 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23047 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23048 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23049 GSM_PE_LIBS = $GSM_PE_LIBS
23050 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23051 JPEG_PE_LIBS = $JPEG_PE_LIBS
23052 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23053 JXR_PE_LIBS = $JXR_PE_LIBS
23054 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23055 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23056 LDAP_PE_CFLAGS = $LDAP_PE_CFLAGS
23057 LDAP_PE_LIBS = $LDAP_PE_LIBS
23058 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23059 MPG123_PE_LIBS = $MPG123_PE_LIBS
23060 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23061 PNG_PE_LIBS = $PNG_PE_LIBS
23062 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23063 TIFF_PE_LIBS = $TIFF_PE_LIBS
23064 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23065 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23066 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23067 XML2_PE_LIBS = $XML2_PE_LIBS
23068 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23069 XSLT_PE_LIBS = $XSLT_PE_LIBS
23070 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23071 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23072 PTHREAD_LIBS = $PTHREAD_LIBS
23075 X_CFLAGS = $X_CFLAGS
23076 X_PRE_LIBS = $X_PRE_LIBS
23078 X_EXTRA_LIBS = $X_EXTRA_LIBS
23079 PCAP_LIBS = $PCAP_LIBS
23080 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23081 INOTIFY_LIBS = $INOTIFY_LIBS
23082 DBUS_CFLAGS = $DBUS_CFLAGS
23083 DBUS_LIBS = $DBUS_LIBS
23084 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23085 GNUTLS_LIBS = $GNUTLS_LIBS
23086 SANE_CFLAGS = $SANE_CFLAGS
23087 SANE_LIBS = $SANE_LIBS
23088 USB_CFLAGS = $USB_CFLAGS
23089 USB_LIBS = $USB_LIBS
23090 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23091 GPHOTO2_LIBS = $GPHOTO2_LIBS
23092 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23093 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23094 RESOLV_LIBS = $RESOLV_LIBS
23095 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23096 FREETYPE_LIBS = $FREETYPE_LIBS
23097 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23098 PULSE_CFLAGS = $PULSE_CFLAGS
23099 PULSE_LIBS = $PULSE_LIBS
23100 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23101 GSTREAMER_LIBS = $GSTREAMER_LIBS
23102 ALSA_LIBS = $ALSA_LIBS
23103 OSS4_CFLAGS = $OSS4_CFLAGS
23104 OSS4_LIBS = $OSS4_LIBS
23105 UDEV_CFLAGS = $UDEV_CFLAGS
23106 UDEV_LIBS = $UDEV_LIBS
23107 UNWIND_CFLAGS = $UNWIND_CFLAGS
23108 UNWIND_LIBS = $UNWIND_LIBS
23109 SDL2_CFLAGS = $SDL2_CFLAGS
23110 SDL2_LIBS = $SDL2_LIBS
23111 CAPI20_CFLAGS = $CAPI20_CFLAGS
23112 CAPI20_LIBS = $CAPI20_LIBS
23113 CUPS_CFLAGS = $CUPS_CFLAGS
23114 CUPS_LIBS = $CUPS_LIBS
23115 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23116 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23117 KRB5_CFLAGS = $KRB5_CFLAGS
23118 KRB5_LIBS = $KRB5_LIBS
23119 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23120 GSSAPI_LIBS = $GSSAPI_LIBS
23121 PROCSTAT_LIBS = $PROCSTAT_LIBS
23122 NETAPI_CFLAGS = $NETAPI_CFLAGS
23123 NETAPI_LIBS = $NETAPI_LIBS
23124 MSVCRTFLAGS = $MSVCRTFLAGS
23125 DELAYLOADFLAG = $DELAYLOADFLAG
23126 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23128 TAGSFLAGS = $TAGSFLAGS
23130 LTLIBOBJS = $LTLIBOBJS
23134 as_fn_error $? "could not create Makefile" "$LINENO" 5
23139 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23141 # Handling of arguments.
23142 for ac_config_target
in $ac_config_targets
23144 case $ac_config_target in
23145 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
23146 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
23147 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
23148 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23149 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
23150 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
23152 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23157 # If the user did not use the arguments to specify the items to instantiate,
23158 # then the envvar interface is used. Set only those that are not.
23159 # We use the long form for the default assignment because of an extremely
23160 # bizarre bug on SunOS 4.1.3.
23161 if $ac_need_defaults; then
23162 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS
=$config_headers
23163 test ${CONFIG_LINKS+y} || CONFIG_LINKS
=$config_links
23164 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS
=$config_commands
23167 # Have a temporary directory for convenience. Make it in the build tree
23168 # simply because there is no reason against having it here, and in addition,
23169 # creating and moving files from /tmp can sometimes cause problems.
23170 # Hook for its removal unless debugging.
23171 # Note that there is a small window in which the directory will not be cleaned:
23172 # after its creation but before its name has been assigned to `$tmp'.
23176 trap 'exit_status=$?
23177 : "${ac_tmp:=$tmp}"
23178 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23180 trap 'as_fn_exit 1' 1 2 13 15
23182 # Create a (secure) tmp directory for tmp files.
23185 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23189 tmp
=.
/conf$$
-$RANDOM
23190 (umask 077 && mkdir
"$tmp")
23191 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
23194 # Set up the scripts for CONFIG_HEADERS section.
23195 # No need to generate them if there are no CONFIG_HEADERS.
23196 # This happens for instance with `./config.status Makefile'.
23197 if test -n "$CONFIG_HEADERS"; then
23198 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23202 # Transform confdefs.h into an awk script `defines.awk', embedded as
23203 # here-document in config.status, that substitutes the proper values into
23204 # config.h.in to produce config.h.
23206 # Create a delimiter string that does not exist in confdefs.h, to ease
23207 # handling of long lines.
23209 for ac_last_try
in false false
:; do
23210 ac_tt
=`sed -n "/$ac_delim/p" confdefs.h`
23211 if test -z "$ac_tt"; then
23213 elif $ac_last_try; then
23214 as_fn_error $?
"could not make $CONFIG_HEADERS" "$LINENO" 5
23216 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
23220 # For the awk script, D is an array of macro values keyed by name,
23221 # likewise P contains macro parameters if any. Preserve backslash
23222 # newline sequences.
23224 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
23226 s/.\{148\}/&'"$ac_delim"'/g
23229 s/^[ ]*#[ ]*define[ ][ ]*/ /
23236 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23238 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23242 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23243 D["\1"]=" \3\\\\\\n"\\/p
23245 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23250 s/.\{148\}/&'"$ac_delim"'/g
23255 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23258 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23260 ' <confdefs.h |
sed '
23261 s/'"$ac_delim"'/"\\\
23262 "/g' >>$CONFIG_STATUS || ac_write_fail
=1
23264 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23265 for (key in D) D_is_set[key] = 1
23268 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23270 split(line, arg, " ")
23271 if (arg[1] == "#") {
23275 defundef = substr(arg[1], 2)
23278 split(mac1, mac2, "(") #)
23280 prefix = substr(line, 1, index(line, defundef) - 1)
23281 if (D_is_set[macro]) {
23282 # Preserve the white space surrounding the "#".
23283 print prefix "define", macro P[macro] D[macro]
23286 # Replace #undef with comments. This is necessary, for example,
23287 # in the case of _POSIX_SOURCE, which is predefined and required
23288 # on some systems where configure will not decide to define it.
23289 if (defundef == "undef") {
23290 print "/*", prefix defundef, macro, "*/"
23298 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23299 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
23300 fi # test -n "$CONFIG_HEADERS"
23303 eval set X
" :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23308 :[FHLC
]) ac_mode
=$ac_tag; continue;;
23310 case $ac_mode$ac_tag in
23312 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
23313 :[FH
]-) ac_tag
=-:-;;
23314 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
23331 -) ac_f
="$ac_tmp/stdin";;
23332 *) # Look for the file first in the build tree, then in the source tree
23333 # (if the path is not absolute). The absolute path cannot be DOS-style,
23334 # because $ac_f cannot contain `:'.
23338 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
23340 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23342 case $ac_f in *\'*) ac_f
=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23343 as_fn_append ac_file_inputs
" '$ac_f'"
23346 # Let's still pretend it is `configure' which instantiates (i.e., don't
23347 # use $as_me), people would be surprised to read:
23348 # /* config.h. Generated by config.status. */
23349 configure_input
='Generated from '`
23350 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23352 if test x
"$ac_file" != x-
; then
23353 configure_input
="$ac_file. $configure_input"
23354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23355 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23357 # Neutralize special characters interpreted by sed in replacement strings.
23358 case $configure_input in #(
23359 *\
&* |
*\|
* |
*\\* )
23360 ac_sed_conf_input
=`printf "%s\n" "$configure_input" |
23361 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23362 *) ac_sed_conf_input
=$configure_input;;
23366 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
23367 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
23372 ac_dir
=`$as_dirname -- "$ac_file" ||
23373 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23374 X"$ac_file" : 'X\(//\)[^/]' \| \
23375 X"$ac_file" : 'X\(//\)$' \| \
23376 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23377 printf "%s\n" X"$ac_file" |
23378 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23382 /^X\(\/\/\)[^/].*/{
23395 as_dir
="$ac_dir"; as_fn_mkdir_p
23399 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23401 ac_dir_suffix
=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23402 # A ".." for each directory in $ac_dir_suffix.
23403 ac_top_builddir_sub
=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23404 case $ac_top_builddir_sub in
23405 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23406 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
23409 ac_abs_top_builddir
=$ac_pwd
23410 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
23411 # for backward compatibility:
23412 ac_top_builddir
=$ac_top_build_prefix
23415 .
) # We are building in place.
23417 ac_top_srcdir
=$ac_top_builddir_sub
23418 ac_abs_top_srcdir
=$ac_pwd ;;
23419 [\\/]* | ?
:[\\/]* ) # Absolute name.
23420 ac_srcdir
=$srcdir$ac_dir_suffix;
23421 ac_top_srcdir
=$srcdir
23422 ac_abs_top_srcdir
=$srcdir ;;
23423 *) # Relative name.
23424 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
23425 ac_top_srcdir
=$ac_top_build_prefix$srcdir
23426 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
23428 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
23437 if test x
"$ac_file" != x-
; then
23439 printf "%s\n" "/* $configure_input */" >&1 \
23440 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23441 } >"$ac_tmp/config.h" \
23442 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5
23443 if diff "$ac_file" "$ac_tmp/config.h" >/dev
/null
2>&1; then
23444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23445 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23448 mv "$ac_tmp/config.h" "$ac_file" \
23449 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5
23452 printf "%s\n" "/* $configure_input */" >&1 \
23453 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23454 || as_fn_error $?
"could not create -" "$LINENO" 5
23462 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23465 # Prefer the file from the source tree if names are identical.
23466 if test "$ac_source" = "$ac_file" ||
test ! -r "$ac_source"; then
23467 ac_source
=$srcdir/$ac_source
23470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23471 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23473 if test ! -r "$ac_source"; then
23474 as_fn_error $?
"$ac_source: file not found" "$LINENO" 5
23478 # Try a relative symlink, then a hard link, then a copy.
23480 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$ac_source ;;
23481 *) ac_rel_source
=$ac_top_build_prefix$ac_source ;;
23483 ln -s "$ac_rel_source" "$ac_file" 2>/dev
/null ||
23484 ln "$ac_source" "$ac_file" 2>/dev
/null ||
23485 cp -p "$ac_source" "$ac_file" ||
23486 as_fn_error $?
"cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23489 :C
) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23490 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23495 case $ac_file$ac_mode in
23496 "include/stamp-h":C
) echo timestamp
> include
/stamp-h
;;
23497 "tools/makedep":C
) wine_fn_output_makedep || as_fn_exit $?
;;
23498 "Makefile":C
) wine_fn_output_makefile Makefile
;;
23506 ac_clean_files
=$ac_clean_files_save
23508 test $ac_write_fail = 0 ||
23509 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
23512 # configure is writing to config.log, and then calls config.status.
23513 # config.status does its own redirection, appending to config.log.
23514 # Unfortunately, on DOS this fails, as config.log is still kept open
23515 # by configure, so config.status won't be able to write to it; its
23516 # output is simply discarded. So we exec the FD to /dev/null,
23517 # effectively closing config.log, so it can be properly (re)opened and
23518 # appended to by config.status. When coming back to configure, we
23519 # need to make the FD available again.
23520 if test "$no_create" != yes; then
23522 ac_config_status_args
=
23523 test "$silent" = yes &&
23524 ac_config_status_args
="$ac_config_status_args --quiet"
23526 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23528 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23529 # would make configure fail if this is the last instruction.
23530 $ac_cs_success || as_fn_exit
1
23532 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
23533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23534 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23538 if test "$no_create" = "yes"
23544 if test "x$wine_notices" != x
; then
23547 for msg
in $wine_notices; do
23553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23554 printf "%s\n" "$as_me: $msg" >&6;}
23559 for msg
in $wine_warnings; do
23566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23567 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23573 $as_me: Finished. Do '${ac_make}' to compile Wine.