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
1133 enable_explorerframe
1150 enable_graphicscapture
1161 enable_hvsimanagementapi
1194 enable_light_msstyles
1199 enable_magnification
1210 enable_mfmediaengine
1275 enable_msvcp140_atomic_wait
1276 enable_msvcp140_codecvt_ids
1342 enable_photometadatahandler
1419 enable_threadpoolwinrt
1422 enable_twinapi_appcore
1426 enable_uiautomationcore
1446 enable_vcruntime140_1
1464 enable_windows_devices_bluetooth
1465 enable_windows_devices_enumeration
1466 enable_windows_devices_usb
1467 enable_windows_gaming_input
1468 enable_windows_gaming_ui_gamebar
1469 enable_windows_globalization
1470 enable_windows_media_devices
1471 enable_windows_media_speech
1472 enable_windows_media
1473 enable_windows_networking_hostname
1474 enable_windows_networking
1475 enable_windows_perception_stub
1476 enable_windows_system_profile_systemmanufacturers
1478 enable_windowscodecs
1479 enable_windowscodecsext
1481 enable_wineandroid_drv
1483 enable_winecoreaudio_drv
1486 enable_winegstreamer
1492 enable_winepulse_drv
1495 enable_winewayland_drv
1497 enable_winexinput_sys
1544 enable_xactengine2_0
1545 enable_xactengine2_4
1546 enable_xactengine2_7
1547 enable_xactengine2_9
1548 enable_xactengine3_0
1549 enable_xactengine3_1
1550 enable_xactengine3_2
1551 enable_xactengine3_3
1552 enable_xactengine3_4
1553 enable_xactengine3_5
1554 enable_xactengine3_6
1555 enable_xactengine3_7
1604 enable_wmcodecdspuuid
1613 enable_aspnet_regiis
1661 enable_presentationfontcache
1676 enable_servicemodelreg
1702 enable_winemenubuilder
1704 enable_winemsibuilder
1729 ac_precious_vars
='build_alias
1774 WAYLAND_CLIENT_CFLAGS
1816 # Initialize some variables set by options.
1818 ac_init_version
=false
1819 ac_unrecognized_opts
=
1820 ac_unrecognized_sep
=
1821 # The variables have the same names as the options, with
1822 # dashes changed to underlines.
1823 cache_file
=/dev
/null
1830 program_transform_name
=s
,x
,x
,
1838 # Installation directory options.
1839 # These are left unexpanded so users can "make install exec_prefix=/foo"
1840 # and all the variables that are supposed to be based on exec_prefix
1841 # by default will actually change.
1842 # Use braces instead of parens because sh, perl, etc. also accept them.
1843 # (The list follows the same order as the GNU Coding Standards.)
1844 bindir
='${exec_prefix}/bin'
1845 sbindir
='${exec_prefix}/sbin'
1846 libexecdir
='${exec_prefix}/libexec'
1847 datarootdir
='${prefix}/share'
1848 datadir
='${datarootdir}'
1849 sysconfdir
='${prefix}/etc'
1850 sharedstatedir
='${prefix}/com'
1851 localstatedir
='${prefix}/var'
1852 runstatedir
='${localstatedir}/run'
1853 includedir
='${prefix}/include'
1854 oldincludedir
='/usr/include'
1855 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1856 infodir
='${datarootdir}/info'
1861 libdir
='${exec_prefix}/lib'
1862 localedir
='${datarootdir}/locale'
1863 mandir
='${datarootdir}/man'
1869 # If the previous option needs an argument, assign it.
1870 if test -n "$ac_prev"; then
1871 eval $ac_prev=\
$ac_option
1877 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1882 case $ac_dashdash$ac_option in
1886 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1888 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1889 bindir
=$ac_optarg ;;
1891 -build |
--build |
--buil |
--bui |
--bu)
1892 ac_prev
=build_alias
;;
1893 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1894 build_alias
=$ac_optarg ;;
1896 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1897 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1898 ac_prev
=cache_file
;;
1899 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1900 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1901 cache_file
=$ac_optarg ;;
1903 --config-cache |
-C)
1904 cache_file
=config.cache
;;
1906 -datadir |
--datadir |
--datadi |
--datad)
1908 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1909 datadir
=$ac_optarg ;;
1911 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1912 |
--dataroo |
--dataro |
--datar)
1913 ac_prev
=datarootdir
;;
1914 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1915 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1916 datarootdir
=$ac_optarg ;;
1918 -disable-* |
--disable-*)
1919 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1920 # Reject names that are not valid shell variable names.
1921 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1922 as_fn_error $?
"invalid feature name: \`$ac_useropt'"
1923 ac_useropt_orig
=$ac_useropt
1924 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1925 case $ac_user_opts in
1927 "enable_
$ac_useropt"
1929 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1930 ac_unrecognized_sep
=', ';;
1932 eval enable_
$ac_useropt=no
;;
1934 -docdir |
--docdir |
--docdi |
--doc |
--do)
1936 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1937 docdir
=$ac_optarg ;;
1939 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1941 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1942 dvidir
=$ac_optarg ;;
1944 -enable-* |
--enable-*)
1945 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1946 # Reject names that are not valid shell variable names.
1947 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1948 as_fn_error $?
"invalid feature name: \`$ac_useropt'"
1949 ac_useropt_orig
=$ac_useropt
1950 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1951 case $ac_user_opts in
1953 "enable_
$ac_useropt"
1955 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1956 ac_unrecognized_sep
=', ';;
1958 eval enable_
$ac_useropt=\
$ac_optarg ;;
1960 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1961 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1962 |
--exec |
--exe |
--ex)
1963 ac_prev
=exec_prefix
;;
1964 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1965 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1966 |
--exec=* |
--exe=* |
--ex=*)
1967 exec_prefix
=$ac_optarg ;;
1969 -gas |
--gas |
--ga |
--g)
1970 # Obsolete; use --with-gas.
1973 -help |
--help |
--hel |
--he |
-h)
1974 ac_init_help
=long
;;
1975 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1976 ac_init_help
=recursive
;;
1977 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1978 ac_init_help
=short
;;
1980 -host |
--host |
--hos |
--ho)
1981 ac_prev
=host_alias
;;
1982 -host=* |
--host=* |
--hos=* |
--ho=*)
1983 host_alias
=$ac_optarg ;;
1985 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1987 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1989 htmldir
=$ac_optarg ;;
1991 -includedir |
--includedir |
--includedi |
--included |
--include \
1992 |
--includ |
--inclu |
--incl |
--inc)
1993 ac_prev
=includedir
;;
1994 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1995 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1996 includedir
=$ac_optarg ;;
1998 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
2000 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
2001 infodir
=$ac_optarg ;;
2003 -libdir |
--libdir |
--libdi |
--libd)
2005 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
2006 libdir
=$ac_optarg ;;
2008 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
2009 |
--libexe |
--libex |
--libe)
2010 ac_prev
=libexecdir
;;
2011 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
2012 |
--libexe=* |
--libex=* |
--libe=*)
2013 libexecdir
=$ac_optarg ;;
2015 -localedir |
--localedir |
--localedi |
--localed |
--locale)
2016 ac_prev
=localedir
;;
2017 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
2018 localedir
=$ac_optarg ;;
2020 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
2021 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
2022 ac_prev
=localstatedir
;;
2023 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
2024 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
2025 localstatedir
=$ac_optarg ;;
2027 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
2029 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
2030 mandir
=$ac_optarg ;;
2032 -nfp |
--nfp |
--nf)
2033 # Obsolete; use --without-fp.
2036 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
2037 |
--no-cr |
--no-c |
-n)
2040 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
2041 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
2044 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
2045 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
2046 |
--oldin |
--oldi |
--old |
--ol |
--o)
2047 ac_prev
=oldincludedir
;;
2048 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
2049 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
2050 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
2051 oldincludedir
=$ac_optarg ;;
2053 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
2055 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
2056 prefix
=$ac_optarg ;;
2058 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
2059 |
--program-pre |
--program-pr |
--program-p)
2060 ac_prev
=program_prefix
;;
2061 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
2062 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
2063 program_prefix
=$ac_optarg ;;
2065 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
2066 |
--program-suf |
--program-su |
--program-s)
2067 ac_prev
=program_suffix
;;
2068 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
2069 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
2070 program_suffix
=$ac_optarg ;;
2072 -program-transform-name |
--program-transform-name \
2073 |
--program-transform-nam |
--program-transform-na \
2074 |
--program-transform-n |
--program-transform- \
2075 |
--program-transform |
--program-transfor \
2076 |
--program-transfo |
--program-transf \
2077 |
--program-trans |
--program-tran \
2078 |
--progr-tra |
--program-tr |
--program-t)
2079 ac_prev
=program_transform_name
;;
2080 -program-transform-name=* |
--program-transform-name=* \
2081 |
--program-transform-nam=* |
--program-transform-na=* \
2082 |
--program-transform-n=* |
--program-transform-=* \
2083 |
--program-transform=* |
--program-transfor=* \
2084 |
--program-transfo=* |
--program-transf=* \
2085 |
--program-trans=* |
--program-tran=* \
2086 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
2087 program_transform_name
=$ac_optarg ;;
2089 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
2091 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
2092 pdfdir
=$ac_optarg ;;
2094 -psdir |
--psdir |
--psdi |
--psd |
--ps)
2096 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
2099 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2100 |
-silent |
--silent |
--silen |
--sile |
--sil)
2103 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
2104 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
2105 |
--run |
--ru |
--r)
2106 ac_prev
=runstatedir
;;
2107 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
2108 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
2109 |
--run=* |
--ru=* |
--r=*)
2110 runstatedir
=$ac_optarg ;;
2112 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
2114 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
2116 sbindir
=$ac_optarg ;;
2118 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
2119 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
2120 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
2122 ac_prev
=sharedstatedir
;;
2123 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
2124 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
2125 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
2127 sharedstatedir
=$ac_optarg ;;
2129 -site |
--site |
--sit)
2131 -site=* |
--site=* |
--sit=*)
2134 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
2136 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
2137 srcdir
=$ac_optarg ;;
2139 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
2140 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
2141 ac_prev
=sysconfdir
;;
2142 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
2143 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
2144 sysconfdir
=$ac_optarg ;;
2146 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
2147 ac_prev
=target_alias
;;
2148 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
2149 target_alias
=$ac_optarg ;;
2151 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
2154 -version |
--version |
--versio |
--versi |
--vers |
-V)
2155 ac_init_version
=: ;;
2158 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2159 # Reject names that are not valid shell variable names.
2160 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2161 as_fn_error $?
"invalid package name: \`$ac_useropt'"
2162 ac_useropt_orig
=$ac_useropt
2163 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2164 case $ac_user_opts in
2168 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2169 ac_unrecognized_sep
=', ';;
2171 eval with_
$ac_useropt=\
$ac_optarg ;;
2173 -without-* |
--without-*)
2174 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2175 # Reject names that are not valid shell variable names.
2176 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2177 as_fn_error $?
"invalid package name: \`$ac_useropt'"
2178 ac_useropt_orig
=$ac_useropt
2179 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2180 case $ac_user_opts in
2184 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2185 ac_unrecognized_sep
=', ';;
2187 eval with_
$ac_useropt=no
;;
2190 # Obsolete; use --with-x.
2193 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
2194 |
--x-incl |
--x-inc |
--x-in |
--x-i)
2195 ac_prev
=x_includes
;;
2196 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
2197 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
2198 x_includes
=$ac_optarg ;;
2200 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
2201 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
2202 ac_prev
=x_libraries
;;
2203 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
2204 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
2205 x_libraries
=$ac_optarg ;;
2207 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
2208 Try \`$0 --help' for more information"
2212 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
2213 # Reject names that are not valid shell variable names.
2214 case $ac_envvar in #(
2215 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
2216 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
2218 eval $ac_envvar=\
$ac_optarg
2219 export $ac_envvar ;;
2222 # FIXME: should be removed in autoconf 3.0.
2223 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2224 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
2225 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2226 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2232 if test -n "$ac_prev"; then
2233 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
2234 as_fn_error $?
"missing argument to $ac_option"
2237 if test -n "$ac_unrecognized_opts"; then
2238 case $enable_option_checking in
2240 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
2241 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2245 # Check all directory arguments for consistency.
2246 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2247 datadir sysconfdir sharedstatedir localstatedir includedir \
2248 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2249 libdir localedir mandir runstatedir
2251 eval ac_val
=\$
$ac_var
2252 # Remove trailing slashes.
2255 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2256 eval $ac_var=\
$ac_val;;
2258 # Be sure to have absolute directory names.
2260 [\\/$
]* | ?
:[\\/]* ) continue;;
2261 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
2263 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
2266 # There might be people who depend on the old broken behavior: `$host'
2267 # used to hold the argument of --host etc.
2268 # FIXME: To remove some day.
2271 target
=$target_alias
2273 # FIXME: To remove some day.
2274 if test "x$host_alias" != x
; then
2275 if test "x$build_alias" = x
; then
2276 cross_compiling
=maybe
2277 elif test "x$build_alias" != "x$host_alias"; then
2283 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
2285 test "$silent" = yes && exec 6>/dev
/null
2288 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
2289 ac_ls_di
=`ls -di .` &&
2290 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
2291 as_fn_error $?
"working directory cannot be determined"
2292 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2293 as_fn_error $?
"pwd does not report name of working directory"
2296 # Find the source files, if location was not specified.
2297 if test -z "$srcdir"; then
2298 ac_srcdir_defaulted
=yes
2299 # Try the directory containing this script, then the parent directory.
2300 ac_confdir
=`$as_dirname -- "$as_myself" ||
2301 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2302 X"$as_myself" : 'X\(//\)[^/]' \| \
2303 X"$as_myself" : 'X\(//\)$' \| \
2304 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2305 printf "%s\n" X"$as_myself" |
2306 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2324 if test ! -r "$srcdir/$ac_unique_file"; then
2328 ac_srcdir_defaulted
=no
2330 if test ! -r "$srcdir/$ac_unique_file"; then
2331 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
2332 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
2334 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
2336 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2338 # When building in place, set srcdir=.
2339 if test "$ac_abs_confdir" = "$ac_pwd"; then
2342 # Remove unnecessary trailing slashes from srcdir.
2343 # Double slashes in file names in object file debugging info
2344 # mess up M-x gdb in Emacs.
2346 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2348 for ac_var
in $ac_precious_vars; do
2349 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
2350 eval ac_env_
${ac_var}_value
=\$
${ac_var}
2351 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
2352 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2356 # Report the --help message.
2358 if test "$ac_init_help" = "long"; then
2359 # Omit some internal or obsolete options to make the list less imposing.
2360 # This message is too long to be a string in the A/UX 3.1 sh.
2362 \`configure' configures Wine 8.14 to adapt to many kinds of systems.
2364 Usage: $0 [OPTION]... [VAR=VALUE]...
2366 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2367 VAR=VALUE. See below for descriptions of some of the useful variables.
2369 Defaults for the options are specified in brackets.
2372 -h, --help display this help and exit
2373 --help=short display options specific to this package
2374 --help=recursive display the short help of all the included packages
2375 -V, --version display version information and exit
2376 -q, --quiet, --silent do not print \`checking ...' messages
2377 --cache-file=FILE cache test results in FILE [disabled]
2378 -C, --config-cache alias for \`--cache-file=config.cache'
2379 -n, --no-create do not create output files
2380 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2382 Installation directories:
2383 --prefix=PREFIX install architecture-independent files in PREFIX
2384 [$ac_default_prefix]
2385 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2388 By default, \`make install' will install all the files in
2389 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2390 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2391 for instance \`--prefix=\$HOME'.
2393 For better control, use the options below.
2395 Fine tuning of the installation directories:
2396 --bindir=DIR user executables [EPREFIX/bin]
2397 --sbindir=DIR system admin executables [EPREFIX/sbin]
2398 --libexecdir=DIR program executables [EPREFIX/libexec]
2399 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2400 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2401 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2402 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2403 --libdir=DIR object code libraries [EPREFIX/lib]
2404 --includedir=DIR C header files [PREFIX/include]
2405 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2406 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2407 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2408 --infodir=DIR info documentation [DATAROOTDIR/info]
2409 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2410 --mandir=DIR man documentation [DATAROOTDIR/man]
2411 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2412 --htmldir=DIR html documentation [DOCDIR]
2413 --dvidir=DIR dvi documentation [DOCDIR]
2414 --pdfdir=DIR pdf documentation [DOCDIR]
2415 --psdir=DIR ps documentation [DOCDIR]
2421 --x-includes=DIR X include files are
in DIR
2422 --x-libraries=DIR X library files are
in DIR
2425 --build=BUILD configure
for building on BUILD
[guessed
]
2426 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2430 if test -n "$ac_init_help"; then
2431 case $ac_init_help in
2432 short | recursive
) echo "Configuration of Wine 8.14:";;
2437 --disable-option-checking ignore unrecognized
--enable/--with options
2438 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2439 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2440 --enable-archs={i386
,x86_64
,arm
,aarch64
}
2441 enable multiple architectures
for PE compilation
2442 --disable-win16 do not include Win16 support
2443 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2445 --disable-tests do not build the regression tests
2446 --enable-build-id include .buildid section in output objects
2447 --enable-maintainer-mode
2448 enable maintainer-specific build rules
2449 --enable-silent-rules use silent build rules (override: "make V=1")
2450 --enable-werror treat compilation warnings as errors
2451 --disable-largefile omit support for large files
2454 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2455 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2456 --without-alsa do not use the Alsa sound support
2457 --without-capi do not use CAPI (ISDN support)
2458 --without-coreaudio do not use the CoreAudio sound support
2459 --without-cups do not use CUPS
2460 --without-dbus do not use DBus (dynamic device support)
2461 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2462 --without-fontconfig do not use fontconfig
2463 --without-freetype do not use the FreeType library
2464 --without-gettext do not use gettext
2465 --with-gettextpo use the GetTextPO library to rebuild po files
2466 --without-gphoto do not use gphoto (Digital Camera support)
2467 --without-gnutls do not use GnuTLS (schannel support)
2468 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2469 --without-gstreamer do not use GStreamer (codecs support)
2470 --without-inotify do not use inotify (filesystem change notifications)
2471 --without-krb5 do not use krb5 (Kerberos)
2472 --without-mingw do not use the MinGW cross-compiler
2473 --without-netapi do not use the Samba NetAPI library
2474 --without-opencl do not use OpenCL
2475 --without-opengl do not use OpenGL
2476 --without-osmesa do not use the OSMesa library
2477 --without-oss do not use the OSS sound support
2478 --without-pcap do not use the Packet Capture library
2479 --without-pcsclite do not use PCSC lite
2480 --without-pthread do not use the pthread library
2481 --without-pulse do not use PulseAudio sound support
2482 --without-sane do not use SANE (scanner support)
2483 --without-sdl do not use SDL
2484 --without-udev do not use udev (plug and play support)
2485 --without-unwind do not use the libunwind library (exception
2487 --without-usb do not use the libusb library
2488 --without-v4l2 do not use v4l2 (video capture)
2489 --without-vulkan do not use Vulkan
2490 --without-wayland do not build the Wayland driver
2491 --without-xcomposite do not use the Xcomposite extension
2492 --without-xcursor do not use the Xcursor extension
2493 --without-xfixes do not use Xfixes for clipboard change notifications
2494 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2495 --without-xinput do not use the Xinput extension
2496 --without-xinput2 do not use the Xinput 2 extension
2497 --without-xrandr do not use Xrandr (multi-monitor support)
2498 --without-xrender do not use the Xrender extension
2499 --without-xshape do not use the Xshape extension
2500 --without-xshm do not use XShm (shared memory extension)
2501 --without-xxf86vm do not use XFree video mode extension
2502 --with-system-dllpath=PATH
2503 load external PE dependencies from colon-separated
2505 --with-wine-tools=DIR use Wine tools from directory DIR
2506 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2507 --with-x use the X Window System
2509 Some influential environment variables:
2510 CC C compiler command
2511 CFLAGS C compiler flags
2512 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2513 nonstandard directory <lib dir>
2514 LIBS libraries to pass to the linker, e.g. -l<library>
2515 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2516 you have headers in a nonstandard directory <include dir>
2517 CXX C++ compiler command
2518 CXXFLAGS C++ compiler flags
2519 OBJC Objective C compiler command
2520 OBJCFLAGS Objective C compiler flags
2522 C compiler flags for the PE faudio, overriding the bundled
2525 Linker flags for the PE faudio, overriding the bundled version
2527 C compiler flags for the PE gsm, overriding the bundled version
2528 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2530 C compiler flags for the PE jpeg, overriding the bundled version
2532 Linker flags for the PE jpeg, overriding the bundled version
2534 C compiler flags for the PE jxr, overriding the bundled version
2535 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2537 C compiler flags for the PE lcms2, overriding the bundled
2540 Linker flags for the PE lcms2, overriding the bundled version
2542 C compiler flags for the PE ldap, overriding the bundled version
2544 Linker flags for the PE ldap, overriding the bundled version
2546 C compiler flags for the PE mpg123, overriding the bundled
2549 Linker flags for the PE mpg123, overriding the bundled version
2551 C compiler flags for the PE musl, overriding the bundled version
2553 Linker flags for the PE musl, overriding the bundled version
2555 C compiler flags for the PE png, overriding the bundled version
2556 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2558 C compiler flags for the PE tiff, overriding the bundled version
2560 Linker flags for the PE tiff, overriding the bundled version
2562 C compiler flags for the PE vkd3d, overriding the bundled
2565 Linker flags for the PE vkd3d, overriding the bundled version
2567 C compiler flags for the PE xml2, overriding the bundled version
2569 Linker flags for the PE xml2, overriding the bundled version
2571 C compiler flags for the PE xslt, overriding the bundled version
2573 Linker flags for the PE xslt, overriding the bundled version
2575 C compiler flags for the PE zlib, overriding the bundled version
2577 Linker flags for the PE zlib, overriding the bundled version
2579 C compiler flags for the PE zydis, overriding the bundled
2582 Linker flags for the PE zydis, overriding the bundled version
2583 XMKMF Path to xmkmf, Makefile generator for X Window System
2585 WAYLAND_CLIENT_CFLAGS
2586 C compiler flags for wayland-client, overriding pkg-config
2588 Linker flags for wayland-client, overriding pkg-config
2590 C compiler flags for libinotify, overriding pkg-config
2592 Linker flags for libinotify, overriding pkg-config
2593 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2594 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2596 C compiler flags for gnutls, overriding pkg-config
2597 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2598 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2599 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2600 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2601 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2603 C compiler flags for libgphoto2, overriding pkg-config
2605 Linker flags for libgphoto2, overriding pkg-config
2607 C compiler flags for libgphoto2_port, overriding pkg-config
2609 Linker flags for libgphoto2_port, overriding pkg-config
2611 C compiler flags for freetype2, overriding pkg-config
2613 Linker flags for freetype2, overriding pkg-config
2615 C compiler flags for libpulse, overriding pkg-config
2616 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2618 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2619 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2621 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2622 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2623 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2624 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2626 C compiler flags for libunwind, overriding pkg-config
2627 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2628 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2629 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2631 C compiler flags for capi20, overriding pkg-config
2632 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2633 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2634 CUPS_LIBS Linker flags for cups, overriding pkg-config
2636 C compiler flags for fontconfig, overriding pkg-config
2638 Linker flags for fontconfig, overriding pkg-config
2639 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2640 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2642 C compiler flags for krb5-gssapi, overriding pkg-config
2643 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2645 C compiler flags for netapi, overriding pkg-config
2646 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2648 Use these variables to override the choices made by `configure' or to
help
2649 it to
find libraries and programs with nonstandard names
/locations.
2651 Report bugs to
<wine-devel@winehq.org
>.
2652 Wine home page
: <https
://www.winehq.org
>.
2657 if test "$ac_init_help" = "recursive"; then
2658 # If there are subdirs, report their specific --help.
2659 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2660 test -d "$ac_dir" ||
2661 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2666 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2668 ac_dir_suffix
=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2669 # A ".." for each directory in $ac_dir_suffix.
2670 ac_top_builddir_sub
=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2671 case $ac_top_builddir_sub in
2672 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2673 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2676 ac_abs_top_builddir
=$ac_pwd
2677 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2678 # for backward compatibility:
2679 ac_top_builddir
=$ac_top_build_prefix
2682 .
) # We are building in place.
2684 ac_top_srcdir
=$ac_top_builddir_sub
2685 ac_abs_top_srcdir
=$ac_pwd ;;
2686 [\\/]* | ?
:[\\/]* ) # Absolute name.
2687 ac_srcdir
=$srcdir$ac_dir_suffix;
2688 ac_top_srcdir
=$srcdir
2689 ac_abs_top_srcdir
=$srcdir ;;
2691 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2692 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2693 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2695 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2697 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2698 # Check for configure.gnu first; this name is used for a wrapper for
2699 # Metaconfig's "Configure" on case-insensitive file systems.
2700 if test -f "$ac_srcdir/configure.gnu"; then
2702 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2703 elif test -f "$ac_srcdir/configure"; then
2705 $SHELL "$ac_srcdir/configure" --help=recursive
2707 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2709 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2713 test -n "$ac_init_help" && exit $ac_status
2714 if $ac_init_version; then
2717 generated by GNU Autoconf
2.71
2719 Copyright
(C
) 2021 Free Software Foundation
, Inc.
2720 This configure
script is free software
; the Free Software Foundation
2721 gives unlimited permission to copy
, distribute and modify it.
2726 ## ------------------------ ##
2727 ## Autoconf initialization. ##
2728 ## ------------------------ ##
2730 # ac_fn_c_try_compile LINENO
2731 # --------------------------
2732 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2733 ac_fn_c_try_compile
()
2735 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2736 rm -f conftest.
$ac_objext conftest.beam
2737 if { { ac_try
="$ac_compile"
2739 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2740 *) ac_try_echo=$ac_try;;
2742 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2743 printf "%s\n" "$ac_try_echo"; } >&5
2744 (eval "$ac_compile") 2>conftest.err
2746 if test -s conftest.err; then
2747 grep -v '^ *+' conftest.err >conftest.er1
2748 cat conftest.er1 >&5
2749 mv -f conftest.er1 conftest.err
2751 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2752 test $ac_status = 0; } && {
2753 test -z "$ac_c_werror_flag" ||
2754 test ! -s conftest.err
2755 } && test -s conftest.$ac_objext
2759 printf "%s\n" "$as_me: failed program was:" >&5
2760 sed 's/^/| /' conftest.$ac_ext >&5
2764 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2765 as_fn_set_status $ac_retval
2767 } # ac_fn_c_try_compile
2769 # ac_fn_cxx_try_compile LINENO
2770 # ----------------------------
2771 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2772 ac_fn_cxx_try_compile ()
2774 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2775 rm -f conftest.$ac_objext conftest.beam
2776 if { { ac_try="$ac_compile"
2778 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2779 *) ac_try_echo
=$ac_try;;
2781 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2782 printf "%s\n" "$ac_try_echo"; } >&5
2783 (eval "$ac_compile") 2>conftest.err
2785 if test -s conftest.err
; then
2786 grep -v '^ *+' conftest.err
>conftest.er1
2787 cat conftest.er1
>&5
2788 mv -f conftest.er1 conftest.err
2790 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2791 test $ac_status = 0; } && {
2792 test -z "$ac_cxx_werror_flag" ||
2793 test ! -s conftest.err
2794 } && test -s conftest.
$ac_objext
2798 printf "%s\n" "$as_me: failed program was:" >&5
2799 sed 's/^/| /' conftest.
$ac_ext >&5
2803 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2804 as_fn_set_status
$ac_retval
2806 } # ac_fn_cxx_try_compile
2808 # ac_fn_c_try_link LINENO
2809 # -----------------------
2810 # Try to link conftest.$ac_ext, and return whether this succeeded.
2813 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2814 rm -f conftest.
$ac_objext conftest.beam conftest
$ac_exeext
2815 if { { ac_try
="$ac_link"
2817 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2818 *) ac_try_echo=$ac_try;;
2820 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2821 printf "%s\n" "$ac_try_echo"; } >&5
2822 (eval "$ac_link") 2>conftest.err
2824 if test -s conftest.err; then
2825 grep -v '^ *+' conftest.err >conftest.er1
2826 cat conftest.er1 >&5
2827 mv -f conftest.er1 conftest.err
2829 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2830 test $ac_status = 0; } && {
2831 test -z "$ac_c_werror_flag" ||
2832 test ! -s conftest.err
2833 } && test -s conftest$ac_exeext && {
2834 test "$cross_compiling" = yes ||
2835 test -x conftest$ac_exeext
2840 printf "%s\n" "$as_me: failed program was:" >&5
2841 sed 's/^/| /' conftest.$ac_ext >&5
2845 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2846 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2847 # interfere with the next link command; also delete a directory that is
2848 # left behind by Apple's compiler. We do this before executing the actions.
2849 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2850 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2851 as_fn_set_status $ac_retval
2853 } # ac_fn_c_try_link
2855 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2856 # -------------------------------------------------------
2857 # Tests whether HEADER exists and can be compiled using the include files in
2858 # INCLUDES, setting the cache variable VAR accordingly.
2859 ac_fn_c_check_header_compile ()
2861 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2863 printf %s "checking for $2... " >&6; }
2864 if eval test \${$3+y}
2866 printf %s "(cached) " >&6
2868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2869 /* end confdefs.h. */
2873 if ac_fn_c_try_compile "$LINENO"
2879 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2883 printf "%s\n" "$ac_res" >&6; }
2884 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2886 } # ac_fn_c_check_header_compile
2888 # ac_fn_objc_try_compile LINENO
2889 # -----------------------------
2890 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2891 ac_fn_objc_try_compile ()
2893 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2894 rm -f conftest.$ac_objext conftest.beam
2895 if { { ac_try="$ac_compile"
2897 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2898 *) ac_try_echo
=$ac_try;;
2900 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2901 printf "%s\n" "$ac_try_echo"; } >&5
2902 (eval "$ac_compile") 2>conftest.err
2904 if test -s conftest.err
; then
2905 grep -v '^ *+' conftest.err
>conftest.er1
2906 cat conftest.er1
>&5
2907 mv -f conftest.er1 conftest.err
2909 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2910 test $ac_status = 0; } && {
2911 test -z "$ac_objc_werror_flag" ||
2912 test ! -s conftest.err
2913 } && test -s conftest.
$ac_objext
2917 printf "%s\n" "$as_me: failed program was:" >&5
2918 sed 's/^/| /' conftest.
$ac_ext >&5
2922 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2923 as_fn_set_status
$ac_retval
2925 } # ac_fn_objc_try_compile
2927 # ac_fn_c_check_func LINENO FUNC VAR
2928 # ----------------------------------
2929 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2930 ac_fn_c_check_func
()
2932 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2934 printf %s
"checking for $2... " >&6; }
2935 if eval test \
${$3+y}
2937 printf %s
"(cached) " >&6
2939 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2940 /* end confdefs.h. */
2941 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2942 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2943 #define $2 innocuous_$2
2945 /* System header to define __stub macros and hopefully few prototypes,
2946 which can conflict with char $2 (); below. */
2951 /* Override any GCC internal prototype to avoid an error.
2952 Use char because int might match the return type of a GCC
2953 builtin and then its argument prototype would still apply. */
2958 /* The GNU C library defines this for functions which it implements
2959 to always fail with ENOSYS. Some functions are actually named
2960 something starting with __ and the normal name is an alias. */
2961 #if defined __stub_$2 || defined __stub___$2
2973 if ac_fn_c_try_link
"$LINENO"
2979 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
2980 conftest
$ac_exeext conftest.
$ac_ext
2983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2984 printf "%s\n" "$ac_res" >&6; }
2985 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2987 } # ac_fn_c_check_func
2989 # ac_fn_c_try_cpp LINENO
2990 # ----------------------
2991 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2994 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2995 if { { ac_try
="$ac_cpp conftest.$ac_ext"
2997 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2998 *) ac_try_echo=$ac_try;;
3000 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3001 printf "%s\n" "$ac_try_echo"; } >&5
3002 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3004 if test -s conftest.err; then
3005 grep -v '^ *+' conftest.err >conftest.er1
3006 cat conftest.er1 >&5
3007 mv -f conftest.er1 conftest.err
3009 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3010 test $ac_status = 0; } > conftest.i && {
3011 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3012 test ! -s conftest.err
3017 printf "%s\n" "$as_me: failed program was:" >&5
3018 sed 's/^/| /' conftest.$ac_ext >&5
3022 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3023 as_fn_set_status $ac_retval
3027 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3028 # ----------------------------------------------------
3029 # Tries to find if the field MEMBER exists in type AGGR, after including
3030 # INCLUDES, setting cache variable VAR accordingly.
3031 ac_fn_c_check_member ()
3033 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3035 printf %s "checking for $2.$3... " >&6; }
3036 if eval test \${$4+y}
3038 printf %s "(cached) " >&6
3040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3041 /* end confdefs.h. */
3053 if ac_fn_c_try_compile "$LINENO"
3057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3058 /* end confdefs.h. */
3064 if (sizeof ac_aggr.$3)
3070 if ac_fn_c_try_compile "$LINENO"
3076 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3078 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3082 printf "%s\n" "$ac_res" >&6; }
3083 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3085 } # ac_fn_c_check_member
3087 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3088 # -------------------------------------------
3089 # Tests whether TYPE exists after having included INCLUDES, setting cache
3090 # variable VAR accordingly.
3091 ac_fn_c_check_type ()
3093 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3095 printf %s "checking for $2... " >&6; }
3096 if eval test \${$3+y}
3098 printf %s "(cached) " >&6
3101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3102 /* end confdefs.h. */
3113 if ac_fn_c_try_compile "$LINENO"
3115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3116 /* end confdefs.h. */
3127 if ac_fn_c_try_compile "$LINENO"
3133 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3135 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3139 printf "%s\n" "$ac_res" >&6; }
3140 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3142 } # ac_fn_c_check_type
3143 ac_configure_args_raw=
3148 ac_arg=`printf "%s\n" "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
3150 as_fn_append ac_configure_args_raw " '$ac_arg'"
3153 case $ac_configure_args_raw in
3157 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3158 ac_unsafe_a="$ac_unsafe_z#~
"
3159 ac_safe_unquote="s
/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g
"
3160 ac_configure_args_raw=` printf "%s
\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3163 cat >config.log <<_ACEOF
3164 This file contains any messages produced by compilers while
3165 running configure, to aid debugging if configure makes a mistake.
3167 It was created by Wine $as_me 8.14, which was
3168 generated by GNU Autoconf 2.71. Invocation command line was
3170 $ $0$ac_configure_args_raw
3180 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3181 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3182 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3183 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3184 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3186 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3187 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3189 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3190 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3191 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3192 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3193 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3194 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3195 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3203 case $as_dir in #(((
3206 *) as_dir=$as_dir/ ;;
3208 printf "%s
\n" "PATH
: $as_dir"
3224 # Keep a trace of the command line.
3225 # Strip out --no-create and --no-recursion so they do not pile up.
3226 # Strip out --silent because we don't want to record it for future runs.
3227 # Also quote any args containing shell meta-characters.
3228 # Make two passes to allow for proper duplicate-argument suppression.
3232 ac_must_keep_next=false
3238 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3239 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3240 | -silent | --silent | --silen | --sile | --sil)
3243 ac_arg=`printf "%s
\n" "$ac_arg" | sed "s
/'/'\\\\\\\\''/g
"` ;;
3246 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3248 as_fn_append ac_configure_args1 " '$ac_arg'"
3249 if test $ac_must_keep_next = true; then
3250 ac_must_keep_next=false # Got value, back to normal.
3253 *=* | --config-cache | -C | -disable-* | --disable-* \
3254 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3255 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3256 | -with-* | --with-* | -without-* | --without-* | --x)
3257 case "$ac_configure_args0 " in
3258 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3261 -* ) ac_must_keep_next=true ;;
3264 as_fn_append ac_configure_args " '$ac_arg'"
3269 { ac_configure_args0=; unset ac_configure_args0;}
3270 { ac_configure_args1=; unset ac_configure_args1;}
3272 # When interrupted or exit'd, cleanup temporary files, and complete
3273 # config.log. We remove comments because anyway the quotes in there
3274 # would cause problems or look ugly.
3275 # WARNING: Use '\'' to represent an apostrophe within the trap.
3276 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3277 trap 'exit_status=$?
3280 # Save into config.log some information that might help in debugging.
3284 printf "%s
\n" "## ---------------- ##
3285 ## Cache variables. ##
3286 ## ---------------- ##"
3288 # The following way of writing the cache mishandles newlines in values,
3290 for ac_var
in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3291 eval ac_val
=\$
$ac_var
3295 *_cv_
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3296 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3299 _ | IFS | as_nl
) ;; #(
3300 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
3301 *) { eval $ac_var=; unset $ac_var;} ;;
3306 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3307 *${as_nl}ac_space
=\
*)
3309 "s/'\''/'\''\\\\'\'''\''/g;
3310 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3313 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3320 printf "%s\n" "## ----------------- ##
3321 ## Output variables. ##
3322 ## ----------------- ##"
3324 for ac_var
in $ac_subst_vars
3326 eval ac_val
=\$
$ac_var
3328 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3330 printf "%s\n" "$ac_var='\''$ac_val'\''"
3334 if test -n "$ac_subst_files"; then
3335 printf "%s\n" "## ------------------- ##
3336 ## File substitutions. ##
3337 ## ------------------- ##"
3339 for ac_var in $ac_subst_files
3341 eval ac_val=\$$ac_var
3343 *\'\''*) ac_val
=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3345 printf "%s\n" "$ac_var='\''$ac_val'\''"
3350 if test -s confdefs.h
; then
3351 printf "%s\n" "## ----------- ##
3358 test "$ac_signal" != 0 &&
3359 printf "%s\n" "$as_me: caught signal $ac_signal"
3360 printf "%s\n" "$as_me: exit $exit_status"
3362 rm -f core
*.core core.conftest.
* &&
3363 rm -f -r conftest
* confdefs
* conf$$
* $ac_clean_files &&
3366 for ac_signal in 1 2 13 15; do
3367 trap 'ac_signal
='$ac_signal'; as_fn_exit
1' $ac_signal
3371 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3372 rm -f -r conftest* confdefs.h
3374 printf "%s\n" "/* confdefs.h */" > confdefs.h
3376 # Predefined preprocessor variables.
3378 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3380 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3382 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3384 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3386 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3388 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3391 # Let the site file select an alternate cache file if it wants to.
3392 # Prefer an explicitly selected file to automatically selected ones.
3393 if test -n "$CONFIG_SITE"; then
3394 ac_site_files="$CONFIG_SITE"
3395 elif test "x$prefix" != xNONE; then
3396 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3398 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3401 for ac_site_file in $ac_site_files
3403 case $ac_site_file in #(
3407 ac_site_file=./$ac_site_file ;;
3409 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3411 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3412 sed 's
/^
/|
/' "$ac_site_file" >&5
3414 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3415 printf "%s
\n" "$as_me: error
: in \
`$ac_pwd':" >&2;}
3416 as_fn_error $? "failed to load site script $ac_site_file
3417 See \`config.log
' for more details" "$LINENO" 5; }
3421 if test -r "$cache_file"; then
3422 # Some versions of bash will fail to source /dev/null (special files
3423 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3424 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3426 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3428 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3429 *) . "./$cache_file";;
3433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3434 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3438 # Test code for whether the C compiler supports C89 (global declarations)
3439 ac_c_conftest_c89_globals='
3440 /* Does the compiler advertise C89 conformance?
3441 Do not
test the value of __STDC__
, because some compilers
set it to
0
3442 while being otherwise adequately conformant.
*/
3443 #if !defined __STDC__
3444 # error "Compiler does not advertise C89 conformance"
3450 /* Most of the following tests are stolen from RCS
5.7 src
/conf.sh.
*/
3451 struct buf
{ int x
; };
3452 struct buf
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
3453 static char
*e
(p
, i
)
3459 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
3464 s
= g
(p
, va_arg
(v
,int
));
3469 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
3470 function prototypes and stuff
, but not \xHH hex character constants.
3471 These
do not provoke an error unfortunately
, instead are silently treated
3472 as an
"x". The following induces an error
, until -std is added to get
3473 proper ANSI mode. Curiously
\x00 != x always comes out true
, for an
3474 array size
at least. It is necessary to
write \x00 == 0 to get something
3475 that is true only with
-std.
*/
3476 int osf4_cc_array
['\''\x00'\'' == 0 ?
1 : -1];
3478 /* IBM C
6 for AIX is almost-ANSI by default
, but it replaces macro parameters
3479 inside
strings and character constants.
*/
3480 #define FOO(x) '\''x'\''
3481 int xlc6_cc_array
[FOO
(a
) == '\''x
'\'' ?
1 : -1];
3483 int
test (int i
, double x
);
3484 struct s1
{int
(*f
) (int a
);};
3485 struct s2
{int
(*f
) (double a
);};
3486 int pairnames
(int
, char
**, int
*(*)(struct buf
*, struct stat
*, int
),
3489 # Test code for whether the C compiler supports C89 (body of main).
3490 ac_c_conftest_c89_main='
3491 ok |
= (argc
== 0 || f
(e
, argv
, 0) != argv
[0] || f
(e
, argv
, 1) != argv
[1]);
3494 # Test code for whether the C compiler supports C99 (global declarations)
3495 ac_c_conftest_c99_globals='
3496 // Does the compiler advertise C99 conformance?
3497 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3498 # error "Compiler does not advertise C99 conformance"
3501 #include <stdbool.h>
3502 extern int puts
(const char
*);
3503 extern int
printf (const char
*, ...
);
3504 extern int dprintf
(int
, const char
*, ...
);
3505 extern void
*malloc
(size_t
);
3507 // Check varargs macros. These examples are taken from C99
6.10.3.5.
3508 // dprintf is used instead of fprintf to avoid needing to
declare
3510 #define debug(...) dprintf (2, __VA_ARGS__)
3511 #define showlist(...) puts (#__VA_ARGS__)
3512 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3514 test_varargs_macros
(void
)
3519 debug
("X = %d\n", x
);
3520 showlist
(The first
, second
, and third items.
);
3521 report
(x
>y
, "x is %d but y is %d", x
, y
);
3524 // Check long long types.
3525 #define BIG64 18446744073709551615ull
3526 #define BIG32 4294967295ul
3527 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3529 #error "your preprocessor is broken"
3533 #error "your preprocessor is broken"
3535 static long long int bignum
= -9223372036854775807LL;
3536 static unsigned long long int ubignum
= BIG64
;
3538 struct incomplete_array
3546 const wchar_t
*name
;
3550 typedef const char
*ccp
;
3553 test_restrict
(ccp restrict text
)
3555 // See
if C
++-style comments work.
3556 // Iterate through items via the restricted pointer.
3557 // Also check
for declarations
in for loops.
3558 for (unsigned int i
= 0; *(text
+i
) != '\''\
0'\''; ++i
)
3563 // Check varargs and va_copy.
3565 test_varargs
(const char
*format
, ...
)
3568 va_start
(args
, format
);
3570 va_copy
(args_copy
, args
);
3572 const char
*str
= "";
3580 case '\''s
'\'': // string
3581 str
= va_arg
(args_copy
, const char
*);
3583 case '\''d
'\'': // int
3584 number
= va_arg
(args_copy
, int
);
3586 case '\''f
'\'': // float
3587 fnumber
= va_arg
(args_copy
, double
);
3596 return *str
&& number
&& fnumber
;
3600 # Test code for whether the C compiler supports C99 (body of main).
3601 ac_c_conftest_c99_main='
3603 _Bool success
= false
;
3604 success |
= (argc
!= 0);
3607 if (test_restrict
("String literal") == 0)
3609 char
*restrict newvar
= "Another string";
3612 success
&= test_varargs
("s, d'\'' f .", "string", 65, 34.234);
3613 test_varargs_macros
();
3615 // Check flexible array members.
3616 struct incomplete_array
*ia
=
3617 malloc
(sizeof
(struct incomplete_array
) + (sizeof
(double
) * 10));
3619 for (int i
= 0; i
< ia-
>datasize
; ++i
)
3620 ia-
>data
[i
] = i
* 1.234;
3622 // Check named initializers.
3623 struct named_init ni
= {
3625 .name
= L
"Test wide string",
3626 .average
= 543.34343,
3631 int dynamic_array
[ni.number
];
3632 dynamic_array
[0] = argv
[0][0];
3633 dynamic_array
[ni.number
- 1] = 543;
3635 // work around unused variable warnings
3636 ok |
= (!success || bignum
== 0LL || ubignum
== 0uLL || newvar
[0] == '\''x
'\''
3637 || dynamic_array
[ni.number
- 1] != 543);
3640 # Test code for whether the C compiler supports C11 (global declarations)
3641 ac_c_conftest_c11_globals='
3642 // Does the compiler advertise C11 conformance?
3643 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3644 # error "Compiler does not advertise C11 conformance"
3648 char _Alignas
(double
) aligned_as_double
;
3649 char _Alignas
(0) no_special_alignment
;
3650 extern char aligned_as_int
;
3651 char _Alignas
(0) _Alignas
(int
) aligned_as_int
;
3656 int_alignment
= _Alignof
(int
),
3657 int_array_alignment
= _Alignof
(int
[100]),
3658 char_alignment
= _Alignof
(char
)
3660 _Static_assert
(0 < -_Alignof (int
), "_Alignof is signed");
3663 int _Noreturn does_not_return
(void
) { for (;;) continue; }
3665 // Check _Static_assert.
3666 struct test_static_assert
3669 _Static_assert
(sizeof
(int
) <= sizeof
(long int
),
3670 "_Static_assert does not work in struct");
3674 // Check UTF-8 literals.
3675 #define u8 syntax error!
3676 char const utf8_literal
[] = u8
"happens to be ASCII" "another string";
3678 // Check duplicate typedefs.
3679 typedef long
*long_ptr
;
3680 typedef long int
*long_ptr
;
3681 typedef long_ptr long_ptr
;
3683 // Anonymous structures and unions
-- taken from C11
6.7.2.1 Example
1.
3687 struct
{ int i
; int j
; };
3688 struct
{ int k
; long int l
; } w
;
3694 # Test code for whether the C compiler supports C11 (body of main).
3695 ac_c_conftest_c11_main='
3696 _Static_assert
((offsetof
(struct anonymous
, i
)
3697 == offsetof
(struct anonymous
, w.k
)),
3698 "Anonymous union alignment botch");
3704 # Test code for whether the C compiler supports C11 (complete).
3705 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3706 ${ac_c_conftest_c99_globals}
3707 ${ac_c_conftest_c11_globals}
3710 main (int argc, char **argv)
3713 ${ac_c_conftest_c89_main}
3714 ${ac_c_conftest_c99_main}
3715 ${ac_c_conftest_c11_main}
3720 # Test code for whether the C compiler supports C99 (complete).
3721 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3722 ${ac_c_conftest_c99_globals}
3725 main (int argc, char **argv)
3728 ${ac_c_conftest_c89_main}
3729 ${ac_c_conftest_c99_main}
3734 # Test code for whether the C compiler supports C89 (complete).
3735 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3738 main (int argc, char **argv)
3741 ${ac_c_conftest_c89_main}
3746 # Test code for whether the C++ compiler supports C++98 (global declarations)
3747 ac_cxx_conftest_cxx98_globals='
3748 // Does the compiler advertise C
++98 conformance?
3749 #if !defined __cplusplus || __cplusplus < 199711L
3750 # error "Compiler does not advertise C++98 conformance"
3753 // These inclusions are to reject old compilers that
3754 // lack the unsuffixed header files.
3756 #include <exception>
3758 // <cassert
> and
<cstring
> are
*not
* freestanding headers
in C
++98.
3759 extern void assert
(int
);
3761 extern int strcmp
(const char
*, const char
*);
3764 // Namespaces
, exceptions
, and templates were all added after
"C++ 2.0".
3765 using std
::exception
;
3770 void test_exception_syntax
()
3774 } catch
(const char
*s
) {
3775 // Extra parentheses suppress a warning when building autoconf itself
,
3776 // due to lint rules shared with
more typical C programs.
3777 assert
(!(strcmp
) (s
, "test"));
3781 template
<typename T
> struct test_template
3784 explicit test_template
(T t
) : val
(t
) {}
3785 template
<typename U
> T add
(U u
) { return static_cast
<T
>(u
) + val
; }
3788 } // anonymous namespace
3791 # Test code for whether the C++ compiler supports C++98 (body of main)
3792 ac_cxx_conftest_cxx98_main='
3796 test_exception_syntax
();
3797 test_template
<double
> tt
(2.0);
3798 assert
(tt.add
(4) == 6.0);
3799 assert
(true
&& !false
);
3803 # Test code for whether the C++ compiler supports C++11 (global declarations)
3804 ac_cxx_conftest_cxx11_globals='
3805 // Does the compiler advertise C
++ 2011 conformance?
3806 #if !defined __cplusplus || __cplusplus < 201103L
3807 # error "Compiler does not advertise C++11 conformance"
3812 constexpr int get_val
() { return 20; }
3823 delegate
(int n
) : n
(n
) {}
3824 delegate
(): delegate
(2354) {}
3826 virtual int getval
() { return this-
>n
; };
3831 class overridden
: public delegate
3834 overridden
(int n
): delegate
(n
) {}
3835 virtual int getval
() override final
{ return this-
>n
* 2; }
3841 nocopy
(int i
): i
(i
) {}
3843 nocopy
(const nocopy
&) = delete
;
3844 nocopy
& operator
=(const nocopy
&) = delete
;
3849 // for testing lambda expressions
3850 template
<typename Ret
, typename Fn
> Ret
eval(Fn f
, Ret v
)
3855 // for testing variadic templates and trailing
return types
3856 template
<typename V
> auto
sum(V first
) -> V
3860 template
<typename V
, typename... Args
> auto
sum(V first
, Args... rest
) -> V
3862 return first
+ sum(rest...
);
3867 # Test code for whether the C++ compiler supports C++11 (body of main)
3868 ac_cxx_conftest_cxx11_main='
3870 // Test auto and decltype
3872 auto a2
= 48573953.4;
3873 auto a3
= "String literal";
3876 for (auto i
= a3
; *i
; ++i
) { total
+= *i
; }
3878 decltype
(a2
) a4
= 34895.034;
3882 short sa
[cxx11test
::get_val
()] = { 0 };
3885 // Test initializer lists
3886 cxx11test
::testinit il
= { 4323, 435234.23544 };
3889 // Test range-based
for
3890 int array
[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3891 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3892 for (auto
&x
: array
) { x
+= 23; }
3895 // Test lambda expressions
3896 using cxx11test
::eval;
3897 assert
(eval ([](int x
) { return x
*2; }, 21) == 42);
3899 assert
(eval ([&](double x
) { return d
+= x
; }, 3.0) == 5.0);
3901 assert
(eval ([=](double x
) mutable
{ return d
+= x
; }, 4.0) == 9.0);
3905 // Test use of variadic templates
3906 using cxx11test
::sum;
3909 auto c
= sum(1.0, 2.0, 3.0);
3912 // Test constructor delegation
3913 cxx11test
::delegate d1
;
3914 cxx11test
::delegate d2
();
3915 cxx11test
::delegate d3
(45);
3918 // Test override and final
3919 cxx11test
::overridden o1
(55464);
3926 // Test template brackets
3927 test_template
<::test_template
<int
>> v
(test_template
<int
>(12));
3931 char const
*utf8
= u8
"UTF-8 string \u2500";
3932 char16_t const
*utf16
= u
"UTF-8 string \u2500";
3933 char32_t const
*utf32
= U
"UTF-32 string \u2500";
3937 # Test code for whether the C compiler supports C++11 (complete).
3938 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3939 ${ac_cxx_conftest_cxx11_globals}
3942 main (int argc, char **argv)
3945 ${ac_cxx_conftest_cxx98_main}
3946 ${ac_cxx_conftest_cxx11_main}
3951 # Test code for whether the C compiler supports C++98 (complete).
3952 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3954 main (int argc, char **argv)
3957 ${ac_cxx_conftest_cxx98_main}
3962 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3963 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3964 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3965 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3966 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3967 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3968 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3969 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3970 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3972 # Auxiliary files required by this configure script.
3973 ac_aux_files="config.guess config.sub"
3975 # Locations in which to look for auxiliary files.
3976 ac_aux_dir_candidates="${srcdir}/tools"
3978 # Search for a directory containing all of the required auxiliary files,
3979 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3980 # If we don't
find one directory that contains all the files we need
,
3981 # we report the set of missing files from the *first* directory in
3982 # $ac_aux_dir_candidates and give up.
3983 ac_missing_aux_files
=""
3984 ac_first_candidate
=:
3985 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3986 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3988 for as_dir
in $ac_aux_dir_candidates
3991 case $as_dir in #(((
3994 *) as_dir
=$as_dir/ ;;
3998 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3999 ac_aux_dir_found
=yes
4001 for ac_aux
in $ac_aux_files
4003 # As a special case, if "install-sh" is required, that requirement
4004 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
4005 # and $ac_install_sh is set appropriately for whichever one is found.
4006 if test x
"$ac_aux" = x
"install-sh"
4008 if test -f "${as_dir}install-sh"; then
4009 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
4010 ac_install_sh
="${as_dir}install-sh -c"
4011 elif test -f "${as_dir}install.sh"; then
4012 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
4013 ac_install_sh
="${as_dir}install.sh -c"
4014 elif test -f "${as_dir}shtool"; then
4015 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
4016 ac_install_sh
="${as_dir}shtool install -c"
4019 if $ac_first_candidate; then
4020 ac_missing_aux_files
="${ac_missing_aux_files} install-sh"
4026 if test -f "${as_dir}${ac_aux}"; then
4027 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
4030 if $ac_first_candidate; then
4031 ac_missing_aux_files
="${ac_missing_aux_files} ${ac_aux}"
4038 if test "$ac_aux_dir_found" = yes; then
4039 ac_aux_dir
="$as_dir"
4042 ac_first_candidate
=false
4051 as_fn_error $?
"cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4055 # These three variables are undocumented and unsupported,
4056 # and are intended to be withdrawn in a future Autoconf release.
4057 # They can cause serious problems if a builder's source tree is in a directory
4058 # whose full name contains unusual characters.
4059 if test -f "${ac_aux_dir}config.guess"; then
4060 ac_config_guess
="$SHELL ${ac_aux_dir}config.guess"
4062 if test -f "${ac_aux_dir}config.sub"; then
4063 ac_config_sub
="$SHELL ${ac_aux_dir}config.sub"
4065 if test -f "$ac_aux_dir/configure"; then
4066 ac_configure
="$SHELL ${ac_aux_dir}configure"
4069 # Check that the precious variables saved in the cache have kept the same
4071 ac_cache_corrupted
=false
4072 for ac_var
in $ac_precious_vars; do
4073 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
4074 eval ac_new_set
=\
$ac_env_${ac_var}_set
4075 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
4076 eval ac_new_val
=\
$ac_env_${ac_var}_value
4077 case $ac_old_set,$ac_new_set in
4079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4080 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4081 ac_cache_corrupted
=: ;;
4083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4084 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4085 ac_cache_corrupted
=: ;;
4088 if test "x$ac_old_val" != "x$ac_new_val"; then
4089 # differences in whitespace do not lead to failure.
4090 ac_old_val_w
=`echo x $ac_old_val`
4091 ac_new_val_w
=`echo x $ac_new_val`
4092 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4094 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4095 ac_cache_corrupted
=:
4097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4098 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4099 eval $ac_var=\
$ac_old_val
4101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4102 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4104 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4107 # Pass precious variables to config.status.
4108 if test "$ac_new_set" = set; then
4110 *\'*) ac_arg
=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4111 *) ac_arg
=$ac_var=$ac_new_val ;;
4113 case " $ac_configure_args " in
4114 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4115 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
4119 if $ac_cache_corrupted; then
4120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4121 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4123 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4124 as_fn_error $?
"run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4125 and start over" "$LINENO" 5
4127 ## -------------------- ##
4128 ## Main body of script. ##
4129 ## -------------------- ##
4132 ac_cpp
='$CPP $CPPFLAGS'
4133 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4134 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4135 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4139 ac_config_headers
="$ac_config_headers include/config.h"
4143 libwine_version
="1.0"
4146 # Check whether --enable-archs was given.
4147 if test ${enable_archs+y}
4149 enableval
=$enable_archs;
4152 # Check whether --enable-win16 was given.
4153 if test ${enable_win16+y}
4155 enableval
=$enable_win16;
4158 # Check whether --enable-win64 was given.
4159 if test ${enable_win64+y}
4161 enableval
=$enable_win64;
4164 # Check whether --enable-tests was given.
4165 if test ${enable_tests+y}
4167 enableval
=$enable_tests;
4170 # Check whether --enable-build-id was given.
4171 if test ${enable_build_id+y}
4173 enableval
=$enable_build_id;
4176 # Check whether --enable-maintainer-mode was given.
4177 if test ${enable_maintainer_mode+y}
4179 enableval
=$enable_maintainer_mode;
4182 # Check whether --enable-silent-rules was given.
4183 if test ${enable_silent_rules+y}
4185 enableval
=$enable_silent_rules;
4188 # Check whether --enable-werror was given.
4189 if test ${enable_werror+y}
4191 enableval
=$enable_werror;
4196 # Check whether --with-alsa was given.
4197 if test ${with_alsa+y}
4203 # Check whether --with-capi was given.
4204 if test ${with_capi+y}
4210 # Check whether --with-coreaudio was given.
4211 if test ${with_coreaudio+y}
4213 withval
=$with_coreaudio;
4217 # Check whether --with-cups was given.
4218 if test ${with_cups+y}
4224 # Check whether --with-dbus was given.
4225 if test ${with_dbus+y}
4231 # Check whether --with-float-abi was given.
4232 if test ${with_float_abi+y}
4234 withval
=$with_float_abi;
4238 # Check whether --with-fontconfig was given.
4239 if test ${with_fontconfig+y}
4241 withval
=$with_fontconfig;
4245 # Check whether --with-freetype was given.
4246 if test ${with_freetype+y}
4248 withval
=$with_freetype;
4252 # Check whether --with-gettext was given.
4253 if test ${with_gettext+y}
4255 withval
=$with_gettext;
4259 # Check whether --with-gettextpo was given.
4260 if test ${with_gettextpo+y}
4262 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
4266 # Check whether --with-gphoto was given.
4267 if test ${with_gphoto+y}
4269 withval
=$with_gphoto;
4273 # Check whether --with-gnutls was given.
4274 if test ${with_gnutls+y}
4276 withval
=$with_gnutls;
4280 # Check whether --with-gssapi was given.
4281 if test ${with_gssapi+y}
4283 withval
=$with_gssapi;
4287 # Check whether --with-gstreamer was given.
4288 if test ${with_gstreamer+y}
4290 withval
=$with_gstreamer;
4294 # Check whether --with-inotify was given.
4295 if test ${with_inotify+y}
4297 withval
=$with_inotify;
4301 # Check whether --with-krb5 was given.
4302 if test ${with_krb5+y}
4308 # Check whether --with-mingw was given.
4309 if test ${with_mingw+y}
4311 withval
=$with_mingw;
4315 # Check whether --with-netapi was given.
4316 if test ${with_netapi+y}
4318 withval
=$with_netapi;
4322 # Check whether --with-opencl was given.
4323 if test ${with_opencl+y}
4325 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
4329 # Check whether --with-opengl was given.
4330 if test ${with_opengl+y}
4332 withval
=$with_opengl;
4336 # Check whether --with-osmesa was given.
4337 if test ${with_osmesa+y}
4339 withval
=$with_osmesa;
4343 # Check whether --with-oss was given.
4344 if test ${with_oss+y}
4350 # Check whether --with-pcap was given.
4351 if test ${with_pcap+y}
4353 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
4357 # Check whether --with-pcsclite was given.
4358 if test ${with_pcsclite+y}
4360 withval
=$with_pcsclite;
4364 # Check whether --with-pthread was given.
4365 if test ${with_pthread+y}
4367 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
4371 # Check whether --with-pulse was given.
4372 if test ${with_pulse+y}
4374 withval
=$with_pulse;
4378 # Check whether --with-sane was given.
4379 if test ${with_sane+y}
4385 # Check whether --with-sdl was given.
4386 if test ${with_sdl+y}
4392 # Check whether --with-udev was given.
4393 if test ${with_udev+y}
4399 # Check whether --with-unwind was given.
4400 if test ${with_unwind+y}
4402 withval
=$with_unwind;
4406 # Check whether --with-usb was given.
4407 if test ${with_usb+y}
4413 # Check whether --with-v4l2 was given.
4414 if test ${with_v4l2+y}
4420 # Check whether --with-vulkan was given.
4421 if test ${with_vulkan+y}
4423 withval
=$with_vulkan;
4427 # Check whether --with-wayland was given.
4428 if test ${with_wayland+y}
4430 withval
=$with_wayland;
4434 # Check whether --with-xcomposite was given.
4435 if test ${with_xcomposite+y}
4437 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
4441 # Check whether --with-xcursor was given.
4442 if test ${with_xcursor+y}
4444 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
4448 # Check whether --with-xfixes was given.
4449 if test ${with_xfixes+y}
4451 withval
=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h
=no
; fi
4455 # Check whether --with-xinerama was given.
4456 if test ${with_xinerama+y}
4458 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
4462 # Check whether --with-xinput was given.
4463 if test ${with_xinput+y}
4465 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
4469 # Check whether --with-xinput2 was given.
4470 if test ${with_xinput2+y}
4472 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
4476 # Check whether --with-xrandr was given.
4477 if test ${with_xrandr+y}
4479 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
4483 # Check whether --with-xrender was given.
4484 if test ${with_xrender+y}
4486 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
4490 # Check whether --with-xshape was given.
4491 if test ${with_xshape+y}
4493 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
4497 # Check whether --with-xshm was given.
4498 if test ${with_xshm+y}
4500 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
4504 # Check whether --with-xxf86vm was given.
4505 if test ${with_xxf86vm+y}
4507 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
4512 # Check whether --with-system-dllpath was given.
4513 if test ${with_system_dllpath+y}
4515 withval
=$with_system_dllpath; system_dllpath
=$withval
4520 # Check whether --with-wine-tools was given.
4521 if test ${with_wine_tools+y}
4523 withval
=$with_wine_tools;
4527 # Check whether --with-wine64 was given.
4528 if test ${with_wine64+y}
4530 withval
=$with_wine64;
4537 # Make sure we can run config.sub.
4538 $SHELL "${ac_aux_dir}config.sub" sun4
>/dev
/null
2>&1 ||
4539 as_fn_error $?
"cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4542 printf %s
"checking build system type... " >&6; }
4543 if test ${ac_cv_build+y}
4545 printf %s
"(cached) " >&6
4547 ac_build_alias
=$build_alias
4548 test "x$ac_build_alias" = x
&&
4549 ac_build_alias
=`$SHELL "${ac_aux_dir}config.guess"`
4550 test "x$ac_build_alias" = x
&&
4551 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
4552 ac_cv_build
=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4553 as_fn_error $?
"$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4557 printf "%s\n" "$ac_cv_build" >&6; }
4558 case $ac_cv_build in
4560 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
4563 ac_save_IFS
=$IFS; IFS
='-'
4569 # Remember, the first character of IFS is used to create $*,
4570 # except with old shells:
4573 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
4576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4577 printf %s
"checking host system type... " >&6; }
4578 if test ${ac_cv_host+y}
4580 printf %s
"(cached) " >&6
4582 if test "x$host_alias" = x
; then
4583 ac_cv_host
=$ac_cv_build
4585 ac_cv_host
=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4586 as_fn_error $?
"$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4591 printf "%s\n" "$ac_cv_host" >&6; }
4594 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
4597 ac_save_IFS
=$IFS; IFS
='-'
4603 # Remember, the first character of IFS is used to create $*,
4604 # except with old shells:
4607 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4611 dlldir
=\
${libdir}/wine
4613 fontdir
=\
${datadir}/wine
/fonts
4615 nlsdir
=\
${datadir}/wine
/nls
4620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4621 printf %s
"checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4623 ac_make
=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4624 if eval test \
${ac_cv_prog_make_${ac_make}_set+y}
4626 printf %s
"(cached) " >&6
4628 cat >conftest.
make <<\_ACEOF
4631 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4633 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4634 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4636 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4638 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4642 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4644 printf "%s\n" "yes" >&6; }
4647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4648 printf "%s\n" "no" >&6; }
4649 SET_MAKE
="MAKE=${MAKE-make}"
4662 ac_cpp
='$CPP $CPPFLAGS'
4663 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4664 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4665 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4666 if test -n "$ac_tool_prefix"; then
4667 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4668 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4670 printf %s
"checking for $ac_word... " >&6; }
4671 if test ${ac_cv_prog_CC+y}
4673 printf %s
"(cached) " >&6
4675 if test -n "$CC"; then
4676 ac_cv_prog_CC
="$CC" # Let the user override the test.
4678 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4682 case $as_dir in #(((
4685 *) as_dir
=$as_dir/ ;;
4687 for ac_exec_ext
in '' $ac_executable_extensions; do
4688 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4689 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4690 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4700 if test -n "$CC"; then
4701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4702 printf "%s\n" "$CC" >&6; }
4704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4705 printf "%s\n" "no" >&6; }
4710 if test -z "$ac_cv_prog_CC"; then
4712 # Extract the first word of "gcc", so it can be a program name with args.
4713 set dummy gcc
; ac_word
=$2
4714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4715 printf %s
"checking for $ac_word... " >&6; }
4716 if test ${ac_cv_prog_ac_ct_CC+y}
4718 printf %s
"(cached) " >&6
4720 if test -n "$ac_ct_CC"; then
4721 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4723 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4727 case $as_dir in #(((
4730 *) as_dir
=$as_dir/ ;;
4732 for ac_exec_ext
in '' $ac_executable_extensions; do
4733 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4734 ac_cv_prog_ac_ct_CC
="gcc"
4735 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4744 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4745 if test -n "$ac_ct_CC"; then
4746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4747 printf "%s\n" "$ac_ct_CC" >&6; }
4749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4750 printf "%s\n" "no" >&6; }
4753 if test "x$ac_ct_CC" = x
; then
4756 case $cross_compiling:$ac_tool_warned in
4758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4759 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4760 ac_tool_warned
=yes ;;
4768 if test -z "$CC"; then
4769 if test -n "$ac_tool_prefix"; then
4770 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4771 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4773 printf %s
"checking for $ac_word... " >&6; }
4774 if test ${ac_cv_prog_CC+y}
4776 printf %s
"(cached) " >&6
4778 if test -n "$CC"; then
4779 ac_cv_prog_CC
="$CC" # Let the user override the test.
4781 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4785 case $as_dir in #(((
4788 *) as_dir
=$as_dir/ ;;
4790 for ac_exec_ext
in '' $ac_executable_extensions; do
4791 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4792 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4793 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4803 if test -n "$CC"; then
4804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4805 printf "%s\n" "$CC" >&6; }
4807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4808 printf "%s\n" "no" >&6; }
4814 if test -z "$CC"; then
4815 # Extract the first word of "cc", so it can be a program name with args.
4816 set dummy cc
; ac_word
=$2
4817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4818 printf %s
"checking for $ac_word... " >&6; }
4819 if test ${ac_cv_prog_CC+y}
4821 printf %s
"(cached) " >&6
4823 if test -n "$CC"; then
4824 ac_cv_prog_CC
="$CC" # Let the user override the test.
4827 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4831 case $as_dir in #(((
4834 *) as_dir
=$as_dir/ ;;
4836 for ac_exec_ext
in '' $ac_executable_extensions; do
4837 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4838 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4839 ac_prog_rejected
=yes
4843 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4850 if test $ac_prog_rejected = yes; then
4851 # We found a bogon in the path, so make sure we never use it.
4852 set dummy
$ac_cv_prog_CC
4854 if test $# != 0; then
4855 # We chose a different compiler from the bogus one.
4856 # However, it has the same basename, so the bogon will be chosen
4857 # first if we set CC to just the basename; use the full file name.
4859 ac_cv_prog_CC
="$as_dir$ac_word${1+' '}$@"
4865 if test -n "$CC"; then
4866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4867 printf "%s\n" "$CC" >&6; }
4869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4870 printf "%s\n" "no" >&6; }
4875 if test -z "$CC"; then
4876 if test -n "$ac_tool_prefix"; then
4877 for ac_prog
in cl.exe
4879 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4880 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4882 printf %s
"checking for $ac_word... " >&6; }
4883 if test ${ac_cv_prog_CC+y}
4885 printf %s
"(cached) " >&6
4887 if test -n "$CC"; then
4888 ac_cv_prog_CC
="$CC" # Let the user override the test.
4890 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4894 case $as_dir in #(((
4897 *) as_dir
=$as_dir/ ;;
4899 for ac_exec_ext
in '' $ac_executable_extensions; do
4900 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4901 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4902 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4912 if test -n "$CC"; then
4913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4914 printf "%s\n" "$CC" >&6; }
4916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4917 printf "%s\n" "no" >&6; }
4921 test -n "$CC" && break
4924 if test -z "$CC"; then
4926 for ac_prog
in cl.exe
4928 # Extract the first word of "$ac_prog", so it can be a program name with args.
4929 set dummy
$ac_prog; ac_word
=$2
4930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4931 printf %s
"checking for $ac_word... " >&6; }
4932 if test ${ac_cv_prog_ac_ct_CC+y}
4934 printf %s
"(cached) " >&6
4936 if test -n "$ac_ct_CC"; then
4937 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4939 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4943 case $as_dir in #(((
4946 *) as_dir
=$as_dir/ ;;
4948 for ac_exec_ext
in '' $ac_executable_extensions; do
4949 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4950 ac_cv_prog_ac_ct_CC
="$ac_prog"
4951 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4960 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4961 if test -n "$ac_ct_CC"; then
4962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4963 printf "%s\n" "$ac_ct_CC" >&6; }
4965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4966 printf "%s\n" "no" >&6; }
4970 test -n "$ac_ct_CC" && break
4973 if test "x$ac_ct_CC" = x
; then
4976 case $cross_compiling:$ac_tool_warned in
4978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4979 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4980 ac_tool_warned
=yes ;;
4987 if test -z "$CC"; then
4988 if test -n "$ac_tool_prefix"; then
4989 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4990 set dummy
${ac_tool_prefix}clang
; ac_word
=$2
4991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4992 printf %s
"checking for $ac_word... " >&6; }
4993 if test ${ac_cv_prog_CC+y}
4995 printf %s
"(cached) " >&6
4997 if test -n "$CC"; then
4998 ac_cv_prog_CC
="$CC" # Let the user override the test.
5000 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5004 case $as_dir in #(((
5007 *) as_dir
=$as_dir/ ;;
5009 for ac_exec_ext
in '' $ac_executable_extensions; do
5010 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
5011 ac_cv_prog_CC
="${ac_tool_prefix}clang"
5012 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5022 if test -n "$CC"; then
5023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5024 printf "%s\n" "$CC" >&6; }
5026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5027 printf "%s\n" "no" >&6; }
5032 if test -z "$ac_cv_prog_CC"; then
5034 # Extract the first word of "clang", so it can be a program name with args.
5035 set dummy clang
; ac_word
=$2
5036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5037 printf %s
"checking for $ac_word... " >&6; }
5038 if test ${ac_cv_prog_ac_ct_CC+y}
5040 printf %s
"(cached) " >&6
5042 if test -n "$ac_ct_CC"; then
5043 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5045 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5049 case $as_dir in #(((
5052 *) as_dir
=$as_dir/ ;;
5054 for ac_exec_ext
in '' $ac_executable_extensions; do
5055 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
5056 ac_cv_prog_ac_ct_CC
="clang"
5057 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5066 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5067 if test -n "$ac_ct_CC"; then
5068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5069 printf "%s\n" "$ac_ct_CC" >&6; }
5071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5072 printf "%s\n" "no" >&6; }
5075 if test "x$ac_ct_CC" = x
; then
5078 case $cross_compiling:$ac_tool_warned in
5080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5081 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5082 ac_tool_warned
=yes ;;
5093 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5094 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5095 as_fn_error $?
"no acceptable C compiler found in \$PATH
5096 See \`config.log' for more details" "$LINENO" 5; }
5098 # Provide some information about the compiler.
5099 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5102 for ac_option
in --version -v -V -qversion -version; do
5103 { { ac_try
="$ac_compiler $ac_option >&5"
5105 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5106 *) ac_try_echo=$ac_try;;
5108 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5109 printf "%s\n" "$ac_try_echo"; } >&5
5110 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5112 if test -s conftest.err; then
5114 ... rest of stderr output deleted ...
5115 10q' conftest.err >conftest.er1
5116 cat conftest.er1 >&5
5118 rm -f conftest.er1 conftest.err
5119 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5120 test $ac_status = 0; }
5123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5124 /* end confdefs.h. */
5134 ac_clean_files_save=$ac_clean_files
5135 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5136 # Try to create an executable without -o first, disregard a.out.
5137 # It will help us diagnose broken compilers, and finding out an intuition
5139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5140 printf %s "checking whether the C compiler works... " >&6; }
5141 ac_link_default=`printf "%s\n" "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
5143 # The possible output files:
5144 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5147 for ac_file in $ac_files
5150 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5151 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5156 if { { ac_try="$ac_link_default"
5158 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5159 *) ac_try_echo
=$ac_try;;
5161 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5162 printf "%s\n" "$ac_try_echo"; } >&5
5163 (eval "$ac_link_default") 2>&5
5165 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5166 test $ac_status = 0; }
5168 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5169 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5170 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5171 # so that the user can short-circuit this test for compilers unknown to
5173 for ac_file
in $ac_files ''
5175 test -f "$ac_file" ||
continue
5177 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
5180 # We found the default executable, but exeext='' is most
5184 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no
;
5186 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
5188 # We set ac_cv_exeext here because the later test for it is not
5189 # safe: cross compilers may not add the suffix if given an `-o'
5190 # argument, so we may need to know it at that point already.
5191 # Even if this section looks crufty: it has the advantage of
5198 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
5203 if test -z "$ac_file"
5205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5206 printf "%s\n" "no" >&6; }
5207 printf "%s\n" "$as_me: failed program was:" >&5
5208 sed 's/^/| /' conftest.
$ac_ext >&5
5210 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5211 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5212 as_fn_error
77 "C compiler cannot create executables
5213 See \`config.log' for more details" "$LINENO" 5; }
5215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5216 printf "%s\n" "yes" >&6; }
5218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5219 printf %s
"checking for C compiler default output file name... " >&6; }
5220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5221 printf "%s\n" "$ac_file" >&6; }
5222 ac_exeext
=$ac_cv_exeext
5224 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
5225 ac_clean_files
=$ac_clean_files_save
5226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5227 printf %s
"checking for suffix of executables... " >&6; }
5228 if { { ac_try
="$ac_link"
5230 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5231 *) ac_try_echo=$ac_try;;
5233 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5234 printf "%s\n" "$ac_try_echo"; } >&5
5235 (eval "$ac_link") 2>&5
5237 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5238 test $ac_status = 0; }
5240 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
5241 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
5242 # work properly (i.e., refer to `conftest.exe'), while it won't with
5244 for ac_file
in conftest.exe conftest conftest.
*; do
5245 test -f "$ac_file" ||
continue
5247 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
5248 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
5254 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5255 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5256 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
5257 See \`config.log' for more details" "$LINENO" 5; }
5259 rm -f conftest conftest
$ac_cv_exeext
5260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5261 printf "%s\n" "$ac_cv_exeext" >&6; }
5263 rm -f conftest.
$ac_ext
5264 EXEEXT
=$ac_cv_exeext
5266 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5267 /* end confdefs.h. */
5272 FILE *f = fopen ("conftest.out", "w");
5273 return ferror (f) || fclose (f) != 0;
5279 ac_clean_files
="$ac_clean_files conftest.out"
5280 # Check that the compiler produces executables we can run. If not, either
5281 # the compiler is broken, or we cross compile.
5282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5283 printf %s
"checking whether we are cross compiling... " >&6; }
5284 if test "$cross_compiling" != yes; then
5285 { { ac_try
="$ac_link"
5287 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5288 *) ac_try_echo=$ac_try;;
5290 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5291 printf "%s\n" "$ac_try_echo"; } >&5
5292 (eval "$ac_link") 2>&5
5294 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5295 test $ac_status = 0; }
5296 if { ac_try='./conftest$ac_cv_exeext'
5297 { { case "(($ac_try" in
5298 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5299 *) ac_try_echo
=$ac_try;;
5301 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5302 printf "%s\n" "$ac_try_echo"; } >&5
5303 (eval "$ac_try") 2>&5
5305 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5306 test $ac_status = 0; }; }; then
5309 if test "$cross_compiling" = maybe
; then
5312 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5313 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5314 as_fn_error
77 "cannot run C compiled programs.
5315 If you meant to cross compile, use \`--host'.
5316 See \`config.log' for more details" "$LINENO" 5; }
5320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5321 printf "%s\n" "$cross_compiling" >&6; }
5323 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
5324 ac_clean_files
=$ac_clean_files_save
5325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5326 printf %s
"checking for suffix of object files... " >&6; }
5327 if test ${ac_cv_objext+y}
5329 printf %s
"(cached) " >&6
5331 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5332 /* end confdefs.h. */
5342 rm -f conftest.o conftest.obj
5343 if { { ac_try
="$ac_compile"
5345 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5346 *) ac_try_echo=$ac_try;;
5348 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5349 printf "%s\n" "$ac_try_echo"; } >&5
5350 (eval "$ac_compile") 2>&5
5352 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5353 test $ac_status = 0; }
5355 for ac_file in conftest.o conftest.obj conftest.*; do
5356 test -f "$ac_file" || continue;
5358 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5359 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5364 printf "%s\n" "$as_me: failed program was:" >&5
5365 sed 's/^/| /' conftest.$ac_ext >&5
5367 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5368 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5369 as_fn_error $? "cannot compute suffix of object files
: cannot compile
5370 See \
`config.log' for more details" "$LINENO" 5; }
5372 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5375 printf "%s\n" "$ac_cv_objext" >&6; }
5376 OBJEXT=$ac_cv_objext
5378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5379 printf %s "checking whether the compiler supports GNU C... " >&6; }
5380 if test ${ac_cv_c_compiler_gnu+y}
5382 printf %s "(cached) " >&6
5384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5385 /* end confdefs.h. */
5398 if ac_fn_c_try_compile "$LINENO"
5404 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5405 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5409 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5412 if test $ac_compiler_gnu = yes; then
5417 ac_test_CFLAGS=${CFLAGS+y}
5418 ac_save_CFLAGS=$CFLAGS
5419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5420 printf %s "checking whether $CC accepts -g... " >&6; }
5421 if test ${ac_cv_prog_cc_g+y}
5423 printf %s "(cached) " >&6
5425 ac_save_c_werror_flag=$ac_c_werror_flag
5426 ac_c_werror_flag=yes
5429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5430 /* end confdefs.h. */
5440 if ac_fn_c_try_compile "$LINENO"
5445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5446 /* end confdefs.h. */
5456 if ac_fn_c_try_compile "$LINENO"
5460 ac_c_werror_flag=$ac_save_c_werror_flag
5462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5463 /* end confdefs.h. */
5473 if ac_fn_c_try_compile "$LINENO"
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
5481 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5482 ac_c_werror_flag=$ac_save_c_werror_flag
5484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5485 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5486 if test $ac_test_CFLAGS; then
5487 CFLAGS=$ac_save_CFLAGS
5488 elif test $ac_cv_prog_cc_g = yes; then
5489 if test "$GCC" = yes; then
5495 if test "$GCC" = yes; then
5502 if test x$ac_prog_cc_stdc = xno
5504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5505 printf %s "checking for $CC option to enable C11 features... " >&6; }
5506 if test ${ac_cv_prog_cc_c11+y}
5508 printf %s "(cached) " >&6
5510 ac_cv_prog_cc_c11=no
5512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5513 /* end confdefs.h. */
5514 $ac_c_conftest_c11_program
5516 for ac_arg in '' -std=gnu11
5518 CC="$ac_save_CC $ac_arg"
5519 if ac_fn_c_try_compile "$LINENO"
5521 ac_cv_prog_cc_c11=$ac_arg
5523 rm -f core conftest.err conftest.$ac_objext conftest.beam
5524 test "x$ac_cv_prog_cc_c11" != "xno" && break
5526 rm -f conftest.$ac_ext
5530 if test "x$ac_cv_prog_cc_c11" = xno
5532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5533 printf "%s\n" "unsupported" >&6; }
5535 if test "x$ac_cv_prog_cc_c11" = x
5537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5538 printf "%s\n" "none needed" >&6; }
5540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5541 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5542 CC="$CC $ac_cv_prog_cc_c11"
5544 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5548 if test x$ac_prog_cc_stdc = xno
5550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5551 printf %s "checking for $CC option to enable C99 features... " >&6; }
5552 if test ${ac_cv_prog_cc_c99+y}
5554 printf %s "(cached) " >&6
5556 ac_cv_prog_cc_c99=no
5558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5559 /* end confdefs.h. */
5560 $ac_c_conftest_c99_program
5562 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5564 CC="$ac_save_CC $ac_arg"
5565 if ac_fn_c_try_compile "$LINENO"
5567 ac_cv_prog_cc_c99=$ac_arg
5569 rm -f core conftest.err conftest.$ac_objext conftest.beam
5570 test "x$ac_cv_prog_cc_c99" != "xno" && break
5572 rm -f conftest.$ac_ext
5576 if test "x$ac_cv_prog_cc_c99" = xno
5578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5579 printf "%s\n" "unsupported" >&6; }
5581 if test "x$ac_cv_prog_cc_c99" = x
5583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5584 printf "%s\n" "none needed" >&6; }
5586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5587 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5588 CC="$CC $ac_cv_prog_cc_c99"
5590 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5594 if test x$ac_prog_cc_stdc = xno
5596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5597 printf %s "checking for $CC option to enable C89 features... " >&6; }
5598 if test ${ac_cv_prog_cc_c89+y}
5600 printf %s "(cached) " >&6
5602 ac_cv_prog_cc_c89=no
5604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5605 /* end confdefs.h. */
5606 $ac_c_conftest_c89_program
5608 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5610 CC="$ac_save_CC $ac_arg"
5611 if ac_fn_c_try_compile "$LINENO"
5613 ac_cv_prog_cc_c89=$ac_arg
5615 rm -f core conftest.err conftest.$ac_objext conftest.beam
5616 test "x$ac_cv_prog_cc_c89" != "xno" && break
5618 rm -f conftest.$ac_ext
5622 if test "x$ac_cv_prog_cc_c89" = xno
5624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5625 printf "%s\n" "unsupported" >&6; }
5627 if test "x$ac_cv_prog_cc_c89" = x
5629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5630 printf "%s\n" "none needed" >&6; }
5632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5633 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5634 CC="$CC $ac_cv_prog_cc_c89"
5636 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5642 ac_cpp='$CPP $CPPFLAGS'
5643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5654 ac_cpp='$CXXCPP $CPPFLAGS'
5655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5658 if test -z "$CXX"; then
5659 if test -n "$CCC"; then
5662 if test -n "$ac_tool_prefix"; then
5663 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5665 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5666 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5668 printf %s "checking for $ac_word... " >&6; }
5669 if test ${ac_cv_prog_CXX+y}
5671 printf %s "(cached) " >&6
5673 if test -n "$CXX"; then
5674 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5680 case $as_dir in #(((
5683 *) as_dir=$as_dir/ ;;
5685 for ac_exec_ext in '' $ac_executable_extensions; do
5686 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5687 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5688 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5698 if test -n "$CXX"; then
5699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5700 printf "%s\n" "$CXX" >&6; }
5702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5703 printf "%s\n" "no" >&6; }
5707 test -n "$CXX" && break
5710 if test -z "$CXX"; then
5712 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5714 # Extract the first word of "$ac_prog", so it can be a program name with args.
5715 set dummy $ac_prog; ac_word=$2
5716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5717 printf %s "checking for $ac_word... " >&6; }
5718 if test ${ac_cv_prog_ac_ct_CXX+y}
5720 printf %s "(cached) " >&6
5722 if test -n "$ac_ct_CXX"; then
5723 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5729 case $as_dir in #(((
5732 *) as_dir=$as_dir/ ;;
5734 for ac_exec_ext in '' $ac_executable_extensions; do
5735 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5736 ac_cv_prog_ac_ct_CXX="$ac_prog"
5737 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5746 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5747 if test -n "$ac_ct_CXX"; then
5748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5749 printf "%s\n" "$ac_ct_CXX" >&6; }
5751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5752 printf "%s\n" "no" >&6; }
5756 test -n "$ac_ct_CXX" && break
5759 if test "x$ac_ct_CXX" = x; then
5762 case $cross_compiling:$ac_tool_warned in
5764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5765 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5766 ac_tool_warned=yes ;;
5774 # Provide some information about the compiler.
5775 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5778 for ac_option in --version -v -V -qversion; do
5779 { { ac_try="$ac_compiler $ac_option >&5"
5781 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5782 *) ac_try_echo
=$ac_try;;
5784 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5785 printf "%s\n" "$ac_try_echo"; } >&5
5786 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5788 if test -s conftest.err
; then
5790 ... rest of stderr output deleted ...
5791 10q' conftest.err
>conftest.er1
5792 cat conftest.er1
>&5
5794 rm -f conftest.er1 conftest.err
5795 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5796 test $ac_status = 0; }
5799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5800 printf %s
"checking whether the compiler supports GNU C++... " >&6; }
5801 if test ${ac_cv_cxx_compiler_gnu+y}
5803 printf %s
"(cached) " >&6
5805 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5806 /* end confdefs.h. */
5819 if ac_fn_cxx_try_compile
"$LINENO"
5825 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5826 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5830 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5831 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5833 if test $ac_compiler_gnu = yes; then
5838 ac_test_CXXFLAGS
=${CXXFLAGS+y}
5839 ac_save_CXXFLAGS
=$CXXFLAGS
5840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5841 printf %s
"checking whether $CXX accepts -g... " >&6; }
5842 if test ${ac_cv_prog_cxx_g+y}
5844 printf %s
"(cached) " >&6
5846 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5847 ac_cxx_werror_flag
=yes
5850 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5851 /* end confdefs.h. */
5861 if ac_fn_cxx_try_compile
"$LINENO"
5863 ac_cv_prog_cxx_g
=yes
5866 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5867 /* end confdefs.h. */
5877 if ac_fn_cxx_try_compile
"$LINENO"
5881 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5883 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5884 /* end confdefs.h. */
5894 if ac_fn_cxx_try_compile
"$LINENO"
5896 ac_cv_prog_cxx_g
=yes
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
5902 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5903 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5906 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5907 if test $ac_test_CXXFLAGS; then
5908 CXXFLAGS
=$ac_save_CXXFLAGS
5909 elif test $ac_cv_prog_cxx_g = yes; then
5910 if test "$GXX" = yes; then
5916 if test "$GXX" = yes; then
5922 ac_prog_cxx_stdcxx
=no
5923 if test x
$ac_prog_cxx_stdcxx = xno
5925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5926 printf %s
"checking for $CXX option to enable C++11 features... " >&6; }
5927 if test ${ac_cv_prog_cxx_cxx11+y}
5929 printf %s
"(cached) " >&6
5931 ac_cv_prog_cxx_cxx11
=no
5933 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5934 /* end confdefs.h. */
5935 $ac_cxx_conftest_cxx11_program
5937 for ac_arg
in '' -std=gnu
++11 -std=gnu
++0x
-std=c
++11 -std=c
++0x
-qlanglvl=extended0x
-AA
5939 CXX
="$ac_save_CXX $ac_arg"
5940 if ac_fn_cxx_try_compile
"$LINENO"
5942 ac_cv_prog_cxx_cxx11
=$ac_arg
5944 rm -f core conftest.err conftest.
$ac_objext conftest.beam
5945 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5947 rm -f conftest.
$ac_ext
5951 if test "x$ac_cv_prog_cxx_cxx11" = xno
5953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5954 printf "%s\n" "unsupported" >&6; }
5956 if test "x$ac_cv_prog_cxx_cxx11" = x
5958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5959 printf "%s\n" "none needed" >&6; }
5961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5962 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5963 CXX
="$CXX $ac_cv_prog_cxx_cxx11"
5965 ac_cv_prog_cxx_stdcxx
=$ac_cv_prog_cxx_cxx11
5966 ac_prog_cxx_stdcxx
=cxx11
5969 if test x
$ac_prog_cxx_stdcxx = xno
5971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5972 printf %s
"checking for $CXX option to enable C++98 features... " >&6; }
5973 if test ${ac_cv_prog_cxx_cxx98+y}
5975 printf %s
"(cached) " >&6
5977 ac_cv_prog_cxx_cxx98
=no
5979 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5980 /* end confdefs.h. */
5981 $ac_cxx_conftest_cxx98_program
5983 for ac_arg
in '' -std=gnu
++98 -std=c
++98 -qlanglvl=extended
-AA
5985 CXX
="$ac_save_CXX $ac_arg"
5986 if ac_fn_cxx_try_compile
"$LINENO"
5988 ac_cv_prog_cxx_cxx98
=$ac_arg
5990 rm -f core conftest.err conftest.
$ac_objext conftest.beam
5991 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
5993 rm -f conftest.
$ac_ext
5997 if test "x$ac_cv_prog_cxx_cxx98" = xno
5999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6000 printf "%s\n" "unsupported" >&6; }
6002 if test "x$ac_cv_prog_cxx_cxx98" = x
6004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6005 printf "%s\n" "none needed" >&6; }
6007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
6008 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
6009 CXX
="$CXX $ac_cv_prog_cxx_cxx98"
6011 ac_cv_prog_cxx_stdcxx
=$ac_cv_prog_cxx_cxx98
6012 ac_prog_cxx_stdcxx
=cxx98
6017 ac_cpp
='$CPP $CPPFLAGS'
6018 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6019 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6020 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6022 if test -n "$ac_tool_prefix"; then
6023 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
6024 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
6025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6026 printf %s
"checking for $ac_word... " >&6; }
6027 if test ${ac_cv_prog_CPPBIN+y}
6029 printf %s
"(cached) " >&6
6031 if test -n "$CPPBIN"; then
6032 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
6034 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6038 case $as_dir in #(((
6041 *) as_dir
=$as_dir/ ;;
6043 for ac_exec_ext
in '' $ac_executable_extensions; do
6044 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6045 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
6046 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6055 CPPBIN
=$ac_cv_prog_CPPBIN
6056 if test -n "$CPPBIN"; then
6057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6058 printf "%s\n" "$CPPBIN" >&6; }
6060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6061 printf "%s\n" "no" >&6; }
6066 if test -z "$ac_cv_prog_CPPBIN"; then
6067 ac_ct_CPPBIN
=$CPPBIN
6068 # Extract the first word of "cpp", so it can be a program name with args.
6069 set dummy cpp
; ac_word
=$2
6070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6071 printf %s
"checking for $ac_word... " >&6; }
6072 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6074 printf %s
"(cached) " >&6
6076 if test -n "$ac_ct_CPPBIN"; then
6077 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
6079 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6083 case $as_dir in #(((
6086 *) as_dir
=$as_dir/ ;;
6088 for ac_exec_ext
in '' $ac_executable_extensions; do
6089 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6090 ac_cv_prog_ac_ct_CPPBIN
="cpp"
6091 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6100 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
6101 if test -n "$ac_ct_CPPBIN"; then
6102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6103 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6106 printf "%s\n" "no" >&6; }
6109 if test "x$ac_ct_CPPBIN" = x
; then
6112 case $cross_compiling:$ac_tool_warned in
6114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6115 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6116 ac_tool_warned
=yes ;;
6118 CPPBIN
=$ac_ct_CPPBIN
6121 CPPBIN
="$ac_cv_prog_CPPBIN"
6125 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6127 if test -n "$ac_tool_prefix"; then
6128 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6129 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
6130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6131 printf %s
"checking for $ac_word... " >&6; }
6132 if test ${ac_cv_prog_LD+y}
6134 printf %s
"(cached) " >&6
6136 if test -n "$LD"; then
6137 ac_cv_prog_LD
="$LD" # Let the user override the test.
6139 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6143 case $as_dir in #(((
6146 *) as_dir
=$as_dir/ ;;
6148 for ac_exec_ext
in '' $ac_executable_extensions; do
6149 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6150 ac_cv_prog_LD
="${ac_tool_prefix}ld"
6151 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6161 if test -n "$LD"; then
6162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6163 printf "%s\n" "$LD" >&6; }
6165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6166 printf "%s\n" "no" >&6; }
6171 if test -z "$ac_cv_prog_LD"; then
6173 # Extract the first word of "ld", so it can be a program name with args.
6174 set dummy ld
; ac_word
=$2
6175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6176 printf %s
"checking for $ac_word... " >&6; }
6177 if test ${ac_cv_prog_ac_ct_LD+y}
6179 printf %s
"(cached) " >&6
6181 if test -n "$ac_ct_LD"; then
6182 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
6184 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6188 case $as_dir in #(((
6191 *) as_dir
=$as_dir/ ;;
6193 for ac_exec_ext
in '' $ac_executable_extensions; do
6194 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6195 ac_cv_prog_ac_ct_LD
="ld"
6196 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6205 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
6206 if test -n "$ac_ct_LD"; then
6207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6208 printf "%s\n" "$ac_ct_LD" >&6; }
6210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6211 printf "%s\n" "no" >&6; }
6214 if test "x$ac_ct_LD" = x
; then
6217 case $cross_compiling:$ac_tool_warned in
6219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6220 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6221 ac_tool_warned
=yes ;;
6232 with_fontconfig
=${with_fontconfig:-no}
6234 *-mingw32*|
*-cygwin*)
6235 enable_win16
=${enable_win16:-no}
6236 with_mingw
=${with_mingw:-no}
6243 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x
"$enable_archs" = x
6248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6249 printf %s
"checking whether $CC works... " >&6; }
6250 if test ${wine_cv_cc_m32+y}
6252 printf %s
"(cached) " >&6
6254 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6255 /* end confdefs.h. */
6265 if ac_fn_c_try_link
"$LINENO"
6271 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6272 conftest
$ac_exeext conftest.
$ac_ext
6274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6275 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6276 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
6278 notice_platform
="32-bit "
6279 TARGETFLAGS
="$TARGETFLAGS -m32"
6280 PKG_CONFIG_LIBDIR
=${PKG_CONFIG_LIBDIR:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6281 export PKG_CONFIG_LIBDIR
6282 with_unwind
=${with_unwind:-no}
6287 notice_platform
="64-bit "
6288 TARGETFLAGS
="$TARGETFLAGS -m64"
6292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6293 printf %s
"checking whether $CC supports Thumb-2... " >&6; }
6294 if test ${wine_cv_thumb2+y}
6296 printf %s
"(cached) " >&6
6298 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6299 /* end confdefs.h. */
6304 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6309 if ac_fn_c_try_link
"$LINENO"
6315 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6316 conftest
$ac_exeext conftest.
$ac_ext
6318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6319 printf "%s\n" "$wine_cv_thumb2" >&6; }
6320 if test x
"$wine_cv_thumb2" = xyes
6322 CFLAGS
="$CFLAGS -mthumb"
6323 TARGETFLAGS
="$TARGETFLAGS -mthumb"
6325 CFLAGS
="$CFLAGS -marm"
6326 TARGETFLAGS
="$TARGETFLAGS -marm"
6328 case $with_float_abi in
6330 float_abi
=$with_float_abi ;;
6337 saved_CFLAGS
=$CFLAGS
6338 CFLAGS
="$CFLAGS -mfloat-abi=$float_abi"
6339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6340 printf %s
"checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6341 if test ${wine_cv_float_abi+y}
6343 printf %s
"(cached) " >&6
6345 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6346 /* end confdefs.h. */
6351 asm("vmrs r2,fpscr");
6356 if ac_fn_c_try_link
"$LINENO"
6358 wine_cv_float_abi
=yes
6360 wine_cv_float_abi
=no
6362 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6363 conftest
$ac_exeext conftest.
$ac_ext
6365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6366 printf "%s\n" "$wine_cv_float_abi" >&6; }
6367 if test $wine_cv_float_abi = no
6370 as_fn_append wine_warnings
"|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6372 CFLAGS
=$saved_CFLAGS
6376 CFLAGS
="$CFLAGS -mfloat-abi=$float_abi"
6377 TARGETFLAGS
="$TARGETFLAGS -mfloat-abi=$float_abi"
6380 with_unwind
=${with_unwind:-no}
6384 enable_win16
=${enable_win16:-i386}
6385 enable_win64
=${enable_win64:-no}
6386 enable_wow64
=${enable_wow64:-aarch64,x86_64}
6387 enable_wow64win
=${enable_wow64win:-aarch64,x86_64}
6388 enable_wow64cpu
=${enable_wow64cpu:-x86_64}
6390 enable_winetest
=${enable_winetest:-$enable_tests}
6392 if test "x$enable_win64" = "xyes"
6394 test -z "$with_wine64" || as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
6395 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6399 cygwin
*|mingw32
*) toolsext
=".exe"
6407 aarch64
*) HOST_ARCH
=aarch64
;;
6408 arm
*) HOST_ARCH
=arm
;;
6409 i
[3456789]86*) HOST_ARCH
=i386
;;
6410 x86_64
) HOST_ARCH
=x86_64
;;
6414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6415 printf %s
"checking for the directory containing the Wine tools... " >&6; }
6416 if test ${wine_cv_toolsdir+y}
6418 printf %s
"(cached) " >&6
6420 wine_cv_toolsdir
="$with_wine_tools"
6421 if test -z "$with_wine_tools"; then
6422 if test "$cross_compiling" = "yes"; then
6423 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6424 elif test -n "$with_wine64"; then
6425 wine_cv_toolsdir
="$with_wine64"
6429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6430 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6431 if test -z "$wine_cv_toolsdir"; then
6432 wine_makedep
=tools
/makedep
$toolsext
6433 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6434 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
$toolsext
6435 enable_tools
=${enable_tools:-no}
6436 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6438 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6440 toolsdir
=$wine_cv_toolsdir
6442 MAKEDEP
=$wine_makedep
6444 RUNTESTFLAGS
="-q -P wine"
6446 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'"
6449 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6451 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
6456 # Extract the first word of "$ac_prog", so it can be a program name with args.
6457 set dummy
$ac_prog; ac_word
=$2
6458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6459 printf %s
"checking for $ac_word... " >&6; }
6460 if test ${ac_cv_prog_FLEX+y}
6462 printf %s
"(cached) " >&6
6464 if test -n "$FLEX"; then
6465 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
6467 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6471 case $as_dir in #(((
6474 *) as_dir
=$as_dir/ ;;
6476 for ac_exec_ext
in '' $ac_executable_extensions; do
6477 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6478 ac_cv_prog_FLEX
="$ac_prog"
6479 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6488 FLEX
=$ac_cv_prog_FLEX
6489 if test -n "$FLEX"; then
6490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6491 printf "%s\n" "$FLEX" >&6; }
6493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6494 printf "%s\n" "no" >&6; }
6498 test -n "$FLEX" && break
6500 test -n "$FLEX" || FLEX
="none"
6502 if test "$FLEX" = "none"
6504 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6507 printf %s
"checking whether flex is recent enough... " >&6; }
6508 if test ${wine_cv_recent_flex+y}
6510 printf %s
"(cached) " >&6
6512 cat >conftest.l
<<EOF
6514 #include "prediluvian.h"
6518 if $FLEX -t conftest.l
>/dev
/null
2>&5
6520 wine_cv_recent_flex
=yes
6522 wine_cv_recent_flex
=no
6525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6526 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6527 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
6529 for ac_prog
in bison
6531 # Extract the first word of "$ac_prog", so it can be a program name with args.
6532 set dummy
$ac_prog; ac_word
=$2
6533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6534 printf %s
"checking for $ac_word... " >&6; }
6535 if test ${ac_cv_prog_BISON+y}
6537 printf %s
"(cached) " >&6
6539 if test -n "$BISON"; then
6540 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
6542 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6546 case $as_dir in #(((
6549 *) as_dir
=$as_dir/ ;;
6551 for ac_exec_ext
in '' $ac_executable_extensions; do
6552 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6553 ac_cv_prog_BISON
="$ac_prog"
6554 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6563 BISON
=$ac_cv_prog_BISON
6564 if test -n "$BISON"; then
6565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6566 printf "%s\n" "$BISON" >&6; }
6568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6569 printf "%s\n" "no" >&6; }
6573 test -n "$BISON" && break
6575 test -n "$BISON" || BISON
="none"
6577 if test "$BISON" = "none"
6579 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6582 printf %s
"checking whether bison is recent enough... " >&6; }
6583 if test ${wine_cv_recent_bison+y}
6585 printf %s
"(cached) " >&6
6587 cat >conftest.y
<<EOF
6588 %define parse.error verbose
6592 if $BISON conftest.y
>/dev
/null
2>&5
6594 wine_cv_recent_bison
=yes
6596 wine_cv_recent_bison
=no
6599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6600 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6601 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
6603 if test -n "$ac_tool_prefix"; then
6604 for ac_prog
in ar gar
6606 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6607 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6609 printf %s
"checking for $ac_word... " >&6; }
6610 if test ${ac_cv_prog_AR+y}
6612 printf %s
"(cached) " >&6
6614 if test -n "$AR"; then
6615 ac_cv_prog_AR
="$AR" # Let the user override the test.
6617 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6621 case $as_dir in #(((
6624 *) as_dir
=$as_dir/ ;;
6626 for ac_exec_ext
in '' $ac_executable_extensions; do
6627 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6628 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
6629 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6639 if test -n "$AR"; then
6640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6641 printf "%s\n" "$AR" >&6; }
6643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6644 printf "%s\n" "no" >&6; }
6648 test -n "$AR" && break
6651 if test -z "$AR"; then
6653 for ac_prog
in ar gar
6655 # Extract the first word of "$ac_prog", so it can be a program name with args.
6656 set dummy
$ac_prog; ac_word
=$2
6657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6658 printf %s
"checking for $ac_word... " >&6; }
6659 if test ${ac_cv_prog_ac_ct_AR+y}
6661 printf %s
"(cached) " >&6
6663 if test -n "$ac_ct_AR"; then
6664 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6666 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6670 case $as_dir in #(((
6673 *) as_dir
=$as_dir/ ;;
6675 for ac_exec_ext
in '' $ac_executable_extensions; do
6676 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6677 ac_cv_prog_ac_ct_AR
="$ac_prog"
6678 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6687 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6688 if test -n "$ac_ct_AR"; then
6689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6690 printf "%s\n" "$ac_ct_AR" >&6; }
6692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6693 printf "%s\n" "no" >&6; }
6697 test -n "$ac_ct_AR" && break
6700 if test "x$ac_ct_AR" = x
; then
6703 case $cross_compiling:$ac_tool_warned in
6705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6706 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6707 ac_tool_warned
=yes ;;
6713 if test -n "$ac_tool_prefix"; then
6714 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6715 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6717 printf %s
"checking for $ac_word... " >&6; }
6718 if test ${ac_cv_prog_STRIP+y}
6720 printf %s
"(cached) " >&6
6722 if test -n "$STRIP"; then
6723 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6725 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6729 case $as_dir in #(((
6732 *) as_dir
=$as_dir/ ;;
6734 for ac_exec_ext
in '' $ac_executable_extensions; do
6735 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6736 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6737 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6746 STRIP
=$ac_cv_prog_STRIP
6747 if test -n "$STRIP"; then
6748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6749 printf "%s\n" "$STRIP" >&6; }
6751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6752 printf "%s\n" "no" >&6; }
6757 if test -z "$ac_cv_prog_STRIP"; then
6759 # Extract the first word of "strip", so it can be a program name with args.
6760 set dummy strip
; ac_word
=$2
6761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6762 printf %s
"checking for $ac_word... " >&6; }
6763 if test ${ac_cv_prog_ac_ct_STRIP+y}
6765 printf %s
"(cached) " >&6
6767 if test -n "$ac_ct_STRIP"; then
6768 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6770 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6774 case $as_dir in #(((
6777 *) as_dir
=$as_dir/ ;;
6779 for ac_exec_ext
in '' $ac_executable_extensions; do
6780 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6781 ac_cv_prog_ac_ct_STRIP
="strip"
6782 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6791 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6792 if test -n "$ac_ct_STRIP"; then
6793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6794 printf "%s\n" "$ac_ct_STRIP" >&6; }
6796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6797 printf "%s\n" "no" >&6; }
6800 if test "x$ac_ct_STRIP" = x
; then
6803 case $cross_compiling:$ac_tool_warned in
6805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6806 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6807 ac_tool_warned
=yes ;;
6812 STRIP
="$ac_cv_prog_STRIP"
6815 if test -n "$ac_tool_prefix"; then
6816 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6817 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6819 printf %s
"checking for $ac_word... " >&6; }
6820 if test ${ac_cv_prog_RANLIB+y}
6822 printf %s
"(cached) " >&6
6824 if test -n "$RANLIB"; then
6825 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6827 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6831 case $as_dir in #(((
6834 *) as_dir
=$as_dir/ ;;
6836 for ac_exec_ext
in '' $ac_executable_extensions; do
6837 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6838 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6839 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6848 RANLIB
=$ac_cv_prog_RANLIB
6849 if test -n "$RANLIB"; then
6850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6851 printf "%s\n" "$RANLIB" >&6; }
6853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6854 printf "%s\n" "no" >&6; }
6859 if test -z "$ac_cv_prog_RANLIB"; then
6860 ac_ct_RANLIB
=$RANLIB
6861 # Extract the first word of "ranlib", so it can be a program name with args.
6862 set dummy ranlib
; ac_word
=$2
6863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6864 printf %s
"checking for $ac_word... " >&6; }
6865 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6867 printf %s
"(cached) " >&6
6869 if test -n "$ac_ct_RANLIB"; then
6870 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6872 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6876 case $as_dir in #(((
6879 *) as_dir
=$as_dir/ ;;
6881 for ac_exec_ext
in '' $ac_executable_extensions; do
6882 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6883 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6884 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6893 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6894 if test -n "$ac_ct_RANLIB"; then
6895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6896 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6899 printf "%s\n" "no" >&6; }
6902 if test "x$ac_ct_RANLIB" = x
; then
6905 case $cross_compiling:$ac_tool_warned in
6907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6908 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6909 ac_tool_warned
=yes ;;
6911 RANLIB
=$ac_ct_RANLIB
6914 RANLIB
="$ac_cv_prog_RANLIB"
6917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6918 printf %s
"checking whether ln -s works... " >&6; }
6920 if test "$LN_S" = "ln -s"; then
6921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6922 printf "%s\n" "yes" >&6; }
6924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6925 printf "%s\n" "no, using $LN_S" >&6; }
6928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6929 printf %s
"checking for grep that handles long lines and -e... " >&6; }
6930 if test ${ac_cv_path_GREP+y}
6932 printf %s
"(cached) " >&6
6934 if test -z "$GREP"; then
6935 ac_path_GREP_found
=false
6936 # Loop through the user's path and test for each of PROGNAME-LIST
6937 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6938 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6941 case $as_dir in #(((
6944 *) as_dir
=$as_dir/ ;;
6946 for ac_prog
in grep ggrep
6948 for ac_exec_ext
in '' $ac_executable_extensions; do
6949 ac_path_GREP
="$as_dir$ac_prog$ac_exec_ext"
6950 as_fn_executable_p
"$ac_path_GREP" ||
continue
6951 # Check for GNU ac_path_GREP and select it if it is found.
6952 # Check for GNU $ac_path_GREP
6953 case `"$ac_path_GREP" --version 2>&1` in
6955 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6958 printf %s
0123456789 >"conftest.in"
6961 cat "conftest.in" "conftest.in" >"conftest.tmp"
6962 mv "conftest.tmp" "conftest.in"
6963 cp "conftest.in" "conftest.nl"
6964 printf "%s\n" 'GREP' >> "conftest.nl"
6965 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6966 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6967 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6968 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6969 # Best one so far, save it but keep looking for a better one
6970 ac_cv_path_GREP
="$ac_path_GREP"
6971 ac_path_GREP_max
=$ac_count
6973 # 10*(2^10) chars as input seems more than enough
6974 test $ac_count -gt 10 && break
6976 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6979 $ac_path_GREP_found && break 3
6984 if test -z "$ac_cv_path_GREP"; then
6985 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6988 ac_cv_path_GREP
=$GREP
6992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6993 printf "%s\n" "$ac_cv_path_GREP" >&6; }
6994 GREP
="$ac_cv_path_GREP"
6997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6998 printf %s
"checking for egrep... " >&6; }
6999 if test ${ac_cv_path_EGREP+y}
7001 printf %s
"(cached) " >&6
7003 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
7004 then ac_cv_path_EGREP
="$GREP -E"
7006 if test -z "$EGREP"; then
7007 ac_path_EGREP_found
=false
7008 # Loop through the user's path and test for each of PROGNAME-LIST
7009 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7010 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7013 case $as_dir in #(((
7016 *) as_dir
=$as_dir/ ;;
7018 for ac_prog
in egrep
7020 for ac_exec_ext
in '' $ac_executable_extensions; do
7021 ac_path_EGREP
="$as_dir$ac_prog$ac_exec_ext"
7022 as_fn_executable_p
"$ac_path_EGREP" ||
continue
7023 # Check for GNU ac_path_EGREP and select it if it is found.
7024 # Check for GNU $ac_path_EGREP
7025 case `"$ac_path_EGREP" --version 2>&1` in
7027 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
7030 printf %s
0123456789 >"conftest.in"
7033 cat "conftest.in" "conftest.in" >"conftest.tmp"
7034 mv "conftest.tmp" "conftest.in"
7035 cp "conftest.in" "conftest.nl"
7036 printf "%s\n" 'EGREP' >> "conftest.nl"
7037 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7038 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7039 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7040 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7041 # Best one so far, save it but keep looking for a better one
7042 ac_cv_path_EGREP
="$ac_path_EGREP"
7043 ac_path_EGREP_max
=$ac_count
7045 # 10*(2^10) chars as input seems more than enough
7046 test $ac_count -gt 10 && break
7048 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7051 $ac_path_EGREP_found && break 3
7056 if test -z "$ac_cv_path_EGREP"; then
7057 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7060 ac_cv_path_EGREP
=$EGREP
7065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7066 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7067 EGREP
="$ac_cv_path_EGREP"
7070 # Extract the first word of "ldconfig", so it can be a program name with args.
7071 set dummy ldconfig
; ac_word
=$2
7072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7073 printf %s
"checking for $ac_word... " >&6; }
7074 if test ${ac_cv_path_LDCONFIG+y}
7076 printf %s
"(cached) " >&6
7080 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
7083 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7084 for as_dir
in /sbin
/usr
/sbin
$PATH
7087 case $as_dir in #(((
7090 *) as_dir
=$as_dir/ ;;
7092 for ac_exec_ext
in '' $ac_executable_extensions; do
7093 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7094 ac_cv_path_LDCONFIG
="$as_dir$ac_word$ac_exec_ext"
7095 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7102 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
7106 LDCONFIG
=$ac_cv_path_LDCONFIG
7107 if test -n "$LDCONFIG"; then
7108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7109 printf "%s\n" "$LDCONFIG" >&6; }
7111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7112 printf "%s\n" "no" >&6; }
7116 for ac_prog
in msgfmt
7118 # Extract the first word of "$ac_prog", so it can be a program name with args.
7119 set dummy
$ac_prog; ac_word
=$2
7120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7121 printf %s
"checking for $ac_word... " >&6; }
7122 if test ${ac_cv_prog_MSGFMT+y}
7124 printf %s
"(cached) " >&6
7126 if test -n "$MSGFMT"; then
7127 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
7129 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7133 case $as_dir in #(((
7136 *) as_dir
=$as_dir/ ;;
7138 for ac_exec_ext
in '' $ac_executable_extensions; do
7139 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7140 ac_cv_prog_MSGFMT
="$ac_prog"
7141 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7150 MSGFMT
=$ac_cv_prog_MSGFMT
7151 if test -n "$MSGFMT"; then
7152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7153 printf "%s\n" "$MSGFMT" >&6; }
7155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7156 printf "%s\n" "no" >&6; }
7160 test -n "$MSGFMT" && break
7162 test -n "$MSGFMT" || MSGFMT
="false"
7164 if test ${ac_tool_prefix+y}
7166 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7167 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
7168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7169 printf %s
"checking for $ac_word... " >&6; }
7170 if test ${ac_cv_prog_PKG_CONFIG+y}
7172 printf %s
"(cached) " >&6
7174 if test -n "$PKG_CONFIG"; then
7175 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
7177 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7181 case $as_dir in #(((
7184 *) as_dir
=$as_dir/ ;;
7186 for ac_exec_ext
in '' $ac_executable_extensions; do
7187 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7188 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
7189 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7198 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7199 if test -n "$PKG_CONFIG"; then
7200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7201 printf "%s\n" "$PKG_CONFIG" >&6; }
7203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7204 printf "%s\n" "no" >&6; }
7209 if ${ac_cv_prog_PKG_CONFIG:+false} :
7211 if test "x$cross_compiling" = xyes
7215 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
7216 # Extract the first word of "pkg-config", so it can be a program name with args.
7217 set dummy pkg-config
; ac_word
=$2
7218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7219 printf %s
"checking for $ac_word... " >&6; }
7220 if test ${ac_cv_prog_PKG_CONFIG+y}
7222 printf %s
"(cached) " >&6
7224 if test -n "$PKG_CONFIG"; then
7225 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
7227 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7231 case $as_dir in #(((
7234 *) as_dir
=$as_dir/ ;;
7236 for ac_exec_ext
in '' $ac_executable_extensions; do
7237 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7238 ac_cv_prog_PKG_CONFIG
="pkg-config"
7239 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7248 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7249 if test -n "$PKG_CONFIG"; then
7250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7251 printf "%s\n" "$PKG_CONFIG" >&6; }
7253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7254 printf "%s\n" "no" >&6; }
7260 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7263 if test "x$enable_maintainer_mode" != "xyes"
7270 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
7271 for ac_prog
in fontforge
7273 # Extract the first word of "$ac_prog", so it can be a program name with args.
7274 set dummy
$ac_prog; ac_word
=$2
7275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7276 printf %s
"checking for $ac_word... " >&6; }
7277 if test ${ac_cv_prog_FONTFORGE+y}
7279 printf %s
"(cached) " >&6
7281 if test -n "$FONTFORGE"; then
7282 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
7284 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7288 case $as_dir in #(((
7291 *) as_dir
=$as_dir/ ;;
7293 for ac_exec_ext
in '' $ac_executable_extensions; do
7294 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7295 ac_cv_prog_FONTFORGE
="$ac_prog"
7296 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7305 FONTFORGE
=$ac_cv_prog_FONTFORGE
7306 if test -n "$FONTFORGE"; then
7307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7308 printf "%s\n" "$FONTFORGE" >&6; }
7310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7311 printf "%s\n" "no" >&6; }
7315 test -n "$FONTFORGE" && break
7317 test -n "$FONTFORGE" || FONTFORGE
="false"
7319 for ac_prog
in rsvg-convert rsvg
7321 # Extract the first word of "$ac_prog", so it can be a program name with args.
7322 set dummy
$ac_prog; ac_word
=$2
7323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7324 printf %s
"checking for $ac_word... " >&6; }
7325 if test ${ac_cv_prog_RSVG+y}
7327 printf %s
"(cached) " >&6
7329 if test -n "$RSVG"; then
7330 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
7332 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7336 case $as_dir in #(((
7339 *) as_dir
=$as_dir/ ;;
7341 for ac_exec_ext
in '' $ac_executable_extensions; do
7342 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7343 ac_cv_prog_RSVG
="$ac_prog"
7344 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7353 RSVG
=$ac_cv_prog_RSVG
7354 if test -n "$RSVG"; then
7355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7356 printf "%s\n" "$RSVG" >&6; }
7358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7359 printf "%s\n" "no" >&6; }
7363 test -n "$RSVG" && break
7365 test -n "$RSVG" || RSVG
="false"
7367 for ac_prog
in convert
7369 # Extract the first word of "$ac_prog", so it can be a program name with args.
7370 set dummy
$ac_prog; ac_word
=$2
7371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7372 printf %s
"checking for $ac_word... " >&6; }
7373 if test ${ac_cv_prog_CONVERT+y}
7375 printf %s
"(cached) " >&6
7377 if test -n "$CONVERT"; then
7378 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
7380 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7384 case $as_dir in #(((
7387 *) as_dir
=$as_dir/ ;;
7389 for ac_exec_ext
in '' $ac_executable_extensions; do
7390 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7391 ac_cv_prog_CONVERT
="$ac_prog"
7392 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7401 CONVERT
=$ac_cv_prog_CONVERT
7402 if test -n "$CONVERT"; then
7403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7404 printf "%s\n" "$CONVERT" >&6; }
7406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7407 printf "%s\n" "no" >&6; }
7411 test -n "$CONVERT" && break
7413 test -n "$CONVERT" || CONVERT
="false"
7415 for ac_prog
in icotool
7417 # Extract the first word of "$ac_prog", so it can be a program name with args.
7418 set dummy
$ac_prog; ac_word
=$2
7419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7420 printf %s
"checking for $ac_word... " >&6; }
7421 if test ${ac_cv_prog_ICOTOOL+y}
7423 printf %s
"(cached) " >&6
7425 if test -n "$ICOTOOL"; then
7426 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
7428 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7432 case $as_dir in #(((
7435 *) as_dir
=$as_dir/ ;;
7437 for ac_exec_ext
in '' $ac_executable_extensions; do
7438 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7439 ac_cv_prog_ICOTOOL
="$ac_prog"
7440 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7449 ICOTOOL
=$ac_cv_prog_ICOTOOL
7450 if test -n "$ICOTOOL"; then
7451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7452 printf "%s\n" "$ICOTOOL" >&6; }
7454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7455 printf "%s\n" "no" >&6; }
7459 test -n "$ICOTOOL" && break
7461 test -n "$ICOTOOL" || ICOTOOL
="false"
7463 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7464 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7466 if test "$CONVERT" = false
7468 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7471 printf %s
"checking for recent enough imagemagick... " >&6; }
7472 convert_version
=`convert --version | head -n1`
7473 if test "x$convert_version" != "x"
7475 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7476 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7477 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7482 if test "$CONVERT" = false
7484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7485 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7486 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7489 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7493 if test "$ICOTOOL" = false
7495 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7498 printf %s
"checking for recent enough icotool... " >&6; }
7499 icotool_version
=`icotool --version | head -n1`
7500 if test "x$icotool_version" != "x"
7502 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7503 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7504 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7507 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
7510 if test "$ICOTOOL" = false
7512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7513 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7514 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7517 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7527 test "x$with_gettext" != xno || MSGFMT
=false
7528 if test "$MSGFMT" != "false"
7530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7531 printf %s
"checking whether msgfmt supports contexts... " >&6; }
7532 if test ${wine_cv_msgfmt_contexts+y}
7534 printf %s
"(cached) " >&6
7536 cat >conftest.po
<<EOF
7542 if $MSGFMT -o /dev
/null conftest.po
2>&5
7544 wine_cv_msgfmt_contexts
=yes
7546 wine_cv_msgfmt_contexts
=no
7549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7550 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7551 test $wine_cv_msgfmt_contexts != no || MSGFMT
=false
7553 if test "$MSGFMT" = false
7555 case "x$with_gettext" in
7556 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
7558 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
7559 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7561 enable_po
=${enable_po:-no}
7565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7566 printf %s
"checking for i386_set_ldt in -li386... " >&6; }
7567 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7569 printf %s
"(cached) " >&6
7571 ac_check_lib_save_LIBS
=$LIBS
7573 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7574 /* end confdefs.h. */
7576 /* Override any GCC internal prototype to avoid an error.
7577 Use char because int might match the return type of a GCC
7578 builtin and then its argument prototype would still apply. */
7579 char i386_set_ldt ();
7583 return i386_set_ldt ();
7588 if ac_fn_c_try_link
"$LINENO"
7590 ac_cv_lib_i386_i386_set_ldt
=yes
7592 ac_cv_lib_i386_i386_set_ldt
=no
7594 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
7595 conftest
$ac_exeext conftest.
$ac_ext
7596 LIBS
=$ac_check_lib_save_LIBS
7598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7599 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7600 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7611 # Check whether --enable-largefile was given.
7612 if test ${enable_largefile+y}
7614 enableval
=$enable_largefile;
7617 if test "$enable_largefile" != no
; then
7619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7620 printf %s
"checking for special C compiler options needed for large files... " >&6; }
7621 if test ${ac_cv_sys_largefile_CC+y}
7623 printf %s
"(cached) " >&6
7625 ac_cv_sys_largefile_CC
=no
7626 if test "$GCC" != yes; then
7629 # IRIX 6.2 and later do not support large files by default,
7630 # so use the C compiler's -n32 option if that helps.
7631 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7632 /* end confdefs.h. */
7633 #include <sys/types.h>
7634 /* Check that off_t can represent 2**63 - 1 correctly.
7635 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7636 since some C++ compilers masquerading as C compilers
7637 incorrectly reject 9223372036854775807. */
7638 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7639 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7640 && LARGE_OFF_T % 2147483647 == 1)
7650 if ac_fn_c_try_compile
"$LINENO"
7654 rm -f core conftest.err conftest.
$ac_objext conftest.beam
7656 if ac_fn_c_try_compile
"$LINENO"
7658 ac_cv_sys_largefile_CC
=' -n32'; break
7660 rm -f core conftest.err conftest.
$ac_objext conftest.beam
7664 rm -f conftest.
$ac_ext
7667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7668 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7669 if test "$ac_cv_sys_largefile_CC" != no
; then
7670 CC
=$CC$ac_cv_sys_largefile_CC
7673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7674 printf %s
"checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7675 if test ${ac_cv_sys_file_offset_bits+y}
7677 printf %s
"(cached) " >&6
7680 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7681 /* end confdefs.h. */
7682 #include <sys/types.h>
7683 /* Check that off_t can represent 2**63 - 1 correctly.
7684 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7685 since some C++ compilers masquerading as C compilers
7686 incorrectly reject 9223372036854775807. */
7687 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7688 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7689 && LARGE_OFF_T % 2147483647 == 1)
7699 if ac_fn_c_try_compile
"$LINENO"
7701 ac_cv_sys_file_offset_bits
=no
; break
7703 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7704 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7705 /* end confdefs.h. */
7706 #define _FILE_OFFSET_BITS 64
7707 #include <sys/types.h>
7708 /* Check that off_t can represent 2**63 - 1 correctly.
7709 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7710 since some C++ compilers masquerading as C compilers
7711 incorrectly reject 9223372036854775807. */
7712 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7713 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7714 && LARGE_OFF_T % 2147483647 == 1)
7724 if ac_fn_c_try_compile
"$LINENO"
7726 ac_cv_sys_file_offset_bits
=64; break
7728 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7729 ac_cv_sys_file_offset_bits
=unknown
7733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7734 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7735 case $ac_cv_sys_file_offset_bits in #(
7738 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7742 if test $ac_cv_sys_file_offset_bits = unknown
; then
7743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7744 printf %s
"checking for _LARGE_FILES value needed for large files... " >&6; }
7745 if test ${ac_cv_sys_large_files+y}
7747 printf %s
"(cached) " >&6
7750 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7751 /* end confdefs.h. */
7752 #include <sys/types.h>
7753 /* Check that off_t can represent 2**63 - 1 correctly.
7754 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7755 since some C++ compilers masquerading as C compilers
7756 incorrectly reject 9223372036854775807. */
7757 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7758 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7759 && LARGE_OFF_T % 2147483647 == 1)
7769 if ac_fn_c_try_compile
"$LINENO"
7771 ac_cv_sys_large_files
=no
; break
7773 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7774 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7775 /* end confdefs.h. */
7776 #define _LARGE_FILES 1
7777 #include <sys/types.h>
7778 /* Check that off_t can represent 2**63 - 1 correctly.
7779 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7780 since some C++ compilers masquerading as C compilers
7781 incorrectly reject 9223372036854775807. */
7782 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7783 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7784 && LARGE_OFF_T % 2147483647 == 1)
7794 if ac_fn_c_try_compile
"$LINENO"
7796 ac_cv_sys_large_files
=1; break
7798 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7799 ac_cv_sys_large_files
=unknown
7803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7804 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7805 case $ac_cv_sys_large_files in #(
7808 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7816 ac_header
= ac_cache
=
7817 for ac_item
in $ac_header_c_list
7819 if test $ac_cache; then
7820 ac_fn_c_check_header_compile
"$LINENO" $ac_header ac_cv_header_
$ac_cache "$ac_includes_default"
7821 if eval test \"x\
$ac_cv_header_$ac_cache\" = xyes
; then
7822 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7824 ac_header
= ac_cache
=
7825 elif test $ac_header; then
7839 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7842 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7845 ac_fn_c_check_header_compile
"$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7846 if test "x$ac_cv_header_CL_cl_h" = xyes
7848 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7851 ac_fn_c_check_header_compile
"$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7852 if test "x$ac_cv_header_EGL_egl_h" = xyes
7854 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7857 ac_fn_c_check_header_compile
"$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7858 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7860 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7863 ac_fn_c_check_header_compile
"$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7864 if test "x$ac_cv_header_arpa_inet_h" = xyes
7866 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7869 ac_fn_c_check_header_compile
"$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7870 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7872 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7875 ac_fn_c_check_header_compile
"$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7876 if test "x$ac_cv_header_asm_types_h" = xyes
7878 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7881 ac_fn_c_check_header_compile
"$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7882 if test "x$ac_cv_header_asm_user_h" = xyes
7884 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7887 ac_fn_c_check_header_compile
"$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7888 if test "x$ac_cv_header_elf_h" = xyes
7890 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7893 ac_fn_c_check_header_compile
"$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7894 if test "x$ac_cv_header_float_h" = xyes
7896 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7899 ac_fn_c_check_header_compile
"$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7900 if test "x$ac_cv_header_gettext_po_h" = xyes
7902 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7905 ac_fn_c_check_header_compile
"$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7906 if test "x$ac_cv_header_libproc_h" = xyes
7908 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7911 ac_fn_c_check_header_compile
"$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7912 if test "x$ac_cv_header_link_h" = xyes
7914 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7917 ac_fn_c_check_header_compile
"$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7918 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7920 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7923 ac_fn_c_check_header_compile
"$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7924 if test "x$ac_cv_header_linux_filter_h" = xyes
7926 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7929 ac_fn_c_check_header_compile
"$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7930 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7932 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7935 ac_fn_c_check_header_compile
"$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7936 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7938 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7941 ac_fn_c_check_header_compile
"$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7942 if test "x$ac_cv_header_linux_input_h" = xyes
7944 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7947 ac_fn_c_check_header_compile
"$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7948 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7950 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7953 ac_fn_c_check_header_compile
"$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7954 if test "x$ac_cv_header_linux_major_h" = xyes
7956 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7959 ac_fn_c_check_header_compile
"$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7960 if test "x$ac_cv_header_linux_param_h" = xyes
7962 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
7965 ac_fn_c_check_header_compile
"$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
7966 if test "x$ac_cv_header_linux_serial_h" = xyes
7968 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
7971 ac_fn_c_check_header_compile
"$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
7972 if test "x$ac_cv_header_linux_types_h" = xyes
7974 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
7977 ac_fn_c_check_header_compile
"$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
7978 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
7980 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
7983 ac_fn_c_check_header_compile
"$LINENO" "linux/wireless.h" "ac_cv_header_linux_wireless_h" "$ac_includes_default"
7984 if test "x$ac_cv_header_linux_wireless_h" = xyes
7986 printf "%s\n" "#define HAVE_LINUX_WIRELESS_H 1" >>confdefs.h
7989 ac_fn_c_check_header_compile
"$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
7990 if test "x$ac_cv_header_lwp_h" = xyes
7992 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
7995 ac_fn_c_check_header_compile
"$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
7996 if test "x$ac_cv_header_mach_o_loader_h" = xyes
7998 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8001 ac_fn_c_check_header_compile
"$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8002 if test "x$ac_cv_header_mach_mach_h" = xyes
8004 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8007 ac_fn_c_check_header_compile
"$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8008 if test "x$ac_cv_header_machine_cpu_h" = xyes
8010 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8013 ac_fn_c_check_header_compile
"$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8014 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8016 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8019 ac_fn_c_check_header_compile
"$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8020 if test "x$ac_cv_header_mntent_h" = xyes
8022 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8025 ac_fn_c_check_header_compile
"$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8026 if test "x$ac_cv_header_netdb_h" = xyes
8028 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8031 ac_fn_c_check_header_compile
"$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8032 if test "x$ac_cv_header_netinet_in_h" = xyes
8034 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8037 ac_fn_c_check_header_compile
"$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8038 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8040 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8043 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8044 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8046 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8049 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8050 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8052 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8055 ac_fn_c_check_header_compile
"$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8056 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8058 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8061 ac_fn_c_check_header_compile
"$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8062 if test "x$ac_cv_header_port_h" = xyes
8064 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8067 ac_fn_c_check_header_compile
"$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8068 if test "x$ac_cv_header_pthread_h" = xyes
8070 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8073 ac_fn_c_check_header_compile
"$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8074 if test "x$ac_cv_header_pwd_h" = xyes
8076 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8079 ac_fn_c_check_header_compile
"$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8080 if test "x$ac_cv_header_sched_h" = xyes
8082 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8085 ac_fn_c_check_header_compile
"$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8086 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8088 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8091 ac_fn_c_check_header_compile
"$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8092 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8094 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8097 ac_fn_c_check_header_compile
"$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8098 if test "x$ac_cv_header_scsi_sg_h" = xyes
8100 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8103 ac_fn_c_check_header_compile
"$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8104 if test "x$ac_cv_header_stdint_h" = xyes
8106 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8109 ac_fn_c_check_header_compile
"$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8110 if test "x$ac_cv_header_sys_attr_h" = xyes
8112 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8115 ac_fn_c_check_header_compile
"$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8116 if test "x$ac_cv_header_sys_auxv_h" = xyes
8118 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8121 ac_fn_c_check_header_compile
"$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8122 if test "x$ac_cv_header_sys_cdio_h" = xyes
8124 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8127 ac_fn_c_check_header_compile
"$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8128 if test "x$ac_cv_header_sys_epoll_h" = xyes
8130 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8133 ac_fn_c_check_header_compile
"$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8134 if test "x$ac_cv_header_sys_event_h" = xyes
8136 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8139 ac_fn_c_check_header_compile
"$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
8140 if test "x$ac_cv_header_sys_extattr_h" = xyes
8142 printf "%s\n" "#define HAVE_SYS_EXTATTR_H 1" >>confdefs.h
8145 ac_fn_c_check_header_compile
"$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8146 if test "x$ac_cv_header_sys_filio_h" = xyes
8148 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8151 ac_fn_c_check_header_compile
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8152 if test "x$ac_cv_header_sys_ipc_h" = xyes
8154 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8157 ac_fn_c_check_header_compile
"$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8158 if test "x$ac_cv_header_sys_link_h" = xyes
8160 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8163 ac_fn_c_check_header_compile
"$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8164 if test "x$ac_cv_header_sys_modem_h" = xyes
8166 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8169 ac_fn_c_check_header_compile
"$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8170 if test "x$ac_cv_header_sys_mtio_h" = xyes
8172 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8175 ac_fn_c_check_header_compile
"$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8176 if test "x$ac_cv_header_sys_param_h" = xyes
8178 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8181 ac_fn_c_check_header_compile
"$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8182 if test "x$ac_cv_header_sys_prctl_h" = xyes
8184 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8187 ac_fn_c_check_header_compile
"$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8188 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8190 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8193 ac_fn_c_check_header_compile
"$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8194 if test "x$ac_cv_header_sys_queue_h" = xyes
8196 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8199 ac_fn_c_check_header_compile
"$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8200 if test "x$ac_cv_header_sys_random_h" = xyes
8202 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8205 ac_fn_c_check_header_compile
"$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8206 if test "x$ac_cv_header_sys_resource_h" = xyes
8208 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8211 ac_fn_c_check_header_compile
"$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8212 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8214 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8217 ac_fn_c_check_header_compile
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8218 if test "x$ac_cv_header_sys_shm_h" = xyes
8220 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8223 ac_fn_c_check_header_compile
"$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8224 if test "x$ac_cv_header_sys_signal_h" = xyes
8226 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8229 ac_fn_c_check_header_compile
"$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8230 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8232 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8235 ac_fn_c_check_header_compile
"$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8236 if test "x$ac_cv_header_sys_sockio_h" = xyes
8238 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8241 ac_fn_c_check_header_compile
"$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8242 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8244 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8247 ac_fn_c_check_header_compile
"$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8248 if test "x$ac_cv_header_sys_strtio_h" = xyes
8250 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8253 ac_fn_c_check_header_compile
"$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8254 if test "x$ac_cv_header_sys_syscall_h" = xyes
8256 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8259 ac_fn_c_check_header_compile
"$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8260 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8262 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8265 ac_fn_c_check_header_compile
"$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8266 if test "x$ac_cv_header_sys_times_h" = xyes
8268 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8271 ac_fn_c_check_header_compile
"$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8272 if test "x$ac_cv_header_sys_uio_h" = xyes
8274 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8277 ac_fn_c_check_header_compile
"$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8278 if test "x$ac_cv_header_sys_user_h" = xyes
8280 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8283 ac_fn_c_check_header_compile
"$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8284 if test "x$ac_cv_header_sys_utsname_h" = xyes
8286 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8289 ac_fn_c_check_header_compile
"$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8290 if test "x$ac_cv_header_sys_vnode_h" = xyes
8292 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8295 ac_fn_c_check_header_compile
"$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8296 if test "x$ac_cv_header_sys_xattr_h" = xyes
8298 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8301 ac_fn_c_check_header_compile
"$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8302 if test "x$ac_cv_header_syscall_h" = xyes
8304 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8307 ac_fn_c_check_header_compile
"$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8308 if test "x$ac_cv_header_utime_h" = xyes
8310 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8313 ac_fn_c_check_header_compile
"$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8314 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8316 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8319 ac_fn_c_check_header_compile
"$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8320 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8322 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8326 ac_fn_c_check_header_compile
"$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8327 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8330 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8334 if test $ac_cv_header_sys_mkdev_h = no
; then
8335 ac_fn_c_check_header_compile
"$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8336 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8339 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8345 printf %s
"checking whether stat file-mode macros are broken... " >&6; }
8346 if test ${ac_cv_header_stat_broken+y}
8348 printf %s
"(cached) " >&6
8350 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8351 /* end confdefs.h. */
8352 #include <sys/types.h>
8353 #include <sys/stat.h>
8355 #if defined S_ISBLK && defined S_IFDIR
8356 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8359 #if defined S_ISBLK && defined S_IFCHR
8360 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8363 #if defined S_ISLNK && defined S_IFREG
8364 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8367 #if defined S_ISSOCK && defined S_IFREG
8368 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8372 if ac_fn_c_try_compile
"$LINENO"
8374 ac_cv_header_stat_broken
=no
8376 ac_cv_header_stat_broken
=yes
8378 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8381 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8382 if test $ac_cv_header_stat_broken = yes; then
8384 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8390 ac_fn_c_check_header_compile
"$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8391 #ifdef HAVE_SYS_PARAM_H
8392 # include <sys/param.h>
8395 if test "x$ac_cv_header_sys_conf_h" = xyes
8397 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8400 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8401 #ifdef HAVE_SYS_PARAM_H
8402 # include <sys/param.h>
8405 if test "x$ac_cv_header_sys_mount_h" = xyes
8407 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8410 ac_fn_c_check_header_compile
"$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8411 #ifdef HAVE_SYS_PARAM_H
8412 # include <sys/param.h>
8415 if test "x$ac_cv_header_sys_statfs_h" = xyes
8417 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8420 ac_fn_c_check_header_compile
"$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8421 #ifdef HAVE_SYS_PARAM_H
8422 # include <sys/param.h>
8425 if test "x$ac_cv_header_sys_user_h" = xyes
8427 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8430 ac_fn_c_check_header_compile
"$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8431 #ifdef HAVE_SYS_PARAM_H
8432 # include <sys/param.h>
8435 if test "x$ac_cv_header_sys_vfs_h" = xyes
8437 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8442 saved_sysctl_h_CFLAGS
=$CFLAGS
8443 test "x${GCC}" != xyes || CFLAGS
="$CFLAGS -Werror"
8444 ac_fn_c_check_header_compile
"$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8445 #ifdef HAVE_SYS_PARAM_H
8446 # include <sys/param.h>
8449 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8451 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8455 CFLAGS
=$saved_sysctl_h_CFLAGS
8457 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8458 #include <sys/socket.h>
8459 #ifdef HAVE_SYS_SOCKETVAR_H
8460 # include <sys/socketvar.h>
8462 #ifdef HAVE_NET_ROUTE_H
8463 # include <net/route.h>
8465 #ifdef HAVE_NETINET_IN_H
8466 # include <netinet/in.h>
8468 #ifdef HAVE_NETINET_IN_SYSTM_H
8469 # include <netinet/in_systm.h>
8471 #ifdef HAVE_NET_IF_H
8472 # include <net/if.h>
8474 #ifdef HAVE_NETINET_IP_H
8475 # include <netinet/ip.h>
8478 if test "x$ac_cv_header_netinet_ip_h" = xyes
8480 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8483 ac_fn_c_check_header_compile
"$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8484 #include <sys/socket.h>
8485 #ifdef HAVE_SYS_SOCKETVAR_H
8486 # include <sys/socketvar.h>
8488 #ifdef HAVE_NET_ROUTE_H
8489 # include <net/route.h>
8491 #ifdef HAVE_NETINET_IN_H
8492 # include <netinet/in.h>
8494 #ifdef HAVE_NETINET_IN_SYSTM_H
8495 # include <netinet/in_systm.h>
8497 #ifdef HAVE_NET_IF_H
8498 # include <net/if.h>
8500 #ifdef HAVE_NETINET_IP_H
8501 # include <netinet/ip.h>
8504 if test "x$ac_cv_header_net_if_h" = xyes
8506 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8509 ac_fn_c_check_header_compile
"$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8510 #include <sys/socket.h>
8511 #ifdef HAVE_SYS_SOCKETVAR_H
8512 # include <sys/socketvar.h>
8514 #ifdef HAVE_NET_ROUTE_H
8515 # include <net/route.h>
8517 #ifdef HAVE_NETINET_IN_H
8518 # include <netinet/in.h>
8520 #ifdef HAVE_NETINET_IN_SYSTM_H
8521 # include <netinet/in_systm.h>
8523 #ifdef HAVE_NET_IF_H
8524 # include <net/if.h>
8526 #ifdef HAVE_NETINET_IP_H
8527 # include <netinet/ip.h>
8530 if test "x$ac_cv_header_net_if_arp_h" = xyes
8532 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8535 ac_fn_c_check_header_compile
"$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8536 #include <sys/socket.h>
8537 #ifdef HAVE_SYS_SOCKETVAR_H
8538 # include <sys/socketvar.h>
8540 #ifdef HAVE_NET_ROUTE_H
8541 # include <net/route.h>
8543 #ifdef HAVE_NETINET_IN_H
8544 # include <netinet/in.h>
8546 #ifdef HAVE_NETINET_IN_SYSTM_H
8547 # include <netinet/in_systm.h>
8549 #ifdef HAVE_NET_IF_H
8550 # include <net/if.h>
8552 #ifdef HAVE_NETINET_IP_H
8553 # include <netinet/ip.h>
8556 if test "x$ac_cv_header_net_if_dl_h" = xyes
8558 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8561 ac_fn_c_check_header_compile
"$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8562 #include <sys/socket.h>
8563 #ifdef HAVE_SYS_SOCKETVAR_H
8564 # include <sys/socketvar.h>
8566 #ifdef HAVE_NET_ROUTE_H
8567 # include <net/route.h>
8569 #ifdef HAVE_NETINET_IN_H
8570 # include <netinet/in.h>
8572 #ifdef HAVE_NETINET_IN_SYSTM_H
8573 # include <netinet/in_systm.h>
8575 #ifdef HAVE_NET_IF_H
8576 # include <net/if.h>
8578 #ifdef HAVE_NETINET_IP_H
8579 # include <netinet/ip.h>
8582 if test "x$ac_cv_header_net_if_types_h" = xyes
8584 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8587 ac_fn_c_check_header_compile
"$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8588 #include <sys/socket.h>
8589 #ifdef HAVE_SYS_SOCKETVAR_H
8590 # include <sys/socketvar.h>
8592 #ifdef HAVE_NET_ROUTE_H
8593 # include <net/route.h>
8595 #ifdef HAVE_NETINET_IN_H
8596 # include <netinet/in.h>
8598 #ifdef HAVE_NETINET_IN_SYSTM_H
8599 # include <netinet/in_systm.h>
8601 #ifdef HAVE_NET_IF_H
8602 # include <net/if.h>
8604 #ifdef HAVE_NETINET_IP_H
8605 # include <netinet/ip.h>
8608 if test "x$ac_cv_header_net_route_h" = xyes
8610 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8613 ac_fn_c_check_header_compile
"$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8614 #include <sys/socket.h>
8615 #ifdef HAVE_SYS_SOCKETVAR_H
8616 # include <sys/socketvar.h>
8618 #ifdef HAVE_NET_ROUTE_H
8619 # include <net/route.h>
8621 #ifdef HAVE_NETINET_IN_H
8622 # include <netinet/in.h>
8624 #ifdef HAVE_NETINET_IN_SYSTM_H
8625 # include <netinet/in_systm.h>
8627 #ifdef HAVE_NET_IF_H
8628 # include <net/if.h>
8630 #ifdef HAVE_NETINET_IP_H
8631 # include <netinet/ip.h>
8634 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8636 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8639 ac_fn_c_check_header_compile
"$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8640 #include <sys/socket.h>
8641 #ifdef HAVE_SYS_SOCKETVAR_H
8642 # include <sys/socketvar.h>
8644 #ifdef HAVE_NET_ROUTE_H
8645 # include <net/route.h>
8647 #ifdef HAVE_NETINET_IN_H
8648 # include <netinet/in.h>
8650 #ifdef HAVE_NETINET_IN_SYSTM_H
8651 # include <netinet/in_systm.h>
8653 #ifdef HAVE_NET_IF_H
8654 # include <net/if.h>
8656 #ifdef HAVE_NETINET_IP_H
8657 # include <netinet/ip.h>
8660 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8662 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8665 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8666 #include <sys/socket.h>
8667 #ifdef HAVE_SYS_SOCKETVAR_H
8668 # include <sys/socketvar.h>
8670 #ifdef HAVE_NET_ROUTE_H
8671 # include <net/route.h>
8673 #ifdef HAVE_NETINET_IN_H
8674 # include <netinet/in.h>
8676 #ifdef HAVE_NETINET_IN_SYSTM_H
8677 # include <netinet/in_systm.h>
8679 #ifdef HAVE_NET_IF_H
8680 # include <net/if.h>
8682 #ifdef HAVE_NETINET_IP_H
8683 # include <netinet/ip.h>
8686 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8688 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8691 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8692 #include <sys/socket.h>
8693 #ifdef HAVE_SYS_SOCKETVAR_H
8694 # include <sys/socketvar.h>
8696 #ifdef HAVE_NET_ROUTE_H
8697 # include <net/route.h>
8699 #ifdef HAVE_NETINET_IN_H
8700 # include <netinet/in.h>
8702 #ifdef HAVE_NETINET_IN_SYSTM_H
8703 # include <netinet/in_systm.h>
8705 #ifdef HAVE_NET_IF_H
8706 # include <net/if.h>
8708 #ifdef HAVE_NETINET_IP_H
8709 # include <netinet/ip.h>
8712 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8714 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8717 ac_fn_c_check_header_compile
"$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8718 #include <sys/socket.h>
8719 #ifdef HAVE_SYS_SOCKETVAR_H
8720 # include <sys/socketvar.h>
8722 #ifdef HAVE_NET_ROUTE_H
8723 # include <net/route.h>
8725 #ifdef HAVE_NETINET_IN_H
8726 # include <netinet/in.h>
8728 #ifdef HAVE_NETINET_IN_SYSTM_H
8729 # include <netinet/in_systm.h>
8731 #ifdef HAVE_NET_IF_H
8732 # include <net/if.h>
8734 #ifdef HAVE_NETINET_IP_H
8735 # include <netinet/ip.h>
8738 if test "x$ac_cv_header_netinet_udp_h" = xyes
8740 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8743 ac_fn_c_check_header_compile
"$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8744 #include <sys/socket.h>
8745 #ifdef HAVE_SYS_SOCKETVAR_H
8746 # include <sys/socketvar.h>
8748 #ifdef HAVE_NET_ROUTE_H
8749 # include <net/route.h>
8751 #ifdef HAVE_NETINET_IN_H
8752 # include <netinet/in.h>
8754 #ifdef HAVE_NETINET_IN_SYSTM_H
8755 # include <netinet/in_systm.h>
8757 #ifdef HAVE_NET_IF_H
8758 # include <net/if.h>
8760 #ifdef HAVE_NETINET_IP_H
8761 # include <netinet/ip.h>
8764 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8766 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8769 ac_fn_c_check_header_compile
"$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8770 #include <sys/socket.h>
8771 #ifdef HAVE_SYS_SOCKETVAR_H
8772 # include <sys/socketvar.h>
8774 #ifdef HAVE_NET_ROUTE_H
8775 # include <net/route.h>
8777 #ifdef HAVE_NETINET_IN_H
8778 # include <netinet/in.h>
8780 #ifdef HAVE_NETINET_IN_SYSTM_H
8781 # include <netinet/in_systm.h>
8783 #ifdef HAVE_NET_IF_H
8784 # include <net/if.h>
8786 #ifdef HAVE_NETINET_IP_H
8787 # include <netinet/ip.h>
8790 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8792 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8795 ac_fn_c_check_header_compile
"$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8796 #include <sys/socket.h>
8797 #ifdef HAVE_SYS_SOCKETVAR_H
8798 # include <sys/socketvar.h>
8800 #ifdef HAVE_NET_ROUTE_H
8801 # include <net/route.h>
8803 #ifdef HAVE_NETINET_IN_H
8804 # include <netinet/in.h>
8806 #ifdef HAVE_NETINET_IN_SYSTM_H
8807 # include <netinet/in_systm.h>
8809 #ifdef HAVE_NET_IF_H
8810 # include <net/if.h>
8812 #ifdef HAVE_NETINET_IP_H
8813 # include <netinet/ip.h>
8816 if test "x$ac_cv_header_sys_un_h" = xyes
8818 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8823 ac_fn_c_check_header_compile
"$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8824 #include <sys/socket.h>
8825 #ifdef HAVE_SYS_SOCKETVAR_H
8826 # include <sys/socketvar.h>
8828 #ifdef HAVE_NETINET_IN_H
8829 # include <netinet/in.h>
8831 #ifdef HAVE_NETINET_IN_SYSTM_H
8832 # include <netinet/in_systm.h>
8834 #ifdef HAVE_NETINET_IP_H
8835 # include <netinet/ip.h>
8837 #ifdef HAVE_NETINET_IP_VAR_H
8838 # include <netinet/ip_var.h>
8840 #ifdef HAVE_NETINET_IP_ICMP_H
8841 # include <netinet/ip_icmp.h>
8843 #ifdef HAVE_NETINET_UDP_H
8844 # include <netinet/udp.h>
8846 #ifdef HAVE_NETINET_TCP_H
8847 # include <netinet/tcp.h>
8850 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8852 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8855 ac_fn_c_check_header_compile
"$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8856 #include <sys/socket.h>
8857 #ifdef HAVE_SYS_SOCKETVAR_H
8858 # include <sys/socketvar.h>
8860 #ifdef HAVE_NETINET_IN_H
8861 # include <netinet/in.h>
8863 #ifdef HAVE_NETINET_IN_SYSTM_H
8864 # include <netinet/in_systm.h>
8866 #ifdef HAVE_NETINET_IP_H
8867 # include <netinet/ip.h>
8869 #ifdef HAVE_NETINET_IP_VAR_H
8870 # include <netinet/ip_var.h>
8872 #ifdef HAVE_NETINET_IP_ICMP_H
8873 # include <netinet/ip_icmp.h>
8875 #ifdef HAVE_NETINET_UDP_H
8876 # include <netinet/udp.h>
8878 #ifdef HAVE_NETINET_TCP_H
8879 # include <netinet/tcp.h>
8882 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8884 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8887 ac_fn_c_check_header_compile
"$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8888 #include <sys/socket.h>
8889 #ifdef HAVE_SYS_SOCKETVAR_H
8890 # include <sys/socketvar.h>
8892 #ifdef HAVE_NETINET_IN_H
8893 # include <netinet/in.h>
8895 #ifdef HAVE_NETINET_IN_SYSTM_H
8896 # include <netinet/in_systm.h>
8898 #ifdef HAVE_NETINET_IP_H
8899 # include <netinet/ip.h>
8901 #ifdef HAVE_NETINET_IP_VAR_H
8902 # include <netinet/ip_var.h>
8904 #ifdef HAVE_NETINET_IP_ICMP_H
8905 # include <netinet/ip_icmp.h>
8907 #ifdef HAVE_NETINET_UDP_H
8908 # include <netinet/udp.h>
8910 #ifdef HAVE_NETINET_TCP_H
8911 # include <netinet/tcp.h>
8914 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8916 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8919 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8920 #include <sys/socket.h>
8921 #ifdef HAVE_SYS_SOCKETVAR_H
8922 # include <sys/socketvar.h>
8924 #ifdef HAVE_NETINET_IN_H
8925 # include <netinet/in.h>
8927 #ifdef HAVE_NETINET_IN_SYSTM_H
8928 # include <netinet/in_systm.h>
8930 #ifdef HAVE_NETINET_IP_H
8931 # include <netinet/ip.h>
8933 #ifdef HAVE_NETINET_IP_VAR_H
8934 # include <netinet/ip_var.h>
8936 #ifdef HAVE_NETINET_IP_ICMP_H
8937 # include <netinet/ip_icmp.h>
8939 #ifdef HAVE_NETINET_UDP_H
8940 # include <netinet/udp.h>
8942 #ifdef HAVE_NETINET_TCP_H
8943 # include <netinet/tcp.h>
8946 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8948 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8953 ac_fn_c_check_header_compile
"$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8954 #include <sys/socket.h>
8955 #ifdef HAVE_ASM_TYPES_H
8956 # include <asm/types.h>
8958 #ifdef HAVE_LINUX_TYPES_H
8959 # include <linux/types.h>
8962 if test "x$ac_cv_header_linux_ipx_h" = xyes
8964 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8967 ac_fn_c_check_header_compile
"$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8968 #include <sys/socket.h>
8969 #ifdef HAVE_ASM_TYPES_H
8970 # include <asm/types.h>
8972 #ifdef HAVE_LINUX_TYPES_H
8973 # include <linux/types.h>
8976 if test "x$ac_cv_header_linux_irda_h" = xyes
8978 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
8981 ac_fn_c_check_header_compile
"$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
8982 #include <sys/socket.h>
8983 #ifdef HAVE_ASM_TYPES_H
8984 # include <asm/types.h>
8986 #ifdef HAVE_LINUX_TYPES_H
8987 # include <linux/types.h>
8990 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
8992 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
8997 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
8998 #include <sys/socket.h>
8999 #ifdef HAVE_NETINET_IN_H
9000 # include <netinet/in.h>
9002 #ifdef HAVE_ARPA_NAMESER_H
9003 # include <arpa/nameser.h>
9006 if test "x$ac_cv_header_resolv_h" = xyes
9008 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9013 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9015 if test "x$ac_cv_header_ifaddrs_h" = xyes
9017 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9022 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9024 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9026 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9031 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9032 #ifdef HAVE_SYS_UCONTEXT_H
9033 #include <sys/ucontext.h>
9036 if test "x$ac_cv_header_sys_thr_h" = xyes
9038 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9043 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9044 #include <pthread.h>
9047 if test "x$ac_cv_header_pthread_np_h" = xyes
9049 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9054 ac_fn_c_check_header_compile
"$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9055 #include <sys/types.h>
9056 #ifdef HAVE_ASM_TYPES_H
9057 #include <asm/types.h>
9060 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9062 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9067 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9068 #include <sys/param.h>
9070 #include <sys/socket.h>
9071 #ifdef HAVE_SYS_QUEUE_H
9072 #include <sys/queue.h>
9075 if test "x$ac_cv_header_libprocstat_h" = xyes
9077 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9082 if test "x$ac_cv_header_sys_xattr_h" = xyes
9084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9085 printf %s
"checking whether getxattr takes additional arguments... " >&6; }
9086 if test ${wine_cv_xattr_extra_args+y}
9088 printf %s
"(cached) " >&6
9090 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9091 /* end confdefs.h. */
9092 #include <sys/xattr.h>
9096 getxattr("", "", "", 0, 0, 0);
9101 if ac_fn_c_try_compile
"$LINENO"
9103 wine_cv_xattr_extra_args
=yes
9105 wine_cv_xattr_extra_args
=no
9107 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
9109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9110 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9111 test $wine_cv_xattr_extra_args != yes ||
9112 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9125 UNIXDLLFLAGS
="-fPIC"
9127 UNIXLDFLAGS
="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9133 WINELOADER_LDFLAGS
=""
9135 WINEPRELOADER_LDFLAGS
=""
9140 # Extract the first word of "ldd", so it can be a program name with args.
9141 set dummy ldd
; ac_word
=$2
9142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9143 printf %s
"checking for $ac_word... " >&6; }
9144 if test ${ac_cv_path_LDD+y}
9146 printf %s
"(cached) " >&6
9150 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
9153 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9154 as_dummy
="/sbin:/usr/sbin:$PATH"
9155 for as_dir
in $as_dummy
9158 case $as_dir in #(((
9161 *) as_dir
=$as_dir/ ;;
9163 for ac_exec_ext
in '' $ac_executable_extensions; do
9164 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9165 ac_cv_path_LDD
="$as_dir$ac_word$ac_exec_ext"
9166 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9173 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
9178 if test -n "$LDD"; then
9179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9180 printf "%s\n" "$LDD" >&6; }
9182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9183 printf "%s\n" "no" >&6; }
9187 if test -n "$ac_tool_prefix"; then
9188 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9189 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
9190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9191 printf %s
"checking for $ac_word... " >&6; }
9192 if test ${ac_cv_prog_OTOOL+y}
9194 printf %s
"(cached) " >&6
9196 if test -n "$OTOOL"; then
9197 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
9199 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9203 case $as_dir in #(((
9206 *) as_dir
=$as_dir/ ;;
9208 for ac_exec_ext
in '' $ac_executable_extensions; do
9209 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9210 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
9211 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9220 OTOOL
=$ac_cv_prog_OTOOL
9221 if test -n "$OTOOL"; then
9222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9223 printf "%s\n" "$OTOOL" >&6; }
9225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9226 printf "%s\n" "no" >&6; }
9231 if test -z "$ac_cv_prog_OTOOL"; then
9233 # Extract the first word of "otool", so it can be a program name with args.
9234 set dummy otool
; ac_word
=$2
9235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9236 printf %s
"checking for $ac_word... " >&6; }
9237 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9239 printf %s
"(cached) " >&6
9241 if test -n "$ac_ct_OTOOL"; then
9242 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
9244 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9248 case $as_dir in #(((
9251 *) as_dir
=$as_dir/ ;;
9253 for ac_exec_ext
in '' $ac_executable_extensions; do
9254 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9255 ac_cv_prog_ac_ct_OTOOL
="otool"
9256 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9265 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
9266 if test -n "$ac_ct_OTOOL"; then
9267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9268 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9271 printf "%s\n" "no" >&6; }
9274 if test "x$ac_ct_OTOOL" = x
; then
9277 case $cross_compiling:$ac_tool_warned in
9279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9280 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9281 ac_tool_warned
=yes ;;
9286 OTOOL
="$ac_cv_prog_OTOOL"
9289 if test -n "$ac_tool_prefix"; then
9290 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9291 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
9292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9293 printf %s
"checking for $ac_word... " >&6; }
9294 if test ${ac_cv_prog_READELF+y}
9296 printf %s
"(cached) " >&6
9298 if test -n "$READELF"; then
9299 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
9301 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9305 case $as_dir in #(((
9308 *) as_dir
=$as_dir/ ;;
9310 for ac_exec_ext
in '' $ac_executable_extensions; do
9311 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9312 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
9313 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9322 READELF
=$ac_cv_prog_READELF
9323 if test -n "$READELF"; then
9324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9325 printf "%s\n" "$READELF" >&6; }
9327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9328 printf "%s\n" "no" >&6; }
9333 if test -z "$ac_cv_prog_READELF"; then
9334 ac_ct_READELF
=$READELF
9335 # Extract the first word of "readelf", so it can be a program name with args.
9336 set dummy readelf
; ac_word
=$2
9337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9338 printf %s
"checking for $ac_word... " >&6; }
9339 if test ${ac_cv_prog_ac_ct_READELF+y}
9341 printf %s
"(cached) " >&6
9343 if test -n "$ac_ct_READELF"; then
9344 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
9346 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9350 case $as_dir in #(((
9353 *) as_dir
=$as_dir/ ;;
9355 for ac_exec_ext
in '' $ac_executable_extensions; do
9356 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9357 ac_cv_prog_ac_ct_READELF
="readelf"
9358 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9367 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
9368 if test -n "$ac_ct_READELF"; then
9369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9370 printf "%s\n" "$ac_ct_READELF" >&6; }
9372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9373 printf "%s\n" "no" >&6; }
9376 if test "x$ac_ct_READELF" = x
; then
9379 case $cross_compiling:$ac_tool_warned in
9381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9382 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9383 ac_tool_warned
=yes ;;
9385 READELF
=$ac_ct_READELF
9388 READELF
="$ac_cv_prog_READELF"
9396 CONFIGURE_TARGETS
=""
9399 wine_fn_config_makefile
()
9401 as_fn_append SUBDIRS
" \\$as_nl $1"
9404 no
) as_fn_append DISABLED_SUBDIRS
" $1" ;;
9405 *aarch64
*|
*arm
*|
*i386
*|
*x86_64
*)
9406 if test -n "$PE_ARCHS"
9410 test $
(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append
${i}_DISABLED_SUBDIRS
" $1"
9413 test $
(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS
" $1"
9418 wine_fn_config_symlink
()
9421 as_fn_append wine_rules
"
9423 @./config.status \$@"
9424 for f
in $ac_links; do as_fn_append CONFIGURE_TARGETS
" $f"; done
9431 EXTRACFLAGS
="-D__WINE_PE_BUILD"
9433 *i
[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9434 printf %s
"checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9435 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9437 printf %s
"(cached) " >&6
9439 ac_wine_try_cflags_saved
=$CFLAGS
9440 CFLAGS
="$CFLAGS -Wl,--disable-stdcall-fixup"
9441 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9442 /* end confdefs.h. */
9443 int main(int argc, char **argv) { return 0; }
9445 if ac_fn_c_try_link
"$LINENO"
9447 ac_cv_cflags__Wl___disable_stdcall_fixup
=yes
9449 ac_cv_cflags__Wl___disable_stdcall_fixup
=no
9451 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9452 conftest
$ac_exeext conftest.
$ac_ext
9453 CFLAGS
=$ac_wine_try_cflags_saved
9455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9456 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9457 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9459 LDDLLFLAGS
="-Wl,--disable-stdcall-fixup"
9462 enable_loader
=${enable_loader:-no}
9463 enable_server
=${enable_server:-no}
9464 with_x
=${with_x:-no}
9465 with_pthread
=${with_pthread:-no}
9470 DLLFLAGS
="$DLLFLAGS -fPIC"
9472 enable_winemac_drv
=${enable_winemac_drv:-yes}
9473 CARBON_LIBS
="-framework Carbon"
9475 COREFOUNDATION_LIBS
="-framework CoreFoundation"
9477 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
9479 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
9481 METAL_LIBS
="-framework Metal"
9483 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
9485 CORESERVICES_LIBS
="-framework CoreServices"
9487 APPKIT_LIBS
="-framework AppKit"
9489 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
9491 SYSTEMCONFIGURATION_LIBS
="-framework SystemConfiguration"
9494 WINELOADER_LDFLAGS
="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9497 *i
[3456]86*|
*x86_64
*) wine_can_build_preloader
=yes ;;
9498 *) wine_can_build_preloader
=no
;;
9501 if test "$wine_can_build_preloader" = "yes"
9503 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"
9504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9505 printf %s
"checking whether the compiler supports -Wl,-no_pie... " >&6; }
9506 if test ${ac_cv_cflags__Wl__no_pie+y}
9508 printf %s
"(cached) " >&6
9510 ac_wine_try_cflags_saved
=$CFLAGS
9511 CFLAGS
="$CFLAGS -Wl,-no_pie"
9512 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9513 /* end confdefs.h. */
9514 int main(int argc, char **argv) { return 0; }
9516 if ac_fn_c_try_link
"$LINENO"
9518 ac_cv_cflags__Wl__no_pie
=yes
9520 ac_cv_cflags__Wl__no_pie
=no
9522 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9523 conftest
$ac_exeext conftest.
$ac_ext
9524 CFLAGS
=$ac_wine_try_cflags_saved
9526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9527 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9528 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9530 WINEPRELOADER_LDFLAGS
="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9534 WINEPRELOADER_LDFLAGS
="-Wl,-image_base,0x7d400000 $WINEPRELOADER_LDFLAGS"
9537 WINEPRELOADER_LDFLAGS
="-Wl,-image_base,0x200000000,-segalign,0x1000,-segaddr,WINE_RESERVE,0x1000 $WINEPRELOADER_LDFLAGS"
9540 WINELOADER_LDFLAGS
="$WINELOADER_LDFLAGS -mmacosx-version-min=10.7"
9542 as_fn_append wine_warnings
"|can't build Wine preloader; many programs won't work"
9545 if test "x$with_coreaudio" != "xno";
9547 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9549 enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-yes}
9551 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9553 OPENCL_LIBS
="-framework OpenCL"
9555 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
9558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9559 printf %s
"checking whether MTLDevice protocol supports registryID property... " >&6; }
9561 ac_cpp
='$OBJCPP $CPPFLAGS'
9562 ac_compile
='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9563 ac_link
='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9564 ac_compiler_gnu
=$ac_cv_objc_compiler_gnu
9567 ac_cpp
='$OBJCPP $CPPFLAGS'
9568 ac_compile
='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9569 ac_link
='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9570 ac_compiler_gnu
=$ac_cv_objc_compiler_gnu
9571 if test -n "$ac_tool_prefix"; then
9572 for ac_prog
in gcc objcc objc cc CC clang
9574 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9575 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
9576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9577 printf %s
"checking for $ac_word... " >&6; }
9578 if test ${ac_cv_prog_OBJC+y}
9580 printf %s
"(cached) " >&6
9582 if test -n "$OBJC"; then
9583 ac_cv_prog_OBJC
="$OBJC" # Let the user override the test.
9585 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9589 case $as_dir in #(((
9592 *) as_dir
=$as_dir/ ;;
9594 for ac_exec_ext
in '' $ac_executable_extensions; do
9595 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9596 ac_cv_prog_OBJC
="$ac_tool_prefix$ac_prog"
9597 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9606 OBJC
=$ac_cv_prog_OBJC
9607 if test -n "$OBJC"; then
9608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9609 printf "%s\n" "$OBJC" >&6; }
9611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9612 printf "%s\n" "no" >&6; }
9616 test -n "$OBJC" && break
9619 if test -z "$OBJC"; then
9621 for ac_prog
in gcc objcc objc cc CC clang
9623 # Extract the first word of "$ac_prog", so it can be a program name with args.
9624 set dummy
$ac_prog; ac_word
=$2
9625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9626 printf %s
"checking for $ac_word... " >&6; }
9627 if test ${ac_cv_prog_ac_ct_OBJC+y}
9629 printf %s
"(cached) " >&6
9631 if test -n "$ac_ct_OBJC"; then
9632 ac_cv_prog_ac_ct_OBJC
="$ac_ct_OBJC" # Let the user override the test.
9634 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9638 case $as_dir in #(((
9641 *) as_dir
=$as_dir/ ;;
9643 for ac_exec_ext
in '' $ac_executable_extensions; do
9644 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9645 ac_cv_prog_ac_ct_OBJC
="$ac_prog"
9646 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9655 ac_ct_OBJC
=$ac_cv_prog_ac_ct_OBJC
9656 if test -n "$ac_ct_OBJC"; then
9657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9658 printf "%s\n" "$ac_ct_OBJC" >&6; }
9660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9661 printf "%s\n" "no" >&6; }
9665 test -n "$ac_ct_OBJC" && break
9668 if test "x$ac_ct_OBJC" = x
; then
9671 case $cross_compiling:$ac_tool_warned in
9673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9674 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9675 ac_tool_warned
=yes ;;
9681 # Provide some information about the compiler.
9682 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9685 for ac_option
in --version -v -V -qversion; do
9686 { { ac_try
="$ac_compiler $ac_option >&5"
9688 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9689 *) ac_try_echo=$ac_try;;
9691 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9692 printf "%s\n" "$ac_try_echo"; } >&5
9693 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9695 if test -s conftest.err; then
9697 ... rest of stderr output deleted ...
9698 10q' conftest.err >conftest.er1
9699 cat conftest.er1 >&5
9701 rm -f conftest.er1 conftest.err
9702 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9703 test $ac_status = 0; }
9706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9707 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9708 if test ${ac_cv_objc_compiler_gnu+y}
9710 printf %s "(cached) " >&6
9712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9713 /* end confdefs.h. */
9726 if ac_fn_objc_try_compile "$LINENO"
9732 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9733 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9737 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9738 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9740 if test $ac_compiler_gnu = yes; then
9745 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9746 ac_save_OBJCFLAGS=$OBJCFLAGS
9747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9748 printf %s "checking whether $OBJC accepts -g... " >&6; }
9749 if test ${ac_cv_prog_objc_g+y}
9751 printf %s "(cached) " >&6
9753 ac_save_objc_werror_flag=$ac_objc_werror_flag
9754 ac_objc_werror_flag=yes
9755 ac_cv_prog_objc_g=no
9757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9758 /* end confdefs.h. */
9768 if ac_fn_objc_try_compile "$LINENO"
9770 ac_cv_prog_objc_g=yes
9773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9774 /* end confdefs.h. */
9784 if ac_fn_objc_try_compile "$LINENO"
9788 ac_objc_werror_flag=$ac_save_objc_werror_flag
9790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9791 /* end confdefs.h. */
9801 if ac_fn_objc_try_compile "$LINENO"
9803 ac_cv_prog_objc_g=yes
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
9809 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9810 ac_objc_werror_flag=$ac_save_objc_werror_flag
9812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9813 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9814 if test $ac_test_OBJCFLAGS; then
9815 OBJCFLAGS=$ac_save_OBJCFLAGS
9816 elif test $ac_cv_prog_objc_g = yes; then
9817 if test "$GOBJC" = yes; then
9823 if test "$GOBJC" = yes; then
9830 ac_cpp='$OBJCPP $CPPFLAGS'
9831 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9832 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9833 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9837 /* end confdefs.h. */
9838 #include <Metal/Metal.h>
9842 id<MTLDevice> device; device.registryID;
9847 if ac_fn_objc_try_compile "$LINENO"
9849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9850 printf "%s\n" "yes" >&6; }
9852 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9856 printf "%s\n" "no" >&6; }
9858 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9860 ac_cpp='$CPP $CPPFLAGS'
9861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9866 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
9867 WINELOADER_DEPENDS="wine_info.plist"
9873 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
9875 DLLFLAGS="$DLLFLAGS -fPIC"
9877 LDEXECFLAGS="-Wl,-pie"
9878 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9880 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9881 if test ${ac_cv_cflags__Wl__z_defs+y}
9883 printf %s "(cached) " >&6
9885 ac_wine_try_cflags_saved=$CFLAGS
9886 CFLAGS="$CFLAGS -Wl,-z,defs"
9887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9888 /* end confdefs.h. */
9889 int main(int argc, char **argv) { return 0; }
9891 if ac_fn_c_try_link "$LINENO"
9893 ac_cv_cflags__Wl__z_defs=yes
9895 ac_cv_cflags__Wl__z_defs=no
9897 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9898 conftest$ac_exeext conftest.$ac_ext
9899 CFLAGS=$ac_wine_try_cflags_saved
9901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9902 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
9903 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
9905 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9908 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9909 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
9911 printf %s "(cached) " >&6
9913 ac_wine_try_cflags_saved=$CFLAGS
9914 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9916 /* end confdefs.h. */
9917 int main(int argc, char **argv) { return 0; }
9919 if ac_fn_c_try_link "$LINENO"
9921 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9923 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9925 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9926 conftest$ac_exeext conftest.$ac_ext
9927 CFLAGS=$ac_wine_try_cflags_saved
9929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9930 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9931 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
9933 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9935 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9938 printf %s "checking for -lEGL... " >&6; }
9939 if test ${ac_cv_lib_soname_EGL+y}
9941 printf %s "(cached) " >&6
9943 ac_check_soname_save_LIBS=$LIBS
9945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9946 /* end confdefs.h. */
9948 /* Override any GCC internal prototype to avoid an error.
9949 Use char because int might match the return type of a GCC
9950 builtin and then its argument prototype would still apply. */
9951 char eglGetProcAddress ();
9955 return eglGetProcAddress ();
9960 if ac_fn_c_try_link "$LINENO"
9963 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe |
grep "EGL" |
sed -e "s/dll.*/dll/"';2,$d'` ;;
9964 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'` ;;
9965 *) ac_cv_lib_soname_EGL=`$READELF -d conftest
$ac_exeext |
grep "NEEDED.*libEGL\\.$LIBEXT" |
sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9966 if ${ac_cv_lib_soname_EGL:+false} :
9968 ac_cv_lib_soname_EGL=`$LDD conftest
$ac_exeext |
grep "libEGL\\.$LIBEXT" |
sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9972 ac_cv_lib_soname_EGL=
9974 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9975 conftest$ac_exeext conftest.$ac_ext
9976 LIBS=$ac_check_soname_save_LIBS
9978 if ${ac_cv_lib_soname_EGL:+false} :
9980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9981 printf "%s\n" "not found" >&6; }
9984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9985 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
9987 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
9991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9992 printf %s "checking for -lGLESv2... " >&6; }
9993 if test ${ac_cv_lib_soname_GLESv2+y}
9995 printf %s "(cached) " >&6
9997 ac_check_soname_save_LIBS=$LIBS
9998 LIBS="-lGLESv2 $LIBS"
9999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10000 /* end confdefs.h. */
10002 /* Override any GCC internal prototype to avoid an error.
10003 Use char because int might match the return type of a GCC
10004 builtin and then its argument prototype would still apply. */
10014 if ac_fn_c_try_link "$LINENO"
10017 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe |
grep "GLESv2" |
sed -e "s/dll.*/dll/"';2,$d'` ;;
10018 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'` ;;
10019 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest
$ac_exeext |
grep "NEEDED.*libGLESv2\\.$LIBEXT" |
sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10020 if ${ac_cv_lib_soname_GLESv2:+false} :
10022 ac_cv_lib_soname_GLESv2=`$LDD conftest
$ac_exeext |
grep "libGLESv2\\.$LIBEXT" |
sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10026 ac_cv_lib_soname_GLESv2=
10028 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10029 conftest$ac_exeext conftest.$ac_ext
10030 LIBS=$ac_check_soname_save_LIBS
10032 if ${ac_cv_lib_soname_GLESv2:+false} :
10034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10035 printf "%s\n" "not found" >&6; }
10038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10039 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10041 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10046 if test "x$exec_prefix" = xNONE
10049 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10050 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10051 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10052 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10059 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10061 test "$ac_cv_sys_file_offset_bits" = 64 &&
10062 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10066 DLLFLAGS="$DLLFLAGS -fno-PIC"
10067 LDDLLFLAGS="-fno-PIC"
10068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10069 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10070 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10072 printf %s "(cached) " >&6
10074 ac_wine_try_cflags_saved=$CFLAGS
10075 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10077 /* end confdefs.h. */
10078 int main(int argc, char **argv) { return 0; }
10080 if ac_fn_c_try_link "$LINENO"
10082 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10084 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10086 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10087 conftest$ac_exeext conftest.$ac_ext
10088 CFLAGS=$ac_wine_try_cflags_saved
10090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10091 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10092 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10094 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10098 DLLFLAGS="$DLLFLAGS -fPIC"
10099 LDDLLFLAGS="-fPIC" ;;
10102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10103 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10104 if test ${ac_cv_cflags__Wl__z_defs+y}
10106 printf %s "(cached) " >&6
10108 ac_wine_try_cflags_saved=$CFLAGS
10109 CFLAGS="$CFLAGS -Wl,-z,defs"
10110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10111 /* end confdefs.h. */
10112 int main(int argc, char **argv) { return 0; }
10114 if ac_fn_c_try_link "$LINENO"
10116 ac_cv_cflags__Wl__z_defs=yes
10118 ac_cv_cflags__Wl__z_defs=no
10120 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10121 conftest$ac_exeext conftest.$ac_ext
10122 CFLAGS=$ac_wine_try_cflags_saved
10124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10125 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10126 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10128 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10131 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10132 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10134 printf %s "(cached) " >&6
10136 ac_wine_try_cflags_saved=$CFLAGS
10137 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10139 /* end confdefs.h. */
10140 int main(int argc, char **argv) { return 0; }
10142 if ac_fn_c_try_link "$LINENO"
10144 ac_cv_cflags__Wl___export_dynamic=yes
10146 ac_cv_cflags__Wl___export_dynamic=no
10148 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10149 conftest$ac_exeext conftest.$ac_ext
10150 CFLAGS=$ac_wine_try_cflags_saved
10152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10153 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10154 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10156 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10158 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs"
10162 as_fn_append WINELOADER_LDFLAGS " -pie"
10165 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d400000" ;;
10167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -static-pie" >&5
10168 printf %s "checking whether the compiler supports -static-pie... " >&6; }
10169 if test ${ac_cv_cflags__static_pie+y}
10171 printf %s "(cached) " >&6
10173 ac_wine_try_cflags_saved=$CFLAGS
10174 CFLAGS="$CFLAGS -static-pie"
10175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10176 /* end confdefs.h. */
10177 int main(int argc, char **argv) { return 0; }
10179 if ac_fn_c_try_link "$LINENO"
10181 ac_cv_cflags__static_pie=yes
10183 ac_cv_cflags__static_pie=no
10185 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10186 conftest$ac_exeext conftest.$ac_ext
10187 CFLAGS=$ac_wine_try_cflags_saved
10189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__static_pie" >&5
10190 printf "%s\n" "$ac_cv_cflags__static_pie" >&6; }
10191 if test "x$ac_cv_cflags__static_pie" = xyes
10193 as_fn_append WINEPRELOADER_LDFLAGS " -static-pie"
10195 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d7d00000000"
10203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x60000000" >&5
10204 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x60000000... " >&6; }
10205 if test ${ac_cv_cflags__Wl__Ttext_segment_0x60000000+y}
10207 printf %s "(cached) " >&6
10209 ac_wine_try_cflags_saved=$CFLAGS
10210 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x60000000"
10211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10212 /* end confdefs.h. */
10213 int main(int argc, char **argv) { return 0; }
10215 if ac_fn_c_try_link "$LINENO"
10217 ac_cv_cflags__Wl__Ttext_segment_0x60000000=yes
10219 ac_cv_cflags__Wl__Ttext_segment_0x60000000=no
10221 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10222 conftest$ac_exeext conftest.$ac_ext
10223 CFLAGS=$ac_wine_try_cflags_saved
10225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&5
10226 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&6; }
10227 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x60000000" = xyes
10229 as_fn_append WINELOADER_LDFLAGS " -Wl,-Ttext-segment=0x60000000"
10231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x60000400" >&5
10232 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x60000400... " >&6; }
10233 if test ${ac_cv_cflags__Wl___section_start__interp_0x60000400+y}
10235 printf %s "(cached) " >&6
10237 ac_wine_try_cflags_saved=$CFLAGS
10238 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x60000400"
10239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10240 /* end confdefs.h. */
10241 int main(int argc, char **argv) { return 0; }
10243 if ac_fn_c_try_link "$LINENO"
10245 ac_cv_cflags__Wl___section_start__interp_0x60000400=yes
10247 ac_cv_cflags__Wl___section_start__interp_0x60000400=no
10249 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10250 conftest$ac_exeext conftest.$ac_ext
10251 CFLAGS=$ac_wine_try_cflags_saved
10253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x60000400" >&5
10254 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x60000400" >&6; }
10255 if test "x$ac_cv_cflags__Wl___section_start__interp_0x60000400" = xyes
10257 as_fn_append WINELOADER_LDFLAGS " -Wl,--section-start,.interp=0x60000400"
10262 as_fn_append WINELOADER_LDFLAGS " -pie"
10270 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10271 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10272 enable_winemac_drv=${enable_winemac_drv:-no}
10277 if test ${enable_archs+y}
10279 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10282 set x $enable_archs
10288 i386|x86_64|arm|aarch64) cross_archs="$cross_archs $arch" ;;
10289 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10293 if test "x$with_mingw" != xno
10295 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10299 for wine_arch in $cross_archs
10301 case "x$with_mingw" in
10302 xclang|x*/clang) eval "${wine_arch}_CC=\$with_mingw" ;;
10304 if eval \${${wine_arch}_CC:+false} :
10308 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10310 # Extract the first word of "$ac_prog", so it can be a program name with args.
10311 set dummy $ac_prog; ac_word=$2
10312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10313 printf %s "checking for $ac_word... " >&6; }
10314 if test ${ac_cv_prog_aarch64_CC+y}
10316 printf %s "(cached) " >&6
10318 if test -n "$aarch64_CC"; then
10319 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10322 for as_dir in $PATH
10325 case $as_dir in #(((
10328 *) as_dir=$as_dir/ ;;
10330 for ac_exec_ext in '' $ac_executable_extensions; do
10331 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10332 ac_cv_prog_aarch64_CC="$ac_prog"
10333 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10342 aarch64_CC=$ac_cv_prog_aarch64_CC
10343 if test -n "$aarch64_CC"; then
10344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10345 printf "%s\n" "$aarch64_CC" >&6; }
10347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10348 printf "%s\n" "no" >&6; }
10352 test -n "$aarch64_CC" && break
10354 test -n "$aarch64_CC" || aarch64_CC="false"
10358 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10360 # Extract the first word of "$ac_prog", so it can be a program name with args.
10361 set dummy $ac_prog; ac_word=$2
10362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10363 printf %s "checking for $ac_word... " >&6; }
10364 if test ${ac_cv_prog_arm_CC+y}
10366 printf %s "(cached) " >&6
10368 if test -n "$arm_CC"; then
10369 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10372 for as_dir in $PATH
10375 case $as_dir in #(((
10378 *) as_dir=$as_dir/ ;;
10380 for ac_exec_ext in '' $ac_executable_extensions; do
10381 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10382 ac_cv_prog_arm_CC="$ac_prog"
10383 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10392 arm_CC=$ac_cv_prog_arm_CC
10393 if test -n "$arm_CC"; then
10394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10395 printf "%s\n" "$arm_CC" >&6; }
10397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10398 printf "%s\n" "no" >&6; }
10402 test -n "$arm_CC" && break
10404 test -n "$arm_CC" || arm_CC="false"
10408 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 "
10409 for ac_prog in $ac_prefix_list clang
10411 # Extract the first word of "$ac_prog", so it can be a program name with args.
10412 set dummy $ac_prog; ac_word=$2
10413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10414 printf %s "checking for $ac_word... " >&6; }
10415 if test ${ac_cv_prog_i386_CC+y}
10417 printf %s "(cached) " >&6
10419 if test -n "$i386_CC"; then
10420 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10423 for as_dir in $PATH
10426 case $as_dir in #(((
10429 *) as_dir=$as_dir/ ;;
10431 for ac_exec_ext in '' $ac_executable_extensions; do
10432 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10433 ac_cv_prog_i386_CC="$ac_prog"
10434 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10443 i386_CC=$ac_cv_prog_i386_CC
10444 if test -n "$i386_CC"; then
10445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10446 printf "%s\n" "$i386_CC" >&6; }
10448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10449 printf "%s\n" "no" >&6; }
10453 test -n "$i386_CC" && break
10455 test -n "$i386_CC" || i386_CC="false"
10459 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10460 for ac_prog in $ac_prefix_list clang
10462 # Extract the first word of "$ac_prog", so it can be a program name with args.
10463 set dummy $ac_prog; ac_word=$2
10464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10465 printf %s "checking for $ac_word... " >&6; }
10466 if test ${ac_cv_prog_x86_64_CC+y}
10468 printf %s "(cached) " >&6
10470 if test -n "$x86_64_CC"; then
10471 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10474 for as_dir in $PATH
10477 case $as_dir in #(((
10480 *) as_dir=$as_dir/ ;;
10482 for ac_exec_ext in '' $ac_executable_extensions; do
10483 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10484 ac_cv_prog_x86_64_CC="$ac_prog"
10485 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10494 x86_64_CC=$ac_cv_prog_x86_64_CC
10495 if test -n "$x86_64_CC"; then
10496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10497 printf "%s\n" "$x86_64_CC" >&6; }
10499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10500 printf "%s\n" "no" >&6; }
10504 test -n "$x86_64_CC" && break
10506 test -n "$x86_64_CC" || x86_64_CC="false"
10513 saved_CFLAGS=$CFLAGS
10514 saved_LDFLAGS=$LDFLAGS
10516 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10517 LDFLAGS=$CROSSLDFLAGS
10518 eval CC=\$${wine_arch}_CC
10519 eval ${wine_arch}_CFLAGS=\$CFLAGS
10520 eval ${wine_arch}_LDFLAGS=\$LDFLAGS
10521 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10524 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" |
$as_tr_sh`
10526 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10531 printf %s "checking whether $CC works... " >&6; }
10532 if eval test \${$as_wine_cv_crosscc+y}
10534 printf %s "(cached) " >&6
10536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10537 /* end confdefs.h. */
10547 if ac_fn_c_try_compile "$LINENO"
10549 eval "$as_wine_cv_crosscc=yes"
10551 eval "$as_wine_cv_crosscc=no"
10553 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10555 eval ac_res=\$$as_wine_cv_crosscc
10556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10557 printf "%s\n" "$ac_res" >&6; }
10559 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10563 while test $# -ge 1
10566 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10567 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10572 llvm_target=$target
10573 if test -z "$llvm_target"
10576 i386) llvm_target=i686-windows ;;
10577 arm) llvm_target=armv7-windows ;;
10578 *) llvm_target=$wine_arch-windows ;;
10581 llvm_extra_cflags="-target $llvm_target -fuse-ld=lld"
10582 case $llvm_target in
10583 *windows) llvm_cflags="-Wl,-subsystem:console -Wl,-WX" ;;
10585 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags" |
$as_tr_sh`
10586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags" >&5
10587 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags... " >&6; }
10588 if eval test \${$as_ac_var+y}
10590 printf %s "(cached) " >&6
10592 ac_wine_try_cflags_saved=$CFLAGS
10593 ac_wine_try_cflags_saved_exeext=$ac_exeext
10594 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags"
10596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10597 /* end confdefs.h. */
10598 int __cdecl mainCRTStartup(void) { return 0; }
10600 if ac_fn_c_try_link "$LINENO"
10602 eval "$as_ac_var=yes"
10604 eval "$as_ac_var=no"
10606 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10607 conftest$ac_exeext conftest.$ac_ext
10608 CFLAGS=$ac_wine_try_cflags_saved
10609 ac_exeext=$ac_wine_try_cflags_saved_exeext
10611 eval ac_res=\$$as_ac_var
10612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10613 printf "%s\n" "$ac_res" >&6; }
10614 if eval test \"x\$"$as_ac_var"\" = x"yes"
10616 target=$llvm_target
10617 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10618 as_fn_append ${wine_arch}_EXTRACFLAGS " $llvm_extra_cflags"
10619 CFLAGS="$llvm_extra_cflags $llvm_cflags"
10621 eval "${wine_arch}_TARGET=\$target"
10625 if test -z "$target"
10627 if test ${enable_archs+y}
10629 as_fn_error $? "MinGW $wine_arch compiler not found.
10630 This is an error since --enable-archs=$wine_arch was requested." "$LINENO" 5
10633 CFLAGS=$saved_CFLAGS
10634 LDFLAGS=$saved_LDFLAGS
10638 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" |
$as_tr_sh`
10640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10641 printf %s "checking for $CC option to enable C99 features... " >&6; }
10642 if eval test \${$as_wine_cv_crosscc_c99+y}
10644 printf %s "(cached) " >&6
10646 eval "$as_wine_cv_crosscc_c99=no"
10647 for arg in '' '-std=gnu99' '-D__STDC__'
10649 test -z "$arg" || CC="$CC $arg"
10650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10651 /* end confdefs.h. */
10652 $ac_c_conftest_c99_program
10654 if ac_fn_c_try_compile "$LINENO"
10656 eval "$as_wine_cv_crosscc_c99=\$arg"
10658 eval "$as_wine_cv_crosscc_c99=no"
10660 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10661 eval CC=\$${wine_arch}_CC
10662 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10671 eval res=\$$as_wine_cv_crosscc_c99
10674 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10675 printf "%s\n" "none needed" >&6; } ;;
10676 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10677 printf "%s\n" "unsupported" >&6; }
10679 CFLAGS=$saved_CFLAGS
10680 LDFLAGS=$saved_LDFLAGS
10681 if test ${enable_archs+y}
10683 as_fn_error $? "MinGW $wine_arch compiler supporting C99 not found.
10684 This is an error since --enable-archs=$wine_arch was requested." "$LINENO" 5
10688 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10689 printf "%s\n" "$res" >&6; }
10690 as_fn_append ${wine_arch}_CC " $res" ;;
10693 as_fn_append PE_ARCHS " $wine_arch"
10694 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" |
$as_tr_sh`
10695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10696 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10697 if eval test \${$as_ac_var+y}
10699 printf %s "(cached) " >&6
10701 ac_wine_try_cflags_saved=$CFLAGS
10702 ac_wine_try_cflags_saved_exeext=$ac_exeext
10703 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-strict-aliasing"
10705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10706 /* end confdefs.h. */
10707 int __cdecl mainCRTStartup(void) { return 0; }
10709 if ac_fn_c_try_link "$LINENO"
10711 eval "$as_ac_var=yes"
10713 eval "$as_ac_var=no"
10715 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10716 conftest$ac_exeext conftest.$ac_ext
10717 CFLAGS=$ac_wine_try_cflags_saved
10718 ac_exeext=$ac_wine_try_cflags_saved_exeext
10720 eval ac_res=\$$as_ac_var
10721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10722 printf "%s\n" "$ac_res" >&6; }
10723 if eval test \"x\$"$as_ac_var"\" = x"yes"
10725 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10727 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" |
$as_tr_sh`
10728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10729 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10730 if eval test \${$as_ac_var+y}
10732 printf %s "(cached) " >&6
10734 ac_wine_try_cflags_saved=$CFLAGS
10735 ac_wine_try_cflags_saved_exeext=$ac_exeext
10736 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=unknown-warning-option"
10738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10739 /* end confdefs.h. */
10740 int __cdecl mainCRTStartup(void) { return 0; }
10742 if ac_fn_c_try_link "$LINENO"
10744 eval "$as_ac_var=yes"
10746 eval "$as_ac_var=no"
10748 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10749 conftest$ac_exeext conftest.$ac_ext
10750 CFLAGS=$ac_wine_try_cflags_saved
10751 ac_exeext=$ac_wine_try_cflags_saved_exeext
10753 eval ac_res=\$$as_ac_var
10754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10755 printf "%s\n" "$ac_res" >&6; }
10756 if eval test \"x\$"$as_ac_var"\" = x"yes"
10758 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10760 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" |
$as_tr_sh`
10761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
10762 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
10763 if eval test \${$as_ac_var+y}
10765 printf %s "(cached) " >&6
10767 ac_wine_try_cflags_saved=$CFLAGS
10768 ac_wine_try_cflags_saved_exeext=$ac_exeext
10769 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=ignored-optimization-argument"
10771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10772 /* end confdefs.h. */
10773 int __cdecl mainCRTStartup(void) { return 0; }
10775 if ac_fn_c_try_link "$LINENO"
10777 eval "$as_ac_var=yes"
10779 eval "$as_ac_var=no"
10781 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10782 conftest$ac_exeext conftest.$ac_ext
10783 CFLAGS=$ac_wine_try_cflags_saved
10784 ac_exeext=$ac_wine_try_cflags_saved_exeext
10786 eval ac_res=\$$as_ac_var
10787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10788 printf "%s\n" "$ac_res" >&6; }
10789 if eval test \"x\$"$as_ac_var"\" = x"yes"
10791 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10793 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" |
$as_tr_sh`
10794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
10795 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
10796 if eval test \${$as_ac_var+y}
10798 printf %s "(cached) " >&6
10800 ac_wine_try_cflags_saved=$CFLAGS
10801 ac_wine_try_cflags_saved_exeext=$ac_exeext
10802 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wdeclaration-after-statement"
10804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10805 /* end confdefs.h. */
10806 int __cdecl mainCRTStartup(void) { return 0; }
10808 if ac_fn_c_try_link "$LINENO"
10810 eval "$as_ac_var=yes"
10812 eval "$as_ac_var=no"
10814 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10815 conftest$ac_exeext conftest.$ac_ext
10816 CFLAGS=$ac_wine_try_cflags_saved
10817 ac_exeext=$ac_wine_try_cflags_saved_exeext
10819 eval ac_res=\$$as_ac_var
10820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10821 printf "%s\n" "$ac_res" >&6; }
10822 if eval test \"x\$"$as_ac_var"\" = x"yes"
10824 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
10826 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" |
$as_tr_sh`
10827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
10828 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
10829 if eval test \${$as_ac_var+y}
10831 printf %s "(cached) " >&6
10833 ac_wine_try_cflags_saved=$CFLAGS
10834 ac_wine_try_cflags_saved_exeext=$ac_exeext
10835 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wempty-body"
10837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10838 /* end confdefs.h. */
10839 int __cdecl mainCRTStartup(void) { return 0; }
10841 if ac_fn_c_try_link "$LINENO"
10843 eval "$as_ac_var=yes"
10845 eval "$as_ac_var=no"
10847 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10848 conftest$ac_exeext conftest.$ac_ext
10849 CFLAGS=$ac_wine_try_cflags_saved
10850 ac_exeext=$ac_wine_try_cflags_saved_exeext
10852 eval ac_res=\$$as_ac_var
10853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10854 printf "%s\n" "$ac_res" >&6; }
10855 if eval test \"x\$"$as_ac_var"\" = x"yes"
10857 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
10859 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" |
$as_tr_sh`
10860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
10861 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
10862 if eval test \${$as_ac_var+y}
10864 printf %s "(cached) " >&6
10866 ac_wine_try_cflags_saved=$CFLAGS
10867 ac_wine_try_cflags_saved_exeext=$ac_exeext
10868 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wignored-qualifiers"
10870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10871 /* end confdefs.h. */
10872 int __cdecl mainCRTStartup(void) { return 0; }
10874 if ac_fn_c_try_link "$LINENO"
10876 eval "$as_ac_var=yes"
10878 eval "$as_ac_var=no"
10880 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10881 conftest$ac_exeext conftest.$ac_ext
10882 CFLAGS=$ac_wine_try_cflags_saved
10883 ac_exeext=$ac_wine_try_cflags_saved_exeext
10885 eval ac_res=\$$as_ac_var
10886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10887 printf "%s\n" "$ac_res" >&6; }
10888 if eval test \"x\$"$as_ac_var"\" = x"yes"
10890 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
10892 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" |
$as_tr_sh`
10893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
10894 printf %s "checking whether $CC supports -Winit-self... " >&6; }
10895 if eval test \${$as_ac_var+y}
10897 printf %s "(cached) " >&6
10899 ac_wine_try_cflags_saved=$CFLAGS
10900 ac_wine_try_cflags_saved_exeext=$ac_exeext
10901 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Winit-self"
10903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10904 /* end confdefs.h. */
10905 int __cdecl mainCRTStartup(void) { return 0; }
10907 if ac_fn_c_try_link "$LINENO"
10909 eval "$as_ac_var=yes"
10911 eval "$as_ac_var=no"
10913 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10914 conftest$ac_exeext conftest.$ac_ext
10915 CFLAGS=$ac_wine_try_cflags_saved
10916 ac_exeext=$ac_wine_try_cflags_saved_exeext
10918 eval ac_res=\$$as_ac_var
10919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10920 printf "%s\n" "$ac_res" >&6; }
10921 if eval test \"x\$"$as_ac_var"\" = x"yes"
10923 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
10925 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" |
$as_tr_sh`
10926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
10927 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
10928 if eval test \${$as_ac_var+y}
10930 printf %s "(cached) " >&6
10932 ac_wine_try_cflags_saved=$CFLAGS
10933 ac_wine_try_cflags_saved_exeext=$ac_exeext
10934 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpacked-not-aligned"
10936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10937 /* end confdefs.h. */
10938 int __cdecl mainCRTStartup(void) { return 0; }
10940 if ac_fn_c_try_link "$LINENO"
10942 eval "$as_ac_var=yes"
10944 eval "$as_ac_var=no"
10946 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10947 conftest$ac_exeext conftest.$ac_ext
10948 CFLAGS=$ac_wine_try_cflags_saved
10949 ac_exeext=$ac_wine_try_cflags_saved_exeext
10951 eval ac_res=\$$as_ac_var
10952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10953 printf "%s\n" "$ac_res" >&6; }
10954 if eval test \"x\$"$as_ac_var"\" = x"yes"
10956 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
10958 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" |
$as_tr_sh`
10959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
10960 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
10961 if eval test \${$as_ac_var+y}
10963 printf %s "(cached) " >&6
10965 ac_wine_try_cflags_saved=$CFLAGS
10966 ac_wine_try_cflags_saved_exeext=$ac_exeext
10967 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpragma-pack"
10969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10970 /* end confdefs.h. */
10971 int __cdecl mainCRTStartup(void) { return 0; }
10973 if ac_fn_c_try_link "$LINENO"
10975 eval "$as_ac_var=yes"
10977 eval "$as_ac_var=no"
10979 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10980 conftest$ac_exeext conftest.$ac_ext
10981 CFLAGS=$ac_wine_try_cflags_saved
10982 ac_exeext=$ac_wine_try_cflags_saved_exeext
10984 eval ac_res=\$$as_ac_var
10985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10986 printf "%s\n" "$ac_res" >&6; }
10987 if eval test \"x\$"$as_ac_var"\" = x"yes"
10989 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
10991 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" |
$as_tr_sh`
10992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
10993 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
10994 if eval test \${$as_ac_var+y}
10996 printf %s "(cached) " >&6
10998 ac_wine_try_cflags_saved=$CFLAGS
10999 ac_wine_try_cflags_saved_exeext=$ac_exeext
11000 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wshift-overflow=2"
11002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11003 /* end confdefs.h. */
11004 int __cdecl mainCRTStartup(void) { return 0; }
11006 if ac_fn_c_try_link "$LINENO"
11008 eval "$as_ac_var=yes"
11010 eval "$as_ac_var=no"
11012 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11013 conftest$ac_exeext conftest.$ac_ext
11014 CFLAGS=$ac_wine_try_cflags_saved
11015 ac_exeext=$ac_wine_try_cflags_saved_exeext
11017 eval ac_res=\$$as_ac_var
11018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11019 printf "%s\n" "$ac_res" >&6; }
11020 if eval test \"x\$"$as_ac_var"\" = x"yes"
11022 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11024 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" |
$as_tr_sh`
11025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11026 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11027 if eval test \${$as_ac_var+y}
11029 printf %s "(cached) " >&6
11031 ac_wine_try_cflags_saved=$CFLAGS
11032 ac_wine_try_cflags_saved_exeext=$ac_exeext
11033 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wstrict-prototypes"
11035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11036 /* end confdefs.h. */
11037 int __cdecl mainCRTStartup(void) { return 0; }
11039 if ac_fn_c_try_link "$LINENO"
11041 eval "$as_ac_var=yes"
11043 eval "$as_ac_var=no"
11045 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11046 conftest$ac_exeext conftest.$ac_ext
11047 CFLAGS=$ac_wine_try_cflags_saved
11048 ac_exeext=$ac_wine_try_cflags_saved_exeext
11050 eval ac_res=\$$as_ac_var
11051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11052 printf "%s\n" "$ac_res" >&6; }
11053 if eval test \"x\$"$as_ac_var"\" = x"yes"
11055 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11057 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" |
$as_tr_sh`
11058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11059 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11060 if eval test \${$as_ac_var+y}
11062 printf %s "(cached) " >&6
11064 ac_wine_try_cflags_saved=$CFLAGS
11065 ac_wine_try_cflags_saved_exeext=$ac_exeext
11066 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wtype-limits"
11068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11069 /* end confdefs.h. */
11070 int __cdecl mainCRTStartup(void) { return 0; }
11072 if ac_fn_c_try_link "$LINENO"
11074 eval "$as_ac_var=yes"
11076 eval "$as_ac_var=no"
11078 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11079 conftest$ac_exeext conftest.$ac_ext
11080 CFLAGS=$ac_wine_try_cflags_saved
11081 ac_exeext=$ac_wine_try_cflags_saved_exeext
11083 eval ac_res=\$$as_ac_var
11084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11085 printf "%s\n" "$ac_res" >&6; }
11086 if eval test \"x\$"$as_ac_var"\" = x"yes"
11088 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11090 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" |
$as_tr_sh`
11091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11092 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11093 if eval test \${$as_ac_var+y}
11095 printf %s "(cached) " >&6
11097 ac_wine_try_cflags_saved=$CFLAGS
11098 ac_wine_try_cflags_saved_exeext=$ac_exeext
11099 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wunused-but-set-parameter"
11101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11102 /* end confdefs.h. */
11103 int __cdecl mainCRTStartup(void) { return 0; }
11105 if ac_fn_c_try_link "$LINENO"
11107 eval "$as_ac_var=yes"
11109 eval "$as_ac_var=no"
11111 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11112 conftest$ac_exeext conftest.$ac_ext
11113 CFLAGS=$ac_wine_try_cflags_saved
11114 ac_exeext=$ac_wine_try_cflags_saved_exeext
11116 eval ac_res=\$$as_ac_var
11117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11118 printf "%s\n" "$ac_res" >&6; }
11119 if eval test \"x\$"$as_ac_var"\" = x"yes"
11121 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11123 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" |
$as_tr_sh`
11124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11125 printf %s "checking whether $CC supports -Wvla... " >&6; }
11126 if eval test \${$as_ac_var+y}
11128 printf %s "(cached) " >&6
11130 ac_wine_try_cflags_saved=$CFLAGS
11131 ac_wine_try_cflags_saved_exeext=$ac_exeext
11132 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wvla"
11134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11135 /* end confdefs.h. */
11136 int __cdecl mainCRTStartup(void) { return 0; }
11138 if ac_fn_c_try_link "$LINENO"
11140 eval "$as_ac_var=yes"
11142 eval "$as_ac_var=no"
11144 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11145 conftest$ac_exeext conftest.$ac_ext
11146 CFLAGS=$ac_wine_try_cflags_saved
11147 ac_exeext=$ac_wine_try_cflags_saved_exeext
11149 eval ac_res=\$$as_ac_var
11150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11151 printf "%s\n" "$ac_res" >&6; }
11152 if eval test \"x\$"$as_ac_var"\" = x"yes"
11154 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11156 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" |
$as_tr_sh`
11157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11158 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11159 if eval test \${$as_ac_var+y}
11161 printf %s "(cached) " >&6
11163 ac_wine_try_cflags_saved=$CFLAGS
11164 ac_wine_try_cflags_saved_exeext=$ac_exeext
11165 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wwrite-strings"
11167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11168 /* end confdefs.h. */
11169 int __cdecl mainCRTStartup(void) { return 0; }
11171 if ac_fn_c_try_link "$LINENO"
11173 eval "$as_ac_var=yes"
11175 eval "$as_ac_var=no"
11177 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11178 conftest$ac_exeext conftest.$ac_ext
11179 CFLAGS=$ac_wine_try_cflags_saved
11180 ac_exeext=$ac_wine_try_cflags_saved_exeext
11182 eval ac_res=\$$as_ac_var
11183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11184 printf "%s\n" "$ac_res" >&6; }
11185 if eval test \"x\$"$as_ac_var"\" = x"yes"
11187 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11189 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" |
$as_tr_sh`
11190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11191 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11192 if eval test \${$as_ac_var+y}
11194 printf %s "(cached) " >&6
11196 ac_wine_try_cflags_saved=$CFLAGS
11197 ac_wine_try_cflags_saved_exeext=$ac_exeext
11198 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpointer-arith"
11200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11201 /* end confdefs.h. */
11202 int __cdecl mainCRTStartup(void) { return 0; }
11204 if ac_fn_c_try_link "$LINENO"
11206 eval "$as_ac_var=yes"
11208 eval "$as_ac_var=no"
11210 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11211 conftest$ac_exeext conftest.$ac_ext
11212 CFLAGS=$ac_wine_try_cflags_saved
11213 ac_exeext=$ac_wine_try_cflags_saved_exeext
11215 eval ac_res=\$$as_ac_var
11216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11217 printf "%s\n" "$ac_res" >&6; }
11218 if eval test \"x\$"$as_ac_var"\" = x"yes"
11220 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11222 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" |
$as_tr_sh`
11223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11224 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11225 if eval test \${$as_ac_var+y}
11227 printf %s "(cached) " >&6
11229 ac_wine_try_cflags_saved=$CFLAGS
11230 ac_wine_try_cflags_saved_exeext=$ac_exeext
11231 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wlogical-op"
11233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11234 /* end confdefs.h. */
11235 int __cdecl mainCRTStartup(void) { return 0; }
11237 if ac_fn_c_try_link "$LINENO"
11239 eval "$as_ac_var=yes"
11241 eval "$as_ac_var=no"
11243 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11244 conftest$ac_exeext conftest.$ac_ext
11245 CFLAGS=$ac_wine_try_cflags_saved
11246 ac_exeext=$ac_wine_try_cflags_saved_exeext
11248 eval ac_res=\$$as_ac_var
11249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11250 printf "%s\n" "$ac_res" >&6; }
11251 if eval test \"x\$"$as_ac_var"\" = x"yes"
11253 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11255 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" |
$as_tr_sh`
11256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11257 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11258 if eval test \${$as_ac_var+y}
11260 printf %s "(cached) " >&6
11262 ac_wine_try_cflags_saved=$CFLAGS
11263 ac_wine_try_cflags_saved_exeext=$ac_exeext
11264 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wabsolute-value"
11266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11267 /* end confdefs.h. */
11268 int __cdecl mainCRTStartup(void) { return 0; }
11270 if ac_fn_c_try_link "$LINENO"
11272 eval "$as_ac_var=yes"
11274 eval "$as_ac_var=no"
11276 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11277 conftest$ac_exeext conftest.$ac_ext
11278 CFLAGS=$ac_wine_try_cflags_saved
11279 ac_exeext=$ac_wine_try_cflags_saved_exeext
11281 eval ac_res=\$$as_ac_var
11282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11283 printf "%s\n" "$ac_res" >&6; }
11284 if eval test \"x\$"$as_ac_var"\" = x"yes"
11286 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11290 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" |
$as_tr_sh`
11291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11292 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11293 if eval test \${$as_ac_var+y}
11295 printf %s "(cached) " >&6
11297 ac_wine_try_cflags_saved=$CFLAGS
11298 ac_wine_try_cflags_saved_exeext=$ac_exeext
11299 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-omit-frame-pointer"
11301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11302 /* end confdefs.h. */
11303 int __cdecl mainCRTStartup(void) { return 0; }
11305 if ac_fn_c_try_link "$LINENO"
11307 eval "$as_ac_var=yes"
11309 eval "$as_ac_var=no"
11311 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11312 conftest$ac_exeext conftest.$ac_ext
11313 CFLAGS=$ac_wine_try_cflags_saved
11314 ac_exeext=$ac_wine_try_cflags_saved_exeext
11316 eval ac_res=\$$as_ac_var
11317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11318 printf "%s\n" "$ac_res" >&6; }
11319 if eval test \"x\$"$as_ac_var"\" = x"yes"
11321 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11323 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" |
$as_tr_sh`
11324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11325 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11326 if eval test \${$as_ac_var+y}
11328 printf %s "(cached) " >&6
11330 ac_wine_try_cflags_saved=$CFLAGS
11331 ac_wine_try_cflags_saved_exeext=$ac_exeext
11332 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--disable-stdcall-fixup"
11334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11335 /* end confdefs.h. */
11336 int __cdecl mainCRTStartup(void) { return 0; }
11338 if ac_fn_c_try_link "$LINENO"
11340 eval "$as_ac_var=yes"
11342 eval "$as_ac_var=no"
11344 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11345 conftest$ac_exeext conftest.$ac_ext
11346 CFLAGS=$ac_wine_try_cflags_saved
11347 ac_exeext=$ac_wine_try_cflags_saved_exeext
11349 eval ac_res=\$$as_ac_var
11350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11351 printf "%s\n" "$ac_res" >&6; }
11352 if eval test \"x\$"$as_ac_var"\" = x"yes"
11354 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11356 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" |
$as_tr_sh`
11357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11358 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11359 if eval test \${$as_ac_var+y}
11361 printf %s "(cached) " >&6
11363 ac_wine_try_cflags_saved=$CFLAGS
11364 ac_wine_try_cflags_saved_exeext=$ac_exeext
11365 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wformat-overflow"
11367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11368 /* end confdefs.h. */
11369 int __cdecl mainCRTStartup(void) { return 0; }
11371 if ac_fn_c_try_link "$LINENO"
11373 eval "$as_ac_var=yes"
11375 eval "$as_ac_var=no"
11377 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11378 conftest$ac_exeext conftest.$ac_ext
11379 CFLAGS=$ac_wine_try_cflags_saved
11380 ac_exeext=$ac_wine_try_cflags_saved_exeext
11382 eval ac_res=\$$as_ac_var
11383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11384 printf "%s\n" "$ac_res" >&6; }
11385 if eval test \"x\$"$as_ac_var"\" = x"yes"
11387 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11389 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" |
$as_tr_sh`
11390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11391 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11392 if eval test \${$as_ac_var+y}
11394 printf %s "(cached) " >&6
11396 ac_wine_try_cflags_saved=$CFLAGS
11397 ac_wine_try_cflags_saved_exeext=$ac_exeext
11398 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wnonnull"
11400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11401 /* end confdefs.h. */
11402 int __cdecl mainCRTStartup(void) { return 0; }
11404 if ac_fn_c_try_link "$LINENO"
11406 eval "$as_ac_var=yes"
11408 eval "$as_ac_var=no"
11410 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11411 conftest$ac_exeext conftest.$ac_ext
11412 CFLAGS=$ac_wine_try_cflags_saved
11413 ac_exeext=$ac_wine_try_cflags_saved_exeext
11415 eval ac_res=\$$as_ac_var
11416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11417 printf "%s\n" "$ac_res" >&6; }
11418 if eval test \"x\$"$as_ac_var"\" = x"yes"
11420 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11422 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" |
$as_tr_sh`
11423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11424 printf %s "checking whether $CC supports -mcx16... " >&6; }
11425 if eval test \${$as_ac_var+y}
11427 printf %s "(cached) " >&6
11429 ac_wine_try_cflags_saved=$CFLAGS
11430 ac_wine_try_cflags_saved_exeext=$ac_exeext
11431 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcx16"
11433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11434 /* end confdefs.h. */
11435 int __cdecl mainCRTStartup(void) { return 0; }
11437 if ac_fn_c_try_link "$LINENO"
11439 eval "$as_ac_var=yes"
11441 eval "$as_ac_var=no"
11443 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11444 conftest$ac_exeext conftest.$ac_ext
11445 CFLAGS=$ac_wine_try_cflags_saved
11446 ac_exeext=$ac_wine_try_cflags_saved_exeext
11448 eval ac_res=\$$as_ac_var
11449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11450 printf "%s\n" "$ac_res" >&6; }
11451 if eval test \"x\$"$as_ac_var"\" = x"yes"
11453 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11455 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcmodel=small" |
$as_tr_sh`
11456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcmodel=small" >&5
11457 printf %s "checking whether $CC supports -mcmodel=small... " >&6; }
11458 if eval test \${$as_ac_var+y}
11460 printf %s "(cached) " >&6
11462 ac_wine_try_cflags_saved=$CFLAGS
11463 ac_wine_try_cflags_saved_exeext=$ac_exeext
11464 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcmodel=small"
11466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11467 /* end confdefs.h. */
11468 int __cdecl mainCRTStartup(void) { return 0; }
11470 if ac_fn_c_try_link "$LINENO"
11472 eval "$as_ac_var=yes"
11474 eval "$as_ac_var=no"
11476 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11477 conftest$ac_exeext conftest.$ac_ext
11478 CFLAGS=$ac_wine_try_cflags_saved
11479 ac_exeext=$ac_wine_try_cflags_saved_exeext
11481 eval ac_res=\$$as_ac_var
11482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11483 printf "%s\n" "$ac_res" >&6; }
11484 if eval test \"x\$"$as_ac_var"\" = x"yes"
11486 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcmodel=small"
11490 wine_crossdebug=$CROSSDEBUG
11491 if test -z "$wine_crossdebug"
11493 for ac_flag in $CFLAGS; do
11495 -gdwarf*) wine_crossdebug=dwarf ;;
11496 -gcodeview) wine_crossdebug=pdb ;;
11497 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11502 ac_debug_format_seen=""
11503 for ac_flag in $CFLAGS; do
11505 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11508 if test "x$ac_debug_format_seen" = x
11510 case $wine_crossdebug in
11511 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" |
$as_tr_sh`
11512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11513 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11514 if eval test \${$as_ac_var+y}
11516 printf %s "(cached) " >&6
11518 ac_wine_try_cflags_saved=$CFLAGS
11519 ac_wine_try_cflags_saved_exeext=$ac_exeext
11520 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gdwarf-4"
11522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11523 /* end confdefs.h. */
11524 int __cdecl mainCRTStartup(void) { return 0; }
11526 if ac_fn_c_try_link "$LINENO"
11528 eval "$as_ac_var=yes"
11530 eval "$as_ac_var=no"
11532 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11533 conftest$ac_exeext conftest.$ac_ext
11534 CFLAGS=$ac_wine_try_cflags_saved
11535 ac_exeext=$ac_wine_try_cflags_saved_exeext
11537 eval ac_res=\$$as_ac_var
11538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11539 printf "%s\n" "$ac_res" >&6; }
11540 if eval test \"x\$"$as_ac_var"\" = x"yes"
11542 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11544 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" |
$as_tr_sh`
11545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11546 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11547 if eval test \${$as_ac_var+y}
11549 printf %s "(cached) " >&6
11551 ac_wine_try_cflags_saved=$CFLAGS
11552 ac_wine_try_cflags_saved_exeext=$ac_exeext
11553 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gcodeview"
11555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11556 /* end confdefs.h. */
11557 int __cdecl mainCRTStartup(void) { return 0; }
11559 if ac_fn_c_try_link "$LINENO"
11561 eval "$as_ac_var=yes"
11563 eval "$as_ac_var=no"
11565 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11566 conftest$ac_exeext conftest.$ac_ext
11567 CFLAGS=$ac_wine_try_cflags_saved
11568 ac_exeext=$ac_wine_try_cflags_saved_exeext
11570 eval ac_res=\$$as_ac_var
11571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11572 printf "%s\n" "$ac_res" >&6; }
11573 if eval test \"x\$"$as_ac_var"\" = x"yes"
11575 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11579 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11581 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" |
$as_tr_sh`
11582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11583 printf %s "checking whether $CC supports -Werror... " >&6; }
11584 if eval test \${$as_ac_var+y}
11586 printf %s "(cached) " >&6
11588 ac_wine_try_cflags_saved=$CFLAGS
11589 ac_wine_try_cflags_saved_exeext=$ac_exeext
11590 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror"
11592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11593 /* end confdefs.h. */
11594 int __cdecl mainCRTStartup(void) { return 0; }
11596 if ac_fn_c_try_link "$LINENO"
11598 eval "$as_ac_var=yes"
11600 eval "$as_ac_var=no"
11602 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11603 conftest$ac_exeext conftest.$ac_ext
11604 CFLAGS=$ac_wine_try_cflags_saved
11605 ac_exeext=$ac_wine_try_cflags_saved_exeext
11607 eval ac_res=\$$as_ac_var
11608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11609 printf "%s\n" "$ac_res" >&6; }
11610 if eval test \"x\$"$as_ac_var"\" = x"yes"
11612 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11614 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" |
$as_tr_sh`
11615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11616 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11617 if eval test \${$as_ac_var+y}
11619 printf %s "(cached) " >&6
11621 ac_wine_try_cflags_saved=$CFLAGS
11622 ac_wine_try_cflags_saved_exeext=$ac_exeext
11623 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--build-id"
11625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11626 /* end confdefs.h. */
11627 int __cdecl mainCRTStartup(void) { return 0; }
11629 if ac_fn_c_try_link "$LINENO"
11631 eval "$as_ac_var=yes"
11633 eval "$as_ac_var=no"
11635 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11636 conftest$ac_exeext conftest.$ac_ext
11637 CFLAGS=$ac_wine_try_cflags_saved
11638 ac_exeext=$ac_wine_try_cflags_saved_exeext
11640 eval ac_res=\$$as_ac_var
11641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11642 printf "%s\n" "$ac_res" >&6; }
11643 if eval test \"x\$"$as_ac_var"\" = x"yes"
11645 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
11646 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
11650 CFLAGS=$saved_CFLAGS
11651 LDFLAGS=$saved_LDFLAGS
11654 if test $HOST_ARCH = aarch64
11656 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
11661 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
11663 case "$host_cpu" in
11665 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11667 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11669 for ac_prog in $ac_prefix_list
11671 # Extract the first word of "$ac_prog", so it can be a program name with args.
11672 set dummy $ac_prog; ac_word=$2
11673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11674 printf %s "checking for $ac_word... " >&6; }
11675 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11677 printf %s "(cached) " >&6
11679 if test -n "$MINGW_PKG_CONFIG"; then
11680 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11683 for as_dir in $PATH
11686 case $as_dir in #(((
11689 *) as_dir=$as_dir/ ;;
11691 for ac_exec_ext in '' $ac_executable_extensions; do
11692 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11693 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11694 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11703 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11704 if test -n "$MINGW_PKG_CONFIG"; then
11705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11706 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
11708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11709 printf "%s\n" "no" >&6; }
11713 test -n "$MINGW_PKG_CONFIG" && break
11715 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
11717 if ${FAUDIO_PE_CFLAGS:+false} :
11719 if test ${MINGW_PKG_CONFIG+y}
11721 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio
2>/dev
/null
`
11724 if ${FAUDIO_PE_LIBS:+false} :
11726 if test ${MINGW_PKG_CONFIG+y}
11728 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio
2>/dev
/null
`
11731 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
11732 ac_save_CPPFLAGS=$CPPFLAGS
11733 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
11734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
11735 printf %s "checking for MinGW FAudio.h... " >&6; }
11736 if test ${ac_cv_mingw_header_FAudio_h+y}
11738 printf %s "(cached) " >&6
11740 ac_wine_check_headers_saved_cc=$CC
11741 ac_wine_check_headers_saved_exeext=$ac_exeext
11742 eval CC=\$${wine_arch}_CC
11744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11745 /* end confdefs.h. */
11747 #include <FAudio.h>
11756 if ac_fn_c_try_compile "$LINENO"
11758 ac_cv_mingw_header_FAudio_h=yes
11760 ac_cv_mingw_header_FAudio_h=no
11762 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11763 CC=$ac_wine_check_headers_saved_cc
11764 ac_exeext=$ac_wine_check_headers_saved_exeext
11766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
11767 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
11768 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
11770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
11771 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
11772 if test ${ac_cv_mingw_lib_FAudio+y}
11774 printf %s "(cached) " >&6
11776 ac_wine_check_headers_saved_cc=$CC
11777 ac_wine_check_headers_saved_exeext=$ac_exeext
11778 ac_wine_check_headers_saved_libs=$LIBS
11779 eval CC=\$${wine_arch}_CC
11781 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
11782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11783 /* end confdefs.h. */
11785 /* Override any GCC internal prototype to avoid an error.
11786 Use char because int might match the return type of a GCC
11787 builtin and then its argument prototype would still apply. */
11788 char FAudio_CommitOperationSet ();
11792 return FAudio_CommitOperationSet ();
11797 if ac_fn_c_try_link "$LINENO"
11799 ac_cv_mingw_lib_FAudio=yes
11801 ac_cv_mingw_lib_FAudio=no
11803 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11804 conftest$ac_exeext conftest.$ac_ext
11805 CC=$ac_wine_check_headers_saved_cc
11806 ac_exeext=$ac_wine_check_headers_saved_exeext
11807 LIBS=$ac_wine_check_headers_saved_libs
11809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
11810 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
11811 if test "x$ac_cv_mingw_lib_FAudio" = xyes
11815 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11818 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11820 CPPFLAGS=$ac_save_CPPFLAGS
11822 if test "x$FAUDIO_PE_LIBS" = "x"
11824 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
11827 if ${JPEG_PE_CFLAGS:+false} :
11829 if test ${MINGW_PKG_CONFIG+y}
11831 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg
2>/dev
/null
`
11834 if ${JPEG_PE_LIBS:+false} :
11836 if test ${MINGW_PKG_CONFIG+y}
11838 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg
2>/dev
/null
`
11842 ac_save_CPPFLAGS=$CPPFLAGS
11843 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
11844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
11845 printf %s "checking for MinGW jpeglib.h... " >&6; }
11846 if test ${ac_cv_mingw_header_jpeglib_h+y}
11848 printf %s "(cached) " >&6
11850 ac_wine_check_headers_saved_cc=$CC
11851 ac_wine_check_headers_saved_exeext=$ac_exeext
11852 eval CC=\$${wine_arch}_CC
11854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11855 /* end confdefs.h. */
11856 #include <stddef.h>
11858 #include <jpeglib.h>
11867 if ac_fn_c_try_compile "$LINENO"
11869 ac_cv_mingw_header_jpeglib_h=yes
11871 ac_cv_mingw_header_jpeglib_h=no
11873 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11874 CC=$ac_wine_check_headers_saved_cc
11875 ac_exeext=$ac_wine_check_headers_saved_exeext
11877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
11878 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
11879 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
11881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
11882 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
11883 if test ${ac_cv_mingw_lib_jpeg+y}
11885 printf %s "(cached) " >&6
11887 ac_wine_check_headers_saved_cc=$CC
11888 ac_wine_check_headers_saved_exeext=$ac_exeext
11889 ac_wine_check_headers_saved_libs=$LIBS
11890 eval CC=\$${wine_arch}_CC
11892 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
11893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11894 /* end confdefs.h. */
11896 /* Override any GCC internal prototype to avoid an error.
11897 Use char because int might match the return type of a GCC
11898 builtin and then its argument prototype would still apply. */
11899 char jpeg_start_decompress ();
11903 return jpeg_start_decompress ();
11908 if ac_fn_c_try_link "$LINENO"
11910 ac_cv_mingw_lib_jpeg=yes
11912 ac_cv_mingw_lib_jpeg=no
11914 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11915 conftest$ac_exeext conftest.$ac_ext
11916 CC=$ac_wine_check_headers_saved_cc
11917 ac_exeext=$ac_wine_check_headers_saved_exeext
11918 LIBS=$ac_wine_check_headers_saved_libs
11920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
11921 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
11922 if test "x$ac_cv_mingw_lib_jpeg" = xyes
11926 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
11929 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
11931 CPPFLAGS=$ac_save_CPPFLAGS
11933 if test "x$JPEG_PE_LIBS" = "x"
11935 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
11938 if ${LCMS2_PE_CFLAGS:+false} :
11940 if test ${MINGW_PKG_CONFIG+y}
11942 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2
2>/dev
/null
`
11945 if ${LCMS2_PE_LIBS:+false} :
11947 if test ${MINGW_PKG_CONFIG+y}
11949 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2
2>/dev
/null
`
11952 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
11953 ac_save_CPPFLAGS=$CPPFLAGS
11954 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
11955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
11956 printf %s "checking for MinGW lcms2.h... " >&6; }
11957 if test ${ac_cv_mingw_header_lcms2_h+y}
11959 printf %s "(cached) " >&6
11961 ac_wine_check_headers_saved_cc=$CC
11962 ac_wine_check_headers_saved_exeext=$ac_exeext
11963 eval CC=\$${wine_arch}_CC
11965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11966 /* end confdefs.h. */
11977 if ac_fn_c_try_compile "$LINENO"
11979 ac_cv_mingw_header_lcms2_h=yes
11981 ac_cv_mingw_header_lcms2_h=no
11983 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11984 CC=$ac_wine_check_headers_saved_cc
11985 ac_exeext=$ac_wine_check_headers_saved_exeext
11987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
11988 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
11989 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
11991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
11992 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
11993 if test ${ac_cv_mingw_lib_lcms2+y}
11995 printf %s "(cached) " >&6
11997 ac_wine_check_headers_saved_cc=$CC
11998 ac_wine_check_headers_saved_exeext=$ac_exeext
11999 ac_wine_check_headers_saved_libs=$LIBS
12000 eval CC=\$${wine_arch}_CC
12002 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12004 /* end confdefs.h. */
12006 /* Override any GCC internal prototype to avoid an error.
12007 Use char because int might match the return type of a GCC
12008 builtin and then its argument prototype would still apply. */
12009 char cmsOpenProfileFromFile ();
12013 return cmsOpenProfileFromFile ();
12018 if ac_fn_c_try_link "$LINENO"
12020 ac_cv_mingw_lib_lcms2=yes
12022 ac_cv_mingw_lib_lcms2=no
12024 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12025 conftest$ac_exeext conftest.$ac_ext
12026 CC=$ac_wine_check_headers_saved_cc
12027 ac_exeext=$ac_wine_check_headers_saved_exeext
12028 LIBS=$ac_wine_check_headers_saved_libs
12030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12031 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12032 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12036 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12039 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12041 CPPFLAGS=$ac_save_CPPFLAGS
12043 if test "x$LCMS2_PE_LIBS" = "x"
12045 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12048 if ${MPG123_PE_CFLAGS:+false} :
12050 if test ${MINGW_PKG_CONFIG+y}
12052 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123
2>/dev
/null
`
12055 if ${MPG123_PE_LIBS:+false} :
12057 if test ${MINGW_PKG_CONFIG+y}
12059 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123
2>/dev
/null
`
12062 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12063 ac_save_CPPFLAGS=$CPPFLAGS
12064 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12066 printf %s "checking for MinGW mpg123.h... " >&6; }
12067 if test ${ac_cv_mingw_header_mpg123_h+y}
12069 printf %s "(cached) " >&6
12071 ac_wine_check_headers_saved_cc=$CC
12072 ac_wine_check_headers_saved_exeext=$ac_exeext
12073 eval CC=\$${wine_arch}_CC
12075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12076 /* end confdefs.h. */
12078 #include <mpg123.h>
12087 if ac_fn_c_try_compile "$LINENO"
12089 ac_cv_mingw_header_mpg123_h=yes
12091 ac_cv_mingw_header_mpg123_h=no
12093 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12094 CC=$ac_wine_check_headers_saved_cc
12095 ac_exeext=$ac_wine_check_headers_saved_exeext
12097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12098 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12099 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12102 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12103 if test ${ac_cv_mingw_lib_mpg123+y}
12105 printf %s "(cached) " >&6
12107 ac_wine_check_headers_saved_cc=$CC
12108 ac_wine_check_headers_saved_exeext=$ac_exeext
12109 ac_wine_check_headers_saved_libs=$LIBS
12110 eval CC=\$${wine_arch}_CC
12112 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12114 /* end confdefs.h. */
12116 /* Override any GCC internal prototype to avoid an error.
12117 Use char because int might match the return type of a GCC
12118 builtin and then its argument prototype would still apply. */
12119 char mpg123_feed ();
12123 return mpg123_feed ();
12128 if ac_fn_c_try_link "$LINENO"
12130 ac_cv_mingw_lib_mpg123=yes
12132 ac_cv_mingw_lib_mpg123=no
12134 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12135 conftest$ac_exeext conftest.$ac_ext
12136 CC=$ac_wine_check_headers_saved_cc
12137 ac_exeext=$ac_wine_check_headers_saved_exeext
12138 LIBS=$ac_wine_check_headers_saved_libs
12140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12141 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12142 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12146 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12149 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12151 CPPFLAGS=$ac_save_CPPFLAGS
12153 if test "x$MPG123_PE_LIBS" = "x"
12155 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12158 if ${PNG_PE_CFLAGS:+false} :
12160 if test ${MINGW_PKG_CONFIG+y}
12162 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng
2>/dev
/null
`
12165 if ${PNG_PE_LIBS:+false} :
12167 if test ${MINGW_PKG_CONFIG+y}
12169 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng
2>/dev
/null
`
12173 ac_save_CPPFLAGS=$CPPFLAGS
12174 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12176 printf %s "checking for MinGW png.h... " >&6; }
12177 if test ${ac_cv_mingw_header_png_h+y}
12179 printf %s "(cached) " >&6
12181 ac_wine_check_headers_saved_cc=$CC
12182 ac_wine_check_headers_saved_exeext=$ac_exeext
12183 eval CC=\$${wine_arch}_CC
12185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12186 /* end confdefs.h. */
12197 if ac_fn_c_try_compile "$LINENO"
12199 ac_cv_mingw_header_png_h=yes
12201 ac_cv_mingw_header_png_h=no
12203 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12204 CC=$ac_wine_check_headers_saved_cc
12205 ac_exeext=$ac_wine_check_headers_saved_exeext
12207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12208 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12209 if test "x$ac_cv_mingw_header_png_h" = xyes
12211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12212 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12213 if test ${ac_cv_mingw_lib_png+y}
12215 printf %s "(cached) " >&6
12217 ac_wine_check_headers_saved_cc=$CC
12218 ac_wine_check_headers_saved_exeext=$ac_exeext
12219 ac_wine_check_headers_saved_libs=$LIBS
12220 eval CC=\$${wine_arch}_CC
12222 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12224 /* end confdefs.h. */
12226 /* Override any GCC internal prototype to avoid an error.
12227 Use char because int might match the return type of a GCC
12228 builtin and then its argument prototype would still apply. */
12229 char png_create_read_struct ();
12233 return png_create_read_struct ();
12238 if ac_fn_c_try_link "$LINENO"
12240 ac_cv_mingw_lib_png=yes
12242 ac_cv_mingw_lib_png=no
12244 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12245 conftest$ac_exeext conftest.$ac_ext
12246 CC=$ac_wine_check_headers_saved_cc
12247 ac_exeext=$ac_wine_check_headers_saved_exeext
12248 LIBS=$ac_wine_check_headers_saved_libs
12250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12251 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12252 if test "x$ac_cv_mingw_lib_png" = xyes
12256 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12259 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12261 CPPFLAGS=$ac_save_CPPFLAGS
12263 if test "x$PNG_PE_LIBS" = "x"
12265 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12268 if ${TIFF_PE_CFLAGS:+false} :
12270 if test ${MINGW_PKG_CONFIG+y}
12272 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4
2>/dev
/null
`
12275 if ${TIFF_PE_LIBS:+false} :
12277 if test ${MINGW_PKG_CONFIG+y}
12279 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4
2>/dev
/null
`
12283 ac_save_CPPFLAGS=$CPPFLAGS
12284 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12286 printf %s "checking for MinGW tiffio.h... " >&6; }
12287 if test ${ac_cv_mingw_header_tiffio_h+y}
12289 printf %s "(cached) " >&6
12291 ac_wine_check_headers_saved_cc=$CC
12292 ac_wine_check_headers_saved_exeext=$ac_exeext
12293 eval CC=\$${wine_arch}_CC
12295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12296 /* end confdefs.h. */
12298 #include <tiffio.h>
12307 if ac_fn_c_try_compile "$LINENO"
12309 ac_cv_mingw_header_tiffio_h=yes
12311 ac_cv_mingw_header_tiffio_h=no
12313 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12314 CC=$ac_wine_check_headers_saved_cc
12315 ac_exeext=$ac_wine_check_headers_saved_exeext
12317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12318 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12319 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12322 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12323 if test ${ac_cv_mingw_lib_tiff+y}
12325 printf %s "(cached) " >&6
12327 ac_wine_check_headers_saved_cc=$CC
12328 ac_wine_check_headers_saved_exeext=$ac_exeext
12329 ac_wine_check_headers_saved_libs=$LIBS
12330 eval CC=\$${wine_arch}_CC
12332 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12334 /* end confdefs.h. */
12336 /* Override any GCC internal prototype to avoid an error.
12337 Use char because int might match the return type of a GCC
12338 builtin and then its argument prototype would still apply. */
12339 char TIFFClientOpen ();
12343 return TIFFClientOpen ();
12348 if ac_fn_c_try_link "$LINENO"
12350 ac_cv_mingw_lib_tiff=yes
12352 ac_cv_mingw_lib_tiff=no
12354 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12355 conftest$ac_exeext conftest.$ac_ext
12356 CC=$ac_wine_check_headers_saved_cc
12357 ac_exeext=$ac_wine_check_headers_saved_exeext
12358 LIBS=$ac_wine_check_headers_saved_libs
12360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12361 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12362 if test "x$ac_cv_mingw_lib_tiff" = xyes
12366 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12369 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12371 CPPFLAGS=$ac_save_CPPFLAGS
12373 if test "x$TIFF_PE_LIBS" = "x"
12375 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12378 if ${XML2_PE_CFLAGS:+false} :
12380 if test ${MINGW_PKG_CONFIG+y}
12382 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0
2>/dev
/null
`
12385 if ${XML2_PE_LIBS:+false} :
12387 if test ${MINGW_PKG_CONFIG+y}
12389 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0
2>/dev
/null
`
12392 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12393 ac_save_CPPFLAGS=$CPPFLAGS
12394 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12396 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12397 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12399 printf %s "(cached) " >&6
12401 ac_wine_check_headers_saved_cc=$CC
12402 ac_wine_check_headers_saved_exeext=$ac_exeext
12403 eval CC=\$${wine_arch}_CC
12405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12406 /* end confdefs.h. */
12408 #include <libxml/parser.h>
12417 if ac_fn_c_try_compile "$LINENO"
12419 ac_cv_mingw_header_libxml_parser_h=yes
12421 ac_cv_mingw_header_libxml_parser_h=no
12423 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12424 CC=$ac_wine_check_headers_saved_cc
12425 ac_exeext=$ac_wine_check_headers_saved_exeext
12427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12428 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12429 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12434 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12435 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12437 printf %s "(cached) " >&6
12439 ac_wine_check_headers_saved_cc=$CC
12440 ac_wine_check_headers_saved_exeext=$ac_exeext
12441 eval CC=\$${wine_arch}_CC
12443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12444 /* end confdefs.h. */
12446 #include <libxml/xmlsave.h>
12455 if ac_fn_c_try_compile "$LINENO"
12457 ac_cv_mingw_header_libxml_xmlsave_h=yes
12459 ac_cv_mingw_header_libxml_xmlsave_h=no
12461 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12462 CC=$ac_wine_check_headers_saved_cc
12463 ac_exeext=$ac_wine_check_headers_saved_exeext
12465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12466 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12467 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12472 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12473 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12475 printf %s "(cached) " >&6
12477 ac_wine_check_headers_saved_cc=$CC
12478 ac_wine_check_headers_saved_exeext=$ac_exeext
12479 eval CC=\$${wine_arch}_CC
12481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12482 /* end confdefs.h. */
12484 #include <libxml/SAX2.h>
12493 if ac_fn_c_try_compile "$LINENO"
12495 ac_cv_mingw_header_libxml_SAX2_h=yes
12497 ac_cv_mingw_header_libxml_SAX2_h=no
12499 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12500 CC=$ac_wine_check_headers_saved_cc
12501 ac_exeext=$ac_wine_check_headers_saved_exeext
12503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12504 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12505 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12509 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"
12511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12512 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12513 if test ${ac_cv_mingw_lib_xml2+y}
12515 printf %s "(cached) " >&6
12517 ac_wine_check_headers_saved_cc=$CC
12518 ac_wine_check_headers_saved_exeext=$ac_exeext
12519 ac_wine_check_headers_saved_libs=$LIBS
12520 eval CC=\$${wine_arch}_CC
12522 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12524 /* end confdefs.h. */
12526 /* Override any GCC internal prototype to avoid an error.
12527 Use char because int might match the return type of a GCC
12528 builtin and then its argument prototype would still apply. */
12529 char xmlFirstElementChild ();
12533 return xmlFirstElementChild ();
12538 if ac_fn_c_try_link "$LINENO"
12540 ac_cv_mingw_lib_xml2=yes
12542 ac_cv_mingw_lib_xml2=no
12544 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12545 conftest$ac_exeext conftest.$ac_ext
12546 CC=$ac_wine_check_headers_saved_cc
12547 ac_exeext=$ac_wine_check_headers_saved_exeext
12548 LIBS=$ac_wine_check_headers_saved_libs
12550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12551 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12552 if test "x$ac_cv_mingw_lib_xml2" = xyes
12556 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12562 CPPFLAGS=$ac_save_CPPFLAGS
12564 if test "x$XML2_PE_LIBS" = "x"
12566 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12569 if ${XSLT_PE_CFLAGS:+false} :
12571 if test ${MINGW_PKG_CONFIG+y}
12573 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt
2>/dev
/null
`
12576 if ${XSLT_PE_LIBS:+false} :
12578 if test ${MINGW_PKG_CONFIG+y}
12580 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt
2>/dev
/null
`
12583 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12584 ac_save_CPPFLAGS=$CPPFLAGS
12585 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12587 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12588 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12590 printf %s "(cached) " >&6
12592 ac_wine_check_headers_saved_cc=$CC
12593 ac_wine_check_headers_saved_exeext=$ac_exeext
12594 eval CC=\$${wine_arch}_CC
12596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12597 /* end confdefs.h. */
12599 #include <libxslt/pattern.h>
12608 if ac_fn_c_try_compile "$LINENO"
12610 ac_cv_mingw_header_libxslt_pattern_h=yes
12612 ac_cv_mingw_header_libxslt_pattern_h=no
12614 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12615 CC=$ac_wine_check_headers_saved_cc
12616 ac_exeext=$ac_wine_check_headers_saved_exeext
12618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12619 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12620 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12625 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12626 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12628 printf %s "(cached) " >&6
12630 ac_wine_check_headers_saved_cc=$CC
12631 ac_wine_check_headers_saved_exeext=$ac_exeext
12632 eval CC=\$${wine_arch}_CC
12634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12635 /* end confdefs.h. */
12637 #include <libxslt/transform.h>
12646 if ac_fn_c_try_compile "$LINENO"
12648 ac_cv_mingw_header_libxslt_transform_h=yes
12650 ac_cv_mingw_header_libxslt_transform_h=no
12652 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12653 CC=$ac_wine_check_headers_saved_cc
12654 ac_exeext=$ac_wine_check_headers_saved_exeext
12656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12657 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12658 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12662 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12665 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12666 if test ${ac_cv_mingw_lib_xslt+y}
12668 printf %s "(cached) " >&6
12670 ac_wine_check_headers_saved_cc=$CC
12671 ac_wine_check_headers_saved_exeext=$ac_exeext
12672 ac_wine_check_headers_saved_libs=$LIBS
12673 eval CC=\$${wine_arch}_CC
12675 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12677 /* end confdefs.h. */
12679 /* Override any GCC internal prototype to avoid an error.
12680 Use char because int might match the return type of a GCC
12681 builtin and then its argument prototype would still apply. */
12682 char xsltCompilePattern ();
12686 return xsltCompilePattern ();
12691 if ac_fn_c_try_link "$LINENO"
12693 ac_cv_mingw_lib_xslt=yes
12695 ac_cv_mingw_lib_xslt=no
12697 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12698 conftest$ac_exeext conftest.$ac_ext
12699 CC=$ac_wine_check_headers_saved_cc
12700 ac_exeext=$ac_wine_check_headers_saved_exeext
12701 LIBS=$ac_wine_check_headers_saved_libs
12703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12704 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12705 if test "x$ac_cv_mingw_lib_xslt" = xyes
12709 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
12715 CPPFLAGS=$ac_save_CPPFLAGS
12717 if test "x$XSLT_PE_LIBS" = "x"
12719 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
12722 if ${VKD3D_PE_CFLAGS:+false} :
12724 if test ${MINGW_PKG_CONFIG+y}
12726 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader
2>/dev
/null
`
12729 if ${VKD3D_PE_LIBS:+false} :
12731 if test ${MINGW_PKG_CONFIG+y}
12733 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader
2>/dev
/null
`
12736 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
12737 ac_save_CPPFLAGS=$CPPFLAGS
12738 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
12739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
12740 printf %s "checking for MinGW vkd3d.h... " >&6; }
12741 if test ${ac_cv_mingw_header_vkd3d_h+y}
12743 printf %s "(cached) " >&6
12745 ac_wine_check_headers_saved_cc=$CC
12746 ac_wine_check_headers_saved_exeext=$ac_exeext
12747 eval CC=\$${wine_arch}_CC
12749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12750 /* end confdefs.h. */
12761 if ac_fn_c_try_compile "$LINENO"
12763 ac_cv_mingw_header_vkd3d_h=yes
12765 ac_cv_mingw_header_vkd3d_h=no
12767 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12768 CC=$ac_wine_check_headers_saved_cc
12769 ac_exeext=$ac_wine_check_headers_saved_exeext
12771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
12772 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
12773 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
12777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
12778 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
12779 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
12781 printf %s "(cached) " >&6
12783 ac_wine_check_headers_saved_cc=$CC
12784 ac_wine_check_headers_saved_exeext=$ac_exeext
12785 eval CC=\$${wine_arch}_CC
12787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12788 /* end confdefs.h. */
12790 #include <vkd3d_shader.h>
12799 if ac_fn_c_try_compile "$LINENO"
12801 ac_cv_mingw_header_vkd3d_shader_h=yes
12803 ac_cv_mingw_header_vkd3d_shader_h=no
12805 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12806 CC=$ac_wine_check_headers_saved_cc
12807 ac_exeext=$ac_wine_check_headers_saved_exeext
12809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
12810 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
12811 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
12815 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
12817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
12818 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
12819 if test ${ac_cv_mingw_lib_vkd3d+y}
12821 printf %s "(cached) " >&6
12823 ac_wine_check_headers_saved_cc=$CC
12824 ac_wine_check_headers_saved_exeext=$ac_exeext
12825 ac_wine_check_headers_saved_libs=$LIBS
12826 eval CC=\$${wine_arch}_CC
12828 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
12829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12830 /* end confdefs.h. */
12832 /* Override any GCC internal prototype to avoid an error.
12833 Use char because int might match the return type of a GCC
12834 builtin and then its argument prototype would still apply. */
12835 char vkd3d_set_log_callback ();
12839 return vkd3d_set_log_callback ();
12844 if ac_fn_c_try_link "$LINENO"
12846 ac_cv_mingw_lib_vkd3d=yes
12848 ac_cv_mingw_lib_vkd3d=no
12850 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12851 conftest$ac_exeext conftest.$ac_ext
12852 CC=$ac_wine_check_headers_saved_cc
12853 ac_exeext=$ac_wine_check_headers_saved_exeext
12854 LIBS=$ac_wine_check_headers_saved_libs
12856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
12857 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
12858 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
12864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_serialize_dxbc in MinGW -lvkd3d-shader" >&5
12865 printf %s "checking for vkd3d_shader_serialize_dxbc in MinGW -lvkd3d-shader... " >&6; }
12866 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
12868 printf %s "(cached) " >&6
12870 ac_wine_check_headers_saved_cc=$CC
12871 ac_wine_check_headers_saved_exeext=$ac_exeext
12872 ac_wine_check_headers_saved_libs=$LIBS
12873 eval CC=\$${wine_arch}_CC
12875 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
12876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12877 /* end confdefs.h. */
12879 /* Override any GCC internal prototype to avoid an error.
12880 Use char because int might match the return type of a GCC
12881 builtin and then its argument prototype would still apply. */
12882 char vkd3d_shader_serialize_dxbc ();
12886 return vkd3d_shader_serialize_dxbc ();
12891 if ac_fn_c_try_link "$LINENO"
12893 ac_cv_mingw_lib_vkd3d_shader=yes
12895 ac_cv_mingw_lib_vkd3d_shader=no
12897 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12898 conftest$ac_exeext conftest.$ac_ext
12899 CC=$ac_wine_check_headers_saved_cc
12900 ac_exeext=$ac_wine_check_headers_saved_exeext
12901 LIBS=$ac_wine_check_headers_saved_libs
12903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
12904 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
12905 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
12911 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
12920 CPPFLAGS=$ac_save_CPPFLAGS
12922 if test "x$VKD3D_PE_LIBS" = "x"
12924 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
12927 if ${ZLIB_PE_CFLAGS:+false} :
12929 if test ${MINGW_PKG_CONFIG+y}
12931 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib
2>/dev
/null
`
12934 if ${ZLIB_PE_LIBS:+false} :
12936 if test ${MINGW_PKG_CONFIG+y}
12938 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib
2>/dev
/null
`
12941 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
12942 ac_save_CPPFLAGS=$CPPFLAGS
12943 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
12944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
12945 printf %s "checking for MinGW zlib.h... " >&6; }
12946 if test ${ac_cv_mingw_header_zlib_h+y}
12948 printf %s "(cached) " >&6
12950 ac_wine_check_headers_saved_cc=$CC
12951 ac_wine_check_headers_saved_exeext=$ac_exeext
12952 eval CC=\$${wine_arch}_CC
12954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12955 /* end confdefs.h. */
12966 if ac_fn_c_try_compile "$LINENO"
12968 ac_cv_mingw_header_zlib_h=yes
12970 ac_cv_mingw_header_zlib_h=no
12972 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12973 CC=$ac_wine_check_headers_saved_cc
12974 ac_exeext=$ac_wine_check_headers_saved_exeext
12976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
12977 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
12978 if test "x$ac_cv_mingw_header_zlib_h" = xyes
12980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
12981 printf %s "checking for inflate in MinGW -lz... " >&6; }
12982 if test ${ac_cv_mingw_lib_z+y}
12984 printf %s "(cached) " >&6
12986 ac_wine_check_headers_saved_cc=$CC
12987 ac_wine_check_headers_saved_exeext=$ac_exeext
12988 ac_wine_check_headers_saved_libs=$LIBS
12989 eval CC=\$${wine_arch}_CC
12991 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
12992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12993 /* end confdefs.h. */
12995 /* Override any GCC internal prototype to avoid an error.
12996 Use char because int might match the return type of a GCC
12997 builtin and then its argument prototype would still apply. */
13007 if ac_fn_c_try_link "$LINENO"
13009 ac_cv_mingw_lib_z=yes
13011 ac_cv_mingw_lib_z=no
13013 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13014 conftest$ac_exeext conftest.$ac_ext
13015 CC=$ac_wine_check_headers_saved_cc
13016 ac_exeext=$ac_wine_check_headers_saved_exeext
13017 LIBS=$ac_wine_check_headers_saved_libs
13019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13020 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13021 if test "x$ac_cv_mingw_lib_z" = xyes
13025 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13028 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13030 CPPFLAGS=$ac_save_CPPFLAGS
13032 if test "x$ZLIB_PE_LIBS" = "x"
13034 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13038 if ${FAUDIO_PE_LIBS:+false} :
13040 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13041 if ${FAUDIO_PE_CFLAGS:+false} :
13043 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13050 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13051 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13053 if ${GSM_PE_LIBS:+false} :
13056 if ${GSM_PE_CFLAGS:+false} :
13058 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13065 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13066 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13068 if ${JPEG_PE_LIBS:+false} :
13071 if ${JPEG_PE_CFLAGS:+false} :
13073 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13080 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13081 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13083 if ${JXR_PE_LIBS:+false} :
13086 if ${JXR_PE_CFLAGS:+false} :
13088 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13095 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13096 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13098 if ${LCMS2_PE_LIBS:+false} :
13100 LCMS2_PE_LIBS=lcms2
13101 if ${LCMS2_PE_CFLAGS:+false} :
13103 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13110 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13111 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13113 if ${LDAP_PE_LIBS:+false} :
13116 if ${LDAP_PE_CFLAGS:+false} :
13118 LDAP_PE_CFLAGS="-I\$(top_srcdir)/libs/ldap/include"
13125 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap cflags: $LDAP_PE_CFLAGS" >&5
13126 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap libs: $LDAP_PE_LIBS" >&5
13128 if ${MPG123_PE_LIBS:+false} :
13130 MPG123_PE_LIBS=mpg123
13131 if ${MPG123_PE_CFLAGS:+false} :
13133 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13140 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13141 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13143 if ${MUSL_PE_LIBS:+false} :
13146 if ${MUSL_PE_CFLAGS:+false} :
13155 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl cflags: $MUSL_PE_CFLAGS" >&5
13156 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl libs: $MUSL_PE_LIBS" >&5
13158 if ${PNG_PE_LIBS:+false} :
13160 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13161 if ${PNG_PE_CFLAGS:+false} :
13163 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13170 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13171 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13173 if ${TIFF_PE_LIBS:+false} :
13175 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13176 if ${TIFF_PE_CFLAGS:+false} :
13178 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13185 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13186 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13188 if ${VKD3D_PE_LIBS:+false} :
13190 VKD3D_PE_LIBS=vkd3d
13191 if ${VKD3D_PE_CFLAGS:+false} :
13193 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13200 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13201 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13203 if ${XML2_PE_LIBS:+false} :
13206 if ${XML2_PE_CFLAGS:+false} :
13208 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13215 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13216 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13218 if ${XSLT_PE_LIBS:+false} :
13221 if ${XSLT_PE_CFLAGS:+false} :
13223 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13230 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13231 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13233 if ${ZLIB_PE_LIBS:+false} :
13236 if ${ZLIB_PE_CFLAGS:+false} :
13238 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13245 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13246 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13248 if ${ZYDIS_PE_LIBS:+false} :
13250 ZYDIS_PE_LIBS=zydis
13251 if ${ZYDIS_PE_CFLAGS:+false} :
13253 ZYDIS_PE_CFLAGS="-I\$(top_srcdir)/libs/zydis/include"
13260 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis cflags: $ZYDIS_PE_CFLAGS" >&5
13261 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis libs: $ZYDIS_PE_LIBS" >&5
13265 if test "$ac_cv_header_pthread_h" = "yes"
13267 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13268 if test "x$ac_cv_func_pthread_create" = xyes
13272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13273 printf %s "checking for pthread_create in -lpthread... " >&6; }
13274 if test ${ac_cv_lib_pthread_pthread_create+y}
13276 printf %s "(cached) " >&6
13278 ac_check_lib_save_LIBS=$LIBS
13279 LIBS="-lpthread $LIBS"
13280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13281 /* end confdefs.h. */
13283 /* Override any GCC internal prototype to avoid an error.
13284 Use char because int might match the return type of a GCC
13285 builtin and then its argument prototype would still apply. */
13286 char pthread_create ();
13290 return pthread_create ();
13295 if ac_fn_c_try_link "$LINENO"
13297 ac_cv_lib_pthread_pthread_create=yes
13299 ac_cv_lib_pthread_pthread_create=no
13301 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13302 conftest$ac_exeext conftest.$ac_ext
13303 LIBS=$ac_check_lib_save_LIBS
13305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13306 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13307 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13309 PTHREAD_LIBS="-lpthread"
13316 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13318 case "x$with_pthread" in
13320 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13321 Wine cannot support threads without libpthread.
13322 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13329 ac_cpp='$CPP $CPPFLAGS'
13330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13334 printf %s "checking how to run the C preprocessor... " >&6; }
13335 # On Suns, sometimes $CPP names a directory.
13336 if test -n "$CPP" && test -d "$CPP"; then
13339 if test -z "$CPP"; then
13340 if test ${ac_cv_prog_CPP+y}
13342 printf %s "(cached) " >&6
13344 # Double quotes because $CC needs to be expanded
13345 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13347 ac_preproc_ok=false
13348 for ac_c_preproc_warn_flag in '' yes
13350 # Use a header file that comes with gcc, so configuring glibc
13351 # with a fresh cross-compiler works.
13352 # On the NeXT, cc -E runs the code through the compiler's parser,
13353 # not just through cpp. "Syntax error" is here to catch this case.
13354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13355 /* end confdefs.h. */
13356 #include <limits.h>
13359 if ac_fn_c_try_cpp "$LINENO"
13363 # Broken: fails on valid input.
13366 rm -f conftest.err conftest.i conftest.$ac_ext
13368 # OK, works on sane cases. Now check whether nonexistent headers
13369 # can be detected and how.
13370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13371 /* end confdefs.h. */
13372 #include <ac_nonexistent.h>
13374 if ac_fn_c_try_cpp "$LINENO"
13376 # Broken: success on invalid input.
13379 # Passes both tests.
13383 rm -f conftest.err conftest.i conftest.$ac_ext
13386 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13387 rm -f conftest.i conftest.err conftest.
$ac_ext
13394 ac_cv_prog_CPP
=$CPP
13397 CPP
=$ac_cv_prog_CPP
13399 ac_cv_prog_CPP
=$CPP
13401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13402 printf "%s\n" "$CPP" >&6; }
13403 ac_preproc_ok
=false
13404 for ac_c_preproc_warn_flag
in '' yes
13406 # Use a header file that comes with gcc, so configuring glibc
13407 # with a fresh cross-compiler works.
13408 # On the NeXT, cc -E runs the code through the compiler's parser,
13409 # not just through cpp. "Syntax error" is here to catch this case.
13410 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13411 /* end confdefs.h. */
13412 #include <limits.h>
13415 if ac_fn_c_try_cpp
"$LINENO"
13419 # Broken: fails on valid input.
13422 rm -f conftest.err conftest.i conftest.
$ac_ext
13424 # OK, works on sane cases. Now check whether nonexistent headers
13425 # can be detected and how.
13426 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13427 /* end confdefs.h. */
13428 #include <ac_nonexistent.h>
13430 if ac_fn_c_try_cpp
"$LINENO"
13432 # Broken: success on invalid input.
13435 # Passes both tests.
13439 rm -f conftest.err conftest.i conftest.
$ac_ext
13442 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13443 rm -f conftest.i conftest.err conftest.
$ac_ext
13448 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13449 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13450 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
13451 See \`config.log' for more details" "$LINENO" 5; }
13455 ac_cpp
='$CPP $CPPFLAGS'
13456 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13457 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13458 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13462 printf %s
"checking for X... " >&6; }
13465 # Check whether --with-x was given.
13466 if test ${with_x+y}
13471 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13472 if test "x$with_x" = xno
; then
13473 # The user explicitly disabled X.
13476 case $x_includes,$x_libraries in #(
13477 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
13478 *,NONE | NONE
,*) if test ${ac_cv_have_x+y}
13480 printf %s
"(cached) " >&6
13482 # One or both of the vars are not set, and there is no cached value.
13485 # Do we need to do anything special at all?
13488 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13489 /* end confdefs.h. */
13490 #include <X11/Xlib.h>
13499 if ac_fn_c_try_link
"$LINENO"
13501 # We can compile and link X programs with no special options.
13505 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13506 conftest
$ac_exeext conftest.
$ac_ext
13507 LIBS
="$ac_save_LIBS"
13508 # If that didn't work, only try xmkmf and file system searches
13509 # for native compilation.
13510 if test x
"$ac_x_includes" = xno
&& test "$cross_compiling" = no
13512 rm -f -r conftest.dir
13513 if mkdir conftest.dir
; then
13515 cat >Imakefile
<<'_ACEOF'
13517 @echo incroot='${INCROOT}'
13519 @echo usrlibdir='${USRLIBDIR}'
13521 @echo libdir='${LIBDIR}'
13523 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
13524 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13525 for ac_var
in incroot usrlibdir libdir
; do
13526 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13528 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13529 for ac_extension
in a so sl dylib la dll
; do
13530 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13531 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13532 ac_im_usrlibdir
=$ac_im_libdir; break
13535 # Screen out bogus values from the imake configuration. They are
13536 # bogus both because they are the default anyway, and because
13537 # using them would break gcc on systems where it needs fixed includes.
13538 case $ac_im_incroot in
13539 /usr
/include
) ac_x_includes
= ;;
13540 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
13542 case $ac_im_usrlibdir in
13543 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
13544 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
13548 rm -f -r conftest.dir
13551 # Standard set of common directories for X headers.
13552 # Check X11 before X11Rn because it is often a symlink to the current release.
13566 /usr/local/X11/include
13567 /usr/local/X11R7/include
13568 /usr/local/X11R6/include
13569 /usr/local/X11R5/include
13570 /usr/local/X11R4/include
13572 /usr/local/include/X11
13573 /usr/local/include/X11R7
13574 /usr/local/include/X11R6
13575 /usr/local/include/X11R5
13576 /usr/local/include/X11R4
13582 /usr/XFree86/include/X11
13586 /usr/unsupported/include
13587 /usr/athena/include
13588 /usr/local/x11r5/include
13589 /usr/lpp/Xamples/include
13591 /usr/openwin/include
13592 /usr/openwin/share/include'
13594 if test "$ac_x_includes" = no
; then
13595 # Guess where to find include files, by looking for Xlib.h.
13596 # First, try using that file with no special directory specified.
13597 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13598 /* end confdefs.h. */
13599 #include <X11/Xlib.h>
13601 if ac_fn_c_try_cpp
"$LINENO"
13603 # We can compile using X headers with no special include directory.
13606 for ac_dir
in $ac_x_header_dirs; do
13607 if test -r "$ac_dir/X11/Xlib.h"; then
13608 ac_x_includes
=$ac_dir
13613 rm -f conftest.err conftest.i conftest.
$ac_ext
13614 fi # $ac_x_includes = no
13616 if test "$ac_x_libraries" = no
; then
13617 # Check for the libraries.
13618 # See if we find them without any special options.
13619 # Don't add to $LIBS permanently.
13622 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13623 /* end confdefs.h. */
13624 #include <X11/Xlib.h>
13633 if ac_fn_c_try_link
"$LINENO"
13636 # We can link X programs with no special library path.
13640 for ac_dir
in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13642 # Don't even attempt the hair of trying to link an X program!
13643 for ac_extension
in a so sl dylib la dll
; do
13644 if test -r "$ac_dir/libX11.$ac_extension"; then
13645 ac_x_libraries
=$ac_dir
13651 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13652 conftest
$ac_exeext conftest.
$ac_ext
13653 fi # $ac_x_libraries = no
13656 # Record the results.
13657 case $ac_x_includes,$ac_x_libraries in #(
13658 no
,* |
*,no |
*\'*) :
13659 # Didn't find X, or a directory has "'" in its name.
13660 ac_cv_have_x
="have_x=no" ;; #(
13662 # Record where we found X for the cache.
13663 ac_cv_have_x
="have_x=yes\
13664 ac_x_includes='$ac_x_includes'\
13665 ac_x_libraries='$ac_x_libraries'" ;;
13671 eval "$ac_cv_have_x"
13674 if test "$have_x" != yes; then
13675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13676 printf "%s\n" "$have_x" >&6; }
13679 # If each of the values was on the command line, it overrides each guess.
13680 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
13681 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
13682 # Update the cache value to reflect the command line values.
13683 ac_cv_have_x
="have_x=yes\
13684 ac_x_includes='$x_includes'\
13685 ac_x_libraries='$x_libraries'"
13686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13687 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13690 if test "$no_x" = yes; then
13691 # Not all programs may use this symbol, but it does not hurt to define it.
13693 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13695 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
13697 if test -n "$x_includes"; then
13698 X_CFLAGS
="$X_CFLAGS -I$x_includes"
13701 # It would also be nice to do this for all -L options, not just this one.
13702 if test -n "$x_libraries"; then
13703 X_LIBS
="$X_LIBS -L$x_libraries"
13704 # For Solaris; some versions of Sun CC require a space after -R and
13705 # others require no space. Words are not sufficient . . . .
13706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13707 printf %s
"checking whether -R must be followed by a space... " >&6; }
13708 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
13709 ac_xsave_c_werror_flag
=$ac_c_werror_flag
13710 ac_c_werror_flag
=yes
13711 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13712 /* end confdefs.h. */
13722 if ac_fn_c_try_link
"$LINENO"
13724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13725 printf "%s\n" "no" >&6; }
13726 X_LIBS
="$X_LIBS -R$x_libraries"
13728 LIBS
="$ac_xsave_LIBS -R $x_libraries"
13729 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13730 /* end confdefs.h. */
13740 if ac_fn_c_try_link
"$LINENO"
13742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13743 printf "%s\n" "yes" >&6; }
13744 X_LIBS
="$X_LIBS -R $x_libraries"
13746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13747 printf "%s\n" "neither works" >&6; }
13749 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13750 conftest
$ac_exeext conftest.
$ac_ext
13752 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13753 conftest
$ac_exeext conftest.
$ac_ext
13754 ac_c_werror_flag
=$ac_xsave_c_werror_flag
13755 LIBS
=$ac_xsave_LIBS
13758 # Check for system-dependent libraries X programs must link with.
13759 # Do this before checking for the system-independent R6 libraries
13760 # (-lICE), since we may need -lsocket or whatever for X linking.
13762 if test "$ISC" = yes; then
13763 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
13765 # Martyn Johnson says this is needed for Ultrix, if the X
13766 # libraries were built with DECnet support. And Karl Berry says
13767 # the Alpha needs dnet_stub (dnet does not exist).
13768 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
13769 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13770 /* end confdefs.h. */
13772 /* Override any GCC internal prototype to avoid an error.
13773 Use char because int might match the return type of a GCC
13774 builtin and then its argument prototype would still apply. */
13775 char XOpenDisplay ();
13779 return XOpenDisplay ();
13784 if ac_fn_c_try_link
"$LINENO"
13788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13789 printf %s
"checking for dnet_ntoa in -ldnet... " >&6; }
13790 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13792 printf %s
"(cached) " >&6
13794 ac_check_lib_save_LIBS
=$LIBS
13795 LIBS
="-ldnet $LIBS"
13796 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13797 /* end confdefs.h. */
13799 /* Override any GCC internal prototype to avoid an error.
13800 Use char because int might match the return type of a GCC
13801 builtin and then its argument prototype would still apply. */
13806 return dnet_ntoa ();
13811 if ac_fn_c_try_link
"$LINENO"
13813 ac_cv_lib_dnet_dnet_ntoa
=yes
13815 ac_cv_lib_dnet_dnet_ntoa
=no
13817 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13818 conftest
$ac_exeext conftest.
$ac_ext
13819 LIBS
=$ac_check_lib_save_LIBS
13821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13822 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13823 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13825 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
13828 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
13829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13830 printf %s
"checking for dnet_ntoa in -ldnet_stub... " >&6; }
13831 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
13833 printf %s
"(cached) " >&6
13835 ac_check_lib_save_LIBS
=$LIBS
13836 LIBS
="-ldnet_stub $LIBS"
13837 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13838 /* end confdefs.h. */
13840 /* Override any GCC internal prototype to avoid an error.
13841 Use char because int might match the return type of a GCC
13842 builtin and then its argument prototype would still apply. */
13847 return dnet_ntoa ();
13852 if ac_fn_c_try_link
"$LINENO"
13854 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
13856 ac_cv_lib_dnet_stub_dnet_ntoa
=no
13858 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13859 conftest
$ac_exeext conftest.
$ac_ext
13860 LIBS
=$ac_check_lib_save_LIBS
13862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
13863 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
13864 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
13866 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
13871 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13872 conftest
$ac_exeext conftest.
$ac_ext
13873 LIBS
="$ac_xsave_LIBS"
13875 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13876 # to get the SysV transport functions.
13877 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
13879 # The nsl library prevents programs from opening the X display
13880 # on Irix 5.2, according to T.E. Dickey.
13881 # The functions gethostbyname, getservbyname, and inet_addr are
13882 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
13883 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
13884 if test "x$ac_cv_func_gethostbyname" = xyes
13889 if test $ac_cv_func_gethostbyname = no
; then
13890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
13891 printf %s
"checking for gethostbyname in -lnsl... " >&6; }
13892 if test ${ac_cv_lib_nsl_gethostbyname+y}
13894 printf %s
"(cached) " >&6
13896 ac_check_lib_save_LIBS
=$LIBS
13898 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13899 /* end confdefs.h. */
13901 /* Override any GCC internal prototype to avoid an error.
13902 Use char because int might match the return type of a GCC
13903 builtin and then its argument prototype would still apply. */
13904 char gethostbyname ();
13908 return gethostbyname ();
13913 if ac_fn_c_try_link
"$LINENO"
13915 ac_cv_lib_nsl_gethostbyname
=yes
13917 ac_cv_lib_nsl_gethostbyname
=no
13919 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13920 conftest
$ac_exeext conftest.
$ac_ext
13921 LIBS
=$ac_check_lib_save_LIBS
13923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
13924 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
13925 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
13927 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
13930 if test $ac_cv_lib_nsl_gethostbyname = no
; then
13931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
13932 printf %s
"checking for gethostbyname in -lbsd... " >&6; }
13933 if test ${ac_cv_lib_bsd_gethostbyname+y}
13935 printf %s
"(cached) " >&6
13937 ac_check_lib_save_LIBS
=$LIBS
13939 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13940 /* end confdefs.h. */
13942 /* Override any GCC internal prototype to avoid an error.
13943 Use char because int might match the return type of a GCC
13944 builtin and then its argument prototype would still apply. */
13945 char gethostbyname ();
13949 return gethostbyname ();
13954 if ac_fn_c_try_link
"$LINENO"
13956 ac_cv_lib_bsd_gethostbyname
=yes
13958 ac_cv_lib_bsd_gethostbyname
=no
13960 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13961 conftest
$ac_exeext conftest.
$ac_ext
13962 LIBS
=$ac_check_lib_save_LIBS
13964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
13965 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
13966 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
13968 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
13974 # lieder@skyler.mavd.honeywell.com says without -lsocket,
13975 # socket/setsockopt and other routines are undefined under SCO ODT
13976 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
13977 # on later versions), says Simon Leinen: it contains gethostby*
13978 # variants that don't use the name server (or something). -lsocket
13979 # must be given before -lnsl if both are needed. We assume that
13980 # if connect needs -lnsl, so does gethostbyname.
13981 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
13982 if test "x$ac_cv_func_connect" = xyes
13987 if test $ac_cv_func_connect = no
; then
13988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
13989 printf %s
"checking for connect in -lsocket... " >&6; }
13990 if test ${ac_cv_lib_socket_connect+y}
13992 printf %s
"(cached) " >&6
13994 ac_check_lib_save_LIBS
=$LIBS
13995 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
13996 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13997 /* end confdefs.h. */
13999 /* Override any GCC internal prototype to avoid an error.
14000 Use char because int might match the return type of a GCC
14001 builtin and then its argument prototype would still apply. */
14011 if ac_fn_c_try_link
"$LINENO"
14013 ac_cv_lib_socket_connect
=yes
14015 ac_cv_lib_socket_connect
=no
14017 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14018 conftest
$ac_exeext conftest.
$ac_ext
14019 LIBS
=$ac_check_lib_save_LIBS
14021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14022 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14023 if test "x$ac_cv_lib_socket_connect" = xyes
14025 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
14030 # Guillermo Gomez says -lposix is necessary on A/UX.
14031 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
14032 if test "x$ac_cv_func_remove" = xyes
14037 if test $ac_cv_func_remove = no
; then
14038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14039 printf %s
"checking for remove in -lposix... " >&6; }
14040 if test ${ac_cv_lib_posix_remove+y}
14042 printf %s
"(cached) " >&6
14044 ac_check_lib_save_LIBS
=$LIBS
14045 LIBS
="-lposix $LIBS"
14046 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14047 /* end confdefs.h. */
14049 /* Override any GCC internal prototype to avoid an error.
14050 Use char because int might match the return type of a GCC
14051 builtin and then its argument prototype would still apply. */
14061 if ac_fn_c_try_link
"$LINENO"
14063 ac_cv_lib_posix_remove
=yes
14065 ac_cv_lib_posix_remove
=no
14067 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14068 conftest
$ac_exeext conftest.
$ac_ext
14069 LIBS
=$ac_check_lib_save_LIBS
14071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14072 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14073 if test "x$ac_cv_lib_posix_remove" = xyes
14075 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
14080 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14081 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
14082 if test "x$ac_cv_func_shmat" = xyes
14087 if test $ac_cv_func_shmat = no
; then
14088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14089 printf %s
"checking for shmat in -lipc... " >&6; }
14090 if test ${ac_cv_lib_ipc_shmat+y}
14092 printf %s
"(cached) " >&6
14094 ac_check_lib_save_LIBS
=$LIBS
14096 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14097 /* end confdefs.h. */
14099 /* Override any GCC internal prototype to avoid an error.
14100 Use char because int might match the return type of a GCC
14101 builtin and then its argument prototype would still apply. */
14111 if ac_fn_c_try_link
"$LINENO"
14113 ac_cv_lib_ipc_shmat
=yes
14115 ac_cv_lib_ipc_shmat
=no
14117 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14118 conftest
$ac_exeext conftest.
$ac_ext
14119 LIBS
=$ac_check_lib_save_LIBS
14121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14122 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14123 if test "x$ac_cv_lib_ipc_shmat" = xyes
14125 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
14131 # Check for libraries that X11R6 Xt/Xaw programs need.
14132 ac_save_LDFLAGS
=$LDFLAGS
14133 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
14134 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14135 # check for ICE first), but we must link in the order -lSM -lICE or
14136 # we get undefined symbols. So assume we have SM if we have ICE.
14137 # These have to be linked with before -lX11, unlike the other
14138 # libraries we check for below, so use a different variable.
14139 # John Interrante, Karl Berry
14140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14141 printf %s
"checking for IceConnectionNumber in -lICE... " >&6; }
14142 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14144 printf %s
"(cached) " >&6
14146 ac_check_lib_save_LIBS
=$LIBS
14147 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
14148 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14149 /* end confdefs.h. */
14151 /* Override any GCC internal prototype to avoid an error.
14152 Use char because int might match the return type of a GCC
14153 builtin and then its argument prototype would still apply. */
14154 char IceConnectionNumber ();
14158 return IceConnectionNumber ();
14163 if ac_fn_c_try_link
"$LINENO"
14165 ac_cv_lib_ICE_IceConnectionNumber
=yes
14167 ac_cv_lib_ICE_IceConnectionNumber
=no
14169 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14170 conftest
$ac_exeext conftest.
$ac_ext
14171 LIBS
=$ac_check_lib_save_LIBS
14173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14174 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14175 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14177 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
14180 LDFLAGS
=$ac_save_LDFLAGS
14185 if test "$have_x" = "yes"
14187 ac_save_CPPFLAGS
="$CPPFLAGS"
14188 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
14190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14191 printf %s
"checking for -lX11... " >&6; }
14192 if test ${ac_cv_lib_soname_X11+y}
14194 printf %s
"(cached) " >&6
14196 ac_check_soname_save_LIBS
=$LIBS
14197 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14198 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14199 /* end confdefs.h. */
14201 /* Override any GCC internal prototype to avoid an error.
14202 Use char because int might match the return type of a GCC
14203 builtin and then its argument prototype would still apply. */
14204 char XCreateWindow ();
14208 return XCreateWindow ();
14213 if ac_fn_c_try_link
"$LINENO"
14216 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14217 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'` ;;
14218 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14219 if ${ac_cv_lib_soname_X11:+false} :
14221 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14225 ac_cv_lib_soname_X11
=
14227 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14228 conftest
$ac_exeext conftest.
$ac_ext
14229 LIBS
=$ac_check_soname_save_LIBS
14231 if ${ac_cv_lib_soname_X11:+false} :
14233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14234 printf "%s\n" "not found" >&6; }
14237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14238 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14240 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14245 printf %s
"checking for -lXext... " >&6; }
14246 if test ${ac_cv_lib_soname_Xext+y}
14248 printf %s
"(cached) " >&6
14250 ac_check_soname_save_LIBS
=$LIBS
14251 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14252 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14253 /* end confdefs.h. */
14255 /* Override any GCC internal prototype to avoid an error.
14256 Use char because int might match the return type of a GCC
14257 builtin and then its argument prototype would still apply. */
14258 char XextCreateExtension ();
14262 return XextCreateExtension ();
14267 if ac_fn_c_try_link
"$LINENO"
14270 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14271 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'` ;;
14272 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14273 if ${ac_cv_lib_soname_Xext:+false} :
14275 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14279 ac_cv_lib_soname_Xext
=
14281 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14282 conftest
$ac_exeext conftest.
$ac_ext
14283 LIBS
=$ac_check_soname_save_LIBS
14285 if ${ac_cv_lib_soname_Xext:+false} :
14287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14288 printf "%s\n" "not found" >&6; }
14291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14292 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14294 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14296 X_LIBS
="$X_LIBS -lXext"
14298 X_LIBS
="$X_LIBS -lX11"
14300 xlib_includes
="#include <X11/Xlib.h>
14301 #include <X11/Xutil.h>"
14303 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "$xlib_includes
14305 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14307 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14310 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "$xlib_includes
14312 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14314 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14317 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "$xlib_includes
14319 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14321 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14324 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "$xlib_includes
14326 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14328 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14331 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "$xlib_includes
14333 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14335 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14338 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "$xlib_includes
14340 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14342 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14345 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "$xlib_includes
14347 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14349 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14352 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "$xlib_includes
14354 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14356 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14359 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "$xlib_includes
14361 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14363 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14368 ac_fn_c_check_header_compile
"$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "$xlib_includes
14370 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14373 printf %s
"checking for -lXcursor... " >&6; }
14374 if test ${ac_cv_lib_soname_Xcursor+y}
14376 printf %s
"(cached) " >&6
14378 ac_check_soname_save_LIBS
=$LIBS
14379 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14380 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14381 /* end confdefs.h. */
14383 /* Override any GCC internal prototype to avoid an error.
14384 Use char because int might match the return type of a GCC
14385 builtin and then its argument prototype would still apply. */
14386 char XcursorImageLoadCursor ();
14390 return XcursorImageLoadCursor ();
14395 if ac_fn_c_try_link
"$LINENO"
14398 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14399 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'` ;;
14400 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14401 if ${ac_cv_lib_soname_Xcursor:+false} :
14403 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14407 ac_cv_lib_soname_Xcursor
=
14409 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14410 conftest
$ac_exeext conftest.
$ac_ext
14411 LIBS
=$ac_check_soname_save_LIBS
14413 if ${ac_cv_lib_soname_Xcursor:+false} :
14415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14416 printf "%s\n" "not found" >&6; }
14419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14420 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14422 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14428 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14430 case "x$with_xcursor" in
14431 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14433 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14434 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14439 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "$xlib_includes
14441 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14444 printf %s
"checking for -lXi... " >&6; }
14445 if test ${ac_cv_lib_soname_Xi+y}
14447 printf %s
"(cached) " >&6
14449 ac_check_soname_save_LIBS
=$LIBS
14450 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14451 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14452 /* end confdefs.h. */
14454 /* Override any GCC internal prototype to avoid an error.
14455 Use char because int might match the return type of a GCC
14456 builtin and then its argument prototype would still apply. */
14457 char XOpenDevice ();
14461 return XOpenDevice ();
14466 if ac_fn_c_try_link
"$LINENO"
14469 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14470 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'` ;;
14471 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14472 if ${ac_cv_lib_soname_Xi:+false} :
14474 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14478 ac_cv_lib_soname_Xi
=
14480 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14481 conftest
$ac_exeext conftest.
$ac_ext
14482 LIBS
=$ac_check_soname_save_LIBS
14484 if ${ac_cv_lib_soname_Xi:+false} :
14486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14487 printf "%s\n" "not found" >&6; }
14490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14491 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14493 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14499 if test "x$ac_cv_lib_soname_Xi" = "x"
14501 case "x$with_xinput" in
14502 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14504 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14505 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14510 if test "x$ac_cv_lib_soname_Xi" != x
14512 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14514 case "x$with_xinput2" in
14515 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14517 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
14518 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14524 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14527 printf %s
"checking for XShmQueryExtension in -lXext... " >&6; }
14528 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14530 printf %s
"(cached) " >&6
14532 ac_check_lib_save_LIBS
=$LIBS
14533 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14534 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14535 /* end confdefs.h. */
14537 /* Override any GCC internal prototype to avoid an error.
14538 Use char because int might match the return type of a GCC
14539 builtin and then its argument prototype would still apply. */
14540 char XShmQueryExtension ();
14544 return XShmQueryExtension ();
14549 if ac_fn_c_try_link
"$LINENO"
14551 ac_cv_lib_Xext_XShmQueryExtension
=yes
14553 ac_cv_lib_Xext_XShmQueryExtension
=no
14555 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14556 conftest
$ac_exeext conftest.
$ac_ext
14557 LIBS
=$ac_check_lib_save_LIBS
14559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14560 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14561 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14564 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14569 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14571 case "x$with_xshm" in
14572 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14574 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14575 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14580 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14583 printf %s
"checking for XShapeQueryExtension in -lXext... " >&6; }
14584 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14586 printf %s
"(cached) " >&6
14588 ac_check_lib_save_LIBS
=$LIBS
14589 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14590 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14591 /* end confdefs.h. */
14593 /* Override any GCC internal prototype to avoid an error.
14594 Use char because int might match the return type of a GCC
14595 builtin and then its argument prototype would still apply. */
14596 char XShapeQueryExtension ();
14600 return XShapeQueryExtension ();
14605 if ac_fn_c_try_link
"$LINENO"
14607 ac_cv_lib_Xext_XShapeQueryExtension
=yes
14609 ac_cv_lib_Xext_XShapeQueryExtension
=no
14611 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14612 conftest
$ac_exeext conftest.
$ac_ext
14613 LIBS
=$ac_check_lib_save_LIBS
14615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14616 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14617 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14620 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14625 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14627 case "x$with_xshape" in
14628 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14630 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
14631 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14636 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14639 printf %s
"checking for -lXxf86vm... " >&6; }
14640 if test ${ac_cv_lib_soname_Xxf86vm+y}
14642 printf %s
"(cached) " >&6
14644 ac_check_soname_save_LIBS
=$LIBS
14645 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14646 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14647 /* end confdefs.h. */
14649 /* Override any GCC internal prototype to avoid an error.
14650 Use char because int might match the return type of a GCC
14651 builtin and then its argument prototype would still apply. */
14652 char XF86VidModeQueryExtension ();
14656 return XF86VidModeQueryExtension ();
14661 if ac_fn_c_try_link
"$LINENO"
14664 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14665 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'` ;;
14666 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14667 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14669 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14673 ac_cv_lib_soname_Xxf86vm
=
14675 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14676 conftest
$ac_exeext conftest.
$ac_ext
14677 LIBS
=$ac_check_soname_save_LIBS
14679 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14682 printf "%s\n" "not found" >&6; }
14685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
14686 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
14688 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
14693 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
14695 case "x$with_xxf86vm" in
14696 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
14698 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
14699 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
14704 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
14706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
14707 printf %s
"checking for -lXrender... " >&6; }
14708 if test ${ac_cv_lib_soname_Xrender+y}
14710 printf %s
"(cached) " >&6
14712 ac_check_soname_save_LIBS
=$LIBS
14713 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14714 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14715 /* end confdefs.h. */
14717 /* Override any GCC internal prototype to avoid an error.
14718 Use char because int might match the return type of a GCC
14719 builtin and then its argument prototype would still apply. */
14720 char XRenderQueryExtension ();
14724 return XRenderQueryExtension ();
14729 if ac_fn_c_try_link
"$LINENO"
14732 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14733 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'` ;;
14734 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14735 if ${ac_cv_lib_soname_Xrender:+false} :
14737 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14741 ac_cv_lib_soname_Xrender
=
14743 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14744 conftest
$ac_exeext conftest.
$ac_ext
14745 LIBS
=$ac_check_soname_save_LIBS
14747 if ${ac_cv_lib_soname_Xrender:+false} :
14749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14750 printf "%s\n" "not found" >&6; }
14753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
14754 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
14756 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
14758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
14759 printf %s
"checking for XRenderSetPictureTransform in -lXrender... " >&6; }
14760 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
14762 printf %s
"(cached) " >&6
14764 ac_check_lib_save_LIBS
=$LIBS
14765 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14766 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14767 /* end confdefs.h. */
14769 /* Override any GCC internal prototype to avoid an error.
14770 Use char because int might match the return type of a GCC
14771 builtin and then its argument prototype would still apply. */
14772 char XRenderSetPictureTransform ();
14776 return XRenderSetPictureTransform ();
14781 if ac_fn_c_try_link
"$LINENO"
14783 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
14785 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
14787 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14788 conftest
$ac_exeext conftest.
$ac_ext
14789 LIBS
=$ac_check_lib_save_LIBS
14791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
14792 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
14793 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
14796 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
14800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
14801 printf %s
"checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
14802 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
14804 printf %s
"(cached) " >&6
14806 ac_check_lib_save_LIBS
=$LIBS
14807 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14808 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14809 /* end confdefs.h. */
14811 /* Override any GCC internal prototype to avoid an error.
14812 Use char because int might match the return type of a GCC
14813 builtin and then its argument prototype would still apply. */
14814 char XRenderCreateLinearGradient ();
14818 return XRenderCreateLinearGradient ();
14823 if ac_fn_c_try_link
"$LINENO"
14825 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
14827 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
14829 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14830 conftest
$ac_exeext conftest.
$ac_ext
14831 LIBS
=$ac_check_lib_save_LIBS
14833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
14834 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
14835 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
14838 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
14845 if test "x$ac_cv_lib_soname_Xrender" = "x"
14847 case "x$with_xrender" in
14848 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
14850 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
14851 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
14856 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
14858 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14859 /* end confdefs.h. */
14860 #include <X11/Xlib.h>
14861 #include <X11/extensions/Xrandr.h>
14865 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
14870 if ac_fn_c_try_compile
"$LINENO"
14872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
14873 printf %s
"checking for -lXrandr... " >&6; }
14874 if test ${ac_cv_lib_soname_Xrandr+y}
14876 printf %s
"(cached) " >&6
14878 ac_check_soname_save_LIBS
=$LIBS
14879 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
14880 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14881 /* end confdefs.h. */
14883 /* Override any GCC internal prototype to avoid an error.
14884 Use char because int might match the return type of a GCC
14885 builtin and then its argument prototype would still apply. */
14886 char XRRQueryExtension ();
14890 return XRRQueryExtension ();
14895 if ac_fn_c_try_link
"$LINENO"
14898 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14899 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'` ;;
14900 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14901 if ${ac_cv_lib_soname_Xrandr:+false} :
14903 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14907 ac_cv_lib_soname_Xrandr
=
14909 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14910 conftest
$ac_exeext conftest.
$ac_ext
14911 LIBS
=$ac_check_soname_save_LIBS
14913 if ${ac_cv_lib_soname_Xrandr:+false} :
14915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14916 printf "%s\n" "not found" >&6; }
14919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
14920 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
14922 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
14924 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14925 /* end confdefs.h. */
14926 #include <X11/Xlib.h>
14927 #include <X11/extensions/Xrandr.h>
14931 static typeof(XRRGetProviderResources) *f; if (f) return 0;
14936 if ac_fn_c_try_compile
"$LINENO"
14939 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
14942 as_fn_append wine_notices
"|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
14944 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14947 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14949 if test "x$ac_cv_lib_soname_Xrandr" = "x"
14951 case "x$with_xrandr" in
14952 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
14954 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
14955 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
14960 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
14962 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14963 /* end confdefs.h. */
14964 #include <X11/Xlib.h>
14965 #include <X11/extensions/Xfixes.h>
14969 static typeof(XFixesQueryVersion) * func; if (func) return 0;
14974 if ac_fn_c_try_compile
"$LINENO"
14976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
14977 printf %s
"checking for -lXfixes... " >&6; }
14978 if test ${ac_cv_lib_soname_Xfixes+y}
14980 printf %s
"(cached) " >&6
14982 ac_check_soname_save_LIBS
=$LIBS
14983 LIBS
="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
14984 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14985 /* end confdefs.h. */
14987 /* Override any GCC internal prototype to avoid an error.
14988 Use char because int might match the return type of a GCC
14989 builtin and then its argument prototype would still apply. */
14990 char XFixesQueryVersion ();
14994 return XFixesQueryVersion ();
14999 if ac_fn_c_try_link
"$LINENO"
15002 dll
) ac_cv_lib_soname_Xfixes
=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15003 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'` ;;
15004 *) ac_cv_lib_soname_Xfixes
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15005 if ${ac_cv_lib_soname_Xfixes:+false} :
15007 ac_cv_lib_soname_Xfixes
=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15011 ac_cv_lib_soname_Xfixes
=
15013 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15014 conftest
$ac_exeext conftest.
$ac_ext
15015 LIBS
=$ac_check_soname_save_LIBS
15017 if ${ac_cv_lib_soname_Xfixes:+false} :
15019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15020 printf "%s\n" "not found" >&6; }
15023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15024 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15026 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15031 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15033 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15035 case "x$with_xfixes" in
15036 x
) as_fn_append wine_notices
"|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15038 *) as_fn_error $?
"libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15039 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15044 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15046 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15047 /* end confdefs.h. */
15048 #include <X11/Xlib.h>
15049 #include <X11/extensions/Xinerama.h>
15053 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15058 if ac_fn_c_try_compile
"$LINENO"
15060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15061 printf %s
"checking for -lXinerama... " >&6; }
15062 if test ${ac_cv_lib_soname_Xinerama+y}
15064 printf %s
"(cached) " >&6
15066 ac_check_soname_save_LIBS
=$LIBS
15067 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15068 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15069 /* end confdefs.h. */
15071 /* Override any GCC internal prototype to avoid an error.
15072 Use char because int might match the return type of a GCC
15073 builtin and then its argument prototype would still apply. */
15074 char XineramaQueryScreens ();
15078 return XineramaQueryScreens ();
15083 if ac_fn_c_try_link
"$LINENO"
15086 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15087 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'` ;;
15088 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15089 if ${ac_cv_lib_soname_Xinerama:+false} :
15091 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15095 ac_cv_lib_soname_Xinerama
=
15097 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15098 conftest
$ac_exeext conftest.
$ac_ext
15099 LIBS
=$ac_check_soname_save_LIBS
15101 if ${ac_cv_lib_soname_Xinerama:+false} :
15103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15104 printf "%s\n" "not found" >&6; }
15107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15108 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15110 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15115 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15117 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15119 case "x$with_xinerama" in
15120 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15122 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15123 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15128 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "$xlib_includes
15130 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
15132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15133 printf %s
"checking for -lXcomposite... " >&6; }
15134 if test ${ac_cv_lib_soname_Xcomposite+y}
15136 printf %s
"(cached) " >&6
15138 ac_check_soname_save_LIBS
=$LIBS
15139 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15140 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15141 /* end confdefs.h. */
15143 /* Override any GCC internal prototype to avoid an error.
15144 Use char because int might match the return type of a GCC
15145 builtin and then its argument prototype would still apply. */
15146 char XCompositeRedirectWindow ();
15150 return XCompositeRedirectWindow ();
15155 if ac_fn_c_try_link
"$LINENO"
15158 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15159 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'` ;;
15160 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15161 if ${ac_cv_lib_soname_Xcomposite:+false} :
15163 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15167 ac_cv_lib_soname_Xcomposite
=
15169 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15170 conftest
$ac_exeext conftest.
$ac_ext
15171 LIBS
=$ac_check_soname_save_LIBS
15173 if ${ac_cv_lib_soname_Xcomposite:+false} :
15175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15176 printf "%s\n" "not found" >&6; }
15179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15180 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15182 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15188 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15190 case "x$with_xcomposite" in
15191 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15193 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15194 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15199 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "$xlib_includes
15201 if test "x$ac_cv_member_XICCallback_callback" = xyes
15204 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15208 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "$xlib_includes
15210 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15213 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15221 if test "x$with_opengl" != "xno"
15223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15224 printf %s
"checking for -lGL... " >&6; }
15225 if test ${ac_cv_lib_soname_GL+y}
15227 printf %s
"(cached) " >&6
15229 ac_check_soname_save_LIBS
=$LIBS
15230 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15231 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15232 /* end confdefs.h. */
15234 /* Override any GCC internal prototype to avoid an error.
15235 Use char because int might match the return type of a GCC
15236 builtin and then its argument prototype would still apply. */
15237 char glXCreateContext ();
15241 return glXCreateContext ();
15246 if ac_fn_c_try_link
"$LINENO"
15249 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15250 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'` ;;
15251 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15252 if ${ac_cv_lib_soname_GL:+false} :
15254 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15258 ac_cv_lib_soname_GL
=
15260 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15261 conftest
$ac_exeext conftest.
$ac_ext
15262 LIBS
=$ac_check_soname_save_LIBS
15264 if ${ac_cv_lib_soname_GL:+false} :
15266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15267 printf "%s\n" "not found" >&6; }
15268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15269 printf %s
"checking for -lGL... " >&6; }
15270 if test ${ac_cv_lib_soname_GL+y}
15272 printf %s
"(cached) " >&6
15274 ac_check_soname_save_LIBS
=$LIBS
15275 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"
15276 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15277 /* end confdefs.h. */
15279 /* Override any GCC internal prototype to avoid an error.
15280 Use char because int might match the return type of a GCC
15281 builtin and then its argument prototype would still apply. */
15282 char glXCreateContext ();
15286 return glXCreateContext ();
15291 if ac_fn_c_try_link
"$LINENO"
15294 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15295 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'` ;;
15296 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15297 if ${ac_cv_lib_soname_GL:+false} :
15299 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15303 ac_cv_lib_soname_GL
=
15305 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15306 conftest
$ac_exeext conftest.
$ac_ext
15307 LIBS
=$ac_check_soname_save_LIBS
15309 if ${ac_cv_lib_soname_GL:+false} :
15311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15312 printf "%s\n" "not found" >&6; }
15313 if test -f /usr
/X11R
6/lib
/libGL.a
15315 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
15316 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15318 opengl_msg
="No OpenGL library found on this system."
15321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15322 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15324 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15326 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"
15329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15330 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15332 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15336 if test "x$with_osmesa" != "xno"
15338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15339 printf %s
"checking for -lOSMesa... " >&6; }
15340 if test ${ac_cv_lib_soname_OSMesa+y}
15342 printf %s
"(cached) " >&6
15344 ac_check_soname_save_LIBS
=$LIBS
15345 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15346 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15347 /* end confdefs.h. */
15349 /* Override any GCC internal prototype to avoid an error.
15350 Use char because int might match the return type of a GCC
15351 builtin and then its argument prototype would still apply. */
15352 char OSMesaGetProcAddress ();
15356 return OSMesaGetProcAddress ();
15361 if ac_fn_c_try_link
"$LINENO"
15364 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15365 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'` ;;
15366 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15367 if ${ac_cv_lib_soname_OSMesa:+false} :
15369 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15373 ac_cv_lib_soname_OSMesa
=
15375 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15376 conftest
$ac_exeext conftest.
$ac_ext
15377 LIBS
=$ac_check_soname_save_LIBS
15379 if ${ac_cv_lib_soname_OSMesa:+false} :
15381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15382 printf "%s\n" "not found" >&6; }
15385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15386 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15388 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15392 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15394 case "x$with_osmesa" in
15395 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15397 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15398 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15404 if test -n "$opengl_msg"
15406 case "x$with_opengl" in
15407 x
) as_fn_append wine_warnings
"|$opengl_msg
15408 OpenGL and Direct3D won't be supported." ;;
15410 *) as_fn_error $?
"$opengl_msg
15411 OpenGL and Direct3D won't be supported.
15412 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15417 CPPFLAGS
="$ac_save_CPPFLAGS"
15423 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15425 if test "x$X_LIBS" = "x"
15429 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
15430 without X support, which probably isn't what you want. You will need
15431 to install ${notice_platform}development packages of Xlib at the very least.
15432 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15434 enable_winex11_drv
=${enable_winex11_drv:-no}
15437 if test "x$X_LIBS" = "x"
15440 x
) as_fn_append wine_notices
"|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15442 *) as_fn_error $?
"X ${notice_platform}development files not found, the X11 driver won't be supported.
15443 This is an error since --with-x was requested." "$LINENO" 5 ;;
15445 enable_winex11_drv
=${enable_winex11_drv:-no}
15449 if test "x$with_wayland" != "xno"
15452 if ${WAYLAND_CLIENT_CFLAGS:+false} :
15454 if test ${PKG_CONFIG+y}
15456 WAYLAND_CLIENT_CFLAGS
=`$PKG_CONFIG --cflags wayland-client 2>conftest.err`
15460 if ${WAYLAND_CLIENT_LIBS:+false} :
15462 if test ${PKG_CONFIG+y}
15464 WAYLAND_CLIENT_LIBS
=`$PKG_CONFIG --libs wayland-client 2>/dev/null`
15469 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client cflags: $WAYLAND_CLIENT_CFLAGS" >&5
15470 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client libs: $WAYLAND_CLIENT_LIBS" >&5
15471 if test -s conftest.err
; then
15472 printf %s
"$as_me:${as_lineno-$LINENO}: wayland-client errors: " >&5
15473 cat conftest.err
>&5
15476 ac_save_CPPFLAGS
=$CPPFLAGS
15477 CPPFLAGS
="$CPPFLAGS $WAYLAND_CLIENT_CFLAGS"
15478 ac_fn_c_check_header_compile
"$LINENO" "wayland-client.h" "ac_cv_header_wayland_client_h" "$ac_includes_default"
15479 if test "x$ac_cv_header_wayland_client_h" = xyes
15481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wl_display_connect in -lwayland-client" >&5
15482 printf %s
"checking for wl_display_connect in -lwayland-client... " >&6; }
15483 if test ${ac_cv_lib_wayland_client_wl_display_connect+y}
15485 printf %s
"(cached) " >&6
15487 ac_check_lib_save_LIBS
=$LIBS
15488 LIBS
="-lwayland-client $WAYLAND_CLIENT_LIBS $LIBS"
15489 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15490 /* end confdefs.h. */
15492 /* Override any GCC internal prototype to avoid an error.
15493 Use char because int might match the return type of a GCC
15494 builtin and then its argument prototype would still apply. */
15495 char wl_display_connect ();
15499 return wl_display_connect ();
15504 if ac_fn_c_try_link
"$LINENO"
15506 ac_cv_lib_wayland_client_wl_display_connect
=yes
15508 ac_cv_lib_wayland_client_wl_display_connect
=no
15510 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15511 conftest
$ac_exeext conftest.
$ac_ext
15512 LIBS
=$ac_check_lib_save_LIBS
15514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wayland_client_wl_display_connect" >&5
15515 printf "%s\n" "$ac_cv_lib_wayland_client_wl_display_connect" >&6; }
15516 if test "x$ac_cv_lib_wayland_client_wl_display_connect" = xyes
15518 # Extract the first word of "wayland-scanner", so it can be a program name with args.
15519 set dummy wayland-scanner
; ac_word
=$2
15520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15521 printf %s
"checking for $ac_word... " >&6; }
15522 if test ${ac_cv_path_WAYLAND_SCANNER+y}
15524 printf %s
"(cached) " >&6
15526 case $WAYLAND_SCANNER in
15528 ac_cv_path_WAYLAND_SCANNER
="$WAYLAND_SCANNER" # Let the user override the test with a path.
15531 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15532 for as_dir
in $PATH
15535 case $as_dir in #(((
15538 *) as_dir
=$as_dir/ ;;
15540 for ac_exec_ext
in '' $ac_executable_extensions; do
15541 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
15542 ac_cv_path_WAYLAND_SCANNER
="$as_dir$ac_word$ac_exec_ext"
15543 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
15550 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`"
15554 WAYLAND_SCANNER
=$ac_cv_path_WAYLAND_SCANNER
15555 if test -n "$WAYLAND_SCANNER"; then
15556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $WAYLAND_SCANNER" >&5
15557 printf "%s\n" "$WAYLAND_SCANNER" >&6; }
15559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15560 printf "%s\n" "no" >&6; }
15565 WAYLAND_CLIENT_LIBS
=""
15570 CPPFLAGS
=$ac_save_CPPFLAGS
15573 if test -z "$WAYLAND_CLIENT_LIBS" -o -z "$WAYLAND_SCANNER"
15575 case "x$with_wayland" in
15576 x
) as_fn_append wine_notices
"|Wayland ${notice_platform}development files not found, the Wayland driver won't be supported." ;;
15578 *) as_fn_error $?
"Wayland ${notice_platform}development files not found, the Wayland driver won't be supported.
15579 This is an error since --with-wayland was requested." "$LINENO" 5 ;;
15581 enable_winewayland_drv
=${enable_winewayland_drv:-no}
15584 if test "$ac_cv_header_CL_cl_h" = "yes"
15586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15587 printf %s
"checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15588 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15590 printf %s
"(cached) " >&6
15592 ac_check_lib_save_LIBS
=$LIBS
15593 LIBS
="-lOpenCL $LIBS"
15594 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15595 /* end confdefs.h. */
15597 /* Override any GCC internal prototype to avoid an error.
15598 Use char because int might match the return type of a GCC
15599 builtin and then its argument prototype would still apply. */
15600 char clGetPlatformInfo ();
15604 return clGetPlatformInfo ();
15609 if ac_fn_c_try_link
"$LINENO"
15611 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
15613 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
15615 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15616 conftest
$ac_exeext conftest.
$ac_ext
15617 LIBS
=$ac_check_lib_save_LIBS
15619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15620 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15621 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15623 OPENCL_LIBS
="-lOpenCL"
15628 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15630 case "x$with_opencl" in
15631 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15633 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15634 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15636 enable_opencl
=${enable_opencl:-no}
15639 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_init in -lpcap" >&5
15642 printf %s
"checking for pcap_init in -lpcap... " >&6; }
15643 if test ${ac_cv_lib_pcap_pcap_init+y}
15645 printf %s
"(cached) " >&6
15647 ac_check_lib_save_LIBS
=$LIBS
15648 LIBS
="-lpcap $LIBS"
15649 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15650 /* end confdefs.h. */
15652 /* Override any GCC internal prototype to avoid an error.
15653 Use char because int might match the return type of a GCC
15654 builtin and then its argument prototype would still apply. */
15659 return pcap_init ();
15664 if ac_fn_c_try_link
"$LINENO"
15666 ac_cv_lib_pcap_pcap_init
=yes
15668 ac_cv_lib_pcap_pcap_init
=no
15670 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15671 conftest
$ac_exeext conftest.
$ac_ext
15672 LIBS
=$ac_check_lib_save_LIBS
15674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_init" >&5
15675 printf "%s\n" "$ac_cv_lib_pcap_pcap_init" >&6; }
15676 if test "x$ac_cv_lib_pcap_pcap_init" = xyes
15683 if test "x$ac_cv_lib_pcap_pcap_init" != xyes
15685 case "x$with_pcap" in
15686 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15688 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
15689 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15691 enable_wpcap
=${enable_wpcap:-no}
15694 if test "x$with_pcsclite" != "xno"
15696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SCardEstablishContext in -lpcsclite" >&5
15697 printf %s
"checking for SCardEstablishContext in -lpcsclite... " >&6; }
15698 if test ${ac_cv_lib_pcsclite_SCardEstablishContext+y}
15700 printf %s
"(cached) " >&6
15702 ac_check_lib_save_LIBS
=$LIBS
15703 LIBS
="-lpcsclite $LIBS"
15704 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15705 /* end confdefs.h. */
15707 /* Override any GCC internal prototype to avoid an error.
15708 Use char because int might match the return type of a GCC
15709 builtin and then its argument prototype would still apply. */
15710 char SCardEstablishContext ();
15714 return SCardEstablishContext ();
15719 if ac_fn_c_try_link
"$LINENO"
15721 ac_cv_lib_pcsclite_SCardEstablishContext
=yes
15723 ac_cv_lib_pcsclite_SCardEstablishContext
=no
15725 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15726 conftest
$ac_exeext conftest.
$ac_ext
15727 LIBS
=$ac_check_lib_save_LIBS
15729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcsclite_SCardEstablishContext" >&5
15730 printf "%s\n" "$ac_cv_lib_pcsclite_SCardEstablishContext" >&6; }
15731 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" = xyes
15733 PCSCLITE_LIBS
="-lpcsclite"
15737 darwin
*|macosx
*) PCSCLITE_LIBS
="-framework PCSC"
15743 if test "x$PCSCLITE_LIBS" = x
15745 case "x$with_pcsclite" in
15746 x
) as_fn_append wine_notices
"|libpcsclite not found, smart cards won't be supported." ;;
15748 *) as_fn_error $?
"libpcsclite not found, smart cards won't be supported.
15749 This is an error since --with-pcsclite was requested." "$LINENO" 5 ;;
15751 enable_winscard
=${enable_winscard:-no}
15754 if test "x$with_inotify" != "xno"
15757 if ${INOTIFY_CFLAGS:+false} :
15759 if test ${PKG_CONFIG+y}
15761 INOTIFY_CFLAGS
=`$PKG_CONFIG --cflags libinotify 2>conftest.err`
15765 if ${INOTIFY_LIBS:+false} :
15767 if test ${PKG_CONFIG+y}
15769 INOTIFY_LIBS
=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15774 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15775 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15776 if test -s conftest.err
; then
15777 printf %s
"$as_me:${as_lineno-$LINENO}: libinotify errors: " >&5
15778 cat conftest.err
>&5
15781 ac_save_CPPFLAGS
=$CPPFLAGS
15782 CPPFLAGS
="$CPPFLAGS $INOTIFY_CFLAGS"
15783 ac_fn_c_check_header_compile
"$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15784 if test "x$ac_cv_header_sys_inotify_h" = xyes
15786 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15791 printf %s
"checking for inotify_add_watch in -linotify... " >&6; }
15792 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15794 printf %s
"(cached) " >&6
15796 ac_check_lib_save_LIBS
=$LIBS
15797 LIBS
="-linotify $INOTIFY_LIBS $LIBS"
15798 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15799 /* end confdefs.h. */
15801 /* Override any GCC internal prototype to avoid an error.
15802 Use char because int might match the return type of a GCC
15803 builtin and then its argument prototype would still apply. */
15804 char inotify_add_watch ();
15808 return inotify_add_watch ();
15813 if ac_fn_c_try_link
"$LINENO"
15815 ac_cv_lib_inotify_inotify_add_watch
=yes
15817 ac_cv_lib_inotify_inotify_add_watch
=no
15819 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15820 conftest
$ac_exeext conftest.
$ac_ext
15821 LIBS
=$ac_check_lib_save_LIBS
15823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15824 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
15825 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
15832 CPPFLAGS
=$ac_save_CPPFLAGS
15835 if test "$ac_cv_header_sys_inotify_h" != "yes"
15837 case "x$with_inotify" in
15838 x
) as_fn_append wine_notices
"|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
15840 *) as_fn_error $?
"libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
15841 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
15846 if test "x$with_dbus" != "xno"
15849 if ${DBUS_CFLAGS:+false} :
15851 if test ${PKG_CONFIG+y}
15853 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>conftest.err`
15857 if ${DBUS_LIBS:+false} :
15859 if test ${PKG_CONFIG+y}
15861 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
15866 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
15867 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
15868 if test -s conftest.err
; then
15869 printf %s
"$as_me:${as_lineno-$LINENO}: dbus-1 errors: " >&5
15870 cat conftest.err
>&5
15873 ac_save_CPPFLAGS
=$CPPFLAGS
15874 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
15875 ac_fn_c_check_header_compile
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
15876 if test "x$ac_cv_header_dbus_dbus_h" = xyes
15878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
15879 printf %s
"checking for -ldbus-1... " >&6; }
15880 if test ${ac_cv_lib_soname_dbus_1+y}
15882 printf %s
"(cached) " >&6
15884 ac_check_soname_save_LIBS
=$LIBS
15885 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
15886 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15887 /* end confdefs.h. */
15889 /* Override any GCC internal prototype to avoid an error.
15890 Use char because int might match the return type of a GCC
15891 builtin and then its argument prototype would still apply. */
15892 char dbus_connection_close ();
15896 return dbus_connection_close ();
15901 if ac_fn_c_try_link
"$LINENO"
15904 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15905 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'` ;;
15906 *) 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'`
15907 if ${ac_cv_lib_soname_dbus_1:+false} :
15909 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15913 ac_cv_lib_soname_dbus_1
=
15915 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15916 conftest
$ac_exeext conftest.
$ac_ext
15917 LIBS
=$ac_check_soname_save_LIBS
15919 if ${ac_cv_lib_soname_dbus_1:+false} :
15921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15922 printf "%s\n" "not found" >&6; }
15925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
15926 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
15928 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
15936 CPPFLAGS
=$ac_save_CPPFLAGS
15940 darwin
*|macosx
*) ;;
15941 *) if test "x$ac_cv_lib_soname_dbus_1" = "x"
15943 case "x$with_dbus" in
15944 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
15946 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
15947 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
15953 if test "x$with_gnutls" != "xno"
15956 if ${GNUTLS_CFLAGS:+false} :
15958 if test ${PKG_CONFIG+y}
15960 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>conftest.err`
15964 if ${GNUTLS_LIBS:+false} :
15966 if test ${PKG_CONFIG+y}
15968 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
15972 GNUTLS_LIBS
=${GNUTLS_LIBS:-"-lgnutls"}
15973 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
15974 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
15975 if test -s conftest.err
; then
15976 printf %s
"$as_me:${as_lineno-$LINENO}: gnutls errors: " >&5
15977 cat conftest.err
>&5
15980 ac_save_CPPFLAGS
=$CPPFLAGS
15981 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
15982 ac_fn_c_check_header_compile
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
15983 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
15985 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15986 /* end confdefs.h. */
15987 #include <gnutls/gnutls.h>
15988 #include <gnutls/crypto.h>
15992 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
15997 if ac_fn_c_try_compile
"$LINENO"
15999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16000 printf %s
"checking for -lgnutls... " >&6; }
16001 if test ${ac_cv_lib_soname_gnutls+y}
16003 printf %s
"(cached) " >&6
16005 ac_check_soname_save_LIBS
=$LIBS
16006 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
16007 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16008 /* end confdefs.h. */
16010 /* Override any GCC internal prototype to avoid an error.
16011 Use char because int might match the return type of a GCC
16012 builtin and then its argument prototype would still apply. */
16013 char gnutls_global_init ();
16017 return gnutls_global_init ();
16022 if ac_fn_c_try_link
"$LINENO"
16025 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16026 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'` ;;
16027 *) 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'`
16028 if ${ac_cv_lib_soname_gnutls:+false} :
16030 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'`
16034 ac_cv_lib_soname_gnutls
=
16036 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16037 conftest
$ac_exeext conftest.
$ac_ext
16038 LIBS
=$ac_check_soname_save_LIBS
16040 if ${ac_cv_lib_soname_gnutls:+false} :
16042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16043 printf "%s\n" "not found" >&6; }
16046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16047 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16049 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16053 ac_wine_check_funcs_save_LIBS
="$LIBS"
16054 LIBS
="$LIBS $GNUTLS_LIBS"
16056 for ac_func
in gnutls_cipher_init
16058 ac_fn_c_check_func
"$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16059 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16061 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16064 as_fn_append wine_notices
"|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16068 LIBS
="$ac_wine_check_funcs_save_LIBS"
16070 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16075 CPPFLAGS
=$ac_save_CPPFLAGS
16078 if test "x$ac_cv_lib_soname_gnutls" = "x"
16080 case "x$with_gnutls" in
16081 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16083 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
16084 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16089 if test "x$with_sane" != "xno"
16092 if ${SANE_CFLAGS:+false} :
16094 if test ${PKG_CONFIG+y}
16096 SANE_CFLAGS
=`$PKG_CONFIG --cflags sane-backends 2>conftest.err`
16099 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16100 if ${SANE_LIBS:+false} :
16102 if test ${PKG_CONFIG+y}
16104 SANE_LIBS
=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16107 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16109 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16110 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16111 if test -s conftest.err
; then
16112 printf %s
"$as_me:${as_lineno-$LINENO}: sane-backends errors: " >&5
16113 cat conftest.err
>&5
16116 ac_save_CPPFLAGS
=$CPPFLAGS
16117 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
16118 ac_fn_c_check_header_compile
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16119 if test "x$ac_cv_header_sane_sane_h" = xyes
16121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16122 printf %s
"checking for sane_init in -lsane... " >&6; }
16123 if test ${ac_cv_lib_sane_sane_init+y}
16125 printf %s
"(cached) " >&6
16127 ac_check_lib_save_LIBS
=$LIBS
16128 LIBS
="-lsane $SANE_LIBS $LIBS"
16129 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16130 /* end confdefs.h. */
16132 /* Override any GCC internal prototype to avoid an error.
16133 Use char because int might match the return type of a GCC
16134 builtin and then its argument prototype would still apply. */
16139 return sane_init ();
16144 if ac_fn_c_try_link
"$LINENO"
16146 ac_cv_lib_sane_sane_init
=yes
16148 ac_cv_lib_sane_sane_init
=no
16150 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16151 conftest
$ac_exeext conftest.
$ac_ext
16152 LIBS
=$ac_check_lib_save_LIBS
16154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16155 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16156 if test "x$ac_cv_lib_sane_sane_init" = xyes
16163 CPPFLAGS
=$ac_save_CPPFLAGS
16166 if test "$ac_cv_lib_sane_sane_init" != "yes"
16168 case "x$with_sane" in
16169 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16171 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
16172 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16174 enable_sane_ds
=${enable_sane_ds:-no}
16177 if test "x$with_usb" != "xno"
16180 if ${USB_CFLAGS:+false} :
16182 if test ${PKG_CONFIG+y}
16184 USB_CFLAGS
=`$PKG_CONFIG --cflags libusb-1.0 2>conftest.err`
16188 if ${USB_LIBS:+false} :
16190 if test ${PKG_CONFIG+y}
16192 USB_LIBS
=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16196 USB_LIBS
=${USB_LIBS:-"-lusb-1.0"}
16197 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16198 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16199 if test -s conftest.err
; then
16200 printf %s
"$as_me:${as_lineno-$LINENO}: libusb-1.0 errors: " >&5
16201 cat conftest.err
>&5
16204 ac_save_CPPFLAGS
=$CPPFLAGS
16205 CPPFLAGS
="$CPPFLAGS $USB_CFLAGS"
16206 ac_fn_c_check_header_compile
"$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16207 if test "x$ac_cv_header_libusb_h" = xyes
16209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16210 printf %s
"checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16211 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16213 printf %s
"(cached) " >&6
16215 ac_check_lib_save_LIBS
=$LIBS
16216 LIBS
="-lusb-1.0 $USB_LIBS $LIBS"
16217 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16218 /* end confdefs.h. */
16220 /* Override any GCC internal prototype to avoid an error.
16221 Use char because int might match the return type of a GCC
16222 builtin and then its argument prototype would still apply. */
16223 char libusb_interrupt_event_handler ();
16227 return libusb_interrupt_event_handler ();
16232 if ac_fn_c_try_link
"$LINENO"
16234 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler
=yes
16236 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler
=no
16238 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16239 conftest
$ac_exeext conftest.
$ac_ext
16240 LIBS
=$ac_check_lib_save_LIBS
16242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16243 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16244 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16255 CPPFLAGS
=$ac_save_CPPFLAGS
16258 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16260 case "x$with_usb" in
16261 x
) as_fn_append wine_notices
"|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16263 *) as_fn_error $?
"libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16264 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16266 enable_wineusb_sys
=${enable_wineusb_sys:-no}
16269 if test "x$with_v4l2" != "xno"
16271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16272 printf %s
"checking for -lv4l2... " >&6; }
16273 if test ${ac_cv_lib_soname_v4l2+y}
16275 printf %s
"(cached) " >&6
16277 ac_check_soname_save_LIBS
=$LIBS
16278 LIBS
="-lv4l2 $LIBS"
16279 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16280 /* end confdefs.h. */
16282 /* Override any GCC internal prototype to avoid an error.
16283 Use char because int might match the return type of a GCC
16284 builtin and then its argument prototype would still apply. */
16289 return v4l2_open ();
16294 if ac_fn_c_try_link
"$LINENO"
16297 dll
) ac_cv_lib_soname_v4l2
=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16298 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'` ;;
16299 *) ac_cv_lib_soname_v4l2
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16300 if ${ac_cv_lib_soname_v4l2:+false} :
16302 ac_cv_lib_soname_v4l2
=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16306 ac_cv_lib_soname_v4l2
=
16308 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16309 conftest
$ac_exeext conftest.
$ac_ext
16310 LIBS
=$ac_check_soname_save_LIBS
16312 if ${ac_cv_lib_soname_v4l2:+false} :
16314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16315 printf "%s\n" "not found" >&6; }
16318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16319 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16321 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16326 if test "x$ac_cv_lib_soname_v4l2" = "x"
16328 case "x$with_v4l2" in
16329 x
) as_fn_append wine_notices
"|libv4l2 ${notice_platform}development files not found." ;;
16331 *) as_fn_error $?
"libv4l2 ${notice_platform}development files not found.
16332 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16337 if test "x$with_gphoto" != "xno"
16340 if ${GPHOTO2_CFLAGS:+false} :
16342 if test ${PKG_CONFIG+y}
16344 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>conftest.err`
16347 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16348 if ${GPHOTO2_LIBS:+false} :
16350 if test ${PKG_CONFIG+y}
16352 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16355 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16356 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
16357 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16358 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16359 if test -s conftest.err
; then
16360 printf %s
"$as_me:${as_lineno-$LINENO}: libgphoto2 errors: " >&5
16361 cat conftest.err
>&5
16364 ac_save_CPPFLAGS
=$CPPFLAGS
16365 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
16366 ac_fn_c_check_header_compile
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16367 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16370 printf %s
"checking for gp_camera_new in -lgphoto2... " >&6; }
16371 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16373 printf %s
"(cached) " >&6
16375 ac_check_lib_save_LIBS
=$LIBS
16376 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16377 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16378 /* end confdefs.h. */
16380 /* Override any GCC internal prototype to avoid an error.
16381 Use char because int might match the return type of a GCC
16382 builtin and then its argument prototype would still apply. */
16383 char gp_camera_new ();
16387 return gp_camera_new ();
16392 if ac_fn_c_try_link
"$LINENO"
16394 ac_cv_lib_gphoto2_gp_camera_new
=yes
16396 ac_cv_lib_gphoto2_gp_camera_new
=no
16398 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16399 conftest
$ac_exeext conftest.
$ac_ext
16400 LIBS
=$ac_check_lib_save_LIBS
16402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16403 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16404 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16411 CPPFLAGS
=$ac_save_CPPFLAGS
16414 if ${GPHOTO2_PORT_CFLAGS:+false} :
16416 if test ${PKG_CONFIG+y}
16418 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>conftest.err`
16421 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16422 if ${GPHOTO2_PORT_LIBS:+false} :
16424 if test ${PKG_CONFIG+y}
16426 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16429 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16430 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16431 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16432 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16433 if test -s conftest.err
; then
16434 printf %s
"$as_me:${as_lineno-$LINENO}: libgphoto2_port errors: " >&5
16435 cat conftest.err
>&5
16438 ac_save_CPPFLAGS
=$CPPFLAGS
16439 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16440 ac_fn_c_check_header_compile
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16441 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16444 printf %s
"checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16445 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16447 printf %s
"(cached) " >&6
16449 ac_check_lib_save_LIBS
=$LIBS
16450 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16451 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16452 /* end confdefs.h. */
16454 /* Override any GCC internal prototype to avoid an error.
16455 Use char because int might match the return type of a GCC
16456 builtin and then its argument prototype would still apply. */
16457 char gp_port_info_list_new ();
16461 return gp_port_info_list_new ();
16466 if ac_fn_c_try_link
"$LINENO"
16468 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
16470 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
16472 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16473 conftest
$ac_exeext conftest.
$ac_ext
16474 LIBS
=$ac_check_lib_save_LIBS
16476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16477 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16478 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16481 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16484 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
16488 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
16491 CPPFLAGS
=$ac_save_CPPFLAGS
16494 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16496 case "x$with_gphoto" in
16497 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16499 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16500 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16502 enable_gphoto2_ds
=${enable_gphoto2_ds:-no}
16504 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16506 case "x$with_gphoto" in
16507 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16509 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16510 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16516 if test "$ac_cv_header_resolv_h" = "yes"
16518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16519 printf %s
"checking for resolver library... " >&6; }
16520 if test ${ac_cv_have_resolv+y}
16522 printf %s
"(cached) " >&6
16524 ac_save_LIBS
="$LIBS"
16525 for lib
in '' -lresolv
16527 LIBS
="$lib $ac_save_LIBS"
16528 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16529 /* end confdefs.h. */
16530 #ifdef HAVE_NETINET_IN_H
16531 #include <netinet/in.h>
16533 #include <resolv.h>
16537 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16542 if ac_fn_c_try_link
"$LINENO"
16544 ac_cv_have_resolv
=${lib:-"none required"}
16546 ac_cv_have_resolv
="not found"
16548 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16549 conftest
$ac_exeext conftest.
$ac_ext
16550 test "x$ac_cv_have_resolv" = "xnot found" ||
break
16552 LIBS
="$ac_save_LIBS"
16554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16555 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16557 case "$ac_cv_have_resolv" in
16561 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16564 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16566 RESOLV_LIBS
=$ac_cv_have_resolv
16570 if test "x$ac_cv_have_resolv" != "xnot found"
16572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16573 printf %s
"checking for res_getservers... " >&6; }
16574 if test ${ac_cv_have_res_getservers+y}
16576 printf %s
"(cached) " >&6
16578 ac_save_LIBS
="$LIBS"
16579 LIBS
="$RESOLV_LIBS $LIBS"
16580 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16581 /* end confdefs.h. */
16582 #include <resolv.h>
16586 res_getservers(NULL, NULL, 0);
16591 if ac_fn_c_try_link
"$LINENO"
16593 ac_cv_have_res_getservers
=yes
16595 ac_cv_have_res_getservers
=no
16597 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16598 conftest
$ac_exeext conftest.
$ac_ext
16599 LIBS
="$ac_save_LIBS"
16601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16602 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16603 if test "$ac_cv_have_res_getservers" = "yes"
16606 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16612 if test "x$with_freetype" != "xno"
16615 if ${FREETYPE_CFLAGS:+false} :
16617 if test ${PKG_CONFIG+y}
16619 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>conftest.err`
16622 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16623 if ${FREETYPE_LIBS:+false} :
16625 if test ${PKG_CONFIG+y}
16627 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16630 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16631 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
16632 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16633 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16634 if test -s conftest.err
; then
16635 printf %s
"$as_me:${as_lineno-$LINENO}: freetype2 errors: " >&5
16636 cat conftest.err
>&5
16639 ac_save_CPPFLAGS
=$CPPFLAGS
16640 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
16641 ac_fn_c_check_header_compile
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16642 if test "x$ac_cv_header_ft2build_h" = xyes
16644 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16648 if test "$ac_cv_header_ft2build_h" = "yes"
16650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16651 printf %s
"checking for -lfreetype... " >&6; }
16652 if test ${ac_cv_lib_soname_freetype+y}
16654 printf %s
"(cached) " >&6
16656 ac_check_soname_save_LIBS
=$LIBS
16657 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
16658 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16659 /* end confdefs.h. */
16661 /* Override any GCC internal prototype to avoid an error.
16662 Use char because int might match the return type of a GCC
16663 builtin and then its argument prototype would still apply. */
16664 char FT_Init_FreeType ();
16668 return FT_Init_FreeType ();
16673 if ac_fn_c_try_link
"$LINENO"
16676 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16677 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'` ;;
16678 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16679 if ${ac_cv_lib_soname_freetype:+false} :
16681 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16685 ac_cv_lib_soname_freetype
=
16687 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16688 conftest
$ac_exeext conftest.
$ac_ext
16689 LIBS
=$ac_check_soname_save_LIBS
16691 if ${ac_cv_lib_soname_freetype:+false} :
16693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16694 printf "%s\n" "not found" >&6; }
16697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16698 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16700 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16703 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16705 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16706 #include FT_MODULE_H
16708 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16711 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16721 CPPFLAGS
=$ac_save_CPPFLAGS
16724 if test "x$ac_cv_lib_soname_freetype" = x
16726 case "x$with_freetype" in
16728 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
16729 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16731 enable_fonts
=${enable_fonts:-no}
16734 ac_wine_check_funcs_save_LIBS
="$LIBS"
16735 LIBS
="$LIBS $PTHREAD_LIBS"
16736 ac_fn_c_check_func
"$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16737 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16739 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16743 LIBS
="$ac_wine_check_funcs_save_LIBS"
16745 if test "x$enable_tools" != xno
-a "x$with_gettextpo" = xyes
16747 if test "$ac_cv_header_gettext_po_h" = "yes"
16749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16750 printf %s
"checking for po_message_msgctxt in -lgettextpo... " >&6; }
16751 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16753 printf %s
"(cached) " >&6
16755 ac_check_lib_save_LIBS
=$LIBS
16756 LIBS
="-lgettextpo $LIBS"
16757 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16758 /* end confdefs.h. */
16760 /* Override any GCC internal prototype to avoid an error.
16761 Use char because int might match the return type of a GCC
16762 builtin and then its argument prototype would still apply. */
16763 char po_message_msgctxt ();
16767 return po_message_msgctxt ();
16772 if ac_fn_c_try_link
"$LINENO"
16774 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
16776 ac_cv_lib_gettextpo_po_message_msgctxt
=no
16778 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16779 conftest
$ac_exeext conftest.
$ac_ext
16780 LIBS
=$ac_check_lib_save_LIBS
16782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16783 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16784 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16787 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16789 GETTEXTPO_LIBS
="-lgettextpo"
16794 if test "x$GETTEXTPO_LIBS" = "x"
16796 case "x$with_gettextpo" in
16797 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16799 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16800 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16804 if test "$srcdir" != .
16806 case "x$with_gettextpo" in
16807 x
) as_fn_append wine_notices
"|Rebuilding po files is not supported for out of tree builds." ;;
16809 *) as_fn_error $?
"Rebuilding po files is not supported for out of tree builds.
16810 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16816 if test "x$with_pulse" != "xno";
16819 if ${PULSE_CFLAGS:+false} :
16821 if test ${PKG_CONFIG+y}
16823 PULSE_CFLAGS
=`$PKG_CONFIG --cflags libpulse 2>conftest.err`
16827 if ${PULSE_LIBS:+false} :
16829 if test ${PKG_CONFIG+y}
16831 PULSE_LIBS
=`$PKG_CONFIG --libs libpulse 2>/dev/null`
16836 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
16837 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
16838 if test -s conftest.err
; then
16839 printf %s
"$as_me:${as_lineno-$LINENO}: libpulse errors: " >&5
16840 cat conftest.err
>&5
16843 ac_save_CPPFLAGS
=$CPPFLAGS
16844 CPPFLAGS
="$CPPFLAGS $PULSE_CFLAGS"
16845 ac_fn_c_check_header_compile
"$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
16846 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
16848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
16849 printf %s
"checking for pa_stream_is_corked in -lpulse... " >&6; }
16850 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
16852 printf %s
"(cached) " >&6
16854 ac_check_lib_save_LIBS
=$LIBS
16855 LIBS
="-lpulse $PULSE_LIBS $LIBS"
16856 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16857 /* end confdefs.h. */
16859 /* Override any GCC internal prototype to avoid an error.
16860 Use char because int might match the return type of a GCC
16861 builtin and then its argument prototype would still apply. */
16862 char pa_stream_is_corked ();
16866 return pa_stream_is_corked ();
16871 if ac_fn_c_try_link
"$LINENO"
16873 ac_cv_lib_pulse_pa_stream_is_corked
=yes
16875 ac_cv_lib_pulse_pa_stream_is_corked
=no
16877 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16878 conftest
$ac_exeext conftest.
$ac_ext
16879 LIBS
=$ac_check_lib_save_LIBS
16881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
16882 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
16883 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
16894 CPPFLAGS
=$ac_save_CPPFLAGS
16897 if test -z "$PULSE_LIBS"
16899 case "x$with_pulse" in
16900 x
) as_fn_append wine_notices
"|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
16902 *) as_fn_error $?
"libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
16903 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
16905 enable_winepulse_drv
=${enable_winepulse_drv:-no}
16908 if test "x$with_gstreamer" != "xno"
16911 if ${GSTREAMER_CFLAGS:+false} :
16913 if test ${PKG_CONFIG+y}
16915 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>conftest.err`
16919 if ${GSTREAMER_LIBS:+false} :
16921 if test ${PKG_CONFIG+y}
16923 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>/dev/null`
16928 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
16929 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
16930 if test -s conftest.err
; then
16931 printf %s
"$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 errors: " >&5
16932 cat conftest.err
>&5
16935 ac_save_CPPFLAGS
=$CPPFLAGS
16936 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
16937 ac_fn_c_check_header_compile
"$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
16938 if test "x$ac_cv_header_gst_gst_h" = xyes
16940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
16941 printf %s
"checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
16942 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16943 /* end confdefs.h. */
16944 #include <gst/gst.h>
16948 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
16953 if ac_fn_c_try_compile
"$LINENO"
16955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16956 printf "%s\n" "yes" >&6; }
16957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
16958 printf %s
"checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
16959 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
16961 printf %s
"(cached) " >&6
16963 ac_check_lib_save_LIBS
=$LIBS
16964 LIBS
="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
16965 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16966 /* end confdefs.h. */
16968 /* Override any GCC internal prototype to avoid an error.
16969 Use char because int might match the return type of a GCC
16970 builtin and then its argument prototype would still apply. */
16971 char gst_pad_new ();
16975 return gst_pad_new ();
16980 if ac_fn_c_try_link
"$LINENO"
16982 ac_cv_lib_gstreamer_1_0_gst_pad_new
=yes
16984 ac_cv_lib_gstreamer_1_0_gst_pad_new
=no
16986 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16987 conftest
$ac_exeext conftest.
$ac_ext
16988 LIBS
=$ac_check_lib_save_LIBS
16990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
16991 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
16992 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
16998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16999 printf "%s\n" "no" >&6; }
17000 ac_glib2_broken
=yes
17001 enable_winegstreamer
=${enable_winegstreamer:-no}
17002 as_fn_append wine_notices
"|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17004 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17007 CPPFLAGS
=$ac_save_CPPFLAGS
17010 if test "x$ac_glib2_broken" != xyes
-a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17012 case "x$with_gstreamer" in
17013 x
) as_fn_append wine_notices
"|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17015 *) as_fn_error $?
"gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17016 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17018 enable_winegstreamer
=${enable_winegstreamer:-no}
17023 if test "x$with_alsa" != "xno"
17025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17026 printf %s
"checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17027 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17029 printf %s
"(cached) " >&6
17031 ac_check_lib_save_LIBS
=$LIBS
17032 LIBS
="-lasound $LIBS"
17033 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17034 /* end confdefs.h. */
17036 /* Override any GCC internal prototype to avoid an error.
17037 Use char because int might match the return type of a GCC
17038 builtin and then its argument prototype would still apply. */
17039 char snd_pcm_hw_params_get_access_mask ();
17043 return snd_pcm_hw_params_get_access_mask ();
17048 if ac_fn_c_try_link
"$LINENO"
17050 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
17052 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
17054 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17055 conftest
$ac_exeext conftest.
$ac_ext
17056 LIBS
=$ac_check_lib_save_LIBS
17058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17059 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17060 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17062 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17063 /* end confdefs.h. */
17064 #include <alsa/asoundlib.h>
17068 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17073 if ac_fn_c_try_compile
"$LINENO"
17075 ALSA_LIBS
="-lasound"
17077 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17081 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
17083 if test "x$with_oss" != xno
17085 ac_save_CPPFLAGS
="$CPPFLAGS"
17086 if test -f /etc
/oss.conf
17090 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17091 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
17092 ac_fn_c_check_header_compile
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17093 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17095 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17097 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17100 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17102 OSS4_CFLAGS
="$ac_oss_incl"
17104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17105 printf %s
"checking for _oss_ioctl in -lossaudio... " >&6; }
17106 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17108 printf %s
"(cached) " >&6
17110 ac_check_lib_save_LIBS
=$LIBS
17111 LIBS
="-lossaudio $LIBS"
17112 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17113 /* end confdefs.h. */
17115 /* Override any GCC internal prototype to avoid an error.
17116 Use char because int might match the return type of a GCC
17117 builtin and then its argument prototype would still apply. */
17118 char _oss_ioctl ();
17122 return _oss_ioctl ();
17127 if ac_fn_c_try_link
"$LINENO"
17129 ac_cv_lib_ossaudio__oss_ioctl
=yes
17131 ac_cv_lib_ossaudio__oss_ioctl
=no
17133 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17134 conftest
$ac_exeext conftest.
$ac_ext
17135 LIBS
=$ac_check_lib_save_LIBS
17137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17138 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17139 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17141 OSS4_LIBS
="-lossaudio"
17149 CPPFLAGS
="$ac_save_CPPFLAGS"
17151 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17153 case "x$with_oss" in
17154 x
) as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17156 *) as_fn_error $?
"OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17157 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17159 enable_wineoss_drv
=${enable_wineoss_drv:-no}
17162 if test "x$with_udev" != "xno"
17165 if ${UDEV_CFLAGS:+false} :
17167 if test ${PKG_CONFIG+y}
17169 UDEV_CFLAGS
=`$PKG_CONFIG --cflags libudev 2>conftest.err`
17173 if ${UDEV_LIBS:+false} :
17175 if test ${PKG_CONFIG+y}
17177 UDEV_LIBS
=`$PKG_CONFIG --libs libudev 2>/dev/null`
17181 UDEV_LIBS
=${UDEV_LIBS:-"-ludev"}
17182 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17183 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17184 if test -s conftest.err
; then
17185 printf %s
"$as_me:${as_lineno-$LINENO}: libudev errors: " >&5
17186 cat conftest.err
>&5
17189 ac_save_CPPFLAGS
=$CPPFLAGS
17190 CPPFLAGS
="$CPPFLAGS $UDEV_CFLAGS"
17191 for ac_header
in libudev.h
17193 ac_fn_c_check_header_compile
"$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17194 if test "x$ac_cv_header_libudev_h" = xyes
17196 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17198 printf %s
"checking for udev_new in -ludev... " >&6; }
17199 if test ${ac_cv_lib_udev_udev_new+y}
17201 printf %s
"(cached) " >&6
17203 ac_check_lib_save_LIBS
=$LIBS
17204 LIBS
="-ludev $UDEV_LIBS $LIBS"
17205 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17206 /* end confdefs.h. */
17208 /* Override any GCC internal prototype to avoid an error.
17209 Use char because int might match the return type of a GCC
17210 builtin and then its argument prototype would still apply. */
17215 return udev_new ();
17220 if ac_fn_c_try_link
"$LINENO"
17222 ac_cv_lib_udev_udev_new
=yes
17224 ac_cv_lib_udev_udev_new
=no
17226 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17227 conftest
$ac_exeext conftest.
$ac_ext
17228 LIBS
=$ac_check_lib_save_LIBS
17230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17231 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17232 if test "x$ac_cv_lib_udev_udev_new" = xyes
17235 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17246 CPPFLAGS
=$ac_save_CPPFLAGS
17249 if test "x$UDEV_LIBS" = "x"
17251 case "x$with_udev" in
17252 x
) as_fn_append wine_notices
"|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17254 *) as_fn_error $?
"libudev ${notice_platform}development files not found, plug and play won't be supported.
17255 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17260 if test "x$with_unwind" != xno
17263 if ${UNWIND_CFLAGS:+false} :
17265 if test ${PKG_CONFIG+y}
17267 UNWIND_CFLAGS
=`$PKG_CONFIG --cflags libunwind 2>conftest.err`
17271 if ${UNWIND_LIBS:+false} :
17273 if test ${PKG_CONFIG+y}
17275 UNWIND_LIBS
=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17279 UNWIND_LIBS
=${UNWIND_LIBS:-"-lunwind"}
17280 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17281 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17282 if test -s conftest.err
; then
17283 printf %s
"$as_me:${as_lineno-$LINENO}: libunwind errors: " >&5
17284 cat conftest.err
>&5
17287 ac_save_CPPFLAGS
=$CPPFLAGS
17288 CPPFLAGS
="$CPPFLAGS $UNWIND_CFLAGS"
17289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17290 printf %s
"checking for unw_step... " >&6; }
17291 if test ${wine_cv_have_unw_step+y}
17293 printf %s
"(cached) " >&6
17295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17296 /* end confdefs.h. */
17297 #define UNW_LOCAL_ONLY
17298 #include <libunwind.h>
17302 unw_cursor_t cursor; unw_step( &cursor );
17307 if ac_fn_c_try_link
"$LINENO"
17309 wine_cv_have_unw_step
="yes"
17311 wine_cv_have_unw_step
="no"
17313 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17314 conftest
$ac_exeext conftest.
$ac_ext
17316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17317 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17318 if test "$wine_cv_have_unw_step" = no
-a -n "$UNWIND_LIBS"
17321 UNWIND_LIBS
="-static-libgcc $UNWIND_LIBS"
17322 LIBS
="$UNWIND_LIBS $LIBS"
17323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17324 printf %s
"checking for unw_step in libunwind... " >&6; }
17325 if test ${wine_cv_have_libunwind_unw_step+y}
17327 printf %s
"(cached) " >&6
17329 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17330 /* end confdefs.h. */
17331 #define UNW_LOCAL_ONLY
17332 #include <libunwind.h>
17336 unw_cursor_t cursor; unw_step( &cursor );
17341 if ac_fn_c_try_link
"$LINENO"
17343 wine_cv_have_libunwind_unw_step
="yes"
17345 wine_cv_have_libunwind_unw_step
="no"
17347 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17348 conftest
$ac_exeext conftest.
$ac_ext
17350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17351 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17354 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS
=""
17355 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17358 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17361 CPPFLAGS
=$ac_save_CPPFLAGS
17365 aarch64
*|
*-darwin*)
17366 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17368 case "x$with_unwind" in
17369 x
) as_fn_append wine_notices
"|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17371 *) as_fn_error $?
"libunwind ${notice_platform}development files not found, stack unwinding won't work.
17372 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17378 if test "x$with_sdl" != "xno"
17381 if ${SDL2_CFLAGS:+false} :
17383 if test ${PKG_CONFIG+y}
17385 SDL2_CFLAGS
=`$PKG_CONFIG --cflags sdl2 2>conftest.err`
17389 if ${SDL2_LIBS:+false} :
17391 if test ${PKG_CONFIG+y}
17393 SDL2_LIBS
=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17397 SDL2_LIBS
=${SDL2_LIBS:-"-lSDL2"}
17398 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17399 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17400 if test -s conftest.err
; then
17401 printf %s
"$as_me:${as_lineno-$LINENO}: sdl2 errors: " >&5
17402 cat conftest.err
>&5
17405 ac_save_CPPFLAGS
=$CPPFLAGS
17406 CPPFLAGS
="$CPPFLAGS $SDL2_CFLAGS"
17407 for ac_header
in SDL.h
17409 ac_fn_c_check_header_compile
"$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17410 if test "x$ac_cv_header_SDL_h" = xyes
17412 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17414 printf %s
"checking for -lSDL2... " >&6; }
17415 if test ${ac_cv_lib_soname_SDL2+y}
17417 printf %s
"(cached) " >&6
17419 ac_check_soname_save_LIBS
=$LIBS
17420 LIBS
="-lSDL2 $SDL2_LIBS $LIBS"
17421 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17422 /* end confdefs.h. */
17424 /* Override any GCC internal prototype to avoid an error.
17425 Use char because int might match the return type of a GCC
17426 builtin and then its argument prototype would still apply. */
17431 return SDL_Init ();
17436 if ac_fn_c_try_link
"$LINENO"
17439 dll
) ac_cv_lib_soname_SDL2
=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17440 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'` ;;
17441 *) 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'`
17442 if ${ac_cv_lib_soname_SDL2:+false} :
17444 ac_cv_lib_soname_SDL2
=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17448 ac_cv_lib_soname_SDL2
=
17450 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17451 conftest
$ac_exeext conftest.
$ac_ext
17452 LIBS
=$ac_check_soname_save_LIBS
17454 if ${ac_cv_lib_soname_SDL2:+false} :
17456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17457 printf "%s\n" "not found" >&6; }
17460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17461 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17463 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17470 CPPFLAGS
=$ac_save_CPPFLAGS
17473 if test "x$ac_cv_lib_soname_SDL2" = "x"
17475 case "x$with_sdl" in
17476 x
) as_fn_append wine_notices
"|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17478 *) as_fn_error $?
"libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17479 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17484 if test "x$with_capi" != "xno"
17487 if ${CAPI20_CFLAGS:+false} :
17489 if test ${PKG_CONFIG+y}
17491 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>conftest.err`
17495 if ${CAPI20_LIBS:+false} :
17497 if test ${PKG_CONFIG+y}
17499 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
17504 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17505 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17506 if test -s conftest.err
; then
17507 printf %s
"$as_me:${as_lineno-$LINENO}: capi20 errors: " >&5
17508 cat conftest.err
>&5
17511 ac_save_CPPFLAGS
=$CPPFLAGS
17512 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
17513 ac_fn_c_check_header_compile
"$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17515 if test "x$ac_cv_header_capi20_h" = xyes
17517 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17520 ac_fn_c_check_header_compile
"$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17522 if test "x$ac_cv_header_linux_capi_h" = xyes
17524 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17528 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17531 printf %s
"checking for capi20_register in -lcapi20... " >&6; }
17532 if test ${ac_cv_lib_capi20_capi20_register+y}
17534 printf %s
"(cached) " >&6
17536 ac_check_lib_save_LIBS
=$LIBS
17537 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
17538 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17539 /* end confdefs.h. */
17541 /* Override any GCC internal prototype to avoid an error.
17542 Use char because int might match the return type of a GCC
17543 builtin and then its argument prototype would still apply. */
17544 char capi20_register ();
17548 return capi20_register ();
17553 if ac_fn_c_try_link
"$LINENO"
17555 ac_cv_lib_capi20_capi20_register
=yes
17557 ac_cv_lib_capi20_capi20_register
=no
17559 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17560 conftest
$ac_exeext conftest.
$ac_ext
17561 LIBS
=$ac_check_lib_save_LIBS
17563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17564 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17565 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17573 CPPFLAGS
=$ac_save_CPPFLAGS
17576 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17578 case "x$with_capi" in
17579 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17581 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17582 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17584 enable_capi2032
=${enable_capi2032:-no}
17587 if test "x$with_cups" != "xno"
17590 if ${CUPS_CFLAGS:+false} :
17592 if test ${PKG_CONFIG+y}
17594 CUPS_CFLAGS
=`$PKG_CONFIG --cflags cups 2>conftest.err`
17597 test "$cross_compiling" = yes || CUPS_CFLAGS
=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17598 if ${CUPS_LIBS:+false} :
17600 if test ${PKG_CONFIG+y}
17602 CUPS_LIBS
=`$PKG_CONFIG --libs cups 2>/dev/null`
17605 test "$cross_compiling" = yes || CUPS_LIBS
=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17606 CUPS_LIBS
=${CUPS_LIBS:-"-lcups"}
17607 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17608 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17609 if test -s conftest.err
; then
17610 printf %s
"$as_me:${as_lineno-$LINENO}: cups errors: " >&5
17611 cat conftest.err
>&5
17614 ac_save_CPPFLAGS
=$CPPFLAGS
17615 CPPFLAGS
="$CPPFLAGS $CUPS_CFLAGS"
17616 ac_fn_c_check_header_compile
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17617 if test "x$ac_cv_header_cups_cups_h" = xyes
17619 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17622 ac_fn_c_check_header_compile
"$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17623 if test "x$ac_cv_header_cups_ppd_h" = xyes
17625 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17629 if test "$ac_cv_header_cups_cups_h" = "yes"
17631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17632 printf %s
"checking for -lcups... " >&6; }
17633 if test ${ac_cv_lib_soname_cups+y}
17635 printf %s
"(cached) " >&6
17637 ac_check_soname_save_LIBS
=$LIBS
17638 LIBS
="-lcups $CUPS_LIBS $LIBS"
17639 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17640 /* end confdefs.h. */
17642 /* Override any GCC internal prototype to avoid an error.
17643 Use char because int might match the return type of a GCC
17644 builtin and then its argument prototype would still apply. */
17645 char cupsGetDefault ();
17649 return cupsGetDefault ();
17654 if ac_fn_c_try_link
"$LINENO"
17657 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17658 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'` ;;
17659 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17660 if ${ac_cv_lib_soname_cups:+false} :
17662 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17666 ac_cv_lib_soname_cups
=
17668 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17669 conftest
$ac_exeext conftest.
$ac_ext
17670 LIBS
=$ac_check_soname_save_LIBS
17672 if ${ac_cv_lib_soname_cups:+false} :
17674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17675 printf "%s\n" "not found" >&6; }
17678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17679 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17681 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17689 CPPFLAGS
=$ac_save_CPPFLAGS
17692 if test "x$ac_cv_lib_soname_cups" = "x"
17694 case "x$with_cups" in
17695 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17697 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
17698 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17703 if test "x$with_fontconfig" != "xno"
17706 if ${FONTCONFIG_CFLAGS:+false} :
17708 if test ${PKG_CONFIG+y}
17710 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>conftest.err`
17713 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17714 if ${FONTCONFIG_LIBS:+false} :
17716 if test ${PKG_CONFIG+y}
17718 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17721 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
17723 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17724 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17725 if test -s conftest.err
; then
17726 printf %s
"$as_me:${as_lineno-$LINENO}: fontconfig errors: " >&5
17727 cat conftest.err
>&5
17730 ac_save_CPPFLAGS
=$CPPFLAGS
17731 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
17732 ac_fn_c_check_header_compile
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17733 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17736 printf %s
"checking for -lfontconfig... " >&6; }
17737 if test ${ac_cv_lib_soname_fontconfig+y}
17739 printf %s
"(cached) " >&6
17741 ac_check_soname_save_LIBS
=$LIBS
17742 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17743 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17744 /* end confdefs.h. */
17746 /* Override any GCC internal prototype to avoid an error.
17747 Use char because int might match the return type of a GCC
17748 builtin and then its argument prototype would still apply. */
17758 if ac_fn_c_try_link
"$LINENO"
17761 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17762 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'` ;;
17763 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17764 if ${ac_cv_lib_soname_fontconfig:+false} :
17766 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17770 ac_cv_lib_soname_fontconfig
=
17772 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17773 conftest
$ac_exeext conftest.
$ac_ext
17774 LIBS
=$ac_check_soname_save_LIBS
17776 if ${ac_cv_lib_soname_fontconfig:+false} :
17778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17779 printf "%s\n" "not found" >&6; }
17780 FONTCONFIG_CFLAGS
=""
17782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17783 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17785 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17790 FONTCONFIG_CFLAGS
=""
17793 CPPFLAGS
=$ac_save_CPPFLAGS
17796 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17798 case "x$with_fontconfig" in
17799 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17801 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17802 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17807 if test "x$with_krb5" != "xno"
17810 if ${KRB5_CFLAGS:+false} :
17812 if test ${PKG_CONFIG+y}
17814 KRB5_CFLAGS
=`$PKG_CONFIG --cflags krb5 2>conftest.err`
17817 test "$cross_compiling" = yes || KRB5_CFLAGS
=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17818 if ${KRB5_LIBS:+false} :
17820 if test ${PKG_CONFIG+y}
17822 KRB5_LIBS
=`$PKG_CONFIG --libs krb5 2>/dev/null`
17825 test "$cross_compiling" = yes || KRB5_LIBS
=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17827 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17828 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17829 if test -s conftest.err
; then
17830 printf %s
"$as_me:${as_lineno-$LINENO}: krb5 errors: " >&5
17831 cat conftest.err
>&5
17834 ac_save_CPPFLAGS
=$CPPFLAGS
17835 CPPFLAGS
="$CPPFLAGS $KRB5_CFLAGS"
17836 ac_fn_c_check_header_compile
"$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17837 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17839 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17843 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17846 printf %s
"checking for -lkrb5... " >&6; }
17847 if test ${ac_cv_lib_soname_krb5+y}
17849 printf %s
"(cached) " >&6
17851 ac_check_soname_save_LIBS
=$LIBS
17852 LIBS
="-lkrb5 $KRB5_LIBS $LIBS"
17853 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17854 /* end confdefs.h. */
17856 /* Override any GCC internal prototype to avoid an error.
17857 Use char because int might match the return type of a GCC
17858 builtin and then its argument prototype would still apply. */
17859 char krb5_is_config_principal ();
17863 return krb5_is_config_principal ();
17868 if ac_fn_c_try_link
"$LINENO"
17871 dll
) ac_cv_lib_soname_krb5
=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17872 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'` ;;
17873 *) ac_cv_lib_soname_krb5
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17874 if ${ac_cv_lib_soname_krb5:+false} :
17876 ac_cv_lib_soname_krb5
=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17880 ac_cv_lib_soname_krb5
=
17882 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17883 conftest
$ac_exeext conftest.
$ac_ext
17884 LIBS
=$ac_check_soname_save_LIBS
17886 if ${ac_cv_lib_soname_krb5:+false} :
17888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17889 printf "%s\n" "not found" >&6; }
17892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
17893 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
17895 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
17902 CPPFLAGS
=$ac_save_CPPFLAGS
17905 if test "x$ac_cv_lib_soname_krb5" = "x"
17907 case "x$with_krb5" in
17908 x
) as_fn_append wine_notices
"|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
17910 *) as_fn_error $?
"libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
17911 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
17915 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi
=${with_gssapi:-no}
17917 if test "x$with_gssapi" != "xno"
17920 if ${GSSAPI_CFLAGS:+false} :
17922 if test ${PKG_CONFIG+y}
17924 GSSAPI_CFLAGS
=`$PKG_CONFIG --cflags krb5-gssapi 2>conftest.err`
17927 test "$cross_compiling" = yes || GSSAPI_CFLAGS
=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
17928 if ${GSSAPI_LIBS:+false} :
17930 if test ${PKG_CONFIG+y}
17932 GSSAPI_LIBS
=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
17935 test "$cross_compiling" = yes || GSSAPI_LIBS
=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
17937 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
17938 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
17939 if test -s conftest.err
; then
17940 printf %s
"$as_me:${as_lineno-$LINENO}: krb5-gssapi errors: " >&5
17941 cat conftest.err
>&5
17944 ac_save_CPPFLAGS
=$CPPFLAGS
17945 CPPFLAGS
="$CPPFLAGS $GSSAPI_CFLAGS"
17946 ac_fn_c_check_header_compile
"$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
17947 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
17949 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
17952 ac_fn_c_check_header_compile
"$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
17953 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
17955 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
17959 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
17961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
17962 printf %s
"checking for -lgssapi_krb5... " >&6; }
17963 if test ${ac_cv_lib_soname_gssapi_krb5+y}
17965 printf %s
"(cached) " >&6
17967 ac_check_soname_save_LIBS
=$LIBS
17968 LIBS
="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
17969 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17970 /* end confdefs.h. */
17972 /* Override any GCC internal prototype to avoid an error.
17973 Use char because int might match the return type of a GCC
17974 builtin and then its argument prototype would still apply. */
17975 char gss_init_sec_context ();
17979 return gss_init_sec_context ();
17984 if ac_fn_c_try_link
"$LINENO"
17987 dll
) ac_cv_lib_soname_gssapi_krb5
=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17988 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'` ;;
17989 *) 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'`
17990 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
17992 ac_cv_lib_soname_gssapi_krb5
=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17996 ac_cv_lib_soname_gssapi_krb5
=
17998 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17999 conftest
$ac_exeext conftest.
$ac_ext
18000 LIBS
=$ac_check_soname_save_LIBS
18002 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18005 printf "%s\n" "not found" >&6; }
18008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18009 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18011 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18018 CPPFLAGS
=$ac_save_CPPFLAGS
18021 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18023 case "x$with_gssapi" in
18024 x
) as_fn_append wine_notices
"|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18026 *) as_fn_error $?
"libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18027 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18032 if test "$ac_cv_header_libprocstat_h" = "yes"
18034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18035 printf %s
"checking for procstat_open_sysctl in -lprocstat... " >&6; }
18036 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18038 printf %s
"(cached) " >&6
18040 ac_check_lib_save_LIBS
=$LIBS
18041 LIBS
="-lprocstat $LIBS"
18042 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18043 /* end confdefs.h. */
18045 /* Override any GCC internal prototype to avoid an error.
18046 Use char because int might match the return type of a GCC
18047 builtin and then its argument prototype would still apply. */
18048 char procstat_open_sysctl ();
18052 return procstat_open_sysctl ();
18057 if ac_fn_c_try_link
"$LINENO"
18059 ac_cv_lib_procstat_procstat_open_sysctl
=yes
18061 ac_cv_lib_procstat_procstat_open_sysctl
=no
18063 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18064 conftest
$ac_exeext conftest.
$ac_ext
18065 LIBS
=$ac_check_lib_save_LIBS
18067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18068 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18069 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18072 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18074 PROCSTAT_LIBS
="-lprocstat"
18080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18081 printf %s
"checking for -lodbc... " >&6; }
18082 if test ${ac_cv_lib_soname_odbc+y}
18084 printf %s
"(cached) " >&6
18086 ac_check_soname_save_LIBS
=$LIBS
18087 LIBS
="-lodbc $LIBS"
18088 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18089 /* end confdefs.h. */
18091 /* Override any GCC internal prototype to avoid an error.
18092 Use char because int might match the return type of a GCC
18093 builtin and then its argument prototype would still apply. */
18094 char SQLConnect ();
18098 return SQLConnect ();
18103 if ac_fn_c_try_link
"$LINENO"
18106 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18107 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'` ;;
18108 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18109 if ${ac_cv_lib_soname_odbc:+false} :
18111 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18115 ac_cv_lib_soname_odbc
=
18117 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18118 conftest
$ac_exeext conftest.
$ac_ext
18119 LIBS
=$ac_check_soname_save_LIBS
18121 if ${ac_cv_lib_soname_odbc:+false} :
18123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18124 printf "%s\n" "not found" >&6; }
18125 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18129 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18131 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18136 if test "x$with_netapi" != "xno"
18139 if ${NETAPI_CFLAGS:+false} :
18141 if test ${PKG_CONFIG+y}
18143 NETAPI_CFLAGS
=`$PKG_CONFIG --cflags netapi 2>conftest.err`
18147 if ${NETAPI_LIBS:+false} :
18149 if test ${PKG_CONFIG+y}
18151 NETAPI_LIBS
=`$PKG_CONFIG --libs netapi 2>/dev/null`
18156 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18157 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18158 if test -s conftest.err
; then
18159 printf %s
"$as_me:${as_lineno-$LINENO}: netapi errors: " >&5
18160 cat conftest.err
>&5
18163 ac_save_CPPFLAGS
=$CPPFLAGS
18164 CPPFLAGS
="$CPPFLAGS $NETAPI_CFLAGS"
18165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18166 printf %s
"checking for -lnetapi... " >&6; }
18167 if test ${ac_cv_lib_soname_netapi+y}
18169 printf %s
"(cached) " >&6
18171 ac_check_soname_save_LIBS
=$LIBS
18172 LIBS
="-lnetapi $NETAPI_LIBS $LIBS"
18173 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18174 /* end confdefs.h. */
18176 /* Override any GCC internal prototype to avoid an error.
18177 Use char because int might match the return type of a GCC
18178 builtin and then its argument prototype would still apply. */
18179 char libnetapi_init ();
18183 return libnetapi_init ();
18188 if ac_fn_c_try_link
"$LINENO"
18191 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18192 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'` ;;
18193 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18194 if ${ac_cv_lib_soname_netapi:+false} :
18196 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18200 ac_cv_lib_soname_netapi
=
18202 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18203 conftest
$ac_exeext conftest.
$ac_ext
18204 LIBS
=$ac_check_soname_save_LIBS
18206 if ${ac_cv_lib_soname_netapi:+false} :
18208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18209 printf "%s\n" "not found" >&6; }
18210 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18214 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18216 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18220 CPPFLAGS
=$ac_save_CPPFLAGS
18223 if test "x$ac_cv_lib_soname_netapi" = "x"
18225 case "x$with_netapi" in
18226 x
) as_fn_append wine_notices
"|libnetapi not found, Samba NetAPI won't be supported." ;;
18228 *) as_fn_error $?
"libnetapi not found, Samba NetAPI won't be supported.
18229 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18231 enable_netapi
=${enable_netapi:-no}
18235 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono
-a \
18236 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18238 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
18241 if test "x$with_vulkan" != "xno"
18243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18244 printf %s
"checking for -lvulkan... " >&6; }
18245 if test ${ac_cv_lib_soname_vulkan+y}
18247 printf %s
"(cached) " >&6
18249 ac_check_soname_save_LIBS
=$LIBS
18250 LIBS
="-lvulkan $LIBS"
18251 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18252 /* end confdefs.h. */
18254 /* Override any GCC internal prototype to avoid an error.
18255 Use char because int might match the return type of a GCC
18256 builtin and then its argument prototype would still apply. */
18257 char vkGetInstanceProcAddr ();
18261 return vkGetInstanceProcAddr ();
18266 if ac_fn_c_try_link
"$LINENO"
18269 dll
) ac_cv_lib_soname_vulkan
=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18270 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'` ;;
18271 *) ac_cv_lib_soname_vulkan
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18272 if ${ac_cv_lib_soname_vulkan:+false} :
18274 ac_cv_lib_soname_vulkan
=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18278 ac_cv_lib_soname_vulkan
=
18280 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18281 conftest
$ac_exeext conftest.
$ac_ext
18282 LIBS
=$ac_check_soname_save_LIBS
18284 if ${ac_cv_lib_soname_vulkan:+false} :
18286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18287 printf "%s\n" "not found" >&6; }
18290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18291 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18293 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18297 if test "x$ac_cv_lib_soname_vulkan" = "x"
18299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18300 printf %s
"checking for -lMoltenVK... " >&6; }
18301 if test ${ac_cv_lib_soname_MoltenVK+y}
18303 printf %s
"(cached) " >&6
18305 ac_check_soname_save_LIBS
=$LIBS
18306 LIBS
="-lMoltenVK $LIBS"
18307 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18308 /* end confdefs.h. */
18310 /* Override any GCC internal prototype to avoid an error.
18311 Use char because int might match the return type of a GCC
18312 builtin and then its argument prototype would still apply. */
18313 char vkGetInstanceProcAddr ();
18317 return vkGetInstanceProcAddr ();
18322 if ac_fn_c_try_link
"$LINENO"
18325 dll
) ac_cv_lib_soname_MoltenVK
=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18326 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'` ;;
18327 *) ac_cv_lib_soname_MoltenVK
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18328 if ${ac_cv_lib_soname_MoltenVK:+false} :
18330 ac_cv_lib_soname_MoltenVK
=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18334 ac_cv_lib_soname_MoltenVK
=
18336 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18337 conftest
$ac_exeext conftest.
$ac_ext
18338 LIBS
=$ac_check_soname_save_LIBS
18340 if ${ac_cv_lib_soname_MoltenVK:+false} :
18342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18343 printf "%s\n" "not found" >&6; }
18346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18347 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18349 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18355 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18357 case "x$with_vulkan" in
18358 x
) as_fn_append wine_notices
"|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18360 *) as_fn_error $?
"libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18361 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18367 if test "x${GCC}" = "xyes"
18369 EXTRACFLAGS
="$EXTRACFLAGS -Wall -pipe"
18371 saved_CFLAGS
=$CFLAGS
18372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18373 printf %s
"checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18374 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18376 printf %s
"(cached) " >&6
18378 ac_wine_try_cflags_saved
=$CFLAGS
18379 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
18380 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18381 /* end confdefs.h. */
18382 int main(int argc, char **argv) { return 0; }
18384 if ac_fn_c_try_link
"$LINENO"
18386 ac_cv_cflags__Werror_unknown_warning_option
=yes
18388 ac_cv_cflags__Werror_unknown_warning_option
=no
18390 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18391 conftest
$ac_exeext conftest.
$ac_ext
18392 CFLAGS
=$ac_wine_try_cflags_saved
18394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18395 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18396 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18398 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
18400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18401 printf %s
"checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18402 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18404 printf %s
"(cached) " >&6
18406 ac_wine_try_cflags_saved
=$CFLAGS
18407 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
18408 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18409 /* end confdefs.h. */
18410 int main(int argc, char **argv) { return 0; }
18412 if ac_fn_c_try_link
"$LINENO"
18414 ac_cv_cflags__Werror_unused_command_line_argument
=yes
18416 ac_cv_cflags__Werror_unused_command_line_argument
=no
18418 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18419 conftest
$ac_exeext conftest.
$ac_ext
18420 CFLAGS
=$ac_wine_try_cflags_saved
18422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18423 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18424 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18426 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
18428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18429 printf %s
"checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18430 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18432 printf %s
"(cached) " >&6
18434 ac_wine_try_cflags_saved
=$CFLAGS
18435 CFLAGS
="$CFLAGS -Werror=ignored-optimization-argument"
18436 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18437 /* end confdefs.h. */
18438 int main(int argc, char **argv) { return 0; }
18440 if ac_fn_c_try_link
"$LINENO"
18442 ac_cv_cflags__Werror_ignored_optimization_argument
=yes
18444 ac_cv_cflags__Werror_ignored_optimization_argument
=no
18446 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18447 conftest
$ac_exeext conftest.
$ac_ext
18448 CFLAGS
=$ac_wine_try_cflags_saved
18450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18451 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18452 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18454 CFLAGS
="$CFLAGS -Werror=ignored-optimization-argument"
18456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18457 printf %s
"checking whether the compiler supports -fcf-protection=none... " >&6; }
18458 if test ${ac_cv_cflags__fcf_protection_none+y}
18460 printf %s
"(cached) " >&6
18462 ac_wine_try_cflags_saved
=$CFLAGS
18463 CFLAGS
="$CFLAGS -fcf-protection=none"
18464 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18465 /* end confdefs.h. */
18466 int main(int argc, char **argv) { return 0; }
18468 if ac_fn_c_try_link
"$LINENO"
18470 ac_cv_cflags__fcf_protection_none
=yes
18472 ac_cv_cflags__fcf_protection_none
=no
18474 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18475 conftest
$ac_exeext conftest.
$ac_ext
18476 CFLAGS
=$ac_wine_try_cflags_saved
18478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18479 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18480 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18482 EXTRACFLAGS
="$EXTRACFLAGS -fcf-protection=none"
18484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18485 printf %s
"checking whether the compiler supports -fno-stack-protector... " >&6; }
18486 if test ${ac_cv_cflags__fno_stack_protector+y}
18488 printf %s
"(cached) " >&6
18490 ac_wine_try_cflags_saved
=$CFLAGS
18491 CFLAGS
="$CFLAGS -fno-stack-protector"
18492 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18493 /* end confdefs.h. */
18494 int main(int argc, char **argv) { return 0; }
18496 if ac_fn_c_try_link
"$LINENO"
18498 ac_cv_cflags__fno_stack_protector
=yes
18500 ac_cv_cflags__fno_stack_protector
=no
18502 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18503 conftest
$ac_exeext conftest.
$ac_ext
18504 CFLAGS
=$ac_wine_try_cflags_saved
18506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18507 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18508 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18510 EXTRACFLAGS
="$EXTRACFLAGS -fno-stack-protector"
18512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18513 printf %s
"checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18514 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18516 printf %s
"(cached) " >&6
18518 ac_wine_try_cflags_saved
=$CFLAGS
18519 CFLAGS
="$CFLAGS -fno-strict-aliasing"
18520 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18521 /* end confdefs.h. */
18522 int main(int argc, char **argv) { return 0; }
18524 if ac_fn_c_try_link
"$LINENO"
18526 ac_cv_cflags__fno_strict_aliasing
=yes
18528 ac_cv_cflags__fno_strict_aliasing
=no
18530 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18531 conftest
$ac_exeext conftest.
$ac_ext
18532 CFLAGS
=$ac_wine_try_cflags_saved
18534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18535 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18536 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18538 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
18540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18541 printf %s
"checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18542 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18544 printf %s
"(cached) " >&6
18546 ac_wine_try_cflags_saved
=$CFLAGS
18547 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
18548 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18549 /* end confdefs.h. */
18550 int main(int argc, char **argv) { return 0; }
18552 if ac_fn_c_try_link
"$LINENO"
18554 ac_cv_cflags__Wdeclaration_after_statement
=yes
18556 ac_cv_cflags__Wdeclaration_after_statement
=no
18558 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18559 conftest
$ac_exeext conftest.
$ac_ext
18560 CFLAGS
=$ac_wine_try_cflags_saved
18562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18563 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18564 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18566 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
18568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18569 printf %s
"checking whether the compiler supports -Wempty-body... " >&6; }
18570 if test ${ac_cv_cflags__Wempty_body+y}
18572 printf %s
"(cached) " >&6
18574 ac_wine_try_cflags_saved
=$CFLAGS
18575 CFLAGS
="$CFLAGS -Wempty-body"
18576 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18577 /* end confdefs.h. */
18578 int main(int argc, char **argv) { return 0; }
18580 if ac_fn_c_try_link
"$LINENO"
18582 ac_cv_cflags__Wempty_body
=yes
18584 ac_cv_cflags__Wempty_body
=no
18586 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18587 conftest
$ac_exeext conftest.
$ac_ext
18588 CFLAGS
=$ac_wine_try_cflags_saved
18590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18591 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18592 if test "x$ac_cv_cflags__Wempty_body" = xyes
18594 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
18596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18597 printf %s
"checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18598 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18600 printf %s
"(cached) " >&6
18602 ac_wine_try_cflags_saved
=$CFLAGS
18603 CFLAGS
="$CFLAGS -Wignored-qualifiers"
18604 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18605 /* end confdefs.h. */
18606 int main(int argc, char **argv) { return 0; }
18608 if ac_fn_c_try_link
"$LINENO"
18610 ac_cv_cflags__Wignored_qualifiers
=yes
18612 ac_cv_cflags__Wignored_qualifiers
=no
18614 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18615 conftest
$ac_exeext conftest.
$ac_ext
18616 CFLAGS
=$ac_wine_try_cflags_saved
18618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18619 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18620 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18622 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
18624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18625 printf %s
"checking whether the compiler supports -Winit-self... " >&6; }
18626 if test ${ac_cv_cflags__Winit_self+y}
18628 printf %s
"(cached) " >&6
18630 ac_wine_try_cflags_saved
=$CFLAGS
18631 CFLAGS
="$CFLAGS -Winit-self"
18632 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18633 /* end confdefs.h. */
18634 int main(int argc, char **argv) { return 0; }
18636 if ac_fn_c_try_link
"$LINENO"
18638 ac_cv_cflags__Winit_self
=yes
18640 ac_cv_cflags__Winit_self
=no
18642 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18643 conftest
$ac_exeext conftest.
$ac_ext
18644 CFLAGS
=$ac_wine_try_cflags_saved
18646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18647 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18648 if test "x$ac_cv_cflags__Winit_self" = xyes
18650 EXTRACFLAGS
="$EXTRACFLAGS -Winit-self"
18652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18653 printf %s
"checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18654 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18656 printf %s
"(cached) " >&6
18658 ac_wine_try_cflags_saved
=$CFLAGS
18659 CFLAGS
="$CFLAGS -Wpacked-not-aligned"
18660 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18661 /* end confdefs.h. */
18662 int main(int argc, char **argv) { return 0; }
18664 if ac_fn_c_try_link
"$LINENO"
18666 ac_cv_cflags__Wpacked_not_aligned
=yes
18668 ac_cv_cflags__Wpacked_not_aligned
=no
18670 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18671 conftest
$ac_exeext conftest.
$ac_ext
18672 CFLAGS
=$ac_wine_try_cflags_saved
18674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18675 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18676 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18678 EXTRACFLAGS
="$EXTRACFLAGS -Wno-packed-not-aligned"
18680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18681 printf %s
"checking whether the compiler supports -Wpragma-pack... " >&6; }
18682 if test ${ac_cv_cflags__Wpragma_pack+y}
18684 printf %s
"(cached) " >&6
18686 ac_wine_try_cflags_saved
=$CFLAGS
18687 CFLAGS
="$CFLAGS -Wpragma-pack"
18688 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18689 /* end confdefs.h. */
18690 int main(int argc, char **argv) { return 0; }
18692 if ac_fn_c_try_link
"$LINENO"
18694 ac_cv_cflags__Wpragma_pack
=yes
18696 ac_cv_cflags__Wpragma_pack
=no
18698 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18699 conftest
$ac_exeext conftest.
$ac_ext
18700 CFLAGS
=$ac_wine_try_cflags_saved
18702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18703 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18704 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18706 EXTRACFLAGS
="$EXTRACFLAGS -Wno-pragma-pack"
18708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18709 printf %s
"checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18710 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18712 printf %s
"(cached) " >&6
18714 ac_wine_try_cflags_saved
=$CFLAGS
18715 CFLAGS
="$CFLAGS -Wshift-overflow=2"
18716 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18717 /* end confdefs.h. */
18718 int main(int argc, char **argv) { return 0; }
18720 if ac_fn_c_try_link
"$LINENO"
18722 ac_cv_cflags__Wshift_overflow_2
=yes
18724 ac_cv_cflags__Wshift_overflow_2
=no
18726 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18727 conftest
$ac_exeext conftest.
$ac_ext
18728 CFLAGS
=$ac_wine_try_cflags_saved
18730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18731 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18732 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18734 EXTRACFLAGS
="$EXTRACFLAGS -Wshift-overflow=2"
18736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18737 printf %s
"checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18738 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18740 printf %s
"(cached) " >&6
18742 ac_wine_try_cflags_saved
=$CFLAGS
18743 CFLAGS
="$CFLAGS -Wstrict-prototypes"
18744 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18745 /* end confdefs.h. */
18746 int main(int argc, char **argv) { return 0; }
18748 if ac_fn_c_try_link
"$LINENO"
18750 ac_cv_cflags__Wstrict_prototypes
=yes
18752 ac_cv_cflags__Wstrict_prototypes
=no
18754 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18755 conftest
$ac_exeext conftest.
$ac_ext
18756 CFLAGS
=$ac_wine_try_cflags_saved
18758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18759 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18760 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18762 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
18764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18765 printf %s
"checking whether the compiler supports -Wtype-limits... " >&6; }
18766 if test ${ac_cv_cflags__Wtype_limits+y}
18768 printf %s
"(cached) " >&6
18770 ac_wine_try_cflags_saved
=$CFLAGS
18771 CFLAGS
="$CFLAGS -Wtype-limits"
18772 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18773 /* end confdefs.h. */
18774 int main(int argc, char **argv) { return 0; }
18776 if ac_fn_c_try_link
"$LINENO"
18778 ac_cv_cflags__Wtype_limits
=yes
18780 ac_cv_cflags__Wtype_limits
=no
18782 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18783 conftest
$ac_exeext conftest.
$ac_ext
18784 CFLAGS
=$ac_wine_try_cflags_saved
18786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18787 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18788 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18790 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
18792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18793 printf %s
"checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18794 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18796 printf %s
"(cached) " >&6
18798 ac_wine_try_cflags_saved
=$CFLAGS
18799 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
18800 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18801 /* end confdefs.h. */
18802 int main(int argc, char **argv) { return 0; }
18804 if ac_fn_c_try_link
"$LINENO"
18806 ac_cv_cflags__Wunused_but_set_parameter
=yes
18808 ac_cv_cflags__Wunused_but_set_parameter
=no
18810 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18811 conftest
$ac_exeext conftest.
$ac_ext
18812 CFLAGS
=$ac_wine_try_cflags_saved
18814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
18815 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
18816 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
18818 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
18820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
18821 printf %s
"checking whether the compiler supports -Wvla... " >&6; }
18822 if test ${ac_cv_cflags__Wvla+y}
18824 printf %s
"(cached) " >&6
18826 ac_wine_try_cflags_saved
=$CFLAGS
18827 CFLAGS
="$CFLAGS -Wvla"
18828 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18829 /* end confdefs.h. */
18830 int main(int argc, char **argv) { return 0; }
18832 if ac_fn_c_try_link
"$LINENO"
18834 ac_cv_cflags__Wvla
=yes
18836 ac_cv_cflags__Wvla
=no
18838 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18839 conftest
$ac_exeext conftest.
$ac_ext
18840 CFLAGS
=$ac_wine_try_cflags_saved
18842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
18843 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
18844 if test "x$ac_cv_cflags__Wvla" = xyes
18846 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
18848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
18849 printf %s
"checking whether the compiler supports -Wwrite-strings... " >&6; }
18850 if test ${ac_cv_cflags__Wwrite_strings+y}
18852 printf %s
"(cached) " >&6
18854 ac_wine_try_cflags_saved
=$CFLAGS
18855 CFLAGS
="$CFLAGS -Wwrite-strings"
18856 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18857 /* end confdefs.h. */
18858 int main(int argc, char **argv) { return 0; }
18860 if ac_fn_c_try_link
"$LINENO"
18862 ac_cv_cflags__Wwrite_strings
=yes
18864 ac_cv_cflags__Wwrite_strings
=no
18866 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18867 conftest
$ac_exeext conftest.
$ac_ext
18868 CFLAGS
=$ac_wine_try_cflags_saved
18870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
18871 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
18872 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
18874 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
18877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
18878 printf %s
"checking whether the compiler supports -Wpointer-arith... " >&6; }
18879 if test ${ac_cv_cflags__Wpointer_arith+y}
18881 printf %s
"(cached) " >&6
18883 ac_wine_try_cflags_saved
=$CFLAGS
18884 CFLAGS
="$CFLAGS -Wpointer-arith"
18885 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18886 /* end confdefs.h. */
18887 int main(int argc, char **argv) { return 0; }
18889 if ac_fn_c_try_link
"$LINENO"
18891 ac_cv_cflags__Wpointer_arith
=yes
18893 ac_cv_cflags__Wpointer_arith
=no
18895 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18896 conftest
$ac_exeext conftest.
$ac_ext
18897 CFLAGS
=$ac_wine_try_cflags_saved
18899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
18900 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
18901 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
18903 saved_string_h_CFLAGS
=$CFLAGS
18904 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
18905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
18906 printf %s
"checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
18907 if test ${ac_cv_c_string_h_warnings+y}
18909 printf %s
"(cached) " >&6
18911 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18912 /* end confdefs.h. */
18913 #include <string.h>
18922 if ac_fn_c_try_compile
"$LINENO"
18924 ac_cv_c_string_h_warnings
=no
18926 ac_cv_c_string_h_warnings
=yes
18928 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
18930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
18931 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
18932 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
18933 CFLAGS
=$saved_string_h_CFLAGS
18936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
18937 printf %s
"checking whether the compiler supports -Wlogical-op... " >&6; }
18938 if test ${ac_cv_cflags__Wlogical_op+y}
18940 printf %s
"(cached) " >&6
18942 ac_wine_try_cflags_saved
=$CFLAGS
18943 CFLAGS
="$CFLAGS -Wlogical-op"
18944 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18945 /* end confdefs.h. */
18946 int main(int argc, char **argv) { return 0; }
18948 if ac_fn_c_try_link
"$LINENO"
18950 ac_cv_cflags__Wlogical_op
=yes
18952 ac_cv_cflags__Wlogical_op
=no
18954 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18955 conftest
$ac_exeext conftest.
$ac_ext
18956 CFLAGS
=$ac_wine_try_cflags_saved
18958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
18959 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
18960 if test "x$ac_cv_cflags__Wlogical_op" = xyes
18962 saved_string_h_CFLAGS
=$CFLAGS
18963 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
18964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
18965 printf %s
"checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
18966 if test ${ac_cv_c_logicalop_noisy+y}
18968 printf %s
"(cached) " >&6
18970 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18971 /* end confdefs.h. */
18972 #include <string.h>
18973 char*f(const char *h,char n) {return strchr(h,n);}
18982 if ac_fn_c_try_compile
"$LINENO"
18984 ac_cv_c_logicalop_noisy
=no
18986 ac_cv_c_logicalop_noisy
=yes
18988 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
18990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
18991 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
18992 CFLAGS
=$saved_string_h_CFLAGS
18993 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
18996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
18997 printf %s
"checking for flags needed for 64-bit compare-and-swap support... " >&6; }
18998 if test ${wine_cv_64bit_compare_swap+y}
19000 printf %s
"(cached) " >&6
19002 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19003 /* end confdefs.h. */
19004 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19015 if ac_fn_c_try_compile
"$LINENO"
19017 wine_cv_64bit_compare_swap
="none needed"
19020 *i
[3456]86*) wine_cv_64bit_compare_swap
="-march=i586" ;;
19021 *arm
*) wine_cv_64bit_compare_swap
="-march=armv7-a" ;;
19022 *) wine_cv_64bit_compare_swap
="unknown" ;;
19024 if test "x$wine_cv_64bit_compare_swap" != xunknown
19026 CFLAGS
="$CFLAGS $wine_cv_64bit_compare_swap"
19027 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19028 /* end confdefs.h. */
19029 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19040 if ac_fn_c_try_compile
"$LINENO"
19044 wine_cv_64bit_compare_swap
="unknown"
19046 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19047 CFLAGS
=$saved_CFLAGS
19050 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19053 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19054 case "$wine_cv_64bit_compare_swap" in
19055 unknown
) as_fn_error $?
"gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19057 *) EXTRACFLAGS
="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19060 ac_debug_format_seen
=""
19061 for ac_flag
in $CFLAGS; do
19063 -gdwarf*) ac_debug_format_seen
=yes ;;
19064 -g) ac_debug_format_seen
=${ac_debug_format_seen:-default} ;;
19067 if test "x$ac_debug_format_seen" = xdefault
19069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19070 printf %s
"checking whether the compiler supports -gdwarf-4... " >&6; }
19071 if test ${ac_cv_cflags__gdwarf_4+y}
19073 printf %s
"(cached) " >&6
19075 ac_wine_try_cflags_saved
=$CFLAGS
19076 CFLAGS
="$CFLAGS -gdwarf-4"
19077 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19078 /* end confdefs.h. */
19079 int main(int argc, char **argv) { return 0; }
19081 if ac_fn_c_try_link
"$LINENO"
19083 ac_cv_cflags__gdwarf_4
=yes
19085 ac_cv_cflags__gdwarf_4
=no
19087 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19088 conftest
$ac_exeext conftest.
$ac_ext
19089 CFLAGS
=$ac_wine_try_cflags_saved
19091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19092 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19093 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19095 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-4"
19102 mingw32
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19103 printf %s
"checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19104 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19106 printf %s
"(cached) " >&6
19108 ac_wine_try_cflags_saved
=$CFLAGS
19109 CFLAGS
="$CFLAGS -Wl,-delayload,autoconftest.dll"
19110 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19111 /* end confdefs.h. */
19112 int main(int argc, char **argv) { return 0; }
19114 if ac_fn_c_try_link
"$LINENO"
19116 ac_cv_cflags__Wl__delayload_autoconftest_dll
=yes
19118 ac_cv_cflags__Wl__delayload_autoconftest_dll
=no
19120 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19121 conftest
$ac_exeext conftest.
$ac_ext
19122 CFLAGS
=$ac_wine_try_cflags_saved
19124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19125 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19126 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19128 DELAYLOADFLAG
="-Wl,-delayload,"
19131 *) MSVCRTFLAGS
="-D_WIN32"
19132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19133 printf %s
"checking whether the compiler supports -fno-builtin... " >&6; }
19134 if test ${ac_cv_cflags__fno_builtin+y}
19136 printf %s
"(cached) " >&6
19138 ac_wine_try_cflags_saved
=$CFLAGS
19139 CFLAGS
="$CFLAGS -fno-builtin"
19140 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19141 /* end confdefs.h. */
19142 int main(int argc, char **argv) { return 0; }
19144 if ac_fn_c_try_link
"$LINENO"
19146 ac_cv_cflags__fno_builtin
=yes
19148 ac_cv_cflags__fno_builtin
=no
19150 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19151 conftest
$ac_exeext conftest.
$ac_ext
19152 CFLAGS
=$ac_wine_try_cflags_saved
19154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19155 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19156 if test "x$ac_cv_cflags__fno_builtin" = xyes
19158 MSVCRTFLAGS
="$MSVCRTFLAGS -fno-builtin"
19160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19161 printf %s
"checking whether the compiler supports -fshort-wchar... " >&6; }
19162 if test ${ac_cv_cflags__fshort_wchar+y}
19164 printf %s
"(cached) " >&6
19166 ac_wine_try_cflags_saved
=$CFLAGS
19167 CFLAGS
="$CFLAGS -fshort-wchar"
19168 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19169 /* end confdefs.h. */
19170 int main(int argc, char **argv) { return 0; }
19172 if ac_fn_c_try_link
"$LINENO"
19174 ac_cv_cflags__fshort_wchar
=yes
19176 ac_cv_cflags__fshort_wchar
=no
19178 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19179 conftest
$ac_exeext conftest.
$ac_ext
19180 CFLAGS
=$ac_wine_try_cflags_saved
19182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19183 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19184 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19186 MSVCRTFLAGS
="$MSVCRTFLAGS -fshort-wchar"
19188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fvisibility=hidden" >&5
19189 printf %s
"checking whether the compiler supports -fvisibility=hidden... " >&6; }
19190 if test ${ac_cv_cflags__fvisibility_hidden+y}
19192 printf %s
"(cached) " >&6
19194 ac_wine_try_cflags_saved
=$CFLAGS
19195 CFLAGS
="$CFLAGS -fvisibility=hidden"
19196 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19197 /* end confdefs.h. */
19198 int main(int argc, char **argv) { return 0; }
19200 if ac_fn_c_try_link
"$LINENO"
19202 ac_cv_cflags__fvisibility_hidden
=yes
19204 ac_cv_cflags__fvisibility_hidden
=no
19206 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19207 conftest
$ac_exeext conftest.
$ac_ext
19208 CFLAGS
=$ac_wine_try_cflags_saved
19210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fvisibility_hidden" >&5
19211 printf "%s\n" "$ac_cv_cflags__fvisibility_hidden" >&6; }
19212 if test "x$ac_cv_cflags__fvisibility_hidden" = xyes
19214 MSVCRTFLAGS
="$MSVCRTFLAGS -fvisibility=hidden"
19216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19217 printf %s
"checking whether the compiler supports -Wno-format... " >&6; }
19218 if test ${ac_cv_cflags__Wno_format+y}
19220 printf %s
"(cached) " >&6
19222 ac_wine_try_cflags_saved
=$CFLAGS
19223 CFLAGS
="$CFLAGS -Wno-format"
19224 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19225 /* end confdefs.h. */
19226 int main(int argc, char **argv) { return 0; }
19228 if ac_fn_c_try_link
"$LINENO"
19230 ac_cv_cflags__Wno_format
=yes
19232 ac_cv_cflags__Wno_format
=no
19234 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19235 conftest
$ac_exeext conftest.
$ac_ext
19236 CFLAGS
=$ac_wine_try_cflags_saved
19238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19239 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19240 if test "x$ac_cv_cflags__Wno_format" = xyes
19242 MSVCRTFLAGS
="$MSVCRTFLAGS -Wno-format"
19247 *i
[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19248 printf %s
"checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19249 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19251 printf %s
"(cached) " >&6
19253 ac_wine_try_cflags_saved
=$CFLAGS
19254 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
19255 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19256 /* end confdefs.h. */
19257 int main(int argc, char **argv) { return 0; }
19259 if ac_fn_c_try_link
"$LINENO"
19261 ac_cv_cflags__fno_omit_frame_pointer
=yes
19263 ac_cv_cflags__fno_omit_frame_pointer
=no
19265 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19266 conftest
$ac_exeext conftest.
$ac_ext
19267 CFLAGS
=$ac_wine_try_cflags_saved
19269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19270 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19271 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19273 MSVCRTFLAGS
="$MSVCRTFLAGS -fno-omit-frame-pointer"
19277 cygwin
*|mingw32
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19278 printf %s
"checking whether the compiler supports -Wno-format... " >&6; }
19279 if test ${ac_cv_cflags__Wno_format+y}
19281 printf %s
"(cached) " >&6
19283 ac_wine_try_cflags_saved
=$CFLAGS
19284 CFLAGS
="$CFLAGS -Wno-format"
19285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19286 /* end confdefs.h. */
19287 int main(int argc, char **argv) { return 0; }
19289 if ac_fn_c_try_link
"$LINENO"
19291 ac_cv_cflags__Wno_format
=yes
19293 ac_cv_cflags__Wno_format
=no
19295 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19296 conftest
$ac_exeext conftest.
$ac_ext
19297 CFLAGS
=$ac_wine_try_cflags_saved
19299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19300 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19301 if test "x$ac_cv_cflags__Wno_format" = xyes
19303 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
19305 *) if test -z "$PE_ARCHS"
19307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19308 printf %s
"checking for working -mabi=ms... " >&6; }
19309 if test ${ac_cv_mabi_ms+y}
19311 printf %s
"(cached) " >&6
19313 CFLAGS
="$CFLAGS -mabi=ms"
19314 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19315 /* end confdefs.h. */
19316 #include <stdarg.h>
19317 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19326 if ac_fn_c_try_compile
"$LINENO"
19332 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19333 CFLAGS
=$saved_CFLAGS
19335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19336 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19337 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
19339 MSVCRTFLAGS
="$MSVCRTFLAGS -mabi=ms" ;;
19342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19343 printf %s
"checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19344 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19346 printf %s
"(cached) " >&6
19348 ac_wine_try_cflags_saved
=$CFLAGS
19349 CFLAGS
="$CFLAGS -Wincompatible-function-pointer-types"
19350 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19351 /* end confdefs.h. */
19352 int main(int argc, char **argv) { return 0; }
19354 if ac_fn_c_try_link
"$LINENO"
19356 ac_cv_cflags__Wincompatible_function_pointer_types
=yes
19358 ac_cv_cflags__Wincompatible_function_pointer_types
=no
19360 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19361 conftest
$ac_exeext conftest.
$ac_ext
19362 CFLAGS
=$ac_wine_try_cflags_saved
19364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
19365 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19366 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19368 EXTRACFLAGS
="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19372 CFLAGS
=$saved_CFLAGS
19374 if test "x$enable_werror" = "xyes"
19376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19377 printf %s
"checking whether the compiler supports -Werror... " >&6; }
19378 if test ${ac_cv_cflags__Werror+y}
19380 printf %s
"(cached) " >&6
19382 ac_wine_try_cflags_saved
=$CFLAGS
19383 CFLAGS
="$CFLAGS -Werror"
19384 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19385 /* end confdefs.h. */
19386 int main(int argc, char **argv) { return 0; }
19388 if ac_fn_c_try_link
"$LINENO"
19390 ac_cv_cflags__Werror
=yes
19392 ac_cv_cflags__Werror
=no
19394 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19395 conftest
$ac_exeext conftest.
$ac_ext
19396 CFLAGS
=$ac_wine_try_cflags_saved
19398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19399 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19400 if test "x$ac_cv_cflags__Werror" = xyes
19402 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
19405 if test "x$enable_build_id" = "xyes"
19407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19408 printf %s
"checking whether the compiler supports -Wl,--build-id... " >&6; }
19409 if test ${ac_cv_cflags__Wl___build_id+y}
19411 printf %s
"(cached) " >&6
19413 ac_wine_try_cflags_saved
=$CFLAGS
19414 CFLAGS
="$CFLAGS -Wl,--build-id"
19415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19416 /* end confdefs.h. */
19417 int main(int argc, char **argv) { return 0; }
19419 if ac_fn_c_try_link
"$LINENO"
19421 ac_cv_cflags__Wl___build_id
=yes
19423 ac_cv_cflags__Wl___build_id
=no
19425 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19426 conftest
$ac_exeext conftest.
$ac_ext
19427 CFLAGS
=$ac_wine_try_cflags_saved
19429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19430 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19431 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19433 CFLAGS
="$CFLAGS -Wl,--build-id"
19434 LDFLAGS
="$LDFLAGS -Wl,--build-id"
19440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19441 printf %s
"checking for the need to disable Fortify... " >&6; }
19442 if test ${ac_cv_c_fortify_enabled+y}
19444 printf %s
"(cached) " >&6
19446 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19447 /* end confdefs.h. */
19448 #include <string.h>
19452 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19453 #error Fortify enabled
19459 if ac_fn_c_try_compile
"$LINENO"
19461 ac_cv_c_fortify_enabled
=no
19463 ac_cv_c_fortify_enabled
=yes
19465 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19468 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19469 if test "$ac_cv_c_fortify_enabled" = yes
19471 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19476 printf %s
"checking whether CFI directives are supported in assembly code... " >&6; }
19477 if test ${ac_cv_c_cfi_support+y}
19479 printf %s
"(cached) " >&6
19481 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19482 /* end confdefs.h. */
19483 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19492 if ac_fn_c_try_compile
"$LINENO"
19494 ac_cv_c_cfi_support
="yes"
19496 ac_cv_c_cfi_support
="no"
19498 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19501 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19502 if test "$ac_cv_c_cfi_support" = "yes"
19504 DLLFLAGS
="$DLLFLAGS -fasynchronous-unwind-tables"
19505 LDDLLFLAGS
="$LDDLLFLAGS -fasynchronous-unwind-tables"
19506 UNIXDLLFLAGS
="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19507 elif test $HOST_ARCH = x86_64
19509 as_fn_append wine_warnings
"|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19513 case "$HOST_ARCH,$PE_ARCHS" in
19514 x86_64
,*i386
*) wine_binary
="wine" ;;
19515 x86_64
,*) wine_binary
="wine64" ;;
19516 *) wine_binary
="wine" ;;
19518 WINELOADER_PROGRAMS
="$wine_binary"
19524 *i
[3456789]86*|x86_64
*|
*aarch64
*|arm
*)
19525 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine-preloader"
19526 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
19531 if test "$wine_can_build_preloader" = "yes"
19533 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine-preloader"
19534 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
19540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19541 printf %s
"checking for library containing dlopen... " >&6; }
19542 if test ${ac_cv_search_dlopen+y}
19544 printf %s
"(cached) " >&6
19546 ac_func_search_save_LIBS
=$LIBS
19547 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19548 /* end confdefs.h. */
19550 /* Override any GCC internal prototype to avoid an error.
19551 Use char because int might match the return type of a GCC
19552 builtin and then its argument prototype would still apply. */
19562 for ac_lib
in '' dl
19564 if test -z "$ac_lib"; then
19565 ac_res
="none required"
19568 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19570 if ac_fn_c_try_link
"$LINENO"
19572 ac_cv_search_dlopen
=$ac_res
19574 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19576 if test ${ac_cv_search_dlopen+y}
19581 if test ${ac_cv_search_dlopen+y}
19585 ac_cv_search_dlopen
=no
19587 rm conftest.
$ac_ext
19588 LIBS
=$ac_func_search_save_LIBS
19590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19591 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19592 ac_res
=$ac_cv_search_dlopen
19593 if test "$ac_res" != no
19595 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19601 printf %s
"checking for library containing gethostbyname... " >&6; }
19602 if test ${ac_cv_search_gethostbyname+y}
19604 printf %s
"(cached) " >&6
19606 ac_func_search_save_LIBS
=$LIBS
19607 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19608 /* end confdefs.h. */
19610 /* Override any GCC internal prototype to avoid an error.
19611 Use char because int might match the return type of a GCC
19612 builtin and then its argument prototype would still apply. */
19613 char gethostbyname ();
19617 return gethostbyname ();
19622 for ac_lib
in '' nsl
19624 if test -z "$ac_lib"; then
19625 ac_res
="none required"
19628 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19630 if ac_fn_c_try_link
"$LINENO"
19632 ac_cv_search_gethostbyname
=$ac_res
19634 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19636 if test ${ac_cv_search_gethostbyname+y}
19641 if test ${ac_cv_search_gethostbyname+y}
19645 ac_cv_search_gethostbyname
=no
19647 rm conftest.
$ac_ext
19648 LIBS
=$ac_func_search_save_LIBS
19650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19651 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19652 ac_res
=$ac_cv_search_gethostbyname
19653 if test "$ac_res" != no
19655 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19661 printf %s
"checking for library containing connect... " >&6; }
19662 if test ${ac_cv_search_connect+y}
19664 printf %s
"(cached) " >&6
19666 ac_func_search_save_LIBS
=$LIBS
19667 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19668 /* end confdefs.h. */
19670 /* Override any GCC internal prototype to avoid an error.
19671 Use char because int might match the return type of a GCC
19672 builtin and then its argument prototype would still apply. */
19682 for ac_lib
in '' socket
19684 if test -z "$ac_lib"; then
19685 ac_res
="none required"
19688 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19690 if ac_fn_c_try_link
"$LINENO"
19692 ac_cv_search_connect
=$ac_res
19694 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19696 if test ${ac_cv_search_connect+y}
19701 if test ${ac_cv_search_connect+y}
19705 ac_cv_search_connect
=no
19707 rm conftest.
$ac_ext
19708 LIBS
=$ac_func_search_save_LIBS
19710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19711 printf "%s\n" "$ac_cv_search_connect" >&6; }
19712 ac_res
=$ac_cv_search_connect
19713 if test "$ac_res" != no
19715 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19721 printf %s
"checking for library containing inet_aton... " >&6; }
19722 if test ${ac_cv_search_inet_aton+y}
19724 printf %s
"(cached) " >&6
19726 ac_func_search_save_LIBS
=$LIBS
19727 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19728 /* end confdefs.h. */
19730 /* Override any GCC internal prototype to avoid an error.
19731 Use char because int might match the return type of a GCC
19732 builtin and then its argument prototype would still apply. */
19737 return inet_aton ();
19742 for ac_lib
in '' resolv
19744 if test -z "$ac_lib"; then
19745 ac_res
="none required"
19748 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19750 if ac_fn_c_try_link
"$LINENO"
19752 ac_cv_search_inet_aton
=$ac_res
19754 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19756 if test ${ac_cv_search_inet_aton+y}
19761 if test ${ac_cv_search_inet_aton+y}
19765 ac_cv_search_inet_aton
=no
19767 rm conftest.
$ac_ext
19768 LIBS
=$ac_func_search_save_LIBS
19770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
19771 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
19772 ac_res
=$ac_cv_search_inet_aton
19773 if test "$ac_res" != no
19775 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19780 ac_save_CFLAGS
="$CFLAGS"
19781 CFLAGS
="$CFLAGS $BUILTINFLAG"
19782 ac_fn_c_check_func
"$LINENO" "dladdr1" "ac_cv_func_dladdr1"
19783 if test "x$ac_cv_func_dladdr1" = xyes
19785 printf "%s\n" "#define HAVE_DLADDR1 1" >>confdefs.h
19788 ac_fn_c_check_func
"$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19789 if test "x$ac_cv_func_dlinfo" = xyes
19791 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19794 ac_fn_c_check_func
"$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19795 if test "x$ac_cv_func_epoll_create" = xyes
19797 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19800 ac_fn_c_check_func
"$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19801 if test "x$ac_cv_func_fstatfs" = xyes
19803 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19806 ac_fn_c_check_func
"$LINENO" "futimens" "ac_cv_func_futimens"
19807 if test "x$ac_cv_func_futimens" = xyes
19809 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19812 ac_fn_c_check_func
"$LINENO" "futimes" "ac_cv_func_futimes"
19813 if test "x$ac_cv_func_futimes" = xyes
19815 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19818 ac_fn_c_check_func
"$LINENO" "futimesat" "ac_cv_func_futimesat"
19819 if test "x$ac_cv_func_futimesat" = xyes
19821 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19824 ac_fn_c_check_func
"$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
19825 if test "x$ac_cv_func_getaddrinfo" = xyes
19827 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
19830 ac_fn_c_check_func
"$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19831 if test "x$ac_cv_func_getattrlist" = xyes
19833 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19836 ac_fn_c_check_func
"$LINENO" "getauxval" "ac_cv_func_getauxval"
19837 if test "x$ac_cv_func_getauxval" = xyes
19839 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19842 ac_fn_c_check_func
"$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19843 if test "x$ac_cv_func_getifaddrs" = xyes
19845 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19848 ac_fn_c_check_func
"$LINENO" "getrandom" "ac_cv_func_getrandom"
19849 if test "x$ac_cv_func_getrandom" = xyes
19851 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19854 ac_fn_c_check_func
"$LINENO" "kqueue" "ac_cv_func_kqueue"
19855 if test "x$ac_cv_func_kqueue" = xyes
19857 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19860 ac_fn_c_check_func
"$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19861 if test "x$ac_cv_func_mach_continuous_time" = xyes
19863 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19866 ac_fn_c_check_func
"$LINENO" "pipe2" "ac_cv_func_pipe2"
19867 if test "x$ac_cv_func_pipe2" = xyes
19869 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19872 ac_fn_c_check_func
"$LINENO" "port_create" "ac_cv_func_port_create"
19873 if test "x$ac_cv_func_port_create" = xyes
19875 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
19878 ac_fn_c_check_func
"$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
19879 if test "x$ac_cv_func_posix_fadvise" = xyes
19881 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
19884 ac_fn_c_check_func
"$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
19885 if test "x$ac_cv_func_posix_fallocate" = xyes
19887 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
19890 ac_fn_c_check_func
"$LINENO" "prctl" "ac_cv_func_prctl"
19891 if test "x$ac_cv_func_prctl" = xyes
19893 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
19896 ac_fn_c_check_func
"$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
19897 if test "x$ac_cv_func_proc_pidinfo" = xyes
19899 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
19902 ac_fn_c_check_func
"$LINENO" "sched_yield" "ac_cv_func_sched_yield"
19903 if test "x$ac_cv_func_sched_yield" = xyes
19905 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
19908 ac_fn_c_check_func
"$LINENO" "setproctitle" "ac_cv_func_setproctitle"
19909 if test "x$ac_cv_func_setproctitle" = xyes
19911 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
19914 ac_fn_c_check_func
"$LINENO" "setprogname" "ac_cv_func_setprogname"
19915 if test "x$ac_cv_func_setprogname" = xyes
19917 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
19920 ac_fn_c_check_func
"$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
19921 if test "x$ac_cv_func_sigprocmask" = xyes
19923 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
19926 ac_fn_c_check_func
"$LINENO" "sysinfo" "ac_cv_func_sysinfo"
19927 if test "x$ac_cv_func_sysinfo" = xyes
19929 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
19932 ac_fn_c_check_func
"$LINENO" "tcdrain" "ac_cv_func_tcdrain"
19933 if test "x$ac_cv_func_tcdrain" = xyes
19935 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
19938 ac_fn_c_check_func
"$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
19939 if test "x$ac_cv_func_thr_kill2" = xyes
19941 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
19945 CFLAGS
="$ac_save_CFLAGS"
19948 darwin
*|macosx
*) ;;
19949 *) ac_save_LIBS
=$LIBS
19950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19951 printf %s
"checking for library containing clock_gettime... " >&6; }
19952 if test ${ac_cv_search_clock_gettime+y}
19954 printf %s
"(cached) " >&6
19956 ac_func_search_save_LIBS
=$LIBS
19957 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19958 /* end confdefs.h. */
19960 /* Override any GCC internal prototype to avoid an error.
19961 Use char because int might match the return type of a GCC
19962 builtin and then its argument prototype would still apply. */
19963 char clock_gettime ();
19967 return clock_gettime ();
19972 for ac_lib
in '' rt
19974 if test -z "$ac_lib"; then
19975 ac_res
="none required"
19978 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19980 if ac_fn_c_try_link
"$LINENO"
19982 ac_cv_search_clock_gettime
=$ac_res
19984 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19986 if test ${ac_cv_search_clock_gettime+y}
19991 if test ${ac_cv_search_clock_gettime+y}
19995 ac_cv_search_clock_gettime
=no
19997 rm conftest.
$ac_ext
19998 LIBS
=$ac_func_search_save_LIBS
20000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20001 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20002 ac_res
=$ac_cv_search_clock_gettime
20003 if test "$ac_res" != no
20005 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20007 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20009 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
20017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20018 printf %s
"checking for sched_setaffinity... " >&6; }
20019 if test ${wine_cv_have_sched_setaffinity+y}
20021 printf %s
"(cached) " >&6
20023 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20024 /* end confdefs.h. */
20029 sched_setaffinity(0, 0, 0);
20034 if ac_fn_c_try_link
"$LINENO"
20036 wine_cv_have_sched_setaffinity
=yes
20038 wine_cv_have_sched_setaffinity
=no
20040 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20041 conftest
$ac_exeext conftest.
$ac_ext
20043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20044 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20045 if test "$wine_cv_have_sched_setaffinity" = "yes"
20048 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20054 printf %s
"checking for inline... " >&6; }
20055 if test ${ac_cv_c_inline+y}
20057 printf %s
"(cached) " >&6
20060 for ac_kw
in inline __inline__ __inline
; do
20061 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20062 /* end confdefs.h. */
20063 #ifndef __cplusplus
20065 static $ac_kw foo_t static_foo (void) {return 0; }
20066 $ac_kw foo_t foo (void) {return 0; }
20070 if ac_fn_c_try_compile
"$LINENO"
20072 ac_cv_c_inline
=$ac_kw
20074 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20075 test "$ac_cv_c_inline" != no
&& break
20079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20080 printf "%s\n" "$ac_cv_c_inline" >&6; }
20082 case $ac_cv_c_inline in
20085 case $ac_cv_c_inline in
20087 *) ac_val
=$ac_cv_c_inline;;
20089 cat >>confdefs.h
<<_ACEOF
20090 #ifndef __cplusplus
20091 #define inline $ac_val
20097 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20099 if test "x$ac_cv_type_request_sense" = xyes
20102 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20108 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20109 #include <sys/socket.h>
20110 #ifdef HAVE_SYS_SOCKETVAR_H
20111 #include <sys/socketvar.h>
20113 #ifdef HAVE_NET_ROUTE_H
20114 #include <net/route.h>
20116 #ifdef HAVE_NETINET_IN_H
20117 #include <netinet/in.h>
20119 #ifdef HAVE_NETINET_IN_SYSTM_H
20120 #include <netinet/in_systm.h>
20122 #ifdef HAVE_NETINET_IP_H
20123 #include <netinet/ip.h>
20125 #ifdef HAVE_NETINET_IN_PCB_H
20126 #include <netinet/in_pcb.h>
20129 if test "x$ac_cv_type_struct_xinpgen" = xyes
20132 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20139 printf %s
"checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20140 if test ${wine_cv_linux_gethostbyname_r_6+y}
20142 printf %s
"(cached) " >&6
20144 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20145 /* end confdefs.h. */
20153 struct hostent *result;
20160 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20161 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20167 if ac_fn_c_try_link
"$LINENO"
20169 wine_cv_linux_gethostbyname_r_6
=yes
20171 wine_cv_linux_gethostbyname_r_6
=no
20174 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20175 conftest
$ac_exeext conftest.
$ac_ext
20178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20179 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20180 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20183 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20187 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20188 #include <sys/socket.h>
20189 #ifdef HAVE_SYS_UN_H
20190 # include <sys/un.h>
20193 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20196 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20200 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20201 #include <sys/socket.h>
20202 #ifdef HAVE_SYS_UN_H
20203 # include <sys/un.h>
20206 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20209 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20215 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20216 #ifdef HAVE_SCSI_SG_H
20217 #include <scsi/sg.h>
20220 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20223 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20227 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>
20228 #ifdef HAVE_SCSI_SG_H
20229 #include <scsi/sg.h>
20232 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20235 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20241 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20243 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20246 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20252 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20253 #ifdef HAVE_SYS_MTIO_H
20254 #include <sys/mtio.h>
20257 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20260 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20264 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20265 #ifdef HAVE_SYS_MTIO_H
20266 #include <sys/mtio.h>
20269 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20272 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20276 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20277 #ifdef HAVE_SYS_MTIO_H
20278 #include <sys/mtio.h>
20281 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20284 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20290 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20291 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20294 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20298 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20299 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20302 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20306 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20307 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20310 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20314 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20315 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20318 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20322 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20323 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20326 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20330 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20331 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20334 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20338 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20339 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20342 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20346 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20347 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20350 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20354 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20355 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20358 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20362 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20363 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20366 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20370 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20371 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20374 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20380 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>
20381 #ifdef HAVE_NETINET_IN_H
20382 #include <netinet/in.h>
20385 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20388 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20394 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
20395 #include <resolv.h>
20398 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20401 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20407 ac_fn_c_check_member
"$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20408 #include <netinet/in.h>
20411 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20414 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20420 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20421 #ifdef HAVE_SYS_SOCKETVAR_H
20422 #include <sys/socketvar.h>
20424 #ifdef HAVE_NETINET_IN_H
20425 #include <netinet/in.h>
20427 #ifdef HAVE_NETINET_IP_VAR_H
20428 #include <netinet/ip_var.h>
20431 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20434 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20440 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
20441 #include <netinet/ip_var.h>
20444 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20447 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20453 ac_fn_c_check_member
"$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20454 #ifdef HAVE_SYS_SOCKETVAR_H
20455 #include <sys/socketvar.h>
20457 #ifdef HAVE_NETINET_IN_H
20458 #include <netinet/in.h>
20460 #ifdef HAVE_NETINET6_IP6_VAR_H
20461 #include <netinet6/ip6_var.h>
20464 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20467 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20473 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20474 #ifdef HAVE_SYS_SOCKETVAR_H
20475 #include <sys/socketvar.h>
20477 #ifdef HAVE_NETINET_IN_H
20478 #include <netinet/in.h>
20480 #ifdef HAVE_NETINET_IP_H
20481 #include <netinet/ip.h>
20483 #ifdef HAVE_NETINET_IP_ICMP_H
20484 #include <netinet/ip_icmp.h>
20486 #ifdef HAVE_NETINET_ICMP_VAR_H
20487 #include <netinet/icmp_var.h>
20490 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20493 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20499 ac_fn_c_check_member
"$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20500 #ifdef HAVE_SYS_SOCKETVAR_H
20501 #include <sys/socketvar.h>
20503 #ifdef HAVE_NETINET_IN_H
20504 #include <netinet/in.h>
20506 #ifdef HAVE_NETINET_ICMP6_H
20507 #include <netinet/icmp6.h>
20510 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20513 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20519 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20520 #ifdef HAVE_SYS_SOCKETVAR_H
20521 #include <sys/socketvar.h>
20523 #ifdef HAVE_NETINET_IN_H
20524 #include <netinet/in.h>
20526 #ifdef HAVE_NETINET_TCP_H
20527 #include <netinet/tcp.h>
20529 #ifdef HAVE_NETINET_TCP_VAR_H
20530 #include <netinet/tcp_var.h>
20533 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20536 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20542 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
20543 #include <netinet/tcp_var.h>
20546 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20549 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20555 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20556 #ifdef HAVE_NETINET_IN_H
20557 #include <netinet/in.h>
20559 #ifdef HAVE_NETINET_IP_VAR_H
20560 #include <netinet/ip_var.h>
20562 #ifdef HAVE_NETINET_UDP_H
20563 #include <netinet/udp.h>
20565 #ifdef HAVE_NETINET_UDP_VAR_H
20566 #include <netinet/udp_var.h>
20569 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20572 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20578 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20579 #ifdef HAVE_NET_IF_H
20580 # include <net/if.h>
20583 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20586 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20592 ac_fn_c_check_member
"$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20593 # include <sys/sysinfo.h>
20596 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20599 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20603 ac_fn_c_check_member
"$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20604 # include <sys/sysinfo.h>
20607 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20610 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20616 LIBS
="$ac_save_LIBS"
20618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20619 printf %s
"checking for __builtin_popcount... " >&6; }
20620 if test ${ac_cv_have___builtin_popcount+y}
20622 printf %s
"(cached) " >&6
20624 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20625 /* end confdefs.h. */
20630 return __builtin_popcount(1)
20635 if ac_fn_c_try_link
"$LINENO"
20637 ac_cv_have___builtin_popcount
="yes"
20639 ac_cv_have___builtin_popcount
="no"
20641 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20642 conftest
$ac_exeext conftest.
$ac_ext
20644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20645 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20646 if test "$ac_cv_have___builtin_popcount" = "yes"
20649 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20654 printf %s
"checking for __clear_cache... " >&6; }
20655 if test ${ac_cv_have___clear_cache+y}
20657 printf %s
"(cached) " >&6
20659 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20660 /* end confdefs.h. */
20665 __clear_cache((void*)0, (void*)0); return 0;
20670 if ac_fn_c_try_link
"$LINENO"
20672 ac_cv_have___clear_cache
="yes"
20674 ac_cv_have___clear_cache
="no"
20676 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20677 conftest
$ac_exeext conftest.
$ac_ext
20679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20680 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20681 if test "$ac_cv_have___clear_cache" = "yes"
20684 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20690 *i
[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20691 printf %s
"checking whether we need to define __i386__... " >&6; }
20692 if test ${ac_cv_cpp_def___i386__+y}
20694 printf %s
"(cached) " >&6
20696 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20697 /* end confdefs.h. */
20702 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20703 $EGREP "yes" >/dev
/null
2>&1
20705 ac_cv_cpp_def___i386__
=yes
20707 ac_cv_cpp_def___i386__
=no
20712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20713 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20714 if test "x$ac_cv_cpp_def___i386__" = xyes
20716 CFLAGS
="$CFLAGS -D__i386__"
20717 LINTFLAGS
="$LINTFLAGS -D__i386__"
20719 *x86_64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20720 printf %s
"checking whether we need to define __x86_64__... " >&6; }
20721 if test ${ac_cv_cpp_def___x86_64__+y}
20723 printf %s
"(cached) " >&6
20725 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20726 /* end confdefs.h. */
20731 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20732 $EGREP "yes" >/dev
/null
2>&1
20734 ac_cv_cpp_def___x86_64__
=yes
20736 ac_cv_cpp_def___x86_64__
=no
20741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20742 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20743 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20745 CFLAGS
="$CFLAGS -D__x86_64__"
20746 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
20748 *sparc64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
20749 printf %s
"checking whether we need to define __sparc64__... " >&6; }
20750 if test ${ac_cv_cpp_def___sparc64__+y}
20752 printf %s
"(cached) " >&6
20754 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20755 /* end confdefs.h. */
20756 #ifndef __sparc64__
20760 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20761 $EGREP "yes" >/dev
/null
2>&1
20763 ac_cv_cpp_def___sparc64__
=yes
20765 ac_cv_cpp_def___sparc64__
=no
20770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
20771 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
20772 if test "x$ac_cv_cpp_def___sparc64__" = xyes
20774 CFLAGS
="$CFLAGS -D__sparc64__"
20775 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
20777 *sparc
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
20778 printf %s
"checking whether we need to define __sparc__... " >&6; }
20779 if test ${ac_cv_cpp_def___sparc__+y}
20781 printf %s
"(cached) " >&6
20783 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20784 /* end confdefs.h. */
20789 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20790 $EGREP "yes" >/dev
/null
2>&1
20792 ac_cv_cpp_def___sparc__
=yes
20794 ac_cv_cpp_def___sparc__
=no
20799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
20800 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
20801 if test "x$ac_cv_cpp_def___sparc__" = xyes
20803 CFLAGS
="$CFLAGS -D__sparc__"
20804 LINTFLAGS
="$LINTFLAGS -D__sparc__"
20806 *powerpc64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
20807 printf %s
"checking whether we need to define __powerpc64__... " >&6; }
20808 if test ${ac_cv_cpp_def___powerpc64__+y}
20810 printf %s
"(cached) " >&6
20812 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20813 /* end confdefs.h. */
20814 #ifndef __powerpc64__
20818 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20819 $EGREP "yes" >/dev
/null
2>&1
20821 ac_cv_cpp_def___powerpc64__
=yes
20823 ac_cv_cpp_def___powerpc64__
=no
20828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
20829 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
20830 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
20832 CFLAGS
="$CFLAGS -D__powerpc64__"
20833 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
20835 *powerpc
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
20836 printf %s
"checking whether we need to define __powerpc__... " >&6; }
20837 if test ${ac_cv_cpp_def___powerpc__+y}
20839 printf %s
"(cached) " >&6
20841 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20842 /* end confdefs.h. */
20843 #ifndef __powerpc__
20847 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20848 $EGREP "yes" >/dev
/null
2>&1
20850 ac_cv_cpp_def___powerpc__
=yes
20852 ac_cv_cpp_def___powerpc__
=no
20857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
20858 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
20859 if test "x$ac_cv_cpp_def___powerpc__" = xyes
20861 CFLAGS
="$CFLAGS -D__powerpc__"
20862 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
20864 *aarch64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
20865 printf %s
"checking whether we need to define __aarch64__... " >&6; }
20866 if test ${ac_cv_cpp_def___aarch64__+y}
20868 printf %s
"(cached) " >&6
20870 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20871 /* end confdefs.h. */
20872 #ifndef __aarch64__
20876 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20877 $EGREP "yes" >/dev
/null
2>&1
20879 ac_cv_cpp_def___aarch64__
=yes
20881 ac_cv_cpp_def___aarch64__
=no
20886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
20887 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
20888 if test "x$ac_cv_cpp_def___aarch64__" = xyes
20890 CFLAGS
="$CFLAGS -D__aarch64__"
20891 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
20893 *arm
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
20894 printf %s
"checking whether we need to define __arm__... " >&6; }
20895 if test ${ac_cv_cpp_def___arm__+y}
20897 printf %s
"(cached) " >&6
20899 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20900 /* end confdefs.h. */
20905 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20906 $EGREP "yes" >/dev
/null
2>&1
20908 ac_cv_cpp_def___arm__
=yes
20910 ac_cv_cpp_def___arm__
=no
20915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
20916 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
20917 if test "x$ac_cv_cpp_def___arm__" = xyes
20919 CFLAGS
="$CFLAGS -D__arm__"
20920 LINTFLAGS
="$LINTFLAGS -D__arm__"
20924 case $host_vendor in
20925 *sun
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
20926 printf %s
"checking whether we need to define __sun__... " >&6; }
20927 if test ${ac_cv_cpp_def___sun__+y}
20929 printf %s
"(cached) " >&6
20931 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20932 /* end confdefs.h. */
20937 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20938 $EGREP "yes" >/dev
/null
2>&1
20940 ac_cv_cpp_def___sun__
=yes
20942 ac_cv_cpp_def___sun__
=no
20947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
20948 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
20949 if test "x$ac_cv_cpp_def___sun__" = xyes
20951 CFLAGS
="$CFLAGS -D__sun__"
20952 LINTFLAGS
="$LINTFLAGS -D__sun__"
20960 ac_config_commands
="$ac_config_commands include/stamp-h"
20962 printf %s
"creating Makefile rules..." >&6
20965 test "x$enable_silent_rules" = xyes
&& makedep_flags
="$makedep_flags -S"
20968 test "$srcdir" = . || wine_srcdir
="$srcdir/"
20970 ac_config_links
="$ac_config_links wine:tools/winewrapper"
20971 wine_fn_config_symlink wine
20972 if test "$wine_binary" = wine64
-o -n "$with_wine64"; then
20973 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
20974 wine_fn_config_symlink wine64
20977 wine_fn_config_makefile dlls
/acledit enable_acledit
20978 wine_fn_config_makefile dlls
/aclui enable_aclui
20979 wine_fn_config_makefile dlls
/activeds.tlb enable_activeds_tlb
20980 wine_fn_config_makefile dlls
/activeds enable_activeds
20981 wine_fn_config_makefile dlls
/activeds
/tests enable_tests
20982 wine_fn_config_makefile dlls
/actxprxy enable_actxprxy
20983 wine_fn_config_makefile dlls
/adsldp enable_adsldp
20984 wine_fn_config_makefile dlls
/adsldp
/tests enable_tests
20985 wine_fn_config_makefile dlls
/adsldpc enable_adsldpc
20986 wine_fn_config_makefile dlls
/advapi32 enable_advapi32
20987 wine_fn_config_makefile dlls
/advapi32
/tests enable_tests
20988 wine_fn_config_makefile dlls
/advpack enable_advpack
20989 wine_fn_config_makefile dlls
/advpack
/tests enable_tests
20990 wine_fn_config_makefile dlls
/amsi enable_amsi
20991 wine_fn_config_makefile dlls
/amstream enable_amstream
20992 wine_fn_config_makefile dlls
/amstream
/tests enable_tests
20993 wine_fn_config_makefile dlls
/apisetschema enable_apisetschema
20994 wine_fn_config_makefile dlls
/apphelp enable_apphelp
20995 wine_fn_config_makefile dlls
/apphelp
/tests enable_tests
20996 wine_fn_config_makefile dlls
/appwiz.cpl enable_appwiz_cpl
20997 wine_fn_config_makefile dlls
/atl enable_atl
20998 wine_fn_config_makefile dlls
/atl
/tests enable_tests
20999 wine_fn_config_makefile dlls
/atl100 enable_atl100
21000 wine_fn_config_makefile dlls
/atl100
/tests enable_tests
21001 wine_fn_config_makefile dlls
/atl110 enable_atl110
21002 wine_fn_config_makefile dlls
/atl110
/tests enable_tests
21003 wine_fn_config_makefile dlls
/atl80 enable_atl80
21004 wine_fn_config_makefile dlls
/atl80
/tests enable_tests
21005 wine_fn_config_makefile dlls
/atl90 enable_atl90
21006 wine_fn_config_makefile dlls
/atlthunk enable_atlthunk
21007 wine_fn_config_makefile dlls
/atlthunk
/tests enable_tests
21008 wine_fn_config_makefile dlls
/atmlib enable_atmlib
21009 wine_fn_config_makefile dlls
/authz enable_authz
21010 wine_fn_config_makefile dlls
/avicap32 enable_avicap32
21011 wine_fn_config_makefile dlls
/avifil32 enable_avifil32
21012 wine_fn_config_makefile dlls
/avifil32
/tests enable_tests
21013 wine_fn_config_makefile dlls
/avifile.dll16 enable_win16
21014 wine_fn_config_makefile dlls
/avrt enable_avrt
21015 wine_fn_config_makefile dlls
/bcrypt enable_bcrypt
21016 wine_fn_config_makefile dlls
/bcrypt
/tests enable_tests
21017 wine_fn_config_makefile dlls
/bcryptprimitives enable_bcryptprimitives
21018 wine_fn_config_makefile dlls
/bluetoothapis enable_bluetoothapis
21019 wine_fn_config_makefile dlls
/browseui enable_browseui
21020 wine_fn_config_makefile dlls
/browseui
/tests enable_tests
21021 wine_fn_config_makefile dlls
/bthprops.cpl enable_bthprops_cpl
21022 wine_fn_config_makefile dlls
/cabinet enable_cabinet
21023 wine_fn_config_makefile dlls
/cabinet
/tests enable_tests
21024 wine_fn_config_makefile dlls
/capi2032 enable_capi2032
21025 wine_fn_config_makefile dlls
/cards enable_cards
21026 wine_fn_config_makefile dlls
/cdosys enable_cdosys
21027 wine_fn_config_makefile dlls
/cfgmgr32 enable_cfgmgr32
21028 wine_fn_config_makefile dlls
/cfgmgr32
/tests enable_tests
21029 wine_fn_config_makefile dlls
/clusapi enable_clusapi
21030 wine_fn_config_makefile dlls
/cng.sys enable_cng_sys
21031 wine_fn_config_makefile dlls
/combase enable_combase
21032 wine_fn_config_makefile dlls
/combase
/tests enable_tests
21033 wine_fn_config_makefile dlls
/comcat enable_comcat
21034 wine_fn_config_makefile dlls
/comcat
/tests enable_tests
21035 wine_fn_config_makefile dlls
/comctl32 enable_comctl32
21036 wine_fn_config_makefile dlls
/comctl32
/tests enable_tests
21037 wine_fn_config_makefile dlls
/comdlg32 enable_comdlg32
21038 wine_fn_config_makefile dlls
/comdlg32
/tests enable_tests
21039 wine_fn_config_makefile dlls
/comm.drv16 enable_win16
21040 wine_fn_config_makefile dlls
/commdlg.dll16 enable_win16
21041 wine_fn_config_makefile dlls
/compobj.dll16 enable_win16
21042 wine_fn_config_makefile dlls
/compstui enable_compstui
21043 wine_fn_config_makefile dlls
/compstui
/tests enable_tests
21044 wine_fn_config_makefile dlls
/comsvcs enable_comsvcs
21045 wine_fn_config_makefile dlls
/comsvcs
/tests enable_tests
21046 wine_fn_config_makefile dlls
/concrt140 enable_concrt140
21047 wine_fn_config_makefile dlls
/concrt140
/tests enable_tests
21048 wine_fn_config_makefile dlls
/connect enable_connect
21049 wine_fn_config_makefile dlls
/credui enable_credui
21050 wine_fn_config_makefile dlls
/credui
/tests enable_tests
21051 wine_fn_config_makefile dlls
/crtdll enable_crtdll
21052 wine_fn_config_makefile dlls
/crypt32 enable_crypt32
21053 wine_fn_config_makefile dlls
/crypt32
/tests enable_tests
21054 wine_fn_config_makefile dlls
/cryptdlg enable_cryptdlg
21055 wine_fn_config_makefile dlls
/cryptdll enable_cryptdll
21056 wine_fn_config_makefile dlls
/cryptext enable_cryptext
21057 wine_fn_config_makefile dlls
/cryptnet enable_cryptnet
21058 wine_fn_config_makefile dlls
/cryptnet
/tests enable_tests
21059 wine_fn_config_makefile dlls
/cryptowinrt enable_cryptowinrt
21060 wine_fn_config_makefile dlls
/cryptowinrt
/tests enable_tests
21061 wine_fn_config_makefile dlls
/cryptsp enable_cryptsp
21062 wine_fn_config_makefile dlls
/cryptui enable_cryptui
21063 wine_fn_config_makefile dlls
/cryptui
/tests enable_tests
21064 wine_fn_config_makefile dlls
/ctapi32 enable_ctapi32
21065 wine_fn_config_makefile dlls
/ctl3d.dll16 enable_win16
21066 wine_fn_config_makefile dlls
/ctl3d32 enable_ctl3d32
21067 wine_fn_config_makefile dlls
/ctl3dv2.dll16 enable_win16
21068 wine_fn_config_makefile dlls
/d2d1 enable_d2d1
21069 wine_fn_config_makefile dlls
/d2d
1/tests enable_tests
21070 wine_fn_config_makefile dlls
/d3d10 enable_d3d10
21071 wine_fn_config_makefile dlls
/d3d10
/tests enable_tests
21072 wine_fn_config_makefile dlls
/d3d10_1 enable_d3d10_1
21073 wine_fn_config_makefile dlls
/d3d10_
1/tests enable_tests
21074 wine_fn_config_makefile dlls
/d3d10core enable_d3d10core
21075 wine_fn_config_makefile dlls
/d3d10core
/tests enable_tests
21076 wine_fn_config_makefile dlls
/d3d11 enable_d3d11
21077 wine_fn_config_makefile dlls
/d3d11
/tests enable_tests
21078 wine_fn_config_makefile dlls
/d3d12 enable_d3d12
21079 wine_fn_config_makefile dlls
/d3d12
/tests enable_tests
21080 wine_fn_config_makefile dlls
/d3d12core enable_d3d12core
21081 wine_fn_config_makefile dlls
/d3d8 enable_d3d8
21082 wine_fn_config_makefile dlls
/d3d
8/tests enable_tests
21083 wine_fn_config_makefile dlls
/d3d8thk enable_d3d8thk
21084 wine_fn_config_makefile dlls
/d3d9 enable_d3d9
21085 wine_fn_config_makefile dlls
/d3d
9/tests enable_tests
21086 wine_fn_config_makefile dlls
/d3dcompiler_33 enable_d3dcompiler_33
21087 wine_fn_config_makefile dlls
/d3dcompiler_34 enable_d3dcompiler_34
21088 wine_fn_config_makefile dlls
/d3dcompiler_35 enable_d3dcompiler_35
21089 wine_fn_config_makefile dlls
/d3dcompiler_36 enable_d3dcompiler_36
21090 wine_fn_config_makefile dlls
/d3dcompiler_37 enable_d3dcompiler_37
21091 wine_fn_config_makefile dlls
/d3dcompiler_38 enable_d3dcompiler_38
21092 wine_fn_config_makefile dlls
/d3dcompiler_39 enable_d3dcompiler_39
21093 wine_fn_config_makefile dlls
/d3dcompiler_40 enable_d3dcompiler_40
21094 wine_fn_config_makefile dlls
/d3dcompiler_41 enable_d3dcompiler_41
21095 wine_fn_config_makefile dlls
/d3dcompiler_42 enable_d3dcompiler_42
21096 wine_fn_config_makefile dlls
/d3dcompiler_43 enable_d3dcompiler_43
21097 wine_fn_config_makefile dlls
/d3dcompiler_43
/tests enable_tests
21098 wine_fn_config_makefile dlls
/d3dcompiler_46 enable_d3dcompiler_46
21099 wine_fn_config_makefile dlls
/d3dcompiler_46
/tests enable_tests
21100 wine_fn_config_makefile dlls
/d3dcompiler_47 enable_d3dcompiler_47
21101 wine_fn_config_makefile dlls
/d3dcompiler_47
/tests enable_tests
21102 wine_fn_config_makefile dlls
/d3dim enable_d3dim
21103 wine_fn_config_makefile dlls
/d3dim700 enable_d3dim700
21104 wine_fn_config_makefile dlls
/d3drm enable_d3drm
21105 wine_fn_config_makefile dlls
/d3drm
/tests enable_tests
21106 wine_fn_config_makefile dlls
/d3dx10_33 enable_d3dx10_33
21107 wine_fn_config_makefile dlls
/d3dx10_34 enable_d3dx10_34
21108 wine_fn_config_makefile dlls
/d3dx10_34
/tests enable_tests
21109 wine_fn_config_makefile dlls
/d3dx10_35 enable_d3dx10_35
21110 wine_fn_config_makefile dlls
/d3dx10_35
/tests enable_tests
21111 wine_fn_config_makefile dlls
/d3dx10_36 enable_d3dx10_36
21112 wine_fn_config_makefile dlls
/d3dx10_36
/tests enable_tests
21113 wine_fn_config_makefile dlls
/d3dx10_37 enable_d3dx10_37
21114 wine_fn_config_makefile dlls
/d3dx10_37
/tests enable_tests
21115 wine_fn_config_makefile dlls
/d3dx10_38 enable_d3dx10_38
21116 wine_fn_config_makefile dlls
/d3dx10_38
/tests enable_tests
21117 wine_fn_config_makefile dlls
/d3dx10_39 enable_d3dx10_39
21118 wine_fn_config_makefile dlls
/d3dx10_39
/tests enable_tests
21119 wine_fn_config_makefile dlls
/d3dx10_40 enable_d3dx10_40
21120 wine_fn_config_makefile dlls
/d3dx10_40
/tests enable_tests
21121 wine_fn_config_makefile dlls
/d3dx10_41 enable_d3dx10_41
21122 wine_fn_config_makefile dlls
/d3dx10_41
/tests enable_tests
21123 wine_fn_config_makefile dlls
/d3dx10_42 enable_d3dx10_42
21124 wine_fn_config_makefile dlls
/d3dx10_42
/tests enable_tests
21125 wine_fn_config_makefile dlls
/d3dx10_43 enable_d3dx10_43
21126 wine_fn_config_makefile dlls
/d3dx10_43
/tests enable_tests
21127 wine_fn_config_makefile dlls
/d3dx11_42 enable_d3dx11_42
21128 wine_fn_config_makefile dlls
/d3dx11_42
/tests enable_tests
21129 wine_fn_config_makefile dlls
/d3dx11_43 enable_d3dx11_43
21130 wine_fn_config_makefile dlls
/d3dx11_43
/tests enable_tests
21131 wine_fn_config_makefile dlls
/d3dx9_24 enable_d3dx9_24
21132 wine_fn_config_makefile dlls
/d3dx9_25 enable_d3dx9_25
21133 wine_fn_config_makefile dlls
/d3dx9_26 enable_d3dx9_26
21134 wine_fn_config_makefile dlls
/d3dx9_27 enable_d3dx9_27
21135 wine_fn_config_makefile dlls
/d3dx9_28 enable_d3dx9_28
21136 wine_fn_config_makefile dlls
/d3dx9_29 enable_d3dx9_29
21137 wine_fn_config_makefile dlls
/d3dx9_30 enable_d3dx9_30
21138 wine_fn_config_makefile dlls
/d3dx9_31 enable_d3dx9_31
21139 wine_fn_config_makefile dlls
/d3dx9_32 enable_d3dx9_32
21140 wine_fn_config_makefile dlls
/d3dx9_33 enable_d3dx9_33
21141 wine_fn_config_makefile dlls
/d3dx9_34 enable_d3dx9_34
21142 wine_fn_config_makefile dlls
/d3dx9_35 enable_d3dx9_35
21143 wine_fn_config_makefile dlls
/d3dx9_36 enable_d3dx9_36
21144 wine_fn_config_makefile dlls
/d3dx9_36
/tests enable_tests
21145 wine_fn_config_makefile dlls
/d3dx9_37 enable_d3dx9_37
21146 wine_fn_config_makefile dlls
/d3dx9_38 enable_d3dx9_38
21147 wine_fn_config_makefile dlls
/d3dx9_39 enable_d3dx9_39
21148 wine_fn_config_makefile dlls
/d3dx9_40 enable_d3dx9_40
21149 wine_fn_config_makefile dlls
/d3dx9_41 enable_d3dx9_41
21150 wine_fn_config_makefile dlls
/d3dx9_42 enable_d3dx9_42
21151 wine_fn_config_makefile dlls
/d3dx9_43 enable_d3dx9_43
21152 wine_fn_config_makefile dlls
/d3dxof enable_d3dxof
21153 wine_fn_config_makefile dlls
/d3dxof
/tests enable_tests
21154 wine_fn_config_makefile dlls
/davclnt enable_davclnt
21155 wine_fn_config_makefile dlls
/dbgeng enable_dbgeng
21156 wine_fn_config_makefile dlls
/dbgeng
/tests enable_tests
21157 wine_fn_config_makefile dlls
/dbghelp enable_dbghelp
21158 wine_fn_config_makefile dlls
/dbghelp
/tests enable_tests
21159 wine_fn_config_makefile dlls
/dciman32 enable_dciman32
21160 wine_fn_config_makefile dlls
/dcomp enable_dcomp
21161 wine_fn_config_makefile dlls
/ddeml.dll16 enable_win16
21162 wine_fn_config_makefile dlls
/ddraw enable_ddraw
21163 wine_fn_config_makefile dlls
/ddraw
/tests enable_tests
21164 wine_fn_config_makefile dlls
/ddrawex enable_ddrawex
21165 wine_fn_config_makefile dlls
/ddrawex
/tests enable_tests
21166 wine_fn_config_makefile dlls
/devenum enable_devenum
21167 wine_fn_config_makefile dlls
/devenum
/tests enable_tests
21168 wine_fn_config_makefile dlls
/dhcpcsvc enable_dhcpcsvc
21169 wine_fn_config_makefile dlls
/dhcpcsvc
/tests enable_tests
21170 wine_fn_config_makefile dlls
/dhcpcsvc6 enable_dhcpcsvc6
21171 wine_fn_config_makefile dlls
/dhtmled.ocx enable_dhtmled_ocx
21172 wine_fn_config_makefile dlls
/diasymreader enable_diasymreader
21173 wine_fn_config_makefile dlls
/difxapi enable_difxapi
21174 wine_fn_config_makefile dlls
/dinput enable_dinput
21175 wine_fn_config_makefile dlls
/dinput
/tests enable_tests
21176 wine_fn_config_makefile dlls
/dinput8 enable_dinput8
21177 wine_fn_config_makefile dlls
/directmanipulation enable_directmanipulation
21178 wine_fn_config_makefile dlls
/directmanipulation
/tests enable_tests
21179 wine_fn_config_makefile dlls
/dispdib.dll16 enable_win16
21180 wine_fn_config_makefile dlls
/dispex enable_dispex
21181 wine_fn_config_makefile dlls
/dispex
/tests enable_tests
21182 wine_fn_config_makefile dlls
/display.drv16 enable_win16
21183 wine_fn_config_makefile dlls
/dmband enable_dmband
21184 wine_fn_config_makefile dlls
/dmband
/tests enable_tests
21185 wine_fn_config_makefile dlls
/dmcompos enable_dmcompos
21186 wine_fn_config_makefile dlls
/dmcompos
/tests enable_tests
21187 wine_fn_config_makefile dlls
/dmime enable_dmime
21188 wine_fn_config_makefile dlls
/dmime
/tests enable_tests
21189 wine_fn_config_makefile dlls
/dmloader enable_dmloader
21190 wine_fn_config_makefile dlls
/dmloader
/tests enable_tests
21191 wine_fn_config_makefile dlls
/dmscript enable_dmscript
21192 wine_fn_config_makefile dlls
/dmscript
/tests enable_tests
21193 wine_fn_config_makefile dlls
/dmstyle enable_dmstyle
21194 wine_fn_config_makefile dlls
/dmstyle
/tests enable_tests
21195 wine_fn_config_makefile dlls
/dmsynth enable_dmsynth
21196 wine_fn_config_makefile dlls
/dmsynth
/tests enable_tests
21197 wine_fn_config_makefile dlls
/dmusic enable_dmusic
21198 wine_fn_config_makefile dlls
/dmusic
/tests enable_tests
21199 wine_fn_config_makefile dlls
/dmusic32 enable_dmusic32
21200 wine_fn_config_makefile dlls
/dnsapi enable_dnsapi
21201 wine_fn_config_makefile dlls
/dnsapi
/tests enable_tests
21202 wine_fn_config_makefile dlls
/dplay enable_dplay
21203 wine_fn_config_makefile dlls
/dplayx enable_dplayx
21204 wine_fn_config_makefile dlls
/dplayx
/tests enable_tests
21205 wine_fn_config_makefile dlls
/dpnaddr enable_dpnaddr
21206 wine_fn_config_makefile dlls
/dpnet enable_dpnet
21207 wine_fn_config_makefile dlls
/dpnet
/tests enable_tests
21208 wine_fn_config_makefile dlls
/dpnhpast enable_dpnhpast
21209 wine_fn_config_makefile dlls
/dpnhupnp enable_dpnhupnp
21210 wine_fn_config_makefile dlls
/dpnlobby enable_dpnlobby
21211 wine_fn_config_makefile dlls
/dpvoice enable_dpvoice
21212 wine_fn_config_makefile dlls
/dpvoice
/tests enable_tests
21213 wine_fn_config_makefile dlls
/dpwsockx enable_dpwsockx
21214 wine_fn_config_makefile dlls
/drmclien enable_drmclien
21215 wine_fn_config_makefile dlls
/dsdmo enable_dsdmo
21216 wine_fn_config_makefile dlls
/dsdmo
/tests enable_tests
21217 wine_fn_config_makefile dlls
/dsound enable_dsound
21218 wine_fn_config_makefile dlls
/dsound
/tests enable_tests
21219 wine_fn_config_makefile dlls
/dsquery enable_dsquery
21220 wine_fn_config_makefile dlls
/dssenh enable_dssenh
21221 wine_fn_config_makefile dlls
/dssenh
/tests enable_tests
21222 wine_fn_config_makefile dlls
/dsuiext enable_dsuiext
21223 wine_fn_config_makefile dlls
/dswave enable_dswave
21224 wine_fn_config_makefile dlls
/dswave
/tests enable_tests
21225 wine_fn_config_makefile dlls
/dwmapi enable_dwmapi
21226 wine_fn_config_makefile dlls
/dwmapi
/tests enable_tests
21227 wine_fn_config_makefile dlls
/dwrite enable_dwrite
21228 wine_fn_config_makefile dlls
/dwrite
/tests enable_tests
21229 wine_fn_config_makefile dlls
/dx8vb enable_dx8vb
21230 wine_fn_config_makefile dlls
/dxcore enable_dxcore
21231 wine_fn_config_makefile dlls
/dxdiagn enable_dxdiagn
21232 wine_fn_config_makefile dlls
/dxdiagn
/tests enable_tests
21233 wine_fn_config_makefile dlls
/dxgi enable_dxgi
21234 wine_fn_config_makefile dlls
/dxgi
/tests enable_tests
21235 wine_fn_config_makefile dlls
/dxtrans enable_dxtrans
21236 wine_fn_config_makefile dlls
/dxva2 enable_dxva2
21237 wine_fn_config_makefile dlls
/dxva
2/tests enable_tests
21238 wine_fn_config_makefile dlls
/esent enable_esent
21239 wine_fn_config_makefile dlls
/evr enable_evr
21240 wine_fn_config_makefile dlls
/evr
/tests enable_tests
21241 wine_fn_config_makefile dlls
/explorerframe enable_explorerframe
21242 wine_fn_config_makefile dlls
/explorerframe
/tests enable_tests
21243 wine_fn_config_makefile dlls
/faultrep enable_faultrep
21244 wine_fn_config_makefile dlls
/faultrep
/tests enable_tests
21245 wine_fn_config_makefile dlls
/feclient enable_feclient
21246 wine_fn_config_makefile dlls
/fltlib enable_fltlib
21247 wine_fn_config_makefile dlls
/fltmgr.sys enable_fltmgr_sys
21248 wine_fn_config_makefile dlls
/fntcache enable_fntcache
21249 wine_fn_config_makefile dlls
/fontsub enable_fontsub
21250 wine_fn_config_makefile dlls
/fusion enable_fusion
21251 wine_fn_config_makefile dlls
/fusion
/tests enable_tests
21252 wine_fn_config_makefile dlls
/fwpuclnt enable_fwpuclnt
21253 wine_fn_config_makefile dlls
/gameux enable_gameux
21254 wine_fn_config_makefile dlls
/gameux
/tests enable_tests
21255 wine_fn_config_makefile dlls
/gamingtcui enable_gamingtcui
21256 wine_fn_config_makefile dlls
/gdi.exe16 enable_win16
21257 wine_fn_config_makefile dlls
/gdi32 enable_gdi32
21258 wine_fn_config_makefile dlls
/gdi32
/tests enable_tests
21259 wine_fn_config_makefile dlls
/gdiplus enable_gdiplus
21260 wine_fn_config_makefile dlls
/gdiplus
/tests enable_tests
21261 wine_fn_config_makefile dlls
/geolocation enable_geolocation
21262 wine_fn_config_makefile dlls
/geolocation
/tests enable_tests
21263 wine_fn_config_makefile dlls
/glu32 enable_glu32
21264 wine_fn_config_makefile dlls
/gphoto2.ds enable_gphoto2_ds
21265 wine_fn_config_makefile dlls
/gpkcsp enable_gpkcsp
21266 wine_fn_config_makefile dlls
/graphicscapture enable_graphicscapture
21267 wine_fn_config_makefile dlls
/graphicscapture
/tests enable_tests
21268 wine_fn_config_makefile dlls
/hal enable_hal
21269 wine_fn_config_makefile dlls
/hhctrl.ocx enable_hhctrl_ocx
21270 wine_fn_config_makefile dlls
/hid enable_hid
21271 wine_fn_config_makefile dlls
/hid
/tests enable_tests
21272 wine_fn_config_makefile dlls
/hidclass.sys enable_hidclass_sys
21273 wine_fn_config_makefile dlls
/hidparse.sys enable_hidparse_sys
21274 wine_fn_config_makefile dlls
/hlink enable_hlink
21275 wine_fn_config_makefile dlls
/hlink
/tests enable_tests
21276 wine_fn_config_makefile dlls
/hnetcfg enable_hnetcfg
21277 wine_fn_config_makefile dlls
/hnetcfg
/tests enable_tests
21278 wine_fn_config_makefile dlls
/hrtfapo enable_hrtfapo
21279 wine_fn_config_makefile dlls
/http.sys enable_http_sys
21280 wine_fn_config_makefile dlls
/httpapi enable_httpapi
21281 wine_fn_config_makefile dlls
/httpapi
/tests enable_tests
21282 wine_fn_config_makefile dlls
/hvsimanagementapi enable_hvsimanagementapi
21283 wine_fn_config_makefile dlls
/hvsimanagementapi
/tests enable_tests
21284 wine_fn_config_makefile dlls
/ia2comproxy enable_ia2comproxy
21285 wine_fn_config_makefile dlls
/iccvid enable_iccvid
21286 wine_fn_config_makefile dlls
/icmp enable_icmp
21287 wine_fn_config_makefile dlls
/ieframe enable_ieframe
21288 wine_fn_config_makefile dlls
/ieframe
/tests enable_tests
21289 wine_fn_config_makefile dlls
/ieproxy enable_ieproxy
21290 wine_fn_config_makefile dlls
/ifsmgr.vxd enable_win16
21291 wine_fn_config_makefile dlls
/imaadp32.acm enable_imaadp32_acm
21292 wine_fn_config_makefile dlls
/imagehlp enable_imagehlp
21293 wine_fn_config_makefile dlls
/imagehlp
/tests enable_tests
21294 wine_fn_config_makefile dlls
/imm.dll16 enable_win16
21295 wine_fn_config_makefile dlls
/imm32 enable_imm32
21296 wine_fn_config_makefile dlls
/imm32
/tests enable_tests
21297 wine_fn_config_makefile dlls
/inetcomm enable_inetcomm
21298 wine_fn_config_makefile dlls
/inetcomm
/tests enable_tests
21299 wine_fn_config_makefile dlls
/inetcpl.cpl enable_inetcpl_cpl
21300 wine_fn_config_makefile dlls
/inetmib1 enable_inetmib1
21301 wine_fn_config_makefile dlls
/inetmib
1/tests enable_tests
21302 wine_fn_config_makefile dlls
/infosoft enable_infosoft
21303 wine_fn_config_makefile dlls
/infosoft
/tests enable_tests
21304 wine_fn_config_makefile dlls
/initpki enable_initpki
21305 wine_fn_config_makefile dlls
/inkobj enable_inkobj
21306 wine_fn_config_makefile dlls
/inseng enable_inseng
21307 wine_fn_config_makefile dlls
/iphlpapi enable_iphlpapi
21308 wine_fn_config_makefile dlls
/iphlpapi
/tests enable_tests
21309 wine_fn_config_makefile dlls
/iprop enable_iprop
21310 wine_fn_config_makefile dlls
/ir50_32 enable_ir50_32
21311 wine_fn_config_makefile dlls
/irprops.cpl enable_irprops_cpl
21312 wine_fn_config_makefile dlls
/itircl enable_itircl
21313 wine_fn_config_makefile dlls
/itss enable_itss
21314 wine_fn_config_makefile dlls
/itss
/tests enable_tests
21315 wine_fn_config_makefile dlls
/joy.cpl enable_joy_cpl
21316 wine_fn_config_makefile dlls
/jscript enable_jscript
21317 wine_fn_config_makefile dlls
/jscript
/tests enable_tests
21318 wine_fn_config_makefile dlls
/jsproxy enable_jsproxy
21319 wine_fn_config_makefile dlls
/jsproxy
/tests enable_tests
21320 wine_fn_config_makefile dlls
/kerberos enable_kerberos
21321 wine_fn_config_makefile dlls
/kernel32 enable_kernel32
21322 wine_fn_config_makefile dlls
/kernel32
/tests enable_tests
21323 wine_fn_config_makefile dlls
/kernelbase enable_kernelbase
21324 wine_fn_config_makefile dlls
/kernelbase
/tests enable_tests
21325 wine_fn_config_makefile dlls
/keyboard.drv16 enable_win16
21326 wine_fn_config_makefile dlls
/krnl386.exe16 enable_win16
21327 wine_fn_config_makefile dlls
/ksecdd.sys enable_ksecdd_sys
21328 wine_fn_config_makefile dlls
/ksproxy.ax enable_ksproxy_ax
21329 wine_fn_config_makefile dlls
/ksuser enable_ksuser
21330 wine_fn_config_makefile dlls
/ktmw32 enable_ktmw32
21331 wine_fn_config_makefile dlls
/l3codeca.acm enable_l3codeca_acm
21332 wine_fn_config_makefile dlls
/light.msstyles enable_light_msstyles
21333 wine_fn_config_makefile dlls
/loadperf enable_loadperf
21334 wine_fn_config_makefile dlls
/localspl enable_localspl
21335 wine_fn_config_makefile dlls
/localspl
/tests enable_tests
21336 wine_fn_config_makefile dlls
/localui enable_localui
21337 wine_fn_config_makefile dlls
/localui
/tests enable_tests
21338 wine_fn_config_makefile dlls
/lz32 enable_lz32
21339 wine_fn_config_makefile dlls
/lz32
/tests enable_tests
21340 wine_fn_config_makefile dlls
/lzexpand.dll16 enable_win16
21341 wine_fn_config_makefile dlls
/magnification enable_magnification
21342 wine_fn_config_makefile dlls
/mapi32 enable_mapi32
21343 wine_fn_config_makefile dlls
/mapi32
/tests enable_tests
21344 wine_fn_config_makefile dlls
/mapistub enable_mapistub
21345 wine_fn_config_makefile dlls
/mciavi32 enable_mciavi32
21346 wine_fn_config_makefile dlls
/mcicda enable_mcicda
21347 wine_fn_config_makefile dlls
/mciqtz32 enable_mciqtz32
21348 wine_fn_config_makefile dlls
/mciseq enable_mciseq
21349 wine_fn_config_makefile dlls
/mciwave enable_mciwave
21350 wine_fn_config_makefile dlls
/mf enable_mf
21351 wine_fn_config_makefile dlls
/mf
/tests enable_tests
21352 wine_fn_config_makefile dlls
/mf3216 enable_mf3216
21353 wine_fn_config_makefile dlls
/mferror enable_mferror
21354 wine_fn_config_makefile dlls
/mfmediaengine enable_mfmediaengine
21355 wine_fn_config_makefile dlls
/mfmediaengine
/tests enable_tests
21356 wine_fn_config_makefile dlls
/mfplat enable_mfplat
21357 wine_fn_config_makefile dlls
/mfplat
/tests enable_tests
21358 wine_fn_config_makefile dlls
/mfplay enable_mfplay
21359 wine_fn_config_makefile dlls
/mfplay
/tests enable_tests
21360 wine_fn_config_makefile dlls
/mfreadwrite enable_mfreadwrite
21361 wine_fn_config_makefile dlls
/mfreadwrite
/tests enable_tests
21362 wine_fn_config_makefile dlls
/mfsrcsnk enable_mfsrcsnk
21363 wine_fn_config_makefile dlls
/mfsrcsnk
/tests enable_tests
21364 wine_fn_config_makefile dlls
/mgmtapi enable_mgmtapi
21365 wine_fn_config_makefile dlls
/midimap enable_midimap
21366 wine_fn_config_makefile dlls
/mlang enable_mlang
21367 wine_fn_config_makefile dlls
/mlang
/tests enable_tests
21368 wine_fn_config_makefile dlls
/mmcndmgr enable_mmcndmgr
21369 wine_fn_config_makefile dlls
/mmcndmgr
/tests enable_tests
21370 wine_fn_config_makefile dlls
/mmdevapi enable_mmdevapi
21371 wine_fn_config_makefile dlls
/mmdevapi
/tests enable_tests
21372 wine_fn_config_makefile dlls
/mmdevldr.vxd enable_win16
21373 wine_fn_config_makefile dlls
/mmsystem.dll16 enable_win16
21374 wine_fn_config_makefile dlls
/monodebg.vxd enable_win16
21375 wine_fn_config_makefile dlls
/mountmgr.sys enable_mountmgr_sys
21376 wine_fn_config_makefile dlls
/mouse.drv16 enable_win16
21377 wine_fn_config_makefile dlls
/mp3dmod enable_mp3dmod
21378 wine_fn_config_makefile dlls
/mp3dmod
/tests enable_tests
21379 wine_fn_config_makefile dlls
/mpr enable_mpr
21380 wine_fn_config_makefile dlls
/mpr
/tests enable_tests
21381 wine_fn_config_makefile dlls
/mprapi enable_mprapi
21382 wine_fn_config_makefile dlls
/msacm.dll16 enable_win16
21383 wine_fn_config_makefile dlls
/msacm32.drv enable_msacm32_drv
21384 wine_fn_config_makefile dlls
/msacm32 enable_msacm32
21385 wine_fn_config_makefile dlls
/msacm32
/tests enable_tests
21386 wine_fn_config_makefile dlls
/msado15 enable_msado15
21387 wine_fn_config_makefile dlls
/msado15
/tests enable_tests
21388 wine_fn_config_makefile dlls
/msadp32.acm enable_msadp32_acm
21389 wine_fn_config_makefile dlls
/msasn1 enable_msasn1
21390 wine_fn_config_makefile dlls
/msasn
1/tests enable_tests
21391 wine_fn_config_makefile dlls
/msauddecmft enable_msauddecmft
21392 wine_fn_config_makefile dlls
/mscat32 enable_mscat32
21393 wine_fn_config_makefile dlls
/mscms enable_mscms
21394 wine_fn_config_makefile dlls
/mscms
/tests enable_tests
21395 wine_fn_config_makefile dlls
/mscoree enable_mscoree
21396 wine_fn_config_makefile dlls
/mscoree
/tests enable_tests
21397 wine_fn_config_makefile dlls
/mscorwks enable_mscorwks
21398 wine_fn_config_makefile dlls
/msctf enable_msctf
21399 wine_fn_config_makefile dlls
/msctf
/tests enable_tests
21400 wine_fn_config_makefile dlls
/msctfmonitor enable_msctfmonitor
21401 wine_fn_config_makefile dlls
/msctfp enable_msctfp
21402 wine_fn_config_makefile dlls
/msdaps enable_msdaps
21403 wine_fn_config_makefile dlls
/msdasql enable_msdasql
21404 wine_fn_config_makefile dlls
/msdasql
/tests enable_tests
21405 wine_fn_config_makefile dlls
/msdelta enable_msdelta
21406 wine_fn_config_makefile dlls
/msdmo enable_msdmo
21407 wine_fn_config_makefile dlls
/msdmo
/tests enable_tests
21408 wine_fn_config_makefile dlls
/msdrm enable_msdrm
21409 wine_fn_config_makefile dlls
/msftedit enable_msftedit
21410 wine_fn_config_makefile dlls
/msftedit
/tests enable_tests
21411 wine_fn_config_makefile dlls
/msg711.acm enable_msg711_acm
21412 wine_fn_config_makefile dlls
/msgsm32.acm enable_msgsm32_acm
21413 wine_fn_config_makefile dlls
/mshtml.tlb enable_mshtml_tlb
21414 wine_fn_config_makefile dlls
/mshtml enable_mshtml
21415 wine_fn_config_makefile dlls
/mshtml
/tests enable_tests
21416 wine_fn_config_makefile dlls
/msi enable_msi
21417 wine_fn_config_makefile dlls
/msi
/tests enable_tests
21418 wine_fn_config_makefile dlls
/msident enable_msident
21419 wine_fn_config_makefile dlls
/msimg32 enable_msimg32
21420 wine_fn_config_makefile dlls
/msimsg enable_msimsg
21421 wine_fn_config_makefile dlls
/msimtf enable_msimtf
21422 wine_fn_config_makefile dlls
/msisip enable_msisip
21423 wine_fn_config_makefile dlls
/msisys.ocx enable_msisys_ocx
21424 wine_fn_config_makefile dlls
/msls31 enable_msls31
21425 wine_fn_config_makefile dlls
/msmpeg2vdec enable_msmpeg2vdec
21426 wine_fn_config_makefile dlls
/msnet32 enable_msnet32
21427 wine_fn_config_makefile dlls
/mspatcha enable_mspatcha
21428 wine_fn_config_makefile dlls
/mspatcha
/tests enable_tests
21429 wine_fn_config_makefile dlls
/msports enable_msports
21430 wine_fn_config_makefile dlls
/msrle32 enable_msrle32
21431 wine_fn_config_makefile dlls
/msrle32
/tests enable_tests
21432 wine_fn_config_makefile dlls
/msscript.ocx enable_msscript_ocx
21433 wine_fn_config_makefile dlls
/msscript.ocx
/tests enable_tests
21434 wine_fn_config_makefile dlls
/mssign32 enable_mssign32
21435 wine_fn_config_makefile dlls
/mssip32 enable_mssip32
21436 wine_fn_config_makefile dlls
/mstask enable_mstask
21437 wine_fn_config_makefile dlls
/mstask
/tests enable_tests
21438 wine_fn_config_makefile dlls
/msv1_0 enable_msv1_0
21439 wine_fn_config_makefile dlls
/msvcirt enable_msvcirt
21440 wine_fn_config_makefile dlls
/msvcirt
/tests enable_tests
21441 wine_fn_config_makefile dlls
/msvcm80 enable_msvcm80
21442 wine_fn_config_makefile dlls
/msvcm90 enable_msvcm90
21443 wine_fn_config_makefile dlls
/msvcp100 enable_msvcp100
21444 wine_fn_config_makefile dlls
/msvcp100
/tests enable_tests
21445 wine_fn_config_makefile dlls
/msvcp110 enable_msvcp110
21446 wine_fn_config_makefile dlls
/msvcp110
/tests enable_tests
21447 wine_fn_config_makefile dlls
/msvcp120 enable_msvcp120
21448 wine_fn_config_makefile dlls
/msvcp120
/tests enable_tests
21449 wine_fn_config_makefile dlls
/msvcp120_app enable_msvcp120_app
21450 wine_fn_config_makefile dlls
/msvcp140 enable_msvcp140
21451 wine_fn_config_makefile dlls
/msvcp140
/tests enable_tests
21452 wine_fn_config_makefile dlls
/msvcp140_1 enable_msvcp140_1
21453 wine_fn_config_makefile dlls
/msvcp140_
1/tests enable_tests
21454 wine_fn_config_makefile dlls
/msvcp140_2 enable_msvcp140_2
21455 wine_fn_config_makefile dlls
/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21456 wine_fn_config_makefile dlls
/msvcp140_atomic_wait
/tests enable_tests
21457 wine_fn_config_makefile dlls
/msvcp140_codecvt_ids enable_msvcp140_codecvt_ids
21458 wine_fn_config_makefile dlls
/msvcp60 enable_msvcp60
21459 wine_fn_config_makefile dlls
/msvcp60
/tests enable_tests
21460 wine_fn_config_makefile dlls
/msvcp70 enable_msvcp70
21461 wine_fn_config_makefile dlls
/msvcp71 enable_msvcp71
21462 wine_fn_config_makefile dlls
/msvcp80 enable_msvcp80
21463 wine_fn_config_makefile dlls
/msvcp90 enable_msvcp90
21464 wine_fn_config_makefile dlls
/msvcp90
/tests enable_tests
21465 wine_fn_config_makefile dlls
/msvcp_win enable_msvcp_win
21466 wine_fn_config_makefile dlls
/msvcr100 enable_msvcr100
21467 wine_fn_config_makefile dlls
/msvcr100
/tests enable_tests
21468 wine_fn_config_makefile dlls
/msvcr110 enable_msvcr110
21469 wine_fn_config_makefile dlls
/msvcr110
/tests enable_tests
21470 wine_fn_config_makefile dlls
/msvcr120 enable_msvcr120
21471 wine_fn_config_makefile dlls
/msvcr120
/tests enable_tests
21472 wine_fn_config_makefile dlls
/msvcr120_app enable_msvcr120_app
21473 wine_fn_config_makefile dlls
/msvcr70 enable_msvcr70
21474 wine_fn_config_makefile dlls
/msvcr70
/tests enable_tests
21475 wine_fn_config_makefile dlls
/msvcr71 enable_msvcr71
21476 wine_fn_config_makefile dlls
/msvcr71
/tests enable_tests
21477 wine_fn_config_makefile dlls
/msvcr80 enable_msvcr80
21478 wine_fn_config_makefile dlls
/msvcr80
/tests enable_tests
21479 wine_fn_config_makefile dlls
/msvcr90 enable_msvcr90
21480 wine_fn_config_makefile dlls
/msvcr90
/tests enable_tests
21481 wine_fn_config_makefile dlls
/msvcrt enable_msvcrt
21482 wine_fn_config_makefile dlls
/msvcrt
/tests enable_tests
21483 wine_fn_config_makefile dlls
/msvcrt20 enable_msvcrt20
21484 wine_fn_config_makefile dlls
/msvcrt40 enable_msvcrt40
21485 wine_fn_config_makefile dlls
/msvcrtd enable_msvcrtd
21486 wine_fn_config_makefile dlls
/msvcrtd
/tests enable_tests
21487 wine_fn_config_makefile dlls
/msvfw32 enable_msvfw32
21488 wine_fn_config_makefile dlls
/msvfw32
/tests enable_tests
21489 wine_fn_config_makefile dlls
/msvidc32 enable_msvidc32
21490 wine_fn_config_makefile dlls
/msvideo.dll16 enable_win16
21491 wine_fn_config_makefile dlls
/mswsock enable_mswsock
21492 wine_fn_config_makefile dlls
/msxml enable_msxml
21493 wine_fn_config_makefile dlls
/msxml2 enable_msxml2
21494 wine_fn_config_makefile dlls
/msxml3 enable_msxml3
21495 wine_fn_config_makefile dlls
/msxml
3/tests enable_tests
21496 wine_fn_config_makefile dlls
/msxml4 enable_msxml4
21497 wine_fn_config_makefile dlls
/msxml6 enable_msxml6
21498 wine_fn_config_makefile dlls
/mtxdm enable_mtxdm
21499 wine_fn_config_makefile dlls
/ncrypt enable_ncrypt
21500 wine_fn_config_makefile dlls
/ncrypt
/tests enable_tests
21501 wine_fn_config_makefile dlls
/nddeapi enable_nddeapi
21502 wine_fn_config_makefile dlls
/ndis.sys enable_ndis_sys
21503 wine_fn_config_makefile dlls
/ndis.sys
/tests enable_tests
21504 wine_fn_config_makefile dlls
/netapi32 enable_netapi32
21505 wine_fn_config_makefile dlls
/netapi32
/tests enable_tests
21506 wine_fn_config_makefile dlls
/netcfgx enable_netcfgx
21507 wine_fn_config_makefile dlls
/netcfgx
/tests enable_tests
21508 wine_fn_config_makefile dlls
/netio.sys enable_netio_sys
21509 wine_fn_config_makefile dlls
/netprofm enable_netprofm
21510 wine_fn_config_makefile dlls
/netprofm
/tests enable_tests
21511 wine_fn_config_makefile dlls
/netutils enable_netutils
21512 wine_fn_config_makefile dlls
/newdev enable_newdev
21513 wine_fn_config_makefile dlls
/ninput enable_ninput
21514 wine_fn_config_makefile dlls
/ninput
/tests enable_tests
21515 wine_fn_config_makefile dlls
/normaliz enable_normaliz
21516 wine_fn_config_makefile dlls
/npmshtml enable_npmshtml
21517 wine_fn_config_makefile dlls
/npptools enable_npptools
21518 wine_fn_config_makefile dlls
/nsi enable_nsi
21519 wine_fn_config_makefile dlls
/nsi
/tests enable_tests
21520 wine_fn_config_makefile dlls
/nsiproxy.sys enable_nsiproxy_sys
21521 wine_fn_config_makefile dlls
/ntdll enable_ntdll
21522 wine_fn_config_makefile dlls
/ntdll
/tests enable_tests
21523 wine_fn_config_makefile dlls
/ntdsapi enable_ntdsapi
21524 wine_fn_config_makefile dlls
/ntdsapi
/tests enable_tests
21525 wine_fn_config_makefile dlls
/ntoskrnl.exe enable_ntoskrnl_exe
21526 wine_fn_config_makefile dlls
/ntoskrnl.exe
/tests enable_tests
21527 wine_fn_config_makefile dlls
/ntprint enable_ntprint
21528 wine_fn_config_makefile dlls
/ntprint
/tests enable_tests
21529 wine_fn_config_makefile dlls
/objsel enable_objsel
21530 wine_fn_config_makefile dlls
/odbc32 enable_odbc32
21531 wine_fn_config_makefile dlls
/odbcbcp enable_odbcbcp
21532 wine_fn_config_makefile dlls
/odbccp32 enable_odbccp32
21533 wine_fn_config_makefile dlls
/odbccp32
/tests enable_tests
21534 wine_fn_config_makefile dlls
/odbccu32 enable_odbccu32
21535 wine_fn_config_makefile dlls
/ole2.dll16 enable_win16
21536 wine_fn_config_makefile dlls
/ole2conv.dll16 enable_win16
21537 wine_fn_config_makefile dlls
/ole2disp.dll16 enable_win16
21538 wine_fn_config_makefile dlls
/ole2nls.dll16 enable_win16
21539 wine_fn_config_makefile dlls
/ole2prox.dll16 enable_win16
21540 wine_fn_config_makefile dlls
/ole2thk.dll16 enable_win16
21541 wine_fn_config_makefile dlls
/ole32 enable_ole32
21542 wine_fn_config_makefile dlls
/ole32
/tests enable_tests
21543 wine_fn_config_makefile dlls
/oleacc enable_oleacc
21544 wine_fn_config_makefile dlls
/oleacc
/tests enable_tests
21545 wine_fn_config_makefile dlls
/oleaut32 enable_oleaut32
21546 wine_fn_config_makefile dlls
/oleaut32
/tests enable_tests
21547 wine_fn_config_makefile dlls
/olecli.dll16 enable_win16
21548 wine_fn_config_makefile dlls
/olecli32 enable_olecli32
21549 wine_fn_config_makefile dlls
/oledb32 enable_oledb32
21550 wine_fn_config_makefile dlls
/oledb32
/tests enable_tests
21551 wine_fn_config_makefile dlls
/oledlg enable_oledlg
21552 wine_fn_config_makefile dlls
/oledlg
/tests enable_tests
21553 wine_fn_config_makefile dlls
/olepro32 enable_olepro32
21554 wine_fn_config_makefile dlls
/olesvr.dll16 enable_win16
21555 wine_fn_config_makefile dlls
/olesvr32 enable_olesvr32
21556 wine_fn_config_makefile dlls
/olethk32 enable_olethk32
21557 wine_fn_config_makefile dlls
/opcservices enable_opcservices
21558 wine_fn_config_makefile dlls
/opcservices
/tests enable_tests
21559 wine_fn_config_makefile dlls
/opencl enable_opencl
21560 wine_fn_config_makefile dlls
/opengl32 enable_opengl32
21561 wine_fn_config_makefile dlls
/opengl32
/tests enable_tests
21562 wine_fn_config_makefile dlls
/packager enable_packager
21563 wine_fn_config_makefile dlls
/packager
/tests enable_tests
21564 wine_fn_config_makefile dlls
/pdh enable_pdh
21565 wine_fn_config_makefile dlls
/pdh
/tests enable_tests
21566 wine_fn_config_makefile dlls
/photometadatahandler enable_photometadatahandler
21567 wine_fn_config_makefile dlls
/pidgen enable_pidgen
21568 wine_fn_config_makefile dlls
/powrprof enable_powrprof
21569 wine_fn_config_makefile dlls
/printui enable_printui
21570 wine_fn_config_makefile dlls
/prntvpt enable_prntvpt
21571 wine_fn_config_makefile dlls
/prntvpt
/tests enable_tests
21572 wine_fn_config_makefile dlls
/propsys enable_propsys
21573 wine_fn_config_makefile dlls
/propsys
/tests enable_tests
21574 wine_fn_config_makefile dlls
/psapi enable_psapi
21575 wine_fn_config_makefile dlls
/psapi
/tests enable_tests
21576 wine_fn_config_makefile dlls
/pstorec enable_pstorec
21577 wine_fn_config_makefile dlls
/pstorec
/tests enable_tests
21578 wine_fn_config_makefile dlls
/pwrshplugin enable_pwrshplugin
21579 wine_fn_config_makefile dlls
/qasf enable_qasf
21580 wine_fn_config_makefile dlls
/qasf
/tests enable_tests
21581 wine_fn_config_makefile dlls
/qcap enable_qcap
21582 wine_fn_config_makefile dlls
/qcap
/tests enable_tests
21583 wine_fn_config_makefile dlls
/qdvd enable_qdvd
21584 wine_fn_config_makefile dlls
/qdvd
/tests enable_tests
21585 wine_fn_config_makefile dlls
/qedit enable_qedit
21586 wine_fn_config_makefile dlls
/qedit
/tests enable_tests
21587 wine_fn_config_makefile dlls
/qmgr enable_qmgr
21588 wine_fn_config_makefile dlls
/qmgr
/tests enable_tests
21589 wine_fn_config_makefile dlls
/qmgrprxy enable_qmgrprxy
21590 wine_fn_config_makefile dlls
/quartz enable_quartz
21591 wine_fn_config_makefile dlls
/quartz
/tests enable_tests
21592 wine_fn_config_makefile dlls
/query enable_query
21593 wine_fn_config_makefile dlls
/qwave enable_qwave
21594 wine_fn_config_makefile dlls
/qwave
/tests enable_tests
21595 wine_fn_config_makefile dlls
/rasapi16.dll16 enable_win16
21596 wine_fn_config_makefile dlls
/rasapi32 enable_rasapi32
21597 wine_fn_config_makefile dlls
/rasapi32
/tests enable_tests
21598 wine_fn_config_makefile dlls
/rasdlg enable_rasdlg
21599 wine_fn_config_makefile dlls
/regapi enable_regapi
21600 wine_fn_config_makefile dlls
/resutils enable_resutils
21601 wine_fn_config_makefile dlls
/riched20 enable_riched20
21602 wine_fn_config_makefile dlls
/riched20
/tests enable_tests
21603 wine_fn_config_makefile dlls
/riched32 enable_riched32
21604 wine_fn_config_makefile dlls
/riched32
/tests enable_tests
21605 wine_fn_config_makefile dlls
/rpcrt4 enable_rpcrt4
21606 wine_fn_config_makefile dlls
/rpcrt
4/tests enable_tests
21607 wine_fn_config_makefile dlls
/rsabase enable_rsabase
21608 wine_fn_config_makefile dlls
/rsaenh enable_rsaenh
21609 wine_fn_config_makefile dlls
/rsaenh
/tests enable_tests
21610 wine_fn_config_makefile dlls
/rstrtmgr enable_rstrtmgr
21611 wine_fn_config_makefile dlls
/rtutils enable_rtutils
21612 wine_fn_config_makefile dlls
/rtworkq enable_rtworkq
21613 wine_fn_config_makefile dlls
/rtworkq
/tests enable_tests
21614 wine_fn_config_makefile dlls
/samlib enable_samlib
21615 wine_fn_config_makefile dlls
/sane.ds enable_sane_ds
21616 wine_fn_config_makefile dlls
/sapi enable_sapi
21617 wine_fn_config_makefile dlls
/sapi
/tests enable_tests
21618 wine_fn_config_makefile dlls
/sas enable_sas
21619 wine_fn_config_makefile dlls
/scarddlg enable_scarddlg
21620 wine_fn_config_makefile dlls
/scardsvr enable_scardsvr
21621 wine_fn_config_makefile dlls
/sccbase enable_sccbase
21622 wine_fn_config_makefile dlls
/schannel enable_schannel
21623 wine_fn_config_makefile dlls
/schannel
/tests enable_tests
21624 wine_fn_config_makefile dlls
/schedsvc enable_schedsvc
21625 wine_fn_config_makefile dlls
/schedsvc
/tests enable_tests
21626 wine_fn_config_makefile dlls
/scrobj enable_scrobj
21627 wine_fn_config_makefile dlls
/scrobj
/tests enable_tests
21628 wine_fn_config_makefile dlls
/scrrun enable_scrrun
21629 wine_fn_config_makefile dlls
/scrrun
/tests enable_tests
21630 wine_fn_config_makefile dlls
/scsiport.sys enable_scsiport_sys
21631 wine_fn_config_makefile dlls
/sechost enable_sechost
21632 wine_fn_config_makefile dlls
/secur32 enable_secur32
21633 wine_fn_config_makefile dlls
/secur32
/tests enable_tests
21634 wine_fn_config_makefile dlls
/security enable_security
21635 wine_fn_config_makefile dlls
/sensapi enable_sensapi
21636 wine_fn_config_makefile dlls
/serialui enable_serialui
21637 wine_fn_config_makefile dlls
/serialui
/tests enable_tests
21638 wine_fn_config_makefile dlls
/setupapi enable_setupapi
21639 wine_fn_config_makefile dlls
/setupapi
/tests enable_tests
21640 wine_fn_config_makefile dlls
/setupx.dll16 enable_win16
21641 wine_fn_config_makefile dlls
/sfc enable_sfc
21642 wine_fn_config_makefile dlls
/sfc_os enable_sfc_os
21643 wine_fn_config_makefile dlls
/shcore enable_shcore
21644 wine_fn_config_makefile dlls
/shcore
/tests enable_tests
21645 wine_fn_config_makefile dlls
/shdoclc enable_shdoclc
21646 wine_fn_config_makefile dlls
/shdocvw enable_shdocvw
21647 wine_fn_config_makefile dlls
/shdocvw
/tests enable_tests
21648 wine_fn_config_makefile dlls
/shell.dll16 enable_win16
21649 wine_fn_config_makefile dlls
/shell32 enable_shell32
21650 wine_fn_config_makefile dlls
/shell32
/tests enable_tests
21651 wine_fn_config_makefile dlls
/shfolder enable_shfolder
21652 wine_fn_config_makefile dlls
/shlwapi enable_shlwapi
21653 wine_fn_config_makefile dlls
/shlwapi
/tests enable_tests
21654 wine_fn_config_makefile dlls
/slbcsp enable_slbcsp
21655 wine_fn_config_makefile dlls
/slc enable_slc
21656 wine_fn_config_makefile dlls
/slc
/tests enable_tests
21657 wine_fn_config_makefile dlls
/snmpapi enable_snmpapi
21658 wine_fn_config_makefile dlls
/snmpapi
/tests enable_tests
21659 wine_fn_config_makefile dlls
/softpub enable_softpub
21660 wine_fn_config_makefile dlls
/sound.drv16 enable_win16
21661 wine_fn_config_makefile dlls
/spoolss enable_spoolss
21662 wine_fn_config_makefile dlls
/spoolss
/tests enable_tests
21663 wine_fn_config_makefile dlls
/sppc enable_sppc
21664 wine_fn_config_makefile dlls
/srclient enable_srclient
21665 wine_fn_config_makefile dlls
/srvcli enable_srvcli
21666 wine_fn_config_makefile dlls
/sspicli enable_sspicli
21667 wine_fn_config_makefile dlls
/stdole2.tlb enable_stdole2_tlb
21668 wine_fn_config_makefile dlls
/stdole32.tlb enable_stdole32_tlb
21669 wine_fn_config_makefile dlls
/sti enable_sti
21670 wine_fn_config_makefile dlls
/sti
/tests enable_tests
21671 wine_fn_config_makefile dlls
/storage.dll16 enable_win16
21672 wine_fn_config_makefile dlls
/stress.dll16 enable_win16
21673 wine_fn_config_makefile dlls
/strmdll enable_strmdll
21674 wine_fn_config_makefile dlls
/svrapi enable_svrapi
21675 wine_fn_config_makefile dlls
/sxs enable_sxs
21676 wine_fn_config_makefile dlls
/sxs
/tests enable_tests
21677 wine_fn_config_makefile dlls
/system.drv16 enable_win16
21678 wine_fn_config_makefile dlls
/t2embed enable_t2embed
21679 wine_fn_config_makefile dlls
/t2embed
/tests enable_tests
21680 wine_fn_config_makefile dlls
/tapi32 enable_tapi32
21681 wine_fn_config_makefile dlls
/tapi32
/tests enable_tests
21682 wine_fn_config_makefile dlls
/taskschd enable_taskschd
21683 wine_fn_config_makefile dlls
/taskschd
/tests enable_tests
21684 wine_fn_config_makefile dlls
/tbs enable_tbs
21685 wine_fn_config_makefile dlls
/tdh enable_tdh
21686 wine_fn_config_makefile dlls
/tdi.sys enable_tdi_sys
21687 wine_fn_config_makefile dlls
/threadpoolwinrt enable_threadpoolwinrt
21688 wine_fn_config_makefile dlls
/threadpoolwinrt
/tests enable_tests
21689 wine_fn_config_makefile dlls
/toolhelp.dll16 enable_win16
21690 wine_fn_config_makefile dlls
/traffic enable_traffic
21691 wine_fn_config_makefile dlls
/twain.dll16 enable_win16
21692 wine_fn_config_makefile dlls
/twain_32 enable_twain_32
21693 wine_fn_config_makefile dlls
/twain_32
/tests enable_tests
21694 wine_fn_config_makefile dlls
/twinapi.appcore enable_twinapi_appcore
21695 wine_fn_config_makefile dlls
/typelib.dll16 enable_win16
21696 wine_fn_config_makefile dlls
/tzres enable_tzres
21697 wine_fn_config_makefile dlls
/ucrtbase enable_ucrtbase
21698 wine_fn_config_makefile dlls
/ucrtbase
/tests enable_tests
21699 wine_fn_config_makefile dlls
/uianimation enable_uianimation
21700 wine_fn_config_makefile dlls
/uianimation
/tests enable_tests
21701 wine_fn_config_makefile dlls
/uiautomationcore enable_uiautomationcore
21702 wine_fn_config_makefile dlls
/uiautomationcore
/tests enable_tests
21703 wine_fn_config_makefile dlls
/uiribbon enable_uiribbon
21704 wine_fn_config_makefile dlls
/unicows enable_unicows
21705 wine_fn_config_makefile dlls
/updspapi enable_updspapi
21706 wine_fn_config_makefile dlls
/url enable_url
21707 wine_fn_config_makefile dlls
/urlmon enable_urlmon
21708 wine_fn_config_makefile dlls
/urlmon
/tests enable_tests
21709 wine_fn_config_makefile dlls
/usbd.sys enable_usbd_sys
21710 wine_fn_config_makefile dlls
/user.exe16 enable_win16
21711 wine_fn_config_makefile dlls
/user32 enable_user32
21712 wine_fn_config_makefile dlls
/user32
/tests enable_tests
21713 wine_fn_config_makefile dlls
/userenv enable_userenv
21714 wine_fn_config_makefile dlls
/userenv
/tests enable_tests
21715 wine_fn_config_makefile dlls
/usp10 enable_usp10
21716 wine_fn_config_makefile dlls
/usp10
/tests enable_tests
21717 wine_fn_config_makefile dlls
/utildll enable_utildll
21718 wine_fn_config_makefile dlls
/uxtheme enable_uxtheme
21719 wine_fn_config_makefile dlls
/uxtheme
/tests enable_tests
21720 wine_fn_config_makefile dlls
/vbscript enable_vbscript
21721 wine_fn_config_makefile dlls
/vbscript
/tests enable_tests
21722 wine_fn_config_makefile dlls
/vcomp enable_vcomp
21723 wine_fn_config_makefile dlls
/vcomp
/tests enable_tests
21724 wine_fn_config_makefile dlls
/vcomp100 enable_vcomp100
21725 wine_fn_config_makefile dlls
/vcomp110 enable_vcomp110
21726 wine_fn_config_makefile dlls
/vcomp110
/tests enable_tests
21727 wine_fn_config_makefile dlls
/vcomp120 enable_vcomp120
21728 wine_fn_config_makefile dlls
/vcomp140 enable_vcomp140
21729 wine_fn_config_makefile dlls
/vcomp90 enable_vcomp90
21730 wine_fn_config_makefile dlls
/vcruntime140 enable_vcruntime140
21731 wine_fn_config_makefile dlls
/vcruntime140_1 enable_vcruntime140_1
21732 wine_fn_config_makefile dlls
/vdhcp.vxd enable_win16
21733 wine_fn_config_makefile dlls
/vdmdbg enable_vdmdbg
21734 wine_fn_config_makefile dlls
/ver.dll16 enable_win16
21735 wine_fn_config_makefile dlls
/version enable_version
21736 wine_fn_config_makefile dlls
/version
/tests enable_tests
21737 wine_fn_config_makefile dlls
/vga enable_vga
21738 wine_fn_config_makefile dlls
/virtdisk enable_virtdisk
21739 wine_fn_config_makefile dlls
/virtdisk
/tests enable_tests
21740 wine_fn_config_makefile dlls
/vmm.vxd enable_win16
21741 wine_fn_config_makefile dlls
/vnbt.vxd enable_win16
21742 wine_fn_config_makefile dlls
/vnetbios.vxd enable_win16
21743 wine_fn_config_makefile dlls
/vssapi enable_vssapi
21744 wine_fn_config_makefile dlls
/vtdapi.vxd enable_win16
21745 wine_fn_config_makefile dlls
/vulkan-1 enable_vulkan_1
21746 wine_fn_config_makefile dlls
/vulkan-
1/tests enable_tests
21747 wine_fn_config_makefile dlls
/vwin32.vxd enable_win16
21748 wine_fn_config_makefile dlls
/w32skrnl enable_win16
21749 wine_fn_config_makefile dlls
/w32sys.dll16 enable_win16
21750 wine_fn_config_makefile dlls
/wbemdisp enable_wbemdisp
21751 wine_fn_config_makefile dlls
/wbemdisp
/tests enable_tests
21752 wine_fn_config_makefile dlls
/wbemprox enable_wbemprox
21753 wine_fn_config_makefile dlls
/wbemprox
/tests enable_tests
21754 wine_fn_config_makefile dlls
/wdscore enable_wdscore
21755 wine_fn_config_makefile dlls
/webservices enable_webservices
21756 wine_fn_config_makefile dlls
/webservices
/tests enable_tests
21757 wine_fn_config_makefile dlls
/websocket enable_websocket
21758 wine_fn_config_makefile dlls
/wer enable_wer
21759 wine_fn_config_makefile dlls
/wer
/tests enable_tests
21760 wine_fn_config_makefile dlls
/wevtapi enable_wevtapi
21761 wine_fn_config_makefile dlls
/wevtapi
/tests enable_tests
21762 wine_fn_config_makefile dlls
/wevtsvc enable_wevtsvc
21763 wine_fn_config_makefile dlls
/wiaservc enable_wiaservc
21764 wine_fn_config_makefile dlls
/wiaservc
/tests enable_tests
21765 wine_fn_config_makefile dlls
/wimgapi enable_wimgapi
21766 wine_fn_config_makefile dlls
/win32s16.dll16 enable_win16
21767 wine_fn_config_makefile dlls
/win32u enable_win32u
21768 wine_fn_config_makefile dlls
/win32u
/tests enable_tests
21769 wine_fn_config_makefile dlls
/win87em.dll16 enable_win16
21770 wine_fn_config_makefile dlls
/winaspi.dll16 enable_win16
21771 wine_fn_config_makefile dlls
/windebug.dll16 enable_win16
21772 wine_fn_config_makefile dlls
/windows.devices.bluetooth enable_windows_devices_bluetooth
21773 wine_fn_config_makefile dlls
/windows.devices.bluetooth
/tests enable_tests
21774 wine_fn_config_makefile dlls
/windows.devices.enumeration enable_windows_devices_enumeration
21775 wine_fn_config_makefile dlls
/windows.devices.enumeration
/tests enable_tests
21776 wine_fn_config_makefile dlls
/windows.devices.usb enable_windows_devices_usb
21777 wine_fn_config_makefile dlls
/windows.devices.usb
/tests enable_tests
21778 wine_fn_config_makefile dlls
/windows.gaming.input enable_windows_gaming_input
21779 wine_fn_config_makefile dlls
/windows.gaming.input
/tests enable_tests
21780 wine_fn_config_makefile dlls
/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
21781 wine_fn_config_makefile dlls
/windows.gaming.ui.gamebar
/tests enable_tests
21782 wine_fn_config_makefile dlls
/windows.globalization enable_windows_globalization
21783 wine_fn_config_makefile dlls
/windows.globalization
/tests enable_tests
21784 wine_fn_config_makefile dlls
/windows.media.devices enable_windows_media_devices
21785 wine_fn_config_makefile dlls
/windows.media.devices
/tests enable_tests
21786 wine_fn_config_makefile dlls
/windows.media.speech enable_windows_media_speech
21787 wine_fn_config_makefile dlls
/windows.media.speech
/tests enable_tests
21788 wine_fn_config_makefile dlls
/windows.media enable_windows_media
21789 wine_fn_config_makefile dlls
/windows.media
/tests enable_tests
21790 wine_fn_config_makefile dlls
/windows.networking.hostname enable_windows_networking_hostname
21791 wine_fn_config_makefile dlls
/windows.networking.hostname
/tests enable_tests
21792 wine_fn_config_makefile dlls
/windows.networking enable_windows_networking
21793 wine_fn_config_makefile dlls
/windows.perception.stub enable_windows_perception_stub
21794 wine_fn_config_makefile dlls
/windows.perception.stub
/tests enable_tests
21795 wine_fn_config_makefile dlls
/windows.system.profile.systemmanufacturers enable_windows_system_profile_systemmanufacturers
21796 wine_fn_config_makefile dlls
/windows.system.profile.systemmanufacturers
/tests enable_tests
21797 wine_fn_config_makefile dlls
/windows.ui enable_windows_ui
21798 wine_fn_config_makefile dlls
/windows.ui
/tests enable_tests
21799 wine_fn_config_makefile dlls
/windowscodecs enable_windowscodecs
21800 wine_fn_config_makefile dlls
/windowscodecs
/tests enable_tests
21801 wine_fn_config_makefile dlls
/windowscodecsext enable_windowscodecsext
21802 wine_fn_config_makefile dlls
/windowscodecsext
/tests enable_tests
21803 wine_fn_config_makefile dlls
/winealsa.drv enable_winealsa_drv
21804 wine_fn_config_makefile dlls
/wineandroid.drv enable_wineandroid_drv
21805 wine_fn_config_makefile dlls
/winebus.sys enable_winebus_sys
21806 wine_fn_config_makefile dlls
/winecoreaudio.drv enable_winecoreaudio_drv
21807 wine_fn_config_makefile dlls
/winecrt0 enable_winecrt0
21808 wine_fn_config_makefile dlls
/wined3d enable_wined3d
21809 wine_fn_config_makefile dlls
/winegstreamer enable_winegstreamer
21810 wine_fn_config_makefile dlls
/winehid.sys enable_winehid_sys
21811 wine_fn_config_makefile dlls
/winemac.drv enable_winemac_drv
21812 wine_fn_config_makefile dlls
/winemapi enable_winemapi
21813 wine_fn_config_makefile dlls
/wineoss.drv enable_wineoss_drv
21814 wine_fn_config_makefile dlls
/wineps.drv enable_wineps_drv
21815 wine_fn_config_makefile dlls
/wineps16.drv16 enable_win16
21816 wine_fn_config_makefile dlls
/winepulse.drv enable_winepulse_drv
21817 wine_fn_config_makefile dlls
/wineusb.sys enable_wineusb_sys
21818 wine_fn_config_makefile dlls
/winevulkan enable_winevulkan
21819 wine_fn_config_makefile dlls
/winewayland.drv enable_winewayland_drv
21820 wine_fn_config_makefile dlls
/winex11.drv enable_winex11_drv
21821 wine_fn_config_makefile dlls
/winexinput.sys enable_winexinput_sys
21822 wine_fn_config_makefile dlls
/wing.dll16 enable_win16
21823 wine_fn_config_makefile dlls
/wing32 enable_wing32
21824 wine_fn_config_makefile dlls
/winhttp enable_winhttp
21825 wine_fn_config_makefile dlls
/winhttp
/tests enable_tests
21826 wine_fn_config_makefile dlls
/wininet enable_wininet
21827 wine_fn_config_makefile dlls
/wininet
/tests enable_tests
21828 wine_fn_config_makefile dlls
/winmm enable_winmm
21829 wine_fn_config_makefile dlls
/winmm
/tests enable_tests
21830 wine_fn_config_makefile dlls
/winnls.dll16 enable_win16
21831 wine_fn_config_makefile dlls
/winnls32 enable_winnls32
21832 wine_fn_config_makefile dlls
/winprint enable_winprint
21833 wine_fn_config_makefile dlls
/winscard enable_winscard
21834 wine_fn_config_makefile dlls
/winscard
/tests enable_tests
21835 wine_fn_config_makefile dlls
/winsock.dll16 enable_win16
21836 wine_fn_config_makefile dlls
/winspool.drv enable_winspool_drv
21837 wine_fn_config_makefile dlls
/winspool.drv
/tests enable_tests
21838 wine_fn_config_makefile dlls
/winsta enable_winsta
21839 wine_fn_config_makefile dlls
/wintab.dll16 enable_win16
21840 wine_fn_config_makefile dlls
/wintab32 enable_wintab32
21841 wine_fn_config_makefile dlls
/wintab32
/tests enable_tests
21842 wine_fn_config_makefile dlls
/wintrust enable_wintrust
21843 wine_fn_config_makefile dlls
/wintrust
/tests enable_tests
21844 wine_fn_config_makefile dlls
/wintypes enable_wintypes
21845 wine_fn_config_makefile dlls
/wintypes
/tests enable_tests
21846 wine_fn_config_makefile dlls
/winusb enable_winusb
21847 wine_fn_config_makefile dlls
/wlanapi enable_wlanapi
21848 wine_fn_config_makefile dlls
/wlanapi
/tests enable_tests
21849 wine_fn_config_makefile dlls
/wlanui enable_wlanui
21850 wine_fn_config_makefile dlls
/wldap32 enable_wldap32
21851 wine_fn_config_makefile dlls
/wldap32
/tests enable_tests
21852 wine_fn_config_makefile dlls
/wldp enable_wldp
21853 wine_fn_config_makefile dlls
/wmasf enable_wmasf
21854 wine_fn_config_makefile dlls
/wmi enable_wmi
21855 wine_fn_config_makefile dlls
/wmiutils enable_wmiutils
21856 wine_fn_config_makefile dlls
/wmiutils
/tests enable_tests
21857 wine_fn_config_makefile dlls
/wmp enable_wmp
21858 wine_fn_config_makefile dlls
/wmp
/tests enable_tests
21859 wine_fn_config_makefile dlls
/wmphoto enable_wmphoto
21860 wine_fn_config_makefile dlls
/wmvcore enable_wmvcore
21861 wine_fn_config_makefile dlls
/wmvcore
/tests enable_tests
21862 wine_fn_config_makefile dlls
/wnaspi32 enable_wnaspi32
21863 wine_fn_config_makefile dlls
/wofutil enable_wofutil
21864 wine_fn_config_makefile dlls
/wow32 enable_win16
21865 wine_fn_config_makefile dlls
/wow64 enable_wow64
21866 wine_fn_config_makefile dlls
/wow64cpu enable_wow64cpu
21867 wine_fn_config_makefile dlls
/wow64win enable_wow64win
21868 wine_fn_config_makefile dlls
/wpc enable_wpc
21869 wine_fn_config_makefile dlls
/wpc
/tests enable_tests
21870 wine_fn_config_makefile dlls
/wpcap enable_wpcap
21871 wine_fn_config_makefile dlls
/wpcap
/tests enable_tests
21872 wine_fn_config_makefile dlls
/ws2_32 enable_ws2_32
21873 wine_fn_config_makefile dlls
/ws2_32
/tests enable_tests
21874 wine_fn_config_makefile dlls
/wsdapi enable_wsdapi
21875 wine_fn_config_makefile dlls
/wsdapi
/tests enable_tests
21876 wine_fn_config_makefile dlls
/wshom.ocx enable_wshom_ocx
21877 wine_fn_config_makefile dlls
/wshom.ocx
/tests enable_tests
21878 wine_fn_config_makefile dlls
/wsnmp32 enable_wsnmp32
21879 wine_fn_config_makefile dlls
/wsnmp32
/tests enable_tests
21880 wine_fn_config_makefile dlls
/wsock32 enable_wsock32
21881 wine_fn_config_makefile dlls
/wtsapi32 enable_wtsapi32
21882 wine_fn_config_makefile dlls
/wtsapi32
/tests enable_tests
21883 wine_fn_config_makefile dlls
/wuapi enable_wuapi
21884 wine_fn_config_makefile dlls
/wuaueng enable_wuaueng
21885 wine_fn_config_makefile dlls
/x3daudio1_0 enable_x3daudio1_0
21886 wine_fn_config_makefile dlls
/x3daudio1_1 enable_x3daudio1_1
21887 wine_fn_config_makefile dlls
/x3daudio1_2 enable_x3daudio1_2
21888 wine_fn_config_makefile dlls
/x3daudio1_3 enable_x3daudio1_3
21889 wine_fn_config_makefile dlls
/x3daudio1_4 enable_x3daudio1_4
21890 wine_fn_config_makefile dlls
/x3daudio1_5 enable_x3daudio1_5
21891 wine_fn_config_makefile dlls
/x3daudio1_6 enable_x3daudio1_6
21892 wine_fn_config_makefile dlls
/x3daudio1_7 enable_x3daudio1_7
21893 wine_fn_config_makefile dlls
/xactengine2_0 enable_xactengine2_0
21894 wine_fn_config_makefile dlls
/xactengine2_4 enable_xactengine2_4
21895 wine_fn_config_makefile dlls
/xactengine2_7 enable_xactengine2_7
21896 wine_fn_config_makefile dlls
/xactengine2_9 enable_xactengine2_9
21897 wine_fn_config_makefile dlls
/xactengine3_0 enable_xactengine3_0
21898 wine_fn_config_makefile dlls
/xactengine3_1 enable_xactengine3_1
21899 wine_fn_config_makefile dlls
/xactengine3_2 enable_xactengine3_2
21900 wine_fn_config_makefile dlls
/xactengine3_3 enable_xactengine3_3
21901 wine_fn_config_makefile dlls
/xactengine3_4 enable_xactengine3_4
21902 wine_fn_config_makefile dlls
/xactengine3_5 enable_xactengine3_5
21903 wine_fn_config_makefile dlls
/xactengine3_6 enable_xactengine3_6
21904 wine_fn_config_makefile dlls
/xactengine3_7 enable_xactengine3_7
21905 wine_fn_config_makefile dlls
/xactengine3_
7/tests enable_tests
21906 wine_fn_config_makefile dlls
/xapofx1_1 enable_xapofx1_1
21907 wine_fn_config_makefile dlls
/xapofx1_2 enable_xapofx1_2
21908 wine_fn_config_makefile dlls
/xapofx1_3 enable_xapofx1_3
21909 wine_fn_config_makefile dlls
/xapofx1_4 enable_xapofx1_4
21910 wine_fn_config_makefile dlls
/xapofx1_5 enable_xapofx1_5
21911 wine_fn_config_makefile dlls
/xaudio2_0 enable_xaudio2_0
21912 wine_fn_config_makefile dlls
/xaudio2_1 enable_xaudio2_1
21913 wine_fn_config_makefile dlls
/xaudio2_2 enable_xaudio2_2
21914 wine_fn_config_makefile dlls
/xaudio2_3 enable_xaudio2_3
21915 wine_fn_config_makefile dlls
/xaudio2_4 enable_xaudio2_4
21916 wine_fn_config_makefile dlls
/xaudio2_5 enable_xaudio2_5
21917 wine_fn_config_makefile dlls
/xaudio2_6 enable_xaudio2_6
21918 wine_fn_config_makefile dlls
/xaudio2_7 enable_xaudio2_7
21919 wine_fn_config_makefile dlls
/xaudio2_
7/tests enable_tests
21920 wine_fn_config_makefile dlls
/xaudio2_8 enable_xaudio2_8
21921 wine_fn_config_makefile dlls
/xaudio2_
8/tests enable_tests
21922 wine_fn_config_makefile dlls
/xaudio2_9 enable_xaudio2_9
21923 wine_fn_config_makefile dlls
/xinput1_1 enable_xinput1_1
21924 wine_fn_config_makefile dlls
/xinput1_2 enable_xinput1_2
21925 wine_fn_config_makefile dlls
/xinput1_3 enable_xinput1_3
21926 wine_fn_config_makefile dlls
/xinput1_
3/tests enable_tests
21927 wine_fn_config_makefile dlls
/xinput1_4 enable_xinput1_4
21928 wine_fn_config_makefile dlls
/xinput9_1_0 enable_xinput9_1_0
21929 wine_fn_config_makefile dlls
/xinputuap enable_xinputuap
21930 wine_fn_config_makefile dlls
/xmllite enable_xmllite
21931 wine_fn_config_makefile dlls
/xmllite
/tests enable_tests
21932 wine_fn_config_makefile dlls
/xolehlp enable_xolehlp
21933 wine_fn_config_makefile dlls
/xpsprint enable_xpsprint
21934 wine_fn_config_makefile dlls
/xpssvcs enable_xpssvcs
21935 wine_fn_config_makefile fonts enable_fonts
21936 wine_fn_config_makefile include enable_include
21937 wine_fn_config_makefile libs
/adsiid enable_adsiid
21938 wine_fn_config_makefile libs
/dmoguids enable_dmoguids
21939 wine_fn_config_makefile libs
/dxerr8 enable_dxerr8
21940 wine_fn_config_makefile libs
/dxerr9 enable_dxerr9
21941 wine_fn_config_makefile libs
/dxguid enable_dxguid
21942 wine_fn_config_makefile libs
/faudio enable_faudio
21943 wine_fn_config_makefile libs
/gsm enable_gsm
21944 wine_fn_config_makefile libs
/jpeg enable_jpeg
21945 wine_fn_config_makefile libs
/jxr enable_jxr
21946 wine_fn_config_makefile libs
/lcms2 enable_lcms2
21947 wine_fn_config_makefile libs
/ldap enable_ldap
21948 wine_fn_config_makefile libs
/mfuuid enable_mfuuid
21949 wine_fn_config_makefile libs
/mpg123 enable_mpg123
21950 wine_fn_config_makefile libs
/musl enable_musl
21951 wine_fn_config_makefile libs
/png enable_png
21952 wine_fn_config_makefile libs
/strmbase enable_strmbase
21953 wine_fn_config_makefile libs
/strmiids enable_strmiids
21954 wine_fn_config_makefile libs
/tiff enable_tiff
21955 wine_fn_config_makefile libs
/uuid enable_uuid
21956 wine_fn_config_makefile libs
/vkd3d enable_vkd3d
21957 wine_fn_config_makefile libs
/wbemuuid enable_wbemuuid
21958 wine_fn_config_makefile libs
/wmcodecdspuuid enable_wmcodecdspuuid
21959 wine_fn_config_makefile libs
/xml2 enable_xml2
21960 wine_fn_config_makefile libs
/xslt enable_xslt
21961 wine_fn_config_makefile libs
/zlib enable_zlib
21962 wine_fn_config_makefile libs
/zydis enable_zydis
21963 wine_fn_config_makefile loader enable_loader
21964 wine_fn_config_makefile nls enable_nls
21965 wine_fn_config_makefile po enable_po
21966 wine_fn_config_makefile programs
/arp enable_arp
21967 wine_fn_config_makefile programs
/aspnet_regiis enable_aspnet_regiis
21968 wine_fn_config_makefile programs
/attrib enable_attrib
21969 wine_fn_config_makefile programs
/cabarc enable_cabarc
21970 wine_fn_config_makefile programs
/cacls enable_cacls
21971 wine_fn_config_makefile programs
/certutil enable_certutil
21972 wine_fn_config_makefile programs
/chcp.com enable_chcp_com
21973 wine_fn_config_makefile programs
/clock enable_clock
21974 wine_fn_config_makefile programs
/cmd enable_cmd
21975 wine_fn_config_makefile programs
/cmd
/tests enable_tests
21976 wine_fn_config_makefile programs
/conhost enable_conhost
21977 wine_fn_config_makefile programs
/conhost
/tests enable_tests
21978 wine_fn_config_makefile programs
/control enable_control
21979 wine_fn_config_makefile programs
/cscript enable_cscript
21980 wine_fn_config_makefile programs
/dism enable_dism
21981 wine_fn_config_makefile programs
/dllhost enable_dllhost
21982 wine_fn_config_makefile programs
/dplaysvr enable_dplaysvr
21983 wine_fn_config_makefile programs
/dpnsvr enable_dpnsvr
21984 wine_fn_config_makefile programs
/dpvsetup enable_dpvsetup
21985 wine_fn_config_makefile programs
/dxdiag enable_dxdiag
21986 wine_fn_config_makefile programs
/eject enable_eject
21987 wine_fn_config_makefile programs
/expand enable_expand
21988 wine_fn_config_makefile programs
/explorer enable_explorer
21989 wine_fn_config_makefile programs
/explorer
/tests enable_tests
21990 wine_fn_config_makefile programs
/extrac32 enable_extrac32
21991 wine_fn_config_makefile programs
/fc enable_fc
21992 wine_fn_config_makefile programs
/find enable_find
21993 wine_fn_config_makefile programs
/find
/tests enable_tests
21994 wine_fn_config_makefile programs
/findstr enable_findstr
21995 wine_fn_config_makefile programs
/findstr
/tests enable_tests
21996 wine_fn_config_makefile programs
/fsutil enable_fsutil
21997 wine_fn_config_makefile programs
/fsutil
/tests enable_tests
21998 wine_fn_config_makefile programs
/hh enable_hh
21999 wine_fn_config_makefile programs
/hostname enable_hostname
22000 wine_fn_config_makefile programs
/icacls enable_icacls
22001 wine_fn_config_makefile programs
/icinfo enable_icinfo
22002 wine_fn_config_makefile programs
/iexplore enable_iexplore
22003 wine_fn_config_makefile programs
/ipconfig enable_ipconfig
22004 wine_fn_config_makefile programs
/klist enable_klist
22005 wine_fn_config_makefile programs
/lodctr enable_lodctr
22006 wine_fn_config_makefile programs
/mofcomp enable_mofcomp
22007 wine_fn_config_makefile programs
/mshta enable_mshta
22008 wine_fn_config_makefile programs
/msidb enable_msidb
22009 wine_fn_config_makefile programs
/msiexec enable_msiexec
22010 wine_fn_config_makefile programs
/msinfo32 enable_msinfo32
22011 wine_fn_config_makefile programs
/net enable_net
22012 wine_fn_config_makefile programs
/netsh enable_netsh
22013 wine_fn_config_makefile programs
/netstat enable_netstat
22014 wine_fn_config_makefile programs
/ngen enable_ngen
22015 wine_fn_config_makefile programs
/notepad enable_notepad
22016 wine_fn_config_makefile programs
/oleview enable_oleview
22017 wine_fn_config_makefile programs
/ping enable_ping
22018 wine_fn_config_makefile programs
/plugplay enable_plugplay
22019 wine_fn_config_makefile programs
/pnputil enable_pnputil
22020 wine_fn_config_makefile programs
/powershell enable_powershell
22021 wine_fn_config_makefile programs
/presentationfontcache enable_presentationfontcache
22022 wine_fn_config_makefile programs
/progman enable_progman
22023 wine_fn_config_makefile programs
/reg enable_reg
22024 wine_fn_config_makefile programs
/reg
/tests enable_tests
22025 wine_fn_config_makefile programs
/regasm enable_regasm
22026 wine_fn_config_makefile programs
/regedit enable_regedit
22027 wine_fn_config_makefile programs
/regedit
/tests enable_tests
22028 wine_fn_config_makefile programs
/regini enable_regini
22029 wine_fn_config_makefile programs
/regsvcs enable_regsvcs
22030 wine_fn_config_makefile programs
/regsvr32 enable_regsvr32
22031 wine_fn_config_makefile programs
/robocopy enable_robocopy
22032 wine_fn_config_makefile programs
/rpcss enable_rpcss
22033 wine_fn_config_makefile programs
/rundll.exe16 enable_win16
22034 wine_fn_config_makefile programs
/rundll32 enable_rundll32
22035 wine_fn_config_makefile programs
/sc enable_sc
22036 wine_fn_config_makefile programs
/sc
/tests enable_tests
22037 wine_fn_config_makefile programs
/schtasks enable_schtasks
22038 wine_fn_config_makefile programs
/schtasks
/tests enable_tests
22039 wine_fn_config_makefile programs
/sdbinst enable_sdbinst
22040 wine_fn_config_makefile programs
/secedit enable_secedit
22041 wine_fn_config_makefile programs
/servicemodelreg enable_servicemodelreg
22042 wine_fn_config_makefile programs
/services enable_services
22043 wine_fn_config_makefile programs
/services
/tests enable_tests
22044 wine_fn_config_makefile programs
/setx enable_setx
22045 wine_fn_config_makefile programs
/shutdown enable_shutdown
22046 wine_fn_config_makefile programs
/spoolsv enable_spoolsv
22047 wine_fn_config_makefile programs
/start enable_start
22048 wine_fn_config_makefile programs
/subst enable_subst
22049 wine_fn_config_makefile programs
/svchost enable_svchost
22050 wine_fn_config_makefile programs
/systeminfo enable_systeminfo
22051 wine_fn_config_makefile programs
/taskkill enable_taskkill
22052 wine_fn_config_makefile programs
/tasklist enable_tasklist
22053 wine_fn_config_makefile programs
/tasklist
/tests enable_tests
22054 wine_fn_config_makefile programs
/taskmgr enable_taskmgr
22055 wine_fn_config_makefile programs
/termsv enable_termsv
22056 wine_fn_config_makefile programs
/uninstaller enable_uninstaller
22057 wine_fn_config_makefile programs
/unlodctr enable_unlodctr
22058 wine_fn_config_makefile programs
/view enable_view
22059 wine_fn_config_makefile programs
/wevtutil enable_wevtutil
22060 wine_fn_config_makefile programs
/where enable_where
22061 wine_fn_config_makefile programs
/whoami enable_whoami
22062 wine_fn_config_makefile programs
/wineboot enable_wineboot
22063 wine_fn_config_makefile programs
/winebrowser enable_winebrowser
22064 wine_fn_config_makefile programs
/winecfg enable_winecfg
22065 wine_fn_config_makefile programs
/wineconsole enable_wineconsole
22066 wine_fn_config_makefile programs
/winedbg enable_winedbg
22067 wine_fn_config_makefile programs
/winedevice enable_winedevice
22068 wine_fn_config_makefile programs
/winefile enable_winefile
22069 wine_fn_config_makefile programs
/winemenubuilder enable_winemenubuilder
22070 wine_fn_config_makefile programs
/winemine enable_winemine
22071 wine_fn_config_makefile programs
/winemsibuilder enable_winemsibuilder
22072 wine_fn_config_makefile programs
/winepath enable_winepath
22073 wine_fn_config_makefile programs
/winetest enable_winetest
22074 wine_fn_config_makefile programs
/winevdm enable_win16
22075 wine_fn_config_makefile programs
/winhelp.exe16 enable_win16
22076 wine_fn_config_makefile programs
/winhlp32 enable_winhlp32
22077 wine_fn_config_makefile programs
/winmgmt enable_winmgmt
22078 wine_fn_config_makefile programs
/winoldap.mod16 enable_win16
22079 wine_fn_config_makefile programs
/winver enable_winver
22080 wine_fn_config_makefile programs
/wmic enable_wmic
22081 wine_fn_config_makefile programs
/wmplayer enable_wmplayer
22082 wine_fn_config_makefile programs
/wordpad enable_wordpad
22083 wine_fn_config_makefile programs
/write enable_write
22084 wine_fn_config_makefile programs
/wscript enable_wscript
22085 wine_fn_config_makefile programs
/wscript
/tests enable_tests
22086 wine_fn_config_makefile programs
/wuauserv enable_wuauserv
22087 wine_fn_config_makefile programs
/wusa enable_wusa
22088 wine_fn_config_makefile programs
/xcopy enable_xcopy
22089 wine_fn_config_makefile programs
/xcopy
/tests enable_tests
22090 wine_fn_config_makefile server enable_server
22091 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22092 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/sfnt2fon enable_sfnt2fon
22093 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/widl enable_widl
22094 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winebuild enable_winebuild
22095 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winedump enable_winedump
22096 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winegcc enable_winegcc
22097 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winemaker enable_winemaker
22098 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/wmc enable_wmc
22099 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/wrc enable_wrc
22102 as_fn_append CONFIGURE_TARGETS
" TAGS"
22103 as_fn_append CONFIGURE_TARGETS
" tags"
22104 as_fn_append CONFIGURE_TARGETS
" autom4te.cache"
22105 as_fn_append CONFIGURE_TARGETS
" config.log"
22106 as_fn_append CONFIGURE_TARGETS
" config.status"
22107 as_fn_append CONFIGURE_TARGETS
" include/config.h"
22108 as_fn_append CONFIGURE_TARGETS
" include/stamp-h"
22109 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine"
22111 if test "x$enable_tools" != xno
22113 as_fn_append CONFIGURE_TARGETS
" tools/makedep$ac_exeext"
22114 ac_config_commands
="$ac_config_commands tools/makedep"
22118 ac_config_commands
="$ac_config_commands Makefile"
22125 as_fn_append wine_rules
"
22127 @echo \"Wine build complete.\"
22131 Makefile: config.status \$(MAKEDEP)
22132 @./config.status Makefile
22133 depend: \$(MAKEDEP)
22134 \$(MAKEDEP)$makedep_flags"
22137 as_fn_append wine_rules
"
22138 config.status: ${wine_srcdir}configure
22139 @./config.status --recheck
22140 include/config.h: include/stamp-h
22141 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22142 @./config.status include/config.h include/stamp-h"
22144 if test "x$enable_maintainer_mode" = xyes
22146 as_fn_append wine_rules
"
22147 configure: configure.ac aclocal.m4
22148 autoconf --warnings=all
22149 include/config.h.in: include/stamp-h.in
22150 include/stamp-h.in: configure.ac aclocal.m4
22151 autoheader --warnings=all
22152 @echo timestamp > \$@"
22155 if test "x$enable_tools" != xno
22157 as_fn_append wine_rules
"
22158 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22159 @./config.status tools/makedep
22160 Makefile: tools/makedep$ac_exeext"
22162 as_fn_append wine_rules
"
22164 @echo \"You need to run make in $toolsdir first\" && false"
22168 if test -n "$with_wine64"
22170 case "$with_wine64" in
22174 rm -f fonts server
2>/dev
/null
22175 as_fn_append wine_rules
"
22176 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22177 loader/wine64 loader/wine64-preloader:
22178 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22179 $with_wine64/loader/wine:
22180 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22181 $with_wine64/loader/wine-preloader:
22182 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22184 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22186 TOP_INSTALL_DEV
="$TOP_INSTALL_DEV include"
22187 TOP_INSTALL_LIB
="$TOP_INSTALL_LIB \
22191 programs/msidb/msidb \
22192 programs/msiexec/msiexec \
22193 programs/notepad/notepad \
22194 programs/regedit/regedit \
22195 programs/regsvr32/regsvr32 \
22196 programs/wineboot/wineboot \
22197 programs/winecfg/winecfg \
22198 programs/wineconsole/wineconsole \
22199 programs/winedbg/winedbg \
22200 programs/winefile/winefile \
22201 programs/winemine/winemine \
22202 programs/winepath/winepath \
22206 cygwin
*|mingw32
*|darwin
*|macosx
*|linux-android
*) ;;
22207 *) TOP_INSTALL_LIB
="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22212 as_fn_append wine_rules
"
22214 rm -rf autom4te.cache
22216 rm -f configure include/config.h.in"
22219 as_fn_append wine_rules
"
22220 dlls/ntdll/unix/version.c: dummy
22221 @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)
22222 programs/winetest/build.rc: dummy
22223 @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)
22224 programs/winetest/build.nfo:
22226 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
22227 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22228 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22231 TAGSFLAGS
="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22233 as_fn_append wine_rules
"
22236 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22239 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22241 .PHONY: depend dummy install-manpages"
22243 printf "%s\n" " done" >&6
22244 cat >confcache
<<\_ACEOF
22245 # This file is a shell script that caches the results of configure
22246 # tests run on this system so they can be shared between configure
22247 # scripts and configure runs, see configure's option --config-cache.
22248 # It is not useful on other systems. If it contains results you don't
22249 # want to keep, you may remove or edit it.
22251 # config.status only pays attention to the cache file if you give it
22252 # the --recheck option to rerun configure.
22254 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22255 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22256 # following values.
22260 # The following way of writing the cache mishandles newlines in values,
22261 # but we know of no workaround that is simple, portable, and efficient.
22262 # So, we kill variables containing newlines.
22263 # Ultrix sh set writes to stderr and can't be redirected directly,
22264 # and sets the high bit in the cache file unless we assign to the vars.
22266 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22267 eval ac_val
=\$
$ac_var
22271 *_cv_
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22272 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22275 _ | IFS | as_nl
) ;; #(
22276 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
22277 *) { eval $ac_var=; unset $ac_var;} ;;
22283 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22284 *${as_nl}ac_space
=\
*)
22285 # `set' does not quote correctly, so add quotes: double-quote
22286 # substitution turns \\\\ into \\, and sed turns \\ into \.
22289 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22292 # `set' quotes correctly as required by POSIX, so do not add quotes.
22293 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22302 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22304 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22306 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22307 if test -w "$cache_file"; then
22308 if test "x$cache_file" != "x/dev/null"; then
22309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22310 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22311 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
22312 cat confcache
>"$cache_file"
22314 case $cache_file in #(
22316 mv -f confcache
"$cache_file"$$
&&
22317 mv -f "$cache_file"$$
"$cache_file" ;; #(
22319 mv -f confcache
"$cache_file" ;;
22324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22325 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22330 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22331 # Let make expand exec_prefix.
22332 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22334 DEFS
=-DHAVE_CONFIG_H
22339 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22340 # 1. Remove the extension, and $U if already installed.
22341 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
22342 ac_i
=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22343 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22344 # will be set to the directory where LIBOBJS objects are built.
22345 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22346 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
22348 LIBOBJS
=$ac_libobjs
22350 LTLIBOBJS
=$ac_ltlibobjs
22354 : "${CONFIG_STATUS=./config.status}"
22356 ac_clean_files_save
=$ac_clean_files
22357 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22359 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22361 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22363 # Generated by $as_me.
22364 # Run this file to recreate the current configuration.
22365 # Compiler output produced by configure, useful for debugging
22366 # configure, is in config.log if it exists.
22369 ac_cs_recheck=false
22372 SHELL=\${CONFIG_SHELL-$SHELL}
22375 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
22376 ## -------------------- ##
22377 ## M4sh Initialization. ##
22378 ## -------------------- ##
22380 # Be more Bourne compatible
22381 DUALCASE
=1; export DUALCASE
# for MKS sh
22383 if test ${ZSH_VERSION+y} && (emulate sh
) >/dev
/null
2>&1
22387 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22388 # is contrary to our usage. Disable this feature.
22389 alias -g '${1+"$@"}'='"$@"'
22390 setopt NO_GLOB_SUBST
22392 case `(set -o) 2>/dev/null` in #(
22402 # Reset variables that may have inherited troublesome values from
22405 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22406 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22407 # side effect of setting IFS to empty, thus disabling word splitting.)
22408 # Quoting is to prevent editors from complaining about space-tab.
22418 # Ensure predictable behavior from utilities with locale-dependent output.
22424 # We cannot yet rely on "unset" to work, but we need these variables
22425 # to be unset--not just set to an empty or harmless value--now, to
22426 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22427 # also avoids known problems related to "unset" and subshell syntax
22428 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22429 for as_var
in BASH_ENV ENV MAIL MAILPATH CDPATH
22430 do eval test \
${$as_var+y} \
22431 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
22434 # Ensure that fds 0, 1, and 2 are open.
22435 if (exec 3>&0) 2>/dev
/null
; then :; else exec 0</dev
/null
; fi
22436 if (exec 3>&1) 2>/dev
/null
; then :; else exec 1>/dev
/null
; fi
22437 if (exec 3>&2) ; then :; else exec 2>/dev
/null
; fi
22439 # The user is always right.
22440 if ${PATH_SEPARATOR+false} :; then
22442 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
22443 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
22449 # Find who we are. Look in the path if we contain no directory separator.
22452 *[\\/]* ) as_myself
=$0 ;;
22453 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22454 for as_dir
in $PATH
22457 case $as_dir in #(((
22460 *) as_dir
=$as_dir/ ;;
22462 test -r "$as_dir$0" && as_myself
=$as_dir$0 && break
22468 # We did not find ourselves, most probably we were run as `sh COMMAND'
22469 # in which case we are not to be found in the path.
22470 if test "x$as_myself" = x
; then
22473 if test ! -f "$as_myself"; then
22474 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22480 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22481 # ----------------------------------------
22482 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22483 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22484 # script with STATUS, using 1 if that was 0.
22487 as_status
=$1; test $as_status -eq 0 && as_status
=1
22489 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
22490 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22492 printf "%s\n" "$as_me: error: $2" >&2
22493 as_fn_exit
$as_status
22498 # as_fn_set_status STATUS
22499 # -----------------------
22500 # Set $? to STATUS, without forking.
22501 as_fn_set_status
()
22504 } # as_fn_set_status
22506 # as_fn_exit STATUS
22507 # -----------------
22508 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22512 as_fn_set_status
$1
22518 # Portably unset VAR.
22521 { eval $1=; unset $1;}
22523 as_unset
=as_fn_unset
22525 # as_fn_append VAR VALUE
22526 # ----------------------
22527 # Append the text in VALUE to the end of the definition contained in VAR. Take
22528 # advantage of any shell optimizations that allow amortized linear growth over
22529 # repeated appends, instead of the typical quadratic growth present in naive
22531 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
22533 eval 'as_fn_append ()
22544 # as_fn_arith ARG...
22545 # ------------------
22546 # Perform arithmetic evaluation on the ARGs, and store the result in the
22547 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22548 # must be portable across $(()) and expr.
22549 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
22551 eval 'as_fn_arith ()
22558 as_val
=`expr "$@" || test $? -eq 1`
22563 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22564 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22570 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22571 as_basename
=basename
22576 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
22582 as_me
=`$as_basename -- "$0" ||
22583 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22584 X"$0" : 'X\(//\)$' \| \
22585 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22586 printf "%s\n" X/"$0" |
22587 sed '/^.*\/\([^/][^/]*\)\/*$/{
22601 # Avoid depending upon Character Ranges.
22602 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22603 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22604 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22605 as_cr_digits
='0123456789'
22606 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22609 # Determine whether it's possible to make 'echo' print without a newline.
22610 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22611 # for compatibility with existing Makefiles.
22612 ECHO_C
= ECHO_N
= ECHO_T
=
22613 case `echo -n x` in #(((((
22615 case `echo 'xy\c'` in
22616 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
22618 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
22625 # For backward compatibility with old third-party macros, we provide
22626 # the shell variables $as_echo and $as_echo_n. New code should use
22627 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22628 as_echo
='printf %s\n'
22629 as_echo_n
='printf %s'
22631 rm -f conf$$ conf$$.exe conf$$.
file
22632 if test -d conf$$.dir
; then
22633 rm -f conf$$.dir
/conf$$.
file
22636 mkdir conf$$.dir
2>/dev
/null
22638 if (echo >conf$$.
file) 2>/dev
/null
; then
22639 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22641 # ... but there are two gotchas:
22642 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22643 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22644 # In both cases, we have to default to `cp -pR'.
22645 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
22647 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22655 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
22656 rmdir conf$$.dir
2>/dev
/null
22661 # Create "$as_dir" as a directory, including parents if necessary.
22666 -*) as_dir
=.
/$as_dir;;
22668 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
22672 *\'*) as_qdir
=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22673 *) as_qdir
=$as_dir;;
22675 as_dirs
="'$as_qdir' $as_dirs"
22676 as_dir
=`$as_dirname -- "$as_dir" ||
22677 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22678 X"$as_dir" : 'X\(//\)[^/]' \| \
22679 X"$as_dir" : 'X\(//\)$' \| \
22680 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22681 printf "%s\n" X"$as_dir" |
22682 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22686 /^X\(\/\/\)[^/].*/{
22699 test -d "$as_dir" && break
22701 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22702 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
22706 if mkdir
-p .
2>/dev
/null
; then
22707 as_mkdir_p
='mkdir -p "$as_dir"'
22709 test -d .
/-p && rmdir .
/-p
22714 # as_fn_executable_p FILE
22715 # -----------------------
22716 # Test if FILE is an executable regular file.
22717 as_fn_executable_p
()
22719 test -f "$1" && test -x "$1"
22720 } # as_fn_executable_p
22721 as_test_x
='test -x'
22722 as_executable_p
=as_fn_executable_p
22724 # Sed expression to map a string onto a valid CPP name.
22725 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22727 # Sed expression to map a string onto a valid variable name.
22728 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22732 ## ----------------------------------- ##
22733 ## Main body of $CONFIG_STATUS script. ##
22734 ## ----------------------------------- ##
22736 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
22738 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22739 # Save the log message, to keep $0 and so on meaningful, and to
22740 # report actual input values of CONFIG_FILES etc. instead of their
22741 # values after options handling.
22743 This file was extended by Wine $as_me 8.14, which was
22744 generated by GNU Autoconf 2.71. Invocation command line was
22746 CONFIG_FILES = $CONFIG_FILES
22747 CONFIG_HEADERS = $CONFIG_HEADERS
22748 CONFIG_LINKS = $CONFIG_LINKS
22749 CONFIG_COMMANDS = $CONFIG_COMMANDS
22752 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22758 case $ac_config_headers in *"
22759 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
22763 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22764 # Files that config.status was made for.
22765 config_headers="$ac_config_headers"
22766 config_links="$ac_config_links"
22767 config_commands="$ac_config_commands"
22771 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22773 \`$as_me' instantiates files and other configuration actions
22774 from templates according to the current configuration. Unless the files
22775 and actions are specified as TAGs, all are instantiated by default.
22777 Usage: $0 [OPTION]... [TAG]...
22779 -h, --help print this help, then exit
22780 -V, --version print version number and configuration settings, then exit
22781 --config print configuration, then exit
22782 -q, --quiet, --silent
22783 do not print progress messages
22784 -d, --debug don't remove temporary files
22785 --recheck update $as_me by reconfiguring in the same conditions
22786 --header=FILE[:TEMPLATE]
22787 instantiate the configuration header FILE
22789 Configuration headers:
22792 Configuration links:
22795 Configuration commands:
22798 Report bugs to <wine-devel@winehq.org>.
22799 Wine home page: <https://www.winehq.org>."
22802 ac_cs_config
=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
22803 ac_cs_config_escaped
=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
22804 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22805 ac_cs_config='$ac_cs_config_escaped'
22807 Wine config.status 8.14
22808 configured by $0, generated by GNU Autoconf 2.71,
22809 with options \\"\$ac_cs_config\\"
22811 Copyright (C) 2021 Free Software Foundation, Inc.
22812 This config.status script is free software; the Free Software Foundation
22813 gives unlimited permission to copy, distribute and modify it."
22817 test -n "\$AWK" || AWK=awk
22820 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22821 # The default lists apply if the user does not specify any file.
22827 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22828 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
22832 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22844 # Handling of the options.
22845 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
22847 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
22848 printf "%s\n" "$ac_cs_version"; exit ;;
22849 --config |
--confi |
--conf |
--con |
--co |
--c )
22850 printf "%s\n" "$ac_cs_config"; exit ;;
22851 --debug |
--debu |
--deb |
--de |
--d |
-d )
22853 --header |
--heade |
--head |
--hea )
22856 *\'*) ac_optarg
=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22858 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
22859 ac_need_defaults
=false
;;
22861 # Conflict between --help and --header
22862 as_fn_error $?
"ambiguous option: \`$1'
22863 Try \`$0 --help' for more information.";;
22864 --help |
--hel |
-h )
22865 printf "%s\n" "$ac_cs_usage"; exit ;;
22866 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
22867 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
22870 # This is an error.
22871 -*) as_fn_error $?
"unrecognized option: \`$1'
22872 Try \`$0 --help' for more information." ;;
22874 *) as_fn_append ac_config_targets
" $1"
22875 ac_need_defaults
=false
;;
22881 ac_configure_extra_args
=
22883 if $ac_cs_silent; then
22885 ac_configure_extra_args
="$ac_configure_extra_args --silent"
22889 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22890 if \$ac_cs_recheck; then
22891 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22893 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
22894 CONFIG_SHELL='$SHELL'
22895 export CONFIG_SHELL
22900 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22904 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22905 ## Running $as_me. ##
22907 printf "%s\n" "$ac_log"
22911 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22915 wine_fn_output_makedep ()
22917 as_dir=tools; as_fn_mkdir_p
22918 $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
22920 wine_fn_output_makefile ()
22922 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
22923 # This Makefile understands the following targets:
22925 # all (default): build wine
22926 # clean: remove all intermediate files
22927 # distclean: also remove all files created by configure
22929 # testclean: clean test results to force running all tests again
22930 # install-lib: install libraries needed to run applications
22931 # install-dev: install development environment
22932 # install: install everything
22933 # uninstall: uninstall everything
22934 # ctags: create a tags file for vim and others.
22935 # etags: create a TAGS file for Emacs.
22938 PATH_SEPARATOR = $PATH_SEPARATOR
22939 PACKAGE_NAME = $PACKAGE_NAME
22940 PACKAGE_TARNAME = $PACKAGE_TARNAME
22941 PACKAGE_VERSION = $PACKAGE_VERSION
22942 PACKAGE_STRING = $PACKAGE_STRING
22943 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
22944 PACKAGE_URL = $PACKAGE_URL
22945 exec_prefix = $exec_prefix
22947 program_transform_name = $program_transform_name
22950 libexecdir = $libexecdir
22951 datarootdir = $datarootdir
22953 sysconfdir = $sysconfdir
22954 sharedstatedir = $sharedstatedir
22955 localstatedir = $localstatedir
22956 runstatedir = $runstatedir
22957 includedir = $includedir
22958 oldincludedir = $oldincludedir
22966 localedir = $localedir
22973 build_alias = $build_alias
22974 host_alias = $host_alias
22975 target_alias = $target_alias
22976 system_dllpath = $system_dllpath
22978 build_cpu = $build_cpu
22979 build_vendor = $build_vendor
22980 build_os = $build_os
22982 host_cpu = $host_cpu
22983 host_vendor = $host_vendor
22989 SET_MAKE = $SET_MAKE
22993 CPPFLAGS = $CPPFLAGS
22994 ac_ct_CC = $ac_ct_CC
22998 CXXFLAGS = $CXXFLAGS
22999 ac_ct_CXX = $ac_ct_CXX
23002 TARGETFLAGS = $TARGETFLAGS
23003 toolsext = $toolsext
23004 HOST_ARCH = $HOST_ARCH
23005 aarch64_CC = $aarch64_CC
23006 aarch64_CFLAGS = $aarch64_CFLAGS
23007 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
23008 aarch64_LDFLAGS = $aarch64_LDFLAGS
23009 aarch64_DEBUG = $aarch64_DEBUG
23010 aarch64_TARGET = $aarch64_TARGET
23011 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
23012 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
23014 arm_CFLAGS = $arm_CFLAGS
23015 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
23016 arm_LDFLAGS = $arm_LDFLAGS
23017 arm_DEBUG = $arm_DEBUG
23018 arm_TARGET = $arm_TARGET
23019 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
23020 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
23022 i386_CFLAGS = $i386_CFLAGS
23023 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
23024 i386_LDFLAGS = $i386_LDFLAGS
23025 i386_DEBUG = $i386_DEBUG
23026 i386_TARGET = $i386_TARGET
23027 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
23028 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
23029 x86_64_CC = $x86_64_CC
23030 x86_64_CFLAGS = $x86_64_CFLAGS
23031 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
23032 x86_64_LDFLAGS = $x86_64_LDFLAGS
23033 x86_64_DEBUG = $x86_64_DEBUG
23034 x86_64_TARGET = $x86_64_TARGET
23035 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
23036 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
23037 toolsdir = $toolsdir
23039 RUNTESTFLAGS = $RUNTESTFLAGS
23044 ac_ct_AR = $ac_ct_AR
23050 LDCONFIG = $LDCONFIG
23052 PKG_CONFIG = $PKG_CONFIG
23053 FONTFORGE = $FONTFORGE
23057 I386_LIBS = $I386_LIBS
23058 OPENGL_LIBS = $OPENGL_LIBS
23059 DLLFLAGS = $DLLFLAGS
23060 LDDLLFLAGS = $LDDLLFLAGS
23061 LDEXECFLAGS = $LDEXECFLAGS
23062 EXTRACFLAGS = $EXTRACFLAGS
23063 UNIXDLLFLAGS = $UNIXDLLFLAGS
23064 UNIXLDFLAGS = $UNIXLDFLAGS
23065 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23066 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23067 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23068 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23074 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23075 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23076 CARBON_LIBS = $CARBON_LIBS
23077 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23078 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23079 IOKIT_LIBS = $IOKIT_LIBS
23080 METAL_LIBS = $METAL_LIBS
23081 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23082 CORESERVICES_LIBS = $CORESERVICES_LIBS
23083 APPKIT_LIBS = $APPKIT_LIBS
23084 SECURITY_LIBS = $SECURITY_LIBS
23085 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23086 COREAUDIO_LIBS = $COREAUDIO_LIBS
23087 OPENCL_LIBS = $OPENCL_LIBS
23089 OBJCFLAGS = $OBJCFLAGS
23090 ac_ct_OBJC = $ac_ct_OBJC
23091 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23092 PE_ARCHS = $PE_ARCHS
23093 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23094 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23095 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23096 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23097 GSM_PE_LIBS = $GSM_PE_LIBS
23098 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23099 JPEG_PE_LIBS = $JPEG_PE_LIBS
23100 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23101 JXR_PE_LIBS = $JXR_PE_LIBS
23102 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23103 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23104 LDAP_PE_CFLAGS = $LDAP_PE_CFLAGS
23105 LDAP_PE_LIBS = $LDAP_PE_LIBS
23106 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23107 MPG123_PE_LIBS = $MPG123_PE_LIBS
23108 MUSL_PE_CFLAGS = $MUSL_PE_CFLAGS
23109 MUSL_PE_LIBS = $MUSL_PE_LIBS
23110 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23111 PNG_PE_LIBS = $PNG_PE_LIBS
23112 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23113 TIFF_PE_LIBS = $TIFF_PE_LIBS
23114 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23115 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23116 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23117 XML2_PE_LIBS = $XML2_PE_LIBS
23118 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23119 XSLT_PE_LIBS = $XSLT_PE_LIBS
23120 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23121 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23122 ZYDIS_PE_CFLAGS = $ZYDIS_PE_CFLAGS
23123 ZYDIS_PE_LIBS = $ZYDIS_PE_LIBS
23124 PTHREAD_LIBS = $PTHREAD_LIBS
23127 X_CFLAGS = $X_CFLAGS
23128 X_PRE_LIBS = $X_PRE_LIBS
23130 X_EXTRA_LIBS = $X_EXTRA_LIBS
23131 WAYLAND_CLIENT_CFLAGS = $WAYLAND_CLIENT_CFLAGS
23132 WAYLAND_CLIENT_LIBS = $WAYLAND_CLIENT_LIBS
23133 WAYLAND_SCANNER = $WAYLAND_SCANNER
23134 PCAP_LIBS = $PCAP_LIBS
23135 PCSCLITE_LIBS = $PCSCLITE_LIBS
23136 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23137 INOTIFY_LIBS = $INOTIFY_LIBS
23138 DBUS_CFLAGS = $DBUS_CFLAGS
23139 DBUS_LIBS = $DBUS_LIBS
23140 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23141 GNUTLS_LIBS = $GNUTLS_LIBS
23142 SANE_CFLAGS = $SANE_CFLAGS
23143 SANE_LIBS = $SANE_LIBS
23144 USB_CFLAGS = $USB_CFLAGS
23145 USB_LIBS = $USB_LIBS
23146 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23147 GPHOTO2_LIBS = $GPHOTO2_LIBS
23148 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23149 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23150 RESOLV_LIBS = $RESOLV_LIBS
23151 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23152 FREETYPE_LIBS = $FREETYPE_LIBS
23153 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23154 PULSE_CFLAGS = $PULSE_CFLAGS
23155 PULSE_LIBS = $PULSE_LIBS
23156 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23157 GSTREAMER_LIBS = $GSTREAMER_LIBS
23158 ALSA_LIBS = $ALSA_LIBS
23159 OSS4_CFLAGS = $OSS4_CFLAGS
23160 OSS4_LIBS = $OSS4_LIBS
23161 UDEV_CFLAGS = $UDEV_CFLAGS
23162 UDEV_LIBS = $UDEV_LIBS
23163 UNWIND_CFLAGS = $UNWIND_CFLAGS
23164 UNWIND_LIBS = $UNWIND_LIBS
23165 SDL2_CFLAGS = $SDL2_CFLAGS
23166 SDL2_LIBS = $SDL2_LIBS
23167 CAPI20_CFLAGS = $CAPI20_CFLAGS
23168 CAPI20_LIBS = $CAPI20_LIBS
23169 CUPS_CFLAGS = $CUPS_CFLAGS
23170 CUPS_LIBS = $CUPS_LIBS
23171 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23172 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23173 KRB5_CFLAGS = $KRB5_CFLAGS
23174 KRB5_LIBS = $KRB5_LIBS
23175 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23176 GSSAPI_LIBS = $GSSAPI_LIBS
23177 PROCSTAT_LIBS = $PROCSTAT_LIBS
23178 NETAPI_CFLAGS = $NETAPI_CFLAGS
23179 NETAPI_LIBS = $NETAPI_LIBS
23180 MSVCRTFLAGS = $MSVCRTFLAGS
23181 DELAYLOADFLAG = $DELAYLOADFLAG
23182 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23184 TAGSFLAGS = $TAGSFLAGS
23186 LTLIBOBJS = $LTLIBOBJS
23190 as_fn_error $? "could not create Makefile" "$LINENO" 5
23195 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23197 # Handling of arguments.
23198 for ac_config_target
in $ac_config_targets
23200 case $ac_config_target in
23201 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
23202 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
23203 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
23204 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23205 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
23206 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
23208 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23213 # If the user did not use the arguments to specify the items to instantiate,
23214 # then the envvar interface is used. Set only those that are not.
23215 # We use the long form for the default assignment because of an extremely
23216 # bizarre bug on SunOS 4.1.3.
23217 if $ac_need_defaults; then
23218 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS
=$config_headers
23219 test ${CONFIG_LINKS+y} || CONFIG_LINKS
=$config_links
23220 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS
=$config_commands
23223 # Have a temporary directory for convenience. Make it in the build tree
23224 # simply because there is no reason against having it here, and in addition,
23225 # creating and moving files from /tmp can sometimes cause problems.
23226 # Hook for its removal unless debugging.
23227 # Note that there is a small window in which the directory will not be cleaned:
23228 # after its creation but before its name has been assigned to `$tmp'.
23232 trap 'exit_status=$?
23233 : "${ac_tmp:=$tmp}"
23234 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23236 trap 'as_fn_exit 1' 1 2 13 15
23238 # Create a (secure) tmp directory for tmp files.
23241 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23245 tmp
=.
/conf$$
-$RANDOM
23246 (umask 077 && mkdir
"$tmp")
23247 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
23250 # Set up the scripts for CONFIG_HEADERS section.
23251 # No need to generate them if there are no CONFIG_HEADERS.
23252 # This happens for instance with `./config.status Makefile'.
23253 if test -n "$CONFIG_HEADERS"; then
23254 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23258 # Transform confdefs.h into an awk script `defines.awk', embedded as
23259 # here-document in config.status, that substitutes the proper values into
23260 # config.h.in to produce config.h.
23262 # Create a delimiter string that does not exist in confdefs.h, to ease
23263 # handling of long lines.
23265 for ac_last_try
in false false
:; do
23266 ac_tt
=`sed -n "/$ac_delim/p" confdefs.h`
23267 if test -z "$ac_tt"; then
23269 elif $ac_last_try; then
23270 as_fn_error $?
"could not make $CONFIG_HEADERS" "$LINENO" 5
23272 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
23276 # For the awk script, D is an array of macro values keyed by name,
23277 # likewise P contains macro parameters if any. Preserve backslash
23278 # newline sequences.
23280 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
23282 s/.\{148\}/&'"$ac_delim"'/g
23285 s/^[ ]*#[ ]*define[ ][ ]*/ /
23292 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23294 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23298 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23299 D["\1"]=" \3\\\\\\n"\\/p
23301 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23306 s/.\{148\}/&'"$ac_delim"'/g
23311 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23314 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23316 ' <confdefs.h |
sed '
23317 s/'"$ac_delim"'/"\\\
23318 "/g' >>$CONFIG_STATUS || ac_write_fail
=1
23320 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23321 for (key in D) D_is_set[key] = 1
23324 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23326 split(line, arg, " ")
23327 if (arg[1] == "#") {
23331 defundef = substr(arg[1], 2)
23334 split(mac1, mac2, "(") #)
23336 prefix = substr(line, 1, index(line, defundef) - 1)
23337 if (D_is_set[macro]) {
23338 # Preserve the white space surrounding the "#".
23339 print prefix "define", macro P[macro] D[macro]
23342 # Replace #undef with comments. This is necessary, for example,
23343 # in the case of _POSIX_SOURCE, which is predefined and required
23344 # on some systems where configure will not decide to define it.
23345 if (defundef == "undef") {
23346 print "/*", prefix defundef, macro, "*/"
23354 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23355 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
23356 fi # test -n "$CONFIG_HEADERS"
23359 eval set X
" :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23364 :[FHLC
]) ac_mode
=$ac_tag; continue;;
23366 case $ac_mode$ac_tag in
23368 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
23369 :[FH
]-) ac_tag
=-:-;;
23370 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
23387 -) ac_f
="$ac_tmp/stdin";;
23388 *) # Look for the file first in the build tree, then in the source tree
23389 # (if the path is not absolute). The absolute path cannot be DOS-style,
23390 # because $ac_f cannot contain `:'.
23394 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
23396 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23398 case $ac_f in *\'*) ac_f
=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23399 as_fn_append ac_file_inputs
" '$ac_f'"
23402 # Let's still pretend it is `configure' which instantiates (i.e., don't
23403 # use $as_me), people would be surprised to read:
23404 # /* config.h. Generated by config.status. */
23405 configure_input
='Generated from '`
23406 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23408 if test x
"$ac_file" != x-
; then
23409 configure_input
="$ac_file. $configure_input"
23410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23411 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23413 # Neutralize special characters interpreted by sed in replacement strings.
23414 case $configure_input in #(
23415 *\
&* |
*\|
* |
*\\* )
23416 ac_sed_conf_input
=`printf "%s\n" "$configure_input" |
23417 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23418 *) ac_sed_conf_input
=$configure_input;;
23422 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
23423 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
23428 ac_dir
=`$as_dirname -- "$ac_file" ||
23429 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23430 X"$ac_file" : 'X\(//\)[^/]' \| \
23431 X"$ac_file" : 'X\(//\)$' \| \
23432 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23433 printf "%s\n" X"$ac_file" |
23434 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23438 /^X\(\/\/\)[^/].*/{
23451 as_dir
="$ac_dir"; as_fn_mkdir_p
23455 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23457 ac_dir_suffix
=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23458 # A ".." for each directory in $ac_dir_suffix.
23459 ac_top_builddir_sub
=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23460 case $ac_top_builddir_sub in
23461 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23462 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
23465 ac_abs_top_builddir
=$ac_pwd
23466 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
23467 # for backward compatibility:
23468 ac_top_builddir
=$ac_top_build_prefix
23471 .
) # We are building in place.
23473 ac_top_srcdir
=$ac_top_builddir_sub
23474 ac_abs_top_srcdir
=$ac_pwd ;;
23475 [\\/]* | ?
:[\\/]* ) # Absolute name.
23476 ac_srcdir
=$srcdir$ac_dir_suffix;
23477 ac_top_srcdir
=$srcdir
23478 ac_abs_top_srcdir
=$srcdir ;;
23479 *) # Relative name.
23480 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
23481 ac_top_srcdir
=$ac_top_build_prefix$srcdir
23482 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
23484 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
23493 if test x
"$ac_file" != x-
; then
23495 printf "%s\n" "/* $configure_input */" >&1 \
23496 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23497 } >"$ac_tmp/config.h" \
23498 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5
23499 if diff "$ac_file" "$ac_tmp/config.h" >/dev
/null
2>&1; then
23500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23501 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23504 mv "$ac_tmp/config.h" "$ac_file" \
23505 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5
23508 printf "%s\n" "/* $configure_input */" >&1 \
23509 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23510 || as_fn_error $?
"could not create -" "$LINENO" 5
23518 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23521 # Prefer the file from the source tree if names are identical.
23522 if test "$ac_source" = "$ac_file" ||
test ! -r "$ac_source"; then
23523 ac_source
=$srcdir/$ac_source
23526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23527 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23529 if test ! -r "$ac_source"; then
23530 as_fn_error $?
"$ac_source: file not found" "$LINENO" 5
23534 # Try a relative symlink, then a hard link, then a copy.
23536 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$ac_source ;;
23537 *) ac_rel_source
=$ac_top_build_prefix$ac_source ;;
23539 ln -s "$ac_rel_source" "$ac_file" 2>/dev
/null ||
23540 ln "$ac_source" "$ac_file" 2>/dev
/null ||
23541 cp -p "$ac_source" "$ac_file" ||
23542 as_fn_error $?
"cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23545 :C
) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23546 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23551 case $ac_file$ac_mode in
23552 "include/stamp-h":C
) echo timestamp
> include
/stamp-h
;;
23553 "tools/makedep":C
) wine_fn_output_makedep || as_fn_exit $?
;;
23554 "Makefile":C
) wine_fn_output_makefile Makefile
;;
23562 ac_clean_files
=$ac_clean_files_save
23564 test $ac_write_fail = 0 ||
23565 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
23568 # configure is writing to config.log, and then calls config.status.
23569 # config.status does its own redirection, appending to config.log.
23570 # Unfortunately, on DOS this fails, as config.log is still kept open
23571 # by configure, so config.status won't be able to write to it; its
23572 # output is simply discarded. So we exec the FD to /dev/null,
23573 # effectively closing config.log, so it can be properly (re)opened and
23574 # appended to by config.status. When coming back to configure, we
23575 # need to make the FD available again.
23576 if test "$no_create" != yes; then
23578 ac_config_status_args
=
23579 test "$silent" = yes &&
23580 ac_config_status_args
="$ac_config_status_args --quiet"
23582 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23584 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23585 # would make configure fail if this is the last instruction.
23586 $ac_cs_success || as_fn_exit
1
23588 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
23589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23590 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23594 if test "$no_create" = "yes"
23600 if test "x$wine_notices" != x
; then
23603 for msg
in $wine_notices; do
23609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23610 printf "%s\n" "$as_me: $msg" >&6;}
23615 for msg
in $wine_warnings; do
23622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23623 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23629 $as_me: Finished. Do '${ac_make}' to compile Wine.