2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 8.13.
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.13'
615 PACKAGE_STRING
='Wine 8.13'
616 PACKAGE_BUGREPORT
='wine-devel@winehq.org'
617 PACKAGE_URL
='https://www.winehq.org'
619 ac_unique_file
="server/atom.c"
620 # Factoring default headers for most tests.
621 ac_includes_default
="\
632 #ifdef HAVE_INTTYPES_H
633 # include <inttypes.h>
638 #ifdef HAVE_STRINGS_H
639 # include <strings.h>
641 #ifdef HAVE_SYS_TYPES_H
642 # include <sys/types.h>
644 #ifdef HAVE_SYS_STAT_H
645 # include <sys/stat.h>
652 ac_subst_vars
='LTLIBOBJS
707 WAYLAND_CLIENT_CFLAGS
753 SYSTEMCONFIGURATION_LIBS
757 APPLICATIONSERVICES_LIBS
770 WINEPRELOADER_LDFLAGS
802 x86_64_DISABLED_SUBDIRS
810 i386_DISABLED_SUBDIRS
826 aarch64_DISABLED_SUBDIRS
827 aarch64_DELAYLOADFLAG
891 program_transform_name
904 enable_option_checking
910 enable_maintainer_mode
989 enable_bcryptprimitives
1030 enable_d3dcompiler_33
1031 enable_d3dcompiler_34
1032 enable_d3dcompiler_35
1033 enable_d3dcompiler_36
1034 enable_d3dcompiler_37
1035 enable_d3dcompiler_38
1036 enable_d3dcompiler_39
1037 enable_d3dcompiler_40
1038 enable_d3dcompiler_41
1039 enable_d3dcompiler_42
1040 enable_d3dcompiler_43
1041 enable_d3dcompiler_46
1042 enable_d3dcompiler_47
1095 enable_directmanipulation
1132 enable_explorerframe
1149 enable_graphicscapture
1192 enable_light_msstyles
1207 enable_mfmediaengine
1272 enable_msvcp140_atomic_wait
1338 enable_photometadatahandler
1415 enable_threadpoolwinrt
1418 enable_twinapi_appcore
1422 enable_uiautomationcore
1442 enable_vcruntime140_1
1460 enable_windows_devices_bluetooth
1461 enable_windows_devices_enumeration
1462 enable_windows_devices_usb
1463 enable_windows_gaming_input
1464 enable_windows_gaming_ui_gamebar
1465 enable_windows_globalization
1466 enable_windows_media_devices
1467 enable_windows_media_speech
1468 enable_windows_media
1469 enable_windows_networking_hostname
1470 enable_windows_networking
1471 enable_windows_perception_stub
1472 enable_windows_system_profile_systemmanufacturers
1474 enable_windowscodecs
1475 enable_windowscodecsext
1477 enable_wineandroid_drv
1479 enable_winecoreaudio_drv
1482 enable_winegstreamer
1488 enable_winepulse_drv
1491 enable_winewayland_drv
1493 enable_winexinput_sys
1539 enable_xactengine2_0
1540 enable_xactengine2_4
1541 enable_xactengine2_7
1542 enable_xactengine2_9
1543 enable_xactengine3_0
1544 enable_xactengine3_1
1545 enable_xactengine3_2
1546 enable_xactengine3_3
1547 enable_xactengine3_4
1548 enable_xactengine3_5
1549 enable_xactengine3_6
1550 enable_xactengine3_7
1599 enable_wmcodecdspuuid
1608 enable_aspnet_regiis
1656 enable_presentationfontcache
1671 enable_servicemodelreg
1697 enable_winemenubuilder
1699 enable_winemsibuilder
1724 ac_precious_vars
='build_alias
1769 WAYLAND_CLIENT_CFLAGS
1811 # Initialize some variables set by options.
1813 ac_init_version
=false
1814 ac_unrecognized_opts
=
1815 ac_unrecognized_sep
=
1816 # The variables have the same names as the options, with
1817 # dashes changed to underlines.
1818 cache_file
=/dev
/null
1825 program_transform_name
=s
,x
,x
,
1833 # Installation directory options.
1834 # These are left unexpanded so users can "make install exec_prefix=/foo"
1835 # and all the variables that are supposed to be based on exec_prefix
1836 # by default will actually change.
1837 # Use braces instead of parens because sh, perl, etc. also accept them.
1838 # (The list follows the same order as the GNU Coding Standards.)
1839 bindir
='${exec_prefix}/bin'
1840 sbindir
='${exec_prefix}/sbin'
1841 libexecdir
='${exec_prefix}/libexec'
1842 datarootdir
='${prefix}/share'
1843 datadir
='${datarootdir}'
1844 sysconfdir
='${prefix}/etc'
1845 sharedstatedir
='${prefix}/com'
1846 localstatedir
='${prefix}/var'
1847 runstatedir
='${localstatedir}/run'
1848 includedir
='${prefix}/include'
1849 oldincludedir
='/usr/include'
1850 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1851 infodir
='${datarootdir}/info'
1856 libdir
='${exec_prefix}/lib'
1857 localedir
='${datarootdir}/locale'
1858 mandir
='${datarootdir}/man'
1864 # If the previous option needs an argument, assign it.
1865 if test -n "$ac_prev"; then
1866 eval $ac_prev=\
$ac_option
1872 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1877 case $ac_dashdash$ac_option in
1881 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1883 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1884 bindir
=$ac_optarg ;;
1886 -build |
--build |
--buil |
--bui |
--bu)
1887 ac_prev
=build_alias
;;
1888 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1889 build_alias
=$ac_optarg ;;
1891 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1892 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1893 ac_prev
=cache_file
;;
1894 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1895 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1896 cache_file
=$ac_optarg ;;
1898 --config-cache |
-C)
1899 cache_file
=config.cache
;;
1901 -datadir |
--datadir |
--datadi |
--datad)
1903 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1904 datadir
=$ac_optarg ;;
1906 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1907 |
--dataroo |
--dataro |
--datar)
1908 ac_prev
=datarootdir
;;
1909 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1910 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1911 datarootdir
=$ac_optarg ;;
1913 -disable-* |
--disable-*)
1914 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1915 # Reject names that are not valid shell variable names.
1916 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1917 as_fn_error $?
"invalid feature name: \`$ac_useropt'"
1918 ac_useropt_orig
=$ac_useropt
1919 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1920 case $ac_user_opts in
1922 "enable_
$ac_useropt"
1924 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1925 ac_unrecognized_sep
=', ';;
1927 eval enable_
$ac_useropt=no
;;
1929 -docdir |
--docdir |
--docdi |
--doc |
--do)
1931 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1932 docdir
=$ac_optarg ;;
1934 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1936 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1937 dvidir
=$ac_optarg ;;
1939 -enable-* |
--enable-*)
1940 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1941 # Reject names that are not valid shell variable names.
1942 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1943 as_fn_error $?
"invalid feature name: \`$ac_useropt'"
1944 ac_useropt_orig
=$ac_useropt
1945 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1946 case $ac_user_opts in
1948 "enable_
$ac_useropt"
1950 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1951 ac_unrecognized_sep
=', ';;
1953 eval enable_
$ac_useropt=\
$ac_optarg ;;
1955 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1956 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1957 |
--exec |
--exe |
--ex)
1958 ac_prev
=exec_prefix
;;
1959 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1960 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1961 |
--exec=* |
--exe=* |
--ex=*)
1962 exec_prefix
=$ac_optarg ;;
1964 -gas |
--gas |
--ga |
--g)
1965 # Obsolete; use --with-gas.
1968 -help |
--help |
--hel |
--he |
-h)
1969 ac_init_help
=long
;;
1970 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1971 ac_init_help
=recursive
;;
1972 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1973 ac_init_help
=short
;;
1975 -host |
--host |
--hos |
--ho)
1976 ac_prev
=host_alias
;;
1977 -host=* |
--host=* |
--hos=* |
--ho=*)
1978 host_alias
=$ac_optarg ;;
1980 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1982 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1984 htmldir
=$ac_optarg ;;
1986 -includedir |
--includedir |
--includedi |
--included |
--include \
1987 |
--includ |
--inclu |
--incl |
--inc)
1988 ac_prev
=includedir
;;
1989 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1990 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1991 includedir
=$ac_optarg ;;
1993 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1995 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1996 infodir
=$ac_optarg ;;
1998 -libdir |
--libdir |
--libdi |
--libd)
2000 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
2001 libdir
=$ac_optarg ;;
2003 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
2004 |
--libexe |
--libex |
--libe)
2005 ac_prev
=libexecdir
;;
2006 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
2007 |
--libexe=* |
--libex=* |
--libe=*)
2008 libexecdir
=$ac_optarg ;;
2010 -localedir |
--localedir |
--localedi |
--localed |
--locale)
2011 ac_prev
=localedir
;;
2012 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
2013 localedir
=$ac_optarg ;;
2015 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
2016 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
2017 ac_prev
=localstatedir
;;
2018 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
2019 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
2020 localstatedir
=$ac_optarg ;;
2022 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
2024 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
2025 mandir
=$ac_optarg ;;
2027 -nfp |
--nfp |
--nf)
2028 # Obsolete; use --without-fp.
2031 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
2032 |
--no-cr |
--no-c |
-n)
2035 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
2036 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
2039 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
2040 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
2041 |
--oldin |
--oldi |
--old |
--ol |
--o)
2042 ac_prev
=oldincludedir
;;
2043 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
2044 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
2045 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
2046 oldincludedir
=$ac_optarg ;;
2048 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
2050 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
2051 prefix
=$ac_optarg ;;
2053 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
2054 |
--program-pre |
--program-pr |
--program-p)
2055 ac_prev
=program_prefix
;;
2056 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
2057 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
2058 program_prefix
=$ac_optarg ;;
2060 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
2061 |
--program-suf |
--program-su |
--program-s)
2062 ac_prev
=program_suffix
;;
2063 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
2064 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
2065 program_suffix
=$ac_optarg ;;
2067 -program-transform-name |
--program-transform-name \
2068 |
--program-transform-nam |
--program-transform-na \
2069 |
--program-transform-n |
--program-transform- \
2070 |
--program-transform |
--program-transfor \
2071 |
--program-transfo |
--program-transf \
2072 |
--program-trans |
--program-tran \
2073 |
--progr-tra |
--program-tr |
--program-t)
2074 ac_prev
=program_transform_name
;;
2075 -program-transform-name=* |
--program-transform-name=* \
2076 |
--program-transform-nam=* |
--program-transform-na=* \
2077 |
--program-transform-n=* |
--program-transform-=* \
2078 |
--program-transform=* |
--program-transfor=* \
2079 |
--program-transfo=* |
--program-transf=* \
2080 |
--program-trans=* |
--program-tran=* \
2081 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
2082 program_transform_name
=$ac_optarg ;;
2084 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
2086 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
2087 pdfdir
=$ac_optarg ;;
2089 -psdir |
--psdir |
--psdi |
--psd |
--ps)
2091 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
2094 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2095 |
-silent |
--silent |
--silen |
--sile |
--sil)
2098 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
2099 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
2100 |
--run |
--ru |
--r)
2101 ac_prev
=runstatedir
;;
2102 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
2103 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
2104 |
--run=* |
--ru=* |
--r=*)
2105 runstatedir
=$ac_optarg ;;
2107 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
2109 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
2111 sbindir
=$ac_optarg ;;
2113 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
2114 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
2115 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
2117 ac_prev
=sharedstatedir
;;
2118 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
2119 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
2120 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
2122 sharedstatedir
=$ac_optarg ;;
2124 -site |
--site |
--sit)
2126 -site=* |
--site=* |
--sit=*)
2129 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
2131 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
2132 srcdir
=$ac_optarg ;;
2134 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
2135 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
2136 ac_prev
=sysconfdir
;;
2137 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
2138 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
2139 sysconfdir
=$ac_optarg ;;
2141 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
2142 ac_prev
=target_alias
;;
2143 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
2144 target_alias
=$ac_optarg ;;
2146 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
2149 -version |
--version |
--versio |
--versi |
--vers |
-V)
2150 ac_init_version
=: ;;
2153 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2154 # Reject names that are not valid shell variable names.
2155 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2156 as_fn_error $?
"invalid package name: \`$ac_useropt'"
2157 ac_useropt_orig
=$ac_useropt
2158 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2159 case $ac_user_opts in
2163 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2164 ac_unrecognized_sep
=', ';;
2166 eval with_
$ac_useropt=\
$ac_optarg ;;
2168 -without-* |
--without-*)
2169 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2170 # Reject names that are not valid shell variable names.
2171 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2172 as_fn_error $?
"invalid package name: \`$ac_useropt'"
2173 ac_useropt_orig
=$ac_useropt
2174 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2175 case $ac_user_opts in
2179 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2180 ac_unrecognized_sep
=', ';;
2182 eval with_
$ac_useropt=no
;;
2185 # Obsolete; use --with-x.
2188 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
2189 |
--x-incl |
--x-inc |
--x-in |
--x-i)
2190 ac_prev
=x_includes
;;
2191 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
2192 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
2193 x_includes
=$ac_optarg ;;
2195 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
2196 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
2197 ac_prev
=x_libraries
;;
2198 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
2199 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
2200 x_libraries
=$ac_optarg ;;
2202 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
2203 Try \`$0 --help' for more information"
2207 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
2208 # Reject names that are not valid shell variable names.
2209 case $ac_envvar in #(
2210 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
2211 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
2213 eval $ac_envvar=\
$ac_optarg
2214 export $ac_envvar ;;
2217 # FIXME: should be removed in autoconf 3.0.
2218 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2219 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
2220 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2221 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2227 if test -n "$ac_prev"; then
2228 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
2229 as_fn_error $?
"missing argument to $ac_option"
2232 if test -n "$ac_unrecognized_opts"; then
2233 case $enable_option_checking in
2235 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
2236 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2240 # Check all directory arguments for consistency.
2241 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2242 datadir sysconfdir sharedstatedir localstatedir includedir \
2243 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2244 libdir localedir mandir runstatedir
2246 eval ac_val
=\$
$ac_var
2247 # Remove trailing slashes.
2250 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2251 eval $ac_var=\
$ac_val;;
2253 # Be sure to have absolute directory names.
2255 [\\/$
]* | ?
:[\\/]* ) continue;;
2256 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
2258 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
2261 # There might be people who depend on the old broken behavior: `$host'
2262 # used to hold the argument of --host etc.
2263 # FIXME: To remove some day.
2266 target
=$target_alias
2268 # FIXME: To remove some day.
2269 if test "x$host_alias" != x
; then
2270 if test "x$build_alias" = x
; then
2271 cross_compiling
=maybe
2272 elif test "x$build_alias" != "x$host_alias"; then
2278 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
2280 test "$silent" = yes && exec 6>/dev
/null
2283 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
2284 ac_ls_di
=`ls -di .` &&
2285 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
2286 as_fn_error $?
"working directory cannot be determined"
2287 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2288 as_fn_error $?
"pwd does not report name of working directory"
2291 # Find the source files, if location was not specified.
2292 if test -z "$srcdir"; then
2293 ac_srcdir_defaulted
=yes
2294 # Try the directory containing this script, then the parent directory.
2295 ac_confdir
=`$as_dirname -- "$as_myself" ||
2296 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2297 X"$as_myself" : 'X\(//\)[^/]' \| \
2298 X"$as_myself" : 'X\(//\)$' \| \
2299 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2300 printf "%s\n" X"$as_myself" |
2301 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2319 if test ! -r "$srcdir/$ac_unique_file"; then
2323 ac_srcdir_defaulted
=no
2325 if test ! -r "$srcdir/$ac_unique_file"; then
2326 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
2327 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
2329 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
2331 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2333 # When building in place, set srcdir=.
2334 if test "$ac_abs_confdir" = "$ac_pwd"; then
2337 # Remove unnecessary trailing slashes from srcdir.
2338 # Double slashes in file names in object file debugging info
2339 # mess up M-x gdb in Emacs.
2341 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2343 for ac_var
in $ac_precious_vars; do
2344 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
2345 eval ac_env_
${ac_var}_value
=\$
${ac_var}
2346 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
2347 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2351 # Report the --help message.
2353 if test "$ac_init_help" = "long"; then
2354 # Omit some internal or obsolete options to make the list less imposing.
2355 # This message is too long to be a string in the A/UX 3.1 sh.
2357 \`configure' configures Wine 8.13 to adapt to many kinds of systems.
2359 Usage: $0 [OPTION]... [VAR=VALUE]...
2361 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2362 VAR=VALUE. See below for descriptions of some of the useful variables.
2364 Defaults for the options are specified in brackets.
2367 -h, --help display this help and exit
2368 --help=short display options specific to this package
2369 --help=recursive display the short help of all the included packages
2370 -V, --version display version information and exit
2371 -q, --quiet, --silent do not print \`checking ...' messages
2372 --cache-file=FILE cache test results in FILE [disabled]
2373 -C, --config-cache alias for \`--cache-file=config.cache'
2374 -n, --no-create do not create output files
2375 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2377 Installation directories:
2378 --prefix=PREFIX install architecture-independent files in PREFIX
2379 [$ac_default_prefix]
2380 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2383 By default, \`make install' will install all the files in
2384 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2385 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2386 for instance \`--prefix=\$HOME'.
2388 For better control, use the options below.
2390 Fine tuning of the installation directories:
2391 --bindir=DIR user executables [EPREFIX/bin]
2392 --sbindir=DIR system admin executables [EPREFIX/sbin]
2393 --libexecdir=DIR program executables [EPREFIX/libexec]
2394 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2395 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2396 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2397 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2398 --libdir=DIR object code libraries [EPREFIX/lib]
2399 --includedir=DIR C header files [PREFIX/include]
2400 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2401 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2402 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2403 --infodir=DIR info documentation [DATAROOTDIR/info]
2404 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2405 --mandir=DIR man documentation [DATAROOTDIR/man]
2406 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2407 --htmldir=DIR html documentation [DOCDIR]
2408 --dvidir=DIR dvi documentation [DOCDIR]
2409 --pdfdir=DIR pdf documentation [DOCDIR]
2410 --psdir=DIR ps documentation [DOCDIR]
2416 --x-includes=DIR X include files are
in DIR
2417 --x-libraries=DIR X library files are
in DIR
2420 --build=BUILD configure
for building on BUILD
[guessed
]
2421 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2425 if test -n "$ac_init_help"; then
2426 case $ac_init_help in
2427 short | recursive
) echo "Configuration of Wine 8.13:";;
2432 --disable-option-checking ignore unrecognized
--enable/--with options
2433 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2434 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2435 --enable-archs={i386
,x86_64
,arm
,aarch64
}
2436 enable multiple architectures
for PE compilation
2437 --disable-win16 do not include Win16 support
2438 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2440 --disable-tests do not build the regression tests
2441 --enable-build-id include .buildid section in output objects
2442 --enable-maintainer-mode
2443 enable maintainer-specific build rules
2444 --enable-silent-rules use silent build rules (override: "make V=1")
2445 --enable-werror treat compilation warnings as errors
2446 --disable-largefile omit support for large files
2449 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2450 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2451 --without-alsa do not use the Alsa sound support
2452 --without-capi do not use CAPI (ISDN support)
2453 --without-coreaudio do not use the CoreAudio sound support
2454 --without-cups do not use CUPS
2455 --without-dbus do not use DBus (dynamic device support)
2456 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2457 --without-fontconfig do not use fontconfig
2458 --without-freetype do not use the FreeType library
2459 --without-gettext do not use gettext
2460 --with-gettextpo use the GetTextPO library to rebuild po files
2461 --without-gphoto do not use gphoto (Digital Camera support)
2462 --without-gnutls do not use GnuTLS (schannel support)
2463 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2464 --without-gstreamer do not use GStreamer (codecs support)
2465 --without-inotify do not use inotify (filesystem change notifications)
2466 --without-krb5 do not use krb5 (Kerberos)
2467 --without-mingw do not use the MinGW cross-compiler
2468 --without-netapi do not use the Samba NetAPI library
2469 --without-opencl do not use OpenCL
2470 --without-opengl do not use OpenGL
2471 --without-osmesa do not use the OSMesa library
2472 --without-oss do not use the OSS sound support
2473 --without-pcap do not use the Packet Capture library
2474 --without-pcsclite do not use PCSC lite
2475 --without-pthread do not use the pthread library
2476 --without-pulse do not use PulseAudio sound support
2477 --without-sane do not use SANE (scanner support)
2478 --without-sdl do not use SDL
2479 --without-udev do not use udev (plug and play support)
2480 --without-unwind do not use the libunwind library (exception
2482 --without-usb do not use the libusb library
2483 --without-v4l2 do not use v4l2 (video capture)
2484 --without-vulkan do not use Vulkan
2485 --without-wayland do not build the Wayland driver
2486 --without-xcomposite do not use the Xcomposite extension
2487 --without-xcursor do not use the Xcursor extension
2488 --without-xfixes do not use Xfixes for clipboard change notifications
2489 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2490 --without-xinput do not use the Xinput extension
2491 --without-xinput2 do not use the Xinput 2 extension
2492 --without-xrandr do not use Xrandr (multi-monitor support)
2493 --without-xrender do not use the Xrender extension
2494 --without-xshape do not use the Xshape extension
2495 --without-xshm do not use XShm (shared memory extension)
2496 --without-xxf86vm do not use XFree video mode extension
2497 --with-system-dllpath=PATH
2498 load external PE dependencies from colon-separated
2500 --with-wine-tools=DIR use Wine tools from directory DIR
2501 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2502 --with-x use the X Window System
2504 Some influential environment variables:
2505 CC C compiler command
2506 CFLAGS C compiler flags
2507 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2508 nonstandard directory <lib dir>
2509 LIBS libraries to pass to the linker, e.g. -l<library>
2510 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2511 you have headers in a nonstandard directory <include dir>
2512 CXX C++ compiler command
2513 CXXFLAGS C++ compiler flags
2514 OBJC Objective C compiler command
2515 OBJCFLAGS Objective C compiler flags
2517 C compiler flags for the PE faudio, overriding the bundled
2520 Linker flags for the PE faudio, overriding the bundled version
2522 C compiler flags for the PE gsm, overriding the bundled version
2523 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2525 C compiler flags for the PE jpeg, overriding the bundled version
2527 Linker flags for the PE jpeg, overriding the bundled version
2529 C compiler flags for the PE jxr, overriding the bundled version
2530 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2532 C compiler flags for the PE lcms2, overriding the bundled
2535 Linker flags for the PE lcms2, overriding the bundled version
2537 C compiler flags for the PE ldap, overriding the bundled version
2539 Linker flags for the PE ldap, overriding the bundled version
2541 C compiler flags for the PE mpg123, overriding the bundled
2544 Linker flags for the PE mpg123, overriding the bundled version
2546 C compiler flags for the PE musl, overriding the bundled version
2548 Linker flags for the PE musl, overriding the bundled version
2550 C compiler flags for the PE png, overriding the bundled version
2551 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2553 C compiler flags for the PE tiff, overriding the bundled version
2555 Linker flags for the PE tiff, overriding the bundled version
2557 C compiler flags for the PE vkd3d, overriding the bundled
2560 Linker flags for the PE vkd3d, overriding the bundled version
2562 C compiler flags for the PE xml2, overriding the bundled version
2564 Linker flags for the PE xml2, overriding the bundled version
2566 C compiler flags for the PE xslt, overriding the bundled version
2568 Linker flags for the PE xslt, overriding the bundled version
2570 C compiler flags for the PE zlib, overriding the bundled version
2572 Linker flags for the PE zlib, overriding the bundled version
2574 C compiler flags for the PE zydis, overriding the bundled
2577 Linker flags for the PE zydis, overriding the bundled version
2578 XMKMF Path to xmkmf, Makefile generator for X Window System
2580 WAYLAND_CLIENT_CFLAGS
2581 C compiler flags for wayland-client, overriding pkg-config
2583 Linker flags for wayland-client, overriding pkg-config
2585 C compiler flags for libinotify, overriding pkg-config
2587 Linker flags for libinotify, overriding pkg-config
2588 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2589 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2591 C compiler flags for gnutls, overriding pkg-config
2592 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2593 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2594 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2595 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2596 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2598 C compiler flags for libgphoto2, overriding pkg-config
2600 Linker flags for libgphoto2, overriding pkg-config
2602 C compiler flags for libgphoto2_port, overriding pkg-config
2604 Linker flags for libgphoto2_port, overriding pkg-config
2606 C compiler flags for freetype2, overriding pkg-config
2608 Linker flags for freetype2, overriding pkg-config
2610 C compiler flags for libpulse, overriding pkg-config
2611 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2613 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2614 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2616 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2617 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2618 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2619 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2621 C compiler flags for libunwind, overriding pkg-config
2622 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2623 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2624 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2626 C compiler flags for capi20, overriding pkg-config
2627 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2628 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2629 CUPS_LIBS Linker flags for cups, overriding pkg-config
2631 C compiler flags for fontconfig, overriding pkg-config
2633 Linker flags for fontconfig, overriding pkg-config
2634 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2635 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2637 C compiler flags for krb5-gssapi, overriding pkg-config
2638 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2640 C compiler flags for netapi, overriding pkg-config
2641 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2643 Use these variables to override the choices made by `configure' or to
help
2644 it to
find libraries and programs with nonstandard names
/locations.
2646 Report bugs to
<wine-devel@winehq.org
>.
2647 Wine home page
: <https
://www.winehq.org
>.
2652 if test "$ac_init_help" = "recursive"; then
2653 # If there are subdirs, report their specific --help.
2654 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2655 test -d "$ac_dir" ||
2656 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2661 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2663 ac_dir_suffix
=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2664 # A ".." for each directory in $ac_dir_suffix.
2665 ac_top_builddir_sub
=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2666 case $ac_top_builddir_sub in
2667 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2668 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2671 ac_abs_top_builddir
=$ac_pwd
2672 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2673 # for backward compatibility:
2674 ac_top_builddir
=$ac_top_build_prefix
2677 .
) # We are building in place.
2679 ac_top_srcdir
=$ac_top_builddir_sub
2680 ac_abs_top_srcdir
=$ac_pwd ;;
2681 [\\/]* | ?
:[\\/]* ) # Absolute name.
2682 ac_srcdir
=$srcdir$ac_dir_suffix;
2683 ac_top_srcdir
=$srcdir
2684 ac_abs_top_srcdir
=$srcdir ;;
2686 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2687 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2688 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2690 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2692 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2693 # Check for configure.gnu first; this name is used for a wrapper for
2694 # Metaconfig's "Configure" on case-insensitive file systems.
2695 if test -f "$ac_srcdir/configure.gnu"; then
2697 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2698 elif test -f "$ac_srcdir/configure"; then
2700 $SHELL "$ac_srcdir/configure" --help=recursive
2702 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2704 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2708 test -n "$ac_init_help" && exit $ac_status
2709 if $ac_init_version; then
2712 generated by GNU Autoconf
2.71
2714 Copyright
(C
) 2021 Free Software Foundation
, Inc.
2715 This configure
script is free software
; the Free Software Foundation
2716 gives unlimited permission to copy
, distribute and modify it.
2721 ## ------------------------ ##
2722 ## Autoconf initialization. ##
2723 ## ------------------------ ##
2725 # ac_fn_c_try_compile LINENO
2726 # --------------------------
2727 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2728 ac_fn_c_try_compile
()
2730 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2731 rm -f conftest.
$ac_objext conftest.beam
2732 if { { ac_try
="$ac_compile"
2734 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2735 *) ac_try_echo=$ac_try;;
2737 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2738 printf "%s\n" "$ac_try_echo"; } >&5
2739 (eval "$ac_compile") 2>conftest.err
2741 if test -s conftest.err; then
2742 grep -v '^ *+' conftest.err >conftest.er1
2743 cat conftest.er1 >&5
2744 mv -f conftest.er1 conftest.err
2746 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2747 test $ac_status = 0; } && {
2748 test -z "$ac_c_werror_flag" ||
2749 test ! -s conftest.err
2750 } && test -s conftest.$ac_objext
2754 printf "%s\n" "$as_me: failed program was:" >&5
2755 sed 's/^/| /' conftest.$ac_ext >&5
2759 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2760 as_fn_set_status $ac_retval
2762 } # ac_fn_c_try_compile
2764 # ac_fn_cxx_try_compile LINENO
2765 # ----------------------------
2766 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2767 ac_fn_cxx_try_compile ()
2769 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2770 rm -f conftest.$ac_objext conftest.beam
2771 if { { ac_try="$ac_compile"
2773 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2774 *) ac_try_echo
=$ac_try;;
2776 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2777 printf "%s\n" "$ac_try_echo"; } >&5
2778 (eval "$ac_compile") 2>conftest.err
2780 if test -s conftest.err
; then
2781 grep -v '^ *+' conftest.err
>conftest.er1
2782 cat conftest.er1
>&5
2783 mv -f conftest.er1 conftest.err
2785 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2786 test $ac_status = 0; } && {
2787 test -z "$ac_cxx_werror_flag" ||
2788 test ! -s conftest.err
2789 } && test -s conftest.
$ac_objext
2793 printf "%s\n" "$as_me: failed program was:" >&5
2794 sed 's/^/| /' conftest.
$ac_ext >&5
2798 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2799 as_fn_set_status
$ac_retval
2801 } # ac_fn_cxx_try_compile
2803 # ac_fn_c_try_link LINENO
2804 # -----------------------
2805 # Try to link conftest.$ac_ext, and return whether this succeeded.
2808 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2809 rm -f conftest.
$ac_objext conftest.beam conftest
$ac_exeext
2810 if { { ac_try
="$ac_link"
2812 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2813 *) ac_try_echo=$ac_try;;
2815 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2816 printf "%s\n" "$ac_try_echo"; } >&5
2817 (eval "$ac_link") 2>conftest.err
2819 if test -s conftest.err; then
2820 grep -v '^ *+' conftest.err >conftest.er1
2821 cat conftest.er1 >&5
2822 mv -f conftest.er1 conftest.err
2824 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2825 test $ac_status = 0; } && {
2826 test -z "$ac_c_werror_flag" ||
2827 test ! -s conftest.err
2828 } && test -s conftest$ac_exeext && {
2829 test "$cross_compiling" = yes ||
2830 test -x conftest$ac_exeext
2835 printf "%s\n" "$as_me: failed program was:" >&5
2836 sed 's/^/| /' conftest.$ac_ext >&5
2840 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2841 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2842 # interfere with the next link command; also delete a directory that is
2843 # left behind by Apple's compiler. We do this before executing the actions.
2844 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2845 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2846 as_fn_set_status $ac_retval
2848 } # ac_fn_c_try_link
2850 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2851 # -------------------------------------------------------
2852 # Tests whether HEADER exists and can be compiled using the include files in
2853 # INCLUDES, setting the cache variable VAR accordingly.
2854 ac_fn_c_check_header_compile ()
2856 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2858 printf %s "checking for $2... " >&6; }
2859 if eval test \${$3+y}
2861 printf %s "(cached) " >&6
2863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2864 /* end confdefs.h. */
2868 if ac_fn_c_try_compile "$LINENO"
2874 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2878 printf "%s\n" "$ac_res" >&6; }
2879 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2881 } # ac_fn_c_check_header_compile
2883 # ac_fn_objc_try_compile LINENO
2884 # -----------------------------
2885 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2886 ac_fn_objc_try_compile ()
2888 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2889 rm -f conftest.$ac_objext conftest.beam
2890 if { { ac_try="$ac_compile"
2892 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2893 *) ac_try_echo
=$ac_try;;
2895 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2896 printf "%s\n" "$ac_try_echo"; } >&5
2897 (eval "$ac_compile") 2>conftest.err
2899 if test -s conftest.err
; then
2900 grep -v '^ *+' conftest.err
>conftest.er1
2901 cat conftest.er1
>&5
2902 mv -f conftest.er1 conftest.err
2904 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2905 test $ac_status = 0; } && {
2906 test -z "$ac_objc_werror_flag" ||
2907 test ! -s conftest.err
2908 } && test -s conftest.
$ac_objext
2912 printf "%s\n" "$as_me: failed program was:" >&5
2913 sed 's/^/| /' conftest.
$ac_ext >&5
2917 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2918 as_fn_set_status
$ac_retval
2920 } # ac_fn_objc_try_compile
2922 # ac_fn_c_check_func LINENO FUNC VAR
2923 # ----------------------------------
2924 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2925 ac_fn_c_check_func
()
2927 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2929 printf %s
"checking for $2... " >&6; }
2930 if eval test \
${$3+y}
2932 printf %s
"(cached) " >&6
2934 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2935 /* end confdefs.h. */
2936 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2937 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2938 #define $2 innocuous_$2
2940 /* System header to define __stub macros and hopefully few prototypes,
2941 which can conflict with char $2 (); below. */
2946 /* Override any GCC internal prototype to avoid an error.
2947 Use char because int might match the return type of a GCC
2948 builtin and then its argument prototype would still apply. */
2953 /* The GNU C library defines this for functions which it implements
2954 to always fail with ENOSYS. Some functions are actually named
2955 something starting with __ and the normal name is an alias. */
2956 #if defined __stub_$2 || defined __stub___$2
2968 if ac_fn_c_try_link
"$LINENO"
2974 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
2975 conftest
$ac_exeext conftest.
$ac_ext
2978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2979 printf "%s\n" "$ac_res" >&6; }
2980 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2982 } # ac_fn_c_check_func
2984 # ac_fn_c_try_cpp LINENO
2985 # ----------------------
2986 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2989 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2990 if { { ac_try
="$ac_cpp conftest.$ac_ext"
2992 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2993 *) ac_try_echo=$ac_try;;
2995 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2996 printf "%s\n" "$ac_try_echo"; } >&5
2997 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2999 if test -s conftest.err; then
3000 grep -v '^ *+' conftest.err >conftest.er1
3001 cat conftest.er1 >&5
3002 mv -f conftest.er1 conftest.err
3004 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3005 test $ac_status = 0; } > conftest.i && {
3006 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3007 test ! -s conftest.err
3012 printf "%s\n" "$as_me: failed program was:" >&5
3013 sed 's/^/| /' conftest.$ac_ext >&5
3017 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3018 as_fn_set_status $ac_retval
3022 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3023 # ----------------------------------------------------
3024 # Tries to find if the field MEMBER exists in type AGGR, after including
3025 # INCLUDES, setting cache variable VAR accordingly.
3026 ac_fn_c_check_member ()
3028 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3030 printf %s "checking for $2.$3... " >&6; }
3031 if eval test \${$4+y}
3033 printf %s "(cached) " >&6
3035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3036 /* end confdefs.h. */
3048 if ac_fn_c_try_compile "$LINENO"
3052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3053 /* end confdefs.h. */
3059 if (sizeof ac_aggr.$3)
3065 if ac_fn_c_try_compile "$LINENO"
3071 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3073 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3077 printf "%s\n" "$ac_res" >&6; }
3078 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3080 } # ac_fn_c_check_member
3082 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3083 # -------------------------------------------
3084 # Tests whether TYPE exists after having included INCLUDES, setting cache
3085 # variable VAR accordingly.
3086 ac_fn_c_check_type ()
3088 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3090 printf %s "checking for $2... " >&6; }
3091 if eval test \${$3+y}
3093 printf %s "(cached) " >&6
3096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3097 /* end confdefs.h. */
3108 if ac_fn_c_try_compile "$LINENO"
3110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3111 /* end confdefs.h. */
3122 if ac_fn_c_try_compile "$LINENO"
3128 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3130 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3134 printf "%s\n" "$ac_res" >&6; }
3135 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3137 } # ac_fn_c_check_type
3138 ac_configure_args_raw=
3143 ac_arg=`printf "%s\n" "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
3145 as_fn_append ac_configure_args_raw " '$ac_arg'"
3148 case $ac_configure_args_raw in
3152 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3153 ac_unsafe_a="$ac_unsafe_z#~
"
3154 ac_safe_unquote="s
/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g
"
3155 ac_configure_args_raw=` printf "%s
\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3158 cat >config.log <<_ACEOF
3159 This file contains any messages produced by compilers while
3160 running configure, to aid debugging if configure makes a mistake.
3162 It was created by Wine $as_me 8.13, which was
3163 generated by GNU Autoconf 2.71. Invocation command line was
3165 $ $0$ac_configure_args_raw
3175 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3176 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3177 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3178 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3179 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3181 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3182 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3184 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3185 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3186 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3187 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3188 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3189 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3190 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3198 case $as_dir in #(((
3201 *) as_dir=$as_dir/ ;;
3203 printf "%s
\n" "PATH
: $as_dir"
3219 # Keep a trace of the command line.
3220 # Strip out --no-create and --no-recursion so they do not pile up.
3221 # Strip out --silent because we don't want to record it for future runs.
3222 # Also quote any args containing shell meta-characters.
3223 # Make two passes to allow for proper duplicate-argument suppression.
3227 ac_must_keep_next=false
3233 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3234 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3235 | -silent | --silent | --silen | --sile | --sil)
3238 ac_arg=`printf "%s
\n" "$ac_arg" | sed "s
/'/'\\\\\\\\''/g
"` ;;
3241 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3243 as_fn_append ac_configure_args1 " '$ac_arg'"
3244 if test $ac_must_keep_next = true; then
3245 ac_must_keep_next=false # Got value, back to normal.
3248 *=* | --config-cache | -C | -disable-* | --disable-* \
3249 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3250 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3251 | -with-* | --with-* | -without-* | --without-* | --x)
3252 case "$ac_configure_args0 " in
3253 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3256 -* ) ac_must_keep_next=true ;;
3259 as_fn_append ac_configure_args " '$ac_arg'"
3264 { ac_configure_args0=; unset ac_configure_args0;}
3265 { ac_configure_args1=; unset ac_configure_args1;}
3267 # When interrupted or exit'd, cleanup temporary files, and complete
3268 # config.log. We remove comments because anyway the quotes in there
3269 # would cause problems or look ugly.
3270 # WARNING: Use '\'' to represent an apostrophe within the trap.
3271 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3272 trap 'exit_status=$?
3275 # Save into config.log some information that might help in debugging.
3279 printf "%s
\n" "## ---------------- ##
3280 ## Cache variables. ##
3281 ## ---------------- ##"
3283 # The following way of writing the cache mishandles newlines in values,
3285 for ac_var
in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3286 eval ac_val
=\$
$ac_var
3290 *_cv_
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3291 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3294 _ | IFS | as_nl
) ;; #(
3295 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
3296 *) { eval $ac_var=; unset $ac_var;} ;;
3301 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3302 *${as_nl}ac_space
=\
*)
3304 "s/'\''/'\''\\\\'\'''\''/g;
3305 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3308 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3315 printf "%s\n" "## ----------------- ##
3316 ## Output variables. ##
3317 ## ----------------- ##"
3319 for ac_var
in $ac_subst_vars
3321 eval ac_val
=\$
$ac_var
3323 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3325 printf "%s\n" "$ac_var='\''$ac_val'\''"
3329 if test -n "$ac_subst_files"; then
3330 printf "%s\n" "## ------------------- ##
3331 ## File substitutions. ##
3332 ## ------------------- ##"
3334 for ac_var in $ac_subst_files
3336 eval ac_val=\$$ac_var
3338 *\'\''*) ac_val
=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3340 printf "%s\n" "$ac_var='\''$ac_val'\''"
3345 if test -s confdefs.h
; then
3346 printf "%s\n" "## ----------- ##
3353 test "$ac_signal" != 0 &&
3354 printf "%s\n" "$as_me: caught signal $ac_signal"
3355 printf "%s\n" "$as_me: exit $exit_status"
3357 rm -f core
*.core core.conftest.
* &&
3358 rm -f -r conftest
* confdefs
* conf$$
* $ac_clean_files &&
3361 for ac_signal in 1 2 13 15; do
3362 trap 'ac_signal
='$ac_signal'; as_fn_exit
1' $ac_signal
3366 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3367 rm -f -r conftest* confdefs.h
3369 printf "%s\n" "/* confdefs.h */" > confdefs.h
3371 # Predefined preprocessor variables.
3373 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3375 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3377 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3379 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3381 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3383 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3386 # Let the site file select an alternate cache file if it wants to.
3387 # Prefer an explicitly selected file to automatically selected ones.
3388 if test -n "$CONFIG_SITE"; then
3389 ac_site_files="$CONFIG_SITE"
3390 elif test "x$prefix" != xNONE; then
3391 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3393 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3396 for ac_site_file in $ac_site_files
3398 case $ac_site_file in #(
3402 ac_site_file=./$ac_site_file ;;
3404 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3406 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3407 sed 's
/^
/|
/' "$ac_site_file" >&5
3409 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3410 printf "%s
\n" "$as_me: error
: in \
`$ac_pwd':" >&2;}
3411 as_fn_error $? "failed to load site script $ac_site_file
3412 See \`config.log
' for more details" "$LINENO" 5; }
3416 if test -r "$cache_file"; then
3417 # Some versions of bash will fail to source /dev/null (special files
3418 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3419 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3421 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3423 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3424 *) . "./$cache_file";;
3428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3429 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3433 # Test code for whether the C compiler supports C89 (global declarations)
3434 ac_c_conftest_c89_globals='
3435 /* Does the compiler advertise C89 conformance?
3436 Do not
test the value of __STDC__
, because some compilers
set it to
0
3437 while being otherwise adequately conformant.
*/
3438 #if !defined __STDC__
3439 # error "Compiler does not advertise C89 conformance"
3445 /* Most of the following tests are stolen from RCS
5.7 src
/conf.sh.
*/
3446 struct buf
{ int x
; };
3447 struct buf
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
3448 static char
*e
(p
, i
)
3454 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
3459 s
= g
(p
, va_arg
(v
,int
));
3464 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
3465 function prototypes and stuff
, but not \xHH hex character constants.
3466 These
do not provoke an error unfortunately
, instead are silently treated
3467 as an
"x". The following induces an error
, until -std is added to get
3468 proper ANSI mode. Curiously
\x00 != x always comes out true
, for an
3469 array size
at least. It is necessary to
write \x00 == 0 to get something
3470 that is true only with
-std.
*/
3471 int osf4_cc_array
['\''\x00'\'' == 0 ?
1 : -1];
3473 /* IBM C
6 for AIX is almost-ANSI by default
, but it replaces macro parameters
3474 inside
strings and character constants.
*/
3475 #define FOO(x) '\''x'\''
3476 int xlc6_cc_array
[FOO
(a
) == '\''x
'\'' ?
1 : -1];
3478 int
test (int i
, double x
);
3479 struct s1
{int
(*f
) (int a
);};
3480 struct s2
{int
(*f
) (double a
);};
3481 int pairnames
(int
, char
**, int
*(*)(struct buf
*, struct stat
*, int
),
3484 # Test code for whether the C compiler supports C89 (body of main).
3485 ac_c_conftest_c89_main='
3486 ok |
= (argc
== 0 || f
(e
, argv
, 0) != argv
[0] || f
(e
, argv
, 1) != argv
[1]);
3489 # Test code for whether the C compiler supports C99 (global declarations)
3490 ac_c_conftest_c99_globals='
3491 // Does the compiler advertise C99 conformance?
3492 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3493 # error "Compiler does not advertise C99 conformance"
3496 #include <stdbool.h>
3497 extern int puts
(const char
*);
3498 extern int
printf (const char
*, ...
);
3499 extern int dprintf
(int
, const char
*, ...
);
3500 extern void
*malloc
(size_t
);
3502 // Check varargs macros. These examples are taken from C99
6.10.3.5.
3503 // dprintf is used instead of fprintf to avoid needing to
declare
3505 #define debug(...) dprintf (2, __VA_ARGS__)
3506 #define showlist(...) puts (#__VA_ARGS__)
3507 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3509 test_varargs_macros
(void
)
3514 debug
("X = %d\n", x
);
3515 showlist
(The first
, second
, and third items.
);
3516 report
(x
>y
, "x is %d but y is %d", x
, y
);
3519 // Check long long types.
3520 #define BIG64 18446744073709551615ull
3521 #define BIG32 4294967295ul
3522 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3524 #error "your preprocessor is broken"
3528 #error "your preprocessor is broken"
3530 static long long int bignum
= -9223372036854775807LL;
3531 static unsigned long long int ubignum
= BIG64
;
3533 struct incomplete_array
3541 const wchar_t
*name
;
3545 typedef const char
*ccp
;
3548 test_restrict
(ccp restrict text
)
3550 // See
if C
++-style comments work.
3551 // Iterate through items via the restricted pointer.
3552 // Also check
for declarations
in for loops.
3553 for (unsigned int i
= 0; *(text
+i
) != '\''\
0'\''; ++i
)
3558 // Check varargs and va_copy.
3560 test_varargs
(const char
*format
, ...
)
3563 va_start
(args
, format
);
3565 va_copy
(args_copy
, args
);
3567 const char
*str
= "";
3575 case '\''s
'\'': // string
3576 str
= va_arg
(args_copy
, const char
*);
3578 case '\''d
'\'': // int
3579 number
= va_arg
(args_copy
, int
);
3581 case '\''f
'\'': // float
3582 fnumber
= va_arg
(args_copy
, double
);
3591 return *str
&& number
&& fnumber
;
3595 # Test code for whether the C compiler supports C99 (body of main).
3596 ac_c_conftest_c99_main='
3598 _Bool success
= false
;
3599 success |
= (argc
!= 0);
3602 if (test_restrict
("String literal") == 0)
3604 char
*restrict newvar
= "Another string";
3607 success
&= test_varargs
("s, d'\'' f .", "string", 65, 34.234);
3608 test_varargs_macros
();
3610 // Check flexible array members.
3611 struct incomplete_array
*ia
=
3612 malloc
(sizeof
(struct incomplete_array
) + (sizeof
(double
) * 10));
3614 for (int i
= 0; i
< ia-
>datasize
; ++i
)
3615 ia-
>data
[i
] = i
* 1.234;
3617 // Check named initializers.
3618 struct named_init ni
= {
3620 .name
= L
"Test wide string",
3621 .average
= 543.34343,
3626 int dynamic_array
[ni.number
];
3627 dynamic_array
[0] = argv
[0][0];
3628 dynamic_array
[ni.number
- 1] = 543;
3630 // work around unused variable warnings
3631 ok |
= (!success || bignum
== 0LL || ubignum
== 0uLL || newvar
[0] == '\''x
'\''
3632 || dynamic_array
[ni.number
- 1] != 543);
3635 # Test code for whether the C compiler supports C11 (global declarations)
3636 ac_c_conftest_c11_globals='
3637 // Does the compiler advertise C11 conformance?
3638 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3639 # error "Compiler does not advertise C11 conformance"
3643 char _Alignas
(double
) aligned_as_double
;
3644 char _Alignas
(0) no_special_alignment
;
3645 extern char aligned_as_int
;
3646 char _Alignas
(0) _Alignas
(int
) aligned_as_int
;
3651 int_alignment
= _Alignof
(int
),
3652 int_array_alignment
= _Alignof
(int
[100]),
3653 char_alignment
= _Alignof
(char
)
3655 _Static_assert
(0 < -_Alignof (int
), "_Alignof is signed");
3658 int _Noreturn does_not_return
(void
) { for (;;) continue; }
3660 // Check _Static_assert.
3661 struct test_static_assert
3664 _Static_assert
(sizeof
(int
) <= sizeof
(long int
),
3665 "_Static_assert does not work in struct");
3669 // Check UTF-8 literals.
3670 #define u8 syntax error!
3671 char const utf8_literal
[] = u8
"happens to be ASCII" "another string";
3673 // Check duplicate typedefs.
3674 typedef long
*long_ptr
;
3675 typedef long int
*long_ptr
;
3676 typedef long_ptr long_ptr
;
3678 // Anonymous structures and unions
-- taken from C11
6.7.2.1 Example
1.
3682 struct
{ int i
; int j
; };
3683 struct
{ int k
; long int l
; } w
;
3689 # Test code for whether the C compiler supports C11 (body of main).
3690 ac_c_conftest_c11_main='
3691 _Static_assert
((offsetof
(struct anonymous
, i
)
3692 == offsetof
(struct anonymous
, w.k
)),
3693 "Anonymous union alignment botch");
3699 # Test code for whether the C compiler supports C11 (complete).
3700 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3701 ${ac_c_conftest_c99_globals}
3702 ${ac_c_conftest_c11_globals}
3705 main (int argc, char **argv)
3708 ${ac_c_conftest_c89_main}
3709 ${ac_c_conftest_c99_main}
3710 ${ac_c_conftest_c11_main}
3715 # Test code for whether the C compiler supports C99 (complete).
3716 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3717 ${ac_c_conftest_c99_globals}
3720 main (int argc, char **argv)
3723 ${ac_c_conftest_c89_main}
3724 ${ac_c_conftest_c99_main}
3729 # Test code for whether the C compiler supports C89 (complete).
3730 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3733 main (int argc, char **argv)
3736 ${ac_c_conftest_c89_main}
3741 # Test code for whether the C++ compiler supports C++98 (global declarations)
3742 ac_cxx_conftest_cxx98_globals='
3743 // Does the compiler advertise C
++98 conformance?
3744 #if !defined __cplusplus || __cplusplus < 199711L
3745 # error "Compiler does not advertise C++98 conformance"
3748 // These inclusions are to reject old compilers that
3749 // lack the unsuffixed header files.
3751 #include <exception>
3753 // <cassert
> and
<cstring
> are
*not
* freestanding headers
in C
++98.
3754 extern void assert
(int
);
3756 extern int strcmp
(const char
*, const char
*);
3759 // Namespaces
, exceptions
, and templates were all added after
"C++ 2.0".
3760 using std
::exception
;
3765 void test_exception_syntax
()
3769 } catch
(const char
*s
) {
3770 // Extra parentheses suppress a warning when building autoconf itself
,
3771 // due to lint rules shared with
more typical C programs.
3772 assert
(!(strcmp
) (s
, "test"));
3776 template
<typename T
> struct test_template
3779 explicit test_template
(T t
) : val
(t
) {}
3780 template
<typename U
> T add
(U u
) { return static_cast
<T
>(u
) + val
; }
3783 } // anonymous namespace
3786 # Test code for whether the C++ compiler supports C++98 (body of main)
3787 ac_cxx_conftest_cxx98_main='
3791 test_exception_syntax
();
3792 test_template
<double
> tt
(2.0);
3793 assert
(tt.add
(4) == 6.0);
3794 assert
(true
&& !false
);
3798 # Test code for whether the C++ compiler supports C++11 (global declarations)
3799 ac_cxx_conftest_cxx11_globals='
3800 // Does the compiler advertise C
++ 2011 conformance?
3801 #if !defined __cplusplus || __cplusplus < 201103L
3802 # error "Compiler does not advertise C++11 conformance"
3807 constexpr int get_val
() { return 20; }
3818 delegate
(int n
) : n
(n
) {}
3819 delegate
(): delegate
(2354) {}
3821 virtual int getval
() { return this-
>n
; };
3826 class overridden
: public delegate
3829 overridden
(int n
): delegate
(n
) {}
3830 virtual int getval
() override final
{ return this-
>n
* 2; }
3836 nocopy
(int i
): i
(i
) {}
3838 nocopy
(const nocopy
&) = delete
;
3839 nocopy
& operator
=(const nocopy
&) = delete
;
3844 // for testing lambda expressions
3845 template
<typename Ret
, typename Fn
> Ret
eval(Fn f
, Ret v
)
3850 // for testing variadic templates and trailing
return types
3851 template
<typename V
> auto
sum(V first
) -> V
3855 template
<typename V
, typename... Args
> auto
sum(V first
, Args... rest
) -> V
3857 return first
+ sum(rest...
);
3862 # Test code for whether the C++ compiler supports C++11 (body of main)
3863 ac_cxx_conftest_cxx11_main='
3865 // Test auto and decltype
3867 auto a2
= 48573953.4;
3868 auto a3
= "String literal";
3871 for (auto i
= a3
; *i
; ++i
) { total
+= *i
; }
3873 decltype
(a2
) a4
= 34895.034;
3877 short sa
[cxx11test
::get_val
()] = { 0 };
3880 // Test initializer lists
3881 cxx11test
::testinit il
= { 4323, 435234.23544 };
3884 // Test range-based
for
3885 int array
[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3886 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3887 for (auto
&x
: array
) { x
+= 23; }
3890 // Test lambda expressions
3891 using cxx11test
::eval;
3892 assert
(eval ([](int x
) { return x
*2; }, 21) == 42);
3894 assert
(eval ([&](double x
) { return d
+= x
; }, 3.0) == 5.0);
3896 assert
(eval ([=](double x
) mutable
{ return d
+= x
; }, 4.0) == 9.0);
3900 // Test use of variadic templates
3901 using cxx11test
::sum;
3904 auto c
= sum(1.0, 2.0, 3.0);
3907 // Test constructor delegation
3908 cxx11test
::delegate d1
;
3909 cxx11test
::delegate d2
();
3910 cxx11test
::delegate d3
(45);
3913 // Test override and final
3914 cxx11test
::overridden o1
(55464);
3921 // Test template brackets
3922 test_template
<::test_template
<int
>> v
(test_template
<int
>(12));
3926 char const
*utf8
= u8
"UTF-8 string \u2500";
3927 char16_t const
*utf16
= u
"UTF-8 string \u2500";
3928 char32_t const
*utf32
= U
"UTF-32 string \u2500";
3932 # Test code for whether the C compiler supports C++11 (complete).
3933 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3934 ${ac_cxx_conftest_cxx11_globals}
3937 main (int argc, char **argv)
3940 ${ac_cxx_conftest_cxx98_main}
3941 ${ac_cxx_conftest_cxx11_main}
3946 # Test code for whether the C compiler supports C++98 (complete).
3947 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3949 main (int argc, char **argv)
3952 ${ac_cxx_conftest_cxx98_main}
3957 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3958 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3959 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3960 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3961 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3962 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3963 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3964 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3965 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3967 # Auxiliary files required by this configure script.
3968 ac_aux_files="config.guess config.sub"
3970 # Locations in which to look for auxiliary files.
3971 ac_aux_dir_candidates="${srcdir}/tools"
3973 # Search for a directory containing all of the required auxiliary files,
3974 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3975 # If we don't
find one directory that contains all the files we need
,
3976 # we report the set of missing files from the *first* directory in
3977 # $ac_aux_dir_candidates and give up.
3978 ac_missing_aux_files
=""
3979 ac_first_candidate
=:
3980 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3981 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3983 for as_dir
in $ac_aux_dir_candidates
3986 case $as_dir in #(((
3989 *) as_dir
=$as_dir/ ;;
3993 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3994 ac_aux_dir_found
=yes
3996 for ac_aux
in $ac_aux_files
3998 # As a special case, if "install-sh" is required, that requirement
3999 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
4000 # and $ac_install_sh is set appropriately for whichever one is found.
4001 if test x
"$ac_aux" = x
"install-sh"
4003 if test -f "${as_dir}install-sh"; then
4004 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
4005 ac_install_sh
="${as_dir}install-sh -c"
4006 elif test -f "${as_dir}install.sh"; then
4007 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
4008 ac_install_sh
="${as_dir}install.sh -c"
4009 elif test -f "${as_dir}shtool"; then
4010 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
4011 ac_install_sh
="${as_dir}shtool install -c"
4014 if $ac_first_candidate; then
4015 ac_missing_aux_files
="${ac_missing_aux_files} install-sh"
4021 if test -f "${as_dir}${ac_aux}"; then
4022 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
4025 if $ac_first_candidate; then
4026 ac_missing_aux_files
="${ac_missing_aux_files} ${ac_aux}"
4033 if test "$ac_aux_dir_found" = yes; then
4034 ac_aux_dir
="$as_dir"
4037 ac_first_candidate
=false
4046 as_fn_error $?
"cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4050 # These three variables are undocumented and unsupported,
4051 # and are intended to be withdrawn in a future Autoconf release.
4052 # They can cause serious problems if a builder's source tree is in a directory
4053 # whose full name contains unusual characters.
4054 if test -f "${ac_aux_dir}config.guess"; then
4055 ac_config_guess
="$SHELL ${ac_aux_dir}config.guess"
4057 if test -f "${ac_aux_dir}config.sub"; then
4058 ac_config_sub
="$SHELL ${ac_aux_dir}config.sub"
4060 if test -f "$ac_aux_dir/configure"; then
4061 ac_configure
="$SHELL ${ac_aux_dir}configure"
4064 # Check that the precious variables saved in the cache have kept the same
4066 ac_cache_corrupted
=false
4067 for ac_var
in $ac_precious_vars; do
4068 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
4069 eval ac_new_set
=\
$ac_env_${ac_var}_set
4070 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
4071 eval ac_new_val
=\
$ac_env_${ac_var}_value
4072 case $ac_old_set,$ac_new_set in
4074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4075 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4076 ac_cache_corrupted
=: ;;
4078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4079 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4080 ac_cache_corrupted
=: ;;
4083 if test "x$ac_old_val" != "x$ac_new_val"; then
4084 # differences in whitespace do not lead to failure.
4085 ac_old_val_w
=`echo x $ac_old_val`
4086 ac_new_val_w
=`echo x $ac_new_val`
4087 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4089 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4090 ac_cache_corrupted
=:
4092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4093 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4094 eval $ac_var=\
$ac_old_val
4096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4097 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4099 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4102 # Pass precious variables to config.status.
4103 if test "$ac_new_set" = set; then
4105 *\'*) ac_arg
=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4106 *) ac_arg
=$ac_var=$ac_new_val ;;
4108 case " $ac_configure_args " in
4109 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4110 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
4114 if $ac_cache_corrupted; then
4115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4116 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4118 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4119 as_fn_error $?
"run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4120 and start over" "$LINENO" 5
4122 ## -------------------- ##
4123 ## Main body of script. ##
4124 ## -------------------- ##
4127 ac_cpp
='$CPP $CPPFLAGS'
4128 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4129 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4130 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4134 ac_config_headers
="$ac_config_headers include/config.h"
4138 libwine_version
="1.0"
4141 # Check whether --enable-archs was given.
4142 if test ${enable_archs+y}
4144 enableval
=$enable_archs;
4147 # Check whether --enable-win16 was given.
4148 if test ${enable_win16+y}
4150 enableval
=$enable_win16;
4153 # Check whether --enable-win64 was given.
4154 if test ${enable_win64+y}
4156 enableval
=$enable_win64;
4159 # Check whether --enable-tests was given.
4160 if test ${enable_tests+y}
4162 enableval
=$enable_tests;
4165 # Check whether --enable-build-id was given.
4166 if test ${enable_build_id+y}
4168 enableval
=$enable_build_id;
4171 # Check whether --enable-maintainer-mode was given.
4172 if test ${enable_maintainer_mode+y}
4174 enableval
=$enable_maintainer_mode;
4177 # Check whether --enable-silent-rules was given.
4178 if test ${enable_silent_rules+y}
4180 enableval
=$enable_silent_rules;
4183 # Check whether --enable-werror was given.
4184 if test ${enable_werror+y}
4186 enableval
=$enable_werror;
4191 # Check whether --with-alsa was given.
4192 if test ${with_alsa+y}
4198 # Check whether --with-capi was given.
4199 if test ${with_capi+y}
4205 # Check whether --with-coreaudio was given.
4206 if test ${with_coreaudio+y}
4208 withval
=$with_coreaudio;
4212 # Check whether --with-cups was given.
4213 if test ${with_cups+y}
4219 # Check whether --with-dbus was given.
4220 if test ${with_dbus+y}
4226 # Check whether --with-float-abi was given.
4227 if test ${with_float_abi+y}
4229 withval
=$with_float_abi;
4233 # Check whether --with-fontconfig was given.
4234 if test ${with_fontconfig+y}
4236 withval
=$with_fontconfig;
4240 # Check whether --with-freetype was given.
4241 if test ${with_freetype+y}
4243 withval
=$with_freetype;
4247 # Check whether --with-gettext was given.
4248 if test ${with_gettext+y}
4250 withval
=$with_gettext;
4254 # Check whether --with-gettextpo was given.
4255 if test ${with_gettextpo+y}
4257 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
4261 # Check whether --with-gphoto was given.
4262 if test ${with_gphoto+y}
4264 withval
=$with_gphoto;
4268 # Check whether --with-gnutls was given.
4269 if test ${with_gnutls+y}
4271 withval
=$with_gnutls;
4275 # Check whether --with-gssapi was given.
4276 if test ${with_gssapi+y}
4278 withval
=$with_gssapi;
4282 # Check whether --with-gstreamer was given.
4283 if test ${with_gstreamer+y}
4285 withval
=$with_gstreamer;
4289 # Check whether --with-inotify was given.
4290 if test ${with_inotify+y}
4292 withval
=$with_inotify;
4296 # Check whether --with-krb5 was given.
4297 if test ${with_krb5+y}
4303 # Check whether --with-mingw was given.
4304 if test ${with_mingw+y}
4306 withval
=$with_mingw;
4310 # Check whether --with-netapi was given.
4311 if test ${with_netapi+y}
4313 withval
=$with_netapi;
4317 # Check whether --with-opencl was given.
4318 if test ${with_opencl+y}
4320 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
4324 # Check whether --with-opengl was given.
4325 if test ${with_opengl+y}
4327 withval
=$with_opengl;
4331 # Check whether --with-osmesa was given.
4332 if test ${with_osmesa+y}
4334 withval
=$with_osmesa;
4338 # Check whether --with-oss was given.
4339 if test ${with_oss+y}
4345 # Check whether --with-pcap was given.
4346 if test ${with_pcap+y}
4348 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
4352 # Check whether --with-pcsclite was given.
4353 if test ${with_pcsclite+y}
4355 withval
=$with_pcsclite;
4359 # Check whether --with-pthread was given.
4360 if test ${with_pthread+y}
4362 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
4366 # Check whether --with-pulse was given.
4367 if test ${with_pulse+y}
4369 withval
=$with_pulse;
4373 # Check whether --with-sane was given.
4374 if test ${with_sane+y}
4380 # Check whether --with-sdl was given.
4381 if test ${with_sdl+y}
4387 # Check whether --with-udev was given.
4388 if test ${with_udev+y}
4394 # Check whether --with-unwind was given.
4395 if test ${with_unwind+y}
4397 withval
=$with_unwind;
4401 # Check whether --with-usb was given.
4402 if test ${with_usb+y}
4408 # Check whether --with-v4l2 was given.
4409 if test ${with_v4l2+y}
4415 # Check whether --with-vulkan was given.
4416 if test ${with_vulkan+y}
4418 withval
=$with_vulkan;
4422 # Check whether --with-wayland was given.
4423 if test ${with_wayland+y}
4425 withval
=$with_wayland;
4429 # Check whether --with-xcomposite was given.
4430 if test ${with_xcomposite+y}
4432 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
4436 # Check whether --with-xcursor was given.
4437 if test ${with_xcursor+y}
4439 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
4443 # Check whether --with-xfixes was given.
4444 if test ${with_xfixes+y}
4446 withval
=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h
=no
; fi
4450 # Check whether --with-xinerama was given.
4451 if test ${with_xinerama+y}
4453 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
4457 # Check whether --with-xinput was given.
4458 if test ${with_xinput+y}
4460 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
4464 # Check whether --with-xinput2 was given.
4465 if test ${with_xinput2+y}
4467 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
4471 # Check whether --with-xrandr was given.
4472 if test ${with_xrandr+y}
4474 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
4478 # Check whether --with-xrender was given.
4479 if test ${with_xrender+y}
4481 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
4485 # Check whether --with-xshape was given.
4486 if test ${with_xshape+y}
4488 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
4492 # Check whether --with-xshm was given.
4493 if test ${with_xshm+y}
4495 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
4499 # Check whether --with-xxf86vm was given.
4500 if test ${with_xxf86vm+y}
4502 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
4507 # Check whether --with-system-dllpath was given.
4508 if test ${with_system_dllpath+y}
4510 withval
=$with_system_dllpath; system_dllpath
=$withval
4515 # Check whether --with-wine-tools was given.
4516 if test ${with_wine_tools+y}
4518 withval
=$with_wine_tools;
4522 # Check whether --with-wine64 was given.
4523 if test ${with_wine64+y}
4525 withval
=$with_wine64;
4532 # Make sure we can run config.sub.
4533 $SHELL "${ac_aux_dir}config.sub" sun4
>/dev
/null
2>&1 ||
4534 as_fn_error $?
"cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4537 printf %s
"checking build system type... " >&6; }
4538 if test ${ac_cv_build+y}
4540 printf %s
"(cached) " >&6
4542 ac_build_alias
=$build_alias
4543 test "x$ac_build_alias" = x
&&
4544 ac_build_alias
=`$SHELL "${ac_aux_dir}config.guess"`
4545 test "x$ac_build_alias" = x
&&
4546 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
4547 ac_cv_build
=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4548 as_fn_error $?
"$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4552 printf "%s\n" "$ac_cv_build" >&6; }
4553 case $ac_cv_build in
4555 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
4558 ac_save_IFS
=$IFS; IFS
='-'
4564 # Remember, the first character of IFS is used to create $*,
4565 # except with old shells:
4568 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
4571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4572 printf %s
"checking host system type... " >&6; }
4573 if test ${ac_cv_host+y}
4575 printf %s
"(cached) " >&6
4577 if test "x$host_alias" = x
; then
4578 ac_cv_host
=$ac_cv_build
4580 ac_cv_host
=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4581 as_fn_error $?
"$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4586 printf "%s\n" "$ac_cv_host" >&6; }
4589 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
4592 ac_save_IFS
=$IFS; IFS
='-'
4598 # Remember, the first character of IFS is used to create $*,
4599 # except with old shells:
4602 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4606 dlldir
=\
${libdir}/wine
4608 fontdir
=\
${datadir}/wine
/fonts
4610 nlsdir
=\
${datadir}/wine
/nls
4615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4616 printf %s
"checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4618 ac_make
=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4619 if eval test \
${ac_cv_prog_make_${ac_make}_set+y}
4621 printf %s
"(cached) " >&6
4623 cat >conftest.
make <<\_ACEOF
4626 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4628 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4629 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4631 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4633 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4637 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4639 printf "%s\n" "yes" >&6; }
4642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4643 printf "%s\n" "no" >&6; }
4644 SET_MAKE
="MAKE=${MAKE-make}"
4657 ac_cpp
='$CPP $CPPFLAGS'
4658 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4659 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4660 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4661 if test -n "$ac_tool_prefix"; then
4662 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4663 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4665 printf %s
"checking for $ac_word... " >&6; }
4666 if test ${ac_cv_prog_CC+y}
4668 printf %s
"(cached) " >&6
4670 if test -n "$CC"; then
4671 ac_cv_prog_CC
="$CC" # Let the user override the test.
4673 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4677 case $as_dir in #(((
4680 *) as_dir
=$as_dir/ ;;
4682 for ac_exec_ext
in '' $ac_executable_extensions; do
4683 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4684 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4685 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4695 if test -n "$CC"; then
4696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4697 printf "%s\n" "$CC" >&6; }
4699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4700 printf "%s\n" "no" >&6; }
4705 if test -z "$ac_cv_prog_CC"; then
4707 # Extract the first word of "gcc", so it can be a program name with args.
4708 set dummy gcc
; ac_word
=$2
4709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4710 printf %s
"checking for $ac_word... " >&6; }
4711 if test ${ac_cv_prog_ac_ct_CC+y}
4713 printf %s
"(cached) " >&6
4715 if test -n "$ac_ct_CC"; then
4716 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4718 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4722 case $as_dir in #(((
4725 *) as_dir
=$as_dir/ ;;
4727 for ac_exec_ext
in '' $ac_executable_extensions; do
4728 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4729 ac_cv_prog_ac_ct_CC
="gcc"
4730 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4739 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4740 if test -n "$ac_ct_CC"; then
4741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4742 printf "%s\n" "$ac_ct_CC" >&6; }
4744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4745 printf "%s\n" "no" >&6; }
4748 if test "x$ac_ct_CC" = x
; then
4751 case $cross_compiling:$ac_tool_warned in
4753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4754 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4755 ac_tool_warned
=yes ;;
4763 if test -z "$CC"; then
4764 if test -n "$ac_tool_prefix"; then
4765 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4766 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4768 printf %s
"checking for $ac_word... " >&6; }
4769 if test ${ac_cv_prog_CC+y}
4771 printf %s
"(cached) " >&6
4773 if test -n "$CC"; then
4774 ac_cv_prog_CC
="$CC" # Let the user override the test.
4776 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4780 case $as_dir in #(((
4783 *) as_dir
=$as_dir/ ;;
4785 for ac_exec_ext
in '' $ac_executable_extensions; do
4786 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4787 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4788 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4798 if test -n "$CC"; then
4799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4800 printf "%s\n" "$CC" >&6; }
4802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4803 printf "%s\n" "no" >&6; }
4809 if test -z "$CC"; then
4810 # Extract the first word of "cc", so it can be a program name with args.
4811 set dummy cc
; ac_word
=$2
4812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4813 printf %s
"checking for $ac_word... " >&6; }
4814 if test ${ac_cv_prog_CC+y}
4816 printf %s
"(cached) " >&6
4818 if test -n "$CC"; then
4819 ac_cv_prog_CC
="$CC" # Let the user override the test.
4822 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4826 case $as_dir in #(((
4829 *) as_dir
=$as_dir/ ;;
4831 for ac_exec_ext
in '' $ac_executable_extensions; do
4832 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4833 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4834 ac_prog_rejected
=yes
4838 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4845 if test $ac_prog_rejected = yes; then
4846 # We found a bogon in the path, so make sure we never use it.
4847 set dummy
$ac_cv_prog_CC
4849 if test $# != 0; then
4850 # We chose a different compiler from the bogus one.
4851 # However, it has the same basename, so the bogon will be chosen
4852 # first if we set CC to just the basename; use the full file name.
4854 ac_cv_prog_CC
="$as_dir$ac_word${1+' '}$@"
4860 if test -n "$CC"; then
4861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4862 printf "%s\n" "$CC" >&6; }
4864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4865 printf "%s\n" "no" >&6; }
4870 if test -z "$CC"; then
4871 if test -n "$ac_tool_prefix"; then
4872 for ac_prog
in cl.exe
4874 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4875 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4877 printf %s
"checking for $ac_word... " >&6; }
4878 if test ${ac_cv_prog_CC+y}
4880 printf %s
"(cached) " >&6
4882 if test -n "$CC"; then
4883 ac_cv_prog_CC
="$CC" # Let the user override the test.
4885 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4889 case $as_dir in #(((
4892 *) as_dir
=$as_dir/ ;;
4894 for ac_exec_ext
in '' $ac_executable_extensions; do
4895 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4896 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4897 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4907 if test -n "$CC"; then
4908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4909 printf "%s\n" "$CC" >&6; }
4911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4912 printf "%s\n" "no" >&6; }
4916 test -n "$CC" && break
4919 if test -z "$CC"; then
4921 for ac_prog
in cl.exe
4923 # Extract the first word of "$ac_prog", so it can be a program name with args.
4924 set dummy
$ac_prog; ac_word
=$2
4925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4926 printf %s
"checking for $ac_word... " >&6; }
4927 if test ${ac_cv_prog_ac_ct_CC+y}
4929 printf %s
"(cached) " >&6
4931 if test -n "$ac_ct_CC"; then
4932 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4934 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4938 case $as_dir in #(((
4941 *) as_dir
=$as_dir/ ;;
4943 for ac_exec_ext
in '' $ac_executable_extensions; do
4944 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4945 ac_cv_prog_ac_ct_CC
="$ac_prog"
4946 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4955 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4956 if test -n "$ac_ct_CC"; then
4957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4958 printf "%s\n" "$ac_ct_CC" >&6; }
4960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4961 printf "%s\n" "no" >&6; }
4965 test -n "$ac_ct_CC" && break
4968 if test "x$ac_ct_CC" = x
; then
4971 case $cross_compiling:$ac_tool_warned in
4973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4974 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4975 ac_tool_warned
=yes ;;
4982 if test -z "$CC"; then
4983 if test -n "$ac_tool_prefix"; then
4984 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4985 set dummy
${ac_tool_prefix}clang
; ac_word
=$2
4986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4987 printf %s
"checking for $ac_word... " >&6; }
4988 if test ${ac_cv_prog_CC+y}
4990 printf %s
"(cached) " >&6
4992 if test -n "$CC"; then
4993 ac_cv_prog_CC
="$CC" # Let the user override the test.
4995 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4999 case $as_dir in #(((
5002 *) as_dir
=$as_dir/ ;;
5004 for ac_exec_ext
in '' $ac_executable_extensions; do
5005 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
5006 ac_cv_prog_CC
="${ac_tool_prefix}clang"
5007 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5017 if test -n "$CC"; then
5018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5019 printf "%s\n" "$CC" >&6; }
5021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5022 printf "%s\n" "no" >&6; }
5027 if test -z "$ac_cv_prog_CC"; then
5029 # Extract the first word of "clang", so it can be a program name with args.
5030 set dummy clang
; ac_word
=$2
5031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5032 printf %s
"checking for $ac_word... " >&6; }
5033 if test ${ac_cv_prog_ac_ct_CC+y}
5035 printf %s
"(cached) " >&6
5037 if test -n "$ac_ct_CC"; then
5038 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5040 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5044 case $as_dir in #(((
5047 *) as_dir
=$as_dir/ ;;
5049 for ac_exec_ext
in '' $ac_executable_extensions; do
5050 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
5051 ac_cv_prog_ac_ct_CC
="clang"
5052 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5061 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5062 if test -n "$ac_ct_CC"; then
5063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5064 printf "%s\n" "$ac_ct_CC" >&6; }
5066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5067 printf "%s\n" "no" >&6; }
5070 if test "x$ac_ct_CC" = x
; then
5073 case $cross_compiling:$ac_tool_warned in
5075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5076 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5077 ac_tool_warned
=yes ;;
5088 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5089 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5090 as_fn_error $?
"no acceptable C compiler found in \$PATH
5091 See \`config.log' for more details" "$LINENO" 5; }
5093 # Provide some information about the compiler.
5094 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5097 for ac_option
in --version -v -V -qversion -version; do
5098 { { ac_try
="$ac_compiler $ac_option >&5"
5100 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5101 *) ac_try_echo=$ac_try;;
5103 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5104 printf "%s\n" "$ac_try_echo"; } >&5
5105 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5107 if test -s conftest.err; then
5109 ... rest of stderr output deleted ...
5110 10q' conftest.err >conftest.er1
5111 cat conftest.er1 >&5
5113 rm -f conftest.er1 conftest.err
5114 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5115 test $ac_status = 0; }
5118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5119 /* end confdefs.h. */
5129 ac_clean_files_save=$ac_clean_files
5130 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5131 # Try to create an executable without -o first, disregard a.out.
5132 # It will help us diagnose broken compilers, and finding out an intuition
5134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5135 printf %s "checking whether the C compiler works... " >&6; }
5136 ac_link_default=`printf "%s\n" "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
5138 # The possible output files:
5139 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5142 for ac_file in $ac_files
5145 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5146 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5151 if { { ac_try="$ac_link_default"
5153 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5154 *) ac_try_echo
=$ac_try;;
5156 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5157 printf "%s\n" "$ac_try_echo"; } >&5
5158 (eval "$ac_link_default") 2>&5
5160 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5161 test $ac_status = 0; }
5163 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5164 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5165 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5166 # so that the user can short-circuit this test for compilers unknown to
5168 for ac_file
in $ac_files ''
5170 test -f "$ac_file" ||
continue
5172 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
5175 # We found the default executable, but exeext='' is most
5179 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no
;
5181 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
5183 # We set ac_cv_exeext here because the later test for it is not
5184 # safe: cross compilers may not add the suffix if given an `-o'
5185 # argument, so we may need to know it at that point already.
5186 # Even if this section looks crufty: it has the advantage of
5193 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
5198 if test -z "$ac_file"
5200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5201 printf "%s\n" "no" >&6; }
5202 printf "%s\n" "$as_me: failed program was:" >&5
5203 sed 's/^/| /' conftest.
$ac_ext >&5
5205 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5206 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5207 as_fn_error
77 "C compiler cannot create executables
5208 See \`config.log' for more details" "$LINENO" 5; }
5210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5211 printf "%s\n" "yes" >&6; }
5213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5214 printf %s
"checking for C compiler default output file name... " >&6; }
5215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5216 printf "%s\n" "$ac_file" >&6; }
5217 ac_exeext
=$ac_cv_exeext
5219 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
5220 ac_clean_files
=$ac_clean_files_save
5221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5222 printf %s
"checking for suffix of executables... " >&6; }
5223 if { { ac_try
="$ac_link"
5225 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5226 *) ac_try_echo=$ac_try;;
5228 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5229 printf "%s\n" "$ac_try_echo"; } >&5
5230 (eval "$ac_link") 2>&5
5232 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5233 test $ac_status = 0; }
5235 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
5236 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
5237 # work properly (i.e., refer to `conftest.exe'), while it won't with
5239 for ac_file
in conftest.exe conftest conftest.
*; do
5240 test -f "$ac_file" ||
continue
5242 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
5243 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
5249 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5250 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5251 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
5252 See \`config.log' for more details" "$LINENO" 5; }
5254 rm -f conftest conftest
$ac_cv_exeext
5255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5256 printf "%s\n" "$ac_cv_exeext" >&6; }
5258 rm -f conftest.
$ac_ext
5259 EXEEXT
=$ac_cv_exeext
5261 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5262 /* end confdefs.h. */
5267 FILE *f = fopen ("conftest.out", "w");
5268 return ferror (f) || fclose (f) != 0;
5274 ac_clean_files
="$ac_clean_files conftest.out"
5275 # Check that the compiler produces executables we can run. If not, either
5276 # the compiler is broken, or we cross compile.
5277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5278 printf %s
"checking whether we are cross compiling... " >&6; }
5279 if test "$cross_compiling" != yes; then
5280 { { ac_try
="$ac_link"
5282 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5283 *) ac_try_echo=$ac_try;;
5285 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5286 printf "%s\n" "$ac_try_echo"; } >&5
5287 (eval "$ac_link") 2>&5
5289 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5290 test $ac_status = 0; }
5291 if { ac_try='./conftest$ac_cv_exeext'
5292 { { case "(($ac_try" in
5293 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5294 *) ac_try_echo
=$ac_try;;
5296 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5297 printf "%s\n" "$ac_try_echo"; } >&5
5298 (eval "$ac_try") 2>&5
5300 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5301 test $ac_status = 0; }; }; then
5304 if test "$cross_compiling" = maybe
; then
5307 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5308 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5309 as_fn_error
77 "cannot run C compiled programs.
5310 If you meant to cross compile, use \`--host'.
5311 See \`config.log' for more details" "$LINENO" 5; }
5315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5316 printf "%s\n" "$cross_compiling" >&6; }
5318 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
5319 ac_clean_files
=$ac_clean_files_save
5320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5321 printf %s
"checking for suffix of object files... " >&6; }
5322 if test ${ac_cv_objext+y}
5324 printf %s
"(cached) " >&6
5326 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5327 /* end confdefs.h. */
5337 rm -f conftest.o conftest.obj
5338 if { { ac_try
="$ac_compile"
5340 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5341 *) ac_try_echo=$ac_try;;
5343 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5344 printf "%s\n" "$ac_try_echo"; } >&5
5345 (eval "$ac_compile") 2>&5
5347 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5348 test $ac_status = 0; }
5350 for ac_file in conftest.o conftest.obj conftest.*; do
5351 test -f "$ac_file" || continue;
5353 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5354 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5359 printf "%s\n" "$as_me: failed program was:" >&5
5360 sed 's/^/| /' conftest.$ac_ext >&5
5362 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5363 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5364 as_fn_error $? "cannot compute suffix of object files
: cannot compile
5365 See \
`config.log' for more details" "$LINENO" 5; }
5367 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5370 printf "%s\n" "$ac_cv_objext" >&6; }
5371 OBJEXT=$ac_cv_objext
5373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5374 printf %s "checking whether the compiler supports GNU C... " >&6; }
5375 if test ${ac_cv_c_compiler_gnu+y}
5377 printf %s "(cached) " >&6
5379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5380 /* end confdefs.h. */
5393 if ac_fn_c_try_compile "$LINENO"
5399 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5400 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5404 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5407 if test $ac_compiler_gnu = yes; then
5412 ac_test_CFLAGS=${CFLAGS+y}
5413 ac_save_CFLAGS=$CFLAGS
5414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5415 printf %s "checking whether $CC accepts -g... " >&6; }
5416 if test ${ac_cv_prog_cc_g+y}
5418 printf %s "(cached) " >&6
5420 ac_save_c_werror_flag=$ac_c_werror_flag
5421 ac_c_werror_flag=yes
5424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5425 /* end confdefs.h. */
5435 if ac_fn_c_try_compile "$LINENO"
5440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5441 /* end confdefs.h. */
5451 if ac_fn_c_try_compile "$LINENO"
5455 ac_c_werror_flag=$ac_save_c_werror_flag
5457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5458 /* end confdefs.h. */
5468 if ac_fn_c_try_compile "$LINENO"
5472 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5474 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5476 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5477 ac_c_werror_flag=$ac_save_c_werror_flag
5479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5480 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5481 if test $ac_test_CFLAGS; then
5482 CFLAGS=$ac_save_CFLAGS
5483 elif test $ac_cv_prog_cc_g = yes; then
5484 if test "$GCC" = yes; then
5490 if test "$GCC" = yes; then
5497 if test x$ac_prog_cc_stdc = xno
5499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5500 printf %s "checking for $CC option to enable C11 features... " >&6; }
5501 if test ${ac_cv_prog_cc_c11+y}
5503 printf %s "(cached) " >&6
5505 ac_cv_prog_cc_c11=no
5507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5508 /* end confdefs.h. */
5509 $ac_c_conftest_c11_program
5511 for ac_arg in '' -std=gnu11
5513 CC="$ac_save_CC $ac_arg"
5514 if ac_fn_c_try_compile "$LINENO"
5516 ac_cv_prog_cc_c11=$ac_arg
5518 rm -f core conftest.err conftest.$ac_objext conftest.beam
5519 test "x$ac_cv_prog_cc_c11" != "xno" && break
5521 rm -f conftest.$ac_ext
5525 if test "x$ac_cv_prog_cc_c11" = xno
5527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5528 printf "%s\n" "unsupported" >&6; }
5530 if test "x$ac_cv_prog_cc_c11" = x
5532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5533 printf "%s\n" "none needed" >&6; }
5535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5536 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5537 CC="$CC $ac_cv_prog_cc_c11"
5539 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5543 if test x$ac_prog_cc_stdc = xno
5545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5546 printf %s "checking for $CC option to enable C99 features... " >&6; }
5547 if test ${ac_cv_prog_cc_c99+y}
5549 printf %s "(cached) " >&6
5551 ac_cv_prog_cc_c99=no
5553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5554 /* end confdefs.h. */
5555 $ac_c_conftest_c99_program
5557 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5559 CC="$ac_save_CC $ac_arg"
5560 if ac_fn_c_try_compile "$LINENO"
5562 ac_cv_prog_cc_c99=$ac_arg
5564 rm -f core conftest.err conftest.$ac_objext conftest.beam
5565 test "x$ac_cv_prog_cc_c99" != "xno" && break
5567 rm -f conftest.$ac_ext
5571 if test "x$ac_cv_prog_cc_c99" = xno
5573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5574 printf "%s\n" "unsupported" >&6; }
5576 if test "x$ac_cv_prog_cc_c99" = x
5578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5579 printf "%s\n" "none needed" >&6; }
5581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5582 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5583 CC="$CC $ac_cv_prog_cc_c99"
5585 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5589 if test x$ac_prog_cc_stdc = xno
5591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5592 printf %s "checking for $CC option to enable C89 features... " >&6; }
5593 if test ${ac_cv_prog_cc_c89+y}
5595 printf %s "(cached) " >&6
5597 ac_cv_prog_cc_c89=no
5599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5600 /* end confdefs.h. */
5601 $ac_c_conftest_c89_program
5603 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5605 CC="$ac_save_CC $ac_arg"
5606 if ac_fn_c_try_compile "$LINENO"
5608 ac_cv_prog_cc_c89=$ac_arg
5610 rm -f core conftest.err conftest.$ac_objext conftest.beam
5611 test "x$ac_cv_prog_cc_c89" != "xno" && break
5613 rm -f conftest.$ac_ext
5617 if test "x$ac_cv_prog_cc_c89" = xno
5619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5620 printf "%s\n" "unsupported" >&6; }
5622 if test "x$ac_cv_prog_cc_c89" = x
5624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5625 printf "%s\n" "none needed" >&6; }
5627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5628 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5629 CC="$CC $ac_cv_prog_cc_c89"
5631 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5637 ac_cpp='$CPP $CPPFLAGS'
5638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5649 ac_cpp='$CXXCPP $CPPFLAGS'
5650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5653 if test -z "$CXX"; then
5654 if test -n "$CCC"; then
5657 if test -n "$ac_tool_prefix"; then
5658 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5660 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5661 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5663 printf %s "checking for $ac_word... " >&6; }
5664 if test ${ac_cv_prog_CXX+y}
5666 printf %s "(cached) " >&6
5668 if test -n "$CXX"; then
5669 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5675 case $as_dir in #(((
5678 *) as_dir=$as_dir/ ;;
5680 for ac_exec_ext in '' $ac_executable_extensions; do
5681 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5682 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5683 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5693 if test -n "$CXX"; then
5694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5695 printf "%s\n" "$CXX" >&6; }
5697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5698 printf "%s\n" "no" >&6; }
5702 test -n "$CXX" && break
5705 if test -z "$CXX"; then
5707 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5709 # Extract the first word of "$ac_prog", so it can be a program name with args.
5710 set dummy $ac_prog; ac_word=$2
5711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5712 printf %s "checking for $ac_word... " >&6; }
5713 if test ${ac_cv_prog_ac_ct_CXX+y}
5715 printf %s "(cached) " >&6
5717 if test -n "$ac_ct_CXX"; then
5718 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5724 case $as_dir in #(((
5727 *) as_dir=$as_dir/ ;;
5729 for ac_exec_ext in '' $ac_executable_extensions; do
5730 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5731 ac_cv_prog_ac_ct_CXX="$ac_prog"
5732 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5741 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5742 if test -n "$ac_ct_CXX"; then
5743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5744 printf "%s\n" "$ac_ct_CXX" >&6; }
5746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5747 printf "%s\n" "no" >&6; }
5751 test -n "$ac_ct_CXX" && break
5754 if test "x$ac_ct_CXX" = x; then
5757 case $cross_compiling:$ac_tool_warned in
5759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5760 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5761 ac_tool_warned=yes ;;
5769 # Provide some information about the compiler.
5770 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5773 for ac_option in --version -v -V -qversion; do
5774 { { ac_try="$ac_compiler $ac_option >&5"
5776 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5777 *) ac_try_echo
=$ac_try;;
5779 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5780 printf "%s\n" "$ac_try_echo"; } >&5
5781 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5783 if test -s conftest.err
; then
5785 ... rest of stderr output deleted ...
5786 10q' conftest.err
>conftest.er1
5787 cat conftest.er1
>&5
5789 rm -f conftest.er1 conftest.err
5790 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5791 test $ac_status = 0; }
5794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5795 printf %s
"checking whether the compiler supports GNU C++... " >&6; }
5796 if test ${ac_cv_cxx_compiler_gnu+y}
5798 printf %s
"(cached) " >&6
5800 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5801 /* end confdefs.h. */
5814 if ac_fn_cxx_try_compile
"$LINENO"
5820 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5821 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5825 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5826 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5828 if test $ac_compiler_gnu = yes; then
5833 ac_test_CXXFLAGS
=${CXXFLAGS+y}
5834 ac_save_CXXFLAGS
=$CXXFLAGS
5835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5836 printf %s
"checking whether $CXX accepts -g... " >&6; }
5837 if test ${ac_cv_prog_cxx_g+y}
5839 printf %s
"(cached) " >&6
5841 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5842 ac_cxx_werror_flag
=yes
5845 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5846 /* end confdefs.h. */
5856 if ac_fn_cxx_try_compile
"$LINENO"
5858 ac_cv_prog_cxx_g
=yes
5861 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5862 /* end confdefs.h. */
5872 if ac_fn_cxx_try_compile
"$LINENO"
5876 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5878 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5879 /* end confdefs.h. */
5889 if ac_fn_cxx_try_compile
"$LINENO"
5891 ac_cv_prog_cxx_g
=yes
5893 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5895 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5897 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5898 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5901 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5902 if test $ac_test_CXXFLAGS; then
5903 CXXFLAGS
=$ac_save_CXXFLAGS
5904 elif test $ac_cv_prog_cxx_g = yes; then
5905 if test "$GXX" = yes; then
5911 if test "$GXX" = yes; then
5917 ac_prog_cxx_stdcxx
=no
5918 if test x
$ac_prog_cxx_stdcxx = xno
5920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5921 printf %s
"checking for $CXX option to enable C++11 features... " >&6; }
5922 if test ${ac_cv_prog_cxx_cxx11+y}
5924 printf %s
"(cached) " >&6
5926 ac_cv_prog_cxx_cxx11
=no
5928 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5929 /* end confdefs.h. */
5930 $ac_cxx_conftest_cxx11_program
5932 for ac_arg
in '' -std=gnu
++11 -std=gnu
++0x
-std=c
++11 -std=c
++0x
-qlanglvl=extended0x
-AA
5934 CXX
="$ac_save_CXX $ac_arg"
5935 if ac_fn_cxx_try_compile
"$LINENO"
5937 ac_cv_prog_cxx_cxx11
=$ac_arg
5939 rm -f core conftest.err conftest.
$ac_objext conftest.beam
5940 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5942 rm -f conftest.
$ac_ext
5946 if test "x$ac_cv_prog_cxx_cxx11" = xno
5948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5949 printf "%s\n" "unsupported" >&6; }
5951 if test "x$ac_cv_prog_cxx_cxx11" = x
5953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5954 printf "%s\n" "none needed" >&6; }
5956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5957 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5958 CXX
="$CXX $ac_cv_prog_cxx_cxx11"
5960 ac_cv_prog_cxx_stdcxx
=$ac_cv_prog_cxx_cxx11
5961 ac_prog_cxx_stdcxx
=cxx11
5964 if test x
$ac_prog_cxx_stdcxx = xno
5966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5967 printf %s
"checking for $CXX option to enable C++98 features... " >&6; }
5968 if test ${ac_cv_prog_cxx_cxx98+y}
5970 printf %s
"(cached) " >&6
5972 ac_cv_prog_cxx_cxx98
=no
5974 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5975 /* end confdefs.h. */
5976 $ac_cxx_conftest_cxx98_program
5978 for ac_arg
in '' -std=gnu
++98 -std=c
++98 -qlanglvl=extended
-AA
5980 CXX
="$ac_save_CXX $ac_arg"
5981 if ac_fn_cxx_try_compile
"$LINENO"
5983 ac_cv_prog_cxx_cxx98
=$ac_arg
5985 rm -f core conftest.err conftest.
$ac_objext conftest.beam
5986 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
5988 rm -f conftest.
$ac_ext
5992 if test "x$ac_cv_prog_cxx_cxx98" = xno
5994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5995 printf "%s\n" "unsupported" >&6; }
5997 if test "x$ac_cv_prog_cxx_cxx98" = x
5999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6000 printf "%s\n" "none needed" >&6; }
6002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
6003 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
6004 CXX
="$CXX $ac_cv_prog_cxx_cxx98"
6006 ac_cv_prog_cxx_stdcxx
=$ac_cv_prog_cxx_cxx98
6007 ac_prog_cxx_stdcxx
=cxx98
6012 ac_cpp
='$CPP $CPPFLAGS'
6013 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6014 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6015 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6017 if test -n "$ac_tool_prefix"; then
6018 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
6019 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
6020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6021 printf %s
"checking for $ac_word... " >&6; }
6022 if test ${ac_cv_prog_CPPBIN+y}
6024 printf %s
"(cached) " >&6
6026 if test -n "$CPPBIN"; then
6027 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
6029 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6033 case $as_dir in #(((
6036 *) as_dir
=$as_dir/ ;;
6038 for ac_exec_ext
in '' $ac_executable_extensions; do
6039 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6040 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
6041 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6050 CPPBIN
=$ac_cv_prog_CPPBIN
6051 if test -n "$CPPBIN"; then
6052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6053 printf "%s\n" "$CPPBIN" >&6; }
6055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6056 printf "%s\n" "no" >&6; }
6061 if test -z "$ac_cv_prog_CPPBIN"; then
6062 ac_ct_CPPBIN
=$CPPBIN
6063 # Extract the first word of "cpp", so it can be a program name with args.
6064 set dummy cpp
; ac_word
=$2
6065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6066 printf %s
"checking for $ac_word... " >&6; }
6067 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6069 printf %s
"(cached) " >&6
6071 if test -n "$ac_ct_CPPBIN"; then
6072 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
6074 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6078 case $as_dir in #(((
6081 *) as_dir
=$as_dir/ ;;
6083 for ac_exec_ext
in '' $ac_executable_extensions; do
6084 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6085 ac_cv_prog_ac_ct_CPPBIN
="cpp"
6086 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6095 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
6096 if test -n "$ac_ct_CPPBIN"; then
6097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6098 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6101 printf "%s\n" "no" >&6; }
6104 if test "x$ac_ct_CPPBIN" = x
; then
6107 case $cross_compiling:$ac_tool_warned in
6109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6110 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6111 ac_tool_warned
=yes ;;
6113 CPPBIN
=$ac_ct_CPPBIN
6116 CPPBIN
="$ac_cv_prog_CPPBIN"
6120 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6122 if test -n "$ac_tool_prefix"; then
6123 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6124 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
6125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6126 printf %s
"checking for $ac_word... " >&6; }
6127 if test ${ac_cv_prog_LD+y}
6129 printf %s
"(cached) " >&6
6131 if test -n "$LD"; then
6132 ac_cv_prog_LD
="$LD" # Let the user override the test.
6134 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6138 case $as_dir in #(((
6141 *) as_dir
=$as_dir/ ;;
6143 for ac_exec_ext
in '' $ac_executable_extensions; do
6144 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6145 ac_cv_prog_LD
="${ac_tool_prefix}ld"
6146 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6156 if test -n "$LD"; then
6157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6158 printf "%s\n" "$LD" >&6; }
6160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6161 printf "%s\n" "no" >&6; }
6166 if test -z "$ac_cv_prog_LD"; then
6168 # Extract the first word of "ld", so it can be a program name with args.
6169 set dummy ld
; ac_word
=$2
6170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6171 printf %s
"checking for $ac_word... " >&6; }
6172 if test ${ac_cv_prog_ac_ct_LD+y}
6174 printf %s
"(cached) " >&6
6176 if test -n "$ac_ct_LD"; then
6177 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
6179 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6183 case $as_dir in #(((
6186 *) as_dir
=$as_dir/ ;;
6188 for ac_exec_ext
in '' $ac_executable_extensions; do
6189 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6190 ac_cv_prog_ac_ct_LD
="ld"
6191 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6200 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
6201 if test -n "$ac_ct_LD"; then
6202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6203 printf "%s\n" "$ac_ct_LD" >&6; }
6205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6206 printf "%s\n" "no" >&6; }
6209 if test "x$ac_ct_LD" = x
; then
6212 case $cross_compiling:$ac_tool_warned in
6214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6215 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6216 ac_tool_warned
=yes ;;
6227 with_fontconfig
=${with_fontconfig:-no}
6229 *-mingw32*|
*-cygwin*)
6230 enable_win16
=${enable_win16:-no}
6231 with_mingw
=${with_mingw:-no}
6238 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x
"$enable_archs" = x
6243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6244 printf %s
"checking whether $CC works... " >&6; }
6245 if test ${wine_cv_cc_m32+y}
6247 printf %s
"(cached) " >&6
6249 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6250 /* end confdefs.h. */
6260 if ac_fn_c_try_link
"$LINENO"
6266 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6267 conftest
$ac_exeext conftest.
$ac_ext
6269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6270 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6271 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
6273 notice_platform
="32-bit "
6274 TARGETFLAGS
="$TARGETFLAGS -m32"
6275 PKG_CONFIG_LIBDIR
=${PKG_CONFIG_LIBDIR:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6276 export PKG_CONFIG_LIBDIR
6277 with_unwind
=${with_unwind:-no}
6282 notice_platform
="64-bit "
6283 TARGETFLAGS
="$TARGETFLAGS -m64"
6287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6288 printf %s
"checking whether $CC supports Thumb-2... " >&6; }
6289 if test ${wine_cv_thumb2+y}
6291 printf %s
"(cached) " >&6
6293 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6294 /* end confdefs.h. */
6299 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6304 if ac_fn_c_try_link
"$LINENO"
6310 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6311 conftest
$ac_exeext conftest.
$ac_ext
6313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6314 printf "%s\n" "$wine_cv_thumb2" >&6; }
6315 if test x
"$wine_cv_thumb2" = xyes
6317 CFLAGS
="$CFLAGS -mthumb"
6318 TARGETFLAGS
="$TARGETFLAGS -mthumb"
6320 CFLAGS
="$CFLAGS -marm"
6321 TARGETFLAGS
="$TARGETFLAGS -marm"
6323 case $with_float_abi in
6325 float_abi
=$with_float_abi ;;
6332 saved_CFLAGS
=$CFLAGS
6333 CFLAGS
="$CFLAGS -mfloat-abi=$float_abi"
6334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6335 printf %s
"checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6336 if test ${wine_cv_float_abi+y}
6338 printf %s
"(cached) " >&6
6340 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6341 /* end confdefs.h. */
6346 asm("vmrs r2,fpscr");
6351 if ac_fn_c_try_link
"$LINENO"
6353 wine_cv_float_abi
=yes
6355 wine_cv_float_abi
=no
6357 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6358 conftest
$ac_exeext conftest.
$ac_ext
6360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6361 printf "%s\n" "$wine_cv_float_abi" >&6; }
6362 if test $wine_cv_float_abi = no
6365 as_fn_append wine_warnings
"|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6367 CFLAGS
=$saved_CFLAGS
6371 CFLAGS
="$CFLAGS -mfloat-abi=$float_abi"
6372 TARGETFLAGS
="$TARGETFLAGS -mfloat-abi=$float_abi"
6375 with_unwind
=${with_unwind:-no}
6379 enable_win16
=${enable_win16:-i386}
6380 enable_win64
=${enable_win64:-no}
6381 enable_wow64
=${enable_wow64:-aarch64,x86_64}
6382 enable_wow64win
=${enable_wow64win:-aarch64,x86_64}
6383 enable_wow64cpu
=${enable_wow64cpu:-x86_64}
6385 enable_winetest
=${enable_winetest:-$enable_tests}
6387 if test "x$enable_win64" = "xyes"
6389 test -z "$with_wine64" || as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
6390 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6394 cygwin
*|mingw32
*) toolsext
=".exe"
6402 aarch64
*) HOST_ARCH
=aarch64
;;
6403 arm
*) HOST_ARCH
=arm
;;
6404 i
[3456789]86*) HOST_ARCH
=i386
;;
6405 x86_64
) HOST_ARCH
=x86_64
;;
6409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6410 printf %s
"checking for the directory containing the Wine tools... " >&6; }
6411 if test ${wine_cv_toolsdir+y}
6413 printf %s
"(cached) " >&6
6415 wine_cv_toolsdir
="$with_wine_tools"
6416 if test -z "$with_wine_tools"; then
6417 if test "$cross_compiling" = "yes"; then
6418 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6419 elif test -n "$with_wine64"; then
6420 wine_cv_toolsdir
="$with_wine64"
6424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6425 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6426 if test -z "$wine_cv_toolsdir"; then
6427 wine_makedep
=tools
/makedep
$toolsext
6428 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6429 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
$toolsext
6430 enable_tools
=${enable_tools:-no}
6431 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6433 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6435 toolsdir
=$wine_cv_toolsdir
6437 MAKEDEP
=$wine_makedep
6439 RUNTESTFLAGS
="-q -P wine"
6441 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'"
6444 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6446 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
6451 # Extract the first word of "$ac_prog", so it can be a program name with args.
6452 set dummy
$ac_prog; ac_word
=$2
6453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6454 printf %s
"checking for $ac_word... " >&6; }
6455 if test ${ac_cv_prog_FLEX+y}
6457 printf %s
"(cached) " >&6
6459 if test -n "$FLEX"; then
6460 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
6462 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6466 case $as_dir in #(((
6469 *) as_dir
=$as_dir/ ;;
6471 for ac_exec_ext
in '' $ac_executable_extensions; do
6472 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6473 ac_cv_prog_FLEX
="$ac_prog"
6474 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6483 FLEX
=$ac_cv_prog_FLEX
6484 if test -n "$FLEX"; then
6485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6486 printf "%s\n" "$FLEX" >&6; }
6488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6489 printf "%s\n" "no" >&6; }
6493 test -n "$FLEX" && break
6495 test -n "$FLEX" || FLEX
="none"
6497 if test "$FLEX" = "none"
6499 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6502 printf %s
"checking whether flex is recent enough... " >&6; }
6503 if test ${wine_cv_recent_flex+y}
6505 printf %s
"(cached) " >&6
6507 cat >conftest.l
<<EOF
6509 #include "prediluvian.h"
6513 if $FLEX -t conftest.l
>/dev
/null
2>&5
6515 wine_cv_recent_flex
=yes
6517 wine_cv_recent_flex
=no
6520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6521 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6522 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
6524 for ac_prog
in bison
6526 # Extract the first word of "$ac_prog", so it can be a program name with args.
6527 set dummy
$ac_prog; ac_word
=$2
6528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6529 printf %s
"checking for $ac_word... " >&6; }
6530 if test ${ac_cv_prog_BISON+y}
6532 printf %s
"(cached) " >&6
6534 if test -n "$BISON"; then
6535 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
6537 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6541 case $as_dir in #(((
6544 *) as_dir
=$as_dir/ ;;
6546 for ac_exec_ext
in '' $ac_executable_extensions; do
6547 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6548 ac_cv_prog_BISON
="$ac_prog"
6549 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6558 BISON
=$ac_cv_prog_BISON
6559 if test -n "$BISON"; then
6560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6561 printf "%s\n" "$BISON" >&6; }
6563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6564 printf "%s\n" "no" >&6; }
6568 test -n "$BISON" && break
6570 test -n "$BISON" || BISON
="none"
6572 if test "$BISON" = "none"
6574 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6577 printf %s
"checking whether bison is recent enough... " >&6; }
6578 if test ${wine_cv_recent_bison+y}
6580 printf %s
"(cached) " >&6
6582 cat >conftest.y
<<EOF
6583 %define parse.error verbose
6587 if $BISON conftest.y
>/dev
/null
2>&5
6589 wine_cv_recent_bison
=yes
6591 wine_cv_recent_bison
=no
6594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6595 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6596 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
6598 if test -n "$ac_tool_prefix"; then
6599 for ac_prog
in ar gar
6601 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6602 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6604 printf %s
"checking for $ac_word... " >&6; }
6605 if test ${ac_cv_prog_AR+y}
6607 printf %s
"(cached) " >&6
6609 if test -n "$AR"; then
6610 ac_cv_prog_AR
="$AR" # Let the user override the test.
6612 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6616 case $as_dir in #(((
6619 *) as_dir
=$as_dir/ ;;
6621 for ac_exec_ext
in '' $ac_executable_extensions; do
6622 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6623 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
6624 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6634 if test -n "$AR"; then
6635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6636 printf "%s\n" "$AR" >&6; }
6638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6639 printf "%s\n" "no" >&6; }
6643 test -n "$AR" && break
6646 if test -z "$AR"; then
6648 for ac_prog
in ar gar
6650 # Extract the first word of "$ac_prog", so it can be a program name with args.
6651 set dummy
$ac_prog; ac_word
=$2
6652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6653 printf %s
"checking for $ac_word... " >&6; }
6654 if test ${ac_cv_prog_ac_ct_AR+y}
6656 printf %s
"(cached) " >&6
6658 if test -n "$ac_ct_AR"; then
6659 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6661 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6665 case $as_dir in #(((
6668 *) as_dir
=$as_dir/ ;;
6670 for ac_exec_ext
in '' $ac_executable_extensions; do
6671 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6672 ac_cv_prog_ac_ct_AR
="$ac_prog"
6673 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6682 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6683 if test -n "$ac_ct_AR"; then
6684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6685 printf "%s\n" "$ac_ct_AR" >&6; }
6687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6688 printf "%s\n" "no" >&6; }
6692 test -n "$ac_ct_AR" && break
6695 if test "x$ac_ct_AR" = x
; then
6698 case $cross_compiling:$ac_tool_warned in
6700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6701 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6702 ac_tool_warned
=yes ;;
6708 if test -n "$ac_tool_prefix"; then
6709 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6710 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6712 printf %s
"checking for $ac_word... " >&6; }
6713 if test ${ac_cv_prog_STRIP+y}
6715 printf %s
"(cached) " >&6
6717 if test -n "$STRIP"; then
6718 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6720 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6724 case $as_dir in #(((
6727 *) as_dir
=$as_dir/ ;;
6729 for ac_exec_ext
in '' $ac_executable_extensions; do
6730 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6731 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6732 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6741 STRIP
=$ac_cv_prog_STRIP
6742 if test -n "$STRIP"; then
6743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6744 printf "%s\n" "$STRIP" >&6; }
6746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6747 printf "%s\n" "no" >&6; }
6752 if test -z "$ac_cv_prog_STRIP"; then
6754 # Extract the first word of "strip", so it can be a program name with args.
6755 set dummy strip
; ac_word
=$2
6756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6757 printf %s
"checking for $ac_word... " >&6; }
6758 if test ${ac_cv_prog_ac_ct_STRIP+y}
6760 printf %s
"(cached) " >&6
6762 if test -n "$ac_ct_STRIP"; then
6763 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6765 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6769 case $as_dir in #(((
6772 *) as_dir
=$as_dir/ ;;
6774 for ac_exec_ext
in '' $ac_executable_extensions; do
6775 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6776 ac_cv_prog_ac_ct_STRIP
="strip"
6777 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6786 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6787 if test -n "$ac_ct_STRIP"; then
6788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6789 printf "%s\n" "$ac_ct_STRIP" >&6; }
6791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6792 printf "%s\n" "no" >&6; }
6795 if test "x$ac_ct_STRIP" = x
; then
6798 case $cross_compiling:$ac_tool_warned in
6800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6801 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6802 ac_tool_warned
=yes ;;
6807 STRIP
="$ac_cv_prog_STRIP"
6810 if test -n "$ac_tool_prefix"; then
6811 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6812 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6814 printf %s
"checking for $ac_word... " >&6; }
6815 if test ${ac_cv_prog_RANLIB+y}
6817 printf %s
"(cached) " >&6
6819 if test -n "$RANLIB"; then
6820 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6822 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6826 case $as_dir in #(((
6829 *) as_dir
=$as_dir/ ;;
6831 for ac_exec_ext
in '' $ac_executable_extensions; do
6832 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6833 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6834 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6843 RANLIB
=$ac_cv_prog_RANLIB
6844 if test -n "$RANLIB"; then
6845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6846 printf "%s\n" "$RANLIB" >&6; }
6848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6849 printf "%s\n" "no" >&6; }
6854 if test -z "$ac_cv_prog_RANLIB"; then
6855 ac_ct_RANLIB
=$RANLIB
6856 # Extract the first word of "ranlib", so it can be a program name with args.
6857 set dummy ranlib
; ac_word
=$2
6858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6859 printf %s
"checking for $ac_word... " >&6; }
6860 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6862 printf %s
"(cached) " >&6
6864 if test -n "$ac_ct_RANLIB"; then
6865 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6867 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6871 case $as_dir in #(((
6874 *) as_dir
=$as_dir/ ;;
6876 for ac_exec_ext
in '' $ac_executable_extensions; do
6877 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6878 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6879 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6888 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6889 if test -n "$ac_ct_RANLIB"; then
6890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6891 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6894 printf "%s\n" "no" >&6; }
6897 if test "x$ac_ct_RANLIB" = x
; then
6900 case $cross_compiling:$ac_tool_warned in
6902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6903 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6904 ac_tool_warned
=yes ;;
6906 RANLIB
=$ac_ct_RANLIB
6909 RANLIB
="$ac_cv_prog_RANLIB"
6912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6913 printf %s
"checking whether ln -s works... " >&6; }
6915 if test "$LN_S" = "ln -s"; then
6916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6917 printf "%s\n" "yes" >&6; }
6919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6920 printf "%s\n" "no, using $LN_S" >&6; }
6923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6924 printf %s
"checking for grep that handles long lines and -e... " >&6; }
6925 if test ${ac_cv_path_GREP+y}
6927 printf %s
"(cached) " >&6
6929 if test -z "$GREP"; then
6930 ac_path_GREP_found
=false
6931 # Loop through the user's path and test for each of PROGNAME-LIST
6932 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6933 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6936 case $as_dir in #(((
6939 *) as_dir
=$as_dir/ ;;
6941 for ac_prog
in grep ggrep
6943 for ac_exec_ext
in '' $ac_executable_extensions; do
6944 ac_path_GREP
="$as_dir$ac_prog$ac_exec_ext"
6945 as_fn_executable_p
"$ac_path_GREP" ||
continue
6946 # Check for GNU ac_path_GREP and select it if it is found.
6947 # Check for GNU $ac_path_GREP
6948 case `"$ac_path_GREP" --version 2>&1` in
6950 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6953 printf %s
0123456789 >"conftest.in"
6956 cat "conftest.in" "conftest.in" >"conftest.tmp"
6957 mv "conftest.tmp" "conftest.in"
6958 cp "conftest.in" "conftest.nl"
6959 printf "%s\n" 'GREP' >> "conftest.nl"
6960 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6961 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6962 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6963 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6964 # Best one so far, save it but keep looking for a better one
6965 ac_cv_path_GREP
="$ac_path_GREP"
6966 ac_path_GREP_max
=$ac_count
6968 # 10*(2^10) chars as input seems more than enough
6969 test $ac_count -gt 10 && break
6971 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6974 $ac_path_GREP_found && break 3
6979 if test -z "$ac_cv_path_GREP"; then
6980 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6983 ac_cv_path_GREP
=$GREP
6987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6988 printf "%s\n" "$ac_cv_path_GREP" >&6; }
6989 GREP
="$ac_cv_path_GREP"
6992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6993 printf %s
"checking for egrep... " >&6; }
6994 if test ${ac_cv_path_EGREP+y}
6996 printf %s
"(cached) " >&6
6998 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6999 then ac_cv_path_EGREP
="$GREP -E"
7001 if test -z "$EGREP"; then
7002 ac_path_EGREP_found
=false
7003 # Loop through the user's path and test for each of PROGNAME-LIST
7004 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7005 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7008 case $as_dir in #(((
7011 *) as_dir
=$as_dir/ ;;
7013 for ac_prog
in egrep
7015 for ac_exec_ext
in '' $ac_executable_extensions; do
7016 ac_path_EGREP
="$as_dir$ac_prog$ac_exec_ext"
7017 as_fn_executable_p
"$ac_path_EGREP" ||
continue
7018 # Check for GNU ac_path_EGREP and select it if it is found.
7019 # Check for GNU $ac_path_EGREP
7020 case `"$ac_path_EGREP" --version 2>&1` in
7022 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
7025 printf %s
0123456789 >"conftest.in"
7028 cat "conftest.in" "conftest.in" >"conftest.tmp"
7029 mv "conftest.tmp" "conftest.in"
7030 cp "conftest.in" "conftest.nl"
7031 printf "%s\n" 'EGREP' >> "conftest.nl"
7032 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7033 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7034 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7035 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7036 # Best one so far, save it but keep looking for a better one
7037 ac_cv_path_EGREP
="$ac_path_EGREP"
7038 ac_path_EGREP_max
=$ac_count
7040 # 10*(2^10) chars as input seems more than enough
7041 test $ac_count -gt 10 && break
7043 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7046 $ac_path_EGREP_found && break 3
7051 if test -z "$ac_cv_path_EGREP"; then
7052 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7055 ac_cv_path_EGREP
=$EGREP
7060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7061 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7062 EGREP
="$ac_cv_path_EGREP"
7065 # Extract the first word of "ldconfig", so it can be a program name with args.
7066 set dummy ldconfig
; ac_word
=$2
7067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7068 printf %s
"checking for $ac_word... " >&6; }
7069 if test ${ac_cv_path_LDCONFIG+y}
7071 printf %s
"(cached) " >&6
7075 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
7078 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7079 for as_dir
in /sbin
/usr
/sbin
$PATH
7082 case $as_dir in #(((
7085 *) as_dir
=$as_dir/ ;;
7087 for ac_exec_ext
in '' $ac_executable_extensions; do
7088 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7089 ac_cv_path_LDCONFIG
="$as_dir$ac_word$ac_exec_ext"
7090 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7097 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
7101 LDCONFIG
=$ac_cv_path_LDCONFIG
7102 if test -n "$LDCONFIG"; then
7103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7104 printf "%s\n" "$LDCONFIG" >&6; }
7106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7107 printf "%s\n" "no" >&6; }
7111 for ac_prog
in msgfmt
7113 # Extract the first word of "$ac_prog", so it can be a program name with args.
7114 set dummy
$ac_prog; ac_word
=$2
7115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7116 printf %s
"checking for $ac_word... " >&6; }
7117 if test ${ac_cv_prog_MSGFMT+y}
7119 printf %s
"(cached) " >&6
7121 if test -n "$MSGFMT"; then
7122 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
7124 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7128 case $as_dir in #(((
7131 *) as_dir
=$as_dir/ ;;
7133 for ac_exec_ext
in '' $ac_executable_extensions; do
7134 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7135 ac_cv_prog_MSGFMT
="$ac_prog"
7136 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7145 MSGFMT
=$ac_cv_prog_MSGFMT
7146 if test -n "$MSGFMT"; then
7147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7148 printf "%s\n" "$MSGFMT" >&6; }
7150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7151 printf "%s\n" "no" >&6; }
7155 test -n "$MSGFMT" && break
7157 test -n "$MSGFMT" || MSGFMT
="false"
7159 if test ${ac_tool_prefix+y}
7161 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7162 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
7163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7164 printf %s
"checking for $ac_word... " >&6; }
7165 if test ${ac_cv_prog_PKG_CONFIG+y}
7167 printf %s
"(cached) " >&6
7169 if test -n "$PKG_CONFIG"; then
7170 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
7172 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7176 case $as_dir in #(((
7179 *) as_dir
=$as_dir/ ;;
7181 for ac_exec_ext
in '' $ac_executable_extensions; do
7182 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7183 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
7184 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7193 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7194 if test -n "$PKG_CONFIG"; then
7195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7196 printf "%s\n" "$PKG_CONFIG" >&6; }
7198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7199 printf "%s\n" "no" >&6; }
7204 if ${ac_cv_prog_PKG_CONFIG:+false} :
7206 if test "x$cross_compiling" = xyes
7210 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
7211 # Extract the first word of "pkg-config", so it can be a program name with args.
7212 set dummy pkg-config
; ac_word
=$2
7213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7214 printf %s
"checking for $ac_word... " >&6; }
7215 if test ${ac_cv_prog_PKG_CONFIG+y}
7217 printf %s
"(cached) " >&6
7219 if test -n "$PKG_CONFIG"; then
7220 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
7222 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7226 case $as_dir in #(((
7229 *) as_dir
=$as_dir/ ;;
7231 for ac_exec_ext
in '' $ac_executable_extensions; do
7232 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7233 ac_cv_prog_PKG_CONFIG
="pkg-config"
7234 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7243 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7244 if test -n "$PKG_CONFIG"; then
7245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7246 printf "%s\n" "$PKG_CONFIG" >&6; }
7248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7249 printf "%s\n" "no" >&6; }
7255 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7258 if test "x$enable_maintainer_mode" != "xyes"
7265 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
7266 for ac_prog
in fontforge
7268 # Extract the first word of "$ac_prog", so it can be a program name with args.
7269 set dummy
$ac_prog; ac_word
=$2
7270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7271 printf %s
"checking for $ac_word... " >&6; }
7272 if test ${ac_cv_prog_FONTFORGE+y}
7274 printf %s
"(cached) " >&6
7276 if test -n "$FONTFORGE"; then
7277 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
7279 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7283 case $as_dir in #(((
7286 *) as_dir
=$as_dir/ ;;
7288 for ac_exec_ext
in '' $ac_executable_extensions; do
7289 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7290 ac_cv_prog_FONTFORGE
="$ac_prog"
7291 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7300 FONTFORGE
=$ac_cv_prog_FONTFORGE
7301 if test -n "$FONTFORGE"; then
7302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7303 printf "%s\n" "$FONTFORGE" >&6; }
7305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7306 printf "%s\n" "no" >&6; }
7310 test -n "$FONTFORGE" && break
7312 test -n "$FONTFORGE" || FONTFORGE
="false"
7314 for ac_prog
in rsvg-convert rsvg
7316 # Extract the first word of "$ac_prog", so it can be a program name with args.
7317 set dummy
$ac_prog; ac_word
=$2
7318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7319 printf %s
"checking for $ac_word... " >&6; }
7320 if test ${ac_cv_prog_RSVG+y}
7322 printf %s
"(cached) " >&6
7324 if test -n "$RSVG"; then
7325 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
7327 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7331 case $as_dir in #(((
7334 *) as_dir
=$as_dir/ ;;
7336 for ac_exec_ext
in '' $ac_executable_extensions; do
7337 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7338 ac_cv_prog_RSVG
="$ac_prog"
7339 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7348 RSVG
=$ac_cv_prog_RSVG
7349 if test -n "$RSVG"; then
7350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7351 printf "%s\n" "$RSVG" >&6; }
7353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7354 printf "%s\n" "no" >&6; }
7358 test -n "$RSVG" && break
7360 test -n "$RSVG" || RSVG
="false"
7362 for ac_prog
in convert
7364 # Extract the first word of "$ac_prog", so it can be a program name with args.
7365 set dummy
$ac_prog; ac_word
=$2
7366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7367 printf %s
"checking for $ac_word... " >&6; }
7368 if test ${ac_cv_prog_CONVERT+y}
7370 printf %s
"(cached) " >&6
7372 if test -n "$CONVERT"; then
7373 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
7375 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7379 case $as_dir in #(((
7382 *) as_dir
=$as_dir/ ;;
7384 for ac_exec_ext
in '' $ac_executable_extensions; do
7385 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7386 ac_cv_prog_CONVERT
="$ac_prog"
7387 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7396 CONVERT
=$ac_cv_prog_CONVERT
7397 if test -n "$CONVERT"; then
7398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7399 printf "%s\n" "$CONVERT" >&6; }
7401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7402 printf "%s\n" "no" >&6; }
7406 test -n "$CONVERT" && break
7408 test -n "$CONVERT" || CONVERT
="false"
7410 for ac_prog
in icotool
7412 # Extract the first word of "$ac_prog", so it can be a program name with args.
7413 set dummy
$ac_prog; ac_word
=$2
7414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7415 printf %s
"checking for $ac_word... " >&6; }
7416 if test ${ac_cv_prog_ICOTOOL+y}
7418 printf %s
"(cached) " >&6
7420 if test -n "$ICOTOOL"; then
7421 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
7423 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7427 case $as_dir in #(((
7430 *) as_dir
=$as_dir/ ;;
7432 for ac_exec_ext
in '' $ac_executable_extensions; do
7433 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7434 ac_cv_prog_ICOTOOL
="$ac_prog"
7435 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7444 ICOTOOL
=$ac_cv_prog_ICOTOOL
7445 if test -n "$ICOTOOL"; then
7446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7447 printf "%s\n" "$ICOTOOL" >&6; }
7449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7450 printf "%s\n" "no" >&6; }
7454 test -n "$ICOTOOL" && break
7456 test -n "$ICOTOOL" || ICOTOOL
="false"
7458 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7459 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7461 if test "$CONVERT" = false
7463 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7466 printf %s
"checking for recent enough imagemagick... " >&6; }
7467 convert_version
=`convert --version | head -n1`
7468 if test "x$convert_version" != "x"
7470 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7471 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7472 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7477 if test "$CONVERT" = false
7479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7480 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7481 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7484 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7488 if test "$ICOTOOL" = false
7490 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7493 printf %s
"checking for recent enough icotool... " >&6; }
7494 icotool_version
=`icotool --version | head -n1`
7495 if test "x$icotool_version" != "x"
7497 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7498 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7499 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7502 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
7505 if test "$ICOTOOL" = false
7507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7508 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7509 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7512 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7522 test "x$with_gettext" != xno || MSGFMT
=false
7523 if test "$MSGFMT" != "false"
7525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7526 printf %s
"checking whether msgfmt supports contexts... " >&6; }
7527 if test ${wine_cv_msgfmt_contexts+y}
7529 printf %s
"(cached) " >&6
7531 cat >conftest.po
<<EOF
7537 if $MSGFMT -o /dev
/null conftest.po
2>&5
7539 wine_cv_msgfmt_contexts
=yes
7541 wine_cv_msgfmt_contexts
=no
7544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7545 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7546 test $wine_cv_msgfmt_contexts != no || MSGFMT
=false
7548 if test "$MSGFMT" = false
7550 case "x$with_gettext" in
7551 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
7553 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
7554 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7556 enable_po
=${enable_po:-no}
7560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7561 printf %s
"checking for i386_set_ldt in -li386... " >&6; }
7562 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7564 printf %s
"(cached) " >&6
7566 ac_check_lib_save_LIBS
=$LIBS
7568 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7569 /* end confdefs.h. */
7571 /* Override any GCC internal prototype to avoid an error.
7572 Use char because int might match the return type of a GCC
7573 builtin and then its argument prototype would still apply. */
7574 char i386_set_ldt ();
7578 return i386_set_ldt ();
7583 if ac_fn_c_try_link
"$LINENO"
7585 ac_cv_lib_i386_i386_set_ldt
=yes
7587 ac_cv_lib_i386_i386_set_ldt
=no
7589 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
7590 conftest
$ac_exeext conftest.
$ac_ext
7591 LIBS
=$ac_check_lib_save_LIBS
7593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7594 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7595 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7606 # Check whether --enable-largefile was given.
7607 if test ${enable_largefile+y}
7609 enableval
=$enable_largefile;
7612 if test "$enable_largefile" != no
; then
7614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7615 printf %s
"checking for special C compiler options needed for large files... " >&6; }
7616 if test ${ac_cv_sys_largefile_CC+y}
7618 printf %s
"(cached) " >&6
7620 ac_cv_sys_largefile_CC
=no
7621 if test "$GCC" != yes; then
7624 # IRIX 6.2 and later do not support large files by default,
7625 # so use the C compiler's -n32 option if that helps.
7626 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7627 /* end confdefs.h. */
7628 #include <sys/types.h>
7629 /* Check that off_t can represent 2**63 - 1 correctly.
7630 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7631 since some C++ compilers masquerading as C compilers
7632 incorrectly reject 9223372036854775807. */
7633 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7634 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7635 && LARGE_OFF_T % 2147483647 == 1)
7645 if ac_fn_c_try_compile
"$LINENO"
7649 rm -f core conftest.err conftest.
$ac_objext conftest.beam
7651 if ac_fn_c_try_compile
"$LINENO"
7653 ac_cv_sys_largefile_CC
=' -n32'; break
7655 rm -f core conftest.err conftest.
$ac_objext conftest.beam
7659 rm -f conftest.
$ac_ext
7662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7663 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7664 if test "$ac_cv_sys_largefile_CC" != no
; then
7665 CC
=$CC$ac_cv_sys_largefile_CC
7668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7669 printf %s
"checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7670 if test ${ac_cv_sys_file_offset_bits+y}
7672 printf %s
"(cached) " >&6
7675 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7676 /* end confdefs.h. */
7677 #include <sys/types.h>
7678 /* Check that off_t can represent 2**63 - 1 correctly.
7679 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7680 since some C++ compilers masquerading as C compilers
7681 incorrectly reject 9223372036854775807. */
7682 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7683 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7684 && LARGE_OFF_T % 2147483647 == 1)
7694 if ac_fn_c_try_compile
"$LINENO"
7696 ac_cv_sys_file_offset_bits
=no
; break
7698 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7699 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7700 /* end confdefs.h. */
7701 #define _FILE_OFFSET_BITS 64
7702 #include <sys/types.h>
7703 /* Check that off_t can represent 2**63 - 1 correctly.
7704 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7705 since some C++ compilers masquerading as C compilers
7706 incorrectly reject 9223372036854775807. */
7707 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7708 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7709 && LARGE_OFF_T % 2147483647 == 1)
7719 if ac_fn_c_try_compile
"$LINENO"
7721 ac_cv_sys_file_offset_bits
=64; break
7723 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7724 ac_cv_sys_file_offset_bits
=unknown
7728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7729 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7730 case $ac_cv_sys_file_offset_bits in #(
7733 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7737 if test $ac_cv_sys_file_offset_bits = unknown
; then
7738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7739 printf %s
"checking for _LARGE_FILES value needed for large files... " >&6; }
7740 if test ${ac_cv_sys_large_files+y}
7742 printf %s
"(cached) " >&6
7745 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7746 /* end confdefs.h. */
7747 #include <sys/types.h>
7748 /* Check that off_t can represent 2**63 - 1 correctly.
7749 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7750 since some C++ compilers masquerading as C compilers
7751 incorrectly reject 9223372036854775807. */
7752 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7753 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7754 && LARGE_OFF_T % 2147483647 == 1)
7764 if ac_fn_c_try_compile
"$LINENO"
7766 ac_cv_sys_large_files
=no
; break
7768 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7769 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7770 /* end confdefs.h. */
7771 #define _LARGE_FILES 1
7772 #include <sys/types.h>
7773 /* Check that off_t can represent 2**63 - 1 correctly.
7774 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7775 since some C++ compilers masquerading as C compilers
7776 incorrectly reject 9223372036854775807. */
7777 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7778 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7779 && LARGE_OFF_T % 2147483647 == 1)
7789 if ac_fn_c_try_compile
"$LINENO"
7791 ac_cv_sys_large_files
=1; break
7793 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7794 ac_cv_sys_large_files
=unknown
7798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7799 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7800 case $ac_cv_sys_large_files in #(
7803 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7811 ac_header
= ac_cache
=
7812 for ac_item
in $ac_header_c_list
7814 if test $ac_cache; then
7815 ac_fn_c_check_header_compile
"$LINENO" $ac_header ac_cv_header_
$ac_cache "$ac_includes_default"
7816 if eval test \"x\
$ac_cv_header_$ac_cache\" = xyes
; then
7817 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7819 ac_header
= ac_cache
=
7820 elif test $ac_header; then
7834 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7837 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7840 ac_fn_c_check_header_compile
"$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7841 if test "x$ac_cv_header_CL_cl_h" = xyes
7843 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7846 ac_fn_c_check_header_compile
"$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7847 if test "x$ac_cv_header_EGL_egl_h" = xyes
7849 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7852 ac_fn_c_check_header_compile
"$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7853 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7855 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7858 ac_fn_c_check_header_compile
"$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7859 if test "x$ac_cv_header_arpa_inet_h" = xyes
7861 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7864 ac_fn_c_check_header_compile
"$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7865 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7867 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7870 ac_fn_c_check_header_compile
"$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7871 if test "x$ac_cv_header_asm_types_h" = xyes
7873 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7876 ac_fn_c_check_header_compile
"$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7877 if test "x$ac_cv_header_asm_user_h" = xyes
7879 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7882 ac_fn_c_check_header_compile
"$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7883 if test "x$ac_cv_header_elf_h" = xyes
7885 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7888 ac_fn_c_check_header_compile
"$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7889 if test "x$ac_cv_header_float_h" = xyes
7891 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7894 ac_fn_c_check_header_compile
"$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7895 if test "x$ac_cv_header_gettext_po_h" = xyes
7897 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7900 ac_fn_c_check_header_compile
"$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7901 if test "x$ac_cv_header_libproc_h" = xyes
7903 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7906 ac_fn_c_check_header_compile
"$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7907 if test "x$ac_cv_header_link_h" = xyes
7909 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7912 ac_fn_c_check_header_compile
"$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7913 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7915 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7918 ac_fn_c_check_header_compile
"$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7919 if test "x$ac_cv_header_linux_filter_h" = xyes
7921 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7924 ac_fn_c_check_header_compile
"$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7925 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7927 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7930 ac_fn_c_check_header_compile
"$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7931 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7933 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7936 ac_fn_c_check_header_compile
"$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7937 if test "x$ac_cv_header_linux_input_h" = xyes
7939 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7942 ac_fn_c_check_header_compile
"$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7943 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7945 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7948 ac_fn_c_check_header_compile
"$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7949 if test "x$ac_cv_header_linux_major_h" = xyes
7951 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7954 ac_fn_c_check_header_compile
"$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7955 if test "x$ac_cv_header_linux_param_h" = xyes
7957 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
7960 ac_fn_c_check_header_compile
"$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
7961 if test "x$ac_cv_header_linux_serial_h" = xyes
7963 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
7966 ac_fn_c_check_header_compile
"$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
7967 if test "x$ac_cv_header_linux_types_h" = xyes
7969 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
7972 ac_fn_c_check_header_compile
"$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
7973 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
7975 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
7978 ac_fn_c_check_header_compile
"$LINENO" "linux/wireless.h" "ac_cv_header_linux_wireless_h" "$ac_includes_default"
7979 if test "x$ac_cv_header_linux_wireless_h" = xyes
7981 printf "%s\n" "#define HAVE_LINUX_WIRELESS_H 1" >>confdefs.h
7984 ac_fn_c_check_header_compile
"$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
7985 if test "x$ac_cv_header_lwp_h" = xyes
7987 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
7990 ac_fn_c_check_header_compile
"$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
7991 if test "x$ac_cv_header_mach_o_loader_h" = xyes
7993 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
7996 ac_fn_c_check_header_compile
"$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
7997 if test "x$ac_cv_header_mach_mach_h" = xyes
7999 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8002 ac_fn_c_check_header_compile
"$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8003 if test "x$ac_cv_header_machine_cpu_h" = xyes
8005 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8008 ac_fn_c_check_header_compile
"$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8009 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8011 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8014 ac_fn_c_check_header_compile
"$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8015 if test "x$ac_cv_header_mntent_h" = xyes
8017 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8020 ac_fn_c_check_header_compile
"$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8021 if test "x$ac_cv_header_netdb_h" = xyes
8023 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8026 ac_fn_c_check_header_compile
"$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8027 if test "x$ac_cv_header_netinet_in_h" = xyes
8029 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8032 ac_fn_c_check_header_compile
"$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8033 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8035 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8038 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8039 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8041 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8044 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8045 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8047 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8050 ac_fn_c_check_header_compile
"$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8051 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8053 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8056 ac_fn_c_check_header_compile
"$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8057 if test "x$ac_cv_header_port_h" = xyes
8059 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8062 ac_fn_c_check_header_compile
"$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8063 if test "x$ac_cv_header_pthread_h" = xyes
8065 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8068 ac_fn_c_check_header_compile
"$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8069 if test "x$ac_cv_header_pwd_h" = xyes
8071 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8074 ac_fn_c_check_header_compile
"$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8075 if test "x$ac_cv_header_sched_h" = xyes
8077 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8080 ac_fn_c_check_header_compile
"$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8081 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8083 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8086 ac_fn_c_check_header_compile
"$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8087 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8089 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8092 ac_fn_c_check_header_compile
"$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8093 if test "x$ac_cv_header_scsi_sg_h" = xyes
8095 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8098 ac_fn_c_check_header_compile
"$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8099 if test "x$ac_cv_header_stdint_h" = xyes
8101 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8104 ac_fn_c_check_header_compile
"$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8105 if test "x$ac_cv_header_sys_attr_h" = xyes
8107 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8110 ac_fn_c_check_header_compile
"$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8111 if test "x$ac_cv_header_sys_auxv_h" = xyes
8113 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8116 ac_fn_c_check_header_compile
"$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8117 if test "x$ac_cv_header_sys_cdio_h" = xyes
8119 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8122 ac_fn_c_check_header_compile
"$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8123 if test "x$ac_cv_header_sys_epoll_h" = xyes
8125 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8128 ac_fn_c_check_header_compile
"$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8129 if test "x$ac_cv_header_sys_event_h" = xyes
8131 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8134 ac_fn_c_check_header_compile
"$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
8135 if test "x$ac_cv_header_sys_extattr_h" = xyes
8137 printf "%s\n" "#define HAVE_SYS_EXTATTR_H 1" >>confdefs.h
8140 ac_fn_c_check_header_compile
"$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8141 if test "x$ac_cv_header_sys_filio_h" = xyes
8143 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8146 ac_fn_c_check_header_compile
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8147 if test "x$ac_cv_header_sys_ipc_h" = xyes
8149 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8152 ac_fn_c_check_header_compile
"$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8153 if test "x$ac_cv_header_sys_link_h" = xyes
8155 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8158 ac_fn_c_check_header_compile
"$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8159 if test "x$ac_cv_header_sys_modem_h" = xyes
8161 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8164 ac_fn_c_check_header_compile
"$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8165 if test "x$ac_cv_header_sys_mtio_h" = xyes
8167 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8170 ac_fn_c_check_header_compile
"$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8171 if test "x$ac_cv_header_sys_param_h" = xyes
8173 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8176 ac_fn_c_check_header_compile
"$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8177 if test "x$ac_cv_header_sys_prctl_h" = xyes
8179 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8182 ac_fn_c_check_header_compile
"$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8183 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8185 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8188 ac_fn_c_check_header_compile
"$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8189 if test "x$ac_cv_header_sys_queue_h" = xyes
8191 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8194 ac_fn_c_check_header_compile
"$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8195 if test "x$ac_cv_header_sys_random_h" = xyes
8197 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8200 ac_fn_c_check_header_compile
"$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8201 if test "x$ac_cv_header_sys_resource_h" = xyes
8203 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8206 ac_fn_c_check_header_compile
"$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8207 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8209 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8212 ac_fn_c_check_header_compile
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8213 if test "x$ac_cv_header_sys_shm_h" = xyes
8215 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8218 ac_fn_c_check_header_compile
"$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8219 if test "x$ac_cv_header_sys_signal_h" = xyes
8221 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8224 ac_fn_c_check_header_compile
"$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8225 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8227 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8230 ac_fn_c_check_header_compile
"$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8231 if test "x$ac_cv_header_sys_sockio_h" = xyes
8233 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8236 ac_fn_c_check_header_compile
"$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8237 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8239 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8242 ac_fn_c_check_header_compile
"$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8243 if test "x$ac_cv_header_sys_strtio_h" = xyes
8245 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8248 ac_fn_c_check_header_compile
"$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8249 if test "x$ac_cv_header_sys_syscall_h" = xyes
8251 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8254 ac_fn_c_check_header_compile
"$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8255 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8257 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8260 ac_fn_c_check_header_compile
"$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8261 if test "x$ac_cv_header_sys_times_h" = xyes
8263 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8266 ac_fn_c_check_header_compile
"$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8267 if test "x$ac_cv_header_sys_uio_h" = xyes
8269 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8272 ac_fn_c_check_header_compile
"$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8273 if test "x$ac_cv_header_sys_user_h" = xyes
8275 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8278 ac_fn_c_check_header_compile
"$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8279 if test "x$ac_cv_header_sys_utsname_h" = xyes
8281 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8284 ac_fn_c_check_header_compile
"$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8285 if test "x$ac_cv_header_sys_vnode_h" = xyes
8287 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8290 ac_fn_c_check_header_compile
"$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8291 if test "x$ac_cv_header_sys_xattr_h" = xyes
8293 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8296 ac_fn_c_check_header_compile
"$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8297 if test "x$ac_cv_header_syscall_h" = xyes
8299 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8302 ac_fn_c_check_header_compile
"$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8303 if test "x$ac_cv_header_utime_h" = xyes
8305 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8308 ac_fn_c_check_header_compile
"$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8309 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8311 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8314 ac_fn_c_check_header_compile
"$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8315 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8317 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8321 ac_fn_c_check_header_compile
"$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8322 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8325 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8329 if test $ac_cv_header_sys_mkdev_h = no
; then
8330 ac_fn_c_check_header_compile
"$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8331 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8334 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8340 printf %s
"checking whether stat file-mode macros are broken... " >&6; }
8341 if test ${ac_cv_header_stat_broken+y}
8343 printf %s
"(cached) " >&6
8345 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8346 /* end confdefs.h. */
8347 #include <sys/types.h>
8348 #include <sys/stat.h>
8350 #if defined S_ISBLK && defined S_IFDIR
8351 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8354 #if defined S_ISBLK && defined S_IFCHR
8355 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8358 #if defined S_ISLNK && defined S_IFREG
8359 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8362 #if defined S_ISSOCK && defined S_IFREG
8363 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8367 if ac_fn_c_try_compile
"$LINENO"
8369 ac_cv_header_stat_broken
=no
8371 ac_cv_header_stat_broken
=yes
8373 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8376 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8377 if test $ac_cv_header_stat_broken = yes; then
8379 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8385 ac_fn_c_check_header_compile
"$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8386 #ifdef HAVE_SYS_PARAM_H
8387 # include <sys/param.h>
8390 if test "x$ac_cv_header_sys_conf_h" = xyes
8392 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8395 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8396 #ifdef HAVE_SYS_PARAM_H
8397 # include <sys/param.h>
8400 if test "x$ac_cv_header_sys_mount_h" = xyes
8402 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8405 ac_fn_c_check_header_compile
"$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8406 #ifdef HAVE_SYS_PARAM_H
8407 # include <sys/param.h>
8410 if test "x$ac_cv_header_sys_statfs_h" = xyes
8412 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8415 ac_fn_c_check_header_compile
"$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8416 #ifdef HAVE_SYS_PARAM_H
8417 # include <sys/param.h>
8420 if test "x$ac_cv_header_sys_user_h" = xyes
8422 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8425 ac_fn_c_check_header_compile
"$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8426 #ifdef HAVE_SYS_PARAM_H
8427 # include <sys/param.h>
8430 if test "x$ac_cv_header_sys_vfs_h" = xyes
8432 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8437 saved_sysctl_h_CFLAGS
=$CFLAGS
8438 test "x${GCC}" != xyes || CFLAGS
="$CFLAGS -Werror"
8439 ac_fn_c_check_header_compile
"$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8440 #ifdef HAVE_SYS_PARAM_H
8441 # include <sys/param.h>
8444 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8446 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8450 CFLAGS
=$saved_sysctl_h_CFLAGS
8452 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8453 #include <sys/socket.h>
8454 #ifdef HAVE_SYS_SOCKETVAR_H
8455 # include <sys/socketvar.h>
8457 #ifdef HAVE_NET_ROUTE_H
8458 # include <net/route.h>
8460 #ifdef HAVE_NETINET_IN_H
8461 # include <netinet/in.h>
8463 #ifdef HAVE_NETINET_IN_SYSTM_H
8464 # include <netinet/in_systm.h>
8466 #ifdef HAVE_NET_IF_H
8467 # include <net/if.h>
8469 #ifdef HAVE_NETINET_IP_H
8470 # include <netinet/ip.h>
8473 if test "x$ac_cv_header_netinet_ip_h" = xyes
8475 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8478 ac_fn_c_check_header_compile
"$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8479 #include <sys/socket.h>
8480 #ifdef HAVE_SYS_SOCKETVAR_H
8481 # include <sys/socketvar.h>
8483 #ifdef HAVE_NET_ROUTE_H
8484 # include <net/route.h>
8486 #ifdef HAVE_NETINET_IN_H
8487 # include <netinet/in.h>
8489 #ifdef HAVE_NETINET_IN_SYSTM_H
8490 # include <netinet/in_systm.h>
8492 #ifdef HAVE_NET_IF_H
8493 # include <net/if.h>
8495 #ifdef HAVE_NETINET_IP_H
8496 # include <netinet/ip.h>
8499 if test "x$ac_cv_header_net_if_h" = xyes
8501 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8504 ac_fn_c_check_header_compile
"$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8505 #include <sys/socket.h>
8506 #ifdef HAVE_SYS_SOCKETVAR_H
8507 # include <sys/socketvar.h>
8509 #ifdef HAVE_NET_ROUTE_H
8510 # include <net/route.h>
8512 #ifdef HAVE_NETINET_IN_H
8513 # include <netinet/in.h>
8515 #ifdef HAVE_NETINET_IN_SYSTM_H
8516 # include <netinet/in_systm.h>
8518 #ifdef HAVE_NET_IF_H
8519 # include <net/if.h>
8521 #ifdef HAVE_NETINET_IP_H
8522 # include <netinet/ip.h>
8525 if test "x$ac_cv_header_net_if_arp_h" = xyes
8527 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8530 ac_fn_c_check_header_compile
"$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8531 #include <sys/socket.h>
8532 #ifdef HAVE_SYS_SOCKETVAR_H
8533 # include <sys/socketvar.h>
8535 #ifdef HAVE_NET_ROUTE_H
8536 # include <net/route.h>
8538 #ifdef HAVE_NETINET_IN_H
8539 # include <netinet/in.h>
8541 #ifdef HAVE_NETINET_IN_SYSTM_H
8542 # include <netinet/in_systm.h>
8544 #ifdef HAVE_NET_IF_H
8545 # include <net/if.h>
8547 #ifdef HAVE_NETINET_IP_H
8548 # include <netinet/ip.h>
8551 if test "x$ac_cv_header_net_if_dl_h" = xyes
8553 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8556 ac_fn_c_check_header_compile
"$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8557 #include <sys/socket.h>
8558 #ifdef HAVE_SYS_SOCKETVAR_H
8559 # include <sys/socketvar.h>
8561 #ifdef HAVE_NET_ROUTE_H
8562 # include <net/route.h>
8564 #ifdef HAVE_NETINET_IN_H
8565 # include <netinet/in.h>
8567 #ifdef HAVE_NETINET_IN_SYSTM_H
8568 # include <netinet/in_systm.h>
8570 #ifdef HAVE_NET_IF_H
8571 # include <net/if.h>
8573 #ifdef HAVE_NETINET_IP_H
8574 # include <netinet/ip.h>
8577 if test "x$ac_cv_header_net_if_types_h" = xyes
8579 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8582 ac_fn_c_check_header_compile
"$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8583 #include <sys/socket.h>
8584 #ifdef HAVE_SYS_SOCKETVAR_H
8585 # include <sys/socketvar.h>
8587 #ifdef HAVE_NET_ROUTE_H
8588 # include <net/route.h>
8590 #ifdef HAVE_NETINET_IN_H
8591 # include <netinet/in.h>
8593 #ifdef HAVE_NETINET_IN_SYSTM_H
8594 # include <netinet/in_systm.h>
8596 #ifdef HAVE_NET_IF_H
8597 # include <net/if.h>
8599 #ifdef HAVE_NETINET_IP_H
8600 # include <netinet/ip.h>
8603 if test "x$ac_cv_header_net_route_h" = xyes
8605 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8608 ac_fn_c_check_header_compile
"$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8609 #include <sys/socket.h>
8610 #ifdef HAVE_SYS_SOCKETVAR_H
8611 # include <sys/socketvar.h>
8613 #ifdef HAVE_NET_ROUTE_H
8614 # include <net/route.h>
8616 #ifdef HAVE_NETINET_IN_H
8617 # include <netinet/in.h>
8619 #ifdef HAVE_NETINET_IN_SYSTM_H
8620 # include <netinet/in_systm.h>
8622 #ifdef HAVE_NET_IF_H
8623 # include <net/if.h>
8625 #ifdef HAVE_NETINET_IP_H
8626 # include <netinet/ip.h>
8629 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8631 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8634 ac_fn_c_check_header_compile
"$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8635 #include <sys/socket.h>
8636 #ifdef HAVE_SYS_SOCKETVAR_H
8637 # include <sys/socketvar.h>
8639 #ifdef HAVE_NET_ROUTE_H
8640 # include <net/route.h>
8642 #ifdef HAVE_NETINET_IN_H
8643 # include <netinet/in.h>
8645 #ifdef HAVE_NETINET_IN_SYSTM_H
8646 # include <netinet/in_systm.h>
8648 #ifdef HAVE_NET_IF_H
8649 # include <net/if.h>
8651 #ifdef HAVE_NETINET_IP_H
8652 # include <netinet/ip.h>
8655 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8657 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8660 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8661 #include <sys/socket.h>
8662 #ifdef HAVE_SYS_SOCKETVAR_H
8663 # include <sys/socketvar.h>
8665 #ifdef HAVE_NET_ROUTE_H
8666 # include <net/route.h>
8668 #ifdef HAVE_NETINET_IN_H
8669 # include <netinet/in.h>
8671 #ifdef HAVE_NETINET_IN_SYSTM_H
8672 # include <netinet/in_systm.h>
8674 #ifdef HAVE_NET_IF_H
8675 # include <net/if.h>
8677 #ifdef HAVE_NETINET_IP_H
8678 # include <netinet/ip.h>
8681 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8683 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8686 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8687 #include <sys/socket.h>
8688 #ifdef HAVE_SYS_SOCKETVAR_H
8689 # include <sys/socketvar.h>
8691 #ifdef HAVE_NET_ROUTE_H
8692 # include <net/route.h>
8694 #ifdef HAVE_NETINET_IN_H
8695 # include <netinet/in.h>
8697 #ifdef HAVE_NETINET_IN_SYSTM_H
8698 # include <netinet/in_systm.h>
8700 #ifdef HAVE_NET_IF_H
8701 # include <net/if.h>
8703 #ifdef HAVE_NETINET_IP_H
8704 # include <netinet/ip.h>
8707 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8709 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8712 ac_fn_c_check_header_compile
"$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8713 #include <sys/socket.h>
8714 #ifdef HAVE_SYS_SOCKETVAR_H
8715 # include <sys/socketvar.h>
8717 #ifdef HAVE_NET_ROUTE_H
8718 # include <net/route.h>
8720 #ifdef HAVE_NETINET_IN_H
8721 # include <netinet/in.h>
8723 #ifdef HAVE_NETINET_IN_SYSTM_H
8724 # include <netinet/in_systm.h>
8726 #ifdef HAVE_NET_IF_H
8727 # include <net/if.h>
8729 #ifdef HAVE_NETINET_IP_H
8730 # include <netinet/ip.h>
8733 if test "x$ac_cv_header_netinet_udp_h" = xyes
8735 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8738 ac_fn_c_check_header_compile
"$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8739 #include <sys/socket.h>
8740 #ifdef HAVE_SYS_SOCKETVAR_H
8741 # include <sys/socketvar.h>
8743 #ifdef HAVE_NET_ROUTE_H
8744 # include <net/route.h>
8746 #ifdef HAVE_NETINET_IN_H
8747 # include <netinet/in.h>
8749 #ifdef HAVE_NETINET_IN_SYSTM_H
8750 # include <netinet/in_systm.h>
8752 #ifdef HAVE_NET_IF_H
8753 # include <net/if.h>
8755 #ifdef HAVE_NETINET_IP_H
8756 # include <netinet/ip.h>
8759 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8761 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8764 ac_fn_c_check_header_compile
"$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8765 #include <sys/socket.h>
8766 #ifdef HAVE_SYS_SOCKETVAR_H
8767 # include <sys/socketvar.h>
8769 #ifdef HAVE_NET_ROUTE_H
8770 # include <net/route.h>
8772 #ifdef HAVE_NETINET_IN_H
8773 # include <netinet/in.h>
8775 #ifdef HAVE_NETINET_IN_SYSTM_H
8776 # include <netinet/in_systm.h>
8778 #ifdef HAVE_NET_IF_H
8779 # include <net/if.h>
8781 #ifdef HAVE_NETINET_IP_H
8782 # include <netinet/ip.h>
8785 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8787 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8790 ac_fn_c_check_header_compile
"$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8791 #include <sys/socket.h>
8792 #ifdef HAVE_SYS_SOCKETVAR_H
8793 # include <sys/socketvar.h>
8795 #ifdef HAVE_NET_ROUTE_H
8796 # include <net/route.h>
8798 #ifdef HAVE_NETINET_IN_H
8799 # include <netinet/in.h>
8801 #ifdef HAVE_NETINET_IN_SYSTM_H
8802 # include <netinet/in_systm.h>
8804 #ifdef HAVE_NET_IF_H
8805 # include <net/if.h>
8807 #ifdef HAVE_NETINET_IP_H
8808 # include <netinet/ip.h>
8811 if test "x$ac_cv_header_sys_un_h" = xyes
8813 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8818 ac_fn_c_check_header_compile
"$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8819 #include <sys/socket.h>
8820 #ifdef HAVE_SYS_SOCKETVAR_H
8821 # include <sys/socketvar.h>
8823 #ifdef HAVE_NETINET_IN_H
8824 # include <netinet/in.h>
8826 #ifdef HAVE_NETINET_IN_SYSTM_H
8827 # include <netinet/in_systm.h>
8829 #ifdef HAVE_NETINET_IP_H
8830 # include <netinet/ip.h>
8832 #ifdef HAVE_NETINET_IP_VAR_H
8833 # include <netinet/ip_var.h>
8835 #ifdef HAVE_NETINET_IP_ICMP_H
8836 # include <netinet/ip_icmp.h>
8838 #ifdef HAVE_NETINET_UDP_H
8839 # include <netinet/udp.h>
8841 #ifdef HAVE_NETINET_TCP_H
8842 # include <netinet/tcp.h>
8845 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8847 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8850 ac_fn_c_check_header_compile
"$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8851 #include <sys/socket.h>
8852 #ifdef HAVE_SYS_SOCKETVAR_H
8853 # include <sys/socketvar.h>
8855 #ifdef HAVE_NETINET_IN_H
8856 # include <netinet/in.h>
8858 #ifdef HAVE_NETINET_IN_SYSTM_H
8859 # include <netinet/in_systm.h>
8861 #ifdef HAVE_NETINET_IP_H
8862 # include <netinet/ip.h>
8864 #ifdef HAVE_NETINET_IP_VAR_H
8865 # include <netinet/ip_var.h>
8867 #ifdef HAVE_NETINET_IP_ICMP_H
8868 # include <netinet/ip_icmp.h>
8870 #ifdef HAVE_NETINET_UDP_H
8871 # include <netinet/udp.h>
8873 #ifdef HAVE_NETINET_TCP_H
8874 # include <netinet/tcp.h>
8877 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8879 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8882 ac_fn_c_check_header_compile
"$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8883 #include <sys/socket.h>
8884 #ifdef HAVE_SYS_SOCKETVAR_H
8885 # include <sys/socketvar.h>
8887 #ifdef HAVE_NETINET_IN_H
8888 # include <netinet/in.h>
8890 #ifdef HAVE_NETINET_IN_SYSTM_H
8891 # include <netinet/in_systm.h>
8893 #ifdef HAVE_NETINET_IP_H
8894 # include <netinet/ip.h>
8896 #ifdef HAVE_NETINET_IP_VAR_H
8897 # include <netinet/ip_var.h>
8899 #ifdef HAVE_NETINET_IP_ICMP_H
8900 # include <netinet/ip_icmp.h>
8902 #ifdef HAVE_NETINET_UDP_H
8903 # include <netinet/udp.h>
8905 #ifdef HAVE_NETINET_TCP_H
8906 # include <netinet/tcp.h>
8909 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8911 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8914 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8915 #include <sys/socket.h>
8916 #ifdef HAVE_SYS_SOCKETVAR_H
8917 # include <sys/socketvar.h>
8919 #ifdef HAVE_NETINET_IN_H
8920 # include <netinet/in.h>
8922 #ifdef HAVE_NETINET_IN_SYSTM_H
8923 # include <netinet/in_systm.h>
8925 #ifdef HAVE_NETINET_IP_H
8926 # include <netinet/ip.h>
8928 #ifdef HAVE_NETINET_IP_VAR_H
8929 # include <netinet/ip_var.h>
8931 #ifdef HAVE_NETINET_IP_ICMP_H
8932 # include <netinet/ip_icmp.h>
8934 #ifdef HAVE_NETINET_UDP_H
8935 # include <netinet/udp.h>
8937 #ifdef HAVE_NETINET_TCP_H
8938 # include <netinet/tcp.h>
8941 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8943 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8948 ac_fn_c_check_header_compile
"$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8949 #include <sys/socket.h>
8950 #ifdef HAVE_ASM_TYPES_H
8951 # include <asm/types.h>
8953 #ifdef HAVE_LINUX_TYPES_H
8954 # include <linux/types.h>
8957 if test "x$ac_cv_header_linux_ipx_h" = xyes
8959 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8962 ac_fn_c_check_header_compile
"$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8963 #include <sys/socket.h>
8964 #ifdef HAVE_ASM_TYPES_H
8965 # include <asm/types.h>
8967 #ifdef HAVE_LINUX_TYPES_H
8968 # include <linux/types.h>
8971 if test "x$ac_cv_header_linux_irda_h" = xyes
8973 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
8976 ac_fn_c_check_header_compile
"$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
8977 #include <sys/socket.h>
8978 #ifdef HAVE_ASM_TYPES_H
8979 # include <asm/types.h>
8981 #ifdef HAVE_LINUX_TYPES_H
8982 # include <linux/types.h>
8985 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
8987 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
8992 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
8993 #include <sys/socket.h>
8994 #ifdef HAVE_NETINET_IN_H
8995 # include <netinet/in.h>
8997 #ifdef HAVE_ARPA_NAMESER_H
8998 # include <arpa/nameser.h>
9001 if test "x$ac_cv_header_resolv_h" = xyes
9003 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9008 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9010 if test "x$ac_cv_header_ifaddrs_h" = xyes
9012 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9017 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9019 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9021 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9026 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9027 #ifdef HAVE_SYS_UCONTEXT_H
9028 #include <sys/ucontext.h>
9031 if test "x$ac_cv_header_sys_thr_h" = xyes
9033 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9038 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9039 #include <pthread.h>
9042 if test "x$ac_cv_header_pthread_np_h" = xyes
9044 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9049 ac_fn_c_check_header_compile
"$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9050 #include <sys/types.h>
9051 #ifdef HAVE_ASM_TYPES_H
9052 #include <asm/types.h>
9055 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9057 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9062 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9063 #include <sys/param.h>
9065 #include <sys/socket.h>
9066 #ifdef HAVE_SYS_QUEUE_H
9067 #include <sys/queue.h>
9070 if test "x$ac_cv_header_libprocstat_h" = xyes
9072 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9077 if test "x$ac_cv_header_sys_xattr_h" = xyes
9079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9080 printf %s
"checking whether getxattr takes additional arguments... " >&6; }
9081 if test ${wine_cv_xattr_extra_args+y}
9083 printf %s
"(cached) " >&6
9085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9086 /* end confdefs.h. */
9087 #include <sys/xattr.h>
9091 getxattr("", "", "", 0, 0, 0);
9096 if ac_fn_c_try_compile
"$LINENO"
9098 wine_cv_xattr_extra_args
=yes
9100 wine_cv_xattr_extra_args
=no
9102 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
9104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9105 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9106 test $wine_cv_xattr_extra_args != yes ||
9107 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9120 UNIXDLLFLAGS
="-fPIC"
9122 UNIXLDFLAGS
="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9128 WINELOADER_LDFLAGS
=""
9130 WINEPRELOADER_LDFLAGS
=""
9135 # Extract the first word of "ldd", so it can be a program name with args.
9136 set dummy ldd
; ac_word
=$2
9137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9138 printf %s
"checking for $ac_word... " >&6; }
9139 if test ${ac_cv_path_LDD+y}
9141 printf %s
"(cached) " >&6
9145 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
9148 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9149 as_dummy
="/sbin:/usr/sbin:$PATH"
9150 for as_dir
in $as_dummy
9153 case $as_dir in #(((
9156 *) as_dir
=$as_dir/ ;;
9158 for ac_exec_ext
in '' $ac_executable_extensions; do
9159 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9160 ac_cv_path_LDD
="$as_dir$ac_word$ac_exec_ext"
9161 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9168 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
9173 if test -n "$LDD"; then
9174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9175 printf "%s\n" "$LDD" >&6; }
9177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9178 printf "%s\n" "no" >&6; }
9182 if test -n "$ac_tool_prefix"; then
9183 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9184 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
9185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9186 printf %s
"checking for $ac_word... " >&6; }
9187 if test ${ac_cv_prog_OTOOL+y}
9189 printf %s
"(cached) " >&6
9191 if test -n "$OTOOL"; then
9192 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
9194 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9198 case $as_dir in #(((
9201 *) as_dir
=$as_dir/ ;;
9203 for ac_exec_ext
in '' $ac_executable_extensions; do
9204 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9205 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
9206 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9215 OTOOL
=$ac_cv_prog_OTOOL
9216 if test -n "$OTOOL"; then
9217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9218 printf "%s\n" "$OTOOL" >&6; }
9220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9221 printf "%s\n" "no" >&6; }
9226 if test -z "$ac_cv_prog_OTOOL"; then
9228 # Extract the first word of "otool", so it can be a program name with args.
9229 set dummy otool
; ac_word
=$2
9230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9231 printf %s
"checking for $ac_word... " >&6; }
9232 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9234 printf %s
"(cached) " >&6
9236 if test -n "$ac_ct_OTOOL"; then
9237 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
9239 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9243 case $as_dir in #(((
9246 *) as_dir
=$as_dir/ ;;
9248 for ac_exec_ext
in '' $ac_executable_extensions; do
9249 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9250 ac_cv_prog_ac_ct_OTOOL
="otool"
9251 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9260 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
9261 if test -n "$ac_ct_OTOOL"; then
9262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9263 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9266 printf "%s\n" "no" >&6; }
9269 if test "x$ac_ct_OTOOL" = x
; then
9272 case $cross_compiling:$ac_tool_warned in
9274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9275 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9276 ac_tool_warned
=yes ;;
9281 OTOOL
="$ac_cv_prog_OTOOL"
9284 if test -n "$ac_tool_prefix"; then
9285 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9286 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
9287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9288 printf %s
"checking for $ac_word... " >&6; }
9289 if test ${ac_cv_prog_READELF+y}
9291 printf %s
"(cached) " >&6
9293 if test -n "$READELF"; then
9294 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
9296 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9300 case $as_dir in #(((
9303 *) as_dir
=$as_dir/ ;;
9305 for ac_exec_ext
in '' $ac_executable_extensions; do
9306 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9307 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
9308 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9317 READELF
=$ac_cv_prog_READELF
9318 if test -n "$READELF"; then
9319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9320 printf "%s\n" "$READELF" >&6; }
9322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9323 printf "%s\n" "no" >&6; }
9328 if test -z "$ac_cv_prog_READELF"; then
9329 ac_ct_READELF
=$READELF
9330 # Extract the first word of "readelf", so it can be a program name with args.
9331 set dummy readelf
; ac_word
=$2
9332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9333 printf %s
"checking for $ac_word... " >&6; }
9334 if test ${ac_cv_prog_ac_ct_READELF+y}
9336 printf %s
"(cached) " >&6
9338 if test -n "$ac_ct_READELF"; then
9339 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
9341 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9345 case $as_dir in #(((
9348 *) as_dir
=$as_dir/ ;;
9350 for ac_exec_ext
in '' $ac_executable_extensions; do
9351 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9352 ac_cv_prog_ac_ct_READELF
="readelf"
9353 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9362 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
9363 if test -n "$ac_ct_READELF"; then
9364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9365 printf "%s\n" "$ac_ct_READELF" >&6; }
9367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9368 printf "%s\n" "no" >&6; }
9371 if test "x$ac_ct_READELF" = x
; then
9374 case $cross_compiling:$ac_tool_warned in
9376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9377 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9378 ac_tool_warned
=yes ;;
9380 READELF
=$ac_ct_READELF
9383 READELF
="$ac_cv_prog_READELF"
9391 CONFIGURE_TARGETS
=""
9394 wine_fn_config_makefile
()
9396 as_fn_append SUBDIRS
" \\$as_nl $1"
9399 no
) as_fn_append DISABLED_SUBDIRS
" $1" ;;
9400 *aarch64
*|
*arm
*|
*i386
*|
*x86_64
*)
9401 if test -n "$PE_ARCHS"
9405 test $
(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append
${i}_DISABLED_SUBDIRS
" $1"
9408 test $
(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS
" $1"
9413 wine_fn_config_symlink
()
9416 as_fn_append wine_rules
"
9418 @./config.status \$@"
9419 for f
in $ac_links; do as_fn_append CONFIGURE_TARGETS
" $f"; done
9426 EXTRACFLAGS
="-D__WINE_PE_BUILD"
9428 *i
[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9429 printf %s
"checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9430 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9432 printf %s
"(cached) " >&6
9434 ac_wine_try_cflags_saved
=$CFLAGS
9435 CFLAGS
="$CFLAGS -Wl,--disable-stdcall-fixup"
9436 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9437 /* end confdefs.h. */
9438 int main(int argc, char **argv) { return 0; }
9440 if ac_fn_c_try_link
"$LINENO"
9442 ac_cv_cflags__Wl___disable_stdcall_fixup
=yes
9444 ac_cv_cflags__Wl___disable_stdcall_fixup
=no
9446 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9447 conftest
$ac_exeext conftest.
$ac_ext
9448 CFLAGS
=$ac_wine_try_cflags_saved
9450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9451 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9452 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9454 LDDLLFLAGS
="-Wl,--disable-stdcall-fixup"
9457 enable_loader
=${enable_loader:-no}
9458 enable_server
=${enable_server:-no}
9459 with_x
=${with_x:-no}
9460 with_pthread
=${with_pthread:-no}
9465 DLLFLAGS
="$DLLFLAGS -fPIC"
9467 enable_winemac_drv
=${enable_winemac_drv:-yes}
9468 CARBON_LIBS
="-framework Carbon"
9470 COREFOUNDATION_LIBS
="-framework CoreFoundation"
9472 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
9474 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
9476 METAL_LIBS
="-framework Metal"
9478 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
9480 CORESERVICES_LIBS
="-framework CoreServices"
9482 APPKIT_LIBS
="-framework AppKit"
9484 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
9486 SYSTEMCONFIGURATION_LIBS
="-framework SystemConfiguration"
9489 WINELOADER_LDFLAGS
="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9492 *i
[3456]86*|
*x86_64
*) wine_can_build_preloader
=yes ;;
9493 *) wine_can_build_preloader
=no
;;
9496 if test "$wine_can_build_preloader" = "yes"
9498 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"
9499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9500 printf %s
"checking whether the compiler supports -Wl,-no_pie... " >&6; }
9501 if test ${ac_cv_cflags__Wl__no_pie+y}
9503 printf %s
"(cached) " >&6
9505 ac_wine_try_cflags_saved
=$CFLAGS
9506 CFLAGS
="$CFLAGS -Wl,-no_pie"
9507 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9508 /* end confdefs.h. */
9509 int main(int argc, char **argv) { return 0; }
9511 if ac_fn_c_try_link
"$LINENO"
9513 ac_cv_cflags__Wl__no_pie
=yes
9515 ac_cv_cflags__Wl__no_pie
=no
9517 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9518 conftest
$ac_exeext conftest.
$ac_ext
9519 CFLAGS
=$ac_wine_try_cflags_saved
9521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9522 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9523 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9525 WINEPRELOADER_LDFLAGS
="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9529 WINEPRELOADER_LDFLAGS
="-Wl,-image_base,0x7d400000 $WINEPRELOADER_LDFLAGS"
9532 WINEPRELOADER_LDFLAGS
="-Wl,-image_base,0x200000000,-segalign,0x1000,-segaddr,WINE_RESERVE,0x1000 $WINEPRELOADER_LDFLAGS"
9535 WINELOADER_LDFLAGS
="$WINELOADER_LDFLAGS -mmacosx-version-min=10.7"
9537 as_fn_append wine_warnings
"|can't build Wine preloader; many programs won't work"
9540 if test "x$with_coreaudio" != "xno";
9542 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9544 enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-yes}
9546 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9548 OPENCL_LIBS
="-framework OpenCL"
9550 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
9553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9554 printf %s
"checking whether MTLDevice protocol supports registryID property... " >&6; }
9556 ac_cpp
='$OBJCPP $CPPFLAGS'
9557 ac_compile
='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9558 ac_link
='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9559 ac_compiler_gnu
=$ac_cv_objc_compiler_gnu
9562 ac_cpp
='$OBJCPP $CPPFLAGS'
9563 ac_compile
='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9564 ac_link
='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9565 ac_compiler_gnu
=$ac_cv_objc_compiler_gnu
9566 if test -n "$ac_tool_prefix"; then
9567 for ac_prog
in gcc objcc objc cc CC clang
9569 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9570 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
9571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9572 printf %s
"checking for $ac_word... " >&6; }
9573 if test ${ac_cv_prog_OBJC+y}
9575 printf %s
"(cached) " >&6
9577 if test -n "$OBJC"; then
9578 ac_cv_prog_OBJC
="$OBJC" # Let the user override the test.
9580 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9584 case $as_dir in #(((
9587 *) as_dir
=$as_dir/ ;;
9589 for ac_exec_ext
in '' $ac_executable_extensions; do
9590 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9591 ac_cv_prog_OBJC
="$ac_tool_prefix$ac_prog"
9592 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9601 OBJC
=$ac_cv_prog_OBJC
9602 if test -n "$OBJC"; then
9603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9604 printf "%s\n" "$OBJC" >&6; }
9606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9607 printf "%s\n" "no" >&6; }
9611 test -n "$OBJC" && break
9614 if test -z "$OBJC"; then
9616 for ac_prog
in gcc objcc objc cc CC clang
9618 # Extract the first word of "$ac_prog", so it can be a program name with args.
9619 set dummy
$ac_prog; ac_word
=$2
9620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9621 printf %s
"checking for $ac_word... " >&6; }
9622 if test ${ac_cv_prog_ac_ct_OBJC+y}
9624 printf %s
"(cached) " >&6
9626 if test -n "$ac_ct_OBJC"; then
9627 ac_cv_prog_ac_ct_OBJC
="$ac_ct_OBJC" # Let the user override the test.
9629 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9633 case $as_dir in #(((
9636 *) as_dir
=$as_dir/ ;;
9638 for ac_exec_ext
in '' $ac_executable_extensions; do
9639 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9640 ac_cv_prog_ac_ct_OBJC
="$ac_prog"
9641 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9650 ac_ct_OBJC
=$ac_cv_prog_ac_ct_OBJC
9651 if test -n "$ac_ct_OBJC"; then
9652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9653 printf "%s\n" "$ac_ct_OBJC" >&6; }
9655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9656 printf "%s\n" "no" >&6; }
9660 test -n "$ac_ct_OBJC" && break
9663 if test "x$ac_ct_OBJC" = x
; then
9666 case $cross_compiling:$ac_tool_warned in
9668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9669 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9670 ac_tool_warned
=yes ;;
9676 # Provide some information about the compiler.
9677 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9680 for ac_option
in --version -v -V -qversion; do
9681 { { ac_try
="$ac_compiler $ac_option >&5"
9683 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9684 *) ac_try_echo=$ac_try;;
9686 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9687 printf "%s\n" "$ac_try_echo"; } >&5
9688 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9690 if test -s conftest.err; then
9692 ... rest of stderr output deleted ...
9693 10q' conftest.err >conftest.er1
9694 cat conftest.er1 >&5
9696 rm -f conftest.er1 conftest.err
9697 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9698 test $ac_status = 0; }
9701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9702 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9703 if test ${ac_cv_objc_compiler_gnu+y}
9705 printf %s "(cached) " >&6
9707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9708 /* end confdefs.h. */
9721 if ac_fn_objc_try_compile "$LINENO"
9727 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9728 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9732 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9733 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9735 if test $ac_compiler_gnu = yes; then
9740 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9741 ac_save_OBJCFLAGS=$OBJCFLAGS
9742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9743 printf %s "checking whether $OBJC accepts -g... " >&6; }
9744 if test ${ac_cv_prog_objc_g+y}
9746 printf %s "(cached) " >&6
9748 ac_save_objc_werror_flag=$ac_objc_werror_flag
9749 ac_objc_werror_flag=yes
9750 ac_cv_prog_objc_g=no
9752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9753 /* end confdefs.h. */
9763 if ac_fn_objc_try_compile "$LINENO"
9765 ac_cv_prog_objc_g=yes
9768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9769 /* end confdefs.h. */
9779 if ac_fn_objc_try_compile "$LINENO"
9783 ac_objc_werror_flag=$ac_save_objc_werror_flag
9785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9786 /* end confdefs.h. */
9796 if ac_fn_objc_try_compile "$LINENO"
9798 ac_cv_prog_objc_g=yes
9800 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9802 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9804 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9805 ac_objc_werror_flag=$ac_save_objc_werror_flag
9807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9808 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9809 if test $ac_test_OBJCFLAGS; then
9810 OBJCFLAGS=$ac_save_OBJCFLAGS
9811 elif test $ac_cv_prog_objc_g = yes; then
9812 if test "$GOBJC" = yes; then
9818 if test "$GOBJC" = yes; then
9825 ac_cpp='$OBJCPP $CPPFLAGS'
9826 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9827 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9828 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9832 /* end confdefs.h. */
9833 #include <Metal/Metal.h>
9837 id<MTLDevice> device; device.registryID;
9842 if ac_fn_objc_try_compile "$LINENO"
9844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9845 printf "%s\n" "yes" >&6; }
9847 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9851 printf "%s\n" "no" >&6; }
9853 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9855 ac_cpp='$CPP $CPPFLAGS'
9856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9861 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
9862 WINELOADER_DEPENDS="wine_info.plist"
9868 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
9870 DLLFLAGS="$DLLFLAGS -fPIC"
9872 LDEXECFLAGS="-Wl,-pie"
9873 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9875 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9876 if test ${ac_cv_cflags__Wl__z_defs+y}
9878 printf %s "(cached) " >&6
9880 ac_wine_try_cflags_saved=$CFLAGS
9881 CFLAGS="$CFLAGS -Wl,-z,defs"
9882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9883 /* end confdefs.h. */
9884 int main(int argc, char **argv) { return 0; }
9886 if ac_fn_c_try_link "$LINENO"
9888 ac_cv_cflags__Wl__z_defs=yes
9890 ac_cv_cflags__Wl__z_defs=no
9892 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9893 conftest$ac_exeext conftest.$ac_ext
9894 CFLAGS=$ac_wine_try_cflags_saved
9896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9897 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
9898 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
9900 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9903 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9904 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
9906 printf %s "(cached) " >&6
9908 ac_wine_try_cflags_saved=$CFLAGS
9909 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9911 /* end confdefs.h. */
9912 int main(int argc, char **argv) { return 0; }
9914 if ac_fn_c_try_link "$LINENO"
9916 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9918 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9920 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9921 conftest$ac_exeext conftest.$ac_ext
9922 CFLAGS=$ac_wine_try_cflags_saved
9924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9925 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9926 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
9928 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9930 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9933 printf %s "checking for -lEGL... " >&6; }
9934 if test ${ac_cv_lib_soname_EGL+y}
9936 printf %s "(cached) " >&6
9938 ac_check_soname_save_LIBS=$LIBS
9940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9941 /* end confdefs.h. */
9943 /* Override any GCC internal prototype to avoid an error.
9944 Use char because int might match the return type of a GCC
9945 builtin and then its argument prototype would still apply. */
9946 char eglGetProcAddress ();
9950 return eglGetProcAddress ();
9955 if ac_fn_c_try_link "$LINENO"
9958 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe |
grep "EGL" |
sed -e "s/dll.*/dll/"';2,$d'` ;;
9959 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'` ;;
9960 *) ac_cv_lib_soname_EGL=`$READELF -d conftest
$ac_exeext |
grep "NEEDED.*libEGL\\.$LIBEXT" |
sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9961 if ${ac_cv_lib_soname_EGL:+false} :
9963 ac_cv_lib_soname_EGL=`$LDD conftest
$ac_exeext |
grep "libEGL\\.$LIBEXT" |
sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9967 ac_cv_lib_soname_EGL=
9969 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9970 conftest$ac_exeext conftest.$ac_ext
9971 LIBS=$ac_check_soname_save_LIBS
9973 if ${ac_cv_lib_soname_EGL:+false} :
9975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9976 printf "%s\n" "not found" >&6; }
9979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9980 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
9982 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
9986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9987 printf %s "checking for -lGLESv2... " >&6; }
9988 if test ${ac_cv_lib_soname_GLESv2+y}
9990 printf %s "(cached) " >&6
9992 ac_check_soname_save_LIBS=$LIBS
9993 LIBS="-lGLESv2 $LIBS"
9994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9995 /* end confdefs.h. */
9997 /* Override any GCC internal prototype to avoid an error.
9998 Use char because int might match the return type of a GCC
9999 builtin and then its argument prototype would still apply. */
10009 if ac_fn_c_try_link "$LINENO"
10012 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe |
grep "GLESv2" |
sed -e "s/dll.*/dll/"';2,$d'` ;;
10013 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'` ;;
10014 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest
$ac_exeext |
grep "NEEDED.*libGLESv2\\.$LIBEXT" |
sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10015 if ${ac_cv_lib_soname_GLESv2:+false} :
10017 ac_cv_lib_soname_GLESv2=`$LDD conftest
$ac_exeext |
grep "libGLESv2\\.$LIBEXT" |
sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10021 ac_cv_lib_soname_GLESv2=
10023 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10024 conftest$ac_exeext conftest.$ac_ext
10025 LIBS=$ac_check_soname_save_LIBS
10027 if ${ac_cv_lib_soname_GLESv2:+false} :
10029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10030 printf "%s\n" "not found" >&6; }
10033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10034 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10036 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10041 if test "x$exec_prefix" = xNONE
10044 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10045 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10046 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10047 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10054 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10056 test "$ac_cv_sys_file_offset_bits" = 64 &&
10057 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10061 DLLFLAGS="$DLLFLAGS -fno-PIC"
10062 LDDLLFLAGS="-fno-PIC"
10063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10064 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10065 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10067 printf %s "(cached) " >&6
10069 ac_wine_try_cflags_saved=$CFLAGS
10070 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10072 /* end confdefs.h. */
10073 int main(int argc, char **argv) { return 0; }
10075 if ac_fn_c_try_link "$LINENO"
10077 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10079 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10081 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10082 conftest$ac_exeext conftest.$ac_ext
10083 CFLAGS=$ac_wine_try_cflags_saved
10085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10086 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10087 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10089 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10093 DLLFLAGS="$DLLFLAGS -fPIC"
10094 LDDLLFLAGS="-fPIC" ;;
10097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10098 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10099 if test ${ac_cv_cflags__Wl__z_defs+y}
10101 printf %s "(cached) " >&6
10103 ac_wine_try_cflags_saved=$CFLAGS
10104 CFLAGS="$CFLAGS -Wl,-z,defs"
10105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10106 /* end confdefs.h. */
10107 int main(int argc, char **argv) { return 0; }
10109 if ac_fn_c_try_link "$LINENO"
10111 ac_cv_cflags__Wl__z_defs=yes
10113 ac_cv_cflags__Wl__z_defs=no
10115 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10116 conftest$ac_exeext conftest.$ac_ext
10117 CFLAGS=$ac_wine_try_cflags_saved
10119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10120 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10121 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10123 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10126 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10127 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10129 printf %s "(cached) " >&6
10131 ac_wine_try_cflags_saved=$CFLAGS
10132 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10134 /* end confdefs.h. */
10135 int main(int argc, char **argv) { return 0; }
10137 if ac_fn_c_try_link "$LINENO"
10139 ac_cv_cflags__Wl___export_dynamic=yes
10141 ac_cv_cflags__Wl___export_dynamic=no
10143 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10144 conftest$ac_exeext conftest.$ac_ext
10145 CFLAGS=$ac_wine_try_cflags_saved
10147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10148 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10149 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10151 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10153 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs"
10157 as_fn_append WINELOADER_LDFLAGS " -pie"
10160 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d400000" ;;
10162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -static-pie" >&5
10163 printf %s "checking whether the compiler supports -static-pie... " >&6; }
10164 if test ${ac_cv_cflags__static_pie+y}
10166 printf %s "(cached) " >&6
10168 ac_wine_try_cflags_saved=$CFLAGS
10169 CFLAGS="$CFLAGS -static-pie"
10170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10171 /* end confdefs.h. */
10172 int main(int argc, char **argv) { return 0; }
10174 if ac_fn_c_try_link "$LINENO"
10176 ac_cv_cflags__static_pie=yes
10178 ac_cv_cflags__static_pie=no
10180 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10181 conftest$ac_exeext conftest.$ac_ext
10182 CFLAGS=$ac_wine_try_cflags_saved
10184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__static_pie" >&5
10185 printf "%s\n" "$ac_cv_cflags__static_pie" >&6; }
10186 if test "x$ac_cv_cflags__static_pie" = xyes
10188 as_fn_append WINEPRELOADER_LDFLAGS " -static-pie"
10190 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d7d00000000"
10198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x60000000" >&5
10199 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x60000000... " >&6; }
10200 if test ${ac_cv_cflags__Wl__Ttext_segment_0x60000000+y}
10202 printf %s "(cached) " >&6
10204 ac_wine_try_cflags_saved=$CFLAGS
10205 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x60000000"
10206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10207 /* end confdefs.h. */
10208 int main(int argc, char **argv) { return 0; }
10210 if ac_fn_c_try_link "$LINENO"
10212 ac_cv_cflags__Wl__Ttext_segment_0x60000000=yes
10214 ac_cv_cflags__Wl__Ttext_segment_0x60000000=no
10216 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10217 conftest$ac_exeext conftest.$ac_ext
10218 CFLAGS=$ac_wine_try_cflags_saved
10220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&5
10221 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&6; }
10222 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x60000000" = xyes
10224 as_fn_append WINELOADER_LDFLAGS " -Wl,-Ttext-segment=0x60000000"
10226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x60000400" >&5
10227 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x60000400... " >&6; }
10228 if test ${ac_cv_cflags__Wl___section_start__interp_0x60000400+y}
10230 printf %s "(cached) " >&6
10232 ac_wine_try_cflags_saved=$CFLAGS
10233 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x60000400"
10234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10235 /* end confdefs.h. */
10236 int main(int argc, char **argv) { return 0; }
10238 if ac_fn_c_try_link "$LINENO"
10240 ac_cv_cflags__Wl___section_start__interp_0x60000400=yes
10242 ac_cv_cflags__Wl___section_start__interp_0x60000400=no
10244 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10245 conftest$ac_exeext conftest.$ac_ext
10246 CFLAGS=$ac_wine_try_cflags_saved
10248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x60000400" >&5
10249 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x60000400" >&6; }
10250 if test "x$ac_cv_cflags__Wl___section_start__interp_0x60000400" = xyes
10252 as_fn_append WINELOADER_LDFLAGS " -Wl,--section-start,.interp=0x60000400"
10257 as_fn_append WINELOADER_LDFLAGS " -pie"
10265 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10266 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10267 enable_winemac_drv=${enable_winemac_drv:-no}
10272 if test ${enable_archs+y}
10274 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10277 set x $enable_archs
10283 i386|x86_64|arm|aarch64) cross_archs="$cross_archs $arch" ;;
10284 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10288 if test "x$with_mingw" != xno
10290 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10294 for wine_arch in $cross_archs
10296 case "x$with_mingw" in
10297 xclang|x*/clang) eval "${wine_arch}_CC=\$with_mingw" ;;
10299 if eval \${${wine_arch}_CC:+false} :
10303 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10305 # Extract the first word of "$ac_prog", so it can be a program name with args.
10306 set dummy $ac_prog; ac_word=$2
10307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10308 printf %s "checking for $ac_word... " >&6; }
10309 if test ${ac_cv_prog_aarch64_CC+y}
10311 printf %s "(cached) " >&6
10313 if test -n "$aarch64_CC"; then
10314 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10317 for as_dir in $PATH
10320 case $as_dir in #(((
10323 *) as_dir=$as_dir/ ;;
10325 for ac_exec_ext in '' $ac_executable_extensions; do
10326 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10327 ac_cv_prog_aarch64_CC="$ac_prog"
10328 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10337 aarch64_CC=$ac_cv_prog_aarch64_CC
10338 if test -n "$aarch64_CC"; then
10339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10340 printf "%s\n" "$aarch64_CC" >&6; }
10342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10343 printf "%s\n" "no" >&6; }
10347 test -n "$aarch64_CC" && break
10349 test -n "$aarch64_CC" || aarch64_CC="false"
10353 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10355 # Extract the first word of "$ac_prog", so it can be a program name with args.
10356 set dummy $ac_prog; ac_word=$2
10357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10358 printf %s "checking for $ac_word... " >&6; }
10359 if test ${ac_cv_prog_arm_CC+y}
10361 printf %s "(cached) " >&6
10363 if test -n "$arm_CC"; then
10364 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10367 for as_dir in $PATH
10370 case $as_dir in #(((
10373 *) as_dir=$as_dir/ ;;
10375 for ac_exec_ext in '' $ac_executable_extensions; do
10376 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10377 ac_cv_prog_arm_CC="$ac_prog"
10378 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10387 arm_CC=$ac_cv_prog_arm_CC
10388 if test -n "$arm_CC"; then
10389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10390 printf "%s\n" "$arm_CC" >&6; }
10392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10393 printf "%s\n" "no" >&6; }
10397 test -n "$arm_CC" && break
10399 test -n "$arm_CC" || arm_CC="false"
10403 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 "
10404 for ac_prog in $ac_prefix_list clang
10406 # Extract the first word of "$ac_prog", so it can be a program name with args.
10407 set dummy $ac_prog; ac_word=$2
10408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10409 printf %s "checking for $ac_word... " >&6; }
10410 if test ${ac_cv_prog_i386_CC+y}
10412 printf %s "(cached) " >&6
10414 if test -n "$i386_CC"; then
10415 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10418 for as_dir in $PATH
10421 case $as_dir in #(((
10424 *) as_dir=$as_dir/ ;;
10426 for ac_exec_ext in '' $ac_executable_extensions; do
10427 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10428 ac_cv_prog_i386_CC="$ac_prog"
10429 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10438 i386_CC=$ac_cv_prog_i386_CC
10439 if test -n "$i386_CC"; then
10440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10441 printf "%s\n" "$i386_CC" >&6; }
10443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10444 printf "%s\n" "no" >&6; }
10448 test -n "$i386_CC" && break
10450 test -n "$i386_CC" || i386_CC="false"
10454 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10455 for ac_prog in $ac_prefix_list clang
10457 # Extract the first word of "$ac_prog", so it can be a program name with args.
10458 set dummy $ac_prog; ac_word=$2
10459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10460 printf %s "checking for $ac_word... " >&6; }
10461 if test ${ac_cv_prog_x86_64_CC+y}
10463 printf %s "(cached) " >&6
10465 if test -n "$x86_64_CC"; then
10466 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10469 for as_dir in $PATH
10472 case $as_dir in #(((
10475 *) as_dir=$as_dir/ ;;
10477 for ac_exec_ext in '' $ac_executable_extensions; do
10478 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10479 ac_cv_prog_x86_64_CC="$ac_prog"
10480 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10489 x86_64_CC=$ac_cv_prog_x86_64_CC
10490 if test -n "$x86_64_CC"; then
10491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10492 printf "%s\n" "$x86_64_CC" >&6; }
10494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10495 printf "%s\n" "no" >&6; }
10499 test -n "$x86_64_CC" && break
10501 test -n "$x86_64_CC" || x86_64_CC="false"
10507 if eval test \"x\$"${wine_arch}_CC"\" = x"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 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10527 printf %s "checking whether $CC works... " >&6; }
10528 if eval test \${$as_wine_cv_crosscc+y}
10530 printf %s "(cached) " >&6
10532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10533 /* end confdefs.h. */
10543 if ac_fn_c_try_compile "$LINENO"
10545 eval "$as_wine_cv_crosscc=yes"
10547 eval "$as_wine_cv_crosscc=no"
10549 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10551 eval ac_res=\$$as_wine_cv_crosscc
10552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10553 printf "%s\n" "$ac_res" >&6; }
10554 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10558 while test $# -ge 1
10561 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10562 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10567 llvm_target=$target
10568 if test -z "$llvm_target"
10571 i386) llvm_target=i686-windows ;;
10572 arm) llvm_target=armv7-windows ;;
10573 *) llvm_target=$wine_arch-windows ;;
10576 llvm_extra_cflags="-target $llvm_target -fuse-ld=lld"
10577 case $llvm_target in
10578 *windows) llvm_cflags="-Wl,-subsystem:console -Wl,-WX" ;;
10580 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags" |
$as_tr_sh`
10581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags" >&5
10582 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags... " >&6; }
10583 if eval test \${$as_ac_var+y}
10585 printf %s "(cached) " >&6
10587 ac_wine_try_cflags_saved=$CFLAGS
10588 ac_wine_try_cflags_saved_exeext=$ac_exeext
10589 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags"
10591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10592 /* end confdefs.h. */
10593 int __cdecl mainCRTStartup(void) { return 0; }
10595 if ac_fn_c_try_link "$LINENO"
10597 eval "$as_ac_var=yes"
10599 eval "$as_ac_var=no"
10601 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10602 conftest$ac_exeext conftest.$ac_ext
10603 CFLAGS=$ac_wine_try_cflags_saved
10604 ac_exeext=$ac_wine_try_cflags_saved_exeext
10606 eval ac_res=\$$as_ac_var
10607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10608 printf "%s\n" "$ac_res" >&6; }
10609 if eval test \"x\$"$as_ac_var"\" = x"yes"
10611 target=$llvm_target
10612 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10613 as_fn_append ${wine_arch}_EXTRACFLAGS " $llvm_extra_cflags"
10614 CFLAGS="$llvm_extra_cflags $llvm_cflags"
10616 eval "${wine_arch}_TARGET=\$target"
10620 if test -z "$target"
10623 CFLAGS=$saved_CFLAGS
10624 LDFLAGS=$saved_LDFLAGS
10628 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" |
$as_tr_sh`
10630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10631 printf %s "checking for $CC option to enable C99 features... " >&6; }
10632 if eval test \${$as_wine_cv_crosscc_c99+y}
10634 printf %s "(cached) " >&6
10636 eval "$as_wine_cv_crosscc_c99=no"
10637 for arg in '' '-std=gnu99' '-D__STDC__'
10639 test -z "$arg" || CC="$CC $arg"
10640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10641 /* end confdefs.h. */
10642 $ac_c_conftest_c99_program
10644 if ac_fn_c_try_compile "$LINENO"
10646 eval "$as_wine_cv_crosscc_c99=\$arg"
10648 eval "$as_wine_cv_crosscc_c99=no"
10650 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10651 eval CC=\$${wine_arch}_CC
10652 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10661 eval res=\$$as_wine_cv_crosscc_c99
10664 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10665 printf "%s\n" "none needed" >&6; } ;;
10666 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10667 printf "%s\n" "unsupported" >&6; }
10669 CFLAGS=$saved_CFLAGS
10670 LDFLAGS=$saved_LDFLAGS
10673 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10674 printf "%s\n" "$res" >&6; }
10675 as_fn_append ${wine_arch}_CC " $res" ;;
10678 as_fn_append PE_ARCHS " $wine_arch"
10679 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" |
$as_tr_sh`
10680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10681 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10682 if eval test \${$as_ac_var+y}
10684 printf %s "(cached) " >&6
10686 ac_wine_try_cflags_saved=$CFLAGS
10687 ac_wine_try_cflags_saved_exeext=$ac_exeext
10688 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-strict-aliasing"
10690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10691 /* end confdefs.h. */
10692 int __cdecl mainCRTStartup(void) { return 0; }
10694 if ac_fn_c_try_link "$LINENO"
10696 eval "$as_ac_var=yes"
10698 eval "$as_ac_var=no"
10700 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10701 conftest$ac_exeext conftest.$ac_ext
10702 CFLAGS=$ac_wine_try_cflags_saved
10703 ac_exeext=$ac_wine_try_cflags_saved_exeext
10705 eval ac_res=\$$as_ac_var
10706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10707 printf "%s\n" "$ac_res" >&6; }
10708 if eval test \"x\$"$as_ac_var"\" = x"yes"
10710 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10712 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" |
$as_tr_sh`
10713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10714 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10715 if eval test \${$as_ac_var+y}
10717 printf %s "(cached) " >&6
10719 ac_wine_try_cflags_saved=$CFLAGS
10720 ac_wine_try_cflags_saved_exeext=$ac_exeext
10721 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=unknown-warning-option"
10723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10724 /* end confdefs.h. */
10725 int __cdecl mainCRTStartup(void) { return 0; }
10727 if ac_fn_c_try_link "$LINENO"
10729 eval "$as_ac_var=yes"
10731 eval "$as_ac_var=no"
10733 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10734 conftest$ac_exeext conftest.$ac_ext
10735 CFLAGS=$ac_wine_try_cflags_saved
10736 ac_exeext=$ac_wine_try_cflags_saved_exeext
10738 eval ac_res=\$$as_ac_var
10739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10740 printf "%s\n" "$ac_res" >&6; }
10741 if eval test \"x\$"$as_ac_var"\" = x"yes"
10743 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10745 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" |
$as_tr_sh`
10746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
10747 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
10748 if eval test \${$as_ac_var+y}
10750 printf %s "(cached) " >&6
10752 ac_wine_try_cflags_saved=$CFLAGS
10753 ac_wine_try_cflags_saved_exeext=$ac_exeext
10754 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=ignored-optimization-argument"
10756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10757 /* end confdefs.h. */
10758 int __cdecl mainCRTStartup(void) { return 0; }
10760 if ac_fn_c_try_link "$LINENO"
10762 eval "$as_ac_var=yes"
10764 eval "$as_ac_var=no"
10766 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10767 conftest$ac_exeext conftest.$ac_ext
10768 CFLAGS=$ac_wine_try_cflags_saved
10769 ac_exeext=$ac_wine_try_cflags_saved_exeext
10771 eval ac_res=\$$as_ac_var
10772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10773 printf "%s\n" "$ac_res" >&6; }
10774 if eval test \"x\$"$as_ac_var"\" = x"yes"
10776 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10778 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" |
$as_tr_sh`
10779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
10780 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
10781 if eval test \${$as_ac_var+y}
10783 printf %s "(cached) " >&6
10785 ac_wine_try_cflags_saved=$CFLAGS
10786 ac_wine_try_cflags_saved_exeext=$ac_exeext
10787 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wdeclaration-after-statement"
10789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10790 /* end confdefs.h. */
10791 int __cdecl mainCRTStartup(void) { return 0; }
10793 if ac_fn_c_try_link "$LINENO"
10795 eval "$as_ac_var=yes"
10797 eval "$as_ac_var=no"
10799 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10800 conftest$ac_exeext conftest.$ac_ext
10801 CFLAGS=$ac_wine_try_cflags_saved
10802 ac_exeext=$ac_wine_try_cflags_saved_exeext
10804 eval ac_res=\$$as_ac_var
10805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10806 printf "%s\n" "$ac_res" >&6; }
10807 if eval test \"x\$"$as_ac_var"\" = x"yes"
10809 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
10811 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" |
$as_tr_sh`
10812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
10813 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
10814 if eval test \${$as_ac_var+y}
10816 printf %s "(cached) " >&6
10818 ac_wine_try_cflags_saved=$CFLAGS
10819 ac_wine_try_cflags_saved_exeext=$ac_exeext
10820 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wempty-body"
10822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10823 /* end confdefs.h. */
10824 int __cdecl mainCRTStartup(void) { return 0; }
10826 if ac_fn_c_try_link "$LINENO"
10828 eval "$as_ac_var=yes"
10830 eval "$as_ac_var=no"
10832 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10833 conftest$ac_exeext conftest.$ac_ext
10834 CFLAGS=$ac_wine_try_cflags_saved
10835 ac_exeext=$ac_wine_try_cflags_saved_exeext
10837 eval ac_res=\$$as_ac_var
10838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10839 printf "%s\n" "$ac_res" >&6; }
10840 if eval test \"x\$"$as_ac_var"\" = x"yes"
10842 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
10844 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" |
$as_tr_sh`
10845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
10846 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
10847 if eval test \${$as_ac_var+y}
10849 printf %s "(cached) " >&6
10851 ac_wine_try_cflags_saved=$CFLAGS
10852 ac_wine_try_cflags_saved_exeext=$ac_exeext
10853 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wignored-qualifiers"
10855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10856 /* end confdefs.h. */
10857 int __cdecl mainCRTStartup(void) { return 0; }
10859 if ac_fn_c_try_link "$LINENO"
10861 eval "$as_ac_var=yes"
10863 eval "$as_ac_var=no"
10865 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10866 conftest$ac_exeext conftest.$ac_ext
10867 CFLAGS=$ac_wine_try_cflags_saved
10868 ac_exeext=$ac_wine_try_cflags_saved_exeext
10870 eval ac_res=\$$as_ac_var
10871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10872 printf "%s\n" "$ac_res" >&6; }
10873 if eval test \"x\$"$as_ac_var"\" = x"yes"
10875 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
10877 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" |
$as_tr_sh`
10878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
10879 printf %s "checking whether $CC supports -Winit-self... " >&6; }
10880 if eval test \${$as_ac_var+y}
10882 printf %s "(cached) " >&6
10884 ac_wine_try_cflags_saved=$CFLAGS
10885 ac_wine_try_cflags_saved_exeext=$ac_exeext
10886 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Winit-self"
10888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10889 /* end confdefs.h. */
10890 int __cdecl mainCRTStartup(void) { return 0; }
10892 if ac_fn_c_try_link "$LINENO"
10894 eval "$as_ac_var=yes"
10896 eval "$as_ac_var=no"
10898 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10899 conftest$ac_exeext conftest.$ac_ext
10900 CFLAGS=$ac_wine_try_cflags_saved
10901 ac_exeext=$ac_wine_try_cflags_saved_exeext
10903 eval ac_res=\$$as_ac_var
10904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10905 printf "%s\n" "$ac_res" >&6; }
10906 if eval test \"x\$"$as_ac_var"\" = x"yes"
10908 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
10910 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" |
$as_tr_sh`
10911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
10912 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
10913 if eval test \${$as_ac_var+y}
10915 printf %s "(cached) " >&6
10917 ac_wine_try_cflags_saved=$CFLAGS
10918 ac_wine_try_cflags_saved_exeext=$ac_exeext
10919 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpacked-not-aligned"
10921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10922 /* end confdefs.h. */
10923 int __cdecl mainCRTStartup(void) { return 0; }
10925 if ac_fn_c_try_link "$LINENO"
10927 eval "$as_ac_var=yes"
10929 eval "$as_ac_var=no"
10931 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10932 conftest$ac_exeext conftest.$ac_ext
10933 CFLAGS=$ac_wine_try_cflags_saved
10934 ac_exeext=$ac_wine_try_cflags_saved_exeext
10936 eval ac_res=\$$as_ac_var
10937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10938 printf "%s\n" "$ac_res" >&6; }
10939 if eval test \"x\$"$as_ac_var"\" = x"yes"
10941 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
10943 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" |
$as_tr_sh`
10944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
10945 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
10946 if eval test \${$as_ac_var+y}
10948 printf %s "(cached) " >&6
10950 ac_wine_try_cflags_saved=$CFLAGS
10951 ac_wine_try_cflags_saved_exeext=$ac_exeext
10952 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpragma-pack"
10954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10955 /* end confdefs.h. */
10956 int __cdecl mainCRTStartup(void) { return 0; }
10958 if ac_fn_c_try_link "$LINENO"
10960 eval "$as_ac_var=yes"
10962 eval "$as_ac_var=no"
10964 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10965 conftest$ac_exeext conftest.$ac_ext
10966 CFLAGS=$ac_wine_try_cflags_saved
10967 ac_exeext=$ac_wine_try_cflags_saved_exeext
10969 eval ac_res=\$$as_ac_var
10970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10971 printf "%s\n" "$ac_res" >&6; }
10972 if eval test \"x\$"$as_ac_var"\" = x"yes"
10974 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
10976 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" |
$as_tr_sh`
10977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
10978 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
10979 if eval test \${$as_ac_var+y}
10981 printf %s "(cached) " >&6
10983 ac_wine_try_cflags_saved=$CFLAGS
10984 ac_wine_try_cflags_saved_exeext=$ac_exeext
10985 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wshift-overflow=2"
10987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10988 /* end confdefs.h. */
10989 int __cdecl mainCRTStartup(void) { return 0; }
10991 if ac_fn_c_try_link "$LINENO"
10993 eval "$as_ac_var=yes"
10995 eval "$as_ac_var=no"
10997 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10998 conftest$ac_exeext conftest.$ac_ext
10999 CFLAGS=$ac_wine_try_cflags_saved
11000 ac_exeext=$ac_wine_try_cflags_saved_exeext
11002 eval ac_res=\$$as_ac_var
11003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11004 printf "%s\n" "$ac_res" >&6; }
11005 if eval test \"x\$"$as_ac_var"\" = x"yes"
11007 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11009 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" |
$as_tr_sh`
11010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11011 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11012 if eval test \${$as_ac_var+y}
11014 printf %s "(cached) " >&6
11016 ac_wine_try_cflags_saved=$CFLAGS
11017 ac_wine_try_cflags_saved_exeext=$ac_exeext
11018 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wstrict-prototypes"
11020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11021 /* end confdefs.h. */
11022 int __cdecl mainCRTStartup(void) { return 0; }
11024 if ac_fn_c_try_link "$LINENO"
11026 eval "$as_ac_var=yes"
11028 eval "$as_ac_var=no"
11030 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11031 conftest$ac_exeext conftest.$ac_ext
11032 CFLAGS=$ac_wine_try_cflags_saved
11033 ac_exeext=$ac_wine_try_cflags_saved_exeext
11035 eval ac_res=\$$as_ac_var
11036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11037 printf "%s\n" "$ac_res" >&6; }
11038 if eval test \"x\$"$as_ac_var"\" = x"yes"
11040 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11042 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" |
$as_tr_sh`
11043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11044 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11045 if eval test \${$as_ac_var+y}
11047 printf %s "(cached) " >&6
11049 ac_wine_try_cflags_saved=$CFLAGS
11050 ac_wine_try_cflags_saved_exeext=$ac_exeext
11051 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wtype-limits"
11053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11054 /* end confdefs.h. */
11055 int __cdecl mainCRTStartup(void) { return 0; }
11057 if ac_fn_c_try_link "$LINENO"
11059 eval "$as_ac_var=yes"
11061 eval "$as_ac_var=no"
11063 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11064 conftest$ac_exeext conftest.$ac_ext
11065 CFLAGS=$ac_wine_try_cflags_saved
11066 ac_exeext=$ac_wine_try_cflags_saved_exeext
11068 eval ac_res=\$$as_ac_var
11069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11070 printf "%s\n" "$ac_res" >&6; }
11071 if eval test \"x\$"$as_ac_var"\" = x"yes"
11073 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11075 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" |
$as_tr_sh`
11076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11077 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11078 if eval test \${$as_ac_var+y}
11080 printf %s "(cached) " >&6
11082 ac_wine_try_cflags_saved=$CFLAGS
11083 ac_wine_try_cflags_saved_exeext=$ac_exeext
11084 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wunused-but-set-parameter"
11086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11087 /* end confdefs.h. */
11088 int __cdecl mainCRTStartup(void) { return 0; }
11090 if ac_fn_c_try_link "$LINENO"
11092 eval "$as_ac_var=yes"
11094 eval "$as_ac_var=no"
11096 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11097 conftest$ac_exeext conftest.$ac_ext
11098 CFLAGS=$ac_wine_try_cflags_saved
11099 ac_exeext=$ac_wine_try_cflags_saved_exeext
11101 eval ac_res=\$$as_ac_var
11102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11103 printf "%s\n" "$ac_res" >&6; }
11104 if eval test \"x\$"$as_ac_var"\" = x"yes"
11106 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11108 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" |
$as_tr_sh`
11109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11110 printf %s "checking whether $CC supports -Wvla... " >&6; }
11111 if eval test \${$as_ac_var+y}
11113 printf %s "(cached) " >&6
11115 ac_wine_try_cflags_saved=$CFLAGS
11116 ac_wine_try_cflags_saved_exeext=$ac_exeext
11117 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wvla"
11119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11120 /* end confdefs.h. */
11121 int __cdecl mainCRTStartup(void) { return 0; }
11123 if ac_fn_c_try_link "$LINENO"
11125 eval "$as_ac_var=yes"
11127 eval "$as_ac_var=no"
11129 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11130 conftest$ac_exeext conftest.$ac_ext
11131 CFLAGS=$ac_wine_try_cflags_saved
11132 ac_exeext=$ac_wine_try_cflags_saved_exeext
11134 eval ac_res=\$$as_ac_var
11135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11136 printf "%s\n" "$ac_res" >&6; }
11137 if eval test \"x\$"$as_ac_var"\" = x"yes"
11139 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11141 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" |
$as_tr_sh`
11142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11143 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11144 if eval test \${$as_ac_var+y}
11146 printf %s "(cached) " >&6
11148 ac_wine_try_cflags_saved=$CFLAGS
11149 ac_wine_try_cflags_saved_exeext=$ac_exeext
11150 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wwrite-strings"
11152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11153 /* end confdefs.h. */
11154 int __cdecl mainCRTStartup(void) { return 0; }
11156 if ac_fn_c_try_link "$LINENO"
11158 eval "$as_ac_var=yes"
11160 eval "$as_ac_var=no"
11162 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11163 conftest$ac_exeext conftest.$ac_ext
11164 CFLAGS=$ac_wine_try_cflags_saved
11165 ac_exeext=$ac_wine_try_cflags_saved_exeext
11167 eval ac_res=\$$as_ac_var
11168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11169 printf "%s\n" "$ac_res" >&6; }
11170 if eval test \"x\$"$as_ac_var"\" = x"yes"
11172 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11174 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" |
$as_tr_sh`
11175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11176 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11177 if eval test \${$as_ac_var+y}
11179 printf %s "(cached) " >&6
11181 ac_wine_try_cflags_saved=$CFLAGS
11182 ac_wine_try_cflags_saved_exeext=$ac_exeext
11183 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpointer-arith"
11185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11186 /* end confdefs.h. */
11187 int __cdecl mainCRTStartup(void) { return 0; }
11189 if ac_fn_c_try_link "$LINENO"
11191 eval "$as_ac_var=yes"
11193 eval "$as_ac_var=no"
11195 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11196 conftest$ac_exeext conftest.$ac_ext
11197 CFLAGS=$ac_wine_try_cflags_saved
11198 ac_exeext=$ac_wine_try_cflags_saved_exeext
11200 eval ac_res=\$$as_ac_var
11201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11202 printf "%s\n" "$ac_res" >&6; }
11203 if eval test \"x\$"$as_ac_var"\" = x"yes"
11205 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11207 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" |
$as_tr_sh`
11208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11209 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11210 if eval test \${$as_ac_var+y}
11212 printf %s "(cached) " >&6
11214 ac_wine_try_cflags_saved=$CFLAGS
11215 ac_wine_try_cflags_saved_exeext=$ac_exeext
11216 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wlogical-op"
11218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11219 /* end confdefs.h. */
11220 int __cdecl mainCRTStartup(void) { return 0; }
11222 if ac_fn_c_try_link "$LINENO"
11224 eval "$as_ac_var=yes"
11226 eval "$as_ac_var=no"
11228 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11229 conftest$ac_exeext conftest.$ac_ext
11230 CFLAGS=$ac_wine_try_cflags_saved
11231 ac_exeext=$ac_wine_try_cflags_saved_exeext
11233 eval ac_res=\$$as_ac_var
11234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11235 printf "%s\n" "$ac_res" >&6; }
11236 if eval test \"x\$"$as_ac_var"\" = x"yes"
11238 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11240 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" |
$as_tr_sh`
11241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11242 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11243 if eval test \${$as_ac_var+y}
11245 printf %s "(cached) " >&6
11247 ac_wine_try_cflags_saved=$CFLAGS
11248 ac_wine_try_cflags_saved_exeext=$ac_exeext
11249 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wabsolute-value"
11251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11252 /* end confdefs.h. */
11253 int __cdecl mainCRTStartup(void) { return 0; }
11255 if ac_fn_c_try_link "$LINENO"
11257 eval "$as_ac_var=yes"
11259 eval "$as_ac_var=no"
11261 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11262 conftest$ac_exeext conftest.$ac_ext
11263 CFLAGS=$ac_wine_try_cflags_saved
11264 ac_exeext=$ac_wine_try_cflags_saved_exeext
11266 eval ac_res=\$$as_ac_var
11267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11268 printf "%s\n" "$ac_res" >&6; }
11269 if eval test \"x\$"$as_ac_var"\" = x"yes"
11271 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11275 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" |
$as_tr_sh`
11276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11277 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11278 if eval test \${$as_ac_var+y}
11280 printf %s "(cached) " >&6
11282 ac_wine_try_cflags_saved=$CFLAGS
11283 ac_wine_try_cflags_saved_exeext=$ac_exeext
11284 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-omit-frame-pointer"
11286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11287 /* end confdefs.h. */
11288 int __cdecl mainCRTStartup(void) { return 0; }
11290 if ac_fn_c_try_link "$LINENO"
11292 eval "$as_ac_var=yes"
11294 eval "$as_ac_var=no"
11296 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11297 conftest$ac_exeext conftest.$ac_ext
11298 CFLAGS=$ac_wine_try_cflags_saved
11299 ac_exeext=$ac_wine_try_cflags_saved_exeext
11301 eval ac_res=\$$as_ac_var
11302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11303 printf "%s\n" "$ac_res" >&6; }
11304 if eval test \"x\$"$as_ac_var"\" = x"yes"
11306 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11308 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" |
$as_tr_sh`
11309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11310 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11311 if eval test \${$as_ac_var+y}
11313 printf %s "(cached) " >&6
11315 ac_wine_try_cflags_saved=$CFLAGS
11316 ac_wine_try_cflags_saved_exeext=$ac_exeext
11317 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--disable-stdcall-fixup"
11319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11320 /* end confdefs.h. */
11321 int __cdecl mainCRTStartup(void) { return 0; }
11323 if ac_fn_c_try_link "$LINENO"
11325 eval "$as_ac_var=yes"
11327 eval "$as_ac_var=no"
11329 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11330 conftest$ac_exeext conftest.$ac_ext
11331 CFLAGS=$ac_wine_try_cflags_saved
11332 ac_exeext=$ac_wine_try_cflags_saved_exeext
11334 eval ac_res=\$$as_ac_var
11335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11336 printf "%s\n" "$ac_res" >&6; }
11337 if eval test \"x\$"$as_ac_var"\" = x"yes"
11339 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11341 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" |
$as_tr_sh`
11342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11343 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11344 if eval test \${$as_ac_var+y}
11346 printf %s "(cached) " >&6
11348 ac_wine_try_cflags_saved=$CFLAGS
11349 ac_wine_try_cflags_saved_exeext=$ac_exeext
11350 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wformat-overflow"
11352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11353 /* end confdefs.h. */
11354 int __cdecl mainCRTStartup(void) { return 0; }
11356 if ac_fn_c_try_link "$LINENO"
11358 eval "$as_ac_var=yes"
11360 eval "$as_ac_var=no"
11362 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11363 conftest$ac_exeext conftest.$ac_ext
11364 CFLAGS=$ac_wine_try_cflags_saved
11365 ac_exeext=$ac_wine_try_cflags_saved_exeext
11367 eval ac_res=\$$as_ac_var
11368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11369 printf "%s\n" "$ac_res" >&6; }
11370 if eval test \"x\$"$as_ac_var"\" = x"yes"
11372 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11374 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" |
$as_tr_sh`
11375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11376 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11377 if eval test \${$as_ac_var+y}
11379 printf %s "(cached) " >&6
11381 ac_wine_try_cflags_saved=$CFLAGS
11382 ac_wine_try_cflags_saved_exeext=$ac_exeext
11383 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wnonnull"
11385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11386 /* end confdefs.h. */
11387 int __cdecl mainCRTStartup(void) { return 0; }
11389 if ac_fn_c_try_link "$LINENO"
11391 eval "$as_ac_var=yes"
11393 eval "$as_ac_var=no"
11395 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11396 conftest$ac_exeext conftest.$ac_ext
11397 CFLAGS=$ac_wine_try_cflags_saved
11398 ac_exeext=$ac_wine_try_cflags_saved_exeext
11400 eval ac_res=\$$as_ac_var
11401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11402 printf "%s\n" "$ac_res" >&6; }
11403 if eval test \"x\$"$as_ac_var"\" = x"yes"
11405 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11407 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" |
$as_tr_sh`
11408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11409 printf %s "checking whether $CC supports -mcx16... " >&6; }
11410 if eval test \${$as_ac_var+y}
11412 printf %s "(cached) " >&6
11414 ac_wine_try_cflags_saved=$CFLAGS
11415 ac_wine_try_cflags_saved_exeext=$ac_exeext
11416 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcx16"
11418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11419 /* end confdefs.h. */
11420 int __cdecl mainCRTStartup(void) { return 0; }
11422 if ac_fn_c_try_link "$LINENO"
11424 eval "$as_ac_var=yes"
11426 eval "$as_ac_var=no"
11428 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11429 conftest$ac_exeext conftest.$ac_ext
11430 CFLAGS=$ac_wine_try_cflags_saved
11431 ac_exeext=$ac_wine_try_cflags_saved_exeext
11433 eval ac_res=\$$as_ac_var
11434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11435 printf "%s\n" "$ac_res" >&6; }
11436 if eval test \"x\$"$as_ac_var"\" = x"yes"
11438 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11440 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcmodel=small" |
$as_tr_sh`
11441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcmodel=small" >&5
11442 printf %s "checking whether $CC supports -mcmodel=small... " >&6; }
11443 if eval test \${$as_ac_var+y}
11445 printf %s "(cached) " >&6
11447 ac_wine_try_cflags_saved=$CFLAGS
11448 ac_wine_try_cflags_saved_exeext=$ac_exeext
11449 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcmodel=small"
11451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11452 /* end confdefs.h. */
11453 int __cdecl mainCRTStartup(void) { return 0; }
11455 if ac_fn_c_try_link "$LINENO"
11457 eval "$as_ac_var=yes"
11459 eval "$as_ac_var=no"
11461 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11462 conftest$ac_exeext conftest.$ac_ext
11463 CFLAGS=$ac_wine_try_cflags_saved
11464 ac_exeext=$ac_wine_try_cflags_saved_exeext
11466 eval ac_res=\$$as_ac_var
11467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11468 printf "%s\n" "$ac_res" >&6; }
11469 if eval test \"x\$"$as_ac_var"\" = x"yes"
11471 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcmodel=small"
11475 wine_crossdebug=$CROSSDEBUG
11476 if test -z "$wine_crossdebug"
11478 for ac_flag in $CFLAGS; do
11480 -gdwarf*) wine_crossdebug=dwarf ;;
11481 -gcodeview) wine_crossdebug=pdb ;;
11482 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11487 ac_debug_format_seen=""
11488 for ac_flag in $CFLAGS; do
11490 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11493 if test "x$ac_debug_format_seen" = x
11495 case $wine_crossdebug in
11496 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" |
$as_tr_sh`
11497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11498 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11499 if eval test \${$as_ac_var+y}
11501 printf %s "(cached) " >&6
11503 ac_wine_try_cflags_saved=$CFLAGS
11504 ac_wine_try_cflags_saved_exeext=$ac_exeext
11505 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gdwarf-4"
11507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11508 /* end confdefs.h. */
11509 int __cdecl mainCRTStartup(void) { return 0; }
11511 if ac_fn_c_try_link "$LINENO"
11513 eval "$as_ac_var=yes"
11515 eval "$as_ac_var=no"
11517 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11518 conftest$ac_exeext conftest.$ac_ext
11519 CFLAGS=$ac_wine_try_cflags_saved
11520 ac_exeext=$ac_wine_try_cflags_saved_exeext
11522 eval ac_res=\$$as_ac_var
11523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11524 printf "%s\n" "$ac_res" >&6; }
11525 if eval test \"x\$"$as_ac_var"\" = x"yes"
11527 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11529 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" |
$as_tr_sh`
11530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11531 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11532 if eval test \${$as_ac_var+y}
11534 printf %s "(cached) " >&6
11536 ac_wine_try_cflags_saved=$CFLAGS
11537 ac_wine_try_cflags_saved_exeext=$ac_exeext
11538 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gcodeview"
11540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11541 /* end confdefs.h. */
11542 int __cdecl mainCRTStartup(void) { return 0; }
11544 if ac_fn_c_try_link "$LINENO"
11546 eval "$as_ac_var=yes"
11548 eval "$as_ac_var=no"
11550 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11551 conftest$ac_exeext conftest.$ac_ext
11552 CFLAGS=$ac_wine_try_cflags_saved
11553 ac_exeext=$ac_wine_try_cflags_saved_exeext
11555 eval ac_res=\$$as_ac_var
11556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11557 printf "%s\n" "$ac_res" >&6; }
11558 if eval test \"x\$"$as_ac_var"\" = x"yes"
11560 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11564 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11566 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" |
$as_tr_sh`
11567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11568 printf %s "checking whether $CC supports -Werror... " >&6; }
11569 if eval test \${$as_ac_var+y}
11571 printf %s "(cached) " >&6
11573 ac_wine_try_cflags_saved=$CFLAGS
11574 ac_wine_try_cflags_saved_exeext=$ac_exeext
11575 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror"
11577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11578 /* end confdefs.h. */
11579 int __cdecl mainCRTStartup(void) { return 0; }
11581 if ac_fn_c_try_link "$LINENO"
11583 eval "$as_ac_var=yes"
11585 eval "$as_ac_var=no"
11587 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11588 conftest$ac_exeext conftest.$ac_ext
11589 CFLAGS=$ac_wine_try_cflags_saved
11590 ac_exeext=$ac_wine_try_cflags_saved_exeext
11592 eval ac_res=\$$as_ac_var
11593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11594 printf "%s\n" "$ac_res" >&6; }
11595 if eval test \"x\$"$as_ac_var"\" = x"yes"
11597 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11599 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" |
$as_tr_sh`
11600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11601 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11602 if eval test \${$as_ac_var+y}
11604 printf %s "(cached) " >&6
11606 ac_wine_try_cflags_saved=$CFLAGS
11607 ac_wine_try_cflags_saved_exeext=$ac_exeext
11608 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--build-id"
11610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11611 /* end confdefs.h. */
11612 int __cdecl mainCRTStartup(void) { return 0; }
11614 if ac_fn_c_try_link "$LINENO"
11616 eval "$as_ac_var=yes"
11618 eval "$as_ac_var=no"
11620 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11621 conftest$ac_exeext conftest.$ac_ext
11622 CFLAGS=$ac_wine_try_cflags_saved
11623 ac_exeext=$ac_wine_try_cflags_saved_exeext
11625 eval ac_res=\$$as_ac_var
11626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11627 printf "%s\n" "$ac_res" >&6; }
11628 if eval test \"x\$"$as_ac_var"\" = x"yes"
11630 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
11631 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
11635 CFLAGS=$saved_CFLAGS
11636 LDFLAGS=$saved_LDFLAGS
11639 if test $HOST_ARCH = aarch64
11641 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
11644 if test "x$PE_ARCHS" = "x"
11646 case "x$with_mingw" in
11647 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
11649 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
11650 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
11657 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
11659 case "$host_cpu" in
11661 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11663 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11665 for ac_prog in $ac_prefix_list
11667 # Extract the first word of "$ac_prog", so it can be a program name with args.
11668 set dummy $ac_prog; ac_word=$2
11669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11670 printf %s "checking for $ac_word... " >&6; }
11671 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11673 printf %s "(cached) " >&6
11675 if test -n "$MINGW_PKG_CONFIG"; then
11676 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11679 for as_dir in $PATH
11682 case $as_dir in #(((
11685 *) as_dir=$as_dir/ ;;
11687 for ac_exec_ext in '' $ac_executable_extensions; do
11688 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11689 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11690 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11699 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11700 if test -n "$MINGW_PKG_CONFIG"; then
11701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11702 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
11704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11705 printf "%s\n" "no" >&6; }
11709 test -n "$MINGW_PKG_CONFIG" && break
11711 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
11713 if ${FAUDIO_PE_CFLAGS:+false} :
11715 if test ${MINGW_PKG_CONFIG+y}
11717 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio
2>/dev
/null
`
11720 if ${FAUDIO_PE_LIBS:+false} :
11722 if test ${MINGW_PKG_CONFIG+y}
11724 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio
2>/dev
/null
`
11727 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
11728 ac_save_CPPFLAGS=$CPPFLAGS
11729 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
11730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
11731 printf %s "checking for MinGW FAudio.h... " >&6; }
11732 if test ${ac_cv_mingw_header_FAudio_h+y}
11734 printf %s "(cached) " >&6
11736 ac_wine_check_headers_saved_cc=$CC
11737 ac_wine_check_headers_saved_exeext=$ac_exeext
11738 eval CC=\$${wine_arch}_CC
11740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11741 /* end confdefs.h. */
11743 #include <FAudio.h>
11752 if ac_fn_c_try_compile "$LINENO"
11754 ac_cv_mingw_header_FAudio_h=yes
11756 ac_cv_mingw_header_FAudio_h=no
11758 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11759 CC=$ac_wine_check_headers_saved_cc
11760 ac_exeext=$ac_wine_check_headers_saved_exeext
11762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
11763 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
11764 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
11766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
11767 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
11768 if test ${ac_cv_mingw_lib_FAudio+y}
11770 printf %s "(cached) " >&6
11772 ac_wine_check_headers_saved_cc=$CC
11773 ac_wine_check_headers_saved_exeext=$ac_exeext
11774 ac_wine_check_headers_saved_libs=$LIBS
11775 eval CC=\$${wine_arch}_CC
11777 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
11778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11779 /* end confdefs.h. */
11781 /* Override any GCC internal prototype to avoid an error.
11782 Use char because int might match the return type of a GCC
11783 builtin and then its argument prototype would still apply. */
11784 char FAudio_CommitOperationSet ();
11788 return FAudio_CommitOperationSet ();
11793 if ac_fn_c_try_link "$LINENO"
11795 ac_cv_mingw_lib_FAudio=yes
11797 ac_cv_mingw_lib_FAudio=no
11799 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11800 conftest$ac_exeext conftest.$ac_ext
11801 CC=$ac_wine_check_headers_saved_cc
11802 ac_exeext=$ac_wine_check_headers_saved_exeext
11803 LIBS=$ac_wine_check_headers_saved_libs
11805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
11806 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
11807 if test "x$ac_cv_mingw_lib_FAudio" = xyes
11811 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11814 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11816 CPPFLAGS=$ac_save_CPPFLAGS
11818 if test "x$FAUDIO_PE_LIBS" = "x"
11820 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
11823 if ${JPEG_PE_CFLAGS:+false} :
11825 if test ${MINGW_PKG_CONFIG+y}
11827 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg
2>/dev
/null
`
11830 if ${JPEG_PE_LIBS:+false} :
11832 if test ${MINGW_PKG_CONFIG+y}
11834 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg
2>/dev
/null
`
11838 ac_save_CPPFLAGS=$CPPFLAGS
11839 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
11840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
11841 printf %s "checking for MinGW jpeglib.h... " >&6; }
11842 if test ${ac_cv_mingw_header_jpeglib_h+y}
11844 printf %s "(cached) " >&6
11846 ac_wine_check_headers_saved_cc=$CC
11847 ac_wine_check_headers_saved_exeext=$ac_exeext
11848 eval CC=\$${wine_arch}_CC
11850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11851 /* end confdefs.h. */
11852 #include <stddef.h>
11854 #include <jpeglib.h>
11863 if ac_fn_c_try_compile "$LINENO"
11865 ac_cv_mingw_header_jpeglib_h=yes
11867 ac_cv_mingw_header_jpeglib_h=no
11869 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11870 CC=$ac_wine_check_headers_saved_cc
11871 ac_exeext=$ac_wine_check_headers_saved_exeext
11873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
11874 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
11875 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
11877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
11878 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
11879 if test ${ac_cv_mingw_lib_jpeg+y}
11881 printf %s "(cached) " >&6
11883 ac_wine_check_headers_saved_cc=$CC
11884 ac_wine_check_headers_saved_exeext=$ac_exeext
11885 ac_wine_check_headers_saved_libs=$LIBS
11886 eval CC=\$${wine_arch}_CC
11888 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
11889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11890 /* end confdefs.h. */
11892 /* Override any GCC internal prototype to avoid an error.
11893 Use char because int might match the return type of a GCC
11894 builtin and then its argument prototype would still apply. */
11895 char jpeg_start_decompress ();
11899 return jpeg_start_decompress ();
11904 if ac_fn_c_try_link "$LINENO"
11906 ac_cv_mingw_lib_jpeg=yes
11908 ac_cv_mingw_lib_jpeg=no
11910 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11911 conftest$ac_exeext conftest.$ac_ext
11912 CC=$ac_wine_check_headers_saved_cc
11913 ac_exeext=$ac_wine_check_headers_saved_exeext
11914 LIBS=$ac_wine_check_headers_saved_libs
11916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
11917 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
11918 if test "x$ac_cv_mingw_lib_jpeg" = xyes
11922 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
11925 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
11927 CPPFLAGS=$ac_save_CPPFLAGS
11929 if test "x$JPEG_PE_LIBS" = "x"
11931 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
11934 if ${LCMS2_PE_CFLAGS:+false} :
11936 if test ${MINGW_PKG_CONFIG+y}
11938 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2
2>/dev
/null
`
11941 if ${LCMS2_PE_LIBS:+false} :
11943 if test ${MINGW_PKG_CONFIG+y}
11945 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2
2>/dev
/null
`
11948 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
11949 ac_save_CPPFLAGS=$CPPFLAGS
11950 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
11951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
11952 printf %s "checking for MinGW lcms2.h... " >&6; }
11953 if test ${ac_cv_mingw_header_lcms2_h+y}
11955 printf %s "(cached) " >&6
11957 ac_wine_check_headers_saved_cc=$CC
11958 ac_wine_check_headers_saved_exeext=$ac_exeext
11959 eval CC=\$${wine_arch}_CC
11961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11962 /* end confdefs.h. */
11973 if ac_fn_c_try_compile "$LINENO"
11975 ac_cv_mingw_header_lcms2_h=yes
11977 ac_cv_mingw_header_lcms2_h=no
11979 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11980 CC=$ac_wine_check_headers_saved_cc
11981 ac_exeext=$ac_wine_check_headers_saved_exeext
11983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
11984 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
11985 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
11987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
11988 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
11989 if test ${ac_cv_mingw_lib_lcms2+y}
11991 printf %s "(cached) " >&6
11993 ac_wine_check_headers_saved_cc=$CC
11994 ac_wine_check_headers_saved_exeext=$ac_exeext
11995 ac_wine_check_headers_saved_libs=$LIBS
11996 eval CC=\$${wine_arch}_CC
11998 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
11999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12000 /* end confdefs.h. */
12002 /* Override any GCC internal prototype to avoid an error.
12003 Use char because int might match the return type of a GCC
12004 builtin and then its argument prototype would still apply. */
12005 char cmsOpenProfileFromFile ();
12009 return cmsOpenProfileFromFile ();
12014 if ac_fn_c_try_link "$LINENO"
12016 ac_cv_mingw_lib_lcms2=yes
12018 ac_cv_mingw_lib_lcms2=no
12020 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12021 conftest$ac_exeext conftest.$ac_ext
12022 CC=$ac_wine_check_headers_saved_cc
12023 ac_exeext=$ac_wine_check_headers_saved_exeext
12024 LIBS=$ac_wine_check_headers_saved_libs
12026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12027 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12028 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12032 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12035 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12037 CPPFLAGS=$ac_save_CPPFLAGS
12039 if test "x$LCMS2_PE_LIBS" = "x"
12041 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12044 if ${MPG123_PE_CFLAGS:+false} :
12046 if test ${MINGW_PKG_CONFIG+y}
12048 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123
2>/dev
/null
`
12051 if ${MPG123_PE_LIBS:+false} :
12053 if test ${MINGW_PKG_CONFIG+y}
12055 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123
2>/dev
/null
`
12058 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12059 ac_save_CPPFLAGS=$CPPFLAGS
12060 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12062 printf %s "checking for MinGW mpg123.h... " >&6; }
12063 if test ${ac_cv_mingw_header_mpg123_h+y}
12065 printf %s "(cached) " >&6
12067 ac_wine_check_headers_saved_cc=$CC
12068 ac_wine_check_headers_saved_exeext=$ac_exeext
12069 eval CC=\$${wine_arch}_CC
12071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12072 /* end confdefs.h. */
12074 #include <mpg123.h>
12083 if ac_fn_c_try_compile "$LINENO"
12085 ac_cv_mingw_header_mpg123_h=yes
12087 ac_cv_mingw_header_mpg123_h=no
12089 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12090 CC=$ac_wine_check_headers_saved_cc
12091 ac_exeext=$ac_wine_check_headers_saved_exeext
12093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12094 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12095 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12098 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12099 if test ${ac_cv_mingw_lib_mpg123+y}
12101 printf %s "(cached) " >&6
12103 ac_wine_check_headers_saved_cc=$CC
12104 ac_wine_check_headers_saved_exeext=$ac_exeext
12105 ac_wine_check_headers_saved_libs=$LIBS
12106 eval CC=\$${wine_arch}_CC
12108 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12110 /* end confdefs.h. */
12112 /* Override any GCC internal prototype to avoid an error.
12113 Use char because int might match the return type of a GCC
12114 builtin and then its argument prototype would still apply. */
12115 char mpg123_feed ();
12119 return mpg123_feed ();
12124 if ac_fn_c_try_link "$LINENO"
12126 ac_cv_mingw_lib_mpg123=yes
12128 ac_cv_mingw_lib_mpg123=no
12130 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12131 conftest$ac_exeext conftest.$ac_ext
12132 CC=$ac_wine_check_headers_saved_cc
12133 ac_exeext=$ac_wine_check_headers_saved_exeext
12134 LIBS=$ac_wine_check_headers_saved_libs
12136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12137 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12138 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12142 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12145 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12147 CPPFLAGS=$ac_save_CPPFLAGS
12149 if test "x$MPG123_PE_LIBS" = "x"
12151 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12154 if ${PNG_PE_CFLAGS:+false} :
12156 if test ${MINGW_PKG_CONFIG+y}
12158 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng
2>/dev
/null
`
12161 if ${PNG_PE_LIBS:+false} :
12163 if test ${MINGW_PKG_CONFIG+y}
12165 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng
2>/dev
/null
`
12169 ac_save_CPPFLAGS=$CPPFLAGS
12170 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12172 printf %s "checking for MinGW png.h... " >&6; }
12173 if test ${ac_cv_mingw_header_png_h+y}
12175 printf %s "(cached) " >&6
12177 ac_wine_check_headers_saved_cc=$CC
12178 ac_wine_check_headers_saved_exeext=$ac_exeext
12179 eval CC=\$${wine_arch}_CC
12181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12182 /* end confdefs.h. */
12193 if ac_fn_c_try_compile "$LINENO"
12195 ac_cv_mingw_header_png_h=yes
12197 ac_cv_mingw_header_png_h=no
12199 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12200 CC=$ac_wine_check_headers_saved_cc
12201 ac_exeext=$ac_wine_check_headers_saved_exeext
12203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12204 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12205 if test "x$ac_cv_mingw_header_png_h" = xyes
12207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12208 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12209 if test ${ac_cv_mingw_lib_png+y}
12211 printf %s "(cached) " >&6
12213 ac_wine_check_headers_saved_cc=$CC
12214 ac_wine_check_headers_saved_exeext=$ac_exeext
12215 ac_wine_check_headers_saved_libs=$LIBS
12216 eval CC=\$${wine_arch}_CC
12218 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12220 /* end confdefs.h. */
12222 /* Override any GCC internal prototype to avoid an error.
12223 Use char because int might match the return type of a GCC
12224 builtin and then its argument prototype would still apply. */
12225 char png_create_read_struct ();
12229 return png_create_read_struct ();
12234 if ac_fn_c_try_link "$LINENO"
12236 ac_cv_mingw_lib_png=yes
12238 ac_cv_mingw_lib_png=no
12240 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12241 conftest$ac_exeext conftest.$ac_ext
12242 CC=$ac_wine_check_headers_saved_cc
12243 ac_exeext=$ac_wine_check_headers_saved_exeext
12244 LIBS=$ac_wine_check_headers_saved_libs
12246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12247 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12248 if test "x$ac_cv_mingw_lib_png" = xyes
12252 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12255 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12257 CPPFLAGS=$ac_save_CPPFLAGS
12259 if test "x$PNG_PE_LIBS" = "x"
12261 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12264 if ${TIFF_PE_CFLAGS:+false} :
12266 if test ${MINGW_PKG_CONFIG+y}
12268 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4
2>/dev
/null
`
12271 if ${TIFF_PE_LIBS:+false} :
12273 if test ${MINGW_PKG_CONFIG+y}
12275 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4
2>/dev
/null
`
12279 ac_save_CPPFLAGS=$CPPFLAGS
12280 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12282 printf %s "checking for MinGW tiffio.h... " >&6; }
12283 if test ${ac_cv_mingw_header_tiffio_h+y}
12285 printf %s "(cached) " >&6
12287 ac_wine_check_headers_saved_cc=$CC
12288 ac_wine_check_headers_saved_exeext=$ac_exeext
12289 eval CC=\$${wine_arch}_CC
12291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12292 /* end confdefs.h. */
12294 #include <tiffio.h>
12303 if ac_fn_c_try_compile "$LINENO"
12305 ac_cv_mingw_header_tiffio_h=yes
12307 ac_cv_mingw_header_tiffio_h=no
12309 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12310 CC=$ac_wine_check_headers_saved_cc
12311 ac_exeext=$ac_wine_check_headers_saved_exeext
12313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12314 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12315 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12318 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12319 if test ${ac_cv_mingw_lib_tiff+y}
12321 printf %s "(cached) " >&6
12323 ac_wine_check_headers_saved_cc=$CC
12324 ac_wine_check_headers_saved_exeext=$ac_exeext
12325 ac_wine_check_headers_saved_libs=$LIBS
12326 eval CC=\$${wine_arch}_CC
12328 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12330 /* end confdefs.h. */
12332 /* Override any GCC internal prototype to avoid an error.
12333 Use char because int might match the return type of a GCC
12334 builtin and then its argument prototype would still apply. */
12335 char TIFFClientOpen ();
12339 return TIFFClientOpen ();
12344 if ac_fn_c_try_link "$LINENO"
12346 ac_cv_mingw_lib_tiff=yes
12348 ac_cv_mingw_lib_tiff=no
12350 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12351 conftest$ac_exeext conftest.$ac_ext
12352 CC=$ac_wine_check_headers_saved_cc
12353 ac_exeext=$ac_wine_check_headers_saved_exeext
12354 LIBS=$ac_wine_check_headers_saved_libs
12356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12357 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12358 if test "x$ac_cv_mingw_lib_tiff" = xyes
12362 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12365 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12367 CPPFLAGS=$ac_save_CPPFLAGS
12369 if test "x$TIFF_PE_LIBS" = "x"
12371 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12374 if ${XML2_PE_CFLAGS:+false} :
12376 if test ${MINGW_PKG_CONFIG+y}
12378 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0
2>/dev
/null
`
12381 if ${XML2_PE_LIBS:+false} :
12383 if test ${MINGW_PKG_CONFIG+y}
12385 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0
2>/dev
/null
`
12388 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12389 ac_save_CPPFLAGS=$CPPFLAGS
12390 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12392 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12393 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12395 printf %s "(cached) " >&6
12397 ac_wine_check_headers_saved_cc=$CC
12398 ac_wine_check_headers_saved_exeext=$ac_exeext
12399 eval CC=\$${wine_arch}_CC
12401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12402 /* end confdefs.h. */
12404 #include <libxml/parser.h>
12413 if ac_fn_c_try_compile "$LINENO"
12415 ac_cv_mingw_header_libxml_parser_h=yes
12417 ac_cv_mingw_header_libxml_parser_h=no
12419 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12420 CC=$ac_wine_check_headers_saved_cc
12421 ac_exeext=$ac_wine_check_headers_saved_exeext
12423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12424 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12425 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12430 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12431 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12433 printf %s "(cached) " >&6
12435 ac_wine_check_headers_saved_cc=$CC
12436 ac_wine_check_headers_saved_exeext=$ac_exeext
12437 eval CC=\$${wine_arch}_CC
12439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12440 /* end confdefs.h. */
12442 #include <libxml/xmlsave.h>
12451 if ac_fn_c_try_compile "$LINENO"
12453 ac_cv_mingw_header_libxml_xmlsave_h=yes
12455 ac_cv_mingw_header_libxml_xmlsave_h=no
12457 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12458 CC=$ac_wine_check_headers_saved_cc
12459 ac_exeext=$ac_wine_check_headers_saved_exeext
12461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12462 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12463 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12468 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12469 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12471 printf %s "(cached) " >&6
12473 ac_wine_check_headers_saved_cc=$CC
12474 ac_wine_check_headers_saved_exeext=$ac_exeext
12475 eval CC=\$${wine_arch}_CC
12477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12478 /* end confdefs.h. */
12480 #include <libxml/SAX2.h>
12489 if ac_fn_c_try_compile "$LINENO"
12491 ac_cv_mingw_header_libxml_SAX2_h=yes
12493 ac_cv_mingw_header_libxml_SAX2_h=no
12495 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12496 CC=$ac_wine_check_headers_saved_cc
12497 ac_exeext=$ac_wine_check_headers_saved_exeext
12499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12500 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12501 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12505 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"
12507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12508 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12509 if test ${ac_cv_mingw_lib_xml2+y}
12511 printf %s "(cached) " >&6
12513 ac_wine_check_headers_saved_cc=$CC
12514 ac_wine_check_headers_saved_exeext=$ac_exeext
12515 ac_wine_check_headers_saved_libs=$LIBS
12516 eval CC=\$${wine_arch}_CC
12518 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12520 /* end confdefs.h. */
12522 /* Override any GCC internal prototype to avoid an error.
12523 Use char because int might match the return type of a GCC
12524 builtin and then its argument prototype would still apply. */
12525 char xmlFirstElementChild ();
12529 return xmlFirstElementChild ();
12534 if ac_fn_c_try_link "$LINENO"
12536 ac_cv_mingw_lib_xml2=yes
12538 ac_cv_mingw_lib_xml2=no
12540 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12541 conftest$ac_exeext conftest.$ac_ext
12542 CC=$ac_wine_check_headers_saved_cc
12543 ac_exeext=$ac_wine_check_headers_saved_exeext
12544 LIBS=$ac_wine_check_headers_saved_libs
12546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12547 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12548 if test "x$ac_cv_mingw_lib_xml2" = xyes
12552 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12558 CPPFLAGS=$ac_save_CPPFLAGS
12560 if test "x$XML2_PE_LIBS" = "x"
12562 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12565 if ${XSLT_PE_CFLAGS:+false} :
12567 if test ${MINGW_PKG_CONFIG+y}
12569 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt
2>/dev
/null
`
12572 if ${XSLT_PE_LIBS:+false} :
12574 if test ${MINGW_PKG_CONFIG+y}
12576 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt
2>/dev
/null
`
12579 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12580 ac_save_CPPFLAGS=$CPPFLAGS
12581 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12583 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12584 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12586 printf %s "(cached) " >&6
12588 ac_wine_check_headers_saved_cc=$CC
12589 ac_wine_check_headers_saved_exeext=$ac_exeext
12590 eval CC=\$${wine_arch}_CC
12592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12593 /* end confdefs.h. */
12595 #include <libxslt/pattern.h>
12604 if ac_fn_c_try_compile "$LINENO"
12606 ac_cv_mingw_header_libxslt_pattern_h=yes
12608 ac_cv_mingw_header_libxslt_pattern_h=no
12610 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12611 CC=$ac_wine_check_headers_saved_cc
12612 ac_exeext=$ac_wine_check_headers_saved_exeext
12614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12615 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12616 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12621 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12622 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12624 printf %s "(cached) " >&6
12626 ac_wine_check_headers_saved_cc=$CC
12627 ac_wine_check_headers_saved_exeext=$ac_exeext
12628 eval CC=\$${wine_arch}_CC
12630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12631 /* end confdefs.h. */
12633 #include <libxslt/transform.h>
12642 if ac_fn_c_try_compile "$LINENO"
12644 ac_cv_mingw_header_libxslt_transform_h=yes
12646 ac_cv_mingw_header_libxslt_transform_h=no
12648 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12649 CC=$ac_wine_check_headers_saved_cc
12650 ac_exeext=$ac_wine_check_headers_saved_exeext
12652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12653 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12654 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12658 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12661 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12662 if test ${ac_cv_mingw_lib_xslt+y}
12664 printf %s "(cached) " >&6
12666 ac_wine_check_headers_saved_cc=$CC
12667 ac_wine_check_headers_saved_exeext=$ac_exeext
12668 ac_wine_check_headers_saved_libs=$LIBS
12669 eval CC=\$${wine_arch}_CC
12671 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12673 /* end confdefs.h. */
12675 /* Override any GCC internal prototype to avoid an error.
12676 Use char because int might match the return type of a GCC
12677 builtin and then its argument prototype would still apply. */
12678 char xsltCompilePattern ();
12682 return xsltCompilePattern ();
12687 if ac_fn_c_try_link "$LINENO"
12689 ac_cv_mingw_lib_xslt=yes
12691 ac_cv_mingw_lib_xslt=no
12693 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12694 conftest$ac_exeext conftest.$ac_ext
12695 CC=$ac_wine_check_headers_saved_cc
12696 ac_exeext=$ac_wine_check_headers_saved_exeext
12697 LIBS=$ac_wine_check_headers_saved_libs
12699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12700 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12701 if test "x$ac_cv_mingw_lib_xslt" = xyes
12705 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
12711 CPPFLAGS=$ac_save_CPPFLAGS
12713 if test "x$XSLT_PE_LIBS" = "x"
12715 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
12718 if ${VKD3D_PE_CFLAGS:+false} :
12720 if test ${MINGW_PKG_CONFIG+y}
12722 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader
2>/dev
/null
`
12725 if ${VKD3D_PE_LIBS:+false} :
12727 if test ${MINGW_PKG_CONFIG+y}
12729 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader
2>/dev
/null
`
12732 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
12733 ac_save_CPPFLAGS=$CPPFLAGS
12734 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
12735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
12736 printf %s "checking for MinGW vkd3d.h... " >&6; }
12737 if test ${ac_cv_mingw_header_vkd3d_h+y}
12739 printf %s "(cached) " >&6
12741 ac_wine_check_headers_saved_cc=$CC
12742 ac_wine_check_headers_saved_exeext=$ac_exeext
12743 eval CC=\$${wine_arch}_CC
12745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12746 /* end confdefs.h. */
12757 if ac_fn_c_try_compile "$LINENO"
12759 ac_cv_mingw_header_vkd3d_h=yes
12761 ac_cv_mingw_header_vkd3d_h=no
12763 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12764 CC=$ac_wine_check_headers_saved_cc
12765 ac_exeext=$ac_wine_check_headers_saved_exeext
12767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
12768 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
12769 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
12773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
12774 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
12775 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
12777 printf %s "(cached) " >&6
12779 ac_wine_check_headers_saved_cc=$CC
12780 ac_wine_check_headers_saved_exeext=$ac_exeext
12781 eval CC=\$${wine_arch}_CC
12783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12784 /* end confdefs.h. */
12786 #include <vkd3d_shader.h>
12795 if ac_fn_c_try_compile "$LINENO"
12797 ac_cv_mingw_header_vkd3d_shader_h=yes
12799 ac_cv_mingw_header_vkd3d_shader_h=no
12801 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12802 CC=$ac_wine_check_headers_saved_cc
12803 ac_exeext=$ac_wine_check_headers_saved_exeext
12805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
12806 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
12807 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
12811 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
12813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
12814 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
12815 if test ${ac_cv_mingw_lib_vkd3d+y}
12817 printf %s "(cached) " >&6
12819 ac_wine_check_headers_saved_cc=$CC
12820 ac_wine_check_headers_saved_exeext=$ac_exeext
12821 ac_wine_check_headers_saved_libs=$LIBS
12822 eval CC=\$${wine_arch}_CC
12824 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
12825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12826 /* end confdefs.h. */
12828 /* Override any GCC internal prototype to avoid an error.
12829 Use char because int might match the return type of a GCC
12830 builtin and then its argument prototype would still apply. */
12831 char vkd3d_set_log_callback ();
12835 return vkd3d_set_log_callback ();
12840 if ac_fn_c_try_link "$LINENO"
12842 ac_cv_mingw_lib_vkd3d=yes
12844 ac_cv_mingw_lib_vkd3d=no
12846 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12847 conftest$ac_exeext conftest.$ac_ext
12848 CC=$ac_wine_check_headers_saved_cc
12849 ac_exeext=$ac_wine_check_headers_saved_exeext
12850 LIBS=$ac_wine_check_headers_saved_libs
12852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
12853 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
12854 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
12860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_serialize_dxbc in MinGW -lvkd3d-shader" >&5
12861 printf %s "checking for vkd3d_shader_serialize_dxbc in MinGW -lvkd3d-shader... " >&6; }
12862 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
12864 printf %s "(cached) " >&6
12866 ac_wine_check_headers_saved_cc=$CC
12867 ac_wine_check_headers_saved_exeext=$ac_exeext
12868 ac_wine_check_headers_saved_libs=$LIBS
12869 eval CC=\$${wine_arch}_CC
12871 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
12872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12873 /* end confdefs.h. */
12875 /* Override any GCC internal prototype to avoid an error.
12876 Use char because int might match the return type of a GCC
12877 builtin and then its argument prototype would still apply. */
12878 char vkd3d_shader_serialize_dxbc ();
12882 return vkd3d_shader_serialize_dxbc ();
12887 if ac_fn_c_try_link "$LINENO"
12889 ac_cv_mingw_lib_vkd3d_shader=yes
12891 ac_cv_mingw_lib_vkd3d_shader=no
12893 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12894 conftest$ac_exeext conftest.$ac_ext
12895 CC=$ac_wine_check_headers_saved_cc
12896 ac_exeext=$ac_wine_check_headers_saved_exeext
12897 LIBS=$ac_wine_check_headers_saved_libs
12899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
12900 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
12901 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
12907 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
12916 CPPFLAGS=$ac_save_CPPFLAGS
12918 if test "x$VKD3D_PE_LIBS" = "x"
12920 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
12923 if ${ZLIB_PE_CFLAGS:+false} :
12925 if test ${MINGW_PKG_CONFIG+y}
12927 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib
2>/dev
/null
`
12930 if ${ZLIB_PE_LIBS:+false} :
12932 if test ${MINGW_PKG_CONFIG+y}
12934 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib
2>/dev
/null
`
12937 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
12938 ac_save_CPPFLAGS=$CPPFLAGS
12939 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
12940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
12941 printf %s "checking for MinGW zlib.h... " >&6; }
12942 if test ${ac_cv_mingw_header_zlib_h+y}
12944 printf %s "(cached) " >&6
12946 ac_wine_check_headers_saved_cc=$CC
12947 ac_wine_check_headers_saved_exeext=$ac_exeext
12948 eval CC=\$${wine_arch}_CC
12950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12951 /* end confdefs.h. */
12962 if ac_fn_c_try_compile "$LINENO"
12964 ac_cv_mingw_header_zlib_h=yes
12966 ac_cv_mingw_header_zlib_h=no
12968 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12969 CC=$ac_wine_check_headers_saved_cc
12970 ac_exeext=$ac_wine_check_headers_saved_exeext
12972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
12973 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
12974 if test "x$ac_cv_mingw_header_zlib_h" = xyes
12976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
12977 printf %s "checking for inflate in MinGW -lz... " >&6; }
12978 if test ${ac_cv_mingw_lib_z+y}
12980 printf %s "(cached) " >&6
12982 ac_wine_check_headers_saved_cc=$CC
12983 ac_wine_check_headers_saved_exeext=$ac_exeext
12984 ac_wine_check_headers_saved_libs=$LIBS
12985 eval CC=\$${wine_arch}_CC
12987 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
12988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12989 /* end confdefs.h. */
12991 /* Override any GCC internal prototype to avoid an error.
12992 Use char because int might match the return type of a GCC
12993 builtin and then its argument prototype would still apply. */
13003 if ac_fn_c_try_link "$LINENO"
13005 ac_cv_mingw_lib_z=yes
13007 ac_cv_mingw_lib_z=no
13009 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13010 conftest$ac_exeext conftest.$ac_ext
13011 CC=$ac_wine_check_headers_saved_cc
13012 ac_exeext=$ac_wine_check_headers_saved_exeext
13013 LIBS=$ac_wine_check_headers_saved_libs
13015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13016 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13017 if test "x$ac_cv_mingw_lib_z" = xyes
13021 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13024 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13026 CPPFLAGS=$ac_save_CPPFLAGS
13028 if test "x$ZLIB_PE_LIBS" = "x"
13030 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13034 if ${FAUDIO_PE_LIBS:+false} :
13036 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13037 if ${FAUDIO_PE_CFLAGS:+false} :
13039 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13046 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13047 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13049 if ${GSM_PE_LIBS:+false} :
13052 if ${GSM_PE_CFLAGS:+false} :
13054 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13061 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13062 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13064 if ${JPEG_PE_LIBS:+false} :
13067 if ${JPEG_PE_CFLAGS:+false} :
13069 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13076 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13077 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13079 if ${JXR_PE_LIBS:+false} :
13082 if ${JXR_PE_CFLAGS:+false} :
13084 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13091 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13092 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13094 if ${LCMS2_PE_LIBS:+false} :
13096 LCMS2_PE_LIBS=lcms2
13097 if ${LCMS2_PE_CFLAGS:+false} :
13099 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13106 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13107 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13109 if ${LDAP_PE_LIBS:+false} :
13112 if ${LDAP_PE_CFLAGS:+false} :
13114 LDAP_PE_CFLAGS="-I\$(top_srcdir)/libs/ldap/include"
13121 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap cflags: $LDAP_PE_CFLAGS" >&5
13122 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap libs: $LDAP_PE_LIBS" >&5
13124 if ${MPG123_PE_LIBS:+false} :
13126 MPG123_PE_LIBS=mpg123
13127 if ${MPG123_PE_CFLAGS:+false} :
13129 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13136 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13137 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13139 if ${MUSL_PE_LIBS:+false} :
13142 if ${MUSL_PE_CFLAGS:+false} :
13151 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl cflags: $MUSL_PE_CFLAGS" >&5
13152 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl libs: $MUSL_PE_LIBS" >&5
13154 if ${PNG_PE_LIBS:+false} :
13156 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13157 if ${PNG_PE_CFLAGS:+false} :
13159 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13166 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13167 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13169 if ${TIFF_PE_LIBS:+false} :
13171 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13172 if ${TIFF_PE_CFLAGS:+false} :
13174 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13181 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13182 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13184 if ${VKD3D_PE_LIBS:+false} :
13186 VKD3D_PE_LIBS=vkd3d
13187 if ${VKD3D_PE_CFLAGS:+false} :
13189 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13196 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13197 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13199 if ${XML2_PE_LIBS:+false} :
13202 if ${XML2_PE_CFLAGS:+false} :
13204 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13211 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13212 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13214 if ${XSLT_PE_LIBS:+false} :
13217 if ${XSLT_PE_CFLAGS:+false} :
13219 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13226 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13227 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13229 if ${ZLIB_PE_LIBS:+false} :
13232 if ${ZLIB_PE_CFLAGS:+false} :
13234 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13241 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13242 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13244 if ${ZYDIS_PE_LIBS:+false} :
13246 ZYDIS_PE_LIBS=zydis
13247 if ${ZYDIS_PE_CFLAGS:+false} :
13249 ZYDIS_PE_CFLAGS="-I\$(top_srcdir)/libs/zydis/include"
13256 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis cflags: $ZYDIS_PE_CFLAGS" >&5
13257 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis libs: $ZYDIS_PE_LIBS" >&5
13261 if test "$ac_cv_header_pthread_h" = "yes"
13263 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13264 if test "x$ac_cv_func_pthread_create" = xyes
13268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13269 printf %s "checking for pthread_create in -lpthread... " >&6; }
13270 if test ${ac_cv_lib_pthread_pthread_create+y}
13272 printf %s "(cached) " >&6
13274 ac_check_lib_save_LIBS=$LIBS
13275 LIBS="-lpthread $LIBS"
13276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13277 /* end confdefs.h. */
13279 /* Override any GCC internal prototype to avoid an error.
13280 Use char because int might match the return type of a GCC
13281 builtin and then its argument prototype would still apply. */
13282 char pthread_create ();
13286 return pthread_create ();
13291 if ac_fn_c_try_link "$LINENO"
13293 ac_cv_lib_pthread_pthread_create=yes
13295 ac_cv_lib_pthread_pthread_create=no
13297 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13298 conftest$ac_exeext conftest.$ac_ext
13299 LIBS=$ac_check_lib_save_LIBS
13301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13302 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13303 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13305 PTHREAD_LIBS="-lpthread"
13312 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13314 case "x$with_pthread" in
13316 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13317 Wine cannot support threads without libpthread.
13318 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13325 ac_cpp='$CPP $CPPFLAGS'
13326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13330 printf %s "checking how to run the C preprocessor... " >&6; }
13331 # On Suns, sometimes $CPP names a directory.
13332 if test -n "$CPP" && test -d "$CPP"; then
13335 if test -z "$CPP"; then
13336 if test ${ac_cv_prog_CPP+y}
13338 printf %s "(cached) " >&6
13340 # Double quotes because $CC needs to be expanded
13341 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13343 ac_preproc_ok=false
13344 for ac_c_preproc_warn_flag in '' yes
13346 # Use a header file that comes with gcc, so configuring glibc
13347 # with a fresh cross-compiler works.
13348 # On the NeXT, cc -E runs the code through the compiler's parser,
13349 # not just through cpp. "Syntax error" is here to catch this case.
13350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13351 /* end confdefs.h. */
13352 #include <limits.h>
13355 if ac_fn_c_try_cpp "$LINENO"
13359 # Broken: fails on valid input.
13362 rm -f conftest.err conftest.i conftest.$ac_ext
13364 # OK, works on sane cases. Now check whether nonexistent headers
13365 # can be detected and how.
13366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13367 /* end confdefs.h. */
13368 #include <ac_nonexistent.h>
13370 if ac_fn_c_try_cpp "$LINENO"
13372 # Broken: success on invalid input.
13375 # Passes both tests.
13379 rm -f conftest.err conftest.i conftest.$ac_ext
13382 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13383 rm -f conftest.i conftest.err conftest.
$ac_ext
13390 ac_cv_prog_CPP
=$CPP
13393 CPP
=$ac_cv_prog_CPP
13395 ac_cv_prog_CPP
=$CPP
13397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13398 printf "%s\n" "$CPP" >&6; }
13399 ac_preproc_ok
=false
13400 for ac_c_preproc_warn_flag
in '' yes
13402 # Use a header file that comes with gcc, so configuring glibc
13403 # with a fresh cross-compiler works.
13404 # On the NeXT, cc -E runs the code through the compiler's parser,
13405 # not just through cpp. "Syntax error" is here to catch this case.
13406 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13407 /* end confdefs.h. */
13408 #include <limits.h>
13411 if ac_fn_c_try_cpp
"$LINENO"
13415 # Broken: fails on valid input.
13418 rm -f conftest.err conftest.i conftest.
$ac_ext
13420 # OK, works on sane cases. Now check whether nonexistent headers
13421 # can be detected and how.
13422 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13423 /* end confdefs.h. */
13424 #include <ac_nonexistent.h>
13426 if ac_fn_c_try_cpp
"$LINENO"
13428 # Broken: success on invalid input.
13431 # Passes both tests.
13435 rm -f conftest.err conftest.i conftest.
$ac_ext
13438 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13439 rm -f conftest.i conftest.err conftest.
$ac_ext
13444 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13445 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13446 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
13447 See \`config.log' for more details" "$LINENO" 5; }
13451 ac_cpp
='$CPP $CPPFLAGS'
13452 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13453 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13454 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13458 printf %s
"checking for X... " >&6; }
13461 # Check whether --with-x was given.
13462 if test ${with_x+y}
13467 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13468 if test "x$with_x" = xno
; then
13469 # The user explicitly disabled X.
13472 case $x_includes,$x_libraries in #(
13473 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
13474 *,NONE | NONE
,*) if test ${ac_cv_have_x+y}
13476 printf %s
"(cached) " >&6
13478 # One or both of the vars are not set, and there is no cached value.
13481 # Do we need to do anything special at all?
13484 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13485 /* end confdefs.h. */
13486 #include <X11/Xlib.h>
13495 if ac_fn_c_try_link
"$LINENO"
13497 # We can compile and link X programs with no special options.
13501 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13502 conftest
$ac_exeext conftest.
$ac_ext
13503 LIBS
="$ac_save_LIBS"
13504 # If that didn't work, only try xmkmf and file system searches
13505 # for native compilation.
13506 if test x
"$ac_x_includes" = xno
&& test "$cross_compiling" = no
13508 rm -f -r conftest.dir
13509 if mkdir conftest.dir
; then
13511 cat >Imakefile
<<'_ACEOF'
13513 @echo incroot='${INCROOT}'
13515 @echo usrlibdir='${USRLIBDIR}'
13517 @echo libdir='${LIBDIR}'
13519 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
13520 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13521 for ac_var
in incroot usrlibdir libdir
; do
13522 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13524 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13525 for ac_extension
in a so sl dylib la dll
; do
13526 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13527 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13528 ac_im_usrlibdir
=$ac_im_libdir; break
13531 # Screen out bogus values from the imake configuration. They are
13532 # bogus both because they are the default anyway, and because
13533 # using them would break gcc on systems where it needs fixed includes.
13534 case $ac_im_incroot in
13535 /usr
/include
) ac_x_includes
= ;;
13536 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
13538 case $ac_im_usrlibdir in
13539 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
13540 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
13544 rm -f -r conftest.dir
13547 # Standard set of common directories for X headers.
13548 # Check X11 before X11Rn because it is often a symlink to the current release.
13562 /usr/local/X11/include
13563 /usr/local/X11R7/include
13564 /usr/local/X11R6/include
13565 /usr/local/X11R5/include
13566 /usr/local/X11R4/include
13568 /usr/local/include/X11
13569 /usr/local/include/X11R7
13570 /usr/local/include/X11R6
13571 /usr/local/include/X11R5
13572 /usr/local/include/X11R4
13578 /usr/XFree86/include/X11
13582 /usr/unsupported/include
13583 /usr/athena/include
13584 /usr/local/x11r5/include
13585 /usr/lpp/Xamples/include
13587 /usr/openwin/include
13588 /usr/openwin/share/include'
13590 if test "$ac_x_includes" = no
; then
13591 # Guess where to find include files, by looking for Xlib.h.
13592 # First, try using that file with no special directory specified.
13593 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13594 /* end confdefs.h. */
13595 #include <X11/Xlib.h>
13597 if ac_fn_c_try_cpp
"$LINENO"
13599 # We can compile using X headers with no special include directory.
13602 for ac_dir
in $ac_x_header_dirs; do
13603 if test -r "$ac_dir/X11/Xlib.h"; then
13604 ac_x_includes
=$ac_dir
13609 rm -f conftest.err conftest.i conftest.
$ac_ext
13610 fi # $ac_x_includes = no
13612 if test "$ac_x_libraries" = no
; then
13613 # Check for the libraries.
13614 # See if we find them without any special options.
13615 # Don't add to $LIBS permanently.
13618 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13619 /* end confdefs.h. */
13620 #include <X11/Xlib.h>
13629 if ac_fn_c_try_link
"$LINENO"
13632 # We can link X programs with no special library path.
13636 for ac_dir
in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13638 # Don't even attempt the hair of trying to link an X program!
13639 for ac_extension
in a so sl dylib la dll
; do
13640 if test -r "$ac_dir/libX11.$ac_extension"; then
13641 ac_x_libraries
=$ac_dir
13647 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13648 conftest
$ac_exeext conftest.
$ac_ext
13649 fi # $ac_x_libraries = no
13652 # Record the results.
13653 case $ac_x_includes,$ac_x_libraries in #(
13654 no
,* |
*,no |
*\'*) :
13655 # Didn't find X, or a directory has "'" in its name.
13656 ac_cv_have_x
="have_x=no" ;; #(
13658 # Record where we found X for the cache.
13659 ac_cv_have_x
="have_x=yes\
13660 ac_x_includes='$ac_x_includes'\
13661 ac_x_libraries='$ac_x_libraries'" ;;
13667 eval "$ac_cv_have_x"
13670 if test "$have_x" != yes; then
13671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13672 printf "%s\n" "$have_x" >&6; }
13675 # If each of the values was on the command line, it overrides each guess.
13676 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
13677 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
13678 # Update the cache value to reflect the command line values.
13679 ac_cv_have_x
="have_x=yes\
13680 ac_x_includes='$x_includes'\
13681 ac_x_libraries='$x_libraries'"
13682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13683 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13686 if test "$no_x" = yes; then
13687 # Not all programs may use this symbol, but it does not hurt to define it.
13689 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13691 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
13693 if test -n "$x_includes"; then
13694 X_CFLAGS
="$X_CFLAGS -I$x_includes"
13697 # It would also be nice to do this for all -L options, not just this one.
13698 if test -n "$x_libraries"; then
13699 X_LIBS
="$X_LIBS -L$x_libraries"
13700 # For Solaris; some versions of Sun CC require a space after -R and
13701 # others require no space. Words are not sufficient . . . .
13702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13703 printf %s
"checking whether -R must be followed by a space... " >&6; }
13704 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
13705 ac_xsave_c_werror_flag
=$ac_c_werror_flag
13706 ac_c_werror_flag
=yes
13707 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13708 /* end confdefs.h. */
13718 if ac_fn_c_try_link
"$LINENO"
13720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13721 printf "%s\n" "no" >&6; }
13722 X_LIBS
="$X_LIBS -R$x_libraries"
13724 LIBS
="$ac_xsave_LIBS -R $x_libraries"
13725 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13726 /* end confdefs.h. */
13736 if ac_fn_c_try_link
"$LINENO"
13738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13739 printf "%s\n" "yes" >&6; }
13740 X_LIBS
="$X_LIBS -R $x_libraries"
13742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13743 printf "%s\n" "neither works" >&6; }
13745 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13746 conftest
$ac_exeext conftest.
$ac_ext
13748 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13749 conftest
$ac_exeext conftest.
$ac_ext
13750 ac_c_werror_flag
=$ac_xsave_c_werror_flag
13751 LIBS
=$ac_xsave_LIBS
13754 # Check for system-dependent libraries X programs must link with.
13755 # Do this before checking for the system-independent R6 libraries
13756 # (-lICE), since we may need -lsocket or whatever for X linking.
13758 if test "$ISC" = yes; then
13759 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
13761 # Martyn Johnson says this is needed for Ultrix, if the X
13762 # libraries were built with DECnet support. And Karl Berry says
13763 # the Alpha needs dnet_stub (dnet does not exist).
13764 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
13765 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13766 /* end confdefs.h. */
13768 /* Override any GCC internal prototype to avoid an error.
13769 Use char because int might match the return type of a GCC
13770 builtin and then its argument prototype would still apply. */
13771 char XOpenDisplay ();
13775 return XOpenDisplay ();
13780 if ac_fn_c_try_link
"$LINENO"
13784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13785 printf %s
"checking for dnet_ntoa in -ldnet... " >&6; }
13786 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13788 printf %s
"(cached) " >&6
13790 ac_check_lib_save_LIBS
=$LIBS
13791 LIBS
="-ldnet $LIBS"
13792 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13793 /* end confdefs.h. */
13795 /* Override any GCC internal prototype to avoid an error.
13796 Use char because int might match the return type of a GCC
13797 builtin and then its argument prototype would still apply. */
13802 return dnet_ntoa ();
13807 if ac_fn_c_try_link
"$LINENO"
13809 ac_cv_lib_dnet_dnet_ntoa
=yes
13811 ac_cv_lib_dnet_dnet_ntoa
=no
13813 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13814 conftest
$ac_exeext conftest.
$ac_ext
13815 LIBS
=$ac_check_lib_save_LIBS
13817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13818 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13819 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13821 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
13824 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
13825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13826 printf %s
"checking for dnet_ntoa in -ldnet_stub... " >&6; }
13827 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
13829 printf %s
"(cached) " >&6
13831 ac_check_lib_save_LIBS
=$LIBS
13832 LIBS
="-ldnet_stub $LIBS"
13833 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13834 /* end confdefs.h. */
13836 /* Override any GCC internal prototype to avoid an error.
13837 Use char because int might match the return type of a GCC
13838 builtin and then its argument prototype would still apply. */
13843 return dnet_ntoa ();
13848 if ac_fn_c_try_link
"$LINENO"
13850 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
13852 ac_cv_lib_dnet_stub_dnet_ntoa
=no
13854 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13855 conftest
$ac_exeext conftest.
$ac_ext
13856 LIBS
=$ac_check_lib_save_LIBS
13858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
13859 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
13860 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
13862 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
13867 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13868 conftest
$ac_exeext conftest.
$ac_ext
13869 LIBS
="$ac_xsave_LIBS"
13871 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13872 # to get the SysV transport functions.
13873 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
13875 # The nsl library prevents programs from opening the X display
13876 # on Irix 5.2, according to T.E. Dickey.
13877 # The functions gethostbyname, getservbyname, and inet_addr are
13878 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
13879 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
13880 if test "x$ac_cv_func_gethostbyname" = xyes
13885 if test $ac_cv_func_gethostbyname = no
; then
13886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
13887 printf %s
"checking for gethostbyname in -lnsl... " >&6; }
13888 if test ${ac_cv_lib_nsl_gethostbyname+y}
13890 printf %s
"(cached) " >&6
13892 ac_check_lib_save_LIBS
=$LIBS
13894 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13895 /* end confdefs.h. */
13897 /* Override any GCC internal prototype to avoid an error.
13898 Use char because int might match the return type of a GCC
13899 builtin and then its argument prototype would still apply. */
13900 char gethostbyname ();
13904 return gethostbyname ();
13909 if ac_fn_c_try_link
"$LINENO"
13911 ac_cv_lib_nsl_gethostbyname
=yes
13913 ac_cv_lib_nsl_gethostbyname
=no
13915 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13916 conftest
$ac_exeext conftest.
$ac_ext
13917 LIBS
=$ac_check_lib_save_LIBS
13919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
13920 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
13921 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
13923 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
13926 if test $ac_cv_lib_nsl_gethostbyname = no
; then
13927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
13928 printf %s
"checking for gethostbyname in -lbsd... " >&6; }
13929 if test ${ac_cv_lib_bsd_gethostbyname+y}
13931 printf %s
"(cached) " >&6
13933 ac_check_lib_save_LIBS
=$LIBS
13935 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13936 /* end confdefs.h. */
13938 /* Override any GCC internal prototype to avoid an error.
13939 Use char because int might match the return type of a GCC
13940 builtin and then its argument prototype would still apply. */
13941 char gethostbyname ();
13945 return gethostbyname ();
13950 if ac_fn_c_try_link
"$LINENO"
13952 ac_cv_lib_bsd_gethostbyname
=yes
13954 ac_cv_lib_bsd_gethostbyname
=no
13956 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13957 conftest
$ac_exeext conftest.
$ac_ext
13958 LIBS
=$ac_check_lib_save_LIBS
13960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
13961 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
13962 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
13964 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
13970 # lieder@skyler.mavd.honeywell.com says without -lsocket,
13971 # socket/setsockopt and other routines are undefined under SCO ODT
13972 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
13973 # on later versions), says Simon Leinen: it contains gethostby*
13974 # variants that don't use the name server (or something). -lsocket
13975 # must be given before -lnsl if both are needed. We assume that
13976 # if connect needs -lnsl, so does gethostbyname.
13977 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
13978 if test "x$ac_cv_func_connect" = xyes
13983 if test $ac_cv_func_connect = no
; then
13984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
13985 printf %s
"checking for connect in -lsocket... " >&6; }
13986 if test ${ac_cv_lib_socket_connect+y}
13988 printf %s
"(cached) " >&6
13990 ac_check_lib_save_LIBS
=$LIBS
13991 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
13992 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13993 /* end confdefs.h. */
13995 /* Override any GCC internal prototype to avoid an error.
13996 Use char because int might match the return type of a GCC
13997 builtin and then its argument prototype would still apply. */
14007 if ac_fn_c_try_link
"$LINENO"
14009 ac_cv_lib_socket_connect
=yes
14011 ac_cv_lib_socket_connect
=no
14013 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14014 conftest
$ac_exeext conftest.
$ac_ext
14015 LIBS
=$ac_check_lib_save_LIBS
14017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14018 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14019 if test "x$ac_cv_lib_socket_connect" = xyes
14021 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
14026 # Guillermo Gomez says -lposix is necessary on A/UX.
14027 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
14028 if test "x$ac_cv_func_remove" = xyes
14033 if test $ac_cv_func_remove = no
; then
14034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14035 printf %s
"checking for remove in -lposix... " >&6; }
14036 if test ${ac_cv_lib_posix_remove+y}
14038 printf %s
"(cached) " >&6
14040 ac_check_lib_save_LIBS
=$LIBS
14041 LIBS
="-lposix $LIBS"
14042 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14043 /* end confdefs.h. */
14045 /* Override any GCC internal prototype to avoid an error.
14046 Use char because int might match the return type of a GCC
14047 builtin and then its argument prototype would still apply. */
14057 if ac_fn_c_try_link
"$LINENO"
14059 ac_cv_lib_posix_remove
=yes
14061 ac_cv_lib_posix_remove
=no
14063 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14064 conftest
$ac_exeext conftest.
$ac_ext
14065 LIBS
=$ac_check_lib_save_LIBS
14067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14068 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14069 if test "x$ac_cv_lib_posix_remove" = xyes
14071 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
14076 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14077 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
14078 if test "x$ac_cv_func_shmat" = xyes
14083 if test $ac_cv_func_shmat = no
; then
14084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14085 printf %s
"checking for shmat in -lipc... " >&6; }
14086 if test ${ac_cv_lib_ipc_shmat+y}
14088 printf %s
"(cached) " >&6
14090 ac_check_lib_save_LIBS
=$LIBS
14092 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14093 /* end confdefs.h. */
14095 /* Override any GCC internal prototype to avoid an error.
14096 Use char because int might match the return type of a GCC
14097 builtin and then its argument prototype would still apply. */
14107 if ac_fn_c_try_link
"$LINENO"
14109 ac_cv_lib_ipc_shmat
=yes
14111 ac_cv_lib_ipc_shmat
=no
14113 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14114 conftest
$ac_exeext conftest.
$ac_ext
14115 LIBS
=$ac_check_lib_save_LIBS
14117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14118 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14119 if test "x$ac_cv_lib_ipc_shmat" = xyes
14121 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
14127 # Check for libraries that X11R6 Xt/Xaw programs need.
14128 ac_save_LDFLAGS
=$LDFLAGS
14129 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
14130 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14131 # check for ICE first), but we must link in the order -lSM -lICE or
14132 # we get undefined symbols. So assume we have SM if we have ICE.
14133 # These have to be linked with before -lX11, unlike the other
14134 # libraries we check for below, so use a different variable.
14135 # John Interrante, Karl Berry
14136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14137 printf %s
"checking for IceConnectionNumber in -lICE... " >&6; }
14138 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14140 printf %s
"(cached) " >&6
14142 ac_check_lib_save_LIBS
=$LIBS
14143 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
14144 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14145 /* end confdefs.h. */
14147 /* Override any GCC internal prototype to avoid an error.
14148 Use char because int might match the return type of a GCC
14149 builtin and then its argument prototype would still apply. */
14150 char IceConnectionNumber ();
14154 return IceConnectionNumber ();
14159 if ac_fn_c_try_link
"$LINENO"
14161 ac_cv_lib_ICE_IceConnectionNumber
=yes
14163 ac_cv_lib_ICE_IceConnectionNumber
=no
14165 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14166 conftest
$ac_exeext conftest.
$ac_ext
14167 LIBS
=$ac_check_lib_save_LIBS
14169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14170 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14171 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14173 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
14176 LDFLAGS
=$ac_save_LDFLAGS
14181 if test "$have_x" = "yes"
14183 ac_save_CPPFLAGS
="$CPPFLAGS"
14184 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
14186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14187 printf %s
"checking for -lX11... " >&6; }
14188 if test ${ac_cv_lib_soname_X11+y}
14190 printf %s
"(cached) " >&6
14192 ac_check_soname_save_LIBS
=$LIBS
14193 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14194 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14195 /* end confdefs.h. */
14197 /* Override any GCC internal prototype to avoid an error.
14198 Use char because int might match the return type of a GCC
14199 builtin and then its argument prototype would still apply. */
14200 char XCreateWindow ();
14204 return XCreateWindow ();
14209 if ac_fn_c_try_link
"$LINENO"
14212 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14213 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'` ;;
14214 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14215 if ${ac_cv_lib_soname_X11:+false} :
14217 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14221 ac_cv_lib_soname_X11
=
14223 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14224 conftest
$ac_exeext conftest.
$ac_ext
14225 LIBS
=$ac_check_soname_save_LIBS
14227 if ${ac_cv_lib_soname_X11:+false} :
14229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14230 printf "%s\n" "not found" >&6; }
14233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14234 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14236 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14241 printf %s
"checking for -lXext... " >&6; }
14242 if test ${ac_cv_lib_soname_Xext+y}
14244 printf %s
"(cached) " >&6
14246 ac_check_soname_save_LIBS
=$LIBS
14247 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14248 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14249 /* end confdefs.h. */
14251 /* Override any GCC internal prototype to avoid an error.
14252 Use char because int might match the return type of a GCC
14253 builtin and then its argument prototype would still apply. */
14254 char XextCreateExtension ();
14258 return XextCreateExtension ();
14263 if ac_fn_c_try_link
"$LINENO"
14266 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14267 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'` ;;
14268 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14269 if ${ac_cv_lib_soname_Xext:+false} :
14271 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14275 ac_cv_lib_soname_Xext
=
14277 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14278 conftest
$ac_exeext conftest.
$ac_ext
14279 LIBS
=$ac_check_soname_save_LIBS
14281 if ${ac_cv_lib_soname_Xext:+false} :
14283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14284 printf "%s\n" "not found" >&6; }
14287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14288 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14290 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14292 X_LIBS
="$X_LIBS -lXext"
14294 X_LIBS
="$X_LIBS -lX11"
14296 ac_fn_c_check_header_compile
"$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
14297 # include <X11/Xlib.h>
14299 #ifdef HAVE_X11_XUTIL_H
14300 # include <X11/Xutil.h>
14303 if test "x$ac_cv_header_X11_Xlib_h" = xyes
14305 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14308 ac_fn_c_check_header_compile
"$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
14309 # include <X11/Xlib.h>
14311 #ifdef HAVE_X11_XUTIL_H
14312 # include <X11/Xutil.h>
14315 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
14317 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14320 ac_fn_c_check_header_compile
"$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
14321 # include <X11/Xlib.h>
14323 #ifdef HAVE_X11_XUTIL_H
14324 # include <X11/Xutil.h>
14327 if test "x$ac_cv_header_X11_Xutil_h" = xyes
14329 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14332 ac_fn_c_check_header_compile
"$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
14333 # include <X11/Xlib.h>
14335 #ifdef HAVE_X11_XUTIL_H
14336 # include <X11/Xutil.h>
14339 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14341 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14344 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
14345 # include <X11/Xlib.h>
14347 #ifdef HAVE_X11_XUTIL_H
14348 # include <X11/Xutil.h>
14351 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14353 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14356 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
14357 # include <X11/Xlib.h>
14359 #ifdef HAVE_X11_XUTIL_H
14360 # include <X11/Xutil.h>
14363 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14365 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14368 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
14369 # include <X11/Xlib.h>
14371 #ifdef HAVE_X11_XUTIL_H
14372 # include <X11/Xutil.h>
14375 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14377 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14380 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
14381 # include <X11/Xlib.h>
14383 #ifdef HAVE_X11_XUTIL_H
14384 # include <X11/Xutil.h>
14387 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14389 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14392 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
14393 # include <X11/Xlib.h>
14395 #ifdef HAVE_X11_XUTIL_H
14396 # include <X11/Xutil.h>
14399 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
14401 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14404 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
14405 # include <X11/Xlib.h>
14407 #ifdef HAVE_X11_XUTIL_H
14408 # include <X11/Xutil.h>
14411 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14413 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14416 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
14417 # include <X11/Xlib.h>
14419 #ifdef HAVE_X11_XUTIL_H
14420 # include <X11/Xutil.h>
14423 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14425 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14428 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
14429 # include <X11/Xlib.h>
14431 #ifdef HAVE_X11_XUTIL_H
14432 # include <X11/Xutil.h>
14435 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14437 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14440 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
14441 # include <X11/Xlib.h>
14443 #ifdef HAVE_X11_XUTIL_H
14444 # include <X11/Xutil.h>
14447 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14449 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14452 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
14453 # include <X11/Xlib.h>
14455 #ifdef HAVE_X11_XUTIL_H
14456 # include <X11/Xutil.h>
14459 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14461 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14464 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
14465 # include <X11/Xlib.h>
14467 #ifdef HAVE_X11_XUTIL_H
14468 # include <X11/Xutil.h>
14471 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14473 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14478 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14481 printf %s
"checking for -lXcursor... " >&6; }
14482 if test ${ac_cv_lib_soname_Xcursor+y}
14484 printf %s
"(cached) " >&6
14486 ac_check_soname_save_LIBS
=$LIBS
14487 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14488 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14489 /* end confdefs.h. */
14491 /* Override any GCC internal prototype to avoid an error.
14492 Use char because int might match the return type of a GCC
14493 builtin and then its argument prototype would still apply. */
14494 char XcursorImageLoadCursor ();
14498 return XcursorImageLoadCursor ();
14503 if ac_fn_c_try_link
"$LINENO"
14506 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14507 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'` ;;
14508 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14509 if ${ac_cv_lib_soname_Xcursor:+false} :
14511 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14515 ac_cv_lib_soname_Xcursor
=
14517 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14518 conftest
$ac_exeext conftest.
$ac_ext
14519 LIBS
=$ac_check_soname_save_LIBS
14521 if ${ac_cv_lib_soname_Xcursor:+false} :
14523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14524 printf "%s\n" "not found" >&6; }
14527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14528 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14530 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14535 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14537 case "x$with_xcursor" in
14538 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14540 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14541 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14546 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14549 printf %s
"checking for -lXi... " >&6; }
14550 if test ${ac_cv_lib_soname_Xi+y}
14552 printf %s
"(cached) " >&6
14554 ac_check_soname_save_LIBS
=$LIBS
14555 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14556 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14557 /* end confdefs.h. */
14559 /* Override any GCC internal prototype to avoid an error.
14560 Use char because int might match the return type of a GCC
14561 builtin and then its argument prototype would still apply. */
14562 char XOpenDevice ();
14566 return XOpenDevice ();
14571 if ac_fn_c_try_link
"$LINENO"
14574 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14575 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'` ;;
14576 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14577 if ${ac_cv_lib_soname_Xi:+false} :
14579 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14583 ac_cv_lib_soname_Xi
=
14585 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14586 conftest
$ac_exeext conftest.
$ac_ext
14587 LIBS
=$ac_check_soname_save_LIBS
14589 if ${ac_cv_lib_soname_Xi:+false} :
14591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14592 printf "%s\n" "not found" >&6; }
14595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14596 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14598 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14603 if test "x$ac_cv_lib_soname_Xi" = "x"
14605 case "x$with_xinput" in
14606 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14608 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14609 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14614 if test "x$ac_cv_lib_soname_Xi" != x
14616 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14618 case "x$with_xinput2" in
14619 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14621 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
14622 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14628 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14631 printf %s
"checking for XShmQueryExtension in -lXext... " >&6; }
14632 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14634 printf %s
"(cached) " >&6
14636 ac_check_lib_save_LIBS
=$LIBS
14637 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14638 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14639 /* end confdefs.h. */
14641 /* Override any GCC internal prototype to avoid an error.
14642 Use char because int might match the return type of a GCC
14643 builtin and then its argument prototype would still apply. */
14644 char XShmQueryExtension ();
14648 return XShmQueryExtension ();
14653 if ac_fn_c_try_link
"$LINENO"
14655 ac_cv_lib_Xext_XShmQueryExtension
=yes
14657 ac_cv_lib_Xext_XShmQueryExtension
=no
14659 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14660 conftest
$ac_exeext conftest.
$ac_ext
14661 LIBS
=$ac_check_lib_save_LIBS
14663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14664 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14665 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14668 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14673 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14675 case "x$with_xshm" in
14676 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14678 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14679 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14684 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14687 printf %s
"checking for XShapeQueryExtension in -lXext... " >&6; }
14688 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14690 printf %s
"(cached) " >&6
14692 ac_check_lib_save_LIBS
=$LIBS
14693 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14694 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14695 /* end confdefs.h. */
14697 /* Override any GCC internal prototype to avoid an error.
14698 Use char because int might match the return type of a GCC
14699 builtin and then its argument prototype would still apply. */
14700 char XShapeQueryExtension ();
14704 return XShapeQueryExtension ();
14709 if ac_fn_c_try_link
"$LINENO"
14711 ac_cv_lib_Xext_XShapeQueryExtension
=yes
14713 ac_cv_lib_Xext_XShapeQueryExtension
=no
14715 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14716 conftest
$ac_exeext conftest.
$ac_ext
14717 LIBS
=$ac_check_lib_save_LIBS
14719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14720 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14721 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14724 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14729 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14731 case "x$with_xshape" in
14732 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14734 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
14735 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14740 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14743 printf %s
"checking for -lXxf86vm... " >&6; }
14744 if test ${ac_cv_lib_soname_Xxf86vm+y}
14746 printf %s
"(cached) " >&6
14748 ac_check_soname_save_LIBS
=$LIBS
14749 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14750 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14751 /* end confdefs.h. */
14753 /* Override any GCC internal prototype to avoid an error.
14754 Use char because int might match the return type of a GCC
14755 builtin and then its argument prototype would still apply. */
14756 char XF86VidModeQueryExtension ();
14760 return XF86VidModeQueryExtension ();
14765 if ac_fn_c_try_link
"$LINENO"
14768 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14769 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'` ;;
14770 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14771 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14773 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14777 ac_cv_lib_soname_Xxf86vm
=
14779 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14780 conftest
$ac_exeext conftest.
$ac_ext
14781 LIBS
=$ac_check_soname_save_LIBS
14783 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14786 printf "%s\n" "not found" >&6; }
14789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
14790 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
14792 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
14797 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
14799 case "x$with_xxf86vm" in
14800 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
14802 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
14803 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
14808 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
14810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
14811 printf %s
"checking for -lXrender... " >&6; }
14812 if test ${ac_cv_lib_soname_Xrender+y}
14814 printf %s
"(cached) " >&6
14816 ac_check_soname_save_LIBS
=$LIBS
14817 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14818 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14819 /* end confdefs.h. */
14821 /* Override any GCC internal prototype to avoid an error.
14822 Use char because int might match the return type of a GCC
14823 builtin and then its argument prototype would still apply. */
14824 char XRenderQueryExtension ();
14828 return XRenderQueryExtension ();
14833 if ac_fn_c_try_link
"$LINENO"
14836 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14837 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'` ;;
14838 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14839 if ${ac_cv_lib_soname_Xrender:+false} :
14841 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14845 ac_cv_lib_soname_Xrender
=
14847 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14848 conftest
$ac_exeext conftest.
$ac_ext
14849 LIBS
=$ac_check_soname_save_LIBS
14851 if ${ac_cv_lib_soname_Xrender:+false} :
14853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14854 printf "%s\n" "not found" >&6; }
14857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
14858 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
14860 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
14862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
14863 printf %s
"checking for XRenderSetPictureTransform in -lXrender... " >&6; }
14864 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
14866 printf %s
"(cached) " >&6
14868 ac_check_lib_save_LIBS
=$LIBS
14869 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14870 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14871 /* end confdefs.h. */
14873 /* Override any GCC internal prototype to avoid an error.
14874 Use char because int might match the return type of a GCC
14875 builtin and then its argument prototype would still apply. */
14876 char XRenderSetPictureTransform ();
14880 return XRenderSetPictureTransform ();
14885 if ac_fn_c_try_link
"$LINENO"
14887 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
14889 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
14891 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14892 conftest
$ac_exeext conftest.
$ac_ext
14893 LIBS
=$ac_check_lib_save_LIBS
14895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
14896 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
14897 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
14900 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
14904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
14905 printf %s
"checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
14906 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
14908 printf %s
"(cached) " >&6
14910 ac_check_lib_save_LIBS
=$LIBS
14911 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14912 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14913 /* end confdefs.h. */
14915 /* Override any GCC internal prototype to avoid an error.
14916 Use char because int might match the return type of a GCC
14917 builtin and then its argument prototype would still apply. */
14918 char XRenderCreateLinearGradient ();
14922 return XRenderCreateLinearGradient ();
14927 if ac_fn_c_try_link
"$LINENO"
14929 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
14931 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
14933 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14934 conftest
$ac_exeext conftest.
$ac_ext
14935 LIBS
=$ac_check_lib_save_LIBS
14937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
14938 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
14939 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
14942 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
14949 if test "x$ac_cv_lib_soname_Xrender" = "x"
14951 case "x$with_xrender" in
14952 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
14954 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
14955 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
14960 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
14962 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14963 /* end confdefs.h. */
14964 #include <X11/Xlib.h>
14965 #include <X11/extensions/Xrandr.h>
14969 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
14974 if ac_fn_c_try_compile
"$LINENO"
14976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
14977 printf %s
"checking for -lXrandr... " >&6; }
14978 if test ${ac_cv_lib_soname_Xrandr+y}
14980 printf %s
"(cached) " >&6
14982 ac_check_soname_save_LIBS
=$LIBS
14983 LIBS
="-lXrandr $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 XRRQueryExtension ();
14994 return XRRQueryExtension ();
14999 if ac_fn_c_try_link
"$LINENO"
15002 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15003 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'` ;;
15004 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15005 if ${ac_cv_lib_soname_Xrandr:+false} :
15007 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15011 ac_cv_lib_soname_Xrandr
=
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_Xrandr:+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_Xrandr" >&5
15024 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15026 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15028 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15029 /* end confdefs.h. */
15030 #include <X11/Xlib.h>
15031 #include <X11/extensions/Xrandr.h>
15035 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15040 if ac_fn_c_try_compile
"$LINENO"
15043 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15046 as_fn_append wine_notices
"|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15048 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15051 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15053 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15055 case "x$with_xrandr" in
15056 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15058 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15059 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15064 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15066 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15067 /* end confdefs.h. */
15068 #include <X11/Xlib.h>
15069 #include <X11/extensions/Xfixes.h>
15073 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15078 if ac_fn_c_try_compile
"$LINENO"
15080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15081 printf %s
"checking for -lXfixes... " >&6; }
15082 if test ${ac_cv_lib_soname_Xfixes+y}
15084 printf %s
"(cached) " >&6
15086 ac_check_soname_save_LIBS
=$LIBS
15087 LIBS
="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15088 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15089 /* end confdefs.h. */
15091 /* Override any GCC internal prototype to avoid an error.
15092 Use char because int might match the return type of a GCC
15093 builtin and then its argument prototype would still apply. */
15094 char XFixesQueryVersion ();
15098 return XFixesQueryVersion ();
15103 if ac_fn_c_try_link
"$LINENO"
15106 dll
) ac_cv_lib_soname_Xfixes
=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15107 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'` ;;
15108 *) ac_cv_lib_soname_Xfixes
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15109 if ${ac_cv_lib_soname_Xfixes:+false} :
15111 ac_cv_lib_soname_Xfixes
=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15115 ac_cv_lib_soname_Xfixes
=
15117 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15118 conftest
$ac_exeext conftest.
$ac_ext
15119 LIBS
=$ac_check_soname_save_LIBS
15121 if ${ac_cv_lib_soname_Xfixes:+false} :
15123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15124 printf "%s\n" "not found" >&6; }
15127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15128 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15130 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15135 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15137 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15139 case "x$with_xfixes" in
15140 x
) as_fn_append wine_notices
"|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15142 *) as_fn_error $?
"libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15143 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15148 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15150 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15151 /* end confdefs.h. */
15152 #include <X11/Xlib.h>
15153 #include <X11/extensions/Xinerama.h>
15157 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15162 if ac_fn_c_try_compile
"$LINENO"
15164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15165 printf %s
"checking for -lXinerama... " >&6; }
15166 if test ${ac_cv_lib_soname_Xinerama+y}
15168 printf %s
"(cached) " >&6
15170 ac_check_soname_save_LIBS
=$LIBS
15171 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15172 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15173 /* end confdefs.h. */
15175 /* Override any GCC internal prototype to avoid an error.
15176 Use char because int might match the return type of a GCC
15177 builtin and then its argument prototype would still apply. */
15178 char XineramaQueryScreens ();
15182 return XineramaQueryScreens ();
15187 if ac_fn_c_try_link
"$LINENO"
15190 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15191 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'` ;;
15192 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15193 if ${ac_cv_lib_soname_Xinerama:+false} :
15195 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15199 ac_cv_lib_soname_Xinerama
=
15201 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15202 conftest
$ac_exeext conftest.
$ac_ext
15203 LIBS
=$ac_check_soname_save_LIBS
15205 if ${ac_cv_lib_soname_Xinerama:+false} :
15207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15208 printf "%s\n" "not found" >&6; }
15211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15212 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15214 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15219 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15221 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15223 case "x$with_xinerama" in
15224 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15226 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15227 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15232 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15235 printf %s
"checking for -lXcomposite... " >&6; }
15236 if test ${ac_cv_lib_soname_Xcomposite+y}
15238 printf %s
"(cached) " >&6
15240 ac_check_soname_save_LIBS
=$LIBS
15241 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15242 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15243 /* end confdefs.h. */
15245 /* Override any GCC internal prototype to avoid an error.
15246 Use char because int might match the return type of a GCC
15247 builtin and then its argument prototype would still apply. */
15248 char XCompositeRedirectWindow ();
15252 return XCompositeRedirectWindow ();
15257 if ac_fn_c_try_link
"$LINENO"
15260 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15261 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'` ;;
15262 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15263 if ${ac_cv_lib_soname_Xcomposite:+false} :
15265 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15269 ac_cv_lib_soname_Xcomposite
=
15271 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15272 conftest
$ac_exeext conftest.
$ac_ext
15273 LIBS
=$ac_check_soname_save_LIBS
15275 if ${ac_cv_lib_soname_Xcomposite:+false} :
15277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15278 printf "%s\n" "not found" >&6; }
15281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15282 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15284 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15289 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15291 case "x$with_xcomposite" in
15292 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15294 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15295 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15300 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
15301 #include <X11/Xlib.h>
15304 if test "x$ac_cv_member_XICCallback_callback" = xyes
15307 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15311 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15312 #include <X11/Xlib.h>
15315 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15318 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15326 if test "x$with_opengl" != "xno"
15328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15329 printf %s
"checking for -lGL... " >&6; }
15330 if test ${ac_cv_lib_soname_GL+y}
15332 printf %s
"(cached) " >&6
15334 ac_check_soname_save_LIBS
=$LIBS
15335 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15336 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15337 /* end confdefs.h. */
15339 /* Override any GCC internal prototype to avoid an error.
15340 Use char because int might match the return type of a GCC
15341 builtin and then its argument prototype would still apply. */
15342 char glXCreateContext ();
15346 return glXCreateContext ();
15351 if ac_fn_c_try_link
"$LINENO"
15354 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15355 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'` ;;
15356 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15357 if ${ac_cv_lib_soname_GL:+false} :
15359 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15363 ac_cv_lib_soname_GL
=
15365 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15366 conftest
$ac_exeext conftest.
$ac_ext
15367 LIBS
=$ac_check_soname_save_LIBS
15369 if ${ac_cv_lib_soname_GL:+false} :
15371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15372 printf "%s\n" "not found" >&6; }
15373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15374 printf %s
"checking for -lGL... " >&6; }
15375 if test ${ac_cv_lib_soname_GL+y}
15377 printf %s
"(cached) " >&6
15379 ac_check_soname_save_LIBS
=$LIBS
15380 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"
15381 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15382 /* end confdefs.h. */
15384 /* Override any GCC internal prototype to avoid an error.
15385 Use char because int might match the return type of a GCC
15386 builtin and then its argument prototype would still apply. */
15387 char glXCreateContext ();
15391 return glXCreateContext ();
15396 if ac_fn_c_try_link
"$LINENO"
15399 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15400 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'` ;;
15401 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15402 if ${ac_cv_lib_soname_GL:+false} :
15404 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15408 ac_cv_lib_soname_GL
=
15410 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15411 conftest
$ac_exeext conftest.
$ac_ext
15412 LIBS
=$ac_check_soname_save_LIBS
15414 if ${ac_cv_lib_soname_GL:+false} :
15416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15417 printf "%s\n" "not found" >&6; }
15418 if test -f /usr
/X11R
6/lib
/libGL.a
15420 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
15421 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15423 opengl_msg
="No OpenGL library found on this system."
15426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15427 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15429 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15431 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"
15434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15435 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15437 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15441 if test "x$with_osmesa" != "xno"
15443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15444 printf %s
"checking for -lOSMesa... " >&6; }
15445 if test ${ac_cv_lib_soname_OSMesa+y}
15447 printf %s
"(cached) " >&6
15449 ac_check_soname_save_LIBS
=$LIBS
15450 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15451 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15452 /* end confdefs.h. */
15454 /* Override any GCC internal prototype to avoid an error.
15455 Use char because int might match the return type of a GCC
15456 builtin and then its argument prototype would still apply. */
15457 char OSMesaGetProcAddress ();
15461 return OSMesaGetProcAddress ();
15466 if ac_fn_c_try_link
"$LINENO"
15469 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15470 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'` ;;
15471 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15472 if ${ac_cv_lib_soname_OSMesa:+false} :
15474 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15478 ac_cv_lib_soname_OSMesa
=
15480 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15481 conftest
$ac_exeext conftest.
$ac_ext
15482 LIBS
=$ac_check_soname_save_LIBS
15484 if ${ac_cv_lib_soname_OSMesa:+false} :
15486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15487 printf "%s\n" "not found" >&6; }
15490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15491 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15493 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15497 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15499 case "x$with_osmesa" in
15500 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15502 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15503 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15509 if test -n "$opengl_msg"
15511 case "x$with_opengl" in
15512 x
) as_fn_append wine_warnings
"|$opengl_msg
15513 OpenGL and Direct3D won't be supported." ;;
15515 *) as_fn_error $?
"$opengl_msg
15516 OpenGL and Direct3D won't be supported.
15517 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15522 CPPFLAGS
="$ac_save_CPPFLAGS"
15528 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15530 if test "x$X_LIBS" = "x"
15534 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
15535 without X support, which probably isn't what you want. You will need
15536 to install ${notice_platform}development packages of Xlib at the very least.
15537 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15539 enable_winex11_drv
=${enable_winex11_drv:-no}
15542 if test "x$X_LIBS" = "x"
15545 x
) as_fn_append wine_notices
"|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15547 *) as_fn_error $?
"X ${notice_platform}development files not found, the X11 driver won't be supported.
15548 This is an error since --with-x was requested." "$LINENO" 5 ;;
15550 enable_winex11_drv
=${enable_winex11_drv:-no}
15554 if test "x$with_wayland" != "xno"
15557 if ${WAYLAND_CLIENT_CFLAGS:+false} :
15559 if test ${PKG_CONFIG+y}
15561 WAYLAND_CLIENT_CFLAGS
=`$PKG_CONFIG --cflags wayland-client 2>conftest.err`
15565 if ${WAYLAND_CLIENT_LIBS:+false} :
15567 if test ${PKG_CONFIG+y}
15569 WAYLAND_CLIENT_LIBS
=`$PKG_CONFIG --libs wayland-client 2>/dev/null`
15574 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client cflags: $WAYLAND_CLIENT_CFLAGS" >&5
15575 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client libs: $WAYLAND_CLIENT_LIBS" >&5
15576 if test -s conftest.err
; then
15577 printf %s
"$as_me:${as_lineno-$LINENO}: wayland-client errors: " >&5
15578 cat conftest.err
>&5
15581 ac_save_CPPFLAGS
=$CPPFLAGS
15582 CPPFLAGS
="$CPPFLAGS $WAYLAND_CLIENT_CFLAGS"
15583 for ac_header
in wayland-client.h
15585 ac_fn_c_check_header_compile
"$LINENO" "wayland-client.h" "ac_cv_header_wayland_client_h" "$ac_includes_default"
15586 if test "x$ac_cv_header_wayland_client_h" = xyes
15588 printf "%s\n" "#define HAVE_WAYLAND_CLIENT_H 1" >>confdefs.h
15589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wl_display_connect in -lwayland-client" >&5
15590 printf %s
"checking for wl_display_connect in -lwayland-client... " >&6; }
15591 if test ${ac_cv_lib_wayland_client_wl_display_connect+y}
15593 printf %s
"(cached) " >&6
15595 ac_check_lib_save_LIBS
=$LIBS
15596 LIBS
="-lwayland-client $WAYLAND_CLIENT_LIBS $LIBS"
15597 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15598 /* end confdefs.h. */
15600 /* Override any GCC internal prototype to avoid an error.
15601 Use char because int might match the return type of a GCC
15602 builtin and then its argument prototype would still apply. */
15603 char wl_display_connect ();
15607 return wl_display_connect ();
15612 if ac_fn_c_try_link
"$LINENO"
15614 ac_cv_lib_wayland_client_wl_display_connect
=yes
15616 ac_cv_lib_wayland_client_wl_display_connect
=no
15618 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15619 conftest
$ac_exeext conftest.
$ac_ext
15620 LIBS
=$ac_check_lib_save_LIBS
15622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wayland_client_wl_display_connect" >&5
15623 printf "%s\n" "$ac_cv_lib_wayland_client_wl_display_connect" >&6; }
15624 if test "x$ac_cv_lib_wayland_client_wl_display_connect" = xyes
15626 # Extract the first word of "wayland-scanner", so it can be a program name with args.
15627 set dummy wayland-scanner
; ac_word
=$2
15628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15629 printf %s
"checking for $ac_word... " >&6; }
15630 if test ${ac_cv_path_WAYLAND_SCANNER+y}
15632 printf %s
"(cached) " >&6
15634 case $WAYLAND_SCANNER in
15636 ac_cv_path_WAYLAND_SCANNER
="$WAYLAND_SCANNER" # Let the user override the test with a path.
15639 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15640 for as_dir
in $PATH
15643 case $as_dir in #(((
15646 *) as_dir
=$as_dir/ ;;
15648 for ac_exec_ext
in '' $ac_executable_extensions; do
15649 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
15650 ac_cv_path_WAYLAND_SCANNER
="$as_dir$ac_word$ac_exec_ext"
15651 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
15658 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`"
15662 WAYLAND_SCANNER
=$ac_cv_path_WAYLAND_SCANNER
15663 if test -n "$WAYLAND_SCANNER"; then
15664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $WAYLAND_SCANNER" >&5
15665 printf "%s\n" "$WAYLAND_SCANNER" >&6; }
15667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15668 printf "%s\n" "no" >&6; }
15673 WAYLAND_CLIENT_LIBS
=""
15679 CPPFLAGS
=$ac_save_CPPFLAGS
15682 if test -z "$WAYLAND_CLIENT_LIBS" -o -z "$WAYLAND_SCANNER"
15684 case "x$with_wayland" in
15685 x
) as_fn_append wine_notices
"|Wayland ${notice_platform}development files not found, the Wayland driver won't be supported." ;;
15687 *) as_fn_error $?
"Wayland ${notice_platform}development files not found, the Wayland driver won't be supported.
15688 This is an error since --with-wayland was requested." "$LINENO" 5 ;;
15690 enable_winewayland_drv
=${enable_winewayland_drv:-no}
15693 if test "$ac_cv_header_CL_cl_h" = "yes"
15695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15696 printf %s
"checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15697 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15699 printf %s
"(cached) " >&6
15701 ac_check_lib_save_LIBS
=$LIBS
15702 LIBS
="-lOpenCL $LIBS"
15703 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15704 /* end confdefs.h. */
15706 /* Override any GCC internal prototype to avoid an error.
15707 Use char because int might match the return type of a GCC
15708 builtin and then its argument prototype would still apply. */
15709 char clGetPlatformInfo ();
15713 return clGetPlatformInfo ();
15718 if ac_fn_c_try_link
"$LINENO"
15720 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
15722 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
15724 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15725 conftest
$ac_exeext conftest.
$ac_ext
15726 LIBS
=$ac_check_lib_save_LIBS
15728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15729 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15730 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15732 OPENCL_LIBS
="-lOpenCL"
15737 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15739 case "x$with_opencl" in
15740 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15742 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15743 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15745 enable_opencl
=${enable_opencl:-no}
15748 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_init in -lpcap" >&5
15751 printf %s
"checking for pcap_init in -lpcap... " >&6; }
15752 if test ${ac_cv_lib_pcap_pcap_init+y}
15754 printf %s
"(cached) " >&6
15756 ac_check_lib_save_LIBS
=$LIBS
15757 LIBS
="-lpcap $LIBS"
15758 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15759 /* end confdefs.h. */
15761 /* Override any GCC internal prototype to avoid an error.
15762 Use char because int might match the return type of a GCC
15763 builtin and then its argument prototype would still apply. */
15768 return pcap_init ();
15773 if ac_fn_c_try_link
"$LINENO"
15775 ac_cv_lib_pcap_pcap_init
=yes
15777 ac_cv_lib_pcap_pcap_init
=no
15779 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15780 conftest
$ac_exeext conftest.
$ac_ext
15781 LIBS
=$ac_check_lib_save_LIBS
15783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_init" >&5
15784 printf "%s\n" "$ac_cv_lib_pcap_pcap_init" >&6; }
15785 if test "x$ac_cv_lib_pcap_pcap_init" = xyes
15792 if test "x$ac_cv_lib_pcap_pcap_init" != xyes
15794 case "x$with_pcap" in
15795 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15797 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
15798 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15800 enable_wpcap
=${enable_wpcap:-no}
15803 if test "x$with_pcsclite" != "xno"
15805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SCardEstablishContext in -lpcsclite" >&5
15806 printf %s
"checking for SCardEstablishContext in -lpcsclite... " >&6; }
15807 if test ${ac_cv_lib_pcsclite_SCardEstablishContext+y}
15809 printf %s
"(cached) " >&6
15811 ac_check_lib_save_LIBS
=$LIBS
15812 LIBS
="-lpcsclite $LIBS"
15813 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15814 /* end confdefs.h. */
15816 /* Override any GCC internal prototype to avoid an error.
15817 Use char because int might match the return type of a GCC
15818 builtin and then its argument prototype would still apply. */
15819 char SCardEstablishContext ();
15823 return SCardEstablishContext ();
15828 if ac_fn_c_try_link
"$LINENO"
15830 ac_cv_lib_pcsclite_SCardEstablishContext
=yes
15832 ac_cv_lib_pcsclite_SCardEstablishContext
=no
15834 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15835 conftest
$ac_exeext conftest.
$ac_ext
15836 LIBS
=$ac_check_lib_save_LIBS
15838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcsclite_SCardEstablishContext" >&5
15839 printf "%s\n" "$ac_cv_lib_pcsclite_SCardEstablishContext" >&6; }
15840 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" = xyes
15842 PCSCLITE_LIBS
="-lpcsclite"
15847 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" != xyes
15849 case "x$with_pcsclite" in
15850 x
) as_fn_append wine_notices
"|libpcsclite not found, smart cards won't be supported." ;;
15852 *) as_fn_error $?
"libpcsclite not found, smart cards won't be supported.
15853 This is an error since --with-pcsclite was requested." "$LINENO" 5 ;;
15855 enable_winscard
=${enable_winscard:-no}
15858 if test "x$with_inotify" != "xno"
15861 if ${INOTIFY_CFLAGS:+false} :
15863 if test ${PKG_CONFIG+y}
15865 INOTIFY_CFLAGS
=`$PKG_CONFIG --cflags libinotify 2>conftest.err`
15869 if ${INOTIFY_LIBS:+false} :
15871 if test ${PKG_CONFIG+y}
15873 INOTIFY_LIBS
=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15878 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15879 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15880 if test -s conftest.err
; then
15881 printf %s
"$as_me:${as_lineno-$LINENO}: libinotify errors: " >&5
15882 cat conftest.err
>&5
15885 ac_save_CPPFLAGS
=$CPPFLAGS
15886 CPPFLAGS
="$CPPFLAGS $INOTIFY_CFLAGS"
15887 ac_fn_c_check_header_compile
"$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15888 if test "x$ac_cv_header_sys_inotify_h" = xyes
15890 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15895 printf %s
"checking for inotify_add_watch in -linotify... " >&6; }
15896 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15898 printf %s
"(cached) " >&6
15900 ac_check_lib_save_LIBS
=$LIBS
15901 LIBS
="-linotify $INOTIFY_LIBS $LIBS"
15902 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15903 /* end confdefs.h. */
15905 /* Override any GCC internal prototype to avoid an error.
15906 Use char because int might match the return type of a GCC
15907 builtin and then its argument prototype would still apply. */
15908 char inotify_add_watch ();
15912 return inotify_add_watch ();
15917 if ac_fn_c_try_link
"$LINENO"
15919 ac_cv_lib_inotify_inotify_add_watch
=yes
15921 ac_cv_lib_inotify_inotify_add_watch
=no
15923 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15924 conftest
$ac_exeext conftest.
$ac_ext
15925 LIBS
=$ac_check_lib_save_LIBS
15927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15928 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
15929 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
15936 CPPFLAGS
=$ac_save_CPPFLAGS
15939 if test "$ac_cv_header_sys_inotify_h" != "yes"
15941 case "x$with_inotify" in
15942 x
) as_fn_append wine_notices
"|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
15944 *) as_fn_error $?
"libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
15945 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
15950 if test "x$with_dbus" != "xno"
15953 if ${DBUS_CFLAGS:+false} :
15955 if test ${PKG_CONFIG+y}
15957 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>conftest.err`
15961 if ${DBUS_LIBS:+false} :
15963 if test ${PKG_CONFIG+y}
15965 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
15970 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
15971 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
15972 if test -s conftest.err
; then
15973 printf %s
"$as_me:${as_lineno-$LINENO}: dbus-1 errors: " >&5
15974 cat conftest.err
>&5
15977 ac_save_CPPFLAGS
=$CPPFLAGS
15978 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
15979 ac_fn_c_check_header_compile
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
15980 if test "x$ac_cv_header_dbus_dbus_h" = xyes
15982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
15983 printf %s
"checking for -ldbus-1... " >&6; }
15984 if test ${ac_cv_lib_soname_dbus_1+y}
15986 printf %s
"(cached) " >&6
15988 ac_check_soname_save_LIBS
=$LIBS
15989 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
15990 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15991 /* end confdefs.h. */
15993 /* Override any GCC internal prototype to avoid an error.
15994 Use char because int might match the return type of a GCC
15995 builtin and then its argument prototype would still apply. */
15996 char dbus_connection_close ();
16000 return dbus_connection_close ();
16005 if ac_fn_c_try_link
"$LINENO"
16008 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16009 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'` ;;
16010 *) 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'`
16011 if ${ac_cv_lib_soname_dbus_1:+false} :
16013 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16017 ac_cv_lib_soname_dbus_1
=
16019 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16020 conftest
$ac_exeext conftest.
$ac_ext
16021 LIBS
=$ac_check_soname_save_LIBS
16023 if ${ac_cv_lib_soname_dbus_1:+false} :
16025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16026 printf "%s\n" "not found" >&6; }
16029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16030 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16032 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16040 CPPFLAGS
=$ac_save_CPPFLAGS
16044 darwin
*|macosx
*) ;;
16045 *) if test "x$ac_cv_lib_soname_dbus_1" = "x"
16047 case "x$with_dbus" in
16048 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16050 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
16051 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16057 if test "x$with_gnutls" != "xno"
16060 if ${GNUTLS_CFLAGS:+false} :
16062 if test ${PKG_CONFIG+y}
16064 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>conftest.err`
16068 if ${GNUTLS_LIBS:+false} :
16070 if test ${PKG_CONFIG+y}
16072 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16076 GNUTLS_LIBS
=${GNUTLS_LIBS:-"-lgnutls"}
16077 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16078 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16079 if test -s conftest.err
; then
16080 printf %s
"$as_me:${as_lineno-$LINENO}: gnutls errors: " >&5
16081 cat conftest.err
>&5
16084 ac_save_CPPFLAGS
=$CPPFLAGS
16085 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
16086 ac_fn_c_check_header_compile
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16087 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16089 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16090 /* end confdefs.h. */
16091 #include <gnutls/gnutls.h>
16092 #include <gnutls/crypto.h>
16096 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16101 if ac_fn_c_try_compile
"$LINENO"
16103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16104 printf %s
"checking for -lgnutls... " >&6; }
16105 if test ${ac_cv_lib_soname_gnutls+y}
16107 printf %s
"(cached) " >&6
16109 ac_check_soname_save_LIBS
=$LIBS
16110 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
16111 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16112 /* end confdefs.h. */
16114 /* Override any GCC internal prototype to avoid an error.
16115 Use char because int might match the return type of a GCC
16116 builtin and then its argument prototype would still apply. */
16117 char gnutls_global_init ();
16121 return gnutls_global_init ();
16126 if ac_fn_c_try_link
"$LINENO"
16129 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16130 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'` ;;
16131 *) 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'`
16132 if ${ac_cv_lib_soname_gnutls:+false} :
16134 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'`
16138 ac_cv_lib_soname_gnutls
=
16140 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16141 conftest
$ac_exeext conftest.
$ac_ext
16142 LIBS
=$ac_check_soname_save_LIBS
16144 if ${ac_cv_lib_soname_gnutls:+false} :
16146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16147 printf "%s\n" "not found" >&6; }
16150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16151 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16153 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16157 ac_wine_check_funcs_save_LIBS
="$LIBS"
16158 LIBS
="$LIBS $GNUTLS_LIBS"
16160 for ac_func
in gnutls_cipher_init
16162 ac_fn_c_check_func
"$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16163 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16165 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16168 as_fn_append wine_notices
"|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16172 LIBS
="$ac_wine_check_funcs_save_LIBS"
16174 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16179 CPPFLAGS
=$ac_save_CPPFLAGS
16182 if test "x$ac_cv_lib_soname_gnutls" = "x"
16184 case "x$with_gnutls" in
16185 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16187 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
16188 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16193 if test "x$with_sane" != "xno"
16196 if ${SANE_CFLAGS:+false} :
16198 if test ${PKG_CONFIG+y}
16200 SANE_CFLAGS
=`$PKG_CONFIG --cflags sane-backends 2>conftest.err`
16203 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16204 if ${SANE_LIBS:+false} :
16206 if test ${PKG_CONFIG+y}
16208 SANE_LIBS
=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16211 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16213 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16214 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16215 if test -s conftest.err
; then
16216 printf %s
"$as_me:${as_lineno-$LINENO}: sane-backends errors: " >&5
16217 cat conftest.err
>&5
16220 ac_save_CPPFLAGS
=$CPPFLAGS
16221 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
16222 ac_fn_c_check_header_compile
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16223 if test "x$ac_cv_header_sane_sane_h" = xyes
16225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16226 printf %s
"checking for sane_init in -lsane... " >&6; }
16227 if test ${ac_cv_lib_sane_sane_init+y}
16229 printf %s
"(cached) " >&6
16231 ac_check_lib_save_LIBS
=$LIBS
16232 LIBS
="-lsane $SANE_LIBS $LIBS"
16233 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16234 /* end confdefs.h. */
16236 /* Override any GCC internal prototype to avoid an error.
16237 Use char because int might match the return type of a GCC
16238 builtin and then its argument prototype would still apply. */
16243 return sane_init ();
16248 if ac_fn_c_try_link
"$LINENO"
16250 ac_cv_lib_sane_sane_init
=yes
16252 ac_cv_lib_sane_sane_init
=no
16254 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16255 conftest
$ac_exeext conftest.
$ac_ext
16256 LIBS
=$ac_check_lib_save_LIBS
16258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16259 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16260 if test "x$ac_cv_lib_sane_sane_init" = xyes
16267 CPPFLAGS
=$ac_save_CPPFLAGS
16270 if test "$ac_cv_lib_sane_sane_init" != "yes"
16272 case "x$with_sane" in
16273 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16275 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
16276 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16278 enable_sane_ds
=${enable_sane_ds:-no}
16281 if test "x$with_usb" != "xno"
16284 if ${USB_CFLAGS:+false} :
16286 if test ${PKG_CONFIG+y}
16288 USB_CFLAGS
=`$PKG_CONFIG --cflags libusb-1.0 2>conftest.err`
16292 if ${USB_LIBS:+false} :
16294 if test ${PKG_CONFIG+y}
16296 USB_LIBS
=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16300 USB_LIBS
=${USB_LIBS:-"-lusb-1.0"}
16301 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16302 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16303 if test -s conftest.err
; then
16304 printf %s
"$as_me:${as_lineno-$LINENO}: libusb-1.0 errors: " >&5
16305 cat conftest.err
>&5
16308 ac_save_CPPFLAGS
=$CPPFLAGS
16309 CPPFLAGS
="$CPPFLAGS $USB_CFLAGS"
16310 ac_fn_c_check_header_compile
"$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16311 if test "x$ac_cv_header_libusb_h" = xyes
16313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16314 printf %s
"checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16315 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16317 printf %s
"(cached) " >&6
16319 ac_check_lib_save_LIBS
=$LIBS
16320 LIBS
="-lusb-1.0 $USB_LIBS $LIBS"
16321 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16322 /* end confdefs.h. */
16324 /* Override any GCC internal prototype to avoid an error.
16325 Use char because int might match the return type of a GCC
16326 builtin and then its argument prototype would still apply. */
16327 char libusb_interrupt_event_handler ();
16331 return libusb_interrupt_event_handler ();
16336 if ac_fn_c_try_link
"$LINENO"
16338 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler
=yes
16340 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler
=no
16342 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16343 conftest
$ac_exeext conftest.
$ac_ext
16344 LIBS
=$ac_check_lib_save_LIBS
16346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16347 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16348 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16359 CPPFLAGS
=$ac_save_CPPFLAGS
16362 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16364 case "x$with_usb" in
16365 x
) as_fn_append wine_notices
"|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16367 *) as_fn_error $?
"libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16368 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16370 enable_wineusb_sys
=${enable_wineusb_sys:-no}
16373 if test "x$with_v4l2" != "xno"
16375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16376 printf %s
"checking for -lv4l2... " >&6; }
16377 if test ${ac_cv_lib_soname_v4l2+y}
16379 printf %s
"(cached) " >&6
16381 ac_check_soname_save_LIBS
=$LIBS
16382 LIBS
="-lv4l2 $LIBS"
16383 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16384 /* end confdefs.h. */
16386 /* Override any GCC internal prototype to avoid an error.
16387 Use char because int might match the return type of a GCC
16388 builtin and then its argument prototype would still apply. */
16393 return v4l2_open ();
16398 if ac_fn_c_try_link
"$LINENO"
16401 dll
) ac_cv_lib_soname_v4l2
=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16402 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'` ;;
16403 *) ac_cv_lib_soname_v4l2
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16404 if ${ac_cv_lib_soname_v4l2:+false} :
16406 ac_cv_lib_soname_v4l2
=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16410 ac_cv_lib_soname_v4l2
=
16412 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16413 conftest
$ac_exeext conftest.
$ac_ext
16414 LIBS
=$ac_check_soname_save_LIBS
16416 if ${ac_cv_lib_soname_v4l2:+false} :
16418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16419 printf "%s\n" "not found" >&6; }
16422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16423 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16425 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16430 if test "x$ac_cv_lib_soname_v4l2" = "x"
16432 case "x$with_v4l2" in
16433 x
) as_fn_append wine_notices
"|libv4l2 ${notice_platform}development files not found." ;;
16435 *) as_fn_error $?
"libv4l2 ${notice_platform}development files not found.
16436 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16441 if test "x$with_gphoto" != "xno"
16444 if ${GPHOTO2_CFLAGS:+false} :
16446 if test ${PKG_CONFIG+y}
16448 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>conftest.err`
16451 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16452 if ${GPHOTO2_LIBS:+false} :
16454 if test ${PKG_CONFIG+y}
16456 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16459 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16460 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
16461 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16462 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16463 if test -s conftest.err
; then
16464 printf %s
"$as_me:${as_lineno-$LINENO}: libgphoto2 errors: " >&5
16465 cat conftest.err
>&5
16468 ac_save_CPPFLAGS
=$CPPFLAGS
16469 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
16470 ac_fn_c_check_header_compile
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16471 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16474 printf %s
"checking for gp_camera_new in -lgphoto2... " >&6; }
16475 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16477 printf %s
"(cached) " >&6
16479 ac_check_lib_save_LIBS
=$LIBS
16480 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16481 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16482 /* end confdefs.h. */
16484 /* Override any GCC internal prototype to avoid an error.
16485 Use char because int might match the return type of a GCC
16486 builtin and then its argument prototype would still apply. */
16487 char gp_camera_new ();
16491 return gp_camera_new ();
16496 if ac_fn_c_try_link
"$LINENO"
16498 ac_cv_lib_gphoto2_gp_camera_new
=yes
16500 ac_cv_lib_gphoto2_gp_camera_new
=no
16502 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16503 conftest
$ac_exeext conftest.
$ac_ext
16504 LIBS
=$ac_check_lib_save_LIBS
16506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16507 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16508 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16515 CPPFLAGS
=$ac_save_CPPFLAGS
16518 if ${GPHOTO2_PORT_CFLAGS:+false} :
16520 if test ${PKG_CONFIG+y}
16522 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>conftest.err`
16525 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16526 if ${GPHOTO2_PORT_LIBS:+false} :
16528 if test ${PKG_CONFIG+y}
16530 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16533 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16534 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16535 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16536 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16537 if test -s conftest.err
; then
16538 printf %s
"$as_me:${as_lineno-$LINENO}: libgphoto2_port errors: " >&5
16539 cat conftest.err
>&5
16542 ac_save_CPPFLAGS
=$CPPFLAGS
16543 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16544 ac_fn_c_check_header_compile
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16545 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16548 printf %s
"checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16549 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16551 printf %s
"(cached) " >&6
16553 ac_check_lib_save_LIBS
=$LIBS
16554 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16555 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16556 /* end confdefs.h. */
16558 /* Override any GCC internal prototype to avoid an error.
16559 Use char because int might match the return type of a GCC
16560 builtin and then its argument prototype would still apply. */
16561 char gp_port_info_list_new ();
16565 return gp_port_info_list_new ();
16570 if ac_fn_c_try_link
"$LINENO"
16572 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
16574 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
16576 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16577 conftest
$ac_exeext conftest.
$ac_ext
16578 LIBS
=$ac_check_lib_save_LIBS
16580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16581 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16582 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16585 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16588 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
16592 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
16595 CPPFLAGS
=$ac_save_CPPFLAGS
16598 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16600 case "x$with_gphoto" in
16601 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16603 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16604 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16606 enable_gphoto2_ds
=${enable_gphoto2_ds:-no}
16608 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16610 case "x$with_gphoto" in
16611 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16613 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16614 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16620 if test "$ac_cv_header_resolv_h" = "yes"
16622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16623 printf %s
"checking for resolver library... " >&6; }
16624 if test ${ac_cv_have_resolv+y}
16626 printf %s
"(cached) " >&6
16628 ac_save_LIBS
="$LIBS"
16629 for lib
in '' -lresolv
16631 LIBS
="$lib $ac_save_LIBS"
16632 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16633 /* end confdefs.h. */
16634 #ifdef HAVE_NETINET_IN_H
16635 #include <netinet/in.h>
16637 #include <resolv.h>
16641 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16646 if ac_fn_c_try_link
"$LINENO"
16648 ac_cv_have_resolv
=${lib:-"none required"}
16650 ac_cv_have_resolv
="not found"
16652 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16653 conftest
$ac_exeext conftest.
$ac_ext
16654 test "x$ac_cv_have_resolv" = "xnot found" ||
break
16656 LIBS
="$ac_save_LIBS"
16658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16659 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16661 case "$ac_cv_have_resolv" in
16665 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16668 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16670 RESOLV_LIBS
=$ac_cv_have_resolv
16674 if test "x$ac_cv_have_resolv" != "xnot found"
16676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16677 printf %s
"checking for res_getservers... " >&6; }
16678 if test ${ac_cv_have_res_getservers+y}
16680 printf %s
"(cached) " >&6
16682 ac_save_LIBS
="$LIBS"
16683 LIBS
="$RESOLV_LIBS $LIBS"
16684 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16685 /* end confdefs.h. */
16686 #include <resolv.h>
16690 res_getservers(NULL, NULL, 0);
16695 if ac_fn_c_try_link
"$LINENO"
16697 ac_cv_have_res_getservers
=yes
16699 ac_cv_have_res_getservers
=no
16701 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16702 conftest
$ac_exeext conftest.
$ac_ext
16703 LIBS
="$ac_save_LIBS"
16705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16706 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16707 if test "$ac_cv_have_res_getservers" = "yes"
16710 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16716 if test "x$with_freetype" != "xno"
16719 if ${FREETYPE_CFLAGS:+false} :
16721 if test ${PKG_CONFIG+y}
16723 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>conftest.err`
16726 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16727 if ${FREETYPE_LIBS:+false} :
16729 if test ${PKG_CONFIG+y}
16731 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16734 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16735 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
16736 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16737 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16738 if test -s conftest.err
; then
16739 printf %s
"$as_me:${as_lineno-$LINENO}: freetype2 errors: " >&5
16740 cat conftest.err
>&5
16743 ac_save_CPPFLAGS
=$CPPFLAGS
16744 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
16745 ac_fn_c_check_header_compile
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16746 if test "x$ac_cv_header_ft2build_h" = xyes
16748 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16752 if test "$ac_cv_header_ft2build_h" = "yes"
16754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16755 printf %s
"checking for -lfreetype... " >&6; }
16756 if test ${ac_cv_lib_soname_freetype+y}
16758 printf %s
"(cached) " >&6
16760 ac_check_soname_save_LIBS
=$LIBS
16761 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
16762 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16763 /* end confdefs.h. */
16765 /* Override any GCC internal prototype to avoid an error.
16766 Use char because int might match the return type of a GCC
16767 builtin and then its argument prototype would still apply. */
16768 char FT_Init_FreeType ();
16772 return FT_Init_FreeType ();
16777 if ac_fn_c_try_link
"$LINENO"
16780 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16781 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'` ;;
16782 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16783 if ${ac_cv_lib_soname_freetype:+false} :
16785 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16789 ac_cv_lib_soname_freetype
=
16791 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16792 conftest
$ac_exeext conftest.
$ac_ext
16793 LIBS
=$ac_check_soname_save_LIBS
16795 if ${ac_cv_lib_soname_freetype:+false} :
16797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16798 printf "%s\n" "not found" >&6; }
16801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16802 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16804 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16807 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16809 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16810 #include FT_MODULE_H
16812 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16815 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16825 CPPFLAGS
=$ac_save_CPPFLAGS
16828 if test "x$ac_cv_lib_soname_freetype" = x
16830 case "x$with_freetype" in
16832 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
16833 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16835 enable_fonts
=${enable_fonts:-no}
16838 ac_wine_check_funcs_save_LIBS
="$LIBS"
16839 LIBS
="$LIBS $PTHREAD_LIBS"
16840 ac_fn_c_check_func
"$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16841 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16843 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16847 LIBS
="$ac_wine_check_funcs_save_LIBS"
16849 if test "x$enable_tools" != xno
-a "x$with_gettextpo" = xyes
16851 if test "$ac_cv_header_gettext_po_h" = "yes"
16853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16854 printf %s
"checking for po_message_msgctxt in -lgettextpo... " >&6; }
16855 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16857 printf %s
"(cached) " >&6
16859 ac_check_lib_save_LIBS
=$LIBS
16860 LIBS
="-lgettextpo $LIBS"
16861 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16862 /* end confdefs.h. */
16864 /* Override any GCC internal prototype to avoid an error.
16865 Use char because int might match the return type of a GCC
16866 builtin and then its argument prototype would still apply. */
16867 char po_message_msgctxt ();
16871 return po_message_msgctxt ();
16876 if ac_fn_c_try_link
"$LINENO"
16878 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
16880 ac_cv_lib_gettextpo_po_message_msgctxt
=no
16882 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16883 conftest
$ac_exeext conftest.
$ac_ext
16884 LIBS
=$ac_check_lib_save_LIBS
16886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16887 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16888 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16891 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16893 GETTEXTPO_LIBS
="-lgettextpo"
16898 if test "x$GETTEXTPO_LIBS" = "x"
16900 case "x$with_gettextpo" in
16901 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16903 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16904 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16908 if test "$srcdir" != .
16910 case "x$with_gettextpo" in
16911 x
) as_fn_append wine_notices
"|Rebuilding po files is not supported for out of tree builds." ;;
16913 *) as_fn_error $?
"Rebuilding po files is not supported for out of tree builds.
16914 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16920 if test "x$with_pulse" != "xno";
16923 if ${PULSE_CFLAGS:+false} :
16925 if test ${PKG_CONFIG+y}
16927 PULSE_CFLAGS
=`$PKG_CONFIG --cflags libpulse 2>conftest.err`
16931 if ${PULSE_LIBS:+false} :
16933 if test ${PKG_CONFIG+y}
16935 PULSE_LIBS
=`$PKG_CONFIG --libs libpulse 2>/dev/null`
16940 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
16941 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
16942 if test -s conftest.err
; then
16943 printf %s
"$as_me:${as_lineno-$LINENO}: libpulse errors: " >&5
16944 cat conftest.err
>&5
16947 ac_save_CPPFLAGS
=$CPPFLAGS
16948 CPPFLAGS
="$CPPFLAGS $PULSE_CFLAGS"
16949 for ac_header
in pulse
/pulseaudio.h
16951 ac_fn_c_check_header_compile
"$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
16952 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
16954 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
16955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
16956 printf %s
"checking for pa_stream_is_corked in -lpulse... " >&6; }
16957 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
16959 printf %s
"(cached) " >&6
16961 ac_check_lib_save_LIBS
=$LIBS
16962 LIBS
="-lpulse $PULSE_LIBS $LIBS"
16963 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16964 /* end confdefs.h. */
16966 /* Override any GCC internal prototype to avoid an error.
16967 Use char because int might match the return type of a GCC
16968 builtin and then its argument prototype would still apply. */
16969 char pa_stream_is_corked ();
16973 return pa_stream_is_corked ();
16978 if ac_fn_c_try_link
"$LINENO"
16980 ac_cv_lib_pulse_pa_stream_is_corked
=yes
16982 ac_cv_lib_pulse_pa_stream_is_corked
=no
16984 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16985 conftest
$ac_exeext conftest.
$ac_ext
16986 LIBS
=$ac_check_lib_save_LIBS
16988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
16989 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
16990 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
17002 CPPFLAGS
=$ac_save_CPPFLAGS
17005 if test -z "$PULSE_LIBS"
17007 case "x$with_pulse" in
17008 x
) as_fn_append wine_notices
"|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
17010 *) as_fn_error $?
"libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
17011 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
17013 enable_winepulse_drv
=${enable_winepulse_drv:-no}
17016 if test "x$with_gstreamer" != "xno"
17019 if ${GSTREAMER_CFLAGS:+false} :
17021 if test ${PKG_CONFIG+y}
17023 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>conftest.err`
17027 if ${GSTREAMER_LIBS:+false} :
17029 if test ${PKG_CONFIG+y}
17031 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>/dev/null`
17036 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
17037 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
17038 if test -s conftest.err
; then
17039 printf %s
"$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 errors: " >&5
17040 cat conftest.err
>&5
17043 ac_save_CPPFLAGS
=$CPPFLAGS
17044 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
17045 ac_fn_c_check_header_compile
"$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
17046 if test "x$ac_cv_header_gst_gst_h" = xyes
17048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
17049 printf %s
"checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
17050 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17051 /* end confdefs.h. */
17052 #include <gst/gst.h>
17056 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17061 if ac_fn_c_try_compile
"$LINENO"
17063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17064 printf "%s\n" "yes" >&6; }
17065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17066 printf %s
"checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17067 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17069 printf %s
"(cached) " >&6
17071 ac_check_lib_save_LIBS
=$LIBS
17072 LIBS
="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17073 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17074 /* end confdefs.h. */
17076 /* Override any GCC internal prototype to avoid an error.
17077 Use char because int might match the return type of a GCC
17078 builtin and then its argument prototype would still apply. */
17079 char gst_pad_new ();
17083 return gst_pad_new ();
17088 if ac_fn_c_try_link
"$LINENO"
17090 ac_cv_lib_gstreamer_1_0_gst_pad_new
=yes
17092 ac_cv_lib_gstreamer_1_0_gst_pad_new
=no
17094 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17095 conftest
$ac_exeext conftest.
$ac_ext
17096 LIBS
=$ac_check_lib_save_LIBS
17098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17099 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17100 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17107 printf "%s\n" "no" >&6; }
17108 ac_glib2_broken
=yes
17109 enable_winegstreamer
=${enable_winegstreamer:-no}
17110 as_fn_append wine_notices
"|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17112 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17115 CPPFLAGS
=$ac_save_CPPFLAGS
17118 if test "x$ac_glib2_broken" != xyes
-a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17120 case "x$with_gstreamer" in
17121 x
) as_fn_append wine_notices
"|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17123 *) as_fn_error $?
"gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17124 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17126 enable_winegstreamer
=${enable_winegstreamer:-no}
17131 if test "x$with_alsa" != "xno"
17133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17134 printf %s
"checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17135 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17137 printf %s
"(cached) " >&6
17139 ac_check_lib_save_LIBS
=$LIBS
17140 LIBS
="-lasound $LIBS"
17141 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17142 /* end confdefs.h. */
17144 /* Override any GCC internal prototype to avoid an error.
17145 Use char because int might match the return type of a GCC
17146 builtin and then its argument prototype would still apply. */
17147 char snd_pcm_hw_params_get_access_mask ();
17151 return snd_pcm_hw_params_get_access_mask ();
17156 if ac_fn_c_try_link
"$LINENO"
17158 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
17160 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
17162 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17163 conftest
$ac_exeext conftest.
$ac_ext
17164 LIBS
=$ac_check_lib_save_LIBS
17166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17167 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17168 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17170 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17171 /* end confdefs.h. */
17172 #include <alsa/asoundlib.h>
17176 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17181 if ac_fn_c_try_compile
"$LINENO"
17183 ALSA_LIBS
="-lasound"
17185 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17189 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
17191 if test "x$with_oss" != xno
17193 ac_save_CPPFLAGS
="$CPPFLAGS"
17194 if test -f /etc
/oss.conf
17198 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17199 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
17200 ac_fn_c_check_header_compile
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17201 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17203 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17205 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17208 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17210 OSS4_CFLAGS
="$ac_oss_incl"
17212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17213 printf %s
"checking for _oss_ioctl in -lossaudio... " >&6; }
17214 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17216 printf %s
"(cached) " >&6
17218 ac_check_lib_save_LIBS
=$LIBS
17219 LIBS
="-lossaudio $LIBS"
17220 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17221 /* end confdefs.h. */
17223 /* Override any GCC internal prototype to avoid an error.
17224 Use char because int might match the return type of a GCC
17225 builtin and then its argument prototype would still apply. */
17226 char _oss_ioctl ();
17230 return _oss_ioctl ();
17235 if ac_fn_c_try_link
"$LINENO"
17237 ac_cv_lib_ossaudio__oss_ioctl
=yes
17239 ac_cv_lib_ossaudio__oss_ioctl
=no
17241 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17242 conftest
$ac_exeext conftest.
$ac_ext
17243 LIBS
=$ac_check_lib_save_LIBS
17245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17246 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17247 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17249 OSS4_LIBS
="-lossaudio"
17257 CPPFLAGS
="$ac_save_CPPFLAGS"
17259 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17261 case "x$with_oss" in
17262 x
) as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17264 *) as_fn_error $?
"OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17265 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17267 enable_wineoss_drv
=${enable_wineoss_drv:-no}
17270 if test "x$with_udev" != "xno"
17273 if ${UDEV_CFLAGS:+false} :
17275 if test ${PKG_CONFIG+y}
17277 UDEV_CFLAGS
=`$PKG_CONFIG --cflags libudev 2>conftest.err`
17281 if ${UDEV_LIBS:+false} :
17283 if test ${PKG_CONFIG+y}
17285 UDEV_LIBS
=`$PKG_CONFIG --libs libudev 2>/dev/null`
17289 UDEV_LIBS
=${UDEV_LIBS:-"-ludev"}
17290 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17291 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17292 if test -s conftest.err
; then
17293 printf %s
"$as_me:${as_lineno-$LINENO}: libudev errors: " >&5
17294 cat conftest.err
>&5
17297 ac_save_CPPFLAGS
=$CPPFLAGS
17298 CPPFLAGS
="$CPPFLAGS $UDEV_CFLAGS"
17299 for ac_header
in libudev.h
17301 ac_fn_c_check_header_compile
"$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17302 if test "x$ac_cv_header_libudev_h" = xyes
17304 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17306 printf %s
"checking for udev_new in -ludev... " >&6; }
17307 if test ${ac_cv_lib_udev_udev_new+y}
17309 printf %s
"(cached) " >&6
17311 ac_check_lib_save_LIBS
=$LIBS
17312 LIBS
="-ludev $UDEV_LIBS $LIBS"
17313 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17314 /* end confdefs.h. */
17316 /* Override any GCC internal prototype to avoid an error.
17317 Use char because int might match the return type of a GCC
17318 builtin and then its argument prototype would still apply. */
17323 return udev_new ();
17328 if ac_fn_c_try_link
"$LINENO"
17330 ac_cv_lib_udev_udev_new
=yes
17332 ac_cv_lib_udev_udev_new
=no
17334 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17335 conftest
$ac_exeext conftest.
$ac_ext
17336 LIBS
=$ac_check_lib_save_LIBS
17338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17339 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17340 if test "x$ac_cv_lib_udev_udev_new" = xyes
17343 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17354 CPPFLAGS
=$ac_save_CPPFLAGS
17357 if test "x$UDEV_LIBS" = "x"
17359 case "x$with_udev" in
17360 x
) as_fn_append wine_notices
"|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17362 *) as_fn_error $?
"libudev ${notice_platform}development files not found, plug and play won't be supported.
17363 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17368 if test "x$with_unwind" != xno
17371 if ${UNWIND_CFLAGS:+false} :
17373 if test ${PKG_CONFIG+y}
17375 UNWIND_CFLAGS
=`$PKG_CONFIG --cflags libunwind 2>conftest.err`
17379 if ${UNWIND_LIBS:+false} :
17381 if test ${PKG_CONFIG+y}
17383 UNWIND_LIBS
=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17387 UNWIND_LIBS
=${UNWIND_LIBS:-"-lunwind"}
17388 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17389 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17390 if test -s conftest.err
; then
17391 printf %s
"$as_me:${as_lineno-$LINENO}: libunwind errors: " >&5
17392 cat conftest.err
>&5
17395 ac_save_CPPFLAGS
=$CPPFLAGS
17396 CPPFLAGS
="$CPPFLAGS $UNWIND_CFLAGS"
17397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17398 printf %s
"checking for unw_step... " >&6; }
17399 if test ${wine_cv_have_unw_step+y}
17401 printf %s
"(cached) " >&6
17403 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17404 /* end confdefs.h. */
17405 #define UNW_LOCAL_ONLY
17406 #include <libunwind.h>
17410 unw_cursor_t cursor; unw_step( &cursor );
17415 if ac_fn_c_try_link
"$LINENO"
17417 wine_cv_have_unw_step
="yes"
17419 wine_cv_have_unw_step
="no"
17421 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17422 conftest
$ac_exeext conftest.
$ac_ext
17424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17425 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17426 if test "$wine_cv_have_unw_step" = no
-a -n "$UNWIND_LIBS"
17429 UNWIND_LIBS
="-static-libgcc $UNWIND_LIBS"
17430 LIBS
="$UNWIND_LIBS $LIBS"
17431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17432 printf %s
"checking for unw_step in libunwind... " >&6; }
17433 if test ${wine_cv_have_libunwind_unw_step+y}
17435 printf %s
"(cached) " >&6
17437 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17438 /* end confdefs.h. */
17439 #define UNW_LOCAL_ONLY
17440 #include <libunwind.h>
17444 unw_cursor_t cursor; unw_step( &cursor );
17449 if ac_fn_c_try_link
"$LINENO"
17451 wine_cv_have_libunwind_unw_step
="yes"
17453 wine_cv_have_libunwind_unw_step
="no"
17455 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17456 conftest
$ac_exeext conftest.
$ac_ext
17458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17459 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17462 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS
=""
17463 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17466 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17469 CPPFLAGS
=$ac_save_CPPFLAGS
17473 aarch64
*|
*-darwin*)
17474 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17476 case "x$with_unwind" in
17477 x
) as_fn_append wine_notices
"|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17479 *) as_fn_error $?
"libunwind ${notice_platform}development files not found, stack unwinding won't work.
17480 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17486 if test "x$with_sdl" != "xno"
17489 if ${SDL2_CFLAGS:+false} :
17491 if test ${PKG_CONFIG+y}
17493 SDL2_CFLAGS
=`$PKG_CONFIG --cflags sdl2 2>conftest.err`
17497 if ${SDL2_LIBS:+false} :
17499 if test ${PKG_CONFIG+y}
17501 SDL2_LIBS
=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17505 SDL2_LIBS
=${SDL2_LIBS:-"-lSDL2"}
17506 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17507 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17508 if test -s conftest.err
; then
17509 printf %s
"$as_me:${as_lineno-$LINENO}: sdl2 errors: " >&5
17510 cat conftest.err
>&5
17513 ac_save_CPPFLAGS
=$CPPFLAGS
17514 CPPFLAGS
="$CPPFLAGS $SDL2_CFLAGS"
17515 for ac_header
in SDL.h
17517 ac_fn_c_check_header_compile
"$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17518 if test "x$ac_cv_header_SDL_h" = xyes
17520 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17522 printf %s
"checking for -lSDL2... " >&6; }
17523 if test ${ac_cv_lib_soname_SDL2+y}
17525 printf %s
"(cached) " >&6
17527 ac_check_soname_save_LIBS
=$LIBS
17528 LIBS
="-lSDL2 $SDL2_LIBS $LIBS"
17529 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17530 /* end confdefs.h. */
17532 /* Override any GCC internal prototype to avoid an error.
17533 Use char because int might match the return type of a GCC
17534 builtin and then its argument prototype would still apply. */
17539 return SDL_Init ();
17544 if ac_fn_c_try_link
"$LINENO"
17547 dll
) ac_cv_lib_soname_SDL2
=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17548 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'` ;;
17549 *) 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'`
17550 if ${ac_cv_lib_soname_SDL2:+false} :
17552 ac_cv_lib_soname_SDL2
=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17556 ac_cv_lib_soname_SDL2
=
17558 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17559 conftest
$ac_exeext conftest.
$ac_ext
17560 LIBS
=$ac_check_soname_save_LIBS
17562 if ${ac_cv_lib_soname_SDL2:+false} :
17564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17565 printf "%s\n" "not found" >&6; }
17568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17569 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17571 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17578 CPPFLAGS
=$ac_save_CPPFLAGS
17581 if test "x$ac_cv_lib_soname_SDL2" = "x"
17583 case "x$with_sdl" in
17584 x
) as_fn_append wine_notices
"|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17586 *) as_fn_error $?
"libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17587 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17592 if test "x$with_capi" != "xno"
17595 if ${CAPI20_CFLAGS:+false} :
17597 if test ${PKG_CONFIG+y}
17599 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>conftest.err`
17603 if ${CAPI20_LIBS:+false} :
17605 if test ${PKG_CONFIG+y}
17607 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
17612 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17613 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17614 if test -s conftest.err
; then
17615 printf %s
"$as_me:${as_lineno-$LINENO}: capi20 errors: " >&5
17616 cat conftest.err
>&5
17619 ac_save_CPPFLAGS
=$CPPFLAGS
17620 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
17621 ac_fn_c_check_header_compile
"$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17623 if test "x$ac_cv_header_capi20_h" = xyes
17625 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17628 ac_fn_c_check_header_compile
"$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17630 if test "x$ac_cv_header_linux_capi_h" = xyes
17632 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17636 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17639 printf %s
"checking for capi20_register in -lcapi20... " >&6; }
17640 if test ${ac_cv_lib_capi20_capi20_register+y}
17642 printf %s
"(cached) " >&6
17644 ac_check_lib_save_LIBS
=$LIBS
17645 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
17646 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17647 /* end confdefs.h. */
17649 /* Override any GCC internal prototype to avoid an error.
17650 Use char because int might match the return type of a GCC
17651 builtin and then its argument prototype would still apply. */
17652 char capi20_register ();
17656 return capi20_register ();
17661 if ac_fn_c_try_link
"$LINENO"
17663 ac_cv_lib_capi20_capi20_register
=yes
17665 ac_cv_lib_capi20_capi20_register
=no
17667 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17668 conftest
$ac_exeext conftest.
$ac_ext
17669 LIBS
=$ac_check_lib_save_LIBS
17671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17672 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17673 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17681 CPPFLAGS
=$ac_save_CPPFLAGS
17684 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17686 case "x$with_capi" in
17687 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17689 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17690 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17692 enable_capi2032
=${enable_capi2032:-no}
17695 if test "x$with_cups" != "xno"
17698 if ${CUPS_CFLAGS:+false} :
17700 if test ${PKG_CONFIG+y}
17702 CUPS_CFLAGS
=`$PKG_CONFIG --cflags cups 2>conftest.err`
17705 test "$cross_compiling" = yes || CUPS_CFLAGS
=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17706 if ${CUPS_LIBS:+false} :
17708 if test ${PKG_CONFIG+y}
17710 CUPS_LIBS
=`$PKG_CONFIG --libs cups 2>/dev/null`
17713 test "$cross_compiling" = yes || CUPS_LIBS
=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17714 CUPS_LIBS
=${CUPS_LIBS:-"-lcups"}
17715 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17716 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17717 if test -s conftest.err
; then
17718 printf %s
"$as_me:${as_lineno-$LINENO}: cups errors: " >&5
17719 cat conftest.err
>&5
17722 ac_save_CPPFLAGS
=$CPPFLAGS
17723 CPPFLAGS
="$CPPFLAGS $CUPS_CFLAGS"
17724 ac_fn_c_check_header_compile
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17725 if test "x$ac_cv_header_cups_cups_h" = xyes
17727 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17730 ac_fn_c_check_header_compile
"$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17731 if test "x$ac_cv_header_cups_ppd_h" = xyes
17733 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17737 if test "$ac_cv_header_cups_cups_h" = "yes"
17739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17740 printf %s
"checking for -lcups... " >&6; }
17741 if test ${ac_cv_lib_soname_cups+y}
17743 printf %s
"(cached) " >&6
17745 ac_check_soname_save_LIBS
=$LIBS
17746 LIBS
="-lcups $CUPS_LIBS $LIBS"
17747 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17748 /* end confdefs.h. */
17750 /* Override any GCC internal prototype to avoid an error.
17751 Use char because int might match the return type of a GCC
17752 builtin and then its argument prototype would still apply. */
17753 char cupsGetDefault ();
17757 return cupsGetDefault ();
17762 if ac_fn_c_try_link
"$LINENO"
17765 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17766 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'` ;;
17767 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17768 if ${ac_cv_lib_soname_cups:+false} :
17770 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17774 ac_cv_lib_soname_cups
=
17776 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17777 conftest
$ac_exeext conftest.
$ac_ext
17778 LIBS
=$ac_check_soname_save_LIBS
17780 if ${ac_cv_lib_soname_cups:+false} :
17782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17783 printf "%s\n" "not found" >&6; }
17786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17787 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17789 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17797 CPPFLAGS
=$ac_save_CPPFLAGS
17800 if test "x$ac_cv_lib_soname_cups" = "x"
17802 case "x$with_cups" in
17803 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17805 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
17806 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17811 if test "x$with_fontconfig" != "xno"
17814 if ${FONTCONFIG_CFLAGS:+false} :
17816 if test ${PKG_CONFIG+y}
17818 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>conftest.err`
17821 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17822 if ${FONTCONFIG_LIBS:+false} :
17824 if test ${PKG_CONFIG+y}
17826 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17829 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
17831 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17832 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17833 if test -s conftest.err
; then
17834 printf %s
"$as_me:${as_lineno-$LINENO}: fontconfig errors: " >&5
17835 cat conftest.err
>&5
17838 ac_save_CPPFLAGS
=$CPPFLAGS
17839 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
17840 ac_fn_c_check_header_compile
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17841 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17843 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17847 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17850 printf %s
"checking for -lfontconfig... " >&6; }
17851 if test ${ac_cv_lib_soname_fontconfig+y}
17853 printf %s
"(cached) " >&6
17855 ac_check_soname_save_LIBS
=$LIBS
17856 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17857 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17858 /* end confdefs.h. */
17860 /* Override any GCC internal prototype to avoid an error.
17861 Use char because int might match the return type of a GCC
17862 builtin and then its argument prototype would still apply. */
17872 if ac_fn_c_try_link
"$LINENO"
17875 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17876 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'` ;;
17877 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17878 if ${ac_cv_lib_soname_fontconfig:+false} :
17880 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17884 ac_cv_lib_soname_fontconfig
=
17886 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17887 conftest
$ac_exeext conftest.
$ac_ext
17888 LIBS
=$ac_check_soname_save_LIBS
17890 if ${ac_cv_lib_soname_fontconfig:+false} :
17892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17893 printf "%s\n" "not found" >&6; }
17894 FONTCONFIG_CFLAGS
=""
17896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17897 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17899 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17904 FONTCONFIG_CFLAGS
=""
17906 CPPFLAGS
=$ac_save_CPPFLAGS
17909 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17911 case "x$with_fontconfig" in
17912 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17914 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17915 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17920 if test "x$with_krb5" != "xno"
17923 if ${KRB5_CFLAGS:+false} :
17925 if test ${PKG_CONFIG+y}
17927 KRB5_CFLAGS
=`$PKG_CONFIG --cflags krb5 2>conftest.err`
17930 test "$cross_compiling" = yes || KRB5_CFLAGS
=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17931 if ${KRB5_LIBS:+false} :
17933 if test ${PKG_CONFIG+y}
17935 KRB5_LIBS
=`$PKG_CONFIG --libs krb5 2>/dev/null`
17938 test "$cross_compiling" = yes || KRB5_LIBS
=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17940 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17941 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17942 if test -s conftest.err
; then
17943 printf %s
"$as_me:${as_lineno-$LINENO}: krb5 errors: " >&5
17944 cat conftest.err
>&5
17947 ac_save_CPPFLAGS
=$CPPFLAGS
17948 CPPFLAGS
="$CPPFLAGS $KRB5_CFLAGS"
17949 ac_fn_c_check_header_compile
"$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17950 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17952 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17956 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17959 printf %s
"checking for -lkrb5... " >&6; }
17960 if test ${ac_cv_lib_soname_krb5+y}
17962 printf %s
"(cached) " >&6
17964 ac_check_soname_save_LIBS
=$LIBS
17965 LIBS
="-lkrb5 $KRB5_LIBS $LIBS"
17966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17967 /* end confdefs.h. */
17969 /* Override any GCC internal prototype to avoid an error.
17970 Use char because int might match the return type of a GCC
17971 builtin and then its argument prototype would still apply. */
17972 char krb5_is_config_principal ();
17976 return krb5_is_config_principal ();
17981 if ac_fn_c_try_link
"$LINENO"
17984 dll
) ac_cv_lib_soname_krb5
=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17985 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'` ;;
17986 *) ac_cv_lib_soname_krb5
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17987 if ${ac_cv_lib_soname_krb5:+false} :
17989 ac_cv_lib_soname_krb5
=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17993 ac_cv_lib_soname_krb5
=
17995 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17996 conftest
$ac_exeext conftest.
$ac_ext
17997 LIBS
=$ac_check_soname_save_LIBS
17999 if ${ac_cv_lib_soname_krb5:+false} :
18001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18002 printf "%s\n" "not found" >&6; }
18005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
18006 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
18008 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
18015 CPPFLAGS
=$ac_save_CPPFLAGS
18018 if test "x$ac_cv_lib_soname_krb5" = "x"
18020 case "x$with_krb5" in
18021 x
) as_fn_append wine_notices
"|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
18023 *) as_fn_error $?
"libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
18024 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
18028 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi
=${with_gssapi:-no}
18030 if test "x$with_gssapi" != "xno"
18033 if ${GSSAPI_CFLAGS:+false} :
18035 if test ${PKG_CONFIG+y}
18037 GSSAPI_CFLAGS
=`$PKG_CONFIG --cflags krb5-gssapi 2>conftest.err`
18040 test "$cross_compiling" = yes || GSSAPI_CFLAGS
=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
18041 if ${GSSAPI_LIBS:+false} :
18043 if test ${PKG_CONFIG+y}
18045 GSSAPI_LIBS
=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
18048 test "$cross_compiling" = yes || GSSAPI_LIBS
=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
18050 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
18051 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
18052 if test -s conftest.err
; then
18053 printf %s
"$as_me:${as_lineno-$LINENO}: krb5-gssapi errors: " >&5
18054 cat conftest.err
>&5
18057 ac_save_CPPFLAGS
=$CPPFLAGS
18058 CPPFLAGS
="$CPPFLAGS $GSSAPI_CFLAGS"
18059 ac_fn_c_check_header_compile
"$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
18060 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
18062 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
18065 ac_fn_c_check_header_compile
"$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
18066 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
18068 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
18072 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
18074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
18075 printf %s
"checking for -lgssapi_krb5... " >&6; }
18076 if test ${ac_cv_lib_soname_gssapi_krb5+y}
18078 printf %s
"(cached) " >&6
18080 ac_check_soname_save_LIBS
=$LIBS
18081 LIBS
="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
18082 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18083 /* end confdefs.h. */
18085 /* Override any GCC internal prototype to avoid an error.
18086 Use char because int might match the return type of a GCC
18087 builtin and then its argument prototype would still apply. */
18088 char gss_init_sec_context ();
18092 return gss_init_sec_context ();
18097 if ac_fn_c_try_link
"$LINENO"
18100 dll
) ac_cv_lib_soname_gssapi_krb5
=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18101 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'` ;;
18102 *) 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'`
18103 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18105 ac_cv_lib_soname_gssapi_krb5
=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18109 ac_cv_lib_soname_gssapi_krb5
=
18111 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18112 conftest
$ac_exeext conftest.
$ac_ext
18113 LIBS
=$ac_check_soname_save_LIBS
18115 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18118 printf "%s\n" "not found" >&6; }
18121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18122 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18124 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18131 CPPFLAGS
=$ac_save_CPPFLAGS
18134 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18136 case "x$with_gssapi" in
18137 x
) as_fn_append wine_notices
"|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18139 *) as_fn_error $?
"libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18140 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18145 if test "$ac_cv_header_libprocstat_h" = "yes"
18147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18148 printf %s
"checking for procstat_open_sysctl in -lprocstat... " >&6; }
18149 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18151 printf %s
"(cached) " >&6
18153 ac_check_lib_save_LIBS
=$LIBS
18154 LIBS
="-lprocstat $LIBS"
18155 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18156 /* end confdefs.h. */
18158 /* Override any GCC internal prototype to avoid an error.
18159 Use char because int might match the return type of a GCC
18160 builtin and then its argument prototype would still apply. */
18161 char procstat_open_sysctl ();
18165 return procstat_open_sysctl ();
18170 if ac_fn_c_try_link
"$LINENO"
18172 ac_cv_lib_procstat_procstat_open_sysctl
=yes
18174 ac_cv_lib_procstat_procstat_open_sysctl
=no
18176 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18177 conftest
$ac_exeext conftest.
$ac_ext
18178 LIBS
=$ac_check_lib_save_LIBS
18180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18181 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18182 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18185 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18187 PROCSTAT_LIBS
="-lprocstat"
18193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18194 printf %s
"checking for -lodbc... " >&6; }
18195 if test ${ac_cv_lib_soname_odbc+y}
18197 printf %s
"(cached) " >&6
18199 ac_check_soname_save_LIBS
=$LIBS
18200 LIBS
="-lodbc $LIBS"
18201 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18202 /* end confdefs.h. */
18204 /* Override any GCC internal prototype to avoid an error.
18205 Use char because int might match the return type of a GCC
18206 builtin and then its argument prototype would still apply. */
18207 char SQLConnect ();
18211 return SQLConnect ();
18216 if ac_fn_c_try_link
"$LINENO"
18219 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18220 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'` ;;
18221 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18222 if ${ac_cv_lib_soname_odbc:+false} :
18224 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18228 ac_cv_lib_soname_odbc
=
18230 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18231 conftest
$ac_exeext conftest.
$ac_ext
18232 LIBS
=$ac_check_soname_save_LIBS
18234 if ${ac_cv_lib_soname_odbc:+false} :
18236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18237 printf "%s\n" "not found" >&6; }
18238 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18242 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18244 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18249 if test "x$with_netapi" != "xno"
18252 if ${NETAPI_CFLAGS:+false} :
18254 if test ${PKG_CONFIG+y}
18256 NETAPI_CFLAGS
=`$PKG_CONFIG --cflags netapi 2>conftest.err`
18260 if ${NETAPI_LIBS:+false} :
18262 if test ${PKG_CONFIG+y}
18264 NETAPI_LIBS
=`$PKG_CONFIG --libs netapi 2>/dev/null`
18269 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18270 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18271 if test -s conftest.err
; then
18272 printf %s
"$as_me:${as_lineno-$LINENO}: netapi errors: " >&5
18273 cat conftest.err
>&5
18276 ac_save_CPPFLAGS
=$CPPFLAGS
18277 CPPFLAGS
="$CPPFLAGS $NETAPI_CFLAGS"
18278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18279 printf %s
"checking for -lnetapi... " >&6; }
18280 if test ${ac_cv_lib_soname_netapi+y}
18282 printf %s
"(cached) " >&6
18284 ac_check_soname_save_LIBS
=$LIBS
18285 LIBS
="-lnetapi $NETAPI_LIBS $LIBS"
18286 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18287 /* end confdefs.h. */
18289 /* Override any GCC internal prototype to avoid an error.
18290 Use char because int might match the return type of a GCC
18291 builtin and then its argument prototype would still apply. */
18292 char libnetapi_init ();
18296 return libnetapi_init ();
18301 if ac_fn_c_try_link
"$LINENO"
18304 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18305 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'` ;;
18306 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18307 if ${ac_cv_lib_soname_netapi:+false} :
18309 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18313 ac_cv_lib_soname_netapi
=
18315 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18316 conftest
$ac_exeext conftest.
$ac_ext
18317 LIBS
=$ac_check_soname_save_LIBS
18319 if ${ac_cv_lib_soname_netapi:+false} :
18321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18322 printf "%s\n" "not found" >&6; }
18323 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18327 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18329 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18333 CPPFLAGS
=$ac_save_CPPFLAGS
18336 if test "x$ac_cv_lib_soname_netapi" = "x"
18338 case "x$with_netapi" in
18339 x
) as_fn_append wine_notices
"|libnetapi not found, Samba NetAPI won't be supported." ;;
18341 *) as_fn_error $?
"libnetapi not found, Samba NetAPI won't be supported.
18342 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18344 enable_netapi
=${enable_netapi:-no}
18348 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono
-a \
18349 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18351 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
18354 if test "x$with_vulkan" != "xno"
18356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18357 printf %s
"checking for -lvulkan... " >&6; }
18358 if test ${ac_cv_lib_soname_vulkan+y}
18360 printf %s
"(cached) " >&6
18362 ac_check_soname_save_LIBS
=$LIBS
18363 LIBS
="-lvulkan $LIBS"
18364 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18365 /* end confdefs.h. */
18367 /* Override any GCC internal prototype to avoid an error.
18368 Use char because int might match the return type of a GCC
18369 builtin and then its argument prototype would still apply. */
18370 char vkGetInstanceProcAddr ();
18374 return vkGetInstanceProcAddr ();
18379 if ac_fn_c_try_link
"$LINENO"
18382 dll
) ac_cv_lib_soname_vulkan
=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18383 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'` ;;
18384 *) ac_cv_lib_soname_vulkan
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18385 if ${ac_cv_lib_soname_vulkan:+false} :
18387 ac_cv_lib_soname_vulkan
=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18391 ac_cv_lib_soname_vulkan
=
18393 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18394 conftest
$ac_exeext conftest.
$ac_ext
18395 LIBS
=$ac_check_soname_save_LIBS
18397 if ${ac_cv_lib_soname_vulkan:+false} :
18399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18400 printf "%s\n" "not found" >&6; }
18403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18404 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18406 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18410 if test "x$ac_cv_lib_soname_vulkan" = "x"
18412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18413 printf %s
"checking for -lMoltenVK... " >&6; }
18414 if test ${ac_cv_lib_soname_MoltenVK+y}
18416 printf %s
"(cached) " >&6
18418 ac_check_soname_save_LIBS
=$LIBS
18419 LIBS
="-lMoltenVK $LIBS"
18420 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18421 /* end confdefs.h. */
18423 /* Override any GCC internal prototype to avoid an error.
18424 Use char because int might match the return type of a GCC
18425 builtin and then its argument prototype would still apply. */
18426 char vkGetInstanceProcAddr ();
18430 return vkGetInstanceProcAddr ();
18435 if ac_fn_c_try_link
"$LINENO"
18438 dll
) ac_cv_lib_soname_MoltenVK
=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18439 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'` ;;
18440 *) ac_cv_lib_soname_MoltenVK
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18441 if ${ac_cv_lib_soname_MoltenVK:+false} :
18443 ac_cv_lib_soname_MoltenVK
=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18447 ac_cv_lib_soname_MoltenVK
=
18449 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18450 conftest
$ac_exeext conftest.
$ac_ext
18451 LIBS
=$ac_check_soname_save_LIBS
18453 if ${ac_cv_lib_soname_MoltenVK:+false} :
18455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18456 printf "%s\n" "not found" >&6; }
18459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18460 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18462 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18468 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18470 case "x$with_vulkan" in
18471 x
) as_fn_append wine_notices
"|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18473 *) as_fn_error $?
"libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18474 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18480 if test "x${GCC}" = "xyes"
18482 EXTRACFLAGS
="$EXTRACFLAGS -Wall -pipe"
18484 saved_CFLAGS
=$CFLAGS
18485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18486 printf %s
"checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18487 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18489 printf %s
"(cached) " >&6
18491 ac_wine_try_cflags_saved
=$CFLAGS
18492 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
18493 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18494 /* end confdefs.h. */
18495 int main(int argc, char **argv) { return 0; }
18497 if ac_fn_c_try_link
"$LINENO"
18499 ac_cv_cflags__Werror_unknown_warning_option
=yes
18501 ac_cv_cflags__Werror_unknown_warning_option
=no
18503 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18504 conftest
$ac_exeext conftest.
$ac_ext
18505 CFLAGS
=$ac_wine_try_cflags_saved
18507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18508 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18509 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18511 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
18513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18514 printf %s
"checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18515 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18517 printf %s
"(cached) " >&6
18519 ac_wine_try_cflags_saved
=$CFLAGS
18520 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
18521 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18522 /* end confdefs.h. */
18523 int main(int argc, char **argv) { return 0; }
18525 if ac_fn_c_try_link
"$LINENO"
18527 ac_cv_cflags__Werror_unused_command_line_argument
=yes
18529 ac_cv_cflags__Werror_unused_command_line_argument
=no
18531 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18532 conftest
$ac_exeext conftest.
$ac_ext
18533 CFLAGS
=$ac_wine_try_cflags_saved
18535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18536 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18537 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18539 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
18541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18542 printf %s
"checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18543 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18545 printf %s
"(cached) " >&6
18547 ac_wine_try_cflags_saved
=$CFLAGS
18548 CFLAGS
="$CFLAGS -Werror=ignored-optimization-argument"
18549 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18550 /* end confdefs.h. */
18551 int main(int argc, char **argv) { return 0; }
18553 if ac_fn_c_try_link
"$LINENO"
18555 ac_cv_cflags__Werror_ignored_optimization_argument
=yes
18557 ac_cv_cflags__Werror_ignored_optimization_argument
=no
18559 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18560 conftest
$ac_exeext conftest.
$ac_ext
18561 CFLAGS
=$ac_wine_try_cflags_saved
18563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18564 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18565 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18567 CFLAGS
="$CFLAGS -Werror=ignored-optimization-argument"
18569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18570 printf %s
"checking whether the compiler supports -fcf-protection=none... " >&6; }
18571 if test ${ac_cv_cflags__fcf_protection_none+y}
18573 printf %s
"(cached) " >&6
18575 ac_wine_try_cflags_saved
=$CFLAGS
18576 CFLAGS
="$CFLAGS -fcf-protection=none"
18577 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18578 /* end confdefs.h. */
18579 int main(int argc, char **argv) { return 0; }
18581 if ac_fn_c_try_link
"$LINENO"
18583 ac_cv_cflags__fcf_protection_none
=yes
18585 ac_cv_cflags__fcf_protection_none
=no
18587 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18588 conftest
$ac_exeext conftest.
$ac_ext
18589 CFLAGS
=$ac_wine_try_cflags_saved
18591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18592 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18593 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18595 EXTRACFLAGS
="$EXTRACFLAGS -fcf-protection=none"
18597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18598 printf %s
"checking whether the compiler supports -fno-stack-protector... " >&6; }
18599 if test ${ac_cv_cflags__fno_stack_protector+y}
18601 printf %s
"(cached) " >&6
18603 ac_wine_try_cflags_saved
=$CFLAGS
18604 CFLAGS
="$CFLAGS -fno-stack-protector"
18605 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18606 /* end confdefs.h. */
18607 int main(int argc, char **argv) { return 0; }
18609 if ac_fn_c_try_link
"$LINENO"
18611 ac_cv_cflags__fno_stack_protector
=yes
18613 ac_cv_cflags__fno_stack_protector
=no
18615 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18616 conftest
$ac_exeext conftest.
$ac_ext
18617 CFLAGS
=$ac_wine_try_cflags_saved
18619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18620 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18621 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18623 EXTRACFLAGS
="$EXTRACFLAGS -fno-stack-protector"
18625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18626 printf %s
"checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18627 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18629 printf %s
"(cached) " >&6
18631 ac_wine_try_cflags_saved
=$CFLAGS
18632 CFLAGS
="$CFLAGS -fno-strict-aliasing"
18633 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18634 /* end confdefs.h. */
18635 int main(int argc, char **argv) { return 0; }
18637 if ac_fn_c_try_link
"$LINENO"
18639 ac_cv_cflags__fno_strict_aliasing
=yes
18641 ac_cv_cflags__fno_strict_aliasing
=no
18643 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18644 conftest
$ac_exeext conftest.
$ac_ext
18645 CFLAGS
=$ac_wine_try_cflags_saved
18647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18648 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18649 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18651 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
18653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18654 printf %s
"checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18655 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18657 printf %s
"(cached) " >&6
18659 ac_wine_try_cflags_saved
=$CFLAGS
18660 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
18661 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18662 /* end confdefs.h. */
18663 int main(int argc, char **argv) { return 0; }
18665 if ac_fn_c_try_link
"$LINENO"
18667 ac_cv_cflags__Wdeclaration_after_statement
=yes
18669 ac_cv_cflags__Wdeclaration_after_statement
=no
18671 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18672 conftest
$ac_exeext conftest.
$ac_ext
18673 CFLAGS
=$ac_wine_try_cflags_saved
18675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18676 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18677 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18679 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
18681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18682 printf %s
"checking whether the compiler supports -Wempty-body... " >&6; }
18683 if test ${ac_cv_cflags__Wempty_body+y}
18685 printf %s
"(cached) " >&6
18687 ac_wine_try_cflags_saved
=$CFLAGS
18688 CFLAGS
="$CFLAGS -Wempty-body"
18689 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18690 /* end confdefs.h. */
18691 int main(int argc, char **argv) { return 0; }
18693 if ac_fn_c_try_link
"$LINENO"
18695 ac_cv_cflags__Wempty_body
=yes
18697 ac_cv_cflags__Wempty_body
=no
18699 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18700 conftest
$ac_exeext conftest.
$ac_ext
18701 CFLAGS
=$ac_wine_try_cflags_saved
18703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18704 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18705 if test "x$ac_cv_cflags__Wempty_body" = xyes
18707 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
18709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18710 printf %s
"checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18711 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18713 printf %s
"(cached) " >&6
18715 ac_wine_try_cflags_saved
=$CFLAGS
18716 CFLAGS
="$CFLAGS -Wignored-qualifiers"
18717 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18718 /* end confdefs.h. */
18719 int main(int argc, char **argv) { return 0; }
18721 if ac_fn_c_try_link
"$LINENO"
18723 ac_cv_cflags__Wignored_qualifiers
=yes
18725 ac_cv_cflags__Wignored_qualifiers
=no
18727 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18728 conftest
$ac_exeext conftest.
$ac_ext
18729 CFLAGS
=$ac_wine_try_cflags_saved
18731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18732 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18733 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18735 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
18737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18738 printf %s
"checking whether the compiler supports -Winit-self... " >&6; }
18739 if test ${ac_cv_cflags__Winit_self+y}
18741 printf %s
"(cached) " >&6
18743 ac_wine_try_cflags_saved
=$CFLAGS
18744 CFLAGS
="$CFLAGS -Winit-self"
18745 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18746 /* end confdefs.h. */
18747 int main(int argc, char **argv) { return 0; }
18749 if ac_fn_c_try_link
"$LINENO"
18751 ac_cv_cflags__Winit_self
=yes
18753 ac_cv_cflags__Winit_self
=no
18755 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18756 conftest
$ac_exeext conftest.
$ac_ext
18757 CFLAGS
=$ac_wine_try_cflags_saved
18759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18760 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18761 if test "x$ac_cv_cflags__Winit_self" = xyes
18763 EXTRACFLAGS
="$EXTRACFLAGS -Winit-self"
18765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18766 printf %s
"checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18767 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18769 printf %s
"(cached) " >&6
18771 ac_wine_try_cflags_saved
=$CFLAGS
18772 CFLAGS
="$CFLAGS -Wpacked-not-aligned"
18773 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18774 /* end confdefs.h. */
18775 int main(int argc, char **argv) { return 0; }
18777 if ac_fn_c_try_link
"$LINENO"
18779 ac_cv_cflags__Wpacked_not_aligned
=yes
18781 ac_cv_cflags__Wpacked_not_aligned
=no
18783 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18784 conftest
$ac_exeext conftest.
$ac_ext
18785 CFLAGS
=$ac_wine_try_cflags_saved
18787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18788 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18789 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18791 EXTRACFLAGS
="$EXTRACFLAGS -Wno-packed-not-aligned"
18793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18794 printf %s
"checking whether the compiler supports -Wpragma-pack... " >&6; }
18795 if test ${ac_cv_cflags__Wpragma_pack+y}
18797 printf %s
"(cached) " >&6
18799 ac_wine_try_cflags_saved
=$CFLAGS
18800 CFLAGS
="$CFLAGS -Wpragma-pack"
18801 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18802 /* end confdefs.h. */
18803 int main(int argc, char **argv) { return 0; }
18805 if ac_fn_c_try_link
"$LINENO"
18807 ac_cv_cflags__Wpragma_pack
=yes
18809 ac_cv_cflags__Wpragma_pack
=no
18811 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18812 conftest
$ac_exeext conftest.
$ac_ext
18813 CFLAGS
=$ac_wine_try_cflags_saved
18815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18816 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18817 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18819 EXTRACFLAGS
="$EXTRACFLAGS -Wno-pragma-pack"
18821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18822 printf %s
"checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18823 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18825 printf %s
"(cached) " >&6
18827 ac_wine_try_cflags_saved
=$CFLAGS
18828 CFLAGS
="$CFLAGS -Wshift-overflow=2"
18829 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18830 /* end confdefs.h. */
18831 int main(int argc, char **argv) { return 0; }
18833 if ac_fn_c_try_link
"$LINENO"
18835 ac_cv_cflags__Wshift_overflow_2
=yes
18837 ac_cv_cflags__Wshift_overflow_2
=no
18839 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18840 conftest
$ac_exeext conftest.
$ac_ext
18841 CFLAGS
=$ac_wine_try_cflags_saved
18843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18844 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18845 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18847 EXTRACFLAGS
="$EXTRACFLAGS -Wshift-overflow=2"
18849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18850 printf %s
"checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18851 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18853 printf %s
"(cached) " >&6
18855 ac_wine_try_cflags_saved
=$CFLAGS
18856 CFLAGS
="$CFLAGS -Wstrict-prototypes"
18857 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18858 /* end confdefs.h. */
18859 int main(int argc, char **argv) { return 0; }
18861 if ac_fn_c_try_link
"$LINENO"
18863 ac_cv_cflags__Wstrict_prototypes
=yes
18865 ac_cv_cflags__Wstrict_prototypes
=no
18867 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18868 conftest
$ac_exeext conftest.
$ac_ext
18869 CFLAGS
=$ac_wine_try_cflags_saved
18871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18872 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18873 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18875 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
18877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18878 printf %s
"checking whether the compiler supports -Wtype-limits... " >&6; }
18879 if test ${ac_cv_cflags__Wtype_limits+y}
18881 printf %s
"(cached) " >&6
18883 ac_wine_try_cflags_saved
=$CFLAGS
18884 CFLAGS
="$CFLAGS -Wtype-limits"
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__Wtype_limits
=yes
18893 ac_cv_cflags__Wtype_limits
=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__Wtype_limits" >&5
18900 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18901 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18903 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
18905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18906 printf %s
"checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18907 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18909 printf %s
"(cached) " >&6
18911 ac_wine_try_cflags_saved
=$CFLAGS
18912 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
18913 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18914 /* end confdefs.h. */
18915 int main(int argc, char **argv) { return 0; }
18917 if ac_fn_c_try_link
"$LINENO"
18919 ac_cv_cflags__Wunused_but_set_parameter
=yes
18921 ac_cv_cflags__Wunused_but_set_parameter
=no
18923 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18924 conftest
$ac_exeext conftest.
$ac_ext
18925 CFLAGS
=$ac_wine_try_cflags_saved
18927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
18928 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
18929 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
18931 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
18933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
18934 printf %s
"checking whether the compiler supports -Wvla... " >&6; }
18935 if test ${ac_cv_cflags__Wvla+y}
18937 printf %s
"(cached) " >&6
18939 ac_wine_try_cflags_saved
=$CFLAGS
18940 CFLAGS
="$CFLAGS -Wvla"
18941 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18942 /* end confdefs.h. */
18943 int main(int argc, char **argv) { return 0; }
18945 if ac_fn_c_try_link
"$LINENO"
18947 ac_cv_cflags__Wvla
=yes
18949 ac_cv_cflags__Wvla
=no
18951 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18952 conftest
$ac_exeext conftest.
$ac_ext
18953 CFLAGS
=$ac_wine_try_cflags_saved
18955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
18956 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
18957 if test "x$ac_cv_cflags__Wvla" = xyes
18959 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
18961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
18962 printf %s
"checking whether the compiler supports -Wwrite-strings... " >&6; }
18963 if test ${ac_cv_cflags__Wwrite_strings+y}
18965 printf %s
"(cached) " >&6
18967 ac_wine_try_cflags_saved
=$CFLAGS
18968 CFLAGS
="$CFLAGS -Wwrite-strings"
18969 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18970 /* end confdefs.h. */
18971 int main(int argc, char **argv) { return 0; }
18973 if ac_fn_c_try_link
"$LINENO"
18975 ac_cv_cflags__Wwrite_strings
=yes
18977 ac_cv_cflags__Wwrite_strings
=no
18979 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18980 conftest
$ac_exeext conftest.
$ac_ext
18981 CFLAGS
=$ac_wine_try_cflags_saved
18983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
18984 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
18985 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
18987 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
18990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
18991 printf %s
"checking whether the compiler supports -Wpointer-arith... " >&6; }
18992 if test ${ac_cv_cflags__Wpointer_arith+y}
18994 printf %s
"(cached) " >&6
18996 ac_wine_try_cflags_saved
=$CFLAGS
18997 CFLAGS
="$CFLAGS -Wpointer-arith"
18998 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18999 /* end confdefs.h. */
19000 int main(int argc, char **argv) { return 0; }
19002 if ac_fn_c_try_link
"$LINENO"
19004 ac_cv_cflags__Wpointer_arith
=yes
19006 ac_cv_cflags__Wpointer_arith
=no
19008 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19009 conftest
$ac_exeext conftest.
$ac_ext
19010 CFLAGS
=$ac_wine_try_cflags_saved
19012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
19013 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19014 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19016 saved_string_h_CFLAGS
=$CFLAGS
19017 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
19018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19019 printf %s
"checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19020 if test ${ac_cv_c_string_h_warnings+y}
19022 printf %s
"(cached) " >&6
19024 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19025 /* end confdefs.h. */
19026 #include <string.h>
19035 if ac_fn_c_try_compile
"$LINENO"
19037 ac_cv_c_string_h_warnings
=no
19039 ac_cv_c_string_h_warnings
=yes
19041 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19044 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19045 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
19046 CFLAGS
=$saved_string_h_CFLAGS
19049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19050 printf %s
"checking whether the compiler supports -Wlogical-op... " >&6; }
19051 if test ${ac_cv_cflags__Wlogical_op+y}
19053 printf %s
"(cached) " >&6
19055 ac_wine_try_cflags_saved
=$CFLAGS
19056 CFLAGS
="$CFLAGS -Wlogical-op"
19057 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19058 /* end confdefs.h. */
19059 int main(int argc, char **argv) { return 0; }
19061 if ac_fn_c_try_link
"$LINENO"
19063 ac_cv_cflags__Wlogical_op
=yes
19065 ac_cv_cflags__Wlogical_op
=no
19067 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19068 conftest
$ac_exeext conftest.
$ac_ext
19069 CFLAGS
=$ac_wine_try_cflags_saved
19071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19072 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19073 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19075 saved_string_h_CFLAGS
=$CFLAGS
19076 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
19077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19078 printf %s
"checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19079 if test ${ac_cv_c_logicalop_noisy+y}
19081 printf %s
"(cached) " >&6
19083 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19084 /* end confdefs.h. */
19085 #include <string.h>
19086 char*f(const char *h,char n) {return strchr(h,n);}
19095 if ac_fn_c_try_compile
"$LINENO"
19097 ac_cv_c_logicalop_noisy
=no
19099 ac_cv_c_logicalop_noisy
=yes
19101 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19104 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19105 CFLAGS
=$saved_string_h_CFLAGS
19106 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
19109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19110 printf %s
"checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19111 if test ${wine_cv_64bit_compare_swap+y}
19113 printf %s
"(cached) " >&6
19115 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19116 /* end confdefs.h. */
19117 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19128 if ac_fn_c_try_compile
"$LINENO"
19130 wine_cv_64bit_compare_swap
="none needed"
19133 *i
[3456]86*) wine_cv_64bit_compare_swap
="-march=i586" ;;
19134 *arm
*) wine_cv_64bit_compare_swap
="-march=armv7-a" ;;
19135 *) wine_cv_64bit_compare_swap
="unknown" ;;
19137 if test "x$wine_cv_64bit_compare_swap" != xunknown
19139 CFLAGS
="$CFLAGS $wine_cv_64bit_compare_swap"
19140 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19141 /* end confdefs.h. */
19142 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19153 if ac_fn_c_try_compile
"$LINENO"
19157 wine_cv_64bit_compare_swap
="unknown"
19159 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19160 CFLAGS
=$saved_CFLAGS
19163 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19166 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19167 case "$wine_cv_64bit_compare_swap" in
19168 unknown
) as_fn_error $?
"gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19170 *) EXTRACFLAGS
="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19173 ac_debug_format_seen
=""
19174 for ac_flag
in $CFLAGS; do
19176 -gdwarf*) ac_debug_format_seen
=yes ;;
19177 -g) ac_debug_format_seen
=${ac_debug_format_seen:-default} ;;
19180 if test "x$ac_debug_format_seen" = xdefault
19182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19183 printf %s
"checking whether the compiler supports -gdwarf-4... " >&6; }
19184 if test ${ac_cv_cflags__gdwarf_4+y}
19186 printf %s
"(cached) " >&6
19188 ac_wine_try_cflags_saved
=$CFLAGS
19189 CFLAGS
="$CFLAGS -gdwarf-4"
19190 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19191 /* end confdefs.h. */
19192 int main(int argc, char **argv) { return 0; }
19194 if ac_fn_c_try_link
"$LINENO"
19196 ac_cv_cflags__gdwarf_4
=yes
19198 ac_cv_cflags__gdwarf_4
=no
19200 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19201 conftest
$ac_exeext conftest.
$ac_ext
19202 CFLAGS
=$ac_wine_try_cflags_saved
19204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19205 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19206 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19208 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-4"
19215 mingw32
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19216 printf %s
"checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19217 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19219 printf %s
"(cached) " >&6
19221 ac_wine_try_cflags_saved
=$CFLAGS
19222 CFLAGS
="$CFLAGS -Wl,-delayload,autoconftest.dll"
19223 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19224 /* end confdefs.h. */
19225 int main(int argc, char **argv) { return 0; }
19227 if ac_fn_c_try_link
"$LINENO"
19229 ac_cv_cflags__Wl__delayload_autoconftest_dll
=yes
19231 ac_cv_cflags__Wl__delayload_autoconftest_dll
=no
19233 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19234 conftest
$ac_exeext conftest.
$ac_ext
19235 CFLAGS
=$ac_wine_try_cflags_saved
19237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19238 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19239 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19241 DELAYLOADFLAG
="-Wl,-delayload,"
19244 *) MSVCRTFLAGS
="-D_WIN32"
19245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19246 printf %s
"checking whether the compiler supports -fno-builtin... " >&6; }
19247 if test ${ac_cv_cflags__fno_builtin+y}
19249 printf %s
"(cached) " >&6
19251 ac_wine_try_cflags_saved
=$CFLAGS
19252 CFLAGS
="$CFLAGS -fno-builtin"
19253 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19254 /* end confdefs.h. */
19255 int main(int argc, char **argv) { return 0; }
19257 if ac_fn_c_try_link
"$LINENO"
19259 ac_cv_cflags__fno_builtin
=yes
19261 ac_cv_cflags__fno_builtin
=no
19263 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19264 conftest
$ac_exeext conftest.
$ac_ext
19265 CFLAGS
=$ac_wine_try_cflags_saved
19267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19268 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19269 if test "x$ac_cv_cflags__fno_builtin" = xyes
19271 MSVCRTFLAGS
="$MSVCRTFLAGS -fno-builtin"
19273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19274 printf %s
"checking whether the compiler supports -fshort-wchar... " >&6; }
19275 if test ${ac_cv_cflags__fshort_wchar+y}
19277 printf %s
"(cached) " >&6
19279 ac_wine_try_cflags_saved
=$CFLAGS
19280 CFLAGS
="$CFLAGS -fshort-wchar"
19281 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19282 /* end confdefs.h. */
19283 int main(int argc, char **argv) { return 0; }
19285 if ac_fn_c_try_link
"$LINENO"
19287 ac_cv_cflags__fshort_wchar
=yes
19289 ac_cv_cflags__fshort_wchar
=no
19291 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19292 conftest
$ac_exeext conftest.
$ac_ext
19293 CFLAGS
=$ac_wine_try_cflags_saved
19295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19296 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19297 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19299 MSVCRTFLAGS
="$MSVCRTFLAGS -fshort-wchar"
19301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fvisibility=hidden" >&5
19302 printf %s
"checking whether the compiler supports -fvisibility=hidden... " >&6; }
19303 if test ${ac_cv_cflags__fvisibility_hidden+y}
19305 printf %s
"(cached) " >&6
19307 ac_wine_try_cflags_saved
=$CFLAGS
19308 CFLAGS
="$CFLAGS -fvisibility=hidden"
19309 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19310 /* end confdefs.h. */
19311 int main(int argc, char **argv) { return 0; }
19313 if ac_fn_c_try_link
"$LINENO"
19315 ac_cv_cflags__fvisibility_hidden
=yes
19317 ac_cv_cflags__fvisibility_hidden
=no
19319 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19320 conftest
$ac_exeext conftest.
$ac_ext
19321 CFLAGS
=$ac_wine_try_cflags_saved
19323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fvisibility_hidden" >&5
19324 printf "%s\n" "$ac_cv_cflags__fvisibility_hidden" >&6; }
19325 if test "x$ac_cv_cflags__fvisibility_hidden" = xyes
19327 MSVCRTFLAGS
="$MSVCRTFLAGS -fvisibility=hidden"
19329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19330 printf %s
"checking whether the compiler supports -Wno-format... " >&6; }
19331 if test ${ac_cv_cflags__Wno_format+y}
19333 printf %s
"(cached) " >&6
19335 ac_wine_try_cflags_saved
=$CFLAGS
19336 CFLAGS
="$CFLAGS -Wno-format"
19337 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19338 /* end confdefs.h. */
19339 int main(int argc, char **argv) { return 0; }
19341 if ac_fn_c_try_link
"$LINENO"
19343 ac_cv_cflags__Wno_format
=yes
19345 ac_cv_cflags__Wno_format
=no
19347 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19348 conftest
$ac_exeext conftest.
$ac_ext
19349 CFLAGS
=$ac_wine_try_cflags_saved
19351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19352 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19353 if test "x$ac_cv_cflags__Wno_format" = xyes
19355 MSVCRTFLAGS
="$MSVCRTFLAGS -Wno-format"
19360 *i
[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19361 printf %s
"checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19362 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19364 printf %s
"(cached) " >&6
19366 ac_wine_try_cflags_saved
=$CFLAGS
19367 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
19368 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19369 /* end confdefs.h. */
19370 int main(int argc, char **argv) { return 0; }
19372 if ac_fn_c_try_link
"$LINENO"
19374 ac_cv_cflags__fno_omit_frame_pointer
=yes
19376 ac_cv_cflags__fno_omit_frame_pointer
=no
19378 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19379 conftest
$ac_exeext conftest.
$ac_ext
19380 CFLAGS
=$ac_wine_try_cflags_saved
19382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19383 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19384 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19386 MSVCRTFLAGS
="$MSVCRTFLAGS -fno-omit-frame-pointer"
19390 cygwin
*|mingw32
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19391 printf %s
"checking whether the compiler supports -Wno-format... " >&6; }
19392 if test ${ac_cv_cflags__Wno_format+y}
19394 printf %s
"(cached) " >&6
19396 ac_wine_try_cflags_saved
=$CFLAGS
19397 CFLAGS
="$CFLAGS -Wno-format"
19398 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19399 /* end confdefs.h. */
19400 int main(int argc, char **argv) { return 0; }
19402 if ac_fn_c_try_link
"$LINENO"
19404 ac_cv_cflags__Wno_format
=yes
19406 ac_cv_cflags__Wno_format
=no
19408 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19409 conftest
$ac_exeext conftest.
$ac_ext
19410 CFLAGS
=$ac_wine_try_cflags_saved
19412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19413 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19414 if test "x$ac_cv_cflags__Wno_format" = xyes
19416 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
19418 *) if test -z "$PE_ARCHS"
19420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19421 printf %s
"checking for working -mabi=ms... " >&6; }
19422 if test ${ac_cv_mabi_ms+y}
19424 printf %s
"(cached) " >&6
19426 CFLAGS
="$CFLAGS -mabi=ms"
19427 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19428 /* end confdefs.h. */
19429 #include <stdarg.h>
19430 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19439 if ac_fn_c_try_compile
"$LINENO"
19445 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19446 CFLAGS
=$saved_CFLAGS
19448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19449 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19450 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
19452 MSVCRTFLAGS
="$MSVCRTFLAGS -mabi=ms" ;;
19455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19456 printf %s
"checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19457 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19459 printf %s
"(cached) " >&6
19461 ac_wine_try_cflags_saved
=$CFLAGS
19462 CFLAGS
="$CFLAGS -Wincompatible-function-pointer-types"
19463 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19464 /* end confdefs.h. */
19465 int main(int argc, char **argv) { return 0; }
19467 if ac_fn_c_try_link
"$LINENO"
19469 ac_cv_cflags__Wincompatible_function_pointer_types
=yes
19471 ac_cv_cflags__Wincompatible_function_pointer_types
=no
19473 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19474 conftest
$ac_exeext conftest.
$ac_ext
19475 CFLAGS
=$ac_wine_try_cflags_saved
19477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
19478 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19479 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19481 EXTRACFLAGS
="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19485 CFLAGS
=$saved_CFLAGS
19487 if test "x$enable_werror" = "xyes"
19489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19490 printf %s
"checking whether the compiler supports -Werror... " >&6; }
19491 if test ${ac_cv_cflags__Werror+y}
19493 printf %s
"(cached) " >&6
19495 ac_wine_try_cflags_saved
=$CFLAGS
19496 CFLAGS
="$CFLAGS -Werror"
19497 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19498 /* end confdefs.h. */
19499 int main(int argc, char **argv) { return 0; }
19501 if ac_fn_c_try_link
"$LINENO"
19503 ac_cv_cflags__Werror
=yes
19505 ac_cv_cflags__Werror
=no
19507 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19508 conftest
$ac_exeext conftest.
$ac_ext
19509 CFLAGS
=$ac_wine_try_cflags_saved
19511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19512 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19513 if test "x$ac_cv_cflags__Werror" = xyes
19515 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
19518 if test "x$enable_build_id" = "xyes"
19520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19521 printf %s
"checking whether the compiler supports -Wl,--build-id... " >&6; }
19522 if test ${ac_cv_cflags__Wl___build_id+y}
19524 printf %s
"(cached) " >&6
19526 ac_wine_try_cflags_saved
=$CFLAGS
19527 CFLAGS
="$CFLAGS -Wl,--build-id"
19528 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19529 /* end confdefs.h. */
19530 int main(int argc, char **argv) { return 0; }
19532 if ac_fn_c_try_link
"$LINENO"
19534 ac_cv_cflags__Wl___build_id
=yes
19536 ac_cv_cflags__Wl___build_id
=no
19538 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19539 conftest
$ac_exeext conftest.
$ac_ext
19540 CFLAGS
=$ac_wine_try_cflags_saved
19542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19543 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19544 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19546 CFLAGS
="$CFLAGS -Wl,--build-id"
19547 LDFLAGS
="$LDFLAGS -Wl,--build-id"
19553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19554 printf %s
"checking for the need to disable Fortify... " >&6; }
19555 if test ${ac_cv_c_fortify_enabled+y}
19557 printf %s
"(cached) " >&6
19559 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19560 /* end confdefs.h. */
19561 #include <string.h>
19565 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19566 #error Fortify enabled
19572 if ac_fn_c_try_compile
"$LINENO"
19574 ac_cv_c_fortify_enabled
=no
19576 ac_cv_c_fortify_enabled
=yes
19578 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19581 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19582 if test "$ac_cv_c_fortify_enabled" = yes
19584 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19589 printf %s
"checking whether CFI directives are supported in assembly code... " >&6; }
19590 if test ${ac_cv_c_cfi_support+y}
19592 printf %s
"(cached) " >&6
19594 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19595 /* end confdefs.h. */
19596 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19605 if ac_fn_c_try_compile
"$LINENO"
19607 ac_cv_c_cfi_support
="yes"
19609 ac_cv_c_cfi_support
="no"
19611 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19614 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19615 if test "$ac_cv_c_cfi_support" = "yes"
19617 DLLFLAGS
="$DLLFLAGS -fasynchronous-unwind-tables"
19618 LDDLLFLAGS
="$LDDLLFLAGS -fasynchronous-unwind-tables"
19619 UNIXDLLFLAGS
="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19620 elif test $HOST_ARCH = x86_64
19622 as_fn_append wine_warnings
"|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19626 case "$HOST_ARCH,$PE_ARCHS" in
19627 x86_64
,*i386
*) wine_binary
="wine" ;;
19628 x86_64
,*) wine_binary
="wine64" ;;
19629 *) wine_binary
="wine" ;;
19631 WINELOADER_PROGRAMS
="$wine_binary"
19637 *i
[3456789]86*|x86_64
*|
*aarch64
*|arm
*)
19638 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine-preloader"
19639 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
19644 if test "$wine_can_build_preloader" = "yes"
19646 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine-preloader"
19647 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
19653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19654 printf %s
"checking for library containing dlopen... " >&6; }
19655 if test ${ac_cv_search_dlopen+y}
19657 printf %s
"(cached) " >&6
19659 ac_func_search_save_LIBS
=$LIBS
19660 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19661 /* end confdefs.h. */
19663 /* Override any GCC internal prototype to avoid an error.
19664 Use char because int might match the return type of a GCC
19665 builtin and then its argument prototype would still apply. */
19675 for ac_lib
in '' dl
19677 if test -z "$ac_lib"; then
19678 ac_res
="none required"
19681 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19683 if ac_fn_c_try_link
"$LINENO"
19685 ac_cv_search_dlopen
=$ac_res
19687 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19689 if test ${ac_cv_search_dlopen+y}
19694 if test ${ac_cv_search_dlopen+y}
19698 ac_cv_search_dlopen
=no
19700 rm conftest.
$ac_ext
19701 LIBS
=$ac_func_search_save_LIBS
19703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19704 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19705 ac_res
=$ac_cv_search_dlopen
19706 if test "$ac_res" != no
19708 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19714 printf %s
"checking for library containing gethostbyname... " >&6; }
19715 if test ${ac_cv_search_gethostbyname+y}
19717 printf %s
"(cached) " >&6
19719 ac_func_search_save_LIBS
=$LIBS
19720 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19721 /* end confdefs.h. */
19723 /* Override any GCC internal prototype to avoid an error.
19724 Use char because int might match the return type of a GCC
19725 builtin and then its argument prototype would still apply. */
19726 char gethostbyname ();
19730 return gethostbyname ();
19735 for ac_lib
in '' nsl
19737 if test -z "$ac_lib"; then
19738 ac_res
="none required"
19741 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19743 if ac_fn_c_try_link
"$LINENO"
19745 ac_cv_search_gethostbyname
=$ac_res
19747 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19749 if test ${ac_cv_search_gethostbyname+y}
19754 if test ${ac_cv_search_gethostbyname+y}
19758 ac_cv_search_gethostbyname
=no
19760 rm conftest.
$ac_ext
19761 LIBS
=$ac_func_search_save_LIBS
19763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19764 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19765 ac_res
=$ac_cv_search_gethostbyname
19766 if test "$ac_res" != no
19768 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19774 printf %s
"checking for library containing connect... " >&6; }
19775 if test ${ac_cv_search_connect+y}
19777 printf %s
"(cached) " >&6
19779 ac_func_search_save_LIBS
=$LIBS
19780 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19781 /* end confdefs.h. */
19783 /* Override any GCC internal prototype to avoid an error.
19784 Use char because int might match the return type of a GCC
19785 builtin and then its argument prototype would still apply. */
19795 for ac_lib
in '' socket
19797 if test -z "$ac_lib"; then
19798 ac_res
="none required"
19801 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19803 if ac_fn_c_try_link
"$LINENO"
19805 ac_cv_search_connect
=$ac_res
19807 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19809 if test ${ac_cv_search_connect+y}
19814 if test ${ac_cv_search_connect+y}
19818 ac_cv_search_connect
=no
19820 rm conftest.
$ac_ext
19821 LIBS
=$ac_func_search_save_LIBS
19823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19824 printf "%s\n" "$ac_cv_search_connect" >&6; }
19825 ac_res
=$ac_cv_search_connect
19826 if test "$ac_res" != no
19828 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19834 printf %s
"checking for library containing inet_aton... " >&6; }
19835 if test ${ac_cv_search_inet_aton+y}
19837 printf %s
"(cached) " >&6
19839 ac_func_search_save_LIBS
=$LIBS
19840 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19841 /* end confdefs.h. */
19843 /* Override any GCC internal prototype to avoid an error.
19844 Use char because int might match the return type of a GCC
19845 builtin and then its argument prototype would still apply. */
19850 return inet_aton ();
19855 for ac_lib
in '' resolv
19857 if test -z "$ac_lib"; then
19858 ac_res
="none required"
19861 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19863 if ac_fn_c_try_link
"$LINENO"
19865 ac_cv_search_inet_aton
=$ac_res
19867 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19869 if test ${ac_cv_search_inet_aton+y}
19874 if test ${ac_cv_search_inet_aton+y}
19878 ac_cv_search_inet_aton
=no
19880 rm conftest.
$ac_ext
19881 LIBS
=$ac_func_search_save_LIBS
19883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
19884 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
19885 ac_res
=$ac_cv_search_inet_aton
19886 if test "$ac_res" != no
19888 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19893 ac_save_CFLAGS
="$CFLAGS"
19894 CFLAGS
="$CFLAGS $BUILTINFLAG"
19895 ac_fn_c_check_func
"$LINENO" "dladdr1" "ac_cv_func_dladdr1"
19896 if test "x$ac_cv_func_dladdr1" = xyes
19898 printf "%s\n" "#define HAVE_DLADDR1 1" >>confdefs.h
19901 ac_fn_c_check_func
"$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19902 if test "x$ac_cv_func_dlinfo" = xyes
19904 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19907 ac_fn_c_check_func
"$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19908 if test "x$ac_cv_func_epoll_create" = xyes
19910 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19913 ac_fn_c_check_func
"$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19914 if test "x$ac_cv_func_fstatfs" = xyes
19916 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19919 ac_fn_c_check_func
"$LINENO" "futimens" "ac_cv_func_futimens"
19920 if test "x$ac_cv_func_futimens" = xyes
19922 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19925 ac_fn_c_check_func
"$LINENO" "futimes" "ac_cv_func_futimes"
19926 if test "x$ac_cv_func_futimes" = xyes
19928 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19931 ac_fn_c_check_func
"$LINENO" "futimesat" "ac_cv_func_futimesat"
19932 if test "x$ac_cv_func_futimesat" = xyes
19934 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19937 ac_fn_c_check_func
"$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
19938 if test "x$ac_cv_func_getaddrinfo" = xyes
19940 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
19943 ac_fn_c_check_func
"$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19944 if test "x$ac_cv_func_getattrlist" = xyes
19946 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19949 ac_fn_c_check_func
"$LINENO" "getauxval" "ac_cv_func_getauxval"
19950 if test "x$ac_cv_func_getauxval" = xyes
19952 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19955 ac_fn_c_check_func
"$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19956 if test "x$ac_cv_func_getifaddrs" = xyes
19958 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19961 ac_fn_c_check_func
"$LINENO" "getrandom" "ac_cv_func_getrandom"
19962 if test "x$ac_cv_func_getrandom" = xyes
19964 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19967 ac_fn_c_check_func
"$LINENO" "kqueue" "ac_cv_func_kqueue"
19968 if test "x$ac_cv_func_kqueue" = xyes
19970 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19973 ac_fn_c_check_func
"$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19974 if test "x$ac_cv_func_mach_continuous_time" = xyes
19976 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19979 ac_fn_c_check_func
"$LINENO" "pipe2" "ac_cv_func_pipe2"
19980 if test "x$ac_cv_func_pipe2" = xyes
19982 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19985 ac_fn_c_check_func
"$LINENO" "port_create" "ac_cv_func_port_create"
19986 if test "x$ac_cv_func_port_create" = xyes
19988 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
19991 ac_fn_c_check_func
"$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
19992 if test "x$ac_cv_func_posix_fadvise" = xyes
19994 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
19997 ac_fn_c_check_func
"$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
19998 if test "x$ac_cv_func_posix_fallocate" = xyes
20000 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
20003 ac_fn_c_check_func
"$LINENO" "prctl" "ac_cv_func_prctl"
20004 if test "x$ac_cv_func_prctl" = xyes
20006 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
20009 ac_fn_c_check_func
"$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
20010 if test "x$ac_cv_func_proc_pidinfo" = xyes
20012 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
20015 ac_fn_c_check_func
"$LINENO" "sched_yield" "ac_cv_func_sched_yield"
20016 if test "x$ac_cv_func_sched_yield" = xyes
20018 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
20021 ac_fn_c_check_func
"$LINENO" "setproctitle" "ac_cv_func_setproctitle"
20022 if test "x$ac_cv_func_setproctitle" = xyes
20024 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
20027 ac_fn_c_check_func
"$LINENO" "setprogname" "ac_cv_func_setprogname"
20028 if test "x$ac_cv_func_setprogname" = xyes
20030 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
20033 ac_fn_c_check_func
"$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
20034 if test "x$ac_cv_func_sigprocmask" = xyes
20036 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
20039 ac_fn_c_check_func
"$LINENO" "sysinfo" "ac_cv_func_sysinfo"
20040 if test "x$ac_cv_func_sysinfo" = xyes
20042 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
20045 ac_fn_c_check_func
"$LINENO" "tcdrain" "ac_cv_func_tcdrain"
20046 if test "x$ac_cv_func_tcdrain" = xyes
20048 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
20051 ac_fn_c_check_func
"$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
20052 if test "x$ac_cv_func_thr_kill2" = xyes
20054 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
20058 CFLAGS
="$ac_save_CFLAGS"
20061 darwin
*|macosx
*) ;;
20062 *) ac_save_LIBS
=$LIBS
20063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20064 printf %s
"checking for library containing clock_gettime... " >&6; }
20065 if test ${ac_cv_search_clock_gettime+y}
20067 printf %s
"(cached) " >&6
20069 ac_func_search_save_LIBS
=$LIBS
20070 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20071 /* end confdefs.h. */
20073 /* Override any GCC internal prototype to avoid an error.
20074 Use char because int might match the return type of a GCC
20075 builtin and then its argument prototype would still apply. */
20076 char clock_gettime ();
20080 return clock_gettime ();
20085 for ac_lib
in '' rt
20087 if test -z "$ac_lib"; then
20088 ac_res
="none required"
20091 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20093 if ac_fn_c_try_link
"$LINENO"
20095 ac_cv_search_clock_gettime
=$ac_res
20097 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20099 if test ${ac_cv_search_clock_gettime+y}
20104 if test ${ac_cv_search_clock_gettime+y}
20108 ac_cv_search_clock_gettime
=no
20110 rm conftest.
$ac_ext
20111 LIBS
=$ac_func_search_save_LIBS
20113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20114 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20115 ac_res
=$ac_cv_search_clock_gettime
20116 if test "$ac_res" != no
20118 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20120 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20122 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
20130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20131 printf %s
"checking for sched_setaffinity... " >&6; }
20132 if test ${wine_cv_have_sched_setaffinity+y}
20134 printf %s
"(cached) " >&6
20136 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20137 /* end confdefs.h. */
20142 sched_setaffinity(0, 0, 0);
20147 if ac_fn_c_try_link
"$LINENO"
20149 wine_cv_have_sched_setaffinity
=yes
20151 wine_cv_have_sched_setaffinity
=no
20153 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20154 conftest
$ac_exeext conftest.
$ac_ext
20156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20157 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20158 if test "$wine_cv_have_sched_setaffinity" = "yes"
20161 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20167 printf %s
"checking for inline... " >&6; }
20168 if test ${ac_cv_c_inline+y}
20170 printf %s
"(cached) " >&6
20173 for ac_kw
in inline __inline__ __inline
; do
20174 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20175 /* end confdefs.h. */
20176 #ifndef __cplusplus
20178 static $ac_kw foo_t static_foo (void) {return 0; }
20179 $ac_kw foo_t foo (void) {return 0; }
20183 if ac_fn_c_try_compile
"$LINENO"
20185 ac_cv_c_inline
=$ac_kw
20187 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20188 test "$ac_cv_c_inline" != no
&& break
20192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20193 printf "%s\n" "$ac_cv_c_inline" >&6; }
20195 case $ac_cv_c_inline in
20198 case $ac_cv_c_inline in
20200 *) ac_val
=$ac_cv_c_inline;;
20202 cat >>confdefs.h
<<_ACEOF
20203 #ifndef __cplusplus
20204 #define inline $ac_val
20210 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20212 if test "x$ac_cv_type_request_sense" = xyes
20215 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20221 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20222 #include <sys/socket.h>
20223 #ifdef HAVE_SYS_SOCKETVAR_H
20224 #include <sys/socketvar.h>
20226 #ifdef HAVE_NET_ROUTE_H
20227 #include <net/route.h>
20229 #ifdef HAVE_NETINET_IN_H
20230 #include <netinet/in.h>
20232 #ifdef HAVE_NETINET_IN_SYSTM_H
20233 #include <netinet/in_systm.h>
20235 #ifdef HAVE_NETINET_IP_H
20236 #include <netinet/ip.h>
20238 #ifdef HAVE_NETINET_IN_PCB_H
20239 #include <netinet/in_pcb.h>
20242 if test "x$ac_cv_type_struct_xinpgen" = xyes
20245 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20252 printf %s
"checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20253 if test ${wine_cv_linux_gethostbyname_r_6+y}
20255 printf %s
"(cached) " >&6
20257 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20258 /* end confdefs.h. */
20266 struct hostent *result;
20273 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20274 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20280 if ac_fn_c_try_link
"$LINENO"
20282 wine_cv_linux_gethostbyname_r_6
=yes
20284 wine_cv_linux_gethostbyname_r_6
=no
20287 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20288 conftest
$ac_exeext conftest.
$ac_ext
20291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20292 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20293 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20296 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20300 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20301 #include <sys/socket.h>
20302 #ifdef HAVE_SYS_UN_H
20303 # include <sys/un.h>
20306 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20309 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20313 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20314 #include <sys/socket.h>
20315 #ifdef HAVE_SYS_UN_H
20316 # include <sys/un.h>
20319 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20322 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20328 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20329 #ifdef HAVE_SCSI_SG_H
20330 #include <scsi/sg.h>
20333 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20336 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20340 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>
20341 #ifdef HAVE_SCSI_SG_H
20342 #include <scsi/sg.h>
20345 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20348 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20354 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20356 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20359 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20365 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20366 #ifdef HAVE_SYS_MTIO_H
20367 #include <sys/mtio.h>
20370 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20373 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20377 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20378 #ifdef HAVE_SYS_MTIO_H
20379 #include <sys/mtio.h>
20382 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20385 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20389 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20390 #ifdef HAVE_SYS_MTIO_H
20391 #include <sys/mtio.h>
20394 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20397 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20403 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20404 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20407 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20411 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20412 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20415 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20419 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20420 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20423 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20427 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20428 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20431 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20435 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20436 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20439 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20443 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20444 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20447 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20451 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20452 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20455 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20459 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20460 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20463 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20467 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20468 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20471 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20475 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20476 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20479 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20483 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20484 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20487 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20493 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>
20494 #ifdef HAVE_NETINET_IN_H
20495 #include <netinet/in.h>
20498 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20501 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20507 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
20508 #include <resolv.h>
20511 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20514 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20520 ac_fn_c_check_member
"$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20521 #include <netinet/in.h>
20524 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20527 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20533 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20534 #ifdef HAVE_SYS_SOCKETVAR_H
20535 #include <sys/socketvar.h>
20537 #ifdef HAVE_NETINET_IN_H
20538 #include <netinet/in.h>
20540 #ifdef HAVE_NETINET_IP_VAR_H
20541 #include <netinet/ip_var.h>
20544 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20547 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20553 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
20554 #include <netinet/ip_var.h>
20557 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20560 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20566 ac_fn_c_check_member
"$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20567 #ifdef HAVE_SYS_SOCKETVAR_H
20568 #include <sys/socketvar.h>
20570 #ifdef HAVE_NETINET_IN_H
20571 #include <netinet/in.h>
20573 #ifdef HAVE_NETINET6_IP6_VAR_H
20574 #include <netinet6/ip6_var.h>
20577 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20580 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20586 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20587 #ifdef HAVE_SYS_SOCKETVAR_H
20588 #include <sys/socketvar.h>
20590 #ifdef HAVE_NETINET_IN_H
20591 #include <netinet/in.h>
20593 #ifdef HAVE_NETINET_IP_H
20594 #include <netinet/ip.h>
20596 #ifdef HAVE_NETINET_IP_ICMP_H
20597 #include <netinet/ip_icmp.h>
20599 #ifdef HAVE_NETINET_ICMP_VAR_H
20600 #include <netinet/icmp_var.h>
20603 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20606 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20612 ac_fn_c_check_member
"$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20613 #ifdef HAVE_SYS_SOCKETVAR_H
20614 #include <sys/socketvar.h>
20616 #ifdef HAVE_NETINET_IN_H
20617 #include <netinet/in.h>
20619 #ifdef HAVE_NETINET_ICMP6_H
20620 #include <netinet/icmp6.h>
20623 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20626 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20632 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20633 #ifdef HAVE_SYS_SOCKETVAR_H
20634 #include <sys/socketvar.h>
20636 #ifdef HAVE_NETINET_IN_H
20637 #include <netinet/in.h>
20639 #ifdef HAVE_NETINET_TCP_H
20640 #include <netinet/tcp.h>
20642 #ifdef HAVE_NETINET_TCP_VAR_H
20643 #include <netinet/tcp_var.h>
20646 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20649 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20655 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
20656 #include <netinet/tcp_var.h>
20659 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20662 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20668 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20669 #ifdef HAVE_NETINET_IN_H
20670 #include <netinet/in.h>
20672 #ifdef HAVE_NETINET_IP_VAR_H
20673 #include <netinet/ip_var.h>
20675 #ifdef HAVE_NETINET_UDP_H
20676 #include <netinet/udp.h>
20678 #ifdef HAVE_NETINET_UDP_VAR_H
20679 #include <netinet/udp_var.h>
20682 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20685 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20691 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20692 #ifdef HAVE_NET_IF_H
20693 # include <net/if.h>
20696 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20699 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20705 ac_fn_c_check_member
"$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20706 # include <sys/sysinfo.h>
20709 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20712 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20716 ac_fn_c_check_member
"$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20717 # include <sys/sysinfo.h>
20720 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20723 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20729 LIBS
="$ac_save_LIBS"
20731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20732 printf %s
"checking for __builtin_popcount... " >&6; }
20733 if test ${ac_cv_have___builtin_popcount+y}
20735 printf %s
"(cached) " >&6
20737 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20738 /* end confdefs.h. */
20743 return __builtin_popcount(1)
20748 if ac_fn_c_try_link
"$LINENO"
20750 ac_cv_have___builtin_popcount
="yes"
20752 ac_cv_have___builtin_popcount
="no"
20754 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20755 conftest
$ac_exeext conftest.
$ac_ext
20757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20758 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20759 if test "$ac_cv_have___builtin_popcount" = "yes"
20762 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20767 printf %s
"checking for __clear_cache... " >&6; }
20768 if test ${ac_cv_have___clear_cache+y}
20770 printf %s
"(cached) " >&6
20772 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20773 /* end confdefs.h. */
20778 __clear_cache((void*)0, (void*)0); return 0;
20783 if ac_fn_c_try_link
"$LINENO"
20785 ac_cv_have___clear_cache
="yes"
20787 ac_cv_have___clear_cache
="no"
20789 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20790 conftest
$ac_exeext conftest.
$ac_ext
20792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20793 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20794 if test "$ac_cv_have___clear_cache" = "yes"
20797 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20803 *i
[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20804 printf %s
"checking whether we need to define __i386__... " >&6; }
20805 if test ${ac_cv_cpp_def___i386__+y}
20807 printf %s
"(cached) " >&6
20809 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20810 /* end confdefs.h. */
20815 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20816 $EGREP "yes" >/dev
/null
2>&1
20818 ac_cv_cpp_def___i386__
=yes
20820 ac_cv_cpp_def___i386__
=no
20825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20826 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20827 if test "x$ac_cv_cpp_def___i386__" = xyes
20829 CFLAGS
="$CFLAGS -D__i386__"
20830 LINTFLAGS
="$LINTFLAGS -D__i386__"
20832 *x86_64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20833 printf %s
"checking whether we need to define __x86_64__... " >&6; }
20834 if test ${ac_cv_cpp_def___x86_64__+y}
20836 printf %s
"(cached) " >&6
20838 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20839 /* end confdefs.h. */
20844 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20845 $EGREP "yes" >/dev
/null
2>&1
20847 ac_cv_cpp_def___x86_64__
=yes
20849 ac_cv_cpp_def___x86_64__
=no
20854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20855 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20856 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20858 CFLAGS
="$CFLAGS -D__x86_64__"
20859 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
20861 *sparc64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
20862 printf %s
"checking whether we need to define __sparc64__... " >&6; }
20863 if test ${ac_cv_cpp_def___sparc64__+y}
20865 printf %s
"(cached) " >&6
20867 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20868 /* end confdefs.h. */
20869 #ifndef __sparc64__
20873 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20874 $EGREP "yes" >/dev
/null
2>&1
20876 ac_cv_cpp_def___sparc64__
=yes
20878 ac_cv_cpp_def___sparc64__
=no
20883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
20884 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
20885 if test "x$ac_cv_cpp_def___sparc64__" = xyes
20887 CFLAGS
="$CFLAGS -D__sparc64__"
20888 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
20890 *sparc
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
20891 printf %s
"checking whether we need to define __sparc__... " >&6; }
20892 if test ${ac_cv_cpp_def___sparc__+y}
20894 printf %s
"(cached) " >&6
20896 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20897 /* end confdefs.h. */
20902 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20903 $EGREP "yes" >/dev
/null
2>&1
20905 ac_cv_cpp_def___sparc__
=yes
20907 ac_cv_cpp_def___sparc__
=no
20912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
20913 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
20914 if test "x$ac_cv_cpp_def___sparc__" = xyes
20916 CFLAGS
="$CFLAGS -D__sparc__"
20917 LINTFLAGS
="$LINTFLAGS -D__sparc__"
20919 *powerpc64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
20920 printf %s
"checking whether we need to define __powerpc64__... " >&6; }
20921 if test ${ac_cv_cpp_def___powerpc64__+y}
20923 printf %s
"(cached) " >&6
20925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20926 /* end confdefs.h. */
20927 #ifndef __powerpc64__
20931 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20932 $EGREP "yes" >/dev
/null
2>&1
20934 ac_cv_cpp_def___powerpc64__
=yes
20936 ac_cv_cpp_def___powerpc64__
=no
20941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
20942 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
20943 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
20945 CFLAGS
="$CFLAGS -D__powerpc64__"
20946 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
20948 *powerpc
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
20949 printf %s
"checking whether we need to define __powerpc__... " >&6; }
20950 if test ${ac_cv_cpp_def___powerpc__+y}
20952 printf %s
"(cached) " >&6
20954 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20955 /* end confdefs.h. */
20956 #ifndef __powerpc__
20960 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20961 $EGREP "yes" >/dev
/null
2>&1
20963 ac_cv_cpp_def___powerpc__
=yes
20965 ac_cv_cpp_def___powerpc__
=no
20970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
20971 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
20972 if test "x$ac_cv_cpp_def___powerpc__" = xyes
20974 CFLAGS
="$CFLAGS -D__powerpc__"
20975 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
20977 *aarch64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
20978 printf %s
"checking whether we need to define __aarch64__... " >&6; }
20979 if test ${ac_cv_cpp_def___aarch64__+y}
20981 printf %s
"(cached) " >&6
20983 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20984 /* end confdefs.h. */
20985 #ifndef __aarch64__
20989 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20990 $EGREP "yes" >/dev
/null
2>&1
20992 ac_cv_cpp_def___aarch64__
=yes
20994 ac_cv_cpp_def___aarch64__
=no
20999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
21000 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
21001 if test "x$ac_cv_cpp_def___aarch64__" = xyes
21003 CFLAGS
="$CFLAGS -D__aarch64__"
21004 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
21006 *arm
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
21007 printf %s
"checking whether we need to define __arm__... " >&6; }
21008 if test ${ac_cv_cpp_def___arm__+y}
21010 printf %s
"(cached) " >&6
21012 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21013 /* end confdefs.h. */
21018 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21019 $EGREP "yes" >/dev
/null
2>&1
21021 ac_cv_cpp_def___arm__
=yes
21023 ac_cv_cpp_def___arm__
=no
21028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21029 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21030 if test "x$ac_cv_cpp_def___arm__" = xyes
21032 CFLAGS
="$CFLAGS -D__arm__"
21033 LINTFLAGS
="$LINTFLAGS -D__arm__"
21037 case $host_vendor in
21038 *sun
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21039 printf %s
"checking whether we need to define __sun__... " >&6; }
21040 if test ${ac_cv_cpp_def___sun__+y}
21042 printf %s
"(cached) " >&6
21044 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21045 /* end confdefs.h. */
21050 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21051 $EGREP "yes" >/dev
/null
2>&1
21053 ac_cv_cpp_def___sun__
=yes
21055 ac_cv_cpp_def___sun__
=no
21060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21061 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21062 if test "x$ac_cv_cpp_def___sun__" = xyes
21064 CFLAGS
="$CFLAGS -D__sun__"
21065 LINTFLAGS
="$LINTFLAGS -D__sun__"
21073 ac_config_commands
="$ac_config_commands include/stamp-h"
21075 printf %s
"creating Makefile rules..." >&6
21078 test "x$enable_silent_rules" = xyes
&& makedep_flags
="$makedep_flags -S"
21081 test "$srcdir" = . || wine_srcdir
="$srcdir/"
21083 ac_config_links
="$ac_config_links wine:tools/winewrapper"
21084 wine_fn_config_symlink wine
21085 if test "$wine_binary" = wine64
-o -n "$with_wine64"; then
21086 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
21087 wine_fn_config_symlink wine64
21090 wine_fn_config_makefile dlls
/acledit enable_acledit
21091 wine_fn_config_makefile dlls
/aclui enable_aclui
21092 wine_fn_config_makefile dlls
/activeds.tlb enable_activeds_tlb
21093 wine_fn_config_makefile dlls
/activeds enable_activeds
21094 wine_fn_config_makefile dlls
/activeds
/tests enable_tests
21095 wine_fn_config_makefile dlls
/actxprxy enable_actxprxy
21096 wine_fn_config_makefile dlls
/adsldp enable_adsldp
21097 wine_fn_config_makefile dlls
/adsldp
/tests enable_tests
21098 wine_fn_config_makefile dlls
/adsldpc enable_adsldpc
21099 wine_fn_config_makefile dlls
/advapi32 enable_advapi32
21100 wine_fn_config_makefile dlls
/advapi32
/tests enable_tests
21101 wine_fn_config_makefile dlls
/advpack enable_advpack
21102 wine_fn_config_makefile dlls
/advpack
/tests enable_tests
21103 wine_fn_config_makefile dlls
/amsi enable_amsi
21104 wine_fn_config_makefile dlls
/amstream enable_amstream
21105 wine_fn_config_makefile dlls
/amstream
/tests enable_tests
21106 wine_fn_config_makefile dlls
/apisetschema enable_apisetschema
21107 wine_fn_config_makefile dlls
/apphelp enable_apphelp
21108 wine_fn_config_makefile dlls
/apphelp
/tests enable_tests
21109 wine_fn_config_makefile dlls
/appwiz.cpl enable_appwiz_cpl
21110 wine_fn_config_makefile dlls
/atl enable_atl
21111 wine_fn_config_makefile dlls
/atl
/tests enable_tests
21112 wine_fn_config_makefile dlls
/atl100 enable_atl100
21113 wine_fn_config_makefile dlls
/atl100
/tests enable_tests
21114 wine_fn_config_makefile dlls
/atl110 enable_atl110
21115 wine_fn_config_makefile dlls
/atl110
/tests enable_tests
21116 wine_fn_config_makefile dlls
/atl80 enable_atl80
21117 wine_fn_config_makefile dlls
/atl80
/tests enable_tests
21118 wine_fn_config_makefile dlls
/atl90 enable_atl90
21119 wine_fn_config_makefile dlls
/atlthunk enable_atlthunk
21120 wine_fn_config_makefile dlls
/atlthunk
/tests enable_tests
21121 wine_fn_config_makefile dlls
/atmlib enable_atmlib
21122 wine_fn_config_makefile dlls
/authz enable_authz
21123 wine_fn_config_makefile dlls
/avicap32 enable_avicap32
21124 wine_fn_config_makefile dlls
/avifil32 enable_avifil32
21125 wine_fn_config_makefile dlls
/avifil32
/tests enable_tests
21126 wine_fn_config_makefile dlls
/avifile.dll16 enable_win16
21127 wine_fn_config_makefile dlls
/avrt enable_avrt
21128 wine_fn_config_makefile dlls
/bcrypt enable_bcrypt
21129 wine_fn_config_makefile dlls
/bcrypt
/tests enable_tests
21130 wine_fn_config_makefile dlls
/bcryptprimitives enable_bcryptprimitives
21131 wine_fn_config_makefile dlls
/bluetoothapis enable_bluetoothapis
21132 wine_fn_config_makefile dlls
/browseui enable_browseui
21133 wine_fn_config_makefile dlls
/browseui
/tests enable_tests
21134 wine_fn_config_makefile dlls
/bthprops.cpl enable_bthprops_cpl
21135 wine_fn_config_makefile dlls
/cabinet enable_cabinet
21136 wine_fn_config_makefile dlls
/cabinet
/tests enable_tests
21137 wine_fn_config_makefile dlls
/capi2032 enable_capi2032
21138 wine_fn_config_makefile dlls
/cards enable_cards
21139 wine_fn_config_makefile dlls
/cdosys enable_cdosys
21140 wine_fn_config_makefile dlls
/cfgmgr32 enable_cfgmgr32
21141 wine_fn_config_makefile dlls
/cfgmgr32
/tests enable_tests
21142 wine_fn_config_makefile dlls
/clusapi enable_clusapi
21143 wine_fn_config_makefile dlls
/cng.sys enable_cng_sys
21144 wine_fn_config_makefile dlls
/combase enable_combase
21145 wine_fn_config_makefile dlls
/combase
/tests enable_tests
21146 wine_fn_config_makefile dlls
/comcat enable_comcat
21147 wine_fn_config_makefile dlls
/comcat
/tests enable_tests
21148 wine_fn_config_makefile dlls
/comctl32 enable_comctl32
21149 wine_fn_config_makefile dlls
/comctl32
/tests enable_tests
21150 wine_fn_config_makefile dlls
/comdlg32 enable_comdlg32
21151 wine_fn_config_makefile dlls
/comdlg32
/tests enable_tests
21152 wine_fn_config_makefile dlls
/comm.drv16 enable_win16
21153 wine_fn_config_makefile dlls
/commdlg.dll16 enable_win16
21154 wine_fn_config_makefile dlls
/compobj.dll16 enable_win16
21155 wine_fn_config_makefile dlls
/compstui enable_compstui
21156 wine_fn_config_makefile dlls
/compstui
/tests enable_tests
21157 wine_fn_config_makefile dlls
/comsvcs enable_comsvcs
21158 wine_fn_config_makefile dlls
/comsvcs
/tests enable_tests
21159 wine_fn_config_makefile dlls
/concrt140 enable_concrt140
21160 wine_fn_config_makefile dlls
/concrt140
/tests enable_tests
21161 wine_fn_config_makefile dlls
/connect enable_connect
21162 wine_fn_config_makefile dlls
/credui enable_credui
21163 wine_fn_config_makefile dlls
/credui
/tests enable_tests
21164 wine_fn_config_makefile dlls
/crtdll enable_crtdll
21165 wine_fn_config_makefile dlls
/crypt32 enable_crypt32
21166 wine_fn_config_makefile dlls
/crypt32
/tests enable_tests
21167 wine_fn_config_makefile dlls
/cryptdlg enable_cryptdlg
21168 wine_fn_config_makefile dlls
/cryptdll enable_cryptdll
21169 wine_fn_config_makefile dlls
/cryptext enable_cryptext
21170 wine_fn_config_makefile dlls
/cryptnet enable_cryptnet
21171 wine_fn_config_makefile dlls
/cryptnet
/tests enable_tests
21172 wine_fn_config_makefile dlls
/cryptowinrt enable_cryptowinrt
21173 wine_fn_config_makefile dlls
/cryptowinrt
/tests enable_tests
21174 wine_fn_config_makefile dlls
/cryptsp enable_cryptsp
21175 wine_fn_config_makefile dlls
/cryptui enable_cryptui
21176 wine_fn_config_makefile dlls
/cryptui
/tests enable_tests
21177 wine_fn_config_makefile dlls
/ctapi32 enable_ctapi32
21178 wine_fn_config_makefile dlls
/ctl3d.dll16 enable_win16
21179 wine_fn_config_makefile dlls
/ctl3d32 enable_ctl3d32
21180 wine_fn_config_makefile dlls
/ctl3dv2.dll16 enable_win16
21181 wine_fn_config_makefile dlls
/d2d1 enable_d2d1
21182 wine_fn_config_makefile dlls
/d2d
1/tests enable_tests
21183 wine_fn_config_makefile dlls
/d3d10 enable_d3d10
21184 wine_fn_config_makefile dlls
/d3d10
/tests enable_tests
21185 wine_fn_config_makefile dlls
/d3d10_1 enable_d3d10_1
21186 wine_fn_config_makefile dlls
/d3d10_
1/tests enable_tests
21187 wine_fn_config_makefile dlls
/d3d10core enable_d3d10core
21188 wine_fn_config_makefile dlls
/d3d10core
/tests enable_tests
21189 wine_fn_config_makefile dlls
/d3d11 enable_d3d11
21190 wine_fn_config_makefile dlls
/d3d11
/tests enable_tests
21191 wine_fn_config_makefile dlls
/d3d12 enable_d3d12
21192 wine_fn_config_makefile dlls
/d3d12
/tests enable_tests
21193 wine_fn_config_makefile dlls
/d3d12core enable_d3d12core
21194 wine_fn_config_makefile dlls
/d3d8 enable_d3d8
21195 wine_fn_config_makefile dlls
/d3d
8/tests enable_tests
21196 wine_fn_config_makefile dlls
/d3d8thk enable_d3d8thk
21197 wine_fn_config_makefile dlls
/d3d9 enable_d3d9
21198 wine_fn_config_makefile dlls
/d3d
9/tests enable_tests
21199 wine_fn_config_makefile dlls
/d3dcompiler_33 enable_d3dcompiler_33
21200 wine_fn_config_makefile dlls
/d3dcompiler_34 enable_d3dcompiler_34
21201 wine_fn_config_makefile dlls
/d3dcompiler_35 enable_d3dcompiler_35
21202 wine_fn_config_makefile dlls
/d3dcompiler_36 enable_d3dcompiler_36
21203 wine_fn_config_makefile dlls
/d3dcompiler_37 enable_d3dcompiler_37
21204 wine_fn_config_makefile dlls
/d3dcompiler_38 enable_d3dcompiler_38
21205 wine_fn_config_makefile dlls
/d3dcompiler_39 enable_d3dcompiler_39
21206 wine_fn_config_makefile dlls
/d3dcompiler_40 enable_d3dcompiler_40
21207 wine_fn_config_makefile dlls
/d3dcompiler_41 enable_d3dcompiler_41
21208 wine_fn_config_makefile dlls
/d3dcompiler_42 enable_d3dcompiler_42
21209 wine_fn_config_makefile dlls
/d3dcompiler_43 enable_d3dcompiler_43
21210 wine_fn_config_makefile dlls
/d3dcompiler_43
/tests enable_tests
21211 wine_fn_config_makefile dlls
/d3dcompiler_46 enable_d3dcompiler_46
21212 wine_fn_config_makefile dlls
/d3dcompiler_46
/tests enable_tests
21213 wine_fn_config_makefile dlls
/d3dcompiler_47 enable_d3dcompiler_47
21214 wine_fn_config_makefile dlls
/d3dcompiler_47
/tests enable_tests
21215 wine_fn_config_makefile dlls
/d3dim enable_d3dim
21216 wine_fn_config_makefile dlls
/d3dim700 enable_d3dim700
21217 wine_fn_config_makefile dlls
/d3drm enable_d3drm
21218 wine_fn_config_makefile dlls
/d3drm
/tests enable_tests
21219 wine_fn_config_makefile dlls
/d3dx10_33 enable_d3dx10_33
21220 wine_fn_config_makefile dlls
/d3dx10_34 enable_d3dx10_34
21221 wine_fn_config_makefile dlls
/d3dx10_34
/tests enable_tests
21222 wine_fn_config_makefile dlls
/d3dx10_35 enable_d3dx10_35
21223 wine_fn_config_makefile dlls
/d3dx10_35
/tests enable_tests
21224 wine_fn_config_makefile dlls
/d3dx10_36 enable_d3dx10_36
21225 wine_fn_config_makefile dlls
/d3dx10_36
/tests enable_tests
21226 wine_fn_config_makefile dlls
/d3dx10_37 enable_d3dx10_37
21227 wine_fn_config_makefile dlls
/d3dx10_37
/tests enable_tests
21228 wine_fn_config_makefile dlls
/d3dx10_38 enable_d3dx10_38
21229 wine_fn_config_makefile dlls
/d3dx10_38
/tests enable_tests
21230 wine_fn_config_makefile dlls
/d3dx10_39 enable_d3dx10_39
21231 wine_fn_config_makefile dlls
/d3dx10_39
/tests enable_tests
21232 wine_fn_config_makefile dlls
/d3dx10_40 enable_d3dx10_40
21233 wine_fn_config_makefile dlls
/d3dx10_40
/tests enable_tests
21234 wine_fn_config_makefile dlls
/d3dx10_41 enable_d3dx10_41
21235 wine_fn_config_makefile dlls
/d3dx10_41
/tests enable_tests
21236 wine_fn_config_makefile dlls
/d3dx10_42 enable_d3dx10_42
21237 wine_fn_config_makefile dlls
/d3dx10_42
/tests enable_tests
21238 wine_fn_config_makefile dlls
/d3dx10_43 enable_d3dx10_43
21239 wine_fn_config_makefile dlls
/d3dx10_43
/tests enable_tests
21240 wine_fn_config_makefile dlls
/d3dx11_42 enable_d3dx11_42
21241 wine_fn_config_makefile dlls
/d3dx11_42
/tests enable_tests
21242 wine_fn_config_makefile dlls
/d3dx11_43 enable_d3dx11_43
21243 wine_fn_config_makefile dlls
/d3dx11_43
/tests enable_tests
21244 wine_fn_config_makefile dlls
/d3dx9_24 enable_d3dx9_24
21245 wine_fn_config_makefile dlls
/d3dx9_25 enable_d3dx9_25
21246 wine_fn_config_makefile dlls
/d3dx9_26 enable_d3dx9_26
21247 wine_fn_config_makefile dlls
/d3dx9_27 enable_d3dx9_27
21248 wine_fn_config_makefile dlls
/d3dx9_28 enable_d3dx9_28
21249 wine_fn_config_makefile dlls
/d3dx9_29 enable_d3dx9_29
21250 wine_fn_config_makefile dlls
/d3dx9_30 enable_d3dx9_30
21251 wine_fn_config_makefile dlls
/d3dx9_31 enable_d3dx9_31
21252 wine_fn_config_makefile dlls
/d3dx9_32 enable_d3dx9_32
21253 wine_fn_config_makefile dlls
/d3dx9_33 enable_d3dx9_33
21254 wine_fn_config_makefile dlls
/d3dx9_34 enable_d3dx9_34
21255 wine_fn_config_makefile dlls
/d3dx9_35 enable_d3dx9_35
21256 wine_fn_config_makefile dlls
/d3dx9_36 enable_d3dx9_36
21257 wine_fn_config_makefile dlls
/d3dx9_36
/tests enable_tests
21258 wine_fn_config_makefile dlls
/d3dx9_37 enable_d3dx9_37
21259 wine_fn_config_makefile dlls
/d3dx9_38 enable_d3dx9_38
21260 wine_fn_config_makefile dlls
/d3dx9_39 enable_d3dx9_39
21261 wine_fn_config_makefile dlls
/d3dx9_40 enable_d3dx9_40
21262 wine_fn_config_makefile dlls
/d3dx9_41 enable_d3dx9_41
21263 wine_fn_config_makefile dlls
/d3dx9_42 enable_d3dx9_42
21264 wine_fn_config_makefile dlls
/d3dx9_43 enable_d3dx9_43
21265 wine_fn_config_makefile dlls
/d3dxof enable_d3dxof
21266 wine_fn_config_makefile dlls
/d3dxof
/tests enable_tests
21267 wine_fn_config_makefile dlls
/davclnt enable_davclnt
21268 wine_fn_config_makefile dlls
/dbgeng enable_dbgeng
21269 wine_fn_config_makefile dlls
/dbgeng
/tests enable_tests
21270 wine_fn_config_makefile dlls
/dbghelp enable_dbghelp
21271 wine_fn_config_makefile dlls
/dbghelp
/tests enable_tests
21272 wine_fn_config_makefile dlls
/dciman32 enable_dciman32
21273 wine_fn_config_makefile dlls
/dcomp enable_dcomp
21274 wine_fn_config_makefile dlls
/ddeml.dll16 enable_win16
21275 wine_fn_config_makefile dlls
/ddraw enable_ddraw
21276 wine_fn_config_makefile dlls
/ddraw
/tests enable_tests
21277 wine_fn_config_makefile dlls
/ddrawex enable_ddrawex
21278 wine_fn_config_makefile dlls
/ddrawex
/tests enable_tests
21279 wine_fn_config_makefile dlls
/devenum enable_devenum
21280 wine_fn_config_makefile dlls
/devenum
/tests enable_tests
21281 wine_fn_config_makefile dlls
/dhcpcsvc enable_dhcpcsvc
21282 wine_fn_config_makefile dlls
/dhcpcsvc
/tests enable_tests
21283 wine_fn_config_makefile dlls
/dhcpcsvc6 enable_dhcpcsvc6
21284 wine_fn_config_makefile dlls
/dhtmled.ocx enable_dhtmled_ocx
21285 wine_fn_config_makefile dlls
/diasymreader enable_diasymreader
21286 wine_fn_config_makefile dlls
/difxapi enable_difxapi
21287 wine_fn_config_makefile dlls
/dinput enable_dinput
21288 wine_fn_config_makefile dlls
/dinput
/tests enable_tests
21289 wine_fn_config_makefile dlls
/dinput8 enable_dinput8
21290 wine_fn_config_makefile dlls
/directmanipulation enable_directmanipulation
21291 wine_fn_config_makefile dlls
/directmanipulation
/tests enable_tests
21292 wine_fn_config_makefile dlls
/dispdib.dll16 enable_win16
21293 wine_fn_config_makefile dlls
/dispex enable_dispex
21294 wine_fn_config_makefile dlls
/dispex
/tests enable_tests
21295 wine_fn_config_makefile dlls
/display.drv16 enable_win16
21296 wine_fn_config_makefile dlls
/dmband enable_dmband
21297 wine_fn_config_makefile dlls
/dmband
/tests enable_tests
21298 wine_fn_config_makefile dlls
/dmcompos enable_dmcompos
21299 wine_fn_config_makefile dlls
/dmcompos
/tests enable_tests
21300 wine_fn_config_makefile dlls
/dmime enable_dmime
21301 wine_fn_config_makefile dlls
/dmime
/tests enable_tests
21302 wine_fn_config_makefile dlls
/dmloader enable_dmloader
21303 wine_fn_config_makefile dlls
/dmloader
/tests enable_tests
21304 wine_fn_config_makefile dlls
/dmscript enable_dmscript
21305 wine_fn_config_makefile dlls
/dmscript
/tests enable_tests
21306 wine_fn_config_makefile dlls
/dmstyle enable_dmstyle
21307 wine_fn_config_makefile dlls
/dmstyle
/tests enable_tests
21308 wine_fn_config_makefile dlls
/dmsynth enable_dmsynth
21309 wine_fn_config_makefile dlls
/dmsynth
/tests enable_tests
21310 wine_fn_config_makefile dlls
/dmusic enable_dmusic
21311 wine_fn_config_makefile dlls
/dmusic
/tests enable_tests
21312 wine_fn_config_makefile dlls
/dmusic32 enable_dmusic32
21313 wine_fn_config_makefile dlls
/dnsapi enable_dnsapi
21314 wine_fn_config_makefile dlls
/dnsapi
/tests enable_tests
21315 wine_fn_config_makefile dlls
/dplay enable_dplay
21316 wine_fn_config_makefile dlls
/dplayx enable_dplayx
21317 wine_fn_config_makefile dlls
/dplayx
/tests enable_tests
21318 wine_fn_config_makefile dlls
/dpnaddr enable_dpnaddr
21319 wine_fn_config_makefile dlls
/dpnet enable_dpnet
21320 wine_fn_config_makefile dlls
/dpnet
/tests enable_tests
21321 wine_fn_config_makefile dlls
/dpnhpast enable_dpnhpast
21322 wine_fn_config_makefile dlls
/dpnhupnp enable_dpnhupnp
21323 wine_fn_config_makefile dlls
/dpnlobby enable_dpnlobby
21324 wine_fn_config_makefile dlls
/dpvoice enable_dpvoice
21325 wine_fn_config_makefile dlls
/dpvoice
/tests enable_tests
21326 wine_fn_config_makefile dlls
/dpwsockx enable_dpwsockx
21327 wine_fn_config_makefile dlls
/drmclien enable_drmclien
21328 wine_fn_config_makefile dlls
/dsdmo enable_dsdmo
21329 wine_fn_config_makefile dlls
/dsdmo
/tests enable_tests
21330 wine_fn_config_makefile dlls
/dsound enable_dsound
21331 wine_fn_config_makefile dlls
/dsound
/tests enable_tests
21332 wine_fn_config_makefile dlls
/dsquery enable_dsquery
21333 wine_fn_config_makefile dlls
/dssenh enable_dssenh
21334 wine_fn_config_makefile dlls
/dssenh
/tests enable_tests
21335 wine_fn_config_makefile dlls
/dsuiext enable_dsuiext
21336 wine_fn_config_makefile dlls
/dswave enable_dswave
21337 wine_fn_config_makefile dlls
/dswave
/tests enable_tests
21338 wine_fn_config_makefile dlls
/dwmapi enable_dwmapi
21339 wine_fn_config_makefile dlls
/dwmapi
/tests enable_tests
21340 wine_fn_config_makefile dlls
/dwrite enable_dwrite
21341 wine_fn_config_makefile dlls
/dwrite
/tests enable_tests
21342 wine_fn_config_makefile dlls
/dx8vb enable_dx8vb
21343 wine_fn_config_makefile dlls
/dxdiagn enable_dxdiagn
21344 wine_fn_config_makefile dlls
/dxdiagn
/tests enable_tests
21345 wine_fn_config_makefile dlls
/dxgi enable_dxgi
21346 wine_fn_config_makefile dlls
/dxgi
/tests enable_tests
21347 wine_fn_config_makefile dlls
/dxtrans enable_dxtrans
21348 wine_fn_config_makefile dlls
/dxva2 enable_dxva2
21349 wine_fn_config_makefile dlls
/dxva
2/tests enable_tests
21350 wine_fn_config_makefile dlls
/esent enable_esent
21351 wine_fn_config_makefile dlls
/evr enable_evr
21352 wine_fn_config_makefile dlls
/evr
/tests enable_tests
21353 wine_fn_config_makefile dlls
/explorerframe enable_explorerframe
21354 wine_fn_config_makefile dlls
/explorerframe
/tests enable_tests
21355 wine_fn_config_makefile dlls
/faultrep enable_faultrep
21356 wine_fn_config_makefile dlls
/faultrep
/tests enable_tests
21357 wine_fn_config_makefile dlls
/feclient enable_feclient
21358 wine_fn_config_makefile dlls
/fltlib enable_fltlib
21359 wine_fn_config_makefile dlls
/fltmgr.sys enable_fltmgr_sys
21360 wine_fn_config_makefile dlls
/fntcache enable_fntcache
21361 wine_fn_config_makefile dlls
/fontsub enable_fontsub
21362 wine_fn_config_makefile dlls
/fusion enable_fusion
21363 wine_fn_config_makefile dlls
/fusion
/tests enable_tests
21364 wine_fn_config_makefile dlls
/fwpuclnt enable_fwpuclnt
21365 wine_fn_config_makefile dlls
/gameux enable_gameux
21366 wine_fn_config_makefile dlls
/gameux
/tests enable_tests
21367 wine_fn_config_makefile dlls
/gamingtcui enable_gamingtcui
21368 wine_fn_config_makefile dlls
/gdi.exe16 enable_win16
21369 wine_fn_config_makefile dlls
/gdi32 enable_gdi32
21370 wine_fn_config_makefile dlls
/gdi32
/tests enable_tests
21371 wine_fn_config_makefile dlls
/gdiplus enable_gdiplus
21372 wine_fn_config_makefile dlls
/gdiplus
/tests enable_tests
21373 wine_fn_config_makefile dlls
/geolocation enable_geolocation
21374 wine_fn_config_makefile dlls
/geolocation
/tests enable_tests
21375 wine_fn_config_makefile dlls
/glu32 enable_glu32
21376 wine_fn_config_makefile dlls
/gphoto2.ds enable_gphoto2_ds
21377 wine_fn_config_makefile dlls
/gpkcsp enable_gpkcsp
21378 wine_fn_config_makefile dlls
/graphicscapture enable_graphicscapture
21379 wine_fn_config_makefile dlls
/graphicscapture
/tests enable_tests
21380 wine_fn_config_makefile dlls
/hal enable_hal
21381 wine_fn_config_makefile dlls
/hhctrl.ocx enable_hhctrl_ocx
21382 wine_fn_config_makefile dlls
/hid enable_hid
21383 wine_fn_config_makefile dlls
/hid
/tests enable_tests
21384 wine_fn_config_makefile dlls
/hidclass.sys enable_hidclass_sys
21385 wine_fn_config_makefile dlls
/hidparse.sys enable_hidparse_sys
21386 wine_fn_config_makefile dlls
/hlink enable_hlink
21387 wine_fn_config_makefile dlls
/hlink
/tests enable_tests
21388 wine_fn_config_makefile dlls
/hnetcfg enable_hnetcfg
21389 wine_fn_config_makefile dlls
/hnetcfg
/tests enable_tests
21390 wine_fn_config_makefile dlls
/hrtfapo enable_hrtfapo
21391 wine_fn_config_makefile dlls
/http.sys enable_http_sys
21392 wine_fn_config_makefile dlls
/httpapi enable_httpapi
21393 wine_fn_config_makefile dlls
/httpapi
/tests enable_tests
21394 wine_fn_config_makefile dlls
/ia2comproxy enable_ia2comproxy
21395 wine_fn_config_makefile dlls
/iccvid enable_iccvid
21396 wine_fn_config_makefile dlls
/icmp enable_icmp
21397 wine_fn_config_makefile dlls
/ieframe enable_ieframe
21398 wine_fn_config_makefile dlls
/ieframe
/tests enable_tests
21399 wine_fn_config_makefile dlls
/ieproxy enable_ieproxy
21400 wine_fn_config_makefile dlls
/ifsmgr.vxd enable_win16
21401 wine_fn_config_makefile dlls
/imaadp32.acm enable_imaadp32_acm
21402 wine_fn_config_makefile dlls
/imagehlp enable_imagehlp
21403 wine_fn_config_makefile dlls
/imagehlp
/tests enable_tests
21404 wine_fn_config_makefile dlls
/imm.dll16 enable_win16
21405 wine_fn_config_makefile dlls
/imm32 enable_imm32
21406 wine_fn_config_makefile dlls
/imm32
/tests enable_tests
21407 wine_fn_config_makefile dlls
/inetcomm enable_inetcomm
21408 wine_fn_config_makefile dlls
/inetcomm
/tests enable_tests
21409 wine_fn_config_makefile dlls
/inetcpl.cpl enable_inetcpl_cpl
21410 wine_fn_config_makefile dlls
/inetmib1 enable_inetmib1
21411 wine_fn_config_makefile dlls
/inetmib
1/tests enable_tests
21412 wine_fn_config_makefile dlls
/infosoft enable_infosoft
21413 wine_fn_config_makefile dlls
/infosoft
/tests enable_tests
21414 wine_fn_config_makefile dlls
/initpki enable_initpki
21415 wine_fn_config_makefile dlls
/inkobj enable_inkobj
21416 wine_fn_config_makefile dlls
/inseng enable_inseng
21417 wine_fn_config_makefile dlls
/iphlpapi enable_iphlpapi
21418 wine_fn_config_makefile dlls
/iphlpapi
/tests enable_tests
21419 wine_fn_config_makefile dlls
/iprop enable_iprop
21420 wine_fn_config_makefile dlls
/ir50_32 enable_ir50_32
21421 wine_fn_config_makefile dlls
/irprops.cpl enable_irprops_cpl
21422 wine_fn_config_makefile dlls
/itircl enable_itircl
21423 wine_fn_config_makefile dlls
/itss enable_itss
21424 wine_fn_config_makefile dlls
/itss
/tests enable_tests
21425 wine_fn_config_makefile dlls
/joy.cpl enable_joy_cpl
21426 wine_fn_config_makefile dlls
/jscript enable_jscript
21427 wine_fn_config_makefile dlls
/jscript
/tests enable_tests
21428 wine_fn_config_makefile dlls
/jsproxy enable_jsproxy
21429 wine_fn_config_makefile dlls
/jsproxy
/tests enable_tests
21430 wine_fn_config_makefile dlls
/kerberos enable_kerberos
21431 wine_fn_config_makefile dlls
/kernel32 enable_kernel32
21432 wine_fn_config_makefile dlls
/kernel32
/tests enable_tests
21433 wine_fn_config_makefile dlls
/kernelbase enable_kernelbase
21434 wine_fn_config_makefile dlls
/kernelbase
/tests enable_tests
21435 wine_fn_config_makefile dlls
/keyboard.drv16 enable_win16
21436 wine_fn_config_makefile dlls
/krnl386.exe16 enable_win16
21437 wine_fn_config_makefile dlls
/ksecdd.sys enable_ksecdd_sys
21438 wine_fn_config_makefile dlls
/ksproxy.ax enable_ksproxy_ax
21439 wine_fn_config_makefile dlls
/ksuser enable_ksuser
21440 wine_fn_config_makefile dlls
/ktmw32 enable_ktmw32
21441 wine_fn_config_makefile dlls
/l3codeca.acm enable_l3codeca_acm
21442 wine_fn_config_makefile dlls
/light.msstyles enable_light_msstyles
21443 wine_fn_config_makefile dlls
/loadperf enable_loadperf
21444 wine_fn_config_makefile dlls
/localspl enable_localspl
21445 wine_fn_config_makefile dlls
/localspl
/tests enable_tests
21446 wine_fn_config_makefile dlls
/localui enable_localui
21447 wine_fn_config_makefile dlls
/localui
/tests enable_tests
21448 wine_fn_config_makefile dlls
/lz32 enable_lz32
21449 wine_fn_config_makefile dlls
/lz32
/tests enable_tests
21450 wine_fn_config_makefile dlls
/lzexpand.dll16 enable_win16
21451 wine_fn_config_makefile dlls
/mapi32 enable_mapi32
21452 wine_fn_config_makefile dlls
/mapi32
/tests enable_tests
21453 wine_fn_config_makefile dlls
/mapistub enable_mapistub
21454 wine_fn_config_makefile dlls
/mciavi32 enable_mciavi32
21455 wine_fn_config_makefile dlls
/mcicda enable_mcicda
21456 wine_fn_config_makefile dlls
/mciqtz32 enable_mciqtz32
21457 wine_fn_config_makefile dlls
/mciseq enable_mciseq
21458 wine_fn_config_makefile dlls
/mciwave enable_mciwave
21459 wine_fn_config_makefile dlls
/mf enable_mf
21460 wine_fn_config_makefile dlls
/mf
/tests enable_tests
21461 wine_fn_config_makefile dlls
/mf3216 enable_mf3216
21462 wine_fn_config_makefile dlls
/mferror enable_mferror
21463 wine_fn_config_makefile dlls
/mfmediaengine enable_mfmediaengine
21464 wine_fn_config_makefile dlls
/mfmediaengine
/tests enable_tests
21465 wine_fn_config_makefile dlls
/mfplat enable_mfplat
21466 wine_fn_config_makefile dlls
/mfplat
/tests enable_tests
21467 wine_fn_config_makefile dlls
/mfplay enable_mfplay
21468 wine_fn_config_makefile dlls
/mfplay
/tests enable_tests
21469 wine_fn_config_makefile dlls
/mfreadwrite enable_mfreadwrite
21470 wine_fn_config_makefile dlls
/mfreadwrite
/tests enable_tests
21471 wine_fn_config_makefile dlls
/mfsrcsnk enable_mfsrcsnk
21472 wine_fn_config_makefile dlls
/mfsrcsnk
/tests enable_tests
21473 wine_fn_config_makefile dlls
/mgmtapi enable_mgmtapi
21474 wine_fn_config_makefile dlls
/midimap enable_midimap
21475 wine_fn_config_makefile dlls
/mlang enable_mlang
21476 wine_fn_config_makefile dlls
/mlang
/tests enable_tests
21477 wine_fn_config_makefile dlls
/mmcndmgr enable_mmcndmgr
21478 wine_fn_config_makefile dlls
/mmcndmgr
/tests enable_tests
21479 wine_fn_config_makefile dlls
/mmdevapi enable_mmdevapi
21480 wine_fn_config_makefile dlls
/mmdevapi
/tests enable_tests
21481 wine_fn_config_makefile dlls
/mmdevldr.vxd enable_win16
21482 wine_fn_config_makefile dlls
/mmsystem.dll16 enable_win16
21483 wine_fn_config_makefile dlls
/monodebg.vxd enable_win16
21484 wine_fn_config_makefile dlls
/mountmgr.sys enable_mountmgr_sys
21485 wine_fn_config_makefile dlls
/mouse.drv16 enable_win16
21486 wine_fn_config_makefile dlls
/mp3dmod enable_mp3dmod
21487 wine_fn_config_makefile dlls
/mp3dmod
/tests enable_tests
21488 wine_fn_config_makefile dlls
/mpr enable_mpr
21489 wine_fn_config_makefile dlls
/mpr
/tests enable_tests
21490 wine_fn_config_makefile dlls
/mprapi enable_mprapi
21491 wine_fn_config_makefile dlls
/msacm.dll16 enable_win16
21492 wine_fn_config_makefile dlls
/msacm32.drv enable_msacm32_drv
21493 wine_fn_config_makefile dlls
/msacm32 enable_msacm32
21494 wine_fn_config_makefile dlls
/msacm32
/tests enable_tests
21495 wine_fn_config_makefile dlls
/msado15 enable_msado15
21496 wine_fn_config_makefile dlls
/msado15
/tests enable_tests
21497 wine_fn_config_makefile dlls
/msadp32.acm enable_msadp32_acm
21498 wine_fn_config_makefile dlls
/msasn1 enable_msasn1
21499 wine_fn_config_makefile dlls
/msasn
1/tests enable_tests
21500 wine_fn_config_makefile dlls
/msauddecmft enable_msauddecmft
21501 wine_fn_config_makefile dlls
/mscat32 enable_mscat32
21502 wine_fn_config_makefile dlls
/mscms enable_mscms
21503 wine_fn_config_makefile dlls
/mscms
/tests enable_tests
21504 wine_fn_config_makefile dlls
/mscoree enable_mscoree
21505 wine_fn_config_makefile dlls
/mscoree
/tests enable_tests
21506 wine_fn_config_makefile dlls
/mscorwks enable_mscorwks
21507 wine_fn_config_makefile dlls
/msctf enable_msctf
21508 wine_fn_config_makefile dlls
/msctf
/tests enable_tests
21509 wine_fn_config_makefile dlls
/msctfmonitor enable_msctfmonitor
21510 wine_fn_config_makefile dlls
/msctfp enable_msctfp
21511 wine_fn_config_makefile dlls
/msdaps enable_msdaps
21512 wine_fn_config_makefile dlls
/msdasql enable_msdasql
21513 wine_fn_config_makefile dlls
/msdasql
/tests enable_tests
21514 wine_fn_config_makefile dlls
/msdelta enable_msdelta
21515 wine_fn_config_makefile dlls
/msdmo enable_msdmo
21516 wine_fn_config_makefile dlls
/msdmo
/tests enable_tests
21517 wine_fn_config_makefile dlls
/msdrm enable_msdrm
21518 wine_fn_config_makefile dlls
/msftedit enable_msftedit
21519 wine_fn_config_makefile dlls
/msftedit
/tests enable_tests
21520 wine_fn_config_makefile dlls
/msg711.acm enable_msg711_acm
21521 wine_fn_config_makefile dlls
/msgsm32.acm enable_msgsm32_acm
21522 wine_fn_config_makefile dlls
/mshtml.tlb enable_mshtml_tlb
21523 wine_fn_config_makefile dlls
/mshtml enable_mshtml
21524 wine_fn_config_makefile dlls
/mshtml
/tests enable_tests
21525 wine_fn_config_makefile dlls
/msi enable_msi
21526 wine_fn_config_makefile dlls
/msi
/tests enable_tests
21527 wine_fn_config_makefile dlls
/msident enable_msident
21528 wine_fn_config_makefile dlls
/msimg32 enable_msimg32
21529 wine_fn_config_makefile dlls
/msimsg enable_msimsg
21530 wine_fn_config_makefile dlls
/msimtf enable_msimtf
21531 wine_fn_config_makefile dlls
/msisip enable_msisip
21532 wine_fn_config_makefile dlls
/msisys.ocx enable_msisys_ocx
21533 wine_fn_config_makefile dlls
/msls31 enable_msls31
21534 wine_fn_config_makefile dlls
/msmpeg2vdec enable_msmpeg2vdec
21535 wine_fn_config_makefile dlls
/msnet32 enable_msnet32
21536 wine_fn_config_makefile dlls
/mspatcha enable_mspatcha
21537 wine_fn_config_makefile dlls
/mspatcha
/tests enable_tests
21538 wine_fn_config_makefile dlls
/msports enable_msports
21539 wine_fn_config_makefile dlls
/msrle32 enable_msrle32
21540 wine_fn_config_makefile dlls
/msrle32
/tests enable_tests
21541 wine_fn_config_makefile dlls
/msscript.ocx enable_msscript_ocx
21542 wine_fn_config_makefile dlls
/msscript.ocx
/tests enable_tests
21543 wine_fn_config_makefile dlls
/mssign32 enable_mssign32
21544 wine_fn_config_makefile dlls
/mssip32 enable_mssip32
21545 wine_fn_config_makefile dlls
/mstask enable_mstask
21546 wine_fn_config_makefile dlls
/mstask
/tests enable_tests
21547 wine_fn_config_makefile dlls
/msv1_0 enable_msv1_0
21548 wine_fn_config_makefile dlls
/msvcirt enable_msvcirt
21549 wine_fn_config_makefile dlls
/msvcirt
/tests enable_tests
21550 wine_fn_config_makefile dlls
/msvcm80 enable_msvcm80
21551 wine_fn_config_makefile dlls
/msvcm90 enable_msvcm90
21552 wine_fn_config_makefile dlls
/msvcp100 enable_msvcp100
21553 wine_fn_config_makefile dlls
/msvcp100
/tests enable_tests
21554 wine_fn_config_makefile dlls
/msvcp110 enable_msvcp110
21555 wine_fn_config_makefile dlls
/msvcp110
/tests enable_tests
21556 wine_fn_config_makefile dlls
/msvcp120 enable_msvcp120
21557 wine_fn_config_makefile dlls
/msvcp120
/tests enable_tests
21558 wine_fn_config_makefile dlls
/msvcp120_app enable_msvcp120_app
21559 wine_fn_config_makefile dlls
/msvcp140 enable_msvcp140
21560 wine_fn_config_makefile dlls
/msvcp140
/tests enable_tests
21561 wine_fn_config_makefile dlls
/msvcp140_1 enable_msvcp140_1
21562 wine_fn_config_makefile dlls
/msvcp140_
1/tests enable_tests
21563 wine_fn_config_makefile dlls
/msvcp140_2 enable_msvcp140_2
21564 wine_fn_config_makefile dlls
/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21565 wine_fn_config_makefile dlls
/msvcp140_atomic_wait
/tests enable_tests
21566 wine_fn_config_makefile dlls
/msvcp60 enable_msvcp60
21567 wine_fn_config_makefile dlls
/msvcp60
/tests enable_tests
21568 wine_fn_config_makefile dlls
/msvcp70 enable_msvcp70
21569 wine_fn_config_makefile dlls
/msvcp71 enable_msvcp71
21570 wine_fn_config_makefile dlls
/msvcp80 enable_msvcp80
21571 wine_fn_config_makefile dlls
/msvcp90 enable_msvcp90
21572 wine_fn_config_makefile dlls
/msvcp90
/tests enable_tests
21573 wine_fn_config_makefile dlls
/msvcp_win enable_msvcp_win
21574 wine_fn_config_makefile dlls
/msvcr100 enable_msvcr100
21575 wine_fn_config_makefile dlls
/msvcr100
/tests enable_tests
21576 wine_fn_config_makefile dlls
/msvcr110 enable_msvcr110
21577 wine_fn_config_makefile dlls
/msvcr110
/tests enable_tests
21578 wine_fn_config_makefile dlls
/msvcr120 enable_msvcr120
21579 wine_fn_config_makefile dlls
/msvcr120
/tests enable_tests
21580 wine_fn_config_makefile dlls
/msvcr120_app enable_msvcr120_app
21581 wine_fn_config_makefile dlls
/msvcr70 enable_msvcr70
21582 wine_fn_config_makefile dlls
/msvcr70
/tests enable_tests
21583 wine_fn_config_makefile dlls
/msvcr71 enable_msvcr71
21584 wine_fn_config_makefile dlls
/msvcr71
/tests enable_tests
21585 wine_fn_config_makefile dlls
/msvcr80 enable_msvcr80
21586 wine_fn_config_makefile dlls
/msvcr80
/tests enable_tests
21587 wine_fn_config_makefile dlls
/msvcr90 enable_msvcr90
21588 wine_fn_config_makefile dlls
/msvcr90
/tests enable_tests
21589 wine_fn_config_makefile dlls
/msvcrt enable_msvcrt
21590 wine_fn_config_makefile dlls
/msvcrt
/tests enable_tests
21591 wine_fn_config_makefile dlls
/msvcrt20 enable_msvcrt20
21592 wine_fn_config_makefile dlls
/msvcrt40 enable_msvcrt40
21593 wine_fn_config_makefile dlls
/msvcrtd enable_msvcrtd
21594 wine_fn_config_makefile dlls
/msvcrtd
/tests enable_tests
21595 wine_fn_config_makefile dlls
/msvfw32 enable_msvfw32
21596 wine_fn_config_makefile dlls
/msvfw32
/tests enable_tests
21597 wine_fn_config_makefile dlls
/msvidc32 enable_msvidc32
21598 wine_fn_config_makefile dlls
/msvideo.dll16 enable_win16
21599 wine_fn_config_makefile dlls
/mswsock enable_mswsock
21600 wine_fn_config_makefile dlls
/msxml enable_msxml
21601 wine_fn_config_makefile dlls
/msxml2 enable_msxml2
21602 wine_fn_config_makefile dlls
/msxml3 enable_msxml3
21603 wine_fn_config_makefile dlls
/msxml
3/tests enable_tests
21604 wine_fn_config_makefile dlls
/msxml4 enable_msxml4
21605 wine_fn_config_makefile dlls
/msxml6 enable_msxml6
21606 wine_fn_config_makefile dlls
/mtxdm enable_mtxdm
21607 wine_fn_config_makefile dlls
/ncrypt enable_ncrypt
21608 wine_fn_config_makefile dlls
/ncrypt
/tests enable_tests
21609 wine_fn_config_makefile dlls
/nddeapi enable_nddeapi
21610 wine_fn_config_makefile dlls
/ndis.sys enable_ndis_sys
21611 wine_fn_config_makefile dlls
/ndis.sys
/tests enable_tests
21612 wine_fn_config_makefile dlls
/netapi32 enable_netapi32
21613 wine_fn_config_makefile dlls
/netapi32
/tests enable_tests
21614 wine_fn_config_makefile dlls
/netcfgx enable_netcfgx
21615 wine_fn_config_makefile dlls
/netcfgx
/tests enable_tests
21616 wine_fn_config_makefile dlls
/netio.sys enable_netio_sys
21617 wine_fn_config_makefile dlls
/netprofm enable_netprofm
21618 wine_fn_config_makefile dlls
/netprofm
/tests enable_tests
21619 wine_fn_config_makefile dlls
/netutils enable_netutils
21620 wine_fn_config_makefile dlls
/newdev enable_newdev
21621 wine_fn_config_makefile dlls
/ninput enable_ninput
21622 wine_fn_config_makefile dlls
/ninput
/tests enable_tests
21623 wine_fn_config_makefile dlls
/normaliz enable_normaliz
21624 wine_fn_config_makefile dlls
/npmshtml enable_npmshtml
21625 wine_fn_config_makefile dlls
/npptools enable_npptools
21626 wine_fn_config_makefile dlls
/nsi enable_nsi
21627 wine_fn_config_makefile dlls
/nsi
/tests enable_tests
21628 wine_fn_config_makefile dlls
/nsiproxy.sys enable_nsiproxy_sys
21629 wine_fn_config_makefile dlls
/ntdll enable_ntdll
21630 wine_fn_config_makefile dlls
/ntdll
/tests enable_tests
21631 wine_fn_config_makefile dlls
/ntdsapi enable_ntdsapi
21632 wine_fn_config_makefile dlls
/ntdsapi
/tests enable_tests
21633 wine_fn_config_makefile dlls
/ntoskrnl.exe enable_ntoskrnl_exe
21634 wine_fn_config_makefile dlls
/ntoskrnl.exe
/tests enable_tests
21635 wine_fn_config_makefile dlls
/ntprint enable_ntprint
21636 wine_fn_config_makefile dlls
/ntprint
/tests enable_tests
21637 wine_fn_config_makefile dlls
/objsel enable_objsel
21638 wine_fn_config_makefile dlls
/odbc32 enable_odbc32
21639 wine_fn_config_makefile dlls
/odbcbcp enable_odbcbcp
21640 wine_fn_config_makefile dlls
/odbccp32 enable_odbccp32
21641 wine_fn_config_makefile dlls
/odbccp32
/tests enable_tests
21642 wine_fn_config_makefile dlls
/odbccu32 enable_odbccu32
21643 wine_fn_config_makefile dlls
/ole2.dll16 enable_win16
21644 wine_fn_config_makefile dlls
/ole2conv.dll16 enable_win16
21645 wine_fn_config_makefile dlls
/ole2disp.dll16 enable_win16
21646 wine_fn_config_makefile dlls
/ole2nls.dll16 enable_win16
21647 wine_fn_config_makefile dlls
/ole2prox.dll16 enable_win16
21648 wine_fn_config_makefile dlls
/ole2thk.dll16 enable_win16
21649 wine_fn_config_makefile dlls
/ole32 enable_ole32
21650 wine_fn_config_makefile dlls
/ole32
/tests enable_tests
21651 wine_fn_config_makefile dlls
/oleacc enable_oleacc
21652 wine_fn_config_makefile dlls
/oleacc
/tests enable_tests
21653 wine_fn_config_makefile dlls
/oleaut32 enable_oleaut32
21654 wine_fn_config_makefile dlls
/oleaut32
/tests enable_tests
21655 wine_fn_config_makefile dlls
/olecli.dll16 enable_win16
21656 wine_fn_config_makefile dlls
/olecli32 enable_olecli32
21657 wine_fn_config_makefile dlls
/oledb32 enable_oledb32
21658 wine_fn_config_makefile dlls
/oledb32
/tests enable_tests
21659 wine_fn_config_makefile dlls
/oledlg enable_oledlg
21660 wine_fn_config_makefile dlls
/oledlg
/tests enable_tests
21661 wine_fn_config_makefile dlls
/olepro32 enable_olepro32
21662 wine_fn_config_makefile dlls
/olesvr.dll16 enable_win16
21663 wine_fn_config_makefile dlls
/olesvr32 enable_olesvr32
21664 wine_fn_config_makefile dlls
/olethk32 enable_olethk32
21665 wine_fn_config_makefile dlls
/opcservices enable_opcservices
21666 wine_fn_config_makefile dlls
/opcservices
/tests enable_tests
21667 wine_fn_config_makefile dlls
/opencl enable_opencl
21668 wine_fn_config_makefile dlls
/opengl32 enable_opengl32
21669 wine_fn_config_makefile dlls
/opengl32
/tests enable_tests
21670 wine_fn_config_makefile dlls
/packager enable_packager
21671 wine_fn_config_makefile dlls
/packager
/tests enable_tests
21672 wine_fn_config_makefile dlls
/pdh enable_pdh
21673 wine_fn_config_makefile dlls
/pdh
/tests enable_tests
21674 wine_fn_config_makefile dlls
/photometadatahandler enable_photometadatahandler
21675 wine_fn_config_makefile dlls
/pidgen enable_pidgen
21676 wine_fn_config_makefile dlls
/powrprof enable_powrprof
21677 wine_fn_config_makefile dlls
/printui enable_printui
21678 wine_fn_config_makefile dlls
/prntvpt enable_prntvpt
21679 wine_fn_config_makefile dlls
/prntvpt
/tests enable_tests
21680 wine_fn_config_makefile dlls
/propsys enable_propsys
21681 wine_fn_config_makefile dlls
/propsys
/tests enable_tests
21682 wine_fn_config_makefile dlls
/psapi enable_psapi
21683 wine_fn_config_makefile dlls
/psapi
/tests enable_tests
21684 wine_fn_config_makefile dlls
/pstorec enable_pstorec
21685 wine_fn_config_makefile dlls
/pstorec
/tests enable_tests
21686 wine_fn_config_makefile dlls
/pwrshplugin enable_pwrshplugin
21687 wine_fn_config_makefile dlls
/qasf enable_qasf
21688 wine_fn_config_makefile dlls
/qasf
/tests enable_tests
21689 wine_fn_config_makefile dlls
/qcap enable_qcap
21690 wine_fn_config_makefile dlls
/qcap
/tests enable_tests
21691 wine_fn_config_makefile dlls
/qdvd enable_qdvd
21692 wine_fn_config_makefile dlls
/qdvd
/tests enable_tests
21693 wine_fn_config_makefile dlls
/qedit enable_qedit
21694 wine_fn_config_makefile dlls
/qedit
/tests enable_tests
21695 wine_fn_config_makefile dlls
/qmgr enable_qmgr
21696 wine_fn_config_makefile dlls
/qmgr
/tests enable_tests
21697 wine_fn_config_makefile dlls
/qmgrprxy enable_qmgrprxy
21698 wine_fn_config_makefile dlls
/quartz enable_quartz
21699 wine_fn_config_makefile dlls
/quartz
/tests enable_tests
21700 wine_fn_config_makefile dlls
/query enable_query
21701 wine_fn_config_makefile dlls
/qwave enable_qwave
21702 wine_fn_config_makefile dlls
/qwave
/tests enable_tests
21703 wine_fn_config_makefile dlls
/rasapi16.dll16 enable_win16
21704 wine_fn_config_makefile dlls
/rasapi32 enable_rasapi32
21705 wine_fn_config_makefile dlls
/rasapi32
/tests enable_tests
21706 wine_fn_config_makefile dlls
/rasdlg enable_rasdlg
21707 wine_fn_config_makefile dlls
/regapi enable_regapi
21708 wine_fn_config_makefile dlls
/resutils enable_resutils
21709 wine_fn_config_makefile dlls
/riched20 enable_riched20
21710 wine_fn_config_makefile dlls
/riched20
/tests enable_tests
21711 wine_fn_config_makefile dlls
/riched32 enable_riched32
21712 wine_fn_config_makefile dlls
/riched32
/tests enable_tests
21713 wine_fn_config_makefile dlls
/rpcrt4 enable_rpcrt4
21714 wine_fn_config_makefile dlls
/rpcrt
4/tests enable_tests
21715 wine_fn_config_makefile dlls
/rsabase enable_rsabase
21716 wine_fn_config_makefile dlls
/rsaenh enable_rsaenh
21717 wine_fn_config_makefile dlls
/rsaenh
/tests enable_tests
21718 wine_fn_config_makefile dlls
/rstrtmgr enable_rstrtmgr
21719 wine_fn_config_makefile dlls
/rtutils enable_rtutils
21720 wine_fn_config_makefile dlls
/rtworkq enable_rtworkq
21721 wine_fn_config_makefile dlls
/rtworkq
/tests enable_tests
21722 wine_fn_config_makefile dlls
/samlib enable_samlib
21723 wine_fn_config_makefile dlls
/sane.ds enable_sane_ds
21724 wine_fn_config_makefile dlls
/sapi enable_sapi
21725 wine_fn_config_makefile dlls
/sapi
/tests enable_tests
21726 wine_fn_config_makefile dlls
/sas enable_sas
21727 wine_fn_config_makefile dlls
/scarddlg enable_scarddlg
21728 wine_fn_config_makefile dlls
/scardsvr enable_scardsvr
21729 wine_fn_config_makefile dlls
/sccbase enable_sccbase
21730 wine_fn_config_makefile dlls
/schannel enable_schannel
21731 wine_fn_config_makefile dlls
/schannel
/tests enable_tests
21732 wine_fn_config_makefile dlls
/schedsvc enable_schedsvc
21733 wine_fn_config_makefile dlls
/schedsvc
/tests enable_tests
21734 wine_fn_config_makefile dlls
/scrobj enable_scrobj
21735 wine_fn_config_makefile dlls
/scrobj
/tests enable_tests
21736 wine_fn_config_makefile dlls
/scrrun enable_scrrun
21737 wine_fn_config_makefile dlls
/scrrun
/tests enable_tests
21738 wine_fn_config_makefile dlls
/scsiport.sys enable_scsiport_sys
21739 wine_fn_config_makefile dlls
/sechost enable_sechost
21740 wine_fn_config_makefile dlls
/secur32 enable_secur32
21741 wine_fn_config_makefile dlls
/secur32
/tests enable_tests
21742 wine_fn_config_makefile dlls
/security enable_security
21743 wine_fn_config_makefile dlls
/sensapi enable_sensapi
21744 wine_fn_config_makefile dlls
/serialui enable_serialui
21745 wine_fn_config_makefile dlls
/serialui
/tests enable_tests
21746 wine_fn_config_makefile dlls
/setupapi enable_setupapi
21747 wine_fn_config_makefile dlls
/setupapi
/tests enable_tests
21748 wine_fn_config_makefile dlls
/setupx.dll16 enable_win16
21749 wine_fn_config_makefile dlls
/sfc enable_sfc
21750 wine_fn_config_makefile dlls
/sfc_os enable_sfc_os
21751 wine_fn_config_makefile dlls
/shcore enable_shcore
21752 wine_fn_config_makefile dlls
/shcore
/tests enable_tests
21753 wine_fn_config_makefile dlls
/shdoclc enable_shdoclc
21754 wine_fn_config_makefile dlls
/shdocvw enable_shdocvw
21755 wine_fn_config_makefile dlls
/shdocvw
/tests enable_tests
21756 wine_fn_config_makefile dlls
/shell.dll16 enable_win16
21757 wine_fn_config_makefile dlls
/shell32 enable_shell32
21758 wine_fn_config_makefile dlls
/shell32
/tests enable_tests
21759 wine_fn_config_makefile dlls
/shfolder enable_shfolder
21760 wine_fn_config_makefile dlls
/shlwapi enable_shlwapi
21761 wine_fn_config_makefile dlls
/shlwapi
/tests enable_tests
21762 wine_fn_config_makefile dlls
/slbcsp enable_slbcsp
21763 wine_fn_config_makefile dlls
/slc enable_slc
21764 wine_fn_config_makefile dlls
/slc
/tests enable_tests
21765 wine_fn_config_makefile dlls
/snmpapi enable_snmpapi
21766 wine_fn_config_makefile dlls
/snmpapi
/tests enable_tests
21767 wine_fn_config_makefile dlls
/softpub enable_softpub
21768 wine_fn_config_makefile dlls
/sound.drv16 enable_win16
21769 wine_fn_config_makefile dlls
/spoolss enable_spoolss
21770 wine_fn_config_makefile dlls
/spoolss
/tests enable_tests
21771 wine_fn_config_makefile dlls
/sppc enable_sppc
21772 wine_fn_config_makefile dlls
/srclient enable_srclient
21773 wine_fn_config_makefile dlls
/srvcli enable_srvcli
21774 wine_fn_config_makefile dlls
/sspicli enable_sspicli
21775 wine_fn_config_makefile dlls
/stdole2.tlb enable_stdole2_tlb
21776 wine_fn_config_makefile dlls
/stdole32.tlb enable_stdole32_tlb
21777 wine_fn_config_makefile dlls
/sti enable_sti
21778 wine_fn_config_makefile dlls
/sti
/tests enable_tests
21779 wine_fn_config_makefile dlls
/storage.dll16 enable_win16
21780 wine_fn_config_makefile dlls
/stress.dll16 enable_win16
21781 wine_fn_config_makefile dlls
/strmdll enable_strmdll
21782 wine_fn_config_makefile dlls
/svrapi enable_svrapi
21783 wine_fn_config_makefile dlls
/sxs enable_sxs
21784 wine_fn_config_makefile dlls
/sxs
/tests enable_tests
21785 wine_fn_config_makefile dlls
/system.drv16 enable_win16
21786 wine_fn_config_makefile dlls
/t2embed enable_t2embed
21787 wine_fn_config_makefile dlls
/t2embed
/tests enable_tests
21788 wine_fn_config_makefile dlls
/tapi32 enable_tapi32
21789 wine_fn_config_makefile dlls
/tapi32
/tests enable_tests
21790 wine_fn_config_makefile dlls
/taskschd enable_taskschd
21791 wine_fn_config_makefile dlls
/taskschd
/tests enable_tests
21792 wine_fn_config_makefile dlls
/tbs enable_tbs
21793 wine_fn_config_makefile dlls
/tdh enable_tdh
21794 wine_fn_config_makefile dlls
/tdi.sys enable_tdi_sys
21795 wine_fn_config_makefile dlls
/threadpoolwinrt enable_threadpoolwinrt
21796 wine_fn_config_makefile dlls
/threadpoolwinrt
/tests enable_tests
21797 wine_fn_config_makefile dlls
/toolhelp.dll16 enable_win16
21798 wine_fn_config_makefile dlls
/traffic enable_traffic
21799 wine_fn_config_makefile dlls
/twain.dll16 enable_win16
21800 wine_fn_config_makefile dlls
/twain_32 enable_twain_32
21801 wine_fn_config_makefile dlls
/twain_32
/tests enable_tests
21802 wine_fn_config_makefile dlls
/twinapi.appcore enable_twinapi_appcore
21803 wine_fn_config_makefile dlls
/typelib.dll16 enable_win16
21804 wine_fn_config_makefile dlls
/tzres enable_tzres
21805 wine_fn_config_makefile dlls
/ucrtbase enable_ucrtbase
21806 wine_fn_config_makefile dlls
/ucrtbase
/tests enable_tests
21807 wine_fn_config_makefile dlls
/uianimation enable_uianimation
21808 wine_fn_config_makefile dlls
/uianimation
/tests enable_tests
21809 wine_fn_config_makefile dlls
/uiautomationcore enable_uiautomationcore
21810 wine_fn_config_makefile dlls
/uiautomationcore
/tests enable_tests
21811 wine_fn_config_makefile dlls
/uiribbon enable_uiribbon
21812 wine_fn_config_makefile dlls
/unicows enable_unicows
21813 wine_fn_config_makefile dlls
/updspapi enable_updspapi
21814 wine_fn_config_makefile dlls
/url enable_url
21815 wine_fn_config_makefile dlls
/urlmon enable_urlmon
21816 wine_fn_config_makefile dlls
/urlmon
/tests enable_tests
21817 wine_fn_config_makefile dlls
/usbd.sys enable_usbd_sys
21818 wine_fn_config_makefile dlls
/user.exe16 enable_win16
21819 wine_fn_config_makefile dlls
/user32 enable_user32
21820 wine_fn_config_makefile dlls
/user32
/tests enable_tests
21821 wine_fn_config_makefile dlls
/userenv enable_userenv
21822 wine_fn_config_makefile dlls
/userenv
/tests enable_tests
21823 wine_fn_config_makefile dlls
/usp10 enable_usp10
21824 wine_fn_config_makefile dlls
/usp10
/tests enable_tests
21825 wine_fn_config_makefile dlls
/utildll enable_utildll
21826 wine_fn_config_makefile dlls
/uxtheme enable_uxtheme
21827 wine_fn_config_makefile dlls
/uxtheme
/tests enable_tests
21828 wine_fn_config_makefile dlls
/vbscript enable_vbscript
21829 wine_fn_config_makefile dlls
/vbscript
/tests enable_tests
21830 wine_fn_config_makefile dlls
/vcomp enable_vcomp
21831 wine_fn_config_makefile dlls
/vcomp
/tests enable_tests
21832 wine_fn_config_makefile dlls
/vcomp100 enable_vcomp100
21833 wine_fn_config_makefile dlls
/vcomp110 enable_vcomp110
21834 wine_fn_config_makefile dlls
/vcomp110
/tests enable_tests
21835 wine_fn_config_makefile dlls
/vcomp120 enable_vcomp120
21836 wine_fn_config_makefile dlls
/vcomp140 enable_vcomp140
21837 wine_fn_config_makefile dlls
/vcomp90 enable_vcomp90
21838 wine_fn_config_makefile dlls
/vcruntime140 enable_vcruntime140
21839 wine_fn_config_makefile dlls
/vcruntime140_1 enable_vcruntime140_1
21840 wine_fn_config_makefile dlls
/vdhcp.vxd enable_win16
21841 wine_fn_config_makefile dlls
/vdmdbg enable_vdmdbg
21842 wine_fn_config_makefile dlls
/ver.dll16 enable_win16
21843 wine_fn_config_makefile dlls
/version enable_version
21844 wine_fn_config_makefile dlls
/version
/tests enable_tests
21845 wine_fn_config_makefile dlls
/vga enable_vga
21846 wine_fn_config_makefile dlls
/virtdisk enable_virtdisk
21847 wine_fn_config_makefile dlls
/virtdisk
/tests enable_tests
21848 wine_fn_config_makefile dlls
/vmm.vxd enable_win16
21849 wine_fn_config_makefile dlls
/vnbt.vxd enable_win16
21850 wine_fn_config_makefile dlls
/vnetbios.vxd enable_win16
21851 wine_fn_config_makefile dlls
/vssapi enable_vssapi
21852 wine_fn_config_makefile dlls
/vtdapi.vxd enable_win16
21853 wine_fn_config_makefile dlls
/vulkan-1 enable_vulkan_1
21854 wine_fn_config_makefile dlls
/vulkan-
1/tests enable_tests
21855 wine_fn_config_makefile dlls
/vwin32.vxd enable_win16
21856 wine_fn_config_makefile dlls
/w32skrnl enable_win16
21857 wine_fn_config_makefile dlls
/w32sys.dll16 enable_win16
21858 wine_fn_config_makefile dlls
/wbemdisp enable_wbemdisp
21859 wine_fn_config_makefile dlls
/wbemdisp
/tests enable_tests
21860 wine_fn_config_makefile dlls
/wbemprox enable_wbemprox
21861 wine_fn_config_makefile dlls
/wbemprox
/tests enable_tests
21862 wine_fn_config_makefile dlls
/wdscore enable_wdscore
21863 wine_fn_config_makefile dlls
/webservices enable_webservices
21864 wine_fn_config_makefile dlls
/webservices
/tests enable_tests
21865 wine_fn_config_makefile dlls
/websocket enable_websocket
21866 wine_fn_config_makefile dlls
/wer enable_wer
21867 wine_fn_config_makefile dlls
/wer
/tests enable_tests
21868 wine_fn_config_makefile dlls
/wevtapi enable_wevtapi
21869 wine_fn_config_makefile dlls
/wevtapi
/tests enable_tests
21870 wine_fn_config_makefile dlls
/wevtsvc enable_wevtsvc
21871 wine_fn_config_makefile dlls
/wiaservc enable_wiaservc
21872 wine_fn_config_makefile dlls
/wiaservc
/tests enable_tests
21873 wine_fn_config_makefile dlls
/wimgapi enable_wimgapi
21874 wine_fn_config_makefile dlls
/win32s16.dll16 enable_win16
21875 wine_fn_config_makefile dlls
/win32u enable_win32u
21876 wine_fn_config_makefile dlls
/win32u
/tests enable_tests
21877 wine_fn_config_makefile dlls
/win87em.dll16 enable_win16
21878 wine_fn_config_makefile dlls
/winaspi.dll16 enable_win16
21879 wine_fn_config_makefile dlls
/windebug.dll16 enable_win16
21880 wine_fn_config_makefile dlls
/windows.devices.bluetooth enable_windows_devices_bluetooth
21881 wine_fn_config_makefile dlls
/windows.devices.bluetooth
/tests enable_tests
21882 wine_fn_config_makefile dlls
/windows.devices.enumeration enable_windows_devices_enumeration
21883 wine_fn_config_makefile dlls
/windows.devices.enumeration
/tests enable_tests
21884 wine_fn_config_makefile dlls
/windows.devices.usb enable_windows_devices_usb
21885 wine_fn_config_makefile dlls
/windows.devices.usb
/tests enable_tests
21886 wine_fn_config_makefile dlls
/windows.gaming.input enable_windows_gaming_input
21887 wine_fn_config_makefile dlls
/windows.gaming.input
/tests enable_tests
21888 wine_fn_config_makefile dlls
/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
21889 wine_fn_config_makefile dlls
/windows.gaming.ui.gamebar
/tests enable_tests
21890 wine_fn_config_makefile dlls
/windows.globalization enable_windows_globalization
21891 wine_fn_config_makefile dlls
/windows.globalization
/tests enable_tests
21892 wine_fn_config_makefile dlls
/windows.media.devices enable_windows_media_devices
21893 wine_fn_config_makefile dlls
/windows.media.devices
/tests enable_tests
21894 wine_fn_config_makefile dlls
/windows.media.speech enable_windows_media_speech
21895 wine_fn_config_makefile dlls
/windows.media.speech
/tests enable_tests
21896 wine_fn_config_makefile dlls
/windows.media enable_windows_media
21897 wine_fn_config_makefile dlls
/windows.media
/tests enable_tests
21898 wine_fn_config_makefile dlls
/windows.networking.hostname enable_windows_networking_hostname
21899 wine_fn_config_makefile dlls
/windows.networking.hostname
/tests enable_tests
21900 wine_fn_config_makefile dlls
/windows.networking enable_windows_networking
21901 wine_fn_config_makefile dlls
/windows.perception.stub enable_windows_perception_stub
21902 wine_fn_config_makefile dlls
/windows.perception.stub
/tests enable_tests
21903 wine_fn_config_makefile dlls
/windows.system.profile.systemmanufacturers enable_windows_system_profile_systemmanufacturers
21904 wine_fn_config_makefile dlls
/windows.system.profile.systemmanufacturers
/tests enable_tests
21905 wine_fn_config_makefile dlls
/windows.ui enable_windows_ui
21906 wine_fn_config_makefile dlls
/windows.ui
/tests enable_tests
21907 wine_fn_config_makefile dlls
/windowscodecs enable_windowscodecs
21908 wine_fn_config_makefile dlls
/windowscodecs
/tests enable_tests
21909 wine_fn_config_makefile dlls
/windowscodecsext enable_windowscodecsext
21910 wine_fn_config_makefile dlls
/windowscodecsext
/tests enable_tests
21911 wine_fn_config_makefile dlls
/winealsa.drv enable_winealsa_drv
21912 wine_fn_config_makefile dlls
/wineandroid.drv enable_wineandroid_drv
21913 wine_fn_config_makefile dlls
/winebus.sys enable_winebus_sys
21914 wine_fn_config_makefile dlls
/winecoreaudio.drv enable_winecoreaudio_drv
21915 wine_fn_config_makefile dlls
/winecrt0 enable_winecrt0
21916 wine_fn_config_makefile dlls
/wined3d enable_wined3d
21917 wine_fn_config_makefile dlls
/winegstreamer enable_winegstreamer
21918 wine_fn_config_makefile dlls
/winehid.sys enable_winehid_sys
21919 wine_fn_config_makefile dlls
/winemac.drv enable_winemac_drv
21920 wine_fn_config_makefile dlls
/winemapi enable_winemapi
21921 wine_fn_config_makefile dlls
/wineoss.drv enable_wineoss_drv
21922 wine_fn_config_makefile dlls
/wineps.drv enable_wineps_drv
21923 wine_fn_config_makefile dlls
/wineps16.drv16 enable_win16
21924 wine_fn_config_makefile dlls
/winepulse.drv enable_winepulse_drv
21925 wine_fn_config_makefile dlls
/wineusb.sys enable_wineusb_sys
21926 wine_fn_config_makefile dlls
/winevulkan enable_winevulkan
21927 wine_fn_config_makefile dlls
/winewayland.drv enable_winewayland_drv
21928 wine_fn_config_makefile dlls
/winex11.drv enable_winex11_drv
21929 wine_fn_config_makefile dlls
/winexinput.sys enable_winexinput_sys
21930 wine_fn_config_makefile dlls
/wing.dll16 enable_win16
21931 wine_fn_config_makefile dlls
/wing32 enable_wing32
21932 wine_fn_config_makefile dlls
/winhttp enable_winhttp
21933 wine_fn_config_makefile dlls
/winhttp
/tests enable_tests
21934 wine_fn_config_makefile dlls
/wininet enable_wininet
21935 wine_fn_config_makefile dlls
/wininet
/tests enable_tests
21936 wine_fn_config_makefile dlls
/winmm enable_winmm
21937 wine_fn_config_makefile dlls
/winmm
/tests enable_tests
21938 wine_fn_config_makefile dlls
/winnls.dll16 enable_win16
21939 wine_fn_config_makefile dlls
/winnls32 enable_winnls32
21940 wine_fn_config_makefile dlls
/winprint enable_winprint
21941 wine_fn_config_makefile dlls
/winscard enable_winscard
21942 wine_fn_config_makefile dlls
/winscard
/tests enable_tests
21943 wine_fn_config_makefile dlls
/winsock.dll16 enable_win16
21944 wine_fn_config_makefile dlls
/winspool.drv enable_winspool_drv
21945 wine_fn_config_makefile dlls
/winspool.drv
/tests enable_tests
21946 wine_fn_config_makefile dlls
/winsta enable_winsta
21947 wine_fn_config_makefile dlls
/wintab.dll16 enable_win16
21948 wine_fn_config_makefile dlls
/wintab32 enable_wintab32
21949 wine_fn_config_makefile dlls
/wintab32
/tests enable_tests
21950 wine_fn_config_makefile dlls
/wintrust enable_wintrust
21951 wine_fn_config_makefile dlls
/wintrust
/tests enable_tests
21952 wine_fn_config_makefile dlls
/wintypes enable_wintypes
21953 wine_fn_config_makefile dlls
/wintypes
/tests enable_tests
21954 wine_fn_config_makefile dlls
/winusb enable_winusb
21955 wine_fn_config_makefile dlls
/wlanapi enable_wlanapi
21956 wine_fn_config_makefile dlls
/wlanapi
/tests enable_tests
21957 wine_fn_config_makefile dlls
/wlanui enable_wlanui
21958 wine_fn_config_makefile dlls
/wldap32 enable_wldap32
21959 wine_fn_config_makefile dlls
/wldap32
/tests enable_tests
21960 wine_fn_config_makefile dlls
/wmasf enable_wmasf
21961 wine_fn_config_makefile dlls
/wmi enable_wmi
21962 wine_fn_config_makefile dlls
/wmiutils enable_wmiutils
21963 wine_fn_config_makefile dlls
/wmiutils
/tests enable_tests
21964 wine_fn_config_makefile dlls
/wmp enable_wmp
21965 wine_fn_config_makefile dlls
/wmp
/tests enable_tests
21966 wine_fn_config_makefile dlls
/wmphoto enable_wmphoto
21967 wine_fn_config_makefile dlls
/wmvcore enable_wmvcore
21968 wine_fn_config_makefile dlls
/wmvcore
/tests enable_tests
21969 wine_fn_config_makefile dlls
/wnaspi32 enable_wnaspi32
21970 wine_fn_config_makefile dlls
/wofutil enable_wofutil
21971 wine_fn_config_makefile dlls
/wow32 enable_win16
21972 wine_fn_config_makefile dlls
/wow64 enable_wow64
21973 wine_fn_config_makefile dlls
/wow64cpu enable_wow64cpu
21974 wine_fn_config_makefile dlls
/wow64win enable_wow64win
21975 wine_fn_config_makefile dlls
/wpc enable_wpc
21976 wine_fn_config_makefile dlls
/wpc
/tests enable_tests
21977 wine_fn_config_makefile dlls
/wpcap enable_wpcap
21978 wine_fn_config_makefile dlls
/wpcap
/tests enable_tests
21979 wine_fn_config_makefile dlls
/ws2_32 enable_ws2_32
21980 wine_fn_config_makefile dlls
/ws2_32
/tests enable_tests
21981 wine_fn_config_makefile dlls
/wsdapi enable_wsdapi
21982 wine_fn_config_makefile dlls
/wsdapi
/tests enable_tests
21983 wine_fn_config_makefile dlls
/wshom.ocx enable_wshom_ocx
21984 wine_fn_config_makefile dlls
/wshom.ocx
/tests enable_tests
21985 wine_fn_config_makefile dlls
/wsnmp32 enable_wsnmp32
21986 wine_fn_config_makefile dlls
/wsnmp32
/tests enable_tests
21987 wine_fn_config_makefile dlls
/wsock32 enable_wsock32
21988 wine_fn_config_makefile dlls
/wtsapi32 enable_wtsapi32
21989 wine_fn_config_makefile dlls
/wtsapi32
/tests enable_tests
21990 wine_fn_config_makefile dlls
/wuapi enable_wuapi
21991 wine_fn_config_makefile dlls
/wuaueng enable_wuaueng
21992 wine_fn_config_makefile dlls
/x3daudio1_0 enable_x3daudio1_0
21993 wine_fn_config_makefile dlls
/x3daudio1_1 enable_x3daudio1_1
21994 wine_fn_config_makefile dlls
/x3daudio1_2 enable_x3daudio1_2
21995 wine_fn_config_makefile dlls
/x3daudio1_3 enable_x3daudio1_3
21996 wine_fn_config_makefile dlls
/x3daudio1_4 enable_x3daudio1_4
21997 wine_fn_config_makefile dlls
/x3daudio1_5 enable_x3daudio1_5
21998 wine_fn_config_makefile dlls
/x3daudio1_6 enable_x3daudio1_6
21999 wine_fn_config_makefile dlls
/x3daudio1_7 enable_x3daudio1_7
22000 wine_fn_config_makefile dlls
/xactengine2_0 enable_xactengine2_0
22001 wine_fn_config_makefile dlls
/xactengine2_4 enable_xactengine2_4
22002 wine_fn_config_makefile dlls
/xactengine2_7 enable_xactengine2_7
22003 wine_fn_config_makefile dlls
/xactengine2_9 enable_xactengine2_9
22004 wine_fn_config_makefile dlls
/xactengine3_0 enable_xactengine3_0
22005 wine_fn_config_makefile dlls
/xactengine3_1 enable_xactengine3_1
22006 wine_fn_config_makefile dlls
/xactengine3_2 enable_xactengine3_2
22007 wine_fn_config_makefile dlls
/xactengine3_3 enable_xactengine3_3
22008 wine_fn_config_makefile dlls
/xactengine3_4 enable_xactengine3_4
22009 wine_fn_config_makefile dlls
/xactengine3_5 enable_xactengine3_5
22010 wine_fn_config_makefile dlls
/xactengine3_6 enable_xactengine3_6
22011 wine_fn_config_makefile dlls
/xactengine3_7 enable_xactengine3_7
22012 wine_fn_config_makefile dlls
/xactengine3_
7/tests enable_tests
22013 wine_fn_config_makefile dlls
/xapofx1_1 enable_xapofx1_1
22014 wine_fn_config_makefile dlls
/xapofx1_2 enable_xapofx1_2
22015 wine_fn_config_makefile dlls
/xapofx1_3 enable_xapofx1_3
22016 wine_fn_config_makefile dlls
/xapofx1_4 enable_xapofx1_4
22017 wine_fn_config_makefile dlls
/xapofx1_5 enable_xapofx1_5
22018 wine_fn_config_makefile dlls
/xaudio2_0 enable_xaudio2_0
22019 wine_fn_config_makefile dlls
/xaudio2_1 enable_xaudio2_1
22020 wine_fn_config_makefile dlls
/xaudio2_2 enable_xaudio2_2
22021 wine_fn_config_makefile dlls
/xaudio2_3 enable_xaudio2_3
22022 wine_fn_config_makefile dlls
/xaudio2_4 enable_xaudio2_4
22023 wine_fn_config_makefile dlls
/xaudio2_5 enable_xaudio2_5
22024 wine_fn_config_makefile dlls
/xaudio2_6 enable_xaudio2_6
22025 wine_fn_config_makefile dlls
/xaudio2_7 enable_xaudio2_7
22026 wine_fn_config_makefile dlls
/xaudio2_
7/tests enable_tests
22027 wine_fn_config_makefile dlls
/xaudio2_8 enable_xaudio2_8
22028 wine_fn_config_makefile dlls
/xaudio2_
8/tests enable_tests
22029 wine_fn_config_makefile dlls
/xaudio2_9 enable_xaudio2_9
22030 wine_fn_config_makefile dlls
/xinput1_1 enable_xinput1_1
22031 wine_fn_config_makefile dlls
/xinput1_2 enable_xinput1_2
22032 wine_fn_config_makefile dlls
/xinput1_3 enable_xinput1_3
22033 wine_fn_config_makefile dlls
/xinput1_
3/tests enable_tests
22034 wine_fn_config_makefile dlls
/xinput1_4 enable_xinput1_4
22035 wine_fn_config_makefile dlls
/xinput9_1_0 enable_xinput9_1_0
22036 wine_fn_config_makefile dlls
/xinputuap enable_xinputuap
22037 wine_fn_config_makefile dlls
/xmllite enable_xmllite
22038 wine_fn_config_makefile dlls
/xmllite
/tests enable_tests
22039 wine_fn_config_makefile dlls
/xolehlp enable_xolehlp
22040 wine_fn_config_makefile dlls
/xpsprint enable_xpsprint
22041 wine_fn_config_makefile dlls
/xpssvcs enable_xpssvcs
22042 wine_fn_config_makefile fonts enable_fonts
22043 wine_fn_config_makefile include enable_include
22044 wine_fn_config_makefile libs
/adsiid enable_adsiid
22045 wine_fn_config_makefile libs
/dmoguids enable_dmoguids
22046 wine_fn_config_makefile libs
/dxerr8 enable_dxerr8
22047 wine_fn_config_makefile libs
/dxerr9 enable_dxerr9
22048 wine_fn_config_makefile libs
/dxguid enable_dxguid
22049 wine_fn_config_makefile libs
/faudio enable_faudio
22050 wine_fn_config_makefile libs
/gsm enable_gsm
22051 wine_fn_config_makefile libs
/jpeg enable_jpeg
22052 wine_fn_config_makefile libs
/jxr enable_jxr
22053 wine_fn_config_makefile libs
/lcms2 enable_lcms2
22054 wine_fn_config_makefile libs
/ldap enable_ldap
22055 wine_fn_config_makefile libs
/mfuuid enable_mfuuid
22056 wine_fn_config_makefile libs
/mpg123 enable_mpg123
22057 wine_fn_config_makefile libs
/musl enable_musl
22058 wine_fn_config_makefile libs
/png enable_png
22059 wine_fn_config_makefile libs
/strmbase enable_strmbase
22060 wine_fn_config_makefile libs
/strmiids enable_strmiids
22061 wine_fn_config_makefile libs
/tiff enable_tiff
22062 wine_fn_config_makefile libs
/uuid enable_uuid
22063 wine_fn_config_makefile libs
/vkd3d enable_vkd3d
22064 wine_fn_config_makefile libs
/wbemuuid enable_wbemuuid
22065 wine_fn_config_makefile libs
/wmcodecdspuuid enable_wmcodecdspuuid
22066 wine_fn_config_makefile libs
/xml2 enable_xml2
22067 wine_fn_config_makefile libs
/xslt enable_xslt
22068 wine_fn_config_makefile libs
/zlib enable_zlib
22069 wine_fn_config_makefile libs
/zydis enable_zydis
22070 wine_fn_config_makefile loader enable_loader
22071 wine_fn_config_makefile nls enable_nls
22072 wine_fn_config_makefile po enable_po
22073 wine_fn_config_makefile programs
/arp enable_arp
22074 wine_fn_config_makefile programs
/aspnet_regiis enable_aspnet_regiis
22075 wine_fn_config_makefile programs
/attrib enable_attrib
22076 wine_fn_config_makefile programs
/cabarc enable_cabarc
22077 wine_fn_config_makefile programs
/cacls enable_cacls
22078 wine_fn_config_makefile programs
/certutil enable_certutil
22079 wine_fn_config_makefile programs
/chcp.com enable_chcp_com
22080 wine_fn_config_makefile programs
/clock enable_clock
22081 wine_fn_config_makefile programs
/cmd enable_cmd
22082 wine_fn_config_makefile programs
/cmd
/tests enable_tests
22083 wine_fn_config_makefile programs
/conhost enable_conhost
22084 wine_fn_config_makefile programs
/conhost
/tests enable_tests
22085 wine_fn_config_makefile programs
/control enable_control
22086 wine_fn_config_makefile programs
/cscript enable_cscript
22087 wine_fn_config_makefile programs
/dism enable_dism
22088 wine_fn_config_makefile programs
/dllhost enable_dllhost
22089 wine_fn_config_makefile programs
/dplaysvr enable_dplaysvr
22090 wine_fn_config_makefile programs
/dpnsvr enable_dpnsvr
22091 wine_fn_config_makefile programs
/dpvsetup enable_dpvsetup
22092 wine_fn_config_makefile programs
/dxdiag enable_dxdiag
22093 wine_fn_config_makefile programs
/eject enable_eject
22094 wine_fn_config_makefile programs
/expand enable_expand
22095 wine_fn_config_makefile programs
/explorer enable_explorer
22096 wine_fn_config_makefile programs
/explorer
/tests enable_tests
22097 wine_fn_config_makefile programs
/extrac32 enable_extrac32
22098 wine_fn_config_makefile programs
/fc enable_fc
22099 wine_fn_config_makefile programs
/find enable_find
22100 wine_fn_config_makefile programs
/find
/tests enable_tests
22101 wine_fn_config_makefile programs
/findstr enable_findstr
22102 wine_fn_config_makefile programs
/findstr
/tests enable_tests
22103 wine_fn_config_makefile programs
/fsutil enable_fsutil
22104 wine_fn_config_makefile programs
/fsutil
/tests enable_tests
22105 wine_fn_config_makefile programs
/hh enable_hh
22106 wine_fn_config_makefile programs
/hostname enable_hostname
22107 wine_fn_config_makefile programs
/icacls enable_icacls
22108 wine_fn_config_makefile programs
/icinfo enable_icinfo
22109 wine_fn_config_makefile programs
/iexplore enable_iexplore
22110 wine_fn_config_makefile programs
/ipconfig enable_ipconfig
22111 wine_fn_config_makefile programs
/klist enable_klist
22112 wine_fn_config_makefile programs
/lodctr enable_lodctr
22113 wine_fn_config_makefile programs
/mofcomp enable_mofcomp
22114 wine_fn_config_makefile programs
/mshta enable_mshta
22115 wine_fn_config_makefile programs
/msidb enable_msidb
22116 wine_fn_config_makefile programs
/msiexec enable_msiexec
22117 wine_fn_config_makefile programs
/msinfo32 enable_msinfo32
22118 wine_fn_config_makefile programs
/net enable_net
22119 wine_fn_config_makefile programs
/netsh enable_netsh
22120 wine_fn_config_makefile programs
/netstat enable_netstat
22121 wine_fn_config_makefile programs
/ngen enable_ngen
22122 wine_fn_config_makefile programs
/notepad enable_notepad
22123 wine_fn_config_makefile programs
/oleview enable_oleview
22124 wine_fn_config_makefile programs
/ping enable_ping
22125 wine_fn_config_makefile programs
/plugplay enable_plugplay
22126 wine_fn_config_makefile programs
/pnputil enable_pnputil
22127 wine_fn_config_makefile programs
/powershell enable_powershell
22128 wine_fn_config_makefile programs
/presentationfontcache enable_presentationfontcache
22129 wine_fn_config_makefile programs
/progman enable_progman
22130 wine_fn_config_makefile programs
/reg enable_reg
22131 wine_fn_config_makefile programs
/reg
/tests enable_tests
22132 wine_fn_config_makefile programs
/regasm enable_regasm
22133 wine_fn_config_makefile programs
/regedit enable_regedit
22134 wine_fn_config_makefile programs
/regedit
/tests enable_tests
22135 wine_fn_config_makefile programs
/regini enable_regini
22136 wine_fn_config_makefile programs
/regsvcs enable_regsvcs
22137 wine_fn_config_makefile programs
/regsvr32 enable_regsvr32
22138 wine_fn_config_makefile programs
/robocopy enable_robocopy
22139 wine_fn_config_makefile programs
/rpcss enable_rpcss
22140 wine_fn_config_makefile programs
/rundll.exe16 enable_win16
22141 wine_fn_config_makefile programs
/rundll32 enable_rundll32
22142 wine_fn_config_makefile programs
/sc enable_sc
22143 wine_fn_config_makefile programs
/sc
/tests enable_tests
22144 wine_fn_config_makefile programs
/schtasks enable_schtasks
22145 wine_fn_config_makefile programs
/schtasks
/tests enable_tests
22146 wine_fn_config_makefile programs
/sdbinst enable_sdbinst
22147 wine_fn_config_makefile programs
/secedit enable_secedit
22148 wine_fn_config_makefile programs
/servicemodelreg enable_servicemodelreg
22149 wine_fn_config_makefile programs
/services enable_services
22150 wine_fn_config_makefile programs
/services
/tests enable_tests
22151 wine_fn_config_makefile programs
/setx enable_setx
22152 wine_fn_config_makefile programs
/shutdown enable_shutdown
22153 wine_fn_config_makefile programs
/spoolsv enable_spoolsv
22154 wine_fn_config_makefile programs
/start enable_start
22155 wine_fn_config_makefile programs
/subst enable_subst
22156 wine_fn_config_makefile programs
/svchost enable_svchost
22157 wine_fn_config_makefile programs
/systeminfo enable_systeminfo
22158 wine_fn_config_makefile programs
/taskkill enable_taskkill
22159 wine_fn_config_makefile programs
/tasklist enable_tasklist
22160 wine_fn_config_makefile programs
/tasklist
/tests enable_tests
22161 wine_fn_config_makefile programs
/taskmgr enable_taskmgr
22162 wine_fn_config_makefile programs
/termsv enable_termsv
22163 wine_fn_config_makefile programs
/uninstaller enable_uninstaller
22164 wine_fn_config_makefile programs
/unlodctr enable_unlodctr
22165 wine_fn_config_makefile programs
/view enable_view
22166 wine_fn_config_makefile programs
/wevtutil enable_wevtutil
22167 wine_fn_config_makefile programs
/where enable_where
22168 wine_fn_config_makefile programs
/whoami enable_whoami
22169 wine_fn_config_makefile programs
/wineboot enable_wineboot
22170 wine_fn_config_makefile programs
/winebrowser enable_winebrowser
22171 wine_fn_config_makefile programs
/winecfg enable_winecfg
22172 wine_fn_config_makefile programs
/wineconsole enable_wineconsole
22173 wine_fn_config_makefile programs
/winedbg enable_winedbg
22174 wine_fn_config_makefile programs
/winedevice enable_winedevice
22175 wine_fn_config_makefile programs
/winefile enable_winefile
22176 wine_fn_config_makefile programs
/winemenubuilder enable_winemenubuilder
22177 wine_fn_config_makefile programs
/winemine enable_winemine
22178 wine_fn_config_makefile programs
/winemsibuilder enable_winemsibuilder
22179 wine_fn_config_makefile programs
/winepath enable_winepath
22180 wine_fn_config_makefile programs
/winetest enable_winetest
22181 wine_fn_config_makefile programs
/winevdm enable_win16
22182 wine_fn_config_makefile programs
/winhelp.exe16 enable_win16
22183 wine_fn_config_makefile programs
/winhlp32 enable_winhlp32
22184 wine_fn_config_makefile programs
/winmgmt enable_winmgmt
22185 wine_fn_config_makefile programs
/winoldap.mod16 enable_win16
22186 wine_fn_config_makefile programs
/winver enable_winver
22187 wine_fn_config_makefile programs
/wmic enable_wmic
22188 wine_fn_config_makefile programs
/wmplayer enable_wmplayer
22189 wine_fn_config_makefile programs
/wordpad enable_wordpad
22190 wine_fn_config_makefile programs
/write enable_write
22191 wine_fn_config_makefile programs
/wscript enable_wscript
22192 wine_fn_config_makefile programs
/wscript
/tests enable_tests
22193 wine_fn_config_makefile programs
/wuauserv enable_wuauserv
22194 wine_fn_config_makefile programs
/wusa enable_wusa
22195 wine_fn_config_makefile programs
/xcopy enable_xcopy
22196 wine_fn_config_makefile programs
/xcopy
/tests enable_tests
22197 wine_fn_config_makefile server enable_server
22198 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22199 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/sfnt2fon enable_sfnt2fon
22200 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/widl enable_widl
22201 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winebuild enable_winebuild
22202 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winedump enable_winedump
22203 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winegcc enable_winegcc
22204 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winemaker enable_winemaker
22205 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/wmc enable_wmc
22206 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/wrc enable_wrc
22209 as_fn_append CONFIGURE_TARGETS
" TAGS"
22210 as_fn_append CONFIGURE_TARGETS
" tags"
22211 as_fn_append CONFIGURE_TARGETS
" autom4te.cache"
22212 as_fn_append CONFIGURE_TARGETS
" config.log"
22213 as_fn_append CONFIGURE_TARGETS
" config.status"
22214 as_fn_append CONFIGURE_TARGETS
" include/config.h"
22215 as_fn_append CONFIGURE_TARGETS
" include/stamp-h"
22216 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine"
22218 if test "x$enable_tools" != xno
22220 as_fn_append CONFIGURE_TARGETS
" tools/makedep$ac_exeext"
22221 ac_config_commands
="$ac_config_commands tools/makedep"
22225 ac_config_commands
="$ac_config_commands Makefile"
22232 as_fn_append wine_rules
"
22234 @echo \"Wine build complete.\"
22238 Makefile: config.status \$(MAKEDEP)
22239 @./config.status Makefile
22240 depend: \$(MAKEDEP)
22241 \$(MAKEDEP)$makedep_flags"
22244 as_fn_append wine_rules
"
22245 config.status: ${wine_srcdir}configure
22246 @./config.status --recheck
22247 include/config.h: include/stamp-h
22248 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22249 @./config.status include/config.h include/stamp-h"
22251 if test "x$enable_maintainer_mode" = xyes
22253 as_fn_append wine_rules
"
22254 configure: configure.ac aclocal.m4
22255 autoconf --warnings=all
22256 include/config.h.in: include/stamp-h.in
22257 include/stamp-h.in: configure.ac aclocal.m4
22258 autoheader --warnings=all
22259 @echo timestamp > \$@"
22262 if test "x$enable_tools" != xno
22264 as_fn_append wine_rules
"
22265 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22266 @./config.status tools/makedep
22267 Makefile: tools/makedep$ac_exeext"
22269 as_fn_append wine_rules
"
22271 @echo \"You need to run make in $toolsdir first\" && false"
22275 if test -n "$with_wine64"
22277 case "$with_wine64" in
22281 rm -f fonts server
2>/dev
/null
22282 as_fn_append wine_rules
"
22283 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22284 loader/wine64 loader/wine64-preloader:
22285 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22286 $with_wine64/loader/wine:
22287 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22288 $with_wine64/loader/wine-preloader:
22289 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22291 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22293 TOP_INSTALL_DEV
="$TOP_INSTALL_DEV include"
22294 TOP_INSTALL_LIB
="$TOP_INSTALL_LIB \
22298 programs/msidb/msidb \
22299 programs/msiexec/msiexec \
22300 programs/notepad/notepad \
22301 programs/regedit/regedit \
22302 programs/regsvr32/regsvr32 \
22303 programs/wineboot/wineboot \
22304 programs/winecfg/winecfg \
22305 programs/wineconsole/wineconsole \
22306 programs/winedbg/winedbg \
22307 programs/winefile/winefile \
22308 programs/winemine/winemine \
22309 programs/winepath/winepath \
22313 cygwin
*|mingw32
*|darwin
*|macosx
*|linux-android
*) ;;
22314 *) TOP_INSTALL_LIB
="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22319 as_fn_append wine_rules
"
22321 rm -rf autom4te.cache
22323 rm -f configure include/config.h.in"
22326 as_fn_append wine_rules
"
22327 dlls/ntdll/unix/version.c: dummy
22328 @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)
22329 programs/winetest/build.rc: dummy
22330 @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)
22331 programs/winetest/build.nfo:
22333 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
22334 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22335 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22338 TAGSFLAGS
="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22340 as_fn_append wine_rules
"
22343 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22346 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22348 .PHONY: depend dummy install-manpages"
22350 printf "%s\n" " done" >&6
22351 cat >confcache
<<\_ACEOF
22352 # This file is a shell script that caches the results of configure
22353 # tests run on this system so they can be shared between configure
22354 # scripts and configure runs, see configure's option --config-cache.
22355 # It is not useful on other systems. If it contains results you don't
22356 # want to keep, you may remove or edit it.
22358 # config.status only pays attention to the cache file if you give it
22359 # the --recheck option to rerun configure.
22361 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22362 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22363 # following values.
22367 # The following way of writing the cache mishandles newlines in values,
22368 # but we know of no workaround that is simple, portable, and efficient.
22369 # So, we kill variables containing newlines.
22370 # Ultrix sh set writes to stderr and can't be redirected directly,
22371 # and sets the high bit in the cache file unless we assign to the vars.
22373 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22374 eval ac_val
=\$
$ac_var
22378 *_cv_
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22379 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22382 _ | IFS | as_nl
) ;; #(
22383 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
22384 *) { eval $ac_var=; unset $ac_var;} ;;
22390 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22391 *${as_nl}ac_space
=\
*)
22392 # `set' does not quote correctly, so add quotes: double-quote
22393 # substitution turns \\\\ into \\, and sed turns \\ into \.
22396 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22399 # `set' quotes correctly as required by POSIX, so do not add quotes.
22400 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22409 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22411 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22413 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22414 if test -w "$cache_file"; then
22415 if test "x$cache_file" != "x/dev/null"; then
22416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22417 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22418 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
22419 cat confcache
>"$cache_file"
22421 case $cache_file in #(
22423 mv -f confcache
"$cache_file"$$
&&
22424 mv -f "$cache_file"$$
"$cache_file" ;; #(
22426 mv -f confcache
"$cache_file" ;;
22431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22432 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22437 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22438 # Let make expand exec_prefix.
22439 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22441 DEFS
=-DHAVE_CONFIG_H
22446 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22447 # 1. Remove the extension, and $U if already installed.
22448 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
22449 ac_i
=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22450 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22451 # will be set to the directory where LIBOBJS objects are built.
22452 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22453 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
22455 LIBOBJS
=$ac_libobjs
22457 LTLIBOBJS
=$ac_ltlibobjs
22461 : "${CONFIG_STATUS=./config.status}"
22463 ac_clean_files_save
=$ac_clean_files
22464 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22466 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22468 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22470 # Generated by $as_me.
22471 # Run this file to recreate the current configuration.
22472 # Compiler output produced by configure, useful for debugging
22473 # configure, is in config.log if it exists.
22476 ac_cs_recheck=false
22479 SHELL=\${CONFIG_SHELL-$SHELL}
22482 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
22483 ## -------------------- ##
22484 ## M4sh Initialization. ##
22485 ## -------------------- ##
22487 # Be more Bourne compatible
22488 DUALCASE
=1; export DUALCASE
# for MKS sh
22490 if test ${ZSH_VERSION+y} && (emulate sh
) >/dev
/null
2>&1
22494 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22495 # is contrary to our usage. Disable this feature.
22496 alias -g '${1+"$@"}'='"$@"'
22497 setopt NO_GLOB_SUBST
22499 case `(set -o) 2>/dev/null` in #(
22509 # Reset variables that may have inherited troublesome values from
22512 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22513 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22514 # side effect of setting IFS to empty, thus disabling word splitting.)
22515 # Quoting is to prevent editors from complaining about space-tab.
22525 # Ensure predictable behavior from utilities with locale-dependent output.
22531 # We cannot yet rely on "unset" to work, but we need these variables
22532 # to be unset--not just set to an empty or harmless value--now, to
22533 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22534 # also avoids known problems related to "unset" and subshell syntax
22535 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22536 for as_var
in BASH_ENV ENV MAIL MAILPATH CDPATH
22537 do eval test \
${$as_var+y} \
22538 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
22541 # Ensure that fds 0, 1, and 2 are open.
22542 if (exec 3>&0) 2>/dev
/null
; then :; else exec 0</dev
/null
; fi
22543 if (exec 3>&1) 2>/dev
/null
; then :; else exec 1>/dev
/null
; fi
22544 if (exec 3>&2) ; then :; else exec 2>/dev
/null
; fi
22546 # The user is always right.
22547 if ${PATH_SEPARATOR+false} :; then
22549 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
22550 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
22556 # Find who we are. Look in the path if we contain no directory separator.
22559 *[\\/]* ) as_myself
=$0 ;;
22560 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22561 for as_dir
in $PATH
22564 case $as_dir in #(((
22567 *) as_dir
=$as_dir/ ;;
22569 test -r "$as_dir$0" && as_myself
=$as_dir$0 && break
22575 # We did not find ourselves, most probably we were run as `sh COMMAND'
22576 # in which case we are not to be found in the path.
22577 if test "x$as_myself" = x
; then
22580 if test ! -f "$as_myself"; then
22581 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22587 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22588 # ----------------------------------------
22589 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22590 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22591 # script with STATUS, using 1 if that was 0.
22594 as_status
=$1; test $as_status -eq 0 && as_status
=1
22596 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
22597 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22599 printf "%s\n" "$as_me: error: $2" >&2
22600 as_fn_exit
$as_status
22605 # as_fn_set_status STATUS
22606 # -----------------------
22607 # Set $? to STATUS, without forking.
22608 as_fn_set_status
()
22611 } # as_fn_set_status
22613 # as_fn_exit STATUS
22614 # -----------------
22615 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22619 as_fn_set_status
$1
22625 # Portably unset VAR.
22628 { eval $1=; unset $1;}
22630 as_unset
=as_fn_unset
22632 # as_fn_append VAR VALUE
22633 # ----------------------
22634 # Append the text in VALUE to the end of the definition contained in VAR. Take
22635 # advantage of any shell optimizations that allow amortized linear growth over
22636 # repeated appends, instead of the typical quadratic growth present in naive
22638 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
22640 eval 'as_fn_append ()
22651 # as_fn_arith ARG...
22652 # ------------------
22653 # Perform arithmetic evaluation on the ARGs, and store the result in the
22654 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22655 # must be portable across $(()) and expr.
22656 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
22658 eval 'as_fn_arith ()
22665 as_val
=`expr "$@" || test $? -eq 1`
22670 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22671 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22677 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22678 as_basename
=basename
22683 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
22689 as_me
=`$as_basename -- "$0" ||
22690 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22691 X"$0" : 'X\(//\)$' \| \
22692 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22693 printf "%s\n" X/"$0" |
22694 sed '/^.*\/\([^/][^/]*\)\/*$/{
22708 # Avoid depending upon Character Ranges.
22709 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22710 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22711 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22712 as_cr_digits
='0123456789'
22713 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22716 # Determine whether it's possible to make 'echo' print without a newline.
22717 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22718 # for compatibility with existing Makefiles.
22719 ECHO_C
= ECHO_N
= ECHO_T
=
22720 case `echo -n x` in #(((((
22722 case `echo 'xy\c'` in
22723 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
22725 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
22732 # For backward compatibility with old third-party macros, we provide
22733 # the shell variables $as_echo and $as_echo_n. New code should use
22734 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22735 as_echo
='printf %s\n'
22736 as_echo_n
='printf %s'
22738 rm -f conf$$ conf$$.exe conf$$.
file
22739 if test -d conf$$.dir
; then
22740 rm -f conf$$.dir
/conf$$.
file
22743 mkdir conf$$.dir
2>/dev
/null
22745 if (echo >conf$$.
file) 2>/dev
/null
; then
22746 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22748 # ... but there are two gotchas:
22749 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22750 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22751 # In both cases, we have to default to `cp -pR'.
22752 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
22754 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22762 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
22763 rmdir conf$$.dir
2>/dev
/null
22768 # Create "$as_dir" as a directory, including parents if necessary.
22773 -*) as_dir
=.
/$as_dir;;
22775 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
22779 *\'*) as_qdir
=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22780 *) as_qdir
=$as_dir;;
22782 as_dirs
="'$as_qdir' $as_dirs"
22783 as_dir
=`$as_dirname -- "$as_dir" ||
22784 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22785 X"$as_dir" : 'X\(//\)[^/]' \| \
22786 X"$as_dir" : 'X\(//\)$' \| \
22787 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22788 printf "%s\n" X"$as_dir" |
22789 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22793 /^X\(\/\/\)[^/].*/{
22806 test -d "$as_dir" && break
22808 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22809 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
22813 if mkdir
-p .
2>/dev
/null
; then
22814 as_mkdir_p
='mkdir -p "$as_dir"'
22816 test -d .
/-p && rmdir .
/-p
22821 # as_fn_executable_p FILE
22822 # -----------------------
22823 # Test if FILE is an executable regular file.
22824 as_fn_executable_p
()
22826 test -f "$1" && test -x "$1"
22827 } # as_fn_executable_p
22828 as_test_x
='test -x'
22829 as_executable_p
=as_fn_executable_p
22831 # Sed expression to map a string onto a valid CPP name.
22832 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22834 # Sed expression to map a string onto a valid variable name.
22835 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22839 ## ----------------------------------- ##
22840 ## Main body of $CONFIG_STATUS script. ##
22841 ## ----------------------------------- ##
22843 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
22845 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22846 # Save the log message, to keep $0 and so on meaningful, and to
22847 # report actual input values of CONFIG_FILES etc. instead of their
22848 # values after options handling.
22850 This file was extended by Wine $as_me 8.13, which was
22851 generated by GNU Autoconf 2.71. Invocation command line was
22853 CONFIG_FILES = $CONFIG_FILES
22854 CONFIG_HEADERS = $CONFIG_HEADERS
22855 CONFIG_LINKS = $CONFIG_LINKS
22856 CONFIG_COMMANDS = $CONFIG_COMMANDS
22859 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22865 case $ac_config_headers in *"
22866 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
22870 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22871 # Files that config.status was made for.
22872 config_headers="$ac_config_headers"
22873 config_links="$ac_config_links"
22874 config_commands="$ac_config_commands"
22878 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22880 \`$as_me' instantiates files and other configuration actions
22881 from templates according to the current configuration. Unless the files
22882 and actions are specified as TAGs, all are instantiated by default.
22884 Usage: $0 [OPTION]... [TAG]...
22886 -h, --help print this help, then exit
22887 -V, --version print version number and configuration settings, then exit
22888 --config print configuration, then exit
22889 -q, --quiet, --silent
22890 do not print progress messages
22891 -d, --debug don't remove temporary files
22892 --recheck update $as_me by reconfiguring in the same conditions
22893 --header=FILE[:TEMPLATE]
22894 instantiate the configuration header FILE
22896 Configuration headers:
22899 Configuration links:
22902 Configuration commands:
22905 Report bugs to <wine-devel@winehq.org>.
22906 Wine home page: <https://www.winehq.org>."
22909 ac_cs_config
=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
22910 ac_cs_config_escaped
=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
22911 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22912 ac_cs_config='$ac_cs_config_escaped'
22914 Wine config.status 8.13
22915 configured by $0, generated by GNU Autoconf 2.71,
22916 with options \\"\$ac_cs_config\\"
22918 Copyright (C) 2021 Free Software Foundation, Inc.
22919 This config.status script is free software; the Free Software Foundation
22920 gives unlimited permission to copy, distribute and modify it."
22924 test -n "\$AWK" || AWK=awk
22927 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22928 # The default lists apply if the user does not specify any file.
22934 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22935 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
22939 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22951 # Handling of the options.
22952 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
22954 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
22955 printf "%s\n" "$ac_cs_version"; exit ;;
22956 --config |
--confi |
--conf |
--con |
--co |
--c )
22957 printf "%s\n" "$ac_cs_config"; exit ;;
22958 --debug |
--debu |
--deb |
--de |
--d |
-d )
22960 --header |
--heade |
--head |
--hea )
22963 *\'*) ac_optarg
=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22965 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
22966 ac_need_defaults
=false
;;
22968 # Conflict between --help and --header
22969 as_fn_error $?
"ambiguous option: \`$1'
22970 Try \`$0 --help' for more information.";;
22971 --help |
--hel |
-h )
22972 printf "%s\n" "$ac_cs_usage"; exit ;;
22973 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
22974 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
22977 # This is an error.
22978 -*) as_fn_error $?
"unrecognized option: \`$1'
22979 Try \`$0 --help' for more information." ;;
22981 *) as_fn_append ac_config_targets
" $1"
22982 ac_need_defaults
=false
;;
22988 ac_configure_extra_args
=
22990 if $ac_cs_silent; then
22992 ac_configure_extra_args
="$ac_configure_extra_args --silent"
22996 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22997 if \$ac_cs_recheck; then
22998 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23000 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
23001 CONFIG_SHELL='$SHELL'
23002 export CONFIG_SHELL
23007 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23011 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23012 ## Running $as_me. ##
23014 printf "%s\n" "$ac_log"
23018 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23022 wine_fn_output_makedep ()
23024 as_dir=tools; as_fn_mkdir_p
23025 $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
23027 wine_fn_output_makefile ()
23029 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
23030 # This Makefile understands the following targets:
23032 # all (default): build wine
23033 # clean: remove all intermediate files
23034 # distclean: also remove all files created by configure
23036 # testclean: clean test results to force running all tests again
23037 # install-lib: install libraries needed to run applications
23038 # install-dev: install development environment
23039 # install: install everything
23040 # uninstall: uninstall everything
23041 # ctags: create a tags file for vim and others.
23042 # etags: create a TAGS file for Emacs.
23045 PATH_SEPARATOR = $PATH_SEPARATOR
23046 PACKAGE_NAME = $PACKAGE_NAME
23047 PACKAGE_TARNAME = $PACKAGE_TARNAME
23048 PACKAGE_VERSION = $PACKAGE_VERSION
23049 PACKAGE_STRING = $PACKAGE_STRING
23050 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23051 PACKAGE_URL = $PACKAGE_URL
23052 exec_prefix = $exec_prefix
23054 program_transform_name = $program_transform_name
23057 libexecdir = $libexecdir
23058 datarootdir = $datarootdir
23060 sysconfdir = $sysconfdir
23061 sharedstatedir = $sharedstatedir
23062 localstatedir = $localstatedir
23063 runstatedir = $runstatedir
23064 includedir = $includedir
23065 oldincludedir = $oldincludedir
23073 localedir = $localedir
23080 build_alias = $build_alias
23081 host_alias = $host_alias
23082 target_alias = $target_alias
23083 system_dllpath = $system_dllpath
23085 build_cpu = $build_cpu
23086 build_vendor = $build_vendor
23087 build_os = $build_os
23089 host_cpu = $host_cpu
23090 host_vendor = $host_vendor
23096 SET_MAKE = $SET_MAKE
23100 CPPFLAGS = $CPPFLAGS
23101 ac_ct_CC = $ac_ct_CC
23105 CXXFLAGS = $CXXFLAGS
23106 ac_ct_CXX = $ac_ct_CXX
23109 TARGETFLAGS = $TARGETFLAGS
23110 toolsext = $toolsext
23111 HOST_ARCH = $HOST_ARCH
23112 aarch64_CC = $aarch64_CC
23113 aarch64_CFLAGS = $aarch64_CFLAGS
23114 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
23115 aarch64_LDFLAGS = $aarch64_LDFLAGS
23116 aarch64_DEBUG = $aarch64_DEBUG
23117 aarch64_TARGET = $aarch64_TARGET
23118 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
23119 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
23121 arm_CFLAGS = $arm_CFLAGS
23122 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
23123 arm_LDFLAGS = $arm_LDFLAGS
23124 arm_DEBUG = $arm_DEBUG
23125 arm_TARGET = $arm_TARGET
23126 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
23127 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
23129 i386_CFLAGS = $i386_CFLAGS
23130 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
23131 i386_LDFLAGS = $i386_LDFLAGS
23132 i386_DEBUG = $i386_DEBUG
23133 i386_TARGET = $i386_TARGET
23134 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
23135 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
23136 x86_64_CC = $x86_64_CC
23137 x86_64_CFLAGS = $x86_64_CFLAGS
23138 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
23139 x86_64_LDFLAGS = $x86_64_LDFLAGS
23140 x86_64_DEBUG = $x86_64_DEBUG
23141 x86_64_TARGET = $x86_64_TARGET
23142 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
23143 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
23144 toolsdir = $toolsdir
23146 RUNTESTFLAGS = $RUNTESTFLAGS
23151 ac_ct_AR = $ac_ct_AR
23157 LDCONFIG = $LDCONFIG
23159 PKG_CONFIG = $PKG_CONFIG
23160 FONTFORGE = $FONTFORGE
23164 I386_LIBS = $I386_LIBS
23165 OPENGL_LIBS = $OPENGL_LIBS
23166 DLLFLAGS = $DLLFLAGS
23167 LDDLLFLAGS = $LDDLLFLAGS
23168 LDEXECFLAGS = $LDEXECFLAGS
23169 EXTRACFLAGS = $EXTRACFLAGS
23170 UNIXDLLFLAGS = $UNIXDLLFLAGS
23171 UNIXLDFLAGS = $UNIXLDFLAGS
23172 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23173 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23174 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23175 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23181 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23182 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23183 CARBON_LIBS = $CARBON_LIBS
23184 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23185 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23186 IOKIT_LIBS = $IOKIT_LIBS
23187 METAL_LIBS = $METAL_LIBS
23188 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23189 CORESERVICES_LIBS = $CORESERVICES_LIBS
23190 APPKIT_LIBS = $APPKIT_LIBS
23191 SECURITY_LIBS = $SECURITY_LIBS
23192 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23193 COREAUDIO_LIBS = $COREAUDIO_LIBS
23194 OPENCL_LIBS = $OPENCL_LIBS
23196 OBJCFLAGS = $OBJCFLAGS
23197 ac_ct_OBJC = $ac_ct_OBJC
23198 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23199 PE_ARCHS = $PE_ARCHS
23200 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23201 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23202 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23203 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23204 GSM_PE_LIBS = $GSM_PE_LIBS
23205 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23206 JPEG_PE_LIBS = $JPEG_PE_LIBS
23207 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23208 JXR_PE_LIBS = $JXR_PE_LIBS
23209 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23210 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23211 LDAP_PE_CFLAGS = $LDAP_PE_CFLAGS
23212 LDAP_PE_LIBS = $LDAP_PE_LIBS
23213 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23214 MPG123_PE_LIBS = $MPG123_PE_LIBS
23215 MUSL_PE_CFLAGS = $MUSL_PE_CFLAGS
23216 MUSL_PE_LIBS = $MUSL_PE_LIBS
23217 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23218 PNG_PE_LIBS = $PNG_PE_LIBS
23219 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23220 TIFF_PE_LIBS = $TIFF_PE_LIBS
23221 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23222 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23223 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23224 XML2_PE_LIBS = $XML2_PE_LIBS
23225 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23226 XSLT_PE_LIBS = $XSLT_PE_LIBS
23227 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23228 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23229 ZYDIS_PE_CFLAGS = $ZYDIS_PE_CFLAGS
23230 ZYDIS_PE_LIBS = $ZYDIS_PE_LIBS
23231 PTHREAD_LIBS = $PTHREAD_LIBS
23234 X_CFLAGS = $X_CFLAGS
23235 X_PRE_LIBS = $X_PRE_LIBS
23237 X_EXTRA_LIBS = $X_EXTRA_LIBS
23238 WAYLAND_CLIENT_CFLAGS = $WAYLAND_CLIENT_CFLAGS
23239 WAYLAND_CLIENT_LIBS = $WAYLAND_CLIENT_LIBS
23240 WAYLAND_SCANNER = $WAYLAND_SCANNER
23241 PCAP_LIBS = $PCAP_LIBS
23242 PCSCLITE_LIBS = $PCSCLITE_LIBS
23243 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23244 INOTIFY_LIBS = $INOTIFY_LIBS
23245 DBUS_CFLAGS = $DBUS_CFLAGS
23246 DBUS_LIBS = $DBUS_LIBS
23247 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23248 GNUTLS_LIBS = $GNUTLS_LIBS
23249 SANE_CFLAGS = $SANE_CFLAGS
23250 SANE_LIBS = $SANE_LIBS
23251 USB_CFLAGS = $USB_CFLAGS
23252 USB_LIBS = $USB_LIBS
23253 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23254 GPHOTO2_LIBS = $GPHOTO2_LIBS
23255 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23256 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23257 RESOLV_LIBS = $RESOLV_LIBS
23258 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23259 FREETYPE_LIBS = $FREETYPE_LIBS
23260 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23261 PULSE_CFLAGS = $PULSE_CFLAGS
23262 PULSE_LIBS = $PULSE_LIBS
23263 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23264 GSTREAMER_LIBS = $GSTREAMER_LIBS
23265 ALSA_LIBS = $ALSA_LIBS
23266 OSS4_CFLAGS = $OSS4_CFLAGS
23267 OSS4_LIBS = $OSS4_LIBS
23268 UDEV_CFLAGS = $UDEV_CFLAGS
23269 UDEV_LIBS = $UDEV_LIBS
23270 UNWIND_CFLAGS = $UNWIND_CFLAGS
23271 UNWIND_LIBS = $UNWIND_LIBS
23272 SDL2_CFLAGS = $SDL2_CFLAGS
23273 SDL2_LIBS = $SDL2_LIBS
23274 CAPI20_CFLAGS = $CAPI20_CFLAGS
23275 CAPI20_LIBS = $CAPI20_LIBS
23276 CUPS_CFLAGS = $CUPS_CFLAGS
23277 CUPS_LIBS = $CUPS_LIBS
23278 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23279 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23280 KRB5_CFLAGS = $KRB5_CFLAGS
23281 KRB5_LIBS = $KRB5_LIBS
23282 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23283 GSSAPI_LIBS = $GSSAPI_LIBS
23284 PROCSTAT_LIBS = $PROCSTAT_LIBS
23285 NETAPI_CFLAGS = $NETAPI_CFLAGS
23286 NETAPI_LIBS = $NETAPI_LIBS
23287 MSVCRTFLAGS = $MSVCRTFLAGS
23288 DELAYLOADFLAG = $DELAYLOADFLAG
23289 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23291 TAGSFLAGS = $TAGSFLAGS
23293 LTLIBOBJS = $LTLIBOBJS
23297 as_fn_error $? "could not create Makefile" "$LINENO" 5
23302 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23304 # Handling of arguments.
23305 for ac_config_target
in $ac_config_targets
23307 case $ac_config_target in
23308 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
23309 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
23310 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
23311 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23312 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
23313 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
23315 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23320 # If the user did not use the arguments to specify the items to instantiate,
23321 # then the envvar interface is used. Set only those that are not.
23322 # We use the long form for the default assignment because of an extremely
23323 # bizarre bug on SunOS 4.1.3.
23324 if $ac_need_defaults; then
23325 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS
=$config_headers
23326 test ${CONFIG_LINKS+y} || CONFIG_LINKS
=$config_links
23327 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS
=$config_commands
23330 # Have a temporary directory for convenience. Make it in the build tree
23331 # simply because there is no reason against having it here, and in addition,
23332 # creating and moving files from /tmp can sometimes cause problems.
23333 # Hook for its removal unless debugging.
23334 # Note that there is a small window in which the directory will not be cleaned:
23335 # after its creation but before its name has been assigned to `$tmp'.
23339 trap 'exit_status=$?
23340 : "${ac_tmp:=$tmp}"
23341 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23343 trap 'as_fn_exit 1' 1 2 13 15
23345 # Create a (secure) tmp directory for tmp files.
23348 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23352 tmp
=.
/conf$$
-$RANDOM
23353 (umask 077 && mkdir
"$tmp")
23354 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
23357 # Set up the scripts for CONFIG_HEADERS section.
23358 # No need to generate them if there are no CONFIG_HEADERS.
23359 # This happens for instance with `./config.status Makefile'.
23360 if test -n "$CONFIG_HEADERS"; then
23361 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23365 # Transform confdefs.h into an awk script `defines.awk', embedded as
23366 # here-document in config.status, that substitutes the proper values into
23367 # config.h.in to produce config.h.
23369 # Create a delimiter string that does not exist in confdefs.h, to ease
23370 # handling of long lines.
23372 for ac_last_try
in false false
:; do
23373 ac_tt
=`sed -n "/$ac_delim/p" confdefs.h`
23374 if test -z "$ac_tt"; then
23376 elif $ac_last_try; then
23377 as_fn_error $?
"could not make $CONFIG_HEADERS" "$LINENO" 5
23379 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
23383 # For the awk script, D is an array of macro values keyed by name,
23384 # likewise P contains macro parameters if any. Preserve backslash
23385 # newline sequences.
23387 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
23389 s/.\{148\}/&'"$ac_delim"'/g
23392 s/^[ ]*#[ ]*define[ ][ ]*/ /
23399 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23401 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23405 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23406 D["\1"]=" \3\\\\\\n"\\/p
23408 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23413 s/.\{148\}/&'"$ac_delim"'/g
23418 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23421 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23423 ' <confdefs.h |
sed '
23424 s/'"$ac_delim"'/"\\\
23425 "/g' >>$CONFIG_STATUS || ac_write_fail
=1
23427 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23428 for (key in D) D_is_set[key] = 1
23431 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23433 split(line, arg, " ")
23434 if (arg[1] == "#") {
23438 defundef = substr(arg[1], 2)
23441 split(mac1, mac2, "(") #)
23443 prefix = substr(line, 1, index(line, defundef) - 1)
23444 if (D_is_set[macro]) {
23445 # Preserve the white space surrounding the "#".
23446 print prefix "define", macro P[macro] D[macro]
23449 # Replace #undef with comments. This is necessary, for example,
23450 # in the case of _POSIX_SOURCE, which is predefined and required
23451 # on some systems where configure will not decide to define it.
23452 if (defundef == "undef") {
23453 print "/*", prefix defundef, macro, "*/"
23461 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23462 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
23463 fi # test -n "$CONFIG_HEADERS"
23466 eval set X
" :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23471 :[FHLC
]) ac_mode
=$ac_tag; continue;;
23473 case $ac_mode$ac_tag in
23475 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
23476 :[FH
]-) ac_tag
=-:-;;
23477 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
23494 -) ac_f
="$ac_tmp/stdin";;
23495 *) # Look for the file first in the build tree, then in the source tree
23496 # (if the path is not absolute). The absolute path cannot be DOS-style,
23497 # because $ac_f cannot contain `:'.
23501 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
23503 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23505 case $ac_f in *\'*) ac_f
=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23506 as_fn_append ac_file_inputs
" '$ac_f'"
23509 # Let's still pretend it is `configure' which instantiates (i.e., don't
23510 # use $as_me), people would be surprised to read:
23511 # /* config.h. Generated by config.status. */
23512 configure_input
='Generated from '`
23513 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23515 if test x
"$ac_file" != x-
; then
23516 configure_input
="$ac_file. $configure_input"
23517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23518 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23520 # Neutralize special characters interpreted by sed in replacement strings.
23521 case $configure_input in #(
23522 *\
&* |
*\|
* |
*\\* )
23523 ac_sed_conf_input
=`printf "%s\n" "$configure_input" |
23524 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23525 *) ac_sed_conf_input
=$configure_input;;
23529 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
23530 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
23535 ac_dir
=`$as_dirname -- "$ac_file" ||
23536 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23537 X"$ac_file" : 'X\(//\)[^/]' \| \
23538 X"$ac_file" : 'X\(//\)$' \| \
23539 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23540 printf "%s\n" X"$ac_file" |
23541 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23545 /^X\(\/\/\)[^/].*/{
23558 as_dir
="$ac_dir"; as_fn_mkdir_p
23562 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23564 ac_dir_suffix
=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23565 # A ".." for each directory in $ac_dir_suffix.
23566 ac_top_builddir_sub
=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23567 case $ac_top_builddir_sub in
23568 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23569 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
23572 ac_abs_top_builddir
=$ac_pwd
23573 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
23574 # for backward compatibility:
23575 ac_top_builddir
=$ac_top_build_prefix
23578 .
) # We are building in place.
23580 ac_top_srcdir
=$ac_top_builddir_sub
23581 ac_abs_top_srcdir
=$ac_pwd ;;
23582 [\\/]* | ?
:[\\/]* ) # Absolute name.
23583 ac_srcdir
=$srcdir$ac_dir_suffix;
23584 ac_top_srcdir
=$srcdir
23585 ac_abs_top_srcdir
=$srcdir ;;
23586 *) # Relative name.
23587 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
23588 ac_top_srcdir
=$ac_top_build_prefix$srcdir
23589 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
23591 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
23600 if test x
"$ac_file" != x-
; then
23602 printf "%s\n" "/* $configure_input */" >&1 \
23603 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23604 } >"$ac_tmp/config.h" \
23605 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5
23606 if diff "$ac_file" "$ac_tmp/config.h" >/dev
/null
2>&1; then
23607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23608 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23611 mv "$ac_tmp/config.h" "$ac_file" \
23612 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5
23615 printf "%s\n" "/* $configure_input */" >&1 \
23616 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23617 || as_fn_error $?
"could not create -" "$LINENO" 5
23625 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23628 # Prefer the file from the source tree if names are identical.
23629 if test "$ac_source" = "$ac_file" ||
test ! -r "$ac_source"; then
23630 ac_source
=$srcdir/$ac_source
23633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23634 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23636 if test ! -r "$ac_source"; then
23637 as_fn_error $?
"$ac_source: file not found" "$LINENO" 5
23641 # Try a relative symlink, then a hard link, then a copy.
23643 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$ac_source ;;
23644 *) ac_rel_source
=$ac_top_build_prefix$ac_source ;;
23646 ln -s "$ac_rel_source" "$ac_file" 2>/dev
/null ||
23647 ln "$ac_source" "$ac_file" 2>/dev
/null ||
23648 cp -p "$ac_source" "$ac_file" ||
23649 as_fn_error $?
"cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23652 :C
) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23653 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23658 case $ac_file$ac_mode in
23659 "include/stamp-h":C
) echo timestamp
> include
/stamp-h
;;
23660 "tools/makedep":C
) wine_fn_output_makedep || as_fn_exit $?
;;
23661 "Makefile":C
) wine_fn_output_makefile Makefile
;;
23669 ac_clean_files
=$ac_clean_files_save
23671 test $ac_write_fail = 0 ||
23672 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
23675 # configure is writing to config.log, and then calls config.status.
23676 # config.status does its own redirection, appending to config.log.
23677 # Unfortunately, on DOS this fails, as config.log is still kept open
23678 # by configure, so config.status won't be able to write to it; its
23679 # output is simply discarded. So we exec the FD to /dev/null,
23680 # effectively closing config.log, so it can be properly (re)opened and
23681 # appended to by config.status. When coming back to configure, we
23682 # need to make the FD available again.
23683 if test "$no_create" != yes; then
23685 ac_config_status_args
=
23686 test "$silent" = yes &&
23687 ac_config_status_args
="$ac_config_status_args --quiet"
23689 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23691 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23692 # would make configure fail if this is the last instruction.
23693 $ac_cs_success || as_fn_exit
1
23695 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
23696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23697 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23701 if test "$no_create" = "yes"
23707 if test "x$wine_notices" != x
; then
23710 for msg
in $wine_notices; do
23716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23717 printf "%s\n" "$as_me: $msg" >&6;}
23722 for msg
in $wine_warnings; do
23729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23730 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23736 $as_me: Finished. Do '${ac_make}' to compile Wine.