2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 8.14.
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.14'
615 PACKAGE_STRING
='Wine 8.14'
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
707 WAYLAND_CLIENT_CFLAGS
753 SYSTEMCONFIGURATION_LIBS
757 APPLICATIONSERVICES_LIBS
770 WINEPRELOADER_LDFLAGS
802 x86_64_DISABLED_SUBDIRS
810 i386_DISABLED_SUBDIRS
826 aarch64_DISABLED_SUBDIRS
827 aarch64_DELAYLOADFLAG
891 program_transform_name
904 enable_option_checking
910 enable_maintainer_mode
989 enable_bcryptprimitives
1030 enable_d3dcompiler_33
1031 enable_d3dcompiler_34
1032 enable_d3dcompiler_35
1033 enable_d3dcompiler_36
1034 enable_d3dcompiler_37
1035 enable_d3dcompiler_38
1036 enable_d3dcompiler_39
1037 enable_d3dcompiler_40
1038 enable_d3dcompiler_41
1039 enable_d3dcompiler_42
1040 enable_d3dcompiler_43
1041 enable_d3dcompiler_46
1042 enable_d3dcompiler_47
1095 enable_directmanipulation
1132 enable_explorerframe
1149 enable_graphicscapture
1160 enable_hvsimanagementapi
1193 enable_light_msstyles
1198 enable_magnification
1209 enable_mfmediaengine
1274 enable_msvcp140_atomic_wait
1275 enable_msvcp140_codecvt_ids
1341 enable_photometadatahandler
1418 enable_threadpoolwinrt
1421 enable_twinapi_appcore
1425 enable_uiautomationcore
1445 enable_vcruntime140_1
1463 enable_windows_devices_bluetooth
1464 enable_windows_devices_enumeration
1465 enable_windows_devices_usb
1466 enable_windows_gaming_input
1467 enable_windows_gaming_ui_gamebar
1468 enable_windows_globalization
1469 enable_windows_media_devices
1470 enable_windows_media_speech
1471 enable_windows_media
1472 enable_windows_networking_hostname
1473 enable_windows_networking
1474 enable_windows_perception_stub
1475 enable_windows_system_profile_systemmanufacturers
1477 enable_windowscodecs
1478 enable_windowscodecsext
1480 enable_wineandroid_drv
1482 enable_winecoreaudio_drv
1485 enable_winegstreamer
1491 enable_winepulse_drv
1494 enable_winewayland_drv
1496 enable_winexinput_sys
1542 enable_xactengine2_0
1543 enable_xactengine2_4
1544 enable_xactengine2_7
1545 enable_xactengine2_9
1546 enable_xactengine3_0
1547 enable_xactengine3_1
1548 enable_xactengine3_2
1549 enable_xactengine3_3
1550 enable_xactengine3_4
1551 enable_xactengine3_5
1552 enable_xactengine3_6
1553 enable_xactengine3_7
1602 enable_wmcodecdspuuid
1611 enable_aspnet_regiis
1659 enable_presentationfontcache
1674 enable_servicemodelreg
1700 enable_winemenubuilder
1702 enable_winemsibuilder
1727 ac_precious_vars
='build_alias
1772 WAYLAND_CLIENT_CFLAGS
1814 # Initialize some variables set by options.
1816 ac_init_version
=false
1817 ac_unrecognized_opts
=
1818 ac_unrecognized_sep
=
1819 # The variables have the same names as the options, with
1820 # dashes changed to underlines.
1821 cache_file
=/dev
/null
1828 program_transform_name
=s
,x
,x
,
1836 # Installation directory options.
1837 # These are left unexpanded so users can "make install exec_prefix=/foo"
1838 # and all the variables that are supposed to be based on exec_prefix
1839 # by default will actually change.
1840 # Use braces instead of parens because sh, perl, etc. also accept them.
1841 # (The list follows the same order as the GNU Coding Standards.)
1842 bindir
='${exec_prefix}/bin'
1843 sbindir
='${exec_prefix}/sbin'
1844 libexecdir
='${exec_prefix}/libexec'
1845 datarootdir
='${prefix}/share'
1846 datadir
='${datarootdir}'
1847 sysconfdir
='${prefix}/etc'
1848 sharedstatedir
='${prefix}/com'
1849 localstatedir
='${prefix}/var'
1850 runstatedir
='${localstatedir}/run'
1851 includedir
='${prefix}/include'
1852 oldincludedir
='/usr/include'
1853 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1854 infodir
='${datarootdir}/info'
1859 libdir
='${exec_prefix}/lib'
1860 localedir
='${datarootdir}/locale'
1861 mandir
='${datarootdir}/man'
1867 # If the previous option needs an argument, assign it.
1868 if test -n "$ac_prev"; then
1869 eval $ac_prev=\
$ac_option
1875 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1880 case $ac_dashdash$ac_option in
1884 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1886 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1887 bindir
=$ac_optarg ;;
1889 -build |
--build |
--buil |
--bui |
--bu)
1890 ac_prev
=build_alias
;;
1891 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1892 build_alias
=$ac_optarg ;;
1894 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1895 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1896 ac_prev
=cache_file
;;
1897 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1898 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1899 cache_file
=$ac_optarg ;;
1901 --config-cache |
-C)
1902 cache_file
=config.cache
;;
1904 -datadir |
--datadir |
--datadi |
--datad)
1906 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1907 datadir
=$ac_optarg ;;
1909 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1910 |
--dataroo |
--dataro |
--datar)
1911 ac_prev
=datarootdir
;;
1912 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1913 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1914 datarootdir
=$ac_optarg ;;
1916 -disable-* |
--disable-*)
1917 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1918 # Reject names that are not valid shell variable names.
1919 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1920 as_fn_error $?
"invalid feature name: \`$ac_useropt'"
1921 ac_useropt_orig
=$ac_useropt
1922 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1923 case $ac_user_opts in
1925 "enable_
$ac_useropt"
1927 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1928 ac_unrecognized_sep
=', ';;
1930 eval enable_
$ac_useropt=no
;;
1932 -docdir |
--docdir |
--docdi |
--doc |
--do)
1934 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1935 docdir
=$ac_optarg ;;
1937 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1939 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1940 dvidir
=$ac_optarg ;;
1942 -enable-* |
--enable-*)
1943 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1944 # Reject names that are not valid shell variable names.
1945 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1946 as_fn_error $?
"invalid feature name: \`$ac_useropt'"
1947 ac_useropt_orig
=$ac_useropt
1948 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1949 case $ac_user_opts in
1951 "enable_
$ac_useropt"
1953 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1954 ac_unrecognized_sep
=', ';;
1956 eval enable_
$ac_useropt=\
$ac_optarg ;;
1958 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1959 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1960 |
--exec |
--exe |
--ex)
1961 ac_prev
=exec_prefix
;;
1962 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1963 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1964 |
--exec=* |
--exe=* |
--ex=*)
1965 exec_prefix
=$ac_optarg ;;
1967 -gas |
--gas |
--ga |
--g)
1968 # Obsolete; use --with-gas.
1971 -help |
--help |
--hel |
--he |
-h)
1972 ac_init_help
=long
;;
1973 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1974 ac_init_help
=recursive
;;
1975 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1976 ac_init_help
=short
;;
1978 -host |
--host |
--hos |
--ho)
1979 ac_prev
=host_alias
;;
1980 -host=* |
--host=* |
--hos=* |
--ho=*)
1981 host_alias
=$ac_optarg ;;
1983 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1985 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1987 htmldir
=$ac_optarg ;;
1989 -includedir |
--includedir |
--includedi |
--included |
--include \
1990 |
--includ |
--inclu |
--incl |
--inc)
1991 ac_prev
=includedir
;;
1992 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1993 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1994 includedir
=$ac_optarg ;;
1996 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1998 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1999 infodir
=$ac_optarg ;;
2001 -libdir |
--libdir |
--libdi |
--libd)
2003 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
2004 libdir
=$ac_optarg ;;
2006 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
2007 |
--libexe |
--libex |
--libe)
2008 ac_prev
=libexecdir
;;
2009 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
2010 |
--libexe=* |
--libex=* |
--libe=*)
2011 libexecdir
=$ac_optarg ;;
2013 -localedir |
--localedir |
--localedi |
--localed |
--locale)
2014 ac_prev
=localedir
;;
2015 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
2016 localedir
=$ac_optarg ;;
2018 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
2019 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
2020 ac_prev
=localstatedir
;;
2021 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
2022 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
2023 localstatedir
=$ac_optarg ;;
2025 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
2027 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
2028 mandir
=$ac_optarg ;;
2030 -nfp |
--nfp |
--nf)
2031 # Obsolete; use --without-fp.
2034 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
2035 |
--no-cr |
--no-c |
-n)
2038 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
2039 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
2042 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
2043 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
2044 |
--oldin |
--oldi |
--old |
--ol |
--o)
2045 ac_prev
=oldincludedir
;;
2046 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
2047 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
2048 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
2049 oldincludedir
=$ac_optarg ;;
2051 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
2053 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
2054 prefix
=$ac_optarg ;;
2056 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
2057 |
--program-pre |
--program-pr |
--program-p)
2058 ac_prev
=program_prefix
;;
2059 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
2060 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
2061 program_prefix
=$ac_optarg ;;
2063 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
2064 |
--program-suf |
--program-su |
--program-s)
2065 ac_prev
=program_suffix
;;
2066 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
2067 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
2068 program_suffix
=$ac_optarg ;;
2070 -program-transform-name |
--program-transform-name \
2071 |
--program-transform-nam |
--program-transform-na \
2072 |
--program-transform-n |
--program-transform- \
2073 |
--program-transform |
--program-transfor \
2074 |
--program-transfo |
--program-transf \
2075 |
--program-trans |
--program-tran \
2076 |
--progr-tra |
--program-tr |
--program-t)
2077 ac_prev
=program_transform_name
;;
2078 -program-transform-name=* |
--program-transform-name=* \
2079 |
--program-transform-nam=* |
--program-transform-na=* \
2080 |
--program-transform-n=* |
--program-transform-=* \
2081 |
--program-transform=* |
--program-transfor=* \
2082 |
--program-transfo=* |
--program-transf=* \
2083 |
--program-trans=* |
--program-tran=* \
2084 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
2085 program_transform_name
=$ac_optarg ;;
2087 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
2089 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
2090 pdfdir
=$ac_optarg ;;
2092 -psdir |
--psdir |
--psdi |
--psd |
--ps)
2094 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
2097 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2098 |
-silent |
--silent |
--silen |
--sile |
--sil)
2101 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
2102 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
2103 |
--run |
--ru |
--r)
2104 ac_prev
=runstatedir
;;
2105 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
2106 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
2107 |
--run=* |
--ru=* |
--r=*)
2108 runstatedir
=$ac_optarg ;;
2110 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
2112 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
2114 sbindir
=$ac_optarg ;;
2116 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
2117 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
2118 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
2120 ac_prev
=sharedstatedir
;;
2121 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
2122 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
2123 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
2125 sharedstatedir
=$ac_optarg ;;
2127 -site |
--site |
--sit)
2129 -site=* |
--site=* |
--sit=*)
2132 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
2134 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
2135 srcdir
=$ac_optarg ;;
2137 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
2138 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
2139 ac_prev
=sysconfdir
;;
2140 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
2141 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
2142 sysconfdir
=$ac_optarg ;;
2144 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
2145 ac_prev
=target_alias
;;
2146 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
2147 target_alias
=$ac_optarg ;;
2149 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
2152 -version |
--version |
--versio |
--versi |
--vers |
-V)
2153 ac_init_version
=: ;;
2156 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2157 # Reject names that are not valid shell variable names.
2158 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2159 as_fn_error $?
"invalid package name: \`$ac_useropt'"
2160 ac_useropt_orig
=$ac_useropt
2161 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2162 case $ac_user_opts in
2166 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2167 ac_unrecognized_sep
=', ';;
2169 eval with_
$ac_useropt=\
$ac_optarg ;;
2171 -without-* |
--without-*)
2172 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2173 # Reject names that are not valid shell variable names.
2174 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2175 as_fn_error $?
"invalid package name: \`$ac_useropt'"
2176 ac_useropt_orig
=$ac_useropt
2177 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2178 case $ac_user_opts in
2182 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2183 ac_unrecognized_sep
=', ';;
2185 eval with_
$ac_useropt=no
;;
2188 # Obsolete; use --with-x.
2191 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
2192 |
--x-incl |
--x-inc |
--x-in |
--x-i)
2193 ac_prev
=x_includes
;;
2194 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
2195 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
2196 x_includes
=$ac_optarg ;;
2198 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
2199 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
2200 ac_prev
=x_libraries
;;
2201 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
2202 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
2203 x_libraries
=$ac_optarg ;;
2205 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
2206 Try \`$0 --help' for more information"
2210 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
2211 # Reject names that are not valid shell variable names.
2212 case $ac_envvar in #(
2213 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
2214 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
2216 eval $ac_envvar=\
$ac_optarg
2217 export $ac_envvar ;;
2220 # FIXME: should be removed in autoconf 3.0.
2221 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2222 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
2223 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2224 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2230 if test -n "$ac_prev"; then
2231 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
2232 as_fn_error $?
"missing argument to $ac_option"
2235 if test -n "$ac_unrecognized_opts"; then
2236 case $enable_option_checking in
2238 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
2239 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2243 # Check all directory arguments for consistency.
2244 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2245 datadir sysconfdir sharedstatedir localstatedir includedir \
2246 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2247 libdir localedir mandir runstatedir
2249 eval ac_val
=\$
$ac_var
2250 # Remove trailing slashes.
2253 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2254 eval $ac_var=\
$ac_val;;
2256 # Be sure to have absolute directory names.
2258 [\\/$
]* | ?
:[\\/]* ) continue;;
2259 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
2261 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
2264 # There might be people who depend on the old broken behavior: `$host'
2265 # used to hold the argument of --host etc.
2266 # FIXME: To remove some day.
2269 target
=$target_alias
2271 # FIXME: To remove some day.
2272 if test "x$host_alias" != x
; then
2273 if test "x$build_alias" = x
; then
2274 cross_compiling
=maybe
2275 elif test "x$build_alias" != "x$host_alias"; then
2281 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
2283 test "$silent" = yes && exec 6>/dev
/null
2286 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
2287 ac_ls_di
=`ls -di .` &&
2288 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
2289 as_fn_error $?
"working directory cannot be determined"
2290 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2291 as_fn_error $?
"pwd does not report name of working directory"
2294 # Find the source files, if location was not specified.
2295 if test -z "$srcdir"; then
2296 ac_srcdir_defaulted
=yes
2297 # Try the directory containing this script, then the parent directory.
2298 ac_confdir
=`$as_dirname -- "$as_myself" ||
2299 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2300 X"$as_myself" : 'X\(//\)[^/]' \| \
2301 X"$as_myself" : 'X\(//\)$' \| \
2302 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2303 printf "%s\n" X"$as_myself" |
2304 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2322 if test ! -r "$srcdir/$ac_unique_file"; then
2326 ac_srcdir_defaulted
=no
2328 if test ! -r "$srcdir/$ac_unique_file"; then
2329 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
2330 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
2332 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
2334 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2336 # When building in place, set srcdir=.
2337 if test "$ac_abs_confdir" = "$ac_pwd"; then
2340 # Remove unnecessary trailing slashes from srcdir.
2341 # Double slashes in file names in object file debugging info
2342 # mess up M-x gdb in Emacs.
2344 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2346 for ac_var
in $ac_precious_vars; do
2347 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
2348 eval ac_env_
${ac_var}_value
=\$
${ac_var}
2349 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
2350 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2354 # Report the --help message.
2356 if test "$ac_init_help" = "long"; then
2357 # Omit some internal or obsolete options to make the list less imposing.
2358 # This message is too long to be a string in the A/UX 3.1 sh.
2360 \`configure' configures Wine 8.14 to adapt to many kinds of systems.
2362 Usage: $0 [OPTION]... [VAR=VALUE]...
2364 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2365 VAR=VALUE. See below for descriptions of some of the useful variables.
2367 Defaults for the options are specified in brackets.
2370 -h, --help display this help and exit
2371 --help=short display options specific to this package
2372 --help=recursive display the short help of all the included packages
2373 -V, --version display version information and exit
2374 -q, --quiet, --silent do not print \`checking ...' messages
2375 --cache-file=FILE cache test results in FILE [disabled]
2376 -C, --config-cache alias for \`--cache-file=config.cache'
2377 -n, --no-create do not create output files
2378 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2380 Installation directories:
2381 --prefix=PREFIX install architecture-independent files in PREFIX
2382 [$ac_default_prefix]
2383 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2386 By default, \`make install' will install all the files in
2387 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2388 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2389 for instance \`--prefix=\$HOME'.
2391 For better control, use the options below.
2393 Fine tuning of the installation directories:
2394 --bindir=DIR user executables [EPREFIX/bin]
2395 --sbindir=DIR system admin executables [EPREFIX/sbin]
2396 --libexecdir=DIR program executables [EPREFIX/libexec]
2397 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2398 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2399 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2400 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2401 --libdir=DIR object code libraries [EPREFIX/lib]
2402 --includedir=DIR C header files [PREFIX/include]
2403 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2404 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2405 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2406 --infodir=DIR info documentation [DATAROOTDIR/info]
2407 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2408 --mandir=DIR man documentation [DATAROOTDIR/man]
2409 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2410 --htmldir=DIR html documentation [DOCDIR]
2411 --dvidir=DIR dvi documentation [DOCDIR]
2412 --pdfdir=DIR pdf documentation [DOCDIR]
2413 --psdir=DIR ps documentation [DOCDIR]
2419 --x-includes=DIR X include files are
in DIR
2420 --x-libraries=DIR X library files are
in DIR
2423 --build=BUILD configure
for building on BUILD
[guessed
]
2424 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2428 if test -n "$ac_init_help"; then
2429 case $ac_init_help in
2430 short | recursive
) echo "Configuration of Wine 8.14:";;
2435 --disable-option-checking ignore unrecognized
--enable/--with options
2436 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2437 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2438 --enable-archs={i386
,x86_64
,arm
,aarch64
}
2439 enable multiple architectures
for PE compilation
2440 --disable-win16 do not include Win16 support
2441 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2443 --disable-tests do not build the regression tests
2444 --enable-build-id include .buildid section in output objects
2445 --enable-maintainer-mode
2446 enable maintainer-specific build rules
2447 --enable-silent-rules use silent build rules (override: "make V=1")
2448 --enable-werror treat compilation warnings as errors
2449 --disable-largefile omit support for large files
2452 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2453 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2454 --without-alsa do not use the Alsa sound support
2455 --without-capi do not use CAPI (ISDN support)
2456 --without-coreaudio do not use the CoreAudio sound support
2457 --without-cups do not use CUPS
2458 --without-dbus do not use DBus (dynamic device support)
2459 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2460 --without-fontconfig do not use fontconfig
2461 --without-freetype do not use the FreeType library
2462 --without-gettext do not use gettext
2463 --with-gettextpo use the GetTextPO library to rebuild po files
2464 --without-gphoto do not use gphoto (Digital Camera support)
2465 --without-gnutls do not use GnuTLS (schannel support)
2466 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2467 --without-gstreamer do not use GStreamer (codecs support)
2468 --without-inotify do not use inotify (filesystem change notifications)
2469 --without-krb5 do not use krb5 (Kerberos)
2470 --without-mingw do not use the MinGW cross-compiler
2471 --without-netapi do not use the Samba NetAPI library
2472 --without-opencl do not use OpenCL
2473 --without-opengl do not use OpenGL
2474 --without-osmesa do not use the OSMesa library
2475 --without-oss do not use the OSS sound support
2476 --without-pcap do not use the Packet Capture library
2477 --without-pcsclite do not use PCSC lite
2478 --without-pthread do not use the pthread library
2479 --without-pulse do not use PulseAudio sound support
2480 --without-sane do not use SANE (scanner support)
2481 --without-sdl do not use SDL
2482 --without-udev do not use udev (plug and play support)
2483 --without-unwind do not use the libunwind library (exception
2485 --without-usb do not use the libusb library
2486 --without-v4l2 do not use v4l2 (video capture)
2487 --without-vulkan do not use Vulkan
2488 --without-wayland do not build the Wayland driver
2489 --without-xcomposite do not use the Xcomposite extension
2490 --without-xcursor do not use the Xcursor extension
2491 --without-xfixes do not use Xfixes for clipboard change notifications
2492 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2493 --without-xinput do not use the Xinput extension
2494 --without-xinput2 do not use the Xinput 2 extension
2495 --without-xrandr do not use Xrandr (multi-monitor support)
2496 --without-xrender do not use the Xrender extension
2497 --without-xshape do not use the Xshape extension
2498 --without-xshm do not use XShm (shared memory extension)
2499 --without-xxf86vm do not use XFree video mode extension
2500 --with-system-dllpath=PATH
2501 load external PE dependencies from colon-separated
2503 --with-wine-tools=DIR use Wine tools from directory DIR
2504 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2505 --with-x use the X Window System
2507 Some influential environment variables:
2508 CC C compiler command
2509 CFLAGS C compiler flags
2510 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2511 nonstandard directory <lib dir>
2512 LIBS libraries to pass to the linker, e.g. -l<library>
2513 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2514 you have headers in a nonstandard directory <include dir>
2515 CXX C++ compiler command
2516 CXXFLAGS C++ compiler flags
2517 OBJC Objective C compiler command
2518 OBJCFLAGS Objective C compiler flags
2520 C compiler flags for the PE faudio, overriding the bundled
2523 Linker flags for the PE faudio, overriding the bundled version
2525 C compiler flags for the PE gsm, overriding the bundled version
2526 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2528 C compiler flags for the PE jpeg, overriding the bundled version
2530 Linker flags for the PE jpeg, overriding the bundled version
2532 C compiler flags for the PE jxr, overriding the bundled version
2533 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2535 C compiler flags for the PE lcms2, overriding the bundled
2538 Linker flags for the PE lcms2, overriding the bundled version
2540 C compiler flags for the PE ldap, overriding the bundled version
2542 Linker flags for the PE ldap, overriding the bundled version
2544 C compiler flags for the PE mpg123, overriding the bundled
2547 Linker flags for the PE mpg123, overriding the bundled version
2549 C compiler flags for the PE musl, overriding the bundled version
2551 Linker flags for the PE musl, overriding the bundled version
2553 C compiler flags for the PE png, overriding the bundled version
2554 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2556 C compiler flags for the PE tiff, overriding the bundled version
2558 Linker flags for the PE tiff, overriding the bundled version
2560 C compiler flags for the PE vkd3d, overriding the bundled
2563 Linker flags for the PE vkd3d, overriding the bundled version
2565 C compiler flags for the PE xml2, overriding the bundled version
2567 Linker flags for the PE xml2, overriding the bundled version
2569 C compiler flags for the PE xslt, overriding the bundled version
2571 Linker flags for the PE xslt, overriding the bundled version
2573 C compiler flags for the PE zlib, overriding the bundled version
2575 Linker flags for the PE zlib, overriding the bundled version
2577 C compiler flags for the PE zydis, overriding the bundled
2580 Linker flags for the PE zydis, overriding the bundled version
2581 XMKMF Path to xmkmf, Makefile generator for X Window System
2583 WAYLAND_CLIENT_CFLAGS
2584 C compiler flags for wayland-client, overriding pkg-config
2586 Linker flags for wayland-client, overriding pkg-config
2588 C compiler flags for libinotify, overriding pkg-config
2590 Linker flags for libinotify, overriding pkg-config
2591 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2592 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2594 C compiler flags for gnutls, overriding pkg-config
2595 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2596 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2597 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2598 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2599 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2601 C compiler flags for libgphoto2, overriding pkg-config
2603 Linker flags for libgphoto2, overriding pkg-config
2605 C compiler flags for libgphoto2_port, overriding pkg-config
2607 Linker flags for libgphoto2_port, overriding pkg-config
2609 C compiler flags for freetype2, overriding pkg-config
2611 Linker flags for freetype2, overriding pkg-config
2613 C compiler flags for libpulse, overriding pkg-config
2614 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2616 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2617 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2619 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2620 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2621 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2622 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2624 C compiler flags for libunwind, overriding pkg-config
2625 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2626 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2627 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2629 C compiler flags for capi20, overriding pkg-config
2630 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2631 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2632 CUPS_LIBS Linker flags for cups, overriding pkg-config
2634 C compiler flags for fontconfig, overriding pkg-config
2636 Linker flags for fontconfig, overriding pkg-config
2637 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2638 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2640 C compiler flags for krb5-gssapi, overriding pkg-config
2641 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2643 C compiler flags for netapi, overriding pkg-config
2644 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2646 Use these variables to override the choices made by `configure' or to
help
2647 it to
find libraries and programs with nonstandard names
/locations.
2649 Report bugs to
<wine-devel@winehq.org
>.
2650 Wine home page
: <https
://www.winehq.org
>.
2655 if test "$ac_init_help" = "recursive"; then
2656 # If there are subdirs, report their specific --help.
2657 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2658 test -d "$ac_dir" ||
2659 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2664 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2666 ac_dir_suffix
=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2667 # A ".." for each directory in $ac_dir_suffix.
2668 ac_top_builddir_sub
=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2669 case $ac_top_builddir_sub in
2670 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2671 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2674 ac_abs_top_builddir
=$ac_pwd
2675 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2676 # for backward compatibility:
2677 ac_top_builddir
=$ac_top_build_prefix
2680 .
) # We are building in place.
2682 ac_top_srcdir
=$ac_top_builddir_sub
2683 ac_abs_top_srcdir
=$ac_pwd ;;
2684 [\\/]* | ?
:[\\/]* ) # Absolute name.
2685 ac_srcdir
=$srcdir$ac_dir_suffix;
2686 ac_top_srcdir
=$srcdir
2687 ac_abs_top_srcdir
=$srcdir ;;
2689 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2690 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2691 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2693 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2695 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2696 # Check for configure.gnu first; this name is used for a wrapper for
2697 # Metaconfig's "Configure" on case-insensitive file systems.
2698 if test -f "$ac_srcdir/configure.gnu"; then
2700 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2701 elif test -f "$ac_srcdir/configure"; then
2703 $SHELL "$ac_srcdir/configure" --help=recursive
2705 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2707 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2711 test -n "$ac_init_help" && exit $ac_status
2712 if $ac_init_version; then
2715 generated by GNU Autoconf
2.71
2717 Copyright
(C
) 2021 Free Software Foundation
, Inc.
2718 This configure
script is free software
; the Free Software Foundation
2719 gives unlimited permission to copy
, distribute and modify it.
2724 ## ------------------------ ##
2725 ## Autoconf initialization. ##
2726 ## ------------------------ ##
2728 # ac_fn_c_try_compile LINENO
2729 # --------------------------
2730 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2731 ac_fn_c_try_compile
()
2733 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2734 rm -f conftest.
$ac_objext conftest.beam
2735 if { { ac_try
="$ac_compile"
2737 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2738 *) ac_try_echo=$ac_try;;
2740 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2741 printf "%s\n" "$ac_try_echo"; } >&5
2742 (eval "$ac_compile") 2>conftest.err
2744 if test -s conftest.err; then
2745 grep -v '^ *+' conftest.err >conftest.er1
2746 cat conftest.er1 >&5
2747 mv -f conftest.er1 conftest.err
2749 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2750 test $ac_status = 0; } && {
2751 test -z "$ac_c_werror_flag" ||
2752 test ! -s conftest.err
2753 } && test -s conftest.$ac_objext
2757 printf "%s\n" "$as_me: failed program was:" >&5
2758 sed 's/^/| /' conftest.$ac_ext >&5
2762 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2763 as_fn_set_status $ac_retval
2765 } # ac_fn_c_try_compile
2767 # ac_fn_cxx_try_compile LINENO
2768 # ----------------------------
2769 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2770 ac_fn_cxx_try_compile ()
2772 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2773 rm -f conftest.$ac_objext conftest.beam
2774 if { { ac_try="$ac_compile"
2776 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2777 *) ac_try_echo
=$ac_try;;
2779 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2780 printf "%s\n" "$ac_try_echo"; } >&5
2781 (eval "$ac_compile") 2>conftest.err
2783 if test -s conftest.err
; then
2784 grep -v '^ *+' conftest.err
>conftest.er1
2785 cat conftest.er1
>&5
2786 mv -f conftest.er1 conftest.err
2788 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2789 test $ac_status = 0; } && {
2790 test -z "$ac_cxx_werror_flag" ||
2791 test ! -s conftest.err
2792 } && test -s conftest.
$ac_objext
2796 printf "%s\n" "$as_me: failed program was:" >&5
2797 sed 's/^/| /' conftest.
$ac_ext >&5
2801 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2802 as_fn_set_status
$ac_retval
2804 } # ac_fn_cxx_try_compile
2806 # ac_fn_c_try_link LINENO
2807 # -----------------------
2808 # Try to link conftest.$ac_ext, and return whether this succeeded.
2811 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2812 rm -f conftest.
$ac_objext conftest.beam conftest
$ac_exeext
2813 if { { ac_try
="$ac_link"
2815 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2816 *) ac_try_echo=$ac_try;;
2818 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2819 printf "%s\n" "$ac_try_echo"; } >&5
2820 (eval "$ac_link") 2>conftest.err
2822 if test -s conftest.err; then
2823 grep -v '^ *+' conftest.err >conftest.er1
2824 cat conftest.er1 >&5
2825 mv -f conftest.er1 conftest.err
2827 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2828 test $ac_status = 0; } && {
2829 test -z "$ac_c_werror_flag" ||
2830 test ! -s conftest.err
2831 } && test -s conftest$ac_exeext && {
2832 test "$cross_compiling" = yes ||
2833 test -x conftest$ac_exeext
2838 printf "%s\n" "$as_me: failed program was:" >&5
2839 sed 's/^/| /' conftest.$ac_ext >&5
2843 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2844 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2845 # interfere with the next link command; also delete a directory that is
2846 # left behind by Apple's compiler. We do this before executing the actions.
2847 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2848 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2849 as_fn_set_status $ac_retval
2851 } # ac_fn_c_try_link
2853 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2854 # -------------------------------------------------------
2855 # Tests whether HEADER exists and can be compiled using the include files in
2856 # INCLUDES, setting the cache variable VAR accordingly.
2857 ac_fn_c_check_header_compile ()
2859 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2861 printf %s "checking for $2... " >&6; }
2862 if eval test \${$3+y}
2864 printf %s "(cached) " >&6
2866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2867 /* end confdefs.h. */
2871 if ac_fn_c_try_compile "$LINENO"
2877 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2881 printf "%s\n" "$ac_res" >&6; }
2882 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2884 } # ac_fn_c_check_header_compile
2886 # ac_fn_objc_try_compile LINENO
2887 # -----------------------------
2888 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2889 ac_fn_objc_try_compile ()
2891 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2892 rm -f conftest.$ac_objext conftest.beam
2893 if { { ac_try="$ac_compile"
2895 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2896 *) ac_try_echo
=$ac_try;;
2898 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2899 printf "%s\n" "$ac_try_echo"; } >&5
2900 (eval "$ac_compile") 2>conftest.err
2902 if test -s conftest.err
; then
2903 grep -v '^ *+' conftest.err
>conftest.er1
2904 cat conftest.er1
>&5
2905 mv -f conftest.er1 conftest.err
2907 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2908 test $ac_status = 0; } && {
2909 test -z "$ac_objc_werror_flag" ||
2910 test ! -s conftest.err
2911 } && test -s conftest.
$ac_objext
2915 printf "%s\n" "$as_me: failed program was:" >&5
2916 sed 's/^/| /' conftest.
$ac_ext >&5
2920 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2921 as_fn_set_status
$ac_retval
2923 } # ac_fn_objc_try_compile
2925 # ac_fn_c_check_func LINENO FUNC VAR
2926 # ----------------------------------
2927 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2928 ac_fn_c_check_func
()
2930 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2932 printf %s
"checking for $2... " >&6; }
2933 if eval test \
${$3+y}
2935 printf %s
"(cached) " >&6
2937 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2938 /* end confdefs.h. */
2939 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2940 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2941 #define $2 innocuous_$2
2943 /* System header to define __stub macros and hopefully few prototypes,
2944 which can conflict with char $2 (); below. */
2949 /* Override any GCC internal prototype to avoid an error.
2950 Use char because int might match the return type of a GCC
2951 builtin and then its argument prototype would still apply. */
2956 /* The GNU C library defines this for functions which it implements
2957 to always fail with ENOSYS. Some functions are actually named
2958 something starting with __ and the normal name is an alias. */
2959 #if defined __stub_$2 || defined __stub___$2
2971 if ac_fn_c_try_link
"$LINENO"
2977 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
2978 conftest
$ac_exeext conftest.
$ac_ext
2981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2982 printf "%s\n" "$ac_res" >&6; }
2983 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2985 } # ac_fn_c_check_func
2987 # ac_fn_c_try_cpp LINENO
2988 # ----------------------
2989 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2992 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2993 if { { ac_try
="$ac_cpp conftest.$ac_ext"
2995 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2996 *) ac_try_echo=$ac_try;;
2998 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2999 printf "%s\n" "$ac_try_echo"; } >&5
3000 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3002 if test -s conftest.err; then
3003 grep -v '^ *+' conftest.err >conftest.er1
3004 cat conftest.er1 >&5
3005 mv -f conftest.er1 conftest.err
3007 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3008 test $ac_status = 0; } > conftest.i && {
3009 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3010 test ! -s conftest.err
3015 printf "%s\n" "$as_me: failed program was:" >&5
3016 sed 's/^/| /' conftest.$ac_ext >&5
3020 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3021 as_fn_set_status $ac_retval
3025 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3026 # ----------------------------------------------------
3027 # Tries to find if the field MEMBER exists in type AGGR, after including
3028 # INCLUDES, setting cache variable VAR accordingly.
3029 ac_fn_c_check_member ()
3031 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3033 printf %s "checking for $2.$3... " >&6; }
3034 if eval test \${$4+y}
3036 printf %s "(cached) " >&6
3038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3039 /* end confdefs.h. */
3051 if ac_fn_c_try_compile "$LINENO"
3055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3056 /* end confdefs.h. */
3062 if (sizeof ac_aggr.$3)
3068 if ac_fn_c_try_compile "$LINENO"
3074 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3076 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3080 printf "%s\n" "$ac_res" >&6; }
3081 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3083 } # ac_fn_c_check_member
3085 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3086 # -------------------------------------------
3087 # Tests whether TYPE exists after having included INCLUDES, setting cache
3088 # variable VAR accordingly.
3089 ac_fn_c_check_type ()
3091 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3093 printf %s "checking for $2... " >&6; }
3094 if eval test \${$3+y}
3096 printf %s "(cached) " >&6
3099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3100 /* end confdefs.h. */
3111 if ac_fn_c_try_compile "$LINENO"
3113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3114 /* end confdefs.h. */
3125 if ac_fn_c_try_compile "$LINENO"
3131 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3133 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3137 printf "%s\n" "$ac_res" >&6; }
3138 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3140 } # ac_fn_c_check_type
3141 ac_configure_args_raw=
3146 ac_arg=`printf "%s\n" "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
3148 as_fn_append ac_configure_args_raw " '$ac_arg'"
3151 case $ac_configure_args_raw in
3155 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3156 ac_unsafe_a="$ac_unsafe_z#~
"
3157 ac_safe_unquote="s
/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g
"
3158 ac_configure_args_raw=` printf "%s
\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3161 cat >config.log <<_ACEOF
3162 This file contains any messages produced by compilers while
3163 running configure, to aid debugging if configure makes a mistake.
3165 It was created by Wine $as_me 8.14, which was
3166 generated by GNU Autoconf 2.71. Invocation command line was
3168 $ $0$ac_configure_args_raw
3178 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3179 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3180 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3181 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3182 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3184 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3185 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3187 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3188 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3189 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3190 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3191 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3192 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3193 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3201 case $as_dir in #(((
3204 *) as_dir=$as_dir/ ;;
3206 printf "%s
\n" "PATH
: $as_dir"
3222 # Keep a trace of the command line.
3223 # Strip out --no-create and --no-recursion so they do not pile up.
3224 # Strip out --silent because we don't want to record it for future runs.
3225 # Also quote any args containing shell meta-characters.
3226 # Make two passes to allow for proper duplicate-argument suppression.
3230 ac_must_keep_next=false
3236 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3237 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3238 | -silent | --silent | --silen | --sile | --sil)
3241 ac_arg=`printf "%s
\n" "$ac_arg" | sed "s
/'/'\\\\\\\\''/g
"` ;;
3244 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3246 as_fn_append ac_configure_args1 " '$ac_arg'"
3247 if test $ac_must_keep_next = true; then
3248 ac_must_keep_next=false # Got value, back to normal.
3251 *=* | --config-cache | -C | -disable-* | --disable-* \
3252 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3253 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3254 | -with-* | --with-* | -without-* | --without-* | --x)
3255 case "$ac_configure_args0 " in
3256 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3259 -* ) ac_must_keep_next=true ;;
3262 as_fn_append ac_configure_args " '$ac_arg'"
3267 { ac_configure_args0=; unset ac_configure_args0;}
3268 { ac_configure_args1=; unset ac_configure_args1;}
3270 # When interrupted or exit'd, cleanup temporary files, and complete
3271 # config.log. We remove comments because anyway the quotes in there
3272 # would cause problems or look ugly.
3273 # WARNING: Use '\'' to represent an apostrophe within the trap.
3274 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3275 trap 'exit_status=$?
3278 # Save into config.log some information that might help in debugging.
3282 printf "%s
\n" "## ---------------- ##
3283 ## Cache variables. ##
3284 ## ---------------- ##"
3286 # The following way of writing the cache mishandles newlines in values,
3288 for ac_var
in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3289 eval ac_val
=\$
$ac_var
3293 *_cv_
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3294 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3297 _ | IFS | as_nl
) ;; #(
3298 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
3299 *) { eval $ac_var=; unset $ac_var;} ;;
3304 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3305 *${as_nl}ac_space
=\
*)
3307 "s/'\''/'\''\\\\'\'''\''/g;
3308 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3311 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3318 printf "%s\n" "## ----------------- ##
3319 ## Output variables. ##
3320 ## ----------------- ##"
3322 for ac_var
in $ac_subst_vars
3324 eval ac_val
=\$
$ac_var
3326 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3328 printf "%s\n" "$ac_var='\''$ac_val'\''"
3332 if test -n "$ac_subst_files"; then
3333 printf "%s\n" "## ------------------- ##
3334 ## File substitutions. ##
3335 ## ------------------- ##"
3337 for ac_var in $ac_subst_files
3339 eval ac_val=\$$ac_var
3341 *\'\''*) ac_val
=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3343 printf "%s\n" "$ac_var='\''$ac_val'\''"
3348 if test -s confdefs.h
; then
3349 printf "%s\n" "## ----------- ##
3356 test "$ac_signal" != 0 &&
3357 printf "%s\n" "$as_me: caught signal $ac_signal"
3358 printf "%s\n" "$as_me: exit $exit_status"
3360 rm -f core
*.core core.conftest.
* &&
3361 rm -f -r conftest
* confdefs
* conf$$
* $ac_clean_files &&
3364 for ac_signal in 1 2 13 15; do
3365 trap 'ac_signal
='$ac_signal'; as_fn_exit
1' $ac_signal
3369 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3370 rm -f -r conftest* confdefs.h
3372 printf "%s\n" "/* confdefs.h */" > confdefs.h
3374 # Predefined preprocessor variables.
3376 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3378 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3380 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3382 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3384 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3386 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3389 # Let the site file select an alternate cache file if it wants to.
3390 # Prefer an explicitly selected file to automatically selected ones.
3391 if test -n "$CONFIG_SITE"; then
3392 ac_site_files="$CONFIG_SITE"
3393 elif test "x$prefix" != xNONE; then
3394 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3396 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3399 for ac_site_file in $ac_site_files
3401 case $ac_site_file in #(
3405 ac_site_file=./$ac_site_file ;;
3407 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3409 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3410 sed 's
/^
/|
/' "$ac_site_file" >&5
3412 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3413 printf "%s
\n" "$as_me: error
: in \
`$ac_pwd':" >&2;}
3414 as_fn_error $? "failed to load site script $ac_site_file
3415 See \`config.log
' for more details" "$LINENO" 5; }
3419 if test -r "$cache_file"; then
3420 # Some versions of bash will fail to source /dev/null (special files
3421 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3422 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3424 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3426 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3427 *) . "./$cache_file";;
3431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3432 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3436 # Test code for whether the C compiler supports C89 (global declarations)
3437 ac_c_conftest_c89_globals='
3438 /* Does the compiler advertise C89 conformance?
3439 Do not
test the value of __STDC__
, because some compilers
set it to
0
3440 while being otherwise adequately conformant.
*/
3441 #if !defined __STDC__
3442 # error "Compiler does not advertise C89 conformance"
3448 /* Most of the following tests are stolen from RCS
5.7 src
/conf.sh.
*/
3449 struct buf
{ int x
; };
3450 struct buf
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
3451 static char
*e
(p
, i
)
3457 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
3462 s
= g
(p
, va_arg
(v
,int
));
3467 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
3468 function prototypes and stuff
, but not \xHH hex character constants.
3469 These
do not provoke an error unfortunately
, instead are silently treated
3470 as an
"x". The following induces an error
, until -std is added to get
3471 proper ANSI mode. Curiously
\x00 != x always comes out true
, for an
3472 array size
at least. It is necessary to
write \x00 == 0 to get something
3473 that is true only with
-std.
*/
3474 int osf4_cc_array
['\''\x00'\'' == 0 ?
1 : -1];
3476 /* IBM C
6 for AIX is almost-ANSI by default
, but it replaces macro parameters
3477 inside
strings and character constants.
*/
3478 #define FOO(x) '\''x'\''
3479 int xlc6_cc_array
[FOO
(a
) == '\''x
'\'' ?
1 : -1];
3481 int
test (int i
, double x
);
3482 struct s1
{int
(*f
) (int a
);};
3483 struct s2
{int
(*f
) (double a
);};
3484 int pairnames
(int
, char
**, int
*(*)(struct buf
*, struct stat
*, int
),
3487 # Test code for whether the C compiler supports C89 (body of main).
3488 ac_c_conftest_c89_main='
3489 ok |
= (argc
== 0 || f
(e
, argv
, 0) != argv
[0] || f
(e
, argv
, 1) != argv
[1]);
3492 # Test code for whether the C compiler supports C99 (global declarations)
3493 ac_c_conftest_c99_globals='
3494 // Does the compiler advertise C99 conformance?
3495 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3496 # error "Compiler does not advertise C99 conformance"
3499 #include <stdbool.h>
3500 extern int puts
(const char
*);
3501 extern int
printf (const char
*, ...
);
3502 extern int dprintf
(int
, const char
*, ...
);
3503 extern void
*malloc
(size_t
);
3505 // Check varargs macros. These examples are taken from C99
6.10.3.5.
3506 // dprintf is used instead of fprintf to avoid needing to
declare
3508 #define debug(...) dprintf (2, __VA_ARGS__)
3509 #define showlist(...) puts (#__VA_ARGS__)
3510 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3512 test_varargs_macros
(void
)
3517 debug
("X = %d\n", x
);
3518 showlist
(The first
, second
, and third items.
);
3519 report
(x
>y
, "x is %d but y is %d", x
, y
);
3522 // Check long long types.
3523 #define BIG64 18446744073709551615ull
3524 #define BIG32 4294967295ul
3525 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3527 #error "your preprocessor is broken"
3531 #error "your preprocessor is broken"
3533 static long long int bignum
= -9223372036854775807LL;
3534 static unsigned long long int ubignum
= BIG64
;
3536 struct incomplete_array
3544 const wchar_t
*name
;
3548 typedef const char
*ccp
;
3551 test_restrict
(ccp restrict text
)
3553 // See
if C
++-style comments work.
3554 // Iterate through items via the restricted pointer.
3555 // Also check
for declarations
in for loops.
3556 for (unsigned int i
= 0; *(text
+i
) != '\''\
0'\''; ++i
)
3561 // Check varargs and va_copy.
3563 test_varargs
(const char
*format
, ...
)
3566 va_start
(args
, format
);
3568 va_copy
(args_copy
, args
);
3570 const char
*str
= "";
3578 case '\''s
'\'': // string
3579 str
= va_arg
(args_copy
, const char
*);
3581 case '\''d
'\'': // int
3582 number
= va_arg
(args_copy
, int
);
3584 case '\''f
'\'': // float
3585 fnumber
= va_arg
(args_copy
, double
);
3594 return *str
&& number
&& fnumber
;
3598 # Test code for whether the C compiler supports C99 (body of main).
3599 ac_c_conftest_c99_main='
3601 _Bool success
= false
;
3602 success |
= (argc
!= 0);
3605 if (test_restrict
("String literal") == 0)
3607 char
*restrict newvar
= "Another string";
3610 success
&= test_varargs
("s, d'\'' f .", "string", 65, 34.234);
3611 test_varargs_macros
();
3613 // Check flexible array members.
3614 struct incomplete_array
*ia
=
3615 malloc
(sizeof
(struct incomplete_array
) + (sizeof
(double
) * 10));
3617 for (int i
= 0; i
< ia-
>datasize
; ++i
)
3618 ia-
>data
[i
] = i
* 1.234;
3620 // Check named initializers.
3621 struct named_init ni
= {
3623 .name
= L
"Test wide string",
3624 .average
= 543.34343,
3629 int dynamic_array
[ni.number
];
3630 dynamic_array
[0] = argv
[0][0];
3631 dynamic_array
[ni.number
- 1] = 543;
3633 // work around unused variable warnings
3634 ok |
= (!success || bignum
== 0LL || ubignum
== 0uLL || newvar
[0] == '\''x
'\''
3635 || dynamic_array
[ni.number
- 1] != 543);
3638 # Test code for whether the C compiler supports C11 (global declarations)
3639 ac_c_conftest_c11_globals='
3640 // Does the compiler advertise C11 conformance?
3641 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3642 # error "Compiler does not advertise C11 conformance"
3646 char _Alignas
(double
) aligned_as_double
;
3647 char _Alignas
(0) no_special_alignment
;
3648 extern char aligned_as_int
;
3649 char _Alignas
(0) _Alignas
(int
) aligned_as_int
;
3654 int_alignment
= _Alignof
(int
),
3655 int_array_alignment
= _Alignof
(int
[100]),
3656 char_alignment
= _Alignof
(char
)
3658 _Static_assert
(0 < -_Alignof (int
), "_Alignof is signed");
3661 int _Noreturn does_not_return
(void
) { for (;;) continue; }
3663 // Check _Static_assert.
3664 struct test_static_assert
3667 _Static_assert
(sizeof
(int
) <= sizeof
(long int
),
3668 "_Static_assert does not work in struct");
3672 // Check UTF-8 literals.
3673 #define u8 syntax error!
3674 char const utf8_literal
[] = u8
"happens to be ASCII" "another string";
3676 // Check duplicate typedefs.
3677 typedef long
*long_ptr
;
3678 typedef long int
*long_ptr
;
3679 typedef long_ptr long_ptr
;
3681 // Anonymous structures and unions
-- taken from C11
6.7.2.1 Example
1.
3685 struct
{ int i
; int j
; };
3686 struct
{ int k
; long int l
; } w
;
3692 # Test code for whether the C compiler supports C11 (body of main).
3693 ac_c_conftest_c11_main='
3694 _Static_assert
((offsetof
(struct anonymous
, i
)
3695 == offsetof
(struct anonymous
, w.k
)),
3696 "Anonymous union alignment botch");
3702 # Test code for whether the C compiler supports C11 (complete).
3703 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3704 ${ac_c_conftest_c99_globals}
3705 ${ac_c_conftest_c11_globals}
3708 main (int argc, char **argv)
3711 ${ac_c_conftest_c89_main}
3712 ${ac_c_conftest_c99_main}
3713 ${ac_c_conftest_c11_main}
3718 # Test code for whether the C compiler supports C99 (complete).
3719 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3720 ${ac_c_conftest_c99_globals}
3723 main (int argc, char **argv)
3726 ${ac_c_conftest_c89_main}
3727 ${ac_c_conftest_c99_main}
3732 # Test code for whether the C compiler supports C89 (complete).
3733 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3736 main (int argc, char **argv)
3739 ${ac_c_conftest_c89_main}
3744 # Test code for whether the C++ compiler supports C++98 (global declarations)
3745 ac_cxx_conftest_cxx98_globals='
3746 // Does the compiler advertise C
++98 conformance?
3747 #if !defined __cplusplus || __cplusplus < 199711L
3748 # error "Compiler does not advertise C++98 conformance"
3751 // These inclusions are to reject old compilers that
3752 // lack the unsuffixed header files.
3754 #include <exception>
3756 // <cassert
> and
<cstring
> are
*not
* freestanding headers
in C
++98.
3757 extern void assert
(int
);
3759 extern int strcmp
(const char
*, const char
*);
3762 // Namespaces
, exceptions
, and templates were all added after
"C++ 2.0".
3763 using std
::exception
;
3768 void test_exception_syntax
()
3772 } catch
(const char
*s
) {
3773 // Extra parentheses suppress a warning when building autoconf itself
,
3774 // due to lint rules shared with
more typical C programs.
3775 assert
(!(strcmp
) (s
, "test"));
3779 template
<typename T
> struct test_template
3782 explicit test_template
(T t
) : val
(t
) {}
3783 template
<typename U
> T add
(U u
) { return static_cast
<T
>(u
) + val
; }
3786 } // anonymous namespace
3789 # Test code for whether the C++ compiler supports C++98 (body of main)
3790 ac_cxx_conftest_cxx98_main='
3794 test_exception_syntax
();
3795 test_template
<double
> tt
(2.0);
3796 assert
(tt.add
(4) == 6.0);
3797 assert
(true
&& !false
);
3801 # Test code for whether the C++ compiler supports C++11 (global declarations)
3802 ac_cxx_conftest_cxx11_globals='
3803 // Does the compiler advertise C
++ 2011 conformance?
3804 #if !defined __cplusplus || __cplusplus < 201103L
3805 # error "Compiler does not advertise C++11 conformance"
3810 constexpr int get_val
() { return 20; }
3821 delegate
(int n
) : n
(n
) {}
3822 delegate
(): delegate
(2354) {}
3824 virtual int getval
() { return this-
>n
; };
3829 class overridden
: public delegate
3832 overridden
(int n
): delegate
(n
) {}
3833 virtual int getval
() override final
{ return this-
>n
* 2; }
3839 nocopy
(int i
): i
(i
) {}
3841 nocopy
(const nocopy
&) = delete
;
3842 nocopy
& operator
=(const nocopy
&) = delete
;
3847 // for testing lambda expressions
3848 template
<typename Ret
, typename Fn
> Ret
eval(Fn f
, Ret v
)
3853 // for testing variadic templates and trailing
return types
3854 template
<typename V
> auto
sum(V first
) -> V
3858 template
<typename V
, typename... Args
> auto
sum(V first
, Args... rest
) -> V
3860 return first
+ sum(rest...
);
3865 # Test code for whether the C++ compiler supports C++11 (body of main)
3866 ac_cxx_conftest_cxx11_main='
3868 // Test auto and decltype
3870 auto a2
= 48573953.4;
3871 auto a3
= "String literal";
3874 for (auto i
= a3
; *i
; ++i
) { total
+= *i
; }
3876 decltype
(a2
) a4
= 34895.034;
3880 short sa
[cxx11test
::get_val
()] = { 0 };
3883 // Test initializer lists
3884 cxx11test
::testinit il
= { 4323, 435234.23544 };
3887 // Test range-based
for
3888 int array
[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3889 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3890 for (auto
&x
: array
) { x
+= 23; }
3893 // Test lambda expressions
3894 using cxx11test
::eval;
3895 assert
(eval ([](int x
) { return x
*2; }, 21) == 42);
3897 assert
(eval ([&](double x
) { return d
+= x
; }, 3.0) == 5.0);
3899 assert
(eval ([=](double x
) mutable
{ return d
+= x
; }, 4.0) == 9.0);
3903 // Test use of variadic templates
3904 using cxx11test
::sum;
3907 auto c
= sum(1.0, 2.0, 3.0);
3910 // Test constructor delegation
3911 cxx11test
::delegate d1
;
3912 cxx11test
::delegate d2
();
3913 cxx11test
::delegate d3
(45);
3916 // Test override and final
3917 cxx11test
::overridden o1
(55464);
3924 // Test template brackets
3925 test_template
<::test_template
<int
>> v
(test_template
<int
>(12));
3929 char const
*utf8
= u8
"UTF-8 string \u2500";
3930 char16_t const
*utf16
= u
"UTF-8 string \u2500";
3931 char32_t const
*utf32
= U
"UTF-32 string \u2500";
3935 # Test code for whether the C compiler supports C++11 (complete).
3936 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3937 ${ac_cxx_conftest_cxx11_globals}
3940 main (int argc, char **argv)
3943 ${ac_cxx_conftest_cxx98_main}
3944 ${ac_cxx_conftest_cxx11_main}
3949 # Test code for whether the C compiler supports C++98 (complete).
3950 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3952 main (int argc, char **argv)
3955 ${ac_cxx_conftest_cxx98_main}
3960 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3961 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3962 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3963 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3964 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3965 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3966 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3967 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3968 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3970 # Auxiliary files required by this configure script.
3971 ac_aux_files="config.guess config.sub"
3973 # Locations in which to look for auxiliary files.
3974 ac_aux_dir_candidates="${srcdir}/tools"
3976 # Search for a directory containing all of the required auxiliary files,
3977 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3978 # If we don't
find one directory that contains all the files we need
,
3979 # we report the set of missing files from the *first* directory in
3980 # $ac_aux_dir_candidates and give up.
3981 ac_missing_aux_files
=""
3982 ac_first_candidate
=:
3983 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3984 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3986 for as_dir
in $ac_aux_dir_candidates
3989 case $as_dir in #(((
3992 *) as_dir
=$as_dir/ ;;
3996 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3997 ac_aux_dir_found
=yes
3999 for ac_aux
in $ac_aux_files
4001 # As a special case, if "install-sh" is required, that requirement
4002 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
4003 # and $ac_install_sh is set appropriately for whichever one is found.
4004 if test x
"$ac_aux" = x
"install-sh"
4006 if test -f "${as_dir}install-sh"; then
4007 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
4008 ac_install_sh
="${as_dir}install-sh -c"
4009 elif test -f "${as_dir}install.sh"; then
4010 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
4011 ac_install_sh
="${as_dir}install.sh -c"
4012 elif test -f "${as_dir}shtool"; then
4013 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
4014 ac_install_sh
="${as_dir}shtool install -c"
4017 if $ac_first_candidate; then
4018 ac_missing_aux_files
="${ac_missing_aux_files} install-sh"
4024 if test -f "${as_dir}${ac_aux}"; then
4025 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
4028 if $ac_first_candidate; then
4029 ac_missing_aux_files
="${ac_missing_aux_files} ${ac_aux}"
4036 if test "$ac_aux_dir_found" = yes; then
4037 ac_aux_dir
="$as_dir"
4040 ac_first_candidate
=false
4049 as_fn_error $?
"cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4053 # These three variables are undocumented and unsupported,
4054 # and are intended to be withdrawn in a future Autoconf release.
4055 # They can cause serious problems if a builder's source tree is in a directory
4056 # whose full name contains unusual characters.
4057 if test -f "${ac_aux_dir}config.guess"; then
4058 ac_config_guess
="$SHELL ${ac_aux_dir}config.guess"
4060 if test -f "${ac_aux_dir}config.sub"; then
4061 ac_config_sub
="$SHELL ${ac_aux_dir}config.sub"
4063 if test -f "$ac_aux_dir/configure"; then
4064 ac_configure
="$SHELL ${ac_aux_dir}configure"
4067 # Check that the precious variables saved in the cache have kept the same
4069 ac_cache_corrupted
=false
4070 for ac_var
in $ac_precious_vars; do
4071 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
4072 eval ac_new_set
=\
$ac_env_${ac_var}_set
4073 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
4074 eval ac_new_val
=\
$ac_env_${ac_var}_value
4075 case $ac_old_set,$ac_new_set in
4077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4078 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4079 ac_cache_corrupted
=: ;;
4081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4082 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4083 ac_cache_corrupted
=: ;;
4086 if test "x$ac_old_val" != "x$ac_new_val"; then
4087 # differences in whitespace do not lead to failure.
4088 ac_old_val_w
=`echo x $ac_old_val`
4089 ac_new_val_w
=`echo x $ac_new_val`
4090 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4092 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4093 ac_cache_corrupted
=:
4095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4096 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4097 eval $ac_var=\
$ac_old_val
4099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4100 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4102 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4105 # Pass precious variables to config.status.
4106 if test "$ac_new_set" = set; then
4108 *\'*) ac_arg
=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4109 *) ac_arg
=$ac_var=$ac_new_val ;;
4111 case " $ac_configure_args " in
4112 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4113 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
4117 if $ac_cache_corrupted; then
4118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4119 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4121 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4122 as_fn_error $?
"run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4123 and start over" "$LINENO" 5
4125 ## -------------------- ##
4126 ## Main body of script. ##
4127 ## -------------------- ##
4130 ac_cpp
='$CPP $CPPFLAGS'
4131 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4132 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4133 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4137 ac_config_headers
="$ac_config_headers include/config.h"
4141 libwine_version
="1.0"
4144 # Check whether --enable-archs was given.
4145 if test ${enable_archs+y}
4147 enableval
=$enable_archs;
4150 # Check whether --enable-win16 was given.
4151 if test ${enable_win16+y}
4153 enableval
=$enable_win16;
4156 # Check whether --enable-win64 was given.
4157 if test ${enable_win64+y}
4159 enableval
=$enable_win64;
4162 # Check whether --enable-tests was given.
4163 if test ${enable_tests+y}
4165 enableval
=$enable_tests;
4168 # Check whether --enable-build-id was given.
4169 if test ${enable_build_id+y}
4171 enableval
=$enable_build_id;
4174 # Check whether --enable-maintainer-mode was given.
4175 if test ${enable_maintainer_mode+y}
4177 enableval
=$enable_maintainer_mode;
4180 # Check whether --enable-silent-rules was given.
4181 if test ${enable_silent_rules+y}
4183 enableval
=$enable_silent_rules;
4186 # Check whether --enable-werror was given.
4187 if test ${enable_werror+y}
4189 enableval
=$enable_werror;
4194 # Check whether --with-alsa was given.
4195 if test ${with_alsa+y}
4201 # Check whether --with-capi was given.
4202 if test ${with_capi+y}
4208 # Check whether --with-coreaudio was given.
4209 if test ${with_coreaudio+y}
4211 withval
=$with_coreaudio;
4215 # Check whether --with-cups was given.
4216 if test ${with_cups+y}
4222 # Check whether --with-dbus was given.
4223 if test ${with_dbus+y}
4229 # Check whether --with-float-abi was given.
4230 if test ${with_float_abi+y}
4232 withval
=$with_float_abi;
4236 # Check whether --with-fontconfig was given.
4237 if test ${with_fontconfig+y}
4239 withval
=$with_fontconfig;
4243 # Check whether --with-freetype was given.
4244 if test ${with_freetype+y}
4246 withval
=$with_freetype;
4250 # Check whether --with-gettext was given.
4251 if test ${with_gettext+y}
4253 withval
=$with_gettext;
4257 # Check whether --with-gettextpo was given.
4258 if test ${with_gettextpo+y}
4260 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
4264 # Check whether --with-gphoto was given.
4265 if test ${with_gphoto+y}
4267 withval
=$with_gphoto;
4271 # Check whether --with-gnutls was given.
4272 if test ${with_gnutls+y}
4274 withval
=$with_gnutls;
4278 # Check whether --with-gssapi was given.
4279 if test ${with_gssapi+y}
4281 withval
=$with_gssapi;
4285 # Check whether --with-gstreamer was given.
4286 if test ${with_gstreamer+y}
4288 withval
=$with_gstreamer;
4292 # Check whether --with-inotify was given.
4293 if test ${with_inotify+y}
4295 withval
=$with_inotify;
4299 # Check whether --with-krb5 was given.
4300 if test ${with_krb5+y}
4306 # Check whether --with-mingw was given.
4307 if test ${with_mingw+y}
4309 withval
=$with_mingw;
4313 # Check whether --with-netapi was given.
4314 if test ${with_netapi+y}
4316 withval
=$with_netapi;
4320 # Check whether --with-opencl was given.
4321 if test ${with_opencl+y}
4323 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
4327 # Check whether --with-opengl was given.
4328 if test ${with_opengl+y}
4330 withval
=$with_opengl;
4334 # Check whether --with-osmesa was given.
4335 if test ${with_osmesa+y}
4337 withval
=$with_osmesa;
4341 # Check whether --with-oss was given.
4342 if test ${with_oss+y}
4348 # Check whether --with-pcap was given.
4349 if test ${with_pcap+y}
4351 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
4355 # Check whether --with-pcsclite was given.
4356 if test ${with_pcsclite+y}
4358 withval
=$with_pcsclite;
4362 # Check whether --with-pthread was given.
4363 if test ${with_pthread+y}
4365 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
4369 # Check whether --with-pulse was given.
4370 if test ${with_pulse+y}
4372 withval
=$with_pulse;
4376 # Check whether --with-sane was given.
4377 if test ${with_sane+y}
4383 # Check whether --with-sdl was given.
4384 if test ${with_sdl+y}
4390 # Check whether --with-udev was given.
4391 if test ${with_udev+y}
4397 # Check whether --with-unwind was given.
4398 if test ${with_unwind+y}
4400 withval
=$with_unwind;
4404 # Check whether --with-usb was given.
4405 if test ${with_usb+y}
4411 # Check whether --with-v4l2 was given.
4412 if test ${with_v4l2+y}
4418 # Check whether --with-vulkan was given.
4419 if test ${with_vulkan+y}
4421 withval
=$with_vulkan;
4425 # Check whether --with-wayland was given.
4426 if test ${with_wayland+y}
4428 withval
=$with_wayland;
4432 # Check whether --with-xcomposite was given.
4433 if test ${with_xcomposite+y}
4435 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
4439 # Check whether --with-xcursor was given.
4440 if test ${with_xcursor+y}
4442 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
4446 # Check whether --with-xfixes was given.
4447 if test ${with_xfixes+y}
4449 withval
=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h
=no
; fi
4453 # Check whether --with-xinerama was given.
4454 if test ${with_xinerama+y}
4456 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
4460 # Check whether --with-xinput was given.
4461 if test ${with_xinput+y}
4463 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
4467 # Check whether --with-xinput2 was given.
4468 if test ${with_xinput2+y}
4470 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
4474 # Check whether --with-xrandr was given.
4475 if test ${with_xrandr+y}
4477 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
4481 # Check whether --with-xrender was given.
4482 if test ${with_xrender+y}
4484 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
4488 # Check whether --with-xshape was given.
4489 if test ${with_xshape+y}
4491 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
4495 # Check whether --with-xshm was given.
4496 if test ${with_xshm+y}
4498 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
4502 # Check whether --with-xxf86vm was given.
4503 if test ${with_xxf86vm+y}
4505 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
4510 # Check whether --with-system-dllpath was given.
4511 if test ${with_system_dllpath+y}
4513 withval
=$with_system_dllpath; system_dllpath
=$withval
4518 # Check whether --with-wine-tools was given.
4519 if test ${with_wine_tools+y}
4521 withval
=$with_wine_tools;
4525 # Check whether --with-wine64 was given.
4526 if test ${with_wine64+y}
4528 withval
=$with_wine64;
4535 # Make sure we can run config.sub.
4536 $SHELL "${ac_aux_dir}config.sub" sun4
>/dev
/null
2>&1 ||
4537 as_fn_error $?
"cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4540 printf %s
"checking build system type... " >&6; }
4541 if test ${ac_cv_build+y}
4543 printf %s
"(cached) " >&6
4545 ac_build_alias
=$build_alias
4546 test "x$ac_build_alias" = x
&&
4547 ac_build_alias
=`$SHELL "${ac_aux_dir}config.guess"`
4548 test "x$ac_build_alias" = x
&&
4549 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
4550 ac_cv_build
=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4551 as_fn_error $?
"$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4555 printf "%s\n" "$ac_cv_build" >&6; }
4556 case $ac_cv_build in
4558 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
4561 ac_save_IFS
=$IFS; IFS
='-'
4567 # Remember, the first character of IFS is used to create $*,
4568 # except with old shells:
4571 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
4574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4575 printf %s
"checking host system type... " >&6; }
4576 if test ${ac_cv_host+y}
4578 printf %s
"(cached) " >&6
4580 if test "x$host_alias" = x
; then
4581 ac_cv_host
=$ac_cv_build
4583 ac_cv_host
=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4584 as_fn_error $?
"$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4589 printf "%s\n" "$ac_cv_host" >&6; }
4592 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
4595 ac_save_IFS
=$IFS; IFS
='-'
4601 # Remember, the first character of IFS is used to create $*,
4602 # except with old shells:
4605 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4609 dlldir
=\
${libdir}/wine
4611 fontdir
=\
${datadir}/wine
/fonts
4613 nlsdir
=\
${datadir}/wine
/nls
4618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4619 printf %s
"checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4621 ac_make
=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4622 if eval test \
${ac_cv_prog_make_${ac_make}_set+y}
4624 printf %s
"(cached) " >&6
4626 cat >conftest.
make <<\_ACEOF
4629 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4631 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4632 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4634 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4636 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4640 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4642 printf "%s\n" "yes" >&6; }
4645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4646 printf "%s\n" "no" >&6; }
4647 SET_MAKE
="MAKE=${MAKE-make}"
4660 ac_cpp
='$CPP $CPPFLAGS'
4661 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4662 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4663 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4664 if test -n "$ac_tool_prefix"; then
4665 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4666 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4668 printf %s
"checking for $ac_word... " >&6; }
4669 if test ${ac_cv_prog_CC+y}
4671 printf %s
"(cached) " >&6
4673 if test -n "$CC"; then
4674 ac_cv_prog_CC
="$CC" # Let the user override the test.
4676 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4680 case $as_dir in #(((
4683 *) as_dir
=$as_dir/ ;;
4685 for ac_exec_ext
in '' $ac_executable_extensions; do
4686 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4687 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4688 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4698 if test -n "$CC"; then
4699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4700 printf "%s\n" "$CC" >&6; }
4702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4703 printf "%s\n" "no" >&6; }
4708 if test -z "$ac_cv_prog_CC"; then
4710 # Extract the first word of "gcc", so it can be a program name with args.
4711 set dummy gcc
; ac_word
=$2
4712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4713 printf %s
"checking for $ac_word... " >&6; }
4714 if test ${ac_cv_prog_ac_ct_CC+y}
4716 printf %s
"(cached) " >&6
4718 if test -n "$ac_ct_CC"; then
4719 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4721 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4725 case $as_dir in #(((
4728 *) as_dir
=$as_dir/ ;;
4730 for ac_exec_ext
in '' $ac_executable_extensions; do
4731 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4732 ac_cv_prog_ac_ct_CC
="gcc"
4733 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4742 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4743 if test -n "$ac_ct_CC"; then
4744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4745 printf "%s\n" "$ac_ct_CC" >&6; }
4747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4748 printf "%s\n" "no" >&6; }
4751 if test "x$ac_ct_CC" = x
; then
4754 case $cross_compiling:$ac_tool_warned in
4756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4757 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4758 ac_tool_warned
=yes ;;
4766 if test -z "$CC"; then
4767 if test -n "$ac_tool_prefix"; then
4768 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4769 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4771 printf %s
"checking for $ac_word... " >&6; }
4772 if test ${ac_cv_prog_CC+y}
4774 printf %s
"(cached) " >&6
4776 if test -n "$CC"; then
4777 ac_cv_prog_CC
="$CC" # Let the user override the test.
4779 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4783 case $as_dir in #(((
4786 *) as_dir
=$as_dir/ ;;
4788 for ac_exec_ext
in '' $ac_executable_extensions; do
4789 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4790 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4791 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
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; }
4812 if test -z "$CC"; then
4813 # Extract the first word of "cc", so it can be a program name with args.
4814 set dummy cc
; ac_word
=$2
4815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4816 printf %s
"checking for $ac_word... " >&6; }
4817 if test ${ac_cv_prog_CC+y}
4819 printf %s
"(cached) " >&6
4821 if test -n "$CC"; then
4822 ac_cv_prog_CC
="$CC" # Let the user override the test.
4825 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4829 case $as_dir in #(((
4832 *) as_dir
=$as_dir/ ;;
4834 for ac_exec_ext
in '' $ac_executable_extensions; do
4835 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4836 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4837 ac_prog_rejected
=yes
4841 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4848 if test $ac_prog_rejected = yes; then
4849 # We found a bogon in the path, so make sure we never use it.
4850 set dummy
$ac_cv_prog_CC
4852 if test $# != 0; then
4853 # We chose a different compiler from the bogus one.
4854 # However, it has the same basename, so the bogon will be chosen
4855 # first if we set CC to just the basename; use the full file name.
4857 ac_cv_prog_CC
="$as_dir$ac_word${1+' '}$@"
4863 if test -n "$CC"; then
4864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4865 printf "%s\n" "$CC" >&6; }
4867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4868 printf "%s\n" "no" >&6; }
4873 if test -z "$CC"; then
4874 if test -n "$ac_tool_prefix"; then
4875 for ac_prog
in cl.exe
4877 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4878 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4880 printf %s
"checking for $ac_word... " >&6; }
4881 if test ${ac_cv_prog_CC+y}
4883 printf %s
"(cached) " >&6
4885 if test -n "$CC"; then
4886 ac_cv_prog_CC
="$CC" # Let the user override the test.
4888 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4892 case $as_dir in #(((
4895 *) as_dir
=$as_dir/ ;;
4897 for ac_exec_ext
in '' $ac_executable_extensions; do
4898 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4899 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4900 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4910 if test -n "$CC"; then
4911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4912 printf "%s\n" "$CC" >&6; }
4914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4915 printf "%s\n" "no" >&6; }
4919 test -n "$CC" && break
4922 if test -z "$CC"; then
4924 for ac_prog
in cl.exe
4926 # Extract the first word of "$ac_prog", so it can be a program name with args.
4927 set dummy
$ac_prog; ac_word
=$2
4928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4929 printf %s
"checking for $ac_word... " >&6; }
4930 if test ${ac_cv_prog_ac_ct_CC+y}
4932 printf %s
"(cached) " >&6
4934 if test -n "$ac_ct_CC"; then
4935 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4937 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4941 case $as_dir in #(((
4944 *) as_dir
=$as_dir/ ;;
4946 for ac_exec_ext
in '' $ac_executable_extensions; do
4947 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4948 ac_cv_prog_ac_ct_CC
="$ac_prog"
4949 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4958 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4959 if test -n "$ac_ct_CC"; then
4960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4961 printf "%s\n" "$ac_ct_CC" >&6; }
4963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4964 printf "%s\n" "no" >&6; }
4968 test -n "$ac_ct_CC" && break
4971 if test "x$ac_ct_CC" = x
; then
4974 case $cross_compiling:$ac_tool_warned in
4976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4977 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4978 ac_tool_warned
=yes ;;
4985 if test -z "$CC"; then
4986 if test -n "$ac_tool_prefix"; then
4987 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4988 set dummy
${ac_tool_prefix}clang
; ac_word
=$2
4989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4990 printf %s
"checking for $ac_word... " >&6; }
4991 if test ${ac_cv_prog_CC+y}
4993 printf %s
"(cached) " >&6
4995 if test -n "$CC"; then
4996 ac_cv_prog_CC
="$CC" # Let the user override the test.
4998 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5002 case $as_dir in #(((
5005 *) as_dir
=$as_dir/ ;;
5007 for ac_exec_ext
in '' $ac_executable_extensions; do
5008 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
5009 ac_cv_prog_CC
="${ac_tool_prefix}clang"
5010 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5020 if test -n "$CC"; then
5021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5022 printf "%s\n" "$CC" >&6; }
5024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5025 printf "%s\n" "no" >&6; }
5030 if test -z "$ac_cv_prog_CC"; then
5032 # Extract the first word of "clang", so it can be a program name with args.
5033 set dummy clang
; ac_word
=$2
5034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5035 printf %s
"checking for $ac_word... " >&6; }
5036 if test ${ac_cv_prog_ac_ct_CC+y}
5038 printf %s
"(cached) " >&6
5040 if test -n "$ac_ct_CC"; then
5041 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5043 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5047 case $as_dir in #(((
5050 *) as_dir
=$as_dir/ ;;
5052 for ac_exec_ext
in '' $ac_executable_extensions; do
5053 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
5054 ac_cv_prog_ac_ct_CC
="clang"
5055 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5064 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5065 if test -n "$ac_ct_CC"; then
5066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5067 printf "%s\n" "$ac_ct_CC" >&6; }
5069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5070 printf "%s\n" "no" >&6; }
5073 if test "x$ac_ct_CC" = x
; then
5076 case $cross_compiling:$ac_tool_warned in
5078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5079 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5080 ac_tool_warned
=yes ;;
5091 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5092 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5093 as_fn_error $?
"no acceptable C compiler found in \$PATH
5094 See \`config.log' for more details" "$LINENO" 5; }
5096 # Provide some information about the compiler.
5097 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5100 for ac_option
in --version -v -V -qversion -version; do
5101 { { ac_try
="$ac_compiler $ac_option >&5"
5103 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5104 *) ac_try_echo=$ac_try;;
5106 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5107 printf "%s\n" "$ac_try_echo"; } >&5
5108 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5110 if test -s conftest.err; then
5112 ... rest of stderr output deleted ...
5113 10q' conftest.err >conftest.er1
5114 cat conftest.er1 >&5
5116 rm -f conftest.er1 conftest.err
5117 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5118 test $ac_status = 0; }
5121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5122 /* end confdefs.h. */
5132 ac_clean_files_save=$ac_clean_files
5133 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5134 # Try to create an executable without -o first, disregard a.out.
5135 # It will help us diagnose broken compilers, and finding out an intuition
5137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5138 printf %s "checking whether the C compiler works... " >&6; }
5139 ac_link_default=`printf "%s\n" "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
5141 # The possible output files:
5142 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5145 for ac_file in $ac_files
5148 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5149 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5154 if { { ac_try="$ac_link_default"
5156 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5157 *) ac_try_echo
=$ac_try;;
5159 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5160 printf "%s\n" "$ac_try_echo"; } >&5
5161 (eval "$ac_link_default") 2>&5
5163 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5164 test $ac_status = 0; }
5166 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5167 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5168 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5169 # so that the user can short-circuit this test for compilers unknown to
5171 for ac_file
in $ac_files ''
5173 test -f "$ac_file" ||
continue
5175 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
5178 # We found the default executable, but exeext='' is most
5182 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no
;
5184 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
5186 # We set ac_cv_exeext here because the later test for it is not
5187 # safe: cross compilers may not add the suffix if given an `-o'
5188 # argument, so we may need to know it at that point already.
5189 # Even if this section looks crufty: it has the advantage of
5196 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
5201 if test -z "$ac_file"
5203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5204 printf "%s\n" "no" >&6; }
5205 printf "%s\n" "$as_me: failed program was:" >&5
5206 sed 's/^/| /' conftest.
$ac_ext >&5
5208 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5209 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5210 as_fn_error
77 "C compiler cannot create executables
5211 See \`config.log' for more details" "$LINENO" 5; }
5213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5214 printf "%s\n" "yes" >&6; }
5216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5217 printf %s
"checking for C compiler default output file name... " >&6; }
5218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5219 printf "%s\n" "$ac_file" >&6; }
5220 ac_exeext
=$ac_cv_exeext
5222 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
5223 ac_clean_files
=$ac_clean_files_save
5224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5225 printf %s
"checking for suffix of executables... " >&6; }
5226 if { { ac_try
="$ac_link"
5228 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5229 *) ac_try_echo=$ac_try;;
5231 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5232 printf "%s\n" "$ac_try_echo"; } >&5
5233 (eval "$ac_link") 2>&5
5235 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5236 test $ac_status = 0; }
5238 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
5239 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
5240 # work properly (i.e., refer to `conftest.exe'), while it won't with
5242 for ac_file
in conftest.exe conftest conftest.
*; do
5243 test -f "$ac_file" ||
continue
5245 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
5246 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
5252 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5253 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5254 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
5255 See \`config.log' for more details" "$LINENO" 5; }
5257 rm -f conftest conftest
$ac_cv_exeext
5258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5259 printf "%s\n" "$ac_cv_exeext" >&6; }
5261 rm -f conftest.
$ac_ext
5262 EXEEXT
=$ac_cv_exeext
5264 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5265 /* end confdefs.h. */
5270 FILE *f = fopen ("conftest.out", "w");
5271 return ferror (f) || fclose (f) != 0;
5277 ac_clean_files
="$ac_clean_files conftest.out"
5278 # Check that the compiler produces executables we can run. If not, either
5279 # the compiler is broken, or we cross compile.
5280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5281 printf %s
"checking whether we are cross compiling... " >&6; }
5282 if test "$cross_compiling" != yes; then
5283 { { ac_try
="$ac_link"
5285 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5286 *) ac_try_echo=$ac_try;;
5288 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5289 printf "%s\n" "$ac_try_echo"; } >&5
5290 (eval "$ac_link") 2>&5
5292 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5293 test $ac_status = 0; }
5294 if { ac_try='./conftest$ac_cv_exeext'
5295 { { case "(($ac_try" in
5296 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5297 *) ac_try_echo
=$ac_try;;
5299 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5300 printf "%s\n" "$ac_try_echo"; } >&5
5301 (eval "$ac_try") 2>&5
5303 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5304 test $ac_status = 0; }; }; then
5307 if test "$cross_compiling" = maybe
; then
5310 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5311 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5312 as_fn_error
77 "cannot run C compiled programs.
5313 If you meant to cross compile, use \`--host'.
5314 See \`config.log' for more details" "$LINENO" 5; }
5318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5319 printf "%s\n" "$cross_compiling" >&6; }
5321 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
5322 ac_clean_files
=$ac_clean_files_save
5323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5324 printf %s
"checking for suffix of object files... " >&6; }
5325 if test ${ac_cv_objext+y}
5327 printf %s
"(cached) " >&6
5329 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5330 /* end confdefs.h. */
5340 rm -f conftest.o conftest.obj
5341 if { { ac_try
="$ac_compile"
5343 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5344 *) ac_try_echo=$ac_try;;
5346 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5347 printf "%s\n" "$ac_try_echo"; } >&5
5348 (eval "$ac_compile") 2>&5
5350 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5351 test $ac_status = 0; }
5353 for ac_file in conftest.o conftest.obj conftest.*; do
5354 test -f "$ac_file" || continue;
5356 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5357 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5362 printf "%s\n" "$as_me: failed program was:" >&5
5363 sed 's/^/| /' conftest.$ac_ext >&5
5365 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5366 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5367 as_fn_error $? "cannot compute suffix of object files
: cannot compile
5368 See \
`config.log' for more details" "$LINENO" 5; }
5370 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5373 printf "%s\n" "$ac_cv_objext" >&6; }
5374 OBJEXT=$ac_cv_objext
5376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5377 printf %s "checking whether the compiler supports GNU C... " >&6; }
5378 if test ${ac_cv_c_compiler_gnu+y}
5380 printf %s "(cached) " >&6
5382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5383 /* end confdefs.h. */
5396 if ac_fn_c_try_compile "$LINENO"
5402 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5403 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5407 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5410 if test $ac_compiler_gnu = yes; then
5415 ac_test_CFLAGS=${CFLAGS+y}
5416 ac_save_CFLAGS=$CFLAGS
5417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5418 printf %s "checking whether $CC accepts -g... " >&6; }
5419 if test ${ac_cv_prog_cc_g+y}
5421 printf %s "(cached) " >&6
5423 ac_save_c_werror_flag=$ac_c_werror_flag
5424 ac_c_werror_flag=yes
5427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5428 /* end confdefs.h. */
5438 if ac_fn_c_try_compile "$LINENO"
5443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5444 /* end confdefs.h. */
5454 if ac_fn_c_try_compile "$LINENO"
5458 ac_c_werror_flag=$ac_save_c_werror_flag
5460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5461 /* end confdefs.h. */
5471 if ac_fn_c_try_compile "$LINENO"
5475 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5477 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5479 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5480 ac_c_werror_flag=$ac_save_c_werror_flag
5482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5483 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5484 if test $ac_test_CFLAGS; then
5485 CFLAGS=$ac_save_CFLAGS
5486 elif test $ac_cv_prog_cc_g = yes; then
5487 if test "$GCC" = yes; then
5493 if test "$GCC" = yes; then
5500 if test x$ac_prog_cc_stdc = xno
5502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5503 printf %s "checking for $CC option to enable C11 features... " >&6; }
5504 if test ${ac_cv_prog_cc_c11+y}
5506 printf %s "(cached) " >&6
5508 ac_cv_prog_cc_c11=no
5510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5511 /* end confdefs.h. */
5512 $ac_c_conftest_c11_program
5514 for ac_arg in '' -std=gnu11
5516 CC="$ac_save_CC $ac_arg"
5517 if ac_fn_c_try_compile "$LINENO"
5519 ac_cv_prog_cc_c11=$ac_arg
5521 rm -f core conftest.err conftest.$ac_objext conftest.beam
5522 test "x$ac_cv_prog_cc_c11" != "xno" && break
5524 rm -f conftest.$ac_ext
5528 if test "x$ac_cv_prog_cc_c11" = xno
5530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5531 printf "%s\n" "unsupported" >&6; }
5533 if test "x$ac_cv_prog_cc_c11" = x
5535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5536 printf "%s\n" "none needed" >&6; }
5538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5539 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5540 CC="$CC $ac_cv_prog_cc_c11"
5542 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5546 if test x$ac_prog_cc_stdc = xno
5548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5549 printf %s "checking for $CC option to enable C99 features... " >&6; }
5550 if test ${ac_cv_prog_cc_c99+y}
5552 printf %s "(cached) " >&6
5554 ac_cv_prog_cc_c99=no
5556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5557 /* end confdefs.h. */
5558 $ac_c_conftest_c99_program
5560 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5562 CC="$ac_save_CC $ac_arg"
5563 if ac_fn_c_try_compile "$LINENO"
5565 ac_cv_prog_cc_c99=$ac_arg
5567 rm -f core conftest.err conftest.$ac_objext conftest.beam
5568 test "x$ac_cv_prog_cc_c99" != "xno" && break
5570 rm -f conftest.$ac_ext
5574 if test "x$ac_cv_prog_cc_c99" = xno
5576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5577 printf "%s\n" "unsupported" >&6; }
5579 if test "x$ac_cv_prog_cc_c99" = x
5581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5582 printf "%s\n" "none needed" >&6; }
5584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5585 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5586 CC="$CC $ac_cv_prog_cc_c99"
5588 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5592 if test x$ac_prog_cc_stdc = xno
5594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5595 printf %s "checking for $CC option to enable C89 features... " >&6; }
5596 if test ${ac_cv_prog_cc_c89+y}
5598 printf %s "(cached) " >&6
5600 ac_cv_prog_cc_c89=no
5602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5603 /* end confdefs.h. */
5604 $ac_c_conftest_c89_program
5606 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5608 CC="$ac_save_CC $ac_arg"
5609 if ac_fn_c_try_compile "$LINENO"
5611 ac_cv_prog_cc_c89=$ac_arg
5613 rm -f core conftest.err conftest.$ac_objext conftest.beam
5614 test "x$ac_cv_prog_cc_c89" != "xno" && break
5616 rm -f conftest.$ac_ext
5620 if test "x$ac_cv_prog_cc_c89" = xno
5622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5623 printf "%s\n" "unsupported" >&6; }
5625 if test "x$ac_cv_prog_cc_c89" = x
5627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5628 printf "%s\n" "none needed" >&6; }
5630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5631 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5632 CC="$CC $ac_cv_prog_cc_c89"
5634 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5640 ac_cpp='$CPP $CPPFLAGS'
5641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5652 ac_cpp='$CXXCPP $CPPFLAGS'
5653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5656 if test -z "$CXX"; then
5657 if test -n "$CCC"; then
5660 if test -n "$ac_tool_prefix"; then
5661 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5663 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5664 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5666 printf %s "checking for $ac_word... " >&6; }
5667 if test ${ac_cv_prog_CXX+y}
5669 printf %s "(cached) " >&6
5671 if test -n "$CXX"; then
5672 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5678 case $as_dir in #(((
5681 *) as_dir=$as_dir/ ;;
5683 for ac_exec_ext in '' $ac_executable_extensions; do
5684 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5685 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5686 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5696 if test -n "$CXX"; then
5697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5698 printf "%s\n" "$CXX" >&6; }
5700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5701 printf "%s\n" "no" >&6; }
5705 test -n "$CXX" && break
5708 if test -z "$CXX"; then
5710 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5712 # Extract the first word of "$ac_prog", so it can be a program name with args.
5713 set dummy $ac_prog; ac_word=$2
5714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5715 printf %s "checking for $ac_word... " >&6; }
5716 if test ${ac_cv_prog_ac_ct_CXX+y}
5718 printf %s "(cached) " >&6
5720 if test -n "$ac_ct_CXX"; then
5721 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5727 case $as_dir in #(((
5730 *) as_dir=$as_dir/ ;;
5732 for ac_exec_ext in '' $ac_executable_extensions; do
5733 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5734 ac_cv_prog_ac_ct_CXX="$ac_prog"
5735 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5744 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5745 if test -n "$ac_ct_CXX"; then
5746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5747 printf "%s\n" "$ac_ct_CXX" >&6; }
5749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5750 printf "%s\n" "no" >&6; }
5754 test -n "$ac_ct_CXX" && break
5757 if test "x$ac_ct_CXX" = x; then
5760 case $cross_compiling:$ac_tool_warned in
5762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5763 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5764 ac_tool_warned=yes ;;
5772 # Provide some information about the compiler.
5773 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5776 for ac_option in --version -v -V -qversion; do
5777 { { ac_try="$ac_compiler $ac_option >&5"
5779 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5780 *) ac_try_echo
=$ac_try;;
5782 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5783 printf "%s\n" "$ac_try_echo"; } >&5
5784 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5786 if test -s conftest.err
; then
5788 ... rest of stderr output deleted ...
5789 10q' conftest.err
>conftest.er1
5790 cat conftest.er1
>&5
5792 rm -f conftest.er1 conftest.err
5793 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5794 test $ac_status = 0; }
5797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5798 printf %s
"checking whether the compiler supports GNU C++... " >&6; }
5799 if test ${ac_cv_cxx_compiler_gnu+y}
5801 printf %s
"(cached) " >&6
5803 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5804 /* end confdefs.h. */
5817 if ac_fn_cxx_try_compile
"$LINENO"
5823 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5824 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5828 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5829 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5831 if test $ac_compiler_gnu = yes; then
5836 ac_test_CXXFLAGS
=${CXXFLAGS+y}
5837 ac_save_CXXFLAGS
=$CXXFLAGS
5838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5839 printf %s
"checking whether $CXX accepts -g... " >&6; }
5840 if test ${ac_cv_prog_cxx_g+y}
5842 printf %s
"(cached) " >&6
5844 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5845 ac_cxx_werror_flag
=yes
5848 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5849 /* end confdefs.h. */
5859 if ac_fn_cxx_try_compile
"$LINENO"
5861 ac_cv_prog_cxx_g
=yes
5864 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5865 /* end confdefs.h. */
5875 if ac_fn_cxx_try_compile
"$LINENO"
5879 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5881 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5882 /* end confdefs.h. */
5892 if ac_fn_cxx_try_compile
"$LINENO"
5894 ac_cv_prog_cxx_g
=yes
5896 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5898 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5900 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5901 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5904 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5905 if test $ac_test_CXXFLAGS; then
5906 CXXFLAGS
=$ac_save_CXXFLAGS
5907 elif test $ac_cv_prog_cxx_g = yes; then
5908 if test "$GXX" = yes; then
5914 if test "$GXX" = yes; then
5920 ac_prog_cxx_stdcxx
=no
5921 if test x
$ac_prog_cxx_stdcxx = xno
5923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5924 printf %s
"checking for $CXX option to enable C++11 features... " >&6; }
5925 if test ${ac_cv_prog_cxx_cxx11+y}
5927 printf %s
"(cached) " >&6
5929 ac_cv_prog_cxx_cxx11
=no
5931 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5932 /* end confdefs.h. */
5933 $ac_cxx_conftest_cxx11_program
5935 for ac_arg
in '' -std=gnu
++11 -std=gnu
++0x
-std=c
++11 -std=c
++0x
-qlanglvl=extended0x
-AA
5937 CXX
="$ac_save_CXX $ac_arg"
5938 if ac_fn_cxx_try_compile
"$LINENO"
5940 ac_cv_prog_cxx_cxx11
=$ac_arg
5942 rm -f core conftest.err conftest.
$ac_objext conftest.beam
5943 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5945 rm -f conftest.
$ac_ext
5949 if test "x$ac_cv_prog_cxx_cxx11" = xno
5951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5952 printf "%s\n" "unsupported" >&6; }
5954 if test "x$ac_cv_prog_cxx_cxx11" = x
5956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5957 printf "%s\n" "none needed" >&6; }
5959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5960 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5961 CXX
="$CXX $ac_cv_prog_cxx_cxx11"
5963 ac_cv_prog_cxx_stdcxx
=$ac_cv_prog_cxx_cxx11
5964 ac_prog_cxx_stdcxx
=cxx11
5967 if test x
$ac_prog_cxx_stdcxx = xno
5969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5970 printf %s
"checking for $CXX option to enable C++98 features... " >&6; }
5971 if test ${ac_cv_prog_cxx_cxx98+y}
5973 printf %s
"(cached) " >&6
5975 ac_cv_prog_cxx_cxx98
=no
5977 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5978 /* end confdefs.h. */
5979 $ac_cxx_conftest_cxx98_program
5981 for ac_arg
in '' -std=gnu
++98 -std=c
++98 -qlanglvl=extended
-AA
5983 CXX
="$ac_save_CXX $ac_arg"
5984 if ac_fn_cxx_try_compile
"$LINENO"
5986 ac_cv_prog_cxx_cxx98
=$ac_arg
5988 rm -f core conftest.err conftest.
$ac_objext conftest.beam
5989 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
5991 rm -f conftest.
$ac_ext
5995 if test "x$ac_cv_prog_cxx_cxx98" = xno
5997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5998 printf "%s\n" "unsupported" >&6; }
6000 if test "x$ac_cv_prog_cxx_cxx98" = x
6002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6003 printf "%s\n" "none needed" >&6; }
6005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
6006 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
6007 CXX
="$CXX $ac_cv_prog_cxx_cxx98"
6009 ac_cv_prog_cxx_stdcxx
=$ac_cv_prog_cxx_cxx98
6010 ac_prog_cxx_stdcxx
=cxx98
6015 ac_cpp
='$CPP $CPPFLAGS'
6016 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6017 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6018 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6020 if test -n "$ac_tool_prefix"; then
6021 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
6022 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
6023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6024 printf %s
"checking for $ac_word... " >&6; }
6025 if test ${ac_cv_prog_CPPBIN+y}
6027 printf %s
"(cached) " >&6
6029 if test -n "$CPPBIN"; then
6030 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
6032 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6036 case $as_dir in #(((
6039 *) as_dir
=$as_dir/ ;;
6041 for ac_exec_ext
in '' $ac_executable_extensions; do
6042 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6043 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
6044 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6053 CPPBIN
=$ac_cv_prog_CPPBIN
6054 if test -n "$CPPBIN"; then
6055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6056 printf "%s\n" "$CPPBIN" >&6; }
6058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6059 printf "%s\n" "no" >&6; }
6064 if test -z "$ac_cv_prog_CPPBIN"; then
6065 ac_ct_CPPBIN
=$CPPBIN
6066 # Extract the first word of "cpp", so it can be a program name with args.
6067 set dummy cpp
; ac_word
=$2
6068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6069 printf %s
"checking for $ac_word... " >&6; }
6070 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6072 printf %s
"(cached) " >&6
6074 if test -n "$ac_ct_CPPBIN"; then
6075 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
6077 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6081 case $as_dir in #(((
6084 *) as_dir
=$as_dir/ ;;
6086 for ac_exec_ext
in '' $ac_executable_extensions; do
6087 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6088 ac_cv_prog_ac_ct_CPPBIN
="cpp"
6089 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6098 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
6099 if test -n "$ac_ct_CPPBIN"; then
6100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6101 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6104 printf "%s\n" "no" >&6; }
6107 if test "x$ac_ct_CPPBIN" = x
; then
6110 case $cross_compiling:$ac_tool_warned in
6112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6113 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6114 ac_tool_warned
=yes ;;
6116 CPPBIN
=$ac_ct_CPPBIN
6119 CPPBIN
="$ac_cv_prog_CPPBIN"
6123 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6125 if test -n "$ac_tool_prefix"; then
6126 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6127 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
6128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6129 printf %s
"checking for $ac_word... " >&6; }
6130 if test ${ac_cv_prog_LD+y}
6132 printf %s
"(cached) " >&6
6134 if test -n "$LD"; then
6135 ac_cv_prog_LD
="$LD" # Let the user override the test.
6137 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6141 case $as_dir in #(((
6144 *) as_dir
=$as_dir/ ;;
6146 for ac_exec_ext
in '' $ac_executable_extensions; do
6147 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6148 ac_cv_prog_LD
="${ac_tool_prefix}ld"
6149 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6159 if test -n "$LD"; then
6160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6161 printf "%s\n" "$LD" >&6; }
6163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6164 printf "%s\n" "no" >&6; }
6169 if test -z "$ac_cv_prog_LD"; then
6171 # Extract the first word of "ld", so it can be a program name with args.
6172 set dummy ld
; ac_word
=$2
6173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6174 printf %s
"checking for $ac_word... " >&6; }
6175 if test ${ac_cv_prog_ac_ct_LD+y}
6177 printf %s
"(cached) " >&6
6179 if test -n "$ac_ct_LD"; then
6180 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
6182 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6186 case $as_dir in #(((
6189 *) as_dir
=$as_dir/ ;;
6191 for ac_exec_ext
in '' $ac_executable_extensions; do
6192 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6193 ac_cv_prog_ac_ct_LD
="ld"
6194 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6203 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
6204 if test -n "$ac_ct_LD"; then
6205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6206 printf "%s\n" "$ac_ct_LD" >&6; }
6208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6209 printf "%s\n" "no" >&6; }
6212 if test "x$ac_ct_LD" = x
; then
6215 case $cross_compiling:$ac_tool_warned in
6217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6218 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6219 ac_tool_warned
=yes ;;
6230 with_fontconfig
=${with_fontconfig:-no}
6232 *-mingw32*|
*-cygwin*)
6233 enable_win16
=${enable_win16:-no}
6234 with_mingw
=${with_mingw:-no}
6241 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x
"$enable_archs" = x
6246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6247 printf %s
"checking whether $CC works... " >&6; }
6248 if test ${wine_cv_cc_m32+y}
6250 printf %s
"(cached) " >&6
6252 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6253 /* end confdefs.h. */
6263 if ac_fn_c_try_link
"$LINENO"
6269 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6270 conftest
$ac_exeext conftest.
$ac_ext
6272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6273 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6274 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
6276 notice_platform
="32-bit "
6277 TARGETFLAGS
="$TARGETFLAGS -m32"
6278 PKG_CONFIG_LIBDIR
=${PKG_CONFIG_LIBDIR:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6279 export PKG_CONFIG_LIBDIR
6280 with_unwind
=${with_unwind:-no}
6285 notice_platform
="64-bit "
6286 TARGETFLAGS
="$TARGETFLAGS -m64"
6290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6291 printf %s
"checking whether $CC supports Thumb-2... " >&6; }
6292 if test ${wine_cv_thumb2+y}
6294 printf %s
"(cached) " >&6
6296 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6297 /* end confdefs.h. */
6302 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6307 if ac_fn_c_try_link
"$LINENO"
6313 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6314 conftest
$ac_exeext conftest.
$ac_ext
6316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6317 printf "%s\n" "$wine_cv_thumb2" >&6; }
6318 if test x
"$wine_cv_thumb2" = xyes
6320 CFLAGS
="$CFLAGS -mthumb"
6321 TARGETFLAGS
="$TARGETFLAGS -mthumb"
6323 CFLAGS
="$CFLAGS -marm"
6324 TARGETFLAGS
="$TARGETFLAGS -marm"
6326 case $with_float_abi in
6328 float_abi
=$with_float_abi ;;
6335 saved_CFLAGS
=$CFLAGS
6336 CFLAGS
="$CFLAGS -mfloat-abi=$float_abi"
6337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6338 printf %s
"checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6339 if test ${wine_cv_float_abi+y}
6341 printf %s
"(cached) " >&6
6343 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6344 /* end confdefs.h. */
6349 asm("vmrs r2,fpscr");
6354 if ac_fn_c_try_link
"$LINENO"
6356 wine_cv_float_abi
=yes
6358 wine_cv_float_abi
=no
6360 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6361 conftest
$ac_exeext conftest.
$ac_ext
6363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6364 printf "%s\n" "$wine_cv_float_abi" >&6; }
6365 if test $wine_cv_float_abi = no
6368 as_fn_append wine_warnings
"|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6370 CFLAGS
=$saved_CFLAGS
6374 CFLAGS
="$CFLAGS -mfloat-abi=$float_abi"
6375 TARGETFLAGS
="$TARGETFLAGS -mfloat-abi=$float_abi"
6378 with_unwind
=${with_unwind:-no}
6382 enable_win16
=${enable_win16:-i386}
6383 enable_win64
=${enable_win64:-no}
6384 enable_wow64
=${enable_wow64:-aarch64,x86_64}
6385 enable_wow64win
=${enable_wow64win:-aarch64,x86_64}
6386 enable_wow64cpu
=${enable_wow64cpu:-x86_64}
6388 enable_winetest
=${enable_winetest:-$enable_tests}
6390 if test "x$enable_win64" = "xyes"
6392 test -z "$with_wine64" || as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
6393 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6397 cygwin
*|mingw32
*) toolsext
=".exe"
6405 aarch64
*) HOST_ARCH
=aarch64
;;
6406 arm
*) HOST_ARCH
=arm
;;
6407 i
[3456789]86*) HOST_ARCH
=i386
;;
6408 x86_64
) HOST_ARCH
=x86_64
;;
6412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6413 printf %s
"checking for the directory containing the Wine tools... " >&6; }
6414 if test ${wine_cv_toolsdir+y}
6416 printf %s
"(cached) " >&6
6418 wine_cv_toolsdir
="$with_wine_tools"
6419 if test -z "$with_wine_tools"; then
6420 if test "$cross_compiling" = "yes"; then
6421 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6422 elif test -n "$with_wine64"; then
6423 wine_cv_toolsdir
="$with_wine64"
6427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6428 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6429 if test -z "$wine_cv_toolsdir"; then
6430 wine_makedep
=tools
/makedep
$toolsext
6431 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6432 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
$toolsext
6433 enable_tools
=${enable_tools:-no}
6434 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6436 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6438 toolsdir
=$wine_cv_toolsdir
6440 MAKEDEP
=$wine_makedep
6442 RUNTESTFLAGS
="-q -P wine"
6444 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'"
6447 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6449 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
6454 # Extract the first word of "$ac_prog", so it can be a program name with args.
6455 set dummy
$ac_prog; ac_word
=$2
6456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6457 printf %s
"checking for $ac_word... " >&6; }
6458 if test ${ac_cv_prog_FLEX+y}
6460 printf %s
"(cached) " >&6
6462 if test -n "$FLEX"; then
6463 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
6465 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6469 case $as_dir in #(((
6472 *) as_dir
=$as_dir/ ;;
6474 for ac_exec_ext
in '' $ac_executable_extensions; do
6475 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6476 ac_cv_prog_FLEX
="$ac_prog"
6477 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6486 FLEX
=$ac_cv_prog_FLEX
6487 if test -n "$FLEX"; then
6488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6489 printf "%s\n" "$FLEX" >&6; }
6491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6492 printf "%s\n" "no" >&6; }
6496 test -n "$FLEX" && break
6498 test -n "$FLEX" || FLEX
="none"
6500 if test "$FLEX" = "none"
6502 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6505 printf %s
"checking whether flex is recent enough... " >&6; }
6506 if test ${wine_cv_recent_flex+y}
6508 printf %s
"(cached) " >&6
6510 cat >conftest.l
<<EOF
6512 #include "prediluvian.h"
6516 if $FLEX -t conftest.l
>/dev
/null
2>&5
6518 wine_cv_recent_flex
=yes
6520 wine_cv_recent_flex
=no
6523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6524 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6525 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
6527 for ac_prog
in bison
6529 # Extract the first word of "$ac_prog", so it can be a program name with args.
6530 set dummy
$ac_prog; ac_word
=$2
6531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6532 printf %s
"checking for $ac_word... " >&6; }
6533 if test ${ac_cv_prog_BISON+y}
6535 printf %s
"(cached) " >&6
6537 if test -n "$BISON"; then
6538 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
6540 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6544 case $as_dir in #(((
6547 *) as_dir
=$as_dir/ ;;
6549 for ac_exec_ext
in '' $ac_executable_extensions; do
6550 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6551 ac_cv_prog_BISON
="$ac_prog"
6552 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6561 BISON
=$ac_cv_prog_BISON
6562 if test -n "$BISON"; then
6563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6564 printf "%s\n" "$BISON" >&6; }
6566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6567 printf "%s\n" "no" >&6; }
6571 test -n "$BISON" && break
6573 test -n "$BISON" || BISON
="none"
6575 if test "$BISON" = "none"
6577 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6580 printf %s
"checking whether bison is recent enough... " >&6; }
6581 if test ${wine_cv_recent_bison+y}
6583 printf %s
"(cached) " >&6
6585 cat >conftest.y
<<EOF
6586 %define parse.error verbose
6590 if $BISON conftest.y
>/dev
/null
2>&5
6592 wine_cv_recent_bison
=yes
6594 wine_cv_recent_bison
=no
6597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6598 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6599 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
6601 if test -n "$ac_tool_prefix"; then
6602 for ac_prog
in ar gar
6604 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6605 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6607 printf %s
"checking for $ac_word... " >&6; }
6608 if test ${ac_cv_prog_AR+y}
6610 printf %s
"(cached) " >&6
6612 if test -n "$AR"; then
6613 ac_cv_prog_AR
="$AR" # Let the user override the test.
6615 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6619 case $as_dir in #(((
6622 *) as_dir
=$as_dir/ ;;
6624 for ac_exec_ext
in '' $ac_executable_extensions; do
6625 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6626 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
6627 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6637 if test -n "$AR"; then
6638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6639 printf "%s\n" "$AR" >&6; }
6641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6642 printf "%s\n" "no" >&6; }
6646 test -n "$AR" && break
6649 if test -z "$AR"; then
6651 for ac_prog
in ar gar
6653 # Extract the first word of "$ac_prog", so it can be a program name with args.
6654 set dummy
$ac_prog; ac_word
=$2
6655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6656 printf %s
"checking for $ac_word... " >&6; }
6657 if test ${ac_cv_prog_ac_ct_AR+y}
6659 printf %s
"(cached) " >&6
6661 if test -n "$ac_ct_AR"; then
6662 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6664 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6668 case $as_dir in #(((
6671 *) as_dir
=$as_dir/ ;;
6673 for ac_exec_ext
in '' $ac_executable_extensions; do
6674 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6675 ac_cv_prog_ac_ct_AR
="$ac_prog"
6676 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6685 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6686 if test -n "$ac_ct_AR"; then
6687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6688 printf "%s\n" "$ac_ct_AR" >&6; }
6690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6691 printf "%s\n" "no" >&6; }
6695 test -n "$ac_ct_AR" && break
6698 if test "x$ac_ct_AR" = x
; then
6701 case $cross_compiling:$ac_tool_warned in
6703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6704 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6705 ac_tool_warned
=yes ;;
6711 if test -n "$ac_tool_prefix"; then
6712 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6713 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6715 printf %s
"checking for $ac_word... " >&6; }
6716 if test ${ac_cv_prog_STRIP+y}
6718 printf %s
"(cached) " >&6
6720 if test -n "$STRIP"; then
6721 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6723 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6727 case $as_dir in #(((
6730 *) as_dir
=$as_dir/ ;;
6732 for ac_exec_ext
in '' $ac_executable_extensions; do
6733 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6734 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6735 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6744 STRIP
=$ac_cv_prog_STRIP
6745 if test -n "$STRIP"; then
6746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6747 printf "%s\n" "$STRIP" >&6; }
6749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6750 printf "%s\n" "no" >&6; }
6755 if test -z "$ac_cv_prog_STRIP"; then
6757 # Extract the first word of "strip", so it can be a program name with args.
6758 set dummy strip
; ac_word
=$2
6759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6760 printf %s
"checking for $ac_word... " >&6; }
6761 if test ${ac_cv_prog_ac_ct_STRIP+y}
6763 printf %s
"(cached) " >&6
6765 if test -n "$ac_ct_STRIP"; then
6766 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6768 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6772 case $as_dir in #(((
6775 *) as_dir
=$as_dir/ ;;
6777 for ac_exec_ext
in '' $ac_executable_extensions; do
6778 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6779 ac_cv_prog_ac_ct_STRIP
="strip"
6780 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6789 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6790 if test -n "$ac_ct_STRIP"; then
6791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6792 printf "%s\n" "$ac_ct_STRIP" >&6; }
6794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6795 printf "%s\n" "no" >&6; }
6798 if test "x$ac_ct_STRIP" = x
; then
6801 case $cross_compiling:$ac_tool_warned in
6803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6804 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6805 ac_tool_warned
=yes ;;
6810 STRIP
="$ac_cv_prog_STRIP"
6813 if test -n "$ac_tool_prefix"; then
6814 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6815 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6817 printf %s
"checking for $ac_word... " >&6; }
6818 if test ${ac_cv_prog_RANLIB+y}
6820 printf %s
"(cached) " >&6
6822 if test -n "$RANLIB"; then
6823 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6825 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6829 case $as_dir in #(((
6832 *) as_dir
=$as_dir/ ;;
6834 for ac_exec_ext
in '' $ac_executable_extensions; do
6835 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6836 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6837 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6846 RANLIB
=$ac_cv_prog_RANLIB
6847 if test -n "$RANLIB"; then
6848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6849 printf "%s\n" "$RANLIB" >&6; }
6851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6852 printf "%s\n" "no" >&6; }
6857 if test -z "$ac_cv_prog_RANLIB"; then
6858 ac_ct_RANLIB
=$RANLIB
6859 # Extract the first word of "ranlib", so it can be a program name with args.
6860 set dummy ranlib
; ac_word
=$2
6861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6862 printf %s
"checking for $ac_word... " >&6; }
6863 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6865 printf %s
"(cached) " >&6
6867 if test -n "$ac_ct_RANLIB"; then
6868 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6870 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6874 case $as_dir in #(((
6877 *) as_dir
=$as_dir/ ;;
6879 for ac_exec_ext
in '' $ac_executable_extensions; do
6880 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6881 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6882 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6891 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6892 if test -n "$ac_ct_RANLIB"; then
6893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6894 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6897 printf "%s\n" "no" >&6; }
6900 if test "x$ac_ct_RANLIB" = x
; then
6903 case $cross_compiling:$ac_tool_warned in
6905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6906 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6907 ac_tool_warned
=yes ;;
6909 RANLIB
=$ac_ct_RANLIB
6912 RANLIB
="$ac_cv_prog_RANLIB"
6915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6916 printf %s
"checking whether ln -s works... " >&6; }
6918 if test "$LN_S" = "ln -s"; then
6919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6920 printf "%s\n" "yes" >&6; }
6922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6923 printf "%s\n" "no, using $LN_S" >&6; }
6926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6927 printf %s
"checking for grep that handles long lines and -e... " >&6; }
6928 if test ${ac_cv_path_GREP+y}
6930 printf %s
"(cached) " >&6
6932 if test -z "$GREP"; then
6933 ac_path_GREP_found
=false
6934 # Loop through the user's path and test for each of PROGNAME-LIST
6935 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6936 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6939 case $as_dir in #(((
6942 *) as_dir
=$as_dir/ ;;
6944 for ac_prog
in grep ggrep
6946 for ac_exec_ext
in '' $ac_executable_extensions; do
6947 ac_path_GREP
="$as_dir$ac_prog$ac_exec_ext"
6948 as_fn_executable_p
"$ac_path_GREP" ||
continue
6949 # Check for GNU ac_path_GREP and select it if it is found.
6950 # Check for GNU $ac_path_GREP
6951 case `"$ac_path_GREP" --version 2>&1` in
6953 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6956 printf %s
0123456789 >"conftest.in"
6959 cat "conftest.in" "conftest.in" >"conftest.tmp"
6960 mv "conftest.tmp" "conftest.in"
6961 cp "conftest.in" "conftest.nl"
6962 printf "%s\n" 'GREP' >> "conftest.nl"
6963 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6964 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6965 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6966 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6967 # Best one so far, save it but keep looking for a better one
6968 ac_cv_path_GREP
="$ac_path_GREP"
6969 ac_path_GREP_max
=$ac_count
6971 # 10*(2^10) chars as input seems more than enough
6972 test $ac_count -gt 10 && break
6974 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6977 $ac_path_GREP_found && break 3
6982 if test -z "$ac_cv_path_GREP"; then
6983 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6986 ac_cv_path_GREP
=$GREP
6990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6991 printf "%s\n" "$ac_cv_path_GREP" >&6; }
6992 GREP
="$ac_cv_path_GREP"
6995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6996 printf %s
"checking for egrep... " >&6; }
6997 if test ${ac_cv_path_EGREP+y}
6999 printf %s
"(cached) " >&6
7001 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
7002 then ac_cv_path_EGREP
="$GREP -E"
7004 if test -z "$EGREP"; then
7005 ac_path_EGREP_found
=false
7006 # Loop through the user's path and test for each of PROGNAME-LIST
7007 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7008 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7011 case $as_dir in #(((
7014 *) as_dir
=$as_dir/ ;;
7016 for ac_prog
in egrep
7018 for ac_exec_ext
in '' $ac_executable_extensions; do
7019 ac_path_EGREP
="$as_dir$ac_prog$ac_exec_ext"
7020 as_fn_executable_p
"$ac_path_EGREP" ||
continue
7021 # Check for GNU ac_path_EGREP and select it if it is found.
7022 # Check for GNU $ac_path_EGREP
7023 case `"$ac_path_EGREP" --version 2>&1` in
7025 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
7028 printf %s
0123456789 >"conftest.in"
7031 cat "conftest.in" "conftest.in" >"conftest.tmp"
7032 mv "conftest.tmp" "conftest.in"
7033 cp "conftest.in" "conftest.nl"
7034 printf "%s\n" 'EGREP' >> "conftest.nl"
7035 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7036 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7037 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7038 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7039 # Best one so far, save it but keep looking for a better one
7040 ac_cv_path_EGREP
="$ac_path_EGREP"
7041 ac_path_EGREP_max
=$ac_count
7043 # 10*(2^10) chars as input seems more than enough
7044 test $ac_count -gt 10 && break
7046 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7049 $ac_path_EGREP_found && break 3
7054 if test -z "$ac_cv_path_EGREP"; then
7055 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7058 ac_cv_path_EGREP
=$EGREP
7063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7064 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7065 EGREP
="$ac_cv_path_EGREP"
7068 # Extract the first word of "ldconfig", so it can be a program name with args.
7069 set dummy ldconfig
; ac_word
=$2
7070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7071 printf %s
"checking for $ac_word... " >&6; }
7072 if test ${ac_cv_path_LDCONFIG+y}
7074 printf %s
"(cached) " >&6
7078 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
7081 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7082 for as_dir
in /sbin
/usr
/sbin
$PATH
7085 case $as_dir in #(((
7088 *) as_dir
=$as_dir/ ;;
7090 for ac_exec_ext
in '' $ac_executable_extensions; do
7091 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7092 ac_cv_path_LDCONFIG
="$as_dir$ac_word$ac_exec_ext"
7093 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7100 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
7104 LDCONFIG
=$ac_cv_path_LDCONFIG
7105 if test -n "$LDCONFIG"; then
7106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7107 printf "%s\n" "$LDCONFIG" >&6; }
7109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7110 printf "%s\n" "no" >&6; }
7114 for ac_prog
in msgfmt
7116 # Extract the first word of "$ac_prog", so it can be a program name with args.
7117 set dummy
$ac_prog; ac_word
=$2
7118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7119 printf %s
"checking for $ac_word... " >&6; }
7120 if test ${ac_cv_prog_MSGFMT+y}
7122 printf %s
"(cached) " >&6
7124 if test -n "$MSGFMT"; then
7125 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
7127 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7131 case $as_dir in #(((
7134 *) as_dir
=$as_dir/ ;;
7136 for ac_exec_ext
in '' $ac_executable_extensions; do
7137 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7138 ac_cv_prog_MSGFMT
="$ac_prog"
7139 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7148 MSGFMT
=$ac_cv_prog_MSGFMT
7149 if test -n "$MSGFMT"; then
7150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7151 printf "%s\n" "$MSGFMT" >&6; }
7153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7154 printf "%s\n" "no" >&6; }
7158 test -n "$MSGFMT" && break
7160 test -n "$MSGFMT" || MSGFMT
="false"
7162 if test ${ac_tool_prefix+y}
7164 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7165 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
7166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7167 printf %s
"checking for $ac_word... " >&6; }
7168 if test ${ac_cv_prog_PKG_CONFIG+y}
7170 printf %s
"(cached) " >&6
7172 if test -n "$PKG_CONFIG"; then
7173 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
7175 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7179 case $as_dir in #(((
7182 *) as_dir
=$as_dir/ ;;
7184 for ac_exec_ext
in '' $ac_executable_extensions; do
7185 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7186 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
7187 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7196 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7197 if test -n "$PKG_CONFIG"; then
7198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7199 printf "%s\n" "$PKG_CONFIG" >&6; }
7201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7202 printf "%s\n" "no" >&6; }
7207 if ${ac_cv_prog_PKG_CONFIG:+false} :
7209 if test "x$cross_compiling" = xyes
7213 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
7214 # Extract the first word of "pkg-config", so it can be a program name with args.
7215 set dummy pkg-config
; ac_word
=$2
7216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7217 printf %s
"checking for $ac_word... " >&6; }
7218 if test ${ac_cv_prog_PKG_CONFIG+y}
7220 printf %s
"(cached) " >&6
7222 if test -n "$PKG_CONFIG"; then
7223 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
7225 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7229 case $as_dir in #(((
7232 *) as_dir
=$as_dir/ ;;
7234 for ac_exec_ext
in '' $ac_executable_extensions; do
7235 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7236 ac_cv_prog_PKG_CONFIG
="pkg-config"
7237 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7246 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7247 if test -n "$PKG_CONFIG"; then
7248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7249 printf "%s\n" "$PKG_CONFIG" >&6; }
7251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7252 printf "%s\n" "no" >&6; }
7258 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7261 if test "x$enable_maintainer_mode" != "xyes"
7268 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
7269 for ac_prog
in fontforge
7271 # Extract the first word of "$ac_prog", so it can be a program name with args.
7272 set dummy
$ac_prog; ac_word
=$2
7273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7274 printf %s
"checking for $ac_word... " >&6; }
7275 if test ${ac_cv_prog_FONTFORGE+y}
7277 printf %s
"(cached) " >&6
7279 if test -n "$FONTFORGE"; then
7280 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
7282 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7286 case $as_dir in #(((
7289 *) as_dir
=$as_dir/ ;;
7291 for ac_exec_ext
in '' $ac_executable_extensions; do
7292 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7293 ac_cv_prog_FONTFORGE
="$ac_prog"
7294 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7303 FONTFORGE
=$ac_cv_prog_FONTFORGE
7304 if test -n "$FONTFORGE"; then
7305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7306 printf "%s\n" "$FONTFORGE" >&6; }
7308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7309 printf "%s\n" "no" >&6; }
7313 test -n "$FONTFORGE" && break
7315 test -n "$FONTFORGE" || FONTFORGE
="false"
7317 for ac_prog
in rsvg-convert rsvg
7319 # Extract the first word of "$ac_prog", so it can be a program name with args.
7320 set dummy
$ac_prog; ac_word
=$2
7321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7322 printf %s
"checking for $ac_word... " >&6; }
7323 if test ${ac_cv_prog_RSVG+y}
7325 printf %s
"(cached) " >&6
7327 if test -n "$RSVG"; then
7328 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
7330 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7334 case $as_dir in #(((
7337 *) as_dir
=$as_dir/ ;;
7339 for ac_exec_ext
in '' $ac_executable_extensions; do
7340 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7341 ac_cv_prog_RSVG
="$ac_prog"
7342 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7351 RSVG
=$ac_cv_prog_RSVG
7352 if test -n "$RSVG"; then
7353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7354 printf "%s\n" "$RSVG" >&6; }
7356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7357 printf "%s\n" "no" >&6; }
7361 test -n "$RSVG" && break
7363 test -n "$RSVG" || RSVG
="false"
7365 for ac_prog
in convert
7367 # Extract the first word of "$ac_prog", so it can be a program name with args.
7368 set dummy
$ac_prog; ac_word
=$2
7369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7370 printf %s
"checking for $ac_word... " >&6; }
7371 if test ${ac_cv_prog_CONVERT+y}
7373 printf %s
"(cached) " >&6
7375 if test -n "$CONVERT"; then
7376 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
7378 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7382 case $as_dir in #(((
7385 *) as_dir
=$as_dir/ ;;
7387 for ac_exec_ext
in '' $ac_executable_extensions; do
7388 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7389 ac_cv_prog_CONVERT
="$ac_prog"
7390 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7399 CONVERT
=$ac_cv_prog_CONVERT
7400 if test -n "$CONVERT"; then
7401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7402 printf "%s\n" "$CONVERT" >&6; }
7404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7405 printf "%s\n" "no" >&6; }
7409 test -n "$CONVERT" && break
7411 test -n "$CONVERT" || CONVERT
="false"
7413 for ac_prog
in icotool
7415 # Extract the first word of "$ac_prog", so it can be a program name with args.
7416 set dummy
$ac_prog; ac_word
=$2
7417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7418 printf %s
"checking for $ac_word... " >&6; }
7419 if test ${ac_cv_prog_ICOTOOL+y}
7421 printf %s
"(cached) " >&6
7423 if test -n "$ICOTOOL"; then
7424 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
7426 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7430 case $as_dir in #(((
7433 *) as_dir
=$as_dir/ ;;
7435 for ac_exec_ext
in '' $ac_executable_extensions; do
7436 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7437 ac_cv_prog_ICOTOOL
="$ac_prog"
7438 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7447 ICOTOOL
=$ac_cv_prog_ICOTOOL
7448 if test -n "$ICOTOOL"; then
7449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7450 printf "%s\n" "$ICOTOOL" >&6; }
7452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7453 printf "%s\n" "no" >&6; }
7457 test -n "$ICOTOOL" && break
7459 test -n "$ICOTOOL" || ICOTOOL
="false"
7461 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7462 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7464 if test "$CONVERT" = false
7466 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7469 printf %s
"checking for recent enough imagemagick... " >&6; }
7470 convert_version
=`convert --version | head -n1`
7471 if test "x$convert_version" != "x"
7473 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7474 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7475 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7480 if test "$CONVERT" = false
7482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7483 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7484 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7487 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7491 if test "$ICOTOOL" = false
7493 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7496 printf %s
"checking for recent enough icotool... " >&6; }
7497 icotool_version
=`icotool --version | head -n1`
7498 if test "x$icotool_version" != "x"
7500 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7501 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7502 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7505 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
7508 if test "$ICOTOOL" = false
7510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7511 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7512 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7515 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7525 test "x$with_gettext" != xno || MSGFMT
=false
7526 if test "$MSGFMT" != "false"
7528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7529 printf %s
"checking whether msgfmt supports contexts... " >&6; }
7530 if test ${wine_cv_msgfmt_contexts+y}
7532 printf %s
"(cached) " >&6
7534 cat >conftest.po
<<EOF
7540 if $MSGFMT -o /dev
/null conftest.po
2>&5
7542 wine_cv_msgfmt_contexts
=yes
7544 wine_cv_msgfmt_contexts
=no
7547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7548 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7549 test $wine_cv_msgfmt_contexts != no || MSGFMT
=false
7551 if test "$MSGFMT" = false
7553 case "x$with_gettext" in
7554 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
7556 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
7557 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7559 enable_po
=${enable_po:-no}
7563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7564 printf %s
"checking for i386_set_ldt in -li386... " >&6; }
7565 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7567 printf %s
"(cached) " >&6
7569 ac_check_lib_save_LIBS
=$LIBS
7571 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7572 /* end confdefs.h. */
7574 /* Override any GCC internal prototype to avoid an error.
7575 Use char because int might match the return type of a GCC
7576 builtin and then its argument prototype would still apply. */
7577 char i386_set_ldt ();
7581 return i386_set_ldt ();
7586 if ac_fn_c_try_link
"$LINENO"
7588 ac_cv_lib_i386_i386_set_ldt
=yes
7590 ac_cv_lib_i386_i386_set_ldt
=no
7592 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
7593 conftest
$ac_exeext conftest.
$ac_ext
7594 LIBS
=$ac_check_lib_save_LIBS
7596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7597 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7598 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7609 # Check whether --enable-largefile was given.
7610 if test ${enable_largefile+y}
7612 enableval
=$enable_largefile;
7615 if test "$enable_largefile" != no
; then
7617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7618 printf %s
"checking for special C compiler options needed for large files... " >&6; }
7619 if test ${ac_cv_sys_largefile_CC+y}
7621 printf %s
"(cached) " >&6
7623 ac_cv_sys_largefile_CC
=no
7624 if test "$GCC" != yes; then
7627 # IRIX 6.2 and later do not support large files by default,
7628 # so use the C compiler's -n32 option if that helps.
7629 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7630 /* end confdefs.h. */
7631 #include <sys/types.h>
7632 /* Check that off_t can represent 2**63 - 1 correctly.
7633 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7634 since some C++ compilers masquerading as C compilers
7635 incorrectly reject 9223372036854775807. */
7636 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7637 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7638 && LARGE_OFF_T % 2147483647 == 1)
7648 if ac_fn_c_try_compile
"$LINENO"
7652 rm -f core conftest.err conftest.
$ac_objext conftest.beam
7654 if ac_fn_c_try_compile
"$LINENO"
7656 ac_cv_sys_largefile_CC
=' -n32'; break
7658 rm -f core conftest.err conftest.
$ac_objext conftest.beam
7662 rm -f conftest.
$ac_ext
7665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7666 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7667 if test "$ac_cv_sys_largefile_CC" != no
; then
7668 CC
=$CC$ac_cv_sys_largefile_CC
7671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7672 printf %s
"checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7673 if test ${ac_cv_sys_file_offset_bits+y}
7675 printf %s
"(cached) " >&6
7678 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7679 /* end confdefs.h. */
7680 #include <sys/types.h>
7681 /* Check that off_t can represent 2**63 - 1 correctly.
7682 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7683 since some C++ compilers masquerading as C compilers
7684 incorrectly reject 9223372036854775807. */
7685 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7686 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7687 && LARGE_OFF_T % 2147483647 == 1)
7697 if ac_fn_c_try_compile
"$LINENO"
7699 ac_cv_sys_file_offset_bits
=no
; break
7701 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7702 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7703 /* end confdefs.h. */
7704 #define _FILE_OFFSET_BITS 64
7705 #include <sys/types.h>
7706 /* Check that off_t can represent 2**63 - 1 correctly.
7707 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7708 since some C++ compilers masquerading as C compilers
7709 incorrectly reject 9223372036854775807. */
7710 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7711 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7712 && LARGE_OFF_T % 2147483647 == 1)
7722 if ac_fn_c_try_compile
"$LINENO"
7724 ac_cv_sys_file_offset_bits
=64; break
7726 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7727 ac_cv_sys_file_offset_bits
=unknown
7731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7732 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7733 case $ac_cv_sys_file_offset_bits in #(
7736 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7740 if test $ac_cv_sys_file_offset_bits = unknown
; then
7741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7742 printf %s
"checking for _LARGE_FILES value needed for large files... " >&6; }
7743 if test ${ac_cv_sys_large_files+y}
7745 printf %s
"(cached) " >&6
7748 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7749 /* end confdefs.h. */
7750 #include <sys/types.h>
7751 /* Check that off_t can represent 2**63 - 1 correctly.
7752 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7753 since some C++ compilers masquerading as C compilers
7754 incorrectly reject 9223372036854775807. */
7755 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7756 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7757 && LARGE_OFF_T % 2147483647 == 1)
7767 if ac_fn_c_try_compile
"$LINENO"
7769 ac_cv_sys_large_files
=no
; break
7771 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7772 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7773 /* end confdefs.h. */
7774 #define _LARGE_FILES 1
7775 #include <sys/types.h>
7776 /* Check that off_t can represent 2**63 - 1 correctly.
7777 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7778 since some C++ compilers masquerading as C compilers
7779 incorrectly reject 9223372036854775807. */
7780 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7781 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7782 && LARGE_OFF_T % 2147483647 == 1)
7792 if ac_fn_c_try_compile
"$LINENO"
7794 ac_cv_sys_large_files
=1; break
7796 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7797 ac_cv_sys_large_files
=unknown
7801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7802 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7803 case $ac_cv_sys_large_files in #(
7806 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7814 ac_header
= ac_cache
=
7815 for ac_item
in $ac_header_c_list
7817 if test $ac_cache; then
7818 ac_fn_c_check_header_compile
"$LINENO" $ac_header ac_cv_header_
$ac_cache "$ac_includes_default"
7819 if eval test \"x\
$ac_cv_header_$ac_cache\" = xyes
; then
7820 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7822 ac_header
= ac_cache
=
7823 elif test $ac_header; then
7837 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7840 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7843 ac_fn_c_check_header_compile
"$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7844 if test "x$ac_cv_header_CL_cl_h" = xyes
7846 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7849 ac_fn_c_check_header_compile
"$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7850 if test "x$ac_cv_header_EGL_egl_h" = xyes
7852 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7855 ac_fn_c_check_header_compile
"$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7856 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7858 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7861 ac_fn_c_check_header_compile
"$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7862 if test "x$ac_cv_header_arpa_inet_h" = xyes
7864 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7867 ac_fn_c_check_header_compile
"$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7868 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7870 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7873 ac_fn_c_check_header_compile
"$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7874 if test "x$ac_cv_header_asm_types_h" = xyes
7876 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7879 ac_fn_c_check_header_compile
"$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7880 if test "x$ac_cv_header_asm_user_h" = xyes
7882 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7885 ac_fn_c_check_header_compile
"$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7886 if test "x$ac_cv_header_elf_h" = xyes
7888 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7891 ac_fn_c_check_header_compile
"$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7892 if test "x$ac_cv_header_float_h" = xyes
7894 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7897 ac_fn_c_check_header_compile
"$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7898 if test "x$ac_cv_header_gettext_po_h" = xyes
7900 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7903 ac_fn_c_check_header_compile
"$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7904 if test "x$ac_cv_header_libproc_h" = xyes
7906 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7909 ac_fn_c_check_header_compile
"$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7910 if test "x$ac_cv_header_link_h" = xyes
7912 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7915 ac_fn_c_check_header_compile
"$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7916 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7918 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7921 ac_fn_c_check_header_compile
"$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7922 if test "x$ac_cv_header_linux_filter_h" = xyes
7924 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7927 ac_fn_c_check_header_compile
"$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7928 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7930 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7933 ac_fn_c_check_header_compile
"$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7934 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7936 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7939 ac_fn_c_check_header_compile
"$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7940 if test "x$ac_cv_header_linux_input_h" = xyes
7942 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7945 ac_fn_c_check_header_compile
"$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7946 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7948 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7951 ac_fn_c_check_header_compile
"$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7952 if test "x$ac_cv_header_linux_major_h" = xyes
7954 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7957 ac_fn_c_check_header_compile
"$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7958 if test "x$ac_cv_header_linux_param_h" = xyes
7960 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
7963 ac_fn_c_check_header_compile
"$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
7964 if test "x$ac_cv_header_linux_serial_h" = xyes
7966 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
7969 ac_fn_c_check_header_compile
"$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
7970 if test "x$ac_cv_header_linux_types_h" = xyes
7972 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
7975 ac_fn_c_check_header_compile
"$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
7976 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
7978 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
7981 ac_fn_c_check_header_compile
"$LINENO" "linux/wireless.h" "ac_cv_header_linux_wireless_h" "$ac_includes_default"
7982 if test "x$ac_cv_header_linux_wireless_h" = xyes
7984 printf "%s\n" "#define HAVE_LINUX_WIRELESS_H 1" >>confdefs.h
7987 ac_fn_c_check_header_compile
"$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
7988 if test "x$ac_cv_header_lwp_h" = xyes
7990 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
7993 ac_fn_c_check_header_compile
"$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
7994 if test "x$ac_cv_header_mach_o_loader_h" = xyes
7996 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
7999 ac_fn_c_check_header_compile
"$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8000 if test "x$ac_cv_header_mach_mach_h" = xyes
8002 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8005 ac_fn_c_check_header_compile
"$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8006 if test "x$ac_cv_header_machine_cpu_h" = xyes
8008 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8011 ac_fn_c_check_header_compile
"$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8012 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8014 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8017 ac_fn_c_check_header_compile
"$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8018 if test "x$ac_cv_header_mntent_h" = xyes
8020 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8023 ac_fn_c_check_header_compile
"$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8024 if test "x$ac_cv_header_netdb_h" = xyes
8026 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8029 ac_fn_c_check_header_compile
"$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8030 if test "x$ac_cv_header_netinet_in_h" = xyes
8032 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8035 ac_fn_c_check_header_compile
"$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8036 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8038 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8041 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8042 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8044 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8047 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8048 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8050 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8053 ac_fn_c_check_header_compile
"$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8054 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8056 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8059 ac_fn_c_check_header_compile
"$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8060 if test "x$ac_cv_header_port_h" = xyes
8062 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8065 ac_fn_c_check_header_compile
"$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8066 if test "x$ac_cv_header_pthread_h" = xyes
8068 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8071 ac_fn_c_check_header_compile
"$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8072 if test "x$ac_cv_header_pwd_h" = xyes
8074 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8077 ac_fn_c_check_header_compile
"$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8078 if test "x$ac_cv_header_sched_h" = xyes
8080 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8083 ac_fn_c_check_header_compile
"$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8084 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8086 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8089 ac_fn_c_check_header_compile
"$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8090 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8092 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8095 ac_fn_c_check_header_compile
"$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8096 if test "x$ac_cv_header_scsi_sg_h" = xyes
8098 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8101 ac_fn_c_check_header_compile
"$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8102 if test "x$ac_cv_header_stdint_h" = xyes
8104 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8107 ac_fn_c_check_header_compile
"$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8108 if test "x$ac_cv_header_sys_attr_h" = xyes
8110 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8113 ac_fn_c_check_header_compile
"$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8114 if test "x$ac_cv_header_sys_auxv_h" = xyes
8116 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8119 ac_fn_c_check_header_compile
"$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8120 if test "x$ac_cv_header_sys_cdio_h" = xyes
8122 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8125 ac_fn_c_check_header_compile
"$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8126 if test "x$ac_cv_header_sys_epoll_h" = xyes
8128 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8131 ac_fn_c_check_header_compile
"$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8132 if test "x$ac_cv_header_sys_event_h" = xyes
8134 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8137 ac_fn_c_check_header_compile
"$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
8138 if test "x$ac_cv_header_sys_extattr_h" = xyes
8140 printf "%s\n" "#define HAVE_SYS_EXTATTR_H 1" >>confdefs.h
8143 ac_fn_c_check_header_compile
"$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8144 if test "x$ac_cv_header_sys_filio_h" = xyes
8146 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8149 ac_fn_c_check_header_compile
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8150 if test "x$ac_cv_header_sys_ipc_h" = xyes
8152 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8155 ac_fn_c_check_header_compile
"$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8156 if test "x$ac_cv_header_sys_link_h" = xyes
8158 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8161 ac_fn_c_check_header_compile
"$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8162 if test "x$ac_cv_header_sys_modem_h" = xyes
8164 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8167 ac_fn_c_check_header_compile
"$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8168 if test "x$ac_cv_header_sys_mtio_h" = xyes
8170 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8173 ac_fn_c_check_header_compile
"$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8174 if test "x$ac_cv_header_sys_param_h" = xyes
8176 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8179 ac_fn_c_check_header_compile
"$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8180 if test "x$ac_cv_header_sys_prctl_h" = xyes
8182 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8185 ac_fn_c_check_header_compile
"$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8186 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8188 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8191 ac_fn_c_check_header_compile
"$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8192 if test "x$ac_cv_header_sys_queue_h" = xyes
8194 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8197 ac_fn_c_check_header_compile
"$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8198 if test "x$ac_cv_header_sys_random_h" = xyes
8200 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8203 ac_fn_c_check_header_compile
"$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8204 if test "x$ac_cv_header_sys_resource_h" = xyes
8206 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8209 ac_fn_c_check_header_compile
"$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8210 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8212 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8215 ac_fn_c_check_header_compile
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8216 if test "x$ac_cv_header_sys_shm_h" = xyes
8218 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8221 ac_fn_c_check_header_compile
"$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8222 if test "x$ac_cv_header_sys_signal_h" = xyes
8224 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8227 ac_fn_c_check_header_compile
"$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8228 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8230 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8233 ac_fn_c_check_header_compile
"$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8234 if test "x$ac_cv_header_sys_sockio_h" = xyes
8236 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8239 ac_fn_c_check_header_compile
"$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8240 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8242 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8245 ac_fn_c_check_header_compile
"$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8246 if test "x$ac_cv_header_sys_strtio_h" = xyes
8248 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8251 ac_fn_c_check_header_compile
"$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8252 if test "x$ac_cv_header_sys_syscall_h" = xyes
8254 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8257 ac_fn_c_check_header_compile
"$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8258 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8260 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8263 ac_fn_c_check_header_compile
"$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8264 if test "x$ac_cv_header_sys_times_h" = xyes
8266 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8269 ac_fn_c_check_header_compile
"$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8270 if test "x$ac_cv_header_sys_uio_h" = xyes
8272 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8275 ac_fn_c_check_header_compile
"$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8276 if test "x$ac_cv_header_sys_user_h" = xyes
8278 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8281 ac_fn_c_check_header_compile
"$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8282 if test "x$ac_cv_header_sys_utsname_h" = xyes
8284 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8287 ac_fn_c_check_header_compile
"$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8288 if test "x$ac_cv_header_sys_vnode_h" = xyes
8290 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8293 ac_fn_c_check_header_compile
"$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8294 if test "x$ac_cv_header_sys_xattr_h" = xyes
8296 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8299 ac_fn_c_check_header_compile
"$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8300 if test "x$ac_cv_header_syscall_h" = xyes
8302 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8305 ac_fn_c_check_header_compile
"$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8306 if test "x$ac_cv_header_utime_h" = xyes
8308 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8311 ac_fn_c_check_header_compile
"$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8312 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8314 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8317 ac_fn_c_check_header_compile
"$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8318 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8320 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8324 ac_fn_c_check_header_compile
"$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8325 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8328 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8332 if test $ac_cv_header_sys_mkdev_h = no
; then
8333 ac_fn_c_check_header_compile
"$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8334 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8337 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8343 printf %s
"checking whether stat file-mode macros are broken... " >&6; }
8344 if test ${ac_cv_header_stat_broken+y}
8346 printf %s
"(cached) " >&6
8348 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8349 /* end confdefs.h. */
8350 #include <sys/types.h>
8351 #include <sys/stat.h>
8353 #if defined S_ISBLK && defined S_IFDIR
8354 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8357 #if defined S_ISBLK && defined S_IFCHR
8358 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8361 #if defined S_ISLNK && defined S_IFREG
8362 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8365 #if defined S_ISSOCK && defined S_IFREG
8366 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8370 if ac_fn_c_try_compile
"$LINENO"
8372 ac_cv_header_stat_broken
=no
8374 ac_cv_header_stat_broken
=yes
8376 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8379 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8380 if test $ac_cv_header_stat_broken = yes; then
8382 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8388 ac_fn_c_check_header_compile
"$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8389 #ifdef HAVE_SYS_PARAM_H
8390 # include <sys/param.h>
8393 if test "x$ac_cv_header_sys_conf_h" = xyes
8395 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8398 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8399 #ifdef HAVE_SYS_PARAM_H
8400 # include <sys/param.h>
8403 if test "x$ac_cv_header_sys_mount_h" = xyes
8405 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8408 ac_fn_c_check_header_compile
"$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8409 #ifdef HAVE_SYS_PARAM_H
8410 # include <sys/param.h>
8413 if test "x$ac_cv_header_sys_statfs_h" = xyes
8415 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8418 ac_fn_c_check_header_compile
"$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8419 #ifdef HAVE_SYS_PARAM_H
8420 # include <sys/param.h>
8423 if test "x$ac_cv_header_sys_user_h" = xyes
8425 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8428 ac_fn_c_check_header_compile
"$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8429 #ifdef HAVE_SYS_PARAM_H
8430 # include <sys/param.h>
8433 if test "x$ac_cv_header_sys_vfs_h" = xyes
8435 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8440 saved_sysctl_h_CFLAGS
=$CFLAGS
8441 test "x${GCC}" != xyes || CFLAGS
="$CFLAGS -Werror"
8442 ac_fn_c_check_header_compile
"$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8443 #ifdef HAVE_SYS_PARAM_H
8444 # include <sys/param.h>
8447 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8449 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8453 CFLAGS
=$saved_sysctl_h_CFLAGS
8455 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8456 #include <sys/socket.h>
8457 #ifdef HAVE_SYS_SOCKETVAR_H
8458 # include <sys/socketvar.h>
8460 #ifdef HAVE_NET_ROUTE_H
8461 # include <net/route.h>
8463 #ifdef HAVE_NETINET_IN_H
8464 # include <netinet/in.h>
8466 #ifdef HAVE_NETINET_IN_SYSTM_H
8467 # include <netinet/in_systm.h>
8469 #ifdef HAVE_NET_IF_H
8470 # include <net/if.h>
8472 #ifdef HAVE_NETINET_IP_H
8473 # include <netinet/ip.h>
8476 if test "x$ac_cv_header_netinet_ip_h" = xyes
8478 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8481 ac_fn_c_check_header_compile
"$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8482 #include <sys/socket.h>
8483 #ifdef HAVE_SYS_SOCKETVAR_H
8484 # include <sys/socketvar.h>
8486 #ifdef HAVE_NET_ROUTE_H
8487 # include <net/route.h>
8489 #ifdef HAVE_NETINET_IN_H
8490 # include <netinet/in.h>
8492 #ifdef HAVE_NETINET_IN_SYSTM_H
8493 # include <netinet/in_systm.h>
8495 #ifdef HAVE_NET_IF_H
8496 # include <net/if.h>
8498 #ifdef HAVE_NETINET_IP_H
8499 # include <netinet/ip.h>
8502 if test "x$ac_cv_header_net_if_h" = xyes
8504 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8507 ac_fn_c_check_header_compile
"$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8508 #include <sys/socket.h>
8509 #ifdef HAVE_SYS_SOCKETVAR_H
8510 # include <sys/socketvar.h>
8512 #ifdef HAVE_NET_ROUTE_H
8513 # include <net/route.h>
8515 #ifdef HAVE_NETINET_IN_H
8516 # include <netinet/in.h>
8518 #ifdef HAVE_NETINET_IN_SYSTM_H
8519 # include <netinet/in_systm.h>
8521 #ifdef HAVE_NET_IF_H
8522 # include <net/if.h>
8524 #ifdef HAVE_NETINET_IP_H
8525 # include <netinet/ip.h>
8528 if test "x$ac_cv_header_net_if_arp_h" = xyes
8530 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8533 ac_fn_c_check_header_compile
"$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8534 #include <sys/socket.h>
8535 #ifdef HAVE_SYS_SOCKETVAR_H
8536 # include <sys/socketvar.h>
8538 #ifdef HAVE_NET_ROUTE_H
8539 # include <net/route.h>
8541 #ifdef HAVE_NETINET_IN_H
8542 # include <netinet/in.h>
8544 #ifdef HAVE_NETINET_IN_SYSTM_H
8545 # include <netinet/in_systm.h>
8547 #ifdef HAVE_NET_IF_H
8548 # include <net/if.h>
8550 #ifdef HAVE_NETINET_IP_H
8551 # include <netinet/ip.h>
8554 if test "x$ac_cv_header_net_if_dl_h" = xyes
8556 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8559 ac_fn_c_check_header_compile
"$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8560 #include <sys/socket.h>
8561 #ifdef HAVE_SYS_SOCKETVAR_H
8562 # include <sys/socketvar.h>
8564 #ifdef HAVE_NET_ROUTE_H
8565 # include <net/route.h>
8567 #ifdef HAVE_NETINET_IN_H
8568 # include <netinet/in.h>
8570 #ifdef HAVE_NETINET_IN_SYSTM_H
8571 # include <netinet/in_systm.h>
8573 #ifdef HAVE_NET_IF_H
8574 # include <net/if.h>
8576 #ifdef HAVE_NETINET_IP_H
8577 # include <netinet/ip.h>
8580 if test "x$ac_cv_header_net_if_types_h" = xyes
8582 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8585 ac_fn_c_check_header_compile
"$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8586 #include <sys/socket.h>
8587 #ifdef HAVE_SYS_SOCKETVAR_H
8588 # include <sys/socketvar.h>
8590 #ifdef HAVE_NET_ROUTE_H
8591 # include <net/route.h>
8593 #ifdef HAVE_NETINET_IN_H
8594 # include <netinet/in.h>
8596 #ifdef HAVE_NETINET_IN_SYSTM_H
8597 # include <netinet/in_systm.h>
8599 #ifdef HAVE_NET_IF_H
8600 # include <net/if.h>
8602 #ifdef HAVE_NETINET_IP_H
8603 # include <netinet/ip.h>
8606 if test "x$ac_cv_header_net_route_h" = xyes
8608 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8611 ac_fn_c_check_header_compile
"$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8612 #include <sys/socket.h>
8613 #ifdef HAVE_SYS_SOCKETVAR_H
8614 # include <sys/socketvar.h>
8616 #ifdef HAVE_NET_ROUTE_H
8617 # include <net/route.h>
8619 #ifdef HAVE_NETINET_IN_H
8620 # include <netinet/in.h>
8622 #ifdef HAVE_NETINET_IN_SYSTM_H
8623 # include <netinet/in_systm.h>
8625 #ifdef HAVE_NET_IF_H
8626 # include <net/if.h>
8628 #ifdef HAVE_NETINET_IP_H
8629 # include <netinet/ip.h>
8632 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8634 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8637 ac_fn_c_check_header_compile
"$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8638 #include <sys/socket.h>
8639 #ifdef HAVE_SYS_SOCKETVAR_H
8640 # include <sys/socketvar.h>
8642 #ifdef HAVE_NET_ROUTE_H
8643 # include <net/route.h>
8645 #ifdef HAVE_NETINET_IN_H
8646 # include <netinet/in.h>
8648 #ifdef HAVE_NETINET_IN_SYSTM_H
8649 # include <netinet/in_systm.h>
8651 #ifdef HAVE_NET_IF_H
8652 # include <net/if.h>
8654 #ifdef HAVE_NETINET_IP_H
8655 # include <netinet/ip.h>
8658 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8660 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8663 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8664 #include <sys/socket.h>
8665 #ifdef HAVE_SYS_SOCKETVAR_H
8666 # include <sys/socketvar.h>
8668 #ifdef HAVE_NET_ROUTE_H
8669 # include <net/route.h>
8671 #ifdef HAVE_NETINET_IN_H
8672 # include <netinet/in.h>
8674 #ifdef HAVE_NETINET_IN_SYSTM_H
8675 # include <netinet/in_systm.h>
8677 #ifdef HAVE_NET_IF_H
8678 # include <net/if.h>
8680 #ifdef HAVE_NETINET_IP_H
8681 # include <netinet/ip.h>
8684 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8686 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8689 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8690 #include <sys/socket.h>
8691 #ifdef HAVE_SYS_SOCKETVAR_H
8692 # include <sys/socketvar.h>
8694 #ifdef HAVE_NET_ROUTE_H
8695 # include <net/route.h>
8697 #ifdef HAVE_NETINET_IN_H
8698 # include <netinet/in.h>
8700 #ifdef HAVE_NETINET_IN_SYSTM_H
8701 # include <netinet/in_systm.h>
8703 #ifdef HAVE_NET_IF_H
8704 # include <net/if.h>
8706 #ifdef HAVE_NETINET_IP_H
8707 # include <netinet/ip.h>
8710 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8712 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8715 ac_fn_c_check_header_compile
"$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8716 #include <sys/socket.h>
8717 #ifdef HAVE_SYS_SOCKETVAR_H
8718 # include <sys/socketvar.h>
8720 #ifdef HAVE_NET_ROUTE_H
8721 # include <net/route.h>
8723 #ifdef HAVE_NETINET_IN_H
8724 # include <netinet/in.h>
8726 #ifdef HAVE_NETINET_IN_SYSTM_H
8727 # include <netinet/in_systm.h>
8729 #ifdef HAVE_NET_IF_H
8730 # include <net/if.h>
8732 #ifdef HAVE_NETINET_IP_H
8733 # include <netinet/ip.h>
8736 if test "x$ac_cv_header_netinet_udp_h" = xyes
8738 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8741 ac_fn_c_check_header_compile
"$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8742 #include <sys/socket.h>
8743 #ifdef HAVE_SYS_SOCKETVAR_H
8744 # include <sys/socketvar.h>
8746 #ifdef HAVE_NET_ROUTE_H
8747 # include <net/route.h>
8749 #ifdef HAVE_NETINET_IN_H
8750 # include <netinet/in.h>
8752 #ifdef HAVE_NETINET_IN_SYSTM_H
8753 # include <netinet/in_systm.h>
8755 #ifdef HAVE_NET_IF_H
8756 # include <net/if.h>
8758 #ifdef HAVE_NETINET_IP_H
8759 # include <netinet/ip.h>
8762 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8764 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8767 ac_fn_c_check_header_compile
"$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8768 #include <sys/socket.h>
8769 #ifdef HAVE_SYS_SOCKETVAR_H
8770 # include <sys/socketvar.h>
8772 #ifdef HAVE_NET_ROUTE_H
8773 # include <net/route.h>
8775 #ifdef HAVE_NETINET_IN_H
8776 # include <netinet/in.h>
8778 #ifdef HAVE_NETINET_IN_SYSTM_H
8779 # include <netinet/in_systm.h>
8781 #ifdef HAVE_NET_IF_H
8782 # include <net/if.h>
8784 #ifdef HAVE_NETINET_IP_H
8785 # include <netinet/ip.h>
8788 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8790 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8793 ac_fn_c_check_header_compile
"$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8794 #include <sys/socket.h>
8795 #ifdef HAVE_SYS_SOCKETVAR_H
8796 # include <sys/socketvar.h>
8798 #ifdef HAVE_NET_ROUTE_H
8799 # include <net/route.h>
8801 #ifdef HAVE_NETINET_IN_H
8802 # include <netinet/in.h>
8804 #ifdef HAVE_NETINET_IN_SYSTM_H
8805 # include <netinet/in_systm.h>
8807 #ifdef HAVE_NET_IF_H
8808 # include <net/if.h>
8810 #ifdef HAVE_NETINET_IP_H
8811 # include <netinet/ip.h>
8814 if test "x$ac_cv_header_sys_un_h" = xyes
8816 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8821 ac_fn_c_check_header_compile
"$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8822 #include <sys/socket.h>
8823 #ifdef HAVE_SYS_SOCKETVAR_H
8824 # include <sys/socketvar.h>
8826 #ifdef HAVE_NETINET_IN_H
8827 # include <netinet/in.h>
8829 #ifdef HAVE_NETINET_IN_SYSTM_H
8830 # include <netinet/in_systm.h>
8832 #ifdef HAVE_NETINET_IP_H
8833 # include <netinet/ip.h>
8835 #ifdef HAVE_NETINET_IP_VAR_H
8836 # include <netinet/ip_var.h>
8838 #ifdef HAVE_NETINET_IP_ICMP_H
8839 # include <netinet/ip_icmp.h>
8841 #ifdef HAVE_NETINET_UDP_H
8842 # include <netinet/udp.h>
8844 #ifdef HAVE_NETINET_TCP_H
8845 # include <netinet/tcp.h>
8848 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8850 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8853 ac_fn_c_check_header_compile
"$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8854 #include <sys/socket.h>
8855 #ifdef HAVE_SYS_SOCKETVAR_H
8856 # include <sys/socketvar.h>
8858 #ifdef HAVE_NETINET_IN_H
8859 # include <netinet/in.h>
8861 #ifdef HAVE_NETINET_IN_SYSTM_H
8862 # include <netinet/in_systm.h>
8864 #ifdef HAVE_NETINET_IP_H
8865 # include <netinet/ip.h>
8867 #ifdef HAVE_NETINET_IP_VAR_H
8868 # include <netinet/ip_var.h>
8870 #ifdef HAVE_NETINET_IP_ICMP_H
8871 # include <netinet/ip_icmp.h>
8873 #ifdef HAVE_NETINET_UDP_H
8874 # include <netinet/udp.h>
8876 #ifdef HAVE_NETINET_TCP_H
8877 # include <netinet/tcp.h>
8880 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8882 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8885 ac_fn_c_check_header_compile
"$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8886 #include <sys/socket.h>
8887 #ifdef HAVE_SYS_SOCKETVAR_H
8888 # include <sys/socketvar.h>
8890 #ifdef HAVE_NETINET_IN_H
8891 # include <netinet/in.h>
8893 #ifdef HAVE_NETINET_IN_SYSTM_H
8894 # include <netinet/in_systm.h>
8896 #ifdef HAVE_NETINET_IP_H
8897 # include <netinet/ip.h>
8899 #ifdef HAVE_NETINET_IP_VAR_H
8900 # include <netinet/ip_var.h>
8902 #ifdef HAVE_NETINET_IP_ICMP_H
8903 # include <netinet/ip_icmp.h>
8905 #ifdef HAVE_NETINET_UDP_H
8906 # include <netinet/udp.h>
8908 #ifdef HAVE_NETINET_TCP_H
8909 # include <netinet/tcp.h>
8912 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8914 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8917 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8918 #include <sys/socket.h>
8919 #ifdef HAVE_SYS_SOCKETVAR_H
8920 # include <sys/socketvar.h>
8922 #ifdef HAVE_NETINET_IN_H
8923 # include <netinet/in.h>
8925 #ifdef HAVE_NETINET_IN_SYSTM_H
8926 # include <netinet/in_systm.h>
8928 #ifdef HAVE_NETINET_IP_H
8929 # include <netinet/ip.h>
8931 #ifdef HAVE_NETINET_IP_VAR_H
8932 # include <netinet/ip_var.h>
8934 #ifdef HAVE_NETINET_IP_ICMP_H
8935 # include <netinet/ip_icmp.h>
8937 #ifdef HAVE_NETINET_UDP_H
8938 # include <netinet/udp.h>
8940 #ifdef HAVE_NETINET_TCP_H
8941 # include <netinet/tcp.h>
8944 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8946 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8951 ac_fn_c_check_header_compile
"$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8952 #include <sys/socket.h>
8953 #ifdef HAVE_ASM_TYPES_H
8954 # include <asm/types.h>
8956 #ifdef HAVE_LINUX_TYPES_H
8957 # include <linux/types.h>
8960 if test "x$ac_cv_header_linux_ipx_h" = xyes
8962 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8965 ac_fn_c_check_header_compile
"$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8966 #include <sys/socket.h>
8967 #ifdef HAVE_ASM_TYPES_H
8968 # include <asm/types.h>
8970 #ifdef HAVE_LINUX_TYPES_H
8971 # include <linux/types.h>
8974 if test "x$ac_cv_header_linux_irda_h" = xyes
8976 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
8979 ac_fn_c_check_header_compile
"$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
8980 #include <sys/socket.h>
8981 #ifdef HAVE_ASM_TYPES_H
8982 # include <asm/types.h>
8984 #ifdef HAVE_LINUX_TYPES_H
8985 # include <linux/types.h>
8988 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
8990 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
8995 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
8996 #include <sys/socket.h>
8997 #ifdef HAVE_NETINET_IN_H
8998 # include <netinet/in.h>
9000 #ifdef HAVE_ARPA_NAMESER_H
9001 # include <arpa/nameser.h>
9004 if test "x$ac_cv_header_resolv_h" = xyes
9006 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9011 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9013 if test "x$ac_cv_header_ifaddrs_h" = xyes
9015 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9020 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9022 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9024 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9029 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9030 #ifdef HAVE_SYS_UCONTEXT_H
9031 #include <sys/ucontext.h>
9034 if test "x$ac_cv_header_sys_thr_h" = xyes
9036 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9041 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9042 #include <pthread.h>
9045 if test "x$ac_cv_header_pthread_np_h" = xyes
9047 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9052 ac_fn_c_check_header_compile
"$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9053 #include <sys/types.h>
9054 #ifdef HAVE_ASM_TYPES_H
9055 #include <asm/types.h>
9058 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9060 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9065 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9066 #include <sys/param.h>
9068 #include <sys/socket.h>
9069 #ifdef HAVE_SYS_QUEUE_H
9070 #include <sys/queue.h>
9073 if test "x$ac_cv_header_libprocstat_h" = xyes
9075 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9080 if test "x$ac_cv_header_sys_xattr_h" = xyes
9082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9083 printf %s
"checking whether getxattr takes additional arguments... " >&6; }
9084 if test ${wine_cv_xattr_extra_args+y}
9086 printf %s
"(cached) " >&6
9088 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9089 /* end confdefs.h. */
9090 #include <sys/xattr.h>
9094 getxattr("", "", "", 0, 0, 0);
9099 if ac_fn_c_try_compile
"$LINENO"
9101 wine_cv_xattr_extra_args
=yes
9103 wine_cv_xattr_extra_args
=no
9105 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
9107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9108 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9109 test $wine_cv_xattr_extra_args != yes ||
9110 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9123 UNIXDLLFLAGS
="-fPIC"
9125 UNIXLDFLAGS
="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9131 WINELOADER_LDFLAGS
=""
9133 WINEPRELOADER_LDFLAGS
=""
9138 # Extract the first word of "ldd", so it can be a program name with args.
9139 set dummy ldd
; ac_word
=$2
9140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9141 printf %s
"checking for $ac_word... " >&6; }
9142 if test ${ac_cv_path_LDD+y}
9144 printf %s
"(cached) " >&6
9148 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
9151 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9152 as_dummy
="/sbin:/usr/sbin:$PATH"
9153 for as_dir
in $as_dummy
9156 case $as_dir in #(((
9159 *) as_dir
=$as_dir/ ;;
9161 for ac_exec_ext
in '' $ac_executable_extensions; do
9162 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9163 ac_cv_path_LDD
="$as_dir$ac_word$ac_exec_ext"
9164 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9171 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
9176 if test -n "$LDD"; then
9177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9178 printf "%s\n" "$LDD" >&6; }
9180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9181 printf "%s\n" "no" >&6; }
9185 if test -n "$ac_tool_prefix"; then
9186 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9187 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
9188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9189 printf %s
"checking for $ac_word... " >&6; }
9190 if test ${ac_cv_prog_OTOOL+y}
9192 printf %s
"(cached) " >&6
9194 if test -n "$OTOOL"; then
9195 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
9197 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9201 case $as_dir in #(((
9204 *) as_dir
=$as_dir/ ;;
9206 for ac_exec_ext
in '' $ac_executable_extensions; do
9207 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9208 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
9209 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9218 OTOOL
=$ac_cv_prog_OTOOL
9219 if test -n "$OTOOL"; then
9220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9221 printf "%s\n" "$OTOOL" >&6; }
9223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9224 printf "%s\n" "no" >&6; }
9229 if test -z "$ac_cv_prog_OTOOL"; then
9231 # Extract the first word of "otool", so it can be a program name with args.
9232 set dummy otool
; ac_word
=$2
9233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9234 printf %s
"checking for $ac_word... " >&6; }
9235 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9237 printf %s
"(cached) " >&6
9239 if test -n "$ac_ct_OTOOL"; then
9240 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
9242 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9246 case $as_dir in #(((
9249 *) as_dir
=$as_dir/ ;;
9251 for ac_exec_ext
in '' $ac_executable_extensions; do
9252 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9253 ac_cv_prog_ac_ct_OTOOL
="otool"
9254 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9263 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
9264 if test -n "$ac_ct_OTOOL"; then
9265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9266 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9269 printf "%s\n" "no" >&6; }
9272 if test "x$ac_ct_OTOOL" = x
; then
9275 case $cross_compiling:$ac_tool_warned in
9277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9278 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9279 ac_tool_warned
=yes ;;
9284 OTOOL
="$ac_cv_prog_OTOOL"
9287 if test -n "$ac_tool_prefix"; then
9288 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9289 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
9290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9291 printf %s
"checking for $ac_word... " >&6; }
9292 if test ${ac_cv_prog_READELF+y}
9294 printf %s
"(cached) " >&6
9296 if test -n "$READELF"; then
9297 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
9299 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9303 case $as_dir in #(((
9306 *) as_dir
=$as_dir/ ;;
9308 for ac_exec_ext
in '' $ac_executable_extensions; do
9309 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9310 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
9311 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9320 READELF
=$ac_cv_prog_READELF
9321 if test -n "$READELF"; then
9322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9323 printf "%s\n" "$READELF" >&6; }
9325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9326 printf "%s\n" "no" >&6; }
9331 if test -z "$ac_cv_prog_READELF"; then
9332 ac_ct_READELF
=$READELF
9333 # Extract the first word of "readelf", so it can be a program name with args.
9334 set dummy readelf
; ac_word
=$2
9335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9336 printf %s
"checking for $ac_word... " >&6; }
9337 if test ${ac_cv_prog_ac_ct_READELF+y}
9339 printf %s
"(cached) " >&6
9341 if test -n "$ac_ct_READELF"; then
9342 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
9344 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9348 case $as_dir in #(((
9351 *) as_dir
=$as_dir/ ;;
9353 for ac_exec_ext
in '' $ac_executable_extensions; do
9354 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9355 ac_cv_prog_ac_ct_READELF
="readelf"
9356 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9365 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
9366 if test -n "$ac_ct_READELF"; then
9367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9368 printf "%s\n" "$ac_ct_READELF" >&6; }
9370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9371 printf "%s\n" "no" >&6; }
9374 if test "x$ac_ct_READELF" = x
; then
9377 case $cross_compiling:$ac_tool_warned in
9379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9380 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9381 ac_tool_warned
=yes ;;
9383 READELF
=$ac_ct_READELF
9386 READELF
="$ac_cv_prog_READELF"
9394 CONFIGURE_TARGETS
=""
9397 wine_fn_config_makefile
()
9399 as_fn_append SUBDIRS
" \\$as_nl $1"
9402 no
) as_fn_append DISABLED_SUBDIRS
" $1" ;;
9403 *aarch64
*|
*arm
*|
*i386
*|
*x86_64
*)
9404 if test -n "$PE_ARCHS"
9408 test $
(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append
${i}_DISABLED_SUBDIRS
" $1"
9411 test $
(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS
" $1"
9416 wine_fn_config_symlink
()
9419 as_fn_append wine_rules
"
9421 @./config.status \$@"
9422 for f
in $ac_links; do as_fn_append CONFIGURE_TARGETS
" $f"; done
9429 EXTRACFLAGS
="-D__WINE_PE_BUILD"
9431 *i
[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9432 printf %s
"checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9433 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9435 printf %s
"(cached) " >&6
9437 ac_wine_try_cflags_saved
=$CFLAGS
9438 CFLAGS
="$CFLAGS -Wl,--disable-stdcall-fixup"
9439 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9440 /* end confdefs.h. */
9441 int main(int argc, char **argv) { return 0; }
9443 if ac_fn_c_try_link
"$LINENO"
9445 ac_cv_cflags__Wl___disable_stdcall_fixup
=yes
9447 ac_cv_cflags__Wl___disable_stdcall_fixup
=no
9449 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9450 conftest
$ac_exeext conftest.
$ac_ext
9451 CFLAGS
=$ac_wine_try_cflags_saved
9453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9454 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9455 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9457 LDDLLFLAGS
="-Wl,--disable-stdcall-fixup"
9460 enable_loader
=${enable_loader:-no}
9461 enable_server
=${enable_server:-no}
9462 with_x
=${with_x:-no}
9463 with_pthread
=${with_pthread:-no}
9468 DLLFLAGS
="$DLLFLAGS -fPIC"
9470 enable_winemac_drv
=${enable_winemac_drv:-yes}
9471 CARBON_LIBS
="-framework Carbon"
9473 COREFOUNDATION_LIBS
="-framework CoreFoundation"
9475 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
9477 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
9479 METAL_LIBS
="-framework Metal"
9481 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
9483 CORESERVICES_LIBS
="-framework CoreServices"
9485 APPKIT_LIBS
="-framework AppKit"
9487 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
9489 SYSTEMCONFIGURATION_LIBS
="-framework SystemConfiguration"
9492 WINELOADER_LDFLAGS
="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9495 *i
[3456]86*|
*x86_64
*) wine_can_build_preloader
=yes ;;
9496 *) wine_can_build_preloader
=no
;;
9499 if test "$wine_can_build_preloader" = "yes"
9501 WINEPRELOADER_LDFLAGS
="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -mmacosx-version-min=10.7 -Wl,-no_new_main,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9503 printf %s
"checking whether the compiler supports -Wl,-no_pie... " >&6; }
9504 if test ${ac_cv_cflags__Wl__no_pie+y}
9506 printf %s
"(cached) " >&6
9508 ac_wine_try_cflags_saved
=$CFLAGS
9509 CFLAGS
="$CFLAGS -Wl,-no_pie"
9510 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9511 /* end confdefs.h. */
9512 int main(int argc, char **argv) { return 0; }
9514 if ac_fn_c_try_link
"$LINENO"
9516 ac_cv_cflags__Wl__no_pie
=yes
9518 ac_cv_cflags__Wl__no_pie
=no
9520 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9521 conftest
$ac_exeext conftest.
$ac_ext
9522 CFLAGS
=$ac_wine_try_cflags_saved
9524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9525 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9526 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9528 WINEPRELOADER_LDFLAGS
="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9532 WINEPRELOADER_LDFLAGS
="-Wl,-image_base,0x7d400000 $WINEPRELOADER_LDFLAGS"
9535 WINEPRELOADER_LDFLAGS
="-Wl,-image_base,0x200000000,-segalign,0x1000,-segaddr,WINE_RESERVE,0x1000 $WINEPRELOADER_LDFLAGS"
9538 WINELOADER_LDFLAGS
="$WINELOADER_LDFLAGS -mmacosx-version-min=10.7"
9540 as_fn_append wine_warnings
"|can't build Wine preloader; many programs won't work"
9543 if test "x$with_coreaudio" != "xno";
9545 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9547 enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-yes}
9549 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9551 OPENCL_LIBS
="-framework OpenCL"
9553 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
9556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9557 printf %s
"checking whether MTLDevice protocol supports registryID property... " >&6; }
9559 ac_cpp
='$OBJCPP $CPPFLAGS'
9560 ac_compile
='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9561 ac_link
='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9562 ac_compiler_gnu
=$ac_cv_objc_compiler_gnu
9565 ac_cpp
='$OBJCPP $CPPFLAGS'
9566 ac_compile
='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9567 ac_link
='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9568 ac_compiler_gnu
=$ac_cv_objc_compiler_gnu
9569 if test -n "$ac_tool_prefix"; then
9570 for ac_prog
in gcc objcc objc cc CC clang
9572 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9573 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
9574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9575 printf %s
"checking for $ac_word... " >&6; }
9576 if test ${ac_cv_prog_OBJC+y}
9578 printf %s
"(cached) " >&6
9580 if test -n "$OBJC"; then
9581 ac_cv_prog_OBJC
="$OBJC" # Let the user override the test.
9583 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9587 case $as_dir in #(((
9590 *) as_dir
=$as_dir/ ;;
9592 for ac_exec_ext
in '' $ac_executable_extensions; do
9593 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9594 ac_cv_prog_OBJC
="$ac_tool_prefix$ac_prog"
9595 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9604 OBJC
=$ac_cv_prog_OBJC
9605 if test -n "$OBJC"; then
9606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9607 printf "%s\n" "$OBJC" >&6; }
9609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9610 printf "%s\n" "no" >&6; }
9614 test -n "$OBJC" && break
9617 if test -z "$OBJC"; then
9619 for ac_prog
in gcc objcc objc cc CC clang
9621 # Extract the first word of "$ac_prog", so it can be a program name with args.
9622 set dummy
$ac_prog; ac_word
=$2
9623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9624 printf %s
"checking for $ac_word... " >&6; }
9625 if test ${ac_cv_prog_ac_ct_OBJC+y}
9627 printf %s
"(cached) " >&6
9629 if test -n "$ac_ct_OBJC"; then
9630 ac_cv_prog_ac_ct_OBJC
="$ac_ct_OBJC" # Let the user override the test.
9632 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9636 case $as_dir in #(((
9639 *) as_dir
=$as_dir/ ;;
9641 for ac_exec_ext
in '' $ac_executable_extensions; do
9642 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9643 ac_cv_prog_ac_ct_OBJC
="$ac_prog"
9644 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9653 ac_ct_OBJC
=$ac_cv_prog_ac_ct_OBJC
9654 if test -n "$ac_ct_OBJC"; then
9655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9656 printf "%s\n" "$ac_ct_OBJC" >&6; }
9658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9659 printf "%s\n" "no" >&6; }
9663 test -n "$ac_ct_OBJC" && break
9666 if test "x$ac_ct_OBJC" = x
; then
9669 case $cross_compiling:$ac_tool_warned in
9671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9672 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9673 ac_tool_warned
=yes ;;
9679 # Provide some information about the compiler.
9680 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9683 for ac_option
in --version -v -V -qversion; do
9684 { { ac_try
="$ac_compiler $ac_option >&5"
9686 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9687 *) ac_try_echo=$ac_try;;
9689 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9690 printf "%s\n" "$ac_try_echo"; } >&5
9691 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9693 if test -s conftest.err; then
9695 ... rest of stderr output deleted ...
9696 10q' conftest.err >conftest.er1
9697 cat conftest.er1 >&5
9699 rm -f conftest.er1 conftest.err
9700 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9701 test $ac_status = 0; }
9704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9705 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9706 if test ${ac_cv_objc_compiler_gnu+y}
9708 printf %s "(cached) " >&6
9710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9711 /* end confdefs.h. */
9724 if ac_fn_objc_try_compile "$LINENO"
9730 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9731 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9735 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9736 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9738 if test $ac_compiler_gnu = yes; then
9743 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9744 ac_save_OBJCFLAGS=$OBJCFLAGS
9745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9746 printf %s "checking whether $OBJC accepts -g... " >&6; }
9747 if test ${ac_cv_prog_objc_g+y}
9749 printf %s "(cached) " >&6
9751 ac_save_objc_werror_flag=$ac_objc_werror_flag
9752 ac_objc_werror_flag=yes
9753 ac_cv_prog_objc_g=no
9755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9756 /* end confdefs.h. */
9766 if ac_fn_objc_try_compile "$LINENO"
9768 ac_cv_prog_objc_g=yes
9771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9772 /* end confdefs.h. */
9782 if ac_fn_objc_try_compile "$LINENO"
9786 ac_objc_werror_flag=$ac_save_objc_werror_flag
9788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9789 /* end confdefs.h. */
9799 if ac_fn_objc_try_compile "$LINENO"
9801 ac_cv_prog_objc_g=yes
9803 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9805 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9807 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9808 ac_objc_werror_flag=$ac_save_objc_werror_flag
9810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9811 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9812 if test $ac_test_OBJCFLAGS; then
9813 OBJCFLAGS=$ac_save_OBJCFLAGS
9814 elif test $ac_cv_prog_objc_g = yes; then
9815 if test "$GOBJC" = yes; then
9821 if test "$GOBJC" = yes; then
9828 ac_cpp='$OBJCPP $CPPFLAGS'
9829 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9830 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9831 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9835 /* end confdefs.h. */
9836 #include <Metal/Metal.h>
9840 id<MTLDevice> device; device.registryID;
9845 if ac_fn_objc_try_compile "$LINENO"
9847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9848 printf "%s\n" "yes" >&6; }
9850 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9854 printf "%s\n" "no" >&6; }
9856 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9858 ac_cpp='$CPP $CPPFLAGS'
9859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9864 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
9865 WINELOADER_DEPENDS="wine_info.plist"
9871 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
9873 DLLFLAGS="$DLLFLAGS -fPIC"
9875 LDEXECFLAGS="-Wl,-pie"
9876 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9878 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9879 if test ${ac_cv_cflags__Wl__z_defs+y}
9881 printf %s "(cached) " >&6
9883 ac_wine_try_cflags_saved=$CFLAGS
9884 CFLAGS="$CFLAGS -Wl,-z,defs"
9885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9886 /* end confdefs.h. */
9887 int main(int argc, char **argv) { return 0; }
9889 if ac_fn_c_try_link "$LINENO"
9891 ac_cv_cflags__Wl__z_defs=yes
9893 ac_cv_cflags__Wl__z_defs=no
9895 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9896 conftest$ac_exeext conftest.$ac_ext
9897 CFLAGS=$ac_wine_try_cflags_saved
9899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9900 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
9901 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
9903 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9906 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9907 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
9909 printf %s "(cached) " >&6
9911 ac_wine_try_cflags_saved=$CFLAGS
9912 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9914 /* end confdefs.h. */
9915 int main(int argc, char **argv) { return 0; }
9917 if ac_fn_c_try_link "$LINENO"
9919 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9921 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9923 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9924 conftest$ac_exeext conftest.$ac_ext
9925 CFLAGS=$ac_wine_try_cflags_saved
9927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9928 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9929 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
9931 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9933 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9936 printf %s "checking for -lEGL... " >&6; }
9937 if test ${ac_cv_lib_soname_EGL+y}
9939 printf %s "(cached) " >&6
9941 ac_check_soname_save_LIBS=$LIBS
9943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9944 /* end confdefs.h. */
9946 /* Override any GCC internal prototype to avoid an error.
9947 Use char because int might match the return type of a GCC
9948 builtin and then its argument prototype would still apply. */
9949 char eglGetProcAddress ();
9953 return eglGetProcAddress ();
9958 if ac_fn_c_try_link "$LINENO"
9961 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe |
grep "EGL" |
sed -e "s/dll.*/dll/"';2,$d'` ;;
9962 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'` ;;
9963 *) ac_cv_lib_soname_EGL=`$READELF -d conftest
$ac_exeext |
grep "NEEDED.*libEGL\\.$LIBEXT" |
sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9964 if ${ac_cv_lib_soname_EGL:+false} :
9966 ac_cv_lib_soname_EGL=`$LDD conftest
$ac_exeext |
grep "libEGL\\.$LIBEXT" |
sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9970 ac_cv_lib_soname_EGL=
9972 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9973 conftest$ac_exeext conftest.$ac_ext
9974 LIBS=$ac_check_soname_save_LIBS
9976 if ${ac_cv_lib_soname_EGL:+false} :
9978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9979 printf "%s\n" "not found" >&6; }
9982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9983 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
9985 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
9989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9990 printf %s "checking for -lGLESv2... " >&6; }
9991 if test ${ac_cv_lib_soname_GLESv2+y}
9993 printf %s "(cached) " >&6
9995 ac_check_soname_save_LIBS=$LIBS
9996 LIBS="-lGLESv2 $LIBS"
9997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9998 /* end confdefs.h. */
10000 /* Override any GCC internal prototype to avoid an error.
10001 Use char because int might match the return type of a GCC
10002 builtin and then its argument prototype would still apply. */
10012 if ac_fn_c_try_link "$LINENO"
10015 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe |
grep "GLESv2" |
sed -e "s/dll.*/dll/"';2,$d'` ;;
10016 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'` ;;
10017 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest
$ac_exeext |
grep "NEEDED.*libGLESv2\\.$LIBEXT" |
sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10018 if ${ac_cv_lib_soname_GLESv2:+false} :
10020 ac_cv_lib_soname_GLESv2=`$LDD conftest
$ac_exeext |
grep "libGLESv2\\.$LIBEXT" |
sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10024 ac_cv_lib_soname_GLESv2=
10026 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10027 conftest$ac_exeext conftest.$ac_ext
10028 LIBS=$ac_check_soname_save_LIBS
10030 if ${ac_cv_lib_soname_GLESv2:+false} :
10032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10033 printf "%s\n" "not found" >&6; }
10036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10037 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10039 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10044 if test "x$exec_prefix" = xNONE
10047 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10048 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10049 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10050 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10057 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10059 test "$ac_cv_sys_file_offset_bits" = 64 &&
10060 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10064 DLLFLAGS="$DLLFLAGS -fno-PIC"
10065 LDDLLFLAGS="-fno-PIC"
10066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10067 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10068 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10070 printf %s "(cached) " >&6
10072 ac_wine_try_cflags_saved=$CFLAGS
10073 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10075 /* end confdefs.h. */
10076 int main(int argc, char **argv) { return 0; }
10078 if ac_fn_c_try_link "$LINENO"
10080 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10082 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10084 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10085 conftest$ac_exeext conftest.$ac_ext
10086 CFLAGS=$ac_wine_try_cflags_saved
10088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10089 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10090 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10092 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10096 DLLFLAGS="$DLLFLAGS -fPIC"
10097 LDDLLFLAGS="-fPIC" ;;
10100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10101 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10102 if test ${ac_cv_cflags__Wl__z_defs+y}
10104 printf %s "(cached) " >&6
10106 ac_wine_try_cflags_saved=$CFLAGS
10107 CFLAGS="$CFLAGS -Wl,-z,defs"
10108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10109 /* end confdefs.h. */
10110 int main(int argc, char **argv) { return 0; }
10112 if ac_fn_c_try_link "$LINENO"
10114 ac_cv_cflags__Wl__z_defs=yes
10116 ac_cv_cflags__Wl__z_defs=no
10118 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10119 conftest$ac_exeext conftest.$ac_ext
10120 CFLAGS=$ac_wine_try_cflags_saved
10122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10123 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10124 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10126 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10129 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10130 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10132 printf %s "(cached) " >&6
10134 ac_wine_try_cflags_saved=$CFLAGS
10135 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10137 /* end confdefs.h. */
10138 int main(int argc, char **argv) { return 0; }
10140 if ac_fn_c_try_link "$LINENO"
10142 ac_cv_cflags__Wl___export_dynamic=yes
10144 ac_cv_cflags__Wl___export_dynamic=no
10146 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10147 conftest$ac_exeext conftest.$ac_ext
10148 CFLAGS=$ac_wine_try_cflags_saved
10150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10151 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10152 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10154 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10156 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs"
10160 as_fn_append WINELOADER_LDFLAGS " -pie"
10163 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d400000" ;;
10165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -static-pie" >&5
10166 printf %s "checking whether the compiler supports -static-pie... " >&6; }
10167 if test ${ac_cv_cflags__static_pie+y}
10169 printf %s "(cached) " >&6
10171 ac_wine_try_cflags_saved=$CFLAGS
10172 CFLAGS="$CFLAGS -static-pie"
10173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10174 /* end confdefs.h. */
10175 int main(int argc, char **argv) { return 0; }
10177 if ac_fn_c_try_link "$LINENO"
10179 ac_cv_cflags__static_pie=yes
10181 ac_cv_cflags__static_pie=no
10183 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10184 conftest$ac_exeext conftest.$ac_ext
10185 CFLAGS=$ac_wine_try_cflags_saved
10187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__static_pie" >&5
10188 printf "%s\n" "$ac_cv_cflags__static_pie" >&6; }
10189 if test "x$ac_cv_cflags__static_pie" = xyes
10191 as_fn_append WINEPRELOADER_LDFLAGS " -static-pie"
10193 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d7d00000000"
10201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x60000000" >&5
10202 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x60000000... " >&6; }
10203 if test ${ac_cv_cflags__Wl__Ttext_segment_0x60000000+y}
10205 printf %s "(cached) " >&6
10207 ac_wine_try_cflags_saved=$CFLAGS
10208 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x60000000"
10209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10210 /* end confdefs.h. */
10211 int main(int argc, char **argv) { return 0; }
10213 if ac_fn_c_try_link "$LINENO"
10215 ac_cv_cflags__Wl__Ttext_segment_0x60000000=yes
10217 ac_cv_cflags__Wl__Ttext_segment_0x60000000=no
10219 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10220 conftest$ac_exeext conftest.$ac_ext
10221 CFLAGS=$ac_wine_try_cflags_saved
10223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&5
10224 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&6; }
10225 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x60000000" = xyes
10227 as_fn_append WINELOADER_LDFLAGS " -Wl,-Ttext-segment=0x60000000"
10229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x60000400" >&5
10230 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x60000400... " >&6; }
10231 if test ${ac_cv_cflags__Wl___section_start__interp_0x60000400+y}
10233 printf %s "(cached) " >&6
10235 ac_wine_try_cflags_saved=$CFLAGS
10236 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x60000400"
10237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10238 /* end confdefs.h. */
10239 int main(int argc, char **argv) { return 0; }
10241 if ac_fn_c_try_link "$LINENO"
10243 ac_cv_cflags__Wl___section_start__interp_0x60000400=yes
10245 ac_cv_cflags__Wl___section_start__interp_0x60000400=no
10247 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10248 conftest$ac_exeext conftest.$ac_ext
10249 CFLAGS=$ac_wine_try_cflags_saved
10251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x60000400" >&5
10252 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x60000400" >&6; }
10253 if test "x$ac_cv_cflags__Wl___section_start__interp_0x60000400" = xyes
10255 as_fn_append WINELOADER_LDFLAGS " -Wl,--section-start,.interp=0x60000400"
10260 as_fn_append WINELOADER_LDFLAGS " -pie"
10268 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10269 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10270 enable_winemac_drv=${enable_winemac_drv:-no}
10275 if test ${enable_archs+y}
10277 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10280 set x $enable_archs
10286 i386|x86_64|arm|aarch64) cross_archs="$cross_archs $arch" ;;
10287 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10291 if test "x$with_mingw" != xno
10293 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10297 for wine_arch in $cross_archs
10299 case "x$with_mingw" in
10300 xclang|x*/clang) eval "${wine_arch}_CC=\$with_mingw" ;;
10302 if eval \${${wine_arch}_CC:+false} :
10306 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10308 # Extract the first word of "$ac_prog", so it can be a program name with args.
10309 set dummy $ac_prog; ac_word=$2
10310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10311 printf %s "checking for $ac_word... " >&6; }
10312 if test ${ac_cv_prog_aarch64_CC+y}
10314 printf %s "(cached) " >&6
10316 if test -n "$aarch64_CC"; then
10317 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10320 for as_dir in $PATH
10323 case $as_dir in #(((
10326 *) as_dir=$as_dir/ ;;
10328 for ac_exec_ext in '' $ac_executable_extensions; do
10329 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10330 ac_cv_prog_aarch64_CC="$ac_prog"
10331 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10340 aarch64_CC=$ac_cv_prog_aarch64_CC
10341 if test -n "$aarch64_CC"; then
10342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10343 printf "%s\n" "$aarch64_CC" >&6; }
10345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10346 printf "%s\n" "no" >&6; }
10350 test -n "$aarch64_CC" && break
10352 test -n "$aarch64_CC" || aarch64_CC="false"
10356 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10358 # Extract the first word of "$ac_prog", so it can be a program name with args.
10359 set dummy $ac_prog; ac_word=$2
10360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10361 printf %s "checking for $ac_word... " >&6; }
10362 if test ${ac_cv_prog_arm_CC+y}
10364 printf %s "(cached) " >&6
10366 if test -n "$arm_CC"; then
10367 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10370 for as_dir in $PATH
10373 case $as_dir in #(((
10376 *) as_dir=$as_dir/ ;;
10378 for ac_exec_ext in '' $ac_executable_extensions; do
10379 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10380 ac_cv_prog_arm_CC="$ac_prog"
10381 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10390 arm_CC=$ac_cv_prog_arm_CC
10391 if test -n "$arm_CC"; then
10392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10393 printf "%s\n" "$arm_CC" >&6; }
10395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10396 printf "%s\n" "no" >&6; }
10400 test -n "$arm_CC" && break
10402 test -n "$arm_CC" || arm_CC="false"
10406 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 "
10407 for ac_prog in $ac_prefix_list clang
10409 # Extract the first word of "$ac_prog", so it can be a program name with args.
10410 set dummy $ac_prog; ac_word=$2
10411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10412 printf %s "checking for $ac_word... " >&6; }
10413 if test ${ac_cv_prog_i386_CC+y}
10415 printf %s "(cached) " >&6
10417 if test -n "$i386_CC"; then
10418 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10421 for as_dir in $PATH
10424 case $as_dir in #(((
10427 *) as_dir=$as_dir/ ;;
10429 for ac_exec_ext in '' $ac_executable_extensions; do
10430 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10431 ac_cv_prog_i386_CC="$ac_prog"
10432 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10441 i386_CC=$ac_cv_prog_i386_CC
10442 if test -n "$i386_CC"; then
10443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10444 printf "%s\n" "$i386_CC" >&6; }
10446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10447 printf "%s\n" "no" >&6; }
10451 test -n "$i386_CC" && break
10453 test -n "$i386_CC" || i386_CC="false"
10457 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10458 for ac_prog in $ac_prefix_list clang
10460 # Extract the first word of "$ac_prog", so it can be a program name with args.
10461 set dummy $ac_prog; ac_word=$2
10462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10463 printf %s "checking for $ac_word... " >&6; }
10464 if test ${ac_cv_prog_x86_64_CC+y}
10466 printf %s "(cached) " >&6
10468 if test -n "$x86_64_CC"; then
10469 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10472 for as_dir in $PATH
10475 case $as_dir in #(((
10478 *) as_dir=$as_dir/ ;;
10480 for ac_exec_ext in '' $ac_executable_extensions; do
10481 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10482 ac_cv_prog_x86_64_CC="$ac_prog"
10483 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10492 x86_64_CC=$ac_cv_prog_x86_64_CC
10493 if test -n "$x86_64_CC"; then
10494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10495 printf "%s\n" "$x86_64_CC" >&6; }
10497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10498 printf "%s\n" "no" >&6; }
10502 test -n "$x86_64_CC" && break
10504 test -n "$x86_64_CC" || x86_64_CC="false"
10511 saved_CFLAGS=$CFLAGS
10512 saved_LDFLAGS=$LDFLAGS
10514 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10515 LDFLAGS=$CROSSLDFLAGS
10516 eval CC=\$${wine_arch}_CC
10517 eval ${wine_arch}_CFLAGS=\$CFLAGS
10518 eval ${wine_arch}_LDFLAGS=\$LDFLAGS
10519 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10522 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" |
$as_tr_sh`
10524 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10529 printf %s "checking whether $CC works... " >&6; }
10530 if eval test \${$as_wine_cv_crosscc+y}
10532 printf %s "(cached) " >&6
10534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10535 /* end confdefs.h. */
10545 if ac_fn_c_try_compile "$LINENO"
10547 eval "$as_wine_cv_crosscc=yes"
10549 eval "$as_wine_cv_crosscc=no"
10551 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10553 eval ac_res=\$$as_wine_cv_crosscc
10554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10555 printf "%s\n" "$ac_res" >&6; }
10557 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10561 while test $# -ge 1
10564 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10565 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10570 llvm_target=$target
10571 if test -z "$llvm_target"
10574 i386) llvm_target=i686-windows ;;
10575 arm) llvm_target=armv7-windows ;;
10576 *) llvm_target=$wine_arch-windows ;;
10579 llvm_extra_cflags="-target $llvm_target -fuse-ld=lld"
10580 case $llvm_target in
10581 *windows) llvm_cflags="-Wl,-subsystem:console -Wl,-WX" ;;
10583 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags" |
$as_tr_sh`
10584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags" >&5
10585 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags... " >&6; }
10586 if eval test \${$as_ac_var+y}
10588 printf %s "(cached) " >&6
10590 ac_wine_try_cflags_saved=$CFLAGS
10591 ac_wine_try_cflags_saved_exeext=$ac_exeext
10592 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags"
10594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10595 /* end confdefs.h. */
10596 int __cdecl mainCRTStartup(void) { return 0; }
10598 if ac_fn_c_try_link "$LINENO"
10600 eval "$as_ac_var=yes"
10602 eval "$as_ac_var=no"
10604 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10605 conftest$ac_exeext conftest.$ac_ext
10606 CFLAGS=$ac_wine_try_cflags_saved
10607 ac_exeext=$ac_wine_try_cflags_saved_exeext
10609 eval ac_res=\$$as_ac_var
10610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10611 printf "%s\n" "$ac_res" >&6; }
10612 if eval test \"x\$"$as_ac_var"\" = x"yes"
10614 target=$llvm_target
10615 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10616 as_fn_append ${wine_arch}_EXTRACFLAGS " $llvm_extra_cflags"
10617 CFLAGS="$llvm_extra_cflags $llvm_cflags"
10619 eval "${wine_arch}_TARGET=\$target"
10623 if test -z "$target"
10625 if test ${enable_archs+y}
10627 as_fn_error $? "MinGW $wine_arch compiler not found.
10628 This is an error since --enable-archs=$wine_arch was requested." "$LINENO" 5
10631 CFLAGS=$saved_CFLAGS
10632 LDFLAGS=$saved_LDFLAGS
10636 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" |
$as_tr_sh`
10638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10639 printf %s "checking for $CC option to enable C99 features... " >&6; }
10640 if eval test \${$as_wine_cv_crosscc_c99+y}
10642 printf %s "(cached) " >&6
10644 eval "$as_wine_cv_crosscc_c99=no"
10645 for arg in '' '-std=gnu99' '-D__STDC__'
10647 test -z "$arg" || CC="$CC $arg"
10648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10649 /* end confdefs.h. */
10650 $ac_c_conftest_c99_program
10652 if ac_fn_c_try_compile "$LINENO"
10654 eval "$as_wine_cv_crosscc_c99=\$arg"
10656 eval "$as_wine_cv_crosscc_c99=no"
10658 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10659 eval CC=\$${wine_arch}_CC
10660 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10669 eval res=\$$as_wine_cv_crosscc_c99
10672 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10673 printf "%s\n" "none needed" >&6; } ;;
10674 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10675 printf "%s\n" "unsupported" >&6; }
10677 CFLAGS=$saved_CFLAGS
10678 LDFLAGS=$saved_LDFLAGS
10679 if test ${enable_archs+y}
10681 as_fn_error $? "MinGW $wine_arch compiler supporting C99 not found.
10682 This is an error since --enable-archs=$wine_arch was requested." "$LINENO" 5
10686 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10687 printf "%s\n" "$res" >&6; }
10688 as_fn_append ${wine_arch}_CC " $res" ;;
10691 as_fn_append PE_ARCHS " $wine_arch"
10692 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" |
$as_tr_sh`
10693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10694 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10695 if eval test \${$as_ac_var+y}
10697 printf %s "(cached) " >&6
10699 ac_wine_try_cflags_saved=$CFLAGS
10700 ac_wine_try_cflags_saved_exeext=$ac_exeext
10701 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-strict-aliasing"
10703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10704 /* end confdefs.h. */
10705 int __cdecl mainCRTStartup(void) { return 0; }
10707 if ac_fn_c_try_link "$LINENO"
10709 eval "$as_ac_var=yes"
10711 eval "$as_ac_var=no"
10713 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10714 conftest$ac_exeext conftest.$ac_ext
10715 CFLAGS=$ac_wine_try_cflags_saved
10716 ac_exeext=$ac_wine_try_cflags_saved_exeext
10718 eval ac_res=\$$as_ac_var
10719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10720 printf "%s\n" "$ac_res" >&6; }
10721 if eval test \"x\$"$as_ac_var"\" = x"yes"
10723 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10725 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" |
$as_tr_sh`
10726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10727 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10728 if eval test \${$as_ac_var+y}
10730 printf %s "(cached) " >&6
10732 ac_wine_try_cflags_saved=$CFLAGS
10733 ac_wine_try_cflags_saved_exeext=$ac_exeext
10734 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=unknown-warning-option"
10736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10737 /* end confdefs.h. */
10738 int __cdecl mainCRTStartup(void) { return 0; }
10740 if ac_fn_c_try_link "$LINENO"
10742 eval "$as_ac_var=yes"
10744 eval "$as_ac_var=no"
10746 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10747 conftest$ac_exeext conftest.$ac_ext
10748 CFLAGS=$ac_wine_try_cflags_saved
10749 ac_exeext=$ac_wine_try_cflags_saved_exeext
10751 eval ac_res=\$$as_ac_var
10752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10753 printf "%s\n" "$ac_res" >&6; }
10754 if eval test \"x\$"$as_ac_var"\" = x"yes"
10756 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10758 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" |
$as_tr_sh`
10759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
10760 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
10761 if eval test \${$as_ac_var+y}
10763 printf %s "(cached) " >&6
10765 ac_wine_try_cflags_saved=$CFLAGS
10766 ac_wine_try_cflags_saved_exeext=$ac_exeext
10767 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=ignored-optimization-argument"
10769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10770 /* end confdefs.h. */
10771 int __cdecl mainCRTStartup(void) { return 0; }
10773 if ac_fn_c_try_link "$LINENO"
10775 eval "$as_ac_var=yes"
10777 eval "$as_ac_var=no"
10779 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10780 conftest$ac_exeext conftest.$ac_ext
10781 CFLAGS=$ac_wine_try_cflags_saved
10782 ac_exeext=$ac_wine_try_cflags_saved_exeext
10784 eval ac_res=\$$as_ac_var
10785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10786 printf "%s\n" "$ac_res" >&6; }
10787 if eval test \"x\$"$as_ac_var"\" = x"yes"
10789 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10791 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" |
$as_tr_sh`
10792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
10793 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
10794 if eval test \${$as_ac_var+y}
10796 printf %s "(cached) " >&6
10798 ac_wine_try_cflags_saved=$CFLAGS
10799 ac_wine_try_cflags_saved_exeext=$ac_exeext
10800 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wdeclaration-after-statement"
10802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10803 /* end confdefs.h. */
10804 int __cdecl mainCRTStartup(void) { return 0; }
10806 if ac_fn_c_try_link "$LINENO"
10808 eval "$as_ac_var=yes"
10810 eval "$as_ac_var=no"
10812 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10813 conftest$ac_exeext conftest.$ac_ext
10814 CFLAGS=$ac_wine_try_cflags_saved
10815 ac_exeext=$ac_wine_try_cflags_saved_exeext
10817 eval ac_res=\$$as_ac_var
10818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10819 printf "%s\n" "$ac_res" >&6; }
10820 if eval test \"x\$"$as_ac_var"\" = x"yes"
10822 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
10824 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" |
$as_tr_sh`
10825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
10826 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
10827 if eval test \${$as_ac_var+y}
10829 printf %s "(cached) " >&6
10831 ac_wine_try_cflags_saved=$CFLAGS
10832 ac_wine_try_cflags_saved_exeext=$ac_exeext
10833 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wempty-body"
10835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10836 /* end confdefs.h. */
10837 int __cdecl mainCRTStartup(void) { return 0; }
10839 if ac_fn_c_try_link "$LINENO"
10841 eval "$as_ac_var=yes"
10843 eval "$as_ac_var=no"
10845 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10846 conftest$ac_exeext conftest.$ac_ext
10847 CFLAGS=$ac_wine_try_cflags_saved
10848 ac_exeext=$ac_wine_try_cflags_saved_exeext
10850 eval ac_res=\$$as_ac_var
10851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10852 printf "%s\n" "$ac_res" >&6; }
10853 if eval test \"x\$"$as_ac_var"\" = x"yes"
10855 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
10857 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" |
$as_tr_sh`
10858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
10859 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
10860 if eval test \${$as_ac_var+y}
10862 printf %s "(cached) " >&6
10864 ac_wine_try_cflags_saved=$CFLAGS
10865 ac_wine_try_cflags_saved_exeext=$ac_exeext
10866 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wignored-qualifiers"
10868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10869 /* end confdefs.h. */
10870 int __cdecl mainCRTStartup(void) { return 0; }
10872 if ac_fn_c_try_link "$LINENO"
10874 eval "$as_ac_var=yes"
10876 eval "$as_ac_var=no"
10878 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10879 conftest$ac_exeext conftest.$ac_ext
10880 CFLAGS=$ac_wine_try_cflags_saved
10881 ac_exeext=$ac_wine_try_cflags_saved_exeext
10883 eval ac_res=\$$as_ac_var
10884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10885 printf "%s\n" "$ac_res" >&6; }
10886 if eval test \"x\$"$as_ac_var"\" = x"yes"
10888 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
10890 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" |
$as_tr_sh`
10891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
10892 printf %s "checking whether $CC supports -Winit-self... " >&6; }
10893 if eval test \${$as_ac_var+y}
10895 printf %s "(cached) " >&6
10897 ac_wine_try_cflags_saved=$CFLAGS
10898 ac_wine_try_cflags_saved_exeext=$ac_exeext
10899 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Winit-self"
10901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10902 /* end confdefs.h. */
10903 int __cdecl mainCRTStartup(void) { return 0; }
10905 if ac_fn_c_try_link "$LINENO"
10907 eval "$as_ac_var=yes"
10909 eval "$as_ac_var=no"
10911 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10912 conftest$ac_exeext conftest.$ac_ext
10913 CFLAGS=$ac_wine_try_cflags_saved
10914 ac_exeext=$ac_wine_try_cflags_saved_exeext
10916 eval ac_res=\$$as_ac_var
10917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10918 printf "%s\n" "$ac_res" >&6; }
10919 if eval test \"x\$"$as_ac_var"\" = x"yes"
10921 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
10923 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" |
$as_tr_sh`
10924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
10925 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
10926 if eval test \${$as_ac_var+y}
10928 printf %s "(cached) " >&6
10930 ac_wine_try_cflags_saved=$CFLAGS
10931 ac_wine_try_cflags_saved_exeext=$ac_exeext
10932 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpacked-not-aligned"
10934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10935 /* end confdefs.h. */
10936 int __cdecl mainCRTStartup(void) { return 0; }
10938 if ac_fn_c_try_link "$LINENO"
10940 eval "$as_ac_var=yes"
10942 eval "$as_ac_var=no"
10944 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10945 conftest$ac_exeext conftest.$ac_ext
10946 CFLAGS=$ac_wine_try_cflags_saved
10947 ac_exeext=$ac_wine_try_cflags_saved_exeext
10949 eval ac_res=\$$as_ac_var
10950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10951 printf "%s\n" "$ac_res" >&6; }
10952 if eval test \"x\$"$as_ac_var"\" = x"yes"
10954 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
10956 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" |
$as_tr_sh`
10957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
10958 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
10959 if eval test \${$as_ac_var+y}
10961 printf %s "(cached) " >&6
10963 ac_wine_try_cflags_saved=$CFLAGS
10964 ac_wine_try_cflags_saved_exeext=$ac_exeext
10965 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpragma-pack"
10967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10968 /* end confdefs.h. */
10969 int __cdecl mainCRTStartup(void) { return 0; }
10971 if ac_fn_c_try_link "$LINENO"
10973 eval "$as_ac_var=yes"
10975 eval "$as_ac_var=no"
10977 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10978 conftest$ac_exeext conftest.$ac_ext
10979 CFLAGS=$ac_wine_try_cflags_saved
10980 ac_exeext=$ac_wine_try_cflags_saved_exeext
10982 eval ac_res=\$$as_ac_var
10983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10984 printf "%s\n" "$ac_res" >&6; }
10985 if eval test \"x\$"$as_ac_var"\" = x"yes"
10987 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
10989 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" |
$as_tr_sh`
10990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
10991 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
10992 if eval test \${$as_ac_var+y}
10994 printf %s "(cached) " >&6
10996 ac_wine_try_cflags_saved=$CFLAGS
10997 ac_wine_try_cflags_saved_exeext=$ac_exeext
10998 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wshift-overflow=2"
11000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11001 /* end confdefs.h. */
11002 int __cdecl mainCRTStartup(void) { return 0; }
11004 if ac_fn_c_try_link "$LINENO"
11006 eval "$as_ac_var=yes"
11008 eval "$as_ac_var=no"
11010 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11011 conftest$ac_exeext conftest.$ac_ext
11012 CFLAGS=$ac_wine_try_cflags_saved
11013 ac_exeext=$ac_wine_try_cflags_saved_exeext
11015 eval ac_res=\$$as_ac_var
11016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11017 printf "%s\n" "$ac_res" >&6; }
11018 if eval test \"x\$"$as_ac_var"\" = x"yes"
11020 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11022 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" |
$as_tr_sh`
11023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11024 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11025 if eval test \${$as_ac_var+y}
11027 printf %s "(cached) " >&6
11029 ac_wine_try_cflags_saved=$CFLAGS
11030 ac_wine_try_cflags_saved_exeext=$ac_exeext
11031 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wstrict-prototypes"
11033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11034 /* end confdefs.h. */
11035 int __cdecl mainCRTStartup(void) { return 0; }
11037 if ac_fn_c_try_link "$LINENO"
11039 eval "$as_ac_var=yes"
11041 eval "$as_ac_var=no"
11043 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11044 conftest$ac_exeext conftest.$ac_ext
11045 CFLAGS=$ac_wine_try_cflags_saved
11046 ac_exeext=$ac_wine_try_cflags_saved_exeext
11048 eval ac_res=\$$as_ac_var
11049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11050 printf "%s\n" "$ac_res" >&6; }
11051 if eval test \"x\$"$as_ac_var"\" = x"yes"
11053 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11055 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" |
$as_tr_sh`
11056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11057 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11058 if eval test \${$as_ac_var+y}
11060 printf %s "(cached) " >&6
11062 ac_wine_try_cflags_saved=$CFLAGS
11063 ac_wine_try_cflags_saved_exeext=$ac_exeext
11064 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wtype-limits"
11066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11067 /* end confdefs.h. */
11068 int __cdecl mainCRTStartup(void) { return 0; }
11070 if ac_fn_c_try_link "$LINENO"
11072 eval "$as_ac_var=yes"
11074 eval "$as_ac_var=no"
11076 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11077 conftest$ac_exeext conftest.$ac_ext
11078 CFLAGS=$ac_wine_try_cflags_saved
11079 ac_exeext=$ac_wine_try_cflags_saved_exeext
11081 eval ac_res=\$$as_ac_var
11082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11083 printf "%s\n" "$ac_res" >&6; }
11084 if eval test \"x\$"$as_ac_var"\" = x"yes"
11086 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11088 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" |
$as_tr_sh`
11089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11090 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11091 if eval test \${$as_ac_var+y}
11093 printf %s "(cached) " >&6
11095 ac_wine_try_cflags_saved=$CFLAGS
11096 ac_wine_try_cflags_saved_exeext=$ac_exeext
11097 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wunused-but-set-parameter"
11099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11100 /* end confdefs.h. */
11101 int __cdecl mainCRTStartup(void) { return 0; }
11103 if ac_fn_c_try_link "$LINENO"
11105 eval "$as_ac_var=yes"
11107 eval "$as_ac_var=no"
11109 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11110 conftest$ac_exeext conftest.$ac_ext
11111 CFLAGS=$ac_wine_try_cflags_saved
11112 ac_exeext=$ac_wine_try_cflags_saved_exeext
11114 eval ac_res=\$$as_ac_var
11115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11116 printf "%s\n" "$ac_res" >&6; }
11117 if eval test \"x\$"$as_ac_var"\" = x"yes"
11119 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11121 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" |
$as_tr_sh`
11122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11123 printf %s "checking whether $CC supports -Wvla... " >&6; }
11124 if eval test \${$as_ac_var+y}
11126 printf %s "(cached) " >&6
11128 ac_wine_try_cflags_saved=$CFLAGS
11129 ac_wine_try_cflags_saved_exeext=$ac_exeext
11130 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wvla"
11132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11133 /* end confdefs.h. */
11134 int __cdecl mainCRTStartup(void) { return 0; }
11136 if ac_fn_c_try_link "$LINENO"
11138 eval "$as_ac_var=yes"
11140 eval "$as_ac_var=no"
11142 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11143 conftest$ac_exeext conftest.$ac_ext
11144 CFLAGS=$ac_wine_try_cflags_saved
11145 ac_exeext=$ac_wine_try_cflags_saved_exeext
11147 eval ac_res=\$$as_ac_var
11148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11149 printf "%s\n" "$ac_res" >&6; }
11150 if eval test \"x\$"$as_ac_var"\" = x"yes"
11152 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11154 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" |
$as_tr_sh`
11155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11156 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11157 if eval test \${$as_ac_var+y}
11159 printf %s "(cached) " >&6
11161 ac_wine_try_cflags_saved=$CFLAGS
11162 ac_wine_try_cflags_saved_exeext=$ac_exeext
11163 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wwrite-strings"
11165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11166 /* end confdefs.h. */
11167 int __cdecl mainCRTStartup(void) { return 0; }
11169 if ac_fn_c_try_link "$LINENO"
11171 eval "$as_ac_var=yes"
11173 eval "$as_ac_var=no"
11175 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11176 conftest$ac_exeext conftest.$ac_ext
11177 CFLAGS=$ac_wine_try_cflags_saved
11178 ac_exeext=$ac_wine_try_cflags_saved_exeext
11180 eval ac_res=\$$as_ac_var
11181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11182 printf "%s\n" "$ac_res" >&6; }
11183 if eval test \"x\$"$as_ac_var"\" = x"yes"
11185 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11187 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" |
$as_tr_sh`
11188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11189 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11190 if eval test \${$as_ac_var+y}
11192 printf %s "(cached) " >&6
11194 ac_wine_try_cflags_saved=$CFLAGS
11195 ac_wine_try_cflags_saved_exeext=$ac_exeext
11196 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpointer-arith"
11198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11199 /* end confdefs.h. */
11200 int __cdecl mainCRTStartup(void) { return 0; }
11202 if ac_fn_c_try_link "$LINENO"
11204 eval "$as_ac_var=yes"
11206 eval "$as_ac_var=no"
11208 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11209 conftest$ac_exeext conftest.$ac_ext
11210 CFLAGS=$ac_wine_try_cflags_saved
11211 ac_exeext=$ac_wine_try_cflags_saved_exeext
11213 eval ac_res=\$$as_ac_var
11214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11215 printf "%s\n" "$ac_res" >&6; }
11216 if eval test \"x\$"$as_ac_var"\" = x"yes"
11218 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11220 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" |
$as_tr_sh`
11221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11222 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11223 if eval test \${$as_ac_var+y}
11225 printf %s "(cached) " >&6
11227 ac_wine_try_cflags_saved=$CFLAGS
11228 ac_wine_try_cflags_saved_exeext=$ac_exeext
11229 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wlogical-op"
11231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11232 /* end confdefs.h. */
11233 int __cdecl mainCRTStartup(void) { return 0; }
11235 if ac_fn_c_try_link "$LINENO"
11237 eval "$as_ac_var=yes"
11239 eval "$as_ac_var=no"
11241 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11242 conftest$ac_exeext conftest.$ac_ext
11243 CFLAGS=$ac_wine_try_cflags_saved
11244 ac_exeext=$ac_wine_try_cflags_saved_exeext
11246 eval ac_res=\$$as_ac_var
11247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11248 printf "%s\n" "$ac_res" >&6; }
11249 if eval test \"x\$"$as_ac_var"\" = x"yes"
11251 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11253 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" |
$as_tr_sh`
11254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11255 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11256 if eval test \${$as_ac_var+y}
11258 printf %s "(cached) " >&6
11260 ac_wine_try_cflags_saved=$CFLAGS
11261 ac_wine_try_cflags_saved_exeext=$ac_exeext
11262 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wabsolute-value"
11264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11265 /* end confdefs.h. */
11266 int __cdecl mainCRTStartup(void) { return 0; }
11268 if ac_fn_c_try_link "$LINENO"
11270 eval "$as_ac_var=yes"
11272 eval "$as_ac_var=no"
11274 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11275 conftest$ac_exeext conftest.$ac_ext
11276 CFLAGS=$ac_wine_try_cflags_saved
11277 ac_exeext=$ac_wine_try_cflags_saved_exeext
11279 eval ac_res=\$$as_ac_var
11280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11281 printf "%s\n" "$ac_res" >&6; }
11282 if eval test \"x\$"$as_ac_var"\" = x"yes"
11284 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11288 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" |
$as_tr_sh`
11289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11290 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11291 if eval test \${$as_ac_var+y}
11293 printf %s "(cached) " >&6
11295 ac_wine_try_cflags_saved=$CFLAGS
11296 ac_wine_try_cflags_saved_exeext=$ac_exeext
11297 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-omit-frame-pointer"
11299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11300 /* end confdefs.h. */
11301 int __cdecl mainCRTStartup(void) { return 0; }
11303 if ac_fn_c_try_link "$LINENO"
11305 eval "$as_ac_var=yes"
11307 eval "$as_ac_var=no"
11309 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11310 conftest$ac_exeext conftest.$ac_ext
11311 CFLAGS=$ac_wine_try_cflags_saved
11312 ac_exeext=$ac_wine_try_cflags_saved_exeext
11314 eval ac_res=\$$as_ac_var
11315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11316 printf "%s\n" "$ac_res" >&6; }
11317 if eval test \"x\$"$as_ac_var"\" = x"yes"
11319 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11321 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" |
$as_tr_sh`
11322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11323 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11324 if eval test \${$as_ac_var+y}
11326 printf %s "(cached) " >&6
11328 ac_wine_try_cflags_saved=$CFLAGS
11329 ac_wine_try_cflags_saved_exeext=$ac_exeext
11330 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--disable-stdcall-fixup"
11332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11333 /* end confdefs.h. */
11334 int __cdecl mainCRTStartup(void) { return 0; }
11336 if ac_fn_c_try_link "$LINENO"
11338 eval "$as_ac_var=yes"
11340 eval "$as_ac_var=no"
11342 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11343 conftest$ac_exeext conftest.$ac_ext
11344 CFLAGS=$ac_wine_try_cflags_saved
11345 ac_exeext=$ac_wine_try_cflags_saved_exeext
11347 eval ac_res=\$$as_ac_var
11348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11349 printf "%s\n" "$ac_res" >&6; }
11350 if eval test \"x\$"$as_ac_var"\" = x"yes"
11352 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11354 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" |
$as_tr_sh`
11355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11356 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11357 if eval test \${$as_ac_var+y}
11359 printf %s "(cached) " >&6
11361 ac_wine_try_cflags_saved=$CFLAGS
11362 ac_wine_try_cflags_saved_exeext=$ac_exeext
11363 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wformat-overflow"
11365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11366 /* end confdefs.h. */
11367 int __cdecl mainCRTStartup(void) { return 0; }
11369 if ac_fn_c_try_link "$LINENO"
11371 eval "$as_ac_var=yes"
11373 eval "$as_ac_var=no"
11375 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11376 conftest$ac_exeext conftest.$ac_ext
11377 CFLAGS=$ac_wine_try_cflags_saved
11378 ac_exeext=$ac_wine_try_cflags_saved_exeext
11380 eval ac_res=\$$as_ac_var
11381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11382 printf "%s\n" "$ac_res" >&6; }
11383 if eval test \"x\$"$as_ac_var"\" = x"yes"
11385 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11387 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" |
$as_tr_sh`
11388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11389 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11390 if eval test \${$as_ac_var+y}
11392 printf %s "(cached) " >&6
11394 ac_wine_try_cflags_saved=$CFLAGS
11395 ac_wine_try_cflags_saved_exeext=$ac_exeext
11396 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wnonnull"
11398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11399 /* end confdefs.h. */
11400 int __cdecl mainCRTStartup(void) { return 0; }
11402 if ac_fn_c_try_link "$LINENO"
11404 eval "$as_ac_var=yes"
11406 eval "$as_ac_var=no"
11408 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11409 conftest$ac_exeext conftest.$ac_ext
11410 CFLAGS=$ac_wine_try_cflags_saved
11411 ac_exeext=$ac_wine_try_cflags_saved_exeext
11413 eval ac_res=\$$as_ac_var
11414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11415 printf "%s\n" "$ac_res" >&6; }
11416 if eval test \"x\$"$as_ac_var"\" = x"yes"
11418 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11420 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" |
$as_tr_sh`
11421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11422 printf %s "checking whether $CC supports -mcx16... " >&6; }
11423 if eval test \${$as_ac_var+y}
11425 printf %s "(cached) " >&6
11427 ac_wine_try_cflags_saved=$CFLAGS
11428 ac_wine_try_cflags_saved_exeext=$ac_exeext
11429 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcx16"
11431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11432 /* end confdefs.h. */
11433 int __cdecl mainCRTStartup(void) { return 0; }
11435 if ac_fn_c_try_link "$LINENO"
11437 eval "$as_ac_var=yes"
11439 eval "$as_ac_var=no"
11441 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11442 conftest$ac_exeext conftest.$ac_ext
11443 CFLAGS=$ac_wine_try_cflags_saved
11444 ac_exeext=$ac_wine_try_cflags_saved_exeext
11446 eval ac_res=\$$as_ac_var
11447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11448 printf "%s\n" "$ac_res" >&6; }
11449 if eval test \"x\$"$as_ac_var"\" = x"yes"
11451 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11453 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcmodel=small" |
$as_tr_sh`
11454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcmodel=small" >&5
11455 printf %s "checking whether $CC supports -mcmodel=small... " >&6; }
11456 if eval test \${$as_ac_var+y}
11458 printf %s "(cached) " >&6
11460 ac_wine_try_cflags_saved=$CFLAGS
11461 ac_wine_try_cflags_saved_exeext=$ac_exeext
11462 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcmodel=small"
11464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11465 /* end confdefs.h. */
11466 int __cdecl mainCRTStartup(void) { return 0; }
11468 if ac_fn_c_try_link "$LINENO"
11470 eval "$as_ac_var=yes"
11472 eval "$as_ac_var=no"
11474 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11475 conftest$ac_exeext conftest.$ac_ext
11476 CFLAGS=$ac_wine_try_cflags_saved
11477 ac_exeext=$ac_wine_try_cflags_saved_exeext
11479 eval ac_res=\$$as_ac_var
11480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11481 printf "%s\n" "$ac_res" >&6; }
11482 if eval test \"x\$"$as_ac_var"\" = x"yes"
11484 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcmodel=small"
11488 wine_crossdebug=$CROSSDEBUG
11489 if test -z "$wine_crossdebug"
11491 for ac_flag in $CFLAGS; do
11493 -gdwarf*) wine_crossdebug=dwarf ;;
11494 -gcodeview) wine_crossdebug=pdb ;;
11495 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11500 ac_debug_format_seen=""
11501 for ac_flag in $CFLAGS; do
11503 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11506 if test "x$ac_debug_format_seen" = x
11508 case $wine_crossdebug in
11509 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" |
$as_tr_sh`
11510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11511 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11512 if eval test \${$as_ac_var+y}
11514 printf %s "(cached) " >&6
11516 ac_wine_try_cflags_saved=$CFLAGS
11517 ac_wine_try_cflags_saved_exeext=$ac_exeext
11518 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gdwarf-4"
11520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11521 /* end confdefs.h. */
11522 int __cdecl mainCRTStartup(void) { return 0; }
11524 if ac_fn_c_try_link "$LINENO"
11526 eval "$as_ac_var=yes"
11528 eval "$as_ac_var=no"
11530 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11531 conftest$ac_exeext conftest.$ac_ext
11532 CFLAGS=$ac_wine_try_cflags_saved
11533 ac_exeext=$ac_wine_try_cflags_saved_exeext
11535 eval ac_res=\$$as_ac_var
11536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11537 printf "%s\n" "$ac_res" >&6; }
11538 if eval test \"x\$"$as_ac_var"\" = x"yes"
11540 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11542 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" |
$as_tr_sh`
11543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11544 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11545 if eval test \${$as_ac_var+y}
11547 printf %s "(cached) " >&6
11549 ac_wine_try_cflags_saved=$CFLAGS
11550 ac_wine_try_cflags_saved_exeext=$ac_exeext
11551 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gcodeview"
11553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11554 /* end confdefs.h. */
11555 int __cdecl mainCRTStartup(void) { return 0; }
11557 if ac_fn_c_try_link "$LINENO"
11559 eval "$as_ac_var=yes"
11561 eval "$as_ac_var=no"
11563 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11564 conftest$ac_exeext conftest.$ac_ext
11565 CFLAGS=$ac_wine_try_cflags_saved
11566 ac_exeext=$ac_wine_try_cflags_saved_exeext
11568 eval ac_res=\$$as_ac_var
11569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11570 printf "%s\n" "$ac_res" >&6; }
11571 if eval test \"x\$"$as_ac_var"\" = x"yes"
11573 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11577 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11579 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" |
$as_tr_sh`
11580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11581 printf %s "checking whether $CC supports -Werror... " >&6; }
11582 if eval test \${$as_ac_var+y}
11584 printf %s "(cached) " >&6
11586 ac_wine_try_cflags_saved=$CFLAGS
11587 ac_wine_try_cflags_saved_exeext=$ac_exeext
11588 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror"
11590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11591 /* end confdefs.h. */
11592 int __cdecl mainCRTStartup(void) { return 0; }
11594 if ac_fn_c_try_link "$LINENO"
11596 eval "$as_ac_var=yes"
11598 eval "$as_ac_var=no"
11600 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11601 conftest$ac_exeext conftest.$ac_ext
11602 CFLAGS=$ac_wine_try_cflags_saved
11603 ac_exeext=$ac_wine_try_cflags_saved_exeext
11605 eval ac_res=\$$as_ac_var
11606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11607 printf "%s\n" "$ac_res" >&6; }
11608 if eval test \"x\$"$as_ac_var"\" = x"yes"
11610 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11612 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" |
$as_tr_sh`
11613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11614 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11615 if eval test \${$as_ac_var+y}
11617 printf %s "(cached) " >&6
11619 ac_wine_try_cflags_saved=$CFLAGS
11620 ac_wine_try_cflags_saved_exeext=$ac_exeext
11621 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--build-id"
11623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11624 /* end confdefs.h. */
11625 int __cdecl mainCRTStartup(void) { return 0; }
11627 if ac_fn_c_try_link "$LINENO"
11629 eval "$as_ac_var=yes"
11631 eval "$as_ac_var=no"
11633 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11634 conftest$ac_exeext conftest.$ac_ext
11635 CFLAGS=$ac_wine_try_cflags_saved
11636 ac_exeext=$ac_wine_try_cflags_saved_exeext
11638 eval ac_res=\$$as_ac_var
11639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11640 printf "%s\n" "$ac_res" >&6; }
11641 if eval test \"x\$"$as_ac_var"\" = x"yes"
11643 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
11644 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
11648 CFLAGS=$saved_CFLAGS
11649 LDFLAGS=$saved_LDFLAGS
11652 if test $HOST_ARCH = aarch64
11654 test "x$PE_ARCHS" != x || as_fn_error $? "PE cross-compilation is required for ARM64, please install clang/llvm-dlltool/lld, or llvm-mingw." "$LINENO" 5
11659 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
11661 case "$host_cpu" in
11663 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11665 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11667 for ac_prog in $ac_prefix_list
11669 # Extract the first word of "$ac_prog", so it can be a program name with args.
11670 set dummy $ac_prog; ac_word=$2
11671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11672 printf %s "checking for $ac_word... " >&6; }
11673 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11675 printf %s "(cached) " >&6
11677 if test -n "$MINGW_PKG_CONFIG"; then
11678 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11681 for as_dir in $PATH
11684 case $as_dir in #(((
11687 *) as_dir=$as_dir/ ;;
11689 for ac_exec_ext in '' $ac_executable_extensions; do
11690 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11691 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11692 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11701 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11702 if test -n "$MINGW_PKG_CONFIG"; then
11703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11704 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
11706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11707 printf "%s\n" "no" >&6; }
11711 test -n "$MINGW_PKG_CONFIG" && break
11713 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
11715 if ${FAUDIO_PE_CFLAGS:+false} :
11717 if test ${MINGW_PKG_CONFIG+y}
11719 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio
2>/dev
/null
`
11722 if ${FAUDIO_PE_LIBS:+false} :
11724 if test ${MINGW_PKG_CONFIG+y}
11726 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio
2>/dev
/null
`
11729 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
11730 ac_save_CPPFLAGS=$CPPFLAGS
11731 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
11732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
11733 printf %s "checking for MinGW FAudio.h... " >&6; }
11734 if test ${ac_cv_mingw_header_FAudio_h+y}
11736 printf %s "(cached) " >&6
11738 ac_wine_check_headers_saved_cc=$CC
11739 ac_wine_check_headers_saved_exeext=$ac_exeext
11740 eval CC=\$${wine_arch}_CC
11742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11743 /* end confdefs.h. */
11745 #include <FAudio.h>
11754 if ac_fn_c_try_compile "$LINENO"
11756 ac_cv_mingw_header_FAudio_h=yes
11758 ac_cv_mingw_header_FAudio_h=no
11760 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11761 CC=$ac_wine_check_headers_saved_cc
11762 ac_exeext=$ac_wine_check_headers_saved_exeext
11764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
11765 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
11766 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
11768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
11769 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
11770 if test ${ac_cv_mingw_lib_FAudio+y}
11772 printf %s "(cached) " >&6
11774 ac_wine_check_headers_saved_cc=$CC
11775 ac_wine_check_headers_saved_exeext=$ac_exeext
11776 ac_wine_check_headers_saved_libs=$LIBS
11777 eval CC=\$${wine_arch}_CC
11779 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
11780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11781 /* end confdefs.h. */
11783 /* Override any GCC internal prototype to avoid an error.
11784 Use char because int might match the return type of a GCC
11785 builtin and then its argument prototype would still apply. */
11786 char FAudio_CommitOperationSet ();
11790 return FAudio_CommitOperationSet ();
11795 if ac_fn_c_try_link "$LINENO"
11797 ac_cv_mingw_lib_FAudio=yes
11799 ac_cv_mingw_lib_FAudio=no
11801 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11802 conftest$ac_exeext conftest.$ac_ext
11803 CC=$ac_wine_check_headers_saved_cc
11804 ac_exeext=$ac_wine_check_headers_saved_exeext
11805 LIBS=$ac_wine_check_headers_saved_libs
11807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
11808 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
11809 if test "x$ac_cv_mingw_lib_FAudio" = xyes
11813 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11816 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11818 CPPFLAGS=$ac_save_CPPFLAGS
11820 if test "x$FAUDIO_PE_LIBS" = "x"
11822 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
11825 if ${JPEG_PE_CFLAGS:+false} :
11827 if test ${MINGW_PKG_CONFIG+y}
11829 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg
2>/dev
/null
`
11832 if ${JPEG_PE_LIBS:+false} :
11834 if test ${MINGW_PKG_CONFIG+y}
11836 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg
2>/dev
/null
`
11840 ac_save_CPPFLAGS=$CPPFLAGS
11841 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
11842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
11843 printf %s "checking for MinGW jpeglib.h... " >&6; }
11844 if test ${ac_cv_mingw_header_jpeglib_h+y}
11846 printf %s "(cached) " >&6
11848 ac_wine_check_headers_saved_cc=$CC
11849 ac_wine_check_headers_saved_exeext=$ac_exeext
11850 eval CC=\$${wine_arch}_CC
11852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11853 /* end confdefs.h. */
11854 #include <stddef.h>
11856 #include <jpeglib.h>
11865 if ac_fn_c_try_compile "$LINENO"
11867 ac_cv_mingw_header_jpeglib_h=yes
11869 ac_cv_mingw_header_jpeglib_h=no
11871 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11872 CC=$ac_wine_check_headers_saved_cc
11873 ac_exeext=$ac_wine_check_headers_saved_exeext
11875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
11876 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
11877 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
11879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
11880 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
11881 if test ${ac_cv_mingw_lib_jpeg+y}
11883 printf %s "(cached) " >&6
11885 ac_wine_check_headers_saved_cc=$CC
11886 ac_wine_check_headers_saved_exeext=$ac_exeext
11887 ac_wine_check_headers_saved_libs=$LIBS
11888 eval CC=\$${wine_arch}_CC
11890 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
11891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11892 /* end confdefs.h. */
11894 /* Override any GCC internal prototype to avoid an error.
11895 Use char because int might match the return type of a GCC
11896 builtin and then its argument prototype would still apply. */
11897 char jpeg_start_decompress ();
11901 return jpeg_start_decompress ();
11906 if ac_fn_c_try_link "$LINENO"
11908 ac_cv_mingw_lib_jpeg=yes
11910 ac_cv_mingw_lib_jpeg=no
11912 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11913 conftest$ac_exeext conftest.$ac_ext
11914 CC=$ac_wine_check_headers_saved_cc
11915 ac_exeext=$ac_wine_check_headers_saved_exeext
11916 LIBS=$ac_wine_check_headers_saved_libs
11918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
11919 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
11920 if test "x$ac_cv_mingw_lib_jpeg" = xyes
11924 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
11927 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
11929 CPPFLAGS=$ac_save_CPPFLAGS
11931 if test "x$JPEG_PE_LIBS" = "x"
11933 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
11936 if ${LCMS2_PE_CFLAGS:+false} :
11938 if test ${MINGW_PKG_CONFIG+y}
11940 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2
2>/dev
/null
`
11943 if ${LCMS2_PE_LIBS:+false} :
11945 if test ${MINGW_PKG_CONFIG+y}
11947 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2
2>/dev
/null
`
11950 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
11951 ac_save_CPPFLAGS=$CPPFLAGS
11952 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
11953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
11954 printf %s "checking for MinGW lcms2.h... " >&6; }
11955 if test ${ac_cv_mingw_header_lcms2_h+y}
11957 printf %s "(cached) " >&6
11959 ac_wine_check_headers_saved_cc=$CC
11960 ac_wine_check_headers_saved_exeext=$ac_exeext
11961 eval CC=\$${wine_arch}_CC
11963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11964 /* end confdefs.h. */
11975 if ac_fn_c_try_compile "$LINENO"
11977 ac_cv_mingw_header_lcms2_h=yes
11979 ac_cv_mingw_header_lcms2_h=no
11981 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11982 CC=$ac_wine_check_headers_saved_cc
11983 ac_exeext=$ac_wine_check_headers_saved_exeext
11985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
11986 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
11987 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
11989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
11990 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
11991 if test ${ac_cv_mingw_lib_lcms2+y}
11993 printf %s "(cached) " >&6
11995 ac_wine_check_headers_saved_cc=$CC
11996 ac_wine_check_headers_saved_exeext=$ac_exeext
11997 ac_wine_check_headers_saved_libs=$LIBS
11998 eval CC=\$${wine_arch}_CC
12000 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12002 /* end confdefs.h. */
12004 /* Override any GCC internal prototype to avoid an error.
12005 Use char because int might match the return type of a GCC
12006 builtin and then its argument prototype would still apply. */
12007 char cmsOpenProfileFromFile ();
12011 return cmsOpenProfileFromFile ();
12016 if ac_fn_c_try_link "$LINENO"
12018 ac_cv_mingw_lib_lcms2=yes
12020 ac_cv_mingw_lib_lcms2=no
12022 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12023 conftest$ac_exeext conftest.$ac_ext
12024 CC=$ac_wine_check_headers_saved_cc
12025 ac_exeext=$ac_wine_check_headers_saved_exeext
12026 LIBS=$ac_wine_check_headers_saved_libs
12028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12029 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12030 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12034 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12037 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12039 CPPFLAGS=$ac_save_CPPFLAGS
12041 if test "x$LCMS2_PE_LIBS" = "x"
12043 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12046 if ${MPG123_PE_CFLAGS:+false} :
12048 if test ${MINGW_PKG_CONFIG+y}
12050 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123
2>/dev
/null
`
12053 if ${MPG123_PE_LIBS:+false} :
12055 if test ${MINGW_PKG_CONFIG+y}
12057 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123
2>/dev
/null
`
12060 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12061 ac_save_CPPFLAGS=$CPPFLAGS
12062 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12064 printf %s "checking for MinGW mpg123.h... " >&6; }
12065 if test ${ac_cv_mingw_header_mpg123_h+y}
12067 printf %s "(cached) " >&6
12069 ac_wine_check_headers_saved_cc=$CC
12070 ac_wine_check_headers_saved_exeext=$ac_exeext
12071 eval CC=\$${wine_arch}_CC
12073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12074 /* end confdefs.h. */
12076 #include <mpg123.h>
12085 if ac_fn_c_try_compile "$LINENO"
12087 ac_cv_mingw_header_mpg123_h=yes
12089 ac_cv_mingw_header_mpg123_h=no
12091 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12092 CC=$ac_wine_check_headers_saved_cc
12093 ac_exeext=$ac_wine_check_headers_saved_exeext
12095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12096 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12097 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12100 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12101 if test ${ac_cv_mingw_lib_mpg123+y}
12103 printf %s "(cached) " >&6
12105 ac_wine_check_headers_saved_cc=$CC
12106 ac_wine_check_headers_saved_exeext=$ac_exeext
12107 ac_wine_check_headers_saved_libs=$LIBS
12108 eval CC=\$${wine_arch}_CC
12110 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12112 /* end confdefs.h. */
12114 /* Override any GCC internal prototype to avoid an error.
12115 Use char because int might match the return type of a GCC
12116 builtin and then its argument prototype would still apply. */
12117 char mpg123_feed ();
12121 return mpg123_feed ();
12126 if ac_fn_c_try_link "$LINENO"
12128 ac_cv_mingw_lib_mpg123=yes
12130 ac_cv_mingw_lib_mpg123=no
12132 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12133 conftest$ac_exeext conftest.$ac_ext
12134 CC=$ac_wine_check_headers_saved_cc
12135 ac_exeext=$ac_wine_check_headers_saved_exeext
12136 LIBS=$ac_wine_check_headers_saved_libs
12138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12139 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12140 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12144 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12147 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12149 CPPFLAGS=$ac_save_CPPFLAGS
12151 if test "x$MPG123_PE_LIBS" = "x"
12153 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12156 if ${PNG_PE_CFLAGS:+false} :
12158 if test ${MINGW_PKG_CONFIG+y}
12160 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng
2>/dev
/null
`
12163 if ${PNG_PE_LIBS:+false} :
12165 if test ${MINGW_PKG_CONFIG+y}
12167 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng
2>/dev
/null
`
12171 ac_save_CPPFLAGS=$CPPFLAGS
12172 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12174 printf %s "checking for MinGW png.h... " >&6; }
12175 if test ${ac_cv_mingw_header_png_h+y}
12177 printf %s "(cached) " >&6
12179 ac_wine_check_headers_saved_cc=$CC
12180 ac_wine_check_headers_saved_exeext=$ac_exeext
12181 eval CC=\$${wine_arch}_CC
12183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12184 /* end confdefs.h. */
12195 if ac_fn_c_try_compile "$LINENO"
12197 ac_cv_mingw_header_png_h=yes
12199 ac_cv_mingw_header_png_h=no
12201 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12202 CC=$ac_wine_check_headers_saved_cc
12203 ac_exeext=$ac_wine_check_headers_saved_exeext
12205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12206 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12207 if test "x$ac_cv_mingw_header_png_h" = xyes
12209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12210 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12211 if test ${ac_cv_mingw_lib_png+y}
12213 printf %s "(cached) " >&6
12215 ac_wine_check_headers_saved_cc=$CC
12216 ac_wine_check_headers_saved_exeext=$ac_exeext
12217 ac_wine_check_headers_saved_libs=$LIBS
12218 eval CC=\$${wine_arch}_CC
12220 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12222 /* end confdefs.h. */
12224 /* Override any GCC internal prototype to avoid an error.
12225 Use char because int might match the return type of a GCC
12226 builtin and then its argument prototype would still apply. */
12227 char png_create_read_struct ();
12231 return png_create_read_struct ();
12236 if ac_fn_c_try_link "$LINENO"
12238 ac_cv_mingw_lib_png=yes
12240 ac_cv_mingw_lib_png=no
12242 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12243 conftest$ac_exeext conftest.$ac_ext
12244 CC=$ac_wine_check_headers_saved_cc
12245 ac_exeext=$ac_wine_check_headers_saved_exeext
12246 LIBS=$ac_wine_check_headers_saved_libs
12248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12249 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12250 if test "x$ac_cv_mingw_lib_png" = xyes
12254 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12257 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12259 CPPFLAGS=$ac_save_CPPFLAGS
12261 if test "x$PNG_PE_LIBS" = "x"
12263 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12266 if ${TIFF_PE_CFLAGS:+false} :
12268 if test ${MINGW_PKG_CONFIG+y}
12270 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4
2>/dev
/null
`
12273 if ${TIFF_PE_LIBS:+false} :
12275 if test ${MINGW_PKG_CONFIG+y}
12277 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4
2>/dev
/null
`
12281 ac_save_CPPFLAGS=$CPPFLAGS
12282 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12284 printf %s "checking for MinGW tiffio.h... " >&6; }
12285 if test ${ac_cv_mingw_header_tiffio_h+y}
12287 printf %s "(cached) " >&6
12289 ac_wine_check_headers_saved_cc=$CC
12290 ac_wine_check_headers_saved_exeext=$ac_exeext
12291 eval CC=\$${wine_arch}_CC
12293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12294 /* end confdefs.h. */
12296 #include <tiffio.h>
12305 if ac_fn_c_try_compile "$LINENO"
12307 ac_cv_mingw_header_tiffio_h=yes
12309 ac_cv_mingw_header_tiffio_h=no
12311 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12312 CC=$ac_wine_check_headers_saved_cc
12313 ac_exeext=$ac_wine_check_headers_saved_exeext
12315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12316 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12317 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12320 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12321 if test ${ac_cv_mingw_lib_tiff+y}
12323 printf %s "(cached) " >&6
12325 ac_wine_check_headers_saved_cc=$CC
12326 ac_wine_check_headers_saved_exeext=$ac_exeext
12327 ac_wine_check_headers_saved_libs=$LIBS
12328 eval CC=\$${wine_arch}_CC
12330 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12332 /* end confdefs.h. */
12334 /* Override any GCC internal prototype to avoid an error.
12335 Use char because int might match the return type of a GCC
12336 builtin and then its argument prototype would still apply. */
12337 char TIFFClientOpen ();
12341 return TIFFClientOpen ();
12346 if ac_fn_c_try_link "$LINENO"
12348 ac_cv_mingw_lib_tiff=yes
12350 ac_cv_mingw_lib_tiff=no
12352 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12353 conftest$ac_exeext conftest.$ac_ext
12354 CC=$ac_wine_check_headers_saved_cc
12355 ac_exeext=$ac_wine_check_headers_saved_exeext
12356 LIBS=$ac_wine_check_headers_saved_libs
12358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12359 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12360 if test "x$ac_cv_mingw_lib_tiff" = xyes
12364 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12367 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12369 CPPFLAGS=$ac_save_CPPFLAGS
12371 if test "x$TIFF_PE_LIBS" = "x"
12373 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12376 if ${XML2_PE_CFLAGS:+false} :
12378 if test ${MINGW_PKG_CONFIG+y}
12380 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0
2>/dev
/null
`
12383 if ${XML2_PE_LIBS:+false} :
12385 if test ${MINGW_PKG_CONFIG+y}
12387 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0
2>/dev
/null
`
12390 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12391 ac_save_CPPFLAGS=$CPPFLAGS
12392 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12394 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12395 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12397 printf %s "(cached) " >&6
12399 ac_wine_check_headers_saved_cc=$CC
12400 ac_wine_check_headers_saved_exeext=$ac_exeext
12401 eval CC=\$${wine_arch}_CC
12403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12404 /* end confdefs.h. */
12406 #include <libxml/parser.h>
12415 if ac_fn_c_try_compile "$LINENO"
12417 ac_cv_mingw_header_libxml_parser_h=yes
12419 ac_cv_mingw_header_libxml_parser_h=no
12421 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12422 CC=$ac_wine_check_headers_saved_cc
12423 ac_exeext=$ac_wine_check_headers_saved_exeext
12425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12426 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12427 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12432 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12433 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12435 printf %s "(cached) " >&6
12437 ac_wine_check_headers_saved_cc=$CC
12438 ac_wine_check_headers_saved_exeext=$ac_exeext
12439 eval CC=\$${wine_arch}_CC
12441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12442 /* end confdefs.h. */
12444 #include <libxml/xmlsave.h>
12453 if ac_fn_c_try_compile "$LINENO"
12455 ac_cv_mingw_header_libxml_xmlsave_h=yes
12457 ac_cv_mingw_header_libxml_xmlsave_h=no
12459 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12460 CC=$ac_wine_check_headers_saved_cc
12461 ac_exeext=$ac_wine_check_headers_saved_exeext
12463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12464 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12465 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12470 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12471 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12473 printf %s "(cached) " >&6
12475 ac_wine_check_headers_saved_cc=$CC
12476 ac_wine_check_headers_saved_exeext=$ac_exeext
12477 eval CC=\$${wine_arch}_CC
12479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12480 /* end confdefs.h. */
12482 #include <libxml/SAX2.h>
12491 if ac_fn_c_try_compile "$LINENO"
12493 ac_cv_mingw_header_libxml_SAX2_h=yes
12495 ac_cv_mingw_header_libxml_SAX2_h=no
12497 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12498 CC=$ac_wine_check_headers_saved_cc
12499 ac_exeext=$ac_wine_check_headers_saved_exeext
12501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12502 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12503 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12507 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"
12509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12510 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12511 if test ${ac_cv_mingw_lib_xml2+y}
12513 printf %s "(cached) " >&6
12515 ac_wine_check_headers_saved_cc=$CC
12516 ac_wine_check_headers_saved_exeext=$ac_exeext
12517 ac_wine_check_headers_saved_libs=$LIBS
12518 eval CC=\$${wine_arch}_CC
12520 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12522 /* end confdefs.h. */
12524 /* Override any GCC internal prototype to avoid an error.
12525 Use char because int might match the return type of a GCC
12526 builtin and then its argument prototype would still apply. */
12527 char xmlFirstElementChild ();
12531 return xmlFirstElementChild ();
12536 if ac_fn_c_try_link "$LINENO"
12538 ac_cv_mingw_lib_xml2=yes
12540 ac_cv_mingw_lib_xml2=no
12542 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12543 conftest$ac_exeext conftest.$ac_ext
12544 CC=$ac_wine_check_headers_saved_cc
12545 ac_exeext=$ac_wine_check_headers_saved_exeext
12546 LIBS=$ac_wine_check_headers_saved_libs
12548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12549 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12550 if test "x$ac_cv_mingw_lib_xml2" = xyes
12554 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12560 CPPFLAGS=$ac_save_CPPFLAGS
12562 if test "x$XML2_PE_LIBS" = "x"
12564 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12567 if ${XSLT_PE_CFLAGS:+false} :
12569 if test ${MINGW_PKG_CONFIG+y}
12571 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt
2>/dev
/null
`
12574 if ${XSLT_PE_LIBS:+false} :
12576 if test ${MINGW_PKG_CONFIG+y}
12578 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt
2>/dev
/null
`
12581 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12582 ac_save_CPPFLAGS=$CPPFLAGS
12583 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12585 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12586 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12588 printf %s "(cached) " >&6
12590 ac_wine_check_headers_saved_cc=$CC
12591 ac_wine_check_headers_saved_exeext=$ac_exeext
12592 eval CC=\$${wine_arch}_CC
12594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12595 /* end confdefs.h. */
12597 #include <libxslt/pattern.h>
12606 if ac_fn_c_try_compile "$LINENO"
12608 ac_cv_mingw_header_libxslt_pattern_h=yes
12610 ac_cv_mingw_header_libxslt_pattern_h=no
12612 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12613 CC=$ac_wine_check_headers_saved_cc
12614 ac_exeext=$ac_wine_check_headers_saved_exeext
12616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12617 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12618 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12623 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12624 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12626 printf %s "(cached) " >&6
12628 ac_wine_check_headers_saved_cc=$CC
12629 ac_wine_check_headers_saved_exeext=$ac_exeext
12630 eval CC=\$${wine_arch}_CC
12632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12633 /* end confdefs.h. */
12635 #include <libxslt/transform.h>
12644 if ac_fn_c_try_compile "$LINENO"
12646 ac_cv_mingw_header_libxslt_transform_h=yes
12648 ac_cv_mingw_header_libxslt_transform_h=no
12650 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12651 CC=$ac_wine_check_headers_saved_cc
12652 ac_exeext=$ac_wine_check_headers_saved_exeext
12654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12655 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12656 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12660 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12663 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12664 if test ${ac_cv_mingw_lib_xslt+y}
12666 printf %s "(cached) " >&6
12668 ac_wine_check_headers_saved_cc=$CC
12669 ac_wine_check_headers_saved_exeext=$ac_exeext
12670 ac_wine_check_headers_saved_libs=$LIBS
12671 eval CC=\$${wine_arch}_CC
12673 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12675 /* end confdefs.h. */
12677 /* Override any GCC internal prototype to avoid an error.
12678 Use char because int might match the return type of a GCC
12679 builtin and then its argument prototype would still apply. */
12680 char xsltCompilePattern ();
12684 return xsltCompilePattern ();
12689 if ac_fn_c_try_link "$LINENO"
12691 ac_cv_mingw_lib_xslt=yes
12693 ac_cv_mingw_lib_xslt=no
12695 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12696 conftest$ac_exeext conftest.$ac_ext
12697 CC=$ac_wine_check_headers_saved_cc
12698 ac_exeext=$ac_wine_check_headers_saved_exeext
12699 LIBS=$ac_wine_check_headers_saved_libs
12701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12702 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12703 if test "x$ac_cv_mingw_lib_xslt" = xyes
12707 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
12713 CPPFLAGS=$ac_save_CPPFLAGS
12715 if test "x$XSLT_PE_LIBS" = "x"
12717 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
12720 if ${VKD3D_PE_CFLAGS:+false} :
12722 if test ${MINGW_PKG_CONFIG+y}
12724 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader
2>/dev
/null
`
12727 if ${VKD3D_PE_LIBS:+false} :
12729 if test ${MINGW_PKG_CONFIG+y}
12731 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader
2>/dev
/null
`
12734 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
12735 ac_save_CPPFLAGS=$CPPFLAGS
12736 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
12737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
12738 printf %s "checking for MinGW vkd3d.h... " >&6; }
12739 if test ${ac_cv_mingw_header_vkd3d_h+y}
12741 printf %s "(cached) " >&6
12743 ac_wine_check_headers_saved_cc=$CC
12744 ac_wine_check_headers_saved_exeext=$ac_exeext
12745 eval CC=\$${wine_arch}_CC
12747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12748 /* end confdefs.h. */
12759 if ac_fn_c_try_compile "$LINENO"
12761 ac_cv_mingw_header_vkd3d_h=yes
12763 ac_cv_mingw_header_vkd3d_h=no
12765 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12766 CC=$ac_wine_check_headers_saved_cc
12767 ac_exeext=$ac_wine_check_headers_saved_exeext
12769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
12770 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
12771 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
12775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
12776 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
12777 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
12779 printf %s "(cached) " >&6
12781 ac_wine_check_headers_saved_cc=$CC
12782 ac_wine_check_headers_saved_exeext=$ac_exeext
12783 eval CC=\$${wine_arch}_CC
12785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12786 /* end confdefs.h. */
12788 #include <vkd3d_shader.h>
12797 if ac_fn_c_try_compile "$LINENO"
12799 ac_cv_mingw_header_vkd3d_shader_h=yes
12801 ac_cv_mingw_header_vkd3d_shader_h=no
12803 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12804 CC=$ac_wine_check_headers_saved_cc
12805 ac_exeext=$ac_wine_check_headers_saved_exeext
12807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
12808 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
12809 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
12813 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
12815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
12816 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
12817 if test ${ac_cv_mingw_lib_vkd3d+y}
12819 printf %s "(cached) " >&6
12821 ac_wine_check_headers_saved_cc=$CC
12822 ac_wine_check_headers_saved_exeext=$ac_exeext
12823 ac_wine_check_headers_saved_libs=$LIBS
12824 eval CC=\$${wine_arch}_CC
12826 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
12827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12828 /* end confdefs.h. */
12830 /* Override any GCC internal prototype to avoid an error.
12831 Use char because int might match the return type of a GCC
12832 builtin and then its argument prototype would still apply. */
12833 char vkd3d_set_log_callback ();
12837 return vkd3d_set_log_callback ();
12842 if ac_fn_c_try_link "$LINENO"
12844 ac_cv_mingw_lib_vkd3d=yes
12846 ac_cv_mingw_lib_vkd3d=no
12848 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12849 conftest$ac_exeext conftest.$ac_ext
12850 CC=$ac_wine_check_headers_saved_cc
12851 ac_exeext=$ac_wine_check_headers_saved_exeext
12852 LIBS=$ac_wine_check_headers_saved_libs
12854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
12855 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
12856 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
12862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_serialize_dxbc in MinGW -lvkd3d-shader" >&5
12863 printf %s "checking for vkd3d_shader_serialize_dxbc in MinGW -lvkd3d-shader... " >&6; }
12864 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
12866 printf %s "(cached) " >&6
12868 ac_wine_check_headers_saved_cc=$CC
12869 ac_wine_check_headers_saved_exeext=$ac_exeext
12870 ac_wine_check_headers_saved_libs=$LIBS
12871 eval CC=\$${wine_arch}_CC
12873 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
12874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12875 /* end confdefs.h. */
12877 /* Override any GCC internal prototype to avoid an error.
12878 Use char because int might match the return type of a GCC
12879 builtin and then its argument prototype would still apply. */
12880 char vkd3d_shader_serialize_dxbc ();
12884 return vkd3d_shader_serialize_dxbc ();
12889 if ac_fn_c_try_link "$LINENO"
12891 ac_cv_mingw_lib_vkd3d_shader=yes
12893 ac_cv_mingw_lib_vkd3d_shader=no
12895 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12896 conftest$ac_exeext conftest.$ac_ext
12897 CC=$ac_wine_check_headers_saved_cc
12898 ac_exeext=$ac_wine_check_headers_saved_exeext
12899 LIBS=$ac_wine_check_headers_saved_libs
12901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
12902 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
12903 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
12909 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
12918 CPPFLAGS=$ac_save_CPPFLAGS
12920 if test "x$VKD3D_PE_LIBS" = "x"
12922 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
12925 if ${ZLIB_PE_CFLAGS:+false} :
12927 if test ${MINGW_PKG_CONFIG+y}
12929 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib
2>/dev
/null
`
12932 if ${ZLIB_PE_LIBS:+false} :
12934 if test ${MINGW_PKG_CONFIG+y}
12936 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib
2>/dev
/null
`
12939 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
12940 ac_save_CPPFLAGS=$CPPFLAGS
12941 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
12942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
12943 printf %s "checking for MinGW zlib.h... " >&6; }
12944 if test ${ac_cv_mingw_header_zlib_h+y}
12946 printf %s "(cached) " >&6
12948 ac_wine_check_headers_saved_cc=$CC
12949 ac_wine_check_headers_saved_exeext=$ac_exeext
12950 eval CC=\$${wine_arch}_CC
12952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12953 /* end confdefs.h. */
12964 if ac_fn_c_try_compile "$LINENO"
12966 ac_cv_mingw_header_zlib_h=yes
12968 ac_cv_mingw_header_zlib_h=no
12970 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12971 CC=$ac_wine_check_headers_saved_cc
12972 ac_exeext=$ac_wine_check_headers_saved_exeext
12974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
12975 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
12976 if test "x$ac_cv_mingw_header_zlib_h" = xyes
12978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
12979 printf %s "checking for inflate in MinGW -lz... " >&6; }
12980 if test ${ac_cv_mingw_lib_z+y}
12982 printf %s "(cached) " >&6
12984 ac_wine_check_headers_saved_cc=$CC
12985 ac_wine_check_headers_saved_exeext=$ac_exeext
12986 ac_wine_check_headers_saved_libs=$LIBS
12987 eval CC=\$${wine_arch}_CC
12989 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
12990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12991 /* end confdefs.h. */
12993 /* Override any GCC internal prototype to avoid an error.
12994 Use char because int might match the return type of a GCC
12995 builtin and then its argument prototype would still apply. */
13005 if ac_fn_c_try_link "$LINENO"
13007 ac_cv_mingw_lib_z=yes
13009 ac_cv_mingw_lib_z=no
13011 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13012 conftest$ac_exeext conftest.$ac_ext
13013 CC=$ac_wine_check_headers_saved_cc
13014 ac_exeext=$ac_wine_check_headers_saved_exeext
13015 LIBS=$ac_wine_check_headers_saved_libs
13017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13018 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13019 if test "x$ac_cv_mingw_lib_z" = xyes
13023 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13026 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13028 CPPFLAGS=$ac_save_CPPFLAGS
13030 if test "x$ZLIB_PE_LIBS" = "x"
13032 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13036 if ${FAUDIO_PE_LIBS:+false} :
13038 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13039 if ${FAUDIO_PE_CFLAGS:+false} :
13041 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13048 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13049 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13051 if ${GSM_PE_LIBS:+false} :
13054 if ${GSM_PE_CFLAGS:+false} :
13056 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13063 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13064 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13066 if ${JPEG_PE_LIBS:+false} :
13069 if ${JPEG_PE_CFLAGS:+false} :
13071 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13078 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13079 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13081 if ${JXR_PE_LIBS:+false} :
13084 if ${JXR_PE_CFLAGS:+false} :
13086 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13093 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13094 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13096 if ${LCMS2_PE_LIBS:+false} :
13098 LCMS2_PE_LIBS=lcms2
13099 if ${LCMS2_PE_CFLAGS:+false} :
13101 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13108 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13109 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13111 if ${LDAP_PE_LIBS:+false} :
13114 if ${LDAP_PE_CFLAGS:+false} :
13116 LDAP_PE_CFLAGS="-I\$(top_srcdir)/libs/ldap/include"
13123 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap cflags: $LDAP_PE_CFLAGS" >&5
13124 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap libs: $LDAP_PE_LIBS" >&5
13126 if ${MPG123_PE_LIBS:+false} :
13128 MPG123_PE_LIBS=mpg123
13129 if ${MPG123_PE_CFLAGS:+false} :
13131 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13138 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13139 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13141 if ${MUSL_PE_LIBS:+false} :
13144 if ${MUSL_PE_CFLAGS:+false} :
13153 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl cflags: $MUSL_PE_CFLAGS" >&5
13154 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl libs: $MUSL_PE_LIBS" >&5
13156 if ${PNG_PE_LIBS:+false} :
13158 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13159 if ${PNG_PE_CFLAGS:+false} :
13161 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13168 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13169 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13171 if ${TIFF_PE_LIBS:+false} :
13173 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13174 if ${TIFF_PE_CFLAGS:+false} :
13176 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13183 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13184 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13186 if ${VKD3D_PE_LIBS:+false} :
13188 VKD3D_PE_LIBS=vkd3d
13189 if ${VKD3D_PE_CFLAGS:+false} :
13191 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13198 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13199 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13201 if ${XML2_PE_LIBS:+false} :
13204 if ${XML2_PE_CFLAGS:+false} :
13206 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13213 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13214 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13216 if ${XSLT_PE_LIBS:+false} :
13219 if ${XSLT_PE_CFLAGS:+false} :
13221 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13228 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13229 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13231 if ${ZLIB_PE_LIBS:+false} :
13234 if ${ZLIB_PE_CFLAGS:+false} :
13236 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13243 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13244 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13246 if ${ZYDIS_PE_LIBS:+false} :
13248 ZYDIS_PE_LIBS=zydis
13249 if ${ZYDIS_PE_CFLAGS:+false} :
13251 ZYDIS_PE_CFLAGS="-I\$(top_srcdir)/libs/zydis/include"
13258 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis cflags: $ZYDIS_PE_CFLAGS" >&5
13259 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis libs: $ZYDIS_PE_LIBS" >&5
13263 if test "$ac_cv_header_pthread_h" = "yes"
13265 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13266 if test "x$ac_cv_func_pthread_create" = xyes
13270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13271 printf %s "checking for pthread_create in -lpthread... " >&6; }
13272 if test ${ac_cv_lib_pthread_pthread_create+y}
13274 printf %s "(cached) " >&6
13276 ac_check_lib_save_LIBS=$LIBS
13277 LIBS="-lpthread $LIBS"
13278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13279 /* end confdefs.h. */
13281 /* Override any GCC internal prototype to avoid an error.
13282 Use char because int might match the return type of a GCC
13283 builtin and then its argument prototype would still apply. */
13284 char pthread_create ();
13288 return pthread_create ();
13293 if ac_fn_c_try_link "$LINENO"
13295 ac_cv_lib_pthread_pthread_create=yes
13297 ac_cv_lib_pthread_pthread_create=no
13299 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13300 conftest$ac_exeext conftest.$ac_ext
13301 LIBS=$ac_check_lib_save_LIBS
13303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13304 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13305 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13307 PTHREAD_LIBS="-lpthread"
13314 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13316 case "x$with_pthread" in
13318 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13319 Wine cannot support threads without libpthread.
13320 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13327 ac_cpp='$CPP $CPPFLAGS'
13328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13332 printf %s "checking how to run the C preprocessor... " >&6; }
13333 # On Suns, sometimes $CPP names a directory.
13334 if test -n "$CPP" && test -d "$CPP"; then
13337 if test -z "$CPP"; then
13338 if test ${ac_cv_prog_CPP+y}
13340 printf %s "(cached) " >&6
13342 # Double quotes because $CC needs to be expanded
13343 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13345 ac_preproc_ok=false
13346 for ac_c_preproc_warn_flag in '' yes
13348 # Use a header file that comes with gcc, so configuring glibc
13349 # with a fresh cross-compiler works.
13350 # On the NeXT, cc -E runs the code through the compiler's parser,
13351 # not just through cpp. "Syntax error" is here to catch this case.
13352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13353 /* end confdefs.h. */
13354 #include <limits.h>
13357 if ac_fn_c_try_cpp "$LINENO"
13361 # Broken: fails on valid input.
13364 rm -f conftest.err conftest.i conftest.$ac_ext
13366 # OK, works on sane cases. Now check whether nonexistent headers
13367 # can be detected and how.
13368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13369 /* end confdefs.h. */
13370 #include <ac_nonexistent.h>
13372 if ac_fn_c_try_cpp "$LINENO"
13374 # Broken: success on invalid input.
13377 # Passes both tests.
13381 rm -f conftest.err conftest.i conftest.$ac_ext
13384 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13385 rm -f conftest.i conftest.err conftest.
$ac_ext
13392 ac_cv_prog_CPP
=$CPP
13395 CPP
=$ac_cv_prog_CPP
13397 ac_cv_prog_CPP
=$CPP
13399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13400 printf "%s\n" "$CPP" >&6; }
13401 ac_preproc_ok
=false
13402 for ac_c_preproc_warn_flag
in '' yes
13404 # Use a header file that comes with gcc, so configuring glibc
13405 # with a fresh cross-compiler works.
13406 # On the NeXT, cc -E runs the code through the compiler's parser,
13407 # not just through cpp. "Syntax error" is here to catch this case.
13408 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13409 /* end confdefs.h. */
13410 #include <limits.h>
13413 if ac_fn_c_try_cpp
"$LINENO"
13417 # Broken: fails on valid input.
13420 rm -f conftest.err conftest.i conftest.
$ac_ext
13422 # OK, works on sane cases. Now check whether nonexistent headers
13423 # can be detected and how.
13424 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13425 /* end confdefs.h. */
13426 #include <ac_nonexistent.h>
13428 if ac_fn_c_try_cpp
"$LINENO"
13430 # Broken: success on invalid input.
13433 # Passes both tests.
13437 rm -f conftest.err conftest.i conftest.
$ac_ext
13440 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13441 rm -f conftest.i conftest.err conftest.
$ac_ext
13446 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13447 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13448 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
13449 See \`config.log' for more details" "$LINENO" 5; }
13453 ac_cpp
='$CPP $CPPFLAGS'
13454 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13455 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13456 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13460 printf %s
"checking for X... " >&6; }
13463 # Check whether --with-x was given.
13464 if test ${with_x+y}
13469 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13470 if test "x$with_x" = xno
; then
13471 # The user explicitly disabled X.
13474 case $x_includes,$x_libraries in #(
13475 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
13476 *,NONE | NONE
,*) if test ${ac_cv_have_x+y}
13478 printf %s
"(cached) " >&6
13480 # One or both of the vars are not set, and there is no cached value.
13483 # Do we need to do anything special at all?
13486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13487 /* end confdefs.h. */
13488 #include <X11/Xlib.h>
13497 if ac_fn_c_try_link
"$LINENO"
13499 # We can compile and link X programs with no special options.
13503 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13504 conftest
$ac_exeext conftest.
$ac_ext
13505 LIBS
="$ac_save_LIBS"
13506 # If that didn't work, only try xmkmf and file system searches
13507 # for native compilation.
13508 if test x
"$ac_x_includes" = xno
&& test "$cross_compiling" = no
13510 rm -f -r conftest.dir
13511 if mkdir conftest.dir
; then
13513 cat >Imakefile
<<'_ACEOF'
13515 @echo incroot='${INCROOT}'
13517 @echo usrlibdir='${USRLIBDIR}'
13519 @echo libdir='${LIBDIR}'
13521 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
13522 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13523 for ac_var
in incroot usrlibdir libdir
; do
13524 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13526 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13527 for ac_extension
in a so sl dylib la dll
; do
13528 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13529 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13530 ac_im_usrlibdir
=$ac_im_libdir; break
13533 # Screen out bogus values from the imake configuration. They are
13534 # bogus both because they are the default anyway, and because
13535 # using them would break gcc on systems where it needs fixed includes.
13536 case $ac_im_incroot in
13537 /usr
/include
) ac_x_includes
= ;;
13538 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
13540 case $ac_im_usrlibdir in
13541 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
13542 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
13546 rm -f -r conftest.dir
13549 # Standard set of common directories for X headers.
13550 # Check X11 before X11Rn because it is often a symlink to the current release.
13564 /usr/local/X11/include
13565 /usr/local/X11R7/include
13566 /usr/local/X11R6/include
13567 /usr/local/X11R5/include
13568 /usr/local/X11R4/include
13570 /usr/local/include/X11
13571 /usr/local/include/X11R7
13572 /usr/local/include/X11R6
13573 /usr/local/include/X11R5
13574 /usr/local/include/X11R4
13580 /usr/XFree86/include/X11
13584 /usr/unsupported/include
13585 /usr/athena/include
13586 /usr/local/x11r5/include
13587 /usr/lpp/Xamples/include
13589 /usr/openwin/include
13590 /usr/openwin/share/include'
13592 if test "$ac_x_includes" = no
; then
13593 # Guess where to find include files, by looking for Xlib.h.
13594 # First, try using that file with no special directory specified.
13595 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13596 /* end confdefs.h. */
13597 #include <X11/Xlib.h>
13599 if ac_fn_c_try_cpp
"$LINENO"
13601 # We can compile using X headers with no special include directory.
13604 for ac_dir
in $ac_x_header_dirs; do
13605 if test -r "$ac_dir/X11/Xlib.h"; then
13606 ac_x_includes
=$ac_dir
13611 rm -f conftest.err conftest.i conftest.
$ac_ext
13612 fi # $ac_x_includes = no
13614 if test "$ac_x_libraries" = no
; then
13615 # Check for the libraries.
13616 # See if we find them without any special options.
13617 # Don't add to $LIBS permanently.
13620 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13621 /* end confdefs.h. */
13622 #include <X11/Xlib.h>
13631 if ac_fn_c_try_link
"$LINENO"
13634 # We can link X programs with no special library path.
13638 for ac_dir
in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13640 # Don't even attempt the hair of trying to link an X program!
13641 for ac_extension
in a so sl dylib la dll
; do
13642 if test -r "$ac_dir/libX11.$ac_extension"; then
13643 ac_x_libraries
=$ac_dir
13649 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13650 conftest
$ac_exeext conftest.
$ac_ext
13651 fi # $ac_x_libraries = no
13654 # Record the results.
13655 case $ac_x_includes,$ac_x_libraries in #(
13656 no
,* |
*,no |
*\'*) :
13657 # Didn't find X, or a directory has "'" in its name.
13658 ac_cv_have_x
="have_x=no" ;; #(
13660 # Record where we found X for the cache.
13661 ac_cv_have_x
="have_x=yes\
13662 ac_x_includes='$ac_x_includes'\
13663 ac_x_libraries='$ac_x_libraries'" ;;
13669 eval "$ac_cv_have_x"
13672 if test "$have_x" != yes; then
13673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13674 printf "%s\n" "$have_x" >&6; }
13677 # If each of the values was on the command line, it overrides each guess.
13678 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
13679 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
13680 # Update the cache value to reflect the command line values.
13681 ac_cv_have_x
="have_x=yes\
13682 ac_x_includes='$x_includes'\
13683 ac_x_libraries='$x_libraries'"
13684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13685 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13688 if test "$no_x" = yes; then
13689 # Not all programs may use this symbol, but it does not hurt to define it.
13691 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13693 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
13695 if test -n "$x_includes"; then
13696 X_CFLAGS
="$X_CFLAGS -I$x_includes"
13699 # It would also be nice to do this for all -L options, not just this one.
13700 if test -n "$x_libraries"; then
13701 X_LIBS
="$X_LIBS -L$x_libraries"
13702 # For Solaris; some versions of Sun CC require a space after -R and
13703 # others require no space. Words are not sufficient . . . .
13704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13705 printf %s
"checking whether -R must be followed by a space... " >&6; }
13706 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
13707 ac_xsave_c_werror_flag
=$ac_c_werror_flag
13708 ac_c_werror_flag
=yes
13709 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13710 /* end confdefs.h. */
13720 if ac_fn_c_try_link
"$LINENO"
13722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13723 printf "%s\n" "no" >&6; }
13724 X_LIBS
="$X_LIBS -R$x_libraries"
13726 LIBS
="$ac_xsave_LIBS -R $x_libraries"
13727 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13728 /* end confdefs.h. */
13738 if ac_fn_c_try_link
"$LINENO"
13740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13741 printf "%s\n" "yes" >&6; }
13742 X_LIBS
="$X_LIBS -R $x_libraries"
13744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13745 printf "%s\n" "neither works" >&6; }
13747 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13748 conftest
$ac_exeext conftest.
$ac_ext
13750 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13751 conftest
$ac_exeext conftest.
$ac_ext
13752 ac_c_werror_flag
=$ac_xsave_c_werror_flag
13753 LIBS
=$ac_xsave_LIBS
13756 # Check for system-dependent libraries X programs must link with.
13757 # Do this before checking for the system-independent R6 libraries
13758 # (-lICE), since we may need -lsocket or whatever for X linking.
13760 if test "$ISC" = yes; then
13761 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
13763 # Martyn Johnson says this is needed for Ultrix, if the X
13764 # libraries were built with DECnet support. And Karl Berry says
13765 # the Alpha needs dnet_stub (dnet does not exist).
13766 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
13767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13768 /* end confdefs.h. */
13770 /* Override any GCC internal prototype to avoid an error.
13771 Use char because int might match the return type of a GCC
13772 builtin and then its argument prototype would still apply. */
13773 char XOpenDisplay ();
13777 return XOpenDisplay ();
13782 if ac_fn_c_try_link
"$LINENO"
13786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13787 printf %s
"checking for dnet_ntoa in -ldnet... " >&6; }
13788 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13790 printf %s
"(cached) " >&6
13792 ac_check_lib_save_LIBS
=$LIBS
13793 LIBS
="-ldnet $LIBS"
13794 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13795 /* end confdefs.h. */
13797 /* Override any GCC internal prototype to avoid an error.
13798 Use char because int might match the return type of a GCC
13799 builtin and then its argument prototype would still apply. */
13804 return dnet_ntoa ();
13809 if ac_fn_c_try_link
"$LINENO"
13811 ac_cv_lib_dnet_dnet_ntoa
=yes
13813 ac_cv_lib_dnet_dnet_ntoa
=no
13815 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13816 conftest
$ac_exeext conftest.
$ac_ext
13817 LIBS
=$ac_check_lib_save_LIBS
13819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13820 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13821 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13823 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
13826 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
13827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13828 printf %s
"checking for dnet_ntoa in -ldnet_stub... " >&6; }
13829 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
13831 printf %s
"(cached) " >&6
13833 ac_check_lib_save_LIBS
=$LIBS
13834 LIBS
="-ldnet_stub $LIBS"
13835 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13836 /* end confdefs.h. */
13838 /* Override any GCC internal prototype to avoid an error.
13839 Use char because int might match the return type of a GCC
13840 builtin and then its argument prototype would still apply. */
13845 return dnet_ntoa ();
13850 if ac_fn_c_try_link
"$LINENO"
13852 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
13854 ac_cv_lib_dnet_stub_dnet_ntoa
=no
13856 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13857 conftest
$ac_exeext conftest.
$ac_ext
13858 LIBS
=$ac_check_lib_save_LIBS
13860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
13861 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
13862 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
13864 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
13869 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13870 conftest
$ac_exeext conftest.
$ac_ext
13871 LIBS
="$ac_xsave_LIBS"
13873 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13874 # to get the SysV transport functions.
13875 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
13877 # The nsl library prevents programs from opening the X display
13878 # on Irix 5.2, according to T.E. Dickey.
13879 # The functions gethostbyname, getservbyname, and inet_addr are
13880 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
13881 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
13882 if test "x$ac_cv_func_gethostbyname" = xyes
13887 if test $ac_cv_func_gethostbyname = no
; then
13888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
13889 printf %s
"checking for gethostbyname in -lnsl... " >&6; }
13890 if test ${ac_cv_lib_nsl_gethostbyname+y}
13892 printf %s
"(cached) " >&6
13894 ac_check_lib_save_LIBS
=$LIBS
13896 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13897 /* end confdefs.h. */
13899 /* Override any GCC internal prototype to avoid an error.
13900 Use char because int might match the return type of a GCC
13901 builtin and then its argument prototype would still apply. */
13902 char gethostbyname ();
13906 return gethostbyname ();
13911 if ac_fn_c_try_link
"$LINENO"
13913 ac_cv_lib_nsl_gethostbyname
=yes
13915 ac_cv_lib_nsl_gethostbyname
=no
13917 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13918 conftest
$ac_exeext conftest.
$ac_ext
13919 LIBS
=$ac_check_lib_save_LIBS
13921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
13922 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
13923 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
13925 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
13928 if test $ac_cv_lib_nsl_gethostbyname = no
; then
13929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
13930 printf %s
"checking for gethostbyname in -lbsd... " >&6; }
13931 if test ${ac_cv_lib_bsd_gethostbyname+y}
13933 printf %s
"(cached) " >&6
13935 ac_check_lib_save_LIBS
=$LIBS
13937 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13938 /* end confdefs.h. */
13940 /* Override any GCC internal prototype to avoid an error.
13941 Use char because int might match the return type of a GCC
13942 builtin and then its argument prototype would still apply. */
13943 char gethostbyname ();
13947 return gethostbyname ();
13952 if ac_fn_c_try_link
"$LINENO"
13954 ac_cv_lib_bsd_gethostbyname
=yes
13956 ac_cv_lib_bsd_gethostbyname
=no
13958 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13959 conftest
$ac_exeext conftest.
$ac_ext
13960 LIBS
=$ac_check_lib_save_LIBS
13962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
13963 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
13964 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
13966 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
13972 # lieder@skyler.mavd.honeywell.com says without -lsocket,
13973 # socket/setsockopt and other routines are undefined under SCO ODT
13974 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
13975 # on later versions), says Simon Leinen: it contains gethostby*
13976 # variants that don't use the name server (or something). -lsocket
13977 # must be given before -lnsl if both are needed. We assume that
13978 # if connect needs -lnsl, so does gethostbyname.
13979 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
13980 if test "x$ac_cv_func_connect" = xyes
13985 if test $ac_cv_func_connect = no
; then
13986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
13987 printf %s
"checking for connect in -lsocket... " >&6; }
13988 if test ${ac_cv_lib_socket_connect+y}
13990 printf %s
"(cached) " >&6
13992 ac_check_lib_save_LIBS
=$LIBS
13993 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
13994 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13995 /* end confdefs.h. */
13997 /* Override any GCC internal prototype to avoid an error.
13998 Use char because int might match the return type of a GCC
13999 builtin and then its argument prototype would still apply. */
14009 if ac_fn_c_try_link
"$LINENO"
14011 ac_cv_lib_socket_connect
=yes
14013 ac_cv_lib_socket_connect
=no
14015 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14016 conftest
$ac_exeext conftest.
$ac_ext
14017 LIBS
=$ac_check_lib_save_LIBS
14019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14020 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14021 if test "x$ac_cv_lib_socket_connect" = xyes
14023 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
14028 # Guillermo Gomez says -lposix is necessary on A/UX.
14029 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
14030 if test "x$ac_cv_func_remove" = xyes
14035 if test $ac_cv_func_remove = no
; then
14036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14037 printf %s
"checking for remove in -lposix... " >&6; }
14038 if test ${ac_cv_lib_posix_remove+y}
14040 printf %s
"(cached) " >&6
14042 ac_check_lib_save_LIBS
=$LIBS
14043 LIBS
="-lposix $LIBS"
14044 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14045 /* end confdefs.h. */
14047 /* Override any GCC internal prototype to avoid an error.
14048 Use char because int might match the return type of a GCC
14049 builtin and then its argument prototype would still apply. */
14059 if ac_fn_c_try_link
"$LINENO"
14061 ac_cv_lib_posix_remove
=yes
14063 ac_cv_lib_posix_remove
=no
14065 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14066 conftest
$ac_exeext conftest.
$ac_ext
14067 LIBS
=$ac_check_lib_save_LIBS
14069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14070 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14071 if test "x$ac_cv_lib_posix_remove" = xyes
14073 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
14078 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14079 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
14080 if test "x$ac_cv_func_shmat" = xyes
14085 if test $ac_cv_func_shmat = no
; then
14086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14087 printf %s
"checking for shmat in -lipc... " >&6; }
14088 if test ${ac_cv_lib_ipc_shmat+y}
14090 printf %s
"(cached) " >&6
14092 ac_check_lib_save_LIBS
=$LIBS
14094 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14095 /* end confdefs.h. */
14097 /* Override any GCC internal prototype to avoid an error.
14098 Use char because int might match the return type of a GCC
14099 builtin and then its argument prototype would still apply. */
14109 if ac_fn_c_try_link
"$LINENO"
14111 ac_cv_lib_ipc_shmat
=yes
14113 ac_cv_lib_ipc_shmat
=no
14115 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14116 conftest
$ac_exeext conftest.
$ac_ext
14117 LIBS
=$ac_check_lib_save_LIBS
14119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14120 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14121 if test "x$ac_cv_lib_ipc_shmat" = xyes
14123 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
14129 # Check for libraries that X11R6 Xt/Xaw programs need.
14130 ac_save_LDFLAGS
=$LDFLAGS
14131 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
14132 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14133 # check for ICE first), but we must link in the order -lSM -lICE or
14134 # we get undefined symbols. So assume we have SM if we have ICE.
14135 # These have to be linked with before -lX11, unlike the other
14136 # libraries we check for below, so use a different variable.
14137 # John Interrante, Karl Berry
14138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14139 printf %s
"checking for IceConnectionNumber in -lICE... " >&6; }
14140 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14142 printf %s
"(cached) " >&6
14144 ac_check_lib_save_LIBS
=$LIBS
14145 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
14146 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14147 /* end confdefs.h. */
14149 /* Override any GCC internal prototype to avoid an error.
14150 Use char because int might match the return type of a GCC
14151 builtin and then its argument prototype would still apply. */
14152 char IceConnectionNumber ();
14156 return IceConnectionNumber ();
14161 if ac_fn_c_try_link
"$LINENO"
14163 ac_cv_lib_ICE_IceConnectionNumber
=yes
14165 ac_cv_lib_ICE_IceConnectionNumber
=no
14167 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14168 conftest
$ac_exeext conftest.
$ac_ext
14169 LIBS
=$ac_check_lib_save_LIBS
14171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14172 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14173 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14175 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
14178 LDFLAGS
=$ac_save_LDFLAGS
14183 if test "$have_x" = "yes"
14185 ac_save_CPPFLAGS
="$CPPFLAGS"
14186 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
14188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14189 printf %s
"checking for -lX11... " >&6; }
14190 if test ${ac_cv_lib_soname_X11+y}
14192 printf %s
"(cached) " >&6
14194 ac_check_soname_save_LIBS
=$LIBS
14195 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14196 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14197 /* end confdefs.h. */
14199 /* Override any GCC internal prototype to avoid an error.
14200 Use char because int might match the return type of a GCC
14201 builtin and then its argument prototype would still apply. */
14202 char XCreateWindow ();
14206 return XCreateWindow ();
14211 if ac_fn_c_try_link
"$LINENO"
14214 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14215 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'` ;;
14216 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14217 if ${ac_cv_lib_soname_X11:+false} :
14219 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14223 ac_cv_lib_soname_X11
=
14225 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14226 conftest
$ac_exeext conftest.
$ac_ext
14227 LIBS
=$ac_check_soname_save_LIBS
14229 if ${ac_cv_lib_soname_X11:+false} :
14231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14232 printf "%s\n" "not found" >&6; }
14235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14236 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14238 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14243 printf %s
"checking for -lXext... " >&6; }
14244 if test ${ac_cv_lib_soname_Xext+y}
14246 printf %s
"(cached) " >&6
14248 ac_check_soname_save_LIBS
=$LIBS
14249 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14250 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14251 /* end confdefs.h. */
14253 /* Override any GCC internal prototype to avoid an error.
14254 Use char because int might match the return type of a GCC
14255 builtin and then its argument prototype would still apply. */
14256 char XextCreateExtension ();
14260 return XextCreateExtension ();
14265 if ac_fn_c_try_link
"$LINENO"
14268 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14269 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'` ;;
14270 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14271 if ${ac_cv_lib_soname_Xext:+false} :
14273 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14277 ac_cv_lib_soname_Xext
=
14279 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14280 conftest
$ac_exeext conftest.
$ac_ext
14281 LIBS
=$ac_check_soname_save_LIBS
14283 if ${ac_cv_lib_soname_Xext:+false} :
14285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14286 printf "%s\n" "not found" >&6; }
14289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14290 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14292 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14294 X_LIBS
="$X_LIBS -lXext"
14296 X_LIBS
="$X_LIBS -lX11"
14298 xlib_includes
="#include <X11/Xlib.h>
14299 #include <X11/Xutil.h>"
14301 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "$xlib_includes
14303 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14305 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14308 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "$xlib_includes
14310 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14312 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14315 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "$xlib_includes
14317 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14319 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14322 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "$xlib_includes
14324 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14326 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14329 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "$xlib_includes
14331 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14333 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14336 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "$xlib_includes
14338 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14340 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14343 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "$xlib_includes
14345 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14347 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14350 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "$xlib_includes
14352 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14354 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14357 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "$xlib_includes
14359 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14361 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14366 ac_fn_c_check_header_compile
"$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "$xlib_includes
14368 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14371 printf %s
"checking for -lXcursor... " >&6; }
14372 if test ${ac_cv_lib_soname_Xcursor+y}
14374 printf %s
"(cached) " >&6
14376 ac_check_soname_save_LIBS
=$LIBS
14377 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14378 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14379 /* end confdefs.h. */
14381 /* Override any GCC internal prototype to avoid an error.
14382 Use char because int might match the return type of a GCC
14383 builtin and then its argument prototype would still apply. */
14384 char XcursorImageLoadCursor ();
14388 return XcursorImageLoadCursor ();
14393 if ac_fn_c_try_link
"$LINENO"
14396 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14397 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'` ;;
14398 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14399 if ${ac_cv_lib_soname_Xcursor:+false} :
14401 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14405 ac_cv_lib_soname_Xcursor
=
14407 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14408 conftest
$ac_exeext conftest.
$ac_ext
14409 LIBS
=$ac_check_soname_save_LIBS
14411 if ${ac_cv_lib_soname_Xcursor:+false} :
14413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14414 printf "%s\n" "not found" >&6; }
14417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14418 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14420 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14426 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14428 case "x$with_xcursor" in
14429 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14431 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14432 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14437 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "$xlib_includes
14439 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14442 printf %s
"checking for -lXi... " >&6; }
14443 if test ${ac_cv_lib_soname_Xi+y}
14445 printf %s
"(cached) " >&6
14447 ac_check_soname_save_LIBS
=$LIBS
14448 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14449 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14450 /* end confdefs.h. */
14452 /* Override any GCC internal prototype to avoid an error.
14453 Use char because int might match the return type of a GCC
14454 builtin and then its argument prototype would still apply. */
14455 char XOpenDevice ();
14459 return XOpenDevice ();
14464 if ac_fn_c_try_link
"$LINENO"
14467 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14468 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'` ;;
14469 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14470 if ${ac_cv_lib_soname_Xi:+false} :
14472 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14476 ac_cv_lib_soname_Xi
=
14478 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14479 conftest
$ac_exeext conftest.
$ac_ext
14480 LIBS
=$ac_check_soname_save_LIBS
14482 if ${ac_cv_lib_soname_Xi:+false} :
14484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14485 printf "%s\n" "not found" >&6; }
14488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14489 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14491 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14497 if test "x$ac_cv_lib_soname_Xi" = "x"
14499 case "x$with_xinput" in
14500 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14502 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14503 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14508 if test "x$ac_cv_lib_soname_Xi" != x
14510 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14512 case "x$with_xinput2" in
14513 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14515 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
14516 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14522 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14525 printf %s
"checking for XShmQueryExtension in -lXext... " >&6; }
14526 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14528 printf %s
"(cached) " >&6
14530 ac_check_lib_save_LIBS
=$LIBS
14531 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14532 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14533 /* end confdefs.h. */
14535 /* Override any GCC internal prototype to avoid an error.
14536 Use char because int might match the return type of a GCC
14537 builtin and then its argument prototype would still apply. */
14538 char XShmQueryExtension ();
14542 return XShmQueryExtension ();
14547 if ac_fn_c_try_link
"$LINENO"
14549 ac_cv_lib_Xext_XShmQueryExtension
=yes
14551 ac_cv_lib_Xext_XShmQueryExtension
=no
14553 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14554 conftest
$ac_exeext conftest.
$ac_ext
14555 LIBS
=$ac_check_lib_save_LIBS
14557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14558 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14559 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14562 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14567 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14569 case "x$with_xshm" in
14570 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14572 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14573 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14578 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14581 printf %s
"checking for XShapeQueryExtension in -lXext... " >&6; }
14582 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14584 printf %s
"(cached) " >&6
14586 ac_check_lib_save_LIBS
=$LIBS
14587 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14588 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14589 /* end confdefs.h. */
14591 /* Override any GCC internal prototype to avoid an error.
14592 Use char because int might match the return type of a GCC
14593 builtin and then its argument prototype would still apply. */
14594 char XShapeQueryExtension ();
14598 return XShapeQueryExtension ();
14603 if ac_fn_c_try_link
"$LINENO"
14605 ac_cv_lib_Xext_XShapeQueryExtension
=yes
14607 ac_cv_lib_Xext_XShapeQueryExtension
=no
14609 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14610 conftest
$ac_exeext conftest.
$ac_ext
14611 LIBS
=$ac_check_lib_save_LIBS
14613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14614 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14615 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14618 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14623 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14625 case "x$with_xshape" in
14626 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14628 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
14629 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14634 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14637 printf %s
"checking for -lXxf86vm... " >&6; }
14638 if test ${ac_cv_lib_soname_Xxf86vm+y}
14640 printf %s
"(cached) " >&6
14642 ac_check_soname_save_LIBS
=$LIBS
14643 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14644 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14645 /* end confdefs.h. */
14647 /* Override any GCC internal prototype to avoid an error.
14648 Use char because int might match the return type of a GCC
14649 builtin and then its argument prototype would still apply. */
14650 char XF86VidModeQueryExtension ();
14654 return XF86VidModeQueryExtension ();
14659 if ac_fn_c_try_link
"$LINENO"
14662 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14663 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'` ;;
14664 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14665 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14667 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14671 ac_cv_lib_soname_Xxf86vm
=
14673 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14674 conftest
$ac_exeext conftest.
$ac_ext
14675 LIBS
=$ac_check_soname_save_LIBS
14677 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14680 printf "%s\n" "not found" >&6; }
14683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
14684 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
14686 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
14691 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
14693 case "x$with_xxf86vm" in
14694 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
14696 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
14697 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
14702 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
14704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
14705 printf %s
"checking for -lXrender... " >&6; }
14706 if test ${ac_cv_lib_soname_Xrender+y}
14708 printf %s
"(cached) " >&6
14710 ac_check_soname_save_LIBS
=$LIBS
14711 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14712 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14713 /* end confdefs.h. */
14715 /* Override any GCC internal prototype to avoid an error.
14716 Use char because int might match the return type of a GCC
14717 builtin and then its argument prototype would still apply. */
14718 char XRenderQueryExtension ();
14722 return XRenderQueryExtension ();
14727 if ac_fn_c_try_link
"$LINENO"
14730 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14731 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'` ;;
14732 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14733 if ${ac_cv_lib_soname_Xrender:+false} :
14735 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14739 ac_cv_lib_soname_Xrender
=
14741 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14742 conftest
$ac_exeext conftest.
$ac_ext
14743 LIBS
=$ac_check_soname_save_LIBS
14745 if ${ac_cv_lib_soname_Xrender:+false} :
14747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14748 printf "%s\n" "not found" >&6; }
14751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
14752 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
14754 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
14756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
14757 printf %s
"checking for XRenderSetPictureTransform in -lXrender... " >&6; }
14758 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
14760 printf %s
"(cached) " >&6
14762 ac_check_lib_save_LIBS
=$LIBS
14763 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14764 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14765 /* end confdefs.h. */
14767 /* Override any GCC internal prototype to avoid an error.
14768 Use char because int might match the return type of a GCC
14769 builtin and then its argument prototype would still apply. */
14770 char XRenderSetPictureTransform ();
14774 return XRenderSetPictureTransform ();
14779 if ac_fn_c_try_link
"$LINENO"
14781 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
14783 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
14785 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14786 conftest
$ac_exeext conftest.
$ac_ext
14787 LIBS
=$ac_check_lib_save_LIBS
14789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
14790 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
14791 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
14794 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
14798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
14799 printf %s
"checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
14800 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
14802 printf %s
"(cached) " >&6
14804 ac_check_lib_save_LIBS
=$LIBS
14805 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14806 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14807 /* end confdefs.h. */
14809 /* Override any GCC internal prototype to avoid an error.
14810 Use char because int might match the return type of a GCC
14811 builtin and then its argument prototype would still apply. */
14812 char XRenderCreateLinearGradient ();
14816 return XRenderCreateLinearGradient ();
14821 if ac_fn_c_try_link
"$LINENO"
14823 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
14825 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
14827 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14828 conftest
$ac_exeext conftest.
$ac_ext
14829 LIBS
=$ac_check_lib_save_LIBS
14831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
14832 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
14833 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
14836 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
14843 if test "x$ac_cv_lib_soname_Xrender" = "x"
14845 case "x$with_xrender" in
14846 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
14848 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
14849 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
14854 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
14856 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14857 /* end confdefs.h. */
14858 #include <X11/Xlib.h>
14859 #include <X11/extensions/Xrandr.h>
14863 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
14868 if ac_fn_c_try_compile
"$LINENO"
14870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
14871 printf %s
"checking for -lXrandr... " >&6; }
14872 if test ${ac_cv_lib_soname_Xrandr+y}
14874 printf %s
"(cached) " >&6
14876 ac_check_soname_save_LIBS
=$LIBS
14877 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
14878 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14879 /* end confdefs.h. */
14881 /* Override any GCC internal prototype to avoid an error.
14882 Use char because int might match the return type of a GCC
14883 builtin and then its argument prototype would still apply. */
14884 char XRRQueryExtension ();
14888 return XRRQueryExtension ();
14893 if ac_fn_c_try_link
"$LINENO"
14896 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14897 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'` ;;
14898 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14899 if ${ac_cv_lib_soname_Xrandr:+false} :
14901 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14905 ac_cv_lib_soname_Xrandr
=
14907 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14908 conftest
$ac_exeext conftest.
$ac_ext
14909 LIBS
=$ac_check_soname_save_LIBS
14911 if ${ac_cv_lib_soname_Xrandr:+false} :
14913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14914 printf "%s\n" "not found" >&6; }
14917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
14918 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
14920 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
14922 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14923 /* end confdefs.h. */
14924 #include <X11/Xlib.h>
14925 #include <X11/extensions/Xrandr.h>
14929 static typeof(XRRGetProviderResources) *f; if (f) return 0;
14934 if ac_fn_c_try_compile
"$LINENO"
14937 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
14940 as_fn_append wine_notices
"|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
14942 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14945 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14947 if test "x$ac_cv_lib_soname_Xrandr" = "x"
14949 case "x$with_xrandr" in
14950 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
14952 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
14953 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
14958 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
14960 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14961 /* end confdefs.h. */
14962 #include <X11/Xlib.h>
14963 #include <X11/extensions/Xfixes.h>
14967 static typeof(XFixesQueryVersion) * func; if (func) return 0;
14972 if ac_fn_c_try_compile
"$LINENO"
14974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
14975 printf %s
"checking for -lXfixes... " >&6; }
14976 if test ${ac_cv_lib_soname_Xfixes+y}
14978 printf %s
"(cached) " >&6
14980 ac_check_soname_save_LIBS
=$LIBS
14981 LIBS
="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
14982 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14983 /* end confdefs.h. */
14985 /* Override any GCC internal prototype to avoid an error.
14986 Use char because int might match the return type of a GCC
14987 builtin and then its argument prototype would still apply. */
14988 char XFixesQueryVersion ();
14992 return XFixesQueryVersion ();
14997 if ac_fn_c_try_link
"$LINENO"
15000 dll
) ac_cv_lib_soname_Xfixes
=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15001 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'` ;;
15002 *) ac_cv_lib_soname_Xfixes
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15003 if ${ac_cv_lib_soname_Xfixes:+false} :
15005 ac_cv_lib_soname_Xfixes
=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15009 ac_cv_lib_soname_Xfixes
=
15011 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15012 conftest
$ac_exeext conftest.
$ac_ext
15013 LIBS
=$ac_check_soname_save_LIBS
15015 if ${ac_cv_lib_soname_Xfixes:+false} :
15017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15018 printf "%s\n" "not found" >&6; }
15021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15022 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15024 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15029 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15031 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15033 case "x$with_xfixes" in
15034 x
) as_fn_append wine_notices
"|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15036 *) as_fn_error $?
"libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15037 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15042 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15044 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15045 /* end confdefs.h. */
15046 #include <X11/Xlib.h>
15047 #include <X11/extensions/Xinerama.h>
15051 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15056 if ac_fn_c_try_compile
"$LINENO"
15058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15059 printf %s
"checking for -lXinerama... " >&6; }
15060 if test ${ac_cv_lib_soname_Xinerama+y}
15062 printf %s
"(cached) " >&6
15064 ac_check_soname_save_LIBS
=$LIBS
15065 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15066 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15067 /* end confdefs.h. */
15069 /* Override any GCC internal prototype to avoid an error.
15070 Use char because int might match the return type of a GCC
15071 builtin and then its argument prototype would still apply. */
15072 char XineramaQueryScreens ();
15076 return XineramaQueryScreens ();
15081 if ac_fn_c_try_link
"$LINENO"
15084 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15085 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'` ;;
15086 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15087 if ${ac_cv_lib_soname_Xinerama:+false} :
15089 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15093 ac_cv_lib_soname_Xinerama
=
15095 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15096 conftest
$ac_exeext conftest.
$ac_ext
15097 LIBS
=$ac_check_soname_save_LIBS
15099 if ${ac_cv_lib_soname_Xinerama:+false} :
15101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15102 printf "%s\n" "not found" >&6; }
15105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15106 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15108 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15113 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15115 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15117 case "x$with_xinerama" in
15118 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15120 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15121 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15126 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "$xlib_includes
15128 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
15130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15131 printf %s
"checking for -lXcomposite... " >&6; }
15132 if test ${ac_cv_lib_soname_Xcomposite+y}
15134 printf %s
"(cached) " >&6
15136 ac_check_soname_save_LIBS
=$LIBS
15137 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15138 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15139 /* end confdefs.h. */
15141 /* Override any GCC internal prototype to avoid an error.
15142 Use char because int might match the return type of a GCC
15143 builtin and then its argument prototype would still apply. */
15144 char XCompositeRedirectWindow ();
15148 return XCompositeRedirectWindow ();
15153 if ac_fn_c_try_link
"$LINENO"
15156 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15157 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'` ;;
15158 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15159 if ${ac_cv_lib_soname_Xcomposite:+false} :
15161 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15165 ac_cv_lib_soname_Xcomposite
=
15167 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15168 conftest
$ac_exeext conftest.
$ac_ext
15169 LIBS
=$ac_check_soname_save_LIBS
15171 if ${ac_cv_lib_soname_Xcomposite:+false} :
15173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15174 printf "%s\n" "not found" >&6; }
15177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15178 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15180 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15186 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15188 case "x$with_xcomposite" in
15189 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15191 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15192 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15197 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "$xlib_includes
15199 if test "x$ac_cv_member_XICCallback_callback" = xyes
15202 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15206 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "$xlib_includes
15208 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15211 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15219 if test "x$with_opengl" != "xno"
15221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15222 printf %s
"checking for -lGL... " >&6; }
15223 if test ${ac_cv_lib_soname_GL+y}
15225 printf %s
"(cached) " >&6
15227 ac_check_soname_save_LIBS
=$LIBS
15228 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15229 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15230 /* end confdefs.h. */
15232 /* Override any GCC internal prototype to avoid an error.
15233 Use char because int might match the return type of a GCC
15234 builtin and then its argument prototype would still apply. */
15235 char glXCreateContext ();
15239 return glXCreateContext ();
15244 if ac_fn_c_try_link
"$LINENO"
15247 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15248 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'` ;;
15249 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15250 if ${ac_cv_lib_soname_GL:+false} :
15252 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15256 ac_cv_lib_soname_GL
=
15258 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15259 conftest
$ac_exeext conftest.
$ac_ext
15260 LIBS
=$ac_check_soname_save_LIBS
15262 if ${ac_cv_lib_soname_GL:+false} :
15264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15265 printf "%s\n" "not found" >&6; }
15266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15267 printf %s
"checking for -lGL... " >&6; }
15268 if test ${ac_cv_lib_soname_GL+y}
15270 printf %s
"(cached) " >&6
15272 ac_check_soname_save_LIBS
=$LIBS
15273 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"
15274 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15275 /* end confdefs.h. */
15277 /* Override any GCC internal prototype to avoid an error.
15278 Use char because int might match the return type of a GCC
15279 builtin and then its argument prototype would still apply. */
15280 char glXCreateContext ();
15284 return glXCreateContext ();
15289 if ac_fn_c_try_link
"$LINENO"
15292 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15293 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'` ;;
15294 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15295 if ${ac_cv_lib_soname_GL:+false} :
15297 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15301 ac_cv_lib_soname_GL
=
15303 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15304 conftest
$ac_exeext conftest.
$ac_ext
15305 LIBS
=$ac_check_soname_save_LIBS
15307 if ${ac_cv_lib_soname_GL:+false} :
15309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15310 printf "%s\n" "not found" >&6; }
15311 if test -f /usr
/X11R
6/lib
/libGL.a
15313 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
15314 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15316 opengl_msg
="No OpenGL library found on this system."
15319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15320 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15322 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15324 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"
15327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15328 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15330 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15334 if test "x$with_osmesa" != "xno"
15336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15337 printf %s
"checking for -lOSMesa... " >&6; }
15338 if test ${ac_cv_lib_soname_OSMesa+y}
15340 printf %s
"(cached) " >&6
15342 ac_check_soname_save_LIBS
=$LIBS
15343 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15344 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15345 /* end confdefs.h. */
15347 /* Override any GCC internal prototype to avoid an error.
15348 Use char because int might match the return type of a GCC
15349 builtin and then its argument prototype would still apply. */
15350 char OSMesaGetProcAddress ();
15354 return OSMesaGetProcAddress ();
15359 if ac_fn_c_try_link
"$LINENO"
15362 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15363 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'` ;;
15364 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15365 if ${ac_cv_lib_soname_OSMesa:+false} :
15367 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15371 ac_cv_lib_soname_OSMesa
=
15373 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15374 conftest
$ac_exeext conftest.
$ac_ext
15375 LIBS
=$ac_check_soname_save_LIBS
15377 if ${ac_cv_lib_soname_OSMesa:+false} :
15379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15380 printf "%s\n" "not found" >&6; }
15383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15384 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15386 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15390 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15392 case "x$with_osmesa" in
15393 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15395 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15396 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15402 if test -n "$opengl_msg"
15404 case "x$with_opengl" in
15405 x
) as_fn_append wine_warnings
"|$opengl_msg
15406 OpenGL and Direct3D won't be supported." ;;
15408 *) as_fn_error $?
"$opengl_msg
15409 OpenGL and Direct3D won't be supported.
15410 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15415 CPPFLAGS
="$ac_save_CPPFLAGS"
15421 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15423 if test "x$X_LIBS" = "x"
15427 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
15428 without X support, which probably isn't what you want. You will need
15429 to install ${notice_platform}development packages of Xlib at the very least.
15430 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15432 enable_winex11_drv
=${enable_winex11_drv:-no}
15435 if test "x$X_LIBS" = "x"
15438 x
) as_fn_append wine_notices
"|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15440 *) as_fn_error $?
"X ${notice_platform}development files not found, the X11 driver won't be supported.
15441 This is an error since --with-x was requested." "$LINENO" 5 ;;
15443 enable_winex11_drv
=${enable_winex11_drv:-no}
15447 if test "x$with_wayland" != "xno"
15450 if ${WAYLAND_CLIENT_CFLAGS:+false} :
15452 if test ${PKG_CONFIG+y}
15454 WAYLAND_CLIENT_CFLAGS
=`$PKG_CONFIG --cflags wayland-client 2>conftest.err`
15458 if ${WAYLAND_CLIENT_LIBS:+false} :
15460 if test ${PKG_CONFIG+y}
15462 WAYLAND_CLIENT_LIBS
=`$PKG_CONFIG --libs wayland-client 2>/dev/null`
15467 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client cflags: $WAYLAND_CLIENT_CFLAGS" >&5
15468 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client libs: $WAYLAND_CLIENT_LIBS" >&5
15469 if test -s conftest.err
; then
15470 printf %s
"$as_me:${as_lineno-$LINENO}: wayland-client errors: " >&5
15471 cat conftest.err
>&5
15474 ac_save_CPPFLAGS
=$CPPFLAGS
15475 CPPFLAGS
="$CPPFLAGS $WAYLAND_CLIENT_CFLAGS"
15476 ac_fn_c_check_header_compile
"$LINENO" "wayland-client.h" "ac_cv_header_wayland_client_h" "$ac_includes_default"
15477 if test "x$ac_cv_header_wayland_client_h" = xyes
15479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wl_display_connect in -lwayland-client" >&5
15480 printf %s
"checking for wl_display_connect in -lwayland-client... " >&6; }
15481 if test ${ac_cv_lib_wayland_client_wl_display_connect+y}
15483 printf %s
"(cached) " >&6
15485 ac_check_lib_save_LIBS
=$LIBS
15486 LIBS
="-lwayland-client $WAYLAND_CLIENT_LIBS $LIBS"
15487 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15488 /* end confdefs.h. */
15490 /* Override any GCC internal prototype to avoid an error.
15491 Use char because int might match the return type of a GCC
15492 builtin and then its argument prototype would still apply. */
15493 char wl_display_connect ();
15497 return wl_display_connect ();
15502 if ac_fn_c_try_link
"$LINENO"
15504 ac_cv_lib_wayland_client_wl_display_connect
=yes
15506 ac_cv_lib_wayland_client_wl_display_connect
=no
15508 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15509 conftest
$ac_exeext conftest.
$ac_ext
15510 LIBS
=$ac_check_lib_save_LIBS
15512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wayland_client_wl_display_connect" >&5
15513 printf "%s\n" "$ac_cv_lib_wayland_client_wl_display_connect" >&6; }
15514 if test "x$ac_cv_lib_wayland_client_wl_display_connect" = xyes
15516 # Extract the first word of "wayland-scanner", so it can be a program name with args.
15517 set dummy wayland-scanner
; ac_word
=$2
15518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15519 printf %s
"checking for $ac_word... " >&6; }
15520 if test ${ac_cv_path_WAYLAND_SCANNER+y}
15522 printf %s
"(cached) " >&6
15524 case $WAYLAND_SCANNER in
15526 ac_cv_path_WAYLAND_SCANNER
="$WAYLAND_SCANNER" # Let the user override the test with a path.
15529 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15530 for as_dir
in $PATH
15533 case $as_dir in #(((
15536 *) as_dir
=$as_dir/ ;;
15538 for ac_exec_ext
in '' $ac_executable_extensions; do
15539 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
15540 ac_cv_path_WAYLAND_SCANNER
="$as_dir$ac_word$ac_exec_ext"
15541 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
15548 test -z "$ac_cv_path_WAYLAND_SCANNER" && ac_cv_path_WAYLAND_SCANNER
="`test -n "$PKG_CONFIG" && $PKG_CONFIG --variable=wayland_scanner wayland-scanner 2>/dev/null`"
15552 WAYLAND_SCANNER
=$ac_cv_path_WAYLAND_SCANNER
15553 if test -n "$WAYLAND_SCANNER"; then
15554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $WAYLAND_SCANNER" >&5
15555 printf "%s\n" "$WAYLAND_SCANNER" >&6; }
15557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15558 printf "%s\n" "no" >&6; }
15563 WAYLAND_CLIENT_LIBS
=""
15568 CPPFLAGS
=$ac_save_CPPFLAGS
15571 if test -z "$WAYLAND_CLIENT_LIBS" -o -z "$WAYLAND_SCANNER"
15573 case "x$with_wayland" in
15574 x
) as_fn_append wine_notices
"|Wayland ${notice_platform}development files not found, the Wayland driver won't be supported." ;;
15576 *) as_fn_error $?
"Wayland ${notice_platform}development files not found, the Wayland driver won't be supported.
15577 This is an error since --with-wayland was requested." "$LINENO" 5 ;;
15579 enable_winewayland_drv
=${enable_winewayland_drv:-no}
15582 if test "$ac_cv_header_CL_cl_h" = "yes"
15584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15585 printf %s
"checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15586 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15588 printf %s
"(cached) " >&6
15590 ac_check_lib_save_LIBS
=$LIBS
15591 LIBS
="-lOpenCL $LIBS"
15592 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15593 /* end confdefs.h. */
15595 /* Override any GCC internal prototype to avoid an error.
15596 Use char because int might match the return type of a GCC
15597 builtin and then its argument prototype would still apply. */
15598 char clGetPlatformInfo ();
15602 return clGetPlatformInfo ();
15607 if ac_fn_c_try_link
"$LINENO"
15609 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
15611 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
15613 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15614 conftest
$ac_exeext conftest.
$ac_ext
15615 LIBS
=$ac_check_lib_save_LIBS
15617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15618 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15619 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15621 OPENCL_LIBS
="-lOpenCL"
15626 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15628 case "x$with_opencl" in
15629 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15631 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15632 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15634 enable_opencl
=${enable_opencl:-no}
15637 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_init in -lpcap" >&5
15640 printf %s
"checking for pcap_init in -lpcap... " >&6; }
15641 if test ${ac_cv_lib_pcap_pcap_init+y}
15643 printf %s
"(cached) " >&6
15645 ac_check_lib_save_LIBS
=$LIBS
15646 LIBS
="-lpcap $LIBS"
15647 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15648 /* end confdefs.h. */
15650 /* Override any GCC internal prototype to avoid an error.
15651 Use char because int might match the return type of a GCC
15652 builtin and then its argument prototype would still apply. */
15657 return pcap_init ();
15662 if ac_fn_c_try_link
"$LINENO"
15664 ac_cv_lib_pcap_pcap_init
=yes
15666 ac_cv_lib_pcap_pcap_init
=no
15668 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15669 conftest
$ac_exeext conftest.
$ac_ext
15670 LIBS
=$ac_check_lib_save_LIBS
15672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_init" >&5
15673 printf "%s\n" "$ac_cv_lib_pcap_pcap_init" >&6; }
15674 if test "x$ac_cv_lib_pcap_pcap_init" = xyes
15681 if test "x$ac_cv_lib_pcap_pcap_init" != xyes
15683 case "x$with_pcap" in
15684 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15686 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
15687 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15689 enable_wpcap
=${enable_wpcap:-no}
15692 if test "x$with_pcsclite" != "xno"
15694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SCardEstablishContext in -lpcsclite" >&5
15695 printf %s
"checking for SCardEstablishContext in -lpcsclite... " >&6; }
15696 if test ${ac_cv_lib_pcsclite_SCardEstablishContext+y}
15698 printf %s
"(cached) " >&6
15700 ac_check_lib_save_LIBS
=$LIBS
15701 LIBS
="-lpcsclite $LIBS"
15702 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15703 /* end confdefs.h. */
15705 /* Override any GCC internal prototype to avoid an error.
15706 Use char because int might match the return type of a GCC
15707 builtin and then its argument prototype would still apply. */
15708 char SCardEstablishContext ();
15712 return SCardEstablishContext ();
15717 if ac_fn_c_try_link
"$LINENO"
15719 ac_cv_lib_pcsclite_SCardEstablishContext
=yes
15721 ac_cv_lib_pcsclite_SCardEstablishContext
=no
15723 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15724 conftest
$ac_exeext conftest.
$ac_ext
15725 LIBS
=$ac_check_lib_save_LIBS
15727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcsclite_SCardEstablishContext" >&5
15728 printf "%s\n" "$ac_cv_lib_pcsclite_SCardEstablishContext" >&6; }
15729 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" = xyes
15731 PCSCLITE_LIBS
="-lpcsclite"
15735 darwin
*|macosx
*) PCSCLITE_LIBS
="-framework PCSC"
15741 if test "x$PCSCLITE_LIBS" = x
15743 case "x$with_pcsclite" in
15744 x
) as_fn_append wine_notices
"|libpcsclite not found, smart cards won't be supported." ;;
15746 *) as_fn_error $?
"libpcsclite not found, smart cards won't be supported.
15747 This is an error since --with-pcsclite was requested." "$LINENO" 5 ;;
15749 enable_winscard
=${enable_winscard:-no}
15752 if test "x$with_inotify" != "xno"
15755 if ${INOTIFY_CFLAGS:+false} :
15757 if test ${PKG_CONFIG+y}
15759 INOTIFY_CFLAGS
=`$PKG_CONFIG --cflags libinotify 2>conftest.err`
15763 if ${INOTIFY_LIBS:+false} :
15765 if test ${PKG_CONFIG+y}
15767 INOTIFY_LIBS
=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15772 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15773 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15774 if test -s conftest.err
; then
15775 printf %s
"$as_me:${as_lineno-$LINENO}: libinotify errors: " >&5
15776 cat conftest.err
>&5
15779 ac_save_CPPFLAGS
=$CPPFLAGS
15780 CPPFLAGS
="$CPPFLAGS $INOTIFY_CFLAGS"
15781 ac_fn_c_check_header_compile
"$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15782 if test "x$ac_cv_header_sys_inotify_h" = xyes
15784 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15789 printf %s
"checking for inotify_add_watch in -linotify... " >&6; }
15790 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15792 printf %s
"(cached) " >&6
15794 ac_check_lib_save_LIBS
=$LIBS
15795 LIBS
="-linotify $INOTIFY_LIBS $LIBS"
15796 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15797 /* end confdefs.h. */
15799 /* Override any GCC internal prototype to avoid an error.
15800 Use char because int might match the return type of a GCC
15801 builtin and then its argument prototype would still apply. */
15802 char inotify_add_watch ();
15806 return inotify_add_watch ();
15811 if ac_fn_c_try_link
"$LINENO"
15813 ac_cv_lib_inotify_inotify_add_watch
=yes
15815 ac_cv_lib_inotify_inotify_add_watch
=no
15817 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15818 conftest
$ac_exeext conftest.
$ac_ext
15819 LIBS
=$ac_check_lib_save_LIBS
15821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15822 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
15823 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
15830 CPPFLAGS
=$ac_save_CPPFLAGS
15833 if test "$ac_cv_header_sys_inotify_h" != "yes"
15835 case "x$with_inotify" in
15836 x
) as_fn_append wine_notices
"|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
15838 *) as_fn_error $?
"libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
15839 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
15844 if test "x$with_dbus" != "xno"
15847 if ${DBUS_CFLAGS:+false} :
15849 if test ${PKG_CONFIG+y}
15851 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>conftest.err`
15855 if ${DBUS_LIBS:+false} :
15857 if test ${PKG_CONFIG+y}
15859 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
15864 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
15865 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
15866 if test -s conftest.err
; then
15867 printf %s
"$as_me:${as_lineno-$LINENO}: dbus-1 errors: " >&5
15868 cat conftest.err
>&5
15871 ac_save_CPPFLAGS
=$CPPFLAGS
15872 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
15873 ac_fn_c_check_header_compile
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
15874 if test "x$ac_cv_header_dbus_dbus_h" = xyes
15876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
15877 printf %s
"checking for -ldbus-1... " >&6; }
15878 if test ${ac_cv_lib_soname_dbus_1+y}
15880 printf %s
"(cached) " >&6
15882 ac_check_soname_save_LIBS
=$LIBS
15883 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
15884 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15885 /* end confdefs.h. */
15887 /* Override any GCC internal prototype to avoid an error.
15888 Use char because int might match the return type of a GCC
15889 builtin and then its argument prototype would still apply. */
15890 char dbus_connection_close ();
15894 return dbus_connection_close ();
15899 if ac_fn_c_try_link
"$LINENO"
15902 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15903 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'` ;;
15904 *) 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'`
15905 if ${ac_cv_lib_soname_dbus_1:+false} :
15907 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15911 ac_cv_lib_soname_dbus_1
=
15913 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15914 conftest
$ac_exeext conftest.
$ac_ext
15915 LIBS
=$ac_check_soname_save_LIBS
15917 if ${ac_cv_lib_soname_dbus_1:+false} :
15919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15920 printf "%s\n" "not found" >&6; }
15923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
15924 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
15926 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
15934 CPPFLAGS
=$ac_save_CPPFLAGS
15938 darwin
*|macosx
*) ;;
15939 *) if test "x$ac_cv_lib_soname_dbus_1" = "x"
15941 case "x$with_dbus" in
15942 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
15944 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
15945 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
15951 if test "x$with_gnutls" != "xno"
15954 if ${GNUTLS_CFLAGS:+false} :
15956 if test ${PKG_CONFIG+y}
15958 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>conftest.err`
15962 if ${GNUTLS_LIBS:+false} :
15964 if test ${PKG_CONFIG+y}
15966 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
15970 GNUTLS_LIBS
=${GNUTLS_LIBS:-"-lgnutls"}
15971 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
15972 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
15973 if test -s conftest.err
; then
15974 printf %s
"$as_me:${as_lineno-$LINENO}: gnutls errors: " >&5
15975 cat conftest.err
>&5
15978 ac_save_CPPFLAGS
=$CPPFLAGS
15979 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
15980 ac_fn_c_check_header_compile
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
15981 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
15983 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15984 /* end confdefs.h. */
15985 #include <gnutls/gnutls.h>
15986 #include <gnutls/crypto.h>
15990 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
15995 if ac_fn_c_try_compile
"$LINENO"
15997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
15998 printf %s
"checking for -lgnutls... " >&6; }
15999 if test ${ac_cv_lib_soname_gnutls+y}
16001 printf %s
"(cached) " >&6
16003 ac_check_soname_save_LIBS
=$LIBS
16004 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
16005 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16006 /* end confdefs.h. */
16008 /* Override any GCC internal prototype to avoid an error.
16009 Use char because int might match the return type of a GCC
16010 builtin and then its argument prototype would still apply. */
16011 char gnutls_global_init ();
16015 return gnutls_global_init ();
16020 if ac_fn_c_try_link
"$LINENO"
16023 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16024 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'` ;;
16025 *) 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'`
16026 if ${ac_cv_lib_soname_gnutls:+false} :
16028 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'`
16032 ac_cv_lib_soname_gnutls
=
16034 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16035 conftest
$ac_exeext conftest.
$ac_ext
16036 LIBS
=$ac_check_soname_save_LIBS
16038 if ${ac_cv_lib_soname_gnutls:+false} :
16040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16041 printf "%s\n" "not found" >&6; }
16044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16045 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16047 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16051 ac_wine_check_funcs_save_LIBS
="$LIBS"
16052 LIBS
="$LIBS $GNUTLS_LIBS"
16054 for ac_func
in gnutls_cipher_init
16056 ac_fn_c_check_func
"$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16057 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16059 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16062 as_fn_append wine_notices
"|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16066 LIBS
="$ac_wine_check_funcs_save_LIBS"
16068 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16073 CPPFLAGS
=$ac_save_CPPFLAGS
16076 if test "x$ac_cv_lib_soname_gnutls" = "x"
16078 case "x$with_gnutls" in
16079 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16081 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
16082 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16087 if test "x$with_sane" != "xno"
16090 if ${SANE_CFLAGS:+false} :
16092 if test ${PKG_CONFIG+y}
16094 SANE_CFLAGS
=`$PKG_CONFIG --cflags sane-backends 2>conftest.err`
16097 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16098 if ${SANE_LIBS:+false} :
16100 if test ${PKG_CONFIG+y}
16102 SANE_LIBS
=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16105 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16107 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16108 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16109 if test -s conftest.err
; then
16110 printf %s
"$as_me:${as_lineno-$LINENO}: sane-backends errors: " >&5
16111 cat conftest.err
>&5
16114 ac_save_CPPFLAGS
=$CPPFLAGS
16115 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
16116 ac_fn_c_check_header_compile
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16117 if test "x$ac_cv_header_sane_sane_h" = xyes
16119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16120 printf %s
"checking for sane_init in -lsane... " >&6; }
16121 if test ${ac_cv_lib_sane_sane_init+y}
16123 printf %s
"(cached) " >&6
16125 ac_check_lib_save_LIBS
=$LIBS
16126 LIBS
="-lsane $SANE_LIBS $LIBS"
16127 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16128 /* end confdefs.h. */
16130 /* Override any GCC internal prototype to avoid an error.
16131 Use char because int might match the return type of a GCC
16132 builtin and then its argument prototype would still apply. */
16137 return sane_init ();
16142 if ac_fn_c_try_link
"$LINENO"
16144 ac_cv_lib_sane_sane_init
=yes
16146 ac_cv_lib_sane_sane_init
=no
16148 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16149 conftest
$ac_exeext conftest.
$ac_ext
16150 LIBS
=$ac_check_lib_save_LIBS
16152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16153 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16154 if test "x$ac_cv_lib_sane_sane_init" = xyes
16161 CPPFLAGS
=$ac_save_CPPFLAGS
16164 if test "$ac_cv_lib_sane_sane_init" != "yes"
16166 case "x$with_sane" in
16167 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16169 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
16170 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16172 enable_sane_ds
=${enable_sane_ds:-no}
16175 if test "x$with_usb" != "xno"
16178 if ${USB_CFLAGS:+false} :
16180 if test ${PKG_CONFIG+y}
16182 USB_CFLAGS
=`$PKG_CONFIG --cflags libusb-1.0 2>conftest.err`
16186 if ${USB_LIBS:+false} :
16188 if test ${PKG_CONFIG+y}
16190 USB_LIBS
=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16194 USB_LIBS
=${USB_LIBS:-"-lusb-1.0"}
16195 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16196 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16197 if test -s conftest.err
; then
16198 printf %s
"$as_me:${as_lineno-$LINENO}: libusb-1.0 errors: " >&5
16199 cat conftest.err
>&5
16202 ac_save_CPPFLAGS
=$CPPFLAGS
16203 CPPFLAGS
="$CPPFLAGS $USB_CFLAGS"
16204 ac_fn_c_check_header_compile
"$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16205 if test "x$ac_cv_header_libusb_h" = xyes
16207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16208 printf %s
"checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16209 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16211 printf %s
"(cached) " >&6
16213 ac_check_lib_save_LIBS
=$LIBS
16214 LIBS
="-lusb-1.0 $USB_LIBS $LIBS"
16215 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16216 /* end confdefs.h. */
16218 /* Override any GCC internal prototype to avoid an error.
16219 Use char because int might match the return type of a GCC
16220 builtin and then its argument prototype would still apply. */
16221 char libusb_interrupt_event_handler ();
16225 return libusb_interrupt_event_handler ();
16230 if ac_fn_c_try_link
"$LINENO"
16232 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler
=yes
16234 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler
=no
16236 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16237 conftest
$ac_exeext conftest.
$ac_ext
16238 LIBS
=$ac_check_lib_save_LIBS
16240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16241 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16242 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16253 CPPFLAGS
=$ac_save_CPPFLAGS
16256 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16258 case "x$with_usb" in
16259 x
) as_fn_append wine_notices
"|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16261 *) as_fn_error $?
"libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16262 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16264 enable_wineusb_sys
=${enable_wineusb_sys:-no}
16267 if test "x$with_v4l2" != "xno"
16269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16270 printf %s
"checking for -lv4l2... " >&6; }
16271 if test ${ac_cv_lib_soname_v4l2+y}
16273 printf %s
"(cached) " >&6
16275 ac_check_soname_save_LIBS
=$LIBS
16276 LIBS
="-lv4l2 $LIBS"
16277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16278 /* end confdefs.h. */
16280 /* Override any GCC internal prototype to avoid an error.
16281 Use char because int might match the return type of a GCC
16282 builtin and then its argument prototype would still apply. */
16287 return v4l2_open ();
16292 if ac_fn_c_try_link
"$LINENO"
16295 dll
) ac_cv_lib_soname_v4l2
=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16296 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'` ;;
16297 *) ac_cv_lib_soname_v4l2
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16298 if ${ac_cv_lib_soname_v4l2:+false} :
16300 ac_cv_lib_soname_v4l2
=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16304 ac_cv_lib_soname_v4l2
=
16306 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16307 conftest
$ac_exeext conftest.
$ac_ext
16308 LIBS
=$ac_check_soname_save_LIBS
16310 if ${ac_cv_lib_soname_v4l2:+false} :
16312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16313 printf "%s\n" "not found" >&6; }
16316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16317 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16319 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16324 if test "x$ac_cv_lib_soname_v4l2" = "x"
16326 case "x$with_v4l2" in
16327 x
) as_fn_append wine_notices
"|libv4l2 ${notice_platform}development files not found." ;;
16329 *) as_fn_error $?
"libv4l2 ${notice_platform}development files not found.
16330 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16335 if test "x$with_gphoto" != "xno"
16338 if ${GPHOTO2_CFLAGS:+false} :
16340 if test ${PKG_CONFIG+y}
16342 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>conftest.err`
16345 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16346 if ${GPHOTO2_LIBS:+false} :
16348 if test ${PKG_CONFIG+y}
16350 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16353 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16354 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
16355 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16356 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16357 if test -s conftest.err
; then
16358 printf %s
"$as_me:${as_lineno-$LINENO}: libgphoto2 errors: " >&5
16359 cat conftest.err
>&5
16362 ac_save_CPPFLAGS
=$CPPFLAGS
16363 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
16364 ac_fn_c_check_header_compile
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16365 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16368 printf %s
"checking for gp_camera_new in -lgphoto2... " >&6; }
16369 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16371 printf %s
"(cached) " >&6
16373 ac_check_lib_save_LIBS
=$LIBS
16374 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16375 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16376 /* end confdefs.h. */
16378 /* Override any GCC internal prototype to avoid an error.
16379 Use char because int might match the return type of a GCC
16380 builtin and then its argument prototype would still apply. */
16381 char gp_camera_new ();
16385 return gp_camera_new ();
16390 if ac_fn_c_try_link
"$LINENO"
16392 ac_cv_lib_gphoto2_gp_camera_new
=yes
16394 ac_cv_lib_gphoto2_gp_camera_new
=no
16396 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16397 conftest
$ac_exeext conftest.
$ac_ext
16398 LIBS
=$ac_check_lib_save_LIBS
16400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16401 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16402 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16409 CPPFLAGS
=$ac_save_CPPFLAGS
16412 if ${GPHOTO2_PORT_CFLAGS:+false} :
16414 if test ${PKG_CONFIG+y}
16416 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>conftest.err`
16419 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16420 if ${GPHOTO2_PORT_LIBS:+false} :
16422 if test ${PKG_CONFIG+y}
16424 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16427 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16428 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16429 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16430 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16431 if test -s conftest.err
; then
16432 printf %s
"$as_me:${as_lineno-$LINENO}: libgphoto2_port errors: " >&5
16433 cat conftest.err
>&5
16436 ac_save_CPPFLAGS
=$CPPFLAGS
16437 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16438 ac_fn_c_check_header_compile
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16439 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16442 printf %s
"checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16443 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16445 printf %s
"(cached) " >&6
16447 ac_check_lib_save_LIBS
=$LIBS
16448 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16449 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16450 /* end confdefs.h. */
16452 /* Override any GCC internal prototype to avoid an error.
16453 Use char because int might match the return type of a GCC
16454 builtin and then its argument prototype would still apply. */
16455 char gp_port_info_list_new ();
16459 return gp_port_info_list_new ();
16464 if ac_fn_c_try_link
"$LINENO"
16466 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
16468 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
16470 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16471 conftest
$ac_exeext conftest.
$ac_ext
16472 LIBS
=$ac_check_lib_save_LIBS
16474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16475 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16476 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16479 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16482 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
16486 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
16489 CPPFLAGS
=$ac_save_CPPFLAGS
16492 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16494 case "x$with_gphoto" in
16495 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16497 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16498 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16500 enable_gphoto2_ds
=${enable_gphoto2_ds:-no}
16502 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16504 case "x$with_gphoto" in
16505 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16507 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16508 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16514 if test "$ac_cv_header_resolv_h" = "yes"
16516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16517 printf %s
"checking for resolver library... " >&6; }
16518 if test ${ac_cv_have_resolv+y}
16520 printf %s
"(cached) " >&6
16522 ac_save_LIBS
="$LIBS"
16523 for lib
in '' -lresolv
16525 LIBS
="$lib $ac_save_LIBS"
16526 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16527 /* end confdefs.h. */
16528 #ifdef HAVE_NETINET_IN_H
16529 #include <netinet/in.h>
16531 #include <resolv.h>
16535 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16540 if ac_fn_c_try_link
"$LINENO"
16542 ac_cv_have_resolv
=${lib:-"none required"}
16544 ac_cv_have_resolv
="not found"
16546 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16547 conftest
$ac_exeext conftest.
$ac_ext
16548 test "x$ac_cv_have_resolv" = "xnot found" ||
break
16550 LIBS
="$ac_save_LIBS"
16552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16553 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16555 case "$ac_cv_have_resolv" in
16559 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16562 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16564 RESOLV_LIBS
=$ac_cv_have_resolv
16568 if test "x$ac_cv_have_resolv" != "xnot found"
16570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16571 printf %s
"checking for res_getservers... " >&6; }
16572 if test ${ac_cv_have_res_getservers+y}
16574 printf %s
"(cached) " >&6
16576 ac_save_LIBS
="$LIBS"
16577 LIBS
="$RESOLV_LIBS $LIBS"
16578 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16579 /* end confdefs.h. */
16580 #include <resolv.h>
16584 res_getservers(NULL, NULL, 0);
16589 if ac_fn_c_try_link
"$LINENO"
16591 ac_cv_have_res_getservers
=yes
16593 ac_cv_have_res_getservers
=no
16595 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16596 conftest
$ac_exeext conftest.
$ac_ext
16597 LIBS
="$ac_save_LIBS"
16599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16600 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16601 if test "$ac_cv_have_res_getservers" = "yes"
16604 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16610 if test "x$with_freetype" != "xno"
16613 if ${FREETYPE_CFLAGS:+false} :
16615 if test ${PKG_CONFIG+y}
16617 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>conftest.err`
16620 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16621 if ${FREETYPE_LIBS:+false} :
16623 if test ${PKG_CONFIG+y}
16625 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16628 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16629 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
16630 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16631 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16632 if test -s conftest.err
; then
16633 printf %s
"$as_me:${as_lineno-$LINENO}: freetype2 errors: " >&5
16634 cat conftest.err
>&5
16637 ac_save_CPPFLAGS
=$CPPFLAGS
16638 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
16639 ac_fn_c_check_header_compile
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16640 if test "x$ac_cv_header_ft2build_h" = xyes
16642 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16646 if test "$ac_cv_header_ft2build_h" = "yes"
16648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16649 printf %s
"checking for -lfreetype... " >&6; }
16650 if test ${ac_cv_lib_soname_freetype+y}
16652 printf %s
"(cached) " >&6
16654 ac_check_soname_save_LIBS
=$LIBS
16655 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
16656 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16657 /* end confdefs.h. */
16659 /* Override any GCC internal prototype to avoid an error.
16660 Use char because int might match the return type of a GCC
16661 builtin and then its argument prototype would still apply. */
16662 char FT_Init_FreeType ();
16666 return FT_Init_FreeType ();
16671 if ac_fn_c_try_link
"$LINENO"
16674 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16675 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'` ;;
16676 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16677 if ${ac_cv_lib_soname_freetype:+false} :
16679 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16683 ac_cv_lib_soname_freetype
=
16685 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16686 conftest
$ac_exeext conftest.
$ac_ext
16687 LIBS
=$ac_check_soname_save_LIBS
16689 if ${ac_cv_lib_soname_freetype:+false} :
16691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16692 printf "%s\n" "not found" >&6; }
16695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16696 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16698 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16701 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16703 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16704 #include FT_MODULE_H
16706 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16709 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16719 CPPFLAGS
=$ac_save_CPPFLAGS
16722 if test "x$ac_cv_lib_soname_freetype" = x
16724 case "x$with_freetype" in
16726 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
16727 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16729 enable_fonts
=${enable_fonts:-no}
16732 ac_wine_check_funcs_save_LIBS
="$LIBS"
16733 LIBS
="$LIBS $PTHREAD_LIBS"
16734 ac_fn_c_check_func
"$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16735 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16737 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16741 LIBS
="$ac_wine_check_funcs_save_LIBS"
16743 if test "x$enable_tools" != xno
-a "x$with_gettextpo" = xyes
16745 if test "$ac_cv_header_gettext_po_h" = "yes"
16747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16748 printf %s
"checking for po_message_msgctxt in -lgettextpo... " >&6; }
16749 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16751 printf %s
"(cached) " >&6
16753 ac_check_lib_save_LIBS
=$LIBS
16754 LIBS
="-lgettextpo $LIBS"
16755 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16756 /* end confdefs.h. */
16758 /* Override any GCC internal prototype to avoid an error.
16759 Use char because int might match the return type of a GCC
16760 builtin and then its argument prototype would still apply. */
16761 char po_message_msgctxt ();
16765 return po_message_msgctxt ();
16770 if ac_fn_c_try_link
"$LINENO"
16772 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
16774 ac_cv_lib_gettextpo_po_message_msgctxt
=no
16776 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16777 conftest
$ac_exeext conftest.
$ac_ext
16778 LIBS
=$ac_check_lib_save_LIBS
16780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16781 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16782 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16785 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16787 GETTEXTPO_LIBS
="-lgettextpo"
16792 if test "x$GETTEXTPO_LIBS" = "x"
16794 case "x$with_gettextpo" in
16795 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16797 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16798 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16802 if test "$srcdir" != .
16804 case "x$with_gettextpo" in
16805 x
) as_fn_append wine_notices
"|Rebuilding po files is not supported for out of tree builds." ;;
16807 *) as_fn_error $?
"Rebuilding po files is not supported for out of tree builds.
16808 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16814 if test "x$with_pulse" != "xno";
16817 if ${PULSE_CFLAGS:+false} :
16819 if test ${PKG_CONFIG+y}
16821 PULSE_CFLAGS
=`$PKG_CONFIG --cflags libpulse 2>conftest.err`
16825 if ${PULSE_LIBS:+false} :
16827 if test ${PKG_CONFIG+y}
16829 PULSE_LIBS
=`$PKG_CONFIG --libs libpulse 2>/dev/null`
16834 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
16835 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
16836 if test -s conftest.err
; then
16837 printf %s
"$as_me:${as_lineno-$LINENO}: libpulse errors: " >&5
16838 cat conftest.err
>&5
16841 ac_save_CPPFLAGS
=$CPPFLAGS
16842 CPPFLAGS
="$CPPFLAGS $PULSE_CFLAGS"
16843 ac_fn_c_check_header_compile
"$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
16844 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
16846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
16847 printf %s
"checking for pa_stream_is_corked in -lpulse... " >&6; }
16848 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
16850 printf %s
"(cached) " >&6
16852 ac_check_lib_save_LIBS
=$LIBS
16853 LIBS
="-lpulse $PULSE_LIBS $LIBS"
16854 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16855 /* end confdefs.h. */
16857 /* Override any GCC internal prototype to avoid an error.
16858 Use char because int might match the return type of a GCC
16859 builtin and then its argument prototype would still apply. */
16860 char pa_stream_is_corked ();
16864 return pa_stream_is_corked ();
16869 if ac_fn_c_try_link
"$LINENO"
16871 ac_cv_lib_pulse_pa_stream_is_corked
=yes
16873 ac_cv_lib_pulse_pa_stream_is_corked
=no
16875 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16876 conftest
$ac_exeext conftest.
$ac_ext
16877 LIBS
=$ac_check_lib_save_LIBS
16879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
16880 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
16881 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
16892 CPPFLAGS
=$ac_save_CPPFLAGS
16895 if test -z "$PULSE_LIBS"
16897 case "x$with_pulse" in
16898 x
) as_fn_append wine_notices
"|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
16900 *) as_fn_error $?
"libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
16901 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
16903 enable_winepulse_drv
=${enable_winepulse_drv:-no}
16906 if test "x$with_gstreamer" != "xno"
16909 if ${GSTREAMER_CFLAGS:+false} :
16911 if test ${PKG_CONFIG+y}
16913 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>conftest.err`
16917 if ${GSTREAMER_LIBS:+false} :
16919 if test ${PKG_CONFIG+y}
16921 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>/dev/null`
16926 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
16927 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
16928 if test -s conftest.err
; then
16929 printf %s
"$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 errors: " >&5
16930 cat conftest.err
>&5
16933 ac_save_CPPFLAGS
=$CPPFLAGS
16934 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
16935 ac_fn_c_check_header_compile
"$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
16936 if test "x$ac_cv_header_gst_gst_h" = xyes
16938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
16939 printf %s
"checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
16940 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16941 /* end confdefs.h. */
16942 #include <gst/gst.h>
16946 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
16951 if ac_fn_c_try_compile
"$LINENO"
16953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16954 printf "%s\n" "yes" >&6; }
16955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
16956 printf %s
"checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
16957 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
16959 printf %s
"(cached) " >&6
16961 ac_check_lib_save_LIBS
=$LIBS
16962 LIBS
="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
16963 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16964 /* end confdefs.h. */
16966 /* Override any GCC internal prototype to avoid an error.
16967 Use char because int might match the return type of a GCC
16968 builtin and then its argument prototype would still apply. */
16969 char gst_pad_new ();
16973 return gst_pad_new ();
16978 if ac_fn_c_try_link
"$LINENO"
16980 ac_cv_lib_gstreamer_1_0_gst_pad_new
=yes
16982 ac_cv_lib_gstreamer_1_0_gst_pad_new
=no
16984 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16985 conftest
$ac_exeext conftest.
$ac_ext
16986 LIBS
=$ac_check_lib_save_LIBS
16988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
16989 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
16990 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
16996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16997 printf "%s\n" "no" >&6; }
16998 ac_glib2_broken
=yes
16999 enable_winegstreamer
=${enable_winegstreamer:-no}
17000 as_fn_append wine_notices
"|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17002 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17005 CPPFLAGS
=$ac_save_CPPFLAGS
17008 if test "x$ac_glib2_broken" != xyes
-a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17010 case "x$with_gstreamer" in
17011 x
) as_fn_append wine_notices
"|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17013 *) as_fn_error $?
"gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17014 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17016 enable_winegstreamer
=${enable_winegstreamer:-no}
17021 if test "x$with_alsa" != "xno"
17023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17024 printf %s
"checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17025 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17027 printf %s
"(cached) " >&6
17029 ac_check_lib_save_LIBS
=$LIBS
17030 LIBS
="-lasound $LIBS"
17031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17032 /* end confdefs.h. */
17034 /* Override any GCC internal prototype to avoid an error.
17035 Use char because int might match the return type of a GCC
17036 builtin and then its argument prototype would still apply. */
17037 char snd_pcm_hw_params_get_access_mask ();
17041 return snd_pcm_hw_params_get_access_mask ();
17046 if ac_fn_c_try_link
"$LINENO"
17048 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
17050 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
17052 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17053 conftest
$ac_exeext conftest.
$ac_ext
17054 LIBS
=$ac_check_lib_save_LIBS
17056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17057 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17058 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17060 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17061 /* end confdefs.h. */
17062 #include <alsa/asoundlib.h>
17066 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17071 if ac_fn_c_try_compile
"$LINENO"
17073 ALSA_LIBS
="-lasound"
17075 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17079 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
17081 if test "x$with_oss" != xno
17083 ac_save_CPPFLAGS
="$CPPFLAGS"
17084 if test -f /etc
/oss.conf
17088 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17089 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
17090 ac_fn_c_check_header_compile
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17091 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17093 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17095 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17098 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17100 OSS4_CFLAGS
="$ac_oss_incl"
17102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17103 printf %s
"checking for _oss_ioctl in -lossaudio... " >&6; }
17104 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17106 printf %s
"(cached) " >&6
17108 ac_check_lib_save_LIBS
=$LIBS
17109 LIBS
="-lossaudio $LIBS"
17110 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17111 /* end confdefs.h. */
17113 /* Override any GCC internal prototype to avoid an error.
17114 Use char because int might match the return type of a GCC
17115 builtin and then its argument prototype would still apply. */
17116 char _oss_ioctl ();
17120 return _oss_ioctl ();
17125 if ac_fn_c_try_link
"$LINENO"
17127 ac_cv_lib_ossaudio__oss_ioctl
=yes
17129 ac_cv_lib_ossaudio__oss_ioctl
=no
17131 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17132 conftest
$ac_exeext conftest.
$ac_ext
17133 LIBS
=$ac_check_lib_save_LIBS
17135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17136 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17137 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17139 OSS4_LIBS
="-lossaudio"
17147 CPPFLAGS
="$ac_save_CPPFLAGS"
17149 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17151 case "x$with_oss" in
17152 x
) as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17154 *) as_fn_error $?
"OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17155 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17157 enable_wineoss_drv
=${enable_wineoss_drv:-no}
17160 if test "x$with_udev" != "xno"
17163 if ${UDEV_CFLAGS:+false} :
17165 if test ${PKG_CONFIG+y}
17167 UDEV_CFLAGS
=`$PKG_CONFIG --cflags libudev 2>conftest.err`
17171 if ${UDEV_LIBS:+false} :
17173 if test ${PKG_CONFIG+y}
17175 UDEV_LIBS
=`$PKG_CONFIG --libs libudev 2>/dev/null`
17179 UDEV_LIBS
=${UDEV_LIBS:-"-ludev"}
17180 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17181 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17182 if test -s conftest.err
; then
17183 printf %s
"$as_me:${as_lineno-$LINENO}: libudev errors: " >&5
17184 cat conftest.err
>&5
17187 ac_save_CPPFLAGS
=$CPPFLAGS
17188 CPPFLAGS
="$CPPFLAGS $UDEV_CFLAGS"
17189 for ac_header
in libudev.h
17191 ac_fn_c_check_header_compile
"$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17192 if test "x$ac_cv_header_libudev_h" = xyes
17194 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17196 printf %s
"checking for udev_new in -ludev... " >&6; }
17197 if test ${ac_cv_lib_udev_udev_new+y}
17199 printf %s
"(cached) " >&6
17201 ac_check_lib_save_LIBS
=$LIBS
17202 LIBS
="-ludev $UDEV_LIBS $LIBS"
17203 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17204 /* end confdefs.h. */
17206 /* Override any GCC internal prototype to avoid an error.
17207 Use char because int might match the return type of a GCC
17208 builtin and then its argument prototype would still apply. */
17213 return udev_new ();
17218 if ac_fn_c_try_link
"$LINENO"
17220 ac_cv_lib_udev_udev_new
=yes
17222 ac_cv_lib_udev_udev_new
=no
17224 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17225 conftest
$ac_exeext conftest.
$ac_ext
17226 LIBS
=$ac_check_lib_save_LIBS
17228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17229 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17230 if test "x$ac_cv_lib_udev_udev_new" = xyes
17233 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17244 CPPFLAGS
=$ac_save_CPPFLAGS
17247 if test "x$UDEV_LIBS" = "x"
17249 case "x$with_udev" in
17250 x
) as_fn_append wine_notices
"|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17252 *) as_fn_error $?
"libudev ${notice_platform}development files not found, plug and play won't be supported.
17253 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17258 if test "x$with_unwind" != xno
17261 if ${UNWIND_CFLAGS:+false} :
17263 if test ${PKG_CONFIG+y}
17265 UNWIND_CFLAGS
=`$PKG_CONFIG --cflags libunwind 2>conftest.err`
17269 if ${UNWIND_LIBS:+false} :
17271 if test ${PKG_CONFIG+y}
17273 UNWIND_LIBS
=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17277 UNWIND_LIBS
=${UNWIND_LIBS:-"-lunwind"}
17278 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17279 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17280 if test -s conftest.err
; then
17281 printf %s
"$as_me:${as_lineno-$LINENO}: libunwind errors: " >&5
17282 cat conftest.err
>&5
17285 ac_save_CPPFLAGS
=$CPPFLAGS
17286 CPPFLAGS
="$CPPFLAGS $UNWIND_CFLAGS"
17287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17288 printf %s
"checking for unw_step... " >&6; }
17289 if test ${wine_cv_have_unw_step+y}
17291 printf %s
"(cached) " >&6
17293 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17294 /* end confdefs.h. */
17295 #define UNW_LOCAL_ONLY
17296 #include <libunwind.h>
17300 unw_cursor_t cursor; unw_step( &cursor );
17305 if ac_fn_c_try_link
"$LINENO"
17307 wine_cv_have_unw_step
="yes"
17309 wine_cv_have_unw_step
="no"
17311 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17312 conftest
$ac_exeext conftest.
$ac_ext
17314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17315 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17316 if test "$wine_cv_have_unw_step" = no
-a -n "$UNWIND_LIBS"
17319 UNWIND_LIBS
="-static-libgcc $UNWIND_LIBS"
17320 LIBS
="$UNWIND_LIBS $LIBS"
17321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17322 printf %s
"checking for unw_step in libunwind... " >&6; }
17323 if test ${wine_cv_have_libunwind_unw_step+y}
17325 printf %s
"(cached) " >&6
17327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17328 /* end confdefs.h. */
17329 #define UNW_LOCAL_ONLY
17330 #include <libunwind.h>
17334 unw_cursor_t cursor; unw_step( &cursor );
17339 if ac_fn_c_try_link
"$LINENO"
17341 wine_cv_have_libunwind_unw_step
="yes"
17343 wine_cv_have_libunwind_unw_step
="no"
17345 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17346 conftest
$ac_exeext conftest.
$ac_ext
17348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17349 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17352 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS
=""
17353 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17356 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17359 CPPFLAGS
=$ac_save_CPPFLAGS
17363 aarch64
*|
*-darwin*)
17364 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17366 case "x$with_unwind" in
17367 x
) as_fn_append wine_notices
"|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17369 *) as_fn_error $?
"libunwind ${notice_platform}development files not found, stack unwinding won't work.
17370 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17376 if test "x$with_sdl" != "xno"
17379 if ${SDL2_CFLAGS:+false} :
17381 if test ${PKG_CONFIG+y}
17383 SDL2_CFLAGS
=`$PKG_CONFIG --cflags sdl2 2>conftest.err`
17387 if ${SDL2_LIBS:+false} :
17389 if test ${PKG_CONFIG+y}
17391 SDL2_LIBS
=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17395 SDL2_LIBS
=${SDL2_LIBS:-"-lSDL2"}
17396 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17397 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17398 if test -s conftest.err
; then
17399 printf %s
"$as_me:${as_lineno-$LINENO}: sdl2 errors: " >&5
17400 cat conftest.err
>&5
17403 ac_save_CPPFLAGS
=$CPPFLAGS
17404 CPPFLAGS
="$CPPFLAGS $SDL2_CFLAGS"
17405 for ac_header
in SDL.h
17407 ac_fn_c_check_header_compile
"$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17408 if test "x$ac_cv_header_SDL_h" = xyes
17410 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17412 printf %s
"checking for -lSDL2... " >&6; }
17413 if test ${ac_cv_lib_soname_SDL2+y}
17415 printf %s
"(cached) " >&6
17417 ac_check_soname_save_LIBS
=$LIBS
17418 LIBS
="-lSDL2 $SDL2_LIBS $LIBS"
17419 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17420 /* end confdefs.h. */
17422 /* Override any GCC internal prototype to avoid an error.
17423 Use char because int might match the return type of a GCC
17424 builtin and then its argument prototype would still apply. */
17429 return SDL_Init ();
17434 if ac_fn_c_try_link
"$LINENO"
17437 dll
) ac_cv_lib_soname_SDL2
=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17438 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'` ;;
17439 *) 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'`
17440 if ${ac_cv_lib_soname_SDL2:+false} :
17442 ac_cv_lib_soname_SDL2
=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17446 ac_cv_lib_soname_SDL2
=
17448 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17449 conftest
$ac_exeext conftest.
$ac_ext
17450 LIBS
=$ac_check_soname_save_LIBS
17452 if ${ac_cv_lib_soname_SDL2:+false} :
17454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17455 printf "%s\n" "not found" >&6; }
17458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17459 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17461 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17468 CPPFLAGS
=$ac_save_CPPFLAGS
17471 if test "x$ac_cv_lib_soname_SDL2" = "x"
17473 case "x$with_sdl" in
17474 x
) as_fn_append wine_notices
"|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17476 *) as_fn_error $?
"libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17477 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17482 if test "x$with_capi" != "xno"
17485 if ${CAPI20_CFLAGS:+false} :
17487 if test ${PKG_CONFIG+y}
17489 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>conftest.err`
17493 if ${CAPI20_LIBS:+false} :
17495 if test ${PKG_CONFIG+y}
17497 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
17502 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17503 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17504 if test -s conftest.err
; then
17505 printf %s
"$as_me:${as_lineno-$LINENO}: capi20 errors: " >&5
17506 cat conftest.err
>&5
17509 ac_save_CPPFLAGS
=$CPPFLAGS
17510 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
17511 ac_fn_c_check_header_compile
"$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17513 if test "x$ac_cv_header_capi20_h" = xyes
17515 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17518 ac_fn_c_check_header_compile
"$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17520 if test "x$ac_cv_header_linux_capi_h" = xyes
17522 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17526 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17529 printf %s
"checking for capi20_register in -lcapi20... " >&6; }
17530 if test ${ac_cv_lib_capi20_capi20_register+y}
17532 printf %s
"(cached) " >&6
17534 ac_check_lib_save_LIBS
=$LIBS
17535 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
17536 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17537 /* end confdefs.h. */
17539 /* Override any GCC internal prototype to avoid an error.
17540 Use char because int might match the return type of a GCC
17541 builtin and then its argument prototype would still apply. */
17542 char capi20_register ();
17546 return capi20_register ();
17551 if ac_fn_c_try_link
"$LINENO"
17553 ac_cv_lib_capi20_capi20_register
=yes
17555 ac_cv_lib_capi20_capi20_register
=no
17557 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17558 conftest
$ac_exeext conftest.
$ac_ext
17559 LIBS
=$ac_check_lib_save_LIBS
17561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17562 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17563 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17571 CPPFLAGS
=$ac_save_CPPFLAGS
17574 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17576 case "x$with_capi" in
17577 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17579 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17580 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17582 enable_capi2032
=${enable_capi2032:-no}
17585 if test "x$with_cups" != "xno"
17588 if ${CUPS_CFLAGS:+false} :
17590 if test ${PKG_CONFIG+y}
17592 CUPS_CFLAGS
=`$PKG_CONFIG --cflags cups 2>conftest.err`
17595 test "$cross_compiling" = yes || CUPS_CFLAGS
=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17596 if ${CUPS_LIBS:+false} :
17598 if test ${PKG_CONFIG+y}
17600 CUPS_LIBS
=`$PKG_CONFIG --libs cups 2>/dev/null`
17603 test "$cross_compiling" = yes || CUPS_LIBS
=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17604 CUPS_LIBS
=${CUPS_LIBS:-"-lcups"}
17605 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17606 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17607 if test -s conftest.err
; then
17608 printf %s
"$as_me:${as_lineno-$LINENO}: cups errors: " >&5
17609 cat conftest.err
>&5
17612 ac_save_CPPFLAGS
=$CPPFLAGS
17613 CPPFLAGS
="$CPPFLAGS $CUPS_CFLAGS"
17614 ac_fn_c_check_header_compile
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17615 if test "x$ac_cv_header_cups_cups_h" = xyes
17617 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17620 ac_fn_c_check_header_compile
"$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17621 if test "x$ac_cv_header_cups_ppd_h" = xyes
17623 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17627 if test "$ac_cv_header_cups_cups_h" = "yes"
17629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17630 printf %s
"checking for -lcups... " >&6; }
17631 if test ${ac_cv_lib_soname_cups+y}
17633 printf %s
"(cached) " >&6
17635 ac_check_soname_save_LIBS
=$LIBS
17636 LIBS
="-lcups $CUPS_LIBS $LIBS"
17637 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17638 /* end confdefs.h. */
17640 /* Override any GCC internal prototype to avoid an error.
17641 Use char because int might match the return type of a GCC
17642 builtin and then its argument prototype would still apply. */
17643 char cupsGetDefault ();
17647 return cupsGetDefault ();
17652 if ac_fn_c_try_link
"$LINENO"
17655 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17656 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'` ;;
17657 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17658 if ${ac_cv_lib_soname_cups:+false} :
17660 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17664 ac_cv_lib_soname_cups
=
17666 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17667 conftest
$ac_exeext conftest.
$ac_ext
17668 LIBS
=$ac_check_soname_save_LIBS
17670 if ${ac_cv_lib_soname_cups:+false} :
17672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17673 printf "%s\n" "not found" >&6; }
17676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17677 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17679 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17687 CPPFLAGS
=$ac_save_CPPFLAGS
17690 if test "x$ac_cv_lib_soname_cups" = "x"
17692 case "x$with_cups" in
17693 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17695 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
17696 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17701 if test "x$with_fontconfig" != "xno"
17704 if ${FONTCONFIG_CFLAGS:+false} :
17706 if test ${PKG_CONFIG+y}
17708 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>conftest.err`
17711 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17712 if ${FONTCONFIG_LIBS:+false} :
17714 if test ${PKG_CONFIG+y}
17716 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17719 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
17721 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17722 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17723 if test -s conftest.err
; then
17724 printf %s
"$as_me:${as_lineno-$LINENO}: fontconfig errors: " >&5
17725 cat conftest.err
>&5
17728 ac_save_CPPFLAGS
=$CPPFLAGS
17729 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
17730 ac_fn_c_check_header_compile
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17731 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17734 printf %s
"checking for -lfontconfig... " >&6; }
17735 if test ${ac_cv_lib_soname_fontconfig+y}
17737 printf %s
"(cached) " >&6
17739 ac_check_soname_save_LIBS
=$LIBS
17740 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17741 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17742 /* end confdefs.h. */
17744 /* Override any GCC internal prototype to avoid an error.
17745 Use char because int might match the return type of a GCC
17746 builtin and then its argument prototype would still apply. */
17756 if ac_fn_c_try_link
"$LINENO"
17759 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17760 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'` ;;
17761 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17762 if ${ac_cv_lib_soname_fontconfig:+false} :
17764 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17768 ac_cv_lib_soname_fontconfig
=
17770 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17771 conftest
$ac_exeext conftest.
$ac_ext
17772 LIBS
=$ac_check_soname_save_LIBS
17774 if ${ac_cv_lib_soname_fontconfig:+false} :
17776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17777 printf "%s\n" "not found" >&6; }
17778 FONTCONFIG_CFLAGS
=""
17780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17781 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17783 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17788 FONTCONFIG_CFLAGS
=""
17791 CPPFLAGS
=$ac_save_CPPFLAGS
17794 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17796 case "x$with_fontconfig" in
17797 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17799 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17800 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17805 if test "x$with_krb5" != "xno"
17808 if ${KRB5_CFLAGS:+false} :
17810 if test ${PKG_CONFIG+y}
17812 KRB5_CFLAGS
=`$PKG_CONFIG --cflags krb5 2>conftest.err`
17815 test "$cross_compiling" = yes || KRB5_CFLAGS
=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17816 if ${KRB5_LIBS:+false} :
17818 if test ${PKG_CONFIG+y}
17820 KRB5_LIBS
=`$PKG_CONFIG --libs krb5 2>/dev/null`
17823 test "$cross_compiling" = yes || KRB5_LIBS
=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17825 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17826 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17827 if test -s conftest.err
; then
17828 printf %s
"$as_me:${as_lineno-$LINENO}: krb5 errors: " >&5
17829 cat conftest.err
>&5
17832 ac_save_CPPFLAGS
=$CPPFLAGS
17833 CPPFLAGS
="$CPPFLAGS $KRB5_CFLAGS"
17834 ac_fn_c_check_header_compile
"$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17835 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17837 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17841 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17844 printf %s
"checking for -lkrb5... " >&6; }
17845 if test ${ac_cv_lib_soname_krb5+y}
17847 printf %s
"(cached) " >&6
17849 ac_check_soname_save_LIBS
=$LIBS
17850 LIBS
="-lkrb5 $KRB5_LIBS $LIBS"
17851 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17852 /* end confdefs.h. */
17854 /* Override any GCC internal prototype to avoid an error.
17855 Use char because int might match the return type of a GCC
17856 builtin and then its argument prototype would still apply. */
17857 char krb5_is_config_principal ();
17861 return krb5_is_config_principal ();
17866 if ac_fn_c_try_link
"$LINENO"
17869 dll
) ac_cv_lib_soname_krb5
=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17870 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'` ;;
17871 *) ac_cv_lib_soname_krb5
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17872 if ${ac_cv_lib_soname_krb5:+false} :
17874 ac_cv_lib_soname_krb5
=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17878 ac_cv_lib_soname_krb5
=
17880 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17881 conftest
$ac_exeext conftest.
$ac_ext
17882 LIBS
=$ac_check_soname_save_LIBS
17884 if ${ac_cv_lib_soname_krb5:+false} :
17886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17887 printf "%s\n" "not found" >&6; }
17890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
17891 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
17893 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
17900 CPPFLAGS
=$ac_save_CPPFLAGS
17903 if test "x$ac_cv_lib_soname_krb5" = "x"
17905 case "x$with_krb5" in
17906 x
) as_fn_append wine_notices
"|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
17908 *) as_fn_error $?
"libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
17909 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
17913 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi
=${with_gssapi:-no}
17915 if test "x$with_gssapi" != "xno"
17918 if ${GSSAPI_CFLAGS:+false} :
17920 if test ${PKG_CONFIG+y}
17922 GSSAPI_CFLAGS
=`$PKG_CONFIG --cflags krb5-gssapi 2>conftest.err`
17925 test "$cross_compiling" = yes || GSSAPI_CFLAGS
=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
17926 if ${GSSAPI_LIBS:+false} :
17928 if test ${PKG_CONFIG+y}
17930 GSSAPI_LIBS
=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
17933 test "$cross_compiling" = yes || GSSAPI_LIBS
=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
17935 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
17936 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
17937 if test -s conftest.err
; then
17938 printf %s
"$as_me:${as_lineno-$LINENO}: krb5-gssapi errors: " >&5
17939 cat conftest.err
>&5
17942 ac_save_CPPFLAGS
=$CPPFLAGS
17943 CPPFLAGS
="$CPPFLAGS $GSSAPI_CFLAGS"
17944 ac_fn_c_check_header_compile
"$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
17945 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
17947 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
17950 ac_fn_c_check_header_compile
"$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
17951 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
17953 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
17957 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
17959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
17960 printf %s
"checking for -lgssapi_krb5... " >&6; }
17961 if test ${ac_cv_lib_soname_gssapi_krb5+y}
17963 printf %s
"(cached) " >&6
17965 ac_check_soname_save_LIBS
=$LIBS
17966 LIBS
="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
17967 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17968 /* end confdefs.h. */
17970 /* Override any GCC internal prototype to avoid an error.
17971 Use char because int might match the return type of a GCC
17972 builtin and then its argument prototype would still apply. */
17973 char gss_init_sec_context ();
17977 return gss_init_sec_context ();
17982 if ac_fn_c_try_link
"$LINENO"
17985 dll
) ac_cv_lib_soname_gssapi_krb5
=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17986 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'` ;;
17987 *) 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'`
17988 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
17990 ac_cv_lib_soname_gssapi_krb5
=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17994 ac_cv_lib_soname_gssapi_krb5
=
17996 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17997 conftest
$ac_exeext conftest.
$ac_ext
17998 LIBS
=$ac_check_soname_save_LIBS
18000 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18003 printf "%s\n" "not found" >&6; }
18006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18007 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18009 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18016 CPPFLAGS
=$ac_save_CPPFLAGS
18019 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18021 case "x$with_gssapi" in
18022 x
) as_fn_append wine_notices
"|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18024 *) as_fn_error $?
"libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18025 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18030 if test "$ac_cv_header_libprocstat_h" = "yes"
18032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18033 printf %s
"checking for procstat_open_sysctl in -lprocstat... " >&6; }
18034 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18036 printf %s
"(cached) " >&6
18038 ac_check_lib_save_LIBS
=$LIBS
18039 LIBS
="-lprocstat $LIBS"
18040 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18041 /* end confdefs.h. */
18043 /* Override any GCC internal prototype to avoid an error.
18044 Use char because int might match the return type of a GCC
18045 builtin and then its argument prototype would still apply. */
18046 char procstat_open_sysctl ();
18050 return procstat_open_sysctl ();
18055 if ac_fn_c_try_link
"$LINENO"
18057 ac_cv_lib_procstat_procstat_open_sysctl
=yes
18059 ac_cv_lib_procstat_procstat_open_sysctl
=no
18061 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18062 conftest
$ac_exeext conftest.
$ac_ext
18063 LIBS
=$ac_check_lib_save_LIBS
18065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18066 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18067 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18070 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18072 PROCSTAT_LIBS
="-lprocstat"
18078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18079 printf %s
"checking for -lodbc... " >&6; }
18080 if test ${ac_cv_lib_soname_odbc+y}
18082 printf %s
"(cached) " >&6
18084 ac_check_soname_save_LIBS
=$LIBS
18085 LIBS
="-lodbc $LIBS"
18086 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18087 /* end confdefs.h. */
18089 /* Override any GCC internal prototype to avoid an error.
18090 Use char because int might match the return type of a GCC
18091 builtin and then its argument prototype would still apply. */
18092 char SQLConnect ();
18096 return SQLConnect ();
18101 if ac_fn_c_try_link
"$LINENO"
18104 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18105 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'` ;;
18106 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18107 if ${ac_cv_lib_soname_odbc:+false} :
18109 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18113 ac_cv_lib_soname_odbc
=
18115 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18116 conftest
$ac_exeext conftest.
$ac_ext
18117 LIBS
=$ac_check_soname_save_LIBS
18119 if ${ac_cv_lib_soname_odbc:+false} :
18121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18122 printf "%s\n" "not found" >&6; }
18123 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18127 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18129 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18134 if test "x$with_netapi" != "xno"
18137 if ${NETAPI_CFLAGS:+false} :
18139 if test ${PKG_CONFIG+y}
18141 NETAPI_CFLAGS
=`$PKG_CONFIG --cflags netapi 2>conftest.err`
18145 if ${NETAPI_LIBS:+false} :
18147 if test ${PKG_CONFIG+y}
18149 NETAPI_LIBS
=`$PKG_CONFIG --libs netapi 2>/dev/null`
18154 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18155 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18156 if test -s conftest.err
; then
18157 printf %s
"$as_me:${as_lineno-$LINENO}: netapi errors: " >&5
18158 cat conftest.err
>&5
18161 ac_save_CPPFLAGS
=$CPPFLAGS
18162 CPPFLAGS
="$CPPFLAGS $NETAPI_CFLAGS"
18163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18164 printf %s
"checking for -lnetapi... " >&6; }
18165 if test ${ac_cv_lib_soname_netapi+y}
18167 printf %s
"(cached) " >&6
18169 ac_check_soname_save_LIBS
=$LIBS
18170 LIBS
="-lnetapi $NETAPI_LIBS $LIBS"
18171 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18172 /* end confdefs.h. */
18174 /* Override any GCC internal prototype to avoid an error.
18175 Use char because int might match the return type of a GCC
18176 builtin and then its argument prototype would still apply. */
18177 char libnetapi_init ();
18181 return libnetapi_init ();
18186 if ac_fn_c_try_link
"$LINENO"
18189 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18190 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'` ;;
18191 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18192 if ${ac_cv_lib_soname_netapi:+false} :
18194 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18198 ac_cv_lib_soname_netapi
=
18200 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18201 conftest
$ac_exeext conftest.
$ac_ext
18202 LIBS
=$ac_check_soname_save_LIBS
18204 if ${ac_cv_lib_soname_netapi:+false} :
18206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18207 printf "%s\n" "not found" >&6; }
18208 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18212 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18214 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18218 CPPFLAGS
=$ac_save_CPPFLAGS
18221 if test "x$ac_cv_lib_soname_netapi" = "x"
18223 case "x$with_netapi" in
18224 x
) as_fn_append wine_notices
"|libnetapi not found, Samba NetAPI won't be supported." ;;
18226 *) as_fn_error $?
"libnetapi not found, Samba NetAPI won't be supported.
18227 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18229 enable_netapi
=${enable_netapi:-no}
18233 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono
-a \
18234 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18236 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
18239 if test "x$with_vulkan" != "xno"
18241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18242 printf %s
"checking for -lvulkan... " >&6; }
18243 if test ${ac_cv_lib_soname_vulkan+y}
18245 printf %s
"(cached) " >&6
18247 ac_check_soname_save_LIBS
=$LIBS
18248 LIBS
="-lvulkan $LIBS"
18249 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18250 /* end confdefs.h. */
18252 /* Override any GCC internal prototype to avoid an error.
18253 Use char because int might match the return type of a GCC
18254 builtin and then its argument prototype would still apply. */
18255 char vkGetInstanceProcAddr ();
18259 return vkGetInstanceProcAddr ();
18264 if ac_fn_c_try_link
"$LINENO"
18267 dll
) ac_cv_lib_soname_vulkan
=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18268 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'` ;;
18269 *) ac_cv_lib_soname_vulkan
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18270 if ${ac_cv_lib_soname_vulkan:+false} :
18272 ac_cv_lib_soname_vulkan
=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18276 ac_cv_lib_soname_vulkan
=
18278 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18279 conftest
$ac_exeext conftest.
$ac_ext
18280 LIBS
=$ac_check_soname_save_LIBS
18282 if ${ac_cv_lib_soname_vulkan:+false} :
18284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18285 printf "%s\n" "not found" >&6; }
18288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18289 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18291 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18295 if test "x$ac_cv_lib_soname_vulkan" = "x"
18297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18298 printf %s
"checking for -lMoltenVK... " >&6; }
18299 if test ${ac_cv_lib_soname_MoltenVK+y}
18301 printf %s
"(cached) " >&6
18303 ac_check_soname_save_LIBS
=$LIBS
18304 LIBS
="-lMoltenVK $LIBS"
18305 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18306 /* end confdefs.h. */
18308 /* Override any GCC internal prototype to avoid an error.
18309 Use char because int might match the return type of a GCC
18310 builtin and then its argument prototype would still apply. */
18311 char vkGetInstanceProcAddr ();
18315 return vkGetInstanceProcAddr ();
18320 if ac_fn_c_try_link
"$LINENO"
18323 dll
) ac_cv_lib_soname_MoltenVK
=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18324 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'` ;;
18325 *) ac_cv_lib_soname_MoltenVK
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18326 if ${ac_cv_lib_soname_MoltenVK:+false} :
18328 ac_cv_lib_soname_MoltenVK
=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18332 ac_cv_lib_soname_MoltenVK
=
18334 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18335 conftest
$ac_exeext conftest.
$ac_ext
18336 LIBS
=$ac_check_soname_save_LIBS
18338 if ${ac_cv_lib_soname_MoltenVK:+false} :
18340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18341 printf "%s\n" "not found" >&6; }
18344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18345 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18347 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18353 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18355 case "x$with_vulkan" in
18356 x
) as_fn_append wine_notices
"|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18358 *) as_fn_error $?
"libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18359 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18365 if test "x${GCC}" = "xyes"
18367 EXTRACFLAGS
="$EXTRACFLAGS -Wall -pipe"
18369 saved_CFLAGS
=$CFLAGS
18370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18371 printf %s
"checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18372 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18374 printf %s
"(cached) " >&6
18376 ac_wine_try_cflags_saved
=$CFLAGS
18377 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
18378 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18379 /* end confdefs.h. */
18380 int main(int argc, char **argv) { return 0; }
18382 if ac_fn_c_try_link
"$LINENO"
18384 ac_cv_cflags__Werror_unknown_warning_option
=yes
18386 ac_cv_cflags__Werror_unknown_warning_option
=no
18388 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18389 conftest
$ac_exeext conftest.
$ac_ext
18390 CFLAGS
=$ac_wine_try_cflags_saved
18392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18393 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18394 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18396 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
18398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18399 printf %s
"checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18400 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18402 printf %s
"(cached) " >&6
18404 ac_wine_try_cflags_saved
=$CFLAGS
18405 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
18406 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18407 /* end confdefs.h. */
18408 int main(int argc, char **argv) { return 0; }
18410 if ac_fn_c_try_link
"$LINENO"
18412 ac_cv_cflags__Werror_unused_command_line_argument
=yes
18414 ac_cv_cflags__Werror_unused_command_line_argument
=no
18416 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18417 conftest
$ac_exeext conftest.
$ac_ext
18418 CFLAGS
=$ac_wine_try_cflags_saved
18420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18421 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18422 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18424 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
18426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18427 printf %s
"checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18428 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18430 printf %s
"(cached) " >&6
18432 ac_wine_try_cflags_saved
=$CFLAGS
18433 CFLAGS
="$CFLAGS -Werror=ignored-optimization-argument"
18434 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18435 /* end confdefs.h. */
18436 int main(int argc, char **argv) { return 0; }
18438 if ac_fn_c_try_link
"$LINENO"
18440 ac_cv_cflags__Werror_ignored_optimization_argument
=yes
18442 ac_cv_cflags__Werror_ignored_optimization_argument
=no
18444 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18445 conftest
$ac_exeext conftest.
$ac_ext
18446 CFLAGS
=$ac_wine_try_cflags_saved
18448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18449 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18450 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18452 CFLAGS
="$CFLAGS -Werror=ignored-optimization-argument"
18454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18455 printf %s
"checking whether the compiler supports -fcf-protection=none... " >&6; }
18456 if test ${ac_cv_cflags__fcf_protection_none+y}
18458 printf %s
"(cached) " >&6
18460 ac_wine_try_cflags_saved
=$CFLAGS
18461 CFLAGS
="$CFLAGS -fcf-protection=none"
18462 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18463 /* end confdefs.h. */
18464 int main(int argc, char **argv) { return 0; }
18466 if ac_fn_c_try_link
"$LINENO"
18468 ac_cv_cflags__fcf_protection_none
=yes
18470 ac_cv_cflags__fcf_protection_none
=no
18472 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18473 conftest
$ac_exeext conftest.
$ac_ext
18474 CFLAGS
=$ac_wine_try_cflags_saved
18476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18477 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18478 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18480 EXTRACFLAGS
="$EXTRACFLAGS -fcf-protection=none"
18482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18483 printf %s
"checking whether the compiler supports -fno-stack-protector... " >&6; }
18484 if test ${ac_cv_cflags__fno_stack_protector+y}
18486 printf %s
"(cached) " >&6
18488 ac_wine_try_cflags_saved
=$CFLAGS
18489 CFLAGS
="$CFLAGS -fno-stack-protector"
18490 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18491 /* end confdefs.h. */
18492 int main(int argc, char **argv) { return 0; }
18494 if ac_fn_c_try_link
"$LINENO"
18496 ac_cv_cflags__fno_stack_protector
=yes
18498 ac_cv_cflags__fno_stack_protector
=no
18500 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18501 conftest
$ac_exeext conftest.
$ac_ext
18502 CFLAGS
=$ac_wine_try_cflags_saved
18504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18505 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18506 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18508 EXTRACFLAGS
="$EXTRACFLAGS -fno-stack-protector"
18510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18511 printf %s
"checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18512 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18514 printf %s
"(cached) " >&6
18516 ac_wine_try_cflags_saved
=$CFLAGS
18517 CFLAGS
="$CFLAGS -fno-strict-aliasing"
18518 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18519 /* end confdefs.h. */
18520 int main(int argc, char **argv) { return 0; }
18522 if ac_fn_c_try_link
"$LINENO"
18524 ac_cv_cflags__fno_strict_aliasing
=yes
18526 ac_cv_cflags__fno_strict_aliasing
=no
18528 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18529 conftest
$ac_exeext conftest.
$ac_ext
18530 CFLAGS
=$ac_wine_try_cflags_saved
18532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18533 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18534 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18536 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
18538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18539 printf %s
"checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18540 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18542 printf %s
"(cached) " >&6
18544 ac_wine_try_cflags_saved
=$CFLAGS
18545 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
18546 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18547 /* end confdefs.h. */
18548 int main(int argc, char **argv) { return 0; }
18550 if ac_fn_c_try_link
"$LINENO"
18552 ac_cv_cflags__Wdeclaration_after_statement
=yes
18554 ac_cv_cflags__Wdeclaration_after_statement
=no
18556 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18557 conftest
$ac_exeext conftest.
$ac_ext
18558 CFLAGS
=$ac_wine_try_cflags_saved
18560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18561 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18562 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18564 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
18566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18567 printf %s
"checking whether the compiler supports -Wempty-body... " >&6; }
18568 if test ${ac_cv_cflags__Wempty_body+y}
18570 printf %s
"(cached) " >&6
18572 ac_wine_try_cflags_saved
=$CFLAGS
18573 CFLAGS
="$CFLAGS -Wempty-body"
18574 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18575 /* end confdefs.h. */
18576 int main(int argc, char **argv) { return 0; }
18578 if ac_fn_c_try_link
"$LINENO"
18580 ac_cv_cflags__Wempty_body
=yes
18582 ac_cv_cflags__Wempty_body
=no
18584 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18585 conftest
$ac_exeext conftest.
$ac_ext
18586 CFLAGS
=$ac_wine_try_cflags_saved
18588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18589 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18590 if test "x$ac_cv_cflags__Wempty_body" = xyes
18592 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
18594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18595 printf %s
"checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18596 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18598 printf %s
"(cached) " >&6
18600 ac_wine_try_cflags_saved
=$CFLAGS
18601 CFLAGS
="$CFLAGS -Wignored-qualifiers"
18602 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18603 /* end confdefs.h. */
18604 int main(int argc, char **argv) { return 0; }
18606 if ac_fn_c_try_link
"$LINENO"
18608 ac_cv_cflags__Wignored_qualifiers
=yes
18610 ac_cv_cflags__Wignored_qualifiers
=no
18612 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18613 conftest
$ac_exeext conftest.
$ac_ext
18614 CFLAGS
=$ac_wine_try_cflags_saved
18616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18617 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18618 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18620 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
18622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18623 printf %s
"checking whether the compiler supports -Winit-self... " >&6; }
18624 if test ${ac_cv_cflags__Winit_self+y}
18626 printf %s
"(cached) " >&6
18628 ac_wine_try_cflags_saved
=$CFLAGS
18629 CFLAGS
="$CFLAGS -Winit-self"
18630 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18631 /* end confdefs.h. */
18632 int main(int argc, char **argv) { return 0; }
18634 if ac_fn_c_try_link
"$LINENO"
18636 ac_cv_cflags__Winit_self
=yes
18638 ac_cv_cflags__Winit_self
=no
18640 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18641 conftest
$ac_exeext conftest.
$ac_ext
18642 CFLAGS
=$ac_wine_try_cflags_saved
18644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18645 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18646 if test "x$ac_cv_cflags__Winit_self" = xyes
18648 EXTRACFLAGS
="$EXTRACFLAGS -Winit-self"
18650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18651 printf %s
"checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18652 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18654 printf %s
"(cached) " >&6
18656 ac_wine_try_cflags_saved
=$CFLAGS
18657 CFLAGS
="$CFLAGS -Wpacked-not-aligned"
18658 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18659 /* end confdefs.h. */
18660 int main(int argc, char **argv) { return 0; }
18662 if ac_fn_c_try_link
"$LINENO"
18664 ac_cv_cflags__Wpacked_not_aligned
=yes
18666 ac_cv_cflags__Wpacked_not_aligned
=no
18668 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18669 conftest
$ac_exeext conftest.
$ac_ext
18670 CFLAGS
=$ac_wine_try_cflags_saved
18672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18673 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18674 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18676 EXTRACFLAGS
="$EXTRACFLAGS -Wno-packed-not-aligned"
18678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18679 printf %s
"checking whether the compiler supports -Wpragma-pack... " >&6; }
18680 if test ${ac_cv_cflags__Wpragma_pack+y}
18682 printf %s
"(cached) " >&6
18684 ac_wine_try_cflags_saved
=$CFLAGS
18685 CFLAGS
="$CFLAGS -Wpragma-pack"
18686 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18687 /* end confdefs.h. */
18688 int main(int argc, char **argv) { return 0; }
18690 if ac_fn_c_try_link
"$LINENO"
18692 ac_cv_cflags__Wpragma_pack
=yes
18694 ac_cv_cflags__Wpragma_pack
=no
18696 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18697 conftest
$ac_exeext conftest.
$ac_ext
18698 CFLAGS
=$ac_wine_try_cflags_saved
18700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18701 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18702 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18704 EXTRACFLAGS
="$EXTRACFLAGS -Wno-pragma-pack"
18706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18707 printf %s
"checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18708 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18710 printf %s
"(cached) " >&6
18712 ac_wine_try_cflags_saved
=$CFLAGS
18713 CFLAGS
="$CFLAGS -Wshift-overflow=2"
18714 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18715 /* end confdefs.h. */
18716 int main(int argc, char **argv) { return 0; }
18718 if ac_fn_c_try_link
"$LINENO"
18720 ac_cv_cflags__Wshift_overflow_2
=yes
18722 ac_cv_cflags__Wshift_overflow_2
=no
18724 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18725 conftest
$ac_exeext conftest.
$ac_ext
18726 CFLAGS
=$ac_wine_try_cflags_saved
18728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18729 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18730 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18732 EXTRACFLAGS
="$EXTRACFLAGS -Wshift-overflow=2"
18734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18735 printf %s
"checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18736 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18738 printf %s
"(cached) " >&6
18740 ac_wine_try_cflags_saved
=$CFLAGS
18741 CFLAGS
="$CFLAGS -Wstrict-prototypes"
18742 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18743 /* end confdefs.h. */
18744 int main(int argc, char **argv) { return 0; }
18746 if ac_fn_c_try_link
"$LINENO"
18748 ac_cv_cflags__Wstrict_prototypes
=yes
18750 ac_cv_cflags__Wstrict_prototypes
=no
18752 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18753 conftest
$ac_exeext conftest.
$ac_ext
18754 CFLAGS
=$ac_wine_try_cflags_saved
18756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18757 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18758 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18760 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
18762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18763 printf %s
"checking whether the compiler supports -Wtype-limits... " >&6; }
18764 if test ${ac_cv_cflags__Wtype_limits+y}
18766 printf %s
"(cached) " >&6
18768 ac_wine_try_cflags_saved
=$CFLAGS
18769 CFLAGS
="$CFLAGS -Wtype-limits"
18770 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18771 /* end confdefs.h. */
18772 int main(int argc, char **argv) { return 0; }
18774 if ac_fn_c_try_link
"$LINENO"
18776 ac_cv_cflags__Wtype_limits
=yes
18778 ac_cv_cflags__Wtype_limits
=no
18780 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18781 conftest
$ac_exeext conftest.
$ac_ext
18782 CFLAGS
=$ac_wine_try_cflags_saved
18784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18785 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18786 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18788 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
18790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18791 printf %s
"checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18792 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18794 printf %s
"(cached) " >&6
18796 ac_wine_try_cflags_saved
=$CFLAGS
18797 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
18798 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18799 /* end confdefs.h. */
18800 int main(int argc, char **argv) { return 0; }
18802 if ac_fn_c_try_link
"$LINENO"
18804 ac_cv_cflags__Wunused_but_set_parameter
=yes
18806 ac_cv_cflags__Wunused_but_set_parameter
=no
18808 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18809 conftest
$ac_exeext conftest.
$ac_ext
18810 CFLAGS
=$ac_wine_try_cflags_saved
18812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
18813 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
18814 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
18816 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
18818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
18819 printf %s
"checking whether the compiler supports -Wvla... " >&6; }
18820 if test ${ac_cv_cflags__Wvla+y}
18822 printf %s
"(cached) " >&6
18824 ac_wine_try_cflags_saved
=$CFLAGS
18825 CFLAGS
="$CFLAGS -Wvla"
18826 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18827 /* end confdefs.h. */
18828 int main(int argc, char **argv) { return 0; }
18830 if ac_fn_c_try_link
"$LINENO"
18832 ac_cv_cflags__Wvla
=yes
18834 ac_cv_cflags__Wvla
=no
18836 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18837 conftest
$ac_exeext conftest.
$ac_ext
18838 CFLAGS
=$ac_wine_try_cflags_saved
18840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
18841 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
18842 if test "x$ac_cv_cflags__Wvla" = xyes
18844 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
18846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
18847 printf %s
"checking whether the compiler supports -Wwrite-strings... " >&6; }
18848 if test ${ac_cv_cflags__Wwrite_strings+y}
18850 printf %s
"(cached) " >&6
18852 ac_wine_try_cflags_saved
=$CFLAGS
18853 CFLAGS
="$CFLAGS -Wwrite-strings"
18854 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18855 /* end confdefs.h. */
18856 int main(int argc, char **argv) { return 0; }
18858 if ac_fn_c_try_link
"$LINENO"
18860 ac_cv_cflags__Wwrite_strings
=yes
18862 ac_cv_cflags__Wwrite_strings
=no
18864 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18865 conftest
$ac_exeext conftest.
$ac_ext
18866 CFLAGS
=$ac_wine_try_cflags_saved
18868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
18869 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
18870 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
18872 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
18875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
18876 printf %s
"checking whether the compiler supports -Wpointer-arith... " >&6; }
18877 if test ${ac_cv_cflags__Wpointer_arith+y}
18879 printf %s
"(cached) " >&6
18881 ac_wine_try_cflags_saved
=$CFLAGS
18882 CFLAGS
="$CFLAGS -Wpointer-arith"
18883 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18884 /* end confdefs.h. */
18885 int main(int argc, char **argv) { return 0; }
18887 if ac_fn_c_try_link
"$LINENO"
18889 ac_cv_cflags__Wpointer_arith
=yes
18891 ac_cv_cflags__Wpointer_arith
=no
18893 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18894 conftest
$ac_exeext conftest.
$ac_ext
18895 CFLAGS
=$ac_wine_try_cflags_saved
18897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
18898 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
18899 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
18901 saved_string_h_CFLAGS
=$CFLAGS
18902 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
18903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
18904 printf %s
"checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
18905 if test ${ac_cv_c_string_h_warnings+y}
18907 printf %s
"(cached) " >&6
18909 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18910 /* end confdefs.h. */
18911 #include <string.h>
18920 if ac_fn_c_try_compile
"$LINENO"
18922 ac_cv_c_string_h_warnings
=no
18924 ac_cv_c_string_h_warnings
=yes
18926 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
18928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
18929 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
18930 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
18931 CFLAGS
=$saved_string_h_CFLAGS
18934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
18935 printf %s
"checking whether the compiler supports -Wlogical-op... " >&6; }
18936 if test ${ac_cv_cflags__Wlogical_op+y}
18938 printf %s
"(cached) " >&6
18940 ac_wine_try_cflags_saved
=$CFLAGS
18941 CFLAGS
="$CFLAGS -Wlogical-op"
18942 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18943 /* end confdefs.h. */
18944 int main(int argc, char **argv) { return 0; }
18946 if ac_fn_c_try_link
"$LINENO"
18948 ac_cv_cflags__Wlogical_op
=yes
18950 ac_cv_cflags__Wlogical_op
=no
18952 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18953 conftest
$ac_exeext conftest.
$ac_ext
18954 CFLAGS
=$ac_wine_try_cflags_saved
18956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
18957 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
18958 if test "x$ac_cv_cflags__Wlogical_op" = xyes
18960 saved_string_h_CFLAGS
=$CFLAGS
18961 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
18962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
18963 printf %s
"checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
18964 if test ${ac_cv_c_logicalop_noisy+y}
18966 printf %s
"(cached) " >&6
18968 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18969 /* end confdefs.h. */
18970 #include <string.h>
18971 char*f(const char *h,char n) {return strchr(h,n);}
18980 if ac_fn_c_try_compile
"$LINENO"
18982 ac_cv_c_logicalop_noisy
=no
18984 ac_cv_c_logicalop_noisy
=yes
18986 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
18988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
18989 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
18990 CFLAGS
=$saved_string_h_CFLAGS
18991 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
18994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
18995 printf %s
"checking for flags needed for 64-bit compare-and-swap support... " >&6; }
18996 if test ${wine_cv_64bit_compare_swap+y}
18998 printf %s
"(cached) " >&6
19000 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19001 /* end confdefs.h. */
19002 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19013 if ac_fn_c_try_compile
"$LINENO"
19015 wine_cv_64bit_compare_swap
="none needed"
19018 *i
[3456]86*) wine_cv_64bit_compare_swap
="-march=i586" ;;
19019 *arm
*) wine_cv_64bit_compare_swap
="-march=armv7-a" ;;
19020 *) wine_cv_64bit_compare_swap
="unknown" ;;
19022 if test "x$wine_cv_64bit_compare_swap" != xunknown
19024 CFLAGS
="$CFLAGS $wine_cv_64bit_compare_swap"
19025 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19026 /* end confdefs.h. */
19027 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19038 if ac_fn_c_try_compile
"$LINENO"
19042 wine_cv_64bit_compare_swap
="unknown"
19044 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19045 CFLAGS
=$saved_CFLAGS
19048 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19051 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19052 case "$wine_cv_64bit_compare_swap" in
19053 unknown
) as_fn_error $?
"gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19055 *) EXTRACFLAGS
="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19058 ac_debug_format_seen
=""
19059 for ac_flag
in $CFLAGS; do
19061 -gdwarf*) ac_debug_format_seen
=yes ;;
19062 -g) ac_debug_format_seen
=${ac_debug_format_seen:-default} ;;
19065 if test "x$ac_debug_format_seen" = xdefault
19067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19068 printf %s
"checking whether the compiler supports -gdwarf-4... " >&6; }
19069 if test ${ac_cv_cflags__gdwarf_4+y}
19071 printf %s
"(cached) " >&6
19073 ac_wine_try_cflags_saved
=$CFLAGS
19074 CFLAGS
="$CFLAGS -gdwarf-4"
19075 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19076 /* end confdefs.h. */
19077 int main(int argc, char **argv) { return 0; }
19079 if ac_fn_c_try_link
"$LINENO"
19081 ac_cv_cflags__gdwarf_4
=yes
19083 ac_cv_cflags__gdwarf_4
=no
19085 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19086 conftest
$ac_exeext conftest.
$ac_ext
19087 CFLAGS
=$ac_wine_try_cflags_saved
19089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19090 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19091 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19093 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-4"
19100 mingw32
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19101 printf %s
"checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19102 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19104 printf %s
"(cached) " >&6
19106 ac_wine_try_cflags_saved
=$CFLAGS
19107 CFLAGS
="$CFLAGS -Wl,-delayload,autoconftest.dll"
19108 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19109 /* end confdefs.h. */
19110 int main(int argc, char **argv) { return 0; }
19112 if ac_fn_c_try_link
"$LINENO"
19114 ac_cv_cflags__Wl__delayload_autoconftest_dll
=yes
19116 ac_cv_cflags__Wl__delayload_autoconftest_dll
=no
19118 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19119 conftest
$ac_exeext conftest.
$ac_ext
19120 CFLAGS
=$ac_wine_try_cflags_saved
19122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19123 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19124 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19126 DELAYLOADFLAG
="-Wl,-delayload,"
19129 *) MSVCRTFLAGS
="-D_WIN32"
19130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19131 printf %s
"checking whether the compiler supports -fno-builtin... " >&6; }
19132 if test ${ac_cv_cflags__fno_builtin+y}
19134 printf %s
"(cached) " >&6
19136 ac_wine_try_cflags_saved
=$CFLAGS
19137 CFLAGS
="$CFLAGS -fno-builtin"
19138 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19139 /* end confdefs.h. */
19140 int main(int argc, char **argv) { return 0; }
19142 if ac_fn_c_try_link
"$LINENO"
19144 ac_cv_cflags__fno_builtin
=yes
19146 ac_cv_cflags__fno_builtin
=no
19148 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19149 conftest
$ac_exeext conftest.
$ac_ext
19150 CFLAGS
=$ac_wine_try_cflags_saved
19152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19153 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19154 if test "x$ac_cv_cflags__fno_builtin" = xyes
19156 MSVCRTFLAGS
="$MSVCRTFLAGS -fno-builtin"
19158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19159 printf %s
"checking whether the compiler supports -fshort-wchar... " >&6; }
19160 if test ${ac_cv_cflags__fshort_wchar+y}
19162 printf %s
"(cached) " >&6
19164 ac_wine_try_cflags_saved
=$CFLAGS
19165 CFLAGS
="$CFLAGS -fshort-wchar"
19166 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19167 /* end confdefs.h. */
19168 int main(int argc, char **argv) { return 0; }
19170 if ac_fn_c_try_link
"$LINENO"
19172 ac_cv_cflags__fshort_wchar
=yes
19174 ac_cv_cflags__fshort_wchar
=no
19176 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19177 conftest
$ac_exeext conftest.
$ac_ext
19178 CFLAGS
=$ac_wine_try_cflags_saved
19180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19181 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19182 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19184 MSVCRTFLAGS
="$MSVCRTFLAGS -fshort-wchar"
19186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fvisibility=hidden" >&5
19187 printf %s
"checking whether the compiler supports -fvisibility=hidden... " >&6; }
19188 if test ${ac_cv_cflags__fvisibility_hidden+y}
19190 printf %s
"(cached) " >&6
19192 ac_wine_try_cflags_saved
=$CFLAGS
19193 CFLAGS
="$CFLAGS -fvisibility=hidden"
19194 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19195 /* end confdefs.h. */
19196 int main(int argc, char **argv) { return 0; }
19198 if ac_fn_c_try_link
"$LINENO"
19200 ac_cv_cflags__fvisibility_hidden
=yes
19202 ac_cv_cflags__fvisibility_hidden
=no
19204 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19205 conftest
$ac_exeext conftest.
$ac_ext
19206 CFLAGS
=$ac_wine_try_cflags_saved
19208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fvisibility_hidden" >&5
19209 printf "%s\n" "$ac_cv_cflags__fvisibility_hidden" >&6; }
19210 if test "x$ac_cv_cflags__fvisibility_hidden" = xyes
19212 MSVCRTFLAGS
="$MSVCRTFLAGS -fvisibility=hidden"
19214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19215 printf %s
"checking whether the compiler supports -Wno-format... " >&6; }
19216 if test ${ac_cv_cflags__Wno_format+y}
19218 printf %s
"(cached) " >&6
19220 ac_wine_try_cflags_saved
=$CFLAGS
19221 CFLAGS
="$CFLAGS -Wno-format"
19222 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19223 /* end confdefs.h. */
19224 int main(int argc, char **argv) { return 0; }
19226 if ac_fn_c_try_link
"$LINENO"
19228 ac_cv_cflags__Wno_format
=yes
19230 ac_cv_cflags__Wno_format
=no
19232 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19233 conftest
$ac_exeext conftest.
$ac_ext
19234 CFLAGS
=$ac_wine_try_cflags_saved
19236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19237 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19238 if test "x$ac_cv_cflags__Wno_format" = xyes
19240 MSVCRTFLAGS
="$MSVCRTFLAGS -Wno-format"
19245 *i
[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19246 printf %s
"checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19247 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19249 printf %s
"(cached) " >&6
19251 ac_wine_try_cflags_saved
=$CFLAGS
19252 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
19253 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19254 /* end confdefs.h. */
19255 int main(int argc, char **argv) { return 0; }
19257 if ac_fn_c_try_link
"$LINENO"
19259 ac_cv_cflags__fno_omit_frame_pointer
=yes
19261 ac_cv_cflags__fno_omit_frame_pointer
=no
19263 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19264 conftest
$ac_exeext conftest.
$ac_ext
19265 CFLAGS
=$ac_wine_try_cflags_saved
19267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19268 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19269 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19271 MSVCRTFLAGS
="$MSVCRTFLAGS -fno-omit-frame-pointer"
19275 cygwin
*|mingw32
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19276 printf %s
"checking whether the compiler supports -Wno-format... " >&6; }
19277 if test ${ac_cv_cflags__Wno_format+y}
19279 printf %s
"(cached) " >&6
19281 ac_wine_try_cflags_saved
=$CFLAGS
19282 CFLAGS
="$CFLAGS -Wno-format"
19283 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19284 /* end confdefs.h. */
19285 int main(int argc, char **argv) { return 0; }
19287 if ac_fn_c_try_link
"$LINENO"
19289 ac_cv_cflags__Wno_format
=yes
19291 ac_cv_cflags__Wno_format
=no
19293 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19294 conftest
$ac_exeext conftest.
$ac_ext
19295 CFLAGS
=$ac_wine_try_cflags_saved
19297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19298 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19299 if test "x$ac_cv_cflags__Wno_format" = xyes
19301 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
19303 *) if test -z "$PE_ARCHS"
19305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19306 printf %s
"checking for working -mabi=ms... " >&6; }
19307 if test ${ac_cv_mabi_ms+y}
19309 printf %s
"(cached) " >&6
19311 CFLAGS
="$CFLAGS -mabi=ms"
19312 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19313 /* end confdefs.h. */
19314 #include <stdarg.h>
19315 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19324 if ac_fn_c_try_compile
"$LINENO"
19330 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19331 CFLAGS
=$saved_CFLAGS
19333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19334 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19335 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
19337 MSVCRTFLAGS
="$MSVCRTFLAGS -mabi=ms" ;;
19340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19341 printf %s
"checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19342 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19344 printf %s
"(cached) " >&6
19346 ac_wine_try_cflags_saved
=$CFLAGS
19347 CFLAGS
="$CFLAGS -Wincompatible-function-pointer-types"
19348 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19349 /* end confdefs.h. */
19350 int main(int argc, char **argv) { return 0; }
19352 if ac_fn_c_try_link
"$LINENO"
19354 ac_cv_cflags__Wincompatible_function_pointer_types
=yes
19356 ac_cv_cflags__Wincompatible_function_pointer_types
=no
19358 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19359 conftest
$ac_exeext conftest.
$ac_ext
19360 CFLAGS
=$ac_wine_try_cflags_saved
19362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
19363 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19364 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19366 EXTRACFLAGS
="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19370 CFLAGS
=$saved_CFLAGS
19372 if test "x$enable_werror" = "xyes"
19374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19375 printf %s
"checking whether the compiler supports -Werror... " >&6; }
19376 if test ${ac_cv_cflags__Werror+y}
19378 printf %s
"(cached) " >&6
19380 ac_wine_try_cflags_saved
=$CFLAGS
19381 CFLAGS
="$CFLAGS -Werror"
19382 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19383 /* end confdefs.h. */
19384 int main(int argc, char **argv) { return 0; }
19386 if ac_fn_c_try_link
"$LINENO"
19388 ac_cv_cflags__Werror
=yes
19390 ac_cv_cflags__Werror
=no
19392 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19393 conftest
$ac_exeext conftest.
$ac_ext
19394 CFLAGS
=$ac_wine_try_cflags_saved
19396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19397 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19398 if test "x$ac_cv_cflags__Werror" = xyes
19400 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
19403 if test "x$enable_build_id" = "xyes"
19405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19406 printf %s
"checking whether the compiler supports -Wl,--build-id... " >&6; }
19407 if test ${ac_cv_cflags__Wl___build_id+y}
19409 printf %s
"(cached) " >&6
19411 ac_wine_try_cflags_saved
=$CFLAGS
19412 CFLAGS
="$CFLAGS -Wl,--build-id"
19413 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19414 /* end confdefs.h. */
19415 int main(int argc, char **argv) { return 0; }
19417 if ac_fn_c_try_link
"$LINENO"
19419 ac_cv_cflags__Wl___build_id
=yes
19421 ac_cv_cflags__Wl___build_id
=no
19423 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19424 conftest
$ac_exeext conftest.
$ac_ext
19425 CFLAGS
=$ac_wine_try_cflags_saved
19427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19428 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19429 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19431 CFLAGS
="$CFLAGS -Wl,--build-id"
19432 LDFLAGS
="$LDFLAGS -Wl,--build-id"
19438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19439 printf %s
"checking for the need to disable Fortify... " >&6; }
19440 if test ${ac_cv_c_fortify_enabled+y}
19442 printf %s
"(cached) " >&6
19444 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19445 /* end confdefs.h. */
19446 #include <string.h>
19450 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19451 #error Fortify enabled
19457 if ac_fn_c_try_compile
"$LINENO"
19459 ac_cv_c_fortify_enabled
=no
19461 ac_cv_c_fortify_enabled
=yes
19463 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19466 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19467 if test "$ac_cv_c_fortify_enabled" = yes
19469 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19474 printf %s
"checking whether CFI directives are supported in assembly code... " >&6; }
19475 if test ${ac_cv_c_cfi_support+y}
19477 printf %s
"(cached) " >&6
19479 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19480 /* end confdefs.h. */
19481 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19490 if ac_fn_c_try_compile
"$LINENO"
19492 ac_cv_c_cfi_support
="yes"
19494 ac_cv_c_cfi_support
="no"
19496 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19499 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19500 if test "$ac_cv_c_cfi_support" = "yes"
19502 DLLFLAGS
="$DLLFLAGS -fasynchronous-unwind-tables"
19503 LDDLLFLAGS
="$LDDLLFLAGS -fasynchronous-unwind-tables"
19504 UNIXDLLFLAGS
="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19505 elif test $HOST_ARCH = x86_64
19507 as_fn_append wine_warnings
"|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19511 case "$HOST_ARCH,$PE_ARCHS" in
19512 x86_64
,*i386
*) wine_binary
="wine" ;;
19513 x86_64
,*) wine_binary
="wine64" ;;
19514 *) wine_binary
="wine" ;;
19516 WINELOADER_PROGRAMS
="$wine_binary"
19522 *i
[3456789]86*|x86_64
*|
*aarch64
*|arm
*)
19523 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine-preloader"
19524 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
19529 if test "$wine_can_build_preloader" = "yes"
19531 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine-preloader"
19532 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
19538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19539 printf %s
"checking for library containing dlopen... " >&6; }
19540 if test ${ac_cv_search_dlopen+y}
19542 printf %s
"(cached) " >&6
19544 ac_func_search_save_LIBS
=$LIBS
19545 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19546 /* end confdefs.h. */
19548 /* Override any GCC internal prototype to avoid an error.
19549 Use char because int might match the return type of a GCC
19550 builtin and then its argument prototype would still apply. */
19560 for ac_lib
in '' dl
19562 if test -z "$ac_lib"; then
19563 ac_res
="none required"
19566 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19568 if ac_fn_c_try_link
"$LINENO"
19570 ac_cv_search_dlopen
=$ac_res
19572 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19574 if test ${ac_cv_search_dlopen+y}
19579 if test ${ac_cv_search_dlopen+y}
19583 ac_cv_search_dlopen
=no
19585 rm conftest.
$ac_ext
19586 LIBS
=$ac_func_search_save_LIBS
19588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19589 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19590 ac_res
=$ac_cv_search_dlopen
19591 if test "$ac_res" != no
19593 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19599 printf %s
"checking for library containing gethostbyname... " >&6; }
19600 if test ${ac_cv_search_gethostbyname+y}
19602 printf %s
"(cached) " >&6
19604 ac_func_search_save_LIBS
=$LIBS
19605 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19606 /* end confdefs.h. */
19608 /* Override any GCC internal prototype to avoid an error.
19609 Use char because int might match the return type of a GCC
19610 builtin and then its argument prototype would still apply. */
19611 char gethostbyname ();
19615 return gethostbyname ();
19620 for ac_lib
in '' nsl
19622 if test -z "$ac_lib"; then
19623 ac_res
="none required"
19626 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19628 if ac_fn_c_try_link
"$LINENO"
19630 ac_cv_search_gethostbyname
=$ac_res
19632 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19634 if test ${ac_cv_search_gethostbyname+y}
19639 if test ${ac_cv_search_gethostbyname+y}
19643 ac_cv_search_gethostbyname
=no
19645 rm conftest.
$ac_ext
19646 LIBS
=$ac_func_search_save_LIBS
19648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19649 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19650 ac_res
=$ac_cv_search_gethostbyname
19651 if test "$ac_res" != no
19653 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19659 printf %s
"checking for library containing connect... " >&6; }
19660 if test ${ac_cv_search_connect+y}
19662 printf %s
"(cached) " >&6
19664 ac_func_search_save_LIBS
=$LIBS
19665 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19666 /* end confdefs.h. */
19668 /* Override any GCC internal prototype to avoid an error.
19669 Use char because int might match the return type of a GCC
19670 builtin and then its argument prototype would still apply. */
19680 for ac_lib
in '' socket
19682 if test -z "$ac_lib"; then
19683 ac_res
="none required"
19686 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19688 if ac_fn_c_try_link
"$LINENO"
19690 ac_cv_search_connect
=$ac_res
19692 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19694 if test ${ac_cv_search_connect+y}
19699 if test ${ac_cv_search_connect+y}
19703 ac_cv_search_connect
=no
19705 rm conftest.
$ac_ext
19706 LIBS
=$ac_func_search_save_LIBS
19708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19709 printf "%s\n" "$ac_cv_search_connect" >&6; }
19710 ac_res
=$ac_cv_search_connect
19711 if test "$ac_res" != no
19713 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19719 printf %s
"checking for library containing inet_aton... " >&6; }
19720 if test ${ac_cv_search_inet_aton+y}
19722 printf %s
"(cached) " >&6
19724 ac_func_search_save_LIBS
=$LIBS
19725 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19726 /* end confdefs.h. */
19728 /* Override any GCC internal prototype to avoid an error.
19729 Use char because int might match the return type of a GCC
19730 builtin and then its argument prototype would still apply. */
19735 return inet_aton ();
19740 for ac_lib
in '' resolv
19742 if test -z "$ac_lib"; then
19743 ac_res
="none required"
19746 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19748 if ac_fn_c_try_link
"$LINENO"
19750 ac_cv_search_inet_aton
=$ac_res
19752 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19754 if test ${ac_cv_search_inet_aton+y}
19759 if test ${ac_cv_search_inet_aton+y}
19763 ac_cv_search_inet_aton
=no
19765 rm conftest.
$ac_ext
19766 LIBS
=$ac_func_search_save_LIBS
19768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
19769 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
19770 ac_res
=$ac_cv_search_inet_aton
19771 if test "$ac_res" != no
19773 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19778 ac_save_CFLAGS
="$CFLAGS"
19779 CFLAGS
="$CFLAGS $BUILTINFLAG"
19780 ac_fn_c_check_func
"$LINENO" "dladdr1" "ac_cv_func_dladdr1"
19781 if test "x$ac_cv_func_dladdr1" = xyes
19783 printf "%s\n" "#define HAVE_DLADDR1 1" >>confdefs.h
19786 ac_fn_c_check_func
"$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19787 if test "x$ac_cv_func_dlinfo" = xyes
19789 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19792 ac_fn_c_check_func
"$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19793 if test "x$ac_cv_func_epoll_create" = xyes
19795 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19798 ac_fn_c_check_func
"$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19799 if test "x$ac_cv_func_fstatfs" = xyes
19801 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19804 ac_fn_c_check_func
"$LINENO" "futimens" "ac_cv_func_futimens"
19805 if test "x$ac_cv_func_futimens" = xyes
19807 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19810 ac_fn_c_check_func
"$LINENO" "futimes" "ac_cv_func_futimes"
19811 if test "x$ac_cv_func_futimes" = xyes
19813 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19816 ac_fn_c_check_func
"$LINENO" "futimesat" "ac_cv_func_futimesat"
19817 if test "x$ac_cv_func_futimesat" = xyes
19819 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19822 ac_fn_c_check_func
"$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
19823 if test "x$ac_cv_func_getaddrinfo" = xyes
19825 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
19828 ac_fn_c_check_func
"$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19829 if test "x$ac_cv_func_getattrlist" = xyes
19831 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19834 ac_fn_c_check_func
"$LINENO" "getauxval" "ac_cv_func_getauxval"
19835 if test "x$ac_cv_func_getauxval" = xyes
19837 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19840 ac_fn_c_check_func
"$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19841 if test "x$ac_cv_func_getifaddrs" = xyes
19843 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19846 ac_fn_c_check_func
"$LINENO" "getrandom" "ac_cv_func_getrandom"
19847 if test "x$ac_cv_func_getrandom" = xyes
19849 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19852 ac_fn_c_check_func
"$LINENO" "kqueue" "ac_cv_func_kqueue"
19853 if test "x$ac_cv_func_kqueue" = xyes
19855 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19858 ac_fn_c_check_func
"$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19859 if test "x$ac_cv_func_mach_continuous_time" = xyes
19861 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19864 ac_fn_c_check_func
"$LINENO" "pipe2" "ac_cv_func_pipe2"
19865 if test "x$ac_cv_func_pipe2" = xyes
19867 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19870 ac_fn_c_check_func
"$LINENO" "port_create" "ac_cv_func_port_create"
19871 if test "x$ac_cv_func_port_create" = xyes
19873 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
19876 ac_fn_c_check_func
"$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
19877 if test "x$ac_cv_func_posix_fadvise" = xyes
19879 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
19882 ac_fn_c_check_func
"$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
19883 if test "x$ac_cv_func_posix_fallocate" = xyes
19885 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
19888 ac_fn_c_check_func
"$LINENO" "prctl" "ac_cv_func_prctl"
19889 if test "x$ac_cv_func_prctl" = xyes
19891 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
19894 ac_fn_c_check_func
"$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
19895 if test "x$ac_cv_func_proc_pidinfo" = xyes
19897 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
19900 ac_fn_c_check_func
"$LINENO" "sched_yield" "ac_cv_func_sched_yield"
19901 if test "x$ac_cv_func_sched_yield" = xyes
19903 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
19906 ac_fn_c_check_func
"$LINENO" "setproctitle" "ac_cv_func_setproctitle"
19907 if test "x$ac_cv_func_setproctitle" = xyes
19909 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
19912 ac_fn_c_check_func
"$LINENO" "setprogname" "ac_cv_func_setprogname"
19913 if test "x$ac_cv_func_setprogname" = xyes
19915 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
19918 ac_fn_c_check_func
"$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
19919 if test "x$ac_cv_func_sigprocmask" = xyes
19921 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
19924 ac_fn_c_check_func
"$LINENO" "sysinfo" "ac_cv_func_sysinfo"
19925 if test "x$ac_cv_func_sysinfo" = xyes
19927 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
19930 ac_fn_c_check_func
"$LINENO" "tcdrain" "ac_cv_func_tcdrain"
19931 if test "x$ac_cv_func_tcdrain" = xyes
19933 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
19936 ac_fn_c_check_func
"$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
19937 if test "x$ac_cv_func_thr_kill2" = xyes
19939 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
19943 CFLAGS
="$ac_save_CFLAGS"
19946 darwin
*|macosx
*) ;;
19947 *) ac_save_LIBS
=$LIBS
19948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19949 printf %s
"checking for library containing clock_gettime... " >&6; }
19950 if test ${ac_cv_search_clock_gettime+y}
19952 printf %s
"(cached) " >&6
19954 ac_func_search_save_LIBS
=$LIBS
19955 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19956 /* end confdefs.h. */
19958 /* Override any GCC internal prototype to avoid an error.
19959 Use char because int might match the return type of a GCC
19960 builtin and then its argument prototype would still apply. */
19961 char clock_gettime ();
19965 return clock_gettime ();
19970 for ac_lib
in '' rt
19972 if test -z "$ac_lib"; then
19973 ac_res
="none required"
19976 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19978 if ac_fn_c_try_link
"$LINENO"
19980 ac_cv_search_clock_gettime
=$ac_res
19982 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19984 if test ${ac_cv_search_clock_gettime+y}
19989 if test ${ac_cv_search_clock_gettime+y}
19993 ac_cv_search_clock_gettime
=no
19995 rm conftest.
$ac_ext
19996 LIBS
=$ac_func_search_save_LIBS
19998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19999 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20000 ac_res
=$ac_cv_search_clock_gettime
20001 if test "$ac_res" != no
20003 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20005 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20007 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
20015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20016 printf %s
"checking for sched_setaffinity... " >&6; }
20017 if test ${wine_cv_have_sched_setaffinity+y}
20019 printf %s
"(cached) " >&6
20021 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20022 /* end confdefs.h. */
20027 sched_setaffinity(0, 0, 0);
20032 if ac_fn_c_try_link
"$LINENO"
20034 wine_cv_have_sched_setaffinity
=yes
20036 wine_cv_have_sched_setaffinity
=no
20038 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20039 conftest
$ac_exeext conftest.
$ac_ext
20041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20042 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20043 if test "$wine_cv_have_sched_setaffinity" = "yes"
20046 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20052 printf %s
"checking for inline... " >&6; }
20053 if test ${ac_cv_c_inline+y}
20055 printf %s
"(cached) " >&6
20058 for ac_kw
in inline __inline__ __inline
; do
20059 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20060 /* end confdefs.h. */
20061 #ifndef __cplusplus
20063 static $ac_kw foo_t static_foo (void) {return 0; }
20064 $ac_kw foo_t foo (void) {return 0; }
20068 if ac_fn_c_try_compile
"$LINENO"
20070 ac_cv_c_inline
=$ac_kw
20072 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20073 test "$ac_cv_c_inline" != no
&& break
20077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20078 printf "%s\n" "$ac_cv_c_inline" >&6; }
20080 case $ac_cv_c_inline in
20083 case $ac_cv_c_inline in
20085 *) ac_val
=$ac_cv_c_inline;;
20087 cat >>confdefs.h
<<_ACEOF
20088 #ifndef __cplusplus
20089 #define inline $ac_val
20095 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20097 if test "x$ac_cv_type_request_sense" = xyes
20100 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20106 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20107 #include <sys/socket.h>
20108 #ifdef HAVE_SYS_SOCKETVAR_H
20109 #include <sys/socketvar.h>
20111 #ifdef HAVE_NET_ROUTE_H
20112 #include <net/route.h>
20114 #ifdef HAVE_NETINET_IN_H
20115 #include <netinet/in.h>
20117 #ifdef HAVE_NETINET_IN_SYSTM_H
20118 #include <netinet/in_systm.h>
20120 #ifdef HAVE_NETINET_IP_H
20121 #include <netinet/ip.h>
20123 #ifdef HAVE_NETINET_IN_PCB_H
20124 #include <netinet/in_pcb.h>
20127 if test "x$ac_cv_type_struct_xinpgen" = xyes
20130 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20137 printf %s
"checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20138 if test ${wine_cv_linux_gethostbyname_r_6+y}
20140 printf %s
"(cached) " >&6
20142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20143 /* end confdefs.h. */
20151 struct hostent *result;
20158 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20159 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20165 if ac_fn_c_try_link
"$LINENO"
20167 wine_cv_linux_gethostbyname_r_6
=yes
20169 wine_cv_linux_gethostbyname_r_6
=no
20172 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20173 conftest
$ac_exeext conftest.
$ac_ext
20176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20177 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20178 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20181 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20185 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20186 #include <sys/socket.h>
20187 #ifdef HAVE_SYS_UN_H
20188 # include <sys/un.h>
20191 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20194 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20198 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20199 #include <sys/socket.h>
20200 #ifdef HAVE_SYS_UN_H
20201 # include <sys/un.h>
20204 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20207 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20213 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20214 #ifdef HAVE_SCSI_SG_H
20215 #include <scsi/sg.h>
20218 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20221 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20225 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>
20226 #ifdef HAVE_SCSI_SG_H
20227 #include <scsi/sg.h>
20230 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20233 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20239 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20241 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20244 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20250 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#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_blksiz" = xyes
20258 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20262 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#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_gstat" = xyes
20270 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20274 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20275 #ifdef HAVE_SYS_MTIO_H
20276 #include <sys/mtio.h>
20279 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20282 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20288 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20289 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20292 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20296 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20297 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20300 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20304 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20305 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20308 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20312 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20313 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20316 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20320 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20321 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20324 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20328 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20329 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20332 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20336 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20337 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20340 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20344 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20345 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20348 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20352 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20353 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20356 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20360 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20361 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20364 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20368 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20369 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20372 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20378 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>
20379 #ifdef HAVE_NETINET_IN_H
20380 #include <netinet/in.h>
20383 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20386 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20392 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
20393 #include <resolv.h>
20396 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20399 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20405 ac_fn_c_check_member
"$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20406 #include <netinet/in.h>
20409 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20412 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20418 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20419 #ifdef HAVE_SYS_SOCKETVAR_H
20420 #include <sys/socketvar.h>
20422 #ifdef HAVE_NETINET_IN_H
20423 #include <netinet/in.h>
20425 #ifdef HAVE_NETINET_IP_VAR_H
20426 #include <netinet/ip_var.h>
20429 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20432 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20438 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
20439 #include <netinet/ip_var.h>
20442 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20445 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20451 ac_fn_c_check_member
"$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20452 #ifdef HAVE_SYS_SOCKETVAR_H
20453 #include <sys/socketvar.h>
20455 #ifdef HAVE_NETINET_IN_H
20456 #include <netinet/in.h>
20458 #ifdef HAVE_NETINET6_IP6_VAR_H
20459 #include <netinet6/ip6_var.h>
20462 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20465 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20471 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20472 #ifdef HAVE_SYS_SOCKETVAR_H
20473 #include <sys/socketvar.h>
20475 #ifdef HAVE_NETINET_IN_H
20476 #include <netinet/in.h>
20478 #ifdef HAVE_NETINET_IP_H
20479 #include <netinet/ip.h>
20481 #ifdef HAVE_NETINET_IP_ICMP_H
20482 #include <netinet/ip_icmp.h>
20484 #ifdef HAVE_NETINET_ICMP_VAR_H
20485 #include <netinet/icmp_var.h>
20488 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20491 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20497 ac_fn_c_check_member
"$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20498 #ifdef HAVE_SYS_SOCKETVAR_H
20499 #include <sys/socketvar.h>
20501 #ifdef HAVE_NETINET_IN_H
20502 #include <netinet/in.h>
20504 #ifdef HAVE_NETINET_ICMP6_H
20505 #include <netinet/icmp6.h>
20508 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20511 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20517 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20518 #ifdef HAVE_SYS_SOCKETVAR_H
20519 #include <sys/socketvar.h>
20521 #ifdef HAVE_NETINET_IN_H
20522 #include <netinet/in.h>
20524 #ifdef HAVE_NETINET_TCP_H
20525 #include <netinet/tcp.h>
20527 #ifdef HAVE_NETINET_TCP_VAR_H
20528 #include <netinet/tcp_var.h>
20531 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20534 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20540 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
20541 #include <netinet/tcp_var.h>
20544 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20547 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20553 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20554 #ifdef HAVE_NETINET_IN_H
20555 #include <netinet/in.h>
20557 #ifdef HAVE_NETINET_IP_VAR_H
20558 #include <netinet/ip_var.h>
20560 #ifdef HAVE_NETINET_UDP_H
20561 #include <netinet/udp.h>
20563 #ifdef HAVE_NETINET_UDP_VAR_H
20564 #include <netinet/udp_var.h>
20567 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20570 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20576 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20577 #ifdef HAVE_NET_IF_H
20578 # include <net/if.h>
20581 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20584 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20590 ac_fn_c_check_member
"$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20591 # include <sys/sysinfo.h>
20594 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20597 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20601 ac_fn_c_check_member
"$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20602 # include <sys/sysinfo.h>
20605 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20608 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20614 LIBS
="$ac_save_LIBS"
20616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20617 printf %s
"checking for __builtin_popcount... " >&6; }
20618 if test ${ac_cv_have___builtin_popcount+y}
20620 printf %s
"(cached) " >&6
20622 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20623 /* end confdefs.h. */
20628 return __builtin_popcount(1)
20633 if ac_fn_c_try_link
"$LINENO"
20635 ac_cv_have___builtin_popcount
="yes"
20637 ac_cv_have___builtin_popcount
="no"
20639 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20640 conftest
$ac_exeext conftest.
$ac_ext
20642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20643 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20644 if test "$ac_cv_have___builtin_popcount" = "yes"
20647 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20652 printf %s
"checking for __clear_cache... " >&6; }
20653 if test ${ac_cv_have___clear_cache+y}
20655 printf %s
"(cached) " >&6
20657 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20658 /* end confdefs.h. */
20663 __clear_cache((void*)0, (void*)0); return 0;
20668 if ac_fn_c_try_link
"$LINENO"
20670 ac_cv_have___clear_cache
="yes"
20672 ac_cv_have___clear_cache
="no"
20674 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20675 conftest
$ac_exeext conftest.
$ac_ext
20677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20678 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20679 if test "$ac_cv_have___clear_cache" = "yes"
20682 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20688 *i
[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20689 printf %s
"checking whether we need to define __i386__... " >&6; }
20690 if test ${ac_cv_cpp_def___i386__+y}
20692 printf %s
"(cached) " >&6
20694 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20695 /* end confdefs.h. */
20700 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20701 $EGREP "yes" >/dev
/null
2>&1
20703 ac_cv_cpp_def___i386__
=yes
20705 ac_cv_cpp_def___i386__
=no
20710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20711 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20712 if test "x$ac_cv_cpp_def___i386__" = xyes
20714 CFLAGS
="$CFLAGS -D__i386__"
20715 LINTFLAGS
="$LINTFLAGS -D__i386__"
20717 *x86_64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20718 printf %s
"checking whether we need to define __x86_64__... " >&6; }
20719 if test ${ac_cv_cpp_def___x86_64__+y}
20721 printf %s
"(cached) " >&6
20723 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20724 /* end confdefs.h. */
20729 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20730 $EGREP "yes" >/dev
/null
2>&1
20732 ac_cv_cpp_def___x86_64__
=yes
20734 ac_cv_cpp_def___x86_64__
=no
20739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20740 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20741 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20743 CFLAGS
="$CFLAGS -D__x86_64__"
20744 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
20746 *sparc64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
20747 printf %s
"checking whether we need to define __sparc64__... " >&6; }
20748 if test ${ac_cv_cpp_def___sparc64__+y}
20750 printf %s
"(cached) " >&6
20752 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20753 /* end confdefs.h. */
20754 #ifndef __sparc64__
20758 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20759 $EGREP "yes" >/dev
/null
2>&1
20761 ac_cv_cpp_def___sparc64__
=yes
20763 ac_cv_cpp_def___sparc64__
=no
20768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
20769 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
20770 if test "x$ac_cv_cpp_def___sparc64__" = xyes
20772 CFLAGS
="$CFLAGS -D__sparc64__"
20773 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
20775 *sparc
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
20776 printf %s
"checking whether we need to define __sparc__... " >&6; }
20777 if test ${ac_cv_cpp_def___sparc__+y}
20779 printf %s
"(cached) " >&6
20781 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20782 /* end confdefs.h. */
20787 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20788 $EGREP "yes" >/dev
/null
2>&1
20790 ac_cv_cpp_def___sparc__
=yes
20792 ac_cv_cpp_def___sparc__
=no
20797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
20798 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
20799 if test "x$ac_cv_cpp_def___sparc__" = xyes
20801 CFLAGS
="$CFLAGS -D__sparc__"
20802 LINTFLAGS
="$LINTFLAGS -D__sparc__"
20804 *powerpc64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
20805 printf %s
"checking whether we need to define __powerpc64__... " >&6; }
20806 if test ${ac_cv_cpp_def___powerpc64__+y}
20808 printf %s
"(cached) " >&6
20810 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20811 /* end confdefs.h. */
20812 #ifndef __powerpc64__
20816 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20817 $EGREP "yes" >/dev
/null
2>&1
20819 ac_cv_cpp_def___powerpc64__
=yes
20821 ac_cv_cpp_def___powerpc64__
=no
20826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
20827 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
20828 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
20830 CFLAGS
="$CFLAGS -D__powerpc64__"
20831 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
20833 *powerpc
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
20834 printf %s
"checking whether we need to define __powerpc__... " >&6; }
20835 if test ${ac_cv_cpp_def___powerpc__+y}
20837 printf %s
"(cached) " >&6
20839 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20840 /* end confdefs.h. */
20841 #ifndef __powerpc__
20845 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20846 $EGREP "yes" >/dev
/null
2>&1
20848 ac_cv_cpp_def___powerpc__
=yes
20850 ac_cv_cpp_def___powerpc__
=no
20855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
20856 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
20857 if test "x$ac_cv_cpp_def___powerpc__" = xyes
20859 CFLAGS
="$CFLAGS -D__powerpc__"
20860 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
20862 *aarch64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
20863 printf %s
"checking whether we need to define __aarch64__... " >&6; }
20864 if test ${ac_cv_cpp_def___aarch64__+y}
20866 printf %s
"(cached) " >&6
20868 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20869 /* end confdefs.h. */
20870 #ifndef __aarch64__
20874 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20875 $EGREP "yes" >/dev
/null
2>&1
20877 ac_cv_cpp_def___aarch64__
=yes
20879 ac_cv_cpp_def___aarch64__
=no
20884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
20885 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
20886 if test "x$ac_cv_cpp_def___aarch64__" = xyes
20888 CFLAGS
="$CFLAGS -D__aarch64__"
20889 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
20891 *arm
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
20892 printf %s
"checking whether we need to define __arm__... " >&6; }
20893 if test ${ac_cv_cpp_def___arm__+y}
20895 printf %s
"(cached) " >&6
20897 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20898 /* end confdefs.h. */
20903 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20904 $EGREP "yes" >/dev
/null
2>&1
20906 ac_cv_cpp_def___arm__
=yes
20908 ac_cv_cpp_def___arm__
=no
20913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
20914 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
20915 if test "x$ac_cv_cpp_def___arm__" = xyes
20917 CFLAGS
="$CFLAGS -D__arm__"
20918 LINTFLAGS
="$LINTFLAGS -D__arm__"
20922 case $host_vendor in
20923 *sun
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
20924 printf %s
"checking whether we need to define __sun__... " >&6; }
20925 if test ${ac_cv_cpp_def___sun__+y}
20927 printf %s
"(cached) " >&6
20929 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20930 /* end confdefs.h. */
20935 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20936 $EGREP "yes" >/dev
/null
2>&1
20938 ac_cv_cpp_def___sun__
=yes
20940 ac_cv_cpp_def___sun__
=no
20945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
20946 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
20947 if test "x$ac_cv_cpp_def___sun__" = xyes
20949 CFLAGS
="$CFLAGS -D__sun__"
20950 LINTFLAGS
="$LINTFLAGS -D__sun__"
20958 ac_config_commands
="$ac_config_commands include/stamp-h"
20960 printf %s
"creating Makefile rules..." >&6
20963 test "x$enable_silent_rules" = xyes
&& makedep_flags
="$makedep_flags -S"
20966 test "$srcdir" = . || wine_srcdir
="$srcdir/"
20968 ac_config_links
="$ac_config_links wine:tools/winewrapper"
20969 wine_fn_config_symlink wine
20970 if test "$wine_binary" = wine64
-o -n "$with_wine64"; then
20971 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
20972 wine_fn_config_symlink wine64
20975 wine_fn_config_makefile dlls
/acledit enable_acledit
20976 wine_fn_config_makefile dlls
/aclui enable_aclui
20977 wine_fn_config_makefile dlls
/activeds.tlb enable_activeds_tlb
20978 wine_fn_config_makefile dlls
/activeds enable_activeds
20979 wine_fn_config_makefile dlls
/activeds
/tests enable_tests
20980 wine_fn_config_makefile dlls
/actxprxy enable_actxprxy
20981 wine_fn_config_makefile dlls
/adsldp enable_adsldp
20982 wine_fn_config_makefile dlls
/adsldp
/tests enable_tests
20983 wine_fn_config_makefile dlls
/adsldpc enable_adsldpc
20984 wine_fn_config_makefile dlls
/advapi32 enable_advapi32
20985 wine_fn_config_makefile dlls
/advapi32
/tests enable_tests
20986 wine_fn_config_makefile dlls
/advpack enable_advpack
20987 wine_fn_config_makefile dlls
/advpack
/tests enable_tests
20988 wine_fn_config_makefile dlls
/amsi enable_amsi
20989 wine_fn_config_makefile dlls
/amstream enable_amstream
20990 wine_fn_config_makefile dlls
/amstream
/tests enable_tests
20991 wine_fn_config_makefile dlls
/apisetschema enable_apisetschema
20992 wine_fn_config_makefile dlls
/apphelp enable_apphelp
20993 wine_fn_config_makefile dlls
/apphelp
/tests enable_tests
20994 wine_fn_config_makefile dlls
/appwiz.cpl enable_appwiz_cpl
20995 wine_fn_config_makefile dlls
/atl enable_atl
20996 wine_fn_config_makefile dlls
/atl
/tests enable_tests
20997 wine_fn_config_makefile dlls
/atl100 enable_atl100
20998 wine_fn_config_makefile dlls
/atl100
/tests enable_tests
20999 wine_fn_config_makefile dlls
/atl110 enable_atl110
21000 wine_fn_config_makefile dlls
/atl110
/tests enable_tests
21001 wine_fn_config_makefile dlls
/atl80 enable_atl80
21002 wine_fn_config_makefile dlls
/atl80
/tests enable_tests
21003 wine_fn_config_makefile dlls
/atl90 enable_atl90
21004 wine_fn_config_makefile dlls
/atlthunk enable_atlthunk
21005 wine_fn_config_makefile dlls
/atlthunk
/tests enable_tests
21006 wine_fn_config_makefile dlls
/atmlib enable_atmlib
21007 wine_fn_config_makefile dlls
/authz enable_authz
21008 wine_fn_config_makefile dlls
/avicap32 enable_avicap32
21009 wine_fn_config_makefile dlls
/avifil32 enable_avifil32
21010 wine_fn_config_makefile dlls
/avifil32
/tests enable_tests
21011 wine_fn_config_makefile dlls
/avifile.dll16 enable_win16
21012 wine_fn_config_makefile dlls
/avrt enable_avrt
21013 wine_fn_config_makefile dlls
/bcrypt enable_bcrypt
21014 wine_fn_config_makefile dlls
/bcrypt
/tests enable_tests
21015 wine_fn_config_makefile dlls
/bcryptprimitives enable_bcryptprimitives
21016 wine_fn_config_makefile dlls
/bluetoothapis enable_bluetoothapis
21017 wine_fn_config_makefile dlls
/browseui enable_browseui
21018 wine_fn_config_makefile dlls
/browseui
/tests enable_tests
21019 wine_fn_config_makefile dlls
/bthprops.cpl enable_bthprops_cpl
21020 wine_fn_config_makefile dlls
/cabinet enable_cabinet
21021 wine_fn_config_makefile dlls
/cabinet
/tests enable_tests
21022 wine_fn_config_makefile dlls
/capi2032 enable_capi2032
21023 wine_fn_config_makefile dlls
/cards enable_cards
21024 wine_fn_config_makefile dlls
/cdosys enable_cdosys
21025 wine_fn_config_makefile dlls
/cfgmgr32 enable_cfgmgr32
21026 wine_fn_config_makefile dlls
/cfgmgr32
/tests enable_tests
21027 wine_fn_config_makefile dlls
/clusapi enable_clusapi
21028 wine_fn_config_makefile dlls
/cng.sys enable_cng_sys
21029 wine_fn_config_makefile dlls
/combase enable_combase
21030 wine_fn_config_makefile dlls
/combase
/tests enable_tests
21031 wine_fn_config_makefile dlls
/comcat enable_comcat
21032 wine_fn_config_makefile dlls
/comcat
/tests enable_tests
21033 wine_fn_config_makefile dlls
/comctl32 enable_comctl32
21034 wine_fn_config_makefile dlls
/comctl32
/tests enable_tests
21035 wine_fn_config_makefile dlls
/comdlg32 enable_comdlg32
21036 wine_fn_config_makefile dlls
/comdlg32
/tests enable_tests
21037 wine_fn_config_makefile dlls
/comm.drv16 enable_win16
21038 wine_fn_config_makefile dlls
/commdlg.dll16 enable_win16
21039 wine_fn_config_makefile dlls
/compobj.dll16 enable_win16
21040 wine_fn_config_makefile dlls
/compstui enable_compstui
21041 wine_fn_config_makefile dlls
/compstui
/tests enable_tests
21042 wine_fn_config_makefile dlls
/comsvcs enable_comsvcs
21043 wine_fn_config_makefile dlls
/comsvcs
/tests enable_tests
21044 wine_fn_config_makefile dlls
/concrt140 enable_concrt140
21045 wine_fn_config_makefile dlls
/concrt140
/tests enable_tests
21046 wine_fn_config_makefile dlls
/connect enable_connect
21047 wine_fn_config_makefile dlls
/credui enable_credui
21048 wine_fn_config_makefile dlls
/credui
/tests enable_tests
21049 wine_fn_config_makefile dlls
/crtdll enable_crtdll
21050 wine_fn_config_makefile dlls
/crypt32 enable_crypt32
21051 wine_fn_config_makefile dlls
/crypt32
/tests enable_tests
21052 wine_fn_config_makefile dlls
/cryptdlg enable_cryptdlg
21053 wine_fn_config_makefile dlls
/cryptdll enable_cryptdll
21054 wine_fn_config_makefile dlls
/cryptext enable_cryptext
21055 wine_fn_config_makefile dlls
/cryptnet enable_cryptnet
21056 wine_fn_config_makefile dlls
/cryptnet
/tests enable_tests
21057 wine_fn_config_makefile dlls
/cryptowinrt enable_cryptowinrt
21058 wine_fn_config_makefile dlls
/cryptowinrt
/tests enable_tests
21059 wine_fn_config_makefile dlls
/cryptsp enable_cryptsp
21060 wine_fn_config_makefile dlls
/cryptui enable_cryptui
21061 wine_fn_config_makefile dlls
/cryptui
/tests enable_tests
21062 wine_fn_config_makefile dlls
/ctapi32 enable_ctapi32
21063 wine_fn_config_makefile dlls
/ctl3d.dll16 enable_win16
21064 wine_fn_config_makefile dlls
/ctl3d32 enable_ctl3d32
21065 wine_fn_config_makefile dlls
/ctl3dv2.dll16 enable_win16
21066 wine_fn_config_makefile dlls
/d2d1 enable_d2d1
21067 wine_fn_config_makefile dlls
/d2d
1/tests enable_tests
21068 wine_fn_config_makefile dlls
/d3d10 enable_d3d10
21069 wine_fn_config_makefile dlls
/d3d10
/tests enable_tests
21070 wine_fn_config_makefile dlls
/d3d10_1 enable_d3d10_1
21071 wine_fn_config_makefile dlls
/d3d10_
1/tests enable_tests
21072 wine_fn_config_makefile dlls
/d3d10core enable_d3d10core
21073 wine_fn_config_makefile dlls
/d3d10core
/tests enable_tests
21074 wine_fn_config_makefile dlls
/d3d11 enable_d3d11
21075 wine_fn_config_makefile dlls
/d3d11
/tests enable_tests
21076 wine_fn_config_makefile dlls
/d3d12 enable_d3d12
21077 wine_fn_config_makefile dlls
/d3d12
/tests enable_tests
21078 wine_fn_config_makefile dlls
/d3d12core enable_d3d12core
21079 wine_fn_config_makefile dlls
/d3d8 enable_d3d8
21080 wine_fn_config_makefile dlls
/d3d
8/tests enable_tests
21081 wine_fn_config_makefile dlls
/d3d8thk enable_d3d8thk
21082 wine_fn_config_makefile dlls
/d3d9 enable_d3d9
21083 wine_fn_config_makefile dlls
/d3d
9/tests enable_tests
21084 wine_fn_config_makefile dlls
/d3dcompiler_33 enable_d3dcompiler_33
21085 wine_fn_config_makefile dlls
/d3dcompiler_34 enable_d3dcompiler_34
21086 wine_fn_config_makefile dlls
/d3dcompiler_35 enable_d3dcompiler_35
21087 wine_fn_config_makefile dlls
/d3dcompiler_36 enable_d3dcompiler_36
21088 wine_fn_config_makefile dlls
/d3dcompiler_37 enable_d3dcompiler_37
21089 wine_fn_config_makefile dlls
/d3dcompiler_38 enable_d3dcompiler_38
21090 wine_fn_config_makefile dlls
/d3dcompiler_39 enable_d3dcompiler_39
21091 wine_fn_config_makefile dlls
/d3dcompiler_40 enable_d3dcompiler_40
21092 wine_fn_config_makefile dlls
/d3dcompiler_41 enable_d3dcompiler_41
21093 wine_fn_config_makefile dlls
/d3dcompiler_42 enable_d3dcompiler_42
21094 wine_fn_config_makefile dlls
/d3dcompiler_43 enable_d3dcompiler_43
21095 wine_fn_config_makefile dlls
/d3dcompiler_43
/tests enable_tests
21096 wine_fn_config_makefile dlls
/d3dcompiler_46 enable_d3dcompiler_46
21097 wine_fn_config_makefile dlls
/d3dcompiler_46
/tests enable_tests
21098 wine_fn_config_makefile dlls
/d3dcompiler_47 enable_d3dcompiler_47
21099 wine_fn_config_makefile dlls
/d3dcompiler_47
/tests enable_tests
21100 wine_fn_config_makefile dlls
/d3dim enable_d3dim
21101 wine_fn_config_makefile dlls
/d3dim700 enable_d3dim700
21102 wine_fn_config_makefile dlls
/d3drm enable_d3drm
21103 wine_fn_config_makefile dlls
/d3drm
/tests enable_tests
21104 wine_fn_config_makefile dlls
/d3dx10_33 enable_d3dx10_33
21105 wine_fn_config_makefile dlls
/d3dx10_34 enable_d3dx10_34
21106 wine_fn_config_makefile dlls
/d3dx10_34
/tests enable_tests
21107 wine_fn_config_makefile dlls
/d3dx10_35 enable_d3dx10_35
21108 wine_fn_config_makefile dlls
/d3dx10_35
/tests enable_tests
21109 wine_fn_config_makefile dlls
/d3dx10_36 enable_d3dx10_36
21110 wine_fn_config_makefile dlls
/d3dx10_36
/tests enable_tests
21111 wine_fn_config_makefile dlls
/d3dx10_37 enable_d3dx10_37
21112 wine_fn_config_makefile dlls
/d3dx10_37
/tests enable_tests
21113 wine_fn_config_makefile dlls
/d3dx10_38 enable_d3dx10_38
21114 wine_fn_config_makefile dlls
/d3dx10_38
/tests enable_tests
21115 wine_fn_config_makefile dlls
/d3dx10_39 enable_d3dx10_39
21116 wine_fn_config_makefile dlls
/d3dx10_39
/tests enable_tests
21117 wine_fn_config_makefile dlls
/d3dx10_40 enable_d3dx10_40
21118 wine_fn_config_makefile dlls
/d3dx10_40
/tests enable_tests
21119 wine_fn_config_makefile dlls
/d3dx10_41 enable_d3dx10_41
21120 wine_fn_config_makefile dlls
/d3dx10_41
/tests enable_tests
21121 wine_fn_config_makefile dlls
/d3dx10_42 enable_d3dx10_42
21122 wine_fn_config_makefile dlls
/d3dx10_42
/tests enable_tests
21123 wine_fn_config_makefile dlls
/d3dx10_43 enable_d3dx10_43
21124 wine_fn_config_makefile dlls
/d3dx10_43
/tests enable_tests
21125 wine_fn_config_makefile dlls
/d3dx11_42 enable_d3dx11_42
21126 wine_fn_config_makefile dlls
/d3dx11_42
/tests enable_tests
21127 wine_fn_config_makefile dlls
/d3dx11_43 enable_d3dx11_43
21128 wine_fn_config_makefile dlls
/d3dx11_43
/tests enable_tests
21129 wine_fn_config_makefile dlls
/d3dx9_24 enable_d3dx9_24
21130 wine_fn_config_makefile dlls
/d3dx9_25 enable_d3dx9_25
21131 wine_fn_config_makefile dlls
/d3dx9_26 enable_d3dx9_26
21132 wine_fn_config_makefile dlls
/d3dx9_27 enable_d3dx9_27
21133 wine_fn_config_makefile dlls
/d3dx9_28 enable_d3dx9_28
21134 wine_fn_config_makefile dlls
/d3dx9_29 enable_d3dx9_29
21135 wine_fn_config_makefile dlls
/d3dx9_30 enable_d3dx9_30
21136 wine_fn_config_makefile dlls
/d3dx9_31 enable_d3dx9_31
21137 wine_fn_config_makefile dlls
/d3dx9_32 enable_d3dx9_32
21138 wine_fn_config_makefile dlls
/d3dx9_33 enable_d3dx9_33
21139 wine_fn_config_makefile dlls
/d3dx9_34 enable_d3dx9_34
21140 wine_fn_config_makefile dlls
/d3dx9_35 enable_d3dx9_35
21141 wine_fn_config_makefile dlls
/d3dx9_36 enable_d3dx9_36
21142 wine_fn_config_makefile dlls
/d3dx9_36
/tests enable_tests
21143 wine_fn_config_makefile dlls
/d3dx9_37 enable_d3dx9_37
21144 wine_fn_config_makefile dlls
/d3dx9_38 enable_d3dx9_38
21145 wine_fn_config_makefile dlls
/d3dx9_39 enable_d3dx9_39
21146 wine_fn_config_makefile dlls
/d3dx9_40 enable_d3dx9_40
21147 wine_fn_config_makefile dlls
/d3dx9_41 enable_d3dx9_41
21148 wine_fn_config_makefile dlls
/d3dx9_42 enable_d3dx9_42
21149 wine_fn_config_makefile dlls
/d3dx9_43 enable_d3dx9_43
21150 wine_fn_config_makefile dlls
/d3dxof enable_d3dxof
21151 wine_fn_config_makefile dlls
/d3dxof
/tests enable_tests
21152 wine_fn_config_makefile dlls
/davclnt enable_davclnt
21153 wine_fn_config_makefile dlls
/dbgeng enable_dbgeng
21154 wine_fn_config_makefile dlls
/dbgeng
/tests enable_tests
21155 wine_fn_config_makefile dlls
/dbghelp enable_dbghelp
21156 wine_fn_config_makefile dlls
/dbghelp
/tests enable_tests
21157 wine_fn_config_makefile dlls
/dciman32 enable_dciman32
21158 wine_fn_config_makefile dlls
/dcomp enable_dcomp
21159 wine_fn_config_makefile dlls
/ddeml.dll16 enable_win16
21160 wine_fn_config_makefile dlls
/ddraw enable_ddraw
21161 wine_fn_config_makefile dlls
/ddraw
/tests enable_tests
21162 wine_fn_config_makefile dlls
/ddrawex enable_ddrawex
21163 wine_fn_config_makefile dlls
/ddrawex
/tests enable_tests
21164 wine_fn_config_makefile dlls
/devenum enable_devenum
21165 wine_fn_config_makefile dlls
/devenum
/tests enable_tests
21166 wine_fn_config_makefile dlls
/dhcpcsvc enable_dhcpcsvc
21167 wine_fn_config_makefile dlls
/dhcpcsvc
/tests enable_tests
21168 wine_fn_config_makefile dlls
/dhcpcsvc6 enable_dhcpcsvc6
21169 wine_fn_config_makefile dlls
/dhtmled.ocx enable_dhtmled_ocx
21170 wine_fn_config_makefile dlls
/diasymreader enable_diasymreader
21171 wine_fn_config_makefile dlls
/difxapi enable_difxapi
21172 wine_fn_config_makefile dlls
/dinput enable_dinput
21173 wine_fn_config_makefile dlls
/dinput
/tests enable_tests
21174 wine_fn_config_makefile dlls
/dinput8 enable_dinput8
21175 wine_fn_config_makefile dlls
/directmanipulation enable_directmanipulation
21176 wine_fn_config_makefile dlls
/directmanipulation
/tests enable_tests
21177 wine_fn_config_makefile dlls
/dispdib.dll16 enable_win16
21178 wine_fn_config_makefile dlls
/dispex enable_dispex
21179 wine_fn_config_makefile dlls
/dispex
/tests enable_tests
21180 wine_fn_config_makefile dlls
/display.drv16 enable_win16
21181 wine_fn_config_makefile dlls
/dmband enable_dmband
21182 wine_fn_config_makefile dlls
/dmband
/tests enable_tests
21183 wine_fn_config_makefile dlls
/dmcompos enable_dmcompos
21184 wine_fn_config_makefile dlls
/dmcompos
/tests enable_tests
21185 wine_fn_config_makefile dlls
/dmime enable_dmime
21186 wine_fn_config_makefile dlls
/dmime
/tests enable_tests
21187 wine_fn_config_makefile dlls
/dmloader enable_dmloader
21188 wine_fn_config_makefile dlls
/dmloader
/tests enable_tests
21189 wine_fn_config_makefile dlls
/dmscript enable_dmscript
21190 wine_fn_config_makefile dlls
/dmscript
/tests enable_tests
21191 wine_fn_config_makefile dlls
/dmstyle enable_dmstyle
21192 wine_fn_config_makefile dlls
/dmstyle
/tests enable_tests
21193 wine_fn_config_makefile dlls
/dmsynth enable_dmsynth
21194 wine_fn_config_makefile dlls
/dmsynth
/tests enable_tests
21195 wine_fn_config_makefile dlls
/dmusic enable_dmusic
21196 wine_fn_config_makefile dlls
/dmusic
/tests enable_tests
21197 wine_fn_config_makefile dlls
/dmusic32 enable_dmusic32
21198 wine_fn_config_makefile dlls
/dnsapi enable_dnsapi
21199 wine_fn_config_makefile dlls
/dnsapi
/tests enable_tests
21200 wine_fn_config_makefile dlls
/dplay enable_dplay
21201 wine_fn_config_makefile dlls
/dplayx enable_dplayx
21202 wine_fn_config_makefile dlls
/dplayx
/tests enable_tests
21203 wine_fn_config_makefile dlls
/dpnaddr enable_dpnaddr
21204 wine_fn_config_makefile dlls
/dpnet enable_dpnet
21205 wine_fn_config_makefile dlls
/dpnet
/tests enable_tests
21206 wine_fn_config_makefile dlls
/dpnhpast enable_dpnhpast
21207 wine_fn_config_makefile dlls
/dpnhupnp enable_dpnhupnp
21208 wine_fn_config_makefile dlls
/dpnlobby enable_dpnlobby
21209 wine_fn_config_makefile dlls
/dpvoice enable_dpvoice
21210 wine_fn_config_makefile dlls
/dpvoice
/tests enable_tests
21211 wine_fn_config_makefile dlls
/dpwsockx enable_dpwsockx
21212 wine_fn_config_makefile dlls
/drmclien enable_drmclien
21213 wine_fn_config_makefile dlls
/dsdmo enable_dsdmo
21214 wine_fn_config_makefile dlls
/dsdmo
/tests enable_tests
21215 wine_fn_config_makefile dlls
/dsound enable_dsound
21216 wine_fn_config_makefile dlls
/dsound
/tests enable_tests
21217 wine_fn_config_makefile dlls
/dsquery enable_dsquery
21218 wine_fn_config_makefile dlls
/dssenh enable_dssenh
21219 wine_fn_config_makefile dlls
/dssenh
/tests enable_tests
21220 wine_fn_config_makefile dlls
/dsuiext enable_dsuiext
21221 wine_fn_config_makefile dlls
/dswave enable_dswave
21222 wine_fn_config_makefile dlls
/dswave
/tests enable_tests
21223 wine_fn_config_makefile dlls
/dwmapi enable_dwmapi
21224 wine_fn_config_makefile dlls
/dwmapi
/tests enable_tests
21225 wine_fn_config_makefile dlls
/dwrite enable_dwrite
21226 wine_fn_config_makefile dlls
/dwrite
/tests enable_tests
21227 wine_fn_config_makefile dlls
/dx8vb enable_dx8vb
21228 wine_fn_config_makefile dlls
/dxdiagn enable_dxdiagn
21229 wine_fn_config_makefile dlls
/dxdiagn
/tests enable_tests
21230 wine_fn_config_makefile dlls
/dxgi enable_dxgi
21231 wine_fn_config_makefile dlls
/dxgi
/tests enable_tests
21232 wine_fn_config_makefile dlls
/dxtrans enable_dxtrans
21233 wine_fn_config_makefile dlls
/dxva2 enable_dxva2
21234 wine_fn_config_makefile dlls
/dxva
2/tests enable_tests
21235 wine_fn_config_makefile dlls
/esent enable_esent
21236 wine_fn_config_makefile dlls
/evr enable_evr
21237 wine_fn_config_makefile dlls
/evr
/tests enable_tests
21238 wine_fn_config_makefile dlls
/explorerframe enable_explorerframe
21239 wine_fn_config_makefile dlls
/explorerframe
/tests enable_tests
21240 wine_fn_config_makefile dlls
/faultrep enable_faultrep
21241 wine_fn_config_makefile dlls
/faultrep
/tests enable_tests
21242 wine_fn_config_makefile dlls
/feclient enable_feclient
21243 wine_fn_config_makefile dlls
/fltlib enable_fltlib
21244 wine_fn_config_makefile dlls
/fltmgr.sys enable_fltmgr_sys
21245 wine_fn_config_makefile dlls
/fntcache enable_fntcache
21246 wine_fn_config_makefile dlls
/fontsub enable_fontsub
21247 wine_fn_config_makefile dlls
/fusion enable_fusion
21248 wine_fn_config_makefile dlls
/fusion
/tests enable_tests
21249 wine_fn_config_makefile dlls
/fwpuclnt enable_fwpuclnt
21250 wine_fn_config_makefile dlls
/gameux enable_gameux
21251 wine_fn_config_makefile dlls
/gameux
/tests enable_tests
21252 wine_fn_config_makefile dlls
/gamingtcui enable_gamingtcui
21253 wine_fn_config_makefile dlls
/gdi.exe16 enable_win16
21254 wine_fn_config_makefile dlls
/gdi32 enable_gdi32
21255 wine_fn_config_makefile dlls
/gdi32
/tests enable_tests
21256 wine_fn_config_makefile dlls
/gdiplus enable_gdiplus
21257 wine_fn_config_makefile dlls
/gdiplus
/tests enable_tests
21258 wine_fn_config_makefile dlls
/geolocation enable_geolocation
21259 wine_fn_config_makefile dlls
/geolocation
/tests enable_tests
21260 wine_fn_config_makefile dlls
/glu32 enable_glu32
21261 wine_fn_config_makefile dlls
/gphoto2.ds enable_gphoto2_ds
21262 wine_fn_config_makefile dlls
/gpkcsp enable_gpkcsp
21263 wine_fn_config_makefile dlls
/graphicscapture enable_graphicscapture
21264 wine_fn_config_makefile dlls
/graphicscapture
/tests enable_tests
21265 wine_fn_config_makefile dlls
/hal enable_hal
21266 wine_fn_config_makefile dlls
/hhctrl.ocx enable_hhctrl_ocx
21267 wine_fn_config_makefile dlls
/hid enable_hid
21268 wine_fn_config_makefile dlls
/hid
/tests enable_tests
21269 wine_fn_config_makefile dlls
/hidclass.sys enable_hidclass_sys
21270 wine_fn_config_makefile dlls
/hidparse.sys enable_hidparse_sys
21271 wine_fn_config_makefile dlls
/hlink enable_hlink
21272 wine_fn_config_makefile dlls
/hlink
/tests enable_tests
21273 wine_fn_config_makefile dlls
/hnetcfg enable_hnetcfg
21274 wine_fn_config_makefile dlls
/hnetcfg
/tests enable_tests
21275 wine_fn_config_makefile dlls
/hrtfapo enable_hrtfapo
21276 wine_fn_config_makefile dlls
/http.sys enable_http_sys
21277 wine_fn_config_makefile dlls
/httpapi enable_httpapi
21278 wine_fn_config_makefile dlls
/httpapi
/tests enable_tests
21279 wine_fn_config_makefile dlls
/hvsimanagementapi enable_hvsimanagementapi
21280 wine_fn_config_makefile dlls
/hvsimanagementapi
/tests enable_tests
21281 wine_fn_config_makefile dlls
/ia2comproxy enable_ia2comproxy
21282 wine_fn_config_makefile dlls
/iccvid enable_iccvid
21283 wine_fn_config_makefile dlls
/icmp enable_icmp
21284 wine_fn_config_makefile dlls
/ieframe enable_ieframe
21285 wine_fn_config_makefile dlls
/ieframe
/tests enable_tests
21286 wine_fn_config_makefile dlls
/ieproxy enable_ieproxy
21287 wine_fn_config_makefile dlls
/ifsmgr.vxd enable_win16
21288 wine_fn_config_makefile dlls
/imaadp32.acm enable_imaadp32_acm
21289 wine_fn_config_makefile dlls
/imagehlp enable_imagehlp
21290 wine_fn_config_makefile dlls
/imagehlp
/tests enable_tests
21291 wine_fn_config_makefile dlls
/imm.dll16 enable_win16
21292 wine_fn_config_makefile dlls
/imm32 enable_imm32
21293 wine_fn_config_makefile dlls
/imm32
/tests enable_tests
21294 wine_fn_config_makefile dlls
/inetcomm enable_inetcomm
21295 wine_fn_config_makefile dlls
/inetcomm
/tests enable_tests
21296 wine_fn_config_makefile dlls
/inetcpl.cpl enable_inetcpl_cpl
21297 wine_fn_config_makefile dlls
/inetmib1 enable_inetmib1
21298 wine_fn_config_makefile dlls
/inetmib
1/tests enable_tests
21299 wine_fn_config_makefile dlls
/infosoft enable_infosoft
21300 wine_fn_config_makefile dlls
/infosoft
/tests enable_tests
21301 wine_fn_config_makefile dlls
/initpki enable_initpki
21302 wine_fn_config_makefile dlls
/inkobj enable_inkobj
21303 wine_fn_config_makefile dlls
/inseng enable_inseng
21304 wine_fn_config_makefile dlls
/iphlpapi enable_iphlpapi
21305 wine_fn_config_makefile dlls
/iphlpapi
/tests enable_tests
21306 wine_fn_config_makefile dlls
/iprop enable_iprop
21307 wine_fn_config_makefile dlls
/ir50_32 enable_ir50_32
21308 wine_fn_config_makefile dlls
/irprops.cpl enable_irprops_cpl
21309 wine_fn_config_makefile dlls
/itircl enable_itircl
21310 wine_fn_config_makefile dlls
/itss enable_itss
21311 wine_fn_config_makefile dlls
/itss
/tests enable_tests
21312 wine_fn_config_makefile dlls
/joy.cpl enable_joy_cpl
21313 wine_fn_config_makefile dlls
/jscript enable_jscript
21314 wine_fn_config_makefile dlls
/jscript
/tests enable_tests
21315 wine_fn_config_makefile dlls
/jsproxy enable_jsproxy
21316 wine_fn_config_makefile dlls
/jsproxy
/tests enable_tests
21317 wine_fn_config_makefile dlls
/kerberos enable_kerberos
21318 wine_fn_config_makefile dlls
/kernel32 enable_kernel32
21319 wine_fn_config_makefile dlls
/kernel32
/tests enable_tests
21320 wine_fn_config_makefile dlls
/kernelbase enable_kernelbase
21321 wine_fn_config_makefile dlls
/kernelbase
/tests enable_tests
21322 wine_fn_config_makefile dlls
/keyboard.drv16 enable_win16
21323 wine_fn_config_makefile dlls
/krnl386.exe16 enable_win16
21324 wine_fn_config_makefile dlls
/ksecdd.sys enable_ksecdd_sys
21325 wine_fn_config_makefile dlls
/ksproxy.ax enable_ksproxy_ax
21326 wine_fn_config_makefile dlls
/ksuser enable_ksuser
21327 wine_fn_config_makefile dlls
/ktmw32 enable_ktmw32
21328 wine_fn_config_makefile dlls
/l3codeca.acm enable_l3codeca_acm
21329 wine_fn_config_makefile dlls
/light.msstyles enable_light_msstyles
21330 wine_fn_config_makefile dlls
/loadperf enable_loadperf
21331 wine_fn_config_makefile dlls
/localspl enable_localspl
21332 wine_fn_config_makefile dlls
/localspl
/tests enable_tests
21333 wine_fn_config_makefile dlls
/localui enable_localui
21334 wine_fn_config_makefile dlls
/localui
/tests enable_tests
21335 wine_fn_config_makefile dlls
/lz32 enable_lz32
21336 wine_fn_config_makefile dlls
/lz32
/tests enable_tests
21337 wine_fn_config_makefile dlls
/lzexpand.dll16 enable_win16
21338 wine_fn_config_makefile dlls
/magnification enable_magnification
21339 wine_fn_config_makefile dlls
/mapi32 enable_mapi32
21340 wine_fn_config_makefile dlls
/mapi32
/tests enable_tests
21341 wine_fn_config_makefile dlls
/mapistub enable_mapistub
21342 wine_fn_config_makefile dlls
/mciavi32 enable_mciavi32
21343 wine_fn_config_makefile dlls
/mcicda enable_mcicda
21344 wine_fn_config_makefile dlls
/mciqtz32 enable_mciqtz32
21345 wine_fn_config_makefile dlls
/mciseq enable_mciseq
21346 wine_fn_config_makefile dlls
/mciwave enable_mciwave
21347 wine_fn_config_makefile dlls
/mf enable_mf
21348 wine_fn_config_makefile dlls
/mf
/tests enable_tests
21349 wine_fn_config_makefile dlls
/mf3216 enable_mf3216
21350 wine_fn_config_makefile dlls
/mferror enable_mferror
21351 wine_fn_config_makefile dlls
/mfmediaengine enable_mfmediaengine
21352 wine_fn_config_makefile dlls
/mfmediaengine
/tests enable_tests
21353 wine_fn_config_makefile dlls
/mfplat enable_mfplat
21354 wine_fn_config_makefile dlls
/mfplat
/tests enable_tests
21355 wine_fn_config_makefile dlls
/mfplay enable_mfplay
21356 wine_fn_config_makefile dlls
/mfplay
/tests enable_tests
21357 wine_fn_config_makefile dlls
/mfreadwrite enable_mfreadwrite
21358 wine_fn_config_makefile dlls
/mfreadwrite
/tests enable_tests
21359 wine_fn_config_makefile dlls
/mfsrcsnk enable_mfsrcsnk
21360 wine_fn_config_makefile dlls
/mfsrcsnk
/tests enable_tests
21361 wine_fn_config_makefile dlls
/mgmtapi enable_mgmtapi
21362 wine_fn_config_makefile dlls
/midimap enable_midimap
21363 wine_fn_config_makefile dlls
/mlang enable_mlang
21364 wine_fn_config_makefile dlls
/mlang
/tests enable_tests
21365 wine_fn_config_makefile dlls
/mmcndmgr enable_mmcndmgr
21366 wine_fn_config_makefile dlls
/mmcndmgr
/tests enable_tests
21367 wine_fn_config_makefile dlls
/mmdevapi enable_mmdevapi
21368 wine_fn_config_makefile dlls
/mmdevapi
/tests enable_tests
21369 wine_fn_config_makefile dlls
/mmdevldr.vxd enable_win16
21370 wine_fn_config_makefile dlls
/mmsystem.dll16 enable_win16
21371 wine_fn_config_makefile dlls
/monodebg.vxd enable_win16
21372 wine_fn_config_makefile dlls
/mountmgr.sys enable_mountmgr_sys
21373 wine_fn_config_makefile dlls
/mouse.drv16 enable_win16
21374 wine_fn_config_makefile dlls
/mp3dmod enable_mp3dmod
21375 wine_fn_config_makefile dlls
/mp3dmod
/tests enable_tests
21376 wine_fn_config_makefile dlls
/mpr enable_mpr
21377 wine_fn_config_makefile dlls
/mpr
/tests enable_tests
21378 wine_fn_config_makefile dlls
/mprapi enable_mprapi
21379 wine_fn_config_makefile dlls
/msacm.dll16 enable_win16
21380 wine_fn_config_makefile dlls
/msacm32.drv enable_msacm32_drv
21381 wine_fn_config_makefile dlls
/msacm32 enable_msacm32
21382 wine_fn_config_makefile dlls
/msacm32
/tests enable_tests
21383 wine_fn_config_makefile dlls
/msado15 enable_msado15
21384 wine_fn_config_makefile dlls
/msado15
/tests enable_tests
21385 wine_fn_config_makefile dlls
/msadp32.acm enable_msadp32_acm
21386 wine_fn_config_makefile dlls
/msasn1 enable_msasn1
21387 wine_fn_config_makefile dlls
/msasn
1/tests enable_tests
21388 wine_fn_config_makefile dlls
/msauddecmft enable_msauddecmft
21389 wine_fn_config_makefile dlls
/mscat32 enable_mscat32
21390 wine_fn_config_makefile dlls
/mscms enable_mscms
21391 wine_fn_config_makefile dlls
/mscms
/tests enable_tests
21392 wine_fn_config_makefile dlls
/mscoree enable_mscoree
21393 wine_fn_config_makefile dlls
/mscoree
/tests enable_tests
21394 wine_fn_config_makefile dlls
/mscorwks enable_mscorwks
21395 wine_fn_config_makefile dlls
/msctf enable_msctf
21396 wine_fn_config_makefile dlls
/msctf
/tests enable_tests
21397 wine_fn_config_makefile dlls
/msctfmonitor enable_msctfmonitor
21398 wine_fn_config_makefile dlls
/msctfp enable_msctfp
21399 wine_fn_config_makefile dlls
/msdaps enable_msdaps
21400 wine_fn_config_makefile dlls
/msdasql enable_msdasql
21401 wine_fn_config_makefile dlls
/msdasql
/tests enable_tests
21402 wine_fn_config_makefile dlls
/msdelta enable_msdelta
21403 wine_fn_config_makefile dlls
/msdmo enable_msdmo
21404 wine_fn_config_makefile dlls
/msdmo
/tests enable_tests
21405 wine_fn_config_makefile dlls
/msdrm enable_msdrm
21406 wine_fn_config_makefile dlls
/msftedit enable_msftedit
21407 wine_fn_config_makefile dlls
/msftedit
/tests enable_tests
21408 wine_fn_config_makefile dlls
/msg711.acm enable_msg711_acm
21409 wine_fn_config_makefile dlls
/msgsm32.acm enable_msgsm32_acm
21410 wine_fn_config_makefile dlls
/mshtml.tlb enable_mshtml_tlb
21411 wine_fn_config_makefile dlls
/mshtml enable_mshtml
21412 wine_fn_config_makefile dlls
/mshtml
/tests enable_tests
21413 wine_fn_config_makefile dlls
/msi enable_msi
21414 wine_fn_config_makefile dlls
/msi
/tests enable_tests
21415 wine_fn_config_makefile dlls
/msident enable_msident
21416 wine_fn_config_makefile dlls
/msimg32 enable_msimg32
21417 wine_fn_config_makefile dlls
/msimsg enable_msimsg
21418 wine_fn_config_makefile dlls
/msimtf enable_msimtf
21419 wine_fn_config_makefile dlls
/msisip enable_msisip
21420 wine_fn_config_makefile dlls
/msisys.ocx enable_msisys_ocx
21421 wine_fn_config_makefile dlls
/msls31 enable_msls31
21422 wine_fn_config_makefile dlls
/msmpeg2vdec enable_msmpeg2vdec
21423 wine_fn_config_makefile dlls
/msnet32 enable_msnet32
21424 wine_fn_config_makefile dlls
/mspatcha enable_mspatcha
21425 wine_fn_config_makefile dlls
/mspatcha
/tests enable_tests
21426 wine_fn_config_makefile dlls
/msports enable_msports
21427 wine_fn_config_makefile dlls
/msrle32 enable_msrle32
21428 wine_fn_config_makefile dlls
/msrle32
/tests enable_tests
21429 wine_fn_config_makefile dlls
/msscript.ocx enable_msscript_ocx
21430 wine_fn_config_makefile dlls
/msscript.ocx
/tests enable_tests
21431 wine_fn_config_makefile dlls
/mssign32 enable_mssign32
21432 wine_fn_config_makefile dlls
/mssip32 enable_mssip32
21433 wine_fn_config_makefile dlls
/mstask enable_mstask
21434 wine_fn_config_makefile dlls
/mstask
/tests enable_tests
21435 wine_fn_config_makefile dlls
/msv1_0 enable_msv1_0
21436 wine_fn_config_makefile dlls
/msvcirt enable_msvcirt
21437 wine_fn_config_makefile dlls
/msvcirt
/tests enable_tests
21438 wine_fn_config_makefile dlls
/msvcm80 enable_msvcm80
21439 wine_fn_config_makefile dlls
/msvcm90 enable_msvcm90
21440 wine_fn_config_makefile dlls
/msvcp100 enable_msvcp100
21441 wine_fn_config_makefile dlls
/msvcp100
/tests enable_tests
21442 wine_fn_config_makefile dlls
/msvcp110 enable_msvcp110
21443 wine_fn_config_makefile dlls
/msvcp110
/tests enable_tests
21444 wine_fn_config_makefile dlls
/msvcp120 enable_msvcp120
21445 wine_fn_config_makefile dlls
/msvcp120
/tests enable_tests
21446 wine_fn_config_makefile dlls
/msvcp120_app enable_msvcp120_app
21447 wine_fn_config_makefile dlls
/msvcp140 enable_msvcp140
21448 wine_fn_config_makefile dlls
/msvcp140
/tests enable_tests
21449 wine_fn_config_makefile dlls
/msvcp140_1 enable_msvcp140_1
21450 wine_fn_config_makefile dlls
/msvcp140_
1/tests enable_tests
21451 wine_fn_config_makefile dlls
/msvcp140_2 enable_msvcp140_2
21452 wine_fn_config_makefile dlls
/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21453 wine_fn_config_makefile dlls
/msvcp140_atomic_wait
/tests enable_tests
21454 wine_fn_config_makefile dlls
/msvcp140_codecvt_ids enable_msvcp140_codecvt_ids
21455 wine_fn_config_makefile dlls
/msvcp60 enable_msvcp60
21456 wine_fn_config_makefile dlls
/msvcp60
/tests enable_tests
21457 wine_fn_config_makefile dlls
/msvcp70 enable_msvcp70
21458 wine_fn_config_makefile dlls
/msvcp71 enable_msvcp71
21459 wine_fn_config_makefile dlls
/msvcp80 enable_msvcp80
21460 wine_fn_config_makefile dlls
/msvcp90 enable_msvcp90
21461 wine_fn_config_makefile dlls
/msvcp90
/tests enable_tests
21462 wine_fn_config_makefile dlls
/msvcp_win enable_msvcp_win
21463 wine_fn_config_makefile dlls
/msvcr100 enable_msvcr100
21464 wine_fn_config_makefile dlls
/msvcr100
/tests enable_tests
21465 wine_fn_config_makefile dlls
/msvcr110 enable_msvcr110
21466 wine_fn_config_makefile dlls
/msvcr110
/tests enable_tests
21467 wine_fn_config_makefile dlls
/msvcr120 enable_msvcr120
21468 wine_fn_config_makefile dlls
/msvcr120
/tests enable_tests
21469 wine_fn_config_makefile dlls
/msvcr120_app enable_msvcr120_app
21470 wine_fn_config_makefile dlls
/msvcr70 enable_msvcr70
21471 wine_fn_config_makefile dlls
/msvcr70
/tests enable_tests
21472 wine_fn_config_makefile dlls
/msvcr71 enable_msvcr71
21473 wine_fn_config_makefile dlls
/msvcr71
/tests enable_tests
21474 wine_fn_config_makefile dlls
/msvcr80 enable_msvcr80
21475 wine_fn_config_makefile dlls
/msvcr80
/tests enable_tests
21476 wine_fn_config_makefile dlls
/msvcr90 enable_msvcr90
21477 wine_fn_config_makefile dlls
/msvcr90
/tests enable_tests
21478 wine_fn_config_makefile dlls
/msvcrt enable_msvcrt
21479 wine_fn_config_makefile dlls
/msvcrt
/tests enable_tests
21480 wine_fn_config_makefile dlls
/msvcrt20 enable_msvcrt20
21481 wine_fn_config_makefile dlls
/msvcrt40 enable_msvcrt40
21482 wine_fn_config_makefile dlls
/msvcrtd enable_msvcrtd
21483 wine_fn_config_makefile dlls
/msvcrtd
/tests enable_tests
21484 wine_fn_config_makefile dlls
/msvfw32 enable_msvfw32
21485 wine_fn_config_makefile dlls
/msvfw32
/tests enable_tests
21486 wine_fn_config_makefile dlls
/msvidc32 enable_msvidc32
21487 wine_fn_config_makefile dlls
/msvideo.dll16 enable_win16
21488 wine_fn_config_makefile dlls
/mswsock enable_mswsock
21489 wine_fn_config_makefile dlls
/msxml enable_msxml
21490 wine_fn_config_makefile dlls
/msxml2 enable_msxml2
21491 wine_fn_config_makefile dlls
/msxml3 enable_msxml3
21492 wine_fn_config_makefile dlls
/msxml
3/tests enable_tests
21493 wine_fn_config_makefile dlls
/msxml4 enable_msxml4
21494 wine_fn_config_makefile dlls
/msxml6 enable_msxml6
21495 wine_fn_config_makefile dlls
/mtxdm enable_mtxdm
21496 wine_fn_config_makefile dlls
/ncrypt enable_ncrypt
21497 wine_fn_config_makefile dlls
/ncrypt
/tests enable_tests
21498 wine_fn_config_makefile dlls
/nddeapi enable_nddeapi
21499 wine_fn_config_makefile dlls
/ndis.sys enable_ndis_sys
21500 wine_fn_config_makefile dlls
/ndis.sys
/tests enable_tests
21501 wine_fn_config_makefile dlls
/netapi32 enable_netapi32
21502 wine_fn_config_makefile dlls
/netapi32
/tests enable_tests
21503 wine_fn_config_makefile dlls
/netcfgx enable_netcfgx
21504 wine_fn_config_makefile dlls
/netcfgx
/tests enable_tests
21505 wine_fn_config_makefile dlls
/netio.sys enable_netio_sys
21506 wine_fn_config_makefile dlls
/netprofm enable_netprofm
21507 wine_fn_config_makefile dlls
/netprofm
/tests enable_tests
21508 wine_fn_config_makefile dlls
/netutils enable_netutils
21509 wine_fn_config_makefile dlls
/newdev enable_newdev
21510 wine_fn_config_makefile dlls
/ninput enable_ninput
21511 wine_fn_config_makefile dlls
/ninput
/tests enable_tests
21512 wine_fn_config_makefile dlls
/normaliz enable_normaliz
21513 wine_fn_config_makefile dlls
/npmshtml enable_npmshtml
21514 wine_fn_config_makefile dlls
/npptools enable_npptools
21515 wine_fn_config_makefile dlls
/nsi enable_nsi
21516 wine_fn_config_makefile dlls
/nsi
/tests enable_tests
21517 wine_fn_config_makefile dlls
/nsiproxy.sys enable_nsiproxy_sys
21518 wine_fn_config_makefile dlls
/ntdll enable_ntdll
21519 wine_fn_config_makefile dlls
/ntdll
/tests enable_tests
21520 wine_fn_config_makefile dlls
/ntdsapi enable_ntdsapi
21521 wine_fn_config_makefile dlls
/ntdsapi
/tests enable_tests
21522 wine_fn_config_makefile dlls
/ntoskrnl.exe enable_ntoskrnl_exe
21523 wine_fn_config_makefile dlls
/ntoskrnl.exe
/tests enable_tests
21524 wine_fn_config_makefile dlls
/ntprint enable_ntprint
21525 wine_fn_config_makefile dlls
/ntprint
/tests enable_tests
21526 wine_fn_config_makefile dlls
/objsel enable_objsel
21527 wine_fn_config_makefile dlls
/odbc32 enable_odbc32
21528 wine_fn_config_makefile dlls
/odbcbcp enable_odbcbcp
21529 wine_fn_config_makefile dlls
/odbccp32 enable_odbccp32
21530 wine_fn_config_makefile dlls
/odbccp32
/tests enable_tests
21531 wine_fn_config_makefile dlls
/odbccu32 enable_odbccu32
21532 wine_fn_config_makefile dlls
/ole2.dll16 enable_win16
21533 wine_fn_config_makefile dlls
/ole2conv.dll16 enable_win16
21534 wine_fn_config_makefile dlls
/ole2disp.dll16 enable_win16
21535 wine_fn_config_makefile dlls
/ole2nls.dll16 enable_win16
21536 wine_fn_config_makefile dlls
/ole2prox.dll16 enable_win16
21537 wine_fn_config_makefile dlls
/ole2thk.dll16 enable_win16
21538 wine_fn_config_makefile dlls
/ole32 enable_ole32
21539 wine_fn_config_makefile dlls
/ole32
/tests enable_tests
21540 wine_fn_config_makefile dlls
/oleacc enable_oleacc
21541 wine_fn_config_makefile dlls
/oleacc
/tests enable_tests
21542 wine_fn_config_makefile dlls
/oleaut32 enable_oleaut32
21543 wine_fn_config_makefile dlls
/oleaut32
/tests enable_tests
21544 wine_fn_config_makefile dlls
/olecli.dll16 enable_win16
21545 wine_fn_config_makefile dlls
/olecli32 enable_olecli32
21546 wine_fn_config_makefile dlls
/oledb32 enable_oledb32
21547 wine_fn_config_makefile dlls
/oledb32
/tests enable_tests
21548 wine_fn_config_makefile dlls
/oledlg enable_oledlg
21549 wine_fn_config_makefile dlls
/oledlg
/tests enable_tests
21550 wine_fn_config_makefile dlls
/olepro32 enable_olepro32
21551 wine_fn_config_makefile dlls
/olesvr.dll16 enable_win16
21552 wine_fn_config_makefile dlls
/olesvr32 enable_olesvr32
21553 wine_fn_config_makefile dlls
/olethk32 enable_olethk32
21554 wine_fn_config_makefile dlls
/opcservices enable_opcservices
21555 wine_fn_config_makefile dlls
/opcservices
/tests enable_tests
21556 wine_fn_config_makefile dlls
/opencl enable_opencl
21557 wine_fn_config_makefile dlls
/opengl32 enable_opengl32
21558 wine_fn_config_makefile dlls
/opengl32
/tests enable_tests
21559 wine_fn_config_makefile dlls
/packager enable_packager
21560 wine_fn_config_makefile dlls
/packager
/tests enable_tests
21561 wine_fn_config_makefile dlls
/pdh enable_pdh
21562 wine_fn_config_makefile dlls
/pdh
/tests enable_tests
21563 wine_fn_config_makefile dlls
/photometadatahandler enable_photometadatahandler
21564 wine_fn_config_makefile dlls
/pidgen enable_pidgen
21565 wine_fn_config_makefile dlls
/powrprof enable_powrprof
21566 wine_fn_config_makefile dlls
/printui enable_printui
21567 wine_fn_config_makefile dlls
/prntvpt enable_prntvpt
21568 wine_fn_config_makefile dlls
/prntvpt
/tests enable_tests
21569 wine_fn_config_makefile dlls
/propsys enable_propsys
21570 wine_fn_config_makefile dlls
/propsys
/tests enable_tests
21571 wine_fn_config_makefile dlls
/psapi enable_psapi
21572 wine_fn_config_makefile dlls
/psapi
/tests enable_tests
21573 wine_fn_config_makefile dlls
/pstorec enable_pstorec
21574 wine_fn_config_makefile dlls
/pstorec
/tests enable_tests
21575 wine_fn_config_makefile dlls
/pwrshplugin enable_pwrshplugin
21576 wine_fn_config_makefile dlls
/qasf enable_qasf
21577 wine_fn_config_makefile dlls
/qasf
/tests enable_tests
21578 wine_fn_config_makefile dlls
/qcap enable_qcap
21579 wine_fn_config_makefile dlls
/qcap
/tests enable_tests
21580 wine_fn_config_makefile dlls
/qdvd enable_qdvd
21581 wine_fn_config_makefile dlls
/qdvd
/tests enable_tests
21582 wine_fn_config_makefile dlls
/qedit enable_qedit
21583 wine_fn_config_makefile dlls
/qedit
/tests enable_tests
21584 wine_fn_config_makefile dlls
/qmgr enable_qmgr
21585 wine_fn_config_makefile dlls
/qmgr
/tests enable_tests
21586 wine_fn_config_makefile dlls
/qmgrprxy enable_qmgrprxy
21587 wine_fn_config_makefile dlls
/quartz enable_quartz
21588 wine_fn_config_makefile dlls
/quartz
/tests enable_tests
21589 wine_fn_config_makefile dlls
/query enable_query
21590 wine_fn_config_makefile dlls
/qwave enable_qwave
21591 wine_fn_config_makefile dlls
/qwave
/tests enable_tests
21592 wine_fn_config_makefile dlls
/rasapi16.dll16 enable_win16
21593 wine_fn_config_makefile dlls
/rasapi32 enable_rasapi32
21594 wine_fn_config_makefile dlls
/rasapi32
/tests enable_tests
21595 wine_fn_config_makefile dlls
/rasdlg enable_rasdlg
21596 wine_fn_config_makefile dlls
/regapi enable_regapi
21597 wine_fn_config_makefile dlls
/resutils enable_resutils
21598 wine_fn_config_makefile dlls
/riched20 enable_riched20
21599 wine_fn_config_makefile dlls
/riched20
/tests enable_tests
21600 wine_fn_config_makefile dlls
/riched32 enable_riched32
21601 wine_fn_config_makefile dlls
/riched32
/tests enable_tests
21602 wine_fn_config_makefile dlls
/rpcrt4 enable_rpcrt4
21603 wine_fn_config_makefile dlls
/rpcrt
4/tests enable_tests
21604 wine_fn_config_makefile dlls
/rsabase enable_rsabase
21605 wine_fn_config_makefile dlls
/rsaenh enable_rsaenh
21606 wine_fn_config_makefile dlls
/rsaenh
/tests enable_tests
21607 wine_fn_config_makefile dlls
/rstrtmgr enable_rstrtmgr
21608 wine_fn_config_makefile dlls
/rtutils enable_rtutils
21609 wine_fn_config_makefile dlls
/rtworkq enable_rtworkq
21610 wine_fn_config_makefile dlls
/rtworkq
/tests enable_tests
21611 wine_fn_config_makefile dlls
/samlib enable_samlib
21612 wine_fn_config_makefile dlls
/sane.ds enable_sane_ds
21613 wine_fn_config_makefile dlls
/sapi enable_sapi
21614 wine_fn_config_makefile dlls
/sapi
/tests enable_tests
21615 wine_fn_config_makefile dlls
/sas enable_sas
21616 wine_fn_config_makefile dlls
/scarddlg enable_scarddlg
21617 wine_fn_config_makefile dlls
/scardsvr enable_scardsvr
21618 wine_fn_config_makefile dlls
/sccbase enable_sccbase
21619 wine_fn_config_makefile dlls
/schannel enable_schannel
21620 wine_fn_config_makefile dlls
/schannel
/tests enable_tests
21621 wine_fn_config_makefile dlls
/schedsvc enable_schedsvc
21622 wine_fn_config_makefile dlls
/schedsvc
/tests enable_tests
21623 wine_fn_config_makefile dlls
/scrobj enable_scrobj
21624 wine_fn_config_makefile dlls
/scrobj
/tests enable_tests
21625 wine_fn_config_makefile dlls
/scrrun enable_scrrun
21626 wine_fn_config_makefile dlls
/scrrun
/tests enable_tests
21627 wine_fn_config_makefile dlls
/scsiport.sys enable_scsiport_sys
21628 wine_fn_config_makefile dlls
/sechost enable_sechost
21629 wine_fn_config_makefile dlls
/secur32 enable_secur32
21630 wine_fn_config_makefile dlls
/secur32
/tests enable_tests
21631 wine_fn_config_makefile dlls
/security enable_security
21632 wine_fn_config_makefile dlls
/sensapi enable_sensapi
21633 wine_fn_config_makefile dlls
/serialui enable_serialui
21634 wine_fn_config_makefile dlls
/serialui
/tests enable_tests
21635 wine_fn_config_makefile dlls
/setupapi enable_setupapi
21636 wine_fn_config_makefile dlls
/setupapi
/tests enable_tests
21637 wine_fn_config_makefile dlls
/setupx.dll16 enable_win16
21638 wine_fn_config_makefile dlls
/sfc enable_sfc
21639 wine_fn_config_makefile dlls
/sfc_os enable_sfc_os
21640 wine_fn_config_makefile dlls
/shcore enable_shcore
21641 wine_fn_config_makefile dlls
/shcore
/tests enable_tests
21642 wine_fn_config_makefile dlls
/shdoclc enable_shdoclc
21643 wine_fn_config_makefile dlls
/shdocvw enable_shdocvw
21644 wine_fn_config_makefile dlls
/shdocvw
/tests enable_tests
21645 wine_fn_config_makefile dlls
/shell.dll16 enable_win16
21646 wine_fn_config_makefile dlls
/shell32 enable_shell32
21647 wine_fn_config_makefile dlls
/shell32
/tests enable_tests
21648 wine_fn_config_makefile dlls
/shfolder enable_shfolder
21649 wine_fn_config_makefile dlls
/shlwapi enable_shlwapi
21650 wine_fn_config_makefile dlls
/shlwapi
/tests enable_tests
21651 wine_fn_config_makefile dlls
/slbcsp enable_slbcsp
21652 wine_fn_config_makefile dlls
/slc enable_slc
21653 wine_fn_config_makefile dlls
/slc
/tests enable_tests
21654 wine_fn_config_makefile dlls
/snmpapi enable_snmpapi
21655 wine_fn_config_makefile dlls
/snmpapi
/tests enable_tests
21656 wine_fn_config_makefile dlls
/softpub enable_softpub
21657 wine_fn_config_makefile dlls
/sound.drv16 enable_win16
21658 wine_fn_config_makefile dlls
/spoolss enable_spoolss
21659 wine_fn_config_makefile dlls
/spoolss
/tests enable_tests
21660 wine_fn_config_makefile dlls
/sppc enable_sppc
21661 wine_fn_config_makefile dlls
/srclient enable_srclient
21662 wine_fn_config_makefile dlls
/srvcli enable_srvcli
21663 wine_fn_config_makefile dlls
/sspicli enable_sspicli
21664 wine_fn_config_makefile dlls
/stdole2.tlb enable_stdole2_tlb
21665 wine_fn_config_makefile dlls
/stdole32.tlb enable_stdole32_tlb
21666 wine_fn_config_makefile dlls
/sti enable_sti
21667 wine_fn_config_makefile dlls
/sti
/tests enable_tests
21668 wine_fn_config_makefile dlls
/storage.dll16 enable_win16
21669 wine_fn_config_makefile dlls
/stress.dll16 enable_win16
21670 wine_fn_config_makefile dlls
/strmdll enable_strmdll
21671 wine_fn_config_makefile dlls
/svrapi enable_svrapi
21672 wine_fn_config_makefile dlls
/sxs enable_sxs
21673 wine_fn_config_makefile dlls
/sxs
/tests enable_tests
21674 wine_fn_config_makefile dlls
/system.drv16 enable_win16
21675 wine_fn_config_makefile dlls
/t2embed enable_t2embed
21676 wine_fn_config_makefile dlls
/t2embed
/tests enable_tests
21677 wine_fn_config_makefile dlls
/tapi32 enable_tapi32
21678 wine_fn_config_makefile dlls
/tapi32
/tests enable_tests
21679 wine_fn_config_makefile dlls
/taskschd enable_taskschd
21680 wine_fn_config_makefile dlls
/taskschd
/tests enable_tests
21681 wine_fn_config_makefile dlls
/tbs enable_tbs
21682 wine_fn_config_makefile dlls
/tdh enable_tdh
21683 wine_fn_config_makefile dlls
/tdi.sys enable_tdi_sys
21684 wine_fn_config_makefile dlls
/threadpoolwinrt enable_threadpoolwinrt
21685 wine_fn_config_makefile dlls
/threadpoolwinrt
/tests enable_tests
21686 wine_fn_config_makefile dlls
/toolhelp.dll16 enable_win16
21687 wine_fn_config_makefile dlls
/traffic enable_traffic
21688 wine_fn_config_makefile dlls
/twain.dll16 enable_win16
21689 wine_fn_config_makefile dlls
/twain_32 enable_twain_32
21690 wine_fn_config_makefile dlls
/twain_32
/tests enable_tests
21691 wine_fn_config_makefile dlls
/twinapi.appcore enable_twinapi_appcore
21692 wine_fn_config_makefile dlls
/typelib.dll16 enable_win16
21693 wine_fn_config_makefile dlls
/tzres enable_tzres
21694 wine_fn_config_makefile dlls
/ucrtbase enable_ucrtbase
21695 wine_fn_config_makefile dlls
/ucrtbase
/tests enable_tests
21696 wine_fn_config_makefile dlls
/uianimation enable_uianimation
21697 wine_fn_config_makefile dlls
/uianimation
/tests enable_tests
21698 wine_fn_config_makefile dlls
/uiautomationcore enable_uiautomationcore
21699 wine_fn_config_makefile dlls
/uiautomationcore
/tests enable_tests
21700 wine_fn_config_makefile dlls
/uiribbon enable_uiribbon
21701 wine_fn_config_makefile dlls
/unicows enable_unicows
21702 wine_fn_config_makefile dlls
/updspapi enable_updspapi
21703 wine_fn_config_makefile dlls
/url enable_url
21704 wine_fn_config_makefile dlls
/urlmon enable_urlmon
21705 wine_fn_config_makefile dlls
/urlmon
/tests enable_tests
21706 wine_fn_config_makefile dlls
/usbd.sys enable_usbd_sys
21707 wine_fn_config_makefile dlls
/user.exe16 enable_win16
21708 wine_fn_config_makefile dlls
/user32 enable_user32
21709 wine_fn_config_makefile dlls
/user32
/tests enable_tests
21710 wine_fn_config_makefile dlls
/userenv enable_userenv
21711 wine_fn_config_makefile dlls
/userenv
/tests enable_tests
21712 wine_fn_config_makefile dlls
/usp10 enable_usp10
21713 wine_fn_config_makefile dlls
/usp10
/tests enable_tests
21714 wine_fn_config_makefile dlls
/utildll enable_utildll
21715 wine_fn_config_makefile dlls
/uxtheme enable_uxtheme
21716 wine_fn_config_makefile dlls
/uxtheme
/tests enable_tests
21717 wine_fn_config_makefile dlls
/vbscript enable_vbscript
21718 wine_fn_config_makefile dlls
/vbscript
/tests enable_tests
21719 wine_fn_config_makefile dlls
/vcomp enable_vcomp
21720 wine_fn_config_makefile dlls
/vcomp
/tests enable_tests
21721 wine_fn_config_makefile dlls
/vcomp100 enable_vcomp100
21722 wine_fn_config_makefile dlls
/vcomp110 enable_vcomp110
21723 wine_fn_config_makefile dlls
/vcomp110
/tests enable_tests
21724 wine_fn_config_makefile dlls
/vcomp120 enable_vcomp120
21725 wine_fn_config_makefile dlls
/vcomp140 enable_vcomp140
21726 wine_fn_config_makefile dlls
/vcomp90 enable_vcomp90
21727 wine_fn_config_makefile dlls
/vcruntime140 enable_vcruntime140
21728 wine_fn_config_makefile dlls
/vcruntime140_1 enable_vcruntime140_1
21729 wine_fn_config_makefile dlls
/vdhcp.vxd enable_win16
21730 wine_fn_config_makefile dlls
/vdmdbg enable_vdmdbg
21731 wine_fn_config_makefile dlls
/ver.dll16 enable_win16
21732 wine_fn_config_makefile dlls
/version enable_version
21733 wine_fn_config_makefile dlls
/version
/tests enable_tests
21734 wine_fn_config_makefile dlls
/vga enable_vga
21735 wine_fn_config_makefile dlls
/virtdisk enable_virtdisk
21736 wine_fn_config_makefile dlls
/virtdisk
/tests enable_tests
21737 wine_fn_config_makefile dlls
/vmm.vxd enable_win16
21738 wine_fn_config_makefile dlls
/vnbt.vxd enable_win16
21739 wine_fn_config_makefile dlls
/vnetbios.vxd enable_win16
21740 wine_fn_config_makefile dlls
/vssapi enable_vssapi
21741 wine_fn_config_makefile dlls
/vtdapi.vxd enable_win16
21742 wine_fn_config_makefile dlls
/vulkan-1 enable_vulkan_1
21743 wine_fn_config_makefile dlls
/vulkan-
1/tests enable_tests
21744 wine_fn_config_makefile dlls
/vwin32.vxd enable_win16
21745 wine_fn_config_makefile dlls
/w32skrnl enable_win16
21746 wine_fn_config_makefile dlls
/w32sys.dll16 enable_win16
21747 wine_fn_config_makefile dlls
/wbemdisp enable_wbemdisp
21748 wine_fn_config_makefile dlls
/wbemdisp
/tests enable_tests
21749 wine_fn_config_makefile dlls
/wbemprox enable_wbemprox
21750 wine_fn_config_makefile dlls
/wbemprox
/tests enable_tests
21751 wine_fn_config_makefile dlls
/wdscore enable_wdscore
21752 wine_fn_config_makefile dlls
/webservices enable_webservices
21753 wine_fn_config_makefile dlls
/webservices
/tests enable_tests
21754 wine_fn_config_makefile dlls
/websocket enable_websocket
21755 wine_fn_config_makefile dlls
/wer enable_wer
21756 wine_fn_config_makefile dlls
/wer
/tests enable_tests
21757 wine_fn_config_makefile dlls
/wevtapi enable_wevtapi
21758 wine_fn_config_makefile dlls
/wevtapi
/tests enable_tests
21759 wine_fn_config_makefile dlls
/wevtsvc enable_wevtsvc
21760 wine_fn_config_makefile dlls
/wiaservc enable_wiaservc
21761 wine_fn_config_makefile dlls
/wiaservc
/tests enable_tests
21762 wine_fn_config_makefile dlls
/wimgapi enable_wimgapi
21763 wine_fn_config_makefile dlls
/win32s16.dll16 enable_win16
21764 wine_fn_config_makefile dlls
/win32u enable_win32u
21765 wine_fn_config_makefile dlls
/win32u
/tests enable_tests
21766 wine_fn_config_makefile dlls
/win87em.dll16 enable_win16
21767 wine_fn_config_makefile dlls
/winaspi.dll16 enable_win16
21768 wine_fn_config_makefile dlls
/windebug.dll16 enable_win16
21769 wine_fn_config_makefile dlls
/windows.devices.bluetooth enable_windows_devices_bluetooth
21770 wine_fn_config_makefile dlls
/windows.devices.bluetooth
/tests enable_tests
21771 wine_fn_config_makefile dlls
/windows.devices.enumeration enable_windows_devices_enumeration
21772 wine_fn_config_makefile dlls
/windows.devices.enumeration
/tests enable_tests
21773 wine_fn_config_makefile dlls
/windows.devices.usb enable_windows_devices_usb
21774 wine_fn_config_makefile dlls
/windows.devices.usb
/tests enable_tests
21775 wine_fn_config_makefile dlls
/windows.gaming.input enable_windows_gaming_input
21776 wine_fn_config_makefile dlls
/windows.gaming.input
/tests enable_tests
21777 wine_fn_config_makefile dlls
/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
21778 wine_fn_config_makefile dlls
/windows.gaming.ui.gamebar
/tests enable_tests
21779 wine_fn_config_makefile dlls
/windows.globalization enable_windows_globalization
21780 wine_fn_config_makefile dlls
/windows.globalization
/tests enable_tests
21781 wine_fn_config_makefile dlls
/windows.media.devices enable_windows_media_devices
21782 wine_fn_config_makefile dlls
/windows.media.devices
/tests enable_tests
21783 wine_fn_config_makefile dlls
/windows.media.speech enable_windows_media_speech
21784 wine_fn_config_makefile dlls
/windows.media.speech
/tests enable_tests
21785 wine_fn_config_makefile dlls
/windows.media enable_windows_media
21786 wine_fn_config_makefile dlls
/windows.media
/tests enable_tests
21787 wine_fn_config_makefile dlls
/windows.networking.hostname enable_windows_networking_hostname
21788 wine_fn_config_makefile dlls
/windows.networking.hostname
/tests enable_tests
21789 wine_fn_config_makefile dlls
/windows.networking enable_windows_networking
21790 wine_fn_config_makefile dlls
/windows.perception.stub enable_windows_perception_stub
21791 wine_fn_config_makefile dlls
/windows.perception.stub
/tests enable_tests
21792 wine_fn_config_makefile dlls
/windows.system.profile.systemmanufacturers enable_windows_system_profile_systemmanufacturers
21793 wine_fn_config_makefile dlls
/windows.system.profile.systemmanufacturers
/tests enable_tests
21794 wine_fn_config_makefile dlls
/windows.ui enable_windows_ui
21795 wine_fn_config_makefile dlls
/windows.ui
/tests enable_tests
21796 wine_fn_config_makefile dlls
/windowscodecs enable_windowscodecs
21797 wine_fn_config_makefile dlls
/windowscodecs
/tests enable_tests
21798 wine_fn_config_makefile dlls
/windowscodecsext enable_windowscodecsext
21799 wine_fn_config_makefile dlls
/windowscodecsext
/tests enable_tests
21800 wine_fn_config_makefile dlls
/winealsa.drv enable_winealsa_drv
21801 wine_fn_config_makefile dlls
/wineandroid.drv enable_wineandroid_drv
21802 wine_fn_config_makefile dlls
/winebus.sys enable_winebus_sys
21803 wine_fn_config_makefile dlls
/winecoreaudio.drv enable_winecoreaudio_drv
21804 wine_fn_config_makefile dlls
/winecrt0 enable_winecrt0
21805 wine_fn_config_makefile dlls
/wined3d enable_wined3d
21806 wine_fn_config_makefile dlls
/winegstreamer enable_winegstreamer
21807 wine_fn_config_makefile dlls
/winehid.sys enable_winehid_sys
21808 wine_fn_config_makefile dlls
/winemac.drv enable_winemac_drv
21809 wine_fn_config_makefile dlls
/winemapi enable_winemapi
21810 wine_fn_config_makefile dlls
/wineoss.drv enable_wineoss_drv
21811 wine_fn_config_makefile dlls
/wineps.drv enable_wineps_drv
21812 wine_fn_config_makefile dlls
/wineps16.drv16 enable_win16
21813 wine_fn_config_makefile dlls
/winepulse.drv enable_winepulse_drv
21814 wine_fn_config_makefile dlls
/wineusb.sys enable_wineusb_sys
21815 wine_fn_config_makefile dlls
/winevulkan enable_winevulkan
21816 wine_fn_config_makefile dlls
/winewayland.drv enable_winewayland_drv
21817 wine_fn_config_makefile dlls
/winex11.drv enable_winex11_drv
21818 wine_fn_config_makefile dlls
/winexinput.sys enable_winexinput_sys
21819 wine_fn_config_makefile dlls
/wing.dll16 enable_win16
21820 wine_fn_config_makefile dlls
/wing32 enable_wing32
21821 wine_fn_config_makefile dlls
/winhttp enable_winhttp
21822 wine_fn_config_makefile dlls
/winhttp
/tests enable_tests
21823 wine_fn_config_makefile dlls
/wininet enable_wininet
21824 wine_fn_config_makefile dlls
/wininet
/tests enable_tests
21825 wine_fn_config_makefile dlls
/winmm enable_winmm
21826 wine_fn_config_makefile dlls
/winmm
/tests enable_tests
21827 wine_fn_config_makefile dlls
/winnls.dll16 enable_win16
21828 wine_fn_config_makefile dlls
/winnls32 enable_winnls32
21829 wine_fn_config_makefile dlls
/winprint enable_winprint
21830 wine_fn_config_makefile dlls
/winscard enable_winscard
21831 wine_fn_config_makefile dlls
/winscard
/tests enable_tests
21832 wine_fn_config_makefile dlls
/winsock.dll16 enable_win16
21833 wine_fn_config_makefile dlls
/winspool.drv enable_winspool_drv
21834 wine_fn_config_makefile dlls
/winspool.drv
/tests enable_tests
21835 wine_fn_config_makefile dlls
/winsta enable_winsta
21836 wine_fn_config_makefile dlls
/wintab.dll16 enable_win16
21837 wine_fn_config_makefile dlls
/wintab32 enable_wintab32
21838 wine_fn_config_makefile dlls
/wintab32
/tests enable_tests
21839 wine_fn_config_makefile dlls
/wintrust enable_wintrust
21840 wine_fn_config_makefile dlls
/wintrust
/tests enable_tests
21841 wine_fn_config_makefile dlls
/wintypes enable_wintypes
21842 wine_fn_config_makefile dlls
/wintypes
/tests enable_tests
21843 wine_fn_config_makefile dlls
/winusb enable_winusb
21844 wine_fn_config_makefile dlls
/wlanapi enable_wlanapi
21845 wine_fn_config_makefile dlls
/wlanapi
/tests enable_tests
21846 wine_fn_config_makefile dlls
/wlanui enable_wlanui
21847 wine_fn_config_makefile dlls
/wldap32 enable_wldap32
21848 wine_fn_config_makefile dlls
/wldap32
/tests enable_tests
21849 wine_fn_config_makefile dlls
/wmasf enable_wmasf
21850 wine_fn_config_makefile dlls
/wmi enable_wmi
21851 wine_fn_config_makefile dlls
/wmiutils enable_wmiutils
21852 wine_fn_config_makefile dlls
/wmiutils
/tests enable_tests
21853 wine_fn_config_makefile dlls
/wmp enable_wmp
21854 wine_fn_config_makefile dlls
/wmp
/tests enable_tests
21855 wine_fn_config_makefile dlls
/wmphoto enable_wmphoto
21856 wine_fn_config_makefile dlls
/wmvcore enable_wmvcore
21857 wine_fn_config_makefile dlls
/wmvcore
/tests enable_tests
21858 wine_fn_config_makefile dlls
/wnaspi32 enable_wnaspi32
21859 wine_fn_config_makefile dlls
/wofutil enable_wofutil
21860 wine_fn_config_makefile dlls
/wow32 enable_win16
21861 wine_fn_config_makefile dlls
/wow64 enable_wow64
21862 wine_fn_config_makefile dlls
/wow64cpu enable_wow64cpu
21863 wine_fn_config_makefile dlls
/wow64win enable_wow64win
21864 wine_fn_config_makefile dlls
/wpc enable_wpc
21865 wine_fn_config_makefile dlls
/wpc
/tests enable_tests
21866 wine_fn_config_makefile dlls
/wpcap enable_wpcap
21867 wine_fn_config_makefile dlls
/wpcap
/tests enable_tests
21868 wine_fn_config_makefile dlls
/ws2_32 enable_ws2_32
21869 wine_fn_config_makefile dlls
/ws2_32
/tests enable_tests
21870 wine_fn_config_makefile dlls
/wsdapi enable_wsdapi
21871 wine_fn_config_makefile dlls
/wsdapi
/tests enable_tests
21872 wine_fn_config_makefile dlls
/wshom.ocx enable_wshom_ocx
21873 wine_fn_config_makefile dlls
/wshom.ocx
/tests enable_tests
21874 wine_fn_config_makefile dlls
/wsnmp32 enable_wsnmp32
21875 wine_fn_config_makefile dlls
/wsnmp32
/tests enable_tests
21876 wine_fn_config_makefile dlls
/wsock32 enable_wsock32
21877 wine_fn_config_makefile dlls
/wtsapi32 enable_wtsapi32
21878 wine_fn_config_makefile dlls
/wtsapi32
/tests enable_tests
21879 wine_fn_config_makefile dlls
/wuapi enable_wuapi
21880 wine_fn_config_makefile dlls
/wuaueng enable_wuaueng
21881 wine_fn_config_makefile dlls
/x3daudio1_0 enable_x3daudio1_0
21882 wine_fn_config_makefile dlls
/x3daudio1_1 enable_x3daudio1_1
21883 wine_fn_config_makefile dlls
/x3daudio1_2 enable_x3daudio1_2
21884 wine_fn_config_makefile dlls
/x3daudio1_3 enable_x3daudio1_3
21885 wine_fn_config_makefile dlls
/x3daudio1_4 enable_x3daudio1_4
21886 wine_fn_config_makefile dlls
/x3daudio1_5 enable_x3daudio1_5
21887 wine_fn_config_makefile dlls
/x3daudio1_6 enable_x3daudio1_6
21888 wine_fn_config_makefile dlls
/x3daudio1_7 enable_x3daudio1_7
21889 wine_fn_config_makefile dlls
/xactengine2_0 enable_xactengine2_0
21890 wine_fn_config_makefile dlls
/xactengine2_4 enable_xactengine2_4
21891 wine_fn_config_makefile dlls
/xactengine2_7 enable_xactengine2_7
21892 wine_fn_config_makefile dlls
/xactengine2_9 enable_xactengine2_9
21893 wine_fn_config_makefile dlls
/xactengine3_0 enable_xactengine3_0
21894 wine_fn_config_makefile dlls
/xactengine3_1 enable_xactengine3_1
21895 wine_fn_config_makefile dlls
/xactengine3_2 enable_xactengine3_2
21896 wine_fn_config_makefile dlls
/xactengine3_3 enable_xactengine3_3
21897 wine_fn_config_makefile dlls
/xactengine3_4 enable_xactengine3_4
21898 wine_fn_config_makefile dlls
/xactengine3_5 enable_xactengine3_5
21899 wine_fn_config_makefile dlls
/xactengine3_6 enable_xactengine3_6
21900 wine_fn_config_makefile dlls
/xactengine3_7 enable_xactengine3_7
21901 wine_fn_config_makefile dlls
/xactengine3_
7/tests enable_tests
21902 wine_fn_config_makefile dlls
/xapofx1_1 enable_xapofx1_1
21903 wine_fn_config_makefile dlls
/xapofx1_2 enable_xapofx1_2
21904 wine_fn_config_makefile dlls
/xapofx1_3 enable_xapofx1_3
21905 wine_fn_config_makefile dlls
/xapofx1_4 enable_xapofx1_4
21906 wine_fn_config_makefile dlls
/xapofx1_5 enable_xapofx1_5
21907 wine_fn_config_makefile dlls
/xaudio2_0 enable_xaudio2_0
21908 wine_fn_config_makefile dlls
/xaudio2_1 enable_xaudio2_1
21909 wine_fn_config_makefile dlls
/xaudio2_2 enable_xaudio2_2
21910 wine_fn_config_makefile dlls
/xaudio2_3 enable_xaudio2_3
21911 wine_fn_config_makefile dlls
/xaudio2_4 enable_xaudio2_4
21912 wine_fn_config_makefile dlls
/xaudio2_5 enable_xaudio2_5
21913 wine_fn_config_makefile dlls
/xaudio2_6 enable_xaudio2_6
21914 wine_fn_config_makefile dlls
/xaudio2_7 enable_xaudio2_7
21915 wine_fn_config_makefile dlls
/xaudio2_
7/tests enable_tests
21916 wine_fn_config_makefile dlls
/xaudio2_8 enable_xaudio2_8
21917 wine_fn_config_makefile dlls
/xaudio2_
8/tests enable_tests
21918 wine_fn_config_makefile dlls
/xaudio2_9 enable_xaudio2_9
21919 wine_fn_config_makefile dlls
/xinput1_1 enable_xinput1_1
21920 wine_fn_config_makefile dlls
/xinput1_2 enable_xinput1_2
21921 wine_fn_config_makefile dlls
/xinput1_3 enable_xinput1_3
21922 wine_fn_config_makefile dlls
/xinput1_
3/tests enable_tests
21923 wine_fn_config_makefile dlls
/xinput1_4 enable_xinput1_4
21924 wine_fn_config_makefile dlls
/xinput9_1_0 enable_xinput9_1_0
21925 wine_fn_config_makefile dlls
/xinputuap enable_xinputuap
21926 wine_fn_config_makefile dlls
/xmllite enable_xmllite
21927 wine_fn_config_makefile dlls
/xmllite
/tests enable_tests
21928 wine_fn_config_makefile dlls
/xolehlp enable_xolehlp
21929 wine_fn_config_makefile dlls
/xpsprint enable_xpsprint
21930 wine_fn_config_makefile dlls
/xpssvcs enable_xpssvcs
21931 wine_fn_config_makefile fonts enable_fonts
21932 wine_fn_config_makefile include enable_include
21933 wine_fn_config_makefile libs
/adsiid enable_adsiid
21934 wine_fn_config_makefile libs
/dmoguids enable_dmoguids
21935 wine_fn_config_makefile libs
/dxerr8 enable_dxerr8
21936 wine_fn_config_makefile libs
/dxerr9 enable_dxerr9
21937 wine_fn_config_makefile libs
/dxguid enable_dxguid
21938 wine_fn_config_makefile libs
/faudio enable_faudio
21939 wine_fn_config_makefile libs
/gsm enable_gsm
21940 wine_fn_config_makefile libs
/jpeg enable_jpeg
21941 wine_fn_config_makefile libs
/jxr enable_jxr
21942 wine_fn_config_makefile libs
/lcms2 enable_lcms2
21943 wine_fn_config_makefile libs
/ldap enable_ldap
21944 wine_fn_config_makefile libs
/mfuuid enable_mfuuid
21945 wine_fn_config_makefile libs
/mpg123 enable_mpg123
21946 wine_fn_config_makefile libs
/musl enable_musl
21947 wine_fn_config_makefile libs
/png enable_png
21948 wine_fn_config_makefile libs
/strmbase enable_strmbase
21949 wine_fn_config_makefile libs
/strmiids enable_strmiids
21950 wine_fn_config_makefile libs
/tiff enable_tiff
21951 wine_fn_config_makefile libs
/uuid enable_uuid
21952 wine_fn_config_makefile libs
/vkd3d enable_vkd3d
21953 wine_fn_config_makefile libs
/wbemuuid enable_wbemuuid
21954 wine_fn_config_makefile libs
/wmcodecdspuuid enable_wmcodecdspuuid
21955 wine_fn_config_makefile libs
/xml2 enable_xml2
21956 wine_fn_config_makefile libs
/xslt enable_xslt
21957 wine_fn_config_makefile libs
/zlib enable_zlib
21958 wine_fn_config_makefile libs
/zydis enable_zydis
21959 wine_fn_config_makefile loader enable_loader
21960 wine_fn_config_makefile nls enable_nls
21961 wine_fn_config_makefile po enable_po
21962 wine_fn_config_makefile programs
/arp enable_arp
21963 wine_fn_config_makefile programs
/aspnet_regiis enable_aspnet_regiis
21964 wine_fn_config_makefile programs
/attrib enable_attrib
21965 wine_fn_config_makefile programs
/cabarc enable_cabarc
21966 wine_fn_config_makefile programs
/cacls enable_cacls
21967 wine_fn_config_makefile programs
/certutil enable_certutil
21968 wine_fn_config_makefile programs
/chcp.com enable_chcp_com
21969 wine_fn_config_makefile programs
/clock enable_clock
21970 wine_fn_config_makefile programs
/cmd enable_cmd
21971 wine_fn_config_makefile programs
/cmd
/tests enable_tests
21972 wine_fn_config_makefile programs
/conhost enable_conhost
21973 wine_fn_config_makefile programs
/conhost
/tests enable_tests
21974 wine_fn_config_makefile programs
/control enable_control
21975 wine_fn_config_makefile programs
/cscript enable_cscript
21976 wine_fn_config_makefile programs
/dism enable_dism
21977 wine_fn_config_makefile programs
/dllhost enable_dllhost
21978 wine_fn_config_makefile programs
/dplaysvr enable_dplaysvr
21979 wine_fn_config_makefile programs
/dpnsvr enable_dpnsvr
21980 wine_fn_config_makefile programs
/dpvsetup enable_dpvsetup
21981 wine_fn_config_makefile programs
/dxdiag enable_dxdiag
21982 wine_fn_config_makefile programs
/eject enable_eject
21983 wine_fn_config_makefile programs
/expand enable_expand
21984 wine_fn_config_makefile programs
/explorer enable_explorer
21985 wine_fn_config_makefile programs
/explorer
/tests enable_tests
21986 wine_fn_config_makefile programs
/extrac32 enable_extrac32
21987 wine_fn_config_makefile programs
/fc enable_fc
21988 wine_fn_config_makefile programs
/find enable_find
21989 wine_fn_config_makefile programs
/find
/tests enable_tests
21990 wine_fn_config_makefile programs
/findstr enable_findstr
21991 wine_fn_config_makefile programs
/findstr
/tests enable_tests
21992 wine_fn_config_makefile programs
/fsutil enable_fsutil
21993 wine_fn_config_makefile programs
/fsutil
/tests enable_tests
21994 wine_fn_config_makefile programs
/hh enable_hh
21995 wine_fn_config_makefile programs
/hostname enable_hostname
21996 wine_fn_config_makefile programs
/icacls enable_icacls
21997 wine_fn_config_makefile programs
/icinfo enable_icinfo
21998 wine_fn_config_makefile programs
/iexplore enable_iexplore
21999 wine_fn_config_makefile programs
/ipconfig enable_ipconfig
22000 wine_fn_config_makefile programs
/klist enable_klist
22001 wine_fn_config_makefile programs
/lodctr enable_lodctr
22002 wine_fn_config_makefile programs
/mofcomp enable_mofcomp
22003 wine_fn_config_makefile programs
/mshta enable_mshta
22004 wine_fn_config_makefile programs
/msidb enable_msidb
22005 wine_fn_config_makefile programs
/msiexec enable_msiexec
22006 wine_fn_config_makefile programs
/msinfo32 enable_msinfo32
22007 wine_fn_config_makefile programs
/net enable_net
22008 wine_fn_config_makefile programs
/netsh enable_netsh
22009 wine_fn_config_makefile programs
/netstat enable_netstat
22010 wine_fn_config_makefile programs
/ngen enable_ngen
22011 wine_fn_config_makefile programs
/notepad enable_notepad
22012 wine_fn_config_makefile programs
/oleview enable_oleview
22013 wine_fn_config_makefile programs
/ping enable_ping
22014 wine_fn_config_makefile programs
/plugplay enable_plugplay
22015 wine_fn_config_makefile programs
/pnputil enable_pnputil
22016 wine_fn_config_makefile programs
/powershell enable_powershell
22017 wine_fn_config_makefile programs
/presentationfontcache enable_presentationfontcache
22018 wine_fn_config_makefile programs
/progman enable_progman
22019 wine_fn_config_makefile programs
/reg enable_reg
22020 wine_fn_config_makefile programs
/reg
/tests enable_tests
22021 wine_fn_config_makefile programs
/regasm enable_regasm
22022 wine_fn_config_makefile programs
/regedit enable_regedit
22023 wine_fn_config_makefile programs
/regedit
/tests enable_tests
22024 wine_fn_config_makefile programs
/regini enable_regini
22025 wine_fn_config_makefile programs
/regsvcs enable_regsvcs
22026 wine_fn_config_makefile programs
/regsvr32 enable_regsvr32
22027 wine_fn_config_makefile programs
/robocopy enable_robocopy
22028 wine_fn_config_makefile programs
/rpcss enable_rpcss
22029 wine_fn_config_makefile programs
/rundll.exe16 enable_win16
22030 wine_fn_config_makefile programs
/rundll32 enable_rundll32
22031 wine_fn_config_makefile programs
/sc enable_sc
22032 wine_fn_config_makefile programs
/sc
/tests enable_tests
22033 wine_fn_config_makefile programs
/schtasks enable_schtasks
22034 wine_fn_config_makefile programs
/schtasks
/tests enable_tests
22035 wine_fn_config_makefile programs
/sdbinst enable_sdbinst
22036 wine_fn_config_makefile programs
/secedit enable_secedit
22037 wine_fn_config_makefile programs
/servicemodelreg enable_servicemodelreg
22038 wine_fn_config_makefile programs
/services enable_services
22039 wine_fn_config_makefile programs
/services
/tests enable_tests
22040 wine_fn_config_makefile programs
/setx enable_setx
22041 wine_fn_config_makefile programs
/shutdown enable_shutdown
22042 wine_fn_config_makefile programs
/spoolsv enable_spoolsv
22043 wine_fn_config_makefile programs
/start enable_start
22044 wine_fn_config_makefile programs
/subst enable_subst
22045 wine_fn_config_makefile programs
/svchost enable_svchost
22046 wine_fn_config_makefile programs
/systeminfo enable_systeminfo
22047 wine_fn_config_makefile programs
/taskkill enable_taskkill
22048 wine_fn_config_makefile programs
/tasklist enable_tasklist
22049 wine_fn_config_makefile programs
/tasklist
/tests enable_tests
22050 wine_fn_config_makefile programs
/taskmgr enable_taskmgr
22051 wine_fn_config_makefile programs
/termsv enable_termsv
22052 wine_fn_config_makefile programs
/uninstaller enable_uninstaller
22053 wine_fn_config_makefile programs
/unlodctr enable_unlodctr
22054 wine_fn_config_makefile programs
/view enable_view
22055 wine_fn_config_makefile programs
/wevtutil enable_wevtutil
22056 wine_fn_config_makefile programs
/where enable_where
22057 wine_fn_config_makefile programs
/whoami enable_whoami
22058 wine_fn_config_makefile programs
/wineboot enable_wineboot
22059 wine_fn_config_makefile programs
/winebrowser enable_winebrowser
22060 wine_fn_config_makefile programs
/winecfg enable_winecfg
22061 wine_fn_config_makefile programs
/wineconsole enable_wineconsole
22062 wine_fn_config_makefile programs
/winedbg enable_winedbg
22063 wine_fn_config_makefile programs
/winedevice enable_winedevice
22064 wine_fn_config_makefile programs
/winefile enable_winefile
22065 wine_fn_config_makefile programs
/winemenubuilder enable_winemenubuilder
22066 wine_fn_config_makefile programs
/winemine enable_winemine
22067 wine_fn_config_makefile programs
/winemsibuilder enable_winemsibuilder
22068 wine_fn_config_makefile programs
/winepath enable_winepath
22069 wine_fn_config_makefile programs
/winetest enable_winetest
22070 wine_fn_config_makefile programs
/winevdm enable_win16
22071 wine_fn_config_makefile programs
/winhelp.exe16 enable_win16
22072 wine_fn_config_makefile programs
/winhlp32 enable_winhlp32
22073 wine_fn_config_makefile programs
/winmgmt enable_winmgmt
22074 wine_fn_config_makefile programs
/winoldap.mod16 enable_win16
22075 wine_fn_config_makefile programs
/winver enable_winver
22076 wine_fn_config_makefile programs
/wmic enable_wmic
22077 wine_fn_config_makefile programs
/wmplayer enable_wmplayer
22078 wine_fn_config_makefile programs
/wordpad enable_wordpad
22079 wine_fn_config_makefile programs
/write enable_write
22080 wine_fn_config_makefile programs
/wscript enable_wscript
22081 wine_fn_config_makefile programs
/wscript
/tests enable_tests
22082 wine_fn_config_makefile programs
/wuauserv enable_wuauserv
22083 wine_fn_config_makefile programs
/wusa enable_wusa
22084 wine_fn_config_makefile programs
/xcopy enable_xcopy
22085 wine_fn_config_makefile programs
/xcopy
/tests enable_tests
22086 wine_fn_config_makefile server enable_server
22087 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22088 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/sfnt2fon enable_sfnt2fon
22089 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/widl enable_widl
22090 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winebuild enable_winebuild
22091 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winedump enable_winedump
22092 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winegcc enable_winegcc
22093 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winemaker enable_winemaker
22094 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/wmc enable_wmc
22095 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/wrc enable_wrc
22098 as_fn_append CONFIGURE_TARGETS
" TAGS"
22099 as_fn_append CONFIGURE_TARGETS
" tags"
22100 as_fn_append CONFIGURE_TARGETS
" autom4te.cache"
22101 as_fn_append CONFIGURE_TARGETS
" config.log"
22102 as_fn_append CONFIGURE_TARGETS
" config.status"
22103 as_fn_append CONFIGURE_TARGETS
" include/config.h"
22104 as_fn_append CONFIGURE_TARGETS
" include/stamp-h"
22105 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine"
22107 if test "x$enable_tools" != xno
22109 as_fn_append CONFIGURE_TARGETS
" tools/makedep$ac_exeext"
22110 ac_config_commands
="$ac_config_commands tools/makedep"
22114 ac_config_commands
="$ac_config_commands Makefile"
22121 as_fn_append wine_rules
"
22123 @echo \"Wine build complete.\"
22127 Makefile: config.status \$(MAKEDEP)
22128 @./config.status Makefile
22129 depend: \$(MAKEDEP)
22130 \$(MAKEDEP)$makedep_flags"
22133 as_fn_append wine_rules
"
22134 config.status: ${wine_srcdir}configure
22135 @./config.status --recheck
22136 include/config.h: include/stamp-h
22137 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22138 @./config.status include/config.h include/stamp-h"
22140 if test "x$enable_maintainer_mode" = xyes
22142 as_fn_append wine_rules
"
22143 configure: configure.ac aclocal.m4
22144 autoconf --warnings=all
22145 include/config.h.in: include/stamp-h.in
22146 include/stamp-h.in: configure.ac aclocal.m4
22147 autoheader --warnings=all
22148 @echo timestamp > \$@"
22151 if test "x$enable_tools" != xno
22153 as_fn_append wine_rules
"
22154 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22155 @./config.status tools/makedep
22156 Makefile: tools/makedep$ac_exeext"
22158 as_fn_append wine_rules
"
22160 @echo \"You need to run make in $toolsdir first\" && false"
22164 if test -n "$with_wine64"
22166 case "$with_wine64" in
22170 rm -f fonts server
2>/dev
/null
22171 as_fn_append wine_rules
"
22172 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22173 loader/wine64 loader/wine64-preloader:
22174 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22175 $with_wine64/loader/wine:
22176 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22177 $with_wine64/loader/wine-preloader:
22178 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22180 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22182 TOP_INSTALL_DEV
="$TOP_INSTALL_DEV include"
22183 TOP_INSTALL_LIB
="$TOP_INSTALL_LIB \
22187 programs/msidb/msidb \
22188 programs/msiexec/msiexec \
22189 programs/notepad/notepad \
22190 programs/regedit/regedit \
22191 programs/regsvr32/regsvr32 \
22192 programs/wineboot/wineboot \
22193 programs/winecfg/winecfg \
22194 programs/wineconsole/wineconsole \
22195 programs/winedbg/winedbg \
22196 programs/winefile/winefile \
22197 programs/winemine/winemine \
22198 programs/winepath/winepath \
22202 cygwin
*|mingw32
*|darwin
*|macosx
*|linux-android
*) ;;
22203 *) TOP_INSTALL_LIB
="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22208 as_fn_append wine_rules
"
22210 rm -rf autom4te.cache
22212 rm -f configure include/config.h.in"
22215 as_fn_append wine_rules
"
22216 dlls/ntdll/unix/version.c: dummy
22217 @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)
22218 programs/winetest/build.rc: dummy
22219 @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)
22220 programs/winetest/build.nfo:
22222 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
22223 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22224 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22227 TAGSFLAGS
="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22229 as_fn_append wine_rules
"
22232 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22235 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22237 .PHONY: depend dummy install-manpages"
22239 printf "%s\n" " done" >&6
22240 cat >confcache
<<\_ACEOF
22241 # This file is a shell script that caches the results of configure
22242 # tests run on this system so they can be shared between configure
22243 # scripts and configure runs, see configure's option --config-cache.
22244 # It is not useful on other systems. If it contains results you don't
22245 # want to keep, you may remove or edit it.
22247 # config.status only pays attention to the cache file if you give it
22248 # the --recheck option to rerun configure.
22250 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22251 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22252 # following values.
22256 # The following way of writing the cache mishandles newlines in values,
22257 # but we know of no workaround that is simple, portable, and efficient.
22258 # So, we kill variables containing newlines.
22259 # Ultrix sh set writes to stderr and can't be redirected directly,
22260 # and sets the high bit in the cache file unless we assign to the vars.
22262 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22263 eval ac_val
=\$
$ac_var
22267 *_cv_
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22268 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22271 _ | IFS | as_nl
) ;; #(
22272 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
22273 *) { eval $ac_var=; unset $ac_var;} ;;
22279 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22280 *${as_nl}ac_space
=\
*)
22281 # `set' does not quote correctly, so add quotes: double-quote
22282 # substitution turns \\\\ into \\, and sed turns \\ into \.
22285 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22288 # `set' quotes correctly as required by POSIX, so do not add quotes.
22289 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22298 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22300 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22302 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22303 if test -w "$cache_file"; then
22304 if test "x$cache_file" != "x/dev/null"; then
22305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22306 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22307 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
22308 cat confcache
>"$cache_file"
22310 case $cache_file in #(
22312 mv -f confcache
"$cache_file"$$
&&
22313 mv -f "$cache_file"$$
"$cache_file" ;; #(
22315 mv -f confcache
"$cache_file" ;;
22320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22321 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22326 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22327 # Let make expand exec_prefix.
22328 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22330 DEFS
=-DHAVE_CONFIG_H
22335 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22336 # 1. Remove the extension, and $U if already installed.
22337 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
22338 ac_i
=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22339 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22340 # will be set to the directory where LIBOBJS objects are built.
22341 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22342 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
22344 LIBOBJS
=$ac_libobjs
22346 LTLIBOBJS
=$ac_ltlibobjs
22350 : "${CONFIG_STATUS=./config.status}"
22352 ac_clean_files_save
=$ac_clean_files
22353 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22355 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22357 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22359 # Generated by $as_me.
22360 # Run this file to recreate the current configuration.
22361 # Compiler output produced by configure, useful for debugging
22362 # configure, is in config.log if it exists.
22365 ac_cs_recheck=false
22368 SHELL=\${CONFIG_SHELL-$SHELL}
22371 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
22372 ## -------------------- ##
22373 ## M4sh Initialization. ##
22374 ## -------------------- ##
22376 # Be more Bourne compatible
22377 DUALCASE
=1; export DUALCASE
# for MKS sh
22379 if test ${ZSH_VERSION+y} && (emulate sh
) >/dev
/null
2>&1
22383 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22384 # is contrary to our usage. Disable this feature.
22385 alias -g '${1+"$@"}'='"$@"'
22386 setopt NO_GLOB_SUBST
22388 case `(set -o) 2>/dev/null` in #(
22398 # Reset variables that may have inherited troublesome values from
22401 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22402 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22403 # side effect of setting IFS to empty, thus disabling word splitting.)
22404 # Quoting is to prevent editors from complaining about space-tab.
22414 # Ensure predictable behavior from utilities with locale-dependent output.
22420 # We cannot yet rely on "unset" to work, but we need these variables
22421 # to be unset--not just set to an empty or harmless value--now, to
22422 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22423 # also avoids known problems related to "unset" and subshell syntax
22424 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22425 for as_var
in BASH_ENV ENV MAIL MAILPATH CDPATH
22426 do eval test \
${$as_var+y} \
22427 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
22430 # Ensure that fds 0, 1, and 2 are open.
22431 if (exec 3>&0) 2>/dev
/null
; then :; else exec 0</dev
/null
; fi
22432 if (exec 3>&1) 2>/dev
/null
; then :; else exec 1>/dev
/null
; fi
22433 if (exec 3>&2) ; then :; else exec 2>/dev
/null
; fi
22435 # The user is always right.
22436 if ${PATH_SEPARATOR+false} :; then
22438 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
22439 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
22445 # Find who we are. Look in the path if we contain no directory separator.
22448 *[\\/]* ) as_myself
=$0 ;;
22449 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22450 for as_dir
in $PATH
22453 case $as_dir in #(((
22456 *) as_dir
=$as_dir/ ;;
22458 test -r "$as_dir$0" && as_myself
=$as_dir$0 && break
22464 # We did not find ourselves, most probably we were run as `sh COMMAND'
22465 # in which case we are not to be found in the path.
22466 if test "x$as_myself" = x
; then
22469 if test ! -f "$as_myself"; then
22470 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22476 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22477 # ----------------------------------------
22478 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22479 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22480 # script with STATUS, using 1 if that was 0.
22483 as_status
=$1; test $as_status -eq 0 && as_status
=1
22485 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
22486 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22488 printf "%s\n" "$as_me: error: $2" >&2
22489 as_fn_exit
$as_status
22494 # as_fn_set_status STATUS
22495 # -----------------------
22496 # Set $? to STATUS, without forking.
22497 as_fn_set_status
()
22500 } # as_fn_set_status
22502 # as_fn_exit STATUS
22503 # -----------------
22504 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22508 as_fn_set_status
$1
22514 # Portably unset VAR.
22517 { eval $1=; unset $1;}
22519 as_unset
=as_fn_unset
22521 # as_fn_append VAR VALUE
22522 # ----------------------
22523 # Append the text in VALUE to the end of the definition contained in VAR. Take
22524 # advantage of any shell optimizations that allow amortized linear growth over
22525 # repeated appends, instead of the typical quadratic growth present in naive
22527 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
22529 eval 'as_fn_append ()
22540 # as_fn_arith ARG...
22541 # ------------------
22542 # Perform arithmetic evaluation on the ARGs, and store the result in the
22543 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22544 # must be portable across $(()) and expr.
22545 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
22547 eval 'as_fn_arith ()
22554 as_val
=`expr "$@" || test $? -eq 1`
22559 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22560 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22566 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22567 as_basename
=basename
22572 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
22578 as_me
=`$as_basename -- "$0" ||
22579 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22580 X"$0" : 'X\(//\)$' \| \
22581 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22582 printf "%s\n" X/"$0" |
22583 sed '/^.*\/\([^/][^/]*\)\/*$/{
22597 # Avoid depending upon Character Ranges.
22598 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22599 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22600 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22601 as_cr_digits
='0123456789'
22602 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22605 # Determine whether it's possible to make 'echo' print without a newline.
22606 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22607 # for compatibility with existing Makefiles.
22608 ECHO_C
= ECHO_N
= ECHO_T
=
22609 case `echo -n x` in #(((((
22611 case `echo 'xy\c'` in
22612 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
22614 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
22621 # For backward compatibility with old third-party macros, we provide
22622 # the shell variables $as_echo and $as_echo_n. New code should use
22623 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22624 as_echo
='printf %s\n'
22625 as_echo_n
='printf %s'
22627 rm -f conf$$ conf$$.exe conf$$.
file
22628 if test -d conf$$.dir
; then
22629 rm -f conf$$.dir
/conf$$.
file
22632 mkdir conf$$.dir
2>/dev
/null
22634 if (echo >conf$$.
file) 2>/dev
/null
; then
22635 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22637 # ... but there are two gotchas:
22638 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22639 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22640 # In both cases, we have to default to `cp -pR'.
22641 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
22643 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22651 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
22652 rmdir conf$$.dir
2>/dev
/null
22657 # Create "$as_dir" as a directory, including parents if necessary.
22662 -*) as_dir
=.
/$as_dir;;
22664 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
22668 *\'*) as_qdir
=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22669 *) as_qdir
=$as_dir;;
22671 as_dirs
="'$as_qdir' $as_dirs"
22672 as_dir
=`$as_dirname -- "$as_dir" ||
22673 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22674 X"$as_dir" : 'X\(//\)[^/]' \| \
22675 X"$as_dir" : 'X\(//\)$' \| \
22676 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22677 printf "%s\n" X"$as_dir" |
22678 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22682 /^X\(\/\/\)[^/].*/{
22695 test -d "$as_dir" && break
22697 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22698 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
22702 if mkdir
-p .
2>/dev
/null
; then
22703 as_mkdir_p
='mkdir -p "$as_dir"'
22705 test -d .
/-p && rmdir .
/-p
22710 # as_fn_executable_p FILE
22711 # -----------------------
22712 # Test if FILE is an executable regular file.
22713 as_fn_executable_p
()
22715 test -f "$1" && test -x "$1"
22716 } # as_fn_executable_p
22717 as_test_x
='test -x'
22718 as_executable_p
=as_fn_executable_p
22720 # Sed expression to map a string onto a valid CPP name.
22721 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22723 # Sed expression to map a string onto a valid variable name.
22724 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22728 ## ----------------------------------- ##
22729 ## Main body of $CONFIG_STATUS script. ##
22730 ## ----------------------------------- ##
22732 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
22734 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22735 # Save the log message, to keep $0 and so on meaningful, and to
22736 # report actual input values of CONFIG_FILES etc. instead of their
22737 # values after options handling.
22739 This file was extended by Wine $as_me 8.14, which was
22740 generated by GNU Autoconf 2.71. Invocation command line was
22742 CONFIG_FILES = $CONFIG_FILES
22743 CONFIG_HEADERS = $CONFIG_HEADERS
22744 CONFIG_LINKS = $CONFIG_LINKS
22745 CONFIG_COMMANDS = $CONFIG_COMMANDS
22748 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22754 case $ac_config_headers in *"
22755 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
22759 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22760 # Files that config.status was made for.
22761 config_headers="$ac_config_headers"
22762 config_links="$ac_config_links"
22763 config_commands="$ac_config_commands"
22767 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22769 \`$as_me' instantiates files and other configuration actions
22770 from templates according to the current configuration. Unless the files
22771 and actions are specified as TAGs, all are instantiated by default.
22773 Usage: $0 [OPTION]... [TAG]...
22775 -h, --help print this help, then exit
22776 -V, --version print version number and configuration settings, then exit
22777 --config print configuration, then exit
22778 -q, --quiet, --silent
22779 do not print progress messages
22780 -d, --debug don't remove temporary files
22781 --recheck update $as_me by reconfiguring in the same conditions
22782 --header=FILE[:TEMPLATE]
22783 instantiate the configuration header FILE
22785 Configuration headers:
22788 Configuration links:
22791 Configuration commands:
22794 Report bugs to <wine-devel@winehq.org>.
22795 Wine home page: <https://www.winehq.org>."
22798 ac_cs_config
=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
22799 ac_cs_config_escaped
=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
22800 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22801 ac_cs_config='$ac_cs_config_escaped'
22803 Wine config.status 8.14
22804 configured by $0, generated by GNU Autoconf 2.71,
22805 with options \\"\$ac_cs_config\\"
22807 Copyright (C) 2021 Free Software Foundation, Inc.
22808 This config.status script is free software; the Free Software Foundation
22809 gives unlimited permission to copy, distribute and modify it."
22813 test -n "\$AWK" || AWK=awk
22816 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22817 # The default lists apply if the user does not specify any file.
22823 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22824 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
22828 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22840 # Handling of the options.
22841 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
22843 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
22844 printf "%s\n" "$ac_cs_version"; exit ;;
22845 --config |
--confi |
--conf |
--con |
--co |
--c )
22846 printf "%s\n" "$ac_cs_config"; exit ;;
22847 --debug |
--debu |
--deb |
--de |
--d |
-d )
22849 --header |
--heade |
--head |
--hea )
22852 *\'*) ac_optarg
=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22854 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
22855 ac_need_defaults
=false
;;
22857 # Conflict between --help and --header
22858 as_fn_error $?
"ambiguous option: \`$1'
22859 Try \`$0 --help' for more information.";;
22860 --help |
--hel |
-h )
22861 printf "%s\n" "$ac_cs_usage"; exit ;;
22862 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
22863 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
22866 # This is an error.
22867 -*) as_fn_error $?
"unrecognized option: \`$1'
22868 Try \`$0 --help' for more information." ;;
22870 *) as_fn_append ac_config_targets
" $1"
22871 ac_need_defaults
=false
;;
22877 ac_configure_extra_args
=
22879 if $ac_cs_silent; then
22881 ac_configure_extra_args
="$ac_configure_extra_args --silent"
22885 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22886 if \$ac_cs_recheck; then
22887 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22889 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
22890 CONFIG_SHELL='$SHELL'
22891 export CONFIG_SHELL
22896 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22900 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22901 ## Running $as_me. ##
22903 printf "%s\n" "$ac_log"
22907 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22911 wine_fn_output_makedep ()
22913 as_dir=tools; as_fn_mkdir_p
22914 $CC -I${wine_srcdir}tools -Iinclude -I${wine_srcdir}include -D__WINESRC__ -DWINE_UNIX_LIB $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext ${wine_srcdir}tools/makedep.c $LDFLAGS
22916 wine_fn_output_makefile ()
22918 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
22919 # This Makefile understands the following targets:
22921 # all (default): build wine
22922 # clean: remove all intermediate files
22923 # distclean: also remove all files created by configure
22925 # testclean: clean test results to force running all tests again
22926 # install-lib: install libraries needed to run applications
22927 # install-dev: install development environment
22928 # install: install everything
22929 # uninstall: uninstall everything
22930 # ctags: create a tags file for vim and others.
22931 # etags: create a TAGS file for Emacs.
22934 PATH_SEPARATOR = $PATH_SEPARATOR
22935 PACKAGE_NAME = $PACKAGE_NAME
22936 PACKAGE_TARNAME = $PACKAGE_TARNAME
22937 PACKAGE_VERSION = $PACKAGE_VERSION
22938 PACKAGE_STRING = $PACKAGE_STRING
22939 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
22940 PACKAGE_URL = $PACKAGE_URL
22941 exec_prefix = $exec_prefix
22943 program_transform_name = $program_transform_name
22946 libexecdir = $libexecdir
22947 datarootdir = $datarootdir
22949 sysconfdir = $sysconfdir
22950 sharedstatedir = $sharedstatedir
22951 localstatedir = $localstatedir
22952 runstatedir = $runstatedir
22953 includedir = $includedir
22954 oldincludedir = $oldincludedir
22962 localedir = $localedir
22969 build_alias = $build_alias
22970 host_alias = $host_alias
22971 target_alias = $target_alias
22972 system_dllpath = $system_dllpath
22974 build_cpu = $build_cpu
22975 build_vendor = $build_vendor
22976 build_os = $build_os
22978 host_cpu = $host_cpu
22979 host_vendor = $host_vendor
22985 SET_MAKE = $SET_MAKE
22989 CPPFLAGS = $CPPFLAGS
22990 ac_ct_CC = $ac_ct_CC
22994 CXXFLAGS = $CXXFLAGS
22995 ac_ct_CXX = $ac_ct_CXX
22998 TARGETFLAGS = $TARGETFLAGS
22999 toolsext = $toolsext
23000 HOST_ARCH = $HOST_ARCH
23001 aarch64_CC = $aarch64_CC
23002 aarch64_CFLAGS = $aarch64_CFLAGS
23003 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
23004 aarch64_LDFLAGS = $aarch64_LDFLAGS
23005 aarch64_DEBUG = $aarch64_DEBUG
23006 aarch64_TARGET = $aarch64_TARGET
23007 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
23008 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
23010 arm_CFLAGS = $arm_CFLAGS
23011 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
23012 arm_LDFLAGS = $arm_LDFLAGS
23013 arm_DEBUG = $arm_DEBUG
23014 arm_TARGET = $arm_TARGET
23015 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
23016 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
23018 i386_CFLAGS = $i386_CFLAGS
23019 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
23020 i386_LDFLAGS = $i386_LDFLAGS
23021 i386_DEBUG = $i386_DEBUG
23022 i386_TARGET = $i386_TARGET
23023 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
23024 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
23025 x86_64_CC = $x86_64_CC
23026 x86_64_CFLAGS = $x86_64_CFLAGS
23027 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
23028 x86_64_LDFLAGS = $x86_64_LDFLAGS
23029 x86_64_DEBUG = $x86_64_DEBUG
23030 x86_64_TARGET = $x86_64_TARGET
23031 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
23032 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
23033 toolsdir = $toolsdir
23035 RUNTESTFLAGS = $RUNTESTFLAGS
23040 ac_ct_AR = $ac_ct_AR
23046 LDCONFIG = $LDCONFIG
23048 PKG_CONFIG = $PKG_CONFIG
23049 FONTFORGE = $FONTFORGE
23053 I386_LIBS = $I386_LIBS
23054 OPENGL_LIBS = $OPENGL_LIBS
23055 DLLFLAGS = $DLLFLAGS
23056 LDDLLFLAGS = $LDDLLFLAGS
23057 LDEXECFLAGS = $LDEXECFLAGS
23058 EXTRACFLAGS = $EXTRACFLAGS
23059 UNIXDLLFLAGS = $UNIXDLLFLAGS
23060 UNIXLDFLAGS = $UNIXLDFLAGS
23061 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23062 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23063 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23064 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23070 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23071 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23072 CARBON_LIBS = $CARBON_LIBS
23073 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23074 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23075 IOKIT_LIBS = $IOKIT_LIBS
23076 METAL_LIBS = $METAL_LIBS
23077 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23078 CORESERVICES_LIBS = $CORESERVICES_LIBS
23079 APPKIT_LIBS = $APPKIT_LIBS
23080 SECURITY_LIBS = $SECURITY_LIBS
23081 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23082 COREAUDIO_LIBS = $COREAUDIO_LIBS
23083 OPENCL_LIBS = $OPENCL_LIBS
23085 OBJCFLAGS = $OBJCFLAGS
23086 ac_ct_OBJC = $ac_ct_OBJC
23087 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23088 PE_ARCHS = $PE_ARCHS
23089 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23090 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23091 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23092 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23093 GSM_PE_LIBS = $GSM_PE_LIBS
23094 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23095 JPEG_PE_LIBS = $JPEG_PE_LIBS
23096 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23097 JXR_PE_LIBS = $JXR_PE_LIBS
23098 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23099 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23100 LDAP_PE_CFLAGS = $LDAP_PE_CFLAGS
23101 LDAP_PE_LIBS = $LDAP_PE_LIBS
23102 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23103 MPG123_PE_LIBS = $MPG123_PE_LIBS
23104 MUSL_PE_CFLAGS = $MUSL_PE_CFLAGS
23105 MUSL_PE_LIBS = $MUSL_PE_LIBS
23106 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23107 PNG_PE_LIBS = $PNG_PE_LIBS
23108 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23109 TIFF_PE_LIBS = $TIFF_PE_LIBS
23110 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23111 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23112 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23113 XML2_PE_LIBS = $XML2_PE_LIBS
23114 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23115 XSLT_PE_LIBS = $XSLT_PE_LIBS
23116 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23117 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23118 ZYDIS_PE_CFLAGS = $ZYDIS_PE_CFLAGS
23119 ZYDIS_PE_LIBS = $ZYDIS_PE_LIBS
23120 PTHREAD_LIBS = $PTHREAD_LIBS
23123 X_CFLAGS = $X_CFLAGS
23124 X_PRE_LIBS = $X_PRE_LIBS
23126 X_EXTRA_LIBS = $X_EXTRA_LIBS
23127 WAYLAND_CLIENT_CFLAGS = $WAYLAND_CLIENT_CFLAGS
23128 WAYLAND_CLIENT_LIBS = $WAYLAND_CLIENT_LIBS
23129 WAYLAND_SCANNER = $WAYLAND_SCANNER
23130 PCAP_LIBS = $PCAP_LIBS
23131 PCSCLITE_LIBS = $PCSCLITE_LIBS
23132 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23133 INOTIFY_LIBS = $INOTIFY_LIBS
23134 DBUS_CFLAGS = $DBUS_CFLAGS
23135 DBUS_LIBS = $DBUS_LIBS
23136 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23137 GNUTLS_LIBS = $GNUTLS_LIBS
23138 SANE_CFLAGS = $SANE_CFLAGS
23139 SANE_LIBS = $SANE_LIBS
23140 USB_CFLAGS = $USB_CFLAGS
23141 USB_LIBS = $USB_LIBS
23142 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23143 GPHOTO2_LIBS = $GPHOTO2_LIBS
23144 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23145 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23146 RESOLV_LIBS = $RESOLV_LIBS
23147 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23148 FREETYPE_LIBS = $FREETYPE_LIBS
23149 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23150 PULSE_CFLAGS = $PULSE_CFLAGS
23151 PULSE_LIBS = $PULSE_LIBS
23152 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23153 GSTREAMER_LIBS = $GSTREAMER_LIBS
23154 ALSA_LIBS = $ALSA_LIBS
23155 OSS4_CFLAGS = $OSS4_CFLAGS
23156 OSS4_LIBS = $OSS4_LIBS
23157 UDEV_CFLAGS = $UDEV_CFLAGS
23158 UDEV_LIBS = $UDEV_LIBS
23159 UNWIND_CFLAGS = $UNWIND_CFLAGS
23160 UNWIND_LIBS = $UNWIND_LIBS
23161 SDL2_CFLAGS = $SDL2_CFLAGS
23162 SDL2_LIBS = $SDL2_LIBS
23163 CAPI20_CFLAGS = $CAPI20_CFLAGS
23164 CAPI20_LIBS = $CAPI20_LIBS
23165 CUPS_CFLAGS = $CUPS_CFLAGS
23166 CUPS_LIBS = $CUPS_LIBS
23167 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23168 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23169 KRB5_CFLAGS = $KRB5_CFLAGS
23170 KRB5_LIBS = $KRB5_LIBS
23171 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23172 GSSAPI_LIBS = $GSSAPI_LIBS
23173 PROCSTAT_LIBS = $PROCSTAT_LIBS
23174 NETAPI_CFLAGS = $NETAPI_CFLAGS
23175 NETAPI_LIBS = $NETAPI_LIBS
23176 MSVCRTFLAGS = $MSVCRTFLAGS
23177 DELAYLOADFLAG = $DELAYLOADFLAG
23178 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23180 TAGSFLAGS = $TAGSFLAGS
23182 LTLIBOBJS = $LTLIBOBJS
23186 as_fn_error $? "could not create Makefile" "$LINENO" 5
23191 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23193 # Handling of arguments.
23194 for ac_config_target
in $ac_config_targets
23196 case $ac_config_target in
23197 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
23198 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
23199 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
23200 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23201 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
23202 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
23204 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23209 # If the user did not use the arguments to specify the items to instantiate,
23210 # then the envvar interface is used. Set only those that are not.
23211 # We use the long form for the default assignment because of an extremely
23212 # bizarre bug on SunOS 4.1.3.
23213 if $ac_need_defaults; then
23214 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS
=$config_headers
23215 test ${CONFIG_LINKS+y} || CONFIG_LINKS
=$config_links
23216 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS
=$config_commands
23219 # Have a temporary directory for convenience. Make it in the build tree
23220 # simply because there is no reason against having it here, and in addition,
23221 # creating and moving files from /tmp can sometimes cause problems.
23222 # Hook for its removal unless debugging.
23223 # Note that there is a small window in which the directory will not be cleaned:
23224 # after its creation but before its name has been assigned to `$tmp'.
23228 trap 'exit_status=$?
23229 : "${ac_tmp:=$tmp}"
23230 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23232 trap 'as_fn_exit 1' 1 2 13 15
23234 # Create a (secure) tmp directory for tmp files.
23237 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23241 tmp
=.
/conf$$
-$RANDOM
23242 (umask 077 && mkdir
"$tmp")
23243 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
23246 # Set up the scripts for CONFIG_HEADERS section.
23247 # No need to generate them if there are no CONFIG_HEADERS.
23248 # This happens for instance with `./config.status Makefile'.
23249 if test -n "$CONFIG_HEADERS"; then
23250 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23254 # Transform confdefs.h into an awk script `defines.awk', embedded as
23255 # here-document in config.status, that substitutes the proper values into
23256 # config.h.in to produce config.h.
23258 # Create a delimiter string that does not exist in confdefs.h, to ease
23259 # handling of long lines.
23261 for ac_last_try
in false false
:; do
23262 ac_tt
=`sed -n "/$ac_delim/p" confdefs.h`
23263 if test -z "$ac_tt"; then
23265 elif $ac_last_try; then
23266 as_fn_error $?
"could not make $CONFIG_HEADERS" "$LINENO" 5
23268 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
23272 # For the awk script, D is an array of macro values keyed by name,
23273 # likewise P contains macro parameters if any. Preserve backslash
23274 # newline sequences.
23276 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
23278 s/.\{148\}/&'"$ac_delim"'/g
23281 s/^[ ]*#[ ]*define[ ][ ]*/ /
23288 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23290 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23294 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23295 D["\1"]=" \3\\\\\\n"\\/p
23297 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23302 s/.\{148\}/&'"$ac_delim"'/g
23307 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23310 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23312 ' <confdefs.h |
sed '
23313 s/'"$ac_delim"'/"\\\
23314 "/g' >>$CONFIG_STATUS || ac_write_fail
=1
23316 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23317 for (key in D) D_is_set[key] = 1
23320 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23322 split(line, arg, " ")
23323 if (arg[1] == "#") {
23327 defundef = substr(arg[1], 2)
23330 split(mac1, mac2, "(") #)
23332 prefix = substr(line, 1, index(line, defundef) - 1)
23333 if (D_is_set[macro]) {
23334 # Preserve the white space surrounding the "#".
23335 print prefix "define", macro P[macro] D[macro]
23338 # Replace #undef with comments. This is necessary, for example,
23339 # in the case of _POSIX_SOURCE, which is predefined and required
23340 # on some systems where configure will not decide to define it.
23341 if (defundef == "undef") {
23342 print "/*", prefix defundef, macro, "*/"
23350 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23351 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
23352 fi # test -n "$CONFIG_HEADERS"
23355 eval set X
" :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23360 :[FHLC
]) ac_mode
=$ac_tag; continue;;
23362 case $ac_mode$ac_tag in
23364 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
23365 :[FH
]-) ac_tag
=-:-;;
23366 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
23383 -) ac_f
="$ac_tmp/stdin";;
23384 *) # Look for the file first in the build tree, then in the source tree
23385 # (if the path is not absolute). The absolute path cannot be DOS-style,
23386 # because $ac_f cannot contain `:'.
23390 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
23392 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23394 case $ac_f in *\'*) ac_f
=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23395 as_fn_append ac_file_inputs
" '$ac_f'"
23398 # Let's still pretend it is `configure' which instantiates (i.e., don't
23399 # use $as_me), people would be surprised to read:
23400 # /* config.h. Generated by config.status. */
23401 configure_input
='Generated from '`
23402 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23404 if test x
"$ac_file" != x-
; then
23405 configure_input
="$ac_file. $configure_input"
23406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23407 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23409 # Neutralize special characters interpreted by sed in replacement strings.
23410 case $configure_input in #(
23411 *\
&* |
*\|
* |
*\\* )
23412 ac_sed_conf_input
=`printf "%s\n" "$configure_input" |
23413 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23414 *) ac_sed_conf_input
=$configure_input;;
23418 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
23419 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
23424 ac_dir
=`$as_dirname -- "$ac_file" ||
23425 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23426 X"$ac_file" : 'X\(//\)[^/]' \| \
23427 X"$ac_file" : 'X\(//\)$' \| \
23428 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23429 printf "%s\n" X"$ac_file" |
23430 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23434 /^X\(\/\/\)[^/].*/{
23447 as_dir
="$ac_dir"; as_fn_mkdir_p
23451 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23453 ac_dir_suffix
=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23454 # A ".." for each directory in $ac_dir_suffix.
23455 ac_top_builddir_sub
=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23456 case $ac_top_builddir_sub in
23457 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23458 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
23461 ac_abs_top_builddir
=$ac_pwd
23462 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
23463 # for backward compatibility:
23464 ac_top_builddir
=$ac_top_build_prefix
23467 .
) # We are building in place.
23469 ac_top_srcdir
=$ac_top_builddir_sub
23470 ac_abs_top_srcdir
=$ac_pwd ;;
23471 [\\/]* | ?
:[\\/]* ) # Absolute name.
23472 ac_srcdir
=$srcdir$ac_dir_suffix;
23473 ac_top_srcdir
=$srcdir
23474 ac_abs_top_srcdir
=$srcdir ;;
23475 *) # Relative name.
23476 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
23477 ac_top_srcdir
=$ac_top_build_prefix$srcdir
23478 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
23480 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
23489 if test x
"$ac_file" != x-
; then
23491 printf "%s\n" "/* $configure_input */" >&1 \
23492 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23493 } >"$ac_tmp/config.h" \
23494 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5
23495 if diff "$ac_file" "$ac_tmp/config.h" >/dev
/null
2>&1; then
23496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23497 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23500 mv "$ac_tmp/config.h" "$ac_file" \
23501 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5
23504 printf "%s\n" "/* $configure_input */" >&1 \
23505 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23506 || as_fn_error $?
"could not create -" "$LINENO" 5
23514 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23517 # Prefer the file from the source tree if names are identical.
23518 if test "$ac_source" = "$ac_file" ||
test ! -r "$ac_source"; then
23519 ac_source
=$srcdir/$ac_source
23522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23523 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23525 if test ! -r "$ac_source"; then
23526 as_fn_error $?
"$ac_source: file not found" "$LINENO" 5
23530 # Try a relative symlink, then a hard link, then a copy.
23532 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$ac_source ;;
23533 *) ac_rel_source
=$ac_top_build_prefix$ac_source ;;
23535 ln -s "$ac_rel_source" "$ac_file" 2>/dev
/null ||
23536 ln "$ac_source" "$ac_file" 2>/dev
/null ||
23537 cp -p "$ac_source" "$ac_file" ||
23538 as_fn_error $?
"cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23541 :C
) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23542 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23547 case $ac_file$ac_mode in
23548 "include/stamp-h":C
) echo timestamp
> include
/stamp-h
;;
23549 "tools/makedep":C
) wine_fn_output_makedep || as_fn_exit $?
;;
23550 "Makefile":C
) wine_fn_output_makefile Makefile
;;
23558 ac_clean_files
=$ac_clean_files_save
23560 test $ac_write_fail = 0 ||
23561 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
23564 # configure is writing to config.log, and then calls config.status.
23565 # config.status does its own redirection, appending to config.log.
23566 # Unfortunately, on DOS this fails, as config.log is still kept open
23567 # by configure, so config.status won't be able to write to it; its
23568 # output is simply discarded. So we exec the FD to /dev/null,
23569 # effectively closing config.log, so it can be properly (re)opened and
23570 # appended to by config.status. When coming back to configure, we
23571 # need to make the FD available again.
23572 if test "$no_create" != yes; then
23574 ac_config_status_args
=
23575 test "$silent" = yes &&
23576 ac_config_status_args
="$ac_config_status_args --quiet"
23578 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23580 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23581 # would make configure fail if this is the last instruction.
23582 $ac_cs_success || as_fn_exit
1
23584 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
23585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23586 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23590 if test "$no_create" = "yes"
23596 if test "x$wine_notices" != x
; then
23599 for msg
in $wine_notices; do
23605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23606 printf "%s\n" "$as_me: $msg" >&6;}
23611 for msg
in $wine_warnings; do
23618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23619 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23625 $as_me: Finished. Do '${ac_make}' to compile Wine.