2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 9.11.
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
='9.11'
615 PACKAGE_STRING
='Wine 9.11'
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
717 WAYLAND_CLIENT_CFLAGS
765 SYSTEMCONFIGURATION_LIBS
769 APPLICATIONSERVICES_LIBS
782 WINEPRELOADER_LDFLAGS
814 x86_64_DISABLED_SUBDIRS
822 i386_DISABLED_SUBDIRS
830 arm64ec_DISABLED_SUBDIRS
831 arm64ec_DELAYLOADFLAG
846 aarch64_DISABLED_SUBDIRS
847 aarch64_DELAYLOADFLAG
911 program_transform_name
924 enable_option_checking
930 enable_maintainer_mode
997 enable_appxdeploymentclient
1010 enable_bcryptprimitives
1011 enable_bluetoothapis
1030 enable_coremessaging
1053 enable_d3dcompiler_33
1054 enable_d3dcompiler_34
1055 enable_d3dcompiler_35
1056 enable_d3dcompiler_36
1057 enable_d3dcompiler_37
1058 enable_d3dcompiler_38
1059 enable_d3dcompiler_39
1060 enable_d3dcompiler_40
1061 enable_d3dcompiler_41
1062 enable_d3dcompiler_42
1063 enable_d3dcompiler_43
1064 enable_d3dcompiler_46
1065 enable_d3dcompiler_47
1118 enable_directmanipulation
1156 enable_explorerframe
1173 enable_graphicscapture
1184 enable_hvsimanagementapi
1217 enable_light_msstyles
1222 enable_magnification
1233 enable_mfmediaengine
1300 enable_msvcp140_atomic_wait
1301 enable_msvcp140_codecvt_ids
1367 enable_photometadatahandler
1445 enable_threadpoolwinrt
1448 enable_twinapi_appcore
1452 enable_uiautomationcore
1472 enable_vcruntime140_1
1490 enable_windows_applicationmodel
1491 enable_windows_devices_bluetooth
1492 enable_windows_devices_enumeration
1493 enable_windows_devices_usb
1494 enable_windows_gaming_input
1495 enable_windows_gaming_ui_gamebar
1496 enable_windows_globalization
1497 enable_windows_media_devices
1498 enable_windows_media_mediacontrol
1499 enable_windows_media_speech
1500 enable_windows_media
1501 enable_windows_networking_hostname
1502 enable_windows_networking
1503 enable_windows_perception_stub
1504 enable_windows_security_authentication_onlineid
1505 enable_windows_security_credentials_ui_userconsentverifier
1506 enable_windows_storage_applicationdata
1507 enable_windows_system_profile_systemmanufacturers
1509 enable_windowscodecs
1510 enable_windowscodecsext
1512 enable_wineandroid_drv
1514 enable_winecoreaudio_drv
1517 enable_winegstreamer
1523 enable_winepulse_drv
1526 enable_winewayland_drv
1528 enable_winexinput_sys
1575 enable_xactengine2_0
1576 enable_xactengine2_4
1577 enable_xactengine2_7
1578 enable_xactengine2_9
1579 enable_xactengine3_0
1580 enable_xactengine3_1
1581 enable_xactengine3_2
1582 enable_xactengine3_3
1583 enable_xactengine3_4
1584 enable_xactengine3_5
1585 enable_xactengine3_6
1586 enable_xactengine3_7
1636 enable_wmcodecdspuuid
1645 enable_aspnet_regiis
1693 enable_presentationfontcache
1708 enable_servicemodelreg
1734 enable_winemenubuilder
1736 enable_winemsibuilder
1761 ac_precious_vars
='build_alias
1776 FLUIDSYNTH_PE_CFLAGS
1808 WAYLAND_CLIENT_CFLAGS
1860 # Initialize some variables set by options.
1862 ac_init_version
=false
1863 ac_unrecognized_opts
=
1864 ac_unrecognized_sep
=
1865 # The variables have the same names as the options, with
1866 # dashes changed to underlines.
1867 cache_file
=/dev
/null
1874 program_transform_name
=s
,x
,x
,
1882 # Installation directory options.
1883 # These are left unexpanded so users can "make install exec_prefix=/foo"
1884 # and all the variables that are supposed to be based on exec_prefix
1885 # by default will actually change.
1886 # Use braces instead of parens because sh, perl, etc. also accept them.
1887 # (The list follows the same order as the GNU Coding Standards.)
1888 bindir
='${exec_prefix}/bin'
1889 sbindir
='${exec_prefix}/sbin'
1890 libexecdir
='${exec_prefix}/libexec'
1891 datarootdir
='${prefix}/share'
1892 datadir
='${datarootdir}'
1893 sysconfdir
='${prefix}/etc'
1894 sharedstatedir
='${prefix}/com'
1895 localstatedir
='${prefix}/var'
1896 runstatedir
='${localstatedir}/run'
1897 includedir
='${prefix}/include'
1898 oldincludedir
='/usr/include'
1899 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1900 infodir
='${datarootdir}/info'
1905 libdir
='${exec_prefix}/lib'
1906 localedir
='${datarootdir}/locale'
1907 mandir
='${datarootdir}/man'
1913 # If the previous option needs an argument, assign it.
1914 if test -n "$ac_prev"; then
1915 eval $ac_prev=\
$ac_option
1921 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1926 case $ac_dashdash$ac_option in
1930 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1932 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1933 bindir
=$ac_optarg ;;
1935 -build |
--build |
--buil |
--bui |
--bu)
1936 ac_prev
=build_alias
;;
1937 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1938 build_alias
=$ac_optarg ;;
1940 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1941 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1942 ac_prev
=cache_file
;;
1943 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1944 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1945 cache_file
=$ac_optarg ;;
1947 --config-cache |
-C)
1948 cache_file
=config.cache
;;
1950 -datadir |
--datadir |
--datadi |
--datad)
1952 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1953 datadir
=$ac_optarg ;;
1955 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1956 |
--dataroo |
--dataro |
--datar)
1957 ac_prev
=datarootdir
;;
1958 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1959 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1960 datarootdir
=$ac_optarg ;;
1962 -disable-* |
--disable-*)
1963 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1964 # Reject names that are not valid shell variable names.
1965 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1966 as_fn_error $?
"invalid feature name: \`$ac_useropt'"
1967 ac_useropt_orig
=$ac_useropt
1968 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1969 case $ac_user_opts in
1971 "enable_
$ac_useropt"
1973 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1974 ac_unrecognized_sep
=', ';;
1976 eval enable_
$ac_useropt=no
;;
1978 -docdir |
--docdir |
--docdi |
--doc |
--do)
1980 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1981 docdir
=$ac_optarg ;;
1983 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1985 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1986 dvidir
=$ac_optarg ;;
1988 -enable-* |
--enable-*)
1989 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1990 # Reject names that are not valid shell variable names.
1991 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1992 as_fn_error $?
"invalid feature name: \`$ac_useropt'"
1993 ac_useropt_orig
=$ac_useropt
1994 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1995 case $ac_user_opts in
1997 "enable_
$ac_useropt"
1999 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2000 ac_unrecognized_sep
=', ';;
2002 eval enable_
$ac_useropt=\
$ac_optarg ;;
2004 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
2005 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
2006 |
--exec |
--exe |
--ex)
2007 ac_prev
=exec_prefix
;;
2008 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
2009 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
2010 |
--exec=* |
--exe=* |
--ex=*)
2011 exec_prefix
=$ac_optarg ;;
2013 -gas |
--gas |
--ga |
--g)
2014 # Obsolete; use --with-gas.
2017 -help |
--help |
--hel |
--he |
-h)
2018 ac_init_help
=long
;;
2019 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
2020 ac_init_help
=recursive
;;
2021 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
2022 ac_init_help
=short
;;
2024 -host |
--host |
--hos |
--ho)
2025 ac_prev
=host_alias
;;
2026 -host=* |
--host=* |
--hos=* |
--ho=*)
2027 host_alias
=$ac_optarg ;;
2029 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
2031 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
2033 htmldir
=$ac_optarg ;;
2035 -includedir |
--includedir |
--includedi |
--included |
--include \
2036 |
--includ |
--inclu |
--incl |
--inc)
2037 ac_prev
=includedir
;;
2038 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
2039 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
2040 includedir
=$ac_optarg ;;
2042 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
2044 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
2045 infodir
=$ac_optarg ;;
2047 -libdir |
--libdir |
--libdi |
--libd)
2049 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
2050 libdir
=$ac_optarg ;;
2052 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
2053 |
--libexe |
--libex |
--libe)
2054 ac_prev
=libexecdir
;;
2055 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
2056 |
--libexe=* |
--libex=* |
--libe=*)
2057 libexecdir
=$ac_optarg ;;
2059 -localedir |
--localedir |
--localedi |
--localed |
--locale)
2060 ac_prev
=localedir
;;
2061 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
2062 localedir
=$ac_optarg ;;
2064 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
2065 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
2066 ac_prev
=localstatedir
;;
2067 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
2068 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
2069 localstatedir
=$ac_optarg ;;
2071 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
2073 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
2074 mandir
=$ac_optarg ;;
2076 -nfp |
--nfp |
--nf)
2077 # Obsolete; use --without-fp.
2080 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
2081 |
--no-cr |
--no-c |
-n)
2084 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
2085 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
2088 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
2089 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
2090 |
--oldin |
--oldi |
--old |
--ol |
--o)
2091 ac_prev
=oldincludedir
;;
2092 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
2093 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
2094 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
2095 oldincludedir
=$ac_optarg ;;
2097 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
2099 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
2100 prefix
=$ac_optarg ;;
2102 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
2103 |
--program-pre |
--program-pr |
--program-p)
2104 ac_prev
=program_prefix
;;
2105 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
2106 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
2107 program_prefix
=$ac_optarg ;;
2109 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
2110 |
--program-suf |
--program-su |
--program-s)
2111 ac_prev
=program_suffix
;;
2112 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
2113 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
2114 program_suffix
=$ac_optarg ;;
2116 -program-transform-name |
--program-transform-name \
2117 |
--program-transform-nam |
--program-transform-na \
2118 |
--program-transform-n |
--program-transform- \
2119 |
--program-transform |
--program-transfor \
2120 |
--program-transfo |
--program-transf \
2121 |
--program-trans |
--program-tran \
2122 |
--progr-tra |
--program-tr |
--program-t)
2123 ac_prev
=program_transform_name
;;
2124 -program-transform-name=* |
--program-transform-name=* \
2125 |
--program-transform-nam=* |
--program-transform-na=* \
2126 |
--program-transform-n=* |
--program-transform-=* \
2127 |
--program-transform=* |
--program-transfor=* \
2128 |
--program-transfo=* |
--program-transf=* \
2129 |
--program-trans=* |
--program-tran=* \
2130 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
2131 program_transform_name
=$ac_optarg ;;
2133 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
2135 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
2136 pdfdir
=$ac_optarg ;;
2138 -psdir |
--psdir |
--psdi |
--psd |
--ps)
2140 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
2143 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2144 |
-silent |
--silent |
--silen |
--sile |
--sil)
2147 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
2148 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
2149 |
--run |
--ru |
--r)
2150 ac_prev
=runstatedir
;;
2151 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
2152 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
2153 |
--run=* |
--ru=* |
--r=*)
2154 runstatedir
=$ac_optarg ;;
2156 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
2158 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
2160 sbindir
=$ac_optarg ;;
2162 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
2163 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
2164 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
2166 ac_prev
=sharedstatedir
;;
2167 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
2168 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
2169 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
2171 sharedstatedir
=$ac_optarg ;;
2173 -site |
--site |
--sit)
2175 -site=* |
--site=* |
--sit=*)
2178 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
2180 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
2181 srcdir
=$ac_optarg ;;
2183 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
2184 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
2185 ac_prev
=sysconfdir
;;
2186 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
2187 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
2188 sysconfdir
=$ac_optarg ;;
2190 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
2191 ac_prev
=target_alias
;;
2192 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
2193 target_alias
=$ac_optarg ;;
2195 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
2198 -version |
--version |
--versio |
--versi |
--vers |
-V)
2199 ac_init_version
=: ;;
2202 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2203 # Reject names that are not valid shell variable names.
2204 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2205 as_fn_error $?
"invalid package name: \`$ac_useropt'"
2206 ac_useropt_orig
=$ac_useropt
2207 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2208 case $ac_user_opts in
2212 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2213 ac_unrecognized_sep
=', ';;
2215 eval with_
$ac_useropt=\
$ac_optarg ;;
2217 -without-* |
--without-*)
2218 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2219 # Reject names that are not valid shell variable names.
2220 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2221 as_fn_error $?
"invalid package name: \`$ac_useropt'"
2222 ac_useropt_orig
=$ac_useropt
2223 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2224 case $ac_user_opts in
2228 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2229 ac_unrecognized_sep
=', ';;
2231 eval with_
$ac_useropt=no
;;
2234 # Obsolete; use --with-x.
2237 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
2238 |
--x-incl |
--x-inc |
--x-in |
--x-i)
2239 ac_prev
=x_includes
;;
2240 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
2241 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
2242 x_includes
=$ac_optarg ;;
2244 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
2245 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
2246 ac_prev
=x_libraries
;;
2247 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
2248 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
2249 x_libraries
=$ac_optarg ;;
2251 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
2252 Try \`$0 --help' for more information"
2256 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
2257 # Reject names that are not valid shell variable names.
2258 case $ac_envvar in #(
2259 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
2260 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
2262 eval $ac_envvar=\
$ac_optarg
2263 export $ac_envvar ;;
2266 # FIXME: should be removed in autoconf 3.0.
2267 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2268 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
2269 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2270 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2276 if test -n "$ac_prev"; then
2277 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
2278 as_fn_error $?
"missing argument to $ac_option"
2281 if test -n "$ac_unrecognized_opts"; then
2282 case $enable_option_checking in
2284 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
2285 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2289 # Check all directory arguments for consistency.
2290 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2291 datadir sysconfdir sharedstatedir localstatedir includedir \
2292 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2293 libdir localedir mandir runstatedir
2295 eval ac_val
=\$
$ac_var
2296 # Remove trailing slashes.
2299 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2300 eval $ac_var=\
$ac_val;;
2302 # Be sure to have absolute directory names.
2304 [\\/$
]* | ?
:[\\/]* ) continue;;
2305 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
2307 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
2310 # There might be people who depend on the old broken behavior: `$host'
2311 # used to hold the argument of --host etc.
2312 # FIXME: To remove some day.
2315 target
=$target_alias
2317 # FIXME: To remove some day.
2318 if test "x$host_alias" != x
; then
2319 if test "x$build_alias" = x
; then
2320 cross_compiling
=maybe
2321 elif test "x$build_alias" != "x$host_alias"; then
2327 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
2329 test "$silent" = yes && exec 6>/dev
/null
2332 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
2333 ac_ls_di
=`ls -di .` &&
2334 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
2335 as_fn_error $?
"working directory cannot be determined"
2336 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2337 as_fn_error $?
"pwd does not report name of working directory"
2340 # Find the source files, if location was not specified.
2341 if test -z "$srcdir"; then
2342 ac_srcdir_defaulted
=yes
2343 # Try the directory containing this script, then the parent directory.
2344 ac_confdir
=`$as_dirname -- "$as_myself" ||
2345 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2346 X"$as_myself" : 'X\(//\)[^/]' \| \
2347 X"$as_myself" : 'X\(//\)$' \| \
2348 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2349 printf "%s\n" X"$as_myself" |
2350 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2368 if test ! -r "$srcdir/$ac_unique_file"; then
2372 ac_srcdir_defaulted
=no
2374 if test ! -r "$srcdir/$ac_unique_file"; then
2375 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
2376 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
2378 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
2380 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2382 # When building in place, set srcdir=.
2383 if test "$ac_abs_confdir" = "$ac_pwd"; then
2386 # Remove unnecessary trailing slashes from srcdir.
2387 # Double slashes in file names in object file debugging info
2388 # mess up M-x gdb in Emacs.
2390 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2392 for ac_var
in $ac_precious_vars; do
2393 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
2394 eval ac_env_
${ac_var}_value
=\$
${ac_var}
2395 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
2396 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2400 # Report the --help message.
2402 if test "$ac_init_help" = "long"; then
2403 # Omit some internal or obsolete options to make the list less imposing.
2404 # This message is too long to be a string in the A/UX 3.1 sh.
2406 \`configure' configures Wine 9.11 to adapt to many kinds of systems.
2408 Usage: $0 [OPTION]... [VAR=VALUE]...
2410 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2411 VAR=VALUE. See below for descriptions of some of the useful variables.
2413 Defaults for the options are specified in brackets.
2416 -h, --help display this help and exit
2417 --help=short display options specific to this package
2418 --help=recursive display the short help of all the included packages
2419 -V, --version display version information and exit
2420 -q, --quiet, --silent do not print \`checking ...' messages
2421 --cache-file=FILE cache test results in FILE [disabled]
2422 -C, --config-cache alias for \`--cache-file=config.cache'
2423 -n, --no-create do not create output files
2424 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2426 Installation directories:
2427 --prefix=PREFIX install architecture-independent files in PREFIX
2428 [$ac_default_prefix]
2429 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2432 By default, \`make install' will install all the files in
2433 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2434 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2435 for instance \`--prefix=\$HOME'.
2437 For better control, use the options below.
2439 Fine tuning of the installation directories:
2440 --bindir=DIR user executables [EPREFIX/bin]
2441 --sbindir=DIR system admin executables [EPREFIX/sbin]
2442 --libexecdir=DIR program executables [EPREFIX/libexec]
2443 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2444 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2445 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2446 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2447 --libdir=DIR object code libraries [EPREFIX/lib]
2448 --includedir=DIR C header files [PREFIX/include]
2449 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2450 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2451 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2452 --infodir=DIR info documentation [DATAROOTDIR/info]
2453 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2454 --mandir=DIR man documentation [DATAROOTDIR/man]
2455 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2456 --htmldir=DIR html documentation [DOCDIR]
2457 --dvidir=DIR dvi documentation [DOCDIR]
2458 --pdfdir=DIR pdf documentation [DOCDIR]
2459 --psdir=DIR ps documentation [DOCDIR]
2465 --x-includes=DIR X include files are
in DIR
2466 --x-libraries=DIR X library files are
in DIR
2469 --build=BUILD configure
for building on BUILD
[guessed
]
2470 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2474 if test -n "$ac_init_help"; then
2475 case $ac_init_help in
2476 short | recursive
) echo "Configuration of Wine 9.11:";;
2481 --disable-option-checking ignore unrecognized
--enable/--with options
2482 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2483 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2484 --enable-archs={i386
,x86_64
,arm
,aarch64
}
2485 enable multiple architectures
for PE compilation
2486 --disable-win16 do not include Win16 support
2487 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2489 --disable-tests do not build the regression tests
2490 --enable-build-id include .buildid section in output objects
2491 --enable-maintainer-mode
2492 enable maintainer-specific build rules
2493 --enable-silent-rules use silent build rules (override: "make V=1")
2494 --enable-werror treat compilation warnings as errors
2495 --disable-largefile omit support for large files
2498 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2499 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2500 --without-alsa do not use the Alsa sound support
2501 --without-capi do not use CAPI (ISDN support)
2502 --without-coreaudio do not use the CoreAudio sound support
2503 --without-cups do not use CUPS
2504 --without-dbus do not use DBus (dynamic device support)
2505 --without-fontconfig do not use fontconfig
2506 --without-freetype do not use the FreeType library
2507 --without-gettext do not use gettext
2508 --with-gettextpo use the GetTextPO library to rebuild po files
2509 --without-gphoto do not use gphoto (Digital Camera support)
2510 --without-gnutls do not use GnuTLS (schannel support)
2511 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2512 --without-gstreamer do not use GStreamer (codecs support)
2513 --without-inotify do not use inotify (filesystem change notifications)
2514 --without-krb5 do not use krb5 (Kerberos)
2515 --without-mingw do not use the MinGW cross-compiler
2516 --without-netapi do not use the Samba NetAPI library
2517 --without-odbc do not use the ODBC library
2518 --without-opencl do not use OpenCL
2519 --without-opengl do not use OpenGL
2520 --without-osmesa do not use the OSMesa library
2521 --without-oss do not use the OSS sound support
2522 --without-pcap do not use the Packet Capture library
2523 --without-pcsclite do not use PCSC lite
2524 --without-pthread do not use the pthread library
2525 --without-pulse do not use PulseAudio sound support
2526 --without-sane do not use SANE (scanner support)
2527 --without-sdl do not use SDL
2528 --without-udev do not use udev (plug and play support)
2529 --without-unwind do not use the libunwind library (exception
2531 --without-usb do not use the libusb library
2532 --without-v4l2 do not use v4l2 (video capture)
2533 --without-vulkan do not use Vulkan
2534 --without-wayland do not build the Wayland driver
2535 --without-xcomposite do not use the Xcomposite extension
2536 --without-xcursor do not use the Xcursor extension
2537 --without-xfixes do not use Xfixes for clipboard change notifications
2538 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2539 --without-xinput do not use the Xinput extension
2540 --without-xinput2 do not use the Xinput 2 extension
2541 --without-xrandr do not use Xrandr (multi-monitor support)
2542 --without-xrender do not use the Xrender extension
2543 --without-xshape do not use the Xshape extension
2544 --without-xshm do not use XShm (shared memory extension)
2545 --without-xxf86vm do not use XFree video mode extension
2546 --with-system-dllpath=PATH
2547 load external PE dependencies from colon-separated
2549 --with-wine-tools=DIR use Wine tools from directory DIR
2550 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2551 --with-x use the X Window System
2553 Some influential environment variables:
2554 CC C compiler command
2555 CFLAGS C compiler flags
2556 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2557 nonstandard directory <lib dir>
2558 LIBS libraries to pass to the linker, e.g. -l<library>
2559 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2560 you have headers in a nonstandard directory <include dir>
2561 CXX C++ compiler command
2562 CXXFLAGS C++ compiler flags
2563 OBJC Objective C compiler command
2564 OBJCFLAGS Objective C compiler flags
2566 C compiler flags for the PE faudio, overriding the bundled
2569 Linker flags for the PE faudio, overriding the bundled version
2570 FLUIDSYNTH_PE_CFLAGS
2571 C compiler flags for the PE fluidsynth, overriding the bundled
2574 Linker flags for the PE fluidsynth, overriding the bundled
2577 C compiler flags for the PE gsm, overriding the bundled version
2578 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2580 C compiler flags for the PE jpeg, overriding the bundled version
2582 Linker flags for the PE jpeg, overriding the bundled version
2584 C compiler flags for the PE jxr, overriding the bundled version
2585 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2587 C compiler flags for the PE lcms2, overriding the bundled
2590 Linker flags for the PE lcms2, overriding the bundled version
2592 C compiler flags for the PE ldap, overriding the bundled version
2594 Linker flags for the PE ldap, overriding the bundled version
2596 C compiler flags for the PE mpg123, overriding the bundled
2599 Linker flags for the PE mpg123, overriding the bundled version
2601 C compiler flags for the PE musl, overriding the bundled version
2603 Linker flags for the PE musl, overriding the bundled version
2605 C compiler flags for the PE png, overriding the bundled version
2606 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2608 C compiler flags for the PE tiff, overriding the bundled version
2610 Linker flags for the PE tiff, overriding the bundled version
2612 C compiler flags for the PE vkd3d, overriding the bundled
2615 Linker flags for the PE vkd3d, overriding the bundled version
2617 C compiler flags for the PE xml2, overriding the bundled version
2619 Linker flags for the PE xml2, overriding the bundled version
2621 C compiler flags for the PE xslt, overriding the bundled version
2623 Linker flags for the PE xslt, overriding the bundled version
2625 C compiler flags for the PE zlib, overriding the bundled version
2627 Linker flags for the PE zlib, overriding the bundled version
2629 C compiler flags for the PE zydis, overriding the bundled
2632 Linker flags for the PE zydis, overriding the bundled version
2633 XMKMF Path to xmkmf, Makefile generator for X Window System
2635 WAYLAND_CLIENT_CFLAGS
2636 C compiler flags for wayland-client, overriding pkg-config
2638 Linker flags for wayland-client, overriding pkg-config
2640 C compiler flags for xkbcommon, overriding pkg-config
2642 Linker flags for xkbcommon, overriding pkg-config
2644 C compiler flags for xkbregistry, overriding pkg-config
2646 Linker flags for xkbregistry, overriding pkg-config
2647 EGL_CFLAGS C compiler flags for egl, overriding pkg-config
2648 EGL_LIBS Linker flags for egl, overriding pkg-config
2650 C compiler flags for wayland-egl, overriding pkg-config
2652 Linker flags for wayland-egl, overriding pkg-config
2653 ODBC_CFLAGS C compiler flags for odbc, overriding pkg-config
2654 ODBC_LIBS Linker flags for odbc, overriding pkg-config
2656 C compiler flags for libinotify, overriding pkg-config
2658 Linker flags for libinotify, overriding pkg-config
2659 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2660 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2662 C compiler flags for gnutls, overriding pkg-config
2663 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2664 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2665 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2666 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2667 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2669 C compiler flags for libgphoto2, overriding pkg-config
2671 Linker flags for libgphoto2, overriding pkg-config
2673 C compiler flags for libgphoto2_port, overriding pkg-config
2675 Linker flags for libgphoto2_port, overriding pkg-config
2677 C compiler flags for freetype2, overriding pkg-config
2679 Linker flags for freetype2, overriding pkg-config
2681 C compiler flags for libpulse, overriding pkg-config
2682 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2684 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2685 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2687 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2688 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2689 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2690 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2692 C compiler flags for libunwind, overriding pkg-config
2693 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2694 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2695 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2697 C compiler flags for capi20, overriding pkg-config
2698 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2699 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2700 CUPS_LIBS Linker flags for cups, overriding pkg-config
2702 C compiler flags for fontconfig, overriding pkg-config
2704 Linker flags for fontconfig, overriding pkg-config
2705 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2706 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2708 C compiler flags for krb5-gssapi, overriding pkg-config
2709 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2711 C compiler flags for netapi, overriding pkg-config
2712 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2714 Use these variables to override the choices made by `configure' or to
help
2715 it to
find libraries and programs with nonstandard names
/locations.
2717 Report bugs to
<wine-devel@winehq.org
>.
2718 Wine home page
: <https
://www.winehq.org
>.
2723 if test "$ac_init_help" = "recursive"; then
2724 # If there are subdirs, report their specific --help.
2725 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2726 test -d "$ac_dir" ||
2727 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2732 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2734 ac_dir_suffix
=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2735 # A ".." for each directory in $ac_dir_suffix.
2736 ac_top_builddir_sub
=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2737 case $ac_top_builddir_sub in
2738 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2739 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2742 ac_abs_top_builddir
=$ac_pwd
2743 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2744 # for backward compatibility:
2745 ac_top_builddir
=$ac_top_build_prefix
2748 .
) # We are building in place.
2750 ac_top_srcdir
=$ac_top_builddir_sub
2751 ac_abs_top_srcdir
=$ac_pwd ;;
2752 [\\/]* | ?
:[\\/]* ) # Absolute name.
2753 ac_srcdir
=$srcdir$ac_dir_suffix;
2754 ac_top_srcdir
=$srcdir
2755 ac_abs_top_srcdir
=$srcdir ;;
2757 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2758 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2759 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2761 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2763 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2764 # Check for configure.gnu first; this name is used for a wrapper for
2765 # Metaconfig's "Configure" on case-insensitive file systems.
2766 if test -f "$ac_srcdir/configure.gnu"; then
2768 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2769 elif test -f "$ac_srcdir/configure"; then
2771 $SHELL "$ac_srcdir/configure" --help=recursive
2773 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2775 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2779 test -n "$ac_init_help" && exit $ac_status
2780 if $ac_init_version; then
2783 generated by GNU Autoconf
2.71
2785 Copyright
(C
) 2021 Free Software Foundation
, Inc.
2786 This configure
script is free software
; the Free Software Foundation
2787 gives unlimited permission to copy
, distribute and modify it.
2792 ## ------------------------ ##
2793 ## Autoconf initialization. ##
2794 ## ------------------------ ##
2796 # ac_fn_c_try_compile LINENO
2797 # --------------------------
2798 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2799 ac_fn_c_try_compile
()
2801 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2802 rm -f conftest.
$ac_objext conftest.beam
2803 if { { ac_try
="$ac_compile"
2805 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2806 *) ac_try_echo=$ac_try;;
2808 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2809 printf "%s\n" "$ac_try_echo"; } >&5
2810 (eval "$ac_compile") 2>conftest.err
2812 if test -s conftest.err; then
2813 grep -v '^ *+' conftest.err >conftest.er1
2814 cat conftest.er1 >&5
2815 mv -f conftest.er1 conftest.err
2817 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2818 test $ac_status = 0; } && {
2819 test -z "$ac_c_werror_flag" ||
2820 test ! -s conftest.err
2821 } && test -s conftest.$ac_objext
2825 printf "%s\n" "$as_me: failed program was:" >&5
2826 sed 's/^/| /' conftest.$ac_ext >&5
2830 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2831 as_fn_set_status $ac_retval
2833 } # ac_fn_c_try_compile
2835 # ac_fn_cxx_try_compile LINENO
2836 # ----------------------------
2837 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2838 ac_fn_cxx_try_compile ()
2840 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2841 rm -f conftest.$ac_objext conftest.beam
2842 if { { ac_try="$ac_compile"
2844 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2845 *) ac_try_echo
=$ac_try;;
2847 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2848 printf "%s\n" "$ac_try_echo"; } >&5
2849 (eval "$ac_compile") 2>conftest.err
2851 if test -s conftest.err
; then
2852 grep -v '^ *+' conftest.err
>conftest.er1
2853 cat conftest.er1
>&5
2854 mv -f conftest.er1 conftest.err
2856 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2857 test $ac_status = 0; } && {
2858 test -z "$ac_cxx_werror_flag" ||
2859 test ! -s conftest.err
2860 } && test -s conftest.
$ac_objext
2864 printf "%s\n" "$as_me: failed program was:" >&5
2865 sed 's/^/| /' conftest.
$ac_ext >&5
2869 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2870 as_fn_set_status
$ac_retval
2872 } # ac_fn_cxx_try_compile
2874 # ac_fn_c_try_link LINENO
2875 # -----------------------
2876 # Try to link conftest.$ac_ext, and return whether this succeeded.
2879 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2880 rm -f conftest.
$ac_objext conftest.beam conftest
$ac_exeext
2881 if { { ac_try
="$ac_link"
2883 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2884 *) ac_try_echo=$ac_try;;
2886 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2887 printf "%s\n" "$ac_try_echo"; } >&5
2888 (eval "$ac_link") 2>conftest.err
2890 if test -s conftest.err; then
2891 grep -v '^ *+' conftest.err >conftest.er1
2892 cat conftest.er1 >&5
2893 mv -f conftest.er1 conftest.err
2895 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2896 test $ac_status = 0; } && {
2897 test -z "$ac_c_werror_flag" ||
2898 test ! -s conftest.err
2899 } && test -s conftest$ac_exeext && {
2900 test "$cross_compiling" = yes ||
2901 test -x conftest$ac_exeext
2906 printf "%s\n" "$as_me: failed program was:" >&5
2907 sed 's/^/| /' conftest.$ac_ext >&5
2911 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2912 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2913 # interfere with the next link command; also delete a directory that is
2914 # left behind by Apple's compiler. We do this before executing the actions.
2915 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2916 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2917 as_fn_set_status $ac_retval
2919 } # ac_fn_c_try_link
2921 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2922 # -------------------------------------------------------
2923 # Tests whether HEADER exists and can be compiled using the include files in
2924 # INCLUDES, setting the cache variable VAR accordingly.
2925 ac_fn_c_check_header_compile ()
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. */
2939 if ac_fn_c_try_compile "$LINENO"
2945 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2949 printf "%s\n" "$ac_res" >&6; }
2950 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2952 } # ac_fn_c_check_header_compile
2954 # ac_fn_objc_try_compile LINENO
2955 # -----------------------------
2956 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2957 ac_fn_objc_try_compile ()
2959 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2960 rm -f conftest.$ac_objext conftest.beam
2961 if { { ac_try="$ac_compile"
2963 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2964 *) ac_try_echo
=$ac_try;;
2966 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2967 printf "%s\n" "$ac_try_echo"; } >&5
2968 (eval "$ac_compile") 2>conftest.err
2970 if test -s conftest.err
; then
2971 grep -v '^ *+' conftest.err
>conftest.er1
2972 cat conftest.er1
>&5
2973 mv -f conftest.er1 conftest.err
2975 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2976 test $ac_status = 0; } && {
2977 test -z "$ac_objc_werror_flag" ||
2978 test ! -s conftest.err
2979 } && test -s conftest.
$ac_objext
2983 printf "%s\n" "$as_me: failed program was:" >&5
2984 sed 's/^/| /' conftest.
$ac_ext >&5
2988 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2989 as_fn_set_status
$ac_retval
2991 } # ac_fn_objc_try_compile
2993 # ac_fn_c_check_func LINENO FUNC VAR
2994 # ----------------------------------
2995 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2996 ac_fn_c_check_func
()
2998 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3000 printf %s
"checking for $2... " >&6; }
3001 if eval test \
${$3+y}
3003 printf %s
"(cached) " >&6
3005 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3006 /* end confdefs.h. */
3007 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3008 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3009 #define $2 innocuous_$2
3011 /* System header to define __stub macros and hopefully few prototypes,
3012 which can conflict with char $2 (); below. */
3017 /* Override any GCC internal prototype to avoid an error.
3018 Use char because int might match the return type of a GCC
3019 builtin and then its argument prototype would still apply. */
3024 /* The GNU C library defines this for functions which it implements
3025 to always fail with ENOSYS. Some functions are actually named
3026 something starting with __ and the normal name is an alias. */
3027 #if defined __stub_$2 || defined __stub___$2
3039 if ac_fn_c_try_link
"$LINENO"
3045 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
3046 conftest
$ac_exeext conftest.
$ac_ext
3049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3050 printf "%s\n" "$ac_res" >&6; }
3051 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3053 } # ac_fn_c_check_func
3055 # ac_fn_c_try_cpp LINENO
3056 # ----------------------
3057 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3060 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3061 if { { ac_try
="$ac_cpp conftest.$ac_ext"
3063 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3064 *) ac_try_echo=$ac_try;;
3066 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3067 printf "%s\n" "$ac_try_echo"; } >&5
3068 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3070 if test -s conftest.err; then
3071 grep -v '^ *+' conftest.err >conftest.er1
3072 cat conftest.er1 >&5
3073 mv -f conftest.er1 conftest.err
3075 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3076 test $ac_status = 0; } > conftest.i && {
3077 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3078 test ! -s conftest.err
3083 printf "%s\n" "$as_me: failed program was:" >&5
3084 sed 's/^/| /' conftest.$ac_ext >&5
3088 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3089 as_fn_set_status $ac_retval
3093 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3094 # ----------------------------------------------------
3095 # Tries to find if the field MEMBER exists in type AGGR, after including
3096 # INCLUDES, setting cache variable VAR accordingly.
3097 ac_fn_c_check_member ()
3099 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3101 printf %s "checking for $2.$3... " >&6; }
3102 if eval test \${$4+y}
3104 printf %s "(cached) " >&6
3106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3107 /* end confdefs.h. */
3119 if ac_fn_c_try_compile "$LINENO"
3123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3124 /* end confdefs.h. */
3130 if (sizeof ac_aggr.$3)
3136 if ac_fn_c_try_compile "$LINENO"
3142 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3144 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3148 printf "%s\n" "$ac_res" >&6; }
3149 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3151 } # ac_fn_c_check_member
3153 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3154 # -------------------------------------------
3155 # Tests whether TYPE exists after having included INCLUDES, setting cache
3156 # variable VAR accordingly.
3157 ac_fn_c_check_type ()
3159 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3161 printf %s "checking for $2... " >&6; }
3162 if eval test \${$3+y}
3164 printf %s "(cached) " >&6
3167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3168 /* end confdefs.h. */
3179 if ac_fn_c_try_compile "$LINENO"
3181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3182 /* end confdefs.h. */
3193 if ac_fn_c_try_compile "$LINENO"
3199 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3201 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3205 printf "%s\n" "$ac_res" >&6; }
3206 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3208 } # ac_fn_c_check_type
3209 ac_configure_args_raw=
3214 ac_arg=`printf "%s\n" "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
3216 as_fn_append ac_configure_args_raw " '$ac_arg'"
3219 case $ac_configure_args_raw in
3223 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3224 ac_unsafe_a="$ac_unsafe_z#~
"
3225 ac_safe_unquote="s
/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g
"
3226 ac_configure_args_raw=` printf "%s
\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3229 cat >config.log <<_ACEOF
3230 This file contains any messages produced by compilers while
3231 running configure, to aid debugging if configure makes a mistake.
3233 It was created by Wine $as_me 9.11, which was
3234 generated by GNU Autoconf 2.71. Invocation command line was
3236 $ $0$ac_configure_args_raw
3246 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3247 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3248 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3249 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3250 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3252 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3253 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3255 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3256 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3257 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3258 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3259 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3260 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3261 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3269 case $as_dir in #(((
3272 *) as_dir=$as_dir/ ;;
3274 printf "%s
\n" "PATH
: $as_dir"
3290 # Keep a trace of the command line.
3291 # Strip out --no-create and --no-recursion so they do not pile up.
3292 # Strip out --silent because we don't want to record it for future runs.
3293 # Also quote any args containing shell meta-characters.
3294 # Make two passes to allow for proper duplicate-argument suppression.
3298 ac_must_keep_next=false
3304 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3305 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3306 | -silent | --silent | --silen | --sile | --sil)
3309 ac_arg=`printf "%s
\n" "$ac_arg" | sed "s
/'/'\\\\\\\\''/g
"` ;;
3312 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3314 as_fn_append ac_configure_args1 " '$ac_arg'"
3315 if test $ac_must_keep_next = true; then
3316 ac_must_keep_next=false # Got value, back to normal.
3319 *=* | --config-cache | -C | -disable-* | --disable-* \
3320 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3321 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3322 | -with-* | --with-* | -without-* | --without-* | --x)
3323 case "$ac_configure_args0 " in
3324 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3327 -* ) ac_must_keep_next=true ;;
3330 as_fn_append ac_configure_args " '$ac_arg'"
3335 { ac_configure_args0=; unset ac_configure_args0;}
3336 { ac_configure_args1=; unset ac_configure_args1;}
3338 # When interrupted or exit'd, cleanup temporary files, and complete
3339 # config.log. We remove comments because anyway the quotes in there
3340 # would cause problems or look ugly.
3341 # WARNING: Use '\'' to represent an apostrophe within the trap.
3342 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3343 trap 'exit_status=$?
3346 # Save into config.log some information that might help in debugging.
3350 printf "%s
\n" "## ---------------- ##
3351 ## Cache variables. ##
3352 ## ---------------- ##"
3354 # The following way of writing the cache mishandles newlines in values,
3356 for ac_var
in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3357 eval ac_val
=\$
$ac_var
3361 *_cv_
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3362 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3365 _ | IFS | as_nl
) ;; #(
3366 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
3367 *) { eval $ac_var=; unset $ac_var;} ;;
3372 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3373 *${as_nl}ac_space
=\
*)
3375 "s/'\''/'\''\\\\'\'''\''/g;
3376 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3379 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3386 printf "%s\n" "## ----------------- ##
3387 ## Output variables. ##
3388 ## ----------------- ##"
3390 for ac_var
in $ac_subst_vars
3392 eval ac_val
=\$
$ac_var
3394 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3396 printf "%s\n" "$ac_var='\''$ac_val'\''"
3400 if test -n "$ac_subst_files"; then
3401 printf "%s\n" "## ------------------- ##
3402 ## File substitutions. ##
3403 ## ------------------- ##"
3405 for ac_var in $ac_subst_files
3407 eval ac_val=\$$ac_var
3409 *\'\''*) ac_val
=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3411 printf "%s\n" "$ac_var='\''$ac_val'\''"
3416 if test -s confdefs.h
; then
3417 printf "%s\n" "## ----------- ##
3424 test "$ac_signal" != 0 &&
3425 printf "%s\n" "$as_me: caught signal $ac_signal"
3426 printf "%s\n" "$as_me: exit $exit_status"
3428 rm -f core
*.core core.conftest.
* &&
3429 rm -f -r conftest
* confdefs
* conf$$
* $ac_clean_files &&
3432 for ac_signal in 1 2 13 15; do
3433 trap 'ac_signal
='$ac_signal'; as_fn_exit
1' $ac_signal
3437 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3438 rm -f -r conftest* confdefs.h
3440 printf "%s\n" "/* confdefs.h */" > confdefs.h
3442 # Predefined preprocessor variables.
3444 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3446 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3448 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3450 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3452 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3454 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3457 # Let the site file select an alternate cache file if it wants to.
3458 # Prefer an explicitly selected file to automatically selected ones.
3459 if test -n "$CONFIG_SITE"; then
3460 ac_site_files="$CONFIG_SITE"
3461 elif test "x$prefix" != xNONE; then
3462 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3464 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3467 for ac_site_file in $ac_site_files
3469 case $ac_site_file in #(
3473 ac_site_file=./$ac_site_file ;;
3475 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3477 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3478 sed 's
/^
/|
/' "$ac_site_file" >&5
3480 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3481 printf "%s
\n" "$as_me: error
: in \
`$ac_pwd':" >&2;}
3482 as_fn_error $? "failed to load site script $ac_site_file
3483 See \`config.log
' for more details" "$LINENO" 5; }
3487 if test -r "$cache_file"; then
3488 # Some versions of bash will fail to source /dev/null (special files
3489 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3490 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3492 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3494 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3495 *) . "./$cache_file";;
3499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3500 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3504 # Test code for whether the C compiler supports C89 (global declarations)
3505 ac_c_conftest_c89_globals='
3506 /* Does the compiler advertise C89 conformance?
3507 Do not
test the value of __STDC__
, because some compilers
set it to
0
3508 while being otherwise adequately conformant.
*/
3509 #if !defined __STDC__
3510 # error "Compiler does not advertise C89 conformance"
3516 /* Most of the following tests are stolen from RCS
5.7 src
/conf.sh.
*/
3517 struct buf
{ int x
; };
3518 struct buf
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
3519 static char
*e
(p
, i
)
3525 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
3530 s
= g
(p
, va_arg
(v
,int
));
3535 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
3536 function prototypes and stuff
, but not \xHH hex character constants.
3537 These
do not provoke an error unfortunately
, instead are silently treated
3538 as an
"x". The following induces an error
, until -std is added to get
3539 proper ANSI mode. Curiously
\x00 != x always comes out true
, for an
3540 array size
at least. It is necessary to
write \x00 == 0 to get something
3541 that is true only with
-std.
*/
3542 int osf4_cc_array
['\''\x00'\'' == 0 ?
1 : -1];
3544 /* IBM C
6 for AIX is almost-ANSI by default
, but it replaces macro parameters
3545 inside
strings and character constants.
*/
3546 #define FOO(x) '\''x'\''
3547 int xlc6_cc_array
[FOO
(a
) == '\''x
'\'' ?
1 : -1];
3549 int
test (int i
, double x
);
3550 struct s1
{int
(*f
) (int a
);};
3551 struct s2
{int
(*f
) (double a
);};
3552 int pairnames
(int
, char
**, int
*(*)(struct buf
*, struct stat
*, int
),
3555 # Test code for whether the C compiler supports C89 (body of main).
3556 ac_c_conftest_c89_main='
3557 ok |
= (argc
== 0 || f
(e
, argv
, 0) != argv
[0] || f
(e
, argv
, 1) != argv
[1]);
3560 # Test code for whether the C compiler supports C99 (global declarations)
3561 ac_c_conftest_c99_globals='
3562 // Does the compiler advertise C99 conformance?
3563 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3564 # error "Compiler does not advertise C99 conformance"
3567 #include <stdbool.h>
3568 extern int puts
(const char
*);
3569 extern int
printf (const char
*, ...
);
3570 extern int dprintf
(int
, const char
*, ...
);
3571 extern void
*malloc
(size_t
);
3573 // Check varargs macros. These examples are taken from C99
6.10.3.5.
3574 // dprintf is used instead of fprintf to avoid needing to
declare
3576 #define debug(...) dprintf (2, __VA_ARGS__)
3577 #define showlist(...) puts (#__VA_ARGS__)
3578 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3580 test_varargs_macros
(void
)
3585 debug
("X = %d\n", x
);
3586 showlist
(The first
, second
, and third items.
);
3587 report
(x
>y
, "x is %d but y is %d", x
, y
);
3590 // Check long long types.
3591 #define BIG64 18446744073709551615ull
3592 #define BIG32 4294967295ul
3593 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3595 #error "your preprocessor is broken"
3599 #error "your preprocessor is broken"
3601 static long long int bignum
= -9223372036854775807LL;
3602 static unsigned long long int ubignum
= BIG64
;
3604 struct incomplete_array
3612 const wchar_t
*name
;
3616 typedef const char
*ccp
;
3619 test_restrict
(ccp restrict text
)
3621 // See
if C
++-style comments work.
3622 // Iterate through items via the restricted pointer.
3623 // Also check
for declarations
in for loops.
3624 for (unsigned int i
= 0; *(text
+i
) != '\''\
0'\''; ++i
)
3629 // Check varargs and va_copy.
3631 test_varargs
(const char
*format
, ...
)
3634 va_start
(args
, format
);
3636 va_copy
(args_copy
, args
);
3638 const char
*str
= "";
3646 case '\''s
'\'': // string
3647 str
= va_arg
(args_copy
, const char
*);
3649 case '\''d
'\'': // int
3650 number
= va_arg
(args_copy
, int
);
3652 case '\''f
'\'': // float
3653 fnumber
= va_arg
(args_copy
, double
);
3662 return *str
&& number
&& fnumber
;
3666 # Test code for whether the C compiler supports C99 (body of main).
3667 ac_c_conftest_c99_main='
3669 _Bool success
= false
;
3670 success |
= (argc
!= 0);
3673 if (test_restrict
("String literal") == 0)
3675 char
*restrict newvar
= "Another string";
3678 success
&= test_varargs
("s, d'\'' f .", "string", 65, 34.234);
3679 test_varargs_macros
();
3681 // Check flexible array members.
3682 struct incomplete_array
*ia
=
3683 malloc
(sizeof
(struct incomplete_array
) + (sizeof
(double
) * 10));
3685 for (int i
= 0; i
< ia-
>datasize
; ++i
)
3686 ia-
>data
[i
] = i
* 1.234;
3688 // Check named initializers.
3689 struct named_init ni
= {
3691 .name
= L
"Test wide string",
3692 .average
= 543.34343,
3697 int dynamic_array
[ni.number
];
3698 dynamic_array
[0] = argv
[0][0];
3699 dynamic_array
[ni.number
- 1] = 543;
3701 // work around unused variable warnings
3702 ok |
= (!success || bignum
== 0LL || ubignum
== 0uLL || newvar
[0] == '\''x
'\''
3703 || dynamic_array
[ni.number
- 1] != 543);
3706 # Test code for whether the C compiler supports C11 (global declarations)
3707 ac_c_conftest_c11_globals='
3708 // Does the compiler advertise C11 conformance?
3709 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3710 # error "Compiler does not advertise C11 conformance"
3714 char _Alignas
(double
) aligned_as_double
;
3715 char _Alignas
(0) no_special_alignment
;
3716 extern char aligned_as_int
;
3717 char _Alignas
(0) _Alignas
(int
) aligned_as_int
;
3722 int_alignment
= _Alignof
(int
),
3723 int_array_alignment
= _Alignof
(int
[100]),
3724 char_alignment
= _Alignof
(char
)
3726 _Static_assert
(0 < -_Alignof (int
), "_Alignof is signed");
3729 int _Noreturn does_not_return
(void
) { for (;;) continue; }
3731 // Check _Static_assert.
3732 struct test_static_assert
3735 _Static_assert
(sizeof
(int
) <= sizeof
(long int
),
3736 "_Static_assert does not work in struct");
3740 // Check UTF-8 literals.
3741 #define u8 syntax error!
3742 char const utf8_literal
[] = u8
"happens to be ASCII" "another string";
3744 // Check duplicate typedefs.
3745 typedef long
*long_ptr
;
3746 typedef long int
*long_ptr
;
3747 typedef long_ptr long_ptr
;
3749 // Anonymous structures and unions
-- taken from C11
6.7.2.1 Example
1.
3753 struct
{ int i
; int j
; };
3754 struct
{ int k
; long int l
; } w
;
3760 # Test code for whether the C compiler supports C11 (body of main).
3761 ac_c_conftest_c11_main='
3762 _Static_assert
((offsetof
(struct anonymous
, i
)
3763 == offsetof
(struct anonymous
, w.k
)),
3764 "Anonymous union alignment botch");
3770 # Test code for whether the C compiler supports C11 (complete).
3771 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3772 ${ac_c_conftest_c99_globals}
3773 ${ac_c_conftest_c11_globals}
3776 main (int argc, char **argv)
3779 ${ac_c_conftest_c89_main}
3780 ${ac_c_conftest_c99_main}
3781 ${ac_c_conftest_c11_main}
3786 # Test code for whether the C compiler supports C99 (complete).
3787 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3788 ${ac_c_conftest_c99_globals}
3791 main (int argc, char **argv)
3794 ${ac_c_conftest_c89_main}
3795 ${ac_c_conftest_c99_main}
3800 # Test code for whether the C compiler supports C89 (complete).
3801 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3804 main (int argc, char **argv)
3807 ${ac_c_conftest_c89_main}
3812 # Test code for whether the C++ compiler supports C++98 (global declarations)
3813 ac_cxx_conftest_cxx98_globals='
3814 // Does the compiler advertise C
++98 conformance?
3815 #if !defined __cplusplus || __cplusplus < 199711L
3816 # error "Compiler does not advertise C++98 conformance"
3819 // These inclusions are to reject old compilers that
3820 // lack the unsuffixed header files.
3822 #include <exception>
3824 // <cassert
> and
<cstring
> are
*not
* freestanding headers
in C
++98.
3825 extern void assert
(int
);
3827 extern int strcmp
(const char
*, const char
*);
3830 // Namespaces
, exceptions
, and templates were all added after
"C++ 2.0".
3831 using std
::exception
;
3836 void test_exception_syntax
()
3840 } catch
(const char
*s
) {
3841 // Extra parentheses suppress a warning when building autoconf itself
,
3842 // due to lint rules shared with
more typical C programs.
3843 assert
(!(strcmp
) (s
, "test"));
3847 template
<typename T
> struct test_template
3850 explicit test_template
(T t
) : val
(t
) {}
3851 template
<typename U
> T add
(U u
) { return static_cast
<T
>(u
) + val
; }
3854 } // anonymous namespace
3857 # Test code for whether the C++ compiler supports C++98 (body of main)
3858 ac_cxx_conftest_cxx98_main='
3862 test_exception_syntax
();
3863 test_template
<double
> tt
(2.0);
3864 assert
(tt.add
(4) == 6.0);
3865 assert
(true
&& !false
);
3869 # Test code for whether the C++ compiler supports C++11 (global declarations)
3870 ac_cxx_conftest_cxx11_globals='
3871 // Does the compiler advertise C
++ 2011 conformance?
3872 #if !defined __cplusplus || __cplusplus < 201103L
3873 # error "Compiler does not advertise C++11 conformance"
3878 constexpr int get_val
() { return 20; }
3889 delegate
(int n
) : n
(n
) {}
3890 delegate
(): delegate
(2354) {}
3892 virtual int getval
() { return this-
>n
; };
3897 class overridden
: public delegate
3900 overridden
(int n
): delegate
(n
) {}
3901 virtual int getval
() override final
{ return this-
>n
* 2; }
3907 nocopy
(int i
): i
(i
) {}
3909 nocopy
(const nocopy
&) = delete
;
3910 nocopy
& operator
=(const nocopy
&) = delete
;
3915 // for testing lambda expressions
3916 template
<typename Ret
, typename Fn
> Ret
eval(Fn f
, Ret v
)
3921 // for testing variadic templates and trailing
return types
3922 template
<typename V
> auto
sum(V first
) -> V
3926 template
<typename V
, typename... Args
> auto
sum(V first
, Args... rest
) -> V
3928 return first
+ sum(rest...
);
3933 # Test code for whether the C++ compiler supports C++11 (body of main)
3934 ac_cxx_conftest_cxx11_main='
3936 // Test auto and decltype
3938 auto a2
= 48573953.4;
3939 auto a3
= "String literal";
3942 for (auto i
= a3
; *i
; ++i
) { total
+= *i
; }
3944 decltype
(a2
) a4
= 34895.034;
3948 short sa
[cxx11test
::get_val
()] = { 0 };
3951 // Test initializer lists
3952 cxx11test
::testinit il
= { 4323, 435234.23544 };
3955 // Test range-based
for
3956 int array
[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3957 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3958 for (auto
&x
: array
) { x
+= 23; }
3961 // Test lambda expressions
3962 using cxx11test
::eval;
3963 assert
(eval ([](int x
) { return x
*2; }, 21) == 42);
3965 assert
(eval ([&](double x
) { return d
+= x
; }, 3.0) == 5.0);
3967 assert
(eval ([=](double x
) mutable
{ return d
+= x
; }, 4.0) == 9.0);
3971 // Test use of variadic templates
3972 using cxx11test
::sum;
3975 auto c
= sum(1.0, 2.0, 3.0);
3978 // Test constructor delegation
3979 cxx11test
::delegate d1
;
3980 cxx11test
::delegate d2
();
3981 cxx11test
::delegate d3
(45);
3984 // Test override and final
3985 cxx11test
::overridden o1
(55464);
3992 // Test template brackets
3993 test_template
<::test_template
<int
>> v
(test_template
<int
>(12));
3997 char const
*utf8
= u8
"UTF-8 string \u2500";
3998 char16_t const
*utf16
= u
"UTF-8 string \u2500";
3999 char32_t const
*utf32
= U
"UTF-32 string \u2500";
4003 # Test code for whether the C compiler supports C++11 (complete).
4004 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
4005 ${ac_cxx_conftest_cxx11_globals}
4008 main (int argc, char **argv)
4011 ${ac_cxx_conftest_cxx98_main}
4012 ${ac_cxx_conftest_cxx11_main}
4017 # Test code for whether the C compiler supports C++98 (complete).
4018 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
4020 main (int argc, char **argv)
4023 ${ac_cxx_conftest_cxx98_main}
4028 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
4029 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
4030 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
4031 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
4032 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
4033 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
4034 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
4035 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
4036 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
4038 # Auxiliary files required by this configure script.
4039 ac_aux_files="config.guess config.sub"
4041 # Locations in which to look for auxiliary files.
4042 ac_aux_dir_candidates="${srcdir}/tools"
4044 # Search for a directory containing all of the required auxiliary files,
4045 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
4046 # If we don't
find one directory that contains all the files we need
,
4047 # we report the set of missing files from the *first* directory in
4048 # $ac_aux_dir_candidates and give up.
4049 ac_missing_aux_files
=""
4050 ac_first_candidate
=:
4051 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
4052 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4054 for as_dir
in $ac_aux_dir_candidates
4057 case $as_dir in #(((
4060 *) as_dir
=$as_dir/ ;;
4064 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
4065 ac_aux_dir_found
=yes
4067 for ac_aux
in $ac_aux_files
4069 # As a special case, if "install-sh" is required, that requirement
4070 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
4071 # and $ac_install_sh is set appropriately for whichever one is found.
4072 if test x
"$ac_aux" = x
"install-sh"
4074 if test -f "${as_dir}install-sh"; then
4075 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
4076 ac_install_sh
="${as_dir}install-sh -c"
4077 elif test -f "${as_dir}install.sh"; then
4078 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
4079 ac_install_sh
="${as_dir}install.sh -c"
4080 elif test -f "${as_dir}shtool"; then
4081 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
4082 ac_install_sh
="${as_dir}shtool install -c"
4085 if $ac_first_candidate; then
4086 ac_missing_aux_files
="${ac_missing_aux_files} install-sh"
4092 if test -f "${as_dir}${ac_aux}"; then
4093 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
4096 if $ac_first_candidate; then
4097 ac_missing_aux_files
="${ac_missing_aux_files} ${ac_aux}"
4104 if test "$ac_aux_dir_found" = yes; then
4105 ac_aux_dir
="$as_dir"
4108 ac_first_candidate
=false
4117 as_fn_error $?
"cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4121 # These three variables are undocumented and unsupported,
4122 # and are intended to be withdrawn in a future Autoconf release.
4123 # They can cause serious problems if a builder's source tree is in a directory
4124 # whose full name contains unusual characters.
4125 if test -f "${ac_aux_dir}config.guess"; then
4126 ac_config_guess
="$SHELL ${ac_aux_dir}config.guess"
4128 if test -f "${ac_aux_dir}config.sub"; then
4129 ac_config_sub
="$SHELL ${ac_aux_dir}config.sub"
4131 if test -f "$ac_aux_dir/configure"; then
4132 ac_configure
="$SHELL ${ac_aux_dir}configure"
4135 # Check that the precious variables saved in the cache have kept the same
4137 ac_cache_corrupted
=false
4138 for ac_var
in $ac_precious_vars; do
4139 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
4140 eval ac_new_set
=\
$ac_env_${ac_var}_set
4141 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
4142 eval ac_new_val
=\
$ac_env_${ac_var}_value
4143 case $ac_old_set,$ac_new_set in
4145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4146 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4147 ac_cache_corrupted
=: ;;
4149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4150 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4151 ac_cache_corrupted
=: ;;
4154 if test "x$ac_old_val" != "x$ac_new_val"; then
4155 # differences in whitespace do not lead to failure.
4156 ac_old_val_w
=`echo x $ac_old_val`
4157 ac_new_val_w
=`echo x $ac_new_val`
4158 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4160 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4161 ac_cache_corrupted
=:
4163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4164 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4165 eval $ac_var=\
$ac_old_val
4167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4168 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4170 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4173 # Pass precious variables to config.status.
4174 if test "$ac_new_set" = set; then
4176 *\'*) ac_arg
=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4177 *) ac_arg
=$ac_var=$ac_new_val ;;
4179 case " $ac_configure_args " in
4180 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4181 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
4185 if $ac_cache_corrupted; then
4186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4187 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4189 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4190 as_fn_error $?
"run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4191 and start over" "$LINENO" 5
4193 ## -------------------- ##
4194 ## Main body of script. ##
4195 ## -------------------- ##
4198 ac_cpp
='$CPP $CPPFLAGS'
4199 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4200 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4201 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4205 ac_config_headers
="$ac_config_headers include/config.h"
4209 libwine_version
="1.0"
4212 # Check whether --enable-archs was given.
4213 if test ${enable_archs+y}
4215 enableval
=$enable_archs;
4218 # Check whether --enable-win16 was given.
4219 if test ${enable_win16+y}
4221 enableval
=$enable_win16;
4224 # Check whether --enable-win64 was given.
4225 if test ${enable_win64+y}
4227 enableval
=$enable_win64;
4230 # Check whether --enable-tests was given.
4231 if test ${enable_tests+y}
4233 enableval
=$enable_tests;
4236 # Check whether --enable-build-id was given.
4237 if test ${enable_build_id+y}
4239 enableval
=$enable_build_id;
4242 # Check whether --enable-maintainer-mode was given.
4243 if test ${enable_maintainer_mode+y}
4245 enableval
=$enable_maintainer_mode;
4248 # Check whether --enable-silent-rules was given.
4249 if test ${enable_silent_rules+y}
4251 enableval
=$enable_silent_rules;
4254 # Check whether --enable-werror was given.
4255 if test ${enable_werror+y}
4257 enableval
=$enable_werror;
4262 # Check whether --with-alsa was given.
4263 if test ${with_alsa+y}
4269 # Check whether --with-capi was given.
4270 if test ${with_capi+y}
4276 # Check whether --with-coreaudio was given.
4277 if test ${with_coreaudio+y}
4279 withval
=$with_coreaudio;
4283 # Check whether --with-cups was given.
4284 if test ${with_cups+y}
4290 # Check whether --with-dbus was given.
4291 if test ${with_dbus+y}
4297 # Check whether --with-fontconfig was given.
4298 if test ${with_fontconfig+y}
4300 withval
=$with_fontconfig;
4304 # Check whether --with-freetype was given.
4305 if test ${with_freetype+y}
4307 withval
=$with_freetype;
4311 # Check whether --with-gettext was given.
4312 if test ${with_gettext+y}
4314 withval
=$with_gettext;
4318 # Check whether --with-gettextpo was given.
4319 if test ${with_gettextpo+y}
4321 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
4325 # Check whether --with-gphoto was given.
4326 if test ${with_gphoto+y}
4328 withval
=$with_gphoto;
4332 # Check whether --with-gnutls was given.
4333 if test ${with_gnutls+y}
4335 withval
=$with_gnutls;
4339 # Check whether --with-gssapi was given.
4340 if test ${with_gssapi+y}
4342 withval
=$with_gssapi;
4346 # Check whether --with-gstreamer was given.
4347 if test ${with_gstreamer+y}
4349 withval
=$with_gstreamer;
4353 # Check whether --with-inotify was given.
4354 if test ${with_inotify+y}
4356 withval
=$with_inotify;
4360 # Check whether --with-krb5 was given.
4361 if test ${with_krb5+y}
4367 # Check whether --with-mingw was given.
4368 if test ${with_mingw+y}
4370 withval
=$with_mingw;
4374 # Check whether --with-netapi was given.
4375 if test ${with_netapi+y}
4377 withval
=$with_netapi;
4381 # Check whether --with-odbc was given.
4382 if test ${with_odbc+y}
4388 # Check whether --with-opencl was given.
4389 if test ${with_opencl+y}
4391 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
4395 # Check whether --with-opengl was given.
4396 if test ${with_opengl+y}
4398 withval
=$with_opengl;
4402 # Check whether --with-osmesa was given.
4403 if test ${with_osmesa+y}
4405 withval
=$with_osmesa;
4409 # Check whether --with-oss was given.
4410 if test ${with_oss+y}
4416 # Check whether --with-pcap was given.
4417 if test ${with_pcap+y}
4419 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
4423 # Check whether --with-pcsclite was given.
4424 if test ${with_pcsclite+y}
4426 withval
=$with_pcsclite;
4430 # Check whether --with-pthread was given.
4431 if test ${with_pthread+y}
4433 withval
=$with_pthread;
4437 # Check whether --with-pulse was given.
4438 if test ${with_pulse+y}
4440 withval
=$with_pulse;
4444 # Check whether --with-sane was given.
4445 if test ${with_sane+y}
4451 # Check whether --with-sdl was given.
4452 if test ${with_sdl+y}
4458 # Check whether --with-udev was given.
4459 if test ${with_udev+y}
4465 # Check whether --with-unwind was given.
4466 if test ${with_unwind+y}
4468 withval
=$with_unwind;
4472 # Check whether --with-usb was given.
4473 if test ${with_usb+y}
4479 # Check whether --with-v4l2 was given.
4480 if test ${with_v4l2+y}
4486 # Check whether --with-vulkan was given.
4487 if test ${with_vulkan+y}
4489 withval
=$with_vulkan;
4493 # Check whether --with-wayland was given.
4494 if test ${with_wayland+y}
4496 withval
=$with_wayland;
4500 # Check whether --with-xcomposite was given.
4501 if test ${with_xcomposite+y}
4503 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
4507 # Check whether --with-xcursor was given.
4508 if test ${with_xcursor+y}
4510 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
4514 # Check whether --with-xfixes was given.
4515 if test ${with_xfixes+y}
4517 withval
=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h
=no
; fi
4521 # Check whether --with-xinerama was given.
4522 if test ${with_xinerama+y}
4524 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
4528 # Check whether --with-xinput was given.
4529 if test ${with_xinput+y}
4531 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
4535 # Check whether --with-xinput2 was given.
4536 if test ${with_xinput2+y}
4538 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
4542 # Check whether --with-xrandr was given.
4543 if test ${with_xrandr+y}
4545 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
4549 # Check whether --with-xrender was given.
4550 if test ${with_xrender+y}
4552 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
4556 # Check whether --with-xshape was given.
4557 if test ${with_xshape+y}
4559 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
4563 # Check whether --with-xshm was given.
4564 if test ${with_xshm+y}
4566 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
4570 # Check whether --with-xxf86vm was given.
4571 if test ${with_xxf86vm+y}
4573 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
4578 # Check whether --with-system-dllpath was given.
4579 if test ${with_system_dllpath+y}
4581 withval
=$with_system_dllpath; system_dllpath
=$withval
4586 # Check whether --with-wine-tools was given.
4587 if test ${with_wine_tools+y}
4589 withval
=$with_wine_tools;
4593 # Check whether --with-wine64 was given.
4594 if test ${with_wine64+y}
4596 withval
=$with_wine64;
4603 # Make sure we can run config.sub.
4604 $SHELL "${ac_aux_dir}config.sub" sun4
>/dev
/null
2>&1 ||
4605 as_fn_error $?
"cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4608 printf %s
"checking build system type... " >&6; }
4609 if test ${ac_cv_build+y}
4611 printf %s
"(cached) " >&6
4613 ac_build_alias
=$build_alias
4614 test "x$ac_build_alias" = x
&&
4615 ac_build_alias
=`$SHELL "${ac_aux_dir}config.guess"`
4616 test "x$ac_build_alias" = x
&&
4617 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
4618 ac_cv_build
=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4619 as_fn_error $?
"$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4623 printf "%s\n" "$ac_cv_build" >&6; }
4624 case $ac_cv_build in
4626 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
4629 ac_save_IFS
=$IFS; IFS
='-'
4635 # Remember, the first character of IFS is used to create $*,
4636 # except with old shells:
4639 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
4642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4643 printf %s
"checking host system type... " >&6; }
4644 if test ${ac_cv_host+y}
4646 printf %s
"(cached) " >&6
4648 if test "x$host_alias" = x
; then
4649 ac_cv_host
=$ac_cv_build
4651 ac_cv_host
=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4652 as_fn_error $?
"$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4657 printf "%s\n" "$ac_cv_host" >&6; }
4660 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
4663 ac_save_IFS
=$IFS; IFS
='-'
4669 # Remember, the first character of IFS is used to create $*,
4670 # except with old shells:
4673 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4677 dlldir
=\
${libdir}/wine
4679 fontdir
=\
${datadir}/wine
/fonts
4681 nlsdir
=\
${datadir}/wine
/nls
4686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4687 printf %s
"checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4689 ac_make
=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4690 if eval test \
${ac_cv_prog_make_${ac_make}_set+y}
4692 printf %s
"(cached) " >&6
4694 cat >conftest.
make <<\_ACEOF
4697 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4699 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4700 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4702 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4704 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4708 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4710 printf "%s\n" "yes" >&6; }
4713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4714 printf "%s\n" "no" >&6; }
4715 SET_MAKE
="MAKE=${MAKE-make}"
4728 ac_cpp
='$CPP $CPPFLAGS'
4729 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4730 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4731 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4732 if test -n "$ac_tool_prefix"; then
4733 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4734 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4736 printf %s
"checking for $ac_word... " >&6; }
4737 if test ${ac_cv_prog_CC+y}
4739 printf %s
"(cached) " >&6
4741 if test -n "$CC"; then
4742 ac_cv_prog_CC
="$CC" # Let the user override the test.
4744 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4748 case $as_dir in #(((
4751 *) as_dir
=$as_dir/ ;;
4753 for ac_exec_ext
in '' $ac_executable_extensions; do
4754 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4755 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4756 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4766 if test -n "$CC"; then
4767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4768 printf "%s\n" "$CC" >&6; }
4770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4771 printf "%s\n" "no" >&6; }
4776 if test -z "$ac_cv_prog_CC"; then
4778 # Extract the first word of "gcc", so it can be a program name with args.
4779 set dummy gcc
; ac_word
=$2
4780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4781 printf %s
"checking for $ac_word... " >&6; }
4782 if test ${ac_cv_prog_ac_ct_CC+y}
4784 printf %s
"(cached) " >&6
4786 if test -n "$ac_ct_CC"; then
4787 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4789 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4793 case $as_dir in #(((
4796 *) as_dir
=$as_dir/ ;;
4798 for ac_exec_ext
in '' $ac_executable_extensions; do
4799 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4800 ac_cv_prog_ac_ct_CC
="gcc"
4801 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4810 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4811 if test -n "$ac_ct_CC"; then
4812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4813 printf "%s\n" "$ac_ct_CC" >&6; }
4815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4816 printf "%s\n" "no" >&6; }
4819 if test "x$ac_ct_CC" = x
; then
4822 case $cross_compiling:$ac_tool_warned in
4824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4825 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4826 ac_tool_warned
=yes ;;
4834 if test -z "$CC"; then
4835 if test -n "$ac_tool_prefix"; then
4836 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4837 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4839 printf %s
"checking for $ac_word... " >&6; }
4840 if test ${ac_cv_prog_CC+y}
4842 printf %s
"(cached) " >&6
4844 if test -n "$CC"; then
4845 ac_cv_prog_CC
="$CC" # Let the user override the test.
4847 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4851 case $as_dir in #(((
4854 *) as_dir
=$as_dir/ ;;
4856 for ac_exec_ext
in '' $ac_executable_extensions; do
4857 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4858 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4859 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4869 if test -n "$CC"; then
4870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4871 printf "%s\n" "$CC" >&6; }
4873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4874 printf "%s\n" "no" >&6; }
4880 if test -z "$CC"; then
4881 # Extract the first word of "cc", so it can be a program name with args.
4882 set dummy cc
; ac_word
=$2
4883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4884 printf %s
"checking for $ac_word... " >&6; }
4885 if test ${ac_cv_prog_CC+y}
4887 printf %s
"(cached) " >&6
4889 if test -n "$CC"; then
4890 ac_cv_prog_CC
="$CC" # Let the user override the test.
4893 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4897 case $as_dir in #(((
4900 *) as_dir
=$as_dir/ ;;
4902 for ac_exec_ext
in '' $ac_executable_extensions; do
4903 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4904 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4905 ac_prog_rejected
=yes
4909 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4916 if test $ac_prog_rejected = yes; then
4917 # We found a bogon in the path, so make sure we never use it.
4918 set dummy
$ac_cv_prog_CC
4920 if test $# != 0; then
4921 # We chose a different compiler from the bogus one.
4922 # However, it has the same basename, so the bogon will be chosen
4923 # first if we set CC to just the basename; use the full file name.
4925 ac_cv_prog_CC
="$as_dir$ac_word${1+' '}$@"
4931 if test -n "$CC"; then
4932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4933 printf "%s\n" "$CC" >&6; }
4935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4936 printf "%s\n" "no" >&6; }
4941 if test -z "$CC"; then
4942 if test -n "$ac_tool_prefix"; then
4943 for ac_prog
in cl.exe
4945 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4946 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4948 printf %s
"checking for $ac_word... " >&6; }
4949 if test ${ac_cv_prog_CC+y}
4951 printf %s
"(cached) " >&6
4953 if test -n "$CC"; then
4954 ac_cv_prog_CC
="$CC" # Let the user override the test.
4956 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4960 case $as_dir in #(((
4963 *) as_dir
=$as_dir/ ;;
4965 for ac_exec_ext
in '' $ac_executable_extensions; do
4966 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4967 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4968 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4978 if test -n "$CC"; then
4979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4980 printf "%s\n" "$CC" >&6; }
4982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4983 printf "%s\n" "no" >&6; }
4987 test -n "$CC" && break
4990 if test -z "$CC"; then
4992 for ac_prog
in cl.exe
4994 # Extract the first word of "$ac_prog", so it can be a program name with args.
4995 set dummy
$ac_prog; ac_word
=$2
4996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4997 printf %s
"checking for $ac_word... " >&6; }
4998 if test ${ac_cv_prog_ac_ct_CC+y}
5000 printf %s
"(cached) " >&6
5002 if test -n "$ac_ct_CC"; then
5003 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5005 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5009 case $as_dir in #(((
5012 *) as_dir
=$as_dir/ ;;
5014 for ac_exec_ext
in '' $ac_executable_extensions; do
5015 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
5016 ac_cv_prog_ac_ct_CC
="$ac_prog"
5017 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5026 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5027 if test -n "$ac_ct_CC"; then
5028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5029 printf "%s\n" "$ac_ct_CC" >&6; }
5031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5032 printf "%s\n" "no" >&6; }
5036 test -n "$ac_ct_CC" && break
5039 if test "x$ac_ct_CC" = x
; then
5042 case $cross_compiling:$ac_tool_warned in
5044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5045 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5046 ac_tool_warned
=yes ;;
5053 if test -z "$CC"; then
5054 if test -n "$ac_tool_prefix"; then
5055 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
5056 set dummy
${ac_tool_prefix}clang
; ac_word
=$2
5057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5058 printf %s
"checking for $ac_word... " >&6; }
5059 if test ${ac_cv_prog_CC+y}
5061 printf %s
"(cached) " >&6
5063 if test -n "$CC"; then
5064 ac_cv_prog_CC
="$CC" # Let the user override the test.
5066 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5070 case $as_dir in #(((
5073 *) as_dir
=$as_dir/ ;;
5075 for ac_exec_ext
in '' $ac_executable_extensions; do
5076 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
5077 ac_cv_prog_CC
="${ac_tool_prefix}clang"
5078 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5088 if test -n "$CC"; then
5089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5090 printf "%s\n" "$CC" >&6; }
5092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5093 printf "%s\n" "no" >&6; }
5098 if test -z "$ac_cv_prog_CC"; then
5100 # Extract the first word of "clang", so it can be a program name with args.
5101 set dummy clang
; ac_word
=$2
5102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5103 printf %s
"checking for $ac_word... " >&6; }
5104 if test ${ac_cv_prog_ac_ct_CC+y}
5106 printf %s
"(cached) " >&6
5108 if test -n "$ac_ct_CC"; then
5109 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5111 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5115 case $as_dir in #(((
5118 *) as_dir
=$as_dir/ ;;
5120 for ac_exec_ext
in '' $ac_executable_extensions; do
5121 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
5122 ac_cv_prog_ac_ct_CC
="clang"
5123 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5132 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5133 if test -n "$ac_ct_CC"; then
5134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5135 printf "%s\n" "$ac_ct_CC" >&6; }
5137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5138 printf "%s\n" "no" >&6; }
5141 if test "x$ac_ct_CC" = x
; then
5144 case $cross_compiling:$ac_tool_warned in
5146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5147 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5148 ac_tool_warned
=yes ;;
5159 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5160 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5161 as_fn_error $?
"no acceptable C compiler found in \$PATH
5162 See \`config.log' for more details" "$LINENO" 5; }
5164 # Provide some information about the compiler.
5165 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5168 for ac_option
in --version -v -V -qversion -version; do
5169 { { ac_try
="$ac_compiler $ac_option >&5"
5171 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5172 *) ac_try_echo=$ac_try;;
5174 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5175 printf "%s\n" "$ac_try_echo"; } >&5
5176 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5178 if test -s conftest.err; then
5180 ... rest of stderr output deleted ...
5181 10q' conftest.err >conftest.er1
5182 cat conftest.er1 >&5
5184 rm -f conftest.er1 conftest.err
5185 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5186 test $ac_status = 0; }
5189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5190 /* end confdefs.h. */
5200 ac_clean_files_save=$ac_clean_files
5201 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5202 # Try to create an executable without -o first, disregard a.out.
5203 # It will help us diagnose broken compilers, and finding out an intuition
5205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5206 printf %s "checking whether the C compiler works... " >&6; }
5207 ac_link_default=`printf "%s\n" "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
5209 # The possible output files:
5210 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5213 for ac_file in $ac_files
5216 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5217 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5222 if { { ac_try="$ac_link_default"
5224 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5225 *) ac_try_echo
=$ac_try;;
5227 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5228 printf "%s\n" "$ac_try_echo"; } >&5
5229 (eval "$ac_link_default") 2>&5
5231 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5232 test $ac_status = 0; }
5234 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5235 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5236 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5237 # so that the user can short-circuit this test for compilers unknown to
5239 for ac_file
in $ac_files ''
5241 test -f "$ac_file" ||
continue
5243 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
5246 # We found the default executable, but exeext='' is most
5250 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no
;
5252 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
5254 # We set ac_cv_exeext here because the later test for it is not
5255 # safe: cross compilers may not add the suffix if given an `-o'
5256 # argument, so we may need to know it at that point already.
5257 # Even if this section looks crufty: it has the advantage of
5264 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
5269 if test -z "$ac_file"
5271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5272 printf "%s\n" "no" >&6; }
5273 printf "%s\n" "$as_me: failed program was:" >&5
5274 sed 's/^/| /' conftest.
$ac_ext >&5
5276 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5277 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5278 as_fn_error
77 "C compiler cannot create executables
5279 See \`config.log' for more details" "$LINENO" 5; }
5281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5282 printf "%s\n" "yes" >&6; }
5284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5285 printf %s
"checking for C compiler default output file name... " >&6; }
5286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5287 printf "%s\n" "$ac_file" >&6; }
5288 ac_exeext
=$ac_cv_exeext
5290 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
5291 ac_clean_files
=$ac_clean_files_save
5292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5293 printf %s
"checking for suffix of executables... " >&6; }
5294 if { { ac_try
="$ac_link"
5296 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5297 *) ac_try_echo=$ac_try;;
5299 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5300 printf "%s\n" "$ac_try_echo"; } >&5
5301 (eval "$ac_link") 2>&5
5303 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5304 test $ac_status = 0; }
5306 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
5307 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
5308 # work properly (i.e., refer to `conftest.exe'), while it won't with
5310 for ac_file
in conftest.exe conftest conftest.
*; do
5311 test -f "$ac_file" ||
continue
5313 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
5314 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
5320 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5321 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5322 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
5323 See \`config.log' for more details" "$LINENO" 5; }
5325 rm -f conftest conftest
$ac_cv_exeext
5326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5327 printf "%s\n" "$ac_cv_exeext" >&6; }
5329 rm -f conftest.
$ac_ext
5330 EXEEXT
=$ac_cv_exeext
5332 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5333 /* end confdefs.h. */
5338 FILE *f = fopen ("conftest.out", "w");
5339 return ferror (f) || fclose (f) != 0;
5345 ac_clean_files
="$ac_clean_files conftest.out"
5346 # Check that the compiler produces executables we can run. If not, either
5347 # the compiler is broken, or we cross compile.
5348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5349 printf %s
"checking whether we are cross compiling... " >&6; }
5350 if test "$cross_compiling" != yes; then
5351 { { ac_try
="$ac_link"
5353 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5354 *) ac_try_echo=$ac_try;;
5356 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5357 printf "%s\n" "$ac_try_echo"; } >&5
5358 (eval "$ac_link") 2>&5
5360 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5361 test $ac_status = 0; }
5362 if { ac_try='./conftest$ac_cv_exeext'
5363 { { case "(($ac_try" in
5364 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5365 *) ac_try_echo
=$ac_try;;
5367 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5368 printf "%s\n" "$ac_try_echo"; } >&5
5369 (eval "$ac_try") 2>&5
5371 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5372 test $ac_status = 0; }; }; then
5375 if test "$cross_compiling" = maybe
; then
5378 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5379 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5380 as_fn_error
77 "cannot run C compiled programs.
5381 If you meant to cross compile, use \`--host'.
5382 See \`config.log' for more details" "$LINENO" 5; }
5386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5387 printf "%s\n" "$cross_compiling" >&6; }
5389 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
5390 ac_clean_files
=$ac_clean_files_save
5391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5392 printf %s
"checking for suffix of object files... " >&6; }
5393 if test ${ac_cv_objext+y}
5395 printf %s
"(cached) " >&6
5397 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5398 /* end confdefs.h. */
5408 rm -f conftest.o conftest.obj
5409 if { { ac_try
="$ac_compile"
5411 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5412 *) ac_try_echo=$ac_try;;
5414 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5415 printf "%s\n" "$ac_try_echo"; } >&5
5416 (eval "$ac_compile") 2>&5
5418 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5419 test $ac_status = 0; }
5421 for ac_file in conftest.o conftest.obj conftest.*; do
5422 test -f "$ac_file" || continue;
5424 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5425 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5430 printf "%s\n" "$as_me: failed program was:" >&5
5431 sed 's/^/| /' conftest.$ac_ext >&5
5433 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5434 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5435 as_fn_error $? "cannot compute suffix of object files
: cannot compile
5436 See \
`config.log' for more details" "$LINENO" 5; }
5438 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5441 printf "%s\n" "$ac_cv_objext" >&6; }
5442 OBJEXT=$ac_cv_objext
5444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5445 printf %s "checking whether the compiler supports GNU C... " >&6; }
5446 if test ${ac_cv_c_compiler_gnu+y}
5448 printf %s "(cached) " >&6
5450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5451 /* end confdefs.h. */
5464 if ac_fn_c_try_compile "$LINENO"
5470 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5471 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5475 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5478 if test $ac_compiler_gnu = yes; then
5483 ac_test_CFLAGS=${CFLAGS+y}
5484 ac_save_CFLAGS=$CFLAGS
5485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5486 printf %s "checking whether $CC accepts -g... " >&6; }
5487 if test ${ac_cv_prog_cc_g+y}
5489 printf %s "(cached) " >&6
5491 ac_save_c_werror_flag=$ac_c_werror_flag
5492 ac_c_werror_flag=yes
5495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5496 /* end confdefs.h. */
5506 if ac_fn_c_try_compile "$LINENO"
5511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5512 /* end confdefs.h. */
5522 if ac_fn_c_try_compile "$LINENO"
5526 ac_c_werror_flag=$ac_save_c_werror_flag
5528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5529 /* end confdefs.h. */
5539 if ac_fn_c_try_compile "$LINENO"
5543 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5545 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5547 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5548 ac_c_werror_flag=$ac_save_c_werror_flag
5550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5551 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5552 if test $ac_test_CFLAGS; then
5553 CFLAGS=$ac_save_CFLAGS
5554 elif test $ac_cv_prog_cc_g = yes; then
5555 if test "$GCC" = yes; then
5561 if test "$GCC" = yes; then
5568 if test x$ac_prog_cc_stdc = xno
5570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5571 printf %s "checking for $CC option to enable C11 features... " >&6; }
5572 if test ${ac_cv_prog_cc_c11+y}
5574 printf %s "(cached) " >&6
5576 ac_cv_prog_cc_c11=no
5578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5579 /* end confdefs.h. */
5580 $ac_c_conftest_c11_program
5582 for ac_arg in '' -std=gnu11
5584 CC="$ac_save_CC $ac_arg"
5585 if ac_fn_c_try_compile "$LINENO"
5587 ac_cv_prog_cc_c11=$ac_arg
5589 rm -f core conftest.err conftest.$ac_objext conftest.beam
5590 test "x$ac_cv_prog_cc_c11" != "xno" && break
5592 rm -f conftest.$ac_ext
5596 if test "x$ac_cv_prog_cc_c11" = xno
5598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5599 printf "%s\n" "unsupported" >&6; }
5601 if test "x$ac_cv_prog_cc_c11" = x
5603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5604 printf "%s\n" "none needed" >&6; }
5606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5607 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5608 CC="$CC $ac_cv_prog_cc_c11"
5610 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5614 if test x$ac_prog_cc_stdc = xno
5616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5617 printf %s "checking for $CC option to enable C99 features... " >&6; }
5618 if test ${ac_cv_prog_cc_c99+y}
5620 printf %s "(cached) " >&6
5622 ac_cv_prog_cc_c99=no
5624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5625 /* end confdefs.h. */
5626 $ac_c_conftest_c99_program
5628 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5630 CC="$ac_save_CC $ac_arg"
5631 if ac_fn_c_try_compile "$LINENO"
5633 ac_cv_prog_cc_c99=$ac_arg
5635 rm -f core conftest.err conftest.$ac_objext conftest.beam
5636 test "x$ac_cv_prog_cc_c99" != "xno" && break
5638 rm -f conftest.$ac_ext
5642 if test "x$ac_cv_prog_cc_c99" = xno
5644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5645 printf "%s\n" "unsupported" >&6; }
5647 if test "x$ac_cv_prog_cc_c99" = x
5649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5650 printf "%s\n" "none needed" >&6; }
5652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5653 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5654 CC="$CC $ac_cv_prog_cc_c99"
5656 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5660 if test x$ac_prog_cc_stdc = xno
5662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5663 printf %s "checking for $CC option to enable C89 features... " >&6; }
5664 if test ${ac_cv_prog_cc_c89+y}
5666 printf %s "(cached) " >&6
5668 ac_cv_prog_cc_c89=no
5670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5671 /* end confdefs.h. */
5672 $ac_c_conftest_c89_program
5674 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5676 CC="$ac_save_CC $ac_arg"
5677 if ac_fn_c_try_compile "$LINENO"
5679 ac_cv_prog_cc_c89=$ac_arg
5681 rm -f core conftest.err conftest.$ac_objext conftest.beam
5682 test "x$ac_cv_prog_cc_c89" != "xno" && break
5684 rm -f conftest.$ac_ext
5688 if test "x$ac_cv_prog_cc_c89" = xno
5690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5691 printf "%s\n" "unsupported" >&6; }
5693 if test "x$ac_cv_prog_cc_c89" = x
5695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5696 printf "%s\n" "none needed" >&6; }
5698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5699 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5700 CC="$CC $ac_cv_prog_cc_c89"
5702 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5708 ac_cpp='$CPP $CPPFLAGS'
5709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5720 ac_cpp='$CXXCPP $CPPFLAGS'
5721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5724 if test -z "$CXX"; then
5725 if test -n "$CCC"; then
5728 if test -n "$ac_tool_prefix"; then
5729 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5731 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5732 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5734 printf %s "checking for $ac_word... " >&6; }
5735 if test ${ac_cv_prog_CXX+y}
5737 printf %s "(cached) " >&6
5739 if test -n "$CXX"; then
5740 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5746 case $as_dir in #(((
5749 *) as_dir=$as_dir/ ;;
5751 for ac_exec_ext in '' $ac_executable_extensions; do
5752 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5753 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5754 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5764 if test -n "$CXX"; then
5765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5766 printf "%s\n" "$CXX" >&6; }
5768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5769 printf "%s\n" "no" >&6; }
5773 test -n "$CXX" && break
5776 if test -z "$CXX"; then
5778 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5780 # Extract the first word of "$ac_prog", so it can be a program name with args.
5781 set dummy $ac_prog; ac_word=$2
5782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5783 printf %s "checking for $ac_word... " >&6; }
5784 if test ${ac_cv_prog_ac_ct_CXX+y}
5786 printf %s "(cached) " >&6
5788 if test -n "$ac_ct_CXX"; then
5789 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5795 case $as_dir in #(((
5798 *) as_dir=$as_dir/ ;;
5800 for ac_exec_ext in '' $ac_executable_extensions; do
5801 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5802 ac_cv_prog_ac_ct_CXX="$ac_prog"
5803 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5812 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5813 if test -n "$ac_ct_CXX"; then
5814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5815 printf "%s\n" "$ac_ct_CXX" >&6; }
5817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5818 printf "%s\n" "no" >&6; }
5822 test -n "$ac_ct_CXX" && break
5825 if test "x$ac_ct_CXX" = x; then
5828 case $cross_compiling:$ac_tool_warned in
5830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5831 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5832 ac_tool_warned=yes ;;
5840 # Provide some information about the compiler.
5841 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5844 for ac_option in --version -v -V -qversion; do
5845 { { ac_try="$ac_compiler $ac_option >&5"
5847 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5848 *) ac_try_echo
=$ac_try;;
5850 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5851 printf "%s\n" "$ac_try_echo"; } >&5
5852 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5854 if test -s conftest.err
; then
5856 ... rest of stderr output deleted ...
5857 10q' conftest.err
>conftest.er1
5858 cat conftest.er1
>&5
5860 rm -f conftest.er1 conftest.err
5861 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5862 test $ac_status = 0; }
5865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5866 printf %s
"checking whether the compiler supports GNU C++... " >&6; }
5867 if test ${ac_cv_cxx_compiler_gnu+y}
5869 printf %s
"(cached) " >&6
5871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5872 /* end confdefs.h. */
5885 if ac_fn_cxx_try_compile
"$LINENO"
5891 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5892 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5896 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5897 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5899 if test $ac_compiler_gnu = yes; then
5904 ac_test_CXXFLAGS
=${CXXFLAGS+y}
5905 ac_save_CXXFLAGS
=$CXXFLAGS
5906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5907 printf %s
"checking whether $CXX accepts -g... " >&6; }
5908 if test ${ac_cv_prog_cxx_g+y}
5910 printf %s
"(cached) " >&6
5912 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5913 ac_cxx_werror_flag
=yes
5916 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5917 /* end confdefs.h. */
5927 if ac_fn_cxx_try_compile
"$LINENO"
5929 ac_cv_prog_cxx_g
=yes
5932 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5933 /* end confdefs.h. */
5943 if ac_fn_cxx_try_compile
"$LINENO"
5947 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5949 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5950 /* end confdefs.h. */
5960 if ac_fn_cxx_try_compile
"$LINENO"
5962 ac_cv_prog_cxx_g
=yes
5964 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5966 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5968 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5969 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5972 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5973 if test $ac_test_CXXFLAGS; then
5974 CXXFLAGS
=$ac_save_CXXFLAGS
5975 elif test $ac_cv_prog_cxx_g = yes; then
5976 if test "$GXX" = yes; then
5982 if test "$GXX" = yes; then
5988 ac_prog_cxx_stdcxx
=no
5989 if test x
$ac_prog_cxx_stdcxx = xno
5991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5992 printf %s
"checking for $CXX option to enable C++11 features... " >&6; }
5993 if test ${ac_cv_prog_cxx_cxx11+y}
5995 printf %s
"(cached) " >&6
5997 ac_cv_prog_cxx_cxx11
=no
5999 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6000 /* end confdefs.h. */
6001 $ac_cxx_conftest_cxx11_program
6003 for ac_arg
in '' -std=gnu
++11 -std=gnu
++0x
-std=c
++11 -std=c
++0x
-qlanglvl=extended0x
-AA
6005 CXX
="$ac_save_CXX $ac_arg"
6006 if ac_fn_cxx_try_compile
"$LINENO"
6008 ac_cv_prog_cxx_cxx11
=$ac_arg
6010 rm -f core conftest.err conftest.
$ac_objext conftest.beam
6011 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
6013 rm -f conftest.
$ac_ext
6017 if test "x$ac_cv_prog_cxx_cxx11" = xno
6019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6020 printf "%s\n" "unsupported" >&6; }
6022 if test "x$ac_cv_prog_cxx_cxx11" = x
6024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6025 printf "%s\n" "none needed" >&6; }
6027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
6028 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
6029 CXX
="$CXX $ac_cv_prog_cxx_cxx11"
6031 ac_cv_prog_cxx_stdcxx
=$ac_cv_prog_cxx_cxx11
6032 ac_prog_cxx_stdcxx
=cxx11
6035 if test x
$ac_prog_cxx_stdcxx = xno
6037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
6038 printf %s
"checking for $CXX option to enable C++98 features... " >&6; }
6039 if test ${ac_cv_prog_cxx_cxx98+y}
6041 printf %s
"(cached) " >&6
6043 ac_cv_prog_cxx_cxx98
=no
6045 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6046 /* end confdefs.h. */
6047 $ac_cxx_conftest_cxx98_program
6049 for ac_arg
in '' -std=gnu
++98 -std=c
++98 -qlanglvl=extended
-AA
6051 CXX
="$ac_save_CXX $ac_arg"
6052 if ac_fn_cxx_try_compile
"$LINENO"
6054 ac_cv_prog_cxx_cxx98
=$ac_arg
6056 rm -f core conftest.err conftest.
$ac_objext conftest.beam
6057 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
6059 rm -f conftest.
$ac_ext
6063 if test "x$ac_cv_prog_cxx_cxx98" = xno
6065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6066 printf "%s\n" "unsupported" >&6; }
6068 if test "x$ac_cv_prog_cxx_cxx98" = x
6070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6071 printf "%s\n" "none needed" >&6; }
6073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
6074 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
6075 CXX
="$CXX $ac_cv_prog_cxx_cxx98"
6077 ac_cv_prog_cxx_stdcxx
=$ac_cv_prog_cxx_cxx98
6078 ac_prog_cxx_stdcxx
=cxx98
6083 ac_cpp
='$CPP $CPPFLAGS'
6084 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6085 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6086 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6088 if test -n "$ac_tool_prefix"; then
6089 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
6090 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
6091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6092 printf %s
"checking for $ac_word... " >&6; }
6093 if test ${ac_cv_prog_CPPBIN+y}
6095 printf %s
"(cached) " >&6
6097 if test -n "$CPPBIN"; then
6098 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
6100 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6104 case $as_dir in #(((
6107 *) as_dir
=$as_dir/ ;;
6109 for ac_exec_ext
in '' $ac_executable_extensions; do
6110 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6111 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
6112 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6121 CPPBIN
=$ac_cv_prog_CPPBIN
6122 if test -n "$CPPBIN"; then
6123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6124 printf "%s\n" "$CPPBIN" >&6; }
6126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6127 printf "%s\n" "no" >&6; }
6132 if test -z "$ac_cv_prog_CPPBIN"; then
6133 ac_ct_CPPBIN
=$CPPBIN
6134 # Extract the first word of "cpp", so it can be a program name with args.
6135 set dummy cpp
; ac_word
=$2
6136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6137 printf %s
"checking for $ac_word... " >&6; }
6138 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6140 printf %s
"(cached) " >&6
6142 if test -n "$ac_ct_CPPBIN"; then
6143 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
6145 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6149 case $as_dir in #(((
6152 *) as_dir
=$as_dir/ ;;
6154 for ac_exec_ext
in '' $ac_executable_extensions; do
6155 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6156 ac_cv_prog_ac_ct_CPPBIN
="cpp"
6157 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6166 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
6167 if test -n "$ac_ct_CPPBIN"; then
6168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6169 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6172 printf "%s\n" "no" >&6; }
6175 if test "x$ac_ct_CPPBIN" = x
; then
6178 case $cross_compiling:$ac_tool_warned in
6180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6181 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6182 ac_tool_warned
=yes ;;
6184 CPPBIN
=$ac_ct_CPPBIN
6187 CPPBIN
="$ac_cv_prog_CPPBIN"
6191 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6193 if test -n "$ac_tool_prefix"; then
6194 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6195 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
6196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6197 printf %s
"checking for $ac_word... " >&6; }
6198 if test ${ac_cv_prog_LD+y}
6200 printf %s
"(cached) " >&6
6202 if test -n "$LD"; then
6203 ac_cv_prog_LD
="$LD" # Let the user override the test.
6205 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6209 case $as_dir in #(((
6212 *) as_dir
=$as_dir/ ;;
6214 for ac_exec_ext
in '' $ac_executable_extensions; do
6215 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6216 ac_cv_prog_LD
="${ac_tool_prefix}ld"
6217 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6227 if test -n "$LD"; then
6228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6229 printf "%s\n" "$LD" >&6; }
6231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6232 printf "%s\n" "no" >&6; }
6237 if test -z "$ac_cv_prog_LD"; then
6239 # Extract the first word of "ld", so it can be a program name with args.
6240 set dummy ld
; ac_word
=$2
6241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6242 printf %s
"checking for $ac_word... " >&6; }
6243 if test ${ac_cv_prog_ac_ct_LD+y}
6245 printf %s
"(cached) " >&6
6247 if test -n "$ac_ct_LD"; then
6248 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
6250 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6254 case $as_dir in #(((
6257 *) as_dir
=$as_dir/ ;;
6259 for ac_exec_ext
in '' $ac_executable_extensions; do
6260 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6261 ac_cv_prog_ac_ct_LD
="ld"
6262 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6271 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
6272 if test -n "$ac_ct_LD"; then
6273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6274 printf "%s\n" "$ac_ct_LD" >&6; }
6276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6277 printf "%s\n" "no" >&6; }
6280 if test "x$ac_ct_LD" = x
; then
6283 case $cross_compiling:$ac_tool_warned in
6285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6286 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6287 ac_tool_warned
=yes ;;
6298 with_fontconfig
=${with_fontconfig:-no}
6300 *-mingw32*|
*-cygwin*)
6301 enable_win16
=${enable_win16:-no}
6302 with_mingw
=${with_mingw:-no}
6309 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x
"$enable_archs" = x
6314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6315 printf %s
"checking whether $CC works... " >&6; }
6316 if test ${wine_cv_cc_m32+y}
6318 printf %s
"(cached) " >&6
6320 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6321 /* end confdefs.h. */
6331 if ac_fn_c_try_link
"$LINENO"
6337 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6338 conftest
$ac_exeext conftest.
$ac_ext
6340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6341 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6342 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
6344 notice_platform
="32-bit "
6345 TARGETFLAGS
="$TARGETFLAGS -m32"
6346 PKG_CONFIG_LIBDIR
=${PKG_CONFIG_LIBDIR:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6347 export PKG_CONFIG_LIBDIR
6352 notice_platform
="64-bit "
6353 TARGETFLAGS
="$TARGETFLAGS -m64"
6357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6358 printf %s
"checking whether $CC supports Thumb-2... " >&6; }
6359 if test ${wine_cv_thumb2+y}
6361 printf %s
"(cached) " >&6
6363 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6364 /* end confdefs.h. */
6369 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6374 if ac_fn_c_try_link
"$LINENO"
6380 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6381 conftest
$ac_exeext conftest.
$ac_ext
6383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6384 printf "%s\n" "$wine_cv_thumb2" >&6; }
6385 if test x
"$wine_cv_thumb2" = xyes
6387 CFLAGS
="$CFLAGS -mthumb"
6389 CFLAGS
="$CFLAGS -marm"
6391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports floating point instructions" >&5
6392 printf %s
"checking whether $CC supports floating point instructions... " >&6; }
6393 if test ${wine_cv_float_abi+y}
6395 printf %s
"(cached) " >&6
6397 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6398 /* end confdefs.h. */
6403 asm("vmrs r2,fpscr");
6408 if ac_fn_c_try_link
"$LINENO"
6410 wine_cv_float_abi
=yes
6412 wine_cv_float_abi
=no
6414 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6415 conftest
$ac_exeext conftest.
$ac_ext
6417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6418 printf "%s\n" "$wine_cv_float_abi" >&6; }
6419 test $wine_cv_float_abi != no || as_fn_error $?
"The ARM target needs to support floating point instructions." "$LINENO" 5
6423 if test "x$enable_win64" = "xyes"
6425 test -z "$with_wine64" || as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
6426 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6430 cygwin
*|mingw32
*) toolsext
=".exe"
6438 aarch64
*) HOST_ARCH
=aarch64
;;
6439 arm
*) HOST_ARCH
=arm
;;
6440 i
[3456789]86*) HOST_ARCH
=i386
;;
6441 x86_64
) HOST_ARCH
=x86_64
;;
6445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6446 printf %s
"checking for the directory containing the Wine tools... " >&6; }
6447 if test ${wine_cv_toolsdir+y}
6449 printf %s
"(cached) " >&6
6451 wine_cv_toolsdir
="$with_wine_tools"
6452 if test -z "$with_wine_tools"; then
6453 if test "$cross_compiling" = "yes"; then
6454 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6455 elif test -n "$with_wine64"; then
6456 wine_cv_toolsdir
="$with_wine64"
6460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6461 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6462 if test -z "$wine_cv_toolsdir"; then
6463 wine_makedep
=tools
/makedep
$toolsext
6464 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6465 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
$toolsext
6466 enable_tools
=${enable_tools:-no}
6467 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6469 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6471 toolsdir
=$wine_cv_toolsdir
6473 MAKEDEP
=$wine_makedep
6475 RUNTESTFLAGS
="-q -P wine"
6477 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'"
6480 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6482 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
6487 # Extract the first word of "$ac_prog", so it can be a program name with args.
6488 set dummy
$ac_prog; ac_word
=$2
6489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6490 printf %s
"checking for $ac_word... " >&6; }
6491 if test ${ac_cv_prog_FLEX+y}
6493 printf %s
"(cached) " >&6
6495 if test -n "$FLEX"; then
6496 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
6498 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6502 case $as_dir in #(((
6505 *) as_dir
=$as_dir/ ;;
6507 for ac_exec_ext
in '' $ac_executable_extensions; do
6508 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6509 ac_cv_prog_FLEX
="$ac_prog"
6510 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6519 FLEX
=$ac_cv_prog_FLEX
6520 if test -n "$FLEX"; then
6521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6522 printf "%s\n" "$FLEX" >&6; }
6524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6525 printf "%s\n" "no" >&6; }
6529 test -n "$FLEX" && break
6531 test -n "$FLEX" || FLEX
="none"
6533 if test "$FLEX" = "none"
6535 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6538 printf %s
"checking whether flex is recent enough... " >&6; }
6539 if test ${wine_cv_recent_flex+y}
6541 printf %s
"(cached) " >&6
6543 cat >conftest.l
<<EOF
6545 #include "prediluvian.h"
6549 if $FLEX -t conftest.l
>/dev
/null
2>&5
6551 wine_cv_recent_flex
=yes
6553 wine_cv_recent_flex
=no
6556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6557 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6558 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
6560 for ac_prog
in bison
6562 # Extract the first word of "$ac_prog", so it can be a program name with args.
6563 set dummy
$ac_prog; ac_word
=$2
6564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6565 printf %s
"checking for $ac_word... " >&6; }
6566 if test ${ac_cv_prog_BISON+y}
6568 printf %s
"(cached) " >&6
6570 if test -n "$BISON"; then
6571 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
6573 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6577 case $as_dir in #(((
6580 *) as_dir
=$as_dir/ ;;
6582 for ac_exec_ext
in '' $ac_executable_extensions; do
6583 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6584 ac_cv_prog_BISON
="$ac_prog"
6585 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6594 BISON
=$ac_cv_prog_BISON
6595 if test -n "$BISON"; then
6596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6597 printf "%s\n" "$BISON" >&6; }
6599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6600 printf "%s\n" "no" >&6; }
6604 test -n "$BISON" && break
6606 test -n "$BISON" || BISON
="none"
6608 if test "$BISON" = "none"
6610 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6613 printf %s
"checking whether bison is recent enough... " >&6; }
6614 if test ${wine_cv_recent_bison+y}
6616 printf %s
"(cached) " >&6
6618 cat >conftest.y
<<EOF
6619 %define parse.error verbose
6623 if $BISON conftest.y
>/dev
/null
2>&5
6625 wine_cv_recent_bison
=yes
6627 wine_cv_recent_bison
=no
6630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6631 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6632 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
6634 if test -n "$ac_tool_prefix"; then
6635 for ac_prog
in ar gar
6637 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6638 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6640 printf %s
"checking for $ac_word... " >&6; }
6641 if test ${ac_cv_prog_AR+y}
6643 printf %s
"(cached) " >&6
6645 if test -n "$AR"; then
6646 ac_cv_prog_AR
="$AR" # Let the user override the test.
6648 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6652 case $as_dir in #(((
6655 *) as_dir
=$as_dir/ ;;
6657 for ac_exec_ext
in '' $ac_executable_extensions; do
6658 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6659 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
6660 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6670 if test -n "$AR"; then
6671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6672 printf "%s\n" "$AR" >&6; }
6674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6675 printf "%s\n" "no" >&6; }
6679 test -n "$AR" && break
6682 if test -z "$AR"; then
6684 for ac_prog
in ar gar
6686 # Extract the first word of "$ac_prog", so it can be a program name with args.
6687 set dummy
$ac_prog; ac_word
=$2
6688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6689 printf %s
"checking for $ac_word... " >&6; }
6690 if test ${ac_cv_prog_ac_ct_AR+y}
6692 printf %s
"(cached) " >&6
6694 if test -n "$ac_ct_AR"; then
6695 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6697 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6701 case $as_dir in #(((
6704 *) as_dir
=$as_dir/ ;;
6706 for ac_exec_ext
in '' $ac_executable_extensions; do
6707 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6708 ac_cv_prog_ac_ct_AR
="$ac_prog"
6709 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6718 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6719 if test -n "$ac_ct_AR"; then
6720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6721 printf "%s\n" "$ac_ct_AR" >&6; }
6723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6724 printf "%s\n" "no" >&6; }
6728 test -n "$ac_ct_AR" && break
6731 if test "x$ac_ct_AR" = x
; then
6734 case $cross_compiling:$ac_tool_warned in
6736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6737 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6738 ac_tool_warned
=yes ;;
6744 if test -n "$ac_tool_prefix"; then
6745 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6746 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6748 printf %s
"checking for $ac_word... " >&6; }
6749 if test ${ac_cv_prog_STRIP+y}
6751 printf %s
"(cached) " >&6
6753 if test -n "$STRIP"; then
6754 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6756 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6760 case $as_dir in #(((
6763 *) as_dir
=$as_dir/ ;;
6765 for ac_exec_ext
in '' $ac_executable_extensions; do
6766 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6767 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6768 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6777 STRIP
=$ac_cv_prog_STRIP
6778 if test -n "$STRIP"; then
6779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6780 printf "%s\n" "$STRIP" >&6; }
6782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6783 printf "%s\n" "no" >&6; }
6788 if test -z "$ac_cv_prog_STRIP"; then
6790 # Extract the first word of "strip", so it can be a program name with args.
6791 set dummy strip
; ac_word
=$2
6792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6793 printf %s
"checking for $ac_word... " >&6; }
6794 if test ${ac_cv_prog_ac_ct_STRIP+y}
6796 printf %s
"(cached) " >&6
6798 if test -n "$ac_ct_STRIP"; then
6799 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6801 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6805 case $as_dir in #(((
6808 *) as_dir
=$as_dir/ ;;
6810 for ac_exec_ext
in '' $ac_executable_extensions; do
6811 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6812 ac_cv_prog_ac_ct_STRIP
="strip"
6813 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6822 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6823 if test -n "$ac_ct_STRIP"; then
6824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6825 printf "%s\n" "$ac_ct_STRIP" >&6; }
6827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6828 printf "%s\n" "no" >&6; }
6831 if test "x$ac_ct_STRIP" = x
; then
6834 case $cross_compiling:$ac_tool_warned in
6836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6837 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6838 ac_tool_warned
=yes ;;
6843 STRIP
="$ac_cv_prog_STRIP"
6846 if test -n "$ac_tool_prefix"; then
6847 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6848 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6850 printf %s
"checking for $ac_word... " >&6; }
6851 if test ${ac_cv_prog_RANLIB+y}
6853 printf %s
"(cached) " >&6
6855 if test -n "$RANLIB"; then
6856 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6858 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6862 case $as_dir in #(((
6865 *) as_dir
=$as_dir/ ;;
6867 for ac_exec_ext
in '' $ac_executable_extensions; do
6868 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6869 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6870 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6879 RANLIB
=$ac_cv_prog_RANLIB
6880 if test -n "$RANLIB"; then
6881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6882 printf "%s\n" "$RANLIB" >&6; }
6884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6885 printf "%s\n" "no" >&6; }
6890 if test -z "$ac_cv_prog_RANLIB"; then
6891 ac_ct_RANLIB
=$RANLIB
6892 # Extract the first word of "ranlib", so it can be a program name with args.
6893 set dummy ranlib
; ac_word
=$2
6894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6895 printf %s
"checking for $ac_word... " >&6; }
6896 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6898 printf %s
"(cached) " >&6
6900 if test -n "$ac_ct_RANLIB"; then
6901 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6903 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6907 case $as_dir in #(((
6910 *) as_dir
=$as_dir/ ;;
6912 for ac_exec_ext
in '' $ac_executable_extensions; do
6913 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6914 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6915 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6924 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6925 if test -n "$ac_ct_RANLIB"; then
6926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6927 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6930 printf "%s\n" "no" >&6; }
6933 if test "x$ac_ct_RANLIB" = x
; then
6936 case $cross_compiling:$ac_tool_warned in
6938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6939 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6940 ac_tool_warned
=yes ;;
6942 RANLIB
=$ac_ct_RANLIB
6945 RANLIB
="$ac_cv_prog_RANLIB"
6948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6949 printf %s
"checking whether ln -s works... " >&6; }
6951 if test "$LN_S" = "ln -s"; then
6952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6953 printf "%s\n" "yes" >&6; }
6955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6956 printf "%s\n" "no, using $LN_S" >&6; }
6959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6960 printf %s
"checking for grep that handles long lines and -e... " >&6; }
6961 if test ${ac_cv_path_GREP+y}
6963 printf %s
"(cached) " >&6
6965 if test -z "$GREP"; then
6966 ac_path_GREP_found
=false
6967 # Loop through the user's path and test for each of PROGNAME-LIST
6968 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6969 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6972 case $as_dir in #(((
6975 *) as_dir
=$as_dir/ ;;
6977 for ac_prog
in grep ggrep
6979 for ac_exec_ext
in '' $ac_executable_extensions; do
6980 ac_path_GREP
="$as_dir$ac_prog$ac_exec_ext"
6981 as_fn_executable_p
"$ac_path_GREP" ||
continue
6982 # Check for GNU ac_path_GREP and select it if it is found.
6983 # Check for GNU $ac_path_GREP
6984 case `"$ac_path_GREP" --version 2>&1` in
6986 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6989 printf %s
0123456789 >"conftest.in"
6992 cat "conftest.in" "conftest.in" >"conftest.tmp"
6993 mv "conftest.tmp" "conftest.in"
6994 cp "conftest.in" "conftest.nl"
6995 printf "%s\n" 'GREP' >> "conftest.nl"
6996 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6997 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6998 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6999 if test $ac_count -gt ${ac_path_GREP_max-0}; then
7000 # Best one so far, save it but keep looking for a better one
7001 ac_cv_path_GREP
="$ac_path_GREP"
7002 ac_path_GREP_max
=$ac_count
7004 # 10*(2^10) chars as input seems more than enough
7005 test $ac_count -gt 10 && break
7007 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7010 $ac_path_GREP_found && break 3
7015 if test -z "$ac_cv_path_GREP"; then
7016 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7019 ac_cv_path_GREP
=$GREP
7023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7024 printf "%s\n" "$ac_cv_path_GREP" >&6; }
7025 GREP
="$ac_cv_path_GREP"
7028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7029 printf %s
"checking for egrep... " >&6; }
7030 if test ${ac_cv_path_EGREP+y}
7032 printf %s
"(cached) " >&6
7034 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
7035 then ac_cv_path_EGREP
="$GREP -E"
7037 if test -z "$EGREP"; then
7038 ac_path_EGREP_found
=false
7039 # Loop through the user's path and test for each of PROGNAME-LIST
7040 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7041 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7044 case $as_dir in #(((
7047 *) as_dir
=$as_dir/ ;;
7049 for ac_prog
in egrep
7051 for ac_exec_ext
in '' $ac_executable_extensions; do
7052 ac_path_EGREP
="$as_dir$ac_prog$ac_exec_ext"
7053 as_fn_executable_p
"$ac_path_EGREP" ||
continue
7054 # Check for GNU ac_path_EGREP and select it if it is found.
7055 # Check for GNU $ac_path_EGREP
7056 case `"$ac_path_EGREP" --version 2>&1` in
7058 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
7061 printf %s
0123456789 >"conftest.in"
7064 cat "conftest.in" "conftest.in" >"conftest.tmp"
7065 mv "conftest.tmp" "conftest.in"
7066 cp "conftest.in" "conftest.nl"
7067 printf "%s\n" 'EGREP' >> "conftest.nl"
7068 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7069 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7070 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7071 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7072 # Best one so far, save it but keep looking for a better one
7073 ac_cv_path_EGREP
="$ac_path_EGREP"
7074 ac_path_EGREP_max
=$ac_count
7076 # 10*(2^10) chars as input seems more than enough
7077 test $ac_count -gt 10 && break
7079 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7082 $ac_path_EGREP_found && break 3
7087 if test -z "$ac_cv_path_EGREP"; then
7088 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7091 ac_cv_path_EGREP
=$EGREP
7096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7097 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7098 EGREP
="$ac_cv_path_EGREP"
7101 # Extract the first word of "ldconfig", so it can be a program name with args.
7102 set dummy ldconfig
; ac_word
=$2
7103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7104 printf %s
"checking for $ac_word... " >&6; }
7105 if test ${ac_cv_path_LDCONFIG+y}
7107 printf %s
"(cached) " >&6
7111 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
7114 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7115 for as_dir
in /sbin
/usr
/sbin
$PATH
7118 case $as_dir in #(((
7121 *) as_dir
=$as_dir/ ;;
7123 for ac_exec_ext
in '' $ac_executable_extensions; do
7124 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7125 ac_cv_path_LDCONFIG
="$as_dir$ac_word$ac_exec_ext"
7126 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7133 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
7137 LDCONFIG
=$ac_cv_path_LDCONFIG
7138 if test -n "$LDCONFIG"; then
7139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7140 printf "%s\n" "$LDCONFIG" >&6; }
7142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7143 printf "%s\n" "no" >&6; }
7147 for ac_prog
in msgfmt
7149 # Extract the first word of "$ac_prog", so it can be a program name with args.
7150 set dummy
$ac_prog; ac_word
=$2
7151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7152 printf %s
"checking for $ac_word... " >&6; }
7153 if test ${ac_cv_prog_MSGFMT+y}
7155 printf %s
"(cached) " >&6
7157 if test -n "$MSGFMT"; then
7158 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
7160 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7164 case $as_dir in #(((
7167 *) as_dir
=$as_dir/ ;;
7169 for ac_exec_ext
in '' $ac_executable_extensions; do
7170 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7171 ac_cv_prog_MSGFMT
="$ac_prog"
7172 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7181 MSGFMT
=$ac_cv_prog_MSGFMT
7182 if test -n "$MSGFMT"; then
7183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7184 printf "%s\n" "$MSGFMT" >&6; }
7186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7187 printf "%s\n" "no" >&6; }
7191 test -n "$MSGFMT" && break
7193 test -n "$MSGFMT" || MSGFMT
="false"
7195 if test ${ac_tool_prefix+y}
7197 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7198 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
7199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7200 printf %s
"checking for $ac_word... " >&6; }
7201 if test ${ac_cv_prog_PKG_CONFIG+y}
7203 printf %s
"(cached) " >&6
7205 if test -n "$PKG_CONFIG"; then
7206 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
7208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7212 case $as_dir in #(((
7215 *) as_dir
=$as_dir/ ;;
7217 for ac_exec_ext
in '' $ac_executable_extensions; do
7218 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7219 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
7220 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7229 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7230 if test -n "$PKG_CONFIG"; then
7231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7232 printf "%s\n" "$PKG_CONFIG" >&6; }
7234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7235 printf "%s\n" "no" >&6; }
7240 if ${ac_cv_prog_PKG_CONFIG:+false} :
7242 if test "x$cross_compiling" = xyes
7246 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
7247 # Extract the first word of "pkg-config", so it can be a program name with args.
7248 set dummy pkg-config
; ac_word
=$2
7249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7250 printf %s
"checking for $ac_word... " >&6; }
7251 if test ${ac_cv_prog_PKG_CONFIG+y}
7253 printf %s
"(cached) " >&6
7255 if test -n "$PKG_CONFIG"; then
7256 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
7258 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7262 case $as_dir in #(((
7265 *) as_dir
=$as_dir/ ;;
7267 for ac_exec_ext
in '' $ac_executable_extensions; do
7268 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7269 ac_cv_prog_PKG_CONFIG
="pkg-config"
7270 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7279 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7280 if test -n "$PKG_CONFIG"; then
7281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7282 printf "%s\n" "$PKG_CONFIG" >&6; }
7284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7285 printf "%s\n" "no" >&6; }
7291 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7294 if test "x$enable_maintainer_mode" != "xyes"
7301 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
7302 for ac_prog
in fontforge
7304 # Extract the first word of "$ac_prog", so it can be a program name with args.
7305 set dummy
$ac_prog; ac_word
=$2
7306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7307 printf %s
"checking for $ac_word... " >&6; }
7308 if test ${ac_cv_prog_FONTFORGE+y}
7310 printf %s
"(cached) " >&6
7312 if test -n "$FONTFORGE"; then
7313 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
7315 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7319 case $as_dir in #(((
7322 *) as_dir
=$as_dir/ ;;
7324 for ac_exec_ext
in '' $ac_executable_extensions; do
7325 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7326 ac_cv_prog_FONTFORGE
="$ac_prog"
7327 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7336 FONTFORGE
=$ac_cv_prog_FONTFORGE
7337 if test -n "$FONTFORGE"; then
7338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7339 printf "%s\n" "$FONTFORGE" >&6; }
7341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7342 printf "%s\n" "no" >&6; }
7346 test -n "$FONTFORGE" && break
7348 test -n "$FONTFORGE" || FONTFORGE
="false"
7350 for ac_prog
in rsvg-convert rsvg
7352 # Extract the first word of "$ac_prog", so it can be a program name with args.
7353 set dummy
$ac_prog; ac_word
=$2
7354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7355 printf %s
"checking for $ac_word... " >&6; }
7356 if test ${ac_cv_prog_RSVG+y}
7358 printf %s
"(cached) " >&6
7360 if test -n "$RSVG"; then
7361 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
7363 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7367 case $as_dir in #(((
7370 *) as_dir
=$as_dir/ ;;
7372 for ac_exec_ext
in '' $ac_executable_extensions; do
7373 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7374 ac_cv_prog_RSVG
="$ac_prog"
7375 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7384 RSVG
=$ac_cv_prog_RSVG
7385 if test -n "$RSVG"; then
7386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7387 printf "%s\n" "$RSVG" >&6; }
7389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7390 printf "%s\n" "no" >&6; }
7394 test -n "$RSVG" && break
7396 test -n "$RSVG" || RSVG
="false"
7398 for ac_prog
in convert
7400 # Extract the first word of "$ac_prog", so it can be a program name with args.
7401 set dummy
$ac_prog; ac_word
=$2
7402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7403 printf %s
"checking for $ac_word... " >&6; }
7404 if test ${ac_cv_prog_CONVERT+y}
7406 printf %s
"(cached) " >&6
7408 if test -n "$CONVERT"; then
7409 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
7411 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7415 case $as_dir in #(((
7418 *) as_dir
=$as_dir/ ;;
7420 for ac_exec_ext
in '' $ac_executable_extensions; do
7421 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7422 ac_cv_prog_CONVERT
="$ac_prog"
7423 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7432 CONVERT
=$ac_cv_prog_CONVERT
7433 if test -n "$CONVERT"; then
7434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7435 printf "%s\n" "$CONVERT" >&6; }
7437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7438 printf "%s\n" "no" >&6; }
7442 test -n "$CONVERT" && break
7444 test -n "$CONVERT" || CONVERT
="false"
7446 for ac_prog
in icotool
7448 # Extract the first word of "$ac_prog", so it can be a program name with args.
7449 set dummy
$ac_prog; ac_word
=$2
7450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7451 printf %s
"checking for $ac_word... " >&6; }
7452 if test ${ac_cv_prog_ICOTOOL+y}
7454 printf %s
"(cached) " >&6
7456 if test -n "$ICOTOOL"; then
7457 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
7459 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7463 case $as_dir in #(((
7466 *) as_dir
=$as_dir/ ;;
7468 for ac_exec_ext
in '' $ac_executable_extensions; do
7469 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7470 ac_cv_prog_ICOTOOL
="$ac_prog"
7471 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7480 ICOTOOL
=$ac_cv_prog_ICOTOOL
7481 if test -n "$ICOTOOL"; then
7482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7483 printf "%s\n" "$ICOTOOL" >&6; }
7485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7486 printf "%s\n" "no" >&6; }
7490 test -n "$ICOTOOL" && break
7492 test -n "$ICOTOOL" || ICOTOOL
="false"
7494 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7495 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7497 if test "$CONVERT" = false
7499 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7502 printf %s
"checking for recent enough imagemagick... " >&6; }
7503 convert_version
=`convert --version | head -n1`
7504 if test "x$convert_version" != "x"
7506 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7507 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7508 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7513 if test "$CONVERT" = false
7515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7516 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7517 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7520 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7524 if test "$ICOTOOL" = false
7526 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7529 printf %s
"checking for recent enough icotool... " >&6; }
7530 icotool_version
=`icotool --version | head -n1`
7531 if test "x$icotool_version" != "x"
7533 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7534 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7535 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7538 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
7541 if test "$ICOTOOL" = false
7543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7544 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7545 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7548 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7558 test "x$with_gettext" != xno || MSGFMT
=false
7559 if test "$MSGFMT" != "false"
7561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7562 printf %s
"checking whether msgfmt supports contexts... " >&6; }
7563 if test ${wine_cv_msgfmt_contexts+y}
7565 printf %s
"(cached) " >&6
7567 cat >conftest.po
<<EOF
7573 if $MSGFMT -o /dev
/null conftest.po
2>&5
7575 wine_cv_msgfmt_contexts
=yes
7577 wine_cv_msgfmt_contexts
=no
7580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7581 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7582 test $wine_cv_msgfmt_contexts != no || MSGFMT
=false
7584 if test "$MSGFMT" = false
7586 case "x$with_gettext" in
7587 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
7589 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
7590 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7592 enable_po
=${enable_po:-no}
7596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7597 printf %s
"checking for i386_set_ldt in -li386... " >&6; }
7598 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7600 printf %s
"(cached) " >&6
7602 ac_check_lib_save_LIBS
=$LIBS
7604 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7605 /* end confdefs.h. */
7607 /* Override any GCC internal prototype to avoid an error.
7608 Use char because int might match the return type of a GCC
7609 builtin and then its argument prototype would still apply. */
7610 char i386_set_ldt ();
7614 return i386_set_ldt ();
7619 if ac_fn_c_try_link
"$LINENO"
7621 ac_cv_lib_i386_i386_set_ldt
=yes
7623 ac_cv_lib_i386_i386_set_ldt
=no
7625 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
7626 conftest
$ac_exeext conftest.
$ac_ext
7627 LIBS
=$ac_check_lib_save_LIBS
7629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7630 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7631 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7642 # Check whether --enable-largefile was given.
7643 if test ${enable_largefile+y}
7645 enableval
=$enable_largefile;
7648 if test "$enable_largefile" != no
; then
7650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7651 printf %s
"checking for special C compiler options needed for large files... " >&6; }
7652 if test ${ac_cv_sys_largefile_CC+y}
7654 printf %s
"(cached) " >&6
7656 ac_cv_sys_largefile_CC
=no
7657 if test "$GCC" != yes; then
7660 # IRIX 6.2 and later do not support large files by default,
7661 # so use the C compiler's -n32 option if that helps.
7662 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7663 /* end confdefs.h. */
7664 #include <sys/types.h>
7665 /* Check that off_t can represent 2**63 - 1 correctly.
7666 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7667 since some C++ compilers masquerading as C compilers
7668 incorrectly reject 9223372036854775807. */
7669 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7670 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7671 && LARGE_OFF_T % 2147483647 == 1)
7681 if ac_fn_c_try_compile
"$LINENO"
7685 rm -f core conftest.err conftest.
$ac_objext conftest.beam
7687 if ac_fn_c_try_compile
"$LINENO"
7689 ac_cv_sys_largefile_CC
=' -n32'; break
7691 rm -f core conftest.err conftest.
$ac_objext conftest.beam
7695 rm -f conftest.
$ac_ext
7698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7699 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7700 if test "$ac_cv_sys_largefile_CC" != no
; then
7701 CC
=$CC$ac_cv_sys_largefile_CC
7704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7705 printf %s
"checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7706 if test ${ac_cv_sys_file_offset_bits+y}
7708 printf %s
"(cached) " >&6
7711 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7712 /* end confdefs.h. */
7713 #include <sys/types.h>
7714 /* Check that off_t can represent 2**63 - 1 correctly.
7715 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7716 since some C++ compilers masquerading as C compilers
7717 incorrectly reject 9223372036854775807. */
7718 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7719 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7720 && LARGE_OFF_T % 2147483647 == 1)
7730 if ac_fn_c_try_compile
"$LINENO"
7732 ac_cv_sys_file_offset_bits
=no
; break
7734 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7735 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7736 /* end confdefs.h. */
7737 #define _FILE_OFFSET_BITS 64
7738 #include <sys/types.h>
7739 /* Check that off_t can represent 2**63 - 1 correctly.
7740 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7741 since some C++ compilers masquerading as C compilers
7742 incorrectly reject 9223372036854775807. */
7743 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7744 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7745 && LARGE_OFF_T % 2147483647 == 1)
7755 if ac_fn_c_try_compile
"$LINENO"
7757 ac_cv_sys_file_offset_bits
=64; break
7759 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7760 ac_cv_sys_file_offset_bits
=unknown
7764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7765 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7766 case $ac_cv_sys_file_offset_bits in #(
7769 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7773 if test $ac_cv_sys_file_offset_bits = unknown
; then
7774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7775 printf %s
"checking for _LARGE_FILES value needed for large files... " >&6; }
7776 if test ${ac_cv_sys_large_files+y}
7778 printf %s
"(cached) " >&6
7781 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7782 /* end confdefs.h. */
7783 #include <sys/types.h>
7784 /* Check that off_t can represent 2**63 - 1 correctly.
7785 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7786 since some C++ compilers masquerading as C compilers
7787 incorrectly reject 9223372036854775807. */
7788 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7789 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7790 && LARGE_OFF_T % 2147483647 == 1)
7800 if ac_fn_c_try_compile
"$LINENO"
7802 ac_cv_sys_large_files
=no
; break
7804 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7805 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7806 /* end confdefs.h. */
7807 #define _LARGE_FILES 1
7808 #include <sys/types.h>
7809 /* Check that off_t can represent 2**63 - 1 correctly.
7810 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7811 since some C++ compilers masquerading as C compilers
7812 incorrectly reject 9223372036854775807. */
7813 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7814 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7815 && LARGE_OFF_T % 2147483647 == 1)
7825 if ac_fn_c_try_compile
"$LINENO"
7827 ac_cv_sys_large_files
=1; break
7829 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7830 ac_cv_sys_large_files
=unknown
7834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7835 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7836 case $ac_cv_sys_large_files in #(
7839 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7846 test "$ac_cv_sys_file_offset_bits" = 64 &&
7847 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
7850 ac_header
= ac_cache
=
7851 for ac_item
in $ac_header_c_list
7853 if test $ac_cache; then
7854 ac_fn_c_check_header_compile
"$LINENO" $ac_header ac_cv_header_
$ac_cache "$ac_includes_default"
7855 if eval test \"x\
$ac_cv_header_$ac_cache\" = xyes
; then
7856 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7858 ac_header
= ac_cache
=
7859 elif test $ac_header; then
7873 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7876 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7879 ac_fn_c_check_header_compile
"$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7880 if test "x$ac_cv_header_CL_cl_h" = xyes
7882 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7885 ac_fn_c_check_header_compile
"$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7886 if test "x$ac_cv_header_EGL_egl_h" = xyes
7888 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7891 ac_fn_c_check_header_compile
"$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7892 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7894 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7897 ac_fn_c_check_header_compile
"$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7898 if test "x$ac_cv_header_arpa_inet_h" = xyes
7900 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7903 ac_fn_c_check_header_compile
"$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7904 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7906 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7909 ac_fn_c_check_header_compile
"$LINENO" "asm/termbits.h" "ac_cv_header_asm_termbits_h" "$ac_includes_default"
7910 if test "x$ac_cv_header_asm_termbits_h" = xyes
7912 printf "%s\n" "#define HAVE_ASM_TERMBITS_H 1" >>confdefs.h
7915 ac_fn_c_check_header_compile
"$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7916 if test "x$ac_cv_header_asm_types_h" = xyes
7918 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7921 ac_fn_c_check_header_compile
"$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7922 if test "x$ac_cv_header_asm_user_h" = xyes
7924 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7927 ac_fn_c_check_header_compile
"$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7928 if test "x$ac_cv_header_elf_h" = xyes
7930 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7933 ac_fn_c_check_header_compile
"$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7934 if test "x$ac_cv_header_float_h" = xyes
7936 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7939 ac_fn_c_check_header_compile
"$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7940 if test "x$ac_cv_header_gettext_po_h" = xyes
7942 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7945 ac_fn_c_check_header_compile
"$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7946 if test "x$ac_cv_header_libproc_h" = xyes
7948 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7951 ac_fn_c_check_header_compile
"$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7952 if test "x$ac_cv_header_link_h" = xyes
7954 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7957 ac_fn_c_check_header_compile
"$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7958 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7960 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7963 ac_fn_c_check_header_compile
"$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7964 if test "x$ac_cv_header_linux_filter_h" = xyes
7966 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7969 ac_fn_c_check_header_compile
"$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7970 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7972 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7975 ac_fn_c_check_header_compile
"$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7976 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7978 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7981 ac_fn_c_check_header_compile
"$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7982 if test "x$ac_cv_header_linux_input_h" = xyes
7984 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7987 ac_fn_c_check_header_compile
"$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7988 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7990 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7993 ac_fn_c_check_header_compile
"$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7994 if test "x$ac_cv_header_linux_major_h" = xyes
7996 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7999 ac_fn_c_check_header_compile
"$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
8000 if test "x$ac_cv_header_linux_param_h" = xyes
8002 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
8005 ac_fn_c_check_header_compile
"$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
8006 if test "x$ac_cv_header_linux_serial_h" = xyes
8008 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
8011 ac_fn_c_check_header_compile
"$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
8012 if test "x$ac_cv_header_linux_types_h" = xyes
8014 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
8017 ac_fn_c_check_header_compile
"$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
8018 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
8020 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
8023 ac_fn_c_check_header_compile
"$LINENO" "linux/wireless.h" "ac_cv_header_linux_wireless_h" "$ac_includes_default"
8024 if test "x$ac_cv_header_linux_wireless_h" = xyes
8026 printf "%s\n" "#define HAVE_LINUX_WIRELESS_H 1" >>confdefs.h
8029 ac_fn_c_check_header_compile
"$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
8030 if test "x$ac_cv_header_lwp_h" = xyes
8032 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
8035 ac_fn_c_check_header_compile
"$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
8036 if test "x$ac_cv_header_mach_o_loader_h" = xyes
8038 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8041 ac_fn_c_check_header_compile
"$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8042 if test "x$ac_cv_header_mach_mach_h" = xyes
8044 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8047 ac_fn_c_check_header_compile
"$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8048 if test "x$ac_cv_header_machine_cpu_h" = xyes
8050 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8053 ac_fn_c_check_header_compile
"$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8054 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8056 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8059 ac_fn_c_check_header_compile
"$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8060 if test "x$ac_cv_header_mntent_h" = xyes
8062 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8065 ac_fn_c_check_header_compile
"$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8066 if test "x$ac_cv_header_netdb_h" = xyes
8068 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8071 ac_fn_c_check_header_compile
"$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8072 if test "x$ac_cv_header_netinet_in_h" = xyes
8074 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8077 ac_fn_c_check_header_compile
"$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8078 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8080 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8083 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8084 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8086 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8089 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8090 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8092 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8095 ac_fn_c_check_header_compile
"$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8096 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8098 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8101 ac_fn_c_check_header_compile
"$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8102 if test "x$ac_cv_header_port_h" = xyes
8104 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8107 ac_fn_c_check_header_compile
"$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8108 if test "x$ac_cv_header_pwd_h" = xyes
8110 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8113 ac_fn_c_check_header_compile
"$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8114 if test "x$ac_cv_header_sched_h" = xyes
8116 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8119 ac_fn_c_check_header_compile
"$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8120 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8122 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8125 ac_fn_c_check_header_compile
"$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8126 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8128 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8131 ac_fn_c_check_header_compile
"$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8132 if test "x$ac_cv_header_scsi_sg_h" = xyes
8134 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8137 ac_fn_c_check_header_compile
"$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8138 if test "x$ac_cv_header_stdint_h" = xyes
8140 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8143 ac_fn_c_check_header_compile
"$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8144 if test "x$ac_cv_header_sys_attr_h" = xyes
8146 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8149 ac_fn_c_check_header_compile
"$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8150 if test "x$ac_cv_header_sys_auxv_h" = xyes
8152 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8155 ac_fn_c_check_header_compile
"$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8156 if test "x$ac_cv_header_sys_cdio_h" = xyes
8158 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8161 ac_fn_c_check_header_compile
"$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8162 if test "x$ac_cv_header_sys_epoll_h" = xyes
8164 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8167 ac_fn_c_check_header_compile
"$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8168 if test "x$ac_cv_header_sys_event_h" = xyes
8170 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8173 ac_fn_c_check_header_compile
"$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
8174 if test "x$ac_cv_header_sys_extattr_h" = xyes
8176 printf "%s\n" "#define HAVE_SYS_EXTATTR_H 1" >>confdefs.h
8179 ac_fn_c_check_header_compile
"$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8180 if test "x$ac_cv_header_sys_filio_h" = xyes
8182 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8185 ac_fn_c_check_header_compile
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8186 if test "x$ac_cv_header_sys_ipc_h" = xyes
8188 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8191 ac_fn_c_check_header_compile
"$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8192 if test "x$ac_cv_header_sys_link_h" = xyes
8194 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8197 ac_fn_c_check_header_compile
"$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8198 if test "x$ac_cv_header_sys_modem_h" = xyes
8200 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8203 ac_fn_c_check_header_compile
"$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8204 if test "x$ac_cv_header_sys_mtio_h" = xyes
8206 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8209 ac_fn_c_check_header_compile
"$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8210 if test "x$ac_cv_header_sys_param_h" = xyes
8212 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8215 ac_fn_c_check_header_compile
"$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8216 if test "x$ac_cv_header_sys_prctl_h" = xyes
8218 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8221 ac_fn_c_check_header_compile
"$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8222 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8224 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8227 ac_fn_c_check_header_compile
"$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8228 if test "x$ac_cv_header_sys_queue_h" = xyes
8230 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8233 ac_fn_c_check_header_compile
"$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8234 if test "x$ac_cv_header_sys_random_h" = xyes
8236 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8239 ac_fn_c_check_header_compile
"$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8240 if test "x$ac_cv_header_sys_resource_h" = xyes
8242 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8245 ac_fn_c_check_header_compile
"$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8246 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8248 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8251 ac_fn_c_check_header_compile
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8252 if test "x$ac_cv_header_sys_shm_h" = xyes
8254 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8257 ac_fn_c_check_header_compile
"$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8258 if test "x$ac_cv_header_sys_signal_h" = xyes
8260 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8263 ac_fn_c_check_header_compile
"$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8264 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8266 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8269 ac_fn_c_check_header_compile
"$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8270 if test "x$ac_cv_header_sys_sockio_h" = xyes
8272 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8275 ac_fn_c_check_header_compile
"$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8276 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8278 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8281 ac_fn_c_check_header_compile
"$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8282 if test "x$ac_cv_header_sys_strtio_h" = xyes
8284 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8287 ac_fn_c_check_header_compile
"$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8288 if test "x$ac_cv_header_sys_syscall_h" = xyes
8290 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8293 ac_fn_c_check_header_compile
"$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8294 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8296 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8299 ac_fn_c_check_header_compile
"$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8300 if test "x$ac_cv_header_sys_times_h" = xyes
8302 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8305 ac_fn_c_check_header_compile
"$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8306 if test "x$ac_cv_header_sys_uio_h" = xyes
8308 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8311 ac_fn_c_check_header_compile
"$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8312 if test "x$ac_cv_header_sys_user_h" = xyes
8314 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8317 ac_fn_c_check_header_compile
"$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8318 if test "x$ac_cv_header_sys_utsname_h" = xyes
8320 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8323 ac_fn_c_check_header_compile
"$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8324 if test "x$ac_cv_header_sys_vnode_h" = xyes
8326 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8329 ac_fn_c_check_header_compile
"$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8330 if test "x$ac_cv_header_sys_xattr_h" = xyes
8332 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8335 ac_fn_c_check_header_compile
"$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8336 if test "x$ac_cv_header_syscall_h" = xyes
8338 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8341 ac_fn_c_check_header_compile
"$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8342 if test "x$ac_cv_header_utime_h" = xyes
8344 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8347 ac_fn_c_check_header_compile
"$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8348 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8350 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8353 ac_fn_c_check_header_compile
"$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8354 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8356 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8360 ac_fn_c_check_header_compile
"$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8361 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8364 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8368 if test $ac_cv_header_sys_mkdev_h = no
; then
8369 ac_fn_c_check_header_compile
"$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8370 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8373 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8379 printf %s
"checking whether stat file-mode macros are broken... " >&6; }
8380 if test ${ac_cv_header_stat_broken+y}
8382 printf %s
"(cached) " >&6
8384 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8385 /* end confdefs.h. */
8386 #include <sys/types.h>
8387 #include <sys/stat.h>
8389 #if defined S_ISBLK && defined S_IFDIR
8390 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8393 #if defined S_ISBLK && defined S_IFCHR
8394 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8397 #if defined S_ISLNK && defined S_IFREG
8398 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8401 #if defined S_ISSOCK && defined S_IFREG
8402 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8406 if ac_fn_c_try_compile
"$LINENO"
8408 ac_cv_header_stat_broken
=no
8410 ac_cv_header_stat_broken
=yes
8412 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8415 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8416 if test $ac_cv_header_stat_broken = yes; then
8418 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8424 ac_fn_c_check_header_compile
"$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8425 #ifdef HAVE_SYS_PARAM_H
8426 # include <sys/param.h>
8429 if test "x$ac_cv_header_sys_conf_h" = xyes
8431 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8434 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8435 #ifdef HAVE_SYS_PARAM_H
8436 # include <sys/param.h>
8439 if test "x$ac_cv_header_sys_mount_h" = xyes
8441 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8444 ac_fn_c_check_header_compile
"$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8445 #ifdef HAVE_SYS_PARAM_H
8446 # include <sys/param.h>
8449 if test "x$ac_cv_header_sys_statfs_h" = xyes
8451 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8454 ac_fn_c_check_header_compile
"$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8455 #ifdef HAVE_SYS_PARAM_H
8456 # include <sys/param.h>
8459 if test "x$ac_cv_header_sys_user_h" = xyes
8461 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8464 ac_fn_c_check_header_compile
"$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8465 #ifdef HAVE_SYS_PARAM_H
8466 # include <sys/param.h>
8469 if test "x$ac_cv_header_sys_vfs_h" = xyes
8471 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8476 saved_sysctl_h_CFLAGS
=$CFLAGS
8477 test "x${GCC}" != xyes || CFLAGS
="$CFLAGS -Werror"
8478 ac_fn_c_check_header_compile
"$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8479 #ifdef HAVE_SYS_PARAM_H
8480 # include <sys/param.h>
8483 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8485 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8489 CFLAGS
=$saved_sysctl_h_CFLAGS
8491 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8492 #include <sys/socket.h>
8493 #ifdef HAVE_SYS_SOCKETVAR_H
8494 # include <sys/socketvar.h>
8496 #ifdef HAVE_NET_ROUTE_H
8497 # include <net/route.h>
8499 #ifdef HAVE_NETINET_IN_H
8500 # include <netinet/in.h>
8502 #ifdef HAVE_NETINET_IN_SYSTM_H
8503 # include <netinet/in_systm.h>
8505 #ifdef HAVE_NET_IF_H
8506 # include <net/if.h>
8508 #ifdef HAVE_NETINET_IP_H
8509 # include <netinet/ip.h>
8512 if test "x$ac_cv_header_netinet_ip_h" = xyes
8514 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8517 ac_fn_c_check_header_compile
"$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8518 #include <sys/socket.h>
8519 #ifdef HAVE_SYS_SOCKETVAR_H
8520 # include <sys/socketvar.h>
8522 #ifdef HAVE_NET_ROUTE_H
8523 # include <net/route.h>
8525 #ifdef HAVE_NETINET_IN_H
8526 # include <netinet/in.h>
8528 #ifdef HAVE_NETINET_IN_SYSTM_H
8529 # include <netinet/in_systm.h>
8531 #ifdef HAVE_NET_IF_H
8532 # include <net/if.h>
8534 #ifdef HAVE_NETINET_IP_H
8535 # include <netinet/ip.h>
8538 if test "x$ac_cv_header_net_if_h" = xyes
8540 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8543 ac_fn_c_check_header_compile
"$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8544 #include <sys/socket.h>
8545 #ifdef HAVE_SYS_SOCKETVAR_H
8546 # include <sys/socketvar.h>
8548 #ifdef HAVE_NET_ROUTE_H
8549 # include <net/route.h>
8551 #ifdef HAVE_NETINET_IN_H
8552 # include <netinet/in.h>
8554 #ifdef HAVE_NETINET_IN_SYSTM_H
8555 # include <netinet/in_systm.h>
8557 #ifdef HAVE_NET_IF_H
8558 # include <net/if.h>
8560 #ifdef HAVE_NETINET_IP_H
8561 # include <netinet/ip.h>
8564 if test "x$ac_cv_header_net_if_arp_h" = xyes
8566 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8569 ac_fn_c_check_header_compile
"$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8570 #include <sys/socket.h>
8571 #ifdef HAVE_SYS_SOCKETVAR_H
8572 # include <sys/socketvar.h>
8574 #ifdef HAVE_NET_ROUTE_H
8575 # include <net/route.h>
8577 #ifdef HAVE_NETINET_IN_H
8578 # include <netinet/in.h>
8580 #ifdef HAVE_NETINET_IN_SYSTM_H
8581 # include <netinet/in_systm.h>
8583 #ifdef HAVE_NET_IF_H
8584 # include <net/if.h>
8586 #ifdef HAVE_NETINET_IP_H
8587 # include <netinet/ip.h>
8590 if test "x$ac_cv_header_net_if_dl_h" = xyes
8592 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8595 ac_fn_c_check_header_compile
"$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8596 #include <sys/socket.h>
8597 #ifdef HAVE_SYS_SOCKETVAR_H
8598 # include <sys/socketvar.h>
8600 #ifdef HAVE_NET_ROUTE_H
8601 # include <net/route.h>
8603 #ifdef HAVE_NETINET_IN_H
8604 # include <netinet/in.h>
8606 #ifdef HAVE_NETINET_IN_SYSTM_H
8607 # include <netinet/in_systm.h>
8609 #ifdef HAVE_NET_IF_H
8610 # include <net/if.h>
8612 #ifdef HAVE_NETINET_IP_H
8613 # include <netinet/ip.h>
8616 if test "x$ac_cv_header_net_if_types_h" = xyes
8618 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8621 ac_fn_c_check_header_compile
"$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8622 #include <sys/socket.h>
8623 #ifdef HAVE_SYS_SOCKETVAR_H
8624 # include <sys/socketvar.h>
8626 #ifdef HAVE_NET_ROUTE_H
8627 # include <net/route.h>
8629 #ifdef HAVE_NETINET_IN_H
8630 # include <netinet/in.h>
8632 #ifdef HAVE_NETINET_IN_SYSTM_H
8633 # include <netinet/in_systm.h>
8635 #ifdef HAVE_NET_IF_H
8636 # include <net/if.h>
8638 #ifdef HAVE_NETINET_IP_H
8639 # include <netinet/ip.h>
8642 if test "x$ac_cv_header_net_route_h" = xyes
8644 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8647 ac_fn_c_check_header_compile
"$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8648 #include <sys/socket.h>
8649 #ifdef HAVE_SYS_SOCKETVAR_H
8650 # include <sys/socketvar.h>
8652 #ifdef HAVE_NET_ROUTE_H
8653 # include <net/route.h>
8655 #ifdef HAVE_NETINET_IN_H
8656 # include <netinet/in.h>
8658 #ifdef HAVE_NETINET_IN_SYSTM_H
8659 # include <netinet/in_systm.h>
8661 #ifdef HAVE_NET_IF_H
8662 # include <net/if.h>
8664 #ifdef HAVE_NETINET_IP_H
8665 # include <netinet/ip.h>
8668 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8670 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8673 ac_fn_c_check_header_compile
"$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8674 #include <sys/socket.h>
8675 #ifdef HAVE_SYS_SOCKETVAR_H
8676 # include <sys/socketvar.h>
8678 #ifdef HAVE_NET_ROUTE_H
8679 # include <net/route.h>
8681 #ifdef HAVE_NETINET_IN_H
8682 # include <netinet/in.h>
8684 #ifdef HAVE_NETINET_IN_SYSTM_H
8685 # include <netinet/in_systm.h>
8687 #ifdef HAVE_NET_IF_H
8688 # include <net/if.h>
8690 #ifdef HAVE_NETINET_IP_H
8691 # include <netinet/ip.h>
8694 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8696 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8699 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8700 #include <sys/socket.h>
8701 #ifdef HAVE_SYS_SOCKETVAR_H
8702 # include <sys/socketvar.h>
8704 #ifdef HAVE_NET_ROUTE_H
8705 # include <net/route.h>
8707 #ifdef HAVE_NETINET_IN_H
8708 # include <netinet/in.h>
8710 #ifdef HAVE_NETINET_IN_SYSTM_H
8711 # include <netinet/in_systm.h>
8713 #ifdef HAVE_NET_IF_H
8714 # include <net/if.h>
8716 #ifdef HAVE_NETINET_IP_H
8717 # include <netinet/ip.h>
8720 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8722 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8725 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8726 #include <sys/socket.h>
8727 #ifdef HAVE_SYS_SOCKETVAR_H
8728 # include <sys/socketvar.h>
8730 #ifdef HAVE_NET_ROUTE_H
8731 # include <net/route.h>
8733 #ifdef HAVE_NETINET_IN_H
8734 # include <netinet/in.h>
8736 #ifdef HAVE_NETINET_IN_SYSTM_H
8737 # include <netinet/in_systm.h>
8739 #ifdef HAVE_NET_IF_H
8740 # include <net/if.h>
8742 #ifdef HAVE_NETINET_IP_H
8743 # include <netinet/ip.h>
8746 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8748 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8751 ac_fn_c_check_header_compile
"$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8752 #include <sys/socket.h>
8753 #ifdef HAVE_SYS_SOCKETVAR_H
8754 # include <sys/socketvar.h>
8756 #ifdef HAVE_NET_ROUTE_H
8757 # include <net/route.h>
8759 #ifdef HAVE_NETINET_IN_H
8760 # include <netinet/in.h>
8762 #ifdef HAVE_NETINET_IN_SYSTM_H
8763 # include <netinet/in_systm.h>
8765 #ifdef HAVE_NET_IF_H
8766 # include <net/if.h>
8768 #ifdef HAVE_NETINET_IP_H
8769 # include <netinet/ip.h>
8772 if test "x$ac_cv_header_netinet_udp_h" = xyes
8774 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8777 ac_fn_c_check_header_compile
"$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8778 #include <sys/socket.h>
8779 #ifdef HAVE_SYS_SOCKETVAR_H
8780 # include <sys/socketvar.h>
8782 #ifdef HAVE_NET_ROUTE_H
8783 # include <net/route.h>
8785 #ifdef HAVE_NETINET_IN_H
8786 # include <netinet/in.h>
8788 #ifdef HAVE_NETINET_IN_SYSTM_H
8789 # include <netinet/in_systm.h>
8791 #ifdef HAVE_NET_IF_H
8792 # include <net/if.h>
8794 #ifdef HAVE_NETINET_IP_H
8795 # include <netinet/ip.h>
8798 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8800 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8803 ac_fn_c_check_header_compile
"$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8804 #include <sys/socket.h>
8805 #ifdef HAVE_SYS_SOCKETVAR_H
8806 # include <sys/socketvar.h>
8808 #ifdef HAVE_NET_ROUTE_H
8809 # include <net/route.h>
8811 #ifdef HAVE_NETINET_IN_H
8812 # include <netinet/in.h>
8814 #ifdef HAVE_NETINET_IN_SYSTM_H
8815 # include <netinet/in_systm.h>
8817 #ifdef HAVE_NET_IF_H
8818 # include <net/if.h>
8820 #ifdef HAVE_NETINET_IP_H
8821 # include <netinet/ip.h>
8824 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8826 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8829 ac_fn_c_check_header_compile
"$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8830 #include <sys/socket.h>
8831 #ifdef HAVE_SYS_SOCKETVAR_H
8832 # include <sys/socketvar.h>
8834 #ifdef HAVE_NET_ROUTE_H
8835 # include <net/route.h>
8837 #ifdef HAVE_NETINET_IN_H
8838 # include <netinet/in.h>
8840 #ifdef HAVE_NETINET_IN_SYSTM_H
8841 # include <netinet/in_systm.h>
8843 #ifdef HAVE_NET_IF_H
8844 # include <net/if.h>
8846 #ifdef HAVE_NETINET_IP_H
8847 # include <netinet/ip.h>
8850 if test "x$ac_cv_header_sys_un_h" = xyes
8852 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8857 ac_fn_c_check_header_compile
"$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8858 #include <sys/socket.h>
8859 #ifdef HAVE_SYS_SOCKETVAR_H
8860 # include <sys/socketvar.h>
8862 #ifdef HAVE_NETINET_IN_H
8863 # include <netinet/in.h>
8865 #ifdef HAVE_NETINET_IN_SYSTM_H
8866 # include <netinet/in_systm.h>
8868 #ifdef HAVE_NETINET_IP_H
8869 # include <netinet/ip.h>
8871 #ifdef HAVE_NETINET_IP_VAR_H
8872 # include <netinet/ip_var.h>
8874 #ifdef HAVE_NETINET_IP_ICMP_H
8875 # include <netinet/ip_icmp.h>
8877 #ifdef HAVE_NETINET_UDP_H
8878 # include <netinet/udp.h>
8880 #ifdef HAVE_NETINET_TCP_H
8881 # include <netinet/tcp.h>
8884 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8886 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8889 ac_fn_c_check_header_compile
"$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8890 #include <sys/socket.h>
8891 #ifdef HAVE_SYS_SOCKETVAR_H
8892 # include <sys/socketvar.h>
8894 #ifdef HAVE_NETINET_IN_H
8895 # include <netinet/in.h>
8897 #ifdef HAVE_NETINET_IN_SYSTM_H
8898 # include <netinet/in_systm.h>
8900 #ifdef HAVE_NETINET_IP_H
8901 # include <netinet/ip.h>
8903 #ifdef HAVE_NETINET_IP_VAR_H
8904 # include <netinet/ip_var.h>
8906 #ifdef HAVE_NETINET_IP_ICMP_H
8907 # include <netinet/ip_icmp.h>
8909 #ifdef HAVE_NETINET_UDP_H
8910 # include <netinet/udp.h>
8912 #ifdef HAVE_NETINET_TCP_H
8913 # include <netinet/tcp.h>
8916 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8918 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8921 ac_fn_c_check_header_compile
"$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8922 #include <sys/socket.h>
8923 #ifdef HAVE_SYS_SOCKETVAR_H
8924 # include <sys/socketvar.h>
8926 #ifdef HAVE_NETINET_IN_H
8927 # include <netinet/in.h>
8929 #ifdef HAVE_NETINET_IN_SYSTM_H
8930 # include <netinet/in_systm.h>
8932 #ifdef HAVE_NETINET_IP_H
8933 # include <netinet/ip.h>
8935 #ifdef HAVE_NETINET_IP_VAR_H
8936 # include <netinet/ip_var.h>
8938 #ifdef HAVE_NETINET_IP_ICMP_H
8939 # include <netinet/ip_icmp.h>
8941 #ifdef HAVE_NETINET_UDP_H
8942 # include <netinet/udp.h>
8944 #ifdef HAVE_NETINET_TCP_H
8945 # include <netinet/tcp.h>
8948 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8950 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8953 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8954 #include <sys/socket.h>
8955 #ifdef HAVE_SYS_SOCKETVAR_H
8956 # include <sys/socketvar.h>
8958 #ifdef HAVE_NETINET_IN_H
8959 # include <netinet/in.h>
8961 #ifdef HAVE_NETINET_IN_SYSTM_H
8962 # include <netinet/in_systm.h>
8964 #ifdef HAVE_NETINET_IP_H
8965 # include <netinet/ip.h>
8967 #ifdef HAVE_NETINET_IP_VAR_H
8968 # include <netinet/ip_var.h>
8970 #ifdef HAVE_NETINET_IP_ICMP_H
8971 # include <netinet/ip_icmp.h>
8973 #ifdef HAVE_NETINET_UDP_H
8974 # include <netinet/udp.h>
8976 #ifdef HAVE_NETINET_TCP_H
8977 # include <netinet/tcp.h>
8980 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8982 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8987 ac_fn_c_check_header_compile
"$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8988 #include <sys/socket.h>
8989 #ifdef HAVE_ASM_TYPES_H
8990 # include <asm/types.h>
8992 #ifdef HAVE_LINUX_TYPES_H
8993 # include <linux/types.h>
8996 if test "x$ac_cv_header_linux_ipx_h" = xyes
8998 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
9001 ac_fn_c_check_header_compile
"$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
9002 #include <sys/socket.h>
9003 #ifdef HAVE_ASM_TYPES_H
9004 # include <asm/types.h>
9006 #ifdef HAVE_LINUX_TYPES_H
9007 # include <linux/types.h>
9010 if test "x$ac_cv_header_linux_irda_h" = xyes
9012 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
9015 ac_fn_c_check_header_compile
"$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
9016 #include <sys/socket.h>
9017 #ifdef HAVE_ASM_TYPES_H
9018 # include <asm/types.h>
9020 #ifdef HAVE_LINUX_TYPES_H
9021 # include <linux/types.h>
9024 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
9026 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
9031 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
9032 #include <sys/socket.h>
9033 #ifdef HAVE_NETINET_IN_H
9034 # include <netinet/in.h>
9036 #ifdef HAVE_ARPA_NAMESER_H
9037 # include <arpa/nameser.h>
9040 if test "x$ac_cv_header_resolv_h" = xyes
9042 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9047 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9049 if test "x$ac_cv_header_ifaddrs_h" = xyes
9051 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9056 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9058 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9060 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9065 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9066 #ifdef HAVE_SYS_UCONTEXT_H
9067 #include <sys/ucontext.h>
9070 if test "x$ac_cv_header_sys_thr_h" = xyes
9072 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9077 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#include <pthread.h>
9079 if test "x$ac_cv_header_pthread_np_h" = xyes
9081 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9086 ac_fn_c_check_header_compile
"$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9087 #include <sys/types.h>
9088 #ifdef HAVE_ASM_TYPES_H
9089 #include <asm/types.h>
9092 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9094 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9099 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9100 #include <sys/param.h>
9102 #include <sys/socket.h>
9103 #ifdef HAVE_SYS_QUEUE_H
9104 #include <sys/queue.h>
9107 if test "x$ac_cv_header_libprocstat_h" = xyes
9109 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9114 if test "x$ac_cv_header_sys_xattr_h" = xyes
9116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9117 printf %s
"checking whether getxattr takes additional arguments... " >&6; }
9118 if test ${wine_cv_xattr_extra_args+y}
9120 printf %s
"(cached) " >&6
9122 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9123 /* end confdefs.h. */
9124 #include <sys/xattr.h>
9128 getxattr("", "", "", 0, 0, 0);
9133 if ac_fn_c_try_compile
"$LINENO"
9135 wine_cv_xattr_extra_args
=yes
9137 wine_cv_xattr_extra_args
=no
9139 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
9141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9142 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9143 test $wine_cv_xattr_extra_args != yes ||
9144 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9157 UNIXDLLFLAGS
="-fPIC"
9159 UNIXLDFLAGS
="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9165 WINELOADER_LDFLAGS
=""
9167 WINEPRELOADER_LDFLAGS
=""
9172 # Extract the first word of "ldd", so it can be a program name with args.
9173 set dummy ldd
; ac_word
=$2
9174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9175 printf %s
"checking for $ac_word... " >&6; }
9176 if test ${ac_cv_path_LDD+y}
9178 printf %s
"(cached) " >&6
9182 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
9185 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9186 as_dummy
="/sbin:/usr/sbin:$PATH"
9187 for as_dir
in $as_dummy
9190 case $as_dir in #(((
9193 *) as_dir
=$as_dir/ ;;
9195 for ac_exec_ext
in '' $ac_executable_extensions; do
9196 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9197 ac_cv_path_LDD
="$as_dir$ac_word$ac_exec_ext"
9198 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9205 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
9210 if test -n "$LDD"; then
9211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9212 printf "%s\n" "$LDD" >&6; }
9214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9215 printf "%s\n" "no" >&6; }
9219 if test -n "$ac_tool_prefix"; then
9220 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9221 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
9222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9223 printf %s
"checking for $ac_word... " >&6; }
9224 if test ${ac_cv_prog_OTOOL+y}
9226 printf %s
"(cached) " >&6
9228 if test -n "$OTOOL"; then
9229 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
9231 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9235 case $as_dir in #(((
9238 *) as_dir
=$as_dir/ ;;
9240 for ac_exec_ext
in '' $ac_executable_extensions; do
9241 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9242 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
9243 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9252 OTOOL
=$ac_cv_prog_OTOOL
9253 if test -n "$OTOOL"; then
9254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9255 printf "%s\n" "$OTOOL" >&6; }
9257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9258 printf "%s\n" "no" >&6; }
9263 if test -z "$ac_cv_prog_OTOOL"; then
9265 # Extract the first word of "otool", so it can be a program name with args.
9266 set dummy otool
; ac_word
=$2
9267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9268 printf %s
"checking for $ac_word... " >&6; }
9269 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9271 printf %s
"(cached) " >&6
9273 if test -n "$ac_ct_OTOOL"; then
9274 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
9276 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9280 case $as_dir in #(((
9283 *) as_dir
=$as_dir/ ;;
9285 for ac_exec_ext
in '' $ac_executable_extensions; do
9286 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9287 ac_cv_prog_ac_ct_OTOOL
="otool"
9288 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9297 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
9298 if test -n "$ac_ct_OTOOL"; then
9299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9300 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9303 printf "%s\n" "no" >&6; }
9306 if test "x$ac_ct_OTOOL" = x
; then
9309 case $cross_compiling:$ac_tool_warned in
9311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9312 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9313 ac_tool_warned
=yes ;;
9318 OTOOL
="$ac_cv_prog_OTOOL"
9321 if test -n "$ac_tool_prefix"; then
9322 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9323 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
9324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9325 printf %s
"checking for $ac_word... " >&6; }
9326 if test ${ac_cv_prog_READELF+y}
9328 printf %s
"(cached) " >&6
9330 if test -n "$READELF"; then
9331 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
9333 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9337 case $as_dir in #(((
9340 *) as_dir
=$as_dir/ ;;
9342 for ac_exec_ext
in '' $ac_executable_extensions; do
9343 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9344 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
9345 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9354 READELF
=$ac_cv_prog_READELF
9355 if test -n "$READELF"; then
9356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9357 printf "%s\n" "$READELF" >&6; }
9359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9360 printf "%s\n" "no" >&6; }
9365 if test -z "$ac_cv_prog_READELF"; then
9366 ac_ct_READELF
=$READELF
9367 # Extract the first word of "readelf", so it can be a program name with args.
9368 set dummy readelf
; ac_word
=$2
9369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9370 printf %s
"checking for $ac_word... " >&6; }
9371 if test ${ac_cv_prog_ac_ct_READELF+y}
9373 printf %s
"(cached) " >&6
9375 if test -n "$ac_ct_READELF"; then
9376 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
9378 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9382 case $as_dir in #(((
9385 *) as_dir
=$as_dir/ ;;
9387 for ac_exec_ext
in '' $ac_executable_extensions; do
9388 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9389 ac_cv_prog_ac_ct_READELF
="readelf"
9390 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9399 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
9400 if test -n "$ac_ct_READELF"; then
9401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9402 printf "%s\n" "$ac_ct_READELF" >&6; }
9404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9405 printf "%s\n" "no" >&6; }
9408 if test "x$ac_ct_READELF" = x
; then
9411 case $cross_compiling:$ac_tool_warned in
9413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9414 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9415 ac_tool_warned
=yes ;;
9417 READELF
=$ac_ct_READELF
9420 READELF
="$ac_cv_prog_READELF"
9428 CONFIGURE_TARGETS
=""
9431 wine_fn_config_makefile
()
9433 as_fn_append SUBDIRS
" \\$as_nl $1"
9436 no
) as_fn_append DISABLED_SUBDIRS
" $1" ;;
9438 *aarch64
*|
*arm
*|
*i386
*|
*x86_64
*)
9439 if test -n "$PE_ARCHS"
9443 test $
(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append
${i}_DISABLED_SUBDIRS
" $1"
9446 test $
(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS
" $1"
9449 case "$1, $PE_ARCHS " in
9450 programs
/*,*\ arm64ec\
*) as_fn_append arm64ec_DISABLED_SUBDIRS
" $1" ;;
9455 wine_fn_config_symlink
()
9458 as_fn_append wine_rules
"
9460 @./config.status \$@"
9461 for f
in $ac_links; do as_fn_append CONFIGURE_TARGETS
" $f"; done
9468 EXTRACFLAGS
="-D__WINE_PE_BUILD"
9469 if test "x$HOST_ARCH" = xi386
9471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9472 printf %s
"checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9473 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9475 printf %s
"(cached) " >&6
9477 ac_wine_try_cflags_saved
=$CFLAGS
9478 CFLAGS
="$CFLAGS -Wl,--disable-stdcall-fixup"
9479 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9480 /* end confdefs.h. */
9481 int main(int argc, char **argv) { return 0; }
9483 if ac_fn_c_try_link
"$LINENO"
9485 ac_cv_cflags__Wl___disable_stdcall_fixup
=yes
9487 ac_cv_cflags__Wl___disable_stdcall_fixup
=no
9489 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9490 conftest
$ac_exeext conftest.
$ac_ext
9491 CFLAGS
=$ac_wine_try_cflags_saved
9493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9494 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9495 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9497 LDDLLFLAGS
="-Wl,--disable-stdcall-fixup"
9500 enable_loader
=${enable_loader:-no}
9501 enable_server
=${enable_server:-no}
9502 with_x
=${with_x:-no}
9503 with_pthread
=${with_pthread:-no}
9508 DLLFLAGS
="$DLLFLAGS -fPIC"
9510 enable_winemac_drv
=${enable_winemac_drv:-yes}
9511 CARBON_LIBS
="-framework Carbon"
9513 COREFOUNDATION_LIBS
="-framework CoreFoundation"
9515 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
9517 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
9519 METAL_LIBS
="-framework Metal"
9521 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
9523 CORESERVICES_LIBS
="-framework CoreServices"
9525 APPKIT_LIBS
="-framework AppKit"
9527 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
9529 SYSTEMCONFIGURATION_LIBS
="-framework SystemConfiguration"
9532 WINELOADER_LDFLAGS
="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9535 i386|x86_64
) wine_can_build_preloader
=yes ;;
9536 *) wine_can_build_preloader
=no
;;
9539 if test "$wine_can_build_preloader" = "yes"
9541 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"
9542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9543 printf %s
"checking whether the compiler supports -Wl,-no_pie... " >&6; }
9544 if test ${ac_cv_cflags__Wl__no_pie+y}
9546 printf %s
"(cached) " >&6
9548 ac_wine_try_cflags_saved
=$CFLAGS
9549 CFLAGS
="$CFLAGS -Wl,-no_pie"
9550 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9551 /* end confdefs.h. */
9552 int main(int argc, char **argv) { return 0; }
9554 if ac_fn_c_try_link
"$LINENO"
9556 ac_cv_cflags__Wl__no_pie
=yes
9558 ac_cv_cflags__Wl__no_pie
=no
9560 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9561 conftest
$ac_exeext conftest.
$ac_ext
9562 CFLAGS
=$ac_wine_try_cflags_saved
9564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9565 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9566 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9568 WINEPRELOADER_LDFLAGS
="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9572 WINEPRELOADER_LDFLAGS
="-Wl,-image_base,0x7d400000 $WINEPRELOADER_LDFLAGS"
9575 WINEPRELOADER_LDFLAGS
="-Wl,-image_base,0x200000000,-segalign,0x1000,-segaddr,WINE_RESERVE,0x1000 $WINEPRELOADER_LDFLAGS"
9578 WINELOADER_LDFLAGS
="$WINELOADER_LDFLAGS -mmacosx-version-min=10.7"
9580 as_fn_append wine_warnings
"|can't build Wine preloader; many programs won't work"
9583 if test "x$with_coreaudio" != "xno";
9585 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9587 enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-yes}
9589 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9591 OPENCL_LIBS
="-framework OpenCL"
9593 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
9596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9597 printf %s
"checking whether MTLDevice protocol supports registryID property... " >&6; }
9599 ac_cpp
='$OBJCPP $CPPFLAGS'
9600 ac_compile
='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9601 ac_link
='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9602 ac_compiler_gnu
=$ac_cv_objc_compiler_gnu
9605 ac_cpp
='$OBJCPP $CPPFLAGS'
9606 ac_compile
='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9607 ac_link
='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9608 ac_compiler_gnu
=$ac_cv_objc_compiler_gnu
9609 if test -n "$ac_tool_prefix"; then
9610 for ac_prog
in gcc objcc objc cc CC clang
9612 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9613 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
9614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9615 printf %s
"checking for $ac_word... " >&6; }
9616 if test ${ac_cv_prog_OBJC+y}
9618 printf %s
"(cached) " >&6
9620 if test -n "$OBJC"; then
9621 ac_cv_prog_OBJC
="$OBJC" # Let the user override the test.
9623 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9627 case $as_dir in #(((
9630 *) as_dir
=$as_dir/ ;;
9632 for ac_exec_ext
in '' $ac_executable_extensions; do
9633 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9634 ac_cv_prog_OBJC
="$ac_tool_prefix$ac_prog"
9635 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9644 OBJC
=$ac_cv_prog_OBJC
9645 if test -n "$OBJC"; then
9646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9647 printf "%s\n" "$OBJC" >&6; }
9649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9650 printf "%s\n" "no" >&6; }
9654 test -n "$OBJC" && break
9657 if test -z "$OBJC"; then
9659 for ac_prog
in gcc objcc objc cc CC clang
9661 # Extract the first word of "$ac_prog", so it can be a program name with args.
9662 set dummy
$ac_prog; ac_word
=$2
9663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9664 printf %s
"checking for $ac_word... " >&6; }
9665 if test ${ac_cv_prog_ac_ct_OBJC+y}
9667 printf %s
"(cached) " >&6
9669 if test -n "$ac_ct_OBJC"; then
9670 ac_cv_prog_ac_ct_OBJC
="$ac_ct_OBJC" # Let the user override the test.
9672 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9676 case $as_dir in #(((
9679 *) as_dir
=$as_dir/ ;;
9681 for ac_exec_ext
in '' $ac_executable_extensions; do
9682 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9683 ac_cv_prog_ac_ct_OBJC
="$ac_prog"
9684 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9693 ac_ct_OBJC
=$ac_cv_prog_ac_ct_OBJC
9694 if test -n "$ac_ct_OBJC"; then
9695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9696 printf "%s\n" "$ac_ct_OBJC" >&6; }
9698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9699 printf "%s\n" "no" >&6; }
9703 test -n "$ac_ct_OBJC" && break
9706 if test "x$ac_ct_OBJC" = x
; then
9709 case $cross_compiling:$ac_tool_warned in
9711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9712 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9713 ac_tool_warned
=yes ;;
9719 # Provide some information about the compiler.
9720 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9723 for ac_option
in --version -v -V -qversion; do
9724 { { ac_try
="$ac_compiler $ac_option >&5"
9726 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9727 *) ac_try_echo=$ac_try;;
9729 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9730 printf "%s\n" "$ac_try_echo"; } >&5
9731 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9733 if test -s conftest.err; then
9735 ... rest of stderr output deleted ...
9736 10q' conftest.err >conftest.er1
9737 cat conftest.er1 >&5
9739 rm -f conftest.er1 conftest.err
9740 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9741 test $ac_status = 0; }
9744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9745 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9746 if test ${ac_cv_objc_compiler_gnu+y}
9748 printf %s "(cached) " >&6
9750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9751 /* end confdefs.h. */
9764 if ac_fn_objc_try_compile "$LINENO"
9770 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9771 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9775 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9776 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9778 if test $ac_compiler_gnu = yes; then
9783 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9784 ac_save_OBJCFLAGS=$OBJCFLAGS
9785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9786 printf %s "checking whether $OBJC accepts -g... " >&6; }
9787 if test ${ac_cv_prog_objc_g+y}
9789 printf %s "(cached) " >&6
9791 ac_save_objc_werror_flag=$ac_objc_werror_flag
9792 ac_objc_werror_flag=yes
9793 ac_cv_prog_objc_g=no
9795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9796 /* end confdefs.h. */
9806 if ac_fn_objc_try_compile "$LINENO"
9808 ac_cv_prog_objc_g=yes
9811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9812 /* end confdefs.h. */
9822 if ac_fn_objc_try_compile "$LINENO"
9826 ac_objc_werror_flag=$ac_save_objc_werror_flag
9828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9829 /* end confdefs.h. */
9839 if ac_fn_objc_try_compile "$LINENO"
9841 ac_cv_prog_objc_g=yes
9843 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9845 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9847 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9848 ac_objc_werror_flag=$ac_save_objc_werror_flag
9850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9851 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9852 if test $ac_test_OBJCFLAGS; then
9853 OBJCFLAGS=$ac_save_OBJCFLAGS
9854 elif test $ac_cv_prog_objc_g = yes; then
9855 if test "$GOBJC" = yes; then
9861 if test "$GOBJC" = yes; then
9868 ac_cpp='$OBJCPP $CPPFLAGS'
9869 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9870 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9871 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9875 /* end confdefs.h. */
9876 #include <Metal/Metal.h>
9880 id<MTLDevice> device; device.registryID;
9885 if ac_fn_objc_try_compile "$LINENO"
9887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9888 printf "%s\n" "yes" >&6; }
9890 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9894 printf "%s\n" "no" >&6; }
9896 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9898 ac_cpp='$CPP $CPPFLAGS'
9899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9904 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
9905 WINELOADER_DEPENDS="wine_info.plist"
9911 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
9913 DLLFLAGS="$DLLFLAGS -fPIC"
9915 LDEXECFLAGS="-Wl,-pie"
9916 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9918 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9919 if test ${ac_cv_cflags__Wl__z_defs+y}
9921 printf %s "(cached) " >&6
9923 ac_wine_try_cflags_saved=$CFLAGS
9924 CFLAGS="$CFLAGS -Wl,-z,defs"
9925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9926 /* end confdefs.h. */
9927 int main(int argc, char **argv) { return 0; }
9929 if ac_fn_c_try_link "$LINENO"
9931 ac_cv_cflags__Wl__z_defs=yes
9933 ac_cv_cflags__Wl__z_defs=no
9935 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9936 conftest$ac_exeext conftest.$ac_ext
9937 CFLAGS=$ac_wine_try_cflags_saved
9939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9940 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
9941 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
9943 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9946 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9947 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
9949 printf %s "(cached) " >&6
9951 ac_wine_try_cflags_saved=$CFLAGS
9952 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9954 /* end confdefs.h. */
9955 int main(int argc, char **argv) { return 0; }
9957 if ac_fn_c_try_link "$LINENO"
9959 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9961 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9963 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9964 conftest$ac_exeext conftest.$ac_ext
9965 CFLAGS=$ac_wine_try_cflags_saved
9967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9968 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9969 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
9971 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9973 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9976 printf %s "checking for -lEGL... " >&6; }
9977 if test ${ac_cv_lib_soname_EGL+y}
9979 printf %s "(cached) " >&6
9981 ac_check_soname_save_LIBS=$LIBS
9983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9984 /* end confdefs.h. */
9986 /* Override any GCC internal prototype to avoid an error.
9987 Use char because int might match the return type of a GCC
9988 builtin and then its argument prototype would still apply. */
9989 char eglGetProcAddress ();
9993 return eglGetProcAddress ();
9998 if ac_fn_c_try_link "$LINENO"
10001 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe |
grep "EGL" |
sed -e "s/dll.*/dll/"';2,$d'` ;;
10002 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'` ;;
10003 *) ac_cv_lib_soname_EGL=`$READELF -d conftest
$ac_exeext |
grep "NEEDED.*libEGL\\.$LIBEXT" |
sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10004 if ${ac_cv_lib_soname_EGL:+false} :
10006 ac_cv_lib_soname_EGL=`$LDD conftest
$ac_exeext |
grep "libEGL\\.$LIBEXT" |
sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10010 ac_cv_lib_soname_EGL=
10012 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10013 conftest$ac_exeext conftest.$ac_ext
10014 LIBS=$ac_check_soname_save_LIBS
10016 if ${ac_cv_lib_soname_EGL:+false} :
10018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10019 printf "%s\n" "not found" >&6; }
10022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10023 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10025 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10030 printf %s "checking for -lGLESv2... " >&6; }
10031 if test ${ac_cv_lib_soname_GLESv2+y}
10033 printf %s "(cached) " >&6
10035 ac_check_soname_save_LIBS=$LIBS
10036 LIBS="-lGLESv2 $LIBS"
10037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10038 /* end confdefs.h. */
10040 /* Override any GCC internal prototype to avoid an error.
10041 Use char because int might match the return type of a GCC
10042 builtin and then its argument prototype would still apply. */
10052 if ac_fn_c_try_link "$LINENO"
10055 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe |
grep "GLESv2" |
sed -e "s/dll.*/dll/"';2,$d'` ;;
10056 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'` ;;
10057 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest
$ac_exeext |
grep "NEEDED.*libGLESv2\\.$LIBEXT" |
sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10058 if ${ac_cv_lib_soname_GLESv2:+false} :
10060 ac_cv_lib_soname_GLESv2=`$LDD conftest
$ac_exeext |
grep "libGLESv2\\.$LIBEXT" |
sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10064 ac_cv_lib_soname_GLESv2=
10066 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10067 conftest$ac_exeext conftest.$ac_ext
10068 LIBS=$ac_check_soname_save_LIBS
10070 if ${ac_cv_lib_soname_GLESv2:+false} :
10072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10073 printf "%s\n" "not found" >&6; }
10076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10077 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10079 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10084 if test "x$exec_prefix" = xNONE
10087 i386) exec_prefix='${prefix}/x86' ;;
10088 x86_64) exec_prefix='${prefix}/x86_64' ;;
10089 arm) exec_prefix='${prefix}/armeabi-v7a' ;;
10090 aarch64) exec_prefix='${prefix}/arm64-v8a' ;;
10097 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10099 if test $HOST_ARCH = i386
10101 DLLFLAGS="$DLLFLAGS -fno-PIC"
10102 LDDLLFLAGS="-fno-PIC"
10103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10104 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10105 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10107 printf %s "(cached) " >&6
10109 ac_wine_try_cflags_saved=$CFLAGS
10110 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10112 /* end confdefs.h. */
10113 int main(int argc, char **argv) { return 0; }
10115 if ac_fn_c_try_link "$LINENO"
10117 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10119 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10121 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10122 conftest$ac_exeext conftest.$ac_ext
10123 CFLAGS=$ac_wine_try_cflags_saved
10125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10126 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10127 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10129 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10132 DLLFLAGS="$DLLFLAGS -fPIC"
10136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -Wl,-z,defs works correctly" >&5
10137 printf %s "checking whether -Wl,-z,defs works correctly... " >&6; }
10138 if test ${ac_cv_wl_z_defs+y}
10140 printf %s "(cached) " >&6
10142 ac_save_CFLAGS="$CFLAGS"
10143 CFLAGS="$CFLAGS $UNIXDLLFLAGS $UNIXLDFLAGS -Wl,-z,defs"
10144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10145 /* end confdefs.h. */
10146 extern char **environ; char **envp; void myfunc(void) { envp = environ; }
10148 if ac_fn_c_try_link "$LINENO"
10150 ac_cv_wl_z_defs=yes
10154 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10155 conftest$ac_exeext conftest.$ac_ext
10156 CFLAGS=$ac_save_CFLAGS
10158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_wl_z_defs" >&5
10159 printf "%s\n" "$ac_cv_wl_z_defs" >&6; }
10160 test $ac_cv_wl_z_defs != yes || as_fn_append UNIXLDFLAGS " -Wl,-z,defs"
10162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10163 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10164 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10166 printf %s "(cached) " >&6
10168 ac_wine_try_cflags_saved=$CFLAGS
10169 CFLAGS="$CFLAGS -Wl,--export-dynamic"
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__Wl___export_dynamic=yes
10178 ac_cv_cflags__Wl___export_dynamic=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__Wl___export_dynamic" >&5
10185 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10186 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10188 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10190 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs"
10194 as_fn_append WINELOADER_LDFLAGS " -pie"
10197 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d400000" ;;
10199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -static-pie" >&5
10200 printf %s "checking whether the compiler supports -static-pie... " >&6; }
10201 if test ${ac_cv_cflags__static_pie+y}
10203 printf %s "(cached) " >&6
10205 ac_wine_try_cflags_saved=$CFLAGS
10206 CFLAGS="$CFLAGS -static-pie"
10207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10208 /* end confdefs.h. */
10209 int main(int argc, char **argv) { return 0; }
10211 if ac_fn_c_try_link "$LINENO"
10213 ac_cv_cflags__static_pie=yes
10215 ac_cv_cflags__static_pie=no
10217 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10218 conftest$ac_exeext conftest.$ac_ext
10219 CFLAGS=$ac_wine_try_cflags_saved
10221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__static_pie" >&5
10222 printf "%s\n" "$ac_cv_cflags__static_pie" >&6; }
10223 if test "x$ac_cv_cflags__static_pie" = xyes
10225 as_fn_append WINEPRELOADER_LDFLAGS " -static-pie"
10227 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d7d00000000"
10235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x60000000" >&5
10236 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x60000000... " >&6; }
10237 if test ${ac_cv_cflags__Wl__Ttext_segment_0x60000000+y}
10239 printf %s "(cached) " >&6
10241 ac_wine_try_cflags_saved=$CFLAGS
10242 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x60000000"
10243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10244 /* end confdefs.h. */
10245 int main(int argc, char **argv) { return 0; }
10247 if ac_fn_c_try_link "$LINENO"
10249 ac_cv_cflags__Wl__Ttext_segment_0x60000000=yes
10251 ac_cv_cflags__Wl__Ttext_segment_0x60000000=no
10253 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10254 conftest$ac_exeext conftest.$ac_ext
10255 CFLAGS=$ac_wine_try_cflags_saved
10257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&5
10258 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&6; }
10259 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x60000000" = xyes
10261 as_fn_append WINELOADER_LDFLAGS " -Wl,-Ttext-segment=0x60000000"
10263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x60000400" >&5
10264 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x60000400... " >&6; }
10265 if test ${ac_cv_cflags__Wl___section_start__interp_0x60000400+y}
10267 printf %s "(cached) " >&6
10269 ac_wine_try_cflags_saved=$CFLAGS
10270 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x60000400"
10271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10272 /* end confdefs.h. */
10273 int main(int argc, char **argv) { return 0; }
10275 if ac_fn_c_try_link "$LINENO"
10277 ac_cv_cflags__Wl___section_start__interp_0x60000400=yes
10279 ac_cv_cflags__Wl___section_start__interp_0x60000400=no
10281 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10282 conftest$ac_exeext conftest.$ac_ext
10283 CFLAGS=$ac_wine_try_cflags_saved
10285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x60000400" >&5
10286 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x60000400" >&6; }
10287 if test "x$ac_cv_cflags__Wl___section_start__interp_0x60000400" = xyes
10289 as_fn_append WINELOADER_LDFLAGS " -Wl,--section-start,.interp=0x60000400"
10294 as_fn_append WINELOADER_LDFLAGS " -pie"
10302 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10303 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10304 enable_winemac_drv=${enable_winemac_drv:-no}
10309 if test ${enable_archs+y}
10311 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10314 set x $enable_archs
10320 i386|x86_64|arm|aarch64|arm64ec) cross_archs="$cross_archs $arch" ;;
10321 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10325 if test "x$with_mingw" != xno
10327 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10332 saved_CFLAGS=$CFLAGS
10333 saved_LDFLAGS=$LDFLAGS
10335 { extra_arch=; unset extra_arch;}
10336 for arch in $cross_archs
10339 arm64ec) test ${extra_arch+y} || extra_arch=x86_64 ;;
10340 x86_64) extra_arch="" ;;
10344 for wine_arch in $cross_archs $extra_arch
10346 case "x$with_mingw" in
10347 xclang|x*/clang) eval "${wine_arch}_CC=\$with_mingw" ;;
10349 if eval \${${wine_arch}_CC:+false} :
10353 for ac_prog in aarch64-w64-mingw32-clang aarch64-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_aarch64_CC+y}
10361 printf %s "(cached) " >&6
10363 if test -n "$aarch64_CC"; then
10364 ac_cv_prog_aarch64_CC="$aarch64_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_aarch64_CC="$ac_prog"
10378 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10387 aarch64_CC=$ac_cv_prog_aarch64_CC
10388 if test -n "$aarch64_CC"; then
10389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10390 printf "%s\n" "$aarch64_CC" >&6; }
10392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10393 printf "%s\n" "no" >&6; }
10397 test -n "$aarch64_CC" && break
10399 test -n "$aarch64_CC" || aarch64_CC="false"
10403 for ac_prog in arm64ec-w64-mingw32-clang arm64ec-w64-mingw32-gcc clang
10405 # Extract the first word of "$ac_prog", so it can be a program name with args.
10406 set dummy $ac_prog; ac_word=$2
10407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10408 printf %s "checking for $ac_word... " >&6; }
10409 if test ${ac_cv_prog_arm64ec_CC+y}
10411 printf %s "(cached) " >&6
10413 if test -n "$arm64ec_CC"; then
10414 ac_cv_prog_arm64ec_CC="$arm64ec_CC" # Let the user override the test.
10416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10417 for as_dir in $PATH
10420 case $as_dir in #(((
10423 *) as_dir=$as_dir/ ;;
10425 for ac_exec_ext in '' $ac_executable_extensions; do
10426 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10427 ac_cv_prog_arm64ec_CC="$ac_prog"
10428 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10437 arm64ec_CC=$ac_cv_prog_arm64ec_CC
10438 if test -n "$arm64ec_CC"; then
10439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm64ec_CC" >&5
10440 printf "%s\n" "$arm64ec_CC" >&6; }
10442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10443 printf "%s\n" "no" >&6; }
10447 test -n "$arm64ec_CC" && break
10449 test -n "$arm64ec_CC" || arm64ec_CC="false"
10453 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10455 # Extract the first word of "$ac_prog", so it can be a program name with args.
10456 set dummy $ac_prog; ac_word=$2
10457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10458 printf %s "checking for $ac_word... " >&6; }
10459 if test ${ac_cv_prog_arm_CC+y}
10461 printf %s "(cached) " >&6
10463 if test -n "$arm_CC"; then
10464 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10467 for as_dir in $PATH
10470 case $as_dir in #(((
10473 *) as_dir=$as_dir/ ;;
10475 for ac_exec_ext in '' $ac_executable_extensions; do
10476 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10477 ac_cv_prog_arm_CC="$ac_prog"
10478 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10487 arm_CC=$ac_cv_prog_arm_CC
10488 if test -n "$arm_CC"; then
10489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10490 printf "%s\n" "$arm_CC" >&6; }
10492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10493 printf "%s\n" "no" >&6; }
10497 test -n "$arm_CC" && break
10499 test -n "$arm_CC" || arm_CC="false"
10503 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 "
10504 for ac_prog in $ac_prefix_list clang
10506 # Extract the first word of "$ac_prog", so it can be a program name with args.
10507 set dummy $ac_prog; ac_word=$2
10508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10509 printf %s "checking for $ac_word... " >&6; }
10510 if test ${ac_cv_prog_i386_CC+y}
10512 printf %s "(cached) " >&6
10514 if test -n "$i386_CC"; then
10515 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10518 for as_dir in $PATH
10521 case $as_dir in #(((
10524 *) as_dir=$as_dir/ ;;
10526 for ac_exec_ext in '' $ac_executable_extensions; do
10527 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10528 ac_cv_prog_i386_CC="$ac_prog"
10529 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10538 i386_CC=$ac_cv_prog_i386_CC
10539 if test -n "$i386_CC"; then
10540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10541 printf "%s\n" "$i386_CC" >&6; }
10543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10544 printf "%s\n" "no" >&6; }
10548 test -n "$i386_CC" && break
10550 test -n "$i386_CC" || i386_CC="false"
10554 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10555 for ac_prog in $ac_prefix_list clang
10557 # Extract the first word of "$ac_prog", so it can be a program name with args.
10558 set dummy $ac_prog; ac_word=$2
10559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10560 printf %s "checking for $ac_word... " >&6; }
10561 if test ${ac_cv_prog_x86_64_CC+y}
10563 printf %s "(cached) " >&6
10565 if test -n "$x86_64_CC"; then
10566 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10569 for as_dir in $PATH
10572 case $as_dir in #(((
10575 *) as_dir=$as_dir/ ;;
10577 for ac_exec_ext in '' $ac_executable_extensions; do
10578 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10579 ac_cv_prog_x86_64_CC="$ac_prog"
10580 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10589 x86_64_CC=$ac_cv_prog_x86_64_CC
10590 if test -n "$x86_64_CC"; then
10591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10592 printf "%s\n" "$x86_64_CC" >&6; }
10594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10595 printf "%s\n" "no" >&6; }
10599 test -n "$x86_64_CC" && break
10601 test -n "$x86_64_CC" || x86_64_CC="false"
10607 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10608 LDFLAGS=$CROSSLDFLAGS
10609 eval CC=\$${wine_arch}_CC
10610 eval ${wine_arch}_CFLAGS=\$CFLAGS
10611 eval ${wine_arch}_LDFLAGS=\$LDFLAGS
10612 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10615 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" |
$as_tr_sh`
10617 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10622 printf %s "checking whether $CC works... " >&6; }
10623 if eval test \${$as_wine_cv_crosscc+y}
10625 printf %s "(cached) " >&6
10627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10628 /* end confdefs.h. */
10638 if ac_fn_c_try_compile "$LINENO"
10640 eval "$as_wine_cv_crosscc=yes"
10642 eval "$as_wine_cv_crosscc=no"
10644 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10646 eval ac_res=\$$as_wine_cv_crosscc
10647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10648 printf "%s\n" "$ac_res" >&6; }
10650 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10654 while test $# -ge 1
10657 */*-gcc) target=`expr "$1" : '.*/\(.*\)-gcc'` ;;
10658 */*-clang) target=`expr "$1" : '.*/\(.*\)-clang'` ;;
10659 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10660 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10665 llvm_target=$target
10666 if test -z "$llvm_target"
10669 i386) llvm_target=i686-windows ;;
10670 arm) llvm_target=armv7-windows ;;
10671 *) llvm_target=$wine_arch-windows ;;
10674 llvm_extra_cflags="-target $llvm_target -fuse-ld=lld"
10675 llvm_extra_ldflags=""
10676 case $llvm_target in
10677 *windows) llvm_cflags="-Wl,-subsystem:console -Wl,-WX" ;;
10679 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags --no-default-config" |
$as_tr_sh`
10680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags --no-default-config" >&5
10681 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags --no-default-config... " >&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 $llvm_extra_cflags $llvm_cflags --no-default-config"
10690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10691 /* end confdefs.h. */
10692 void *__os_arm64x_dispatch_ret = 0;
10693 int __cdecl mainCRTStartup(void) { return 0; }
10695 if ac_fn_c_try_link "$LINENO"
10697 eval "$as_ac_var=yes"
10699 eval "$as_ac_var=no"
10701 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10702 conftest$ac_exeext conftest.$ac_ext
10703 CFLAGS=$ac_wine_try_cflags_saved
10704 ac_exeext=$ac_wine_try_cflags_saved_exeext
10706 eval ac_res=\$$as_ac_var
10707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10708 printf "%s\n" "$ac_res" >&6; }
10709 if eval test \"x\$"$as_ac_var"\" = x"yes"
10711 llvm_extra_cflags="$llvm_extra_cflags --no-default-config"
10712 llvm_extra_ldflags="--no-default-config"
10714 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags" |
$as_tr_sh`
10715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags" >&5
10716 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags... " >&6; }
10717 if eval test \${$as_ac_var+y}
10719 printf %s "(cached) " >&6
10721 ac_wine_try_cflags_saved=$CFLAGS
10722 ac_wine_try_cflags_saved_exeext=$ac_exeext
10723 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags"
10725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10726 /* end confdefs.h. */
10727 void *__os_arm64x_dispatch_ret = 0;
10728 int __cdecl mainCRTStartup(void) { return 0; }
10730 if ac_fn_c_try_link "$LINENO"
10732 eval "$as_ac_var=yes"
10734 eval "$as_ac_var=no"
10736 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10737 conftest$ac_exeext conftest.$ac_ext
10738 CFLAGS=$ac_wine_try_cflags_saved
10739 ac_exeext=$ac_wine_try_cflags_saved_exeext
10741 eval ac_res=\$$as_ac_var
10742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10743 printf "%s\n" "$ac_res" >&6; }
10744 if eval test \"x\$"$as_ac_var"\" = x"yes"
10748 llvm_extra_cflags=""
10751 if test -n "$llvm_extra_cflags"
10753 target=$llvm_target
10754 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10755 as_fn_append ${wine_arch}_EXTRACFLAGS " $llvm_extra_cflags"
10756 as_fn_append ${wine_arch}_LDFLAGS " $llvm_extra_ldflags"
10757 CFLAGS="$llvm_extra_cflags $llvm_cflags"
10759 eval "${wine_arch}_TARGET=\$target"
10763 if test -z "$target"
10765 if test ${enable_archs+y}
10767 as_fn_error $? "$wine_arch PE cross-compiler not found.
10768 This is an error since --enable-archs=$wine_arch was requested." "$LINENO" 5
10773 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" |
$as_tr_sh`
10775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10776 printf %s "checking for $CC option to enable C99 features... " >&6; }
10777 if eval test \${$as_wine_cv_crosscc_c99+y}
10779 printf %s "(cached) " >&6
10781 eval "$as_wine_cv_crosscc_c99=no"
10782 for arg in '' '-std=gnu99' '-D__STDC__'
10784 test -z "$arg" || CC="$CC $arg"
10785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10786 /* end confdefs.h. */
10787 $ac_c_conftest_c99_program
10789 if ac_fn_c_try_compile "$LINENO"
10791 eval "$as_wine_cv_crosscc_c99=\$arg"
10793 eval "$as_wine_cv_crosscc_c99=no"
10795 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10796 eval CC=\$${wine_arch}_CC
10797 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10806 eval res=\$$as_wine_cv_crosscc_c99
10809 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10810 printf "%s\n" "none needed" >&6; } ;;
10811 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10812 printf "%s\n" "unsupported" >&6; }
10813 if test ${enable_archs+y}
10815 as_fn_error $? "$wine_arch PE cross-compiler supporting C99 not found.
10816 This is an error since --enable-archs=$wine_arch was requested." "$LINENO" 5
10820 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10821 printf "%s\n" "$res" >&6; }
10822 as_fn_append ${wine_arch}_CC " $res" ;;
10825 if test "x$wine_arch" = xi386
10829 as_wine_cv_seh_support=`printf "%s\n" "ac_cv_${wine_arch}_seh_support" |
$as_tr_sh`
10831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports SEH directives" >&5
10832 printf %s "checking whether $CC supports SEH directives... " >&6; }
10833 if eval test \${$as_wine_cv_seh_support+y}
10835 printf %s "(cached) " >&6
10837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10838 /* end confdefs.h. */
10839 asm(".text\nac_test:\t.seh_proc ac_test\n\tnop\n\t.seh_stackalloc 16\n\t.seh_endprologue\n\t.seh_endproc");
10848 if ac_fn_c_try_compile "$LINENO"
10850 eval "$as_wine_cv_seh_support=yes"
10852 eval "$as_wine_cv_seh_support=no"
10854 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10856 eval ac_res=\$$as_wine_cv_seh_support
10857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10858 printf "%s\n" "$ac_res" >&6; }
10859 eval res=\$$as_wine_cv_seh_support
10861 if test "x$res" = xyes
10865 if test ${enable_archs+y}
10867 as_fn_error $? "The $wine_arch PE cross-compiler doesn't support SEH directives.
10868 This is an error since --enable-archs=$wine_arch was requested." "$LINENO" 5
10874 if test "x$wine_arch" = x$extra_arch
10878 as_fn_append PE_ARCHS " $wine_arch"
10881 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" |
$as_tr_sh`
10882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10883 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10884 if eval test \${$as_ac_var+y}
10886 printf %s "(cached) " >&6
10888 ac_wine_try_cflags_saved=$CFLAGS
10889 ac_wine_try_cflags_saved_exeext=$ac_exeext
10890 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-strict-aliasing"
10892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10893 /* end confdefs.h. */
10894 void *__os_arm64x_dispatch_ret = 0;
10895 int __cdecl mainCRTStartup(void) { return 0; }
10897 if ac_fn_c_try_link "$LINENO"
10899 eval "$as_ac_var=yes"
10901 eval "$as_ac_var=no"
10903 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10904 conftest$ac_exeext conftest.$ac_ext
10905 CFLAGS=$ac_wine_try_cflags_saved
10906 ac_exeext=$ac_wine_try_cflags_saved_exeext
10908 eval ac_res=\$$as_ac_var
10909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10910 printf "%s\n" "$ac_res" >&6; }
10911 if eval test \"x\$"$as_ac_var"\" = x"yes"
10913 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10915 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" |
$as_tr_sh`
10916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10917 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10918 if eval test \${$as_ac_var+y}
10920 printf %s "(cached) " >&6
10922 ac_wine_try_cflags_saved=$CFLAGS
10923 ac_wine_try_cflags_saved_exeext=$ac_exeext
10924 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=unknown-warning-option"
10926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10927 /* end confdefs.h. */
10928 void *__os_arm64x_dispatch_ret = 0;
10929 int __cdecl mainCRTStartup(void) { return 0; }
10931 if ac_fn_c_try_link "$LINENO"
10933 eval "$as_ac_var=yes"
10935 eval "$as_ac_var=no"
10937 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10938 conftest$ac_exeext conftest.$ac_ext
10939 CFLAGS=$ac_wine_try_cflags_saved
10940 ac_exeext=$ac_wine_try_cflags_saved_exeext
10942 eval ac_res=\$$as_ac_var
10943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10944 printf "%s\n" "$ac_res" >&6; }
10945 if eval test \"x\$"$as_ac_var"\" = x"yes"
10947 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10949 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" |
$as_tr_sh`
10950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
10951 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
10952 if eval test \${$as_ac_var+y}
10954 printf %s "(cached) " >&6
10956 ac_wine_try_cflags_saved=$CFLAGS
10957 ac_wine_try_cflags_saved_exeext=$ac_exeext
10958 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=ignored-optimization-argument"
10960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10961 /* end confdefs.h. */
10962 void *__os_arm64x_dispatch_ret = 0;
10963 int __cdecl mainCRTStartup(void) { return 0; }
10965 if ac_fn_c_try_link "$LINENO"
10967 eval "$as_ac_var=yes"
10969 eval "$as_ac_var=no"
10971 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10972 conftest$ac_exeext conftest.$ac_ext
10973 CFLAGS=$ac_wine_try_cflags_saved
10974 ac_exeext=$ac_wine_try_cflags_saved_exeext
10976 eval ac_res=\$$as_ac_var
10977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10978 printf "%s\n" "$ac_res" >&6; }
10979 if eval test \"x\$"$as_ac_var"\" = x"yes"
10981 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10983 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" |
$as_tr_sh`
10984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
10985 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
10986 if eval test \${$as_ac_var+y}
10988 printf %s "(cached) " >&6
10990 ac_wine_try_cflags_saved=$CFLAGS
10991 ac_wine_try_cflags_saved_exeext=$ac_exeext
10992 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wdeclaration-after-statement"
10994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10995 /* end confdefs.h. */
10996 void *__os_arm64x_dispatch_ret = 0;
10997 int __cdecl mainCRTStartup(void) { return 0; }
10999 if ac_fn_c_try_link "$LINENO"
11001 eval "$as_ac_var=yes"
11003 eval "$as_ac_var=no"
11005 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11006 conftest$ac_exeext conftest.$ac_ext
11007 CFLAGS=$ac_wine_try_cflags_saved
11008 ac_exeext=$ac_wine_try_cflags_saved_exeext
11010 eval ac_res=\$$as_ac_var
11011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11012 printf "%s\n" "$ac_res" >&6; }
11013 if eval test \"x\$"$as_ac_var"\" = x"yes"
11015 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
11017 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" |
$as_tr_sh`
11018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
11019 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
11020 if eval test \${$as_ac_var+y}
11022 printf %s "(cached) " >&6
11024 ac_wine_try_cflags_saved=$CFLAGS
11025 ac_wine_try_cflags_saved_exeext=$ac_exeext
11026 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wempty-body"
11028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11029 /* end confdefs.h. */
11030 void *__os_arm64x_dispatch_ret = 0;
11031 int __cdecl mainCRTStartup(void) { return 0; }
11033 if ac_fn_c_try_link "$LINENO"
11035 eval "$as_ac_var=yes"
11037 eval "$as_ac_var=no"
11039 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11040 conftest$ac_exeext conftest.$ac_ext
11041 CFLAGS=$ac_wine_try_cflags_saved
11042 ac_exeext=$ac_wine_try_cflags_saved_exeext
11044 eval ac_res=\$$as_ac_var
11045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11046 printf "%s\n" "$ac_res" >&6; }
11047 if eval test \"x\$"$as_ac_var"\" = x"yes"
11049 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
11051 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" |
$as_tr_sh`
11052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
11053 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
11054 if eval test \${$as_ac_var+y}
11056 printf %s "(cached) " >&6
11058 ac_wine_try_cflags_saved=$CFLAGS
11059 ac_wine_try_cflags_saved_exeext=$ac_exeext
11060 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wignored-qualifiers"
11062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11063 /* end confdefs.h. */
11064 void *__os_arm64x_dispatch_ret = 0;
11065 int __cdecl mainCRTStartup(void) { return 0; }
11067 if ac_fn_c_try_link "$LINENO"
11069 eval "$as_ac_var=yes"
11071 eval "$as_ac_var=no"
11073 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11074 conftest$ac_exeext conftest.$ac_ext
11075 CFLAGS=$ac_wine_try_cflags_saved
11076 ac_exeext=$ac_wine_try_cflags_saved_exeext
11078 eval ac_res=\$$as_ac_var
11079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11080 printf "%s\n" "$ac_res" >&6; }
11081 if eval test \"x\$"$as_ac_var"\" = x"yes"
11083 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
11085 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" |
$as_tr_sh`
11086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
11087 printf %s "checking whether $CC supports -Winit-self... " >&6; }
11088 if eval test \${$as_ac_var+y}
11090 printf %s "(cached) " >&6
11092 ac_wine_try_cflags_saved=$CFLAGS
11093 ac_wine_try_cflags_saved_exeext=$ac_exeext
11094 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Winit-self"
11096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11097 /* end confdefs.h. */
11098 void *__os_arm64x_dispatch_ret = 0;
11099 int __cdecl mainCRTStartup(void) { return 0; }
11101 if ac_fn_c_try_link "$LINENO"
11103 eval "$as_ac_var=yes"
11105 eval "$as_ac_var=no"
11107 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11108 conftest$ac_exeext conftest.$ac_ext
11109 CFLAGS=$ac_wine_try_cflags_saved
11110 ac_exeext=$ac_wine_try_cflags_saved_exeext
11112 eval ac_res=\$$as_ac_var
11113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11114 printf "%s\n" "$ac_res" >&6; }
11115 if eval test \"x\$"$as_ac_var"\" = x"yes"
11117 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
11119 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" |
$as_tr_sh`
11120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
11121 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
11122 if eval test \${$as_ac_var+y}
11124 printf %s "(cached) " >&6
11126 ac_wine_try_cflags_saved=$CFLAGS
11127 ac_wine_try_cflags_saved_exeext=$ac_exeext
11128 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpacked-not-aligned"
11130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11131 /* end confdefs.h. */
11132 void *__os_arm64x_dispatch_ret = 0;
11133 int __cdecl mainCRTStartup(void) { return 0; }
11135 if ac_fn_c_try_link "$LINENO"
11137 eval "$as_ac_var=yes"
11139 eval "$as_ac_var=no"
11141 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11142 conftest$ac_exeext conftest.$ac_ext
11143 CFLAGS=$ac_wine_try_cflags_saved
11144 ac_exeext=$ac_wine_try_cflags_saved_exeext
11146 eval ac_res=\$$as_ac_var
11147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11148 printf "%s\n" "$ac_res" >&6; }
11149 if eval test \"x\$"$as_ac_var"\" = x"yes"
11151 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
11153 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" |
$as_tr_sh`
11154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
11155 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
11156 if eval test \${$as_ac_var+y}
11158 printf %s "(cached) " >&6
11160 ac_wine_try_cflags_saved=$CFLAGS
11161 ac_wine_try_cflags_saved_exeext=$ac_exeext
11162 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpragma-pack"
11164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11165 /* end confdefs.h. */
11166 void *__os_arm64x_dispatch_ret = 0;
11167 int __cdecl mainCRTStartup(void) { return 0; }
11169 if ac_fn_c_try_link "$LINENO"
11171 eval "$as_ac_var=yes"
11173 eval "$as_ac_var=no"
11175 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11176 conftest$ac_exeext conftest.$ac_ext
11177 CFLAGS=$ac_wine_try_cflags_saved
11178 ac_exeext=$ac_wine_try_cflags_saved_exeext
11180 eval ac_res=\$$as_ac_var
11181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11182 printf "%s\n" "$ac_res" >&6; }
11183 if eval test \"x\$"$as_ac_var"\" = x"yes"
11185 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
11187 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wmicrosoft-enum-forward-reference" |
$as_tr_sh`
11188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wmicrosoft-enum-forward-reference" >&5
11189 printf %s "checking whether $CC supports -Wmicrosoft-enum-forward-reference... " >&6; }
11190 if eval test \${$as_ac_var+y}
11192 printf %s "(cached) " >&6
11194 ac_wine_try_cflags_saved=$CFLAGS
11195 ac_wine_try_cflags_saved_exeext=$ac_exeext
11196 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wmicrosoft-enum-forward-reference"
11198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11199 /* end confdefs.h. */
11200 void *__os_arm64x_dispatch_ret = 0;
11201 int __cdecl mainCRTStartup(void) { return 0; }
11203 if ac_fn_c_try_link "$LINENO"
11205 eval "$as_ac_var=yes"
11207 eval "$as_ac_var=no"
11209 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11210 conftest$ac_exeext conftest.$ac_ext
11211 CFLAGS=$ac_wine_try_cflags_saved
11212 ac_exeext=$ac_wine_try_cflags_saved_exeext
11214 eval ac_res=\$$as_ac_var
11215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11216 printf "%s\n" "$ac_res" >&6; }
11217 if eval test \"x\$"$as_ac_var"\" = x"yes"
11219 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-microsoft-enum-forward-reference"
11221 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" |
$as_tr_sh`
11222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
11223 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
11224 if eval test \${$as_ac_var+y}
11226 printf %s "(cached) " >&6
11228 ac_wine_try_cflags_saved=$CFLAGS
11229 ac_wine_try_cflags_saved_exeext=$ac_exeext
11230 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wshift-overflow=2"
11232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11233 /* end confdefs.h. */
11234 void *__os_arm64x_dispatch_ret = 0;
11235 int __cdecl mainCRTStartup(void) { return 0; }
11237 if ac_fn_c_try_link "$LINENO"
11239 eval "$as_ac_var=yes"
11241 eval "$as_ac_var=no"
11243 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11244 conftest$ac_exeext conftest.$ac_ext
11245 CFLAGS=$ac_wine_try_cflags_saved
11246 ac_exeext=$ac_wine_try_cflags_saved_exeext
11248 eval ac_res=\$$as_ac_var
11249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11250 printf "%s\n" "$ac_res" >&6; }
11251 if eval test \"x\$"$as_ac_var"\" = x"yes"
11253 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11255 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" |
$as_tr_sh`
11256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11257 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11258 if eval test \${$as_ac_var+y}
11260 printf %s "(cached) " >&6
11262 ac_wine_try_cflags_saved=$CFLAGS
11263 ac_wine_try_cflags_saved_exeext=$ac_exeext
11264 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wstrict-prototypes"
11266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11267 /* end confdefs.h. */
11268 void *__os_arm64x_dispatch_ret = 0;
11269 int __cdecl mainCRTStartup(void) { return 0; }
11271 if ac_fn_c_try_link "$LINENO"
11273 eval "$as_ac_var=yes"
11275 eval "$as_ac_var=no"
11277 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11278 conftest$ac_exeext conftest.$ac_ext
11279 CFLAGS=$ac_wine_try_cflags_saved
11280 ac_exeext=$ac_wine_try_cflags_saved_exeext
11282 eval ac_res=\$$as_ac_var
11283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11284 printf "%s\n" "$ac_res" >&6; }
11285 if eval test \"x\$"$as_ac_var"\" = x"yes"
11287 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11289 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" |
$as_tr_sh`
11290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11291 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11292 if eval test \${$as_ac_var+y}
11294 printf %s "(cached) " >&6
11296 ac_wine_try_cflags_saved=$CFLAGS
11297 ac_wine_try_cflags_saved_exeext=$ac_exeext
11298 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wtype-limits"
11300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11301 /* end confdefs.h. */
11302 void *__os_arm64x_dispatch_ret = 0;
11303 int __cdecl mainCRTStartup(void) { return 0; }
11305 if ac_fn_c_try_link "$LINENO"
11307 eval "$as_ac_var=yes"
11309 eval "$as_ac_var=no"
11311 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11312 conftest$ac_exeext conftest.$ac_ext
11313 CFLAGS=$ac_wine_try_cflags_saved
11314 ac_exeext=$ac_wine_try_cflags_saved_exeext
11316 eval ac_res=\$$as_ac_var
11317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11318 printf "%s\n" "$ac_res" >&6; }
11319 if eval test \"x\$"$as_ac_var"\" = x"yes"
11321 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11323 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" |
$as_tr_sh`
11324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11325 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11326 if eval test \${$as_ac_var+y}
11328 printf %s "(cached) " >&6
11330 ac_wine_try_cflags_saved=$CFLAGS
11331 ac_wine_try_cflags_saved_exeext=$ac_exeext
11332 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wunused-but-set-parameter"
11334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11335 /* end confdefs.h. */
11336 void *__os_arm64x_dispatch_ret = 0;
11337 int __cdecl mainCRTStartup(void) { return 0; }
11339 if ac_fn_c_try_link "$LINENO"
11341 eval "$as_ac_var=yes"
11343 eval "$as_ac_var=no"
11345 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11346 conftest$ac_exeext conftest.$ac_ext
11347 CFLAGS=$ac_wine_try_cflags_saved
11348 ac_exeext=$ac_wine_try_cflags_saved_exeext
11350 eval ac_res=\$$as_ac_var
11351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11352 printf "%s\n" "$ac_res" >&6; }
11353 if eval test \"x\$"$as_ac_var"\" = x"yes"
11355 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11357 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" |
$as_tr_sh`
11358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11359 printf %s "checking whether $CC supports -Wvla... " >&6; }
11360 if eval test \${$as_ac_var+y}
11362 printf %s "(cached) " >&6
11364 ac_wine_try_cflags_saved=$CFLAGS
11365 ac_wine_try_cflags_saved_exeext=$ac_exeext
11366 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wvla"
11368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11369 /* end confdefs.h. */
11370 void *__os_arm64x_dispatch_ret = 0;
11371 int __cdecl mainCRTStartup(void) { return 0; }
11373 if ac_fn_c_try_link "$LINENO"
11375 eval "$as_ac_var=yes"
11377 eval "$as_ac_var=no"
11379 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11380 conftest$ac_exeext conftest.$ac_ext
11381 CFLAGS=$ac_wine_try_cflags_saved
11382 ac_exeext=$ac_wine_try_cflags_saved_exeext
11384 eval ac_res=\$$as_ac_var
11385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11386 printf "%s\n" "$ac_res" >&6; }
11387 if eval test \"x\$"$as_ac_var"\" = x"yes"
11389 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11391 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" |
$as_tr_sh`
11392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11393 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11394 if eval test \${$as_ac_var+y}
11396 printf %s "(cached) " >&6
11398 ac_wine_try_cflags_saved=$CFLAGS
11399 ac_wine_try_cflags_saved_exeext=$ac_exeext
11400 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wwrite-strings"
11402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11403 /* end confdefs.h. */
11404 void *__os_arm64x_dispatch_ret = 0;
11405 int __cdecl mainCRTStartup(void) { return 0; }
11407 if ac_fn_c_try_link "$LINENO"
11409 eval "$as_ac_var=yes"
11411 eval "$as_ac_var=no"
11413 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11414 conftest$ac_exeext conftest.$ac_ext
11415 CFLAGS=$ac_wine_try_cflags_saved
11416 ac_exeext=$ac_wine_try_cflags_saved_exeext
11418 eval ac_res=\$$as_ac_var
11419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11420 printf "%s\n" "$ac_res" >&6; }
11421 if eval test \"x\$"$as_ac_var"\" = x"yes"
11423 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11425 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" |
$as_tr_sh`
11426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11427 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11428 if eval test \${$as_ac_var+y}
11430 printf %s "(cached) " >&6
11432 ac_wine_try_cflags_saved=$CFLAGS
11433 ac_wine_try_cflags_saved_exeext=$ac_exeext
11434 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpointer-arith"
11436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11437 /* end confdefs.h. */
11438 void *__os_arm64x_dispatch_ret = 0;
11439 int __cdecl mainCRTStartup(void) { return 0; }
11441 if ac_fn_c_try_link "$LINENO"
11443 eval "$as_ac_var=yes"
11445 eval "$as_ac_var=no"
11447 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11448 conftest$ac_exeext conftest.$ac_ext
11449 CFLAGS=$ac_wine_try_cflags_saved
11450 ac_exeext=$ac_wine_try_cflags_saved_exeext
11452 eval ac_res=\$$as_ac_var
11453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11454 printf "%s\n" "$ac_res" >&6; }
11455 if eval test \"x\$"$as_ac_var"\" = x"yes"
11457 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11459 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" |
$as_tr_sh`
11460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11461 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11462 if eval test \${$as_ac_var+y}
11464 printf %s "(cached) " >&6
11466 ac_wine_try_cflags_saved=$CFLAGS
11467 ac_wine_try_cflags_saved_exeext=$ac_exeext
11468 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wlogical-op"
11470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11471 /* end confdefs.h. */
11472 void *__os_arm64x_dispatch_ret = 0;
11473 int __cdecl mainCRTStartup(void) { return 0; }
11475 if ac_fn_c_try_link "$LINENO"
11477 eval "$as_ac_var=yes"
11479 eval "$as_ac_var=no"
11481 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11482 conftest$ac_exeext conftest.$ac_ext
11483 CFLAGS=$ac_wine_try_cflags_saved
11484 ac_exeext=$ac_wine_try_cflags_saved_exeext
11486 eval ac_res=\$$as_ac_var
11487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11488 printf "%s\n" "$ac_res" >&6; }
11489 if eval test \"x\$"$as_ac_var"\" = x"yes"
11491 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11493 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" |
$as_tr_sh`
11494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11495 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11496 if eval test \${$as_ac_var+y}
11498 printf %s "(cached) " >&6
11500 ac_wine_try_cflags_saved=$CFLAGS
11501 ac_wine_try_cflags_saved_exeext=$ac_exeext
11502 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wabsolute-value"
11504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11505 /* end confdefs.h. */
11506 void *__os_arm64x_dispatch_ret = 0;
11507 int __cdecl mainCRTStartup(void) { return 0; }
11509 if ac_fn_c_try_link "$LINENO"
11511 eval "$as_ac_var=yes"
11513 eval "$as_ac_var=no"
11515 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11516 conftest$ac_exeext conftest.$ac_ext
11517 CFLAGS=$ac_wine_try_cflags_saved
11518 ac_exeext=$ac_wine_try_cflags_saved_exeext
11520 eval ac_res=\$$as_ac_var
11521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11522 printf "%s\n" "$ac_res" >&6; }
11523 if eval test \"x\$"$as_ac_var"\" = x"yes"
11525 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11527 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wenum-enum-conversion" |
$as_tr_sh`
11528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wenum-enum-conversion" >&5
11529 printf %s "checking whether $CC supports -Wenum-enum-conversion... " >&6; }
11530 if eval test \${$as_ac_var+y}
11532 printf %s "(cached) " >&6
11534 ac_wine_try_cflags_saved=$CFLAGS
11535 ac_wine_try_cflags_saved_exeext=$ac_exeext
11536 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wenum-enum-conversion"
11538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11539 /* end confdefs.h. */
11540 void *__os_arm64x_dispatch_ret = 0;
11541 int __cdecl mainCRTStartup(void) { return 0; }
11543 if ac_fn_c_try_link "$LINENO"
11545 eval "$as_ac_var=yes"
11547 eval "$as_ac_var=no"
11549 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11550 conftest$ac_exeext conftest.$ac_ext
11551 CFLAGS=$ac_wine_try_cflags_saved
11552 ac_exeext=$ac_wine_try_cflags_saved_exeext
11554 eval ac_res=\$$as_ac_var
11555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11556 printf "%s\n" "$ac_res" >&6; }
11557 if eval test \"x\$"$as_ac_var"\" = x"yes"
11561 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wenum-conversion" |
$as_tr_sh`
11562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wenum-conversion" >&5
11563 printf %s "checking whether $CC supports -Wenum-conversion... " >&6; }
11564 if eval test \${$as_ac_var+y}
11566 printf %s "(cached) " >&6
11568 ac_wine_try_cflags_saved=$CFLAGS
11569 ac_wine_try_cflags_saved_exeext=$ac_exeext
11570 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wenum-conversion"
11572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11573 /* end confdefs.h. */
11574 void *__os_arm64x_dispatch_ret = 0;
11575 int __cdecl mainCRTStartup(void) { return 0; }
11577 if ac_fn_c_try_link "$LINENO"
11579 eval "$as_ac_var=yes"
11581 eval "$as_ac_var=no"
11583 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11584 conftest$ac_exeext conftest.$ac_ext
11585 CFLAGS=$ac_wine_try_cflags_saved
11586 ac_exeext=$ac_wine_try_cflags_saved_exeext
11588 eval ac_res=\$$as_ac_var
11589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11590 printf "%s\n" "$ac_res" >&6; }
11591 if eval test \"x\$"$as_ac_var"\" = x"yes"
11593 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wenum-conversion"
11597 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-flarge-source-files -Wmisleading-indentation" |
$as_tr_sh`
11598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -flarge-source-files -Wmisleading-indentation" >&5
11599 printf %s "checking whether $CC supports -flarge-source-files -Wmisleading-indentation... " >&6; }
11600 if eval test \${$as_ac_var+y}
11602 printf %s "(cached) " >&6
11604 ac_wine_try_cflags_saved=$CFLAGS
11605 ac_wine_try_cflags_saved_exeext=$ac_exeext
11606 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -flarge-source-files -Wmisleading-indentation"
11608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11609 /* end confdefs.h. */
11610 void *__os_arm64x_dispatch_ret = 0;
11611 int __cdecl mainCRTStartup(void) { return 0; }
11613 if ac_fn_c_try_link "$LINENO"
11615 eval "$as_ac_var=yes"
11617 eval "$as_ac_var=no"
11619 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11620 conftest$ac_exeext conftest.$ac_ext
11621 CFLAGS=$ac_wine_try_cflags_saved
11622 ac_exeext=$ac_wine_try_cflags_saved_exeext
11624 eval ac_res=\$$as_ac_var
11625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11626 printf "%s\n" "$ac_res" >&6; }
11627 if eval test \"x\$"$as_ac_var"\" = x"yes"
11629 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-misleading-indentation"
11633 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" |
$as_tr_sh`
11634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11635 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11636 if eval test \${$as_ac_var+y}
11638 printf %s "(cached) " >&6
11640 ac_wine_try_cflags_saved=$CFLAGS
11641 ac_wine_try_cflags_saved_exeext=$ac_exeext
11642 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-omit-frame-pointer"
11644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11645 /* end confdefs.h. */
11646 void *__os_arm64x_dispatch_ret = 0;
11647 int __cdecl mainCRTStartup(void) { return 0; }
11649 if ac_fn_c_try_link "$LINENO"
11651 eval "$as_ac_var=yes"
11653 eval "$as_ac_var=no"
11655 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11656 conftest$ac_exeext conftest.$ac_ext
11657 CFLAGS=$ac_wine_try_cflags_saved
11658 ac_exeext=$ac_wine_try_cflags_saved_exeext
11660 eval ac_res=\$$as_ac_var
11661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11662 printf "%s\n" "$ac_res" >&6; }
11663 if eval test \"x\$"$as_ac_var"\" = x"yes"
11665 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11667 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mpreferred-stack-boundary=2" |
$as_tr_sh`
11668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mpreferred-stack-boundary=2" >&5
11669 printf %s "checking whether $CC supports -mpreferred-stack-boundary=2... " >&6; }
11670 if eval test \${$as_ac_var+y}
11672 printf %s "(cached) " >&6
11674 ac_wine_try_cflags_saved=$CFLAGS
11675 ac_wine_try_cflags_saved_exeext=$ac_exeext
11676 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mpreferred-stack-boundary=2"
11678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11679 /* end confdefs.h. */
11680 void *__os_arm64x_dispatch_ret = 0;
11681 int __cdecl mainCRTStartup(void) { return 0; }
11683 if ac_fn_c_try_link "$LINENO"
11685 eval "$as_ac_var=yes"
11687 eval "$as_ac_var=no"
11689 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11690 conftest$ac_exeext conftest.$ac_ext
11691 CFLAGS=$ac_wine_try_cflags_saved
11692 ac_exeext=$ac_wine_try_cflags_saved_exeext
11694 eval ac_res=\$$as_ac_var
11695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11696 printf "%s\n" "$ac_res" >&6; }
11697 if eval test \"x\$"$as_ac_var"\" = x"yes"
11699 as_fn_append ${wine_arch}_EXTRACFLAGS " -mpreferred-stack-boundary=2"
11701 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" |
$as_tr_sh`
11702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11703 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11704 if eval test \${$as_ac_var+y}
11706 printf %s "(cached) " >&6
11708 ac_wine_try_cflags_saved=$CFLAGS
11709 ac_wine_try_cflags_saved_exeext=$ac_exeext
11710 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--disable-stdcall-fixup"
11712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11713 /* end confdefs.h. */
11714 void *__os_arm64x_dispatch_ret = 0;
11715 int __cdecl mainCRTStartup(void) { return 0; }
11717 if ac_fn_c_try_link "$LINENO"
11719 eval "$as_ac_var=yes"
11721 eval "$as_ac_var=no"
11723 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11724 conftest$ac_exeext conftest.$ac_ext
11725 CFLAGS=$ac_wine_try_cflags_saved
11726 ac_exeext=$ac_wine_try_cflags_saved_exeext
11728 eval ac_res=\$$as_ac_var
11729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11730 printf "%s\n" "$ac_res" >&6; }
11731 if eval test \"x\$"$as_ac_var"\" = x"yes"
11733 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11735 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" |
$as_tr_sh`
11736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11737 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11738 if eval test \${$as_ac_var+y}
11740 printf %s "(cached) " >&6
11742 ac_wine_try_cflags_saved=$CFLAGS
11743 ac_wine_try_cflags_saved_exeext=$ac_exeext
11744 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wformat-overflow"
11746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11747 /* end confdefs.h. */
11748 void *__os_arm64x_dispatch_ret = 0;
11749 int __cdecl mainCRTStartup(void) { return 0; }
11751 if ac_fn_c_try_link "$LINENO"
11753 eval "$as_ac_var=yes"
11755 eval "$as_ac_var=no"
11757 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11758 conftest$ac_exeext conftest.$ac_ext
11759 CFLAGS=$ac_wine_try_cflags_saved
11760 ac_exeext=$ac_wine_try_cflags_saved_exeext
11762 eval ac_res=\$$as_ac_var
11763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11764 printf "%s\n" "$ac_res" >&6; }
11765 if eval test \"x\$"$as_ac_var"\" = x"yes"
11767 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11769 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" |
$as_tr_sh`
11770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11771 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11772 if eval test \${$as_ac_var+y}
11774 printf %s "(cached) " >&6
11776 ac_wine_try_cflags_saved=$CFLAGS
11777 ac_wine_try_cflags_saved_exeext=$ac_exeext
11778 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wnonnull"
11780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11781 /* end confdefs.h. */
11782 void *__os_arm64x_dispatch_ret = 0;
11783 int __cdecl mainCRTStartup(void) { return 0; }
11785 if ac_fn_c_try_link "$LINENO"
11787 eval "$as_ac_var=yes"
11789 eval "$as_ac_var=no"
11791 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11792 conftest$ac_exeext conftest.$ac_ext
11793 CFLAGS=$ac_wine_try_cflags_saved
11794 ac_exeext=$ac_wine_try_cflags_saved_exeext
11796 eval ac_res=\$$as_ac_var
11797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11798 printf "%s\n" "$ac_res" >&6; }
11799 if eval test \"x\$"$as_ac_var"\" = x"yes"
11801 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11803 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" |
$as_tr_sh`
11804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11805 printf %s "checking whether $CC supports -mcx16... " >&6; }
11806 if eval test \${$as_ac_var+y}
11808 printf %s "(cached) " >&6
11810 ac_wine_try_cflags_saved=$CFLAGS
11811 ac_wine_try_cflags_saved_exeext=$ac_exeext
11812 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcx16"
11814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11815 /* end confdefs.h. */
11816 void *__os_arm64x_dispatch_ret = 0;
11817 int __cdecl mainCRTStartup(void) { return 0; }
11819 if ac_fn_c_try_link "$LINENO"
11821 eval "$as_ac_var=yes"
11823 eval "$as_ac_var=no"
11825 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11826 conftest$ac_exeext conftest.$ac_ext
11827 CFLAGS=$ac_wine_try_cflags_saved
11828 ac_exeext=$ac_wine_try_cflags_saved_exeext
11830 eval ac_res=\$$as_ac_var
11831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11832 printf "%s\n" "$ac_res" >&6; }
11833 if eval test \"x\$"$as_ac_var"\" = x"yes"
11835 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11837 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcmodel=small" |
$as_tr_sh`
11838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcmodel=small" >&5
11839 printf %s "checking whether $CC supports -mcmodel=small... " >&6; }
11840 if eval test \${$as_ac_var+y}
11842 printf %s "(cached) " >&6
11844 ac_wine_try_cflags_saved=$CFLAGS
11845 ac_wine_try_cflags_saved_exeext=$ac_exeext
11846 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcmodel=small"
11848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11849 /* end confdefs.h. */
11850 void *__os_arm64x_dispatch_ret = 0;
11851 int __cdecl mainCRTStartup(void) { return 0; }
11853 if ac_fn_c_try_link "$LINENO"
11855 eval "$as_ac_var=yes"
11857 eval "$as_ac_var=no"
11859 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11860 conftest$ac_exeext conftest.$ac_ext
11861 CFLAGS=$ac_wine_try_cflags_saved
11862 ac_exeext=$ac_wine_try_cflags_saved_exeext
11864 eval ac_res=\$$as_ac_var
11865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11866 printf "%s\n" "$ac_res" >&6; }
11867 if eval test \"x\$"$as_ac_var"\" = x"yes"
11869 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcmodel=small"
11873 wine_crossdebug=$CROSSDEBUG
11874 if test -z "$wine_crossdebug"
11876 for ac_flag in $CFLAGS; do
11878 -gdwarf*) wine_crossdebug=dwarf ;;
11879 -gcodeview) wine_crossdebug=pdb ;;
11880 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11885 ac_debug_format_seen=""
11886 for ac_flag in $CFLAGS; do
11888 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11891 if test "x$ac_debug_format_seen" = x
11893 case $wine_crossdebug in
11894 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" |
$as_tr_sh`
11895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11896 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11897 if eval test \${$as_ac_var+y}
11899 printf %s "(cached) " >&6
11901 ac_wine_try_cflags_saved=$CFLAGS
11902 ac_wine_try_cflags_saved_exeext=$ac_exeext
11903 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gdwarf-4"
11905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11906 /* end confdefs.h. */
11907 void *__os_arm64x_dispatch_ret = 0;
11908 int __cdecl mainCRTStartup(void) { return 0; }
11910 if ac_fn_c_try_link "$LINENO"
11912 eval "$as_ac_var=yes"
11914 eval "$as_ac_var=no"
11916 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11917 conftest$ac_exeext conftest.$ac_ext
11918 CFLAGS=$ac_wine_try_cflags_saved
11919 ac_exeext=$ac_wine_try_cflags_saved_exeext
11921 eval ac_res=\$$as_ac_var
11922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11923 printf "%s\n" "$ac_res" >&6; }
11924 if eval test \"x\$"$as_ac_var"\" = x"yes"
11926 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11928 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" |
$as_tr_sh`
11929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11930 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11931 if eval test \${$as_ac_var+y}
11933 printf %s "(cached) " >&6
11935 ac_wine_try_cflags_saved=$CFLAGS
11936 ac_wine_try_cflags_saved_exeext=$ac_exeext
11937 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gcodeview"
11939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11940 /* end confdefs.h. */
11941 void *__os_arm64x_dispatch_ret = 0;
11942 int __cdecl mainCRTStartup(void) { return 0; }
11944 if ac_fn_c_try_link "$LINENO"
11946 eval "$as_ac_var=yes"
11948 eval "$as_ac_var=no"
11950 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11951 conftest$ac_exeext conftest.$ac_ext
11952 CFLAGS=$ac_wine_try_cflags_saved
11953 ac_exeext=$ac_wine_try_cflags_saved_exeext
11955 eval ac_res=\$$as_ac_var
11956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11957 printf "%s\n" "$ac_res" >&6; }
11958 if eval test \"x\$"$as_ac_var"\" = x"yes"
11960 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11964 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11966 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" |
$as_tr_sh`
11967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11968 printf %s "checking whether $CC supports -Werror... " >&6; }
11969 if eval test \${$as_ac_var+y}
11971 printf %s "(cached) " >&6
11973 ac_wine_try_cflags_saved=$CFLAGS
11974 ac_wine_try_cflags_saved_exeext=$ac_exeext
11975 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror"
11977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11978 /* end confdefs.h. */
11979 void *__os_arm64x_dispatch_ret = 0;
11980 int __cdecl mainCRTStartup(void) { return 0; }
11982 if ac_fn_c_try_link "$LINENO"
11984 eval "$as_ac_var=yes"
11986 eval "$as_ac_var=no"
11988 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11989 conftest$ac_exeext conftest.$ac_ext
11990 CFLAGS=$ac_wine_try_cflags_saved
11991 ac_exeext=$ac_wine_try_cflags_saved_exeext
11993 eval ac_res=\$$as_ac_var
11994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11995 printf "%s\n" "$ac_res" >&6; }
11996 if eval test \"x\$"$as_ac_var"\" = x"yes"
11998 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
12000 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" |
$as_tr_sh`
12001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
12002 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
12003 if eval test \${$as_ac_var+y}
12005 printf %s "(cached) " >&6
12007 ac_wine_try_cflags_saved=$CFLAGS
12008 ac_wine_try_cflags_saved_exeext=$ac_exeext
12009 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--build-id"
12011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12012 /* end confdefs.h. */
12013 void *__os_arm64x_dispatch_ret = 0;
12014 int __cdecl mainCRTStartup(void) { return 0; }
12016 if ac_fn_c_try_link "$LINENO"
12018 eval "$as_ac_var=yes"
12020 eval "$as_ac_var=no"
12022 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12023 conftest$ac_exeext conftest.$ac_ext
12024 CFLAGS=$ac_wine_try_cflags_saved
12025 ac_exeext=$ac_wine_try_cflags_saved_exeext
12027 eval ac_res=\$$as_ac_var
12028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12029 printf "%s\n" "$ac_res" >&6; }
12030 if eval test \"x\$"$as_ac_var"\" = x"yes"
12032 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
12033 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
12039 CFLAGS=$saved_CFLAGS
12040 LDFLAGS=$saved_LDFLAGS
12044 test "x$PE_ARCHS" != x || as_fn_error $? "PE cross-compilation is required for $HOST_ARCH, please install clang/llvm-dlltool/lld, or llvm-mingw." "$LINENO" 5
12047 if test "x$PE_ARCHS" = "x"
12049 case "x$with_mingw" in
12050 x) as_fn_append wine_notices "|Suitable PE cross-compiler not found, PE files won't be built." ;;
12052 *) as_fn_error $? "Suitable PE cross-compiler not found, PE files won't be built.
12053 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
12060 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
12062 if test "x$HOST_ARCH" = xi386
12064 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config "
12066 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config"
12068 for ac_prog in $ac_prefix_list
12070 # Extract the first word of "$ac_prog", so it can be a program name with args.
12071 set dummy $ac_prog; ac_word=$2
12072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12073 printf %s "checking for $ac_word... " >&6; }
12074 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
12076 printf %s "(cached) " >&6
12078 if test -n "$MINGW_PKG_CONFIG"; then
12079 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
12081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12082 for as_dir in $PATH
12085 case $as_dir in #(((
12088 *) as_dir=$as_dir/ ;;
12090 for ac_exec_ext in '' $ac_executable_extensions; do
12091 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
12092 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
12093 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12102 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
12103 if test -n "$MINGW_PKG_CONFIG"; then
12104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
12105 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
12107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12108 printf "%s\n" "no" >&6; }
12112 test -n "$MINGW_PKG_CONFIG" && break
12114 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
12116 if ${FAUDIO_PE_CFLAGS:+false} :
12118 if test ${MINGW_PKG_CONFIG+y}
12120 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio
2>/dev
/null
`
12123 if ${FAUDIO_PE_LIBS:+false} :
12125 if test ${MINGW_PKG_CONFIG+y}
12127 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio
2>/dev
/null
`
12130 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
12131 ac_save_CPPFLAGS=$CPPFLAGS
12132 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
12133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
12134 printf %s "checking for MinGW FAudio.h... " >&6; }
12135 if test ${ac_cv_mingw_header_FAudio_h+y}
12137 printf %s "(cached) " >&6
12139 ac_wine_check_headers_saved_cc=$CC
12140 ac_wine_check_headers_saved_exeext=$ac_exeext
12141 eval CC=\$${wine_arch}_CC
12143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12144 /* end confdefs.h. */
12146 #include <FAudio.h>
12155 if ac_fn_c_try_compile "$LINENO"
12157 ac_cv_mingw_header_FAudio_h=yes
12159 ac_cv_mingw_header_FAudio_h=no
12161 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12162 CC=$ac_wine_check_headers_saved_cc
12163 ac_exeext=$ac_wine_check_headers_saved_exeext
12165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
12166 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
12167 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
12169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
12170 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
12171 if test ${ac_cv_mingw_lib_FAudio+y}
12173 printf %s "(cached) " >&6
12175 ac_wine_check_headers_saved_cc=$CC
12176 ac_wine_check_headers_saved_exeext=$ac_exeext
12177 ac_wine_check_headers_saved_libs=$LIBS
12178 eval CC=\$${wine_arch}_CC
12180 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
12181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12182 /* end confdefs.h. */
12184 /* Override any GCC internal prototype to avoid an error.
12185 Use char because int might match the return type of a GCC
12186 builtin and then its argument prototype would still apply. */
12187 char FAudio_CommitOperationSet ();
12191 return FAudio_CommitOperationSet ();
12196 if ac_fn_c_try_link "$LINENO"
12198 ac_cv_mingw_lib_FAudio=yes
12200 ac_cv_mingw_lib_FAudio=no
12202 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12203 conftest$ac_exeext conftest.$ac_ext
12204 CC=$ac_wine_check_headers_saved_cc
12205 ac_exeext=$ac_wine_check_headers_saved_exeext
12206 LIBS=$ac_wine_check_headers_saved_libs
12208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
12209 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
12210 if test "x$ac_cv_mingw_lib_FAudio" = xyes
12214 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12217 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12219 CPPFLAGS=$ac_save_CPPFLAGS
12221 if test "x$FAUDIO_PE_LIBS" = "x"
12223 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
12226 if ${FLUIDSYNTH_PE_CFLAGS:+false} :
12228 if test ${MINGW_PKG_CONFIG+y}
12230 FLUIDSYNTH_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags fluidsynth
2>/dev
/null
`
12233 if ${FLUIDSYNTH_PE_LIBS:+false} :
12235 if test ${MINGW_PKG_CONFIG+y}
12237 FLUIDSYNTH_PE_LIBS=`$MINGW_PKG_CONFIG --libs fluidsynth
2>/dev
/null
`
12240 FLUIDSYNTH_PE_LIBS=${FLUIDSYNTH_PE_LIBS:-"-lfluidsynth"}
12241 ac_save_CPPFLAGS=$CPPFLAGS
12242 CPPFLAGS="$CPPFLAGS $FLUIDSYNTH_PE_CFLAGS"
12243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW fluidsynth.h" >&5
12244 printf %s "checking for MinGW fluidsynth.h... " >&6; }
12245 if test ${ac_cv_mingw_header_fluidsynth_h+y}
12247 printf %s "(cached) " >&6
12249 ac_wine_check_headers_saved_cc=$CC
12250 ac_wine_check_headers_saved_exeext=$ac_exeext
12251 eval CC=\$${wine_arch}_CC
12253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12254 /* end confdefs.h. */
12256 #include <fluidsynth.h>
12265 if ac_fn_c_try_compile "$LINENO"
12267 ac_cv_mingw_header_fluidsynth_h=yes
12269 ac_cv_mingw_header_fluidsynth_h=no
12271 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12272 CC=$ac_wine_check_headers_saved_cc
12273 ac_exeext=$ac_wine_check_headers_saved_exeext
12275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_fluidsynth_h" >&5
12276 printf "%s\n" "$ac_cv_mingw_header_fluidsynth_h" >&6; }
12277 if test "x$ac_cv_mingw_header_fluidsynth_h" = xyes
12279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for new_fluid_synth in MinGW -lfluidsynth" >&5
12280 printf %s "checking for new_fluid_synth in MinGW -lfluidsynth... " >&6; }
12281 if test ${ac_cv_mingw_lib_fluidsynth+y}
12283 printf %s "(cached) " >&6
12285 ac_wine_check_headers_saved_cc=$CC
12286 ac_wine_check_headers_saved_exeext=$ac_exeext
12287 ac_wine_check_headers_saved_libs=$LIBS
12288 eval CC=\$${wine_arch}_CC
12290 LIBS="-lfluidsynth $FLUIDSYNTH_PE_LIBS $LIBS"
12291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12292 /* end confdefs.h. */
12294 /* Override any GCC internal prototype to avoid an error.
12295 Use char because int might match the return type of a GCC
12296 builtin and then its argument prototype would still apply. */
12297 char new_fluid_synth ();
12301 return new_fluid_synth ();
12306 if ac_fn_c_try_link "$LINENO"
12308 ac_cv_mingw_lib_fluidsynth=yes
12310 ac_cv_mingw_lib_fluidsynth=no
12312 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12313 conftest$ac_exeext conftest.$ac_ext
12314 CC=$ac_wine_check_headers_saved_cc
12315 ac_exeext=$ac_wine_check_headers_saved_exeext
12316 LIBS=$ac_wine_check_headers_saved_libs
12318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_fluidsynth" >&5
12319 printf "%s\n" "$ac_cv_mingw_lib_fluidsynth" >&6; }
12320 if test "x$ac_cv_mingw_lib_fluidsynth" = xyes
12324 FLUIDSYNTH_PE_CFLAGS=""; FLUIDSYNTH_PE_LIBS=""
12327 FLUIDSYNTH_PE_CFLAGS=""; FLUIDSYNTH_PE_LIBS=""
12329 CPPFLAGS=$ac_save_CPPFLAGS
12331 if test "x$FLUIDSYNTH_PE_LIBS" = "x"
12333 as_fn_append wine_notices "|Fluidsynth ${notice_platform}MinGW development files not found (or too old); using bundled version."
12336 if ${JPEG_PE_CFLAGS:+false} :
12338 if test ${MINGW_PKG_CONFIG+y}
12340 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg
2>/dev
/null
`
12343 if ${JPEG_PE_LIBS:+false} :
12345 if test ${MINGW_PKG_CONFIG+y}
12347 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg
2>/dev
/null
`
12351 ac_save_CPPFLAGS=$CPPFLAGS
12352 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
12353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
12354 printf %s "checking for MinGW jpeglib.h... " >&6; }
12355 if test ${ac_cv_mingw_header_jpeglib_h+y}
12357 printf %s "(cached) " >&6
12359 ac_wine_check_headers_saved_cc=$CC
12360 ac_wine_check_headers_saved_exeext=$ac_exeext
12361 eval CC=\$${wine_arch}_CC
12363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12364 /* end confdefs.h. */
12365 #include <stddef.h>
12367 #include <jpeglib.h>
12376 if ac_fn_c_try_compile "$LINENO"
12378 ac_cv_mingw_header_jpeglib_h=yes
12380 ac_cv_mingw_header_jpeglib_h=no
12382 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12383 CC=$ac_wine_check_headers_saved_cc
12384 ac_exeext=$ac_wine_check_headers_saved_exeext
12386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
12387 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
12388 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
12390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
12391 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
12392 if test ${ac_cv_mingw_lib_jpeg+y}
12394 printf %s "(cached) " >&6
12396 ac_wine_check_headers_saved_cc=$CC
12397 ac_wine_check_headers_saved_exeext=$ac_exeext
12398 ac_wine_check_headers_saved_libs=$LIBS
12399 eval CC=\$${wine_arch}_CC
12401 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
12402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12403 /* end confdefs.h. */
12405 /* Override any GCC internal prototype to avoid an error.
12406 Use char because int might match the return type of a GCC
12407 builtin and then its argument prototype would still apply. */
12408 char jpeg_start_decompress ();
12412 return jpeg_start_decompress ();
12417 if ac_fn_c_try_link "$LINENO"
12419 ac_cv_mingw_lib_jpeg=yes
12421 ac_cv_mingw_lib_jpeg=no
12423 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12424 conftest$ac_exeext conftest.$ac_ext
12425 CC=$ac_wine_check_headers_saved_cc
12426 ac_exeext=$ac_wine_check_headers_saved_exeext
12427 LIBS=$ac_wine_check_headers_saved_libs
12429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
12430 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
12431 if test "x$ac_cv_mingw_lib_jpeg" = xyes
12435 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12438 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12440 CPPFLAGS=$ac_save_CPPFLAGS
12442 if test "x$JPEG_PE_LIBS" = "x"
12444 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
12447 if ${LCMS2_PE_CFLAGS:+false} :
12449 if test ${MINGW_PKG_CONFIG+y}
12451 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2
2>/dev
/null
`
12454 if ${LCMS2_PE_LIBS:+false} :
12456 if test ${MINGW_PKG_CONFIG+y}
12458 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2
2>/dev
/null
`
12461 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12462 ac_save_CPPFLAGS=$CPPFLAGS
12463 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12465 printf %s "checking for MinGW lcms2.h... " >&6; }
12466 if test ${ac_cv_mingw_header_lcms2_h+y}
12468 printf %s "(cached) " >&6
12470 ac_wine_check_headers_saved_cc=$CC
12471 ac_wine_check_headers_saved_exeext=$ac_exeext
12472 eval CC=\$${wine_arch}_CC
12474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12475 /* end confdefs.h. */
12486 if ac_fn_c_try_compile "$LINENO"
12488 ac_cv_mingw_header_lcms2_h=yes
12490 ac_cv_mingw_header_lcms2_h=no
12492 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12493 CC=$ac_wine_check_headers_saved_cc
12494 ac_exeext=$ac_wine_check_headers_saved_exeext
12496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12497 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12498 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12501 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12502 if test ${ac_cv_mingw_lib_lcms2+y}
12504 printf %s "(cached) " >&6
12506 ac_wine_check_headers_saved_cc=$CC
12507 ac_wine_check_headers_saved_exeext=$ac_exeext
12508 ac_wine_check_headers_saved_libs=$LIBS
12509 eval CC=\$${wine_arch}_CC
12511 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12513 /* end confdefs.h. */
12515 /* Override any GCC internal prototype to avoid an error.
12516 Use char because int might match the return type of a GCC
12517 builtin and then its argument prototype would still apply. */
12518 char cmsOpenProfileFromFile ();
12522 return cmsOpenProfileFromFile ();
12527 if ac_fn_c_try_link "$LINENO"
12529 ac_cv_mingw_lib_lcms2=yes
12531 ac_cv_mingw_lib_lcms2=no
12533 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12534 conftest$ac_exeext conftest.$ac_ext
12535 CC=$ac_wine_check_headers_saved_cc
12536 ac_exeext=$ac_wine_check_headers_saved_exeext
12537 LIBS=$ac_wine_check_headers_saved_libs
12539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12540 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12541 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12545 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12548 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12550 CPPFLAGS=$ac_save_CPPFLAGS
12552 if test "x$LCMS2_PE_LIBS" = "x"
12554 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12557 if ${MPG123_PE_CFLAGS:+false} :
12559 if test ${MINGW_PKG_CONFIG+y}
12561 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123
2>/dev
/null
`
12564 if ${MPG123_PE_LIBS:+false} :
12566 if test ${MINGW_PKG_CONFIG+y}
12568 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123
2>/dev
/null
`
12571 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12572 ac_save_CPPFLAGS=$CPPFLAGS
12573 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12575 printf %s "checking for MinGW mpg123.h... " >&6; }
12576 if test ${ac_cv_mingw_header_mpg123_h+y}
12578 printf %s "(cached) " >&6
12580 ac_wine_check_headers_saved_cc=$CC
12581 ac_wine_check_headers_saved_exeext=$ac_exeext
12582 eval CC=\$${wine_arch}_CC
12584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12585 /* end confdefs.h. */
12587 #include <mpg123.h>
12596 if ac_fn_c_try_compile "$LINENO"
12598 ac_cv_mingw_header_mpg123_h=yes
12600 ac_cv_mingw_header_mpg123_h=no
12602 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12603 CC=$ac_wine_check_headers_saved_cc
12604 ac_exeext=$ac_wine_check_headers_saved_exeext
12606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12607 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12608 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12611 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12612 if test ${ac_cv_mingw_lib_mpg123+y}
12614 printf %s "(cached) " >&6
12616 ac_wine_check_headers_saved_cc=$CC
12617 ac_wine_check_headers_saved_exeext=$ac_exeext
12618 ac_wine_check_headers_saved_libs=$LIBS
12619 eval CC=\$${wine_arch}_CC
12621 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12623 /* end confdefs.h. */
12625 /* Override any GCC internal prototype to avoid an error.
12626 Use char because int might match the return type of a GCC
12627 builtin and then its argument prototype would still apply. */
12628 char mpg123_feed ();
12632 return mpg123_feed ();
12637 if ac_fn_c_try_link "$LINENO"
12639 ac_cv_mingw_lib_mpg123=yes
12641 ac_cv_mingw_lib_mpg123=no
12643 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12644 conftest$ac_exeext conftest.$ac_ext
12645 CC=$ac_wine_check_headers_saved_cc
12646 ac_exeext=$ac_wine_check_headers_saved_exeext
12647 LIBS=$ac_wine_check_headers_saved_libs
12649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12650 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12651 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12655 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12658 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12660 CPPFLAGS=$ac_save_CPPFLAGS
12662 if test "x$MPG123_PE_LIBS" = "x"
12664 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12667 if ${PNG_PE_CFLAGS:+false} :
12669 if test ${MINGW_PKG_CONFIG+y}
12671 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng
2>/dev
/null
`
12674 if ${PNG_PE_LIBS:+false} :
12676 if test ${MINGW_PKG_CONFIG+y}
12678 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng
2>/dev
/null
`
12682 ac_save_CPPFLAGS=$CPPFLAGS
12683 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12685 printf %s "checking for MinGW png.h... " >&6; }
12686 if test ${ac_cv_mingw_header_png_h+y}
12688 printf %s "(cached) " >&6
12690 ac_wine_check_headers_saved_cc=$CC
12691 ac_wine_check_headers_saved_exeext=$ac_exeext
12692 eval CC=\$${wine_arch}_CC
12694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12695 /* end confdefs.h. */
12706 if ac_fn_c_try_compile "$LINENO"
12708 ac_cv_mingw_header_png_h=yes
12710 ac_cv_mingw_header_png_h=no
12712 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12713 CC=$ac_wine_check_headers_saved_cc
12714 ac_exeext=$ac_wine_check_headers_saved_exeext
12716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12717 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12718 if test "x$ac_cv_mingw_header_png_h" = xyes
12720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12721 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12722 if test ${ac_cv_mingw_lib_png+y}
12724 printf %s "(cached) " >&6
12726 ac_wine_check_headers_saved_cc=$CC
12727 ac_wine_check_headers_saved_exeext=$ac_exeext
12728 ac_wine_check_headers_saved_libs=$LIBS
12729 eval CC=\$${wine_arch}_CC
12731 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12733 /* end confdefs.h. */
12735 /* Override any GCC internal prototype to avoid an error.
12736 Use char because int might match the return type of a GCC
12737 builtin and then its argument prototype would still apply. */
12738 char png_create_read_struct ();
12742 return png_create_read_struct ();
12747 if ac_fn_c_try_link "$LINENO"
12749 ac_cv_mingw_lib_png=yes
12751 ac_cv_mingw_lib_png=no
12753 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12754 conftest$ac_exeext conftest.$ac_ext
12755 CC=$ac_wine_check_headers_saved_cc
12756 ac_exeext=$ac_wine_check_headers_saved_exeext
12757 LIBS=$ac_wine_check_headers_saved_libs
12759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12760 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12761 if test "x$ac_cv_mingw_lib_png" = xyes
12765 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12768 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12770 CPPFLAGS=$ac_save_CPPFLAGS
12772 if test "x$PNG_PE_LIBS" = "x"
12774 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12777 if ${TIFF_PE_CFLAGS:+false} :
12779 if test ${MINGW_PKG_CONFIG+y}
12781 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4
2>/dev
/null
`
12784 if ${TIFF_PE_LIBS:+false} :
12786 if test ${MINGW_PKG_CONFIG+y}
12788 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4
2>/dev
/null
`
12792 ac_save_CPPFLAGS=$CPPFLAGS
12793 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12795 printf %s "checking for MinGW tiffio.h... " >&6; }
12796 if test ${ac_cv_mingw_header_tiffio_h+y}
12798 printf %s "(cached) " >&6
12800 ac_wine_check_headers_saved_cc=$CC
12801 ac_wine_check_headers_saved_exeext=$ac_exeext
12802 eval CC=\$${wine_arch}_CC
12804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12805 /* end confdefs.h. */
12807 #include <tiffio.h>
12816 if ac_fn_c_try_compile "$LINENO"
12818 ac_cv_mingw_header_tiffio_h=yes
12820 ac_cv_mingw_header_tiffio_h=no
12822 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12823 CC=$ac_wine_check_headers_saved_cc
12824 ac_exeext=$ac_wine_check_headers_saved_exeext
12826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12827 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12828 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12831 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12832 if test ${ac_cv_mingw_lib_tiff+y}
12834 printf %s "(cached) " >&6
12836 ac_wine_check_headers_saved_cc=$CC
12837 ac_wine_check_headers_saved_exeext=$ac_exeext
12838 ac_wine_check_headers_saved_libs=$LIBS
12839 eval CC=\$${wine_arch}_CC
12841 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12843 /* end confdefs.h. */
12845 /* Override any GCC internal prototype to avoid an error.
12846 Use char because int might match the return type of a GCC
12847 builtin and then its argument prototype would still apply. */
12848 char TIFFClientOpen ();
12852 return TIFFClientOpen ();
12857 if ac_fn_c_try_link "$LINENO"
12859 ac_cv_mingw_lib_tiff=yes
12861 ac_cv_mingw_lib_tiff=no
12863 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12864 conftest$ac_exeext conftest.$ac_ext
12865 CC=$ac_wine_check_headers_saved_cc
12866 ac_exeext=$ac_wine_check_headers_saved_exeext
12867 LIBS=$ac_wine_check_headers_saved_libs
12869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12870 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12871 if test "x$ac_cv_mingw_lib_tiff" = xyes
12875 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12878 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12880 CPPFLAGS=$ac_save_CPPFLAGS
12882 if test "x$TIFF_PE_LIBS" = "x"
12884 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12887 if ${XML2_PE_CFLAGS:+false} :
12889 if test ${MINGW_PKG_CONFIG+y}
12891 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0
2>/dev
/null
`
12894 if ${XML2_PE_LIBS:+false} :
12896 if test ${MINGW_PKG_CONFIG+y}
12898 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0
2>/dev
/null
`
12901 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12902 ac_save_CPPFLAGS=$CPPFLAGS
12903 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12905 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12906 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12908 printf %s "(cached) " >&6
12910 ac_wine_check_headers_saved_cc=$CC
12911 ac_wine_check_headers_saved_exeext=$ac_exeext
12912 eval CC=\$${wine_arch}_CC
12914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12915 /* end confdefs.h. */
12917 #include <libxml/parser.h>
12926 if ac_fn_c_try_compile "$LINENO"
12928 ac_cv_mingw_header_libxml_parser_h=yes
12930 ac_cv_mingw_header_libxml_parser_h=no
12932 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12933 CC=$ac_wine_check_headers_saved_cc
12934 ac_exeext=$ac_wine_check_headers_saved_exeext
12936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12937 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12938 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12943 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12944 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12946 printf %s "(cached) " >&6
12948 ac_wine_check_headers_saved_cc=$CC
12949 ac_wine_check_headers_saved_exeext=$ac_exeext
12950 eval CC=\$${wine_arch}_CC
12952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12953 /* end confdefs.h. */
12955 #include <libxml/xmlsave.h>
12964 if ac_fn_c_try_compile "$LINENO"
12966 ac_cv_mingw_header_libxml_xmlsave_h=yes
12968 ac_cv_mingw_header_libxml_xmlsave_h=no
12970 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12971 CC=$ac_wine_check_headers_saved_cc
12972 ac_exeext=$ac_wine_check_headers_saved_exeext
12974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12975 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12976 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12981 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12982 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12984 printf %s "(cached) " >&6
12986 ac_wine_check_headers_saved_cc=$CC
12987 ac_wine_check_headers_saved_exeext=$ac_exeext
12988 eval CC=\$${wine_arch}_CC
12990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12991 /* end confdefs.h. */
12993 #include <libxml/SAX2.h>
13002 if ac_fn_c_try_compile "$LINENO"
13004 ac_cv_mingw_header_libxml_SAX2_h=yes
13006 ac_cv_mingw_header_libxml_SAX2_h=no
13008 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13009 CC=$ac_wine_check_headers_saved_cc
13010 ac_exeext=$ac_wine_check_headers_saved_exeext
13012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
13013 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
13014 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
13018 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"
13020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
13021 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
13022 if test ${ac_cv_mingw_lib_xml2+y}
13024 printf %s "(cached) " >&6
13026 ac_wine_check_headers_saved_cc=$CC
13027 ac_wine_check_headers_saved_exeext=$ac_exeext
13028 ac_wine_check_headers_saved_libs=$LIBS
13029 eval CC=\$${wine_arch}_CC
13031 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
13032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13033 /* end confdefs.h. */
13035 /* Override any GCC internal prototype to avoid an error.
13036 Use char because int might match the return type of a GCC
13037 builtin and then its argument prototype would still apply. */
13038 char xmlFirstElementChild ();
13042 return xmlFirstElementChild ();
13047 if ac_fn_c_try_link "$LINENO"
13049 ac_cv_mingw_lib_xml2=yes
13051 ac_cv_mingw_lib_xml2=no
13053 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13054 conftest$ac_exeext conftest.$ac_ext
13055 CC=$ac_wine_check_headers_saved_cc
13056 ac_exeext=$ac_wine_check_headers_saved_exeext
13057 LIBS=$ac_wine_check_headers_saved_libs
13059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
13060 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
13061 if test "x$ac_cv_mingw_lib_xml2" = xyes
13065 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
13071 CPPFLAGS=$ac_save_CPPFLAGS
13073 if test "x$XML2_PE_LIBS" = "x"
13075 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
13078 if ${XSLT_PE_CFLAGS:+false} :
13080 if test ${MINGW_PKG_CONFIG+y}
13082 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt
2>/dev
/null
`
13085 if ${XSLT_PE_LIBS:+false} :
13087 if test ${MINGW_PKG_CONFIG+y}
13089 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt
2>/dev
/null
`
13092 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
13093 ac_save_CPPFLAGS=$CPPFLAGS
13094 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
13095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
13096 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
13097 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
13099 printf %s "(cached) " >&6
13101 ac_wine_check_headers_saved_cc=$CC
13102 ac_wine_check_headers_saved_exeext=$ac_exeext
13103 eval CC=\$${wine_arch}_CC
13105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13106 /* end confdefs.h. */
13108 #include <libxslt/pattern.h>
13117 if ac_fn_c_try_compile "$LINENO"
13119 ac_cv_mingw_header_libxslt_pattern_h=yes
13121 ac_cv_mingw_header_libxslt_pattern_h=no
13123 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13124 CC=$ac_wine_check_headers_saved_cc
13125 ac_exeext=$ac_wine_check_headers_saved_exeext
13127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
13128 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
13129 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
13133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
13134 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
13135 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
13137 printf %s "(cached) " >&6
13139 ac_wine_check_headers_saved_cc=$CC
13140 ac_wine_check_headers_saved_exeext=$ac_exeext
13141 eval CC=\$${wine_arch}_CC
13143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13144 /* end confdefs.h. */
13146 #include <libxslt/transform.h>
13155 if ac_fn_c_try_compile "$LINENO"
13157 ac_cv_mingw_header_libxslt_transform_h=yes
13159 ac_cv_mingw_header_libxslt_transform_h=no
13161 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13162 CC=$ac_wine_check_headers_saved_cc
13163 ac_exeext=$ac_wine_check_headers_saved_exeext
13165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
13166 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
13167 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
13171 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
13173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
13174 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
13175 if test ${ac_cv_mingw_lib_xslt+y}
13177 printf %s "(cached) " >&6
13179 ac_wine_check_headers_saved_cc=$CC
13180 ac_wine_check_headers_saved_exeext=$ac_exeext
13181 ac_wine_check_headers_saved_libs=$LIBS
13182 eval CC=\$${wine_arch}_CC
13184 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
13185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13186 /* end confdefs.h. */
13188 /* Override any GCC internal prototype to avoid an error.
13189 Use char because int might match the return type of a GCC
13190 builtin and then its argument prototype would still apply. */
13191 char xsltCompilePattern ();
13195 return xsltCompilePattern ();
13200 if ac_fn_c_try_link "$LINENO"
13202 ac_cv_mingw_lib_xslt=yes
13204 ac_cv_mingw_lib_xslt=no
13206 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13207 conftest$ac_exeext conftest.$ac_ext
13208 CC=$ac_wine_check_headers_saved_cc
13209 ac_exeext=$ac_wine_check_headers_saved_exeext
13210 LIBS=$ac_wine_check_headers_saved_libs
13212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
13213 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
13214 if test "x$ac_cv_mingw_lib_xslt" = xyes
13218 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
13224 CPPFLAGS=$ac_save_CPPFLAGS
13226 if test "x$XSLT_PE_LIBS" = "x"
13228 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
13231 if ${VKD3D_PE_CFLAGS:+false} :
13233 if test ${MINGW_PKG_CONFIG+y}
13235 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader
2>/dev
/null
`
13238 if ${VKD3D_PE_LIBS:+false} :
13240 if test ${MINGW_PKG_CONFIG+y}
13242 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader
2>/dev
/null
`
13245 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
13246 ac_save_CPPFLAGS=$CPPFLAGS
13247 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
13248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
13249 printf %s "checking for MinGW vkd3d.h... " >&6; }
13250 if test ${ac_cv_mingw_header_vkd3d_h+y}
13252 printf %s "(cached) " >&6
13254 ac_wine_check_headers_saved_cc=$CC
13255 ac_wine_check_headers_saved_exeext=$ac_exeext
13256 eval CC=\$${wine_arch}_CC
13258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13259 /* end confdefs.h. */
13270 if ac_fn_c_try_compile "$LINENO"
13272 ac_cv_mingw_header_vkd3d_h=yes
13274 ac_cv_mingw_header_vkd3d_h=no
13276 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13277 CC=$ac_wine_check_headers_saved_cc
13278 ac_exeext=$ac_wine_check_headers_saved_exeext
13280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
13281 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
13282 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
13286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
13287 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
13288 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
13290 printf %s "(cached) " >&6
13292 ac_wine_check_headers_saved_cc=$CC
13293 ac_wine_check_headers_saved_exeext=$ac_exeext
13294 eval CC=\$${wine_arch}_CC
13296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13297 /* end confdefs.h. */
13299 #include <vkd3d_shader.h>
13308 if ac_fn_c_try_compile "$LINENO"
13310 ac_cv_mingw_header_vkd3d_shader_h=yes
13312 ac_cv_mingw_header_vkd3d_shader_h=no
13314 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13315 CC=$ac_wine_check_headers_saved_cc
13316 ac_exeext=$ac_wine_check_headers_saved_exeext
13318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
13319 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
13320 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
13324 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
13326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
13327 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
13328 if test ${ac_cv_mingw_lib_vkd3d+y}
13330 printf %s "(cached) " >&6
13332 ac_wine_check_headers_saved_cc=$CC
13333 ac_wine_check_headers_saved_exeext=$ac_exeext
13334 ac_wine_check_headers_saved_libs=$LIBS
13335 eval CC=\$${wine_arch}_CC
13337 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
13338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13339 /* end confdefs.h. */
13341 /* Override any GCC internal prototype to avoid an error.
13342 Use char because int might match the return type of a GCC
13343 builtin and then its argument prototype would still apply. */
13344 char vkd3d_set_log_callback ();
13348 return vkd3d_set_log_callback ();
13353 if ac_fn_c_try_link "$LINENO"
13355 ac_cv_mingw_lib_vkd3d=yes
13357 ac_cv_mingw_lib_vkd3d=no
13359 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13360 conftest$ac_exeext conftest.$ac_ext
13361 CC=$ac_wine_check_headers_saved_cc
13362 ac_exeext=$ac_wine_check_headers_saved_exeext
13363 LIBS=$ac_wine_check_headers_saved_libs
13365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
13366 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
13367 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
13373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_build_varying_map in MinGW -lvkd3d-shader" >&5
13374 printf %s "checking for vkd3d_shader_build_varying_map in MinGW -lvkd3d-shader... " >&6; }
13375 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
13377 printf %s "(cached) " >&6
13379 ac_wine_check_headers_saved_cc=$CC
13380 ac_wine_check_headers_saved_exeext=$ac_exeext
13381 ac_wine_check_headers_saved_libs=$LIBS
13382 eval CC=\$${wine_arch}_CC
13384 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
13385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13386 /* end confdefs.h. */
13388 /* Override any GCC internal prototype to avoid an error.
13389 Use char because int might match the return type of a GCC
13390 builtin and then its argument prototype would still apply. */
13391 char vkd3d_shader_build_varying_map ();
13395 return vkd3d_shader_build_varying_map ();
13400 if ac_fn_c_try_link "$LINENO"
13402 ac_cv_mingw_lib_vkd3d_shader=yes
13404 ac_cv_mingw_lib_vkd3d_shader=no
13406 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13407 conftest$ac_exeext conftest.$ac_ext
13408 CC=$ac_wine_check_headers_saved_cc
13409 ac_exeext=$ac_wine_check_headers_saved_exeext
13410 LIBS=$ac_wine_check_headers_saved_libs
13412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
13413 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
13414 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
13420 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
13429 CPPFLAGS=$ac_save_CPPFLAGS
13431 if test "x$VKD3D_PE_LIBS" = "x"
13433 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
13436 if ${ZLIB_PE_CFLAGS:+false} :
13438 if test ${MINGW_PKG_CONFIG+y}
13440 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib
2>/dev
/null
`
13443 if ${ZLIB_PE_LIBS:+false} :
13445 if test ${MINGW_PKG_CONFIG+y}
13447 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib
2>/dev
/null
`
13450 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13451 ac_save_CPPFLAGS=$CPPFLAGS
13452 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13454 printf %s "checking for MinGW zlib.h... " >&6; }
13455 if test ${ac_cv_mingw_header_zlib_h+y}
13457 printf %s "(cached) " >&6
13459 ac_wine_check_headers_saved_cc=$CC
13460 ac_wine_check_headers_saved_exeext=$ac_exeext
13461 eval CC=\$${wine_arch}_CC
13463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13464 /* end confdefs.h. */
13475 if ac_fn_c_try_compile "$LINENO"
13477 ac_cv_mingw_header_zlib_h=yes
13479 ac_cv_mingw_header_zlib_h=no
13481 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13482 CC=$ac_wine_check_headers_saved_cc
13483 ac_exeext=$ac_wine_check_headers_saved_exeext
13485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13486 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13487 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13490 printf %s "checking for inflate in MinGW -lz... " >&6; }
13491 if test ${ac_cv_mingw_lib_z+y}
13493 printf %s "(cached) " >&6
13495 ac_wine_check_headers_saved_cc=$CC
13496 ac_wine_check_headers_saved_exeext=$ac_exeext
13497 ac_wine_check_headers_saved_libs=$LIBS
13498 eval CC=\$${wine_arch}_CC
13500 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13502 /* end confdefs.h. */
13504 /* Override any GCC internal prototype to avoid an error.
13505 Use char because int might match the return type of a GCC
13506 builtin and then its argument prototype would still apply. */
13516 if ac_fn_c_try_link "$LINENO"
13518 ac_cv_mingw_lib_z=yes
13520 ac_cv_mingw_lib_z=no
13522 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13523 conftest$ac_exeext conftest.$ac_ext
13524 CC=$ac_wine_check_headers_saved_cc
13525 ac_exeext=$ac_wine_check_headers_saved_exeext
13526 LIBS=$ac_wine_check_headers_saved_libs
13528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13529 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13530 if test "x$ac_cv_mingw_lib_z" = xyes
13534 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13537 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13539 CPPFLAGS=$ac_save_CPPFLAGS
13541 if test "x$ZLIB_PE_LIBS" = "x"
13543 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13547 if ${FAUDIO_PE_LIBS:+false} :
13549 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13550 if ${FAUDIO_PE_CFLAGS:+false} :
13552 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13559 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13560 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13562 if ${FLUIDSYNTH_PE_LIBS:+false} :
13564 FLUIDSYNTH_PE_LIBS="fluidsynth"
13565 if ${FLUIDSYNTH_PE_CFLAGS:+false} :
13567 FLUIDSYNTH_PE_CFLAGS="-I\$(top_srcdir)/libs/fluidsynth/include"
13569 enable_fluidsynth=no
13572 enable_fluidsynth=no
13574 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fluidsynth cflags: $FLUIDSYNTH_PE_CFLAGS" >&5
13575 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fluidsynth libs: $FLUIDSYNTH_PE_LIBS" >&5
13577 if ${GSM_PE_LIBS:+false} :
13580 if ${GSM_PE_CFLAGS:+false} :
13582 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13589 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13590 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13592 if ${JPEG_PE_LIBS:+false} :
13595 if ${JPEG_PE_CFLAGS:+false} :
13597 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13604 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13605 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13607 if ${JXR_PE_LIBS:+false} :
13610 if ${JXR_PE_CFLAGS:+false} :
13612 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13619 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13620 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13622 if ${LCMS2_PE_LIBS:+false} :
13624 LCMS2_PE_LIBS=lcms2
13625 if ${LCMS2_PE_CFLAGS:+false} :
13627 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13634 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13635 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13637 if ${LDAP_PE_LIBS:+false} :
13640 if ${LDAP_PE_CFLAGS:+false} :
13642 LDAP_PE_CFLAGS="-I\$(top_srcdir)/libs/ldap/include"
13649 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap cflags: $LDAP_PE_CFLAGS" >&5
13650 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap libs: $LDAP_PE_LIBS" >&5
13652 if ${MPG123_PE_LIBS:+false} :
13654 MPG123_PE_LIBS=mpg123
13655 if ${MPG123_PE_CFLAGS:+false} :
13657 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/include"
13664 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13665 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13667 if ${MUSL_PE_LIBS:+false} :
13670 if ${MUSL_PE_CFLAGS:+false} :
13679 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl cflags: $MUSL_PE_CFLAGS" >&5
13680 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl libs: $MUSL_PE_LIBS" >&5
13682 if ${PNG_PE_LIBS:+false} :
13684 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13685 if ${PNG_PE_CFLAGS:+false} :
13687 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13694 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13695 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13697 if ${TIFF_PE_LIBS:+false} :
13699 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13700 if ${TIFF_PE_CFLAGS:+false} :
13702 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13709 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13710 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13712 if ${VKD3D_PE_LIBS:+false} :
13714 VKD3D_PE_LIBS=vkd3d
13715 if ${VKD3D_PE_CFLAGS:+false} :
13717 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13724 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13725 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13727 if ${XML2_PE_LIBS:+false} :
13730 if ${XML2_PE_CFLAGS:+false} :
13732 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13739 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13740 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13742 if ${XSLT_PE_LIBS:+false} :
13745 if ${XSLT_PE_CFLAGS:+false} :
13747 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13754 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13755 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13757 if ${ZLIB_PE_LIBS:+false} :
13760 if ${ZLIB_PE_CFLAGS:+false} :
13762 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13769 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13770 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13772 if ${ZYDIS_PE_LIBS:+false} :
13774 ZYDIS_PE_LIBS=zydis
13775 if ${ZYDIS_PE_CFLAGS:+false} :
13777 ZYDIS_PE_CFLAGS="-I\$(top_srcdir)/libs/zydis/include"
13784 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis cflags: $ZYDIS_PE_CFLAGS" >&5
13785 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis libs: $ZYDIS_PE_LIBS" >&5
13789 if test "x$with_pthread" = xno
13793 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13794 if test "x$ac_cv_func_pthread_create" = xyes
13798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13799 printf %s "checking for pthread_create in -lpthread... " >&6; }
13800 if test ${ac_cv_lib_pthread_pthread_create+y}
13802 printf %s "(cached) " >&6
13804 ac_check_lib_save_LIBS=$LIBS
13805 LIBS="-lpthread $LIBS"
13806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13807 /* end confdefs.h. */
13809 /* Override any GCC internal prototype to avoid an error.
13810 Use char because int might match the return type of a GCC
13811 builtin and then its argument prototype would still apply. */
13812 char pthread_create ();
13816 return pthread_create ();
13821 if ac_fn_c_try_link "$LINENO"
13823 ac_cv_lib_pthread_pthread_create=yes
13825 ac_cv_lib_pthread_pthread_create=no
13827 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13828 conftest$ac_exeext conftest.$ac_ext
13829 LIBS=$ac_check_lib_save_LIBS
13831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13832 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13833 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13835 PTHREAD_LIBS="-lpthread"
13842 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13844 case "x$with_pthread" in
13846 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13847 Wine cannot support threads without libpthread.
13848 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13855 ac_cpp='$CPP $CPPFLAGS'
13856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13860 printf %s "checking how to run the C preprocessor... " >&6; }
13861 # On Suns, sometimes $CPP names a directory.
13862 if test -n "$CPP" && test -d "$CPP"; then
13865 if test -z "$CPP"; then
13866 if test ${ac_cv_prog_CPP+y}
13868 printf %s "(cached) " >&6
13870 # Double quotes because $CC needs to be expanded
13871 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13873 ac_preproc_ok=false
13874 for ac_c_preproc_warn_flag in '' yes
13876 # Use a header file that comes with gcc, so configuring glibc
13877 # with a fresh cross-compiler works.
13878 # On the NeXT, cc -E runs the code through the compiler's parser,
13879 # not just through cpp. "Syntax error" is here to catch this case.
13880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13881 /* end confdefs.h. */
13882 #include <limits.h>
13885 if ac_fn_c_try_cpp "$LINENO"
13889 # Broken: fails on valid input.
13892 rm -f conftest.err conftest.i conftest.$ac_ext
13894 # OK, works on sane cases. Now check whether nonexistent headers
13895 # can be detected and how.
13896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13897 /* end confdefs.h. */
13898 #include <ac_nonexistent.h>
13900 if ac_fn_c_try_cpp "$LINENO"
13902 # Broken: success on invalid input.
13905 # Passes both tests.
13909 rm -f conftest.err conftest.i conftest.$ac_ext
13912 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13913 rm -f conftest.i conftest.err conftest.
$ac_ext
13920 ac_cv_prog_CPP
=$CPP
13923 CPP
=$ac_cv_prog_CPP
13925 ac_cv_prog_CPP
=$CPP
13927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13928 printf "%s\n" "$CPP" >&6; }
13929 ac_preproc_ok
=false
13930 for ac_c_preproc_warn_flag
in '' yes
13932 # Use a header file that comes with gcc, so configuring glibc
13933 # with a fresh cross-compiler works.
13934 # On the NeXT, cc -E runs the code through the compiler's parser,
13935 # not just through cpp. "Syntax error" is here to catch this case.
13936 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13937 /* end confdefs.h. */
13938 #include <limits.h>
13941 if ac_fn_c_try_cpp
"$LINENO"
13945 # Broken: fails on valid input.
13948 rm -f conftest.err conftest.i conftest.
$ac_ext
13950 # OK, works on sane cases. Now check whether nonexistent headers
13951 # can be detected and how.
13952 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13953 /* end confdefs.h. */
13954 #include <ac_nonexistent.h>
13956 if ac_fn_c_try_cpp
"$LINENO"
13958 # Broken: success on invalid input.
13961 # Passes both tests.
13965 rm -f conftest.err conftest.i conftest.
$ac_ext
13968 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13969 rm -f conftest.i conftest.err conftest.
$ac_ext
13974 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13975 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13976 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
13977 See \`config.log' for more details" "$LINENO" 5; }
13981 ac_cpp
='$CPP $CPPFLAGS'
13982 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13983 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13984 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13988 printf %s
"checking for X... " >&6; }
13991 # Check whether --with-x was given.
13992 if test ${with_x+y}
13997 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13998 if test "x$with_x" = xno
; then
13999 # The user explicitly disabled X.
14002 case $x_includes,$x_libraries in #(
14003 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
14004 *,NONE | NONE
,*) if test ${ac_cv_have_x+y}
14006 printf %s
"(cached) " >&6
14008 # One or both of the vars are not set, and there is no cached value.
14011 # Do we need to do anything special at all?
14014 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14015 /* end confdefs.h. */
14016 #include <X11/Xlib.h>
14025 if ac_fn_c_try_link
"$LINENO"
14027 # We can compile and link X programs with no special options.
14031 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14032 conftest
$ac_exeext conftest.
$ac_ext
14033 LIBS
="$ac_save_LIBS"
14034 # If that didn't work, only try xmkmf and file system searches
14035 # for native compilation.
14036 if test x
"$ac_x_includes" = xno
&& test "$cross_compiling" = no
14038 rm -f -r conftest.dir
14039 if mkdir conftest.dir
; then
14041 cat >Imakefile
<<'_ACEOF'
14043 @echo incroot='${INCROOT}'
14045 @echo usrlibdir='${USRLIBDIR}'
14047 @echo libdir='${LIBDIR}'
14049 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
14050 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
14051 for ac_var
in incroot usrlibdir libdir
; do
14052 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
14054 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
14055 for ac_extension
in a so sl dylib la dll
; do
14056 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
14057 test -f "$ac_im_libdir/libX11.$ac_extension"; then
14058 ac_im_usrlibdir
=$ac_im_libdir; break
14061 # Screen out bogus values from the imake configuration. They are
14062 # bogus both because they are the default anyway, and because
14063 # using them would break gcc on systems where it needs fixed includes.
14064 case $ac_im_incroot in
14065 /usr
/include
) ac_x_includes
= ;;
14066 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
14068 case $ac_im_usrlibdir in
14069 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
14070 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
14074 rm -f -r conftest.dir
14077 # Standard set of common directories for X headers.
14078 # Check X11 before X11Rn because it is often a symlink to the current release.
14092 /usr/local/X11/include
14093 /usr/local/X11R7/include
14094 /usr/local/X11R6/include
14095 /usr/local/X11R5/include
14096 /usr/local/X11R4/include
14098 /usr/local/include/X11
14099 /usr/local/include/X11R7
14100 /usr/local/include/X11R6
14101 /usr/local/include/X11R5
14102 /usr/local/include/X11R4
14108 /usr/XFree86/include/X11
14112 /usr/unsupported/include
14113 /usr/athena/include
14114 /usr/local/x11r5/include
14115 /usr/lpp/Xamples/include
14117 /usr/openwin/include
14118 /usr/openwin/share/include'
14120 if test "$ac_x_includes" = no
; then
14121 # Guess where to find include files, by looking for Xlib.h.
14122 # First, try using that file with no special directory specified.
14123 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14124 /* end confdefs.h. */
14125 #include <X11/Xlib.h>
14127 if ac_fn_c_try_cpp
"$LINENO"
14129 # We can compile using X headers with no special include directory.
14132 for ac_dir
in $ac_x_header_dirs; do
14133 if test -r "$ac_dir/X11/Xlib.h"; then
14134 ac_x_includes
=$ac_dir
14139 rm -f conftest.err conftest.i conftest.
$ac_ext
14140 fi # $ac_x_includes = no
14142 if test "$ac_x_libraries" = no
; then
14143 # Check for the libraries.
14144 # See if we find them without any special options.
14145 # Don't add to $LIBS permanently.
14148 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14149 /* end confdefs.h. */
14150 #include <X11/Xlib.h>
14159 if ac_fn_c_try_link
"$LINENO"
14162 # We can link X programs with no special library path.
14166 for ac_dir
in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
14168 # Don't even attempt the hair of trying to link an X program!
14169 for ac_extension
in a so sl dylib la dll
; do
14170 if test -r "$ac_dir/libX11.$ac_extension"; then
14171 ac_x_libraries
=$ac_dir
14177 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14178 conftest
$ac_exeext conftest.
$ac_ext
14179 fi # $ac_x_libraries = no
14182 # Record the results.
14183 case $ac_x_includes,$ac_x_libraries in #(
14184 no
,* |
*,no |
*\'*) :
14185 # Didn't find X, or a directory has "'" in its name.
14186 ac_cv_have_x
="have_x=no" ;; #(
14188 # Record where we found X for the cache.
14189 ac_cv_have_x
="have_x=yes\
14190 ac_x_includes='$ac_x_includes'\
14191 ac_x_libraries='$ac_x_libraries'" ;;
14197 eval "$ac_cv_have_x"
14200 if test "$have_x" != yes; then
14201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
14202 printf "%s\n" "$have_x" >&6; }
14205 # If each of the values was on the command line, it overrides each guess.
14206 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
14207 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
14208 # Update the cache value to reflect the command line values.
14209 ac_cv_have_x
="have_x=yes\
14210 ac_x_includes='$x_includes'\
14211 ac_x_libraries='$x_libraries'"
14212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
14213 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
14216 if test "$no_x" = yes; then
14217 # Not all programs may use this symbol, but it does not hurt to define it.
14219 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
14221 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
14223 if test -n "$x_includes"; then
14224 X_CFLAGS
="$X_CFLAGS -I$x_includes"
14227 # It would also be nice to do this for all -L options, not just this one.
14228 if test -n "$x_libraries"; then
14229 X_LIBS
="$X_LIBS -L$x_libraries"
14230 # For Solaris; some versions of Sun CC require a space after -R and
14231 # others require no space. Words are not sufficient . . . .
14232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
14233 printf %s
"checking whether -R must be followed by a space... " >&6; }
14234 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
14235 ac_xsave_c_werror_flag
=$ac_c_werror_flag
14236 ac_c_werror_flag
=yes
14237 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14238 /* end confdefs.h. */
14248 if ac_fn_c_try_link
"$LINENO"
14250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14251 printf "%s\n" "no" >&6; }
14252 X_LIBS
="$X_LIBS -R$x_libraries"
14254 LIBS
="$ac_xsave_LIBS -R $x_libraries"
14255 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14256 /* end confdefs.h. */
14266 if ac_fn_c_try_link
"$LINENO"
14268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14269 printf "%s\n" "yes" >&6; }
14270 X_LIBS
="$X_LIBS -R $x_libraries"
14272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
14273 printf "%s\n" "neither works" >&6; }
14275 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14276 conftest
$ac_exeext conftest.
$ac_ext
14278 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14279 conftest
$ac_exeext conftest.
$ac_ext
14280 ac_c_werror_flag
=$ac_xsave_c_werror_flag
14281 LIBS
=$ac_xsave_LIBS
14284 # Check for system-dependent libraries X programs must link with.
14285 # Do this before checking for the system-independent R6 libraries
14286 # (-lICE), since we may need -lsocket or whatever for X linking.
14288 if test "$ISC" = yes; then
14289 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
14291 # Martyn Johnson says this is needed for Ultrix, if the X
14292 # libraries were built with DECnet support. And Karl Berry says
14293 # the Alpha needs dnet_stub (dnet does not exist).
14294 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
14295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14296 /* end confdefs.h. */
14298 /* Override any GCC internal prototype to avoid an error.
14299 Use char because int might match the return type of a GCC
14300 builtin and then its argument prototype would still apply. */
14301 char XOpenDisplay ();
14305 return XOpenDisplay ();
14310 if ac_fn_c_try_link
"$LINENO"
14314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
14315 printf %s
"checking for dnet_ntoa in -ldnet... " >&6; }
14316 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
14318 printf %s
"(cached) " >&6
14320 ac_check_lib_save_LIBS
=$LIBS
14321 LIBS
="-ldnet $LIBS"
14322 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14323 /* end confdefs.h. */
14325 /* Override any GCC internal prototype to avoid an error.
14326 Use char because int might match the return type of a GCC
14327 builtin and then its argument prototype would still apply. */
14332 return dnet_ntoa ();
14337 if ac_fn_c_try_link
"$LINENO"
14339 ac_cv_lib_dnet_dnet_ntoa
=yes
14341 ac_cv_lib_dnet_dnet_ntoa
=no
14343 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14344 conftest
$ac_exeext conftest.
$ac_ext
14345 LIBS
=$ac_check_lib_save_LIBS
14347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
14348 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
14349 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
14351 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
14354 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
14355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
14356 printf %s
"checking for dnet_ntoa in -ldnet_stub... " >&6; }
14357 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
14359 printf %s
"(cached) " >&6
14361 ac_check_lib_save_LIBS
=$LIBS
14362 LIBS
="-ldnet_stub $LIBS"
14363 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14364 /* end confdefs.h. */
14366 /* Override any GCC internal prototype to avoid an error.
14367 Use char because int might match the return type of a GCC
14368 builtin and then its argument prototype would still apply. */
14373 return dnet_ntoa ();
14378 if ac_fn_c_try_link
"$LINENO"
14380 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
14382 ac_cv_lib_dnet_stub_dnet_ntoa
=no
14384 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14385 conftest
$ac_exeext conftest.
$ac_ext
14386 LIBS
=$ac_check_lib_save_LIBS
14388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
14389 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
14390 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
14392 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
14397 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14398 conftest
$ac_exeext conftest.
$ac_ext
14399 LIBS
="$ac_xsave_LIBS"
14401 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14402 # to get the SysV transport functions.
14403 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
14405 # The nsl library prevents programs from opening the X display
14406 # on Irix 5.2, according to T.E. Dickey.
14407 # The functions gethostbyname, getservbyname, and inet_addr are
14408 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
14409 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
14410 if test "x$ac_cv_func_gethostbyname" = xyes
14415 if test $ac_cv_func_gethostbyname = no
; then
14416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
14417 printf %s
"checking for gethostbyname in -lnsl... " >&6; }
14418 if test ${ac_cv_lib_nsl_gethostbyname+y}
14420 printf %s
"(cached) " >&6
14422 ac_check_lib_save_LIBS
=$LIBS
14424 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14425 /* end confdefs.h. */
14427 /* Override any GCC internal prototype to avoid an error.
14428 Use char because int might match the return type of a GCC
14429 builtin and then its argument prototype would still apply. */
14430 char gethostbyname ();
14434 return gethostbyname ();
14439 if ac_fn_c_try_link
"$LINENO"
14441 ac_cv_lib_nsl_gethostbyname
=yes
14443 ac_cv_lib_nsl_gethostbyname
=no
14445 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14446 conftest
$ac_exeext conftest.
$ac_ext
14447 LIBS
=$ac_check_lib_save_LIBS
14449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
14450 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
14451 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
14453 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
14456 if test $ac_cv_lib_nsl_gethostbyname = no
; then
14457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
14458 printf %s
"checking for gethostbyname in -lbsd... " >&6; }
14459 if test ${ac_cv_lib_bsd_gethostbyname+y}
14461 printf %s
"(cached) " >&6
14463 ac_check_lib_save_LIBS
=$LIBS
14465 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14466 /* end confdefs.h. */
14468 /* Override any GCC internal prototype to avoid an error.
14469 Use char because int might match the return type of a GCC
14470 builtin and then its argument prototype would still apply. */
14471 char gethostbyname ();
14475 return gethostbyname ();
14480 if ac_fn_c_try_link
"$LINENO"
14482 ac_cv_lib_bsd_gethostbyname
=yes
14484 ac_cv_lib_bsd_gethostbyname
=no
14486 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14487 conftest
$ac_exeext conftest.
$ac_ext
14488 LIBS
=$ac_check_lib_save_LIBS
14490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14491 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14492 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14494 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
14500 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14501 # socket/setsockopt and other routines are undefined under SCO ODT
14502 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14503 # on later versions), says Simon Leinen: it contains gethostby*
14504 # variants that don't use the name server (or something). -lsocket
14505 # must be given before -lnsl if both are needed. We assume that
14506 # if connect needs -lnsl, so does gethostbyname.
14507 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
14508 if test "x$ac_cv_func_connect" = xyes
14513 if test $ac_cv_func_connect = no
; then
14514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14515 printf %s
"checking for connect in -lsocket... " >&6; }
14516 if test ${ac_cv_lib_socket_connect+y}
14518 printf %s
"(cached) " >&6
14520 ac_check_lib_save_LIBS
=$LIBS
14521 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
14522 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14523 /* end confdefs.h. */
14525 /* Override any GCC internal prototype to avoid an error.
14526 Use char because int might match the return type of a GCC
14527 builtin and then its argument prototype would still apply. */
14537 if ac_fn_c_try_link
"$LINENO"
14539 ac_cv_lib_socket_connect
=yes
14541 ac_cv_lib_socket_connect
=no
14543 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14544 conftest
$ac_exeext conftest.
$ac_ext
14545 LIBS
=$ac_check_lib_save_LIBS
14547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14548 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14549 if test "x$ac_cv_lib_socket_connect" = xyes
14551 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
14556 # Guillermo Gomez says -lposix is necessary on A/UX.
14557 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
14558 if test "x$ac_cv_func_remove" = xyes
14563 if test $ac_cv_func_remove = no
; then
14564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14565 printf %s
"checking for remove in -lposix... " >&6; }
14566 if test ${ac_cv_lib_posix_remove+y}
14568 printf %s
"(cached) " >&6
14570 ac_check_lib_save_LIBS
=$LIBS
14571 LIBS
="-lposix $LIBS"
14572 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14573 /* end confdefs.h. */
14575 /* Override any GCC internal prototype to avoid an error.
14576 Use char because int might match the return type of a GCC
14577 builtin and then its argument prototype would still apply. */
14587 if ac_fn_c_try_link
"$LINENO"
14589 ac_cv_lib_posix_remove
=yes
14591 ac_cv_lib_posix_remove
=no
14593 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14594 conftest
$ac_exeext conftest.
$ac_ext
14595 LIBS
=$ac_check_lib_save_LIBS
14597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14598 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14599 if test "x$ac_cv_lib_posix_remove" = xyes
14601 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
14606 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14607 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
14608 if test "x$ac_cv_func_shmat" = xyes
14613 if test $ac_cv_func_shmat = no
; then
14614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14615 printf %s
"checking for shmat in -lipc... " >&6; }
14616 if test ${ac_cv_lib_ipc_shmat+y}
14618 printf %s
"(cached) " >&6
14620 ac_check_lib_save_LIBS
=$LIBS
14622 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14623 /* end confdefs.h. */
14625 /* Override any GCC internal prototype to avoid an error.
14626 Use char because int might match the return type of a GCC
14627 builtin and then its argument prototype would still apply. */
14637 if ac_fn_c_try_link
"$LINENO"
14639 ac_cv_lib_ipc_shmat
=yes
14641 ac_cv_lib_ipc_shmat
=no
14643 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14644 conftest
$ac_exeext conftest.
$ac_ext
14645 LIBS
=$ac_check_lib_save_LIBS
14647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14648 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14649 if test "x$ac_cv_lib_ipc_shmat" = xyes
14651 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
14657 # Check for libraries that X11R6 Xt/Xaw programs need.
14658 ac_save_LDFLAGS
=$LDFLAGS
14659 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
14660 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14661 # check for ICE first), but we must link in the order -lSM -lICE or
14662 # we get undefined symbols. So assume we have SM if we have ICE.
14663 # These have to be linked with before -lX11, unlike the other
14664 # libraries we check for below, so use a different variable.
14665 # John Interrante, Karl Berry
14666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14667 printf %s
"checking for IceConnectionNumber in -lICE... " >&6; }
14668 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14670 printf %s
"(cached) " >&6
14672 ac_check_lib_save_LIBS
=$LIBS
14673 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
14674 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14675 /* end confdefs.h. */
14677 /* Override any GCC internal prototype to avoid an error.
14678 Use char because int might match the return type of a GCC
14679 builtin and then its argument prototype would still apply. */
14680 char IceConnectionNumber ();
14684 return IceConnectionNumber ();
14689 if ac_fn_c_try_link
"$LINENO"
14691 ac_cv_lib_ICE_IceConnectionNumber
=yes
14693 ac_cv_lib_ICE_IceConnectionNumber
=no
14695 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14696 conftest
$ac_exeext conftest.
$ac_ext
14697 LIBS
=$ac_check_lib_save_LIBS
14699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14700 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14701 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14703 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
14706 LDFLAGS
=$ac_save_LDFLAGS
14711 if test "$have_x" = "yes"
14713 ac_save_CPPFLAGS
="$CPPFLAGS"
14714 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
14716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14717 printf %s
"checking for -lX11... " >&6; }
14718 if test ${ac_cv_lib_soname_X11+y}
14720 printf %s
"(cached) " >&6
14722 ac_check_soname_save_LIBS
=$LIBS
14723 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14724 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14725 /* end confdefs.h. */
14727 /* Override any GCC internal prototype to avoid an error.
14728 Use char because int might match the return type of a GCC
14729 builtin and then its argument prototype would still apply. */
14730 char XCreateWindow ();
14734 return XCreateWindow ();
14739 if ac_fn_c_try_link
"$LINENO"
14742 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14743 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'` ;;
14744 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14745 if ${ac_cv_lib_soname_X11:+false} :
14747 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14751 ac_cv_lib_soname_X11
=
14753 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14754 conftest
$ac_exeext conftest.
$ac_ext
14755 LIBS
=$ac_check_soname_save_LIBS
14757 if ${ac_cv_lib_soname_X11:+false} :
14759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14760 printf "%s\n" "not found" >&6; }
14763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14764 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14766 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14771 printf %s
"checking for -lXext... " >&6; }
14772 if test ${ac_cv_lib_soname_Xext+y}
14774 printf %s
"(cached) " >&6
14776 ac_check_soname_save_LIBS
=$LIBS
14777 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14778 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14779 /* end confdefs.h. */
14781 /* Override any GCC internal prototype to avoid an error.
14782 Use char because int might match the return type of a GCC
14783 builtin and then its argument prototype would still apply. */
14784 char XextCreateExtension ();
14788 return XextCreateExtension ();
14793 if ac_fn_c_try_link
"$LINENO"
14796 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14797 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'` ;;
14798 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14799 if ${ac_cv_lib_soname_Xext:+false} :
14801 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14805 ac_cv_lib_soname_Xext
=
14807 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14808 conftest
$ac_exeext conftest.
$ac_ext
14809 LIBS
=$ac_check_soname_save_LIBS
14811 if ${ac_cv_lib_soname_Xext:+false} :
14813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14814 printf "%s\n" "not found" >&6; }
14817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14818 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14820 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14822 X_LIBS
="$X_LIBS -lXext"
14824 X_LIBS
="$X_LIBS -lX11"
14826 xlib_includes
="#include <X11/Xlib.h>
14827 #include <X11/Xutil.h>"
14829 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "$xlib_includes
14831 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14833 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14836 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "$xlib_includes
14838 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14840 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14843 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "$xlib_includes
14845 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14847 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14850 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "$xlib_includes
14852 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14854 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14857 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "$xlib_includes
14859 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14861 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14864 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "$xlib_includes
14866 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14868 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14871 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "$xlib_includes
14873 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14875 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14878 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "$xlib_includes
14880 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14882 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14885 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "$xlib_includes
14887 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14889 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14894 ac_fn_c_check_header_compile
"$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "$xlib_includes
14896 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14899 printf %s
"checking for -lXcursor... " >&6; }
14900 if test ${ac_cv_lib_soname_Xcursor+y}
14902 printf %s
"(cached) " >&6
14904 ac_check_soname_save_LIBS
=$LIBS
14905 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14906 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14907 /* end confdefs.h. */
14909 /* Override any GCC internal prototype to avoid an error.
14910 Use char because int might match the return type of a GCC
14911 builtin and then its argument prototype would still apply. */
14912 char XcursorImageLoadCursor ();
14916 return XcursorImageLoadCursor ();
14921 if ac_fn_c_try_link
"$LINENO"
14924 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14925 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'` ;;
14926 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14927 if ${ac_cv_lib_soname_Xcursor:+false} :
14929 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14933 ac_cv_lib_soname_Xcursor
=
14935 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14936 conftest
$ac_exeext conftest.
$ac_ext
14937 LIBS
=$ac_check_soname_save_LIBS
14939 if ${ac_cv_lib_soname_Xcursor:+false} :
14941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14942 printf "%s\n" "not found" >&6; }
14945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14946 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14948 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14954 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14956 case "x$with_xcursor" in
14957 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14959 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14960 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14965 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "$xlib_includes
14967 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14970 printf %s
"checking for -lXi... " >&6; }
14971 if test ${ac_cv_lib_soname_Xi+y}
14973 printf %s
"(cached) " >&6
14975 ac_check_soname_save_LIBS
=$LIBS
14976 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14977 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14978 /* end confdefs.h. */
14980 /* Override any GCC internal prototype to avoid an error.
14981 Use char because int might match the return type of a GCC
14982 builtin and then its argument prototype would still apply. */
14983 char XOpenDevice ();
14987 return XOpenDevice ();
14992 if ac_fn_c_try_link
"$LINENO"
14995 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14996 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'` ;;
14997 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14998 if ${ac_cv_lib_soname_Xi:+false} :
15000 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15004 ac_cv_lib_soname_Xi
=
15006 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15007 conftest
$ac_exeext conftest.
$ac_ext
15008 LIBS
=$ac_check_soname_save_LIBS
15010 if ${ac_cv_lib_soname_Xi:+false} :
15012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15013 printf "%s\n" "not found" >&6; }
15016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
15017 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
15019 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
15025 if test "x$ac_cv_lib_soname_Xi" = "x"
15027 case "x$with_xinput" in
15028 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
15030 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
15031 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
15036 if test "x$ac_cv_lib_soname_Xi" != x
15038 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
15040 case "x$with_xinput2" in
15041 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
15043 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
15044 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
15050 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
15052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
15053 printf %s
"checking for XShmQueryExtension in -lXext... " >&6; }
15054 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
15056 printf %s
"(cached) " >&6
15058 ac_check_lib_save_LIBS
=$LIBS
15059 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
15060 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15061 /* end confdefs.h. */
15063 /* Override any GCC internal prototype to avoid an error.
15064 Use char because int might match the return type of a GCC
15065 builtin and then its argument prototype would still apply. */
15066 char XShmQueryExtension ();
15070 return XShmQueryExtension ();
15075 if ac_fn_c_try_link
"$LINENO"
15077 ac_cv_lib_Xext_XShmQueryExtension
=yes
15079 ac_cv_lib_Xext_XShmQueryExtension
=no
15081 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15082 conftest
$ac_exeext conftest.
$ac_ext
15083 LIBS
=$ac_check_lib_save_LIBS
15085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
15086 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
15087 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
15090 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
15095 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
15097 case "x$with_xshm" in
15098 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
15100 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
15101 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
15106 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
15108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
15109 printf %s
"checking for XShapeQueryExtension in -lXext... " >&6; }
15110 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
15112 printf %s
"(cached) " >&6
15114 ac_check_lib_save_LIBS
=$LIBS
15115 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
15116 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15117 /* end confdefs.h. */
15119 /* Override any GCC internal prototype to avoid an error.
15120 Use char because int might match the return type of a GCC
15121 builtin and then its argument prototype would still apply. */
15122 char XShapeQueryExtension ();
15126 return XShapeQueryExtension ();
15131 if ac_fn_c_try_link
"$LINENO"
15133 ac_cv_lib_Xext_XShapeQueryExtension
=yes
15135 ac_cv_lib_Xext_XShapeQueryExtension
=no
15137 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15138 conftest
$ac_exeext conftest.
$ac_ext
15139 LIBS
=$ac_check_lib_save_LIBS
15141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
15142 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
15143 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
15146 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
15151 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
15153 case "x$with_xshape" in
15154 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
15156 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
15157 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
15162 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
15164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
15165 printf %s
"checking for -lXxf86vm... " >&6; }
15166 if test ${ac_cv_lib_soname_Xxf86vm+y}
15168 printf %s
"(cached) " >&6
15170 ac_check_soname_save_LIBS
=$LIBS
15171 LIBS
="-lXxf86vm $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 XF86VidModeQueryExtension ();
15182 return XF86VidModeQueryExtension ();
15187 if ac_fn_c_try_link
"$LINENO"
15190 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15191 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'` ;;
15192 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15193 if ${ac_cv_lib_soname_Xxf86vm:+false} :
15195 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15199 ac_cv_lib_soname_Xxf86vm
=
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_Xxf86vm:+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_Xxf86vm" >&5
15212 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
15214 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
15219 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
15221 case "x$with_xxf86vm" in
15222 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
15224 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
15225 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
15230 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
15232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
15233 printf %s
"checking for -lXrender... " >&6; }
15234 if test ${ac_cv_lib_soname_Xrender+y}
15236 printf %s
"(cached) " >&6
15238 ac_check_soname_save_LIBS
=$LIBS
15239 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15240 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15241 /* end confdefs.h. */
15243 /* Override any GCC internal prototype to avoid an error.
15244 Use char because int might match the return type of a GCC
15245 builtin and then its argument prototype would still apply. */
15246 char XRenderQueryExtension ();
15250 return XRenderQueryExtension ();
15255 if ac_fn_c_try_link
"$LINENO"
15258 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15259 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'` ;;
15260 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15261 if ${ac_cv_lib_soname_Xrender:+false} :
15263 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15267 ac_cv_lib_soname_Xrender
=
15269 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15270 conftest
$ac_exeext conftest.
$ac_ext
15271 LIBS
=$ac_check_soname_save_LIBS
15273 if ${ac_cv_lib_soname_Xrender:+false} :
15275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15276 printf "%s\n" "not found" >&6; }
15279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
15280 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
15282 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
15284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
15285 printf %s
"checking for XRenderSetPictureTransform in -lXrender... " >&6; }
15286 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
15288 printf %s
"(cached) " >&6
15290 ac_check_lib_save_LIBS
=$LIBS
15291 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15292 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15293 /* end confdefs.h. */
15295 /* Override any GCC internal prototype to avoid an error.
15296 Use char because int might match the return type of a GCC
15297 builtin and then its argument prototype would still apply. */
15298 char XRenderSetPictureTransform ();
15302 return XRenderSetPictureTransform ();
15307 if ac_fn_c_try_link
"$LINENO"
15309 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
15311 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
15313 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15314 conftest
$ac_exeext conftest.
$ac_ext
15315 LIBS
=$ac_check_lib_save_LIBS
15317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
15318 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
15319 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
15322 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
15326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
15327 printf %s
"checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
15328 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
15330 printf %s
"(cached) " >&6
15332 ac_check_lib_save_LIBS
=$LIBS
15333 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15334 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15335 /* end confdefs.h. */
15337 /* Override any GCC internal prototype to avoid an error.
15338 Use char because int might match the return type of a GCC
15339 builtin and then its argument prototype would still apply. */
15340 char XRenderCreateLinearGradient ();
15344 return XRenderCreateLinearGradient ();
15349 if ac_fn_c_try_link
"$LINENO"
15351 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
15353 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
15355 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15356 conftest
$ac_exeext conftest.
$ac_ext
15357 LIBS
=$ac_check_lib_save_LIBS
15359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15360 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15361 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15364 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15371 if test "x$ac_cv_lib_soname_Xrender" = "x"
15373 case "x$with_xrender" in
15374 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15376 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
15377 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15382 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15384 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15385 /* end confdefs.h. */
15386 #include <X11/Xlib.h>
15387 #include <X11/extensions/Xrandr.h>
15391 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15396 if ac_fn_c_try_compile
"$LINENO"
15398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15399 printf %s
"checking for -lXrandr... " >&6; }
15400 if test ${ac_cv_lib_soname_Xrandr+y}
15402 printf %s
"(cached) " >&6
15404 ac_check_soname_save_LIBS
=$LIBS
15405 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15406 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15407 /* end confdefs.h. */
15409 /* Override any GCC internal prototype to avoid an error.
15410 Use char because int might match the return type of a GCC
15411 builtin and then its argument prototype would still apply. */
15412 char XRRQueryExtension ();
15416 return XRRQueryExtension ();
15421 if ac_fn_c_try_link
"$LINENO"
15424 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15425 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'` ;;
15426 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15427 if ${ac_cv_lib_soname_Xrandr:+false} :
15429 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15433 ac_cv_lib_soname_Xrandr
=
15435 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15436 conftest
$ac_exeext conftest.
$ac_ext
15437 LIBS
=$ac_check_soname_save_LIBS
15439 if ${ac_cv_lib_soname_Xrandr:+false} :
15441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15442 printf "%s\n" "not found" >&6; }
15445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15446 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15448 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15450 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15451 /* end confdefs.h. */
15452 #include <X11/Xlib.h>
15453 #include <X11/extensions/Xrandr.h>
15457 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15462 if ac_fn_c_try_compile
"$LINENO"
15465 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15468 as_fn_append wine_notices
"|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15470 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15473 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15475 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15477 case "x$with_xrandr" in
15478 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15480 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15481 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15486 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15488 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15489 /* end confdefs.h. */
15490 #include <X11/Xlib.h>
15491 #include <X11/extensions/Xfixes.h>
15495 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15500 if ac_fn_c_try_compile
"$LINENO"
15502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15503 printf %s
"checking for -lXfixes... " >&6; }
15504 if test ${ac_cv_lib_soname_Xfixes+y}
15506 printf %s
"(cached) " >&6
15508 ac_check_soname_save_LIBS
=$LIBS
15509 LIBS
="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15510 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15511 /* end confdefs.h. */
15513 /* Override any GCC internal prototype to avoid an error.
15514 Use char because int might match the return type of a GCC
15515 builtin and then its argument prototype would still apply. */
15516 char XFixesQueryVersion ();
15520 return XFixesQueryVersion ();
15525 if ac_fn_c_try_link
"$LINENO"
15528 dll
) ac_cv_lib_soname_Xfixes
=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15529 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'` ;;
15530 *) ac_cv_lib_soname_Xfixes
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15531 if ${ac_cv_lib_soname_Xfixes:+false} :
15533 ac_cv_lib_soname_Xfixes
=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15537 ac_cv_lib_soname_Xfixes
=
15539 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15540 conftest
$ac_exeext conftest.
$ac_ext
15541 LIBS
=$ac_check_soname_save_LIBS
15543 if ${ac_cv_lib_soname_Xfixes:+false} :
15545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15546 printf "%s\n" "not found" >&6; }
15549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15550 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15552 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15557 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15559 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15561 case "x$with_xfixes" in
15562 x
) as_fn_append wine_notices
"|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15564 *) as_fn_error $?
"libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15565 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15570 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15572 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15573 /* end confdefs.h. */
15574 #include <X11/Xlib.h>
15575 #include <X11/extensions/Xinerama.h>
15579 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15584 if ac_fn_c_try_compile
"$LINENO"
15586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15587 printf %s
"checking for -lXinerama... " >&6; }
15588 if test ${ac_cv_lib_soname_Xinerama+y}
15590 printf %s
"(cached) " >&6
15592 ac_check_soname_save_LIBS
=$LIBS
15593 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15594 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15595 /* end confdefs.h. */
15597 /* Override any GCC internal prototype to avoid an error.
15598 Use char because int might match the return type of a GCC
15599 builtin and then its argument prototype would still apply. */
15600 char XineramaQueryScreens ();
15604 return XineramaQueryScreens ();
15609 if ac_fn_c_try_link
"$LINENO"
15612 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15613 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'` ;;
15614 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15615 if ${ac_cv_lib_soname_Xinerama:+false} :
15617 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15621 ac_cv_lib_soname_Xinerama
=
15623 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15624 conftest
$ac_exeext conftest.
$ac_ext
15625 LIBS
=$ac_check_soname_save_LIBS
15627 if ${ac_cv_lib_soname_Xinerama:+false} :
15629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15630 printf "%s\n" "not found" >&6; }
15633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15634 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15636 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15641 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15643 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15645 case "x$with_xinerama" in
15646 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15648 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15649 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15654 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "$xlib_includes
15656 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
15658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15659 printf %s
"checking for -lXcomposite... " >&6; }
15660 if test ${ac_cv_lib_soname_Xcomposite+y}
15662 printf %s
"(cached) " >&6
15664 ac_check_soname_save_LIBS
=$LIBS
15665 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15666 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15667 /* end confdefs.h. */
15669 /* Override any GCC internal prototype to avoid an error.
15670 Use char because int might match the return type of a GCC
15671 builtin and then its argument prototype would still apply. */
15672 char XCompositeRedirectWindow ();
15676 return XCompositeRedirectWindow ();
15681 if ac_fn_c_try_link
"$LINENO"
15684 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15685 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'` ;;
15686 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15687 if ${ac_cv_lib_soname_Xcomposite:+false} :
15689 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15693 ac_cv_lib_soname_Xcomposite
=
15695 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15696 conftest
$ac_exeext conftest.
$ac_ext
15697 LIBS
=$ac_check_soname_save_LIBS
15699 if ${ac_cv_lib_soname_Xcomposite:+false} :
15701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15702 printf "%s\n" "not found" >&6; }
15705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15706 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15708 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15714 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15716 case "x$with_xcomposite" in
15717 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15719 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15720 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15725 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "$xlib_includes
15727 if test "x$ac_cv_member_XICCallback_callback" = xyes
15730 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15734 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "$xlib_includes
15736 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15739 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15747 if test "x$with_opengl" != "xno"
15749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15750 printf %s
"checking for -lGL... " >&6; }
15751 if test ${ac_cv_lib_soname_GL+y}
15753 printf %s
"(cached) " >&6
15755 ac_check_soname_save_LIBS
=$LIBS
15756 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15757 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15758 /* end confdefs.h. */
15760 /* Override any GCC internal prototype to avoid an error.
15761 Use char because int might match the return type of a GCC
15762 builtin and then its argument prototype would still apply. */
15763 char glXCreateContext ();
15767 return glXCreateContext ();
15772 if ac_fn_c_try_link
"$LINENO"
15775 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15776 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'` ;;
15777 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15778 if ${ac_cv_lib_soname_GL:+false} :
15780 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15784 ac_cv_lib_soname_GL
=
15786 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15787 conftest
$ac_exeext conftest.
$ac_ext
15788 LIBS
=$ac_check_soname_save_LIBS
15790 if ${ac_cv_lib_soname_GL:+false} :
15792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15793 printf "%s\n" "not found" >&6; }
15794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15795 printf %s
"checking for -lGL... " >&6; }
15796 if test ${ac_cv_lib_soname_GL+y}
15798 printf %s
"(cached) " >&6
15800 ac_check_soname_save_LIBS
=$LIBS
15801 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"
15802 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15803 /* end confdefs.h. */
15805 /* Override any GCC internal prototype to avoid an error.
15806 Use char because int might match the return type of a GCC
15807 builtin and then its argument prototype would still apply. */
15808 char glXCreateContext ();
15812 return glXCreateContext ();
15817 if ac_fn_c_try_link
"$LINENO"
15820 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15821 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'` ;;
15822 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15823 if ${ac_cv_lib_soname_GL:+false} :
15825 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15829 ac_cv_lib_soname_GL
=
15831 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15832 conftest
$ac_exeext conftest.
$ac_ext
15833 LIBS
=$ac_check_soname_save_LIBS
15835 if ${ac_cv_lib_soname_GL:+false} :
15837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15838 printf "%s\n" "not found" >&6; }
15839 if test -f /usr
/X11R
6/lib
/libGL.a
15841 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
15842 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15844 opengl_msg
="No OpenGL library found on this system."
15847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15848 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15850 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15852 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"
15855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15856 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15858 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15862 if test "x$with_osmesa" != "xno"
15864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15865 printf %s
"checking for -lOSMesa... " >&6; }
15866 if test ${ac_cv_lib_soname_OSMesa+y}
15868 printf %s
"(cached) " >&6
15870 ac_check_soname_save_LIBS
=$LIBS
15871 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15872 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15873 /* end confdefs.h. */
15875 /* Override any GCC internal prototype to avoid an error.
15876 Use char because int might match the return type of a GCC
15877 builtin and then its argument prototype would still apply. */
15878 char OSMesaGetProcAddress ();
15882 return OSMesaGetProcAddress ();
15887 if ac_fn_c_try_link
"$LINENO"
15890 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15891 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'` ;;
15892 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15893 if ${ac_cv_lib_soname_OSMesa:+false} :
15895 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15899 ac_cv_lib_soname_OSMesa
=
15901 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15902 conftest
$ac_exeext conftest.
$ac_ext
15903 LIBS
=$ac_check_soname_save_LIBS
15905 if ${ac_cv_lib_soname_OSMesa:+false} :
15907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15908 printf "%s\n" "not found" >&6; }
15911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15912 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15914 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15918 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15920 case "x$with_osmesa" in
15921 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15923 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15924 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15930 if test -n "$opengl_msg"
15932 case "x$with_opengl" in
15933 x
) as_fn_append wine_warnings
"|$opengl_msg
15934 OpenGL and Direct3D won't be supported." ;;
15936 *) as_fn_error $?
"$opengl_msg
15937 OpenGL and Direct3D won't be supported.
15938 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15943 CPPFLAGS
="$ac_save_CPPFLAGS"
15949 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15951 if test "x$X_LIBS" = "x"
15955 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
15956 without X support, which probably isn't what you want. You will need
15957 to install ${notice_platform}development packages of Xlib at the very least.
15958 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15960 enable_winex11_drv
=${enable_winex11_drv:-no}
15963 if test "x$X_LIBS" = "x"
15966 x
) as_fn_append wine_notices
"|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15968 *) as_fn_error $?
"X ${notice_platform}development files not found, the X11 driver won't be supported.
15969 This is an error since --with-x was requested." "$LINENO" 5 ;;
15971 enable_winex11_drv
=${enable_winex11_drv:-no}
15975 if test "x$with_wayland" != "xno"
15978 if ${WAYLAND_CLIENT_CFLAGS:+false} :
15980 if test ${PKG_CONFIG+y}
15982 WAYLAND_CLIENT_CFLAGS
=`$PKG_CONFIG --cflags wayland-client 2>conftest.err`
15986 if ${WAYLAND_CLIENT_LIBS:+false} :
15988 if test ${PKG_CONFIG+y}
15990 WAYLAND_CLIENT_LIBS
=`$PKG_CONFIG --libs wayland-client 2>/dev/null`
15995 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client cflags: $WAYLAND_CLIENT_CFLAGS" >&5
15996 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client libs: $WAYLAND_CLIENT_LIBS" >&5
15997 if test -s conftest.err
; then
15998 printf %s
"$as_me:${as_lineno-$LINENO}: wayland-client errors: " >&5
15999 cat conftest.err
>&5
16002 ac_save_CPPFLAGS
=$CPPFLAGS
16003 CPPFLAGS
="$CPPFLAGS $WAYLAND_CLIENT_CFLAGS"
16004 ac_fn_c_check_header_compile
"$LINENO" "wayland-client.h" "ac_cv_header_wayland_client_h" "$ac_includes_default"
16005 if test "x$ac_cv_header_wayland_client_h" = xyes
16007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wl_display_connect in -lwayland-client" >&5
16008 printf %s
"checking for wl_display_connect in -lwayland-client... " >&6; }
16009 if test ${ac_cv_lib_wayland_client_wl_display_connect+y}
16011 printf %s
"(cached) " >&6
16013 ac_check_lib_save_LIBS
=$LIBS
16014 LIBS
="-lwayland-client $WAYLAND_CLIENT_LIBS $LIBS"
16015 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16016 /* end confdefs.h. */
16018 /* Override any GCC internal prototype to avoid an error.
16019 Use char because int might match the return type of a GCC
16020 builtin and then its argument prototype would still apply. */
16021 char wl_display_connect ();
16025 return wl_display_connect ();
16030 if ac_fn_c_try_link
"$LINENO"
16032 ac_cv_lib_wayland_client_wl_display_connect
=yes
16034 ac_cv_lib_wayland_client_wl_display_connect
=no
16036 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16037 conftest
$ac_exeext conftest.
$ac_ext
16038 LIBS
=$ac_check_lib_save_LIBS
16040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wayland_client_wl_display_connect" >&5
16041 printf "%s\n" "$ac_cv_lib_wayland_client_wl_display_connect" >&6; }
16042 if test "x$ac_cv_lib_wayland_client_wl_display_connect" = xyes
16044 # Extract the first word of "wayland-scanner", so it can be a program name with args.
16045 set dummy wayland-scanner
; ac_word
=$2
16046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16047 printf %s
"checking for $ac_word... " >&6; }
16048 if test ${ac_cv_path_WAYLAND_SCANNER+y}
16050 printf %s
"(cached) " >&6
16052 case $WAYLAND_SCANNER in
16054 ac_cv_path_WAYLAND_SCANNER
="$WAYLAND_SCANNER" # Let the user override the test with a path.
16057 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16058 for as_dir
in $PATH
16061 case $as_dir in #(((
16064 *) as_dir
=$as_dir/ ;;
16066 for ac_exec_ext
in '' $ac_executable_extensions; do
16067 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
16068 ac_cv_path_WAYLAND_SCANNER
="$as_dir$ac_word$ac_exec_ext"
16069 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
16076 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`"
16080 WAYLAND_SCANNER
=$ac_cv_path_WAYLAND_SCANNER
16081 if test -n "$WAYLAND_SCANNER"; then
16082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $WAYLAND_SCANNER" >&5
16083 printf "%s\n" "$WAYLAND_SCANNER" >&6; }
16085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16086 printf "%s\n" "no" >&6; }
16091 WAYLAND_CLIENT_LIBS
=""
16096 CPPFLAGS
=$ac_save_CPPFLAGS
16099 if ${XKBCOMMON_CFLAGS:+false} :
16101 if test ${PKG_CONFIG+y}
16103 XKBCOMMON_CFLAGS
=`$PKG_CONFIG --cflags xkbcommon 2>conftest.err`
16107 if ${XKBCOMMON_LIBS:+false} :
16109 if test ${PKG_CONFIG+y}
16111 XKBCOMMON_LIBS
=`$PKG_CONFIG --libs xkbcommon 2>/dev/null`
16116 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xkbcommon cflags: $XKBCOMMON_CFLAGS" >&5
16117 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xkbcommon libs: $XKBCOMMON_LIBS" >&5
16118 if test -s conftest.err
; then
16119 printf %s
"$as_me:${as_lineno-$LINENO}: xkbcommon errors: " >&5
16120 cat conftest.err
>&5
16123 ac_save_CPPFLAGS
=$CPPFLAGS
16124 CPPFLAGS
="$CPPFLAGS $XKBCOMMON_CFLAGS"
16125 ac_fn_c_check_header_compile
"$LINENO" "xkbcommon/xkbcommon.h" "ac_cv_header_xkbcommon_xkbcommon_h" "$ac_includes_default"
16126 if test "x$ac_cv_header_xkbcommon_xkbcommon_h" = xyes
16128 printf "%s\n" "#define HAVE_XKBCOMMON_XKBCOMMON_H 1" >>confdefs.h
16132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xkb_context_new in -lxkbcommon" >&5
16133 printf %s
"checking for xkb_context_new in -lxkbcommon... " >&6; }
16134 if test ${ac_cv_lib_xkbcommon_xkb_context_new+y}
16136 printf %s
"(cached) " >&6
16138 ac_check_lib_save_LIBS
=$LIBS
16139 LIBS
="-lxkbcommon $XKBCOMMON_LIBS $LIBS"
16140 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16141 /* end confdefs.h. */
16143 /* Override any GCC internal prototype to avoid an error.
16144 Use char because int might match the return type of a GCC
16145 builtin and then its argument prototype would still apply. */
16146 char xkb_context_new ();
16150 return xkb_context_new ();
16155 if ac_fn_c_try_link
"$LINENO"
16157 ac_cv_lib_xkbcommon_xkb_context_new
=yes
16159 ac_cv_lib_xkbcommon_xkb_context_new
=no
16161 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16162 conftest
$ac_exeext conftest.
$ac_ext
16163 LIBS
=$ac_check_lib_save_LIBS
16165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xkbcommon_xkb_context_new" >&5
16166 printf "%s\n" "$ac_cv_lib_xkbcommon_xkb_context_new" >&6; }
16167 if test "x$ac_cv_lib_xkbcommon_xkb_context_new" = xyes
16174 CPPFLAGS
=$ac_save_CPPFLAGS
16177 if ${XKBREGISTRY_CFLAGS:+false} :
16179 if test ${PKG_CONFIG+y}
16181 XKBREGISTRY_CFLAGS
=`$PKG_CONFIG --cflags xkbregistry 2>conftest.err`
16185 if ${XKBREGISTRY_LIBS:+false} :
16187 if test ${PKG_CONFIG+y}
16189 XKBREGISTRY_LIBS
=`$PKG_CONFIG --libs xkbregistry 2>/dev/null`
16194 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xkbregistry cflags: $XKBREGISTRY_CFLAGS" >&5
16195 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xkbregistry libs: $XKBREGISTRY_LIBS" >&5
16196 if test -s conftest.err
; then
16197 printf %s
"$as_me:${as_lineno-$LINENO}: xkbregistry errors: " >&5
16198 cat conftest.err
>&5
16201 ac_save_CPPFLAGS
=$CPPFLAGS
16202 CPPFLAGS
="$CPPFLAGS $XKBREGISTRY_CFLAGS"
16203 ac_fn_c_check_header_compile
"$LINENO" "xkbcommon/xkbregistry.h" "ac_cv_header_xkbcommon_xkbregistry_h" "$ac_includes_default"
16204 if test "x$ac_cv_header_xkbcommon_xkbregistry_h" = xyes
16206 printf "%s\n" "#define HAVE_XKBCOMMON_XKBREGISTRY_H 1" >>confdefs.h
16210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for rxkb_context_new in -lxkbregistry" >&5
16211 printf %s
"checking for rxkb_context_new in -lxkbregistry... " >&6; }
16212 if test ${ac_cv_lib_xkbregistry_rxkb_context_new+y}
16214 printf %s
"(cached) " >&6
16216 ac_check_lib_save_LIBS
=$LIBS
16217 LIBS
="-lxkbregistry $XKBREGISTRY_LIBS $LIBS"
16218 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16219 /* end confdefs.h. */
16221 /* Override any GCC internal prototype to avoid an error.
16222 Use char because int might match the return type of a GCC
16223 builtin and then its argument prototype would still apply. */
16224 char rxkb_context_new ();
16228 return rxkb_context_new ();
16233 if ac_fn_c_try_link
"$LINENO"
16235 ac_cv_lib_xkbregistry_rxkb_context_new
=yes
16237 ac_cv_lib_xkbregistry_rxkb_context_new
=no
16239 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16240 conftest
$ac_exeext conftest.
$ac_ext
16241 LIBS
=$ac_check_lib_save_LIBS
16243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xkbregistry_rxkb_context_new" >&5
16244 printf "%s\n" "$ac_cv_lib_xkbregistry_rxkb_context_new" >&6; }
16245 if test "x$ac_cv_lib_xkbregistry_rxkb_context_new" = xyes
16249 XKBREGISTRY_LIBS
=""
16252 CPPFLAGS
=$ac_save_CPPFLAGS
16254 if test "x$with_opengl" != "xno"
16257 if ${EGL_CFLAGS:+false} :
16259 if test ${PKG_CONFIG+y}
16261 EGL_CFLAGS
=`$PKG_CONFIG --cflags egl 2>conftest.err`
16265 if ${EGL_LIBS:+false} :
16267 if test ${PKG_CONFIG+y}
16269 EGL_LIBS
=`$PKG_CONFIG --libs egl 2>/dev/null`
16273 EGL_LIBS
=${EGL_LIBS:-"-lEGL"}
16274 printf "%s\n" "$as_me:${as_lineno-$LINENO}: egl cflags: $EGL_CFLAGS" >&5
16275 printf "%s\n" "$as_me:${as_lineno-$LINENO}: egl libs: $EGL_LIBS" >&5
16276 if test -s conftest.err
; then
16277 printf %s
"$as_me:${as_lineno-$LINENO}: egl errors: " >&5
16278 cat conftest.err
>&5
16281 ac_save_CPPFLAGS
=$CPPFLAGS
16282 CPPFLAGS
="$CPPFLAGS $EGL_CFLAGS"
16283 ac_fn_c_check_header_compile
"$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
16284 if test "x$ac_cv_header_EGL_egl_h" = xyes
16286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
16287 printf %s
"checking for -lEGL... " >&6; }
16288 if test ${ac_cv_lib_soname_EGL+y}
16290 printf %s
"(cached) " >&6
16292 ac_check_soname_save_LIBS
=$LIBS
16293 LIBS
="-lEGL $EGL_LIBS $LIBS"
16294 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16295 /* end confdefs.h. */
16297 /* Override any GCC internal prototype to avoid an error.
16298 Use char because int might match the return type of a GCC
16299 builtin and then its argument prototype would still apply. */
16300 char eglGetProcAddress ();
16304 return eglGetProcAddress ();
16309 if ac_fn_c_try_link
"$LINENO"
16312 dll
) ac_cv_lib_soname_EGL
=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16313 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'` ;;
16314 *) ac_cv_lib_soname_EGL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16315 if ${ac_cv_lib_soname_EGL:+false} :
16317 ac_cv_lib_soname_EGL
=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16321 ac_cv_lib_soname_EGL
=
16323 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16324 conftest
$ac_exeext conftest.
$ac_ext
16325 LIBS
=$ac_check_soname_save_LIBS
16327 if ${ac_cv_lib_soname_EGL:+false} :
16329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16330 printf "%s\n" "not found" >&6; }
16333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
16334 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
16336 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
16342 CPPFLAGS
=$ac_save_CPPFLAGS
16345 if ${WAYLAND_EGL_CFLAGS:+false} :
16347 if test ${PKG_CONFIG+y}
16349 WAYLAND_EGL_CFLAGS
=`$PKG_CONFIG --cflags wayland-egl 2>conftest.err`
16353 if ${WAYLAND_EGL_LIBS:+false} :
16355 if test ${PKG_CONFIG+y}
16357 WAYLAND_EGL_LIBS
=`$PKG_CONFIG --libs wayland-egl 2>/dev/null`
16362 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-egl cflags: $WAYLAND_EGL_CFLAGS" >&5
16363 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-egl libs: $WAYLAND_EGL_LIBS" >&5
16364 if test -s conftest.err
; then
16365 printf %s
"$as_me:${as_lineno-$LINENO}: wayland-egl errors: " >&5
16366 cat conftest.err
>&5
16369 ac_save_CPPFLAGS
=$CPPFLAGS
16370 CPPFLAGS
="$CPPFLAGS $WAYLAND_EGL_CFLAGS"
16371 ac_fn_c_check_header_compile
"$LINENO" "wayland-egl.h" "ac_cv_header_wayland_egl_h" "$ac_includes_default"
16372 if test "x$ac_cv_header_wayland_egl_h" = xyes
16374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wl_egl_window_create in -lwayland-egl" >&5
16375 printf %s
"checking for wl_egl_window_create in -lwayland-egl... " >&6; }
16376 if test ${ac_cv_lib_wayland_egl_wl_egl_window_create+y}
16378 printf %s
"(cached) " >&6
16380 ac_check_lib_save_LIBS
=$LIBS
16381 LIBS
="-lwayland-egl $WAYLAND_EGL_LIBS $LIBS"
16382 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16383 /* end confdefs.h. */
16385 /* Override any GCC internal prototype to avoid an error.
16386 Use char because int might match the return type of a GCC
16387 builtin and then its argument prototype would still apply. */
16388 char wl_egl_window_create ();
16392 return wl_egl_window_create ();
16397 if ac_fn_c_try_link
"$LINENO"
16399 ac_cv_lib_wayland_egl_wl_egl_window_create
=yes
16401 ac_cv_lib_wayland_egl_wl_egl_window_create
=no
16403 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16404 conftest
$ac_exeext conftest.
$ac_ext
16405 LIBS
=$ac_check_lib_save_LIBS
16407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wayland_egl_wl_egl_window_create" >&5
16408 printf "%s\n" "$ac_cv_lib_wayland_egl_wl_egl_window_create" >&6; }
16409 if test "x$ac_cv_lib_wayland_egl_wl_egl_window_create" = xyes
16412 printf "%s\n" "#define HAVE_LIBWAYLAND_EGL 1" >>confdefs.h
16415 WAYLAND_EGL_LIBS
=""
16420 CPPFLAGS
=$ac_save_CPPFLAGS
16422 if test "x$with_wayland" != "x"
16424 if test -z "$ac_cv_lib_soname_EGL" -o "$ac_cv_lib_wayland_egl_wl_egl_window_create" != yes
16426 case "x$with_opengl" in
16427 x
) as_fn_append wine_notices
"|EGL ${notice_platform}development files not found, the Wayland driver won't support OpenGL" ;;
16429 *) as_fn_error $?
"EGL ${notice_platform}development files not found, the Wayland driver won't support OpenGL
16430 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
16437 if test -z "$WAYLAND_CLIENT_LIBS" -o -z "$WAYLAND_SCANNER" -o -z "$XKBCOMMON_LIBS" -o -z "$XKBREGISTRY_LIBS" -o "$ac_cv_header_linux_input_h" = "no"
16439 case "x$with_wayland" in
16440 x
) as_fn_append wine_notices
"|Wayland ${notice_platform}development files not found, the Wayland driver won't be supported." ;;
16442 *) as_fn_error $?
"Wayland ${notice_platform}development files not found, the Wayland driver won't be supported.
16443 This is an error since --with-wayland was requested." "$LINENO" 5 ;;
16445 enable_winewayland_drv
=${enable_winewayland_drv:-no}
16448 if test "$ac_cv_header_CL_cl_h" = "yes"
16450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
16451 printf %s
"checking for clGetPlatformInfo in -lOpenCL... " >&6; }
16452 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
16454 printf %s
"(cached) " >&6
16456 ac_check_lib_save_LIBS
=$LIBS
16457 LIBS
="-lOpenCL $LIBS"
16458 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16459 /* end confdefs.h. */
16461 /* Override any GCC internal prototype to avoid an error.
16462 Use char because int might match the return type of a GCC
16463 builtin and then its argument prototype would still apply. */
16464 char clGetPlatformInfo ();
16468 return clGetPlatformInfo ();
16473 if ac_fn_c_try_link
"$LINENO"
16475 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
16477 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
16479 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16480 conftest
$ac_exeext conftest.
$ac_ext
16481 LIBS
=$ac_check_lib_save_LIBS
16483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
16484 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
16485 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
16487 OPENCL_LIBS
="-lOpenCL"
16492 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
16494 case "x$with_opencl" in
16495 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
16497 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
16498 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
16500 enable_opencl
=${enable_opencl:-no}
16503 if test "$ac_cv_header_pcap_pcap_h" = "yes"
16505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_init in -lpcap" >&5
16506 printf %s
"checking for pcap_init in -lpcap... " >&6; }
16507 if test ${ac_cv_lib_pcap_pcap_init+y}
16509 printf %s
"(cached) " >&6
16511 ac_check_lib_save_LIBS
=$LIBS
16512 LIBS
="-lpcap $LIBS"
16513 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16514 /* end confdefs.h. */
16516 /* Override any GCC internal prototype to avoid an error.
16517 Use char because int might match the return type of a GCC
16518 builtin and then its argument prototype would still apply. */
16523 return pcap_init ();
16528 if ac_fn_c_try_link
"$LINENO"
16530 ac_cv_lib_pcap_pcap_init
=yes
16532 ac_cv_lib_pcap_pcap_init
=no
16534 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16535 conftest
$ac_exeext conftest.
$ac_ext
16536 LIBS
=$ac_check_lib_save_LIBS
16538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_init" >&5
16539 printf "%s\n" "$ac_cv_lib_pcap_pcap_init" >&6; }
16540 if test "x$ac_cv_lib_pcap_pcap_init" = xyes
16547 if test "x$ac_cv_lib_pcap_pcap_init" != xyes
16549 case "x$with_pcap" in
16550 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
16552 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
16553 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
16555 enable_wpcap
=${enable_wpcap:-no}
16558 if test "x$with_pcsclite" != "xno"
16560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SCardEstablishContext in -lpcsclite" >&5
16561 printf %s
"checking for SCardEstablishContext in -lpcsclite... " >&6; }
16562 if test ${ac_cv_lib_pcsclite_SCardEstablishContext+y}
16564 printf %s
"(cached) " >&6
16566 ac_check_lib_save_LIBS
=$LIBS
16567 LIBS
="-lpcsclite $LIBS"
16568 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16569 /* end confdefs.h. */
16571 /* Override any GCC internal prototype to avoid an error.
16572 Use char because int might match the return type of a GCC
16573 builtin and then its argument prototype would still apply. */
16574 char SCardEstablishContext ();
16578 return SCardEstablishContext ();
16583 if ac_fn_c_try_link
"$LINENO"
16585 ac_cv_lib_pcsclite_SCardEstablishContext
=yes
16587 ac_cv_lib_pcsclite_SCardEstablishContext
=no
16589 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16590 conftest
$ac_exeext conftest.
$ac_ext
16591 LIBS
=$ac_check_lib_save_LIBS
16593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcsclite_SCardEstablishContext" >&5
16594 printf "%s\n" "$ac_cv_lib_pcsclite_SCardEstablishContext" >&6; }
16595 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" = xyes
16597 PCSCLITE_LIBS
="-lpcsclite"
16601 darwin
*|macosx
*) PCSCLITE_LIBS
="-framework PCSC"
16607 if test "x$PCSCLITE_LIBS" = x
16609 case "x$with_pcsclite" in
16610 x
) as_fn_append wine_notices
"|libpcsclite not found, smart cards won't be supported." ;;
16612 *) as_fn_error $?
"libpcsclite not found, smart cards won't be supported.
16613 This is an error since --with-pcsclite was requested." "$LINENO" 5 ;;
16615 enable_winscard
=${enable_winscard:-no}
16618 if test "x$with_odbc" != "xno"
16621 if ${ODBC_CFLAGS:+false} :
16623 if test ${PKG_CONFIG+y}
16625 ODBC_CFLAGS
=`$PKG_CONFIG --cflags odbc 2>conftest.err`
16629 if ${ODBC_LIBS:+false} :
16631 if test ${PKG_CONFIG+y}
16633 ODBC_LIBS
=`$PKG_CONFIG --libs odbc 2>/dev/null`
16637 ODBC_LIBS
=${ODBC_LIBS:-"-lodbc"}
16638 printf "%s\n" "$as_me:${as_lineno-$LINENO}: odbc cflags: $ODBC_CFLAGS" >&5
16639 printf "%s\n" "$as_me:${as_lineno-$LINENO}: odbc libs: $ODBC_LIBS" >&5
16640 if test -s conftest.err
; then
16641 printf %s
"$as_me:${as_lineno-$LINENO}: odbc errors: " >&5
16642 cat conftest.err
>&5
16645 ac_save_CPPFLAGS
=$CPPFLAGS
16646 CPPFLAGS
="$CPPFLAGS $ODBC_CFLAGS"
16647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SQLConnect in -lodbc" >&5
16648 printf %s
"checking for SQLConnect in -lodbc... " >&6; }
16649 if test ${ac_cv_lib_odbc_SQLConnect+y}
16651 printf %s
"(cached) " >&6
16653 ac_check_lib_save_LIBS
=$LIBS
16654 LIBS
="-lodbc $ODBC_LIBS $LIBS"
16655 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16656 /* end confdefs.h. */
16658 /* Override any GCC internal prototype to avoid an error.
16659 Use char because int might match the return type of a GCC
16660 builtin and then its argument prototype would still apply. */
16661 char SQLConnect ();
16665 return SQLConnect ();
16670 if ac_fn_c_try_link
"$LINENO"
16672 ac_cv_lib_odbc_SQLConnect
=yes
16674 ac_cv_lib_odbc_SQLConnect
=no
16676 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16677 conftest
$ac_exeext conftest.
$ac_ext
16678 LIBS
=$ac_check_lib_save_LIBS
16680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_odbc_SQLConnect" >&5
16681 printf "%s\n" "$ac_cv_lib_odbc_SQLConnect" >&6; }
16682 if test "x$ac_cv_lib_odbc_SQLConnect" = xyes
16689 CPPFLAGS
=$ac_save_CPPFLAGS
16692 if test "x$ODBC_LIBS" = x
16694 case "x$with_odbc" in
16695 x
) as_fn_append wine_notices
"|libodbc not found, ODBC won't be supported." ;;
16697 *) as_fn_error $?
"libodbc not found, ODBC won't be supported.
16698 This is an error since --with-odbc was requested." "$LINENO" 5 ;;
16700 enable_odbc32
=${enable_odbc32:-no}
16703 if test "x$with_inotify" != "xno"
16706 if ${INOTIFY_CFLAGS:+false} :
16708 if test ${PKG_CONFIG+y}
16710 INOTIFY_CFLAGS
=`$PKG_CONFIG --cflags libinotify 2>conftest.err`
16714 if ${INOTIFY_LIBS:+false} :
16716 if test ${PKG_CONFIG+y}
16718 INOTIFY_LIBS
=`$PKG_CONFIG --libs libinotify 2>/dev/null`
16723 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
16724 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
16725 if test -s conftest.err
; then
16726 printf %s
"$as_me:${as_lineno-$LINENO}: libinotify errors: " >&5
16727 cat conftest.err
>&5
16730 ac_save_CPPFLAGS
=$CPPFLAGS
16731 CPPFLAGS
="$CPPFLAGS $INOTIFY_CFLAGS"
16732 ac_fn_c_check_header_compile
"$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
16733 if test "x$ac_cv_header_sys_inotify_h" = xyes
16735 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
16739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
16740 printf %s
"checking for inotify_add_watch in -linotify... " >&6; }
16741 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
16743 printf %s
"(cached) " >&6
16745 ac_check_lib_save_LIBS
=$LIBS
16746 LIBS
="-linotify $INOTIFY_LIBS $LIBS"
16747 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16748 /* end confdefs.h. */
16750 /* Override any GCC internal prototype to avoid an error.
16751 Use char because int might match the return type of a GCC
16752 builtin and then its argument prototype would still apply. */
16753 char inotify_add_watch ();
16757 return inotify_add_watch ();
16762 if ac_fn_c_try_link
"$LINENO"
16764 ac_cv_lib_inotify_inotify_add_watch
=yes
16766 ac_cv_lib_inotify_inotify_add_watch
=no
16768 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16769 conftest
$ac_exeext conftest.
$ac_ext
16770 LIBS
=$ac_check_lib_save_LIBS
16772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
16773 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
16774 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
16781 CPPFLAGS
=$ac_save_CPPFLAGS
16784 if test "$ac_cv_header_sys_inotify_h" != "yes"
16786 case "x$with_inotify" in
16787 x
) as_fn_append wine_notices
"|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
16789 *) as_fn_error $?
"libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
16790 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
16795 if test "x$with_dbus" != "xno"
16798 if ${DBUS_CFLAGS:+false} :
16800 if test ${PKG_CONFIG+y}
16802 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>conftest.err`
16806 if ${DBUS_LIBS:+false} :
16808 if test ${PKG_CONFIG+y}
16810 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
16815 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
16816 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
16817 if test -s conftest.err
; then
16818 printf %s
"$as_me:${as_lineno-$LINENO}: dbus-1 errors: " >&5
16819 cat conftest.err
>&5
16822 ac_save_CPPFLAGS
=$CPPFLAGS
16823 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
16824 ac_fn_c_check_header_compile
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
16825 if test "x$ac_cv_header_dbus_dbus_h" = xyes
16827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
16828 printf %s
"checking for -ldbus-1... " >&6; }
16829 if test ${ac_cv_lib_soname_dbus_1+y}
16831 printf %s
"(cached) " >&6
16833 ac_check_soname_save_LIBS
=$LIBS
16834 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
16835 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16836 /* end confdefs.h. */
16838 /* Override any GCC internal prototype to avoid an error.
16839 Use char because int might match the return type of a GCC
16840 builtin and then its argument prototype would still apply. */
16841 char dbus_connection_close ();
16845 return dbus_connection_close ();
16850 if ac_fn_c_try_link
"$LINENO"
16853 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16854 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'` ;;
16855 *) 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'`
16856 if ${ac_cv_lib_soname_dbus_1:+false} :
16858 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16862 ac_cv_lib_soname_dbus_1
=
16864 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16865 conftest
$ac_exeext conftest.
$ac_ext
16866 LIBS
=$ac_check_soname_save_LIBS
16868 if ${ac_cv_lib_soname_dbus_1:+false} :
16870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16871 printf "%s\n" "not found" >&6; }
16874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16875 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16877 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16885 CPPFLAGS
=$ac_save_CPPFLAGS
16889 darwin
*|macosx
*) ;;
16890 *) if test "x$ac_cv_lib_soname_dbus_1" = "x"
16892 case "x$with_dbus" in
16893 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16895 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
16896 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16902 if test "x$with_gnutls" != "xno"
16905 if ${GNUTLS_CFLAGS:+false} :
16907 if test ${PKG_CONFIG+y}
16909 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>conftest.err`
16913 if ${GNUTLS_LIBS:+false} :
16915 if test ${PKG_CONFIG+y}
16917 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16921 GNUTLS_LIBS
=${GNUTLS_LIBS:-"-lgnutls"}
16922 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16923 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16924 if test -s conftest.err
; then
16925 printf %s
"$as_me:${as_lineno-$LINENO}: gnutls errors: " >&5
16926 cat conftest.err
>&5
16929 ac_save_CPPFLAGS
=$CPPFLAGS
16930 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
16931 ac_fn_c_check_header_compile
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16932 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16934 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16935 /* end confdefs.h. */
16936 #include <gnutls/gnutls.h>
16937 #include <gnutls/crypto.h>
16941 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16946 if ac_fn_c_try_compile
"$LINENO"
16948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16949 printf %s
"checking for -lgnutls... " >&6; }
16950 if test ${ac_cv_lib_soname_gnutls+y}
16952 printf %s
"(cached) " >&6
16954 ac_check_soname_save_LIBS
=$LIBS
16955 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
16956 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16957 /* end confdefs.h. */
16959 /* Override any GCC internal prototype to avoid an error.
16960 Use char because int might match the return type of a GCC
16961 builtin and then its argument prototype would still apply. */
16962 char gnutls_global_init ();
16966 return gnutls_global_init ();
16971 if ac_fn_c_try_link
"$LINENO"
16974 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16975 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'` ;;
16976 *) 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'`
16977 if ${ac_cv_lib_soname_gnutls:+false} :
16979 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'`
16983 ac_cv_lib_soname_gnutls
=
16985 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16986 conftest
$ac_exeext conftest.
$ac_ext
16987 LIBS
=$ac_check_soname_save_LIBS
16989 if ${ac_cv_lib_soname_gnutls:+false} :
16991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16992 printf "%s\n" "not found" >&6; }
16995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16996 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16998 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
17002 ac_wine_check_funcs_save_LIBS
="$LIBS"
17003 LIBS
="$LIBS $GNUTLS_LIBS"
17005 for ac_func
in gnutls_cipher_init
17007 ac_fn_c_check_func
"$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
17008 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
17010 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
17013 as_fn_append wine_notices
"|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
17017 LIBS
="$ac_wine_check_funcs_save_LIBS"
17019 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17024 CPPFLAGS
=$ac_save_CPPFLAGS
17027 if test "x$ac_cv_lib_soname_gnutls" = "x"
17029 case "x$with_gnutls" in
17030 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
17032 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
17033 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
17038 if test "x$with_sane" != "xno"
17041 if ${SANE_CFLAGS:+false} :
17043 if test ${PKG_CONFIG+y}
17045 SANE_CFLAGS
=`$PKG_CONFIG --cflags sane-backends 2>conftest.err`
17048 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
17049 if ${SANE_LIBS:+false} :
17051 if test ${PKG_CONFIG+y}
17053 SANE_LIBS
=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
17056 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
17058 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
17059 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
17060 if test -s conftest.err
; then
17061 printf %s
"$as_me:${as_lineno-$LINENO}: sane-backends errors: " >&5
17062 cat conftest.err
>&5
17065 ac_save_CPPFLAGS
=$CPPFLAGS
17066 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
17067 ac_fn_c_check_header_compile
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
17068 if test "x$ac_cv_header_sane_sane_h" = xyes
17070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
17071 printf %s
"checking for sane_init in -lsane... " >&6; }
17072 if test ${ac_cv_lib_sane_sane_init+y}
17074 printf %s
"(cached) " >&6
17076 ac_check_lib_save_LIBS
=$LIBS
17077 LIBS
="-lsane $SANE_LIBS $LIBS"
17078 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17079 /* end confdefs.h. */
17081 /* Override any GCC internal prototype to avoid an error.
17082 Use char because int might match the return type of a GCC
17083 builtin and then its argument prototype would still apply. */
17088 return sane_init ();
17093 if ac_fn_c_try_link
"$LINENO"
17095 ac_cv_lib_sane_sane_init
=yes
17097 ac_cv_lib_sane_sane_init
=no
17099 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17100 conftest
$ac_exeext conftest.
$ac_ext
17101 LIBS
=$ac_check_lib_save_LIBS
17103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
17104 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
17105 if test "x$ac_cv_lib_sane_sane_init" = xyes
17112 CPPFLAGS
=$ac_save_CPPFLAGS
17115 if test "$ac_cv_lib_sane_sane_init" != "yes"
17117 case "x$with_sane" in
17118 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
17120 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
17121 This is an error since --with-sane was requested." "$LINENO" 5 ;;
17123 enable_sane_ds
=${enable_sane_ds:-no}
17126 if test "x$with_usb" != "xno"
17129 if ${USB_CFLAGS:+false} :
17131 if test ${PKG_CONFIG+y}
17133 USB_CFLAGS
=`$PKG_CONFIG --cflags libusb-1.0 2>conftest.err`
17137 if ${USB_LIBS:+false} :
17139 if test ${PKG_CONFIG+y}
17141 USB_LIBS
=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
17145 USB_LIBS
=${USB_LIBS:-"-lusb-1.0"}
17146 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
17147 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
17148 if test -s conftest.err
; then
17149 printf %s
"$as_me:${as_lineno-$LINENO}: libusb-1.0 errors: " >&5
17150 cat conftest.err
>&5
17153 ac_save_CPPFLAGS
=$CPPFLAGS
17154 CPPFLAGS
="$CPPFLAGS $USB_CFLAGS"
17155 ac_fn_c_check_header_compile
"$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
17156 if test "x$ac_cv_header_libusb_h" = xyes
17158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
17159 printf %s
"checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
17160 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
17162 printf %s
"(cached) " >&6
17164 ac_check_lib_save_LIBS
=$LIBS
17165 LIBS
="-lusb-1.0 $USB_LIBS $LIBS"
17166 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17167 /* end confdefs.h. */
17169 /* Override any GCC internal prototype to avoid an error.
17170 Use char because int might match the return type of a GCC
17171 builtin and then its argument prototype would still apply. */
17172 char libusb_interrupt_event_handler ();
17176 return libusb_interrupt_event_handler ();
17181 if ac_fn_c_try_link
"$LINENO"
17183 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler
=yes
17185 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler
=no
17187 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17188 conftest
$ac_exeext conftest.
$ac_ext
17189 LIBS
=$ac_check_lib_save_LIBS
17191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
17192 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
17193 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
17204 CPPFLAGS
=$ac_save_CPPFLAGS
17207 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
17209 case "x$with_usb" in
17210 x
) as_fn_append wine_notices
"|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
17212 *) as_fn_error $?
"libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
17213 This is an error since --with-usb was requested." "$LINENO" 5 ;;
17215 enable_wineusb_sys
=${enable_wineusb_sys:-no}
17218 if test "x$with_v4l2" != "xno"
17220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
17221 printf %s
"checking for -lv4l2... " >&6; }
17222 if test ${ac_cv_lib_soname_v4l2+y}
17224 printf %s
"(cached) " >&6
17226 ac_check_soname_save_LIBS
=$LIBS
17227 LIBS
="-lv4l2 $LIBS"
17228 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17229 /* end confdefs.h. */
17231 /* Override any GCC internal prototype to avoid an error.
17232 Use char because int might match the return type of a GCC
17233 builtin and then its argument prototype would still apply. */
17238 return v4l2_open ();
17243 if ac_fn_c_try_link
"$LINENO"
17246 dll
) ac_cv_lib_soname_v4l2
=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17247 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'` ;;
17248 *) ac_cv_lib_soname_v4l2
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17249 if ${ac_cv_lib_soname_v4l2:+false} :
17251 ac_cv_lib_soname_v4l2
=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17255 ac_cv_lib_soname_v4l2
=
17257 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17258 conftest
$ac_exeext conftest.
$ac_ext
17259 LIBS
=$ac_check_soname_save_LIBS
17261 if ${ac_cv_lib_soname_v4l2:+false} :
17263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17264 printf "%s\n" "not found" >&6; }
17267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
17268 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
17270 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
17275 if test "x$ac_cv_lib_soname_v4l2" = "x"
17277 case "x$with_v4l2" in
17278 x
) as_fn_append wine_notices
"|libv4l2 ${notice_platform}development files not found." ;;
17280 *) as_fn_error $?
"libv4l2 ${notice_platform}development files not found.
17281 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
17286 if test "x$with_gphoto" != "xno"
17289 if ${GPHOTO2_CFLAGS:+false} :
17291 if test ${PKG_CONFIG+y}
17293 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>conftest.err`
17296 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
17297 if ${GPHOTO2_LIBS:+false} :
17299 if test ${PKG_CONFIG+y}
17301 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
17304 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
17305 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
17306 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
17307 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
17308 if test -s conftest.err
; then
17309 printf %s
"$as_me:${as_lineno-$LINENO}: libgphoto2 errors: " >&5
17310 cat conftest.err
>&5
17313 ac_save_CPPFLAGS
=$CPPFLAGS
17314 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
17315 ac_fn_c_check_header_compile
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
17316 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
17318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
17319 printf %s
"checking for gp_camera_new in -lgphoto2... " >&6; }
17320 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
17322 printf %s
"(cached) " >&6
17324 ac_check_lib_save_LIBS
=$LIBS
17325 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
17326 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17327 /* end confdefs.h. */
17329 /* Override any GCC internal prototype to avoid an error.
17330 Use char because int might match the return type of a GCC
17331 builtin and then its argument prototype would still apply. */
17332 char gp_camera_new ();
17336 return gp_camera_new ();
17341 if ac_fn_c_try_link
"$LINENO"
17343 ac_cv_lib_gphoto2_gp_camera_new
=yes
17345 ac_cv_lib_gphoto2_gp_camera_new
=no
17347 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17348 conftest
$ac_exeext conftest.
$ac_ext
17349 LIBS
=$ac_check_lib_save_LIBS
17351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
17352 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
17353 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
17360 CPPFLAGS
=$ac_save_CPPFLAGS
17363 if ${GPHOTO2_PORT_CFLAGS:+false} :
17365 if test ${PKG_CONFIG+y}
17367 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>conftest.err`
17370 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
17371 if ${GPHOTO2_PORT_LIBS:+false} :
17373 if test ${PKG_CONFIG+y}
17375 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
17378 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
17379 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
17380 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
17381 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
17382 if test -s conftest.err
; then
17383 printf %s
"$as_me:${as_lineno-$LINENO}: libgphoto2_port errors: " >&5
17384 cat conftest.err
>&5
17387 ac_save_CPPFLAGS
=$CPPFLAGS
17388 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
17389 ac_fn_c_check_header_compile
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
17390 if test "x$ac_cv_header_gphoto2_port_h" = xyes
17392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
17393 printf %s
"checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
17394 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
17396 printf %s
"(cached) " >&6
17398 ac_check_lib_save_LIBS
=$LIBS
17399 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
17400 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17401 /* end confdefs.h. */
17403 /* Override any GCC internal prototype to avoid an error.
17404 Use char because int might match the return type of a GCC
17405 builtin and then its argument prototype would still apply. */
17406 char gp_port_info_list_new ();
17410 return gp_port_info_list_new ();
17415 if ac_fn_c_try_link
"$LINENO"
17417 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
17419 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
17421 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17422 conftest
$ac_exeext conftest.
$ac_ext
17423 LIBS
=$ac_check_lib_save_LIBS
17425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
17426 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
17427 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
17430 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
17433 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
17437 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
17440 CPPFLAGS
=$ac_save_CPPFLAGS
17443 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
17445 case "x$with_gphoto" in
17446 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
17448 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
17449 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
17451 enable_gphoto2_ds
=${enable_gphoto2_ds:-no}
17453 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
17455 case "x$with_gphoto" in
17456 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
17458 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
17459 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
17465 if test "$ac_cv_header_resolv_h" = "yes"
17467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
17468 printf %s
"checking for resolver library... " >&6; }
17469 if test ${ac_cv_have_resolv+y}
17471 printf %s
"(cached) " >&6
17473 ac_save_LIBS
="$LIBS"
17474 for lib
in '' -lresolv
17476 LIBS
="$lib $ac_save_LIBS"
17477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17478 /* end confdefs.h. */
17479 #ifdef HAVE_NETINET_IN_H
17480 #include <netinet/in.h>
17482 #include <resolv.h>
17486 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
17491 if ac_fn_c_try_link
"$LINENO"
17493 ac_cv_have_resolv
=${lib:-"none required"}
17495 ac_cv_have_resolv
="not found"
17497 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17498 conftest
$ac_exeext conftest.
$ac_ext
17499 test "x$ac_cv_have_resolv" = "xnot found" ||
break
17501 LIBS
="$ac_save_LIBS"
17503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
17504 printf "%s\n" "$ac_cv_have_resolv" >&6; }
17506 case "$ac_cv_have_resolv" in
17510 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
17513 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
17515 RESOLV_LIBS
=$ac_cv_have_resolv
17519 if test "x$ac_cv_have_resolv" != "xnot found"
17521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
17522 printf %s
"checking for res_getservers... " >&6; }
17523 if test ${ac_cv_have_res_getservers+y}
17525 printf %s
"(cached) " >&6
17527 ac_save_LIBS
="$LIBS"
17528 LIBS
="$RESOLV_LIBS $LIBS"
17529 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17530 /* end confdefs.h. */
17531 #include <resolv.h>
17535 res_getservers(NULL, NULL, 0);
17540 if ac_fn_c_try_link
"$LINENO"
17542 ac_cv_have_res_getservers
=yes
17544 ac_cv_have_res_getservers
=no
17546 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17547 conftest
$ac_exeext conftest.
$ac_ext
17548 LIBS
="$ac_save_LIBS"
17550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
17551 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
17552 if test "$ac_cv_have_res_getservers" = "yes"
17555 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
17561 if test "x$with_freetype" != "xno"
17564 if ${FREETYPE_CFLAGS:+false} :
17566 if test ${PKG_CONFIG+y}
17568 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>conftest.err`
17571 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
17572 if ${FREETYPE_LIBS:+false} :
17574 if test ${PKG_CONFIG+y}
17576 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
17579 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
17580 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
17581 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
17582 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
17583 if test -s conftest.err
; then
17584 printf %s
"$as_me:${as_lineno-$LINENO}: freetype2 errors: " >&5
17585 cat conftest.err
>&5
17588 ac_save_CPPFLAGS
=$CPPFLAGS
17589 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
17590 ac_fn_c_check_header_compile
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
17591 if test "x$ac_cv_header_ft2build_h" = xyes
17593 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
17597 if test "$ac_cv_header_ft2build_h" = "yes"
17599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
17600 printf %s
"checking for -lfreetype... " >&6; }
17601 if test ${ac_cv_lib_soname_freetype+y}
17603 printf %s
"(cached) " >&6
17605 ac_check_soname_save_LIBS
=$LIBS
17606 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
17607 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17608 /* end confdefs.h. */
17610 /* Override any GCC internal prototype to avoid an error.
17611 Use char because int might match the return type of a GCC
17612 builtin and then its argument prototype would still apply. */
17613 char FT_Init_FreeType ();
17617 return FT_Init_FreeType ();
17622 if ac_fn_c_try_link
"$LINENO"
17625 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17626 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'` ;;
17627 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17628 if ${ac_cv_lib_soname_freetype:+false} :
17630 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17634 ac_cv_lib_soname_freetype
=
17636 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17637 conftest
$ac_exeext conftest.
$ac_ext
17638 LIBS
=$ac_check_soname_save_LIBS
17640 if ${ac_cv_lib_soname_freetype:+false} :
17642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17643 printf "%s\n" "not found" >&6; }
17646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
17647 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
17649 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
17652 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
17654 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
17655 #include FT_MODULE_H
17657 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
17660 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
17670 CPPFLAGS
=$ac_save_CPPFLAGS
17673 if test "x$ac_cv_lib_soname_freetype" = x
17675 case "x$with_freetype" in
17677 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
17678 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
17680 enable_fonts
=${enable_fonts:-no}
17683 ac_wine_check_funcs_save_LIBS
="$LIBS"
17684 LIBS
="$LIBS $PTHREAD_LIBS"
17685 ac_fn_c_check_func
"$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
17686 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
17688 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
17692 LIBS
="$ac_wine_check_funcs_save_LIBS"
17694 if test "x$enable_tools" != xno
-a "x$with_gettextpo" = xyes
17696 if test "$ac_cv_header_gettext_po_h" = "yes"
17698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
17699 printf %s
"checking for po_message_msgctxt in -lgettextpo... " >&6; }
17700 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
17702 printf %s
"(cached) " >&6
17704 ac_check_lib_save_LIBS
=$LIBS
17705 LIBS
="-lgettextpo $LIBS"
17706 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17707 /* end confdefs.h. */
17709 /* Override any GCC internal prototype to avoid an error.
17710 Use char because int might match the return type of a GCC
17711 builtin and then its argument prototype would still apply. */
17712 char po_message_msgctxt ();
17716 return po_message_msgctxt ();
17721 if ac_fn_c_try_link
"$LINENO"
17723 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
17725 ac_cv_lib_gettextpo_po_message_msgctxt
=no
17727 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17728 conftest
$ac_exeext conftest.
$ac_ext
17729 LIBS
=$ac_check_lib_save_LIBS
17731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
17732 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
17733 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
17736 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
17738 GETTEXTPO_LIBS
="-lgettextpo"
17743 if test "x$GETTEXTPO_LIBS" = "x"
17745 case "x$with_gettextpo" in
17746 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
17748 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
17749 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
17753 if test "$srcdir" != .
17755 case "x$with_gettextpo" in
17756 x
) as_fn_append wine_notices
"|Rebuilding po files is not supported for out of tree builds." ;;
17758 *) as_fn_error $?
"Rebuilding po files is not supported for out of tree builds.
17759 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
17765 if test "x$with_pulse" != "xno";
17768 if ${PULSE_CFLAGS:+false} :
17770 if test ${PKG_CONFIG+y}
17772 PULSE_CFLAGS
=`$PKG_CONFIG --cflags libpulse 2>conftest.err`
17776 if ${PULSE_LIBS:+false} :
17778 if test ${PKG_CONFIG+y}
17780 PULSE_LIBS
=`$PKG_CONFIG --libs libpulse 2>/dev/null`
17785 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
17786 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
17787 if test -s conftest.err
; then
17788 printf %s
"$as_me:${as_lineno-$LINENO}: libpulse errors: " >&5
17789 cat conftest.err
>&5
17792 ac_save_CPPFLAGS
=$CPPFLAGS
17793 CPPFLAGS
="$CPPFLAGS $PULSE_CFLAGS"
17794 ac_fn_c_check_header_compile
"$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
17795 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
17797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
17798 printf %s
"checking for pa_stream_is_corked in -lpulse... " >&6; }
17799 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
17801 printf %s
"(cached) " >&6
17803 ac_check_lib_save_LIBS
=$LIBS
17804 LIBS
="-lpulse $PULSE_LIBS $LIBS"
17805 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17806 /* end confdefs.h. */
17808 /* Override any GCC internal prototype to avoid an error.
17809 Use char because int might match the return type of a GCC
17810 builtin and then its argument prototype would still apply. */
17811 char pa_stream_is_corked ();
17815 return pa_stream_is_corked ();
17820 if ac_fn_c_try_link
"$LINENO"
17822 ac_cv_lib_pulse_pa_stream_is_corked
=yes
17824 ac_cv_lib_pulse_pa_stream_is_corked
=no
17826 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17827 conftest
$ac_exeext conftest.
$ac_ext
17828 LIBS
=$ac_check_lib_save_LIBS
17830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
17831 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
17832 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
17843 CPPFLAGS
=$ac_save_CPPFLAGS
17846 if test -z "$PULSE_LIBS"
17848 case "x$with_pulse" in
17849 x
) as_fn_append wine_notices
"|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
17851 *) as_fn_error $?
"libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
17852 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
17854 enable_winepulse_drv
=${enable_winepulse_drv:-no}
17857 if test "x$with_gstreamer" != "xno"
17860 if ${GSTREAMER_CFLAGS:+false} :
17862 if test ${PKG_CONFIG+y}
17864 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>conftest.err`
17868 if ${GSTREAMER_LIBS:+false} :
17870 if test ${PKG_CONFIG+y}
17872 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>/dev/null`
17877 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
17878 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
17879 if test -s conftest.err
; then
17880 printf %s
"$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 errors: " >&5
17881 cat conftest.err
>&5
17884 ac_save_CPPFLAGS
=$CPPFLAGS
17885 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
17886 ac_fn_c_check_header_compile
"$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
17887 if test "x$ac_cv_header_gst_gst_h" = xyes
17889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
17890 printf %s
"checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
17891 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17892 /* end confdefs.h. */
17893 #include <gst/gst.h>
17897 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17902 if ac_fn_c_try_compile
"$LINENO"
17904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17905 printf "%s\n" "yes" >&6; }
17906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17907 printf %s
"checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17908 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17910 printf %s
"(cached) " >&6
17912 ac_check_lib_save_LIBS
=$LIBS
17913 LIBS
="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17914 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17915 /* end confdefs.h. */
17917 /* Override any GCC internal prototype to avoid an error.
17918 Use char because int might match the return type of a GCC
17919 builtin and then its argument prototype would still apply. */
17920 char gst_pad_new ();
17924 return gst_pad_new ();
17929 if ac_fn_c_try_link
"$LINENO"
17931 ac_cv_lib_gstreamer_1_0_gst_pad_new
=yes
17933 ac_cv_lib_gstreamer_1_0_gst_pad_new
=no
17935 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17936 conftest
$ac_exeext conftest.
$ac_ext
17937 LIBS
=$ac_check_lib_save_LIBS
17939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17940 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17941 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17948 printf "%s\n" "no" >&6; }
17949 ac_glib2_broken
=yes
17950 enable_winegstreamer
=${enable_winegstreamer:-no}
17951 as_fn_append wine_notices
"|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17953 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17956 CPPFLAGS
=$ac_save_CPPFLAGS
17959 if test "x$ac_glib2_broken" != xyes
-a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17961 case "x$with_gstreamer" in
17962 x
) as_fn_append wine_notices
"|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17964 *) as_fn_error $?
"gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17965 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17967 enable_winegstreamer
=${enable_winegstreamer:-no}
17972 if test "x$with_alsa" != "xno"
17974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17975 printf %s
"checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17976 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17978 printf %s
"(cached) " >&6
17980 ac_check_lib_save_LIBS
=$LIBS
17981 LIBS
="-lasound $LIBS"
17982 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17983 /* end confdefs.h. */
17985 /* Override any GCC internal prototype to avoid an error.
17986 Use char because int might match the return type of a GCC
17987 builtin and then its argument prototype would still apply. */
17988 char snd_pcm_hw_params_get_access_mask ();
17992 return snd_pcm_hw_params_get_access_mask ();
17997 if ac_fn_c_try_link
"$LINENO"
17999 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
18001 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
18003 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18004 conftest
$ac_exeext conftest.
$ac_ext
18005 LIBS
=$ac_check_lib_save_LIBS
18007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
18008 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
18009 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
18011 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18012 /* end confdefs.h. */
18013 #include <alsa/asoundlib.h>
18017 snd_pcm_hw_params_get_access_mask(NULL, NULL)
18022 if ac_fn_c_try_compile
"$LINENO"
18024 ALSA_LIBS
="-lasound"
18026 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
18030 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
18032 if test "x$with_oss" != xno
18034 ac_save_CPPFLAGS
="$CPPFLAGS"
18035 if test -f /etc
/oss.conf
18039 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
18040 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
18041 ac_fn_c_check_header_compile
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
18042 if test "x$ac_cv_header_sys_soundcard_h" = xyes
18044 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
18046 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
18049 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
18051 OSS4_CFLAGS
="$ac_oss_incl"
18053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
18054 printf %s
"checking for _oss_ioctl in -lossaudio... " >&6; }
18055 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
18057 printf %s
"(cached) " >&6
18059 ac_check_lib_save_LIBS
=$LIBS
18060 LIBS
="-lossaudio $LIBS"
18061 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18062 /* end confdefs.h. */
18064 /* Override any GCC internal prototype to avoid an error.
18065 Use char because int might match the return type of a GCC
18066 builtin and then its argument prototype would still apply. */
18067 char _oss_ioctl ();
18071 return _oss_ioctl ();
18076 if ac_fn_c_try_link
"$LINENO"
18078 ac_cv_lib_ossaudio__oss_ioctl
=yes
18080 ac_cv_lib_ossaudio__oss_ioctl
=no
18082 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18083 conftest
$ac_exeext conftest.
$ac_ext
18084 LIBS
=$ac_check_lib_save_LIBS
18086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
18087 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
18088 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
18090 OSS4_LIBS
="-lossaudio"
18098 CPPFLAGS
="$ac_save_CPPFLAGS"
18100 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
18102 case "x$with_oss" in
18103 x
) as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
18105 *) as_fn_error $?
"OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
18106 This is an error since --with-oss was requested." "$LINENO" 5 ;;
18108 enable_wineoss_drv
=${enable_wineoss_drv:-no}
18111 if test "x$with_udev" != "xno"
18114 if ${UDEV_CFLAGS:+false} :
18116 if test ${PKG_CONFIG+y}
18118 UDEV_CFLAGS
=`$PKG_CONFIG --cflags libudev 2>conftest.err`
18122 if ${UDEV_LIBS:+false} :
18124 if test ${PKG_CONFIG+y}
18126 UDEV_LIBS
=`$PKG_CONFIG --libs libudev 2>/dev/null`
18130 UDEV_LIBS
=${UDEV_LIBS:-"-ludev"}
18131 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
18132 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
18133 if test -s conftest.err
; then
18134 printf %s
"$as_me:${as_lineno-$LINENO}: libudev errors: " >&5
18135 cat conftest.err
>&5
18138 ac_save_CPPFLAGS
=$CPPFLAGS
18139 CPPFLAGS
="$CPPFLAGS $UDEV_CFLAGS"
18140 for ac_header
in libudev.h
18142 ac_fn_c_check_header_compile
"$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
18143 if test "x$ac_cv_header_libudev_h" = xyes
18145 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
18146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
18147 printf %s
"checking for udev_new in -ludev... " >&6; }
18148 if test ${ac_cv_lib_udev_udev_new+y}
18150 printf %s
"(cached) " >&6
18152 ac_check_lib_save_LIBS
=$LIBS
18153 LIBS
="-ludev $UDEV_LIBS $LIBS"
18154 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18155 /* end confdefs.h. */
18157 /* Override any GCC internal prototype to avoid an error.
18158 Use char because int might match the return type of a GCC
18159 builtin and then its argument prototype would still apply. */
18164 return udev_new ();
18169 if ac_fn_c_try_link
"$LINENO"
18171 ac_cv_lib_udev_udev_new
=yes
18173 ac_cv_lib_udev_udev_new
=no
18175 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18176 conftest
$ac_exeext conftest.
$ac_ext
18177 LIBS
=$ac_check_lib_save_LIBS
18179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
18180 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
18181 if test "x$ac_cv_lib_udev_udev_new" = xyes
18184 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
18195 CPPFLAGS
=$ac_save_CPPFLAGS
18198 if test "x$UDEV_LIBS" = "x"
18200 case "x$with_udev" in
18201 x
) as_fn_append wine_notices
"|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
18203 *) as_fn_error $?
"libudev ${notice_platform}development files not found, plug and play won't be supported.
18204 This is an error since --with-udev was requested." "$LINENO" 5 ;;
18209 if test $HOST_ARCH = x86_64
18211 if test "x$with_unwind" != xno
18214 if ${UNWIND_CFLAGS:+false} :
18216 if test ${PKG_CONFIG+y}
18218 UNWIND_CFLAGS
=`$PKG_CONFIG --cflags libunwind 2>conftest.err`
18222 if ${UNWIND_LIBS:+false} :
18224 if test ${PKG_CONFIG+y}
18226 UNWIND_LIBS
=`$PKG_CONFIG --libs libunwind 2>/dev/null`
18230 UNWIND_LIBS
=${UNWIND_LIBS:-"-lunwind"}
18231 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
18232 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
18233 if test -s conftest.err
; then
18234 printf %s
"$as_me:${as_lineno-$LINENO}: libunwind errors: " >&5
18235 cat conftest.err
>&5
18238 ac_save_CPPFLAGS
=$CPPFLAGS
18239 CPPFLAGS
="$CPPFLAGS $UNWIND_CFLAGS"
18240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
18241 printf %s
"checking for unw_step... " >&6; }
18242 if test ${wine_cv_have_unw_step+y}
18244 printf %s
"(cached) " >&6
18246 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18247 /* end confdefs.h. */
18248 #define UNW_LOCAL_ONLY
18249 #include <libunwind.h>
18253 unw_cursor_t cursor; unw_step( &cursor );
18258 if ac_fn_c_try_link
"$LINENO"
18260 wine_cv_have_unw_step
="yes"
18262 wine_cv_have_unw_step
="no"
18264 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18265 conftest
$ac_exeext conftest.
$ac_ext
18267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
18268 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
18269 if test "$wine_cv_have_unw_step" = no
-a -n "$UNWIND_LIBS"
18272 UNWIND_LIBS
="-static-libgcc $UNWIND_LIBS"
18273 LIBS
="$UNWIND_LIBS $LIBS"
18274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
18275 printf %s
"checking for unw_step in libunwind... " >&6; }
18276 if test ${wine_cv_have_libunwind_unw_step+y}
18278 printf %s
"(cached) " >&6
18280 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18281 /* end confdefs.h. */
18282 #define UNW_LOCAL_ONLY
18283 #include <libunwind.h>
18287 unw_cursor_t cursor; unw_step( &cursor );
18292 if ac_fn_c_try_link
"$LINENO"
18294 wine_cv_have_libunwind_unw_step
="yes"
18296 wine_cv_have_libunwind_unw_step
="no"
18298 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18299 conftest
$ac_exeext conftest.
$ac_ext
18301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
18302 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
18305 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS
=""
18306 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
18309 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
18312 CPPFLAGS
=$ac_save_CPPFLAGS
18317 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
18319 case "x$with_unwind" in
18320 x
) as_fn_append wine_notices
"|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
18322 *) as_fn_error $?
"libunwind ${notice_platform}development files not found, stack unwinding won't work.
18323 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
18330 if test "x$with_sdl" != "xno"
18333 if ${SDL2_CFLAGS:+false} :
18335 if test ${PKG_CONFIG+y}
18337 SDL2_CFLAGS
=`$PKG_CONFIG --cflags sdl2 2>conftest.err`
18341 if ${SDL2_LIBS:+false} :
18343 if test ${PKG_CONFIG+y}
18345 SDL2_LIBS
=`$PKG_CONFIG --libs sdl2 2>/dev/null`
18349 SDL2_LIBS
=${SDL2_LIBS:-"-lSDL2"}
18350 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
18351 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
18352 if test -s conftest.err
; then
18353 printf %s
"$as_me:${as_lineno-$LINENO}: sdl2 errors: " >&5
18354 cat conftest.err
>&5
18357 ac_save_CPPFLAGS
=$CPPFLAGS
18358 CPPFLAGS
="$CPPFLAGS $SDL2_CFLAGS"
18359 for ac_header
in SDL.h
18361 ac_fn_c_check_header_compile
"$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
18362 if test "x$ac_cv_header_SDL_h" = xyes
18364 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
18365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
18366 printf %s
"checking for -lSDL2... " >&6; }
18367 if test ${ac_cv_lib_soname_SDL2+y}
18369 printf %s
"(cached) " >&6
18371 ac_check_soname_save_LIBS
=$LIBS
18372 LIBS
="-lSDL2 $SDL2_LIBS $LIBS"
18373 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18374 /* end confdefs.h. */
18376 /* Override any GCC internal prototype to avoid an error.
18377 Use char because int might match the return type of a GCC
18378 builtin and then its argument prototype would still apply. */
18383 return SDL_Init ();
18388 if ac_fn_c_try_link
"$LINENO"
18391 dll
) ac_cv_lib_soname_SDL2
=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18392 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'` ;;
18393 *) 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'`
18394 if ${ac_cv_lib_soname_SDL2:+false} :
18396 ac_cv_lib_soname_SDL2
=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18400 ac_cv_lib_soname_SDL2
=
18402 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18403 conftest
$ac_exeext conftest.
$ac_ext
18404 LIBS
=$ac_check_soname_save_LIBS
18406 if ${ac_cv_lib_soname_SDL2:+false} :
18408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18409 printf "%s\n" "not found" >&6; }
18412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
18413 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
18415 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
18422 CPPFLAGS
=$ac_save_CPPFLAGS
18425 if test "x$ac_cv_lib_soname_SDL2" = "x"
18427 case "x$with_sdl" in
18428 x
) as_fn_append wine_notices
"|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
18430 *) as_fn_error $?
"libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
18431 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
18436 if test "x$with_capi" != "xno"
18439 if ${CAPI20_CFLAGS:+false} :
18441 if test ${PKG_CONFIG+y}
18443 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>conftest.err`
18447 if ${CAPI20_LIBS:+false} :
18449 if test ${PKG_CONFIG+y}
18451 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
18456 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
18457 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
18458 if test -s conftest.err
; then
18459 printf %s
"$as_me:${as_lineno-$LINENO}: capi20 errors: " >&5
18460 cat conftest.err
>&5
18463 ac_save_CPPFLAGS
=$CPPFLAGS
18464 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
18465 ac_fn_c_check_header_compile
"$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
18467 if test "x$ac_cv_header_capi20_h" = xyes
18469 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
18472 ac_fn_c_check_header_compile
"$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
18474 if test "x$ac_cv_header_linux_capi_h" = xyes
18476 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
18480 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
18482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
18483 printf %s
"checking for capi20_register in -lcapi20... " >&6; }
18484 if test ${ac_cv_lib_capi20_capi20_register+y}
18486 printf %s
"(cached) " >&6
18488 ac_check_lib_save_LIBS
=$LIBS
18489 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
18490 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18491 /* end confdefs.h. */
18493 /* Override any GCC internal prototype to avoid an error.
18494 Use char because int might match the return type of a GCC
18495 builtin and then its argument prototype would still apply. */
18496 char capi20_register ();
18500 return capi20_register ();
18505 if ac_fn_c_try_link
"$LINENO"
18507 ac_cv_lib_capi20_capi20_register
=yes
18509 ac_cv_lib_capi20_capi20_register
=no
18511 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18512 conftest
$ac_exeext conftest.
$ac_ext
18513 LIBS
=$ac_check_lib_save_LIBS
18515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
18516 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
18517 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
18525 CPPFLAGS
=$ac_save_CPPFLAGS
18528 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
18530 case "x$with_capi" in
18531 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
18533 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
18534 This is an error since --with-capi was requested." "$LINENO" 5 ;;
18536 enable_capi2032
=${enable_capi2032:-no}
18539 if test "x$with_cups" != "xno"
18542 if ${CUPS_CFLAGS:+false} :
18544 if test ${PKG_CONFIG+y}
18546 CUPS_CFLAGS
=`$PKG_CONFIG --cflags cups 2>conftest.err`
18549 test "$cross_compiling" = yes || CUPS_CFLAGS
=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
18550 if ${CUPS_LIBS:+false} :
18552 if test ${PKG_CONFIG+y}
18554 CUPS_LIBS
=`$PKG_CONFIG --libs cups 2>/dev/null`
18557 test "$cross_compiling" = yes || CUPS_LIBS
=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
18558 CUPS_LIBS
=${CUPS_LIBS:-"-lcups"}
18559 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
18560 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
18561 if test -s conftest.err
; then
18562 printf %s
"$as_me:${as_lineno-$LINENO}: cups errors: " >&5
18563 cat conftest.err
>&5
18566 ac_save_CPPFLAGS
=$CPPFLAGS
18567 CPPFLAGS
="$CPPFLAGS $CUPS_CFLAGS"
18568 ac_fn_c_check_header_compile
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
18569 if test "x$ac_cv_header_cups_cups_h" = xyes
18571 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
18574 ac_fn_c_check_header_compile
"$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
18575 if test "x$ac_cv_header_cups_ppd_h" = xyes
18577 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
18581 if test "$ac_cv_header_cups_cups_h" = "yes"
18583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
18584 printf %s
"checking for -lcups... " >&6; }
18585 if test ${ac_cv_lib_soname_cups+y}
18587 printf %s
"(cached) " >&6
18589 ac_check_soname_save_LIBS
=$LIBS
18590 LIBS
="-lcups $CUPS_LIBS $LIBS"
18591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18592 /* end confdefs.h. */
18594 /* Override any GCC internal prototype to avoid an error.
18595 Use char because int might match the return type of a GCC
18596 builtin and then its argument prototype would still apply. */
18597 char cupsGetDefault ();
18601 return cupsGetDefault ();
18606 if ac_fn_c_try_link
"$LINENO"
18609 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18610 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'` ;;
18611 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18612 if ${ac_cv_lib_soname_cups:+false} :
18614 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18618 ac_cv_lib_soname_cups
=
18620 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18621 conftest
$ac_exeext conftest.
$ac_ext
18622 LIBS
=$ac_check_soname_save_LIBS
18624 if ${ac_cv_lib_soname_cups:+false} :
18626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18627 printf "%s\n" "not found" >&6; }
18630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
18631 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
18633 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
18641 CPPFLAGS
=$ac_save_CPPFLAGS
18644 if test "x$ac_cv_lib_soname_cups" = "x"
18646 case "x$with_cups" in
18647 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
18649 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
18650 This is an error since --with-cups was requested." "$LINENO" 5 ;;
18655 if test "x$with_fontconfig" != "xno"
18658 if ${FONTCONFIG_CFLAGS:+false} :
18660 if test ${PKG_CONFIG+y}
18662 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>conftest.err`
18665 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
18666 if ${FONTCONFIG_LIBS:+false} :
18668 if test ${PKG_CONFIG+y}
18670 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
18673 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
18675 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
18676 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
18677 if test -s conftest.err
; then
18678 printf %s
"$as_me:${as_lineno-$LINENO}: fontconfig errors: " >&5
18679 cat conftest.err
>&5
18682 ac_save_CPPFLAGS
=$CPPFLAGS
18683 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
18684 ac_fn_c_check_header_compile
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
18685 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
18687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
18688 printf %s
"checking for -lfontconfig... " >&6; }
18689 if test ${ac_cv_lib_soname_fontconfig+y}
18691 printf %s
"(cached) " >&6
18693 ac_check_soname_save_LIBS
=$LIBS
18694 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
18695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18696 /* end confdefs.h. */
18698 /* Override any GCC internal prototype to avoid an error.
18699 Use char because int might match the return type of a GCC
18700 builtin and then its argument prototype would still apply. */
18710 if ac_fn_c_try_link
"$LINENO"
18713 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18714 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'` ;;
18715 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18716 if ${ac_cv_lib_soname_fontconfig:+false} :
18718 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18722 ac_cv_lib_soname_fontconfig
=
18724 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18725 conftest
$ac_exeext conftest.
$ac_ext
18726 LIBS
=$ac_check_soname_save_LIBS
18728 if ${ac_cv_lib_soname_fontconfig:+false} :
18730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18731 printf "%s\n" "not found" >&6; }
18732 FONTCONFIG_CFLAGS
=""
18734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
18735 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
18737 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
18742 FONTCONFIG_CFLAGS
=""
18745 CPPFLAGS
=$ac_save_CPPFLAGS
18748 if test "x$ac_cv_lib_soname_fontconfig" = "x"
18750 case "x$with_fontconfig" in
18751 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
18753 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
18754 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
18759 if test "x$with_krb5" != "xno"
18762 if ${KRB5_CFLAGS:+false} :
18764 if test ${PKG_CONFIG+y}
18766 KRB5_CFLAGS
=`$PKG_CONFIG --cflags krb5 2>conftest.err`
18769 test "$cross_compiling" = yes || KRB5_CFLAGS
=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
18770 if ${KRB5_LIBS:+false} :
18772 if test ${PKG_CONFIG+y}
18774 KRB5_LIBS
=`$PKG_CONFIG --libs krb5 2>/dev/null`
18777 test "$cross_compiling" = yes || KRB5_LIBS
=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
18779 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
18780 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
18781 if test -s conftest.err
; then
18782 printf %s
"$as_me:${as_lineno-$LINENO}: krb5 errors: " >&5
18783 cat conftest.err
>&5
18786 ac_save_CPPFLAGS
=$CPPFLAGS
18787 CPPFLAGS
="$CPPFLAGS $KRB5_CFLAGS"
18788 ac_fn_c_check_header_compile
"$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
18789 if test "x$ac_cv_header_krb5_krb5_h" = xyes
18791 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
18795 if test "$ac_cv_header_krb5_krb5_h" = "yes"
18797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
18798 printf %s
"checking for -lkrb5... " >&6; }
18799 if test ${ac_cv_lib_soname_krb5+y}
18801 printf %s
"(cached) " >&6
18803 ac_check_soname_save_LIBS
=$LIBS
18804 LIBS
="-lkrb5 $KRB5_LIBS $LIBS"
18805 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18806 /* end confdefs.h. */
18808 /* Override any GCC internal prototype to avoid an error.
18809 Use char because int might match the return type of a GCC
18810 builtin and then its argument prototype would still apply. */
18811 char krb5_is_config_principal ();
18815 return krb5_is_config_principal ();
18820 if ac_fn_c_try_link
"$LINENO"
18823 dll
) ac_cv_lib_soname_krb5
=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18824 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'` ;;
18825 *) ac_cv_lib_soname_krb5
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18826 if ${ac_cv_lib_soname_krb5:+false} :
18828 ac_cv_lib_soname_krb5
=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18832 ac_cv_lib_soname_krb5
=
18834 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18835 conftest
$ac_exeext conftest.
$ac_ext
18836 LIBS
=$ac_check_soname_save_LIBS
18838 if ${ac_cv_lib_soname_krb5:+false} :
18840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18841 printf "%s\n" "not found" >&6; }
18844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
18845 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
18847 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
18854 CPPFLAGS
=$ac_save_CPPFLAGS
18857 if test "x$ac_cv_lib_soname_krb5" = "x"
18859 case "x$with_krb5" in
18860 x
) as_fn_append wine_notices
"|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
18862 *) as_fn_error $?
"libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
18863 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
18867 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi
=${with_gssapi:-no}
18869 if test "x$with_gssapi" != "xno"
18872 if ${GSSAPI_CFLAGS:+false} :
18874 if test ${PKG_CONFIG+y}
18876 GSSAPI_CFLAGS
=`$PKG_CONFIG --cflags krb5-gssapi 2>conftest.err`
18879 test "$cross_compiling" = yes || GSSAPI_CFLAGS
=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
18880 if ${GSSAPI_LIBS:+false} :
18882 if test ${PKG_CONFIG+y}
18884 GSSAPI_LIBS
=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
18887 test "$cross_compiling" = yes || GSSAPI_LIBS
=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
18889 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
18890 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
18891 if test -s conftest.err
; then
18892 printf %s
"$as_me:${as_lineno-$LINENO}: krb5-gssapi errors: " >&5
18893 cat conftest.err
>&5
18896 ac_save_CPPFLAGS
=$CPPFLAGS
18897 CPPFLAGS
="$CPPFLAGS $GSSAPI_CFLAGS"
18898 ac_fn_c_check_header_compile
"$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
18899 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
18901 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
18904 ac_fn_c_check_header_compile
"$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
18905 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
18907 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
18911 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
18913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
18914 printf %s
"checking for -lgssapi_krb5... " >&6; }
18915 if test ${ac_cv_lib_soname_gssapi_krb5+y}
18917 printf %s
"(cached) " >&6
18919 ac_check_soname_save_LIBS
=$LIBS
18920 LIBS
="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
18921 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18922 /* end confdefs.h. */
18924 /* Override any GCC internal prototype to avoid an error.
18925 Use char because int might match the return type of a GCC
18926 builtin and then its argument prototype would still apply. */
18927 char gss_init_sec_context ();
18931 return gss_init_sec_context ();
18936 if ac_fn_c_try_link
"$LINENO"
18939 dll
) ac_cv_lib_soname_gssapi_krb5
=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18940 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'` ;;
18941 *) 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'`
18942 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18944 ac_cv_lib_soname_gssapi_krb5
=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18948 ac_cv_lib_soname_gssapi_krb5
=
18950 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18951 conftest
$ac_exeext conftest.
$ac_ext
18952 LIBS
=$ac_check_soname_save_LIBS
18954 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18957 printf "%s\n" "not found" >&6; }
18960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18961 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18963 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18970 CPPFLAGS
=$ac_save_CPPFLAGS
18973 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18975 case "x$with_gssapi" in
18976 x
) as_fn_append wine_notices
"|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18978 *) as_fn_error $?
"libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18979 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18984 if test "$ac_cv_header_libprocstat_h" = "yes"
18986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18987 printf %s
"checking for procstat_open_sysctl in -lprocstat... " >&6; }
18988 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18990 printf %s
"(cached) " >&6
18992 ac_check_lib_save_LIBS
=$LIBS
18993 LIBS
="-lprocstat $LIBS"
18994 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18995 /* end confdefs.h. */
18997 /* Override any GCC internal prototype to avoid an error.
18998 Use char because int might match the return type of a GCC
18999 builtin and then its argument prototype would still apply. */
19000 char procstat_open_sysctl ();
19004 return procstat_open_sysctl ();
19009 if ac_fn_c_try_link
"$LINENO"
19011 ac_cv_lib_procstat_procstat_open_sysctl
=yes
19013 ac_cv_lib_procstat_procstat_open_sysctl
=no
19015 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19016 conftest
$ac_exeext conftest.
$ac_ext
19017 LIBS
=$ac_check_lib_save_LIBS
19019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
19020 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
19021 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
19024 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
19026 PROCSTAT_LIBS
="-lprocstat"
19032 if test "x$with_netapi" != "xno"
19035 if ${NETAPI_CFLAGS:+false} :
19037 if test ${PKG_CONFIG+y}
19039 NETAPI_CFLAGS
=`$PKG_CONFIG --cflags netapi 2>conftest.err`
19043 if ${NETAPI_LIBS:+false} :
19045 if test ${PKG_CONFIG+y}
19047 NETAPI_LIBS
=`$PKG_CONFIG --libs netapi 2>/dev/null`
19052 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
19053 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
19054 if test -s conftest.err
; then
19055 printf %s
"$as_me:${as_lineno-$LINENO}: netapi errors: " >&5
19056 cat conftest.err
>&5
19059 ac_save_CPPFLAGS
=$CPPFLAGS
19060 CPPFLAGS
="$CPPFLAGS $NETAPI_CFLAGS"
19061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
19062 printf %s
"checking for -lnetapi... " >&6; }
19063 if test ${ac_cv_lib_soname_netapi+y}
19065 printf %s
"(cached) " >&6
19067 ac_check_soname_save_LIBS
=$LIBS
19068 LIBS
="-lnetapi $NETAPI_LIBS $LIBS"
19069 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19070 /* end confdefs.h. */
19072 /* Override any GCC internal prototype to avoid an error.
19073 Use char because int might match the return type of a GCC
19074 builtin and then its argument prototype would still apply. */
19075 char libnetapi_init ();
19079 return libnetapi_init ();
19084 if ac_fn_c_try_link
"$LINENO"
19087 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
19088 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'` ;;
19089 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
19090 if ${ac_cv_lib_soname_netapi:+false} :
19092 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
19096 ac_cv_lib_soname_netapi
=
19098 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19099 conftest
$ac_exeext conftest.
$ac_ext
19100 LIBS
=$ac_check_soname_save_LIBS
19102 if ${ac_cv_lib_soname_netapi:+false} :
19104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
19105 printf "%s\n" "not found" >&6; }
19106 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
19109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
19110 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
19112 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
19116 CPPFLAGS
=$ac_save_CPPFLAGS
19119 if test "x$ac_cv_lib_soname_netapi" = "x"
19121 case "x$with_netapi" in
19122 x
) as_fn_append wine_notices
"|libnetapi not found, Samba NetAPI won't be supported." ;;
19124 *) as_fn_error $?
"libnetapi not found, Samba NetAPI won't be supported.
19125 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
19127 enable_netapi
=${enable_netapi:-no}
19131 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono
-a \
19132 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
19134 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
19137 if test "x$with_vulkan" != "xno"
19139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
19140 printf %s
"checking for -lvulkan... " >&6; }
19141 if test ${ac_cv_lib_soname_vulkan+y}
19143 printf %s
"(cached) " >&6
19145 ac_check_soname_save_LIBS
=$LIBS
19146 LIBS
="-lvulkan $LIBS"
19147 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19148 /* end confdefs.h. */
19150 /* Override any GCC internal prototype to avoid an error.
19151 Use char because int might match the return type of a GCC
19152 builtin and then its argument prototype would still apply. */
19153 char vkGetInstanceProcAddr ();
19157 return vkGetInstanceProcAddr ();
19162 if ac_fn_c_try_link
"$LINENO"
19165 dll
) ac_cv_lib_soname_vulkan
=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
19166 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'` ;;
19167 *) ac_cv_lib_soname_vulkan
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
19168 if ${ac_cv_lib_soname_vulkan:+false} :
19170 ac_cv_lib_soname_vulkan
=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
19174 ac_cv_lib_soname_vulkan
=
19176 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19177 conftest
$ac_exeext conftest.
$ac_ext
19178 LIBS
=$ac_check_soname_save_LIBS
19180 if ${ac_cv_lib_soname_vulkan:+false} :
19182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
19183 printf "%s\n" "not found" >&6; }
19186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
19187 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
19189 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
19193 if test "x$ac_cv_lib_soname_vulkan" = "x"
19195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
19196 printf %s
"checking for -lMoltenVK... " >&6; }
19197 if test ${ac_cv_lib_soname_MoltenVK+y}
19199 printf %s
"(cached) " >&6
19201 ac_check_soname_save_LIBS
=$LIBS
19202 LIBS
="-lMoltenVK $LIBS"
19203 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19204 /* end confdefs.h. */
19206 /* Override any GCC internal prototype to avoid an error.
19207 Use char because int might match the return type of a GCC
19208 builtin and then its argument prototype would still apply. */
19209 char vkGetInstanceProcAddr ();
19213 return vkGetInstanceProcAddr ();
19218 if ac_fn_c_try_link
"$LINENO"
19221 dll
) ac_cv_lib_soname_MoltenVK
=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
19222 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'` ;;
19223 *) ac_cv_lib_soname_MoltenVK
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
19224 if ${ac_cv_lib_soname_MoltenVK:+false} :
19226 ac_cv_lib_soname_MoltenVK
=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
19230 ac_cv_lib_soname_MoltenVK
=
19232 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19233 conftest
$ac_exeext conftest.
$ac_ext
19234 LIBS
=$ac_check_soname_save_LIBS
19236 if ${ac_cv_lib_soname_MoltenVK:+false} :
19238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
19239 printf "%s\n" "not found" >&6; }
19242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
19243 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
19245 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
19247 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
19252 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
19254 case "x$with_vulkan" in
19255 x
) as_fn_append wine_notices
"|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
19257 *) as_fn_error $?
"libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
19258 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
19264 if test "x${GCC}" = "xyes"
19266 EXTRACFLAGS
="$EXTRACFLAGS -Wall -pipe"
19268 saved_CFLAGS
=$CFLAGS
19269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
19270 printf %s
"checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
19271 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
19273 printf %s
"(cached) " >&6
19275 ac_wine_try_cflags_saved
=$CFLAGS
19276 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
19277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19278 /* end confdefs.h. */
19279 int main(int argc, char **argv) { return 0; }
19281 if ac_fn_c_try_link
"$LINENO"
19283 ac_cv_cflags__Werror_unknown_warning_option
=yes
19285 ac_cv_cflags__Werror_unknown_warning_option
=no
19287 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19288 conftest
$ac_exeext conftest.
$ac_ext
19289 CFLAGS
=$ac_wine_try_cflags_saved
19291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
19292 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
19293 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
19295 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
19297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
19298 printf %s
"checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
19299 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
19301 printf %s
"(cached) " >&6
19303 ac_wine_try_cflags_saved
=$CFLAGS
19304 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
19305 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19306 /* end confdefs.h. */
19307 int main(int argc, char **argv) { return 0; }
19309 if ac_fn_c_try_link
"$LINENO"
19311 ac_cv_cflags__Werror_unused_command_line_argument
=yes
19313 ac_cv_cflags__Werror_unused_command_line_argument
=no
19315 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19316 conftest
$ac_exeext conftest.
$ac_ext
19317 CFLAGS
=$ac_wine_try_cflags_saved
19319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
19320 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
19321 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
19323 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
19325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
19326 printf %s
"checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
19327 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
19329 printf %s
"(cached) " >&6
19331 ac_wine_try_cflags_saved
=$CFLAGS
19332 CFLAGS
="$CFLAGS -Werror=ignored-optimization-argument"
19333 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19334 /* end confdefs.h. */
19335 int main(int argc, char **argv) { return 0; }
19337 if ac_fn_c_try_link
"$LINENO"
19339 ac_cv_cflags__Werror_ignored_optimization_argument
=yes
19341 ac_cv_cflags__Werror_ignored_optimization_argument
=no
19343 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19344 conftest
$ac_exeext conftest.
$ac_ext
19345 CFLAGS
=$ac_wine_try_cflags_saved
19347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
19348 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
19349 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
19351 CFLAGS
="$CFLAGS -Werror=ignored-optimization-argument"
19353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
19354 printf %s
"checking whether the compiler supports -fcf-protection=none... " >&6; }
19355 if test ${ac_cv_cflags__fcf_protection_none+y}
19357 printf %s
"(cached) " >&6
19359 ac_wine_try_cflags_saved
=$CFLAGS
19360 CFLAGS
="$CFLAGS -fcf-protection=none"
19361 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19362 /* end confdefs.h. */
19363 int main(int argc, char **argv) { return 0; }
19365 if ac_fn_c_try_link
"$LINENO"
19367 ac_cv_cflags__fcf_protection_none
=yes
19369 ac_cv_cflags__fcf_protection_none
=no
19371 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19372 conftest
$ac_exeext conftest.
$ac_ext
19373 CFLAGS
=$ac_wine_try_cflags_saved
19375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
19376 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
19377 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
19379 EXTRACFLAGS
="$EXTRACFLAGS -fcf-protection=none"
19381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fvisibility=hidden" >&5
19382 printf %s
"checking whether the compiler supports -fvisibility=hidden... " >&6; }
19383 if test ${ac_cv_cflags__fvisibility_hidden+y}
19385 printf %s
"(cached) " >&6
19387 ac_wine_try_cflags_saved
=$CFLAGS
19388 CFLAGS
="$CFLAGS -fvisibility=hidden"
19389 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19390 /* end confdefs.h. */
19391 int main(int argc, char **argv) { return 0; }
19393 if ac_fn_c_try_link
"$LINENO"
19395 ac_cv_cflags__fvisibility_hidden
=yes
19397 ac_cv_cflags__fvisibility_hidden
=no
19399 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19400 conftest
$ac_exeext conftest.
$ac_ext
19401 CFLAGS
=$ac_wine_try_cflags_saved
19403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fvisibility_hidden" >&5
19404 printf "%s\n" "$ac_cv_cflags__fvisibility_hidden" >&6; }
19405 if test "x$ac_cv_cflags__fvisibility_hidden" = xyes
19407 EXTRACFLAGS
="$EXTRACFLAGS -fvisibility=hidden"
19409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
19410 printf %s
"checking whether the compiler supports -fno-stack-protector... " >&6; }
19411 if test ${ac_cv_cflags__fno_stack_protector+y}
19413 printf %s
"(cached) " >&6
19415 ac_wine_try_cflags_saved
=$CFLAGS
19416 CFLAGS
="$CFLAGS -fno-stack-protector"
19417 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19418 /* end confdefs.h. */
19419 int main(int argc, char **argv) { return 0; }
19421 if ac_fn_c_try_link
"$LINENO"
19423 ac_cv_cflags__fno_stack_protector
=yes
19425 ac_cv_cflags__fno_stack_protector
=no
19427 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19428 conftest
$ac_exeext conftest.
$ac_ext
19429 CFLAGS
=$ac_wine_try_cflags_saved
19431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
19432 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
19433 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
19435 EXTRACFLAGS
="$EXTRACFLAGS -fno-stack-protector"
19437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
19438 printf %s
"checking whether the compiler supports -fno-strict-aliasing... " >&6; }
19439 if test ${ac_cv_cflags__fno_strict_aliasing+y}
19441 printf %s
"(cached) " >&6
19443 ac_wine_try_cflags_saved
=$CFLAGS
19444 CFLAGS
="$CFLAGS -fno-strict-aliasing"
19445 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19446 /* end confdefs.h. */
19447 int main(int argc, char **argv) { return 0; }
19449 if ac_fn_c_try_link
"$LINENO"
19451 ac_cv_cflags__fno_strict_aliasing
=yes
19453 ac_cv_cflags__fno_strict_aliasing
=no
19455 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19456 conftest
$ac_exeext conftest.
$ac_ext
19457 CFLAGS
=$ac_wine_try_cflags_saved
19459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
19460 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
19461 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
19463 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
19465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
19466 printf %s
"checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
19467 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
19469 printf %s
"(cached) " >&6
19471 ac_wine_try_cflags_saved
=$CFLAGS
19472 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
19473 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19474 /* end confdefs.h. */
19475 int main(int argc, char **argv) { return 0; }
19477 if ac_fn_c_try_link
"$LINENO"
19479 ac_cv_cflags__Wdeclaration_after_statement
=yes
19481 ac_cv_cflags__Wdeclaration_after_statement
=no
19483 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19484 conftest
$ac_exeext conftest.
$ac_ext
19485 CFLAGS
=$ac_wine_try_cflags_saved
19487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
19488 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
19489 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
19491 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
19493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
19494 printf %s
"checking whether the compiler supports -Wempty-body... " >&6; }
19495 if test ${ac_cv_cflags__Wempty_body+y}
19497 printf %s
"(cached) " >&6
19499 ac_wine_try_cflags_saved
=$CFLAGS
19500 CFLAGS
="$CFLAGS -Wempty-body"
19501 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19502 /* end confdefs.h. */
19503 int main(int argc, char **argv) { return 0; }
19505 if ac_fn_c_try_link
"$LINENO"
19507 ac_cv_cflags__Wempty_body
=yes
19509 ac_cv_cflags__Wempty_body
=no
19511 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19512 conftest
$ac_exeext conftest.
$ac_ext
19513 CFLAGS
=$ac_wine_try_cflags_saved
19515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
19516 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
19517 if test "x$ac_cv_cflags__Wempty_body" = xyes
19519 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
19521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
19522 printf %s
"checking whether the compiler supports -Wignored-qualifiers... " >&6; }
19523 if test ${ac_cv_cflags__Wignored_qualifiers+y}
19525 printf %s
"(cached) " >&6
19527 ac_wine_try_cflags_saved
=$CFLAGS
19528 CFLAGS
="$CFLAGS -Wignored-qualifiers"
19529 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19530 /* end confdefs.h. */
19531 int main(int argc, char **argv) { return 0; }
19533 if ac_fn_c_try_link
"$LINENO"
19535 ac_cv_cflags__Wignored_qualifiers
=yes
19537 ac_cv_cflags__Wignored_qualifiers
=no
19539 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19540 conftest
$ac_exeext conftest.
$ac_ext
19541 CFLAGS
=$ac_wine_try_cflags_saved
19543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
19544 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
19545 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
19547 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
19549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
19550 printf %s
"checking whether the compiler supports -Winit-self... " >&6; }
19551 if test ${ac_cv_cflags__Winit_self+y}
19553 printf %s
"(cached) " >&6
19555 ac_wine_try_cflags_saved
=$CFLAGS
19556 CFLAGS
="$CFLAGS -Winit-self"
19557 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19558 /* end confdefs.h. */
19559 int main(int argc, char **argv) { return 0; }
19561 if ac_fn_c_try_link
"$LINENO"
19563 ac_cv_cflags__Winit_self
=yes
19565 ac_cv_cflags__Winit_self
=no
19567 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19568 conftest
$ac_exeext conftest.
$ac_ext
19569 CFLAGS
=$ac_wine_try_cflags_saved
19571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
19572 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
19573 if test "x$ac_cv_cflags__Winit_self" = xyes
19575 EXTRACFLAGS
="$EXTRACFLAGS -Winit-self"
19577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
19578 printf %s
"checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
19579 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
19581 printf %s
"(cached) " >&6
19583 ac_wine_try_cflags_saved
=$CFLAGS
19584 CFLAGS
="$CFLAGS -Wpacked-not-aligned"
19585 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19586 /* end confdefs.h. */
19587 int main(int argc, char **argv) { return 0; }
19589 if ac_fn_c_try_link
"$LINENO"
19591 ac_cv_cflags__Wpacked_not_aligned
=yes
19593 ac_cv_cflags__Wpacked_not_aligned
=no
19595 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19596 conftest
$ac_exeext conftest.
$ac_ext
19597 CFLAGS
=$ac_wine_try_cflags_saved
19599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
19600 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
19601 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
19603 EXTRACFLAGS
="$EXTRACFLAGS -Wno-packed-not-aligned"
19605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
19606 printf %s
"checking whether the compiler supports -Wpragma-pack... " >&6; }
19607 if test ${ac_cv_cflags__Wpragma_pack+y}
19609 printf %s
"(cached) " >&6
19611 ac_wine_try_cflags_saved
=$CFLAGS
19612 CFLAGS
="$CFLAGS -Wpragma-pack"
19613 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19614 /* end confdefs.h. */
19615 int main(int argc, char **argv) { return 0; }
19617 if ac_fn_c_try_link
"$LINENO"
19619 ac_cv_cflags__Wpragma_pack
=yes
19621 ac_cv_cflags__Wpragma_pack
=no
19623 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19624 conftest
$ac_exeext conftest.
$ac_ext
19625 CFLAGS
=$ac_wine_try_cflags_saved
19627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
19628 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
19629 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
19631 EXTRACFLAGS
="$EXTRACFLAGS -Wno-pragma-pack"
19633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
19634 printf %s
"checking whether the compiler supports -Wshift-overflow=2... " >&6; }
19635 if test ${ac_cv_cflags__Wshift_overflow_2+y}
19637 printf %s
"(cached) " >&6
19639 ac_wine_try_cflags_saved
=$CFLAGS
19640 CFLAGS
="$CFLAGS -Wshift-overflow=2"
19641 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19642 /* end confdefs.h. */
19643 int main(int argc, char **argv) { return 0; }
19645 if ac_fn_c_try_link
"$LINENO"
19647 ac_cv_cflags__Wshift_overflow_2
=yes
19649 ac_cv_cflags__Wshift_overflow_2
=no
19651 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19652 conftest
$ac_exeext conftest.
$ac_ext
19653 CFLAGS
=$ac_wine_try_cflags_saved
19655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
19656 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
19657 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
19659 EXTRACFLAGS
="$EXTRACFLAGS -Wshift-overflow=2"
19661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
19662 printf %s
"checking whether the compiler supports -Wstrict-prototypes... " >&6; }
19663 if test ${ac_cv_cflags__Wstrict_prototypes+y}
19665 printf %s
"(cached) " >&6
19667 ac_wine_try_cflags_saved
=$CFLAGS
19668 CFLAGS
="$CFLAGS -Wstrict-prototypes"
19669 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19670 /* end confdefs.h. */
19671 int main(int argc, char **argv) { return 0; }
19673 if ac_fn_c_try_link
"$LINENO"
19675 ac_cv_cflags__Wstrict_prototypes
=yes
19677 ac_cv_cflags__Wstrict_prototypes
=no
19679 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19680 conftest
$ac_exeext conftest.
$ac_ext
19681 CFLAGS
=$ac_wine_try_cflags_saved
19683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
19684 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
19685 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
19687 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
19689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
19690 printf %s
"checking whether the compiler supports -Wtype-limits... " >&6; }
19691 if test ${ac_cv_cflags__Wtype_limits+y}
19693 printf %s
"(cached) " >&6
19695 ac_wine_try_cflags_saved
=$CFLAGS
19696 CFLAGS
="$CFLAGS -Wtype-limits"
19697 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19698 /* end confdefs.h. */
19699 int main(int argc, char **argv) { return 0; }
19701 if ac_fn_c_try_link
"$LINENO"
19703 ac_cv_cflags__Wtype_limits
=yes
19705 ac_cv_cflags__Wtype_limits
=no
19707 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19708 conftest
$ac_exeext conftest.
$ac_ext
19709 CFLAGS
=$ac_wine_try_cflags_saved
19711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
19712 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
19713 if test "x$ac_cv_cflags__Wtype_limits" = xyes
19715 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
19717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
19718 printf %s
"checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
19719 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
19721 printf %s
"(cached) " >&6
19723 ac_wine_try_cflags_saved
=$CFLAGS
19724 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
19725 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19726 /* end confdefs.h. */
19727 int main(int argc, char **argv) { return 0; }
19729 if ac_fn_c_try_link
"$LINENO"
19731 ac_cv_cflags__Wunused_but_set_parameter
=yes
19733 ac_cv_cflags__Wunused_but_set_parameter
=no
19735 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19736 conftest
$ac_exeext conftest.
$ac_ext
19737 CFLAGS
=$ac_wine_try_cflags_saved
19739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
19740 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
19741 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
19743 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
19745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
19746 printf %s
"checking whether the compiler supports -Wvla... " >&6; }
19747 if test ${ac_cv_cflags__Wvla+y}
19749 printf %s
"(cached) " >&6
19751 ac_wine_try_cflags_saved
=$CFLAGS
19752 CFLAGS
="$CFLAGS -Wvla"
19753 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19754 /* end confdefs.h. */
19755 int main(int argc, char **argv) { return 0; }
19757 if ac_fn_c_try_link
"$LINENO"
19759 ac_cv_cflags__Wvla
=yes
19761 ac_cv_cflags__Wvla
=no
19763 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19764 conftest
$ac_exeext conftest.
$ac_ext
19765 CFLAGS
=$ac_wine_try_cflags_saved
19767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
19768 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
19769 if test "x$ac_cv_cflags__Wvla" = xyes
19771 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
19773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
19774 printf %s
"checking whether the compiler supports -Wwrite-strings... " >&6; }
19775 if test ${ac_cv_cflags__Wwrite_strings+y}
19777 printf %s
"(cached) " >&6
19779 ac_wine_try_cflags_saved
=$CFLAGS
19780 CFLAGS
="$CFLAGS -Wwrite-strings"
19781 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19782 /* end confdefs.h. */
19783 int main(int argc, char **argv) { return 0; }
19785 if ac_fn_c_try_link
"$LINENO"
19787 ac_cv_cflags__Wwrite_strings
=yes
19789 ac_cv_cflags__Wwrite_strings
=no
19791 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19792 conftest
$ac_exeext conftest.
$ac_ext
19793 CFLAGS
=$ac_wine_try_cflags_saved
19795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
19796 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
19797 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
19799 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
19802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -flarge-source-files -Wmisleading-indentation" >&5
19803 printf %s
"checking whether the compiler supports -flarge-source-files -Wmisleading-indentation... " >&6; }
19804 if test ${ac_cv_cflags__flarge_source_files__Wmisleading_indentation+y}
19806 printf %s
"(cached) " >&6
19808 ac_wine_try_cflags_saved
=$CFLAGS
19809 CFLAGS
="$CFLAGS -flarge-source-files -Wmisleading-indentation"
19810 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19811 /* end confdefs.h. */
19812 int main(int argc, char **argv) { return 0; }
19814 if ac_fn_c_try_link
"$LINENO"
19816 ac_cv_cflags__flarge_source_files__Wmisleading_indentation
=yes
19818 ac_cv_cflags__flarge_source_files__Wmisleading_indentation
=no
19820 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19821 conftest
$ac_exeext conftest.
$ac_ext
19822 CFLAGS
=$ac_wine_try_cflags_saved
19824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__flarge_source_files__Wmisleading_indentation" >&5
19825 printf "%s\n" "$ac_cv_cflags__flarge_source_files__Wmisleading_indentation" >&6; }
19826 if test "x$ac_cv_cflags__flarge_source_files__Wmisleading_indentation" = xyes
19828 EXTRACFLAGS
="$EXTRACFLAGS -Wno-misleading-indentation"
19831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
19832 printf %s
"checking whether the compiler supports -Wpointer-arith... " >&6; }
19833 if test ${ac_cv_cflags__Wpointer_arith+y}
19835 printf %s
"(cached) " >&6
19837 ac_wine_try_cflags_saved
=$CFLAGS
19838 CFLAGS
="$CFLAGS -Wpointer-arith"
19839 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19840 /* end confdefs.h. */
19841 int main(int argc, char **argv) { return 0; }
19843 if ac_fn_c_try_link
"$LINENO"
19845 ac_cv_cflags__Wpointer_arith
=yes
19847 ac_cv_cflags__Wpointer_arith
=no
19849 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19850 conftest
$ac_exeext conftest.
$ac_ext
19851 CFLAGS
=$ac_wine_try_cflags_saved
19853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
19854 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19855 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19857 saved_string_h_CFLAGS
=$CFLAGS
19858 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
19859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19860 printf %s
"checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19861 if test ${ac_cv_c_string_h_warnings+y}
19863 printf %s
"(cached) " >&6
19865 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19866 /* end confdefs.h. */
19867 #include <string.h>
19876 if ac_fn_c_try_compile
"$LINENO"
19878 ac_cv_c_string_h_warnings
=no
19880 ac_cv_c_string_h_warnings
=yes
19882 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19885 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19886 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
19887 CFLAGS
=$saved_string_h_CFLAGS
19890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19891 printf %s
"checking whether the compiler supports -Wlogical-op... " >&6; }
19892 if test ${ac_cv_cflags__Wlogical_op+y}
19894 printf %s
"(cached) " >&6
19896 ac_wine_try_cflags_saved
=$CFLAGS
19897 CFLAGS
="$CFLAGS -Wlogical-op"
19898 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19899 /* end confdefs.h. */
19900 int main(int argc, char **argv) { return 0; }
19902 if ac_fn_c_try_link
"$LINENO"
19904 ac_cv_cflags__Wlogical_op
=yes
19906 ac_cv_cflags__Wlogical_op
=no
19908 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19909 conftest
$ac_exeext conftest.
$ac_ext
19910 CFLAGS
=$ac_wine_try_cflags_saved
19912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19913 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19914 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19916 saved_string_h_CFLAGS
=$CFLAGS
19917 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
19918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19919 printf %s
"checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19920 if test ${ac_cv_c_logicalop_noisy+y}
19922 printf %s
"(cached) " >&6
19924 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19925 /* end confdefs.h. */
19926 #include <string.h>
19927 char*f(const char *h,char n) {return strchr(h,n);}
19936 if ac_fn_c_try_compile
"$LINENO"
19938 ac_cv_c_logicalop_noisy
=no
19940 ac_cv_c_logicalop_noisy
=yes
19942 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19945 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19946 CFLAGS
=$saved_string_h_CFLAGS
19947 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
19950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19951 printf %s
"checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19952 if test ${wine_cv_64bit_compare_swap+y}
19954 printf %s
"(cached) " >&6
19956 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19957 /* end confdefs.h. */
19958 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19969 if ac_fn_c_try_compile
"$LINENO"
19971 wine_cv_64bit_compare_swap
="none needed"
19974 i386
) wine_cv_64bit_compare_swap
="-march=i586" ;;
19975 arm
) wine_cv_64bit_compare_swap
="-march=armv7-a" ;;
19976 *) wine_cv_64bit_compare_swap
="unknown" ;;
19978 if test "x$wine_cv_64bit_compare_swap" != xunknown
19980 CFLAGS
="$CFLAGS $wine_cv_64bit_compare_swap"
19981 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19982 /* end confdefs.h. */
19983 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19994 if ac_fn_c_try_compile
"$LINENO"
19998 wine_cv_64bit_compare_swap
="unknown"
20000 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20001 CFLAGS
=$saved_CFLAGS
20004 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
20007 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
20008 case "$wine_cv_64bit_compare_swap" in
20009 unknown
) as_fn_error $?
"gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
20011 *) EXTRACFLAGS
="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
20014 ac_debug_format_seen
=""
20015 for ac_flag
in $CFLAGS; do
20017 -gdwarf*) ac_debug_format_seen
=yes ;;
20018 -g) ac_debug_format_seen
=${ac_debug_format_seen:-default} ;;
20021 if test "x$ac_debug_format_seen" = xdefault
20023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
20024 printf %s
"checking whether the compiler supports -gdwarf-4... " >&6; }
20025 if test ${ac_cv_cflags__gdwarf_4+y}
20027 printf %s
"(cached) " >&6
20029 ac_wine_try_cflags_saved
=$CFLAGS
20030 CFLAGS
="$CFLAGS -gdwarf-4"
20031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20032 /* end confdefs.h. */
20033 int main(int argc, char **argv) { return 0; }
20035 if ac_fn_c_try_link
"$LINENO"
20037 ac_cv_cflags__gdwarf_4
=yes
20039 ac_cv_cflags__gdwarf_4
=no
20041 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20042 conftest
$ac_exeext conftest.
$ac_ext
20043 CFLAGS
=$ac_wine_try_cflags_saved
20045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
20046 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
20047 if test "x$ac_cv_cflags__gdwarf_4" = xyes
20049 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-4"
20056 mingw32
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
20057 printf %s
"checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
20058 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
20060 printf %s
"(cached) " >&6
20062 ac_wine_try_cflags_saved
=$CFLAGS
20063 CFLAGS
="$CFLAGS -Wl,-delayload,autoconftest.dll"
20064 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20065 /* end confdefs.h. */
20066 int main(int argc, char **argv) { return 0; }
20068 if ac_fn_c_try_link
"$LINENO"
20070 ac_cv_cflags__Wl__delayload_autoconftest_dll
=yes
20072 ac_cv_cflags__Wl__delayload_autoconftest_dll
=no
20074 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20075 conftest
$ac_exeext conftest.
$ac_ext
20076 CFLAGS
=$ac_wine_try_cflags_saved
20078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
20079 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
20080 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
20082 DELAYLOADFLAG
="-Wl,-delayload,"
20085 *) MSVCRTFLAGS
="-D_WIN32"
20086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
20087 printf %s
"checking whether the compiler supports -fno-builtin... " >&6; }
20088 if test ${ac_cv_cflags__fno_builtin+y}
20090 printf %s
"(cached) " >&6
20092 ac_wine_try_cflags_saved
=$CFLAGS
20093 CFLAGS
="$CFLAGS -fno-builtin"
20094 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20095 /* end confdefs.h. */
20096 int main(int argc, char **argv) { return 0; }
20098 if ac_fn_c_try_link
"$LINENO"
20100 ac_cv_cflags__fno_builtin
=yes
20102 ac_cv_cflags__fno_builtin
=no
20104 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20105 conftest
$ac_exeext conftest.
$ac_ext
20106 CFLAGS
=$ac_wine_try_cflags_saved
20108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
20109 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
20110 if test "x$ac_cv_cflags__fno_builtin" = xyes
20112 MSVCRTFLAGS
="$MSVCRTFLAGS -fno-builtin"
20114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
20115 printf %s
"checking whether the compiler supports -fshort-wchar... " >&6; }
20116 if test ${ac_cv_cflags__fshort_wchar+y}
20118 printf %s
"(cached) " >&6
20120 ac_wine_try_cflags_saved
=$CFLAGS
20121 CFLAGS
="$CFLAGS -fshort-wchar"
20122 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20123 /* end confdefs.h. */
20124 int main(int argc, char **argv) { return 0; }
20126 if ac_fn_c_try_link
"$LINENO"
20128 ac_cv_cflags__fshort_wchar
=yes
20130 ac_cv_cflags__fshort_wchar
=no
20132 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20133 conftest
$ac_exeext conftest.
$ac_ext
20134 CFLAGS
=$ac_wine_try_cflags_saved
20136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
20137 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
20138 if test "x$ac_cv_cflags__fshort_wchar" = xyes
20140 MSVCRTFLAGS
="$MSVCRTFLAGS -fshort-wchar"
20142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
20143 printf %s
"checking whether the compiler supports -Wno-format... " >&6; }
20144 if test ${ac_cv_cflags__Wno_format+y}
20146 printf %s
"(cached) " >&6
20148 ac_wine_try_cflags_saved
=$CFLAGS
20149 CFLAGS
="$CFLAGS -Wno-format"
20150 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20151 /* end confdefs.h. */
20152 int main(int argc, char **argv) { return 0; }
20154 if ac_fn_c_try_link
"$LINENO"
20156 ac_cv_cflags__Wno_format
=yes
20158 ac_cv_cflags__Wno_format
=no
20160 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20161 conftest
$ac_exeext conftest.
$ac_ext
20162 CFLAGS
=$ac_wine_try_cflags_saved
20164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
20165 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
20166 if test "x$ac_cv_cflags__Wno_format" = xyes
20168 MSVCRTFLAGS
="$MSVCRTFLAGS -Wno-format"
20173 i386
) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
20174 printf %s
"checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
20175 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
20177 printf %s
"(cached) " >&6
20179 ac_wine_try_cflags_saved
=$CFLAGS
20180 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
20181 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20182 /* end confdefs.h. */
20183 int main(int argc, char **argv) { return 0; }
20185 if ac_fn_c_try_link
"$LINENO"
20187 ac_cv_cflags__fno_omit_frame_pointer
=yes
20189 ac_cv_cflags__fno_omit_frame_pointer
=no
20191 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20192 conftest
$ac_exeext conftest.
$ac_ext
20193 CFLAGS
=$ac_wine_try_cflags_saved
20195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
20196 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
20197 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
20199 MSVCRTFLAGS
="$MSVCRTFLAGS -fno-omit-frame-pointer"
20203 cygwin
*|mingw32
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
20204 printf %s
"checking whether the compiler supports -Wno-format... " >&6; }
20205 if test ${ac_cv_cflags__Wno_format+y}
20207 printf %s
"(cached) " >&6
20209 ac_wine_try_cflags_saved
=$CFLAGS
20210 CFLAGS
="$CFLAGS -Wno-format"
20211 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20212 /* end confdefs.h. */
20213 int main(int argc, char **argv) { return 0; }
20215 if ac_fn_c_try_link
"$LINENO"
20217 ac_cv_cflags__Wno_format
=yes
20219 ac_cv_cflags__Wno_format
=no
20221 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20222 conftest
$ac_exeext conftest.
$ac_ext
20223 CFLAGS
=$ac_wine_try_cflags_saved
20225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
20226 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
20227 if test "x$ac_cv_cflags__Wno_format" = xyes
20229 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
20231 *) if test -z "$PE_ARCHS"
20233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
20234 printf %s
"checking for working -mabi=ms... " >&6; }
20235 if test ${ac_cv_mabi_ms+y}
20237 printf %s
"(cached) " >&6
20239 CFLAGS
="$CFLAGS -mabi=ms"
20240 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20241 /* end confdefs.h. */
20242 #include <stdarg.h>
20243 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
20252 if ac_fn_c_try_compile
"$LINENO"
20258 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20259 CFLAGS
=$saved_CFLAGS
20261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
20262 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
20263 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
20265 MSVCRTFLAGS
="$MSVCRTFLAGS -mabi=ms" ;;
20268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
20269 printf %s
"checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
20270 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
20272 printf %s
"(cached) " >&6
20274 ac_wine_try_cflags_saved
=$CFLAGS
20275 CFLAGS
="$CFLAGS -Wincompatible-function-pointer-types"
20276 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20277 /* end confdefs.h. */
20278 int main(int argc, char **argv) { return 0; }
20280 if ac_fn_c_try_link
"$LINENO"
20282 ac_cv_cflags__Wincompatible_function_pointer_types
=yes
20284 ac_cv_cflags__Wincompatible_function_pointer_types
=no
20286 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20287 conftest
$ac_exeext conftest.
$ac_ext
20288 CFLAGS
=$ac_wine_try_cflags_saved
20290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
20291 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
20292 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
20294 EXTRACFLAGS
="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
20298 CFLAGS
=$saved_CFLAGS
20300 if test "x$enable_werror" = "xyes"
20302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
20303 printf %s
"checking whether the compiler supports -Werror... " >&6; }
20304 if test ${ac_cv_cflags__Werror+y}
20306 printf %s
"(cached) " >&6
20308 ac_wine_try_cflags_saved
=$CFLAGS
20309 CFLAGS
="$CFLAGS -Werror"
20310 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20311 /* end confdefs.h. */
20312 int main(int argc, char **argv) { return 0; }
20314 if ac_fn_c_try_link
"$LINENO"
20316 ac_cv_cflags__Werror
=yes
20318 ac_cv_cflags__Werror
=no
20320 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20321 conftest
$ac_exeext conftest.
$ac_ext
20322 CFLAGS
=$ac_wine_try_cflags_saved
20324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
20325 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
20326 if test "x$ac_cv_cflags__Werror" = xyes
20328 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
20331 if test "x$enable_build_id" = "xyes"
20333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
20334 printf %s
"checking whether the compiler supports -Wl,--build-id... " >&6; }
20335 if test ${ac_cv_cflags__Wl___build_id+y}
20337 printf %s
"(cached) " >&6
20339 ac_wine_try_cflags_saved
=$CFLAGS
20340 CFLAGS
="$CFLAGS -Wl,--build-id"
20341 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20342 /* end confdefs.h. */
20343 int main(int argc, char **argv) { return 0; }
20345 if ac_fn_c_try_link
"$LINENO"
20347 ac_cv_cflags__Wl___build_id
=yes
20349 ac_cv_cflags__Wl___build_id
=no
20351 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20352 conftest
$ac_exeext conftest.
$ac_ext
20353 CFLAGS
=$ac_wine_try_cflags_saved
20355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
20356 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
20357 if test "x$ac_cv_cflags__Wl___build_id" = xyes
20359 CFLAGS
="$CFLAGS -Wl,--build-id"
20360 LDFLAGS
="$LDFLAGS -Wl,--build-id"
20366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
20367 printf %s
"checking for the need to disable Fortify... " >&6; }
20368 if test ${ac_cv_c_fortify_enabled+y}
20370 printf %s
"(cached) " >&6
20372 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20373 /* end confdefs.h. */
20374 #include <string.h>
20378 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
20379 #error Fortify enabled
20385 if ac_fn_c_try_compile
"$LINENO"
20387 ac_cv_c_fortify_enabled
=no
20389 ac_cv_c_fortify_enabled
=yes
20391 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
20394 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
20395 if test "$ac_cv_c_fortify_enabled" = yes
20397 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
20401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
20402 printf %s
"checking whether CFI directives are supported in assembly code... " >&6; }
20403 if test ${ac_cv_c_cfi_support+y}
20405 printf %s
"(cached) " >&6
20407 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20408 /* end confdefs.h. */
20409 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
20418 if ac_fn_c_try_compile
"$LINENO"
20420 ac_cv_c_cfi_support
="yes"
20422 ac_cv_c_cfi_support
="no"
20424 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
20427 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
20428 if test "$ac_cv_c_cfi_support" = "yes"
20430 DLLFLAGS
="$DLLFLAGS -fasynchronous-unwind-tables"
20431 LDDLLFLAGS
="$LDDLLFLAGS -fasynchronous-unwind-tables"
20432 UNIXDLLFLAGS
="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
20433 elif test $HOST_ARCH = x86_64
20435 as_fn_append wine_warnings
"|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
20439 case "$HOST_ARCH,$PE_ARCHS" in
20440 x86_64
,*i386
*) wine_binary
="wine" ;;
20441 x86_64
,*) wine_binary
="wine64" ;;
20442 *) wine_binary
="wine" ;;
20444 WINELOADER_PROGRAMS
="$wine_binary"
20449 if test $HOST_ARCH != unknown
20451 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine-preloader"
20452 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
20456 if test "$wine_can_build_preloader" = "yes"
20458 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine-preloader"
20459 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
20465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
20466 printf %s
"checking for library containing dlopen... " >&6; }
20467 if test ${ac_cv_search_dlopen+y}
20469 printf %s
"(cached) " >&6
20471 ac_func_search_save_LIBS
=$LIBS
20472 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20473 /* end confdefs.h. */
20475 /* Override any GCC internal prototype to avoid an error.
20476 Use char because int might match the return type of a GCC
20477 builtin and then its argument prototype would still apply. */
20487 for ac_lib
in '' dl
20489 if test -z "$ac_lib"; then
20490 ac_res
="none required"
20493 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20495 if ac_fn_c_try_link
"$LINENO"
20497 ac_cv_search_dlopen
=$ac_res
20499 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20501 if test ${ac_cv_search_dlopen+y}
20506 if test ${ac_cv_search_dlopen+y}
20510 ac_cv_search_dlopen
=no
20512 rm conftest.
$ac_ext
20513 LIBS
=$ac_func_search_save_LIBS
20515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
20516 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
20517 ac_res
=$ac_cv_search_dlopen
20518 if test "$ac_res" != no
20520 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
20526 printf %s
"checking for library containing gethostbyname... " >&6; }
20527 if test ${ac_cv_search_gethostbyname+y}
20529 printf %s
"(cached) " >&6
20531 ac_func_search_save_LIBS
=$LIBS
20532 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20533 /* end confdefs.h. */
20535 /* Override any GCC internal prototype to avoid an error.
20536 Use char because int might match the return type of a GCC
20537 builtin and then its argument prototype would still apply. */
20538 char gethostbyname ();
20542 return gethostbyname ();
20547 for ac_lib
in '' nsl
20549 if test -z "$ac_lib"; then
20550 ac_res
="none required"
20553 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20555 if ac_fn_c_try_link
"$LINENO"
20557 ac_cv_search_gethostbyname
=$ac_res
20559 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20561 if test ${ac_cv_search_gethostbyname+y}
20566 if test ${ac_cv_search_gethostbyname+y}
20570 ac_cv_search_gethostbyname
=no
20572 rm conftest.
$ac_ext
20573 LIBS
=$ac_func_search_save_LIBS
20575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
20576 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
20577 ac_res
=$ac_cv_search_gethostbyname
20578 if test "$ac_res" != no
20580 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
20586 printf %s
"checking for library containing connect... " >&6; }
20587 if test ${ac_cv_search_connect+y}
20589 printf %s
"(cached) " >&6
20591 ac_func_search_save_LIBS
=$LIBS
20592 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20593 /* end confdefs.h. */
20595 /* Override any GCC internal prototype to avoid an error.
20596 Use char because int might match the return type of a GCC
20597 builtin and then its argument prototype would still apply. */
20607 for ac_lib
in '' socket
20609 if test -z "$ac_lib"; then
20610 ac_res
="none required"
20613 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20615 if ac_fn_c_try_link
"$LINENO"
20617 ac_cv_search_connect
=$ac_res
20619 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20621 if test ${ac_cv_search_connect+y}
20626 if test ${ac_cv_search_connect+y}
20630 ac_cv_search_connect
=no
20632 rm conftest.
$ac_ext
20633 LIBS
=$ac_func_search_save_LIBS
20635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
20636 printf "%s\n" "$ac_cv_search_connect" >&6; }
20637 ac_res
=$ac_cv_search_connect
20638 if test "$ac_res" != no
20640 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
20646 printf %s
"checking for library containing inet_aton... " >&6; }
20647 if test ${ac_cv_search_inet_aton+y}
20649 printf %s
"(cached) " >&6
20651 ac_func_search_save_LIBS
=$LIBS
20652 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20653 /* end confdefs.h. */
20655 /* Override any GCC internal prototype to avoid an error.
20656 Use char because int might match the return type of a GCC
20657 builtin and then its argument prototype would still apply. */
20662 return inet_aton ();
20667 for ac_lib
in '' resolv
20669 if test -z "$ac_lib"; then
20670 ac_res
="none required"
20673 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20675 if ac_fn_c_try_link
"$LINENO"
20677 ac_cv_search_inet_aton
=$ac_res
20679 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20681 if test ${ac_cv_search_inet_aton+y}
20686 if test ${ac_cv_search_inet_aton+y}
20690 ac_cv_search_inet_aton
=no
20692 rm conftest.
$ac_ext
20693 LIBS
=$ac_func_search_save_LIBS
20695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
20696 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
20697 ac_res
=$ac_cv_search_inet_aton
20698 if test "$ac_res" != no
20700 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20705 ac_save_CFLAGS
="$CFLAGS"
20706 CFLAGS
="$CFLAGS $BUILTINFLAG"
20707 ac_fn_c_check_func
"$LINENO" "dladdr1" "ac_cv_func_dladdr1"
20708 if test "x$ac_cv_func_dladdr1" = xyes
20710 printf "%s\n" "#define HAVE_DLADDR1 1" >>confdefs.h
20713 ac_fn_c_check_func
"$LINENO" "dlinfo" "ac_cv_func_dlinfo"
20714 if test "x$ac_cv_func_dlinfo" = xyes
20716 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
20719 ac_fn_c_check_func
"$LINENO" "epoll_create" "ac_cv_func_epoll_create"
20720 if test "x$ac_cv_func_epoll_create" = xyes
20722 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
20725 ac_fn_c_check_func
"$LINENO" "fstatfs" "ac_cv_func_fstatfs"
20726 if test "x$ac_cv_func_fstatfs" = xyes
20728 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
20731 ac_fn_c_check_func
"$LINENO" "futimens" "ac_cv_func_futimens"
20732 if test "x$ac_cv_func_futimens" = xyes
20734 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
20737 ac_fn_c_check_func
"$LINENO" "futimes" "ac_cv_func_futimes"
20738 if test "x$ac_cv_func_futimes" = xyes
20740 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
20743 ac_fn_c_check_func
"$LINENO" "futimesat" "ac_cv_func_futimesat"
20744 if test "x$ac_cv_func_futimesat" = xyes
20746 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
20749 ac_fn_c_check_func
"$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
20750 if test "x$ac_cv_func_getaddrinfo" = xyes
20752 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
20755 ac_fn_c_check_func
"$LINENO" "getattrlist" "ac_cv_func_getattrlist"
20756 if test "x$ac_cv_func_getattrlist" = xyes
20758 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
20761 ac_fn_c_check_func
"$LINENO" "getauxval" "ac_cv_func_getauxval"
20762 if test "x$ac_cv_func_getauxval" = xyes
20764 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
20767 ac_fn_c_check_func
"$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
20768 if test "x$ac_cv_func_getifaddrs" = xyes
20770 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
20773 ac_fn_c_check_func
"$LINENO" "getrandom" "ac_cv_func_getrandom"
20774 if test "x$ac_cv_func_getrandom" = xyes
20776 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
20779 ac_fn_c_check_func
"$LINENO" "kqueue" "ac_cv_func_kqueue"
20780 if test "x$ac_cv_func_kqueue" = xyes
20782 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
20785 ac_fn_c_check_func
"$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
20786 if test "x$ac_cv_func_mach_continuous_time" = xyes
20788 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
20791 ac_fn_c_check_func
"$LINENO" "pipe2" "ac_cv_func_pipe2"
20792 if test "x$ac_cv_func_pipe2" = xyes
20794 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
20797 ac_fn_c_check_func
"$LINENO" "port_create" "ac_cv_func_port_create"
20798 if test "x$ac_cv_func_port_create" = xyes
20800 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
20803 ac_fn_c_check_func
"$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
20804 if test "x$ac_cv_func_posix_fadvise" = xyes
20806 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
20809 ac_fn_c_check_func
"$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
20810 if test "x$ac_cv_func_posix_fallocate" = xyes
20812 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
20815 ac_fn_c_check_func
"$LINENO" "prctl" "ac_cv_func_prctl"
20816 if test "x$ac_cv_func_prctl" = xyes
20818 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
20821 ac_fn_c_check_func
"$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
20822 if test "x$ac_cv_func_proc_pidinfo" = xyes
20824 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
20827 ac_fn_c_check_func
"$LINENO" "sched_yield" "ac_cv_func_sched_yield"
20828 if test "x$ac_cv_func_sched_yield" = xyes
20830 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
20833 ac_fn_c_check_func
"$LINENO" "setproctitle" "ac_cv_func_setproctitle"
20834 if test "x$ac_cv_func_setproctitle" = xyes
20836 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
20839 ac_fn_c_check_func
"$LINENO" "setprogname" "ac_cv_func_setprogname"
20840 if test "x$ac_cv_func_setprogname" = xyes
20842 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
20845 ac_fn_c_check_func
"$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
20846 if test "x$ac_cv_func_sigprocmask" = xyes
20848 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
20851 ac_fn_c_check_func
"$LINENO" "sysinfo" "ac_cv_func_sysinfo"
20852 if test "x$ac_cv_func_sysinfo" = xyes
20854 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
20857 ac_fn_c_check_func
"$LINENO" "tcdrain" "ac_cv_func_tcdrain"
20858 if test "x$ac_cv_func_tcdrain" = xyes
20860 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
20863 ac_fn_c_check_func
"$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
20864 if test "x$ac_cv_func_thr_kill2" = xyes
20866 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
20870 CFLAGS
="$ac_save_CFLAGS"
20873 darwin
*|macosx
*) ;;
20874 *) ac_save_LIBS
=$LIBS
20875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20876 printf %s
"checking for library containing clock_gettime... " >&6; }
20877 if test ${ac_cv_search_clock_gettime+y}
20879 printf %s
"(cached) " >&6
20881 ac_func_search_save_LIBS
=$LIBS
20882 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20883 /* end confdefs.h. */
20885 /* Override any GCC internal prototype to avoid an error.
20886 Use char because int might match the return type of a GCC
20887 builtin and then its argument prototype would still apply. */
20888 char clock_gettime ();
20892 return clock_gettime ();
20897 for ac_lib
in '' rt
20899 if test -z "$ac_lib"; then
20900 ac_res
="none required"
20903 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20905 if ac_fn_c_try_link
"$LINENO"
20907 ac_cv_search_clock_gettime
=$ac_res
20909 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20911 if test ${ac_cv_search_clock_gettime+y}
20916 if test ${ac_cv_search_clock_gettime+y}
20920 ac_cv_search_clock_gettime
=no
20922 rm conftest.
$ac_ext
20923 LIBS
=$ac_func_search_save_LIBS
20925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20926 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20927 ac_res
=$ac_cv_search_clock_gettime
20928 if test "$ac_res" != no
20930 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20932 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20934 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
20942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20943 printf %s
"checking for sched_setaffinity... " >&6; }
20944 if test ${wine_cv_have_sched_setaffinity+y}
20946 printf %s
"(cached) " >&6
20948 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20949 /* end confdefs.h. */
20954 sched_setaffinity(0, 0, 0);
20959 if ac_fn_c_try_link
"$LINENO"
20961 wine_cv_have_sched_setaffinity
=yes
20963 wine_cv_have_sched_setaffinity
=no
20965 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20966 conftest
$ac_exeext conftest.
$ac_ext
20968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20969 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20970 if test "$wine_cv_have_sched_setaffinity" = "yes"
20973 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20979 printf %s
"checking for inline... " >&6; }
20980 if test ${ac_cv_c_inline+y}
20982 printf %s
"(cached) " >&6
20985 for ac_kw
in inline __inline__ __inline
; do
20986 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20987 /* end confdefs.h. */
20988 #ifndef __cplusplus
20990 static $ac_kw foo_t static_foo (void) {return 0; }
20991 $ac_kw foo_t foo (void) {return 0; }
20995 if ac_fn_c_try_compile
"$LINENO"
20997 ac_cv_c_inline
=$ac_kw
20999 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
21000 test "$ac_cv_c_inline" != no
&& break
21004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
21005 printf "%s\n" "$ac_cv_c_inline" >&6; }
21007 case $ac_cv_c_inline in
21010 case $ac_cv_c_inline in
21012 *) ac_val
=$ac_cv_c_inline;;
21014 cat >>confdefs.h
<<_ACEOF
21015 #ifndef __cplusplus
21016 #define inline $ac_val
21022 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
21024 if test "x$ac_cv_type_request_sense" = xyes
21027 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
21033 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
21034 #include <sys/socket.h>
21035 #ifdef HAVE_SYS_SOCKETVAR_H
21036 #include <sys/socketvar.h>
21038 #ifdef HAVE_NET_ROUTE_H
21039 #include <net/route.h>
21041 #ifdef HAVE_NETINET_IN_H
21042 #include <netinet/in.h>
21044 #ifdef HAVE_NETINET_IN_SYSTM_H
21045 #include <netinet/in_systm.h>
21047 #ifdef HAVE_NETINET_IP_H
21048 #include <netinet/ip.h>
21050 #ifdef HAVE_NETINET_IN_PCB_H
21051 #include <netinet/in_pcb.h>
21054 if test "x$ac_cv_type_struct_xinpgen" = xyes
21057 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
21063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
21064 printf %s
"checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
21065 if test ${wine_cv_linux_gethostbyname_r_6+y}
21067 printf %s
"(cached) " >&6
21069 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21070 /* end confdefs.h. */
21078 struct hostent *result;
21085 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
21086 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
21092 if ac_fn_c_try_link
"$LINENO"
21094 wine_cv_linux_gethostbyname_r_6
=yes
21096 wine_cv_linux_gethostbyname_r_6
=no
21099 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
21100 conftest
$ac_exeext conftest.
$ac_ext
21103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
21104 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
21105 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
21108 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
21112 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
21113 #include <sys/socket.h>
21114 #ifdef HAVE_SYS_UN_H
21115 # include <sys/un.h>
21118 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
21121 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
21127 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
21128 #ifdef HAVE_SCSI_SG_H
21129 #include <scsi/sg.h>
21132 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
21135 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
21139 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>
21140 #ifdef HAVE_SCSI_SG_H
21141 #include <scsi/sg.h>
21144 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
21147 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
21153 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
21155 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
21158 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
21164 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
21165 #ifdef HAVE_SYS_MTIO_H
21166 #include <sys/mtio.h>
21169 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
21172 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
21176 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
21177 #ifdef HAVE_SYS_MTIO_H
21178 #include <sys/mtio.h>
21181 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
21184 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
21188 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
21189 #ifdef HAVE_SYS_MTIO_H
21190 #include <sys/mtio.h>
21193 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
21196 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
21202 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
21203 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
21206 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
21210 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
21211 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
21214 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
21218 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
21219 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
21222 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
21226 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
21227 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
21230 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
21234 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
21235 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
21238 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
21242 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
21243 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
21246 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
21250 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
21251 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
21254 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
21258 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
21259 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
21262 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
21266 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
21267 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
21270 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
21274 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
21275 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
21278 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
21282 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
21283 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
21286 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
21292 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>
21293 #ifdef HAVE_NETINET_IN_H
21294 #include <netinet/in.h>
21297 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
21300 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
21306 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
21307 #include <resolv.h>
21310 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
21313 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
21319 ac_fn_c_check_member
"$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
21320 #include <netinet/in.h>
21323 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
21326 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
21332 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
21333 #ifdef HAVE_SYS_SOCKETVAR_H
21334 #include <sys/socketvar.h>
21336 #ifdef HAVE_NETINET_IN_H
21337 #include <netinet/in.h>
21339 #ifdef HAVE_NETINET_IP_VAR_H
21340 #include <netinet/ip_var.h>
21343 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
21346 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
21352 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
21353 #include <netinet/ip_var.h>
21356 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
21359 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
21365 ac_fn_c_check_member
"$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
21366 #ifdef HAVE_SYS_SOCKETVAR_H
21367 #include <sys/socketvar.h>
21369 #ifdef HAVE_NETINET_IN_H
21370 #include <netinet/in.h>
21372 #ifdef HAVE_NETINET6_IP6_VAR_H
21373 #include <netinet6/ip6_var.h>
21376 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
21379 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
21385 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
21386 #ifdef HAVE_SYS_SOCKETVAR_H
21387 #include <sys/socketvar.h>
21389 #ifdef HAVE_NETINET_IN_H
21390 #include <netinet/in.h>
21392 #ifdef HAVE_NETINET_IP_H
21393 #include <netinet/ip.h>
21395 #ifdef HAVE_NETINET_IP_ICMP_H
21396 #include <netinet/ip_icmp.h>
21398 #ifdef HAVE_NETINET_ICMP_VAR_H
21399 #include <netinet/icmp_var.h>
21402 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
21405 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
21411 ac_fn_c_check_member
"$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
21412 #ifdef HAVE_SYS_SOCKETVAR_H
21413 #include <sys/socketvar.h>
21415 #ifdef HAVE_NETINET_IN_H
21416 #include <netinet/in.h>
21418 #ifdef HAVE_NETINET_ICMP6_H
21419 #include <netinet/icmp6.h>
21422 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
21425 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
21431 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
21432 #ifdef HAVE_SYS_SOCKETVAR_H
21433 #include <sys/socketvar.h>
21435 #ifdef HAVE_NETINET_IN_H
21436 #include <netinet/in.h>
21438 #ifdef HAVE_NETINET_TCP_H
21439 #include <netinet/tcp.h>
21441 #ifdef HAVE_NETINET_TCP_VAR_H
21442 #include <netinet/tcp_var.h>
21445 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
21448 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
21454 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
21455 #include <netinet/tcp_var.h>
21458 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
21461 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
21467 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
21468 #ifdef HAVE_NETINET_IN_H
21469 #include <netinet/in.h>
21471 #ifdef HAVE_NETINET_IP_VAR_H
21472 #include <netinet/ip_var.h>
21474 #ifdef HAVE_NETINET_UDP_H
21475 #include <netinet/udp.h>
21477 #ifdef HAVE_NETINET_UDP_VAR_H
21478 #include <netinet/udp_var.h>
21481 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
21484 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
21490 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
21491 #ifdef HAVE_NET_IF_H
21492 # include <net/if.h>
21495 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
21498 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
21504 ac_fn_c_check_member
"$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
21505 # include <sys/sysinfo.h>
21508 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
21511 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
21515 ac_fn_c_check_member
"$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
21516 # include <sys/sysinfo.h>
21519 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
21522 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
21528 LIBS
="$ac_save_LIBS"
21530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
21531 printf %s
"checking for __builtin_popcount... " >&6; }
21532 if test ${ac_cv_have___builtin_popcount+y}
21534 printf %s
"(cached) " >&6
21536 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21537 /* end confdefs.h. */
21542 return __builtin_popcount(1)
21547 if ac_fn_c_try_link
"$LINENO"
21549 ac_cv_have___builtin_popcount
="yes"
21551 ac_cv_have___builtin_popcount
="no"
21553 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
21554 conftest
$ac_exeext conftest.
$ac_ext
21556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
21557 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
21558 if test "$ac_cv_have___builtin_popcount" = "yes"
21561 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
21565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
21566 printf %s
"checking for __clear_cache... " >&6; }
21567 if test ${ac_cv_have___clear_cache+y}
21569 printf %s
"(cached) " >&6
21571 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21572 /* end confdefs.h. */
21577 __clear_cache((void*)0, (void*)0); return 0;
21582 if ac_fn_c_try_link
"$LINENO"
21584 ac_cv_have___clear_cache
="yes"
21586 ac_cv_have___clear_cache
="no"
21588 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
21589 conftest
$ac_exeext conftest.
$ac_ext
21591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
21592 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
21593 if test "$ac_cv_have___clear_cache" = "yes"
21596 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
21602 *i
[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
21603 printf %s
"checking whether we need to define __i386__... " >&6; }
21604 if test ${ac_cv_cpp_def___i386__+y}
21606 printf %s
"(cached) " >&6
21608 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21609 /* end confdefs.h. */
21614 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21615 $EGREP "yes" >/dev
/null
2>&1
21617 ac_cv_cpp_def___i386__
=yes
21619 ac_cv_cpp_def___i386__
=no
21624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
21625 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
21626 if test "x$ac_cv_cpp_def___i386__" = xyes
21628 CFLAGS
="$CFLAGS -D__i386__"
21629 LINTFLAGS
="$LINTFLAGS -D__i386__"
21631 *x86_64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
21632 printf %s
"checking whether we need to define __x86_64__... " >&6; }
21633 if test ${ac_cv_cpp_def___x86_64__+y}
21635 printf %s
"(cached) " >&6
21637 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21638 /* end confdefs.h. */
21643 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21644 $EGREP "yes" >/dev
/null
2>&1
21646 ac_cv_cpp_def___x86_64__
=yes
21648 ac_cv_cpp_def___x86_64__
=no
21653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
21654 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
21655 if test "x$ac_cv_cpp_def___x86_64__" = xyes
21657 CFLAGS
="$CFLAGS -D__x86_64__"
21658 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
21660 *sparc64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
21661 printf %s
"checking whether we need to define __sparc64__... " >&6; }
21662 if test ${ac_cv_cpp_def___sparc64__+y}
21664 printf %s
"(cached) " >&6
21666 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21667 /* end confdefs.h. */
21668 #ifndef __sparc64__
21672 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21673 $EGREP "yes" >/dev
/null
2>&1
21675 ac_cv_cpp_def___sparc64__
=yes
21677 ac_cv_cpp_def___sparc64__
=no
21682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
21683 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
21684 if test "x$ac_cv_cpp_def___sparc64__" = xyes
21686 CFLAGS
="$CFLAGS -D__sparc64__"
21687 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
21689 *sparc
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
21690 printf %s
"checking whether we need to define __sparc__... " >&6; }
21691 if test ${ac_cv_cpp_def___sparc__+y}
21693 printf %s
"(cached) " >&6
21695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21696 /* end confdefs.h. */
21701 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21702 $EGREP "yes" >/dev
/null
2>&1
21704 ac_cv_cpp_def___sparc__
=yes
21706 ac_cv_cpp_def___sparc__
=no
21711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
21712 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
21713 if test "x$ac_cv_cpp_def___sparc__" = xyes
21715 CFLAGS
="$CFLAGS -D__sparc__"
21716 LINTFLAGS
="$LINTFLAGS -D__sparc__"
21718 *powerpc64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
21719 printf %s
"checking whether we need to define __powerpc64__... " >&6; }
21720 if test ${ac_cv_cpp_def___powerpc64__+y}
21722 printf %s
"(cached) " >&6
21724 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21725 /* end confdefs.h. */
21726 #ifndef __powerpc64__
21730 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21731 $EGREP "yes" >/dev
/null
2>&1
21733 ac_cv_cpp_def___powerpc64__
=yes
21735 ac_cv_cpp_def___powerpc64__
=no
21740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
21741 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
21742 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
21744 CFLAGS
="$CFLAGS -D__powerpc64__"
21745 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
21747 *powerpc
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
21748 printf %s
"checking whether we need to define __powerpc__... " >&6; }
21749 if test ${ac_cv_cpp_def___powerpc__+y}
21751 printf %s
"(cached) " >&6
21753 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21754 /* end confdefs.h. */
21755 #ifndef __powerpc__
21759 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21760 $EGREP "yes" >/dev
/null
2>&1
21762 ac_cv_cpp_def___powerpc__
=yes
21764 ac_cv_cpp_def___powerpc__
=no
21769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
21770 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
21771 if test "x$ac_cv_cpp_def___powerpc__" = xyes
21773 CFLAGS
="$CFLAGS -D__powerpc__"
21774 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
21776 *aarch64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
21777 printf %s
"checking whether we need to define __aarch64__... " >&6; }
21778 if test ${ac_cv_cpp_def___aarch64__+y}
21780 printf %s
"(cached) " >&6
21782 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21783 /* end confdefs.h. */
21784 #ifndef __aarch64__
21788 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21789 $EGREP "yes" >/dev
/null
2>&1
21791 ac_cv_cpp_def___aarch64__
=yes
21793 ac_cv_cpp_def___aarch64__
=no
21798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
21799 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
21800 if test "x$ac_cv_cpp_def___aarch64__" = xyes
21802 CFLAGS
="$CFLAGS -D__aarch64__"
21803 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
21805 *arm
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
21806 printf %s
"checking whether we need to define __arm__... " >&6; }
21807 if test ${ac_cv_cpp_def___arm__+y}
21809 printf %s
"(cached) " >&6
21811 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21812 /* end confdefs.h. */
21817 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21818 $EGREP "yes" >/dev
/null
2>&1
21820 ac_cv_cpp_def___arm__
=yes
21822 ac_cv_cpp_def___arm__
=no
21827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21828 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21829 if test "x$ac_cv_cpp_def___arm__" = xyes
21831 CFLAGS
="$CFLAGS -D__arm__"
21832 LINTFLAGS
="$LINTFLAGS -D__arm__"
21836 case $host_vendor in
21837 *sun
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21838 printf %s
"checking whether we need to define __sun__... " >&6; }
21839 if test ${ac_cv_cpp_def___sun__+y}
21841 printf %s
"(cached) " >&6
21843 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21844 /* end confdefs.h. */
21849 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21850 $EGREP "yes" >/dev
/null
2>&1
21852 ac_cv_cpp_def___sun__
=yes
21854 ac_cv_cpp_def___sun__
=no
21859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21860 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21861 if test "x$ac_cv_cpp_def___sun__" = xyes
21863 CFLAGS
="$CFLAGS -D__sun__"
21864 LINTFLAGS
="$LINTFLAGS -D__sun__"
21869 enable_win16
=${enable_win16:-i386}
21870 enable_vcruntime140_1
=${enable_vcruntime140_1:-x86_64,arm64ec}
21872 if test -n "$PE_ARCHS"
21874 enable_wow64
=${enable_wow64:-aarch64,x86_64}
21875 enable_wow64win
=${enable_wow64win:-aarch64,x86_64}
21876 enable_wow64cpu
=${enable_wow64cpu:-x86_64}
21878 enable_wow64
=${enable_wow64:-no}
21879 enable_wow64win
=${enable_wow64win:-no}
21880 enable_wow64cpu
=${enable_wow64cpu:-no}
21883 enable_cmd
=${enable_cmd:-yes}
21884 enable_dllhost
=${enable_dllhost:-yes}
21885 enable_dpnsvr
=${enable_dpnsvr:-i386,x86_64,arm64ec}
21886 enable_dxdiag
=${enable_dxdiag:-yes}
21887 enable_msiexec
=${enable_msiexec:-yes}
21888 enable_netsh
=${enable_netsh:-yes}
21889 enable_regsvr32
=${enable_regsvr32:-yes}
21890 enable_rundll32
=${enable_rundll32:-yes}
21892 enable_winetest
=${enable_winetest:-$enable_tests}
21898 ac_config_commands
="$ac_config_commands include/stamp-h"
21900 printf %s
"creating Makefile rules..." >&6
21903 test "x$enable_silent_rules" = xyes
&& makedep_flags
="$makedep_flags -S"
21906 test "$srcdir" = . || wine_srcdir
="$srcdir/"
21908 ac_config_links
="$ac_config_links wine:tools/winewrapper"
21909 wine_fn_config_symlink wine
21910 if test "$wine_binary" = wine64
-o -n "$with_wine64"; then
21911 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
21912 wine_fn_config_symlink wine64
21915 wine_fn_config_makefile dlls
/acledit enable_acledit
21916 wine_fn_config_makefile dlls
/aclui enable_aclui
21917 wine_fn_config_makefile dlls
/activeds.tlb enable_activeds_tlb
21918 wine_fn_config_makefile dlls
/activeds enable_activeds
21919 wine_fn_config_makefile dlls
/activeds
/tests enable_tests
21920 wine_fn_config_makefile dlls
/actxprxy enable_actxprxy
21921 wine_fn_config_makefile dlls
/adsldp enable_adsldp
21922 wine_fn_config_makefile dlls
/adsldp
/tests enable_tests
21923 wine_fn_config_makefile dlls
/adsldpc enable_adsldpc
21924 wine_fn_config_makefile dlls
/advapi32 enable_advapi32
21925 wine_fn_config_makefile dlls
/advapi32
/tests enable_tests
21926 wine_fn_config_makefile dlls
/advpack enable_advpack
21927 wine_fn_config_makefile dlls
/advpack
/tests enable_tests
21928 wine_fn_config_makefile dlls
/amsi enable_amsi
21929 wine_fn_config_makefile dlls
/amstream enable_amstream
21930 wine_fn_config_makefile dlls
/amstream
/tests enable_tests
21931 wine_fn_config_makefile dlls
/apisetschema enable_apisetschema
21932 wine_fn_config_makefile dlls
/apphelp enable_apphelp
21933 wine_fn_config_makefile dlls
/apphelp
/tests enable_tests
21934 wine_fn_config_makefile dlls
/appwiz.cpl enable_appwiz_cpl
21935 wine_fn_config_makefile dlls
/appxdeploymentclient enable_appxdeploymentclient
21936 wine_fn_config_makefile dlls
/atl enable_atl
21937 wine_fn_config_makefile dlls
/atl
/tests enable_tests
21938 wine_fn_config_makefile dlls
/atl100 enable_atl100
21939 wine_fn_config_makefile dlls
/atl100
/tests enable_tests
21940 wine_fn_config_makefile dlls
/atl110 enable_atl110
21941 wine_fn_config_makefile dlls
/atl110
/tests enable_tests
21942 wine_fn_config_makefile dlls
/atl80 enable_atl80
21943 wine_fn_config_makefile dlls
/atl80
/tests enable_tests
21944 wine_fn_config_makefile dlls
/atl90 enable_atl90
21945 wine_fn_config_makefile dlls
/atlthunk enable_atlthunk
21946 wine_fn_config_makefile dlls
/atlthunk
/tests enable_tests
21947 wine_fn_config_makefile dlls
/atmlib enable_atmlib
21948 wine_fn_config_makefile dlls
/authz enable_authz
21949 wine_fn_config_makefile dlls
/avicap32 enable_avicap32
21950 wine_fn_config_makefile dlls
/avifil32 enable_avifil32
21951 wine_fn_config_makefile dlls
/avifil32
/tests enable_tests
21952 wine_fn_config_makefile dlls
/avifile.dll16 enable_win16
21953 wine_fn_config_makefile dlls
/avrt enable_avrt
21954 wine_fn_config_makefile dlls
/bcrypt enable_bcrypt
21955 wine_fn_config_makefile dlls
/bcrypt
/tests enable_tests
21956 wine_fn_config_makefile dlls
/bcryptprimitives enable_bcryptprimitives
21957 wine_fn_config_makefile dlls
/bluetoothapis enable_bluetoothapis
21958 wine_fn_config_makefile dlls
/browseui enable_browseui
21959 wine_fn_config_makefile dlls
/browseui
/tests enable_tests
21960 wine_fn_config_makefile dlls
/bthprops.cpl enable_bthprops_cpl
21961 wine_fn_config_makefile dlls
/cabinet enable_cabinet
21962 wine_fn_config_makefile dlls
/cabinet
/tests enable_tests
21963 wine_fn_config_makefile dlls
/capi2032 enable_capi2032
21964 wine_fn_config_makefile dlls
/cards enable_cards
21965 wine_fn_config_makefile dlls
/cdosys enable_cdosys
21966 wine_fn_config_makefile dlls
/cfgmgr32 enable_cfgmgr32
21967 wine_fn_config_makefile dlls
/cfgmgr32
/tests enable_tests
21968 wine_fn_config_makefile dlls
/clusapi enable_clusapi
21969 wine_fn_config_makefile dlls
/cng.sys enable_cng_sys
21970 wine_fn_config_makefile dlls
/combase enable_combase
21971 wine_fn_config_makefile dlls
/combase
/tests enable_tests
21972 wine_fn_config_makefile dlls
/comcat enable_comcat
21973 wine_fn_config_makefile dlls
/comcat
/tests enable_tests
21974 wine_fn_config_makefile dlls
/comctl32 enable_comctl32
21975 wine_fn_config_makefile dlls
/comctl32
/tests enable_tests
21976 wine_fn_config_makefile dlls
/comdlg32 enable_comdlg32
21977 wine_fn_config_makefile dlls
/comdlg32
/tests enable_tests
21978 wine_fn_config_makefile dlls
/coml2 enable_coml2
21979 wine_fn_config_makefile dlls
/comm.drv16 enable_win16
21980 wine_fn_config_makefile dlls
/commdlg.dll16 enable_win16
21981 wine_fn_config_makefile dlls
/compobj.dll16 enable_win16
21982 wine_fn_config_makefile dlls
/compstui enable_compstui
21983 wine_fn_config_makefile dlls
/compstui
/tests enable_tests
21984 wine_fn_config_makefile dlls
/comsvcs enable_comsvcs
21985 wine_fn_config_makefile dlls
/comsvcs
/tests enable_tests
21986 wine_fn_config_makefile dlls
/concrt140 enable_concrt140
21987 wine_fn_config_makefile dlls
/concrt140
/tests enable_tests
21988 wine_fn_config_makefile dlls
/connect enable_connect
21989 wine_fn_config_makefile dlls
/coremessaging enable_coremessaging
21990 wine_fn_config_makefile dlls
/credui enable_credui
21991 wine_fn_config_makefile dlls
/credui
/tests enable_tests
21992 wine_fn_config_makefile dlls
/crtdll enable_crtdll
21993 wine_fn_config_makefile dlls
/crypt32 enable_crypt32
21994 wine_fn_config_makefile dlls
/crypt32
/tests enable_tests
21995 wine_fn_config_makefile dlls
/cryptdlg enable_cryptdlg
21996 wine_fn_config_makefile dlls
/cryptdll enable_cryptdll
21997 wine_fn_config_makefile dlls
/cryptext enable_cryptext
21998 wine_fn_config_makefile dlls
/cryptnet enable_cryptnet
21999 wine_fn_config_makefile dlls
/cryptnet
/tests enable_tests
22000 wine_fn_config_makefile dlls
/cryptowinrt enable_cryptowinrt
22001 wine_fn_config_makefile dlls
/cryptowinrt
/tests enable_tests
22002 wine_fn_config_makefile dlls
/cryptsp enable_cryptsp
22003 wine_fn_config_makefile dlls
/cryptui enable_cryptui
22004 wine_fn_config_makefile dlls
/cryptui
/tests enable_tests
22005 wine_fn_config_makefile dlls
/ctapi32 enable_ctapi32
22006 wine_fn_config_makefile dlls
/ctl3d.dll16 enable_win16
22007 wine_fn_config_makefile dlls
/ctl3d32 enable_ctl3d32
22008 wine_fn_config_makefile dlls
/ctl3dv2.dll16 enable_win16
22009 wine_fn_config_makefile dlls
/d2d1 enable_d2d1
22010 wine_fn_config_makefile dlls
/d2d
1/tests enable_tests
22011 wine_fn_config_makefile dlls
/d3d10 enable_d3d10
22012 wine_fn_config_makefile dlls
/d3d10
/tests enable_tests
22013 wine_fn_config_makefile dlls
/d3d10_1 enable_d3d10_1
22014 wine_fn_config_makefile dlls
/d3d10_
1/tests enable_tests
22015 wine_fn_config_makefile dlls
/d3d10core enable_d3d10core
22016 wine_fn_config_makefile dlls
/d3d10core
/tests enable_tests
22017 wine_fn_config_makefile dlls
/d3d11 enable_d3d11
22018 wine_fn_config_makefile dlls
/d3d11
/tests enable_tests
22019 wine_fn_config_makefile dlls
/d3d12 enable_d3d12
22020 wine_fn_config_makefile dlls
/d3d12
/tests enable_tests
22021 wine_fn_config_makefile dlls
/d3d12core enable_d3d12core
22022 wine_fn_config_makefile dlls
/d3d8 enable_d3d8
22023 wine_fn_config_makefile dlls
/d3d
8/tests enable_tests
22024 wine_fn_config_makefile dlls
/d3d8thk enable_d3d8thk
22025 wine_fn_config_makefile dlls
/d3d9 enable_d3d9
22026 wine_fn_config_makefile dlls
/d3d
9/tests enable_tests
22027 wine_fn_config_makefile dlls
/d3dcompiler_33 enable_d3dcompiler_33
22028 wine_fn_config_makefile dlls
/d3dcompiler_34 enable_d3dcompiler_34
22029 wine_fn_config_makefile dlls
/d3dcompiler_35 enable_d3dcompiler_35
22030 wine_fn_config_makefile dlls
/d3dcompiler_36 enable_d3dcompiler_36
22031 wine_fn_config_makefile dlls
/d3dcompiler_37 enable_d3dcompiler_37
22032 wine_fn_config_makefile dlls
/d3dcompiler_38 enable_d3dcompiler_38
22033 wine_fn_config_makefile dlls
/d3dcompiler_39 enable_d3dcompiler_39
22034 wine_fn_config_makefile dlls
/d3dcompiler_40 enable_d3dcompiler_40
22035 wine_fn_config_makefile dlls
/d3dcompiler_41 enable_d3dcompiler_41
22036 wine_fn_config_makefile dlls
/d3dcompiler_42 enable_d3dcompiler_42
22037 wine_fn_config_makefile dlls
/d3dcompiler_43 enable_d3dcompiler_43
22038 wine_fn_config_makefile dlls
/d3dcompiler_43
/tests enable_tests
22039 wine_fn_config_makefile dlls
/d3dcompiler_46 enable_d3dcompiler_46
22040 wine_fn_config_makefile dlls
/d3dcompiler_46
/tests enable_tests
22041 wine_fn_config_makefile dlls
/d3dcompiler_47 enable_d3dcompiler_47
22042 wine_fn_config_makefile dlls
/d3dcompiler_47
/tests enable_tests
22043 wine_fn_config_makefile dlls
/d3dim enable_d3dim
22044 wine_fn_config_makefile dlls
/d3dim700 enable_d3dim700
22045 wine_fn_config_makefile dlls
/d3drm enable_d3drm
22046 wine_fn_config_makefile dlls
/d3drm
/tests enable_tests
22047 wine_fn_config_makefile dlls
/d3dx10_33 enable_d3dx10_33
22048 wine_fn_config_makefile dlls
/d3dx10_34 enable_d3dx10_34
22049 wine_fn_config_makefile dlls
/d3dx10_34
/tests enable_tests
22050 wine_fn_config_makefile dlls
/d3dx10_35 enable_d3dx10_35
22051 wine_fn_config_makefile dlls
/d3dx10_35
/tests enable_tests
22052 wine_fn_config_makefile dlls
/d3dx10_36 enable_d3dx10_36
22053 wine_fn_config_makefile dlls
/d3dx10_36
/tests enable_tests
22054 wine_fn_config_makefile dlls
/d3dx10_37 enable_d3dx10_37
22055 wine_fn_config_makefile dlls
/d3dx10_37
/tests enable_tests
22056 wine_fn_config_makefile dlls
/d3dx10_38 enable_d3dx10_38
22057 wine_fn_config_makefile dlls
/d3dx10_38
/tests enable_tests
22058 wine_fn_config_makefile dlls
/d3dx10_39 enable_d3dx10_39
22059 wine_fn_config_makefile dlls
/d3dx10_39
/tests enable_tests
22060 wine_fn_config_makefile dlls
/d3dx10_40 enable_d3dx10_40
22061 wine_fn_config_makefile dlls
/d3dx10_40
/tests enable_tests
22062 wine_fn_config_makefile dlls
/d3dx10_41 enable_d3dx10_41
22063 wine_fn_config_makefile dlls
/d3dx10_41
/tests enable_tests
22064 wine_fn_config_makefile dlls
/d3dx10_42 enable_d3dx10_42
22065 wine_fn_config_makefile dlls
/d3dx10_42
/tests enable_tests
22066 wine_fn_config_makefile dlls
/d3dx10_43 enable_d3dx10_43
22067 wine_fn_config_makefile dlls
/d3dx10_43
/tests enable_tests
22068 wine_fn_config_makefile dlls
/d3dx11_42 enable_d3dx11_42
22069 wine_fn_config_makefile dlls
/d3dx11_42
/tests enable_tests
22070 wine_fn_config_makefile dlls
/d3dx11_43 enable_d3dx11_43
22071 wine_fn_config_makefile dlls
/d3dx11_43
/tests enable_tests
22072 wine_fn_config_makefile dlls
/d3dx9_24 enable_d3dx9_24
22073 wine_fn_config_makefile dlls
/d3dx9_25 enable_d3dx9_25
22074 wine_fn_config_makefile dlls
/d3dx9_26 enable_d3dx9_26
22075 wine_fn_config_makefile dlls
/d3dx9_27 enable_d3dx9_27
22076 wine_fn_config_makefile dlls
/d3dx9_28 enable_d3dx9_28
22077 wine_fn_config_makefile dlls
/d3dx9_29 enable_d3dx9_29
22078 wine_fn_config_makefile dlls
/d3dx9_30 enable_d3dx9_30
22079 wine_fn_config_makefile dlls
/d3dx9_31 enable_d3dx9_31
22080 wine_fn_config_makefile dlls
/d3dx9_32 enable_d3dx9_32
22081 wine_fn_config_makefile dlls
/d3dx9_33 enable_d3dx9_33
22082 wine_fn_config_makefile dlls
/d3dx9_34 enable_d3dx9_34
22083 wine_fn_config_makefile dlls
/d3dx9_35 enable_d3dx9_35
22084 wine_fn_config_makefile dlls
/d3dx9_36 enable_d3dx9_36
22085 wine_fn_config_makefile dlls
/d3dx9_36
/tests enable_tests
22086 wine_fn_config_makefile dlls
/d3dx9_37 enable_d3dx9_37
22087 wine_fn_config_makefile dlls
/d3dx9_38 enable_d3dx9_38
22088 wine_fn_config_makefile dlls
/d3dx9_39 enable_d3dx9_39
22089 wine_fn_config_makefile dlls
/d3dx9_40 enable_d3dx9_40
22090 wine_fn_config_makefile dlls
/d3dx9_41 enable_d3dx9_41
22091 wine_fn_config_makefile dlls
/d3dx9_42 enable_d3dx9_42
22092 wine_fn_config_makefile dlls
/d3dx9_43 enable_d3dx9_43
22093 wine_fn_config_makefile dlls
/d3dxof enable_d3dxof
22094 wine_fn_config_makefile dlls
/d3dxof
/tests enable_tests
22095 wine_fn_config_makefile dlls
/davclnt enable_davclnt
22096 wine_fn_config_makefile dlls
/dbgeng enable_dbgeng
22097 wine_fn_config_makefile dlls
/dbgeng
/tests enable_tests
22098 wine_fn_config_makefile dlls
/dbghelp enable_dbghelp
22099 wine_fn_config_makefile dlls
/dbghelp
/tests enable_tests
22100 wine_fn_config_makefile dlls
/dciman32 enable_dciman32
22101 wine_fn_config_makefile dlls
/dcomp enable_dcomp
22102 wine_fn_config_makefile dlls
/ddeml.dll16 enable_win16
22103 wine_fn_config_makefile dlls
/ddraw enable_ddraw
22104 wine_fn_config_makefile dlls
/ddraw
/tests enable_tests
22105 wine_fn_config_makefile dlls
/ddrawex enable_ddrawex
22106 wine_fn_config_makefile dlls
/ddrawex
/tests enable_tests
22107 wine_fn_config_makefile dlls
/devenum enable_devenum
22108 wine_fn_config_makefile dlls
/devenum
/tests enable_tests
22109 wine_fn_config_makefile dlls
/dhcpcsvc enable_dhcpcsvc
22110 wine_fn_config_makefile dlls
/dhcpcsvc
/tests enable_tests
22111 wine_fn_config_makefile dlls
/dhcpcsvc6 enable_dhcpcsvc6
22112 wine_fn_config_makefile dlls
/dhtmled.ocx enable_dhtmled_ocx
22113 wine_fn_config_makefile dlls
/diasymreader enable_diasymreader
22114 wine_fn_config_makefile dlls
/difxapi enable_difxapi
22115 wine_fn_config_makefile dlls
/dinput enable_dinput
22116 wine_fn_config_makefile dlls
/dinput
/tests enable_tests
22117 wine_fn_config_makefile dlls
/dinput8 enable_dinput8
22118 wine_fn_config_makefile dlls
/directmanipulation enable_directmanipulation
22119 wine_fn_config_makefile dlls
/directmanipulation
/tests enable_tests
22120 wine_fn_config_makefile dlls
/dispdib.dll16 enable_win16
22121 wine_fn_config_makefile dlls
/dispex enable_dispex
22122 wine_fn_config_makefile dlls
/dispex
/tests enable_tests
22123 wine_fn_config_makefile dlls
/display.drv16 enable_win16
22124 wine_fn_config_makefile dlls
/dmband enable_dmband
22125 wine_fn_config_makefile dlls
/dmband
/tests enable_tests
22126 wine_fn_config_makefile dlls
/dmcompos enable_dmcompos
22127 wine_fn_config_makefile dlls
/dmcompos
/tests enable_tests
22128 wine_fn_config_makefile dlls
/dmime enable_dmime
22129 wine_fn_config_makefile dlls
/dmime
/tests enable_tests
22130 wine_fn_config_makefile dlls
/dmloader enable_dmloader
22131 wine_fn_config_makefile dlls
/dmloader
/tests enable_tests
22132 wine_fn_config_makefile dlls
/dmscript enable_dmscript
22133 wine_fn_config_makefile dlls
/dmscript
/tests enable_tests
22134 wine_fn_config_makefile dlls
/dmstyle enable_dmstyle
22135 wine_fn_config_makefile dlls
/dmstyle
/tests enable_tests
22136 wine_fn_config_makefile dlls
/dmsynth enable_dmsynth
22137 wine_fn_config_makefile dlls
/dmsynth
/tests enable_tests
22138 wine_fn_config_makefile dlls
/dmusic enable_dmusic
22139 wine_fn_config_makefile dlls
/dmusic
/tests enable_tests
22140 wine_fn_config_makefile dlls
/dmusic32 enable_dmusic32
22141 wine_fn_config_makefile dlls
/dnsapi enable_dnsapi
22142 wine_fn_config_makefile dlls
/dnsapi
/tests enable_tests
22143 wine_fn_config_makefile dlls
/dplay enable_dplay
22144 wine_fn_config_makefile dlls
/dplayx enable_dplayx
22145 wine_fn_config_makefile dlls
/dplayx
/tests enable_tests
22146 wine_fn_config_makefile dlls
/dpnaddr enable_dpnaddr
22147 wine_fn_config_makefile dlls
/dpnet enable_dpnet
22148 wine_fn_config_makefile dlls
/dpnet
/tests enable_tests
22149 wine_fn_config_makefile dlls
/dpnhpast enable_dpnhpast
22150 wine_fn_config_makefile dlls
/dpnhupnp enable_dpnhupnp
22151 wine_fn_config_makefile dlls
/dpnlobby enable_dpnlobby
22152 wine_fn_config_makefile dlls
/dpvoice enable_dpvoice
22153 wine_fn_config_makefile dlls
/dpvoice
/tests enable_tests
22154 wine_fn_config_makefile dlls
/dpwsockx enable_dpwsockx
22155 wine_fn_config_makefile dlls
/drmclien enable_drmclien
22156 wine_fn_config_makefile dlls
/dsdmo enable_dsdmo
22157 wine_fn_config_makefile dlls
/dsdmo
/tests enable_tests
22158 wine_fn_config_makefile dlls
/dsound enable_dsound
22159 wine_fn_config_makefile dlls
/dsound
/tests enable_tests
22160 wine_fn_config_makefile dlls
/dsquery enable_dsquery
22161 wine_fn_config_makefile dlls
/dssenh enable_dssenh
22162 wine_fn_config_makefile dlls
/dssenh
/tests enable_tests
22163 wine_fn_config_makefile dlls
/dsuiext enable_dsuiext
22164 wine_fn_config_makefile dlls
/dswave enable_dswave
22165 wine_fn_config_makefile dlls
/dswave
/tests enable_tests
22166 wine_fn_config_makefile dlls
/dwmapi enable_dwmapi
22167 wine_fn_config_makefile dlls
/dwmapi
/tests enable_tests
22168 wine_fn_config_makefile dlls
/dwrite enable_dwrite
22169 wine_fn_config_makefile dlls
/dwrite
/tests enable_tests
22170 wine_fn_config_makefile dlls
/dx8vb enable_dx8vb
22171 wine_fn_config_makefile dlls
/dxcore enable_dxcore
22172 wine_fn_config_makefile dlls
/dxdiagn enable_dxdiagn
22173 wine_fn_config_makefile dlls
/dxdiagn
/tests enable_tests
22174 wine_fn_config_makefile dlls
/dxgi enable_dxgi
22175 wine_fn_config_makefile dlls
/dxgi
/tests enable_tests
22176 wine_fn_config_makefile dlls
/dxtrans enable_dxtrans
22177 wine_fn_config_makefile dlls
/dxva2 enable_dxva2
22178 wine_fn_config_makefile dlls
/dxva
2/tests enable_tests
22179 wine_fn_config_makefile dlls
/esent enable_esent
22180 wine_fn_config_makefile dlls
/evr enable_evr
22181 wine_fn_config_makefile dlls
/evr
/tests enable_tests
22182 wine_fn_config_makefile dlls
/explorerframe enable_explorerframe
22183 wine_fn_config_makefile dlls
/explorerframe
/tests enable_tests
22184 wine_fn_config_makefile dlls
/faultrep enable_faultrep
22185 wine_fn_config_makefile dlls
/faultrep
/tests enable_tests
22186 wine_fn_config_makefile dlls
/feclient enable_feclient
22187 wine_fn_config_makefile dlls
/fltlib enable_fltlib
22188 wine_fn_config_makefile dlls
/fltmgr.sys enable_fltmgr_sys
22189 wine_fn_config_makefile dlls
/fntcache enable_fntcache
22190 wine_fn_config_makefile dlls
/fontsub enable_fontsub
22191 wine_fn_config_makefile dlls
/fusion enable_fusion
22192 wine_fn_config_makefile dlls
/fusion
/tests enable_tests
22193 wine_fn_config_makefile dlls
/fwpuclnt enable_fwpuclnt
22194 wine_fn_config_makefile dlls
/gameux enable_gameux
22195 wine_fn_config_makefile dlls
/gameux
/tests enable_tests
22196 wine_fn_config_makefile dlls
/gamingtcui enable_gamingtcui
22197 wine_fn_config_makefile dlls
/gdi.exe16 enable_win16
22198 wine_fn_config_makefile dlls
/gdi32 enable_gdi32
22199 wine_fn_config_makefile dlls
/gdi32
/tests enable_tests
22200 wine_fn_config_makefile dlls
/gdiplus enable_gdiplus
22201 wine_fn_config_makefile dlls
/gdiplus
/tests enable_tests
22202 wine_fn_config_makefile dlls
/geolocation enable_geolocation
22203 wine_fn_config_makefile dlls
/geolocation
/tests enable_tests
22204 wine_fn_config_makefile dlls
/glu32 enable_glu32
22205 wine_fn_config_makefile dlls
/glu32
/tests enable_tests
22206 wine_fn_config_makefile dlls
/gphoto2.ds enable_gphoto2_ds
22207 wine_fn_config_makefile dlls
/gpkcsp enable_gpkcsp
22208 wine_fn_config_makefile dlls
/graphicscapture enable_graphicscapture
22209 wine_fn_config_makefile dlls
/graphicscapture
/tests enable_tests
22210 wine_fn_config_makefile dlls
/hal enable_hal
22211 wine_fn_config_makefile dlls
/hhctrl.ocx enable_hhctrl_ocx
22212 wine_fn_config_makefile dlls
/hid enable_hid
22213 wine_fn_config_makefile dlls
/hid
/tests enable_tests
22214 wine_fn_config_makefile dlls
/hidclass.sys enable_hidclass_sys
22215 wine_fn_config_makefile dlls
/hidparse.sys enable_hidparse_sys
22216 wine_fn_config_makefile dlls
/hlink enable_hlink
22217 wine_fn_config_makefile dlls
/hlink
/tests enable_tests
22218 wine_fn_config_makefile dlls
/hnetcfg enable_hnetcfg
22219 wine_fn_config_makefile dlls
/hnetcfg
/tests enable_tests
22220 wine_fn_config_makefile dlls
/hrtfapo enable_hrtfapo
22221 wine_fn_config_makefile dlls
/http.sys enable_http_sys
22222 wine_fn_config_makefile dlls
/httpapi enable_httpapi
22223 wine_fn_config_makefile dlls
/httpapi
/tests enable_tests
22224 wine_fn_config_makefile dlls
/hvsimanagementapi enable_hvsimanagementapi
22225 wine_fn_config_makefile dlls
/hvsimanagementapi
/tests enable_tests
22226 wine_fn_config_makefile dlls
/ia2comproxy enable_ia2comproxy
22227 wine_fn_config_makefile dlls
/iccvid enable_iccvid
22228 wine_fn_config_makefile dlls
/icmp enable_icmp
22229 wine_fn_config_makefile dlls
/ieframe enable_ieframe
22230 wine_fn_config_makefile dlls
/ieframe
/tests enable_tests
22231 wine_fn_config_makefile dlls
/ieproxy enable_ieproxy
22232 wine_fn_config_makefile dlls
/ifsmgr.vxd enable_win16
22233 wine_fn_config_makefile dlls
/imaadp32.acm enable_imaadp32_acm
22234 wine_fn_config_makefile dlls
/imagehlp enable_imagehlp
22235 wine_fn_config_makefile dlls
/imagehlp
/tests enable_tests
22236 wine_fn_config_makefile dlls
/imm.dll16 enable_win16
22237 wine_fn_config_makefile dlls
/imm32 enable_imm32
22238 wine_fn_config_makefile dlls
/imm32
/tests enable_tests
22239 wine_fn_config_makefile dlls
/inetcomm enable_inetcomm
22240 wine_fn_config_makefile dlls
/inetcomm
/tests enable_tests
22241 wine_fn_config_makefile dlls
/inetcpl.cpl enable_inetcpl_cpl
22242 wine_fn_config_makefile dlls
/inetmib1 enable_inetmib1
22243 wine_fn_config_makefile dlls
/inetmib
1/tests enable_tests
22244 wine_fn_config_makefile dlls
/infosoft enable_infosoft
22245 wine_fn_config_makefile dlls
/infosoft
/tests enable_tests
22246 wine_fn_config_makefile dlls
/initpki enable_initpki
22247 wine_fn_config_makefile dlls
/inkobj enable_inkobj
22248 wine_fn_config_makefile dlls
/inseng enable_inseng
22249 wine_fn_config_makefile dlls
/iphlpapi enable_iphlpapi
22250 wine_fn_config_makefile dlls
/iphlpapi
/tests enable_tests
22251 wine_fn_config_makefile dlls
/iprop enable_iprop
22252 wine_fn_config_makefile dlls
/ir50_32 enable_ir50_32
22253 wine_fn_config_makefile dlls
/irprops.cpl enable_irprops_cpl
22254 wine_fn_config_makefile dlls
/itircl enable_itircl
22255 wine_fn_config_makefile dlls
/itss enable_itss
22256 wine_fn_config_makefile dlls
/itss
/tests enable_tests
22257 wine_fn_config_makefile dlls
/joy.cpl enable_joy_cpl
22258 wine_fn_config_makefile dlls
/jscript enable_jscript
22259 wine_fn_config_makefile dlls
/jscript
/tests enable_tests
22260 wine_fn_config_makefile dlls
/jsproxy enable_jsproxy
22261 wine_fn_config_makefile dlls
/jsproxy
/tests enable_tests
22262 wine_fn_config_makefile dlls
/kerberos enable_kerberos
22263 wine_fn_config_makefile dlls
/kernel32 enable_kernel32
22264 wine_fn_config_makefile dlls
/kernel32
/tests enable_tests
22265 wine_fn_config_makefile dlls
/kernelbase enable_kernelbase
22266 wine_fn_config_makefile dlls
/kernelbase
/tests enable_tests
22267 wine_fn_config_makefile dlls
/keyboard.drv16 enable_win16
22268 wine_fn_config_makefile dlls
/krnl386.exe16 enable_win16
22269 wine_fn_config_makefile dlls
/ksecdd.sys enable_ksecdd_sys
22270 wine_fn_config_makefile dlls
/ksproxy.ax enable_ksproxy_ax
22271 wine_fn_config_makefile dlls
/ksuser enable_ksuser
22272 wine_fn_config_makefile dlls
/ktmw32 enable_ktmw32
22273 wine_fn_config_makefile dlls
/l3codeca.acm enable_l3codeca_acm
22274 wine_fn_config_makefile dlls
/light.msstyles enable_light_msstyles
22275 wine_fn_config_makefile dlls
/loadperf enable_loadperf
22276 wine_fn_config_makefile dlls
/localspl enable_localspl
22277 wine_fn_config_makefile dlls
/localspl
/tests enable_tests
22278 wine_fn_config_makefile dlls
/localui enable_localui
22279 wine_fn_config_makefile dlls
/localui
/tests enable_tests
22280 wine_fn_config_makefile dlls
/lz32 enable_lz32
22281 wine_fn_config_makefile dlls
/lz32
/tests enable_tests
22282 wine_fn_config_makefile dlls
/lzexpand.dll16 enable_win16
22283 wine_fn_config_makefile dlls
/magnification enable_magnification
22284 wine_fn_config_makefile dlls
/mapi32 enable_mapi32
22285 wine_fn_config_makefile dlls
/mapi32
/tests enable_tests
22286 wine_fn_config_makefile dlls
/mapistub enable_mapistub
22287 wine_fn_config_makefile dlls
/mciavi32 enable_mciavi32
22288 wine_fn_config_makefile dlls
/mcicda enable_mcicda
22289 wine_fn_config_makefile dlls
/mciqtz32 enable_mciqtz32
22290 wine_fn_config_makefile dlls
/mciseq enable_mciseq
22291 wine_fn_config_makefile dlls
/mciwave enable_mciwave
22292 wine_fn_config_makefile dlls
/mf enable_mf
22293 wine_fn_config_makefile dlls
/mf
/tests enable_tests
22294 wine_fn_config_makefile dlls
/mf3216 enable_mf3216
22295 wine_fn_config_makefile dlls
/mferror enable_mferror
22296 wine_fn_config_makefile dlls
/mfmediaengine enable_mfmediaengine
22297 wine_fn_config_makefile dlls
/mfmediaengine
/tests enable_tests
22298 wine_fn_config_makefile dlls
/mfplat enable_mfplat
22299 wine_fn_config_makefile dlls
/mfplat
/tests enable_tests
22300 wine_fn_config_makefile dlls
/mfplay enable_mfplay
22301 wine_fn_config_makefile dlls
/mfplay
/tests enable_tests
22302 wine_fn_config_makefile dlls
/mfreadwrite enable_mfreadwrite
22303 wine_fn_config_makefile dlls
/mfreadwrite
/tests enable_tests
22304 wine_fn_config_makefile dlls
/mfsrcsnk enable_mfsrcsnk
22305 wine_fn_config_makefile dlls
/mfsrcsnk
/tests enable_tests
22306 wine_fn_config_makefile dlls
/mgmtapi enable_mgmtapi
22307 wine_fn_config_makefile dlls
/midimap enable_midimap
22308 wine_fn_config_makefile dlls
/mlang enable_mlang
22309 wine_fn_config_makefile dlls
/mlang
/tests enable_tests
22310 wine_fn_config_makefile dlls
/mmcndmgr enable_mmcndmgr
22311 wine_fn_config_makefile dlls
/mmcndmgr
/tests enable_tests
22312 wine_fn_config_makefile dlls
/mmdevapi enable_mmdevapi
22313 wine_fn_config_makefile dlls
/mmdevapi
/tests enable_tests
22314 wine_fn_config_makefile dlls
/mmdevldr.vxd enable_win16
22315 wine_fn_config_makefile dlls
/mmsystem.dll16 enable_win16
22316 wine_fn_config_makefile dlls
/monodebg.vxd enable_win16
22317 wine_fn_config_makefile dlls
/mouhid.sys enable_mouhid_sys
22318 wine_fn_config_makefile dlls
/mountmgr.sys enable_mountmgr_sys
22319 wine_fn_config_makefile dlls
/mouse.drv16 enable_win16
22320 wine_fn_config_makefile dlls
/mp3dmod enable_mp3dmod
22321 wine_fn_config_makefile dlls
/mp3dmod
/tests enable_tests
22322 wine_fn_config_makefile dlls
/mpr enable_mpr
22323 wine_fn_config_makefile dlls
/mpr
/tests enable_tests
22324 wine_fn_config_makefile dlls
/mprapi enable_mprapi
22325 wine_fn_config_makefile dlls
/msacm.dll16 enable_win16
22326 wine_fn_config_makefile dlls
/msacm32.drv enable_msacm32_drv
22327 wine_fn_config_makefile dlls
/msacm32 enable_msacm32
22328 wine_fn_config_makefile dlls
/msacm32
/tests enable_tests
22329 wine_fn_config_makefile dlls
/msado15 enable_msado15
22330 wine_fn_config_makefile dlls
/msado15
/tests enable_tests
22331 wine_fn_config_makefile dlls
/msadp32.acm enable_msadp32_acm
22332 wine_fn_config_makefile dlls
/msasn1 enable_msasn1
22333 wine_fn_config_makefile dlls
/msasn
1/tests enable_tests
22334 wine_fn_config_makefile dlls
/msauddecmft enable_msauddecmft
22335 wine_fn_config_makefile dlls
/mscat32 enable_mscat32
22336 wine_fn_config_makefile dlls
/mscms enable_mscms
22337 wine_fn_config_makefile dlls
/mscms
/tests enable_tests
22338 wine_fn_config_makefile dlls
/mscoree enable_mscoree
22339 wine_fn_config_makefile dlls
/mscoree
/tests enable_tests
22340 wine_fn_config_makefile dlls
/mscorwks enable_mscorwks
22341 wine_fn_config_makefile dlls
/msctf enable_msctf
22342 wine_fn_config_makefile dlls
/msctf
/tests enable_tests
22343 wine_fn_config_makefile dlls
/msctfmonitor enable_msctfmonitor
22344 wine_fn_config_makefile dlls
/msctfp enable_msctfp
22345 wine_fn_config_makefile dlls
/msdaps enable_msdaps
22346 wine_fn_config_makefile dlls
/msdasql enable_msdasql
22347 wine_fn_config_makefile dlls
/msdasql
/tests enable_tests
22348 wine_fn_config_makefile dlls
/msdelta enable_msdelta
22349 wine_fn_config_makefile dlls
/msdmo enable_msdmo
22350 wine_fn_config_makefile dlls
/msdmo
/tests enable_tests
22351 wine_fn_config_makefile dlls
/msdrm enable_msdrm
22352 wine_fn_config_makefile dlls
/msftedit enable_msftedit
22353 wine_fn_config_makefile dlls
/msftedit
/tests enable_tests
22354 wine_fn_config_makefile dlls
/msg711.acm enable_msg711_acm
22355 wine_fn_config_makefile dlls
/msgsm32.acm enable_msgsm32_acm
22356 wine_fn_config_makefile dlls
/mshtml.tlb enable_mshtml_tlb
22357 wine_fn_config_makefile dlls
/mshtml enable_mshtml
22358 wine_fn_config_makefile dlls
/mshtml
/tests enable_tests
22359 wine_fn_config_makefile dlls
/msi enable_msi
22360 wine_fn_config_makefile dlls
/msi
/tests enable_tests
22361 wine_fn_config_makefile dlls
/msident enable_msident
22362 wine_fn_config_makefile dlls
/msimg32 enable_msimg32
22363 wine_fn_config_makefile dlls
/msimsg enable_msimsg
22364 wine_fn_config_makefile dlls
/msimtf enable_msimtf
22365 wine_fn_config_makefile dlls
/msisip enable_msisip
22366 wine_fn_config_makefile dlls
/msisys.ocx enable_msisys_ocx
22367 wine_fn_config_makefile dlls
/msls31 enable_msls31
22368 wine_fn_config_makefile dlls
/msmpeg2vdec enable_msmpeg2vdec
22369 wine_fn_config_makefile dlls
/msnet32 enable_msnet32
22370 wine_fn_config_makefile dlls
/mspatcha enable_mspatcha
22371 wine_fn_config_makefile dlls
/mspatcha
/tests enable_tests
22372 wine_fn_config_makefile dlls
/msports enable_msports
22373 wine_fn_config_makefile dlls
/msrle32 enable_msrle32
22374 wine_fn_config_makefile dlls
/msrle32
/tests enable_tests
22375 wine_fn_config_makefile dlls
/msscript.ocx enable_msscript_ocx
22376 wine_fn_config_makefile dlls
/msscript.ocx
/tests enable_tests
22377 wine_fn_config_makefile dlls
/mssign32 enable_mssign32
22378 wine_fn_config_makefile dlls
/mssip32 enable_mssip32
22379 wine_fn_config_makefile dlls
/mstask enable_mstask
22380 wine_fn_config_makefile dlls
/mstask
/tests enable_tests
22381 wine_fn_config_makefile dlls
/msttsengine enable_msttsengine
22382 wine_fn_config_makefile dlls
/msv1_0 enable_msv1_0
22383 wine_fn_config_makefile dlls
/msvcirt enable_msvcirt
22384 wine_fn_config_makefile dlls
/msvcirt
/tests enable_tests
22385 wine_fn_config_makefile dlls
/msvcm80 enable_msvcm80
22386 wine_fn_config_makefile dlls
/msvcm90 enable_msvcm90
22387 wine_fn_config_makefile dlls
/msvcp100 enable_msvcp100
22388 wine_fn_config_makefile dlls
/msvcp100
/tests enable_tests
22389 wine_fn_config_makefile dlls
/msvcp110 enable_msvcp110
22390 wine_fn_config_makefile dlls
/msvcp110
/tests enable_tests
22391 wine_fn_config_makefile dlls
/msvcp120 enable_msvcp120
22392 wine_fn_config_makefile dlls
/msvcp120
/tests enable_tests
22393 wine_fn_config_makefile dlls
/msvcp120_app enable_msvcp120_app
22394 wine_fn_config_makefile dlls
/msvcp140 enable_msvcp140
22395 wine_fn_config_makefile dlls
/msvcp140
/tests enable_tests
22396 wine_fn_config_makefile dlls
/msvcp140_1 enable_msvcp140_1
22397 wine_fn_config_makefile dlls
/msvcp140_
1/tests enable_tests
22398 wine_fn_config_makefile dlls
/msvcp140_2 enable_msvcp140_2
22399 wine_fn_config_makefile dlls
/msvcp140_
2/tests enable_tests
22400 wine_fn_config_makefile dlls
/msvcp140_atomic_wait enable_msvcp140_atomic_wait
22401 wine_fn_config_makefile dlls
/msvcp140_atomic_wait
/tests enable_tests
22402 wine_fn_config_makefile dlls
/msvcp140_codecvt_ids enable_msvcp140_codecvt_ids
22403 wine_fn_config_makefile dlls
/msvcp60 enable_msvcp60
22404 wine_fn_config_makefile dlls
/msvcp60
/tests enable_tests
22405 wine_fn_config_makefile dlls
/msvcp70 enable_msvcp70
22406 wine_fn_config_makefile dlls
/msvcp71 enable_msvcp71
22407 wine_fn_config_makefile dlls
/msvcp80 enable_msvcp80
22408 wine_fn_config_makefile dlls
/msvcp90 enable_msvcp90
22409 wine_fn_config_makefile dlls
/msvcp90
/tests enable_tests
22410 wine_fn_config_makefile dlls
/msvcp_win enable_msvcp_win
22411 wine_fn_config_makefile dlls
/msvcr100 enable_msvcr100
22412 wine_fn_config_makefile dlls
/msvcr100
/tests enable_tests
22413 wine_fn_config_makefile dlls
/msvcr110 enable_msvcr110
22414 wine_fn_config_makefile dlls
/msvcr110
/tests enable_tests
22415 wine_fn_config_makefile dlls
/msvcr120 enable_msvcr120
22416 wine_fn_config_makefile dlls
/msvcr120
/tests enable_tests
22417 wine_fn_config_makefile dlls
/msvcr120_app enable_msvcr120_app
22418 wine_fn_config_makefile dlls
/msvcr70 enable_msvcr70
22419 wine_fn_config_makefile dlls
/msvcr70
/tests enable_tests
22420 wine_fn_config_makefile dlls
/msvcr71 enable_msvcr71
22421 wine_fn_config_makefile dlls
/msvcr71
/tests enable_tests
22422 wine_fn_config_makefile dlls
/msvcr80 enable_msvcr80
22423 wine_fn_config_makefile dlls
/msvcr80
/tests enable_tests
22424 wine_fn_config_makefile dlls
/msvcr90 enable_msvcr90
22425 wine_fn_config_makefile dlls
/msvcr90
/tests enable_tests
22426 wine_fn_config_makefile dlls
/msvcrt enable_msvcrt
22427 wine_fn_config_makefile dlls
/msvcrt
/tests enable_tests
22428 wine_fn_config_makefile dlls
/msvcrt20 enable_msvcrt20
22429 wine_fn_config_makefile dlls
/msvcrt40 enable_msvcrt40
22430 wine_fn_config_makefile dlls
/msvcrtd enable_msvcrtd
22431 wine_fn_config_makefile dlls
/msvcrtd
/tests enable_tests
22432 wine_fn_config_makefile dlls
/msvfw32 enable_msvfw32
22433 wine_fn_config_makefile dlls
/msvfw32
/tests enable_tests
22434 wine_fn_config_makefile dlls
/msvidc32 enable_msvidc32
22435 wine_fn_config_makefile dlls
/msvideo.dll16 enable_win16
22436 wine_fn_config_makefile dlls
/mswsock enable_mswsock
22437 wine_fn_config_makefile dlls
/msxml enable_msxml
22438 wine_fn_config_makefile dlls
/msxml2 enable_msxml2
22439 wine_fn_config_makefile dlls
/msxml3 enable_msxml3
22440 wine_fn_config_makefile dlls
/msxml
3/tests enable_tests
22441 wine_fn_config_makefile dlls
/msxml4 enable_msxml4
22442 wine_fn_config_makefile dlls
/msxml
4/tests enable_tests
22443 wine_fn_config_makefile dlls
/msxml6 enable_msxml6
22444 wine_fn_config_makefile dlls
/msxml
6/tests enable_tests
22445 wine_fn_config_makefile dlls
/mtxdm enable_mtxdm
22446 wine_fn_config_makefile dlls
/ncrypt enable_ncrypt
22447 wine_fn_config_makefile dlls
/ncrypt
/tests enable_tests
22448 wine_fn_config_makefile dlls
/nddeapi enable_nddeapi
22449 wine_fn_config_makefile dlls
/ndis.sys enable_ndis_sys
22450 wine_fn_config_makefile dlls
/ndis.sys
/tests enable_tests
22451 wine_fn_config_makefile dlls
/netapi32 enable_netapi32
22452 wine_fn_config_makefile dlls
/netapi32
/tests enable_tests
22453 wine_fn_config_makefile dlls
/netcfgx enable_netcfgx
22454 wine_fn_config_makefile dlls
/netcfgx
/tests enable_tests
22455 wine_fn_config_makefile dlls
/netio.sys enable_netio_sys
22456 wine_fn_config_makefile dlls
/netprofm enable_netprofm
22457 wine_fn_config_makefile dlls
/netprofm
/tests enable_tests
22458 wine_fn_config_makefile dlls
/netutils enable_netutils
22459 wine_fn_config_makefile dlls
/newdev enable_newdev
22460 wine_fn_config_makefile dlls
/ninput enable_ninput
22461 wine_fn_config_makefile dlls
/ninput
/tests enable_tests
22462 wine_fn_config_makefile dlls
/normaliz enable_normaliz
22463 wine_fn_config_makefile dlls
/npmshtml enable_npmshtml
22464 wine_fn_config_makefile dlls
/npptools enable_npptools
22465 wine_fn_config_makefile dlls
/nsi enable_nsi
22466 wine_fn_config_makefile dlls
/nsi
/tests enable_tests
22467 wine_fn_config_makefile dlls
/nsiproxy.sys enable_nsiproxy_sys
22468 wine_fn_config_makefile dlls
/ntdll enable_ntdll
22469 wine_fn_config_makefile dlls
/ntdll
/tests enable_tests
22470 wine_fn_config_makefile dlls
/ntdsapi enable_ntdsapi
22471 wine_fn_config_makefile dlls
/ntdsapi
/tests enable_tests
22472 wine_fn_config_makefile dlls
/ntoskrnl.exe enable_ntoskrnl_exe
22473 wine_fn_config_makefile dlls
/ntoskrnl.exe
/tests enable_tests
22474 wine_fn_config_makefile dlls
/ntprint enable_ntprint
22475 wine_fn_config_makefile dlls
/ntprint
/tests enable_tests
22476 wine_fn_config_makefile dlls
/objsel enable_objsel
22477 wine_fn_config_makefile dlls
/odbc32 enable_odbc32
22478 wine_fn_config_makefile dlls
/odbc32
/tests enable_tests
22479 wine_fn_config_makefile dlls
/odbcbcp enable_odbcbcp
22480 wine_fn_config_makefile dlls
/odbccp32 enable_odbccp32
22481 wine_fn_config_makefile dlls
/odbccp32
/tests enable_tests
22482 wine_fn_config_makefile dlls
/odbccu32 enable_odbccu32
22483 wine_fn_config_makefile dlls
/ole2.dll16 enable_win16
22484 wine_fn_config_makefile dlls
/ole2conv.dll16 enable_win16
22485 wine_fn_config_makefile dlls
/ole2disp.dll16 enable_win16
22486 wine_fn_config_makefile dlls
/ole2nls.dll16 enable_win16
22487 wine_fn_config_makefile dlls
/ole2prox.dll16 enable_win16
22488 wine_fn_config_makefile dlls
/ole2thk.dll16 enable_win16
22489 wine_fn_config_makefile dlls
/ole32 enable_ole32
22490 wine_fn_config_makefile dlls
/ole32
/tests enable_tests
22491 wine_fn_config_makefile dlls
/oleacc enable_oleacc
22492 wine_fn_config_makefile dlls
/oleacc
/tests enable_tests
22493 wine_fn_config_makefile dlls
/oleaut32 enable_oleaut32
22494 wine_fn_config_makefile dlls
/oleaut32
/tests enable_tests
22495 wine_fn_config_makefile dlls
/olecli.dll16 enable_win16
22496 wine_fn_config_makefile dlls
/olecli32 enable_olecli32
22497 wine_fn_config_makefile dlls
/oledb32 enable_oledb32
22498 wine_fn_config_makefile dlls
/oledb32
/tests enable_tests
22499 wine_fn_config_makefile dlls
/oledlg enable_oledlg
22500 wine_fn_config_makefile dlls
/oledlg
/tests enable_tests
22501 wine_fn_config_makefile dlls
/olepro32 enable_olepro32
22502 wine_fn_config_makefile dlls
/olesvr.dll16 enable_win16
22503 wine_fn_config_makefile dlls
/olesvr32 enable_olesvr32
22504 wine_fn_config_makefile dlls
/olethk32 enable_olethk32
22505 wine_fn_config_makefile dlls
/opcservices enable_opcservices
22506 wine_fn_config_makefile dlls
/opcservices
/tests enable_tests
22507 wine_fn_config_makefile dlls
/opencl enable_opencl
22508 wine_fn_config_makefile dlls
/opengl32 enable_opengl32
22509 wine_fn_config_makefile dlls
/opengl32
/tests enable_tests
22510 wine_fn_config_makefile dlls
/packager enable_packager
22511 wine_fn_config_makefile dlls
/packager
/tests enable_tests
22512 wine_fn_config_makefile dlls
/pdh enable_pdh
22513 wine_fn_config_makefile dlls
/pdh
/tests enable_tests
22514 wine_fn_config_makefile dlls
/photometadatahandler enable_photometadatahandler
22515 wine_fn_config_makefile dlls
/pidgen enable_pidgen
22516 wine_fn_config_makefile dlls
/powrprof enable_powrprof
22517 wine_fn_config_makefile dlls
/printui enable_printui
22518 wine_fn_config_makefile dlls
/prntvpt enable_prntvpt
22519 wine_fn_config_makefile dlls
/prntvpt
/tests enable_tests
22520 wine_fn_config_makefile dlls
/propsys enable_propsys
22521 wine_fn_config_makefile dlls
/propsys
/tests enable_tests
22522 wine_fn_config_makefile dlls
/psapi enable_psapi
22523 wine_fn_config_makefile dlls
/psapi
/tests enable_tests
22524 wine_fn_config_makefile dlls
/pstorec enable_pstorec
22525 wine_fn_config_makefile dlls
/pstorec
/tests enable_tests
22526 wine_fn_config_makefile dlls
/pwrshplugin enable_pwrshplugin
22527 wine_fn_config_makefile dlls
/qasf enable_qasf
22528 wine_fn_config_makefile dlls
/qasf
/tests enable_tests
22529 wine_fn_config_makefile dlls
/qcap enable_qcap
22530 wine_fn_config_makefile dlls
/qcap
/tests enable_tests
22531 wine_fn_config_makefile dlls
/qdvd enable_qdvd
22532 wine_fn_config_makefile dlls
/qdvd
/tests enable_tests
22533 wine_fn_config_makefile dlls
/qedit enable_qedit
22534 wine_fn_config_makefile dlls
/qedit
/tests enable_tests
22535 wine_fn_config_makefile dlls
/qmgr enable_qmgr
22536 wine_fn_config_makefile dlls
/qmgr
/tests enable_tests
22537 wine_fn_config_makefile dlls
/qmgrprxy enable_qmgrprxy
22538 wine_fn_config_makefile dlls
/quartz enable_quartz
22539 wine_fn_config_makefile dlls
/quartz
/tests enable_tests
22540 wine_fn_config_makefile dlls
/query enable_query
22541 wine_fn_config_makefile dlls
/qwave enable_qwave
22542 wine_fn_config_makefile dlls
/qwave
/tests enable_tests
22543 wine_fn_config_makefile dlls
/rasapi16.dll16 enable_win16
22544 wine_fn_config_makefile dlls
/rasapi32 enable_rasapi32
22545 wine_fn_config_makefile dlls
/rasapi32
/tests enable_tests
22546 wine_fn_config_makefile dlls
/rasdlg enable_rasdlg
22547 wine_fn_config_makefile dlls
/regapi enable_regapi
22548 wine_fn_config_makefile dlls
/resutils enable_resutils
22549 wine_fn_config_makefile dlls
/riched20 enable_riched20
22550 wine_fn_config_makefile dlls
/riched20
/tests enable_tests
22551 wine_fn_config_makefile dlls
/riched32 enable_riched32
22552 wine_fn_config_makefile dlls
/riched32
/tests enable_tests
22553 wine_fn_config_makefile dlls
/rpcrt4 enable_rpcrt4
22554 wine_fn_config_makefile dlls
/rpcrt
4/tests enable_tests
22555 wine_fn_config_makefile dlls
/rsabase enable_rsabase
22556 wine_fn_config_makefile dlls
/rsaenh enable_rsaenh
22557 wine_fn_config_makefile dlls
/rsaenh
/tests enable_tests
22558 wine_fn_config_makefile dlls
/rstrtmgr enable_rstrtmgr
22559 wine_fn_config_makefile dlls
/rtutils enable_rtutils
22560 wine_fn_config_makefile dlls
/rtworkq enable_rtworkq
22561 wine_fn_config_makefile dlls
/rtworkq
/tests enable_tests
22562 wine_fn_config_makefile dlls
/samlib enable_samlib
22563 wine_fn_config_makefile dlls
/sane.ds enable_sane_ds
22564 wine_fn_config_makefile dlls
/sapi enable_sapi
22565 wine_fn_config_makefile dlls
/sapi
/tests enable_tests
22566 wine_fn_config_makefile dlls
/sas enable_sas
22567 wine_fn_config_makefile dlls
/scarddlg enable_scarddlg
22568 wine_fn_config_makefile dlls
/scardsvr enable_scardsvr
22569 wine_fn_config_makefile dlls
/sccbase enable_sccbase
22570 wine_fn_config_makefile dlls
/schannel enable_schannel
22571 wine_fn_config_makefile dlls
/schannel
/tests enable_tests
22572 wine_fn_config_makefile dlls
/schedsvc enable_schedsvc
22573 wine_fn_config_makefile dlls
/schedsvc
/tests enable_tests
22574 wine_fn_config_makefile dlls
/scrobj enable_scrobj
22575 wine_fn_config_makefile dlls
/scrobj
/tests enable_tests
22576 wine_fn_config_makefile dlls
/scrrun enable_scrrun
22577 wine_fn_config_makefile dlls
/scrrun
/tests enable_tests
22578 wine_fn_config_makefile dlls
/scsiport.sys enable_scsiport_sys
22579 wine_fn_config_makefile dlls
/sechost enable_sechost
22580 wine_fn_config_makefile dlls
/secur32 enable_secur32
22581 wine_fn_config_makefile dlls
/secur32
/tests enable_tests
22582 wine_fn_config_makefile dlls
/security enable_security
22583 wine_fn_config_makefile dlls
/sensapi enable_sensapi
22584 wine_fn_config_makefile dlls
/serialui enable_serialui
22585 wine_fn_config_makefile dlls
/serialui
/tests enable_tests
22586 wine_fn_config_makefile dlls
/setupapi enable_setupapi
22587 wine_fn_config_makefile dlls
/setupapi
/tests enable_tests
22588 wine_fn_config_makefile dlls
/setupx.dll16 enable_win16
22589 wine_fn_config_makefile dlls
/sfc enable_sfc
22590 wine_fn_config_makefile dlls
/sfc_os enable_sfc_os
22591 wine_fn_config_makefile dlls
/shcore enable_shcore
22592 wine_fn_config_makefile dlls
/shcore
/tests enable_tests
22593 wine_fn_config_makefile dlls
/shdoclc enable_shdoclc
22594 wine_fn_config_makefile dlls
/shdocvw enable_shdocvw
22595 wine_fn_config_makefile dlls
/shdocvw
/tests enable_tests
22596 wine_fn_config_makefile dlls
/shell.dll16 enable_win16
22597 wine_fn_config_makefile dlls
/shell32 enable_shell32
22598 wine_fn_config_makefile dlls
/shell32
/tests enable_tests
22599 wine_fn_config_makefile dlls
/shfolder enable_shfolder
22600 wine_fn_config_makefile dlls
/shlwapi enable_shlwapi
22601 wine_fn_config_makefile dlls
/shlwapi
/tests enable_tests
22602 wine_fn_config_makefile dlls
/slbcsp enable_slbcsp
22603 wine_fn_config_makefile dlls
/slc enable_slc
22604 wine_fn_config_makefile dlls
/slc
/tests enable_tests
22605 wine_fn_config_makefile dlls
/snmpapi enable_snmpapi
22606 wine_fn_config_makefile dlls
/snmpapi
/tests enable_tests
22607 wine_fn_config_makefile dlls
/softpub enable_softpub
22608 wine_fn_config_makefile dlls
/sound.drv16 enable_win16
22609 wine_fn_config_makefile dlls
/spoolss enable_spoolss
22610 wine_fn_config_makefile dlls
/spoolss
/tests enable_tests
22611 wine_fn_config_makefile dlls
/sppc enable_sppc
22612 wine_fn_config_makefile dlls
/srclient enable_srclient
22613 wine_fn_config_makefile dlls
/srvcli enable_srvcli
22614 wine_fn_config_makefile dlls
/srvsvc enable_srvsvc
22615 wine_fn_config_makefile dlls
/sspicli enable_sspicli
22616 wine_fn_config_makefile dlls
/stdole2.tlb enable_stdole2_tlb
22617 wine_fn_config_makefile dlls
/stdole32.tlb enable_stdole32_tlb
22618 wine_fn_config_makefile dlls
/sti enable_sti
22619 wine_fn_config_makefile dlls
/sti
/tests enable_tests
22620 wine_fn_config_makefile dlls
/storage.dll16 enable_win16
22621 wine_fn_config_makefile dlls
/stress.dll16 enable_win16
22622 wine_fn_config_makefile dlls
/strmdll enable_strmdll
22623 wine_fn_config_makefile dlls
/svrapi enable_svrapi
22624 wine_fn_config_makefile dlls
/sxs enable_sxs
22625 wine_fn_config_makefile dlls
/sxs
/tests enable_tests
22626 wine_fn_config_makefile dlls
/system.drv16 enable_win16
22627 wine_fn_config_makefile dlls
/t2embed enable_t2embed
22628 wine_fn_config_makefile dlls
/t2embed
/tests enable_tests
22629 wine_fn_config_makefile dlls
/tapi32 enable_tapi32
22630 wine_fn_config_makefile dlls
/tapi32
/tests enable_tests
22631 wine_fn_config_makefile dlls
/taskschd enable_taskschd
22632 wine_fn_config_makefile dlls
/taskschd
/tests enable_tests
22633 wine_fn_config_makefile dlls
/tbs enable_tbs
22634 wine_fn_config_makefile dlls
/tdh enable_tdh
22635 wine_fn_config_makefile dlls
/tdi.sys enable_tdi_sys
22636 wine_fn_config_makefile dlls
/threadpoolwinrt enable_threadpoolwinrt
22637 wine_fn_config_makefile dlls
/threadpoolwinrt
/tests enable_tests
22638 wine_fn_config_makefile dlls
/toolhelp.dll16 enable_win16
22639 wine_fn_config_makefile dlls
/traffic enable_traffic
22640 wine_fn_config_makefile dlls
/twain.dll16 enable_win16
22641 wine_fn_config_makefile dlls
/twain_32 enable_twain_32
22642 wine_fn_config_makefile dlls
/twain_32
/tests enable_tests
22643 wine_fn_config_makefile dlls
/twinapi.appcore enable_twinapi_appcore
22644 wine_fn_config_makefile dlls
/twinapi.appcore
/tests enable_tests
22645 wine_fn_config_makefile dlls
/typelib.dll16 enable_win16
22646 wine_fn_config_makefile dlls
/tzres enable_tzres
22647 wine_fn_config_makefile dlls
/ucrtbase enable_ucrtbase
22648 wine_fn_config_makefile dlls
/ucrtbase
/tests enable_tests
22649 wine_fn_config_makefile dlls
/uianimation enable_uianimation
22650 wine_fn_config_makefile dlls
/uianimation
/tests enable_tests
22651 wine_fn_config_makefile dlls
/uiautomationcore enable_uiautomationcore
22652 wine_fn_config_makefile dlls
/uiautomationcore
/tests enable_tests
22653 wine_fn_config_makefile dlls
/uiribbon enable_uiribbon
22654 wine_fn_config_makefile dlls
/unicows enable_unicows
22655 wine_fn_config_makefile dlls
/updspapi enable_updspapi
22656 wine_fn_config_makefile dlls
/url enable_url
22657 wine_fn_config_makefile dlls
/urlmon enable_urlmon
22658 wine_fn_config_makefile dlls
/urlmon
/tests enable_tests
22659 wine_fn_config_makefile dlls
/usbd.sys enable_usbd_sys
22660 wine_fn_config_makefile dlls
/user.exe16 enable_win16
22661 wine_fn_config_makefile dlls
/user32 enable_user32
22662 wine_fn_config_makefile dlls
/user32
/tests enable_tests
22663 wine_fn_config_makefile dlls
/userenv enable_userenv
22664 wine_fn_config_makefile dlls
/userenv
/tests enable_tests
22665 wine_fn_config_makefile dlls
/usp10 enable_usp10
22666 wine_fn_config_makefile dlls
/usp10
/tests enable_tests
22667 wine_fn_config_makefile dlls
/utildll enable_utildll
22668 wine_fn_config_makefile dlls
/uxtheme enable_uxtheme
22669 wine_fn_config_makefile dlls
/uxtheme
/tests enable_tests
22670 wine_fn_config_makefile dlls
/vbscript enable_vbscript
22671 wine_fn_config_makefile dlls
/vbscript
/tests enable_tests
22672 wine_fn_config_makefile dlls
/vcomp enable_vcomp
22673 wine_fn_config_makefile dlls
/vcomp
/tests enable_tests
22674 wine_fn_config_makefile dlls
/vcomp100 enable_vcomp100
22675 wine_fn_config_makefile dlls
/vcomp110 enable_vcomp110
22676 wine_fn_config_makefile dlls
/vcomp110
/tests enable_tests
22677 wine_fn_config_makefile dlls
/vcomp120 enable_vcomp120
22678 wine_fn_config_makefile dlls
/vcomp140 enable_vcomp140
22679 wine_fn_config_makefile dlls
/vcomp90 enable_vcomp90
22680 wine_fn_config_makefile dlls
/vcruntime140 enable_vcruntime140
22681 wine_fn_config_makefile dlls
/vcruntime140_1 enable_vcruntime140_1
22682 wine_fn_config_makefile dlls
/vdhcp.vxd enable_win16
22683 wine_fn_config_makefile dlls
/vdmdbg enable_vdmdbg
22684 wine_fn_config_makefile dlls
/ver.dll16 enable_win16
22685 wine_fn_config_makefile dlls
/version enable_version
22686 wine_fn_config_makefile dlls
/version
/tests enable_tests
22687 wine_fn_config_makefile dlls
/vga enable_vga
22688 wine_fn_config_makefile dlls
/virtdisk enable_virtdisk
22689 wine_fn_config_makefile dlls
/virtdisk
/tests enable_tests
22690 wine_fn_config_makefile dlls
/vmm.vxd enable_win16
22691 wine_fn_config_makefile dlls
/vnbt.vxd enable_win16
22692 wine_fn_config_makefile dlls
/vnetbios.vxd enable_win16
22693 wine_fn_config_makefile dlls
/vssapi enable_vssapi
22694 wine_fn_config_makefile dlls
/vtdapi.vxd enable_win16
22695 wine_fn_config_makefile dlls
/vulkan-1 enable_vulkan_1
22696 wine_fn_config_makefile dlls
/vulkan-
1/tests enable_tests
22697 wine_fn_config_makefile dlls
/vwin32.vxd enable_win16
22698 wine_fn_config_makefile dlls
/w32skrnl enable_win16
22699 wine_fn_config_makefile dlls
/w32sys.dll16 enable_win16
22700 wine_fn_config_makefile dlls
/wbemdisp enable_wbemdisp
22701 wine_fn_config_makefile dlls
/wbemdisp
/tests enable_tests
22702 wine_fn_config_makefile dlls
/wbemprox enable_wbemprox
22703 wine_fn_config_makefile dlls
/wbemprox
/tests enable_tests
22704 wine_fn_config_makefile dlls
/wdscore enable_wdscore
22705 wine_fn_config_makefile dlls
/webservices enable_webservices
22706 wine_fn_config_makefile dlls
/webservices
/tests enable_tests
22707 wine_fn_config_makefile dlls
/websocket enable_websocket
22708 wine_fn_config_makefile dlls
/wer enable_wer
22709 wine_fn_config_makefile dlls
/wer
/tests enable_tests
22710 wine_fn_config_makefile dlls
/wevtapi enable_wevtapi
22711 wine_fn_config_makefile dlls
/wevtapi
/tests enable_tests
22712 wine_fn_config_makefile dlls
/wevtsvc enable_wevtsvc
22713 wine_fn_config_makefile dlls
/wiaservc enable_wiaservc
22714 wine_fn_config_makefile dlls
/wiaservc
/tests enable_tests
22715 wine_fn_config_makefile dlls
/wimgapi enable_wimgapi
22716 wine_fn_config_makefile dlls
/win32s16.dll16 enable_win16
22717 wine_fn_config_makefile dlls
/win32u enable_win32u
22718 wine_fn_config_makefile dlls
/win32u
/tests enable_tests
22719 wine_fn_config_makefile dlls
/win87em.dll16 enable_win16
22720 wine_fn_config_makefile dlls
/winaspi.dll16 enable_win16
22721 wine_fn_config_makefile dlls
/windebug.dll16 enable_win16
22722 wine_fn_config_makefile dlls
/windows.applicationmodel enable_windows_applicationmodel
22723 wine_fn_config_makefile dlls
/windows.applicationmodel
/tests enable_tests
22724 wine_fn_config_makefile dlls
/windows.devices.bluetooth enable_windows_devices_bluetooth
22725 wine_fn_config_makefile dlls
/windows.devices.bluetooth
/tests enable_tests
22726 wine_fn_config_makefile dlls
/windows.devices.enumeration enable_windows_devices_enumeration
22727 wine_fn_config_makefile dlls
/windows.devices.enumeration
/tests enable_tests
22728 wine_fn_config_makefile dlls
/windows.devices.usb enable_windows_devices_usb
22729 wine_fn_config_makefile dlls
/windows.devices.usb
/tests enable_tests
22730 wine_fn_config_makefile dlls
/windows.gaming.input enable_windows_gaming_input
22731 wine_fn_config_makefile dlls
/windows.gaming.input
/tests enable_tests
22732 wine_fn_config_makefile dlls
/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
22733 wine_fn_config_makefile dlls
/windows.gaming.ui.gamebar
/tests enable_tests
22734 wine_fn_config_makefile dlls
/windows.globalization enable_windows_globalization
22735 wine_fn_config_makefile dlls
/windows.globalization
/tests enable_tests
22736 wine_fn_config_makefile dlls
/windows.media.devices enable_windows_media_devices
22737 wine_fn_config_makefile dlls
/windows.media.devices
/tests enable_tests
22738 wine_fn_config_makefile dlls
/windows.media.mediacontrol enable_windows_media_mediacontrol
22739 wine_fn_config_makefile dlls
/windows.media.mediacontrol
/tests enable_tests
22740 wine_fn_config_makefile dlls
/windows.media.speech enable_windows_media_speech
22741 wine_fn_config_makefile dlls
/windows.media.speech
/tests enable_tests
22742 wine_fn_config_makefile dlls
/windows.media enable_windows_media
22743 wine_fn_config_makefile dlls
/windows.media
/tests enable_tests
22744 wine_fn_config_makefile dlls
/windows.networking.hostname enable_windows_networking_hostname
22745 wine_fn_config_makefile dlls
/windows.networking.hostname
/tests enable_tests
22746 wine_fn_config_makefile dlls
/windows.networking enable_windows_networking
22747 wine_fn_config_makefile dlls
/windows.perception.stub enable_windows_perception_stub
22748 wine_fn_config_makefile dlls
/windows.perception.stub
/tests enable_tests
22749 wine_fn_config_makefile dlls
/windows.security.authentication.onlineid enable_windows_security_authentication_onlineid
22750 wine_fn_config_makefile dlls
/windows.security.authentication.onlineid
/tests enable_tests
22751 wine_fn_config_makefile dlls
/windows.security.credentials.ui.userconsentverifier enable_windows_security_credentials_ui_userconsentverifier
22752 wine_fn_config_makefile dlls
/windows.security.credentials.ui.userconsentverifier
/tests enable_tests
22753 wine_fn_config_makefile dlls
/windows.storage.applicationdata enable_windows_storage_applicationdata
22754 wine_fn_config_makefile dlls
/windows.storage.applicationdata
/tests enable_tests
22755 wine_fn_config_makefile dlls
/windows.system.profile.systemmanufacturers enable_windows_system_profile_systemmanufacturers
22756 wine_fn_config_makefile dlls
/windows.system.profile.systemmanufacturers
/tests enable_tests
22757 wine_fn_config_makefile dlls
/windows.ui enable_windows_ui
22758 wine_fn_config_makefile dlls
/windows.ui
/tests enable_tests
22759 wine_fn_config_makefile dlls
/windowscodecs enable_windowscodecs
22760 wine_fn_config_makefile dlls
/windowscodecs
/tests enable_tests
22761 wine_fn_config_makefile dlls
/windowscodecsext enable_windowscodecsext
22762 wine_fn_config_makefile dlls
/windowscodecsext
/tests enable_tests
22763 wine_fn_config_makefile dlls
/winealsa.drv enable_winealsa_drv
22764 wine_fn_config_makefile dlls
/wineandroid.drv enable_wineandroid_drv
22765 wine_fn_config_makefile dlls
/winebus.sys enable_winebus_sys
22766 wine_fn_config_makefile dlls
/winecoreaudio.drv enable_winecoreaudio_drv
22767 wine_fn_config_makefile dlls
/winecrt0 enable_winecrt0
22768 wine_fn_config_makefile dlls
/wined3d enable_wined3d
22769 wine_fn_config_makefile dlls
/winegstreamer enable_winegstreamer
22770 wine_fn_config_makefile dlls
/winehid.sys enable_winehid_sys
22771 wine_fn_config_makefile dlls
/winemac.drv enable_winemac_drv
22772 wine_fn_config_makefile dlls
/winemapi enable_winemapi
22773 wine_fn_config_makefile dlls
/wineoss.drv enable_wineoss_drv
22774 wine_fn_config_makefile dlls
/wineps.drv enable_wineps_drv
22775 wine_fn_config_makefile dlls
/wineps16.drv16 enable_win16
22776 wine_fn_config_makefile dlls
/winepulse.drv enable_winepulse_drv
22777 wine_fn_config_makefile dlls
/wineusb.sys enable_wineusb_sys
22778 wine_fn_config_makefile dlls
/winevulkan enable_winevulkan
22779 wine_fn_config_makefile dlls
/winewayland.drv enable_winewayland_drv
22780 wine_fn_config_makefile dlls
/winex11.drv enable_winex11_drv
22781 wine_fn_config_makefile dlls
/winexinput.sys enable_winexinput_sys
22782 wine_fn_config_makefile dlls
/wing.dll16 enable_win16
22783 wine_fn_config_makefile dlls
/wing32 enable_wing32
22784 wine_fn_config_makefile dlls
/wing32
/tests enable_tests
22785 wine_fn_config_makefile dlls
/winhttp enable_winhttp
22786 wine_fn_config_makefile dlls
/winhttp
/tests enable_tests
22787 wine_fn_config_makefile dlls
/wininet enable_wininet
22788 wine_fn_config_makefile dlls
/wininet
/tests enable_tests
22789 wine_fn_config_makefile dlls
/winmm enable_winmm
22790 wine_fn_config_makefile dlls
/winmm
/tests enable_tests
22791 wine_fn_config_makefile dlls
/winnls.dll16 enable_win16
22792 wine_fn_config_makefile dlls
/winnls32 enable_winnls32
22793 wine_fn_config_makefile dlls
/winprint enable_winprint
22794 wine_fn_config_makefile dlls
/winscard enable_winscard
22795 wine_fn_config_makefile dlls
/winscard
/tests enable_tests
22796 wine_fn_config_makefile dlls
/winsock.dll16 enable_win16
22797 wine_fn_config_makefile dlls
/winspool.drv enable_winspool_drv
22798 wine_fn_config_makefile dlls
/winspool.drv
/tests enable_tests
22799 wine_fn_config_makefile dlls
/winsta enable_winsta
22800 wine_fn_config_makefile dlls
/wintab.dll16 enable_win16
22801 wine_fn_config_makefile dlls
/wintab32 enable_wintab32
22802 wine_fn_config_makefile dlls
/wintab32
/tests enable_tests
22803 wine_fn_config_makefile dlls
/wintrust enable_wintrust
22804 wine_fn_config_makefile dlls
/wintrust
/tests enable_tests
22805 wine_fn_config_makefile dlls
/wintypes enable_wintypes
22806 wine_fn_config_makefile dlls
/wintypes
/tests enable_tests
22807 wine_fn_config_makefile dlls
/winusb enable_winusb
22808 wine_fn_config_makefile dlls
/wlanapi enable_wlanapi
22809 wine_fn_config_makefile dlls
/wlanapi
/tests enable_tests
22810 wine_fn_config_makefile dlls
/wlanui enable_wlanui
22811 wine_fn_config_makefile dlls
/wldap32 enable_wldap32
22812 wine_fn_config_makefile dlls
/wldap32
/tests enable_tests
22813 wine_fn_config_makefile dlls
/wldp enable_wldp
22814 wine_fn_config_makefile dlls
/wldp
/tests enable_tests
22815 wine_fn_config_makefile dlls
/wmasf enable_wmasf
22816 wine_fn_config_makefile dlls
/wmi enable_wmi
22817 wine_fn_config_makefile dlls
/wmiutils enable_wmiutils
22818 wine_fn_config_makefile dlls
/wmiutils
/tests enable_tests
22819 wine_fn_config_makefile dlls
/wmp enable_wmp
22820 wine_fn_config_makefile dlls
/wmp
/tests enable_tests
22821 wine_fn_config_makefile dlls
/wmphoto enable_wmphoto
22822 wine_fn_config_makefile dlls
/wmvcore enable_wmvcore
22823 wine_fn_config_makefile dlls
/wmvcore
/tests enable_tests
22824 wine_fn_config_makefile dlls
/wnaspi32 enable_wnaspi32
22825 wine_fn_config_makefile dlls
/wofutil enable_wofutil
22826 wine_fn_config_makefile dlls
/wow32 enable_win16
22827 wine_fn_config_makefile dlls
/wow64 enable_wow64
22828 wine_fn_config_makefile dlls
/wow64cpu enable_wow64cpu
22829 wine_fn_config_makefile dlls
/wow64win enable_wow64win
22830 wine_fn_config_makefile dlls
/wpc enable_wpc
22831 wine_fn_config_makefile dlls
/wpc
/tests enable_tests
22832 wine_fn_config_makefile dlls
/wpcap enable_wpcap
22833 wine_fn_config_makefile dlls
/wpcap
/tests enable_tests
22834 wine_fn_config_makefile dlls
/ws2_32 enable_ws2_32
22835 wine_fn_config_makefile dlls
/ws2_32
/tests enable_tests
22836 wine_fn_config_makefile dlls
/wsdapi enable_wsdapi
22837 wine_fn_config_makefile dlls
/wsdapi
/tests enable_tests
22838 wine_fn_config_makefile dlls
/wshom.ocx enable_wshom_ocx
22839 wine_fn_config_makefile dlls
/wshom.ocx
/tests enable_tests
22840 wine_fn_config_makefile dlls
/wsnmp32 enable_wsnmp32
22841 wine_fn_config_makefile dlls
/wsnmp32
/tests enable_tests
22842 wine_fn_config_makefile dlls
/wsock32 enable_wsock32
22843 wine_fn_config_makefile dlls
/wtsapi32 enable_wtsapi32
22844 wine_fn_config_makefile dlls
/wtsapi32
/tests enable_tests
22845 wine_fn_config_makefile dlls
/wuapi enable_wuapi
22846 wine_fn_config_makefile dlls
/wuaueng enable_wuaueng
22847 wine_fn_config_makefile dlls
/x3daudio1_0 enable_x3daudio1_0
22848 wine_fn_config_makefile dlls
/x3daudio1_1 enable_x3daudio1_1
22849 wine_fn_config_makefile dlls
/x3daudio1_2 enable_x3daudio1_2
22850 wine_fn_config_makefile dlls
/x3daudio1_3 enable_x3daudio1_3
22851 wine_fn_config_makefile dlls
/x3daudio1_4 enable_x3daudio1_4
22852 wine_fn_config_makefile dlls
/x3daudio1_5 enable_x3daudio1_5
22853 wine_fn_config_makefile dlls
/x3daudio1_6 enable_x3daudio1_6
22854 wine_fn_config_makefile dlls
/x3daudio1_7 enable_x3daudio1_7
22855 wine_fn_config_makefile dlls
/xactengine2_0 enable_xactengine2_0
22856 wine_fn_config_makefile dlls
/xactengine2_4 enable_xactengine2_4
22857 wine_fn_config_makefile dlls
/xactengine2_7 enable_xactengine2_7
22858 wine_fn_config_makefile dlls
/xactengine2_9 enable_xactengine2_9
22859 wine_fn_config_makefile dlls
/xactengine3_0 enable_xactengine3_0
22860 wine_fn_config_makefile dlls
/xactengine3_1 enable_xactengine3_1
22861 wine_fn_config_makefile dlls
/xactengine3_2 enable_xactengine3_2
22862 wine_fn_config_makefile dlls
/xactengine3_3 enable_xactengine3_3
22863 wine_fn_config_makefile dlls
/xactengine3_4 enable_xactengine3_4
22864 wine_fn_config_makefile dlls
/xactengine3_5 enable_xactengine3_5
22865 wine_fn_config_makefile dlls
/xactengine3_6 enable_xactengine3_6
22866 wine_fn_config_makefile dlls
/xactengine3_7 enable_xactengine3_7
22867 wine_fn_config_makefile dlls
/xactengine3_
7/tests enable_tests
22868 wine_fn_config_makefile dlls
/xapofx1_1 enable_xapofx1_1
22869 wine_fn_config_makefile dlls
/xapofx1_2 enable_xapofx1_2
22870 wine_fn_config_makefile dlls
/xapofx1_3 enable_xapofx1_3
22871 wine_fn_config_makefile dlls
/xapofx1_4 enable_xapofx1_4
22872 wine_fn_config_makefile dlls
/xapofx1_5 enable_xapofx1_5
22873 wine_fn_config_makefile dlls
/xaudio2_0 enable_xaudio2_0
22874 wine_fn_config_makefile dlls
/xaudio2_1 enable_xaudio2_1
22875 wine_fn_config_makefile dlls
/xaudio2_2 enable_xaudio2_2
22876 wine_fn_config_makefile dlls
/xaudio2_3 enable_xaudio2_3
22877 wine_fn_config_makefile dlls
/xaudio2_4 enable_xaudio2_4
22878 wine_fn_config_makefile dlls
/xaudio2_5 enable_xaudio2_5
22879 wine_fn_config_makefile dlls
/xaudio2_6 enable_xaudio2_6
22880 wine_fn_config_makefile dlls
/xaudio2_7 enable_xaudio2_7
22881 wine_fn_config_makefile dlls
/xaudio2_
7/tests enable_tests
22882 wine_fn_config_makefile dlls
/xaudio2_8 enable_xaudio2_8
22883 wine_fn_config_makefile dlls
/xaudio2_
8/tests enable_tests
22884 wine_fn_config_makefile dlls
/xaudio2_9 enable_xaudio2_9
22885 wine_fn_config_makefile dlls
/xinput1_1 enable_xinput1_1
22886 wine_fn_config_makefile dlls
/xinput1_2 enable_xinput1_2
22887 wine_fn_config_makefile dlls
/xinput1_3 enable_xinput1_3
22888 wine_fn_config_makefile dlls
/xinput1_
3/tests enable_tests
22889 wine_fn_config_makefile dlls
/xinput1_4 enable_xinput1_4
22890 wine_fn_config_makefile dlls
/xinput9_1_0 enable_xinput9_1_0
22891 wine_fn_config_makefile dlls
/xinputuap enable_xinputuap
22892 wine_fn_config_makefile dlls
/xmllite enable_xmllite
22893 wine_fn_config_makefile dlls
/xmllite
/tests enable_tests
22894 wine_fn_config_makefile dlls
/xolehlp enable_xolehlp
22895 wine_fn_config_makefile dlls
/xpsprint enable_xpsprint
22896 wine_fn_config_makefile dlls
/xpssvcs enable_xpssvcs
22897 wine_fn_config_makefile fonts enable_fonts
22898 wine_fn_config_makefile include enable_include
22899 wine_fn_config_makefile libs
/adsiid enable_adsiid
22900 wine_fn_config_makefile libs
/dmoguids enable_dmoguids
22901 wine_fn_config_makefile libs
/dxerr8 enable_dxerr8
22902 wine_fn_config_makefile libs
/dxerr9 enable_dxerr9
22903 wine_fn_config_makefile libs
/dxguid enable_dxguid
22904 wine_fn_config_makefile libs
/faudio enable_faudio
22905 wine_fn_config_makefile libs
/fluidsynth enable_fluidsynth
22906 wine_fn_config_makefile libs
/gsm enable_gsm
22907 wine_fn_config_makefile libs
/jpeg enable_jpeg
22908 wine_fn_config_makefile libs
/jxr enable_jxr
22909 wine_fn_config_makefile libs
/lcms2 enable_lcms2
22910 wine_fn_config_makefile libs
/ldap enable_ldap
22911 wine_fn_config_makefile libs
/mfuuid enable_mfuuid
22912 wine_fn_config_makefile libs
/mpg123 enable_mpg123
22913 wine_fn_config_makefile libs
/musl enable_musl
22914 wine_fn_config_makefile libs
/png enable_png
22915 wine_fn_config_makefile libs
/strmbase enable_strmbase
22916 wine_fn_config_makefile libs
/strmiids enable_strmiids
22917 wine_fn_config_makefile libs
/tiff enable_tiff
22918 wine_fn_config_makefile libs
/uuid enable_uuid
22919 wine_fn_config_makefile libs
/vkd3d enable_vkd3d
22920 wine_fn_config_makefile libs
/wbemuuid enable_wbemuuid
22921 wine_fn_config_makefile libs
/wmcodecdspuuid enable_wmcodecdspuuid
22922 wine_fn_config_makefile libs
/xml2 enable_xml2
22923 wine_fn_config_makefile libs
/xslt enable_xslt
22924 wine_fn_config_makefile libs
/zlib enable_zlib
22925 wine_fn_config_makefile libs
/zydis enable_zydis
22926 wine_fn_config_makefile loader enable_loader
22927 wine_fn_config_makefile nls enable_nls
22928 wine_fn_config_makefile po enable_po
22929 wine_fn_config_makefile programs
/arp enable_arp
22930 wine_fn_config_makefile programs
/aspnet_regiis enable_aspnet_regiis
22931 wine_fn_config_makefile programs
/attrib enable_attrib
22932 wine_fn_config_makefile programs
/cabarc enable_cabarc
22933 wine_fn_config_makefile programs
/cacls enable_cacls
22934 wine_fn_config_makefile programs
/certutil enable_certutil
22935 wine_fn_config_makefile programs
/chcp.com enable_chcp_com
22936 wine_fn_config_makefile programs
/clock enable_clock
22937 wine_fn_config_makefile programs
/cmd enable_cmd
22938 wine_fn_config_makefile programs
/cmd
/tests enable_tests
22939 wine_fn_config_makefile programs
/conhost enable_conhost
22940 wine_fn_config_makefile programs
/conhost
/tests enable_tests
22941 wine_fn_config_makefile programs
/control enable_control
22942 wine_fn_config_makefile programs
/cscript enable_cscript
22943 wine_fn_config_makefile programs
/dism enable_dism
22944 wine_fn_config_makefile programs
/dllhost enable_dllhost
22945 wine_fn_config_makefile programs
/dplaysvr enable_dplaysvr
22946 wine_fn_config_makefile programs
/dpnsvr enable_dpnsvr
22947 wine_fn_config_makefile programs
/dpvsetup enable_dpvsetup
22948 wine_fn_config_makefile programs
/dxdiag enable_dxdiag
22949 wine_fn_config_makefile programs
/eject enable_eject
22950 wine_fn_config_makefile programs
/expand enable_expand
22951 wine_fn_config_makefile programs
/explorer enable_explorer
22952 wine_fn_config_makefile programs
/explorer
/tests enable_tests
22953 wine_fn_config_makefile programs
/extrac32 enable_extrac32
22954 wine_fn_config_makefile programs
/fc enable_fc
22955 wine_fn_config_makefile programs
/find enable_find
22956 wine_fn_config_makefile programs
/find
/tests enable_tests
22957 wine_fn_config_makefile programs
/findstr enable_findstr
22958 wine_fn_config_makefile programs
/findstr
/tests enable_tests
22959 wine_fn_config_makefile programs
/fsutil enable_fsutil
22960 wine_fn_config_makefile programs
/fsutil
/tests enable_tests
22961 wine_fn_config_makefile programs
/hh enable_hh
22962 wine_fn_config_makefile programs
/hostname enable_hostname
22963 wine_fn_config_makefile programs
/icacls enable_icacls
22964 wine_fn_config_makefile programs
/icinfo enable_icinfo
22965 wine_fn_config_makefile programs
/iexplore enable_iexplore
22966 wine_fn_config_makefile programs
/ipconfig enable_ipconfig
22967 wine_fn_config_makefile programs
/klist enable_klist
22968 wine_fn_config_makefile programs
/lodctr enable_lodctr
22969 wine_fn_config_makefile programs
/mofcomp enable_mofcomp
22970 wine_fn_config_makefile programs
/mshta enable_mshta
22971 wine_fn_config_makefile programs
/msidb enable_msidb
22972 wine_fn_config_makefile programs
/msiexec enable_msiexec
22973 wine_fn_config_makefile programs
/msinfo32 enable_msinfo32
22974 wine_fn_config_makefile programs
/net enable_net
22975 wine_fn_config_makefile programs
/netsh enable_netsh
22976 wine_fn_config_makefile programs
/netstat enable_netstat
22977 wine_fn_config_makefile programs
/ngen enable_ngen
22978 wine_fn_config_makefile programs
/notepad enable_notepad
22979 wine_fn_config_makefile programs
/oleview enable_oleview
22980 wine_fn_config_makefile programs
/ping enable_ping
22981 wine_fn_config_makefile programs
/plugplay enable_plugplay
22982 wine_fn_config_makefile programs
/pnputil enable_pnputil
22983 wine_fn_config_makefile programs
/powershell enable_powershell
22984 wine_fn_config_makefile programs
/presentationfontcache enable_presentationfontcache
22985 wine_fn_config_makefile programs
/progman enable_progman
22986 wine_fn_config_makefile programs
/reg enable_reg
22987 wine_fn_config_makefile programs
/reg
/tests enable_tests
22988 wine_fn_config_makefile programs
/regasm enable_regasm
22989 wine_fn_config_makefile programs
/regedit enable_regedit
22990 wine_fn_config_makefile programs
/regedit
/tests enable_tests
22991 wine_fn_config_makefile programs
/regini enable_regini
22992 wine_fn_config_makefile programs
/regsvcs enable_regsvcs
22993 wine_fn_config_makefile programs
/regsvr32 enable_regsvr32
22994 wine_fn_config_makefile programs
/robocopy enable_robocopy
22995 wine_fn_config_makefile programs
/rpcss enable_rpcss
22996 wine_fn_config_makefile programs
/rundll.exe16 enable_win16
22997 wine_fn_config_makefile programs
/rundll32 enable_rundll32
22998 wine_fn_config_makefile programs
/sc enable_sc
22999 wine_fn_config_makefile programs
/sc
/tests enable_tests
23000 wine_fn_config_makefile programs
/schtasks enable_schtasks
23001 wine_fn_config_makefile programs
/schtasks
/tests enable_tests
23002 wine_fn_config_makefile programs
/sdbinst enable_sdbinst
23003 wine_fn_config_makefile programs
/secedit enable_secedit
23004 wine_fn_config_makefile programs
/servicemodelreg enable_servicemodelreg
23005 wine_fn_config_makefile programs
/services enable_services
23006 wine_fn_config_makefile programs
/services
/tests enable_tests
23007 wine_fn_config_makefile programs
/setx enable_setx
23008 wine_fn_config_makefile programs
/shutdown enable_shutdown
23009 wine_fn_config_makefile programs
/spoolsv enable_spoolsv
23010 wine_fn_config_makefile programs
/start enable_start
23011 wine_fn_config_makefile programs
/subst enable_subst
23012 wine_fn_config_makefile programs
/svchost enable_svchost
23013 wine_fn_config_makefile programs
/systeminfo enable_systeminfo
23014 wine_fn_config_makefile programs
/taskkill enable_taskkill
23015 wine_fn_config_makefile programs
/tasklist enable_tasklist
23016 wine_fn_config_makefile programs
/tasklist
/tests enable_tests
23017 wine_fn_config_makefile programs
/taskmgr enable_taskmgr
23018 wine_fn_config_makefile programs
/termsv enable_termsv
23019 wine_fn_config_makefile programs
/uninstaller enable_uninstaller
23020 wine_fn_config_makefile programs
/unlodctr enable_unlodctr
23021 wine_fn_config_makefile programs
/view enable_view
23022 wine_fn_config_makefile programs
/wevtutil enable_wevtutil
23023 wine_fn_config_makefile programs
/where enable_where
23024 wine_fn_config_makefile programs
/whoami enable_whoami
23025 wine_fn_config_makefile programs
/wineboot enable_wineboot
23026 wine_fn_config_makefile programs
/winebrowser enable_winebrowser
23027 wine_fn_config_makefile programs
/winecfg enable_winecfg
23028 wine_fn_config_makefile programs
/wineconsole enable_wineconsole
23029 wine_fn_config_makefile programs
/winedbg enable_winedbg
23030 wine_fn_config_makefile programs
/winedevice enable_winedevice
23031 wine_fn_config_makefile programs
/winefile enable_winefile
23032 wine_fn_config_makefile programs
/winemenubuilder enable_winemenubuilder
23033 wine_fn_config_makefile programs
/winemine enable_winemine
23034 wine_fn_config_makefile programs
/winemsibuilder enable_winemsibuilder
23035 wine_fn_config_makefile programs
/winepath enable_winepath
23036 wine_fn_config_makefile programs
/winetest enable_winetest
23037 wine_fn_config_makefile programs
/winevdm enable_win16
23038 wine_fn_config_makefile programs
/winhelp.exe16 enable_win16
23039 wine_fn_config_makefile programs
/winhlp32 enable_winhlp32
23040 wine_fn_config_makefile programs
/winmgmt enable_winmgmt
23041 wine_fn_config_makefile programs
/winoldap.mod16 enable_win16
23042 wine_fn_config_makefile programs
/winver enable_winver
23043 wine_fn_config_makefile programs
/wmic enable_wmic
23044 wine_fn_config_makefile programs
/wmplayer enable_wmplayer
23045 wine_fn_config_makefile programs
/wordpad enable_wordpad
23046 wine_fn_config_makefile programs
/write enable_write
23047 wine_fn_config_makefile programs
/wscript enable_wscript
23048 wine_fn_config_makefile programs
/wscript
/tests enable_tests
23049 wine_fn_config_makefile programs
/wuauserv enable_wuauserv
23050 wine_fn_config_makefile programs
/wusa enable_wusa
23051 wine_fn_config_makefile programs
/xcopy enable_xcopy
23052 wine_fn_config_makefile programs
/xcopy
/tests enable_tests
23053 wine_fn_config_makefile server enable_server
23054 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
23055 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/sfnt2fon enable_sfnt2fon
23056 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/widl enable_widl
23057 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winebuild enable_winebuild
23058 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winedump enable_winedump
23059 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winegcc enable_winegcc
23060 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winemaker enable_winemaker
23061 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/wmc enable_wmc
23062 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/wrc enable_wrc
23065 as_fn_append CONFIGURE_TARGETS
" TAGS"
23066 as_fn_append CONFIGURE_TARGETS
" tags"
23067 as_fn_append CONFIGURE_TARGETS
" autom4te.cache"
23068 as_fn_append CONFIGURE_TARGETS
" config.log"
23069 as_fn_append CONFIGURE_TARGETS
" config.status"
23070 as_fn_append CONFIGURE_TARGETS
" include/config.h"
23071 as_fn_append CONFIGURE_TARGETS
" include/stamp-h"
23072 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine"
23074 if test "x$enable_tools" != xno
23076 as_fn_append CONFIGURE_TARGETS
" tools/makedep$ac_exeext"
23077 ac_config_commands
="$ac_config_commands tools/makedep"
23081 ac_config_commands
="$ac_config_commands Makefile"
23088 as_fn_append wine_rules
"
23090 @echo \"Wine build complete.\"
23094 Makefile: config.status \$(MAKEDEP)
23095 @./config.status Makefile
23096 depend: \$(MAKEDEP)
23097 \$(MAKEDEP)$makedep_flags"
23100 as_fn_append wine_rules
"
23101 config.status: ${wine_srcdir}configure
23102 @./config.status --recheck
23103 include/config.h: include/stamp-h
23104 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
23105 @./config.status include/config.h include/stamp-h"
23107 if test "x$enable_maintainer_mode" = xyes
23109 as_fn_append wine_rules
"
23110 configure: configure.ac aclocal.m4
23111 autoconf --warnings=all
23112 include/config.h.in: include/stamp-h.in
23113 include/stamp-h.in: configure.ac aclocal.m4
23114 autoheader --warnings=all
23115 @echo timestamp > \$@"
23118 if test "x$enable_tools" != xno
23120 as_fn_append wine_rules
"
23121 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
23122 @./config.status tools/makedep
23123 Makefile: tools/makedep$ac_exeext"
23125 as_fn_append wine_rules
"
23127 @echo \"You need to run make in $toolsdir first\" && false"
23131 if test -n "$with_wine64"
23133 case "$with_wine64" in
23137 rm -f fonts server
2>/dev
/null
23138 as_fn_append wine_rules
"
23139 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
23140 loader/wine64 loader/wine64-preloader:
23141 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
23142 $with_wine64/loader/wine:
23143 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
23144 $with_wine64/loader/wine-preloader:
23145 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
23147 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
23149 TOP_INSTALL_DEV
="$TOP_INSTALL_DEV include"
23150 TOP_INSTALL_LIB
="$TOP_INSTALL_LIB \
23154 programs/msidb/msidb \
23155 programs/msiexec/msiexec \
23156 programs/notepad/notepad \
23157 programs/regedit/regedit \
23158 programs/regsvr32/regsvr32 \
23159 programs/wineboot/wineboot \
23160 programs/winecfg/winecfg \
23161 programs/wineconsole/wineconsole \
23162 programs/winedbg/winedbg \
23163 programs/winefile/winefile \
23164 programs/winemine/winemine \
23165 programs/winepath/winepath \
23169 cygwin
*|mingw32
*|darwin
*|macosx
*|linux-android
*) ;;
23170 *) TOP_INSTALL_LIB
="$TOP_INSTALL_LIB loader/wine.desktop" ;;
23175 as_fn_append wine_rules
"
23177 rm -rf autom4te.cache
23179 rm -f configure include/config.h.in"
23182 as_fn_append wine_rules
"
23183 dlls/ntdll/unix/version.c: dummy
23184 @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)
23185 programs/winetest/build.rc: dummy
23186 @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)
23187 programs/winetest/build.nfo:
23189 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
23190 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
23191 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
23194 TAGSFLAGS
="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
23196 as_fn_append wine_rules
"
23199 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
23202 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
23204 .PHONY: depend dummy install-manpages"
23206 printf "%s\n" " done" >&6
23207 cat >confcache
<<\_ACEOF
23208 # This file is a shell script that caches the results of configure
23209 # tests run on this system so they can be shared between configure
23210 # scripts and configure runs, see configure's option --config-cache.
23211 # It is not useful on other systems. If it contains results you don't
23212 # want to keep, you may remove or edit it.
23214 # config.status only pays attention to the cache file if you give it
23215 # the --recheck option to rerun configure.
23217 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23218 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23219 # following values.
23223 # The following way of writing the cache mishandles newlines in values,
23224 # but we know of no workaround that is simple, portable, and efficient.
23225 # So, we kill variables containing newlines.
23226 # Ultrix sh set writes to stderr and can't be redirected directly,
23227 # and sets the high bit in the cache file unless we assign to the vars.
23229 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
23230 eval ac_val
=\$
$ac_var
23234 *_cv_
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
23235 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
23238 _ | IFS | as_nl
) ;; #(
23239 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
23240 *) { eval $ac_var=; unset $ac_var;} ;;
23246 case $as_nl`(ac_space=' '; set) 2>&1` in #(
23247 *${as_nl}ac_space
=\
*)
23248 # `set' does not quote correctly, so add quotes: double-quote
23249 # substitution turns \\\\ into \\, and sed turns \\ into \.
23252 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23255 # `set' quotes correctly as required by POSIX, so do not add quotes.
23256 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
23265 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
23267 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23269 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
23270 if test -w "$cache_file"; then
23271 if test "x$cache_file" != "x/dev/null"; then
23272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
23273 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
23274 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
23275 cat confcache
>"$cache_file"
23277 case $cache_file in #(
23279 mv -f confcache
"$cache_file"$$
&&
23280 mv -f "$cache_file"$$
"$cache_file" ;; #(
23282 mv -f confcache
"$cache_file" ;;
23287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
23288 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
23293 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
23294 # Let make expand exec_prefix.
23295 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
23297 DEFS
=-DHAVE_CONFIG_H
23302 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
23303 # 1. Remove the extension, and $U if already installed.
23304 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
23305 ac_i
=`printf "%s\n" "$ac_i" | sed "$ac_script"`
23306 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
23307 # will be set to the directory where LIBOBJS objects are built.
23308 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
23309 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
23311 LIBOBJS
=$ac_libobjs
23313 LTLIBOBJS
=$ac_ltlibobjs
23317 : "${CONFIG_STATUS=./config.status}"
23319 ac_clean_files_save
=$ac_clean_files
23320 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
23321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
23322 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
23324 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
23326 # Generated by $as_me.
23327 # Run this file to recreate the current configuration.
23328 # Compiler output produced by configure, useful for debugging
23329 # configure, is in config.log if it exists.
23332 ac_cs_recheck=false
23335 SHELL=\${CONFIG_SHELL-$SHELL}
23338 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
23339 ## -------------------- ##
23340 ## M4sh Initialization. ##
23341 ## -------------------- ##
23343 # Be more Bourne compatible
23344 DUALCASE
=1; export DUALCASE
# for MKS sh
23346 if test ${ZSH_VERSION+y} && (emulate sh
) >/dev
/null
2>&1
23350 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23351 # is contrary to our usage. Disable this feature.
23352 alias -g '${1+"$@"}'='"$@"'
23353 setopt NO_GLOB_SUBST
23355 case `(set -o) 2>/dev/null` in #(
23365 # Reset variables that may have inherited troublesome values from
23368 # IFS needs to be set, to space, tab, and newline, in precisely that order.
23369 # (If _AS_PATH_WALK were called with IFS unset, it would have the
23370 # side effect of setting IFS to empty, thus disabling word splitting.)
23371 # Quoting is to prevent editors from complaining about space-tab.
23381 # Ensure predictable behavior from utilities with locale-dependent output.
23387 # We cannot yet rely on "unset" to work, but we need these variables
23388 # to be unset--not just set to an empty or harmless value--now, to
23389 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
23390 # also avoids known problems related to "unset" and subshell syntax
23391 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
23392 for as_var
in BASH_ENV ENV MAIL MAILPATH CDPATH
23393 do eval test \
${$as_var+y} \
23394 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
23397 # Ensure that fds 0, 1, and 2 are open.
23398 if (exec 3>&0) 2>/dev
/null
; then :; else exec 0</dev
/null
; fi
23399 if (exec 3>&1) 2>/dev
/null
; then :; else exec 1>/dev
/null
; fi
23400 if (exec 3>&2) ; then :; else exec 2>/dev
/null
; fi
23402 # The user is always right.
23403 if ${PATH_SEPARATOR+false} :; then
23405 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
23406 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
23412 # Find who we are. Look in the path if we contain no directory separator.
23415 *[\\/]* ) as_myself
=$0 ;;
23416 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23417 for as_dir
in $PATH
23420 case $as_dir in #(((
23423 *) as_dir
=$as_dir/ ;;
23425 test -r "$as_dir$0" && as_myself
=$as_dir$0 && break
23431 # We did not find ourselves, most probably we were run as `sh COMMAND'
23432 # in which case we are not to be found in the path.
23433 if test "x$as_myself" = x
; then
23436 if test ! -f "$as_myself"; then
23437 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
23443 # as_fn_error STATUS ERROR [LINENO LOG_FD]
23444 # ----------------------------------------
23445 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
23446 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
23447 # script with STATUS, using 1 if that was 0.
23450 as_status
=$1; test $as_status -eq 0 && as_status
=1
23452 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
23453 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
23455 printf "%s\n" "$as_me: error: $2" >&2
23456 as_fn_exit
$as_status
23461 # as_fn_set_status STATUS
23462 # -----------------------
23463 # Set $? to STATUS, without forking.
23464 as_fn_set_status
()
23467 } # as_fn_set_status
23469 # as_fn_exit STATUS
23470 # -----------------
23471 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
23475 as_fn_set_status
$1
23481 # Portably unset VAR.
23484 { eval $1=; unset $1;}
23486 as_unset
=as_fn_unset
23488 # as_fn_append VAR VALUE
23489 # ----------------------
23490 # Append the text in VALUE to the end of the definition contained in VAR. Take
23491 # advantage of any shell optimizations that allow amortized linear growth over
23492 # repeated appends, instead of the typical quadratic growth present in naive
23494 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
23496 eval 'as_fn_append ()
23507 # as_fn_arith ARG...
23508 # ------------------
23509 # Perform arithmetic evaluation on the ARGs, and store the result in the
23510 # global $as_val. Take advantage of shells that can avoid forks. The arguments
23511 # must be portable across $(()) and expr.
23512 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
23514 eval 'as_fn_arith ()
23521 as_val
=`expr "$@" || test $? -eq 1`
23526 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
23527 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
23533 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
23534 as_basename
=basename
23539 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
23545 as_me
=`$as_basename -- "$0" ||
23546 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23547 X"$0" : 'X\(//\)$' \| \
23548 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
23549 printf "%s\n" X/"$0" |
23550 sed '/^.*\/\([^/][^/]*\)\/*$/{
23564 # Avoid depending upon Character Ranges.
23565 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
23566 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23567 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
23568 as_cr_digits
='0123456789'
23569 as_cr_alnum
=$as_cr_Letters$as_cr_digits
23572 # Determine whether it's possible to make 'echo' print without a newline.
23573 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
23574 # for compatibility with existing Makefiles.
23575 ECHO_C
= ECHO_N
= ECHO_T
=
23576 case `echo -n x` in #(((((
23578 case `echo 'xy\c'` in
23579 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
23581 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
23588 # For backward compatibility with old third-party macros, we provide
23589 # the shell variables $as_echo and $as_echo_n. New code should use
23590 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
23591 as_echo
='printf %s\n'
23592 as_echo_n
='printf %s'
23594 rm -f conf$$ conf$$.exe conf$$.
file
23595 if test -d conf$$.dir
; then
23596 rm -f conf$$.dir
/conf$$.
file
23599 mkdir conf$$.dir
2>/dev
/null
23601 if (echo >conf$$.
file) 2>/dev
/null
; then
23602 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
23604 # ... but there are two gotchas:
23605 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
23606 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
23607 # In both cases, we have to default to `cp -pR'.
23608 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
23610 elif ln conf$$.
file conf$$
2>/dev
/null
; then
23618 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
23619 rmdir conf$$.dir
2>/dev
/null
23624 # Create "$as_dir" as a directory, including parents if necessary.
23629 -*) as_dir
=.
/$as_dir;;
23631 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
23635 *\'*) as_qdir
=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
23636 *) as_qdir
=$as_dir;;
23638 as_dirs
="'$as_qdir' $as_dirs"
23639 as_dir
=`$as_dirname -- "$as_dir" ||
23640 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23641 X"$as_dir" : 'X\(//\)[^/]' \| \
23642 X"$as_dir" : 'X\(//\)$' \| \
23643 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23644 printf "%s\n" X"$as_dir" |
23645 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23649 /^X\(\/\/\)[^/].*/{
23662 test -d "$as_dir" && break
23664 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
23665 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
23669 if mkdir
-p .
2>/dev
/null
; then
23670 as_mkdir_p
='mkdir -p "$as_dir"'
23672 test -d .
/-p && rmdir .
/-p
23677 # as_fn_executable_p FILE
23678 # -----------------------
23679 # Test if FILE is an executable regular file.
23680 as_fn_executable_p
()
23682 test -f "$1" && test -x "$1"
23683 } # as_fn_executable_p
23684 as_test_x
='test -x'
23685 as_executable_p
=as_fn_executable_p
23687 # Sed expression to map a string onto a valid CPP name.
23688 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23690 # Sed expression to map a string onto a valid variable name.
23691 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23695 ## ----------------------------------- ##
23696 ## Main body of $CONFIG_STATUS script. ##
23697 ## ----------------------------------- ##
23699 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
23701 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23702 # Save the log message, to keep $0 and so on meaningful, and to
23703 # report actual input values of CONFIG_FILES etc. instead of their
23704 # values after options handling.
23706 This file was extended by Wine $as_me 9.11, which was
23707 generated by GNU Autoconf 2.71. Invocation command line was
23709 CONFIG_FILES = $CONFIG_FILES
23710 CONFIG_HEADERS = $CONFIG_HEADERS
23711 CONFIG_LINKS = $CONFIG_LINKS
23712 CONFIG_COMMANDS = $CONFIG_COMMANDS
23715 on `(hostname || uname -n) 2>/dev/null | sed 1q`
23721 case $ac_config_headers in *"
23722 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
23726 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23727 # Files that config.status was made for.
23728 config_headers="$ac_config_headers"
23729 config_links="$ac_config_links"
23730 config_commands="$ac_config_commands"
23734 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23736 \`$as_me' instantiates files and other configuration actions
23737 from templates according to the current configuration. Unless the files
23738 and actions are specified as TAGs, all are instantiated by default.
23740 Usage: $0 [OPTION]... [TAG]...
23742 -h, --help print this help, then exit
23743 -V, --version print version number and configuration settings, then exit
23744 --config print configuration, then exit
23745 -q, --quiet, --silent
23746 do not print progress messages
23747 -d, --debug don't remove temporary files
23748 --recheck update $as_me by reconfiguring in the same conditions
23749 --header=FILE[:TEMPLATE]
23750 instantiate the configuration header FILE
23752 Configuration headers:
23755 Configuration links:
23758 Configuration commands:
23761 Report bugs to <wine-devel@winehq.org>.
23762 Wine home page: <https://www.winehq.org>."
23765 ac_cs_config
=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
23766 ac_cs_config_escaped
=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
23767 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23768 ac_cs_config='$ac_cs_config_escaped'
23770 Wine config.status 9.11
23771 configured by $0, generated by GNU Autoconf 2.71,
23772 with options \\"\$ac_cs_config\\"
23774 Copyright (C) 2021 Free Software Foundation, Inc.
23775 This config.status script is free software; the Free Software Foundation
23776 gives unlimited permission to copy, distribute and modify it."
23780 test -n "\$AWK" || AWK=awk
23783 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23784 # The default lists apply if the user does not specify any file.
23790 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
23791 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
23795 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
23807 # Handling of the options.
23808 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
23810 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
23811 printf "%s\n" "$ac_cs_version"; exit ;;
23812 --config |
--confi |
--conf |
--con |
--co |
--c )
23813 printf "%s\n" "$ac_cs_config"; exit ;;
23814 --debug |
--debu |
--deb |
--de |
--d |
-d )
23816 --header |
--heade |
--head |
--hea )
23819 *\'*) ac_optarg
=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23821 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
23822 ac_need_defaults
=false
;;
23824 # Conflict between --help and --header
23825 as_fn_error $?
"ambiguous option: \`$1'
23826 Try \`$0 --help' for more information.";;
23827 --help |
--hel |
-h )
23828 printf "%s\n" "$ac_cs_usage"; exit ;;
23829 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
23830 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
23833 # This is an error.
23834 -*) as_fn_error $?
"unrecognized option: \`$1'
23835 Try \`$0 --help' for more information." ;;
23837 *) as_fn_append ac_config_targets
" $1"
23838 ac_need_defaults
=false
;;
23844 ac_configure_extra_args
=
23846 if $ac_cs_silent; then
23848 ac_configure_extra_args
="$ac_configure_extra_args --silent"
23852 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23853 if \$ac_cs_recheck; then
23854 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23856 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
23857 CONFIG_SHELL='$SHELL'
23858 export CONFIG_SHELL
23863 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23867 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23868 ## Running $as_me. ##
23870 printf "%s\n" "$ac_log"
23874 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23878 wine_fn_output_makedep ()
23880 as_dir=tools; as_fn_mkdir_p
23881 $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
23883 wine_fn_output_makefile ()
23885 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
23886 # This Makefile understands the following targets:
23888 # all (default): build wine
23889 # clean: remove all intermediate files
23890 # distclean: also remove all files created by configure
23892 # testclean: clean test results to force running all tests again
23893 # install-lib: install libraries needed to run applications
23894 # install-dev: install development environment
23895 # install: install everything
23896 # uninstall: uninstall everything
23897 # ctags: create a tags file for vim and others.
23898 # etags: create a TAGS file for Emacs.
23901 PATH_SEPARATOR = $PATH_SEPARATOR
23902 PACKAGE_NAME = $PACKAGE_NAME
23903 PACKAGE_TARNAME = $PACKAGE_TARNAME
23904 PACKAGE_VERSION = $PACKAGE_VERSION
23905 PACKAGE_STRING = $PACKAGE_STRING
23906 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23907 PACKAGE_URL = $PACKAGE_URL
23908 exec_prefix = $exec_prefix
23910 program_transform_name = $program_transform_name
23913 libexecdir = $libexecdir
23914 datarootdir = $datarootdir
23916 sysconfdir = $sysconfdir
23917 sharedstatedir = $sharedstatedir
23918 localstatedir = $localstatedir
23919 runstatedir = $runstatedir
23920 includedir = $includedir
23921 oldincludedir = $oldincludedir
23929 localedir = $localedir
23936 build_alias = $build_alias
23937 host_alias = $host_alias
23938 target_alias = $target_alias
23939 system_dllpath = $system_dllpath
23941 build_cpu = $build_cpu
23942 build_vendor = $build_vendor
23943 build_os = $build_os
23945 host_cpu = $host_cpu
23946 host_vendor = $host_vendor
23952 SET_MAKE = $SET_MAKE
23956 CPPFLAGS = $CPPFLAGS
23957 ac_ct_CC = $ac_ct_CC
23961 CXXFLAGS = $CXXFLAGS
23962 ac_ct_CXX = $ac_ct_CXX
23965 TARGETFLAGS = $TARGETFLAGS
23966 toolsext = $toolsext
23967 HOST_ARCH = $HOST_ARCH
23968 aarch64_CC = $aarch64_CC
23969 aarch64_CFLAGS = $aarch64_CFLAGS
23970 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
23971 aarch64_LDFLAGS = $aarch64_LDFLAGS
23972 aarch64_DEBUG = $aarch64_DEBUG
23973 aarch64_TARGET = $aarch64_TARGET
23974 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
23975 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
23977 arm_CFLAGS = $arm_CFLAGS
23978 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
23979 arm_LDFLAGS = $arm_LDFLAGS
23980 arm_DEBUG = $arm_DEBUG
23981 arm_TARGET = $arm_TARGET
23982 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
23983 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
23984 arm64ec_CC = $arm64ec_CC
23985 arm64ec_CFLAGS = $arm64ec_CFLAGS
23986 arm64ec_EXTRACFLAGS = $arm64ec_EXTRACFLAGS
23987 arm64ec_LDFLAGS = $arm64ec_LDFLAGS
23988 arm64ec_DEBUG = $arm64ec_DEBUG
23989 arm64ec_TARGET = $arm64ec_TARGET
23990 arm64ec_DELAYLOADFLAG = $arm64ec_DELAYLOADFLAG
23991 arm64ec_DISABLED_SUBDIRS = $arm64ec_DISABLED_SUBDIRS
23993 i386_CFLAGS = $i386_CFLAGS
23994 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
23995 i386_LDFLAGS = $i386_LDFLAGS
23996 i386_DEBUG = $i386_DEBUG
23997 i386_TARGET = $i386_TARGET
23998 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
23999 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
24000 x86_64_CC = $x86_64_CC
24001 x86_64_CFLAGS = $x86_64_CFLAGS
24002 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
24003 x86_64_LDFLAGS = $x86_64_LDFLAGS
24004 x86_64_DEBUG = $x86_64_DEBUG
24005 x86_64_TARGET = $x86_64_TARGET
24006 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
24007 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
24008 toolsdir = $toolsdir
24010 RUNTESTFLAGS = $RUNTESTFLAGS
24015 ac_ct_AR = $ac_ct_AR
24021 LDCONFIG = $LDCONFIG
24023 PKG_CONFIG = $PKG_CONFIG
24024 FONTFORGE = $FONTFORGE
24028 I386_LIBS = $I386_LIBS
24029 OPENGL_LIBS = $OPENGL_LIBS
24030 DLLFLAGS = $DLLFLAGS
24031 LDDLLFLAGS = $LDDLLFLAGS
24032 LDEXECFLAGS = $LDEXECFLAGS
24033 EXTRACFLAGS = $EXTRACFLAGS
24034 UNIXDLLFLAGS = $UNIXDLLFLAGS
24035 UNIXLDFLAGS = $UNIXLDFLAGS
24036 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
24037 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
24038 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
24039 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
24045 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
24046 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
24047 CARBON_LIBS = $CARBON_LIBS
24048 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
24049 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
24050 IOKIT_LIBS = $IOKIT_LIBS
24051 METAL_LIBS = $METAL_LIBS
24052 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
24053 CORESERVICES_LIBS = $CORESERVICES_LIBS
24054 APPKIT_LIBS = $APPKIT_LIBS
24055 SECURITY_LIBS = $SECURITY_LIBS
24056 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
24057 COREAUDIO_LIBS = $COREAUDIO_LIBS
24058 OPENCL_LIBS = $OPENCL_LIBS
24060 OBJCFLAGS = $OBJCFLAGS
24061 ac_ct_OBJC = $ac_ct_OBJC
24062 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
24063 PE_ARCHS = $PE_ARCHS
24064 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
24065 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
24066 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
24067 FLUIDSYNTH_PE_CFLAGS = $FLUIDSYNTH_PE_CFLAGS
24068 FLUIDSYNTH_PE_LIBS = $FLUIDSYNTH_PE_LIBS
24069 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
24070 GSM_PE_LIBS = $GSM_PE_LIBS
24071 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
24072 JPEG_PE_LIBS = $JPEG_PE_LIBS
24073 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
24074 JXR_PE_LIBS = $JXR_PE_LIBS
24075 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
24076 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
24077 LDAP_PE_CFLAGS = $LDAP_PE_CFLAGS
24078 LDAP_PE_LIBS = $LDAP_PE_LIBS
24079 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
24080 MPG123_PE_LIBS = $MPG123_PE_LIBS
24081 MUSL_PE_CFLAGS = $MUSL_PE_CFLAGS
24082 MUSL_PE_LIBS = $MUSL_PE_LIBS
24083 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
24084 PNG_PE_LIBS = $PNG_PE_LIBS
24085 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
24086 TIFF_PE_LIBS = $TIFF_PE_LIBS
24087 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
24088 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
24089 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
24090 XML2_PE_LIBS = $XML2_PE_LIBS
24091 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
24092 XSLT_PE_LIBS = $XSLT_PE_LIBS
24093 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
24094 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
24095 ZYDIS_PE_CFLAGS = $ZYDIS_PE_CFLAGS
24096 ZYDIS_PE_LIBS = $ZYDIS_PE_LIBS
24097 PTHREAD_LIBS = $PTHREAD_LIBS
24100 X_CFLAGS = $X_CFLAGS
24101 X_PRE_LIBS = $X_PRE_LIBS
24103 X_EXTRA_LIBS = $X_EXTRA_LIBS
24104 WAYLAND_CLIENT_CFLAGS = $WAYLAND_CLIENT_CFLAGS
24105 WAYLAND_CLIENT_LIBS = $WAYLAND_CLIENT_LIBS
24106 WAYLAND_SCANNER = $WAYLAND_SCANNER
24107 XKBCOMMON_CFLAGS = $XKBCOMMON_CFLAGS
24108 XKBCOMMON_LIBS = $XKBCOMMON_LIBS
24109 XKBREGISTRY_CFLAGS = $XKBREGISTRY_CFLAGS
24110 XKBREGISTRY_LIBS = $XKBREGISTRY_LIBS
24111 EGL_CFLAGS = $EGL_CFLAGS
24112 EGL_LIBS = $EGL_LIBS
24113 WAYLAND_EGL_CFLAGS = $WAYLAND_EGL_CFLAGS
24114 WAYLAND_EGL_LIBS = $WAYLAND_EGL_LIBS
24115 PCAP_LIBS = $PCAP_LIBS
24116 PCSCLITE_LIBS = $PCSCLITE_LIBS
24117 ODBC_CFLAGS = $ODBC_CFLAGS
24118 ODBC_LIBS = $ODBC_LIBS
24119 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
24120 INOTIFY_LIBS = $INOTIFY_LIBS
24121 DBUS_CFLAGS = $DBUS_CFLAGS
24122 DBUS_LIBS = $DBUS_LIBS
24123 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
24124 GNUTLS_LIBS = $GNUTLS_LIBS
24125 SANE_CFLAGS = $SANE_CFLAGS
24126 SANE_LIBS = $SANE_LIBS
24127 USB_CFLAGS = $USB_CFLAGS
24128 USB_LIBS = $USB_LIBS
24129 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
24130 GPHOTO2_LIBS = $GPHOTO2_LIBS
24131 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
24132 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
24133 RESOLV_LIBS = $RESOLV_LIBS
24134 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
24135 FREETYPE_LIBS = $FREETYPE_LIBS
24136 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
24137 PULSE_CFLAGS = $PULSE_CFLAGS
24138 PULSE_LIBS = $PULSE_LIBS
24139 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
24140 GSTREAMER_LIBS = $GSTREAMER_LIBS
24141 ALSA_LIBS = $ALSA_LIBS
24142 OSS4_CFLAGS = $OSS4_CFLAGS
24143 OSS4_LIBS = $OSS4_LIBS
24144 UDEV_CFLAGS = $UDEV_CFLAGS
24145 UDEV_LIBS = $UDEV_LIBS
24146 UNWIND_CFLAGS = $UNWIND_CFLAGS
24147 UNWIND_LIBS = $UNWIND_LIBS
24148 SDL2_CFLAGS = $SDL2_CFLAGS
24149 SDL2_LIBS = $SDL2_LIBS
24150 CAPI20_CFLAGS = $CAPI20_CFLAGS
24151 CAPI20_LIBS = $CAPI20_LIBS
24152 CUPS_CFLAGS = $CUPS_CFLAGS
24153 CUPS_LIBS = $CUPS_LIBS
24154 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
24155 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
24156 KRB5_CFLAGS = $KRB5_CFLAGS
24157 KRB5_LIBS = $KRB5_LIBS
24158 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
24159 GSSAPI_LIBS = $GSSAPI_LIBS
24160 PROCSTAT_LIBS = $PROCSTAT_LIBS
24161 NETAPI_CFLAGS = $NETAPI_CFLAGS
24162 NETAPI_LIBS = $NETAPI_LIBS
24163 MSVCRTFLAGS = $MSVCRTFLAGS
24164 DELAYLOADFLAG = $DELAYLOADFLAG
24165 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
24167 TAGSFLAGS = $TAGSFLAGS
24169 LTLIBOBJS = $LTLIBOBJS
24173 as_fn_error $? "could not create Makefile" "$LINENO" 5
24178 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
24180 # Handling of arguments.
24181 for ac_config_target
in $ac_config_targets
24183 case $ac_config_target in
24184 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
24185 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
24186 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
24187 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
24188 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
24189 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
24191 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
24196 # If the user did not use the arguments to specify the items to instantiate,
24197 # then the envvar interface is used. Set only those that are not.
24198 # We use the long form for the default assignment because of an extremely
24199 # bizarre bug on SunOS 4.1.3.
24200 if $ac_need_defaults; then
24201 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS
=$config_headers
24202 test ${CONFIG_LINKS+y} || CONFIG_LINKS
=$config_links
24203 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS
=$config_commands
24206 # Have a temporary directory for convenience. Make it in the build tree
24207 # simply because there is no reason against having it here, and in addition,
24208 # creating and moving files from /tmp can sometimes cause problems.
24209 # Hook for its removal unless debugging.
24210 # Note that there is a small window in which the directory will not be cleaned:
24211 # after its creation but before its name has been assigned to `$tmp'.
24215 trap 'exit_status=$?
24216 : "${ac_tmp:=$tmp}"
24217 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
24219 trap 'as_fn_exit 1' 1 2 13 15
24221 # Create a (secure) tmp directory for tmp files.
24224 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
24228 tmp
=.
/conf$$
-$RANDOM
24229 (umask 077 && mkdir
"$tmp")
24230 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
24233 # Set up the scripts for CONFIG_HEADERS section.
24234 # No need to generate them if there are no CONFIG_HEADERS.
24235 # This happens for instance with `./config.status Makefile'.
24236 if test -n "$CONFIG_HEADERS"; then
24237 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
24241 # Transform confdefs.h into an awk script `defines.awk', embedded as
24242 # here-document in config.status, that substitutes the proper values into
24243 # config.h.in to produce config.h.
24245 # Create a delimiter string that does not exist in confdefs.h, to ease
24246 # handling of long lines.
24248 for ac_last_try
in false false
:; do
24249 ac_tt
=`sed -n "/$ac_delim/p" confdefs.h`
24250 if test -z "$ac_tt"; then
24252 elif $ac_last_try; then
24253 as_fn_error $?
"could not make $CONFIG_HEADERS" "$LINENO" 5
24255 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
24259 # For the awk script, D is an array of macro values keyed by name,
24260 # likewise P contains macro parameters if any. Preserve backslash
24261 # newline sequences.
24263 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
24265 s/.\{148\}/&'"$ac_delim"'/g
24268 s/^[ ]*#[ ]*define[ ][ ]*/ /
24275 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
24277 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
24281 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
24282 D["\1"]=" \3\\\\\\n"\\/p
24284 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
24289 s/.\{148\}/&'"$ac_delim"'/g
24294 s/["\\]/\\&/g; s/^/"/; s/$/"/p
24297 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
24299 ' <confdefs.h |
sed '
24300 s/'"$ac_delim"'/"\\\
24301 "/g' >>$CONFIG_STATUS || ac_write_fail
=1
24303 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24304 for (key in D) D_is_set[key] = 1
24307 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
24309 split(line, arg, " ")
24310 if (arg[1] == "#") {
24314 defundef = substr(arg[1], 2)
24317 split(mac1, mac2, "(") #)
24319 prefix = substr(line, 1, index(line, defundef) - 1)
24320 if (D_is_set[macro]) {
24321 # Preserve the white space surrounding the "#".
24322 print prefix "define", macro P[macro] D[macro]
24325 # Replace #undef with comments. This is necessary, for example,
24326 # in the case of _POSIX_SOURCE, which is predefined and required
24327 # on some systems where configure will not decide to define it.
24328 if (defundef == "undef") {
24329 print "/*", prefix defundef, macro, "*/"
24337 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
24338 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
24339 fi # test -n "$CONFIG_HEADERS"
24342 eval set X
" :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
24347 :[FHLC
]) ac_mode
=$ac_tag; continue;;
24349 case $ac_mode$ac_tag in
24351 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
24352 :[FH
]-) ac_tag
=-:-;;
24353 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
24370 -) ac_f
="$ac_tmp/stdin";;
24371 *) # Look for the file first in the build tree, then in the source tree
24372 # (if the path is not absolute). The absolute path cannot be DOS-style,
24373 # because $ac_f cannot contain `:'.
24377 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
24379 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
24381 case $ac_f in *\'*) ac_f
=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
24382 as_fn_append ac_file_inputs
" '$ac_f'"
24385 # Let's still pretend it is `configure' which instantiates (i.e., don't
24386 # use $as_me), people would be surprised to read:
24387 # /* config.h. Generated by config.status. */
24388 configure_input
='Generated from '`
24389 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
24391 if test x
"$ac_file" != x-
; then
24392 configure_input
="$ac_file. $configure_input"
24393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
24394 printf "%s\n" "$as_me: creating $ac_file" >&6;}
24396 # Neutralize special characters interpreted by sed in replacement strings.
24397 case $configure_input in #(
24398 *\
&* |
*\|
* |
*\\* )
24399 ac_sed_conf_input
=`printf "%s\n" "$configure_input" |
24400 sed 's/[\\\\&|]/\\\\&/g'`;; #(
24401 *) ac_sed_conf_input
=$configure_input;;
24405 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
24406 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
24411 ac_dir
=`$as_dirname -- "$ac_file" ||
24412 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24413 X"$ac_file" : 'X\(//\)[^/]' \| \
24414 X"$ac_file" : 'X\(//\)$' \| \
24415 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
24416 printf "%s\n" X"$ac_file" |
24417 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24421 /^X\(\/\/\)[^/].*/{
24434 as_dir
="$ac_dir"; as_fn_mkdir_p
24438 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
24440 ac_dir_suffix
=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
24441 # A ".." for each directory in $ac_dir_suffix.
24442 ac_top_builddir_sub
=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
24443 case $ac_top_builddir_sub in
24444 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
24445 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
24448 ac_abs_top_builddir
=$ac_pwd
24449 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
24450 # for backward compatibility:
24451 ac_top_builddir
=$ac_top_build_prefix
24454 .
) # We are building in place.
24456 ac_top_srcdir
=$ac_top_builddir_sub
24457 ac_abs_top_srcdir
=$ac_pwd ;;
24458 [\\/]* | ?
:[\\/]* ) # Absolute name.
24459 ac_srcdir
=$srcdir$ac_dir_suffix;
24460 ac_top_srcdir
=$srcdir
24461 ac_abs_top_srcdir
=$srcdir ;;
24462 *) # Relative name.
24463 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
24464 ac_top_srcdir
=$ac_top_build_prefix$srcdir
24465 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
24467 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
24476 if test x
"$ac_file" != x-
; then
24478 printf "%s\n" "/* $configure_input */" >&1 \
24479 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
24480 } >"$ac_tmp/config.h" \
24481 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5
24482 if diff "$ac_file" "$ac_tmp/config.h" >/dev
/null
2>&1; then
24483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
24484 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
24487 mv "$ac_tmp/config.h" "$ac_file" \
24488 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5
24491 printf "%s\n" "/* $configure_input */" >&1 \
24492 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
24493 || as_fn_error $?
"could not create -" "$LINENO" 5
24501 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
24504 # Prefer the file from the source tree if names are identical.
24505 if test "$ac_source" = "$ac_file" ||
test ! -r "$ac_source"; then
24506 ac_source
=$srcdir/$ac_source
24509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
24510 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
24512 if test ! -r "$ac_source"; then
24513 as_fn_error $?
"$ac_source: file not found" "$LINENO" 5
24517 # Try a relative symlink, then a hard link, then a copy.
24519 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$ac_source ;;
24520 *) ac_rel_source
=$ac_top_build_prefix$ac_source ;;
24522 ln -s "$ac_rel_source" "$ac_file" 2>/dev
/null ||
24523 ln "$ac_source" "$ac_file" 2>/dev
/null ||
24524 cp -p "$ac_source" "$ac_file" ||
24525 as_fn_error $?
"cannot link or copy $ac_source to $ac_file" "$LINENO" 5
24528 :C
) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
24529 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
24534 case $ac_file$ac_mode in
24535 "include/stamp-h":C
) echo timestamp
> include
/stamp-h
;;
24536 "tools/makedep":C
) wine_fn_output_makedep || as_fn_exit $?
;;
24537 "Makefile":C
) wine_fn_output_makefile Makefile
;;
24545 ac_clean_files
=$ac_clean_files_save
24547 test $ac_write_fail = 0 ||
24548 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
24551 # configure is writing to config.log, and then calls config.status.
24552 # config.status does its own redirection, appending to config.log.
24553 # Unfortunately, on DOS this fails, as config.log is still kept open
24554 # by configure, so config.status won't be able to write to it; its
24555 # output is simply discarded. So we exec the FD to /dev/null,
24556 # effectively closing config.log, so it can be properly (re)opened and
24557 # appended to by config.status. When coming back to configure, we
24558 # need to make the FD available again.
24559 if test "$no_create" != yes; then
24561 ac_config_status_args
=
24562 test "$silent" = yes &&
24563 ac_config_status_args
="$ac_config_status_args --quiet"
24565 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
24567 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24568 # would make configure fail if this is the last instruction.
24569 $ac_cs_success || as_fn_exit
1
24571 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
24572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
24573 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
24577 if test "$no_create" = "yes"
24583 if test "x$wine_notices" != x
; then
24586 for msg
in $wine_notices; do
24592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
24593 printf "%s\n" "$as_me: $msg" >&6;}
24598 for msg
in $wine_warnings; do
24605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
24606 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
24612 $as_me: Finished. Do '${ac_make}' to compile Wine.